Version 3.5.4
authoralexlamsl <alexlamsl@gmail.com>
Sun, 10 Sep 2017 19:11:24 +0000 (03:11 +0800)
committeralexlamsl <alexlamsl@gmail.com>
Sun, 10 Sep 2017 19:11:24 +0000 (03:11 +0800)
README.md
dist/htmlminifier.js
dist/htmlminifier.min.js
index.html
package.json

index 59587cc..6ae0db3 100644 (file)
--- a/README.md
+++ b/README.md
@@ -20,21 +20,21 @@ For lint-like capabilities take a look at [HTMLLint](https://github.com/kangax/h
 
 How does HTMLMinifier compare to other solutions — [HTML Minifier from Will Peavy](http://www.willpeavy.com/minifier/) (1st result in [Google search for "html minifier"](https://www.google.com/#q=html+minifier)) as well as [htmlcompressor.com](http://htmlcompressor.com) and [minimize](https://github.com/Swaagie/minimize)?
 
-| Site                                                                        | Original size *(KB)* | HTMLMinifier | minimize | Will Peavy | htmlcompressor.com |
-| --------------------------------------------------------------------------- |:--------------------:| ------------:| --------:| ----------:| ------------------:|
-| [Google](https://www.google.com/)                                           | 45                   | **42**       | 45       | 46         | 45                 |
-| [HTMLMinifier](https://github.com/kangax/html-minifier)                     | 131                  | **102**      | 110      | 114        | 109                |
-| [CNN](http://www.cnn.com/)                                                  | 134                  | **122**      | 131      | 132        | 126                |
-| [Amazon](http://www.amazon.co.uk/)                                          | 201                  | **169**      | 193      | 197        | n/a                |
-| [New York Times](http://www.nytimes.com/)                                   | 216                  | **144**      | 165      | 161        | 151                |
-| [Stack Overflow](http://stackoverflow.com/)                                 | 240                  | **187**      | 196      | 203        | 193                |
-| [Bootstrap CSS](http://getbootstrap.com/css/)                               | 272                  | **260**      | 269      | 229        | 269                |
-| [BBC](http://www.bbc.co.uk/)                                                | 287                  | **235**      | 279      | 286        | 271                |
-| [Wikipedia](https://en.wikipedia.org/wiki/President_of_the_United_States)   | 530                  | **486**      | 511      | 529        | 510                |
-| [NBC](http://www.nbc.com/)                                                  | 662                  | **623**      | 658      | 661        | n/a                |
-| [Eloquent Javascript](http://eloquentjavascript.net/1st_edition/print.html) | 870                  | **815**      | 840      | 864        | n/a                |
-| [ES6 table](http://kangax.github.io/compat-table/es6/)                      | 3844                 | **3252**     | 3630     | n/a        | n/a                |
-| [ES6 draft](https://tc39.github.io/ecma262/)                                | 5576                 | **4974**     | 5122     | n/a        | n/a                |
+| Site                                                                         | Original size *(KB)* | HTMLMinifier | minimize | Will Peavy | htmlcompressor.com |
+| ---------------------------------------------------------------------------- |:--------------------:| ------------:| --------:| ----------:| ------------------:|
+| [Google](https://www.google.com/)                                            | 45                   | **42**       | 45       | 47         | 45                 |
+| [HTMLMinifier](https://github.com/kangax/html-minifier)                      | 131                  | **102**      | 110      | 114        | 109                |
+| [Amazon](https://www.amazon.co.uk/)                                          | 204                  | **171**      | 195      | 199        | n/a                |
+| [New York Times](https://www.nytimes.com/)                                   | 233                  | **159**      | 182      | 178        | 166                |
+| [Stack Overflow](https://stackoverflow.com/)                                 | 246                  | **193**      | 202      | 210        | 199                |
+| [Bootstrap CSS](https://getbootstrap.com/docs/3.3/css/)                      | 272                  | **260**      | 269      | 229        | 269                |
+| [Twitter](https://twitter.com/)                                              | 291                  | **216**      | 257      | 280        | 257                |
+| [BBC](https://www.bbc.co.uk/)                                                | 311                  | **256**      | 302      | 310        | 294                |
+| [Wikipedia](https://en.wikipedia.org/wiki/President_of_the_United_States)    | 469                  | **437**      | 453      | 468        | 453                |
+| [NBC](https://www.nbc.com/)                                                  | 663                  | **626**      | 659      | 663        | n/a                |
+| [Eloquent Javascript](https://eloquentjavascript.net/1st_edition/print.html) | 870                  | **815**      | 840      | 864        | n/a                |
+| [ES6 table](https://kangax.github.io/compat-table/es6/)                      | 4227                 | **3585**     | 3998     | n/a        | n/a                |
+| [ES6 draft](https://tc39.github.io/ecma262/)                                 | 5701                 | **5087**     | 5236     | n/a        | n/a                |
 
 ## Options Quick Reference
 
index 2c41068..a117037 100644 (file)
@@ -1,5 +1,5 @@
 /*!
- * HTMLMinifier v3.5.2 (http://kangax.github.io/html-minifier/)
+ * HTMLMinifier v3.5.4 (http://kangax.github.io/html-minifier/)
  * Copyright 2010-2017 Juriy "kangax" Zaytsev
  * Licensed under the MIT license
  */
@@ -125,7 +125,6 @@ function fromByteArray (uint8) {
 },{}],3:[function(require,module,exports){
 arguments[4][2][0].apply(exports,arguments)
 },{"dup":2}],4:[function(require,module,exports){
-(function (global){
 /*!
  * The buffer module from node.js, for the browser.
  *
@@ -138,80 +137,57 @@ arguments[4][2][0].apply(exports,arguments)
 
 var base64 = require('base64-js')
 var ieee754 = require('ieee754')
-var isArray = require('isarray')
 
 exports.Buffer = Buffer
 exports.SlowBuffer = SlowBuffer
 exports.INSPECT_MAX_BYTES = 50
 
+var K_MAX_LENGTH = 0x7fffffff
+exports.kMaxLength = K_MAX_LENGTH
+
 /**
  * If `Buffer.TYPED_ARRAY_SUPPORT`:
  *   === true    Use Uint8Array implementation (fastest)
- *   === false   Use Object implementation (most compatible, even IE6)
+ *   === false   Print warning and recommend using `buffer` v4.x which has an Object
+ *               implementation (most compatible, even IE6)
  *
  * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,
  * Opera 11.6+, iOS 4.2+.
  *
- * Due to various browser bugs, sometimes the Object implementation will be used even
- * when the browser supports typed arrays.
- *
- * Note:
- *
- *   - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances,
- *     See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438.
- *
- *   - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function.
- *
- *   - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of
- *     incorrect length in some situations.
-
- * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they
- * get the Object implementation, which is slower but behaves correctly.
+ * We report that the browser does not support typed arrays if the are not subclassable
+ * using __proto__. Firefox 4-29 lacks support for adding new properties to `Uint8Array`
+ * (See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438). IE 10 lacks support
+ * for __proto__ and has a buggy typed array implementation.
  */
-Buffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined
-  ? global.TYPED_ARRAY_SUPPORT
-  : typedArraySupport()
+Buffer.TYPED_ARRAY_SUPPORT = typedArraySupport()
 
-/*
- * Export kMaxLength after typed array support is determined.
- */
-exports.kMaxLength = kMaxLength()
+if (!Buffer.TYPED_ARRAY_SUPPORT && typeof console !== 'undefined' &&
+    typeof console.error === 'function') {
+  console.error(
+    'This browser lacks typed array (Uint8Array) support which is required by ' +
+    '`buffer` v5.x. Use `buffer` v4.x if you require old browser support.'
+  )
+}
 
 function typedArraySupport () {
+  // Can typed array instances can be augmented?
   try {
     var arr = new Uint8Array(1)
     arr.__proto__ = {__proto__: Uint8Array.prototype, foo: function () { return 42 }}
-    return arr.foo() === 42 && // typed array instances can be augmented
-        typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray`
-        arr.subarray(1, 1).byteLength === 0 // ie10 has broken `subarray`
+    return arr.foo() === 42
   } catch (e) {
     return false
   }
 }
 
-function kMaxLength () {
-  return Buffer.TYPED_ARRAY_SUPPORT
-    ? 0x7fffffff
-    : 0x3fffffff
-}
-
-function createBuffer (that, length) {
-  if (kMaxLength() < length) {
+function createBuffer (length) {
+  if (length > K_MAX_LENGTH) {
     throw new RangeError('Invalid typed array length')
   }
-  if (Buffer.TYPED_ARRAY_SUPPORT) {
-    // Return an augmented `Uint8Array` instance, for best performance
-    that = new Uint8Array(length)
-    that.__proto__ = Buffer.prototype
-  } else {
-    // Fallback: Return an object instance of the Buffer class
-    if (that === null) {
-      that = new Buffer(length)
-    }
-    that.length = length
-  }
-
-  return that
+  // Return an augmented `Uint8Array` instance
+  var buf = new Uint8Array(length)
+  buf.__proto__ = Buffer.prototype
+  return buf
 }
 
 /**
@@ -225,10 +201,6 @@ function createBuffer (that, length) {
  */
 
 function Buffer (arg, encodingOrOffset, length) {
-  if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) {
-    return new Buffer(arg, encodingOrOffset, length)
-  }
-
   // Common case.
   if (typeof arg === 'number') {
     if (typeof encodingOrOffset === 'string') {
@@ -236,33 +208,38 @@ function Buffer (arg, encodingOrOffset, length) {
         'If encoding is specified then the first argument must be a string'
       )
     }
-    return allocUnsafe(this, arg)
+    return allocUnsafe(arg)
   }
-  return from(this, arg, encodingOrOffset, length)
+  return from(arg, encodingOrOffset, length)
 }
 
-Buffer.poolSize = 8192 // not used by this implementation
-
-// TODO: Legacy, not needed anymore. Remove in next major version.
-Buffer._augment = function (arr) {
-  arr.__proto__ = Buffer.prototype
-  return arr
+// Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97
+if (typeof Symbol !== 'undefined' && Symbol.species &&
+    Buffer[Symbol.species] === Buffer) {
+  Object.defineProperty(Buffer, Symbol.species, {
+    value: null,
+    configurable: true,
+    enumerable: false,
+    writable: false
+  })
 }
 
-function from (that, value, encodingOrOffset, length) {
+Buffer.poolSize = 8192 // not used by this implementation
+
+function from (value, encodingOrOffset, length) {
   if (typeof value === 'number') {
     throw new TypeError('"value" argument must not be a number')
   }
 
-  if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) {
-    return fromArrayBuffer(that, value, encodingOrOffset, length)
+  if (isArrayBuffer(value)) {
+    return fromArrayBuffer(value, encodingOrOffset, length)
   }
 
   if (typeof value === 'string') {
-    return fromString(that, value, encodingOrOffset)
+    return fromString(value, encodingOrOffset)
   }
 
-  return fromObject(that, value)
+  return fromObject(value)
 }
 
 /**
@@ -274,22 +251,14 @@ function from (that, value, encodingOrOffset, length) {
  * Buffer.from(arrayBuffer[, byteOffset[, length]])
  **/
 Buffer.from = function (value, encodingOrOffset, length) {
-  return from(null, value, encodingOrOffset, length)
-}
-
-if (Buffer.TYPED_ARRAY_SUPPORT) {
-  Buffer.prototype.__proto__ = Uint8Array.prototype
-  Buffer.__proto__ = Uint8Array
-  if (typeof Symbol !== 'undefined' && Symbol.species &&
-      Buffer[Symbol.species] === Buffer) {
-    // Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97
-    Object.defineProperty(Buffer, Symbol.species, {
-      value: null,
-      configurable: true
-    })
-  }
+  return from(value, encodingOrOffset, length)
 }
 
+// Note: Change prototype *after* Buffer.from is defined to workaround Chrome bug:
+// https://github.com/feross/buffer/pull/148
+Buffer.prototype.__proto__ = Uint8Array.prototype
+Buffer.__proto__ = Uint8Array
+
 function assertSize (size) {
   if (typeof size !== 'number') {
     throw new TypeError('"size" argument must be a number')
@@ -298,20 +267,20 @@ function assertSize (size) {
   }
 }
 
-function alloc (that, size, fill, encoding) {
+function alloc (size, fill, encoding) {
   assertSize(size)
   if (size <= 0) {
-    return createBuffer(that, size)
+    return createBuffer(size)
   }
   if (fill !== undefined) {
     // Only pay attention to encoding if it's a string. This
     // prevents accidentally sending in a number that would
     // be interpretted as a start offset.
     return typeof encoding === 'string'
-      ? createBuffer(that, size).fill(fill, encoding)
-      : createBuffer(that, size).fill(fill)
+      ? createBuffer(size).fill(fill, encoding)
+      : createBuffer(size).fill(fill)
   }
-  return createBuffer(that, size)
+  return createBuffer(size)
 }
 
 /**
@@ -319,34 +288,28 @@ function alloc (that, size, fill, encoding) {
  * alloc(size[, fill[, encoding]])
  **/
 Buffer.alloc = function (size, fill, encoding) {
-  return alloc(null, size, fill, encoding)
+  return alloc(size, fill, encoding)
 }
 
-function allocUnsafe (that, size) {
+function allocUnsafe (size) {
   assertSize(size)
-  that = createBuffer(that, size < 0 ? 0 : checked(size) | 0)
-  if (!Buffer.TYPED_ARRAY_SUPPORT) {
-    for (var i = 0; i < size; ++i) {
-      that[i] = 0
-    }
-  }
-  return that
+  return createBuffer(size < 0 ? 0 : checked(size) | 0)
 }
 
 /**
  * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.
  * */
 Buffer.allocUnsafe = function (size) {
-  return allocUnsafe(null, size)
+  return allocUnsafe(size)
 }
 /**
  * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.
  */
 Buffer.allocUnsafeSlow = function (size) {
-  return allocUnsafe(null, size)
+  return allocUnsafe(size)
 }
 
-function fromString (that, string, encoding) {
+function fromString (string, encoding) {
   if (typeof encoding !== 'string' || encoding === '') {
     encoding = 'utf8'
   }
@@ -356,32 +319,30 @@ function fromString (that, string, encoding) {
   }
 
   var length = byteLength(string, encoding) | 0
-  that = createBuffer(that, length)
+  var buf = createBuffer(length)
 
-  var actual = that.write(string, encoding)
+  var actual = buf.write(string, encoding)
 
   if (actual !== length) {
     // Writing a hex string, for example, that contains invalid characters will
     // cause everything after the first invalid character to be ignored. (e.g.
     // 'abxxcd' will be treated as 'ab')
-    that = that.slice(0, actual)
+    buf = buf.slice(0, actual)
   }
 
-  return that
+  return buf
 }
 
-function fromArrayLike (that, array) {
+function fromArrayLike (array) {
   var length = array.length < 0 ? 0 : checked(array.length) | 0
-  that = createBuffer(that, length)
+  var buf = createBuffer(length)
   for (var i = 0; i < length; i += 1) {
-    that[i] = array[i] & 255
+    buf[i] = array[i] & 255
   }
-  return that
+  return buf
 }
 
-function fromArrayBuffer (that, array, byteOffset, length) {
-  array.byteLength // this throws if `array` is not a valid ArrayBuffer
-
+function fromArrayBuffer (array, byteOffset, length) {
   if (byteOffset < 0 || array.byteLength < byteOffset) {
     throw new RangeError('\'offset\' is out of bounds')
   }
@@ -390,49 +351,43 @@ function fromArrayBuffer (that, array, byteOffset, length) {
     throw new RangeError('\'length\' is out of bounds')
   }
 
+  var buf
   if (byteOffset === undefined && length === undefined) {
-    array = new Uint8Array(array)
+    buf = new Uint8Array(array)
   } else if (length === undefined) {
-    array = new Uint8Array(array, byteOffset)
+    buf = new Uint8Array(array, byteOffset)
   } else {
-    array = new Uint8Array(array, byteOffset, length)
+    buf = new Uint8Array(array, byteOffset, length)
   }
 
-  if (Buffer.TYPED_ARRAY_SUPPORT) {
-    // Return an augmented `Uint8Array` instance, for best performance
-    that = array
-    that.__proto__ = Buffer.prototype
-  } else {
-    // Fallback: Return an object instance of the Buffer class
-    that = fromArrayLike(that, array)
-  }
-  return that
+  // Return an augmented `Uint8Array` instance
+  buf.__proto__ = Buffer.prototype
+  return buf
 }
 
-function fromObject (that, obj) {
+function fromObject (obj) {
   if (Buffer.isBuffer(obj)) {
     var len = checked(obj.length) | 0
-    that = createBuffer(that, len)
+    var buf = createBuffer(len)
 
-    if (that.length === 0) {
-      return that
+    if (buf.length === 0) {
+      return buf
     }
 
-    obj.copy(that, 0, 0, len)
-    return that
+    obj.copy(buf, 0, 0, len)
+    return buf
   }
 
   if (obj) {
-    if ((typeof ArrayBuffer !== 'undefined' &&
-        obj.buffer instanceof ArrayBuffer) || 'length' in obj) {
-      if (typeof obj.length !== 'number' || isnan(obj.length)) {
-        return createBuffer(that, 0)
+    if (isArrayBufferView(obj) || 'length' in obj) {
+      if (typeof obj.length !== 'number' || numberIsNaN(obj.length)) {
+        return createBuffer(0)
       }
-      return fromArrayLike(that, obj)
+      return fromArrayLike(obj)
     }
 
-    if (obj.type === 'Buffer' && isArray(obj.data)) {
-      return fromArrayLike(that, obj.data)
+    if (obj.type === 'Buffer' && Array.isArray(obj.data)) {
+      return fromArrayLike(obj.data)
     }
   }
 
@@ -440,11 +395,11 @@ function fromObject (that, obj) {
 }
 
 function checked (length) {
-  // Note: cannot use `length < kMaxLength()` here because that fails when
+  // Note: cannot use `length < K_MAX_LENGTH` here because that fails when
   // length is NaN (which is otherwise coerced to zero.)
-  if (length >= kMaxLength()) {
+  if (length >= K_MAX_LENGTH) {
     throw new RangeError('Attempt to allocate Buffer larger than maximum ' +
-                         'size: 0x' + kMaxLength().toString(16) + ' bytes')
+                         'size: 0x' + K_MAX_LENGTH.toString(16) + ' bytes')
   }
   return length | 0
 }
@@ -457,7 +412,7 @@ function SlowBuffer (length) {
 }
 
 Buffer.isBuffer = function isBuffer (b) {
-  return !!(b != null && b._isBuffer)
+  return b != null && b._isBuffer === true
 }
 
 Buffer.compare = function compare (a, b) {
@@ -503,7 +458,7 @@ Buffer.isEncoding = function isEncoding (encoding) {
 }
 
 Buffer.concat = function concat (list, length) {
-  if (!isArray(list)) {
+  if (!Array.isArray(list)) {
     throw new TypeError('"list" argument must be an Array of Buffers')
   }
 
@@ -536,8 +491,7 @@ function byteLength (string, encoding) {
   if (Buffer.isBuffer(string)) {
     return string.length
   }
-  if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' &&
-      (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) {
+  if (isArrayBufferView(string) || isArrayBuffer(string)) {
     return string.byteLength
   }
   if (typeof string !== 'string') {
@@ -647,8 +601,12 @@ function slowToString (encoding, start, end) {
   }
 }
 
-// The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect
-// Buffer instances.
+// This property is used by `Buffer.isBuffer` (and the `is-buffer` npm package)
+// to detect a Buffer instance. It's not possible to use `instanceof Buffer`
+// reliably in a browserify context because there could be multiple different
+// copies of the 'buffer' package in use. This method works even for Buffer
+// instances that were created from another copy of the `buffer` package.
+// See: https://github.com/feross/buffer/issues/154
 Buffer.prototype._isBuffer = true
 
 function swap (b, n, m) {
@@ -695,7 +653,7 @@ Buffer.prototype.swap64 = function swap64 () {
 }
 
 Buffer.prototype.toString = function toString () {
-  var length = this.length | 0
+  var length = this.length
   if (length === 0) return ''
   if (arguments.length === 0) return utf8Slice(this, 0, length)
   return slowToString.apply(this, arguments)
@@ -799,7 +757,7 @@ function bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {
     byteOffset = -0x80000000
   }
   byteOffset = +byteOffset  // Coerce to Number.
-  if (isNaN(byteOffset)) {
+  if (numberIsNaN(byteOffset)) {
     // byteOffset: it it's undefined, null, NaN, "foo", etc, search whole buffer
     byteOffset = dir ? 0 : (buffer.length - 1)
   }
@@ -828,8 +786,7 @@ function bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {
     return arrayIndexOf(buffer, val, byteOffset, encoding, dir)
   } else if (typeof val === 'number') {
     val = val & 0xFF // Search for a byte value [0-255]
-    if (Buffer.TYPED_ARRAY_SUPPORT &&
-        typeof Uint8Array.prototype.indexOf === 'function') {
+    if (typeof Uint8Array.prototype.indexOf === 'function') {
       if (dir) {
         return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)
       } else {
@@ -931,7 +888,7 @@ function hexWrite (buf, string, offset, length) {
   }
   for (var i = 0; i < length; ++i) {
     var parsed = parseInt(string.substr(i * 2, 2), 16)
-    if (isNaN(parsed)) return i
+    if (numberIsNaN(parsed)) return i
     buf[offset + i] = parsed
   }
   return i
@@ -970,15 +927,14 @@ Buffer.prototype.write = function write (string, offset, length, encoding) {
     offset = 0
   // Buffer#write(string, offset[, length][, encoding])
   } else if (isFinite(offset)) {
-    offset = offset | 0
+    offset = offset >>> 0
     if (isFinite(length)) {
-      length = length | 0
+      length = length >>> 0
       if (encoding === undefined) encoding = 'utf8'
     } else {
       encoding = length
       length = undefined
     }
-  // legacy write(string, encoding, offset, length) - remove in v0.13
   } else {
     throw new Error(
       'Buffer.write(string, encoding, offset[, length]) is no longer supported'
@@ -1177,7 +1133,7 @@ function utf16leSlice (buf, start, end) {
   var bytes = buf.slice(start, end)
   var res = ''
   for (var i = 0; i < bytes.length; i += 2) {
-    res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256)
+    res += String.fromCharCode(bytes[i] + (bytes[i + 1] * 256))
   }
   return res
 }
@@ -1203,18 +1159,9 @@ Buffer.prototype.slice = function slice (start, end) {
 
   if (end < start) end = start
 
-  var newBuf
-  if (Buffer.TYPED_ARRAY_SUPPORT) {
-    newBuf = this.subarray(start, end)
-    newBuf.__proto__ = Buffer.prototype
-  } else {
-    var sliceLen = end - start
-    newBuf = new Buffer(sliceLen, undefined)
-    for (var i = 0; i < sliceLen; ++i) {
-      newBuf[i] = this[i + start]
-    }
-  }
-
+  var newBuf = this.subarray(start, end)
+  // Return an augmented `Uint8Array` instance
+  newBuf.__proto__ = Buffer.prototype
   return newBuf
 }
 
@@ -1227,8 +1174,8 @@ function checkOffset (offset, ext, length) {
 }
 
 Buffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {
-  offset = offset | 0
-  byteLength = byteLength | 0
+  offset = offset >>> 0
+  byteLength = byteLength >>> 0
   if (!noAssert) checkOffset(offset, byteLength, this.length)
 
   var val = this[offset]
@@ -1242,8 +1189,8 @@ Buffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert)
 }
 
 Buffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {
-  offset = offset | 0
-  byteLength = byteLength | 0
+  offset = offset >>> 0
+  byteLength = byteLength >>> 0
   if (!noAssert) {
     checkOffset(offset, byteLength, this.length)
   }
@@ -1258,21 +1205,25 @@ Buffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert)
 }
 
 Buffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {
+  offset = offset >>> 0
   if (!noAssert) checkOffset(offset, 1, this.length)
   return this[offset]
 }
 
 Buffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {
+  offset = offset >>> 0
   if (!noAssert) checkOffset(offset, 2, this.length)
   return this[offset] | (this[offset + 1] << 8)
 }
 
 Buffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {
+  offset = offset >>> 0
   if (!noAssert) checkOffset(offset, 2, this.length)
   return (this[offset] << 8) | this[offset + 1]
 }
 
 Buffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {
+  offset = offset >>> 0
   if (!noAssert) checkOffset(offset, 4, this.length)
 
   return ((this[offset]) |
@@ -1282,6 +1233,7 @@ Buffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {
 }
 
 Buffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {
+  offset = offset >>> 0
   if (!noAssert) checkOffset(offset, 4, this.length)
 
   return (this[offset] * 0x1000000) +
@@ -1291,8 +1243,8 @@ Buffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {
 }
 
 Buffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {
-  offset = offset | 0
-  byteLength = byteLength | 0
+  offset = offset >>> 0
+  byteLength = byteLength >>> 0
   if (!noAssert) checkOffset(offset, byteLength, this.length)
 
   var val = this[offset]
@@ -1309,8 +1261,8 @@ Buffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {
 }
 
 Buffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {
-  offset = offset | 0
-  byteLength = byteLength | 0
+  offset = offset >>> 0
+  byteLength = byteLength >>> 0
   if (!noAssert) checkOffset(offset, byteLength, this.length)
 
   var i = byteLength
@@ -1327,24 +1279,28 @@ Buffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {
 }
 
 Buffer.prototype.readInt8 = function readInt8 (offset, noAssert) {
+  offset = offset >>> 0
   if (!noAssert) checkOffset(offset, 1, this.length)
   if (!(this[offset] & 0x80)) return (this[offset])
   return ((0xff - this[offset] + 1) * -1)
 }
 
 Buffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {
+  offset = offset >>> 0
   if (!noAssert) checkOffset(offset, 2, this.length)
   var val = this[offset] | (this[offset + 1] << 8)
   return (val & 0x8000) ? val | 0xFFFF0000 : val
 }
 
 Buffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {
+  offset = offset >>> 0
   if (!noAssert) checkOffset(offset, 2, this.length)
   var val = this[offset + 1] | (this[offset] << 8)
   return (val & 0x8000) ? val | 0xFFFF0000 : val
 }
 
 Buffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {
+  offset = offset >>> 0
   if (!noAssert) checkOffset(offset, 4, this.length)
 
   return (this[offset]) |
@@ -1354,6 +1310,7 @@ Buffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {
 }
 
 Buffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {
+  offset = offset >>> 0
   if (!noAssert) checkOffset(offset, 4, this.length)
 
   return (this[offset] << 24) |
@@ -1363,21 +1320,25 @@ Buffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {
 }
 
 Buffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {
+  offset = offset >>> 0
   if (!noAssert) checkOffset(offset, 4, this.length)
   return ieee754.read(this, offset, true, 23, 4)
 }
 
 Buffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {
+  offset = offset >>> 0
   if (!noAssert) checkOffset(offset, 4, this.length)
   return ieee754.read(this, offset, false, 23, 4)
 }
 
 Buffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {
+  offset = offset >>> 0
   if (!noAssert) checkOffset(offset, 8, this.length)
   return ieee754.read(this, offset, true, 52, 8)
 }
 
 Buffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {
+  offset = offset >>> 0
   if (!noAssert) checkOffset(offset, 8, this.length)
   return ieee754.read(this, offset, false, 52, 8)
 }
@@ -1390,8 +1351,8 @@ function checkInt (buf, value, offset, ext, max, min) {
 
 Buffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {
   value = +value
-  offset = offset | 0
-  byteLength = byteLength | 0
+  offset = offset >>> 0
+  byteLength = byteLength >>> 0
   if (!noAssert) {
     var maxBytes = Math.pow(2, 8 * byteLength) - 1
     checkInt(this, value, offset, byteLength, maxBytes, 0)
@@ -1409,8 +1370,8 @@ Buffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength,
 
 Buffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {
   value = +value
-  offset = offset | 0
-  byteLength = byteLength | 0
+  offset = offset >>> 0
+  byteLength = byteLength >>> 0
   if (!noAssert) {
     var maxBytes = Math.pow(2, 8 * byteLength) - 1
     checkInt(this, value, offset, byteLength, maxBytes, 0)
@@ -1428,89 +1389,57 @@ Buffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength,
 
 Buffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {
   value = +value
-  offset = offset | 0
+  offset = offset >>> 0
   if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)
-  if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)
   this[offset] = (value & 0xff)
   return offset + 1
 }
 
-function objectWriteUInt16 (buf, value, offset, littleEndian) {
-  if (value < 0) value = 0xffff + value + 1
-  for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) {
-    buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>>
-      (littleEndian ? i : 1 - i) * 8
-  }
-}
-
 Buffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {
   value = +value
-  offset = offset | 0
+  offset = offset >>> 0
   if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)
-  if (Buffer.TYPED_ARRAY_SUPPORT) {
-    this[offset] = (value & 0xff)
-    this[offset + 1] = (value >>> 8)
-  } else {
-    objectWriteUInt16(this, value, offset, true)
-  }
+  this[offset] = (value & 0xff)
+  this[offset + 1] = (value >>> 8)
   return offset + 2
 }
 
 Buffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {
   value = +value
-  offset = offset | 0
+  offset = offset >>> 0
   if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)
-  if (Buffer.TYPED_ARRAY_SUPPORT) {
-    this[offset] = (value >>> 8)
-    this[offset + 1] = (value & 0xff)
-  } else {
-    objectWriteUInt16(this, value, offset, false)
-  }
+  this[offset] = (value >>> 8)
+  this[offset + 1] = (value & 0xff)
   return offset + 2
 }
 
-function objectWriteUInt32 (buf, value, offset, littleEndian) {
-  if (value < 0) value = 0xffffffff + value + 1
-  for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) {
-    buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff
-  }
-}
-
 Buffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {
   value = +value
-  offset = offset | 0
+  offset = offset >>> 0
   if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)
-  if (Buffer.TYPED_ARRAY_SUPPORT) {
-    this[offset + 3] = (value >>> 24)
-    this[offset + 2] = (value >>> 16)
-    this[offset + 1] = (value >>> 8)
-    this[offset] = (value & 0xff)
-  } else {
-    objectWriteUInt32(this, value, offset, true)
-  }
+  this[offset + 3] = (value >>> 24)
+  this[offset + 2] = (value >>> 16)
+  this[offset + 1] = (value >>> 8)
+  this[offset] = (value & 0xff)
   return offset + 4
 }
 
 Buffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {
   value = +value
-  offset = offset | 0
+  offset = offset >>> 0
   if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)
-  if (Buffer.TYPED_ARRAY_SUPPORT) {
-    this[offset] = (value >>> 24)
-    this[offset + 1] = (value >>> 16)
-    this[offset + 2] = (value >>> 8)
-    this[offset + 3] = (value & 0xff)
-  } else {
-    objectWriteUInt32(this, value, offset, false)
-  }
+  this[offset] = (value >>> 24)
+  this[offset + 1] = (value >>> 16)
+  this[offset + 2] = (value >>> 8)
+  this[offset + 3] = (value & 0xff)
   return offset + 4
 }
 
 Buffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {
   value = +value
-  offset = offset | 0
+  offset = offset >>> 0
   if (!noAssert) {
-    var limit = Math.pow(2, 8 * byteLength - 1)
+    var limit = Math.pow(2, (8 * byteLength) - 1)
 
     checkInt(this, value, offset, byteLength, limit - 1, -limit)
   }
@@ -1531,9 +1460,9 @@ Buffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, no
 
 Buffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {
   value = +value
-  offset = offset | 0
+  offset = offset >>> 0
   if (!noAssert) {
-    var limit = Math.pow(2, 8 * byteLength - 1)
+    var limit = Math.pow(2, (8 * byteLength) - 1)
 
     checkInt(this, value, offset, byteLength, limit - 1, -limit)
   }
@@ -1554,9 +1483,8 @@ Buffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, no
 
 Buffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {
   value = +value
-  offset = offset | 0
+  offset = offset >>> 0
   if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)
-  if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)
   if (value < 0) value = 0xff + value + 1
   this[offset] = (value & 0xff)
   return offset + 1
@@ -1564,58 +1492,42 @@ Buffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {
 
 Buffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {
   value = +value
-  offset = offset | 0
+  offset = offset >>> 0
   if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)
-  if (Buffer.TYPED_ARRAY_SUPPORT) {
-    this[offset] = (value & 0xff)
-    this[offset + 1] = (value >>> 8)
-  } else {
-    objectWriteUInt16(this, value, offset, true)
-  }
+  this[offset] = (value & 0xff)
+  this[offset + 1] = (value >>> 8)
   return offset + 2
 }
 
 Buffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {
   value = +value
-  offset = offset | 0
+  offset = offset >>> 0
   if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)
-  if (Buffer.TYPED_ARRAY_SUPPORT) {
-    this[offset] = (value >>> 8)
-    this[offset + 1] = (value & 0xff)
-  } else {
-    objectWriteUInt16(this, value, offset, false)
-  }
+  this[offset] = (value >>> 8)
+  this[offset + 1] = (value & 0xff)
   return offset + 2
 }
 
 Buffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {
   value = +value
-  offset = offset | 0
+  offset = offset >>> 0
   if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)
-  if (Buffer.TYPED_ARRAY_SUPPORT) {
-    this[offset] = (value & 0xff)
-    this[offset + 1] = (value >>> 8)
-    this[offset + 2] = (value >>> 16)
-    this[offset + 3] = (value >>> 24)
-  } else {
-    objectWriteUInt32(this, value, offset, true)
-  }
+  this[offset] = (value & 0xff)
+  this[offset + 1] = (value >>> 8)
+  this[offset + 2] = (value >>> 16)
+  this[offset + 3] = (value >>> 24)
   return offset + 4
 }
 
 Buffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {
   value = +value
-  offset = offset | 0
+  offset = offset >>> 0
   if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)
   if (value < 0) value = 0xffffffff + value + 1
-  if (Buffer.TYPED_ARRAY_SUPPORT) {
-    this[offset] = (value >>> 24)
-    this[offset + 1] = (value >>> 16)
-    this[offset + 2] = (value >>> 8)
-    this[offset + 3] = (value & 0xff)
-  } else {
-    objectWriteUInt32(this, value, offset, false)
-  }
+  this[offset] = (value >>> 24)
+  this[offset + 1] = (value >>> 16)
+  this[offset + 2] = (value >>> 8)
+  this[offset + 3] = (value & 0xff)
   return offset + 4
 }
 
@@ -1625,6 +1537,8 @@ function checkIEEE754 (buf, value, offset, ext, max, min) {
 }
 
 function writeFloat (buf, value, offset, littleEndian, noAssert) {
+  value = +value
+  offset = offset >>> 0
   if (!noAssert) {
     checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)
   }
@@ -1641,6 +1555,8 @@ Buffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert)
 }
 
 function writeDouble (buf, value, offset, littleEndian, noAssert) {
+  value = +value
+  offset = offset >>> 0
   if (!noAssert) {
     checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)
   }
@@ -1689,7 +1605,7 @@ Buffer.prototype.copy = function copy (target, targetStart, start, end) {
     for (i = len - 1; i >= 0; --i) {
       target[i + targetStart] = this[i + start]
     }
-  } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) {
+  } else if (len < 1000) {
     // ascending copy from start
     for (i = 0; i < len; ++i) {
       target[i + targetStart] = this[i + start]
@@ -1758,7 +1674,7 @@ Buffer.prototype.fill = function fill (val, start, end, encoding) {
   } else {
     var bytes = Buffer.isBuffer(val)
       ? val
-      : utf8ToBytes(new Buffer(val, encoding).toString())
+      : new Buffer(val, encoding)
     var len = bytes.length
     for (i = 0; i < end - start; ++i) {
       this[i + start] = bytes[i % len]
@@ -1771,11 +1687,11 @@ Buffer.prototype.fill = function fill (val, start, end, encoding) {
 // HELPER FUNCTIONS
 // ================
 
-var INVALID_BASE64_RE = /[^+\/0-9A-Za-z-_]/g
+var INVALID_BASE64_RE = /[^+/0-9A-Za-z-_]/g
 
 function base64clean (str) {
   // Node strips out invalid characters like \n and \t from the string, base64-js does not
-  str = stringtrim(str).replace(INVALID_BASE64_RE, '')
+  str = str.trim().replace(INVALID_BASE64_RE, '')
   // Node converts strings with length < 2 to ''
   if (str.length < 2) return ''
   // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not
@@ -1785,11 +1701,6 @@ function base64clean (str) {
   return str
 }
 
-function stringtrim (str) {
-  if (str.trim) return str.trim()
-  return str.replace(/^\s+|\s+$/g, '')
-}
-
 function toHex (n) {
   if (n < 16) return '0' + n.toString(16)
   return n.toString(16)
@@ -1912,12 +1823,24 @@ function blitBuffer (src, dst, offset, length) {
   return i
 }
 
-function isnan (val) {
-  return val !== val // eslint-disable-line no-self-compare
+// ArrayBuffers from another context (i.e. an iframe) do not pass the `instanceof` check
+// but they should be treated as valid. See: https://github.com/feross/buffer/issues/166
+function isArrayBuffer (obj) {
+  return obj instanceof ArrayBuffer ||
+    (obj != null && obj.constructor != null && obj.constructor.name === 'ArrayBuffer' &&
+      typeof obj.byteLength === 'number')
 }
 
-}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
-},{"base64-js":1,"ieee754":105,"isarray":108}],5:[function(require,module,exports){
+// Node 0.10 supports `ArrayBuffer` but lacks `ArrayBuffer.isView`
+function isArrayBufferView (obj) {
+  return (typeof ArrayBuffer.isView === 'function') && ArrayBuffer.isView(obj)
+}
+
+function numberIsNaN (obj) {
+  return obj !== obj // eslint-disable-line no-self-compare
+}
+
+},{"base64-js":1,"ieee754":105}],5:[function(require,module,exports){
 module.exports = {
   "100": "Continue",
   "101": "Switching Protocols",
@@ -2196,6 +2119,7 @@ var DEFAULT_ROUNDING_PRECISION = require('../../options/rounding-precision').DEF
 var WHOLE_PIXEL_VALUE = /(?:^|\s|\()(-?\d+)px/;
 var TIME_VALUE = /^(\-?[\d\.]+)(m?s)$/;
 
+var HEX_VALUE_PATTERN = /[0-9a-f]/i;
 var PROPERTY_NAME_PATTERN = /^(?:\-chrome\-|\-[\w\-]+\w|\w[\w\-]+\w|\-\-\S+)$/;
 var IMPORT_PREFIX_PATTERN = /^@import/i;
 var QUOTED_PATTERN = /^('.*'|".*")$/;
@@ -2265,11 +2189,15 @@ function optimizeColors(name, value, compatibility) {
     .replace(/hsl\((-?\d+),(-?\d+)%?,(-?\d+)%?\)/g, function (match, hue, saturation, lightness) {
       return shortenHsl(hue, saturation, lightness);
     })
-    .replace(/(^|[^='"])#([0-9a-f]{6})($|[^0-9a-f])/gi, function (match, prefix, color, suffix) {
-      if (color[0] == color[1] && color[2] == color[3] && color[4] == color[5]) {
-        return (prefix + '#' + color[0] + color[2] + color[4]).toLowerCase() + suffix;
+    .replace(/(^|[^='"])#([0-9a-f]{6})/gi, function (match, prefix, color, at, inputValue) {
+      var suffix = inputValue[at + match.length];
+
+      if (suffix && HEX_VALUE_PATTERN.test(suffix)) {
+        return match;
+      } else if (color[0] == color[1] && color[2] == color[3] && color[4] == color[5]) {
+        return (prefix + '#' + color[0] + color[2] + color[4]).toLowerCase();
       } else {
-        return (prefix + '#' + color).toLowerCase() + suffix;
+        return (prefix + '#' + color).toLowerCase();
       }
     })
     .replace(/(^|[^='"])#([0-9a-f]{3})/gi, function (match, prefix, color) {
@@ -10580,7 +10508,7 @@ function track(maps, source, data) {
 
 module.exports = inputSourceMapTracker;
 
-},{"source-map":156}],72:[function(require,module,exports){
+},{"source-map":155}],72:[function(require,module,exports){
 var path = require('path');
 var url = require('url');
 
@@ -10863,7 +10791,7 @@ function loadRemoteResource(uri, inlineRequest, inlineTimeout, callback) {
 
 module.exports = loadRemoteResource;
 
-},{"../utils/is-http-resource":90,"../utils/is-https-resource":91,"../utils/override":95,"http":157,"https":104,"url":162}],75:[function(require,module,exports){
+},{"../utils/is-http-resource":90,"../utils/is-https-resource":91,"../utils/override":95,"http":156,"https":104,"url":162}],75:[function(require,module,exports){
 var DATA_URI_PATTERN = /^data:(\S*?)?(;charset=[^;]+)?(;[^,]+?)?,(.+)/;
 
 function matchDataUri(uri) {
@@ -11174,7 +11102,6 @@ function inlineLocalStylesheet(uri, mediaQuery, metadata, inlinerContext) {
     path.resolve(inlinerContext.rebaseTo, uri);
   var relativeToCurrentPath = path.relative(currentPath, absoluteUri);
   var importedStyles;
-  var importedTokens;
   var isAllowed = isAllowedResource(uri, false, inlinerContext.inline);
   var normalizedPath = normalizePath(relativeToCurrentPath);
   var isLoaded = normalizedPath in inlinerContext.externalContext.sourcesContent;
@@ -11202,10 +11129,14 @@ function inlineLocalStylesheet(uri, mediaQuery, metadata, inlinerContext) {
     inlinerContext.externalContext.sourcesContent[normalizedPath] = importedStyles;
     inlinerContext.externalContext.stats.originalSize += importedStyles.length;
 
-    importedTokens = fromStyles(importedStyles, inlinerContext.externalContext, inlinerContext, function (tokens) { return tokens; });
-    importedTokens = wrapInMedia(importedTokens, mediaQuery, metadata);
+    return fromStyles(importedStyles, inlinerContext.externalContext, inlinerContext, function (importedTokens) {
+      importedTokens = wrapInMedia(importedTokens, mediaQuery, metadata);
+
+      inlinerContext.outputTokens = inlinerContext.outputTokens.concat(importedTokens);
+      inlinerContext.sourceTokens = inlinerContext.sourceTokens.slice(1);
 
-    inlinerContext.outputTokens = inlinerContext.outputTokens.concat(importedTokens);
+      return doInlineImports(inlinerContext);
+    });
   }
 
   inlinerContext.sourceTokens = inlinerContext.sourceTokens.slice(1);
@@ -11635,6 +11566,7 @@ function intoTokens(source, externalContext, internalContext, isNested) {
   var wasCommentStart = false;
   var isCommentEnd;
   var wasCommentEnd = false;
+  var isCommentEndMarker;
   var isEscaped;
   var wasEscaped = false;
   var seekingValue = false;
@@ -11649,7 +11581,8 @@ function intoTokens(source, externalContext, internalContext, isNested) {
     isNewLineNix = character == Marker.NEW_LINE_NIX;
     isNewLineWin = character == Marker.NEW_LINE_NIX && source[position.index - 1] == Marker.NEW_LINE_WIN;
     isCommentStart = !wasCommentEnd && level != Level.COMMENT && !isQuoted && character == Marker.ASTERISK && source[position.index - 1] == Marker.FORWARD_SLASH;
-    isCommentEnd = !wasCommentStart && level == Level.COMMENT && character == Marker.FORWARD_SLASH && source[position.index - 1] == Marker.ASTERISK;
+    isCommentEndMarker = !wasCommentStart && !isQuoted && character == Marker.FORWARD_SLASH && source[position.index - 1] == Marker.ASTERISK;
+    isCommentEnd = level == Level.COMMENT && isCommentEndMarker;
 
     metadata = buffer.length === 0 ?
       [position.line, position.column, position.source] :
@@ -11685,6 +11618,9 @@ function intoTokens(source, externalContext, internalContext, isNested) {
       level = levels.pop();
       metadata = metadatas.pop() || null;
       buffer = buffers.pop() || [];
+    } else if (isCommentEndMarker && source[position.index + 1] != Marker.ASTERISK) {
+      externalContext.warnings.push('Unexpected \'*/\' at ' + formatPosition([position.line, position.column, position.source]) + '.');
+      buffer = [];
     } else if (character == Marker.SINGLE_QUOTE && !isQuoted) {
       // single quotation start, e.g. a[href^='https<--
       levels.push(level);
@@ -12700,7 +12636,7 @@ function serializeStylesAndSourceMap(tokens, context) {
 module.exports = serializeStylesAndSourceMap;
 
 }).call(this,require('_process'))
-},{"../utils/is-remote-resource":93,"./helpers":97,"_process":113,"os":110,"source-map":156}],101:[function(require,module,exports){
+},{"../utils/is-remote-resource":93,"./helpers":97,"_process":113,"os":110,"source-map":155}],101:[function(require,module,exports){
 (function (Buffer){
 // Copyright Joyent, Inc. and other Node contributors.
 //
@@ -13462,22 +13398,39 @@ function isUndefined(arg) {
 
 }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
 },{}],104:[function(require,module,exports){
-var http = require('http');
+var http = require('http')
+var url = require('url')
 
-var https = module.exports;
+var https = module.exports
 
 for (var key in http) {
-    if (http.hasOwnProperty(key)) https[key] = http[key];
-};
+  if (http.hasOwnProperty(key)) https[key] = http[key]
+}
 
 https.request = function (params, cb) {
-    if (!params) params = {};
-    params.scheme = 'https';
-    params.protocol = 'https:';
-    return http.request.call(this, params, cb);
+  params = validateParams(params)
+  return http.request.call(this, params, cb)
+}
+
+https.get = function (params, cb) {
+  params = validateParams(params)
+  return http.get.call(this, params, cb)
+}
+
+function validateParams (params) {
+  if (typeof params === 'string') {
+    params = url.parse(params)
+  }
+  if (!params.protocol) {
+    params.protocol = 'https:'
+  }
+  if (params.protocol !== 'https:') {
+    throw new Error('Protocol "' + params.protocol + '" not supported. Expected "https:"')
+  }
+  return params
 }
 
-},{"http":157}],105:[function(require,module,exports){
+},{"http":156,"url":162}],105:[function(require,module,exports){
 exports.read = function (buffer, offset, isLE, mLen, nBytes) {
   var e, m
   var eLen = nBytes * 8 - mLen - 1
@@ -16036,7 +15989,7 @@ function indexOf(xs, x) {
   return -1;
 }
 }).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
-},{"./_stream_duplex":118,"./internal/streams/BufferList":123,"./internal/streams/destroy":124,"./internal/streams/stream":125,"_process":113,"core-util-is":101,"events":102,"inherits":106,"isarray":108,"process-nextick-args":112,"safe-buffer":145,"string_decoder/":126,"util":2}],121:[function(require,module,exports){
+},{"./_stream_duplex":118,"./internal/streams/BufferList":123,"./internal/streams/destroy":124,"./internal/streams/stream":125,"_process":113,"core-util-is":101,"events":102,"inherits":106,"isarray":108,"process-nextick-args":112,"safe-buffer":144,"string_decoder/":160,"util":2}],121:[function(require,module,exports){
 // Copyright Joyent, Inc. and other Node contributors.
 //
 // Permission is hereby granted, free of charge, to any person obtaining a
@@ -16918,7 +16871,7 @@ Writable.prototype._destroy = function (err, cb) {
   cb(err);
 };
 }).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
-},{"./_stream_duplex":118,"./internal/streams/destroy":124,"./internal/streams/stream":125,"_process":113,"core-util-is":101,"inherits":106,"process-nextick-args":112,"safe-buffer":145,"util-deprecate":164}],123:[function(require,module,exports){
+},{"./_stream_duplex":118,"./internal/streams/destroy":124,"./internal/streams/stream":125,"_process":113,"core-util-is":101,"inherits":106,"process-nextick-args":112,"safe-buffer":144,"util-deprecate":164}],123:[function(require,module,exports){
 'use strict';
 
 /*<replacement>*/
@@ -16993,7 +16946,7 @@ module.exports = function () {
 
   return BufferList;
 }();
-},{"safe-buffer":145}],124:[function(require,module,exports){
+},{"safe-buffer":144}],124:[function(require,module,exports){
 'use strict';
 
 /*<replacement>*/
@@ -17070,333 +17023,60 @@ module.exports = {
 module.exports = require('events').EventEmitter;
 
 },{"events":102}],126:[function(require,module,exports){
-'use strict';
+exports = module.exports = require('./lib/_stream_readable.js');
+exports.Stream = exports;
+exports.Readable = exports;
+exports.Writable = require('./lib/_stream_writable.js');
+exports.Duplex = require('./lib/_stream_duplex.js');
+exports.Transform = require('./lib/_stream_transform.js');
+exports.PassThrough = require('./lib/_stream_passthrough.js');
 
-var Buffer = require('safe-buffer').Buffer;
+},{"./lib/_stream_duplex.js":118,"./lib/_stream_passthrough.js":119,"./lib/_stream_readable.js":120,"./lib/_stream_transform.js":121,"./lib/_stream_writable.js":122}],127:[function(require,module,exports){
+"use strict";
 
-var isEncoding = Buffer.isEncoding || function (encoding) {
-  encoding = '' + encoding;
-  switch (encoding && encoding.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 true;
-    default:
-      return false;
-  }
+module.exports =
+{
+       // Output
+       ABSOLUTE:      "absolute",
+       PATH_RELATIVE: "pathRelative",
+       ROOT_RELATIVE: "rootRelative",
+       SHORTEST:      "shortest"
 };
 
-function _normalizeEncoding(enc) {
-  if (!enc) return 'utf8';
-  var retried;
-  while (true) {
-    switch (enc) {
-      case 'utf8':
-      case 'utf-8':
-        return 'utf8';
-      case 'ucs2':
-      case 'ucs-2':
-      case 'utf16le':
-      case 'utf-16le':
-        return 'utf16le';
-      case 'latin1':
-      case 'binary':
-        return 'latin1';
-      case 'base64':
-      case 'ascii':
-      case 'hex':
-        return enc;
-      default:
-        if (retried) return; // undefined
-        enc = ('' + enc).toLowerCase();
-        retried = true;
-    }
-  }
-};
+},{}],128:[function(require,module,exports){
+"use strict";
 
-// Do not cache `Buffer.isEncoding` when checking encoding names as some
-// modules monkey-patch it to support additional encodings
-function normalizeEncoding(enc) {
-  var nenc = _normalizeEncoding(enc);
-  if (typeof nenc !== 'string' && (Buffer.isEncoding === isEncoding || !isEncoding(enc))) throw new Error('Unknown encoding: ' + enc);
-  return nenc || enc;
-}
+var constants = require("./constants");
 
-// StringDecoder provides an interface for efficiently splitting a series of
-// buffers into a series of JS strings without breaking apart multi-byte
-// characters.
-exports.StringDecoder = StringDecoder;
-function StringDecoder(encoding) {
-  this.encoding = normalizeEncoding(encoding);
-  var nb;
-  switch (this.encoding) {
-    case 'utf16le':
-      this.text = utf16Text;
-      this.end = utf16End;
-      nb = 4;
-      break;
-    case 'utf8':
-      this.fillLast = utf8FillLast;
-      nb = 4;
-      break;
-    case 'base64':
-      this.text = base64Text;
-      this.end = base64End;
-      nb = 3;
-      break;
-    default:
-      this.write = simpleWrite;
-      this.end = simpleEnd;
-      return;
-  }
-  this.lastNeed = 0;
-  this.lastTotal = 0;
-  this.lastChar = Buffer.allocUnsafe(nb);
+
+
+function formatAuth(urlObj, options)
+{
+       if (urlObj.auth && !options.removeAuth && (urlObj.extra.relation.maximumHost || options.output===constants.ABSOLUTE))
+       {
+               return urlObj.auth + "@";
+       }
+       
+       return "";
 }
 
-StringDecoder.prototype.write = function (buf) {
-  if (buf.length === 0) return '';
-  var r;
-  var i;
-  if (this.lastNeed) {
-    r = this.fillLast(buf);
-    if (r === undefined) return '';
-    i = this.lastNeed;
-    this.lastNeed = 0;
-  } else {
-    i = 0;
-  }
-  if (i < buf.length) return r ? r + this.text(buf, i) : this.text(buf, i);
-  return r || '';
-};
 
-StringDecoder.prototype.end = utf8End;
 
-// Returns only complete characters in a Buffer
-StringDecoder.prototype.text = utf8Text;
+function formatHash(urlObj, options)
+{
+       return urlObj.hash ? urlObj.hash : "";
+}
 
-// Attempts to complete a partial non-UTF-8 character using bytes from a Buffer
-StringDecoder.prototype.fillLast = function (buf) {
-  if (this.lastNeed <= buf.length) {
-    buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed);
-    return this.lastChar.toString(this.encoding, 0, this.lastTotal);
-  }
-  buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, buf.length);
-  this.lastNeed -= buf.length;
-};
 
-// Checks the type of a UTF-8 byte, whether it's ASCII, a leading byte, or a
-// continuation byte.
-function utf8CheckByte(byte) {
-  if (byte <= 0x7F) return 0;else if (byte >> 5 === 0x06) return 2;else if (byte >> 4 === 0x0E) return 3;else if (byte >> 3 === 0x1E) return 4;
-  return -1;
-}
-
-// Checks at most 3 bytes at the end of a Buffer in order to detect an
-// incomplete multi-byte UTF-8 character. The total number of bytes (2, 3, or 4)
-// needed to complete the UTF-8 character (if applicable) are returned.
-function utf8CheckIncomplete(self, buf, i) {
-  var j = buf.length - 1;
-  if (j < i) return 0;
-  var nb = utf8CheckByte(buf[j]);
-  if (nb >= 0) {
-    if (nb > 0) self.lastNeed = nb - 1;
-    return nb;
-  }
-  if (--j < i) return 0;
-  nb = utf8CheckByte(buf[j]);
-  if (nb >= 0) {
-    if (nb > 0) self.lastNeed = nb - 2;
-    return nb;
-  }
-  if (--j < i) return 0;
-  nb = utf8CheckByte(buf[j]);
-  if (nb >= 0) {
-    if (nb > 0) {
-      if (nb === 2) nb = 0;else self.lastNeed = nb - 3;
-    }
-    return nb;
-  }
-  return 0;
-}
-
-// Validates as many continuation bytes for a multi-byte UTF-8 character as
-// needed or are available. If we see a non-continuation byte where we expect
-// one, we "replace" the validated continuation bytes we've seen so far with
-// UTF-8 replacement characters ('\ufffd'), to match v8's UTF-8 decoding
-// behavior. The continuation byte check is included three times in the case
-// where all of the continuation bytes for a character exist in the same buffer.
-// It is also done this way as a slight performance increase instead of using a
-// loop.
-function utf8CheckExtraBytes(self, buf, p) {
-  if ((buf[0] & 0xC0) !== 0x80) {
-    self.lastNeed = 0;
-    return '\ufffd'.repeat(p);
-  }
-  if (self.lastNeed > 1 && buf.length > 1) {
-    if ((buf[1] & 0xC0) !== 0x80) {
-      self.lastNeed = 1;
-      return '\ufffd'.repeat(p + 1);
-    }
-    if (self.lastNeed > 2 && buf.length > 2) {
-      if ((buf[2] & 0xC0) !== 0x80) {
-        self.lastNeed = 2;
-        return '\ufffd'.repeat(p + 2);
-      }
-    }
-  }
-}
-
-// Attempts to complete a multi-byte UTF-8 character using bytes from a Buffer.
-function utf8FillLast(buf) {
-  var p = this.lastTotal - this.lastNeed;
-  var r = utf8CheckExtraBytes(this, buf, p);
-  if (r !== undefined) return r;
-  if (this.lastNeed <= buf.length) {
-    buf.copy(this.lastChar, p, 0, this.lastNeed);
-    return this.lastChar.toString(this.encoding, 0, this.lastTotal);
-  }
-  buf.copy(this.lastChar, p, 0, buf.length);
-  this.lastNeed -= buf.length;
-}
-
-// Returns all complete UTF-8 characters in a Buffer. If the Buffer ended on a
-// partial character, the character's bytes are buffered until the required
-// number of bytes are available.
-function utf8Text(buf, i) {
-  var total = utf8CheckIncomplete(this, buf, i);
-  if (!this.lastNeed) return buf.toString('utf8', i);
-  this.lastTotal = total;
-  var end = buf.length - (total - this.lastNeed);
-  buf.copy(this.lastChar, 0, end);
-  return buf.toString('utf8', i, end);
-}
-
-// For UTF-8, a replacement character for each buffered byte of a (partial)
-// character needs to be added to the output.
-function utf8End(buf) {
-  var r = buf && buf.length ? this.write(buf) : '';
-  if (this.lastNeed) return r + '\ufffd'.repeat(this.lastTotal - this.lastNeed);
-  return r;
-}
-
-// UTF-16LE typically needs two bytes per character, but even if we have an even
-// number of bytes available, we need to check if we end on a leading/high
-// surrogate. In that case, we need to wait for the next two bytes in order to
-// decode the last character properly.
-function utf16Text(buf, i) {
-  if ((buf.length - i) % 2 === 0) {
-    var r = buf.toString('utf16le', i);
-    if (r) {
-      var c = r.charCodeAt(r.length - 1);
-      if (c >= 0xD800 && c <= 0xDBFF) {
-        this.lastNeed = 2;
-        this.lastTotal = 4;
-        this.lastChar[0] = buf[buf.length - 2];
-        this.lastChar[1] = buf[buf.length - 1];
-        return r.slice(0, -1);
-      }
-    }
-    return r;
-  }
-  this.lastNeed = 1;
-  this.lastTotal = 2;
-  this.lastChar[0] = buf[buf.length - 1];
-  return buf.toString('utf16le', i, buf.length - 1);
-}
-
-// For UTF-16LE we do not explicitly append special replacement characters if we
-// end on a partial character, we simply let v8 handle that.
-function utf16End(buf) {
-  var r = buf && buf.length ? this.write(buf) : '';
-  if (this.lastNeed) {
-    var end = this.lastTotal - this.lastNeed;
-    return r + this.lastChar.toString('utf16le', 0, end);
-  }
-  return r;
-}
-
-function base64Text(buf, i) {
-  var n = (buf.length - i) % 3;
-  if (n === 0) return buf.toString('base64', i);
-  this.lastNeed = 3 - n;
-  this.lastTotal = 3;
-  if (n === 1) {
-    this.lastChar[0] = buf[buf.length - 1];
-  } else {
-    this.lastChar[0] = buf[buf.length - 2];
-    this.lastChar[1] = buf[buf.length - 1];
-  }
-  return buf.toString('base64', i, buf.length - n);
-}
-
-function base64End(buf) {
-  var r = buf && buf.length ? this.write(buf) : '';
-  if (this.lastNeed) return r + this.lastChar.toString('base64', 0, 3 - this.lastNeed);
-  return r;
-}
-
-// Pass bytes on through for single-byte encodings (e.g. ascii, latin1, hex)
-function simpleWrite(buf) {
-  return buf.toString(this.encoding);
-}
-
-function simpleEnd(buf) {
-  return buf && buf.length ? this.write(buf) : '';
-}
-},{"safe-buffer":145}],127:[function(require,module,exports){
-exports = module.exports = require('./lib/_stream_readable.js');
-exports.Stream = exports;
-exports.Readable = exports;
-exports.Writable = require('./lib/_stream_writable.js');
-exports.Duplex = require('./lib/_stream_duplex.js');
-exports.Transform = require('./lib/_stream_transform.js');
-exports.PassThrough = require('./lib/_stream_passthrough.js');
-
-},{"./lib/_stream_duplex.js":118,"./lib/_stream_passthrough.js":119,"./lib/_stream_readable.js":120,"./lib/_stream_transform.js":121,"./lib/_stream_writable.js":122}],128:[function(require,module,exports){
-"use strict";
-
-module.exports =
-{
-       // Output
-       ABSOLUTE:      "absolute",
-       PATH_RELATIVE: "pathRelative",
-       ROOT_RELATIVE: "rootRelative",
-       SHORTEST:      "shortest"
-};
-
-},{}],129:[function(require,module,exports){
-"use strict";
-
-var constants = require("./constants");
-
-
-
-function formatAuth(urlObj, options)
-{
-       if (urlObj.auth && !options.removeAuth && (urlObj.extra.relation.maximumHost || options.output===constants.ABSOLUTE))
-       {
-               return urlObj.auth + "@";
-       }
-       
-       return "";
-}
-
-
-
-function formatHash(urlObj, options)
-{
-       return urlObj.hash ? urlObj.hash : "";
-}
-
-
-
-function formatHost(urlObj, options)
-{
-       if (urlObj.host.full && (urlObj.extra.relation.maximumAuth || options.output===constants.ABSOLUTE))
-       {
-               return urlObj.host.full;
-       }
-       
-       return "";
+
+function formatHost(urlObj, options)
+{
+       if (urlObj.host.full && (urlObj.extra.relation.maximumAuth || options.output===constants.ABSOLUTE))
+       {
+               return urlObj.host.full;
+       }
+       
+       return "";
 }
 
 
@@ -17539,7 +17219,7 @@ function showResource(urlObj, options)
 
 module.exports = formatUrl;
 
-},{"./constants":128}],130:[function(require,module,exports){
+},{"./constants":127}],129:[function(require,module,exports){
 "use strict";
 
 var constants  = require("./constants");
@@ -17635,7 +17315,7 @@ objUtils.shallowMerge(RelateUrl, constants);
 
 module.exports = RelateUrl;
 
-},{"./constants":128,"./format":129,"./options":131,"./parse":134,"./relate":141,"./util/object":143}],131:[function(require,module,exports){
+},{"./constants":127,"./format":128,"./options":130,"./parse":133,"./relate":140,"./util/object":142}],130:[function(require,module,exports){
 "use strict";
 
 var objUtils = require("./util/object");
@@ -17694,7 +17374,7 @@ function mergeOption(newValues, defaultValues)
 
 module.exports = getOptions;
 
-},{"./util/object":143}],132:[function(require,module,exports){
+},{"./util/object":142}],131:[function(require,module,exports){
 "use strict";
 
 function parseHost(urlObj, options)
@@ -17722,7 +17402,7 @@ function parseHost(urlObj, options)
 
 module.exports = parseHost;
 
-},{}],133:[function(require,module,exports){
+},{}],132:[function(require,module,exports){
 "use strict";
 
 function hrefInfo(urlObj)
@@ -17744,7 +17424,7 @@ function hrefInfo(urlObj)
 
 module.exports = hrefInfo;
 
-},{}],134:[function(require,module,exports){
+},{}],133:[function(require,module,exports){
 "use strict";
 
 var hrefInfo   = require("./hrefInfo");
@@ -17804,7 +17484,7 @@ module.exports =
        to:   parseUrl
 };
 
-},{"../util/path":144,"./host":132,"./hrefInfo":133,"./path":135,"./port":136,"./query":137,"./urlstring":138}],135:[function(require,module,exports){
+},{"../util/path":143,"./host":131,"./hrefInfo":132,"./path":134,"./port":135,"./query":136,"./urlstring":137}],134:[function(require,module,exports){
 "use strict";
 
 function isDirectoryIndex(resource, options)
@@ -17906,7 +17586,7 @@ function splitPath(path)
 
 module.exports = parsePath;
 
-},{}],136:[function(require,module,exports){
+},{}],135:[function(require,module,exports){
 "use strict";
 
 function parsePort(urlObj, options)
@@ -17940,7 +17620,7 @@ function parsePort(urlObj, options)
 
 module.exports = parsePort;
 
-},{}],137:[function(require,module,exports){
+},{}],136:[function(require,module,exports){
 "use strict";
 var hasOwnProperty = Object.prototype.hasOwnProperty;
 
@@ -17995,7 +17675,7 @@ function stringify(queryObj, removeEmptyQueries)
 
 module.exports = parseQuery;
 
-},{}],138:[function(require,module,exports){
+},{}],137:[function(require,module,exports){
 "use strict";
 
 var _parseUrl = require("url").parse;
@@ -18143,7 +17823,7 @@ function parseUrlString(url, options)
 
 module.exports = parseUrlString;
 
-},{"url":162}],139:[function(require,module,exports){
+},{"url":162}],138:[function(require,module,exports){
 "use strict";
 
 var findRelation = require("./findRelation");
@@ -18234,7 +17914,7 @@ function copyResource(urlObj, siteUrlObj)
 
 module.exports = absolutize;
 
-},{"../util/object":143,"../util/path":144,"./findRelation":140}],140:[function(require,module,exports){
+},{"../util/object":142,"../util/path":143,"./findRelation":139}],139:[function(require,module,exports){
 "use strict";
 
 function findRelation_upToPath(urlObj, siteUrlObj, options)
@@ -18315,7 +17995,7 @@ module.exports =
        upToPath: findRelation_upToPath
 };
 
-},{}],141:[function(require,module,exports){
+},{}],140:[function(require,module,exports){
 "use strict";
 
 var absolutize = require("./absolutize");
@@ -18335,7 +18015,7 @@ function relateUrl(siteUrlObj, urlObj, options)
 
 module.exports = relateUrl;
 
-},{"./absolutize":139,"./relativize":142}],142:[function(require,module,exports){
+},{"./absolutize":138,"./relativize":141}],141:[function(require,module,exports){
 "use strict";
 
 var pathUtils = require("../util/path");
@@ -18404,7 +18084,7 @@ function relativize(urlObj, siteUrlObj, options)
 
 module.exports = relativize;
 
-},{"../util/path":144}],143:[function(require,module,exports){
+},{"../util/path":143}],142:[function(require,module,exports){
 "use strict";
 
 /*
@@ -18470,7 +18150,7 @@ module.exports =
        shallowMerge: shallowMerge
 };
 
-},{}],144:[function(require,module,exports){
+},{}],143:[function(require,module,exports){
 "use strict";
 
 function joinPath(pathArray)
@@ -18521,7 +18201,7 @@ module.exports =
        resolveDotSegments: resolveDotSegments
 };
 
-},{}],145:[function(require,module,exports){
+},{}],144:[function(require,module,exports){
 /* eslint-disable node/no-deprecated-api */
 var buffer = require('buffer')
 var Buffer = buffer.Buffer
@@ -18585,7 +18265,7 @@ SafeBuffer.allocUnsafeSlow = function (size) {
   return buffer.SlowBuffer(size)
 }
 
-},{"buffer":4}],146:[function(require,module,exports){
+},{"buffer":4}],145:[function(require,module,exports){
 /* -*- Mode: js; js-indent-level: 2; -*- */
 /*
  * Copyright 2011 Mozilla Foundation and contributors
@@ -18595,6 +18275,7 @@ SafeBuffer.allocUnsafeSlow = function (size) {
 
 var util = require('./util');
 var has = Object.prototype.hasOwnProperty;
+var hasNativeMap = typeof Map !== "undefined";
 
 /**
  * A data structure which is a combination of an array and a set. Adding a new
@@ -18604,7 +18285,7 @@ var has = Object.prototype.hasOwnProperty;
  */
 function ArraySet() {
   this._array = [];
-  this._set = Object.create(null);
+  this._set = hasNativeMap ? new Map() : Object.create(null);
 }
 
 /**
@@ -18625,7 +18306,7 @@ ArraySet.fromArray = function ArraySet_fromArray(aArray, aAllowDuplicates) {
  * @returns Number
  */
 ArraySet.prototype.size = function ArraySet_size() {
-  return Object.getOwnPropertyNames(this._set).length;
+  return hasNativeMap ? this._set.size : Object.getOwnPropertyNames(this._set).length;
 };
 
 /**
@@ -18634,14 +18315,18 @@ ArraySet.prototype.size = function ArraySet_size() {
  * @param String aStr
  */
 ArraySet.prototype.add = function ArraySet_add(aStr, aAllowDuplicates) {
-  var sStr = util.toSetString(aStr);
-  var isDuplicate = has.call(this._set, sStr);
+  var sStr = hasNativeMap ? aStr : util.toSetString(aStr);
+  var isDuplicate = hasNativeMap ? this.has(aStr) : has.call(this._set, sStr);
   var idx = this._array.length;
   if (!isDuplicate || aAllowDuplicates) {
     this._array.push(aStr);
   }
   if (!isDuplicate) {
-    this._set[sStr] = idx;
+    if (hasNativeMap) {
+      this._set.set(aStr, idx);
+    } else {
+      this._set[sStr] = idx;
+    }
   }
 };
 
@@ -18651,8 +18336,12 @@ ArraySet.prototype.add = function ArraySet_add(aStr, aAllowDuplicates) {
  * @param String aStr
  */
 ArraySet.prototype.has = function ArraySet_has(aStr) {
-  var sStr = util.toSetString(aStr);
-  return has.call(this._set, sStr);
+  if (hasNativeMap) {
+    return this._set.has(aStr);
+  } else {
+    var sStr = util.toSetString(aStr);
+    return has.call(this._set, sStr);
+  }
 };
 
 /**
@@ -18661,10 +18350,18 @@ ArraySet.prototype.has = function ArraySet_has(aStr) {
  * @param String aStr
  */
 ArraySet.prototype.indexOf = function ArraySet_indexOf(aStr) {
-  var sStr = util.toSetString(aStr);
-  if (has.call(this._set, sStr)) {
-    return this._set[sStr];
+  if (hasNativeMap) {
+    var idx = this._set.get(aStr);
+    if (idx >= 0) {
+        return idx;
+    }
+  } else {
+    var sStr = util.toSetString(aStr);
+    if (has.call(this._set, sStr)) {
+      return this._set[sStr];
+    }
   }
+
   throw new Error('"' + aStr + '" is not in the set.');
 };
 
@@ -18691,7 +18388,7 @@ ArraySet.prototype.toArray = function ArraySet_toArray() {
 
 exports.ArraySet = ArraySet;
 
-},{"./util":155}],147:[function(require,module,exports){
+},{"./util":154}],146:[function(require,module,exports){
 /* -*- Mode: js; js-indent-level: 2; -*- */
 /*
  * Copyright 2011 Mozilla Foundation and contributors
@@ -18833,7 +18530,7 @@ exports.decode = function base64VLQ_decode(aStr, aIndex, aOutParam) {
   aOutParam.rest = aIndex;
 };
 
-},{"./base64":148}],148:[function(require,module,exports){
+},{"./base64":147}],147:[function(require,module,exports){
 /* -*- Mode: js; js-indent-level: 2; -*- */
 /*
  * Copyright 2011 Mozilla Foundation and contributors
@@ -18902,7 +18599,7 @@ exports.decode = function (charCode) {
   return -1;
 };
 
-},{}],149:[function(require,module,exports){
+},{}],148:[function(require,module,exports){
 /* -*- Mode: js; js-indent-level: 2; -*- */
 /*
  * Copyright 2011 Mozilla Foundation and contributors
@@ -19015,7 +18712,7 @@ exports.search = function search(aNeedle, aHaystack, aCompare, aBias) {
   return index;
 };
 
-},{}],150:[function(require,module,exports){
+},{}],149:[function(require,module,exports){
 /* -*- Mode: js; js-indent-level: 2; -*- */
 /*
  * Copyright 2014 Mozilla Foundation and contributors
@@ -19096,7 +18793,7 @@ MappingList.prototype.toArray = function MappingList_toArray() {
 
 exports.MappingList = MappingList;
 
-},{"./util":155}],151:[function(require,module,exports){
+},{"./util":154}],150:[function(require,module,exports){
 /* -*- Mode: js; js-indent-level: 2; -*- */
 /*
  * Copyright 2011 Mozilla Foundation and contributors
@@ -19212,7 +18909,7 @@ exports.quickSort = function (ary, comparator) {
   doQuickSort(ary, comparator, 0, ary.length - 1);
 };
 
-},{}],152:[function(require,module,exports){
+},{}],151:[function(require,module,exports){
 /* -*- Mode: js; js-indent-level: 2; -*- */
 /*
  * Copyright 2011 Mozilla Foundation and contributors
@@ -20296,7 +19993,7 @@ IndexedSourceMapConsumer.prototype._parseMappings =
 
 exports.IndexedSourceMapConsumer = IndexedSourceMapConsumer;
 
-},{"./array-set":146,"./base64-vlq":147,"./binary-search":149,"./quick-sort":151,"./util":155}],153:[function(require,module,exports){
+},{"./array-set":145,"./base64-vlq":146,"./binary-search":148,"./quick-sort":150,"./util":154}],152:[function(require,module,exports){
 /* -*- Mode: js; js-indent-level: 2; -*- */
 /*
  * Copyright 2011 Mozilla Foundation and contributors
@@ -20558,6 +20255,18 @@ SourceMapGenerator.prototype.applySourceMap =
 SourceMapGenerator.prototype._validateMapping =
   function SourceMapGenerator_validateMapping(aGenerated, aOriginal, aSource,
                                               aName) {
+    // When aOriginal is truthy but has empty values for .line and .column,
+    // it is most likely a programmer error. In this case we throw a very
+    // specific error message to try to guide them the right way.
+    // For example: https://github.com/Polymer/polymer-bundler/pull/519
+    if (aOriginal && typeof aOriginal.line !== 'number' && typeof aOriginal.column !== 'number') {
+        throw new Error(
+            'original.line and original.column are not numbers -- you probably meant to omit ' +
+            'the original mapping entirely and only map the generated position. If so, pass ' +
+            'null for the original mapping instead of an object with empty or null values.'
+        );
+    }
+
     if (aGenerated && 'line' in aGenerated && 'column' in aGenerated
         && aGenerated.line > 0 && aGenerated.column >= 0
         && !aOriginal && !aSource && !aName) {
@@ -20702,7 +20411,7 @@ SourceMapGenerator.prototype.toString =
 
 exports.SourceMapGenerator = SourceMapGenerator;
 
-},{"./array-set":146,"./base64-vlq":147,"./mapping-list":150,"./util":155}],154:[function(require,module,exports){
+},{"./array-set":145,"./base64-vlq":146,"./mapping-list":149,"./util":154}],153:[function(require,module,exports){
 /* -*- Mode: js; js-indent-level: 2; -*- */
 /*
  * Copyright 2011 Mozilla Foundation and contributors
@@ -20765,13 +20474,19 @@ SourceNode.fromStringWithSourceMap =
     // All even indices of this array are one line of the generated code,
     // while all odd indices are the newlines between two adjacent lines
     // (since `REGEX_NEWLINE` captures its match).
-    // Processed fragments are removed from this array, by calling `shiftNextLine`.
+    // Processed fragments are accessed by calling `shiftNextLine`.
     var remainingLines = aGeneratedCode.split(REGEX_NEWLINE);
+    var remainingLinesIndex = 0;
     var shiftNextLine = function() {
-      var lineContents = remainingLines.shift();
+      var lineContents = getNextLine();
       // The last line of a file might not have a newline.
-      var newLine = remainingLines.shift() || "";
+      var newLine = getNextLine() || "";
       return lineContents + newLine;
+
+      function getNextLine() {
+        return remainingLinesIndex < remainingLines.length ?
+            remainingLines[remainingLinesIndex++] : undefined;
+      }
     };
 
     // We need to remember the position of "remainingLines"
@@ -20796,10 +20511,10 @@ SourceNode.fromStringWithSourceMap =
           // There is no new line in between.
           // Associate the code between "lastGeneratedColumn" and
           // "mapping.generatedColumn" with "lastMapping"
-          var nextLine = remainingLines[0];
+          var nextLine = remainingLines[remainingLinesIndex];
           var code = nextLine.substr(0, mapping.generatedColumn -
                                         lastGeneratedColumn);
-          remainingLines[0] = nextLine.substr(mapping.generatedColumn -
+          remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn -
                                               lastGeneratedColumn);
           lastGeneratedColumn = mapping.generatedColumn;
           addMappingWithCode(lastMapping, code);
@@ -20816,21 +20531,21 @@ SourceNode.fromStringWithSourceMap =
         lastGeneratedLine++;
       }
       if (lastGeneratedColumn < mapping.generatedColumn) {
-        var nextLine = remainingLines[0];
+        var nextLine = remainingLines[remainingLinesIndex];
         node.add(nextLine.substr(0, mapping.generatedColumn));
-        remainingLines[0] = nextLine.substr(mapping.generatedColumn);
+        remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn);
         lastGeneratedColumn = mapping.generatedColumn;
       }
       lastMapping = mapping;
     }, this);
     // We have processed all mappings.
-    if (remainingLines.length > 0) {
+    if (remainingLinesIndex < remainingLines.length) {
       if (lastMapping) {
         // Associate the remaining code in the current line with "lastMapping"
         addMappingWithCode(lastMapping, shiftNextLine());
       }
       // and add the remaining lines without any mapping
-      node.add(remainingLines.join(""));
+      node.add(remainingLines.splice(remainingLinesIndex).join(""));
     }
 
     // Copy sourcesContent into SourceNode
@@ -21111,7 +20826,7 @@ SourceNode.prototype.toStringWithSourceMap = function SourceNode_toStringWithSou
 
 exports.SourceNode = SourceNode;
 
-},{"./source-map-generator":153,"./util":155}],155:[function(require,module,exports){
+},{"./source-map-generator":152,"./util":154}],154:[function(require,module,exports){
 /* -*- Mode: js; js-indent-level: 2; -*- */
 /*
  * Copyright 2011 Mozilla Foundation and contributors
@@ -21530,7 +21245,7 @@ function compareByGeneratedPositionsInflated(mappingA, mappingB) {
 }
 exports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated;
 
-},{}],156:[function(require,module,exports){
+},{}],155:[function(require,module,exports){
 /*
  * Copyright 2009-2011 Mozilla Foundation and contributors
  * Licensed under the New BSD license. See LICENSE.txt or:
@@ -21540,7 +21255,7 @@ exports.SourceMapGenerator = require('./lib/source-map-generator').SourceMapGene
 exports.SourceMapConsumer = require('./lib/source-map-consumer').SourceMapConsumer;
 exports.SourceNode = require('./lib/source-node').SourceNode;
 
-},{"./lib/source-map-consumer":152,"./lib/source-map-generator":153,"./lib/source-node":154}],157:[function(require,module,exports){
+},{"./lib/source-map-consumer":151,"./lib/source-map-generator":152,"./lib/source-node":153}],156:[function(require,module,exports){
 (function (global){
 var ClientRequest = require('./lib/request')
 var extend = require('xtend')
@@ -21622,7 +21337,7 @@ http.METHODS = [
        'UNSUBSCRIBE'
 ]
 }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
-},{"./lib/request":159,"builtin-status-codes":5,"url":162,"xtend":166}],158:[function(require,module,exports){
+},{"./lib/request":158,"builtin-status-codes":5,"url":162,"xtend":166}],157:[function(require,module,exports){
 (function (global){
 exports.fetch = isFunction(global.fetch) && isFunction(global.ReadableStream)
 
@@ -21695,7 +21410,7 @@ function isFunction (value) {
 xhr = null // Help gc
 
 }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
-},{}],159:[function(require,module,exports){
+},{}],158:[function(require,module,exports){
 (function (process,global,Buffer){
 var capability = require('./capability')
 var inherits = require('inherits')
@@ -22005,7 +21720,7 @@ var unsafeHeaders = [
 ]
 
 }).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer)
-},{"./capability":158,"./response":160,"_process":113,"buffer":4,"inherits":106,"readable-stream":127,"to-arraybuffer":161}],160:[function(require,module,exports){
+},{"./capability":157,"./response":159,"_process":113,"buffer":4,"inherits":106,"readable-stream":126,"to-arraybuffer":161}],159:[function(require,module,exports){
 (function (process,global,Buffer){
 var capability = require('./capability')
 var inherits = require('inherits')
@@ -22191,7 +21906,280 @@ IncomingMessage.prototype._onXHRProgress = function () {
 }
 
 }).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer)
-},{"./capability":158,"_process":113,"buffer":4,"inherits":106,"readable-stream":127}],161:[function(require,module,exports){
+},{"./capability":157,"_process":113,"buffer":4,"inherits":106,"readable-stream":126}],160:[function(require,module,exports){
+'use strict';
+
+var Buffer = require('safe-buffer').Buffer;
+
+var isEncoding = Buffer.isEncoding || function (encoding) {
+  encoding = '' + encoding;
+  switch (encoding && encoding.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 true;
+    default:
+      return false;
+  }
+};
+
+function _normalizeEncoding(enc) {
+  if (!enc) return 'utf8';
+  var retried;
+  while (true) {
+    switch (enc) {
+      case 'utf8':
+      case 'utf-8':
+        return 'utf8';
+      case 'ucs2':
+      case 'ucs-2':
+      case 'utf16le':
+      case 'utf-16le':
+        return 'utf16le';
+      case 'latin1':
+      case 'binary':
+        return 'latin1';
+      case 'base64':
+      case 'ascii':
+      case 'hex':
+        return enc;
+      default:
+        if (retried) return; // undefined
+        enc = ('' + enc).toLowerCase();
+        retried = true;
+    }
+  }
+};
+
+// Do not cache `Buffer.isEncoding` when checking encoding names as some
+// modules monkey-patch it to support additional encodings
+function normalizeEncoding(enc) {
+  var nenc = _normalizeEncoding(enc);
+  if (typeof nenc !== 'string' && (Buffer.isEncoding === isEncoding || !isEncoding(enc))) throw new Error('Unknown encoding: ' + enc);
+  return nenc || enc;
+}
+
+// StringDecoder provides an interface for efficiently splitting a series of
+// buffers into a series of JS strings without breaking apart multi-byte
+// characters.
+exports.StringDecoder = StringDecoder;
+function StringDecoder(encoding) {
+  this.encoding = normalizeEncoding(encoding);
+  var nb;
+  switch (this.encoding) {
+    case 'utf16le':
+      this.text = utf16Text;
+      this.end = utf16End;
+      nb = 4;
+      break;
+    case 'utf8':
+      this.fillLast = utf8FillLast;
+      nb = 4;
+      break;
+    case 'base64':
+      this.text = base64Text;
+      this.end = base64End;
+      nb = 3;
+      break;
+    default:
+      this.write = simpleWrite;
+      this.end = simpleEnd;
+      return;
+  }
+  this.lastNeed = 0;
+  this.lastTotal = 0;
+  this.lastChar = Buffer.allocUnsafe(nb);
+}
+
+StringDecoder.prototype.write = function (buf) {
+  if (buf.length === 0) return '';
+  var r;
+  var i;
+  if (this.lastNeed) {
+    r = this.fillLast(buf);
+    if (r === undefined) return '';
+    i = this.lastNeed;
+    this.lastNeed = 0;
+  } else {
+    i = 0;
+  }
+  if (i < buf.length) return r ? r + this.text(buf, i) : this.text(buf, i);
+  return r || '';
+};
+
+StringDecoder.prototype.end = utf8End;
+
+// Returns only complete characters in a Buffer
+StringDecoder.prototype.text = utf8Text;
+
+// Attempts to complete a partial non-UTF-8 character using bytes from a Buffer
+StringDecoder.prototype.fillLast = function (buf) {
+  if (this.lastNeed <= buf.length) {
+    buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed);
+    return this.lastChar.toString(this.encoding, 0, this.lastTotal);
+  }
+  buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, buf.length);
+  this.lastNeed -= buf.length;
+};
+
+// Checks the type of a UTF-8 byte, whether it's ASCII, a leading byte, or a
+// continuation byte.
+function utf8CheckByte(byte) {
+  if (byte <= 0x7F) return 0;else if (byte >> 5 === 0x06) return 2;else if (byte >> 4 === 0x0E) return 3;else if (byte >> 3 === 0x1E) return 4;
+  return -1;
+}
+
+// Checks at most 3 bytes at the end of a Buffer in order to detect an
+// incomplete multi-byte UTF-8 character. The total number of bytes (2, 3, or 4)
+// needed to complete the UTF-8 character (if applicable) are returned.
+function utf8CheckIncomplete(self, buf, i) {
+  var j = buf.length - 1;
+  if (j < i) return 0;
+  var nb = utf8CheckByte(buf[j]);
+  if (nb >= 0) {
+    if (nb > 0) self.lastNeed = nb - 1;
+    return nb;
+  }
+  if (--j < i) return 0;
+  nb = utf8CheckByte(buf[j]);
+  if (nb >= 0) {
+    if (nb > 0) self.lastNeed = nb - 2;
+    return nb;
+  }
+  if (--j < i) return 0;
+  nb = utf8CheckByte(buf[j]);
+  if (nb >= 0) {
+    if (nb > 0) {
+      if (nb === 2) nb = 0;else self.lastNeed = nb - 3;
+    }
+    return nb;
+  }
+  return 0;
+}
+
+// Validates as many continuation bytes for a multi-byte UTF-8 character as
+// needed or are available. If we see a non-continuation byte where we expect
+// one, we "replace" the validated continuation bytes we've seen so far with
+// UTF-8 replacement characters ('\ufffd'), to match v8's UTF-8 decoding
+// behavior. The continuation byte check is included three times in the case
+// where all of the continuation bytes for a character exist in the same buffer.
+// It is also done this way as a slight performance increase instead of using a
+// loop.
+function utf8CheckExtraBytes(self, buf, p) {
+  if ((buf[0] & 0xC0) !== 0x80) {
+    self.lastNeed = 0;
+    return '\ufffd'.repeat(p);
+  }
+  if (self.lastNeed > 1 && buf.length > 1) {
+    if ((buf[1] & 0xC0) !== 0x80) {
+      self.lastNeed = 1;
+      return '\ufffd'.repeat(p + 1);
+    }
+    if (self.lastNeed > 2 && buf.length > 2) {
+      if ((buf[2] & 0xC0) !== 0x80) {
+        self.lastNeed = 2;
+        return '\ufffd'.repeat(p + 2);
+      }
+    }
+  }
+}
+
+// Attempts to complete a multi-byte UTF-8 character using bytes from a Buffer.
+function utf8FillLast(buf) {
+  var p = this.lastTotal - this.lastNeed;
+  var r = utf8CheckExtraBytes(this, buf, p);
+  if (r !== undefined) return r;
+  if (this.lastNeed <= buf.length) {
+    buf.copy(this.lastChar, p, 0, this.lastNeed);
+    return this.lastChar.toString(this.encoding, 0, this.lastTotal);
+  }
+  buf.copy(this.lastChar, p, 0, buf.length);
+  this.lastNeed -= buf.length;
+}
+
+// Returns all complete UTF-8 characters in a Buffer. If the Buffer ended on a
+// partial character, the character's bytes are buffered until the required
+// number of bytes are available.
+function utf8Text(buf, i) {
+  var total = utf8CheckIncomplete(this, buf, i);
+  if (!this.lastNeed) return buf.toString('utf8', i);
+  this.lastTotal = total;
+  var end = buf.length - (total - this.lastNeed);
+  buf.copy(this.lastChar, 0, end);
+  return buf.toString('utf8', i, end);
+}
+
+// For UTF-8, a replacement character for each buffered byte of a (partial)
+// character needs to be added to the output.
+function utf8End(buf) {
+  var r = buf && buf.length ? this.write(buf) : '';
+  if (this.lastNeed) return r + '\ufffd'.repeat(this.lastTotal - this.lastNeed);
+  return r;
+}
+
+// UTF-16LE typically needs two bytes per character, but even if we have an even
+// number of bytes available, we need to check if we end on a leading/high
+// surrogate. In that case, we need to wait for the next two bytes in order to
+// decode the last character properly.
+function utf16Text(buf, i) {
+  if ((buf.length - i) % 2 === 0) {
+    var r = buf.toString('utf16le', i);
+    if (r) {
+      var c = r.charCodeAt(r.length - 1);
+      if (c >= 0xD800 && c <= 0xDBFF) {
+        this.lastNeed = 2;
+        this.lastTotal = 4;
+        this.lastChar[0] = buf[buf.length - 2];
+        this.lastChar[1] = buf[buf.length - 1];
+        return r.slice(0, -1);
+      }
+    }
+    return r;
+  }
+  this.lastNeed = 1;
+  this.lastTotal = 2;
+  this.lastChar[0] = buf[buf.length - 1];
+  return buf.toString('utf16le', i, buf.length - 1);
+}
+
+// For UTF-16LE we do not explicitly append special replacement characters if we
+// end on a partial character, we simply let v8 handle that.
+function utf16End(buf) {
+  var r = buf && buf.length ? this.write(buf) : '';
+  if (this.lastNeed) {
+    var end = this.lastTotal - this.lastNeed;
+    return r + this.lastChar.toString('utf16le', 0, end);
+  }
+  return r;
+}
+
+function base64Text(buf, i) {
+  var n = (buf.length - i) % 3;
+  if (n === 0) return buf.toString('base64', i);
+  this.lastNeed = 3 - n;
+  this.lastTotal = 3;
+  if (n === 1) {
+    this.lastChar[0] = buf[buf.length - 1];
+  } else {
+    this.lastChar[0] = buf[buf.length - 2];
+    this.lastChar[1] = buf[buf.length - 1];
+  }
+  return buf.toString('base64', i, buf.length - n);
+}
+
+function base64End(buf) {
+  var r = buf && buf.length ? this.write(buf) : '';
+  if (this.lastNeed) return r + this.lastChar.toString('base64', 0, 3 - this.lastNeed);
+  return r;
+}
+
+// Pass bytes on through for single-byte encodings (e.g. ascii, latin1, hex)
+function simpleWrite(buf) {
+  return buf.toString(this.encoding);
+}
+
+function simpleEnd(buf) {
+  return buf && buf.length ? this.write(buf) : '';
+}
+},{"safe-buffer":144}],161:[function(require,module,exports){
 var Buffer = require('buffer').Buffer
 
 module.exports = function (buf) {
@@ -25001,8 +24989,8 @@ exports.minify = function(value, options) {
   return minify(value, options);
 };
 
-},{"./htmlparser":167,"./tokenchain":168,"./utils":169,"clean-css":6,"he":103,"relateurl":130,"uglify-js":"uglify-js"}],"uglify-js":[function(require,module,exports){
+},{"./htmlparser":167,"./tokenchain":168,"./utils":169,"clean-css":6,"he":103,"relateurl":129,"uglify-js":"uglify-js"}],"uglify-js":[function(require,module,exports){
 (function (Buffer){
-(function(exports){"use strict";function slice(a,start){return Array.prototype.slice.call(a,start||0)}function characters(str){return str.split("")}function member(name,array){return array.indexOf(name)>=0}function find_if(func,array){for(var i=0,n=array.length;i<n;++i){if(func(array[i]))return array[i]}}function repeat_string(str,i){if(i<=0)return"";if(i==1)return str;var d=repeat_string(str,i>>1);d+=d;if(i&1)d+=str;return d}function configure_error_stack(fn){Object.defineProperty(fn.prototype,"stack",{get:function(){var err=new Error(this.message);err.name=this.name;try{throw err}catch(e){return e.stack}}})}function DefaultsError(msg,defs){this.message=msg;this.defs=defs}DefaultsError.prototype=Object.create(Error.prototype);DefaultsError.prototype.constructor=DefaultsError;DefaultsError.prototype.name="DefaultsError";configure_error_stack(DefaultsError);DefaultsError.croak=function(msg,defs){throw new DefaultsError(msg,defs)};function defaults(args,defs,croak){if(args===true)args={};var ret=args||{};if(croak)for(var i in ret)if(HOP(ret,i)&&!HOP(defs,i))DefaultsError.croak("`"+i+"` is not a supported option",defs);for(var i in defs)if(HOP(defs,i)){ret[i]=args&&HOP(args,i)?args[i]:defs[i]}return ret}function merge(obj,ext){var count=0;for(var i in ext)if(HOP(ext,i)){obj[i]=ext[i];count++}return count}function noop(){}function return_false(){return false}function return_true(){return true}function return_this(){return this}function return_null(){return null}var MAP=function(){function MAP(a,f,backwards){var ret=[],top=[],i;function doit(){var val=f(a[i],i);var is_last=val instanceof Last;if(is_last)val=val.v;if(val instanceof AtTop){val=val.v;if(val instanceof Splice){top.push.apply(top,backwards?val.v.slice().reverse():val.v)}else{top.push(val)}}else if(val!==skip){if(val instanceof Splice){ret.push.apply(ret,backwards?val.v.slice().reverse():val.v)}else{ret.push(val)}}return is_last}if(a instanceof Array){if(backwards){for(i=a.length;--i>=0;)if(doit())break;ret.reverse();top.reverse()}else{for(i=0;i<a.length;++i)if(doit())break}}else{for(i in a)if(HOP(a,i))if(doit())break}return top.concat(ret)}MAP.at_top=function(val){return new AtTop(val)};MAP.splice=function(val){return new Splice(val)};MAP.last=function(val){return new Last(val)};var skip=MAP.skip={};function AtTop(val){this.v=val}function Splice(val){this.v=val}function Last(val){this.v=val}return MAP}();function push_uniq(array,el){if(array.indexOf(el)<0)array.push(el)}function string_template(text,props){return text.replace(/\{(.+?)\}/g,function(str,p){return props&&props[p]})}function remove(array,el){for(var i=array.length;--i>=0;){if(array[i]===el)array.splice(i,1)}}function mergeSort(array,cmp){if(array.length<2)return array.slice();function merge(a,b){var r=[],ai=0,bi=0,i=0;while(ai<a.length&&bi<b.length){cmp(a[ai],b[bi])<=0?r[i++]=a[ai++]:r[i++]=b[bi++]}if(ai<a.length)r.push.apply(r,a.slice(ai));if(bi<b.length)r.push.apply(r,b.slice(bi));return r}function _ms(a){if(a.length<=1)return a;var m=Math.floor(a.length/2),left=a.slice(0,m),right=a.slice(m);left=_ms(left);right=_ms(right);return merge(left,right)}return _ms(array)}function set_difference(a,b){return a.filter(function(el){return b.indexOf(el)<0})}function set_intersection(a,b){return a.filter(function(el){return b.indexOf(el)>=0})}function makePredicate(words){if(!(words instanceof Array))words=words.split(" ");var f="",cats=[];out:for(var i=0;i<words.length;++i){for(var j=0;j<cats.length;++j)if(cats[j][0].length==words[i].length){cats[j].push(words[i]);continue out}cats.push([words[i]])}function quote(word){return JSON.stringify(word).replace(/[\u2028\u2029]/g,function(s){switch(s){case"\u2028":return"\\u2028";case"\u2029":return"\\u2029"}return s})}function compareTo(arr){if(arr.length==1)return f+="return str === "+quote(arr[0])+";";f+="switch(str){";for(var i=0;i<arr.length;++i)f+="case "+quote(arr[i])+":";f+="return true}return false;"}if(cats.length>3){cats.sort(function(a,b){return b.length-a.length});f+="switch(str.length){";for(var i=0;i<cats.length;++i){var cat=cats[i];f+="case "+cat[0].length+":";compareTo(cat)}f+="}"}else{compareTo(words)}return new Function("str",f)}function all(array,predicate){for(var i=array.length;--i>=0;)if(!predicate(array[i]))return false;return true}function Dictionary(){this._values=Object.create(null);this._size=0}Dictionary.prototype={set:function(key,val){if(!this.has(key))++this._size;this._values["$"+key]=val;return this},add:function(key,val){if(this.has(key)){this.get(key).push(val)}else{this.set(key,[val])}return this},get:function(key){return this._values["$"+key]},del:function(key){if(this.has(key)){--this._size;delete this._values["$"+key]}return this},has:function(key){return"$"+key in this._values},each:function(f){for(var i in this._values)f(this._values[i],i.substr(1))},size:function(){return this._size},map:function(f){var ret=[];for(var i in this._values)ret.push(f(this._values[i],i.substr(1)));return ret},toObject:function(){return this._values}};Dictionary.fromObject=function(obj){var dict=new Dictionary;dict._size=merge(dict._values,obj);return dict};function HOP(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop)}function first_in_statement(stack){var node=stack.parent(-1);for(var i=0,p;p=stack.parent(i);i++){if(p instanceof AST_Statement&&p.body===node)return true;if(p instanceof AST_Sequence&&p.expressions[0]===node||p instanceof AST_Call&&p.expression===node&&!(p instanceof AST_New)||p instanceof AST_Dot&&p.expression===node||p instanceof AST_Sub&&p.expression===node||p instanceof AST_Conditional&&p.condition===node||p instanceof AST_Binary&&p.left===node||p instanceof AST_UnaryPostfix&&p.expression===node){node=p}else{return false}}}"use strict";function DEFNODE(type,props,methods,base){if(arguments.length<4)base=AST_Node;if(!props)props=[];else props=props.split(/\s+/);var self_props=props;if(base&&base.PROPS)props=props.concat(base.PROPS);var code="return function AST_"+type+"(props){ if (props) { ";for(var i=props.length;--i>=0;){code+="this."+props[i]+" = props."+props[i]+";"}var proto=base&&new base;if(proto&&proto.initialize||methods&&methods.initialize)code+="this.initialize();";code+="}}";var ctor=new Function(code)();if(proto){ctor.prototype=proto;ctor.BASE=base}if(base)base.SUBCLASSES.push(ctor);ctor.prototype.CTOR=ctor;ctor.PROPS=props||null;ctor.SELF_PROPS=self_props;ctor.SUBCLASSES=[];if(type){ctor.prototype.TYPE=ctor.TYPE=type}if(methods)for(i in methods)if(HOP(methods,i)){if(/^\$/.test(i)){ctor[i.substr(1)]=methods[i]}else{ctor.prototype[i]=methods[i]}}ctor.DEFMETHOD=function(name,method){this.prototype[name]=method};if(typeof exports!=="undefined"){exports["AST_"+type]=ctor}return ctor}var AST_Token=DEFNODE("Token","type value line col pos endline endcol endpos nlb comments_before file raw",{},null);var AST_Node=DEFNODE("Node","start end",{_clone:function(deep){if(deep){var self=this.clone();return self.transform(new TreeTransformer(function(node){if(node!==self){return node.clone(true)}}))}return new this.CTOR(this)},clone:function(deep){return this._clone(deep)},$documentation:"Base class of all AST nodes",$propdoc:{start:"[AST_Token] The first token of this node",end:"[AST_Token] The last token of this node"},_walk:function(visitor){return visitor._visit(this)},walk:function(visitor){return this._walk(visitor)}},null);AST_Node.warn_function=null;AST_Node.warn=function(txt,props){if(AST_Node.warn_function)AST_Node.warn_function(string_template(txt,props))};var AST_Statement=DEFNODE("Statement",null,{$documentation:"Base class of all statements"});var AST_Debugger=DEFNODE("Debugger",null,{$documentation:"Represents a debugger statement"},AST_Statement);var AST_Directive=DEFNODE("Directive","value scope quote",{$documentation:'Represents a directive, like "use strict";',$propdoc:{value:"[string] The value of this directive as a plain string (it's not an AST_String!)",scope:"[AST_Scope/S] The scope that this directive affects",quote:"[string] the original quote character"}},AST_Statement);var AST_SimpleStatement=DEFNODE("SimpleStatement","body",{$documentation:"A statement consisting of an expression, i.e. a = 1 + 2",$propdoc:{body:"[AST_Node] an expression node (should not be instanceof AST_Statement)"},_walk:function(visitor){return visitor._visit(this,function(){this.body._walk(visitor)})}},AST_Statement);function walk_body(node,visitor){var body=node.body;if(body instanceof AST_Statement){body._walk(visitor)}else for(var i=0,len=body.length;i<len;i++){body[i]._walk(visitor)}}var AST_Block=DEFNODE("Block","body",{$documentation:"A body of statements (usually bracketed)",$propdoc:{body:"[AST_Statement*] an array of statements"},_walk:function(visitor){return visitor._visit(this,function(){walk_body(this,visitor)})}},AST_Statement);var AST_BlockStatement=DEFNODE("BlockStatement",null,{$documentation:"A block statement"},AST_Block);var AST_EmptyStatement=DEFNODE("EmptyStatement",null,{$documentation:"The empty statement (empty block or simply a semicolon)"},AST_Statement);var AST_StatementWithBody=DEFNODE("StatementWithBody","body",{$documentation:"Base class for all statements that contain one nested body: `For`, `ForIn`, `Do`, `While`, `With`",$propdoc:{body:"[AST_Statement] the body; this should always be present, even if it's an AST_EmptyStatement"}},AST_Statement);var AST_LabeledStatement=DEFNODE("LabeledStatement","label",{$documentation:"Statement with a label",$propdoc:{label:"[AST_Label] a label definition"},_walk:function(visitor){return visitor._visit(this,function(){this.label._walk(visitor);this.body._walk(visitor)})},clone:function(deep){var node=this._clone(deep);if(deep){var label=node.label;var def=this.label;node.walk(new TreeWalker(function(node){if(node instanceof AST_LoopControl&&node.label&&node.label.thedef===def){node.label.thedef=label;label.references.push(node)}}))}return node}},AST_StatementWithBody);var AST_IterationStatement=DEFNODE("IterationStatement",null,{$documentation:"Internal class.  All loops inherit from it."},AST_StatementWithBody);var AST_DWLoop=DEFNODE("DWLoop","condition",{$documentation:"Base class for do/while statements",$propdoc:{condition:"[AST_Node] the loop condition.  Should not be instanceof AST_Statement"}},AST_IterationStatement);var AST_Do=DEFNODE("Do",null,{$documentation:"A `do` statement",_walk:function(visitor){return visitor._visit(this,function(){this.body._walk(visitor);this.condition._walk(visitor)})}},AST_DWLoop);var AST_While=DEFNODE("While",null,{$documentation:"A `while` statement",_walk:function(visitor){return visitor._visit(this,function(){this.condition._walk(visitor);this.body._walk(visitor)})}},AST_DWLoop);var AST_For=DEFNODE("For","init condition step",{$documentation:"A `for` statement",$propdoc:{init:"[AST_Node?] the `for` initialization code, or null if empty",condition:"[AST_Node?] the `for` termination clause, or null if empty",step:"[AST_Node?] the `for` update clause, or null if empty"},_walk:function(visitor){return visitor._visit(this,function(){if(this.init)this.init._walk(visitor);if(this.condition)this.condition._walk(visitor);if(this.step)this.step._walk(visitor);this.body._walk(visitor)})}},AST_IterationStatement);var AST_ForIn=DEFNODE("ForIn","init name object",{$documentation:"A `for ... in` statement",$propdoc:{init:"[AST_Node] the `for/in` initialization code",name:"[AST_SymbolRef?] the loop variable, only if `init` is AST_Var",object:"[AST_Node] the object that we're looping through"},_walk:function(visitor){return visitor._visit(this,function(){this.init._walk(visitor);this.object._walk(visitor);this.body._walk(visitor)})}},AST_IterationStatement);var AST_With=DEFNODE("With","expression",{$documentation:"A `with` statement",$propdoc:{expression:"[AST_Node] the `with` expression"},_walk:function(visitor){return visitor._visit(this,function(){this.expression._walk(visitor);this.body._walk(visitor)})}},AST_StatementWithBody);var AST_Scope=DEFNODE("Scope","directives variables functions uses_with uses_eval parent_scope enclosed cname",{$documentation:"Base class for all statements introducing a lexical scope",$propdoc:{directives:"[string*/S] an array of directives declared in this scope",variables:"[Object/S] a map of name -> 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)"}},AST_Block);var AST_Toplevel=DEFNODE("Toplevel","globals",{$documentation:"The toplevel scope",$propdoc:{globals:"[Object/S] a map of name -> SymbolDef for all undeclared names"},wrap_commonjs:function(name){var body=this.body;var wrapped_tl="(function(exports){'$ORIG';})(typeof "+name+"=='undefined'?("+name+"={}):"+name+");";wrapped_tl=parse(wrapped_tl);wrapped_tl=wrapped_tl.transform(new TreeTransformer(function before(node){if(node instanceof AST_Directive&&node.value=="$ORIG"){return MAP.splice(body)}}));return wrapped_tl}},AST_Scope);var AST_Lambda=DEFNODE("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(visitor){return visitor._visit(this,function(){if(this.name)this.name._walk(visitor);var argnames=this.argnames;for(var i=0,len=argnames.length;i<len;i++){argnames[i]._walk(visitor)}walk_body(this,visitor)})}},AST_Scope);var AST_Accessor=DEFNODE("Accessor",null,{$documentation:"A setter/getter function.  The `name` property is always null."},AST_Lambda);var AST_Function=DEFNODE("Function",null,{$documentation:"A function expression"},AST_Lambda);var AST_Defun=DEFNODE("Defun",null,{$documentation:"A function definition"},AST_Lambda);var AST_Jump=DEFNODE("Jump",null,{$documentation:"Base class for “jumps” (for now that's `return`, `throw`, `break` and `continue`)"},AST_Statement);var AST_Exit=DEFNODE("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(visitor){return visitor._visit(this,this.value&&function(){this.value._walk(visitor)})}},AST_Jump);var AST_Return=DEFNODE("Return",null,{$documentation:"A `return` statement"},AST_Exit);var AST_Throw=DEFNODE("Throw",null,{$documentation:"A `throw` statement"},AST_Exit);var AST_LoopControl=DEFNODE("LoopControl","label",{$documentation:"Base class for loop control statements (`break` and `continue`)",$propdoc:{label:"[AST_LabelRef?] the label, or null if none"},_walk:function(visitor){return visitor._visit(this,this.label&&function(){this.label._walk(visitor)})}},AST_Jump);var AST_Break=DEFNODE("Break",null,{$documentation:"A `break` statement"},AST_LoopControl);var AST_Continue=DEFNODE("Continue",null,{$documentation:"A `continue` statement"},AST_LoopControl);var AST_If=DEFNODE("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(visitor){return visitor._visit(this,function(){this.condition._walk(visitor);this.body._walk(visitor);if(this.alternative)this.alternative._walk(visitor)})}},AST_StatementWithBody);var AST_Switch=DEFNODE("Switch","expression",{$documentation:"A `switch` statement",$propdoc:{expression:"[AST_Node] the `switch` “discriminant”"},_walk:function(visitor){return visitor._visit(this,function(){this.expression._walk(visitor);walk_body(this,visitor)})}},AST_Block);var AST_SwitchBranch=DEFNODE("SwitchBranch",null,{$documentation:"Base class for `switch` branches"},AST_Block);var AST_Default=DEFNODE("Default",null,{$documentation:"A `default` switch branch"},AST_SwitchBranch);var AST_Case=DEFNODE("Case","expression",{$documentation:"A `case` switch branch",$propdoc:{expression:"[AST_Node] the `case` expression"},_walk:function(visitor){return visitor._visit(this,function(){this.expression._walk(visitor);walk_body(this,visitor)})}},AST_SwitchBranch);var AST_Try=DEFNODE("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(visitor){return visitor._visit(this,function(){walk_body(this,visitor);if(this.bcatch)this.bcatch._walk(visitor);if(this.bfinally)this.bfinally._walk(visitor)})}},AST_Block);var AST_Catch=DEFNODE("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(visitor){return visitor._visit(this,function(){this.argname._walk(visitor);walk_body(this,visitor)})}},AST_Block);var AST_Finally=DEFNODE("Finally",null,{$documentation:"A `finally` node; only makes sense as part of a `try` statement"},AST_Block);var AST_Definitions=DEFNODE("Definitions","definitions",{$documentation:"Base class for `var` nodes (variable declarations/initializations)",$propdoc:{definitions:"[AST_VarDef*] array of variable definitions"},_walk:function(visitor){return visitor._visit(this,function(){var definitions=this.definitions;for(var i=0,len=definitions.length;i<len;i++){definitions[i]._walk(visitor)}})}},AST_Statement);var AST_Var=DEFNODE("Var",null,{$documentation:"A `var` statement"},AST_Definitions);var AST_VarDef=DEFNODE("VarDef","name value",{$documentation:"A variable declaration; only appears in a AST_Definitions node",$propdoc:{name:"[AST_SymbolVar] name of the variable",value:"[AST_Node?] initializer, or null of there's no initializer"},_walk:function(visitor){return visitor._visit(this,function(){this.name._walk(visitor);if(this.value)this.value._walk(visitor)})}});var AST_Call=DEFNODE("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(visitor){return visitor._visit(this,function(){var args=this.args;for(var i=0,len=args.length;i<len;i++){args[i]._walk(visitor)}this.expression._walk(visitor)})}});var AST_New=DEFNODE("New",null,{$documentation:"An object instantiation.  Derives from a function call since it has exactly the same properties"},AST_Call);var AST_Sequence=DEFNODE("Sequence","expressions",{$documentation:"A sequence expression (comma-separated expressions)",$propdoc:{expressions:"[AST_Node*] array of expressions (at least two)"},_walk:function(visitor){return visitor._visit(this,function(){this.expressions.forEach(function(node){node._walk(visitor)})})}});var AST_PropAccess=DEFNODE("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"}});var AST_Dot=DEFNODE("Dot",null,{$documentation:"A dotted property access expression",_walk:function(visitor){return visitor._visit(this,function(){this.expression._walk(visitor)})}},AST_PropAccess);var AST_Sub=DEFNODE("Sub",null,{$documentation:'Index-style property access, i.e. `a["foo"]`',_walk:function(visitor){return visitor._visit(this,function(){this.expression._walk(visitor);this.property._walk(visitor)})}},AST_PropAccess);var AST_Unary=DEFNODE("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(visitor){return visitor._visit(this,function(){this.expression._walk(visitor)})}});var AST_UnaryPrefix=DEFNODE("UnaryPrefix",null,{$documentation:"Unary prefix expression, i.e. `typeof i` or `++i`"},AST_Unary);var AST_UnaryPostfix=DEFNODE("UnaryPostfix",null,{$documentation:"Unary postfix expression, i.e. `i++`"},AST_Unary);var AST_Binary=DEFNODE("Binary","operator left 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(visitor){return visitor._visit(this,function(){this.left._walk(visitor);this.right._walk(visitor)})}});var AST_Conditional=DEFNODE("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(visitor){return visitor._visit(this,function(){this.condition._walk(visitor);this.consequent._walk(visitor);this.alternative._walk(visitor)})}});var AST_Assign=DEFNODE("Assign",null,{$documentation:"An assignment expression — `a = b + 5`"},AST_Binary);var AST_Array=DEFNODE("Array","elements",{$documentation:"An array literal",$propdoc:{elements:"[AST_Node*] array of elements"},_walk:function(visitor){return visitor._visit(this,function(){var elements=this.elements;for(var i=0,len=elements.length;i<len;i++){elements[i]._walk(visitor)}})}});var AST_Object=DEFNODE("Object","properties",{$documentation:"An object literal",$propdoc:{properties:"[AST_ObjectProperty*] array of properties"},_walk:function(visitor){return visitor._visit(this,function(){var properties=this.properties;for(var i=0,len=properties.length;i<len;i++){properties[i]._walk(visitor)}})}});var AST_ObjectProperty=DEFNODE("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 AST_SymbolAccessor.",value:"[AST_Node] property value.  For setters and getters this is an AST_Accessor."},_walk:function(visitor){return visitor._visit(this,function(){this.value._walk(visitor)})}});var AST_ObjectKeyVal=DEFNODE("ObjectKeyVal","quote",{$documentation:"A key: value object property",$propdoc:{quote:"[string] the original quote character"}},AST_ObjectProperty);var AST_ObjectSetter=DEFNODE("ObjectSetter",null,{$documentation:"An object setter property"},AST_ObjectProperty);var AST_ObjectGetter=DEFNODE("ObjectGetter",null,{$documentation:"An object getter property"},AST_ObjectProperty);var AST_Symbol=DEFNODE("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"});var AST_SymbolAccessor=DEFNODE("SymbolAccessor",null,{$documentation:"The name of a property accessor (setter/getter function)"},AST_Symbol);var AST_SymbolDeclaration=DEFNODE("SymbolDeclaration","init",{$documentation:"A declaration symbol (symbol in var, function name or argument, symbol in catch)"},AST_Symbol);var AST_SymbolVar=DEFNODE("SymbolVar",null,{$documentation:"Symbol defining a variable"},AST_SymbolDeclaration);var AST_SymbolFunarg=DEFNODE("SymbolFunarg",null,{$documentation:"Symbol naming a function argument"},AST_SymbolVar);var AST_SymbolDefun=DEFNODE("SymbolDefun",null,{$documentation:"Symbol defining a function"},AST_SymbolDeclaration);var AST_SymbolLambda=DEFNODE("SymbolLambda",null,{$documentation:"Symbol naming a function expression"},AST_SymbolDeclaration);var AST_SymbolCatch=DEFNODE("SymbolCatch",null,{$documentation:"Symbol naming the exception in catch"},AST_SymbolDeclaration);var AST_Label=DEFNODE("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}},AST_Symbol);var AST_SymbolRef=DEFNODE("SymbolRef",null,{$documentation:"Reference to some symbol (not definition/declaration)"},AST_Symbol);var AST_LabelRef=DEFNODE("LabelRef",null,{$documentation:"Reference to a label symbol"},AST_Symbol);var AST_This=DEFNODE("This",null,{$documentation:"The `this` symbol"},AST_Symbol);var AST_Constant=DEFNODE("Constant",null,{$documentation:"Base class for all constants",getValue:function(){return this.value}});var AST_String=DEFNODE("String","value quote",{$documentation:"A string literal",$propdoc:{value:"[string] the contents of this string",quote:"[string] the original quote character"}},AST_Constant);var AST_Number=DEFNODE("Number","value literal",{$documentation:"A number literal",$propdoc:{value:"[number] the numeric value",literal:"[string] numeric value as string (optional)"}},AST_Constant);var AST_RegExp=DEFNODE("RegExp","value",{$documentation:"A regexp literal",$propdoc:{value:"[RegExp] the actual regexp"}},AST_Constant);var AST_Atom=DEFNODE("Atom",null,{$documentation:"Base class for atoms"},AST_Constant);var AST_Null=DEFNODE("Null",null,{$documentation:"The `null` atom",value:null},AST_Atom);var AST_NaN=DEFNODE("NaN",null,{$documentation:"The impossible value",value:0/0},AST_Atom);var AST_Undefined=DEFNODE("Undefined",null,{$documentation:"The `undefined` value",value:function(){}()},AST_Atom);var AST_Hole=DEFNODE("Hole",null,{$documentation:"A hole in an array",value:function(){}()},AST_Atom);var AST_Infinity=DEFNODE("Infinity",null,{$documentation:"The `Infinity` value",value:1/0},AST_Atom);var AST_Boolean=DEFNODE("Boolean",null,{$documentation:"Base class for booleans"},AST_Atom);var AST_False=DEFNODE("False",null,{$documentation:"The `false` atom",value:false},AST_Boolean);var AST_True=DEFNODE("True",null,{$documentation:"The `true` atom",value:true},AST_Boolean);function TreeWalker(callback){this.visit=callback;this.stack=[];this.directives=Object.create(null)}TreeWalker.prototype={_visit:function(node,descend){this.push(node);var ret=this.visit(node,descend?function(){descend.call(node)}:noop);if(!ret&&descend){descend.call(node)}this.pop();return ret},parent:function(n){return this.stack[this.stack.length-2-(n||0)]},push:function(node){if(node instanceof AST_Lambda){this.directives=Object.create(this.directives)}else if(node instanceof AST_Directive&&!this.directives[node.value]){this.directives[node.value]=node}this.stack.push(node)},pop:function(){if(this.stack.pop()instanceof AST_Lambda){this.directives=Object.getPrototypeOf(this.directives)}},self:function(){return this.stack[this.stack.length-1]},find_parent:function(type){var stack=this.stack;for(var i=stack.length;--i>=0;){var x=stack[i];if(x instanceof type)return x}},has_directive:function(type){var dir=this.directives[type];if(dir)return dir;var node=this.stack[this.stack.length-1];if(node instanceof AST_Scope){for(var i=0;i<node.body.length;++i){var st=node.body[i];if(!(st instanceof AST_Directive))break;if(st.value==type)return st}}},in_boolean_context:function(){var stack=this.stack;var i=stack.length,self=stack[--i];while(i>0){var p=stack[--i];if(p instanceof AST_If&&p.condition===self||p instanceof AST_Conditional&&p.condition===self||p instanceof AST_DWLoop&&p.condition===self||p instanceof AST_For&&p.condition===self||p instanceof AST_UnaryPrefix&&p.operator=="!"&&p.expression===self){return true}if(!(p instanceof AST_Binary&&(p.operator=="&&"||p.operator=="||")))return false;self=p}},loopcontrol_target:function(node){var stack=this.stack;if(node.label)for(var i=stack.length;--i>=0;){var x=stack[i];if(x instanceof AST_LabeledStatement&&x.label.name==node.label.name)return x.body}else for(var i=stack.length;--i>=0;){var x=stack[i];if(x instanceof AST_IterationStatement||node instanceof AST_Break&&x instanceof AST_Switch)return x}}};"use strict";var KEYWORDS="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";var KEYWORDS_ATOM="false null true";var RESERVED_WORDS="abstract boolean byte char class double enum export extends final float goto implements import int interface let long native package private protected public short static super synchronized this throws transient volatile yield"+" "+KEYWORDS_ATOM+" "+KEYWORDS;var KEYWORDS_BEFORE_EXPRESSION="return new delete throw else case";KEYWORDS=makePredicate(KEYWORDS);RESERVED_WORDS=makePredicate(RESERVED_WORDS);KEYWORDS_BEFORE_EXPRESSION=makePredicate(KEYWORDS_BEFORE_EXPRESSION);KEYWORDS_ATOM=makePredicate(KEYWORDS_ATOM);var OPERATOR_CHARS=makePredicate(characters("+-*&%=<>!?|~^"));var RE_HEX_NUMBER=/^0x[0-9a-f]+$/i;var RE_OCT_NUMBER=/^0[0-7]+$/;var OPERATORS=makePredicate(["in","instanceof","typeof","new","void","delete","++","--","+","-","!","~","&","|","^","*","/","%",">>","<<",">>>","<",">","<=",">=","==","===","!=","!==","?","=","+=","-=","/=","*=","%=",">>=","<<=",">>>=","|=","^=","&=","&&","||"]);var WHITESPACE_CHARS=makePredicate(characters("  \n\r\t\f\v​           \u2028\u2029   \ufeff"));var NEWLINE_CHARS=makePredicate(characters("\n\r\u2028\u2029"));var PUNC_BEFORE_EXPRESSION=makePredicate(characters("[{(,;:"));var PUNC_CHARS=makePredicate(characters("[]{}(),;:"));var UNICODE={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]")};function is_letter(code){return code>=97&&code<=122||code>=65&&code<=90||code>=170&&UNICODE.letter.test(String.fromCharCode(code))}function is_digit(code){return code>=48&&code<=57}function is_alphanumeric_char(code){return is_digit(code)||is_letter(code)}function is_unicode_digit(code){return UNICODE.digit.test(String.fromCharCode(code))}function is_unicode_combining_mark(ch){return UNICODE.non_spacing_mark.test(ch)||UNICODE.space_combining_mark.test(ch)}function is_unicode_connector_punctuation(ch){return UNICODE.connector_punctuation.test(ch)}function is_identifier(name){return!RESERVED_WORDS(name)&&/^[a-z_$][a-z0-9_$]*$/i.test(name)}function is_identifier_start(code){return code==36||code==95||is_letter(code)}function is_identifier_char(ch){var code=ch.charCodeAt(0);return is_identifier_start(code)||is_digit(code)||code==8204||code==8205||is_unicode_combining_mark(ch)||is_unicode_connector_punctuation(ch)||is_unicode_digit(code)}function is_identifier_string(str){return/^[a-z_$][a-z0-9_$]*$/i.test(str)}function parse_js_number(num){if(RE_HEX_NUMBER.test(num)){return parseInt(num.substr(2),16)}else if(RE_OCT_NUMBER.test(num)){return parseInt(num.substr(1),8)}else{var val=parseFloat(num);if(val==num)return val}}function JS_Parse_Error(message,filename,line,col,pos){this.message=message;this.filename=filename;this.line=line;this.col=col;this.pos=pos}JS_Parse_Error.prototype=Object.create(Error.prototype);JS_Parse_Error.prototype.constructor=JS_Parse_Error;JS_Parse_Error.prototype.name="SyntaxError";configure_error_stack(JS_Parse_Error);function js_error(message,filename,line,col,pos){throw new JS_Parse_Error(message,filename,line,col,pos)}function is_token(token,type,val){return token.type==type&&(val==null||token.value==val)}var EX_EOF={};function tokenizer($TEXT,filename,html5_comments,shebang){var S={text:$TEXT,filename:filename,pos:0,tokpos:0,line:1,tokline:0,col:0,tokcol:0,newline_before:false,regex_allowed:false,comments_before:[],directives:{},directive_stack:[]};function peek(){return S.text.charAt(S.pos)}function next(signal_eof,in_string){var ch=S.text.charAt(S.pos++);if(signal_eof&&!ch)throw EX_EOF;if(NEWLINE_CHARS(ch)){S.newline_before=S.newline_before||!in_string;++S.line;S.col=0;if(!in_string&&ch=="\r"&&peek()=="\n"){++S.pos;ch="\n"}}else{++S.col}return ch}function forward(i){while(i-- >0)next()}function looking_at(str){return S.text.substr(S.pos,str.length)==str}function find_eol(){var text=S.text;for(var i=S.pos,n=S.text.length;i<n;++i){var ch=text[i];if(NEWLINE_CHARS(ch))return i}return-1}function find(what,signal_eof){var pos=S.text.indexOf(what,S.pos);if(signal_eof&&pos==-1)throw EX_EOF;return pos}function start_token(){S.tokline=S.line;S.tokcol=S.col;S.tokpos=S.pos}var prev_was_dot=false;function token(type,value,is_comment){S.regex_allowed=type=="operator"&&!UNARY_POSTFIX(value)||type=="keyword"&&KEYWORDS_BEFORE_EXPRESSION(value)||type=="punc"&&PUNC_BEFORE_EXPRESSION(value);if(type=="punc"&&value=="."){prev_was_dot=true}else if(!is_comment){prev_was_dot=false}var ret={type:type,value:value,line:S.tokline,col:S.tokcol,pos:S.tokpos,endline:S.line,endcol:S.col,endpos:S.pos,nlb:S.newline_before,file:filename};if(/^(?:num|string|regexp)$/i.test(type)){ret.raw=$TEXT.substring(ret.pos,ret.endpos)}if(!is_comment){ret.comments_before=S.comments_before;S.comments_before=[];for(var i=0,len=ret.comments_before.length;i<len;i++){ret.nlb=ret.nlb||ret.comments_before[i].nlb}}S.newline_before=false;return new AST_Token(ret)}function skip_whitespace(){while(WHITESPACE_CHARS(peek()))next()}function read_while(pred){var ret="",ch,i=0;while((ch=peek())&&pred(ch,i++))ret+=next();return ret}function parse_error(err){js_error(err,filename,S.tokline,S.tokcol,S.tokpos)}function read_num(prefix){var has_e=false,after_e=false,has_x=false,has_dot=prefix==".";var num=read_while(function(ch,i){var code=ch.charCodeAt(0);switch(code){case 120:case 88:return has_x?false:has_x=true;case 101:case 69:return has_x?true:has_e?false:has_e=after_e=true;case 45:return after_e||i==0&&!prefix;case 43:return after_e;case after_e=false,46:return!has_dot&&!has_x&&!has_e?has_dot=true:false}return is_alphanumeric_char(code)});if(prefix)num=prefix+num;if(RE_OCT_NUMBER.test(num)&&next_token.has_directive("use strict")){parse_error("Legacy octal literals are not allowed in strict mode")}var valid=parse_js_number(num);if(!isNaN(valid)){return token("num",valid)}else{parse_error("Invalid syntax: "+num)}}function read_escaped_char(in_string){var ch=next(true,in_string);switch(ch.charCodeAt(0)){case 110:return"\n";case 114:return"\r";case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 120:return String.fromCharCode(hex_bytes(2));case 117:return String.fromCharCode(hex_bytes(4));case 10:return"";case 13:if(peek()=="\n"){next(true,in_string);return""}}if(ch>="0"&&ch<="7")return read_octal_escape_sequence(ch);return ch}function read_octal_escape_sequence(ch){var p=peek();if(p>="0"&&p<="7"){ch+=next(true);if(ch[0]<="3"&&(p=peek())>="0"&&p<="7")ch+=next(true)}if(ch==="0")return"\0";if(ch.length>0&&next_token.has_directive("use strict"))parse_error("Legacy octal escape sequences are not allowed in strict mode");return String.fromCharCode(parseInt(ch,8))}function hex_bytes(n){var num=0;for(;n>0;--n){var digit=parseInt(next(true),16);if(isNaN(digit))parse_error("Invalid hex-character pattern in string");num=num<<4|digit}return num}var read_string=with_eof_error("Unterminated string constant",function(quote_char){var quote=next(),ret="";for(;;){var ch=next(true,true);if(ch=="\\")ch=read_escaped_char(true);else if(NEWLINE_CHARS(ch))parse_error("Unterminated string constant");else if(ch==quote)break;ret+=ch}var tok=token("string",ret);tok.quote=quote_char;return tok});function skip_line_comment(type){var regex_allowed=S.regex_allowed;var i=find_eol(),ret;if(i==-1){ret=S.text.substr(S.pos);S.pos=S.text.length}else{ret=S.text.substring(S.pos,i);S.pos=i}S.col=S.tokcol+(S.pos-S.tokpos);S.comments_before.push(token(type,ret,true));S.regex_allowed=regex_allowed;return next_token}var skip_multiline_comment=with_eof_error("Unterminated multiline comment",function(){var regex_allowed=S.regex_allowed;var i=find("*/",true);var text=S.text.substring(S.pos,i).replace(/\r\n|\r|\u2028|\u2029/g,"\n");forward(text.length+2);S.comments_before.push(token("comment2",text,true));S.regex_allowed=regex_allowed;return next_token});function read_name(){var backslash=false,name="",ch,escaped=false,hex;while((ch=peek())!=null){if(!backslash){if(ch=="\\")escaped=backslash=true,next();else if(is_identifier_char(ch))name+=next();else break}else{if(ch!="u")parse_error("Expecting UnicodeEscapeSequence -- uXXXX");ch=read_escaped_char();if(!is_identifier_char(ch))parse_error("Unicode char: "+ch.charCodeAt(0)+" is not valid in identifier");name+=ch;backslash=false}}if(KEYWORDS(name)&&escaped){hex=name.charCodeAt(0).toString(16).toUpperCase();name="\\u"+"0000".substr(hex.length)+hex+name.slice(1)}return name}var read_regexp=with_eof_error("Unterminated regular expression",function(source){var prev_backslash=false,ch,in_class=false;while(ch=next(true))if(NEWLINE_CHARS(ch)){parse_error("Unexpected line terminator")}else if(prev_backslash){source+="\\"+ch;prev_backslash=false}else if(ch=="["){in_class=true;source+=ch}else if(ch=="]"&&in_class){in_class=false;source+=ch}else if(ch=="/"&&!in_class){break}else if(ch=="\\"){prev_backslash=true}else{source+=ch}var mods=read_name();try{var regexp=new RegExp(source,mods);regexp.raw_source=source;return token("regexp",regexp)}catch(e){parse_error(e.message)}});function read_operator(prefix){function grow(op){if(!peek())return op;var bigger=op+peek();if(OPERATORS(bigger)){next();return grow(bigger)}else{return op}}return token("operator",grow(prefix||next()))}function handle_slash(){next();switch(peek()){case"/":next();return skip_line_comment("comment1");case"*":next();return skip_multiline_comment()}return S.regex_allowed?read_regexp(""):read_operator("/")}function handle_dot(){next();return is_digit(peek().charCodeAt(0))?read_num("."):token("punc",".")}function read_word(){var word=read_name();if(prev_was_dot)return token("name",word);return KEYWORDS_ATOM(word)?token("atom",word):!KEYWORDS(word)?token("name",word):OPERATORS(word)?token("operator",word):token("keyword",word)}function with_eof_error(eof_error,cont){return function(x){try{return cont(x)}catch(ex){if(ex===EX_EOF)parse_error(eof_error);else throw ex}}}function next_token(force_regexp){if(force_regexp!=null)return read_regexp(force_regexp);if(shebang&&S.pos==0&&looking_at("#!")){start_token();forward(2);skip_line_comment("comment5")}for(;;){skip_whitespace();start_token();if(html5_comments){if(looking_at("\x3c!--")){forward(4);skip_line_comment("comment3");continue}if(looking_at("--\x3e")&&S.newline_before){forward(3);skip_line_comment("comment4");continue}}var ch=peek();if(!ch)return token("eof");var code=ch.charCodeAt(0);switch(code){case 34:case 39:return read_string(ch);case 46:return handle_dot();case 47:{var tok=handle_slash();if(tok===next_token)continue;return tok}}if(is_digit(code))return read_num();if(PUNC_CHARS(ch))return token("punc",next());if(OPERATOR_CHARS(ch))return read_operator();if(code==92||is_identifier_start(code))return read_word();break}parse_error("Unexpected character '"+ch+"'")}next_token.context=function(nc){if(nc)S=nc;return S};next_token.add_directive=function(directive){S.directive_stack[S.directive_stack.length-1].push(directive);if(S.directives[directive]===undefined){S.directives[directive]=1}else{S.directives[directive]++}};next_token.push_directives_stack=function(){S.directive_stack.push([])};next_token.pop_directives_stack=function(){var directives=S.directive_stack[S.directive_stack.length-1];for(var i=0;i<directives.length;i++){S.directives[directives[i]]--}S.directive_stack.pop()};next_token.has_directive=function(directive){return S.directives[directive]>0};return next_token}var UNARY_PREFIX=makePredicate(["typeof","void","delete","--","++","!","~","-","+"]);var UNARY_POSTFIX=makePredicate(["--","++"]);var ASSIGNMENT=makePredicate(["=","+=","-=","/=","*=","%=",">>=","<<=",">>>=","|=","^=","&="]);var PRECEDENCE=function(a,ret){for(var i=0;i<a.length;++i){var b=a[i];for(var j=0;j<b.length;++j){ret[b[j]]=i+1}}return ret}([["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"]],{});var ATOMIC_START_TOKEN=makePredicate(["atom","num","string","regexp","name"]);function parse($TEXT,options){options=defaults(options,{bare_returns:false,expression:false,filename:null,html5_comments:true,shebang:true,strict:false,toplevel:null},true);var S={input:typeof $TEXT=="string"?tokenizer($TEXT,options.filename,options.html5_comments,options.shebang):$TEXT,token:null,prev:null,peeked:null,in_function:0,in_directives:true,in_loop:0,labels:[]};S.token=next();function is(type,value){return is_token(S.token,type,value)}function peek(){return S.peeked||(S.peeked=S.input())}function next(){S.prev=S.token;if(S.peeked){S.token=S.peeked;S.peeked=null}else{S.token=S.input()}S.in_directives=S.in_directives&&(S.token.type=="string"||is("punc",";"));return S.token}function prev(){return S.prev}function croak(msg,line,col,pos){var ctx=S.input.context();js_error(msg,ctx.filename,line!=null?line:ctx.tokline,col!=null?col:ctx.tokcol,pos!=null?pos:ctx.tokpos)}function token_error(token,msg){croak(msg,token.line,token.col)}function unexpected(token){if(token==null)token=S.token;token_error(token,"Unexpected token: "+token.type+" ("+token.value+")")}function expect_token(type,val){if(is(type,val)){return next()}token_error(S.token,"Unexpected token "+S.token.type+" «"+S.token.value+"»"+", expected "+type+" «"+val+"»")}function expect(punc){return expect_token("punc",punc)}function can_insert_semicolon(){return!options.strict&&(S.token.nlb||is("eof")||is("punc","}"))}function semicolon(optional){if(is("punc",";"))next();else if(!optional&&!can_insert_semicolon())unexpected()}function parenthesised(){expect("(");var exp=expression(true);expect(")");return exp}function embed_tokens(parser){return function(){var start=S.token;var expr=parser();var end=prev();expr.start=start;expr.end=end;return expr}}function handle_regexp(){if(is("operator","/")||is("operator","/=")){S.peeked=null;S.token=S.input(S.token.value.substr(1))}}var statement=embed_tokens(function(){handle_regexp();switch(S.token.type){case"string":if(S.in_directives){var token=peek();if(S.token.raw.indexOf("\\")==-1&&(token.nlb||is_token(token,"eof")||is_token(token,"punc",";")||is_token(token,"punc","}"))){S.input.add_directive(S.token.value)}else{S.in_directives=false}}var dir=S.in_directives,stat=simple_statement();return dir?new AST_Directive(stat.body):stat;case"num":case"regexp":case"operator":case"atom":return simple_statement();case"name":return is_token(peek(),"punc",":")?labeled_statement():simple_statement();case"punc":switch(S.token.value){case"{":return new AST_BlockStatement({start:S.token,body:block_(),end:prev()});case"[":case"(":return simple_statement();case";":S.in_directives=false;next();return new AST_EmptyStatement;default:unexpected()}case"keyword":switch(S.token.value){case"break":next();return break_cont(AST_Break);case"continue":next();return break_cont(AST_Continue);case"debugger":next();semicolon();return new AST_Debugger;case"do":next();var body=in_loop(statement);expect_token("keyword","while");var condition=parenthesised();semicolon(true);return new AST_Do({body:body,condition:condition});case"while":next();return new AST_While({condition:parenthesised(),body:in_loop(statement)});case"for":next();return for_();case"function":next();return function_(AST_Defun);case"if":next();return if_();case"return":if(S.in_function==0&&!options.bare_returns)croak("'return' outside of function");next();var value=null;if(is("punc",";")){next()}else if(!can_insert_semicolon()){value=expression(true);semicolon()}return new AST_Return({value:value});case"switch":next();return new AST_Switch({expression:parenthesised(),body:in_loop(switch_body_)});case"throw":next();if(S.token.nlb)croak("Illegal newline after 'throw'");var value=expression(true);semicolon();return new AST_Throw({value:value});case"try":next();return try_();case"var":next();var node=var_();semicolon();return node;case"with":if(S.input.has_directive("use strict")){croak("Strict mode may not include a with statement")}next();return new AST_With({expression:parenthesised(),body:statement()})}}unexpected()});function labeled_statement(){var label=as_symbol(AST_Label);if(find_if(function(l){return l.name==label.name},S.labels)){croak("Label "+label.name+" defined twice")}expect(":");S.labels.push(label);var stat=statement();S.labels.pop();if(!(stat instanceof AST_IterationStatement)){label.references.forEach(function(ref){if(ref instanceof AST_Continue){ref=ref.label.start;croak("Continue label `"+label.name+"` refers to non-IterationStatement.",ref.line,ref.col,ref.pos)}})}return new AST_LabeledStatement({body:stat,label:label})}function simple_statement(tmp){return new AST_SimpleStatement({body:(tmp=expression(true),semicolon(),tmp)})}function break_cont(type){var label=null,ldef;if(!can_insert_semicolon()){label=as_symbol(AST_LabelRef,true)}if(label!=null){ldef=find_if(function(l){return l.name==label.name},S.labels);if(!ldef)croak("Undefined label "+label.name);label.thedef=ldef}else if(S.in_loop==0)croak(type.TYPE+" not inside a loop or switch");semicolon();var stat=new type({label:label});if(ldef)ldef.references.push(stat);return stat}function for_(){expect("(");var init=null;if(!is("punc",";")){init=is("keyword","var")?(next(),var_(true)):expression(true,true);if(is("operator","in")){if(init instanceof AST_Var){if(init.definitions.length>1)croak("Only one variable declaration allowed in for..in loop",init.start.line,init.start.col,init.start.pos)}else if(!is_assignable(init)){croak("Invalid left-hand side in for..in loop",init.start.line,init.start.col,init.start.pos)}next();return for_in(init)}}return regular_for(init)}function regular_for(init){expect(";");var test=is("punc",";")?null:expression(true);expect(";");var step=is("punc",")")?null:expression(true);expect(")");return new AST_For({init:init,condition:test,step:step,body:in_loop(statement)})}function for_in(init){var lhs=init instanceof AST_Var?init.definitions[0].name:null;var obj=expression(true);expect(")");return new AST_ForIn({init:init,name:lhs,object:obj,body:in_loop(statement)})}var function_=function(ctor){var in_statement=ctor===AST_Defun;var name=is("name")?as_symbol(in_statement?AST_SymbolDefun:AST_SymbolLambda):null;if(in_statement&&!name)unexpected();expect("(");var argnames=[];for(var first=true;!is("punc",")");){if(first)first=false;else expect(",");argnames.push(as_symbol(AST_SymbolFunarg))}next();var loop=S.in_loop;var labels=S.labels;++S.in_function;S.in_directives=true;S.input.push_directives_stack();S.in_loop=0;S.labels=[];var body=block_();if(S.input.has_directive("use strict")){if(name)strict_verify_symbol(name);argnames.forEach(strict_verify_symbol)}S.input.pop_directives_stack();--S.in_function;S.in_loop=loop;S.labels=labels;return new ctor({name:name,argnames:argnames,body:body})};function if_(){var cond=parenthesised(),body=statement(),belse=null;if(is("keyword","else")){next();belse=statement()}return new AST_If({condition:cond,body:body,alternative:belse})}function block_(){expect("{");var a=[];while(!is("punc","}")){if(is("eof"))unexpected();a.push(statement())}next();return a}function switch_body_(){expect("{");var a=[],cur=null,branch=null,tmp;while(!is("punc","}")){if(is("eof"))unexpected();if(is("keyword","case")){if(branch)branch.end=prev();cur=[];branch=new AST_Case({start:(tmp=S.token,next(),tmp),expression:expression(true),body:cur});a.push(branch);expect(":")}else if(is("keyword","default")){if(branch)branch.end=prev();cur=[];branch=new AST_Default({start:(tmp=S.token,next(),expect(":"),tmp),body:cur});a.push(branch)}else{if(!cur)unexpected();cur.push(statement())}}if(branch)branch.end=prev();next();return a}function try_(){var body=block_(),bcatch=null,bfinally=null;if(is("keyword","catch")){var start=S.token;next();expect("(");var name=as_symbol(AST_SymbolCatch);expect(")");bcatch=new AST_Catch({start:start,argname:name,body:block_(),end:prev()})}if(is("keyword","finally")){var start=S.token;next();bfinally=new AST_Finally({start:start,body:block_(),end:prev()})}if(!bcatch&&!bfinally)croak("Missing catch/finally blocks");return new AST_Try({body:body,bcatch:bcatch,bfinally:bfinally})}function vardefs(no_in){var a=[];for(;;){a.push(new AST_VarDef({start:S.token,name:as_symbol(AST_SymbolVar),value:is("operator","=")?(next(),expression(false,no_in)):null,end:prev()}));if(!is("punc",","))break;next()}return a}var var_=function(no_in){return new AST_Var({start:prev(),definitions:vardefs(no_in),end:prev()})};var new_=function(allow_calls){var start=S.token;expect_token("operator","new");var newexp=expr_atom(false),args;if(is("punc","(")){next();args=expr_list(")")}else{args=[]}return subscripts(new AST_New({start:start,expression:newexp,args:args,end:prev()}),allow_calls)};function as_atom_node(){var tok=S.token,ret;switch(tok.type){case"name":ret=_make_symbol(AST_SymbolRef);break;case"num":ret=new AST_Number({start:tok,end:tok,value:tok.value});break;case"string":ret=new AST_String({start:tok,end:tok,value:tok.value,quote:tok.quote});break;case"regexp":ret=new AST_RegExp({start:tok,end:tok,value:tok.value});break;case"atom":switch(tok.value){case"false":ret=new AST_False({start:tok,end:tok});break;case"true":ret=new AST_True({start:tok,end:tok});break;case"null":ret=new AST_Null({start:tok,end:tok});break}break}next();return ret}var expr_atom=function(allow_calls){if(is("operator","new")){return new_(allow_calls)}var start=S.token;if(is("punc")){switch(start.value){case"(":next();var ex=expression(true);ex.start=start;ex.end=S.token;expect(")");return subscripts(ex,allow_calls);case"[":return subscripts(array_(),allow_calls);case"{":return subscripts(object_(),allow_calls)}unexpected()}if(is("keyword","function")){next();var func=function_(AST_Function);func.start=start;func.end=prev();return subscripts(func,allow_calls)}if(ATOMIC_START_TOKEN(S.token.type)){return subscripts(as_atom_node(),allow_calls)}unexpected()};function expr_list(closing,allow_trailing_comma,allow_empty){var first=true,a=[];while(!is("punc",closing)){if(first)first=false;else expect(",");if(allow_trailing_comma&&is("punc",closing))break;if(is("punc",",")&&allow_empty){a.push(new AST_Hole({start:S.token,end:S.token}))}else{a.push(expression(false))}}next();return a}var array_=embed_tokens(function(){expect("[");return new AST_Array({elements:expr_list("]",!options.strict,true)})});var create_accessor=embed_tokens(function(){return function_(AST_Accessor)});var object_=embed_tokens(function(){expect("{");var first=true,a=[];while(!is("punc","}")){if(first)first=false;else expect(",");if(!options.strict&&is("punc","}"))break;var start=S.token;var type=start.type;var name=as_property_name();if(type=="name"&&!is("punc",":")){var key=new AST_SymbolAccessor({start:S.token,name:as_property_name(),end:prev()});if(name=="get"){a.push(new AST_ObjectGetter({start:start,key:key,value:create_accessor(),end:prev()}));continue}if(name=="set"){a.push(new AST_ObjectSetter({start:start,key:key,value:create_accessor(),end:prev()}));continue}}expect(":");a.push(new AST_ObjectKeyVal({start:start,quote:start.quote,key:name,value:expression(false),end:prev()}))}next();return new AST_Object({properties:a})});function as_property_name(){var tmp=S.token;switch(tmp.type){case"operator":if(!KEYWORDS(tmp.value))unexpected();case"num":case"string":case"name":case"keyword":case"atom":next();return tmp.value;default:unexpected()}}function as_name(){var tmp=S.token;if(tmp.type!="name")unexpected();next();return tmp.value}function _make_symbol(type){var name=S.token.value;return new(name=="this"?AST_This:type)({name:String(name),start:S.token,end:S.token})}function strict_verify_symbol(sym){if(sym.name=="arguments"||sym.name=="eval")croak("Unexpected "+sym.name+" in strict mode",sym.start.line,sym.start.col,sym.start.pos)}function as_symbol(type,noerror){if(!is("name")){if(!noerror)croak("Name expected");return null}var sym=_make_symbol(type);if(S.input.has_directive("use strict")&&sym instanceof AST_SymbolDeclaration){strict_verify_symbol(sym)}next();return sym}var subscripts=function(expr,allow_calls){var start=expr.start;if(is("punc",".")){next();return subscripts(new AST_Dot({start:start,expression:expr,property:as_name(),end:prev()}),allow_calls)}if(is("punc","[")){next();var prop=expression(true);expect("]");return subscripts(new AST_Sub({start:start,expression:expr,property:prop,end:prev()}),allow_calls)}if(allow_calls&&is("punc","(")){next();return subscripts(new AST_Call({start:start,expression:expr,args:expr_list(")"),end:prev()}),true)}return expr};var maybe_unary=function(allow_calls){var start=S.token;if(is("operator")&&UNARY_PREFIX(start.value)){next();handle_regexp();var ex=make_unary(AST_UnaryPrefix,start,maybe_unary(allow_calls));ex.start=start;ex.end=prev();return ex}var val=expr_atom(allow_calls);while(is("operator")&&UNARY_POSTFIX(S.token.value)&&!S.token.nlb){val=make_unary(AST_UnaryPostfix,S.token,val);val.start=start;val.end=S.token;next()}return val};function make_unary(ctor,token,expr){var op=token.value;switch(op){case"++":case"--":if(!is_assignable(expr))croak("Invalid use of "+op+" operator",token.line,token.col,token.pos);break;case"delete":if(expr instanceof AST_SymbolRef&&S.input.has_directive("use strict"))croak("Calling delete on expression not allowed in strict mode",expr.start.line,expr.start.col,expr.start.pos);break}return new ctor({operator:op,expression:expr})}var expr_op=function(left,min_prec,no_in){var op=is("operator")?S.token.value:null;if(op=="in"&&no_in)op=null;var prec=op!=null?PRECEDENCE[op]:null;if(prec!=null&&prec>min_prec){next();var right=expr_op(maybe_unary(true),prec,no_in);return expr_op(new AST_Binary({start:left.start,left:left,operator:op,right:right,end:right.end}),min_prec,no_in)}return left};function expr_ops(no_in){return expr_op(maybe_unary(true),0,no_in)}var maybe_conditional=function(no_in){var start=S.token;var expr=expr_ops(no_in);if(is("operator","?")){next();var yes=expression(false);expect(":");return new AST_Conditional({start:start,condition:expr,consequent:yes,alternative:expression(false,no_in),end:prev()})}return expr};function is_assignable(expr){return expr instanceof AST_PropAccess||expr instanceof AST_SymbolRef}var maybe_assign=function(no_in){var start=S.token;var left=maybe_conditional(no_in),val=S.token.value;if(is("operator")&&ASSIGNMENT(val)){if(is_assignable(left)){next();return new AST_Assign({start:start,left:left,operator:val,right:maybe_assign(no_in),end:prev()})}croak("Invalid assignment")}return left};var expression=function(commas,no_in){var start=S.token;var exprs=[];while(true){exprs.push(maybe_assign(no_in));if(!commas||!is("punc",","))break;next();commas=true}return exprs.length==1?exprs[0]:new AST_Sequence({start:start,expressions:exprs,end:peek()})};function in_loop(cont){++S.in_loop;var ret=cont();--S.in_loop;return ret}if(options.expression){return expression(true)}return function(){var start=S.token;var body=[];S.input.push_directives_stack();while(!is("eof"))body.push(statement());S.input.pop_directives_stack();var end=prev();var toplevel=options.toplevel;if(toplevel){toplevel.body=toplevel.body.concat(body);toplevel.end=end}else{toplevel=new AST_Toplevel({start:start,body:body,end:end})}return toplevel}()}"use strict";function TreeTransformer(before,after){TreeWalker.call(this);this.before=before;this.after=after}TreeTransformer.prototype=new TreeWalker;(function(undefined){function _(node,descend){node.DEFMETHOD("transform",function(tw,in_list){var x,y;tw.push(this);if(tw.before)x=tw.before(this,descend,in_list);if(x===undefined){if(!tw.after){x=this;descend(x,tw)}else{tw.stack[tw.stack.length-1]=x=this;descend(x,tw);y=tw.after(x,in_list);if(y!==undefined)x=y}}tw.pop();return x})}function do_list(list,tw){return MAP(list,function(node){return node.transform(tw,true)})}_(AST_Node,noop);_(AST_LabeledStatement,function(self,tw){self.label=self.label.transform(tw);self.body=self.body.transform(tw)});_(AST_SimpleStatement,function(self,tw){self.body=self.body.transform(tw)});_(AST_Block,function(self,tw){self.body=do_list(self.body,tw)});_(AST_DWLoop,function(self,tw){self.condition=self.condition.transform(tw);self.body=self.body.transform(tw)});_(AST_For,function(self,tw){if(self.init)self.init=self.init.transform(tw);if(self.condition)self.condition=self.condition.transform(tw);if(self.step)self.step=self.step.transform(tw);self.body=self.body.transform(tw)});_(AST_ForIn,function(self,tw){self.init=self.init.transform(tw);self.object=self.object.transform(tw);self.body=self.body.transform(tw)});_(AST_With,function(self,tw){self.expression=self.expression.transform(tw);self.body=self.body.transform(tw)});_(AST_Exit,function(self,tw){if(self.value)self.value=self.value.transform(tw)});_(AST_LoopControl,function(self,tw){if(self.label)self.label=self.label.transform(tw)});_(AST_If,function(self,tw){self.condition=self.condition.transform(tw);self.body=self.body.transform(tw);if(self.alternative)self.alternative=self.alternative.transform(tw)});_(AST_Switch,function(self,tw){self.expression=self.expression.transform(tw);self.body=do_list(self.body,tw)});_(AST_Case,function(self,tw){self.expression=self.expression.transform(tw);self.body=do_list(self.body,tw)});_(AST_Try,function(self,tw){self.body=do_list(self.body,tw);if(self.bcatch)self.bcatch=self.bcatch.transform(tw);if(self.bfinally)self.bfinally=self.bfinally.transform(tw)});_(AST_Catch,function(self,tw){self.argname=self.argname.transform(tw);self.body=do_list(self.body,tw)});_(AST_Definitions,function(self,tw){self.definitions=do_list(self.definitions,tw)});_(AST_VarDef,function(self,tw){self.name=self.name.transform(tw);if(self.value)self.value=self.value.transform(tw)});_(AST_Lambda,function(self,tw){if(self.name)self.name=self.name.transform(tw);self.argnames=do_list(self.argnames,tw);self.body=do_list(self.body,tw)});_(AST_Call,function(self,tw){self.expression=self.expression.transform(tw);self.args=do_list(self.args,tw)});_(AST_Sequence,function(self,tw){self.expressions=do_list(self.expressions,tw)});_(AST_Dot,function(self,tw){self.expression=self.expression.transform(tw)});_(AST_Sub,function(self,tw){self.expression=self.expression.transform(tw);self.property=self.property.transform(tw)});_(AST_Unary,function(self,tw){self.expression=self.expression.transform(tw)});_(AST_Binary,function(self,tw){self.left=self.left.transform(tw);self.right=self.right.transform(tw)});_(AST_Conditional,function(self,tw){self.condition=self.condition.transform(tw);self.consequent=self.consequent.transform(tw);self.alternative=self.alternative.transform(tw)});_(AST_Array,function(self,tw){self.elements=do_list(self.elements,tw)});_(AST_Object,function(self,tw){self.properties=do_list(self.properties,tw)});_(AST_ObjectProperty,function(self,tw){self.value=self.value.transform(tw)})})();"use strict";function SymbolDef(scope,index,orig){this.name=orig.name;this.orig=[orig];this.scope=scope;this.references=[];this.global=false;this.mangled_name=null;this.undeclared=false;this.index=index;this.id=SymbolDef.next_id++}SymbolDef.next_id=1;SymbolDef.prototype={unmangleable:function(options){if(!options)options={};return this.global&&!options.toplevel||this.undeclared||!options.eval&&(this.scope.uses_eval||this.scope.uses_with)||options.keep_fnames&&(this.orig[0]instanceof AST_SymbolLambda||this.orig[0]instanceof AST_SymbolDefun)},mangle:function(options){var cache=options.cache&&options.cache.props;if(this.global&&cache&&cache.has(this.name)){this.mangled_name=cache.get(this.name)}else if(!this.mangled_name&&!this.unmangleable(options)){var s=this.scope;var sym=this.orig[0];if(options.ie8&&sym instanceof AST_SymbolLambda)s=s.parent_scope;var def;if(def=this.redefined()){this.mangled_name=def.mangled_name||def.name}else this.mangled_name=s.next_mangled(options,this);if(this.global&&cache){cache.set(this.name,this.mangled_name)}}},redefined:function(){return this.defun&&this.defun.variables.get(this.name)}};AST_Toplevel.DEFMETHOD("figure_out_scope",function(options){options=defaults(options,{cache:null,ie8:false});var self=this;var scope=self.parent_scope=null;var labels=new Dictionary;var defun=null;var tw=new TreeWalker(function(node,descend){if(node instanceof AST_Catch){var save_scope=scope;scope=new AST_Scope(node);scope.init_scope_vars(save_scope);descend();scope=save_scope;return true}if(node instanceof AST_Scope){node.init_scope_vars(scope);var save_scope=scope;var save_defun=defun;var save_labels=labels;defun=scope=node;labels=new Dictionary;descend();scope=save_scope;defun=save_defun;labels=save_labels;return true}if(node instanceof AST_LabeledStatement){var l=node.label;if(labels.has(l.name)){throw new Error(string_template("Label {name} defined twice",l))}labels.set(l.name,l);descend();labels.del(l.name);return true}if(node instanceof AST_With){for(var s=scope;s;s=s.parent_scope)s.uses_with=true;return}if(node instanceof AST_Symbol){node.scope=scope}if(node instanceof AST_Label){node.thedef=node;node.references=[]}if(node instanceof AST_SymbolLambda){defun.def_function(node)}else if(node instanceof AST_SymbolDefun){(node.scope=defun.parent_scope).def_function(node)}else if(node instanceof AST_SymbolVar){defun.def_variable(node);if(defun!==scope){node.mark_enclosed(options);var def=scope.find_variable(node);if(node.thedef!==def){node.thedef=def;node.reference(options)}}}else if(node instanceof AST_SymbolCatch){scope.def_variable(node).defun=defun}else if(node instanceof AST_LabelRef){var sym=labels.get(node.name);if(!sym)throw new Error(string_template("Undefined label {name} [{line},{col}]",{name:node.name,line:node.start.line,col:node.start.col}));node.thedef=sym}});self.walk(tw);self.globals=new Dictionary;var tw=new TreeWalker(function(node,descend){if(node instanceof AST_LoopControl&&node.label){node.label.thedef.references.push(node);return true}if(node instanceof AST_SymbolRef){var name=node.name;if(name=="eval"&&tw.parent()instanceof AST_Call){for(var s=node.scope;s&&!s.uses_eval;s=s.parent_scope){s.uses_eval=true}}var sym=node.scope.find_variable(name);if(!sym){sym=self.def_global(node)}else if(sym.scope instanceof AST_Lambda&&name=="arguments"){sym.scope.uses_arguments=true}node.thedef=sym;node.reference(options);return true}var def;if(node instanceof AST_SymbolCatch&&(def=node.definition().redefined())){var s=node.scope;while(s){push_uniq(s.enclosed,def);if(s===def.scope)break;s=s.parent_scope}}});self.walk(tw);if(options.ie8){self.walk(new TreeWalker(function(node,descend){if(node instanceof AST_SymbolCatch){var name=node.name;var refs=node.thedef.references;var scope=node.thedef.defun;var def=scope.find_variable(name)||self.globals.get(name)||scope.def_variable(node);refs.forEach(function(ref){ref.thedef=def;ref.reference(options)});node.thedef=def;return true}}))}if(options.cache){this.cname=options.cache.cname}});AST_Toplevel.DEFMETHOD("def_global",function(node){var globals=this.globals,name=node.name;if(globals.has(name)){return globals.get(name)}else{var g=new SymbolDef(this,globals.size(),node);g.undeclared=true;g.global=true;globals.set(name,g);return g}});AST_Scope.DEFMETHOD("init_scope_vars",function(parent_scope){this.variables=new Dictionary;this.functions=new Dictionary;this.uses_with=false;this.uses_eval=false;this.parent_scope=parent_scope;this.enclosed=[];this.cname=-1});AST_Lambda.DEFMETHOD("init_scope_vars",function(){AST_Scope.prototype.init_scope_vars.apply(this,arguments);this.uses_arguments=false;this.def_variable(new AST_SymbolFunarg({name:"arguments",start:this.start,end:this.end}))});AST_Symbol.DEFMETHOD("mark_enclosed",function(options){var def=this.definition();var s=this.scope;while(s){push_uniq(s.enclosed,def);if(options.keep_fnames){s.functions.each(function(d){push_uniq(def.scope.enclosed,d)})}if(s===def.scope)break;s=s.parent_scope}});AST_Symbol.DEFMETHOD("reference",function(options){this.definition().references.push(this);this.mark_enclosed(options)});AST_Scope.DEFMETHOD("find_variable",function(name){if(name instanceof AST_Symbol)name=name.name;return this.variables.get(name)||this.parent_scope&&this.parent_scope.find_variable(name)});AST_Scope.DEFMETHOD("def_function",function(symbol){this.functions.set(symbol.name,this.def_variable(symbol))});AST_Scope.DEFMETHOD("def_variable",function(symbol){var def;if(!this.variables.has(symbol.name)){def=new SymbolDef(this,this.variables.size(),symbol);this.variables.set(symbol.name,def);def.global=!this.parent_scope}else{def=this.variables.get(symbol.name);def.orig.push(symbol)}return symbol.thedef=def});AST_Scope.DEFMETHOD("next_mangled",function(options){var ext=this.enclosed;out:while(true){var m=base54(++this.cname);if(!is_identifier(m))continue;if(options.reserved.indexOf(m)>=0)continue;for(var i=ext.length;--i>=0;){var sym=ext[i];var name=sym.mangled_name||sym.unmangleable(options)&&sym.name;if(m==name)continue out}return m}});AST_Function.DEFMETHOD("next_mangled",function(options,def){var tricky_def=def.orig[0]instanceof AST_SymbolFunarg&&this.name&&this.name.definition();var tricky_name=tricky_def?tricky_def.mangled_name||tricky_def.name:null;while(true){var name=AST_Lambda.prototype.next_mangled.call(this,options,def);if(!tricky_name||tricky_name!=name)return name}});AST_Symbol.DEFMETHOD("unmangleable",function(options){var def=this.definition();return!def||def.unmangleable(options)});AST_Label.DEFMETHOD("unmangleable",return_false);AST_Symbol.DEFMETHOD("unreferenced",function(){return this.definition().references.length==0&&!(this.scope.uses_eval||this.scope.uses_with)});AST_Symbol.DEFMETHOD("definition",function(){return this.thedef});AST_Symbol.DEFMETHOD("global",function(){return this.definition().global});AST_Toplevel.DEFMETHOD("_default_mangler_options",function(options){options=defaults(options,{eval:false,ie8:false,keep_fnames:false,reserved:[],toplevel:false});if(!Array.isArray(options.reserved))options.reserved=[];return options});AST_Toplevel.DEFMETHOD("mangle_names",function(options){options=this._default_mangler_options(options);options.reserved.push("arguments");var lname=-1;var to_mangle=[];if(options.cache){this.globals.each(function(symbol){if(options.reserved.indexOf(symbol.name)<0){to_mangle.push(symbol)}})}var tw=new TreeWalker(function(node,descend){if(node instanceof AST_LabeledStatement){var save_nesting=lname;descend();lname=save_nesting;return true}if(node instanceof AST_Scope){var p=tw.parent(),a=[];node.variables.each(function(symbol){if(options.reserved.indexOf(symbol.name)<0){a.push(symbol)}});to_mangle.push.apply(to_mangle,a);return}if(node instanceof AST_Label){var name;do{name=base54(++lname)}while(!is_identifier(name));node.mangled_name=name;return true}if(!options.ie8&&node instanceof AST_SymbolCatch){to_mangle.push(node.definition());return}});this.walk(tw);to_mangle.forEach(function(def){def.mangle(options)});if(options.cache){options.cache.cname=this.cname}});AST_Toplevel.DEFMETHOD("compute_char_frequency",function(options){options=this._default_mangler_options(options);try{AST_Node.prototype.print=function(stream,force_parens){this._print(stream,force_parens);if(this instanceof AST_Symbol&&!this.unmangleable(options)){base54.consider(this.name,-1)}else if(options.properties){if(this instanceof AST_Dot){base54.consider(this.property,-1)}else if(this instanceof AST_Sub){skip_string(this.property)}}};base54.consider(this.print_to_string(),1)}finally{AST_Node.prototype.print=AST_Node.prototype._print}base54.sort();function skip_string(node){if(node instanceof AST_String){base54.consider(node.value,-1)}else if(node instanceof AST_Conditional){skip_string(node.consequent);skip_string(node.alternative)}else if(node instanceof AST_Sequence){skip_string(node.expressions[node.expressions.length-1])}}});var base54=function(){var leading="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_".split("");var digits="0123456789".split("");var chars,frequency;function reset(){frequency=Object.create(null);leading.forEach(function(ch){frequency[ch]=0});digits.forEach(function(ch){frequency[ch]=0})}base54.consider=function(str,delta){for(var i=str.length;--i>=0;){frequency[str[i]]+=delta}};function compare(a,b){return frequency[b]-frequency[a]}base54.sort=function(){chars=mergeSort(leading,compare).concat(mergeSort(digits,compare))};base54.reset=reset;reset();function base54(num){var ret="",base=54;num++;do{num--;ret+=chars[num%base];num=Math.floor(num/base);base=64}while(num>0);return ret}return base54}();"use strict";var EXPECT_DIRECTIVE=/^$|[;{][\s\n]*$/;function is_some_comments(comment){return comment.type=="comment2"&&/@preserve|@license|@cc_on/i.test(comment.value)}function OutputStream(options){options=defaults(options,{ascii_only:false,beautify:false,bracketize:false,comments:false,ie8:false,indent_level:4,indent_start:0,inline_script:true,keep_quoted_props:false,max_line_len:false,preamble:null,preserve_line:false,quote_keys:false,quote_style:0,semicolons:true,shebang:true,source_map:null,webkit:false,width:80,wrap_iife:false},true);var comment_filter=return_false;if(options.comments){var comments=options.comments;if(typeof options.comments==="string"&&/^\/.*\/[a-zA-Z]*$/.test(options.comments)){var regex_pos=options.comments.lastIndexOf("/");comments=new RegExp(options.comments.substr(1,regex_pos-1),options.comments.substr(regex_pos+1))}if(comments instanceof RegExp){comment_filter=function(comment){return comment.type!="comment5"&&comments.test(comment.value)}}else if(typeof comments==="function"){comment_filter=function(comment){return comment.type!="comment5"&&comments(this,comment)}}else if(comments==="some"){comment_filter=is_some_comments}else{comment_filter=return_true}}var indentation=0;var current_col=0;var current_line=1;var current_pos=0;var OUTPUT="";var to_utf8=options.ascii_only?function(str,identifier){return str.replace(/[\u0000-\u001f\u007f-\uffff]/g,function(ch){var code=ch.charCodeAt(0).toString(16);if(code.length<=2&&!identifier){while(code.length<2)code="0"+code;return"\\x"+code}else{while(code.length<4)code="0"+code;return"\\u"+code}})}:function(str){return str.replace(/[\ud800-\udbff](?![\udc00-\udfff])/g,function(ch){return"\\u"+ch.charCodeAt(0).toString(16)}).replace(/(^|[^\ud800-\udbff])([\udc00-\udfff])/g,function(match,prefix,ch){return prefix+"\\u"+ch.charCodeAt(0).toString(16)})};function make_string(str,quote){var dq=0,sq=0;str=str.replace(/[\\\b\f\n\r\v\t\x22\x27\u2028\u2029\0\ufeff]/g,function(s,i){switch(s){case'"':++dq;return'"';case"'":++sq;return"'";case"\\":return"\\\\";case"\n":return"\\n";case"\r":return"\\r";case"\t":return"\\t";case"\b":return"\\b";case"\f":return"\\f";case"\v":return options.ie8?"\\x0B":"\\v";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";case"\ufeff":return"\\ufeff";case"\0":return/[0-7]/.test(str.charAt(i+1))?"\\x00":"\\0"}return s});function quote_single(){return"'"+str.replace(/\x27/g,"\\'")+"'"}function quote_double(){return'"'+str.replace(/\x22/g,'\\"')+'"'}str=to_utf8(str);switch(options.quote_style){case 1:return quote_single();case 2:return quote_double();case 3:return quote=="'"?quote_single():quote_double();default:return dq>sq?quote_single():quote_double()}}function encode_string(str,quote){var ret=make_string(str,quote);if(options.inline_script){ret=ret.replace(/<\x2fscript([>\/\t\n\f\r ])/gi,"<\\/script$1");ret=ret.replace(/\x3c!--/g,"\\x3c!--");ret=ret.replace(/--\x3e/g,"--\\x3e")}return ret}function make_name(name){name=name.toString();name=to_utf8(name,true);return name}function make_indent(back){return repeat_string(" ",options.indent_start+indentation-back*options.indent_level)}var might_need_space=false;var might_need_semicolon=false;var might_add_newline=0;var last="";var mapping_token,mapping_name,mappings=options.source_map&&[];var do_add_mapping=mappings?function(){mappings.forEach(function(mapping){try{options.source_map.add(mapping.token.file,mapping.line,mapping.col,mapping.token.line,mapping.token.col,!mapping.name&&mapping.token.type=="name"?mapping.token.value:mapping.name)}catch(ex){AST_Node.warn("Couldn't figure out mapping for {file}:{line},{col} → {cline},{ccol} [{name}]",{file:mapping.token.file,line:mapping.token.line,col:mapping.token.col,cline:mapping.line,ccol:mapping.col,name:mapping.name||""})}});mappings=[]}:noop;var ensure_line_len=options.max_line_len?function(){if(current_col>options.max_line_len){if(might_add_newline){var left=OUTPUT.slice(0,might_add_newline);var right=OUTPUT.slice(might_add_newline);if(mappings){var delta=right.length-current_col;mappings.forEach(function(mapping){mapping.line++;mapping.col+=delta})}OUTPUT=left+"\n"+right;current_line++;current_pos++;current_col=right.length}if(current_col>options.max_line_len){AST_Node.warn("Output exceeds {max_line_len} characters",options)}}if(might_add_newline){might_add_newline=0;do_add_mapping()}}:noop;var requireSemicolonChars=makePredicate("( [ + * / - , .");function print(str){str=String(str);var ch=str.charAt(0);var prev=last.charAt(last.length-1);if(might_need_semicolon){might_need_semicolon=false;if(prev==":"&&ch=="}"||(!ch||";}".indexOf(ch)<0)&&prev!=";"){if(options.semicolons||requireSemicolonChars(ch)){OUTPUT+=";";current_col++;current_pos++}else{ensure_line_len();OUTPUT+="\n";current_pos++;current_line++;current_col=0;if(/^\s+$/.test(str)){might_need_semicolon=true}}if(!options.beautify)might_need_space=false}}if(!options.beautify&&options.preserve_line&&stack[stack.length-1]){var target_line=stack[stack.length-1].start.line;while(current_line<target_line){ensure_line_len();OUTPUT+="\n";current_pos++;current_line++;current_col=0;might_need_space=false}}if(might_need_space){if(is_identifier_char(prev)&&(is_identifier_char(ch)||ch=="\\")||ch=="/"&&ch==prev||(ch=="+"||ch=="-")&&ch==last){OUTPUT+=" ";current_col++;current_pos++}might_need_space=false}if(mapping_token){mappings.push({token:mapping_token,name:mapping_name,line:current_line,col:current_col});mapping_token=false;if(!might_add_newline)do_add_mapping()}OUTPUT+=str;current_pos+=str.length;var a=str.split(/\r?\n/),n=a.length-1;current_line+=n;current_col+=a[0].length;if(n>0){ensure_line_len();current_col=a[n].length}last=str}var space=options.beautify?function(){print(" ")}:function(){might_need_space=true};var indent=options.beautify?function(half){if(options.beautify){print(make_indent(half?.5:0))}}:noop;var with_indent=options.beautify?function(col,cont){if(col===true)col=next_indent();var save_indentation=indentation;indentation=col;var ret=cont();indentation=save_indentation;return ret}:function(col,cont){return cont()};var newline=options.beautify?function(){print("\n")}:options.max_line_len?function(){ensure_line_len();might_add_newline=OUTPUT.length}:noop;var semicolon=options.beautify?function(){print(";")}:function(){might_need_semicolon=true};function force_semicolon(){might_need_semicolon=false;print(";")}function next_indent(){return indentation+options.indent_level}function with_block(cont){var ret;print("{");newline();with_indent(next_indent(),function(){ret=cont()});indent();print("}");return ret}function with_parens(cont){print("(");var ret=cont();print(")");return ret}function with_square(cont){print("[");var ret=cont();print("]");return ret}function comma(){print(",");space()}function colon(){print(":");space()}var add_mapping=mappings?function(token,name){mapping_token=token;mapping_name=name}:noop;function get(){if(might_add_newline){ensure_line_len()}return OUTPUT}var stack=[];return{get:get,toString:get,indent:indent,indentation:function(){return indentation},current_width:function(){return current_col-indentation},should_break:function(){return options.width&&this.current_width()>=options.width},newline:newline,print:print,space:space,comma:comma,colon:colon,last:function(){return last},semicolon:semicolon,force_semicolon:force_semicolon,to_utf8:to_utf8,print_name:function(name){print(make_name(name))},print_string:function(str,quote,escape_directive){var encoded=encode_string(str,quote);if(escape_directive===true&&encoded.indexOf("\\")===-1){if(!EXPECT_DIRECTIVE.test(OUTPUT)){force_semicolon()}force_semicolon()}print(encoded)},encode_string:encode_string,next_indent:next_indent,with_indent:with_indent,with_block:with_block,with_parens:with_parens,with_square:with_square,add_mapping:add_mapping,option:function(opt){return options[opt]},comment_filter:comment_filter,line:function(){return current_line},col:function(){return current_col},pos:function(){return current_pos},push_node:function(node){stack.push(node)},pop_node:function(){return stack.pop()},parent:function(n){return stack[stack.length-2-(n||0)]}}}(function(){function DEFPRINT(nodetype,generator){nodetype.DEFMETHOD("_codegen",generator)}var use_asm=false;var in_directive=false;AST_Node.DEFMETHOD("print",function(stream,force_parens){var self=this,generator=self._codegen,prev_use_asm=use_asm;if(self instanceof AST_Directive&&self.value=="use asm"&&stream.parent()instanceof AST_Scope){use_asm=true}function doit(){self.add_comments(stream);self.add_source_map(stream);generator(self,stream)}stream.push_node(self);if(force_parens||self.needs_parens(stream)){stream.with_parens(doit)}else{doit()}stream.pop_node();if(self instanceof AST_Scope){use_asm=prev_use_asm}});AST_Node.DEFMETHOD("_print",AST_Node.prototype.print);AST_Node.DEFMETHOD("print_to_string",function(options){var s=OutputStream(options);if(!options)s._readonly=true;this.print(s);return s.get()});AST_Node.DEFMETHOD("add_comments",function(output){if(output._readonly)return;var self=this;var start=self.start;if(start&&!start._comments_dumped){start._comments_dumped=true;var comments=start.comments_before||[];if(self instanceof AST_Exit&&self.value){self.value.walk(new TreeWalker(function(node){if(node.start&&node.start.comments_before){comments=comments.concat(node.start.comments_before);node.start.comments_before=[]}if(node instanceof AST_Function||node instanceof AST_Array||node instanceof AST_Object){return true}}))}if(output.pos()==0){if(comments.length>0&&output.option("shebang")&&comments[0].type=="comment5"){output.print("#!"+comments.shift().value+"\n");output.indent()}var preamble=output.option("preamble");if(preamble){output.print(preamble.replace(/\r\n?|[\n\u2028\u2029]|\s*$/g,"\n"))}}comments=comments.filter(output.comment_filter,self);if(!output.option("beautify")&&comments.length>0&&/comment[134]/.test(comments[0].type)&&output.col()!==0&&comments[0].nlb){output.print("\n")}comments.forEach(function(c){if(/comment[134]/.test(c.type)){output.print("//"+c.value+"\n");output.indent()}else if(c.type=="comment2"){output.print("/*"+c.value+"*/");if(start.nlb){output.print("\n");output.indent()}else{output.space()}}})}});function PARENS(nodetype,func){if(Array.isArray(nodetype)){nodetype.forEach(function(nodetype){PARENS(nodetype,func)})}else{nodetype.DEFMETHOD("needs_parens",func)}}PARENS(AST_Node,function(){return false});PARENS(AST_Function,function(output){if(first_in_statement(output)){return true}if(output.option("webkit")){var p=output.parent();if(p instanceof AST_PropAccess&&p.expression===this){return true}}if(output.option("wrap_iife")){var p=output.parent();return p instanceof AST_Call&&p.expression===this}return false});PARENS(AST_Object,function(output){return first_in_statement(output)});PARENS(AST_Unary,function(output){var p=output.parent();return p instanceof AST_PropAccess&&p.expression===this||p instanceof AST_Call&&p.expression===this});PARENS(AST_Sequence,function(output){var p=output.parent();return p instanceof AST_Call||p instanceof AST_Unary||p instanceof AST_Binary||p instanceof AST_VarDef||p instanceof AST_PropAccess||p instanceof AST_Array||p instanceof AST_ObjectProperty||p instanceof AST_Conditional});PARENS(AST_Binary,function(output){var p=output.parent();if(p instanceof AST_Call&&p.expression===this)return true;if(p instanceof AST_Unary)return true;if(p instanceof AST_PropAccess&&p.expression===this)return true;if(p instanceof AST_Binary){var po=p.operator,pp=PRECEDENCE[po];var so=this.operator,sp=PRECEDENCE[so];if(pp>sp||pp==sp&&this===p.right){return true}}});PARENS(AST_PropAccess,function(output){var p=output.parent();if(p instanceof AST_New&&p.expression===this){var parens=false;this.walk(new TreeWalker(function(node){if(parens||node instanceof AST_Scope)return true;if(node instanceof AST_Call){parens=true;return true}}));return parens}});PARENS(AST_Call,function(output){var p=output.parent(),p1;if(p instanceof AST_New&&p.expression===this)return true;return this.expression instanceof AST_Function&&p instanceof AST_PropAccess&&p.expression===this&&(p1=output.parent(1))instanceof AST_Assign&&p1.left===p});PARENS(AST_New,function(output){var p=output.parent();if(!need_constructor_parens(this,output)&&(p instanceof AST_PropAccess||p instanceof AST_Call&&p.expression===this))return true});PARENS(AST_Number,function(output){var p=output.parent();if(p instanceof AST_PropAccess&&p.expression===this){var value=this.getValue();if(value<0||/^0/.test(make_num(value))){return true}}});PARENS([AST_Assign,AST_Conditional],function(output){var p=output.parent();if(p instanceof AST_Unary)return true;if(p instanceof AST_Binary&&!(p instanceof AST_Assign))return true;if(p instanceof AST_Call&&p.expression===this)return true;if(p instanceof AST_Conditional&&p.condition===this)return true;if(p instanceof AST_PropAccess&&p.expression===this)return true});DEFPRINT(AST_Directive,function(self,output){output.print_string(self.value,self.quote);output.semicolon()});DEFPRINT(AST_Debugger,function(self,output){output.print("debugger");output.semicolon()});function display_body(body,is_toplevel,output,allow_directives){var last=body.length-1;in_directive=allow_directives;body.forEach(function(stmt,i){if(in_directive===true&&!(stmt instanceof AST_Directive||stmt instanceof AST_EmptyStatement||stmt instanceof AST_SimpleStatement&&stmt.body instanceof AST_String)){in_directive=false}if(!(stmt instanceof AST_EmptyStatement)){output.indent();stmt.print(output);if(!(i==last&&is_toplevel)){output.newline();if(is_toplevel)output.newline()}}if(in_directive===true&&stmt instanceof AST_SimpleStatement&&stmt.body instanceof AST_String){in_directive=false}});in_directive=false}AST_StatementWithBody.DEFMETHOD("_do_print_body",function(output){force_statement(this.body,output)});DEFPRINT(AST_Statement,function(self,output){self.body.print(output);output.semicolon()});DEFPRINT(AST_Toplevel,function(self,output){display_body(self.body,true,output,true);output.print("")});DEFPRINT(AST_LabeledStatement,function(self,output){self.label.print(output);output.colon();self.body.print(output)});DEFPRINT(AST_SimpleStatement,function(self,output){self.body.print(output);output.semicolon()});function print_bracketed(body,output,allow_directives){if(body.length>0)output.with_block(function(){display_body(body,false,output,allow_directives)});else output.print("{}")}DEFPRINT(AST_BlockStatement,function(self,output){print_bracketed(self.body,output)});DEFPRINT(AST_EmptyStatement,function(self,output){output.semicolon()});DEFPRINT(AST_Do,function(self,output){output.print("do");output.space();make_block(self.body,output);output.space();output.print("while");output.space();output.with_parens(function(){self.condition.print(output)});output.semicolon()});DEFPRINT(AST_While,function(self,output){output.print("while");output.space();output.with_parens(function(){self.condition.print(output)});output.space();self._do_print_body(output)});DEFPRINT(AST_For,function(self,output){output.print("for");output.space();output.with_parens(function(){if(self.init){if(self.init instanceof AST_Definitions){self.init.print(output)}else{parenthesize_for_noin(self.init,output,true)}output.print(";");output.space()}else{output.print(";")}if(self.condition){self.condition.print(output);output.print(";");output.space()}else{output.print(";")}if(self.step){self.step.print(output)}});output.space();self._do_print_body(output)});DEFPRINT(AST_ForIn,function(self,output){output.print("for");output.space();output.with_parens(function(){self.init.print(output);output.space();output.print("in");output.space();self.object.print(output)});output.space();self._do_print_body(output)});DEFPRINT(AST_With,function(self,output){output.print("with");output.space();output.with_parens(function(){self.expression.print(output)});output.space();self._do_print_body(output)});AST_Lambda.DEFMETHOD("_do_print",function(output,nokeyword){var self=this;if(!nokeyword){output.print("function")}if(self.name){output.space();self.name.print(output)}output.with_parens(function(){self.argnames.forEach(function(arg,i){if(i)output.comma();arg.print(output)})});output.space();print_bracketed(self.body,output,true)});DEFPRINT(AST_Lambda,function(self,output){self._do_print(output)});AST_Exit.DEFMETHOD("_do_print",function(output,kind){output.print(kind);if(this.value){output.space();this.value.print(output)}output.semicolon()});DEFPRINT(AST_Return,function(self,output){self._do_print(output,"return")});DEFPRINT(AST_Throw,function(self,output){self._do_print(output,"throw")});AST_LoopControl.DEFMETHOD("_do_print",function(output,kind){output.print(kind);if(this.label){output.space();this.label.print(output)}output.semicolon()});DEFPRINT(AST_Break,function(self,output){self._do_print(output,"break")});DEFPRINT(AST_Continue,function(self,output){self._do_print(output,"continue")});function make_then(self,output){var b=self.body;if(output.option("bracketize")||output.option("ie8")&&b instanceof AST_Do)return make_block(b,output);if(!b)return output.force_semicolon();while(true){if(b instanceof AST_If){if(!b.alternative){make_block(self.body,output);return}b=b.alternative}else if(b instanceof AST_StatementWithBody){b=b.body}else break}force_statement(self.body,output)}DEFPRINT(AST_If,function(self,output){output.print("if");output.space();output.with_parens(function(){self.condition.print(output)});output.space();if(self.alternative){make_then(self,output);output.space();output.print("else");output.space();if(self.alternative instanceof AST_If)self.alternative.print(output);else force_statement(self.alternative,output)}else{self._do_print_body(output)}});DEFPRINT(AST_Switch,function(self,output){output.print("switch");output.space();output.with_parens(function(){self.expression.print(output)});output.space();var last=self.body.length-1;if(last<0)output.print("{}");else output.with_block(function(){self.body.forEach(function(branch,i){output.indent(true);branch.print(output);if(i<last&&branch.body.length>0)output.newline()})})});AST_SwitchBranch.DEFMETHOD("_do_print_body",function(output){output.newline();this.body.forEach(function(stmt){output.indent();stmt.print(output);output.newline()})});DEFPRINT(AST_Default,function(self,output){output.print("default:");self._do_print_body(output)});DEFPRINT(AST_Case,function(self,output){output.print("case");output.space();self.expression.print(output);output.print(":");self._do_print_body(output)});DEFPRINT(AST_Try,function(self,output){output.print("try");output.space();print_bracketed(self.body,output);if(self.bcatch){output.space();self.bcatch.print(output)}if(self.bfinally){output.space();self.bfinally.print(output)}});DEFPRINT(AST_Catch,function(self,output){output.print("catch");output.space();output.with_parens(function(){self.argname.print(output)});output.space();print_bracketed(self.body,output)});DEFPRINT(AST_Finally,function(self,output){output.print("finally");output.space();print_bracketed(self.body,output)});AST_Definitions.DEFMETHOD("_do_print",function(output,kind){output.print(kind);output.space();this.definitions.forEach(function(def,i){if(i)output.comma();def.print(output)});var p=output.parent();var in_for=p instanceof AST_For||p instanceof AST_ForIn;var avoid_semicolon=in_for&&p.init===this;if(!avoid_semicolon)output.semicolon()});DEFPRINT(AST_Var,function(self,output){self._do_print(output,"var")});function parenthesize_for_noin(node,output,noin){var parens=false;if(noin)node.walk(new TreeWalker(function(node){if(parens||node instanceof AST_Scope)return true;if(node instanceof AST_Binary&&node.operator=="in"){parens=true;return true}}));node.print(output,parens)}DEFPRINT(AST_VarDef,function(self,output){self.name.print(output);if(self.value){output.space();output.print("=");output.space();var p=output.parent(1);var noin=p instanceof AST_For||p instanceof AST_ForIn;parenthesize_for_noin(self.value,output,noin)}});DEFPRINT(AST_Call,function(self,output){self.expression.print(output);if(self instanceof AST_New&&!need_constructor_parens(self,output))return;if(self.expression instanceof AST_Lambda){output.add_mapping(self.start)}output.with_parens(function(){self.args.forEach(function(expr,i){if(i)output.comma();expr.print(output)})})});DEFPRINT(AST_New,function(self,output){output.print("new");output.space();AST_Call.prototype._codegen(self,output)});AST_Sequence.DEFMETHOD("_do_print",function(output){this.expressions.forEach(function(node,index){if(index>0){output.comma();if(output.should_break()){output.newline();output.indent()}}node.print(output)})});DEFPRINT(AST_Sequence,function(self,output){self._do_print(output)});DEFPRINT(AST_Dot,function(self,output){var expr=self.expression;expr.print(output);var prop=self.property;if(output.option("ie8")&&RESERVED_WORDS(prop)){output.print("[");output.add_mapping(self.end);output.print_string(prop);output.print("]")}else{if(expr instanceof AST_Number&&expr.getValue()>=0){if(!/[xa-f.)]/i.test(output.last())){output.print(".")}}output.print(".");output.add_mapping(self.end);output.print_name(prop)}});DEFPRINT(AST_Sub,function(self,output){self.expression.print(output);output.print("[");self.property.print(output);output.print("]")});DEFPRINT(AST_UnaryPrefix,function(self,output){var op=self.operator;output.print(op);if(/^[a-z]/i.test(op)||/[+-]$/.test(op)&&self.expression instanceof AST_UnaryPrefix&&/^[+-]/.test(self.expression.operator)){output.space()}self.expression.print(output)});DEFPRINT(AST_UnaryPostfix,function(self,output){self.expression.print(output);output.print(self.operator)});DEFPRINT(AST_Binary,function(self,output){var op=self.operator;self.left.print(output);if(op[0]==">"&&self.left instanceof AST_UnaryPostfix&&self.left.operator=="--"){output.print(" ")}else{output.space()}output.print(op);if((op=="<"||op=="<<")&&self.right instanceof AST_UnaryPrefix&&self.right.operator=="!"&&self.right.expression instanceof AST_UnaryPrefix&&self.right.expression.operator=="--"){output.print(" ")}else{output.space()}self.right.print(output)});DEFPRINT(AST_Conditional,function(self,output){self.condition.print(output);output.space();output.print("?");output.space();self.consequent.print(output);output.space();output.colon();self.alternative.print(output)});DEFPRINT(AST_Array,function(self,output){output.with_square(function(){var a=self.elements,len=a.length;if(len>0)output.space();a.forEach(function(exp,i){if(i)output.comma();exp.print(output);if(i===len-1&&exp instanceof AST_Hole)output.comma()});if(len>0)output.space()})});DEFPRINT(AST_Object,function(self,output){if(self.properties.length>0)output.with_block(function(){self.properties.forEach(function(prop,i){if(i){output.print(",");output.newline()}output.indent();prop.print(output)});output.newline()});else output.print("{}")});function print_property_name(key,quote,output){if(output.option("quote_keys")){output.print_string(key+"")}else if((typeof key=="number"||!output.option("beautify")&&+key+""==key)&&parseFloat(key)>=0){output.print(make_num(key))}else if(RESERVED_WORDS(key)?!output.option("ie8"):is_identifier_string(key)){if(quote&&output.option("keep_quoted_props")){output.print_string(key,quote)}else{output.print_name(key)}}else{output.print_string(key,quote)}}DEFPRINT(AST_ObjectKeyVal,function(self,output){print_property_name(self.key,self.quote,output);output.colon();self.value.print(output)});AST_ObjectProperty.DEFMETHOD("_print_getter_setter",function(type,output){output.print(type);output.space();print_property_name(this.key.name,this.quote,output);this.value._do_print(output,true)});DEFPRINT(AST_ObjectSetter,function(self,output){self._print_getter_setter("set",output)});DEFPRINT(AST_ObjectGetter,function(self,output){self._print_getter_setter("get",output)});DEFPRINT(AST_Symbol,function(self,output){var def=self.definition();output.print_name(def?def.mangled_name||def.name:self.name)});DEFPRINT(AST_Hole,noop);DEFPRINT(AST_This,function(self,output){output.print("this")});DEFPRINT(AST_Constant,function(self,output){output.print(self.getValue())});DEFPRINT(AST_String,function(self,output){output.print_string(self.getValue(),self.quote,in_directive)});DEFPRINT(AST_Number,function(self,output){if(use_asm&&self.start&&self.start.raw!=null){output.print(self.start.raw)}else{output.print(make_num(self.getValue()))}});DEFPRINT(AST_RegExp,function(self,output){var regexp=self.getValue();var str=regexp.toString();if(regexp.raw_source){str="/"+regexp.raw_source+str.slice(str.lastIndexOf("/"))}str=output.to_utf8(str);output.print(str);var p=output.parent();if(p instanceof AST_Binary&&/^in/.test(p.operator)&&p.left===self)output.print(" ")});function force_statement(stat,output){if(output.option("bracketize")){make_block(stat,output)}else{if(!stat||stat instanceof AST_EmptyStatement)output.force_semicolon();else stat.print(output)}}function need_constructor_parens(self,output){if(self.args.length>0)return true;return output.option("beautify")}function best_of(a){var best=a[0],len=best.length;for(var i=1;i<a.length;++i){if(a[i].length<len){best=a[i];len=best.length}}return best}function make_num(num){var str=num.toString(10),a=[str.replace(/^0\./,".").replace("e+","e")],m;if(Math.floor(num)===num){if(num>=0){a.push("0x"+num.toString(16).toLowerCase(),"0"+num.toString(8))}else{a.push("-0x"+(-num).toString(16).toLowerCase(),"-0"+(-num).toString(8))}if(m=/^(.*?)(0+)$/.exec(num)){a.push(m[1]+"e"+m[2].length)}}else if(m=/^0?\.(0+)(.*)$/.exec(num)){a.push(m[2]+"e-"+(m[1].length+m[2].length),str.substr(str.indexOf(".")))}return best_of(a)}function make_block(stmt,output){if(!stmt||stmt instanceof AST_EmptyStatement)output.print("{}");else if(stmt instanceof AST_BlockStatement)stmt.print(output);else output.with_block(function(){output.indent();stmt.print(output);output.newline()})}function DEFMAP(nodetype,generator){nodetype.DEFMETHOD("add_source_map",function(stream){generator(this,stream)})}DEFMAP(AST_Node,noop);function basic_sourcemap_gen(self,output){output.add_mapping(self.start)}DEFMAP(AST_Directive,basic_sourcemap_gen);DEFMAP(AST_Debugger,basic_sourcemap_gen);DEFMAP(AST_Symbol,basic_sourcemap_gen);DEFMAP(AST_Jump,basic_sourcemap_gen);DEFMAP(AST_StatementWithBody,basic_sourcemap_gen);DEFMAP(AST_LabeledStatement,noop);DEFMAP(AST_Lambda,basic_sourcemap_gen);DEFMAP(AST_Switch,basic_sourcemap_gen);DEFMAP(AST_SwitchBranch,basic_sourcemap_gen);DEFMAP(AST_BlockStatement,basic_sourcemap_gen);DEFMAP(AST_Toplevel,noop);DEFMAP(AST_New,basic_sourcemap_gen);DEFMAP(AST_Try,basic_sourcemap_gen);DEFMAP(AST_Catch,basic_sourcemap_gen);DEFMAP(AST_Finally,basic_sourcemap_gen);DEFMAP(AST_Definitions,basic_sourcemap_gen);DEFMAP(AST_Constant,basic_sourcemap_gen);DEFMAP(AST_ObjectSetter,function(self,output){output.add_mapping(self.start,self.key.name)});DEFMAP(AST_ObjectGetter,function(self,output){output.add_mapping(self.start,self.key.name)});DEFMAP(AST_ObjectProperty,function(self,output){output.add_mapping(self.start,self.key)})})();"use strict";function Compressor(options,false_by_default){if(!(this instanceof Compressor))return new Compressor(options,false_by_default);TreeTransformer.call(this,this.before,this.after);this.options=defaults(options,{booleans:!false_by_default,cascade:!false_by_default,collapse_vars:!false_by_default,comparisons:!false_by_default,conditionals:!false_by_default,dead_code:!false_by_default,drop_console:false,drop_debugger:!false_by_default,evaluate:!false_by_default,expression:false,global_defs:{},hoist_funs:!false_by_default,hoist_vars:false,ie8:false,if_return:!false_by_default,inline:!false_by_default,join_vars:!false_by_default,keep_fargs:true,keep_fnames:false,keep_infinity:false,loops:!false_by_default,negate_iife:!false_by_default,passes:1,properties:!false_by_default,pure_getters:!false_by_default&&"strict",pure_funcs:null,reduce_vars:!false_by_default,sequences:!false_by_default,side_effects:!false_by_default,switches:!false_by_default,top_retain:null,toplevel:!!(options&&options["top_retain"]),typeofs:!false_by_default,unsafe:false,unsafe_comps:false,unsafe_Func:false,unsafe_math:false,unsafe_proto:false,unsafe_regexp:false,unused:!false_by_default,warnings:false},true);var global_defs=this.options["global_defs"];if(typeof global_defs=="object")for(var key in global_defs){if(/^@/.test(key)&&HOP(global_defs,key)){global_defs[key.slice(1)]=parse(global_defs[key],{expression:true})}}var pure_funcs=this.options["pure_funcs"];if(typeof pure_funcs=="function"){this.pure_funcs=pure_funcs}else{this.pure_funcs=pure_funcs?function(node){return pure_funcs.indexOf(node.expression.print_to_string())<0}:return_true}var top_retain=this.options["top_retain"];if(top_retain instanceof RegExp){this.top_retain=function(def){return top_retain.test(def.name)}}else if(typeof top_retain=="function"){this.top_retain=top_retain}else if(top_retain){if(typeof top_retain=="string"){top_retain=top_retain.split(/,/)}this.top_retain=function(def){return top_retain.indexOf(def.name)>=0}}var toplevel=this.options["toplevel"];this.toplevel=typeof toplevel=="string"?{funcs:/funcs/.test(toplevel),vars:/vars/.test(toplevel)}:{funcs:toplevel,vars:toplevel};var sequences=this.options["sequences"];this.sequences_limit=sequences==1?800:sequences|0;this.warnings_produced={}}Compressor.prototype=new TreeTransformer;merge(Compressor.prototype,{option:function(key){return this.options[key]},exposed:function(def){if(def.global)for(var i=0,len=def.orig.length;i<len;i++)if(!this.toplevel[def.orig[i]instanceof AST_SymbolDefun?"funcs":"vars"])return true;return false},compress:function(node){if(this.option("expression")){node.process_expression(true)}var passes=+this.options.passes||1;var last_count=1/0;for(var pass=0;pass<passes;pass++){if(pass>0||this.option("reduce_vars"))node.reset_opt_flags(this,true);node=node.transform(this);if(passes>1){var count=0;node.walk(new TreeWalker(function(){count++}));this.info("pass "+pass+": last_count: "+last_count+", count: "+count);if(count>=last_count)break;last_count=count}}if(this.option("expression")){node.process_expression(false)}return node},info:function(){if(this.options.warnings=="verbose"){AST_Node.warn.apply(AST_Node,arguments)}},warn:function(text,props){if(this.options.warnings){var message=string_template(text,props);if(!(message in this.warnings_produced)){this.warnings_produced[message]=true;AST_Node.warn.apply(AST_Node,arguments)}}},clear_warnings:function(){this.warnings_produced={}},before:function(node,descend,in_list){if(node._squeezed)return node;var was_scope=false;if(node instanceof AST_Scope){node=node.hoist_declarations(this);was_scope=true}descend(node,this);descend(node,this);var opt=node.optimize(this);if(was_scope&&opt instanceof AST_Scope){opt.drop_unused(this);descend(opt,this)}if(opt===node)opt._squeezed=true;return opt}});(function(){function OPT(node,optimizer){node.DEFMETHOD("optimize",function(compressor){var self=this;if(self._optimized)return self;if(compressor.has_directive("use asm"))return self;var opt=optimizer(self,compressor);opt._optimized=true;return opt})}OPT(AST_Node,function(self,compressor){return self});AST_Node.DEFMETHOD("equivalent_to",function(node){return this.TYPE==node.TYPE&&this.print_to_string()==node.print_to_string()});AST_Scope.DEFMETHOD("process_expression",function(insert,compressor){var self=this;var tt=new TreeTransformer(function(node){if(insert&&node instanceof AST_SimpleStatement){return make_node(AST_Return,node,{value:node.body})}if(!insert&&node instanceof AST_Return){if(compressor){var value=node.value&&node.value.drop_side_effect_free(compressor,true);return value?make_node(AST_SimpleStatement,node,{body:value}):make_node(AST_EmptyStatement,node)}return make_node(AST_SimpleStatement,node,{body:node.value||make_node(AST_UnaryPrefix,node,{operator:"void",expression:make_node(AST_Number,node,{value:0})})})}if(node instanceof AST_Lambda&&node!==self){return node}if(node instanceof AST_Block){var index=node.body.length-1;if(index>=0){node.body[index]=node.body[index].transform(tt)}}if(node instanceof AST_If){node.body=node.body.transform(tt);if(node.alternative){node.alternative=node.alternative.transform(tt)}}if(node instanceof AST_With){node.body=node.body.transform(tt)}return node});self.transform(tt)});AST_Node.DEFMETHOD("reset_opt_flags",function(compressor,rescan){var reduce_vars=rescan&&compressor.option("reduce_vars");var safe_ids=Object.create(null);var suppressor=new TreeWalker(function(node){if(!(node instanceof AST_Symbol))return;var d=node.definition();if(!d)return;if(node instanceof AST_SymbolRef)d.references.push(node);d.fixed=false});var tw=new TreeWalker(function(node,descend){node._squeezed=false;node._optimized=false;if(reduce_vars){if(node instanceof AST_Toplevel)node.globals.each(reset_def);if(node instanceof AST_Scope)node.variables.each(reset_def);if(node instanceof AST_SymbolRef){var d=node.definition();d.references.push(node);if(d.fixed===undefined||!safe_to_read(d)||is_modified(node,0,is_immutable(node.fixed_value()))){d.fixed=false}else{var parent=tw.parent();if(parent instanceof AST_Assign&&parent.operator=="="&&node===parent.right||parent instanceof AST_Call&&node!==parent.expression||parent instanceof AST_Return&&node===parent.value&&node.scope!==d.scope||parent instanceof AST_VarDef&&node===parent.value){d.escaped=true}}}if(node instanceof AST_SymbolCatch){node.definition().fixed=false}if(node instanceof AST_VarDef){var d=node.name.definition();if(d.fixed===undefined||safe_to_assign(d,node.value)){if(node.value){d.fixed=function(){return node.value};mark(d,false);descend()}else{d.fixed=null}mark(d,true);return true}else if(node.value){d.fixed=false}}if(node instanceof AST_Assign&&node.operator=="="&&node.left instanceof AST_SymbolRef){var d=node.left.definition();if(safe_to_assign(d,node.right)){d.references.push(node.left);d.fixed=function(){return node.right};mark(d,false);node.right.walk(tw);mark(d,true);return true}}if(node instanceof AST_Defun){var d=node.name.definition();if(compressor.exposed(d)||safe_to_read(d)){d.fixed=false}else{d.fixed=node;mark(d,true)}var save_ids=safe_ids;safe_ids=Object.create(null);descend();safe_ids=save_ids;return true}if(node instanceof AST_Function){push();var iife;if(!node.name&&(iife=tw.parent())instanceof AST_Call&&iife.expression===node){node.argnames.forEach(function(arg,i){var d=arg.definition();if(!node.uses_arguments&&d.fixed===undefined){d.fixed=function(){return iife.args[i]||make_node(AST_Undefined,iife)};mark(d,true)}else{d.fixed=false}})}descend();pop();return true}if(node instanceof AST_Accessor){var save_ids=safe_ids;safe_ids=Object.create(null);descend();safe_ids=save_ids;return true}if(node instanceof AST_Binary&&(node.operator=="&&"||node.operator=="||")){node.left.walk(tw);push();node.right.walk(tw);pop();return true}if(node instanceof AST_Conditional){node.condition.walk(tw);push();node.consequent.walk(tw);pop();push();node.alternative.walk(tw);pop();return true}if(node instanceof AST_If){node.condition.walk(tw);push();node.body.walk(tw);pop();if(node.alternative){push();node.alternative.walk(tw);pop()}return true}if(node instanceof AST_DWLoop){push();node.condition.walk(tw);node.body.walk(tw);pop();return true}if(node instanceof AST_LabeledStatement){push();node.body.walk(tw);pop();return true}if(node instanceof AST_For){if(node.init)node.init.walk(tw);if(node.condition){push();node.condition.walk(tw);pop()}push();node.body.walk(tw);pop();if(node.step){push();node.step.walk(tw);pop()}return true}if(node instanceof AST_ForIn){node.init.walk(suppressor);node.object.walk(tw);push();node.body.walk(tw);pop();return true}if(node instanceof AST_Try){push();walk_body(node,tw);pop();if(node.bcatch){push();node.bcatch.walk(tw);pop()}if(node.bfinally)node.bfinally.walk(tw);return true}if(node instanceof AST_SwitchBranch){push();descend();pop();return true}}});this.walk(tw);function mark(def,safe){safe_ids[def.id]=safe}function safe_to_read(def){if(safe_ids[def.id]){if(def.fixed==null){var orig=def.orig[0];if(orig instanceof AST_SymbolFunarg||orig.name=="arguments")return false;def.fixed=make_node(AST_Undefined,orig)}return true}}function safe_to_assign(def,value){if(!HOP(safe_ids,def.id))return false;if(!safe_to_read(def))return false;if(def.fixed===false)return false;if(def.fixed!=null&&(!value||def.references.length>0))return false;return!def.orig.some(function(sym){return sym instanceof AST_SymbolDefun||sym instanceof AST_SymbolLambda})}function push(){safe_ids=Object.create(safe_ids)}function pop(){safe_ids=Object.getPrototypeOf(safe_ids)}function reset_def(def){def.escaped=false;if(def.scope.uses_eval){def.fixed=false}else if(!compressor.exposed(def)){def.fixed=undefined}else{def.fixed=false}def.references=[];def.should_replace=undefined}function is_immutable(value){return value&&value.is_constant()||value instanceof AST_Lambda}function is_modified(node,level,immutable){var parent=tw.parent(level);if(is_lhs(node,parent)||!immutable&&parent instanceof AST_Call&&parent.expression===node){return true}else if(parent instanceof AST_PropAccess&&parent.expression===node){return!immutable&&is_modified(parent,level+1)}}});AST_SymbolRef.DEFMETHOD("fixed_value",function(){var fixed=this.definition().fixed;if(!fixed||fixed instanceof AST_Node)return fixed;return fixed()});AST_SymbolRef.DEFMETHOD("is_immutable",function(){var orig=this.definition().orig;return orig.length==1&&orig[0]instanceof AST_SymbolLambda});function is_lhs_read_only(lhs){if(lhs instanceof AST_SymbolRef)return lhs.definition().orig[0]instanceof AST_SymbolLambda;if(lhs instanceof AST_PropAccess){lhs=lhs.expression;if(lhs instanceof AST_SymbolRef){if(lhs.is_immutable())return false;lhs=lhs.fixed_value()}if(!lhs)return true;if(lhs instanceof AST_RegExp)return false;if(lhs instanceof AST_Constant)return true;return is_lhs_read_only(lhs)}return false}function find_variable(compressor,name){var scope,i=0;while(scope=compressor.parent(i++)){if(scope instanceof AST_Scope)break;if(scope instanceof AST_Catch){scope=scope.argname.definition().scope;break}}return scope.find_variable(name)}function make_node(ctor,orig,props){if(!props)props={};if(orig){if(!props.start)props.start=orig.start;if(!props.end)props.end=orig.end}return new ctor(props)}function make_sequence(orig,expressions){if(expressions.length==1)return expressions[0];return make_node(AST_Sequence,orig,{expressions:expressions})}function make_node_from_constant(val,orig){switch(typeof val){case"string":return make_node(AST_String,orig,{value:val});case"number":if(isNaN(val))return make_node(AST_NaN,orig);if(isFinite(val)){return 1/val<0?make_node(AST_UnaryPrefix,orig,{operator:"-",expression:make_node(AST_Number,orig,{value:-val})}):make_node(AST_Number,orig,{value:val})}return val<0?make_node(AST_UnaryPrefix,orig,{operator:"-",expression:make_node(AST_Infinity,orig)}):make_node(AST_Infinity,orig);case"boolean":return make_node(val?AST_True:AST_False,orig);case"undefined":return make_node(AST_Undefined,orig);default:if(val===null){return make_node(AST_Null,orig,{value:null})}if(val instanceof RegExp){return make_node(AST_RegExp,orig,{value:val})}throw new Error(string_template("Can't handle constant of type: {type}",{type:typeof val}))}}function maintain_this_binding(parent,orig,val){if(parent instanceof AST_UnaryPrefix&&parent.operator=="delete"||parent instanceof AST_Call&&parent.expression===orig&&(val instanceof AST_PropAccess||val instanceof AST_SymbolRef&&val.name=="eval")){return make_sequence(orig,[make_node(AST_Number,orig,{value:0}),val])}return val}function merge_sequence(array,node){if(node instanceof AST_Sequence){array.push.apply(array,node.expressions)}else{array.push(node)}}function as_statement_array(thing){if(thing===null)return[];if(thing instanceof AST_BlockStatement)return thing.body;if(thing instanceof AST_EmptyStatement)return[];if(thing instanceof AST_Statement)return[thing];throw new Error("Can't convert thing to statement array")}function is_empty(thing){if(thing===null)return true;if(thing instanceof AST_EmptyStatement)return true;if(thing instanceof AST_BlockStatement)return thing.body.length==0;return false}function loop_body(x){if(x instanceof AST_Switch)return x;if(x instanceof AST_For||x instanceof AST_ForIn||x instanceof AST_DWLoop){return x.body instanceof AST_BlockStatement?x.body:x}return x}function is_iife_call(node){if(node instanceof AST_Call&&!(node instanceof AST_New)){return node.expression instanceof AST_Function||is_iife_call(node.expression)}return false}function is_undeclared_ref(node){return node instanceof AST_SymbolRef&&node.definition().undeclared}var global_names=makePredicate("Array Boolean console Error Function Math Number RegExp Object String");AST_SymbolRef.DEFMETHOD("is_declared",function(compressor){return!this.definition().undeclared||compressor.option("unsafe")&&global_names(this.name)});function tighten_body(statements,compressor){var CHANGED,max_iter=10;do{CHANGED=false;eliminate_spurious_blocks(statements);if(compressor.option("dead_code")){eliminate_dead_code(statements,compressor)}if(compressor.option("if_return")){handle_if_return(statements,compressor)}if(compressor.sequences_limit>0){sequencesize(statements,compressor)}if(compressor.option("join_vars")){join_consecutive_vars(statements,compressor)}if(compressor.option("collapse_vars")){collapse(statements,compressor)}}while(CHANGED&&max_iter-- >0);function collapse(statements,compressor){var scope=compressor.find_parent(AST_Scope);if(scope.uses_eval||scope.uses_with)return statements;var candidates=[];var stat_index=statements.length;while(--stat_index>=0){if(stat_index==0&&compressor.option("unused"))extract_args();extract_candidates(statements[stat_index]);while(candidates.length>0){var candidate=candidates.pop();var lhs=get_lhs(candidate);if(!lhs||is_lhs_read_only(lhs))continue;var lvalues=get_lvalues(candidate);if(lhs instanceof AST_SymbolRef)lvalues[lhs.name]=false;var side_effects=value_has_side_effects(candidate);var hit=candidate.name instanceof AST_SymbolFunarg;var abort=false,replaced=false;var tt=new TreeTransformer(function(node,descend){if(abort)return node;if(!hit){if(node===candidate){hit=true;return node}return}var parent=tt.parent();if(node instanceof AST_Assign&&node.operator!="="&&lhs.equivalent_to(node.left)||node instanceof AST_Call&&lhs instanceof AST_PropAccess&&lhs.equivalent_to(node.expression)||node instanceof AST_Debugger||node instanceof AST_IterationStatement&&!(node instanceof AST_For)||node instanceof AST_SymbolRef&&!node.is_declared(compressor)||node instanceof AST_Try||node instanceof AST_With||parent instanceof AST_For&&node!==parent.init){abort=true;return node}if(!(node instanceof AST_SymbolDeclaration)&&!is_lhs(node,parent)&&lhs.equivalent_to(node)){CHANGED=replaced=abort=true;compressor.info("Collapsing {name} [{file}:{line},{col}]",{name:node.print_to_string(),file:node.start.file,line:node.start.line,col:node.start.col});if(candidate instanceof AST_UnaryPostfix){return make_node(AST_UnaryPrefix,candidate,candidate)}if(candidate instanceof AST_VarDef){var def=candidate.name.definition();if(def.references.length==1&&!compressor.exposed(def)){return maintain_this_binding(parent,node,candidate.value)}return make_node(AST_Assign,candidate,{operator:"=",left:make_node(AST_SymbolRef,candidate.name,candidate.name),right:candidate.value})}candidate.write_only=false;return candidate}var sym;if(node instanceof AST_Call||node instanceof AST_Exit||node instanceof AST_PropAccess||node instanceof AST_SymbolRef&&(lvalues[node.name]||side_effects&&!references_in_scope(node.definition()))||(sym=lhs_or_def(node))&&get_symbol(sym).name in lvalues||parent instanceof AST_Binary&&(parent.operator=="&&"||parent.operator=="||")||parent instanceof AST_Case||parent instanceof AST_Conditional||parent instanceof AST_For||parent instanceof AST_If){if(!(node instanceof AST_Scope))descend(node,tt);abort=true;return node}if(node instanceof AST_Default||node instanceof AST_Scope)return node});for(var i=stat_index;!abort&&i<statements.length;i++){statements[i].transform(tt)}if(replaced&&!remove_candidate(candidate))statements.splice(stat_index,1)}}function extract_args(){var iife,fn=compressor.self();if(fn instanceof AST_Function&&!fn.name&&!fn.uses_arguments&&!fn.uses_eval&&(iife=compressor.parent())instanceof AST_Call&&iife.expression===fn){var names=Object.create(null);for(var i=fn.argnames.length;--i>=0;){var sym=fn.argnames[i];if(sym.name in names)continue;names[sym.name]=true;var arg=iife.args[i];if(!arg)arg=make_node(AST_Undefined,sym);else{var tw=new TreeWalker(function(node){if(!arg)return true;if(node instanceof AST_SymbolRef&&fn.variables.has(node.name)){var s=node.definition().scope;if(s!==scope)while(s=s.parent_scope){if(s===scope)return true}arg=null}if(node instanceof AST_This&&!tw.find_parent(AST_Scope)){arg=null;return true}});arg.walk(tw)}if(arg)candidates.unshift(make_node(AST_VarDef,sym,{name:sym,value:arg}))}}}function extract_candidates(expr){if(expr instanceof AST_Assign&&!expr.left.has_side_effects(compressor)||expr instanceof AST_Unary&&(expr.operator=="++"||expr.operator=="--")){candidates.push(expr)}else if(expr instanceof AST_Sequence){expr.expressions.forEach(extract_candidates)}else if(expr instanceof AST_Definitions){expr.definitions.forEach(function(var_def){if(var_def.value)candidates.push(var_def)})}else if(expr instanceof AST_SimpleStatement){extract_candidates(expr.body)}else if(expr instanceof AST_For&&expr.init){extract_candidates(expr.init)}}function get_lhs(expr){if(expr instanceof AST_VarDef){var def=expr.name.definition();if(def.orig.length>1&&!(expr.name instanceof AST_SymbolFunarg)||def.references.length==1&&!compressor.exposed(def)){return make_node(AST_SymbolRef,expr.name,expr.name)}}else{return expr[expr instanceof AST_Assign?"left":"expression"]}}function get_symbol(node){while(node instanceof AST_PropAccess)node=node.expression;return node}function get_lvalues(expr){var lvalues=Object.create(null);if(expr instanceof AST_Unary)return lvalues;var scope;var tw=new TreeWalker(function(node,descend){if(node instanceof AST_Scope){var save_scope=scope;descend();scope=save_scope;return true}if(node instanceof AST_SymbolRef||node instanceof AST_PropAccess){var sym=get_symbol(node);if(sym instanceof AST_SymbolRef){lvalues[sym.name]=lvalues[sym.name]||is_lhs(node,tw.parent())}}});expr[expr instanceof AST_Assign?"right":"value"].walk(tw);return lvalues}function lhs_or_def(node){if(node instanceof AST_VarDef)return node.value&&node.name;return is_lhs(node.left,node)}function remove_candidate(expr){if(expr.name instanceof AST_SymbolFunarg){var index=compressor.self().argnames.indexOf(expr.name);var args=compressor.parent().args;if(args[index])args[index]=make_node(AST_Number,args[index],{value:0});return true}var found=false;return statements[stat_index].transform(new TreeTransformer(function(node,descend,in_list){if(found)return node;if(node===expr){found=true;if(node instanceof AST_VarDef){remove(node.name.definition().orig,node.name)}return in_list?MAP.skip:null}},function(node){if(node instanceof AST_Sequence)switch(node.expressions.length){case 0:return null;case 1:return node.expressions[0]}if(node instanceof AST_Definitions&&node.definitions.length==0||node instanceof AST_SimpleStatement&&!node.body){return null}}))}function value_has_side_effects(expr){if(expr instanceof AST_Unary)return false;return expr[expr instanceof AST_Assign?"right":"value"].has_side_effects(compressor)}function references_in_scope(def){if(def.orig.length==1&&def.orig[0]instanceof AST_SymbolDefun)return true;if(def.scope!==scope)return false;return def.references.every(function(ref){return ref.scope===scope})}}function eliminate_spurious_blocks(statements){var seen_dirs=[];for(var i=0;i<statements.length;){var stat=statements[i];if(stat instanceof AST_BlockStatement){CHANGED=true;eliminate_spurious_blocks(stat.body);[].splice.apply(statements,[i,1].concat(stat.body));i+=stat.body.length}else if(stat instanceof AST_EmptyStatement){CHANGED=true;statements.splice(i,1)}else if(stat instanceof AST_Directive){if(seen_dirs.indexOf(stat.value)<0){i++;seen_dirs.push(stat.value)}else{CHANGED=true;statements.splice(i,1)}}else i++}}function handle_if_return(statements,compressor){var self=compressor.self();var multiple_if_returns=has_multiple_if_returns(statements);var in_lambda=self instanceof AST_Lambda;for(var i=statements.length;--i>=0;){var stat=statements[i];var next=statements[i+1];if(in_lambda&&stat instanceof AST_Return&&!stat.value&&!next){CHANGED=true;statements.length--;continue}if(stat instanceof AST_If){var ab=aborts(stat.body);if(can_merge_flow(ab)){if(ab.label){remove(ab.label.thedef.references,ab)}CHANGED=true;stat=stat.clone();stat.condition=stat.condition.negate(compressor);var body=as_statement_array_with_return(stat.body,ab);stat.body=make_node(AST_BlockStatement,stat,{body:as_statement_array(stat.alternative).concat(extract_functions())});stat.alternative=make_node(AST_BlockStatement,stat,{body:body});statements[i]=stat.transform(compressor);continue}var ab=aborts(stat.alternative);if(can_merge_flow(ab)){if(ab.label){remove(ab.label.thedef.references,ab)}CHANGED=true;stat=stat.clone();stat.body=make_node(AST_BlockStatement,stat.body,{body:as_statement_array(stat.body).concat(extract_functions())});var body=as_statement_array_with_return(stat.alternative,ab);stat.alternative=make_node(AST_BlockStatement,stat.alternative,{body:body});statements[i]=stat.transform(compressor);continue}}if(stat instanceof AST_If&&stat.body instanceof AST_Return){var value=stat.body.value;if(!value&&!stat.alternative&&(in_lambda&&!next||next instanceof AST_Return&&!next.value)){CHANGED=true;statements[i]=make_node(AST_SimpleStatement,stat.condition,{body:stat.condition});continue}if(value&&!stat.alternative&&next instanceof AST_Return&&next.value){CHANGED=true;stat=stat.clone();stat.alternative=next;statements.splice(i,2,stat.transform(compressor));continue}if(multiple_if_returns&&in_lambda&&value&&!stat.alternative&&(!next||next instanceof AST_Return)){CHANGED=true;stat=stat.clone();stat.alternative=next||make_node(AST_Return,stat,{value:null});statements.splice(i,next?2:1,stat.transform(compressor));continue}var prev=statements[i-1];if(compressor.option("sequences")&&in_lambda&&!stat.alternative&&prev instanceof AST_If&&prev.body instanceof AST_Return&&i+2==statements.length&&next instanceof AST_SimpleStatement){CHANGED=true;statements.push(make_node(AST_Return,next,{value:null}).transform(compressor));continue}}}function has_multiple_if_returns(statements){var n=0;for(var i=statements.length;--i>=0;){var stat=statements[i];if(stat instanceof AST_If&&stat.body instanceof AST_Return){if(++n>1)return true}}return false}function is_return_void(value){return!value||value instanceof AST_UnaryPrefix&&value.operator=="void"}function can_merge_flow(ab){if(!ab)return false;var lct=ab instanceof AST_LoopControl?compressor.loopcontrol_target(ab):null;return ab instanceof AST_Return&&in_lambda&&is_return_void(ab.value)||ab instanceof AST_Continue&&self===loop_body(lct)||ab instanceof AST_Break&&lct instanceof AST_BlockStatement&&self===lct}function extract_functions(){var tail=statements.slice(i+1);statements.length=i+1;return tail.filter(function(stat){if(stat instanceof AST_Defun){statements.push(stat);return false}return true})}function as_statement_array_with_return(node,ab){var body=as_statement_array(node).slice(0,-1);if(ab.value){body.push(make_node(AST_SimpleStatement,ab.value,{body:ab.value.expression}))}return body}}function eliminate_dead_code(statements,compressor){var has_quit;var self=compressor.self();for(var i=0,n=0,len=statements.length;i<len;i++){var stat=statements[i];if(stat instanceof AST_LoopControl){var lct=compressor.loopcontrol_target(stat);if(stat instanceof AST_Break&&!(lct instanceof AST_IterationStatement)&&loop_body(lct)===self||stat instanceof AST_Continue&&loop_body(lct)===self){if(stat.label){remove(stat.label.thedef.references,stat)}}else{statements[n++]=stat}}else{statements[n++]=stat}if(aborts(stat)){has_quit=statements.slice(i+1);break}}statements.length=n;CHANGED=n!=len;if(has_quit)has_quit.forEach(function(stat){extract_declarations_from_unreachable_code(compressor,stat,statements)})}function sequencesize(statements,compressor){if(statements.length<2)return;var seq=[],n=0;function push_seq(){if(!seq.length)return;var body=make_sequence(seq[0],seq);statements[n++]=make_node(AST_SimpleStatement,body,{body:body});seq=[]}for(var i=0,len=statements.length;i<len;i++){var stat=statements[i];if(stat instanceof AST_SimpleStatement){if(seq.length>=compressor.sequences_limit)push_seq();var body=stat.body;if(seq.length>0)body=body.drop_side_effect_free(compressor);if(body)merge_sequence(seq,body)}else{push_seq();statements[n++]=stat}}push_seq();statements.length=n;sequencesize_2(statements,compressor);CHANGED=statements.length!=len}function sequencesize_2(statements,compressor){function cons_seq(right){n--;var left=prev.body;if(!(left instanceof AST_Sequence)){left=make_node(AST_Sequence,left,{expressions:[left]})}merge_sequence(left.expressions,right);return left.transform(compressor)}var n=0,prev;for(var i=0,len=statements.length;i<len;i++){var stat=statements[i];if(prev){if(stat instanceof AST_For&&!(stat.init instanceof AST_Definitions)){var abort=false;prev.body.walk(new TreeWalker(function(node){if(abort||node instanceof AST_Scope)return true;if(node instanceof AST_Binary&&node.operator=="in"){abort=true;return true}}));if(!abort){if(stat.init)stat.init=cons_seq(stat.init);else{stat.init=prev.body.drop_side_effect_free(compressor);n--}}}else if(stat instanceof AST_If){stat.condition=cons_seq(stat.condition)}else if(stat instanceof AST_With){stat.expression=cons_seq(stat.expression)}else if(stat instanceof AST_Exit&&stat.value){stat.value=cons_seq(stat.value)}else if(stat instanceof AST_Exit){stat.value=cons_seq(make_node(AST_Undefined,stat).transform(compressor))}else if(stat instanceof AST_Switch){stat.expression=cons_seq(stat.expression)}}statements[n++]=stat;prev=stat instanceof AST_SimpleStatement?stat:null}statements.length=n}function join_consecutive_vars(statements,compressor){for(var i=0,j=-1,len=statements.length;i<len;i++){var stat=statements[i];var prev=statements[j];if(stat instanceof AST_Definitions&&prev&&prev.TYPE==stat.TYPE){prev.definitions=prev.definitions.concat(stat.definitions);CHANGED=true}else if(stat instanceof AST_For&&prev instanceof AST_Var&&(!stat.init||stat.init.TYPE==prev.TYPE)){CHANGED=true;if(stat.init){stat.init.definitions=prev.definitions.concat(stat.init.definitions)}else{stat.init=prev}statements[j]=stat}else{statements[++j]=stat}}statements.length=j+1}}function extract_declarations_from_unreachable_code(compressor,stat,target){if(!(stat instanceof AST_Defun)){compressor.warn("Dropping unreachable code [{file}:{line},{col}]",stat.start)}stat.walk(new TreeWalker(function(node){if(node instanceof AST_Definitions){compressor.warn("Declarations in unreachable code! [{file}:{line},{col}]",node.start);node.remove_initializers();target.push(node);return true}if(node instanceof AST_Defun&&(node===stat||!compressor.has_directive("use strict"))){target.push(node);return true}if(node instanceof AST_Scope){return true}}))}function is_undefined(node,compressor){return node.is_undefined||node instanceof AST_Undefined||node instanceof AST_UnaryPrefix&&node.operator=="void"&&!node.expression.has_side_effects(compressor)}(function(def){AST_Node.DEFMETHOD("may_throw_on_access",function(compressor){return!compressor.option("pure_getters")||this._dot_throw(compressor)});function is_strict(compressor){return/strict/.test(compressor.option("pure_getters"))}def(AST_Node,is_strict);def(AST_Null,return_true);def(AST_Undefined,return_true);def(AST_Constant,return_false);def(AST_Array,return_false);def(AST_Object,function(compressor){if(!is_strict(compressor))return false;for(var i=this.properties.length;--i>=0;)if(this.properties[i].value instanceof AST_Accessor)return true;return false});def(AST_Function,return_false);def(AST_UnaryPostfix,return_false);def(AST_UnaryPrefix,function(){return this.operator=="void"});def(AST_Binary,function(compressor){switch(this.operator){case"&&":return this.left._dot_throw(compressor);case"||":return this.left._dot_throw(compressor)&&this.right._dot_throw(compressor);default:return false}});def(AST_Assign,function(compressor){return this.operator=="="&&this.right._dot_throw(compressor)});def(AST_Conditional,function(compressor){return this.consequent._dot_throw(compressor)||this.alternative._dot_throw(compressor)});def(AST_Sequence,function(compressor){return this.expressions[this.expressions.length-1]._dot_throw(compressor)});def(AST_SymbolRef,function(compressor){if(this.is_undefined)return true;if(!is_strict(compressor))return false;if(is_undeclared_ref(this)&&this.is_declared(compressor))return false;if(this.is_immutable())return false;var fixed=this.fixed_value();return!fixed||fixed._dot_throw(compressor)})})(function(node,func){node.DEFMETHOD("_dot_throw",func)});(function(def){var unary_bool=["!","delete"];var binary_bool=["in","instanceof","==","!=","===","!==","<","<=",">=",">"];def(AST_Node,return_false);def(AST_UnaryPrefix,function(){return member(this.operator,unary_bool)});def(AST_Binary,function(){return member(this.operator,binary_bool)||(this.operator=="&&"||this.operator=="||")&&this.left.is_boolean()&&this.right.is_boolean()});def(AST_Conditional,function(){return this.consequent.is_boolean()&&this.alternative.is_boolean()});def(AST_Assign,function(){return this.operator=="="&&this.right.is_boolean()});def(AST_Sequence,function(){return this.expressions[this.expressions.length-1].is_boolean()});def(AST_True,return_true);def(AST_False,return_true)})(function(node,func){node.DEFMETHOD("is_boolean",func)});(function(def){def(AST_Node,return_false);def(AST_Number,return_true);var unary=makePredicate("+ - ~ ++ --");def(AST_Unary,function(){return unary(this.operator)});var binary=makePredicate("- * / % & | ^ << >> >>>");def(AST_Binary,function(compressor){return binary(this.operator)||this.operator=="+"&&this.left.is_number(compressor)&&this.right.is_number(compressor)});def(AST_Assign,function(compressor){return binary(this.operator.slice(0,-1))||this.operator=="="&&this.right.is_number(compressor)});def(AST_Sequence,function(compressor){return this.expressions[this.expressions.length-1].is_number(compressor)});def(AST_Conditional,function(compressor){return this.consequent.is_number(compressor)&&this.alternative.is_number(compressor)})})(function(node,func){node.DEFMETHOD("is_number",func)});(function(def){def(AST_Node,return_false);def(AST_String,return_true);def(AST_UnaryPrefix,function(){return this.operator=="typeof"});def(AST_Binary,function(compressor){return this.operator=="+"&&(this.left.is_string(compressor)||this.right.is_string(compressor))});def(AST_Assign,function(compressor){return(this.operator=="="||this.operator=="+=")&&this.right.is_string(compressor)});def(AST_Sequence,function(compressor){return this.expressions[this.expressions.length-1].is_string(compressor)});def(AST_Conditional,function(compressor){return this.consequent.is_string(compressor)&&this.alternative.is_string(compressor)})})(function(node,func){node.DEFMETHOD("is_string",func)});var unary_side_effects=makePredicate("delete ++ --");function is_lhs(node,parent){if(parent instanceof AST_Unary&&unary_side_effects(parent.operator))return parent.expression;if(parent instanceof AST_Assign&&parent.left===node)return node}(function(def){AST_Node.DEFMETHOD("resolve_defines",function(compressor){if(!compressor.option("global_defs"))return;var def=this._find_defs(compressor,"");if(def){var node,parent=this,level=0;do{node=parent;parent=compressor.parent(level++)}while(parent instanceof AST_PropAccess&&parent.expression===node);if(is_lhs(node,parent)){compressor.warn("global_defs "+this.print_to_string()+" redefined [{file}:{line},{col}]",this.start)}else{return def}}});function to_node(value,orig){if(value instanceof AST_Node)return make_node(value.CTOR,orig,value);if(Array.isArray(value))return make_node(AST_Array,orig,{elements:value.map(function(value){return to_node(value,orig)})});if(value&&typeof value=="object"){var props=[];for(var key in value)if(HOP(value,key)){props.push(make_node(AST_ObjectKeyVal,orig,{key:key,value:to_node(value[key],orig)}))}return make_node(AST_Object,orig,{properties:props})}return make_node_from_constant(value,orig)}def(AST_Node,noop);def(AST_Dot,function(compressor,suffix){return this.expression._find_defs(compressor,"."+this.property+suffix)});def(AST_SymbolRef,function(compressor,suffix){if(!this.global())return;var name;var defines=compressor.option("global_defs");if(defines&&HOP(defines,name=this.name+suffix)){var node=to_node(defines[name],this);var top=compressor.find_parent(AST_Toplevel);node.walk(new TreeWalker(function(node){if(node instanceof AST_SymbolRef){node.scope=top;node.thedef=top.def_global(node)}}));return node}})})(function(node,func){node.DEFMETHOD("_find_defs",func)});function best_of_expression(ast1,ast2){return ast1.print_to_string().length>ast2.print_to_string().length?ast2:ast1}function best_of_statement(ast1,ast2){return best_of_expression(make_node(AST_SimpleStatement,ast1,{body:ast1}),make_node(AST_SimpleStatement,ast2,{body:ast2})).body}function best_of(compressor,ast1,ast2){return(first_in_statement(compressor)?best_of_statement:best_of_expression)(ast1,ast2)}(function(def){AST_Node.DEFMETHOD("evaluate",function(compressor){if(!compressor.option("evaluate"))return this;var val=this._eval(compressor);return!val||val instanceof RegExp||typeof val!="object"?val:this});var unaryPrefix=makePredicate("! ~ - + void");AST_Node.DEFMETHOD("is_constant",function(){if(this instanceof AST_Constant){return!(this instanceof AST_RegExp)}else{return this instanceof AST_UnaryPrefix&&this.expression instanceof AST_Constant&&unaryPrefix(this.operator)}});AST_Node.DEFMETHOD("constant_value",function(compressor){if(this instanceof AST_Constant&&!(this instanceof AST_RegExp)){return this.value}if(this instanceof AST_UnaryPrefix&&this.expression instanceof AST_Constant)switch(this.operator){case"!":return!this.expression.value;case"~":return~this.expression.value;case"-":return-this.expression.value;case"+":return+this.expression.value;default:throw new Error(string_template("Cannot evaluate unary expression {value}",{value:this.print_to_string()}))}var result=this.evaluate(compressor);if(result!==this){return result}throw new Error(string_template("Cannot evaluate constant [{file}:{line},{col}]",this.start))});def(AST_Statement,function(){throw new Error(string_template("Cannot evaluate a statement [{file}:{line},{col}]",this.start))});def(AST_Lambda,return_this);function ev(node,compressor){if(!compressor)throw new Error("Compressor must be passed");return node._eval(compressor)}def(AST_Node,return_this);def(AST_Constant,function(){return this.getValue()});def(AST_Array,function(compressor){if(compressor.option("unsafe")){var elements=[];for(var i=0,len=this.elements.length;i<len;i++){var element=this.elements[i];var value=ev(element,compressor);if(element===value)return this;elements.push(value)}return elements}return this});def(AST_Object,function(compressor){if(compressor.option("unsafe")){var val={};for(var i=0,len=this.properties.length;i<len;i++){var prop=this.properties[i];var key=prop.key;if(key instanceof AST_Symbol){key=key.name}else if(key instanceof AST_Node){key=ev(key,compressor);if(key===prop.key)return this}if(typeof Object.prototype[key]==="function"){return this}val[key]=ev(prop.value,compressor);if(val[key]===prop.value)return this}return val}return this});def(AST_UnaryPrefix,function(compressor){if(this.operator=="typeof"&&this.expression instanceof AST_Function){return typeof function(){}}var e=ev(this.expression,compressor);if(e===this.expression)return this;switch(this.operator){case"!":return!e;case"typeof":if(e instanceof RegExp)return this;return typeof e;case"void":return void e;case"~":return~e;case"-":return-e;case"+":return+e}return this});def(AST_Binary,function(compressor){var left=ev(this.left,compressor);if(left===this.left)return this;var right=ev(this.right,compressor);if(right===this.right)return this;var result;switch(this.operator){case"&&":result=left&&right;break;case"||":result=left||right;break;case"|":result=left|right;break;case"&":result=left&right;break;case"^":result=left^right;break;case"+":result=left+right;break;case"*":result=left*right;break;case"/":result=left/right;break;case"%":result=left%right;break;case"-":result=left-right;break;case"<<":result=left<<right;break;case">>":result=left>>right;break;case">>>":result=left>>>right;break;case"==":result=left==right;break;case"===":result=left===right;break;case"!=":result=left!=right;break;case"!==":result=left!==right;break;case"<":result=left<right;break;case"<=":result=left<=right;break;case">":result=left>right;break;case">=":result=left>=right;break;default:return this}if(isNaN(result)&&compressor.find_parent(AST_With)){return this}return result});def(AST_Conditional,function(compressor){var condition=ev(this.condition,compressor);if(condition===this.condition)return this;var node=condition?this.consequent:this.alternative;var value=ev(node,compressor);return value===node?this:value});def(AST_SymbolRef,function(compressor){if(!compressor.option("reduce_vars"))return this;var fixed=this.fixed_value();if(!fixed)return this;this._eval=return_this;var value=ev(fixed,compressor);if(value===fixed){delete this._eval;return this}if(!HOP(fixed,"_eval"))fixed._eval=function(){return value};if(value&&typeof value=="object"&&this.definition().escaped){delete this._eval;return this}this._eval=fixed._eval;return value});var global_objs={Array:Array,Math:Math,Number:Number,String:String};function convert_to_predicate(obj){for(var key in obj){obj[key]=makePredicate(obj[key])}}var static_values={Math:["E","LN10","LN2","LOG2E","LOG10E","PI","SQRT1_2","SQRT2"],Number:["MAX_VALUE","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"]};convert_to_predicate(static_values);def(AST_PropAccess,function(compressor){if(compressor.option("unsafe")){var key=this.property;if(key instanceof AST_Node){key=ev(key,compressor);if(key===this.property)return this}var exp=this.expression;var val;if(is_undeclared_ref(exp)){if(!(static_values[exp.name]||return_false)(key))return this;val=global_objs[exp.name]}else{val=ev(exp,compressor);if(!val||val===exp||!HOP(val,key))return this}return val[key]}return this});var object_fns=["constructor","toString","valueOf"];var native_fns={Array:["indexOf","join","lastIndexOf","slice"].concat(object_fns),Boolean:object_fns,Number:["toExponential","toFixed","toPrecision"].concat(object_fns),RegExp:["test"].concat(object_fns),String:["charAt","charCodeAt","concat","indexOf","italics","lastIndexOf","match","replace","search","slice","split","substr","substring","trim"].concat(object_fns)};convert_to_predicate(native_fns);var static_fns={Array:["isArray"],Math:["abs","acos","asin","atan","ceil","cos","exp","floor","log","round","sin","sqrt","tan","atan2","pow","max","min"],Number:["isFinite","isNaN"],String:["fromCharCode"]};convert_to_predicate(static_fns);def(AST_Call,function(compressor){var exp=this.expression;if(compressor.option("unsafe")&&exp instanceof AST_PropAccess){var key=exp.property;if(key instanceof AST_Node){key=ev(key,compressor);if(key===exp.property)return this}var val;var e=exp.expression;if(is_undeclared_ref(e)){if(!(static_fns[e.name]||return_false)(key))return this;val=global_objs[e.name]}else{val=ev(e,compressor);if(val===e||!(val&&native_fns[val.constructor.name]||return_false)(key))return this}var args=[];for(var i=0,len=this.args.length;i<len;i++){var arg=this.args[i];var value=ev(arg,compressor);if(arg===value)return this;args.push(value)}return val[key].apply(val,args)}return this});def(AST_New,return_this)})(function(node,func){node.DEFMETHOD("_eval",func)});(function(def){function basic_negation(exp){return make_node(AST_UnaryPrefix,exp,{operator:"!",expression:exp})}function best(orig,alt,first_in_statement){var negated=basic_negation(orig);if(first_in_statement){var stat=make_node(AST_SimpleStatement,alt,{body:alt});return best_of_expression(negated,stat)===stat?alt:negated}return best_of_expression(negated,alt)}def(AST_Node,function(){return basic_negation(this)});def(AST_Statement,function(){throw new Error("Cannot negate a statement")});def(AST_Function,function(){return basic_negation(this)});def(AST_UnaryPrefix,function(){if(this.operator=="!")return this.expression;return basic_negation(this)});def(AST_Sequence,function(compressor){var expressions=this.expressions.slice();expressions.push(expressions.pop().negate(compressor));return make_sequence(this,expressions)});def(AST_Conditional,function(compressor,first_in_statement){var self=this.clone();self.consequent=self.consequent.negate(compressor);self.alternative=self.alternative.negate(compressor);return best(this,self,first_in_statement)});def(AST_Binary,function(compressor,first_in_statement){var self=this.clone(),op=this.operator;if(compressor.option("unsafe_comps")){switch(op){case"<=":self.operator=">";return self;case"<":self.operator=">=";return self;case">=":self.operator="<";return self;case">":self.operator="<=";return self}}switch(op){case"==":self.operator="!=";return self;case"!=":self.operator="==";return self;case"===":self.operator="!==";return self;case"!==":self.operator="===";return self;case"&&":self.operator="||";self.left=self.left.negate(compressor,first_in_statement);self.right=self.right.negate(compressor);return best(this,self,first_in_statement);case"||":self.operator="&&";self.left=self.left.negate(compressor,first_in_statement);self.right=self.right.negate(compressor);return best(this,self,first_in_statement)}return basic_negation(this)})})(function(node,func){node.DEFMETHOD("negate",function(compressor,first_in_statement){return func.call(this,compressor,first_in_statement)})});AST_Call.DEFMETHOD("has_pure_annotation",function(compressor){if(!compressor.option("side_effects"))return false;if(this.pure!==undefined)return this.pure;var pure=false;var comments,last_comment;if(this.start&&(comments=this.start.comments_before)&&comments.length&&/[@#]__PURE__/.test((last_comment=comments[comments.length-1]).value)){pure=last_comment}return this.pure=pure});(function(def){def(AST_Node,return_true);def(AST_EmptyStatement,return_false);def(AST_Constant,return_false);def(AST_This,return_false);def(AST_Call,function(compressor){if(!this.has_pure_annotation(compressor)&&compressor.pure_funcs(this))return true;for(var i=this.args.length;--i>=0;){if(this.args[i].has_side_effects(compressor))return true}return false});function any(list,compressor){for(var i=list.length;--i>=0;)if(list[i].has_side_effects(compressor))return true;return false}def(AST_Block,function(compressor){return any(this.body,compressor)});def(AST_Switch,function(compressor){return this.expression.has_side_effects(compressor)||any(this.body,compressor)});def(AST_Case,function(compressor){return this.expression.has_side_effects(compressor)||any(this.body,compressor)});def(AST_Try,function(compressor){return any(this.body,compressor)||this.bcatch&&this.bcatch.has_side_effects(compressor)||this.bfinally&&this.bfinally.has_side_effects(compressor)});def(AST_If,function(compressor){return this.condition.has_side_effects(compressor)||this.body&&this.body.has_side_effects(compressor)||this.alternative&&this.alternative.has_side_effects(compressor)});def(AST_LabeledStatement,function(compressor){return this.body.has_side_effects(compressor)});def(AST_SimpleStatement,function(compressor){return this.body.has_side_effects(compressor)});def(AST_Defun,return_true);def(AST_Function,return_false);def(AST_Binary,function(compressor){return this.left.has_side_effects(compressor)||this.right.has_side_effects(compressor)});def(AST_Assign,return_true);def(AST_Conditional,function(compressor){return this.condition.has_side_effects(compressor)||this.consequent.has_side_effects(compressor)||this.alternative.has_side_effects(compressor)});def(AST_Unary,function(compressor){return unary_side_effects(this.operator)||this.expression.has_side_effects(compressor)});def(AST_SymbolRef,function(compressor){return!this.is_declared(compressor)});def(AST_SymbolDeclaration,return_false);def(AST_Object,function(compressor){return any(this.properties,compressor)});def(AST_ObjectProperty,function(compressor){return this.value.has_side_effects(compressor)});def(AST_Array,function(compressor){return any(this.elements,compressor)});def(AST_Dot,function(compressor){return this.expression.may_throw_on_access(compressor)||this.expression.has_side_effects(compressor)});def(AST_Sub,function(compressor){return this.expression.may_throw_on_access(compressor)||this.expression.has_side_effects(compressor)||this.property.has_side_effects(compressor)});def(AST_Sequence,function(compressor){return this.expressions.some(function(expression,index){return expression.has_side_effects(compressor)})})})(function(node,func){node.DEFMETHOD("has_side_effects",func)});(function(def){function all(list){for(var i=list.length;--i>=0;)if(!list[i].is_constant_expression())return false;return true}def(AST_Node,return_false);def(AST_Constant,return_true);def(AST_Unary,function(){return this.expression.is_constant_expression()});def(AST_Binary,function(){return this.left.is_constant_expression()&&this.right.is_constant_expression()});def(AST_Array,function(){return all(this.elements)});def(AST_Object,function(){return all(this.properties)});def(AST_ObjectProperty,function(){return this.value.is_constant_expression()})})(function(node,func){node.DEFMETHOD("is_constant_expression",func)});function aborts(thing){return thing&&thing.aborts()}(function(def){def(AST_Statement,return_null);def(AST_Jump,return_this);function block_aborts(){var n=this.body.length;return n>0&&aborts(this.body[n-1])}def(AST_BlockStatement,block_aborts);def(AST_SwitchBranch,block_aborts);def(AST_If,function(){return this.alternative&&aborts(this.body)&&aborts(this.alternative)&&this})})(function(node,func){node.DEFMETHOD("aborts",func)});OPT(AST_Directive,function(self,compressor){if(compressor.has_directive(self.value)!==self){return make_node(AST_EmptyStatement,self)}return self});OPT(AST_Debugger,function(self,compressor){if(compressor.option("drop_debugger"))return make_node(AST_EmptyStatement,self);return self});OPT(AST_LabeledStatement,function(self,compressor){if(self.body instanceof AST_Break&&compressor.loopcontrol_target(self.body)===self.body){return make_node(AST_EmptyStatement,self)}return self.label.references.length==0?self.body:self});OPT(AST_Block,function(self,compressor){tighten_body(self.body,compressor);return self});OPT(AST_BlockStatement,function(self,compressor){tighten_body(self.body,compressor);switch(self.body.length){case 1:return self.body[0];case 0:return make_node(AST_EmptyStatement,self)}return self});AST_Scope.DEFMETHOD("drop_unused",function(compressor){if(!compressor.option("unused"))return;if(compressor.has_directive("use asm"))return;var self=this;if(self.uses_eval||self.uses_with)return;var drop_funcs=!(self instanceof AST_Toplevel)||compressor.toplevel.funcs;var drop_vars=!(self instanceof AST_Toplevel)||compressor.toplevel.vars;if(!drop_funcs&&!drop_vars)return;var assign_as_unused=/keep_assign/.test(compressor.option("unused"))?return_false:function(node){if(node instanceof AST_Assign&&(node.write_only||node.operator=="=")){return node.left}if(node instanceof AST_Unary&&node.write_only)return node.expression};var in_use=[];var in_use_ids=Object.create(null);if(self instanceof AST_Toplevel&&compressor.top_retain){self.variables.each(function(def){if(compressor.top_retain(def)&&!(def.id in in_use_ids)){in_use_ids[def.id]=true;in_use.push(def)}})}var var_defs_by_id=new Dictionary;var initializations=new Dictionary;var scope=this;var tw=new TreeWalker(function(node,descend){if(node!==self){if(node instanceof AST_Defun){if(!drop_funcs&&scope===self){var node_def=node.name.definition();if(!(node_def.id in in_use_ids)){in_use_ids[node_def.id]=true;in_use.push(node_def)}}initializations.add(node.name.name,node);return true}if(node instanceof AST_Definitions&&scope===self){node.definitions.forEach(function(def){var node_def=def.name.definition();if(def.name instanceof AST_SymbolVar){var_defs_by_id.add(node_def.id,def)}if(!drop_vars){if(!(node_def.id in in_use_ids)){in_use_ids[node_def.id]=true;in_use.push(node_def)}}if(def.value){initializations.add(def.name.name,def.value);if(def.value.has_side_effects(compressor)){def.value.walk(tw)}}});return true}if(assign_as_unused(node)instanceof AST_SymbolRef&&scope===self){if(node instanceof AST_Assign)node.right.walk(tw);return true}if(node instanceof AST_SymbolRef){var node_def=node.definition();if(!(node_def.id in in_use_ids)){in_use_ids[node_def.id]=true;in_use.push(node_def)}return true}if(node instanceof AST_Scope){var save_scope=scope;scope=node;descend();scope=save_scope;return true}}});self.walk(tw);for(var i=0;i<in_use.length;++i){in_use[i].orig.forEach(function(decl){var init=initializations.get(decl.name);if(init)init.forEach(function(init){var tw=new TreeWalker(function(node){if(node instanceof AST_SymbolRef){var node_def=node.definition();if(!(node_def.id in in_use_ids)){in_use_ids[node_def.id]=true;in_use.push(node_def)}}});init.walk(tw)})})}var tt=new TreeTransformer(function before(node,descend,in_list){if(node instanceof AST_Function&&node.name&&!compressor.option("keep_fnames")){var def=node.name.definition();if(!(def.id in in_use_ids)||def.orig.length>1)node.name=null}if(node instanceof AST_Lambda&&!(node instanceof AST_Accessor)){var trim=!compressor.option("keep_fargs");for(var a=node.argnames,i=a.length;--i>=0;){var sym=a[i];if(!(sym.definition().id in in_use_ids)){sym.__unused=true;if(trim){a.pop();compressor[sym.unreferenced()?"warn":"info"]("Dropping unused function argument {name} [{file}:{line},{col}]",template(sym))}}else{trim=false}}}if(drop_funcs&&node instanceof AST_Defun&&node!==self){if(!(node.name.definition().id in in_use_ids)){compressor[node.name.unreferenced()?"warn":"info"]("Dropping unused function {name} [{file}:{line},{col}]",template(node.name));return make_node(AST_EmptyStatement,node)}return node}if(drop_vars&&node instanceof AST_Definitions&&!(tt.parent()instanceof AST_ForIn&&tt.parent().init===node)){var body=[],head=[],tail=[];var side_effects=[];node.definitions.forEach(function(def){if(def.value)def.value=def.value.transform(tt);var sym=def.name.definition();if(sym.id in in_use_ids){if(def.name instanceof AST_SymbolVar){var var_defs=var_defs_by_id.get(sym.id);if(var_defs.length>1&&!def.value){compressor.warn("Dropping duplicated definition of variable {name} [{file}:{line},{col}]",template(def.name));remove(var_defs,def);remove(sym.orig,def.name);return}}if(def.value){if(side_effects.length>0){if(tail.length>0){merge_sequence(side_effects,def.value);def.value=make_sequence(def.value,side_effects)}else{body.push(make_node(AST_SimpleStatement,node,{body:make_sequence(node,side_effects)}))}side_effects=[]}tail.push(def)}else{head.push(def)}}else if(sym.orig[0]instanceof AST_SymbolCatch){var value=def.value&&def.value.drop_side_effect_free(compressor);if(value)merge_sequence(side_effects,value);def.value=null;head.push(def)}else{var value=def.value&&def.value.drop_side_effect_free(compressor);if(value){compressor.warn("Side effects in initialization of unused variable {name} [{file}:{line},{col}]",template(def.name));merge_sequence(side_effects,value)}else{compressor[def.name.unreferenced()?"warn":"info"]("Dropping unused variable {name} [{file}:{line},{col}]",template(def.name))}remove(sym.orig,def.name)}});if(head.length==0&&tail.length==1&&tail[0].name instanceof AST_SymbolVar){var var_defs=var_defs_by_id.get(tail[0].name.definition().id);if(var_defs.length>1){var def=tail.pop();compressor.warn("Converting duplicated definition of variable {name} to assignment [{file}:{line},{col}]",template(def.name));remove(var_defs,def);remove(def.name.definition().orig,def.name);side_effects.unshift(make_node(AST_Assign,def,{operator:"=",left:make_node(AST_SymbolRef,def.name,def.name),right:def.value}))}}if(head.length>0||tail.length>0){node.definitions=head.concat(tail);body.push(node)}if(side_effects.length>0){body.push(make_node(AST_SimpleStatement,node,{body:make_sequence(node,side_effects)}))}switch(body.length){case 0:return in_list?MAP.skip:make_node(AST_EmptyStatement,node);case 1:return body[0];default:return in_list?MAP.splice(body):make_node(AST_BlockStatement,node,{body:body})}}if(drop_vars){var def=assign_as_unused(node);if(def instanceof AST_SymbolRef&&!((def=def.definition()).id in in_use_ids)&&self.variables.get(def.name)===def){if(node instanceof AST_Assign){return maintain_this_binding(tt.parent(),node,node.right.transform(tt))}return make_node(AST_Number,node,{value:0})}}if(node instanceof AST_For){descend(node,this);if(node.init instanceof AST_BlockStatement){var block=node.init;node.init=block.body.pop();block.body.push(node);return in_list?MAP.splice(block.body):block}else if(node.init instanceof AST_SimpleStatement){node.init=node.init.body}else if(is_empty(node.init)){node.init=null}return node}if(node instanceof AST_LabeledStatement&&node.body instanceof AST_For){descend(node,this);if(node.body instanceof AST_BlockStatement){var block=node.body;node.body=block.body.pop();block.body.push(node);return in_list?MAP.splice(block.body):block}return node}if(node instanceof AST_Scope&&node!==self)return node;function template(sym){return{name:sym.name,file:sym.start.file,line:sym.start.line,col:sym.start.col}}});self.transform(tt)});AST_Scope.DEFMETHOD("hoist_declarations",function(compressor){var self=this;if(compressor.has_directive("use asm"))return self;var hoist_funs=compressor.option("hoist_funs");var hoist_vars=compressor.option("hoist_vars");if(hoist_funs||hoist_vars){var dirs=[];var hoisted=[];var vars=new Dictionary,vars_found=0,var_decl=0;self.walk(new TreeWalker(function(node){if(node instanceof AST_Scope&&node!==self)return true;if(node instanceof AST_Var){++var_decl;return true}}));hoist_vars=hoist_vars&&var_decl>1;var tt=new TreeTransformer(function before(node){if(node!==self){if(node instanceof AST_Directive){dirs.push(node);return make_node(AST_EmptyStatement,node)}if(hoist_funs&&node instanceof AST_Defun&&(tt.parent()===self||!compressor.has_directive("use strict"))){hoisted.push(node);return make_node(AST_EmptyStatement,node)}if(hoist_vars&&node instanceof AST_Var){node.definitions.forEach(function(def){vars.set(def.name.name,def);++vars_found});var seq=node.to_assignments(compressor);var p=tt.parent();if(p instanceof AST_ForIn&&p.init===node){if(seq==null){var def=node.definitions[0].name;return make_node(AST_SymbolRef,def,def)}return seq}if(p instanceof AST_For&&p.init===node){return seq}if(!seq)return make_node(AST_EmptyStatement,node);return make_node(AST_SimpleStatement,node,{body:seq})}if(node instanceof AST_Scope)return node}});self=self.transform(tt);if(vars_found>0){var defs=[];vars.each(function(def,name){if(self instanceof AST_Lambda&&find_if(function(x){return x.name==def.name.name},self.argnames)){vars.del(name)}else{def=def.clone();def.value=null;defs.push(def);vars.set(name,def)}});if(defs.length>0){for(var i=0;i<self.body.length;){if(self.body[i]instanceof AST_SimpleStatement){var expr=self.body[i].body,sym,assign;if(expr instanceof AST_Assign&&expr.operator=="="&&(sym=expr.left)instanceof AST_Symbol&&vars.has(sym.name)){var def=vars.get(sym.name);if(def.value)break;def.value=expr.right;remove(defs,def);defs.push(def);self.body.splice(i,1);continue}if(expr instanceof AST_Sequence&&(assign=expr.expressions[0])instanceof AST_Assign&&assign.operator=="="&&(sym=assign.left)instanceof AST_Symbol&&vars.has(sym.name)){var def=vars.get(sym.name);if(def.value)break;def.value=assign.right;remove(defs,def);defs.push(def);self.body[i].body=make_sequence(expr,expr.expressions.slice(1));continue}}if(self.body[i]instanceof AST_EmptyStatement){self.body.splice(i,1);continue}if(self.body[i]instanceof AST_BlockStatement){var tmp=[i,1].concat(self.body[i].body);self.body.splice.apply(self.body,tmp);continue}break}defs=make_node(AST_Var,self,{definitions:defs});hoisted.push(defs)}}self.body=dirs.concat(hoisted,self.body)}return self});(function(def){function trim(nodes,compressor,first_in_statement){var len=nodes.length;if(!len)return null;var ret=[],changed=false;for(var i=0;i<len;i++){var node=nodes[i].drop_side_effect_free(compressor,first_in_statement);changed|=node!==nodes[i];if(node){merge_sequence(ret,node);first_in_statement=false}}return changed?ret.length?ret:null:nodes}def(AST_Node,return_this);def(AST_Constant,return_null);def(AST_This,return_null);def(AST_Call,function(compressor,first_in_statement){if(!this.has_pure_annotation(compressor)&&compressor.pure_funcs(this)){if(this.expression instanceof AST_Function&&(!this.expression.name||!this.expression.name.definition().references.length)){var node=this.clone();node.expression.process_expression(false,compressor);return node}return this}if(this.pure){compressor.warn("Dropping __PURE__ call [{file}:{line},{col}]",this.start);this.pure.value=this.pure.value.replace(/[@#]__PURE__/g," ")}var args=trim(this.args,compressor,first_in_statement);return args&&make_sequence(this,args)});def(AST_Accessor,return_null);def(AST_Function,return_null);def(AST_Binary,function(compressor,first_in_statement){var right=this.right.drop_side_effect_free(compressor);if(!right)return this.left.drop_side_effect_free(compressor,first_in_statement);switch(this.operator){case"&&":case"||":if(right===this.right)return this;var node=this.clone();node.right=right;return node;default:var left=this.left.drop_side_effect_free(compressor,first_in_statement);if(!left)return this.right.drop_side_effect_free(compressor,first_in_statement);return make_sequence(this,[left,right])}});def(AST_Assign,function(compressor){this.write_only=!this.left.has_side_effects(compressor);return this});def(AST_Conditional,function(compressor){var consequent=this.consequent.drop_side_effect_free(compressor);var alternative=this.alternative.drop_side_effect_free(compressor);if(consequent===this.consequent&&alternative===this.alternative)return this;if(!consequent)return alternative?make_node(AST_Binary,this,{operator:"||",left:this.condition,right:alternative}):this.condition.drop_side_effect_free(compressor);if(!alternative)return make_node(AST_Binary,this,{operator:"&&",left:this.condition,right:consequent});var node=this.clone();node.consequent=consequent;node.alternative=alternative;return node});def(AST_Unary,function(compressor,first_in_statement){if(unary_side_effects(this.operator)){this.write_only=!this.expression.has_side_effects(compressor);return this}if(this.operator=="typeof"&&this.expression instanceof AST_SymbolRef)return null;var expression=this.expression.drop_side_effect_free(compressor,first_in_statement);if(first_in_statement&&this instanceof AST_UnaryPrefix&&is_iife_call(expression)){if(expression===this.expression&&this.operator.length===1)return this;return make_node(AST_UnaryPrefix,this,{operator:this.operator.length===1?this.operator:"!",expression:expression})}return expression});def(AST_SymbolRef,function(compressor){return this.is_declared(compressor)?null:this});def(AST_Object,function(compressor,first_in_statement){var values=trim(this.properties,compressor,first_in_statement);return values&&make_sequence(this,values)});def(AST_ObjectProperty,function(compressor,first_in_statement){return this.value.drop_side_effect_free(compressor,first_in_statement)});def(AST_Array,function(compressor,first_in_statement){var values=trim(this.elements,compressor,first_in_statement);return values&&make_sequence(this,values)});def(AST_Dot,function(compressor,first_in_statement){if(this.expression.may_throw_on_access(compressor))return this;return this.expression.drop_side_effect_free(compressor,first_in_statement)});def(AST_Sub,function(compressor,first_in_statement){if(this.expression.may_throw_on_access(compressor))return this;var expression=this.expression.drop_side_effect_free(compressor,first_in_statement);if(!expression)return this.property.drop_side_effect_free(compressor,first_in_statement);var property=this.property.drop_side_effect_free(compressor);if(!property)return expression;return make_sequence(this,[expression,property])});def(AST_Sequence,function(compressor){var last=this.expressions[this.expressions.length-1];var expr=last.drop_side_effect_free(compressor);if(expr===last)return this;var expressions=this.expressions.slice(0,-1);if(expr)merge_sequence(expressions,expr);return make_sequence(this,expressions)})})(function(node,func){node.DEFMETHOD("drop_side_effect_free",func)});OPT(AST_SimpleStatement,function(self,compressor){if(compressor.option("side_effects")){var body=self.body;var node=body.drop_side_effect_free(compressor,true);if(!node){compressor.warn("Dropping side-effect-free statement [{file}:{line},{col}]",self.start);return make_node(AST_EmptyStatement,self)}if(node!==body){return make_node(AST_SimpleStatement,self,{body:node})}}return self});OPT(AST_DWLoop,function(self,compressor){if(!compressor.option("loops"))return self;var cond=self.condition.evaluate(compressor);if(cond!==self.condition){if(cond){return make_node(AST_For,self,{body:self.body})}if(compressor.option("dead_code")&&self instanceof AST_While){var a=[];extract_declarations_from_unreachable_code(compressor,self.body,a);return make_node(AST_BlockStatement,self,{body:a}).optimize(compressor)}if(self instanceof AST_Do){var has_loop_control=false;var tw=new TreeWalker(function(node){if(node instanceof AST_Scope||has_loop_control)return true;if(node instanceof AST_LoopControl&&tw.loopcontrol_target(node)===self)return has_loop_control=true});var parent=compressor.parent();(parent instanceof AST_LabeledStatement?parent:self).walk(tw);if(!has_loop_control)return self.body}}if(self instanceof AST_While){return make_node(AST_For,self,self).optimize(compressor)}return self});function if_break_in_loop(self,compressor){function drop_it(rest){rest=as_statement_array(rest);if(self.body instanceof AST_BlockStatement){self.body=self.body.clone();self.body.body=rest.concat(self.body.body.slice(1));self.body=self.body.transform(compressor)}else{self.body=make_node(AST_BlockStatement,self.body,{body:rest}).transform(compressor)}if_break_in_loop(self,compressor)}var first=self.body instanceof AST_BlockStatement?self.body.body[0]:self.body;if(first instanceof AST_If){if(first.body instanceof AST_Break&&compressor.loopcontrol_target(first.body)===compressor.self()){if(self.condition){self.condition=make_node(AST_Binary,self.condition,{left:self.condition,operator:"&&",right:first.condition.negate(compressor)})}else{self.condition=first.condition.negate(compressor)}drop_it(first.alternative)}else if(first.alternative instanceof AST_Break&&compressor.loopcontrol_target(first.alternative)===compressor.self()){if(self.condition){self.condition=make_node(AST_Binary,self.condition,{left:self.condition,operator:"&&",right:first.condition})}else{self.condition=first.condition}drop_it(first.body)}}}OPT(AST_For,function(self,compressor){if(!compressor.option("loops"))return self;if(self.condition){var cond=self.condition.evaluate(compressor);if(compressor.option("dead_code")&&!cond){var a=[];if(self.init instanceof AST_Statement){a.push(self.init)}else if(self.init){a.push(make_node(AST_SimpleStatement,self.init,{body:self.init}))}extract_declarations_from_unreachable_code(compressor,self.body,a);return make_node(AST_BlockStatement,self,{body:a}).optimize(compressor)}if(cond!==self.condition){cond=make_node_from_constant(cond,self.condition).transform(compressor);self.condition=best_of_expression(cond,self.condition)}}if_break_in_loop(self,compressor);return self});OPT(AST_If,function(self,compressor){if(is_empty(self.alternative))self.alternative=null;if(!compressor.option("conditionals"))return self;var cond=self.condition.evaluate(compressor);if(cond!==self.condition){if(cond){compressor.warn("Condition always true [{file}:{line},{col}]",self.condition.start);if(compressor.option("dead_code")){var a=[];if(self.alternative){extract_declarations_from_unreachable_code(compressor,self.alternative,a)}a.push(self.body);return make_node(AST_BlockStatement,self,{body:a}).optimize(compressor)}}else{compressor.warn("Condition always false [{file}:{line},{col}]",self.condition.start);if(compressor.option("dead_code")){var a=[];extract_declarations_from_unreachable_code(compressor,self.body,a);if(self.alternative)a.push(self.alternative);return make_node(AST_BlockStatement,self,{body:a}).optimize(compressor)}}cond=make_node_from_constant(cond,self.condition).transform(compressor);self.condition=best_of_expression(cond,self.condition)}var negated=self.condition.negate(compressor);var self_condition_length=self.condition.print_to_string().length;var negated_length=negated.print_to_string().length;var negated_is_best=negated_length<self_condition_length;if(self.alternative&&negated_is_best){negated_is_best=false;self.condition=negated;var tmp=self.body;self.body=self.alternative||make_node(AST_EmptyStatement,self);self.alternative=tmp}if(is_empty(self.body)&&is_empty(self.alternative)){return make_node(AST_SimpleStatement,self.condition,{body:self.condition.clone()}).optimize(compressor)}if(self.body instanceof AST_SimpleStatement&&self.alternative instanceof AST_SimpleStatement){return make_node(AST_SimpleStatement,self,{body:make_node(AST_Conditional,self,{condition:self.condition,consequent:self.body.body,alternative:self.alternative.body})}).optimize(compressor)}if(is_empty(self.alternative)&&self.body instanceof AST_SimpleStatement){if(self_condition_length===negated_length&&!negated_is_best&&self.condition instanceof AST_Binary&&self.condition.operator=="||"){negated_is_best=true}if(negated_is_best)return make_node(AST_SimpleStatement,self,{body:make_node(AST_Binary,self,{operator:"||",left:negated,right:self.body.body})}).optimize(compressor);return make_node(AST_SimpleStatement,self,{body:make_node(AST_Binary,self,{operator:"&&",left:self.condition,right:self.body.body})}).optimize(compressor)}if(self.body instanceof AST_EmptyStatement&&self.alternative instanceof AST_SimpleStatement){return make_node(AST_SimpleStatement,self,{body:make_node(AST_Binary,self,{operator:"||",left:self.condition,right:self.alternative.body})}).optimize(compressor)}if(self.body instanceof AST_Exit&&self.alternative instanceof AST_Exit&&self.body.TYPE==self.alternative.TYPE){return make_node(self.body.CTOR,self,{value:make_node(AST_Conditional,self,{condition:self.condition,consequent:self.body.value||make_node(AST_Undefined,self.body),alternative:self.alternative.value||make_node(AST_Undefined,self.alternative)}).transform(compressor)}).optimize(compressor)}if(self.body instanceof AST_If&&!self.body.alternative&&!self.alternative){self=make_node(AST_If,self,{condition:make_node(AST_Binary,self.condition,{operator:"&&",left:self.condition,right:self.body.condition}),body:self.body.body,alternative:null})}if(aborts(self.body)){if(self.alternative){var alt=self.alternative;self.alternative=null;return make_node(AST_BlockStatement,self,{body:[self,alt]}).optimize(compressor)}}if(aborts(self.alternative)){var body=self.body;self.body=self.alternative;self.condition=negated_is_best?negated:self.condition.negate(compressor);self.alternative=null;return make_node(AST_BlockStatement,self,{body:[self,body]}).optimize(compressor)}return self});OPT(AST_Switch,function(self,compressor){if(!compressor.option("switches"))return self;var branch;var value=self.expression.evaluate(compressor);if(value!==self.expression){var expression=make_node_from_constant(value,self.expression).transform(compressor);self.expression=best_of_expression(expression,self.expression)}if(!compressor.option("dead_code"))return self;var decl=[];var body=[];var default_branch;var exact_match;for(var i=0,len=self.body.length;i<len&&!exact_match;i++){branch=self.body[i];if(branch instanceof AST_Default){if(!default_branch){default_branch=branch}else{eliminate_branch(branch,body[body.length-1])}}else if(value!==self.expression){var exp=branch.expression.evaluate(compressor);if(exp===value){exact_match=branch;if(default_branch){var default_index=body.indexOf(default_branch);body.splice(default_index,1);eliminate_branch(default_branch,body[default_index-1]);default_branch=null}}else if(exp!==branch.expression){eliminate_branch(branch,body[body.length-1]);continue}}if(aborts(branch)){var prev=body[body.length-1];if(aborts(prev)&&prev.body.length==branch.body.length&&make_node(AST_BlockStatement,prev,prev).equivalent_to(make_node(AST_BlockStatement,branch,branch))){prev.body=[]}}body.push(branch)}while(i<len)eliminate_branch(self.body[i++],body[body.length-1]);if(body.length>0){body[0].body=decl.concat(body[0].body)}self.body=body;while(branch=body[body.length-1]){var stat=branch.body[branch.body.length-1];if(stat instanceof AST_Break&&compressor.loopcontrol_target(stat)===self)branch.body.pop();if(branch.body.length||branch instanceof AST_Case&&(default_branch||branch.expression.has_side_effects(compressor)))break;if(body.pop()===default_branch)default_branch=null}if(body.length==0){return make_node(AST_BlockStatement,self,{body:decl.concat(make_node(AST_SimpleStatement,self.expression,{body:self.expression}))}).optimize(compressor)}if(body.length==1&&(body[0]===exact_match||body[0]===default_branch)){var has_break=false;var tw=new TreeWalker(function(node){if(has_break||node instanceof AST_Lambda||node instanceof AST_SimpleStatement)return true;if(node instanceof AST_Break&&tw.loopcontrol_target(node)===self)has_break=true});self.walk(tw);if(!has_break){body=body[0].body.slice();body.unshift(make_node(AST_SimpleStatement,self.expression,{body:self.expression}));return make_node(AST_BlockStatement,self,{body:body}).optimize(compressor)}}return self;function eliminate_branch(branch,prev){if(prev&&!aborts(prev)){prev.body=prev.body.concat(branch.body)}else{extract_declarations_from_unreachable_code(compressor,branch,decl)}}});OPT(AST_Try,function(self,compressor){tighten_body(self.body,compressor);if(self.bcatch&&self.bfinally&&all(self.bfinally.body,is_empty))self.bfinally=null;if(all(self.body,is_empty)){var body=[];if(self.bcatch)extract_declarations_from_unreachable_code(compressor,self.bcatch,body);if(self.bfinally)body=body.concat(self.bfinally.body);return make_node(AST_BlockStatement,self,{body:body}).optimize(compressor)}return self});AST_Definitions.DEFMETHOD("remove_initializers",function(){this.definitions.forEach(function(def){def.value=null})});AST_Definitions.DEFMETHOD("to_assignments",function(compressor){var reduce_vars=compressor.option("reduce_vars");var assignments=this.definitions.reduce(function(a,def){if(def.value){var name=make_node(AST_SymbolRef,def.name,def.name);a.push(make_node(AST_Assign,def,{operator:"=",left:name,right:def.value}));if(reduce_vars)name.definition().fixed=false}return a},[]);if(assignments.length==0)return null;return make_sequence(this,assignments)});OPT(AST_Definitions,function(self,compressor){if(self.definitions.length==0)return make_node(AST_EmptyStatement,self);return self});OPT(AST_Call,function(self,compressor){var exp=self.expression;var fn=exp;if(compressor.option("unused")&&(fn instanceof AST_Function||compressor.option("reduce_vars")&&fn instanceof AST_SymbolRef&&(fn=fn.fixed_value())instanceof AST_Function)&&!fn.uses_arguments&&!fn.uses_eval){var pos=0,last=0;for(var i=0,len=self.args.length;i<len;i++){var trim=i>=fn.argnames.length;if(trim||fn.argnames[i].__unused){var node=self.args[i].drop_side_effect_free(compressor);if(node){self.args[pos++]=node}else if(!trim){self.args[pos++]=make_node(AST_Number,self.args[i],{value:0});continue}}else{self.args[pos++]=self.args[i]}last=pos}self.args.length=last}if(compressor.option("unsafe")){if(is_undeclared_ref(exp)){switch(exp.name){case"Array":if(self.args.length!=1){return make_node(AST_Array,self,{elements:self.args}).optimize(compressor)}break;case"Object":if(self.args.length==0){return make_node(AST_Object,self,{properties:[]})}break;case"String":if(self.args.length==0)return make_node(AST_String,self,{value:""});if(self.args.length<=1)return make_node(AST_Binary,self,{left:self.args[0],operator:"+",right:make_node(AST_String,self,{value:""})}).optimize(compressor);break;case"Number":if(self.args.length==0)return make_node(AST_Number,self,{value:0});if(self.args.length==1)return make_node(AST_UnaryPrefix,self,{expression:self.args[0],operator:"+"}).optimize(compressor);case"Boolean":if(self.args.length==0)return make_node(AST_False,self);if(self.args.length==1)return make_node(AST_UnaryPrefix,self,{expression:make_node(AST_UnaryPrefix,self,{expression:self.args[0],operator:"!"}),operator:"!"}).optimize(compressor);break}}else if(exp instanceof AST_Dot&&exp.property=="toString"&&self.args.length==0){return make_node(AST_Binary,self,{left:make_node(AST_String,self,{value:""}),operator:"+",right:exp.expression}).optimize(compressor)}else if(exp instanceof AST_Dot&&exp.expression instanceof AST_Array&&exp.property=="join")EXIT:{var separator;if(self.args.length>0){separator=self.args[0].evaluate(compressor);if(separator===self.args[0])break EXIT}var elements=[];var consts=[];exp.expression.elements.forEach(function(el){var value=el.evaluate(compressor);if(value!==el){consts.push(value)}else{if(consts.length>0){elements.push(make_node(AST_String,self,{value:consts.join(separator)}));consts.length=0}elements.push(el)}});if(consts.length>0){elements.push(make_node(AST_String,self,{value:consts.join(separator)}))}if(elements.length==0)return make_node(AST_String,self,{value:""});if(elements.length==1){if(elements[0].is_string(compressor)){return elements[0]}return make_node(AST_Binary,elements[0],{operator:"+",left:make_node(AST_String,self,{value:""}),right:elements[0]})}if(separator==""){var first;if(elements[0].is_string(compressor)||elements[1].is_string(compressor)){first=elements.shift()}else{first=make_node(AST_String,self,{value:""})}return elements.reduce(function(prev,el){return make_node(AST_Binary,el,{operator:"+",left:prev,right:el})},first).optimize(compressor)}var node=self.clone();node.expression=node.expression.clone();node.expression.expression=node.expression.expression.clone();node.expression.expression.elements=elements;return best_of(compressor,self,node)}else if(exp instanceof AST_Dot&&exp.expression.is_string(compressor)&&exp.property=="charAt"){var arg=self.args[0];var index=arg?arg.evaluate(compressor):0;if(index!==arg){return make_node(AST_Sub,exp,{expression:exp.expression,property:make_node_from_constant(index|0,arg||exp)}).optimize(compressor)}}}if(compressor.option("unsafe_Func")&&is_undeclared_ref(exp)&&exp.name=="Function"){if(self.args.length==0)return make_node(AST_Function,self,{argnames:[],body:[]});if(all(self.args,function(x){return x instanceof AST_String})){try{var code="n(function("+self.args.slice(0,-1).map(function(arg){return arg.value}).join(",")+"){"+self.args[self.args.length-1].value+"})";var ast=parse(code);var mangle={ie8:compressor.option("ie8")};ast.figure_out_scope(mangle);var comp=new Compressor(compressor.options);ast=ast.transform(comp);ast.figure_out_scope(mangle);base54.reset();ast.compute_char_frequency(mangle);ast.mangle_names(mangle);var fun;ast.walk(new TreeWalker(function(node){if(fun)return true;if(node instanceof AST_Lambda){fun=node;return true}}));var code=OutputStream();AST_BlockStatement.prototype._codegen.call(fun,fun,code);self.args=[make_node(AST_String,self,{value:fun.argnames.map(function(arg){return arg.print_to_string()}).join(",")}),make_node(AST_String,self.args[self.args.length-1],{value:code.get().replace(/^\{|\}$/g,"")})];return self}catch(ex){if(ex instanceof JS_Parse_Error){compressor.warn("Error parsing code passed to new Function [{file}:{line},{col}]",self.args[self.args.length-1].start);compressor.warn(ex.toString())}else{throw ex}}}}var stat=fn instanceof AST_Function&&fn.body[0];if(compressor.option("inline")&&stat instanceof AST_Return){var value=stat.value;if(!value||value.is_constant_expression()){var args=self.args.concat(value||make_node(AST_Undefined,self));return make_sequence(self,args).optimize(compressor)}}if(exp instanceof AST_Function){if(compressor.option("inline")&&!exp.name&&!exp.uses_arguments&&!exp.uses_eval&&exp.body.length==1&&all(exp.argnames,function(arg){return arg.__unused})&&!self.has_pure_annotation(compressor)){var value;if(stat instanceof AST_Return){value=stat.value}else if(stat instanceof AST_SimpleStatement){value=make_node(AST_UnaryPrefix,stat,{operator:"void",expression:stat.body})}if(value){var tw=new TreeWalker(function(node){if(!value)return true;if(node instanceof AST_SymbolRef){var ref=node.scope.find_variable(node);if(ref&&ref.scope.parent_scope===fn.parent_scope){value=null;return true}}if(node instanceof AST_This&&!tw.find_parent(AST_Scope)){value=null;return true}});value.walk(tw)}if(value){var args=self.args.concat(value);return make_sequence(self,args).optimize(compressor)}}if(compressor.option("side_effects")&&all(exp.body,is_empty)){var args=self.args.concat(make_node(AST_Undefined,self));return make_sequence(self,args).optimize(compressor)}}if(compressor.option("drop_console")){if(exp instanceof AST_PropAccess){var name=exp.expression;while(name.expression){name=name.expression}if(is_undeclared_ref(name)&&name.name=="console"){return make_node(AST_Undefined,self).optimize(compressor)}}}if(compressor.option("negate_iife")&&compressor.parent()instanceof AST_SimpleStatement&&is_iife_call(self)){return self.negate(compressor,true)}var ev=self.evaluate(compressor);if(ev!==self){ev=make_node_from_constant(ev,self).optimize(compressor);return best_of(compressor,ev,self)}return self});OPT(AST_New,function(self,compressor){if(compressor.option("unsafe")){var exp=self.expression;if(is_undeclared_ref(exp)){switch(exp.name){case"Object":case"RegExp":case"Function":case"Error":case"Array":return make_node(AST_Call,self,self).transform(compressor)}}}return self});OPT(AST_Sequence,function(self,compressor){if(!compressor.option("side_effects"))return self;var expressions=[];filter_for_side_effects();var end=expressions.length-1;trim_right_for_undefined();if(end>0&&compressor.option("cascade"))trim_left_for_assignment();if(end==0){self=maintain_this_binding(compressor.parent(),self,expressions[0]);if(!(self instanceof AST_Sequence))self=self.optimize(compressor);return self}self.expressions=expressions;return self;function filter_for_side_effects(){var first=first_in_statement(compressor);var last=self.expressions.length-1;self.expressions.forEach(function(expr,index){if(index<last)expr=expr.drop_side_effect_free(compressor,first);if(expr){merge_sequence(expressions,expr);first=false}})}function trim_right_for_undefined(){while(end>0&&is_undefined(expressions[end],compressor))end--;if(end<expressions.length-1){expressions[end]=make_node(AST_UnaryPrefix,self,{operator:"void",expression:expressions[end]});expressions.length=end+1}}function trim_left_for_assignment(){for(var i=0,j=1;j<=end;j++){var left=expressions[i];var cdr=expressions[j];if(left instanceof AST_Assign&&!left.left.has_side_effects(compressor)){left=left.left}else if(left instanceof AST_Unary&&(left.operator=="++"||left.operator=="--")){left=left.expression}else left=null;if(!left||is_lhs_read_only(left)){expressions[++i]=cdr;continue}var parent=null,field;expressions[j]=cdr=cdr.clone();while(true){if(cdr.equivalent_to(left)){var car=expressions[i];if(car instanceof AST_UnaryPostfix){car=make_node(AST_UnaryPrefix,car,{operator:car.operator,expression:left})}else{car.write_only=false}if(parent){parent[field]=car;expressions[i]=expressions[j]}else{expressions[i]=car}break}if(cdr instanceof AST_Binary&&!(cdr instanceof AST_Assign)){if(cdr.left.is_constant()){if(cdr.operator=="||"||cdr.operator=="&&"){expressions[++i]=expressions[j];break}field="right"}else{field="left"}}else if(cdr instanceof AST_Call&&!(left instanceof AST_PropAccess&&cdr.expression.equivalent_to(left))||cdr instanceof AST_PropAccess||cdr instanceof AST_Unary&&!unary_side_effects(cdr.operator)){field="expression"}else if(cdr instanceof AST_Conditional){field="condition"}else{expressions[++i]=expressions[j];break}parent=cdr;cdr=cdr[field]=cdr[field].clone()}}end=i;expressions.length=end+1}});AST_Unary.DEFMETHOD("lift_sequences",function(compressor){if(compressor.option("sequences")){if(this.expression instanceof AST_Sequence){var x=this.expression.expressions.slice();var e=this.clone();e.expression=x.pop();x.push(e);return make_sequence(this,x).optimize(compressor)}}return this});OPT(AST_UnaryPostfix,function(self,compressor){return self.lift_sequences(compressor)});OPT(AST_UnaryPrefix,function(self,compressor){var e=self.expression;if(self.operator=="delete"&&!(e instanceof AST_SymbolRef||e instanceof AST_PropAccess||e instanceof AST_NaN||e instanceof AST_Infinity||e instanceof AST_Undefined)){if(e instanceof AST_Sequence){e=e.expressions.slice();e.push(make_node(AST_True,self));return make_sequence(self,e).optimize(compressor)}return make_sequence(self,[e,make_node(AST_True,self)]).optimize(compressor)}var seq=self.lift_sequences(compressor);if(seq!==self){return seq}if(compressor.option("side_effects")&&self.operator=="void"){e=e.drop_side_effect_free(compressor);if(e){self.expression=e;return self}else{return make_node(AST_Undefined,self).optimize(compressor)}}if(compressor.option("booleans")&&compressor.in_boolean_context()){switch(self.operator){case"!":if(e instanceof AST_UnaryPrefix&&e.operator=="!"){return e.expression}if(e instanceof AST_Binary){self=best_of(compressor,self,e.negate(compressor,first_in_statement(compressor)))}break;case"typeof":compressor.warn("Boolean expression always true [{file}:{line},{col}]",self.start);return(e instanceof AST_SymbolRef?make_node(AST_True,self):make_sequence(self,[e,make_node(AST_True,self)])).optimize(compressor)}}if(self.operator=="-"&&e instanceof AST_Infinity){e=e.transform(compressor)}if(e instanceof AST_Binary&&(self.operator=="+"||self.operator=="-")&&(e.operator=="*"||e.operator=="/"||e.operator=="%")){return make_node(AST_Binary,self,{operator:e.operator,left:make_node(AST_UnaryPrefix,e.left,{operator:self.operator,expression:e.left}),right:e.right})}if(self.operator!="-"||!(e instanceof AST_Number||e instanceof AST_Infinity)){var ev=self.evaluate(compressor);if(ev!==self){ev=make_node_from_constant(ev,self).optimize(compressor);return best_of(compressor,ev,self)}}return self});AST_Binary.DEFMETHOD("lift_sequences",function(compressor){if(compressor.option("sequences")){if(this.left instanceof AST_Sequence){var x=this.left.expressions.slice();var e=this.clone();e.left=x.pop();x.push(e);return make_sequence(this,x).optimize(compressor)}if(this.right instanceof AST_Sequence&&!this.left.has_side_effects(compressor)){var assign=this.operator=="="&&this.left instanceof AST_SymbolRef;var x=this.right.expressions;var last=x.length-1;for(var i=0;i<last;i++){if(!assign&&x[i].has_side_effects(compressor))break}if(i==last){x=x.slice();var e=this.clone();e.right=x.pop();x.push(e);return make_sequence(this,x).optimize(compressor)}else if(i>0){var e=this.clone();e.right=make_sequence(this.right,x.slice(i));x=x.slice(0,i);x.push(e);return make_sequence(this,x).optimize(compressor)}}}return this});var commutativeOperators=makePredicate("== === != !== * & | ^");OPT(AST_Binary,function(self,compressor){function reversible(){return self.left.is_constant()||self.right.is_constant()||!self.left.has_side_effects(compressor)&&!self.right.has_side_effects(compressor)}function reverse(op){if(reversible()){if(op)self.operator=op;var tmp=self.left;self.left=self.right;self.right=tmp}}if(commutativeOperators(self.operator)){if(self.right.is_constant()&&!self.left.is_constant()){if(!(self.left instanceof AST_Binary&&PRECEDENCE[self.left.operator]>=PRECEDENCE[self.operator])){reverse()}}}self=self.lift_sequences(compressor);if(compressor.option("comparisons"))switch(self.operator){case"===":case"!==":if(self.left.is_string(compressor)&&self.right.is_string(compressor)||self.left.is_number(compressor)&&self.right.is_number(compressor)||self.left.is_boolean()&&self.right.is_boolean()){self.operator=self.operator.substr(0,2)}case"==":case"!=":if(compressor.option("typeofs")&&self.left instanceof AST_String&&self.left.value=="undefined"&&self.right instanceof AST_UnaryPrefix&&self.right.operator=="typeof"){var expr=self.right.expression;if(expr instanceof AST_SymbolRef?expr.is_declared(compressor):!(expr instanceof AST_PropAccess&&compressor.option("ie8"))){self.right=expr;self.left=make_node(AST_Undefined,self.left).optimize(compressor);if(self.operator.length==2)self.operator+="="}}break}if(compressor.option("booleans")&&self.operator=="+"&&compressor.in_boolean_context()){var ll=self.left.evaluate(compressor);var rr=self.right.evaluate(compressor);if(ll&&typeof ll=="string"){compressor.warn("+ in boolean context always true [{file}:{line},{col}]",self.start);return make_sequence(self,[self.right,make_node(AST_True,self)]).optimize(compressor)}if(rr&&typeof rr=="string"){compressor.warn("+ in boolean context always true [{file}:{line},{col}]",self.start);return make_sequence(self,[self.left,make_node(AST_True,self)]).optimize(compressor)}}if(compressor.option("comparisons")&&self.is_boolean()){if(!(compressor.parent()instanceof AST_Binary)||compressor.parent()instanceof AST_Assign){var negated=make_node(AST_UnaryPrefix,self,{operator:"!",expression:self.negate(compressor,first_in_statement(compressor))});self=best_of(compressor,self,negated)}if(compressor.option("unsafe_comps")){switch(self.operator){case"<":reverse(">");break;case"<=":reverse(">=");break}}}if(self.operator=="+"){if(self.right instanceof AST_String&&self.right.getValue()==""&&self.left.is_string(compressor)){return self.left}if(self.left instanceof AST_String&&self.left.getValue()==""&&self.right.is_string(compressor)){return self.right}if(self.left instanceof AST_Binary&&self.left.operator=="+"&&self.left.left instanceof AST_String&&self.left.left.getValue()==""&&self.right.is_string(compressor)){self.left=self.left.right;return self.transform(compressor)}}if(compressor.option("evaluate")){switch(self.operator){case"&&":var ll=self.left.evaluate(compressor);if(!ll){compressor.warn("Condition left of && always false [{file}:{line},{col}]",self.start);return maintain_this_binding(compressor.parent(),self,self.left).optimize(compressor)}else if(ll!==self.left){compressor.warn("Condition left of && always true [{file}:{line},{col}]",self.start);return maintain_this_binding(compressor.parent(),self,self.right).optimize(compressor)}if(compressor.option("booleans")&&compressor.in_boolean_context()){var rr=self.right.evaluate(compressor);if(!rr){compressor.warn("Boolean && always false [{file}:{line},{col}]",self.start);return make_sequence(self,[self.left,make_node(AST_False,self)]).optimize(compressor)}else if(rr!==self.right){compressor.warn("Dropping side-effect-free && in boolean context [{file}:{line},{col}]",self.start);return self.left.optimize(compressor)}}break;case"||":var ll=self.left.evaluate(compressor);if(!ll){compressor.warn("Condition left of || always false [{file}:{line},{col}]",self.start);return maintain_this_binding(compressor.parent(),self,self.right).optimize(compressor)}else if(ll!==self.left){compressor.warn("Condition left of || always true [{file}:{line},{col}]",self.start);return maintain_this_binding(compressor.parent(),self,self.left).optimize(compressor)}if(compressor.option("booleans")&&compressor.in_boolean_context()){var rr=self.right.evaluate(compressor);if(!rr){compressor.warn("Dropping side-effect-free || in boolean context [{file}:{line},{col}]",self.start);return self.left.optimize(compressor)}else if(rr!==self.right){compressor.warn("Boolean || always true [{file}:{line},{col}]",self.start);return make_sequence(self,[self.left,make_node(AST_True,self)]).optimize(compressor)}}break}var associative=true;switch(self.operator){case"+":if(self.left instanceof AST_Constant&&self.right instanceof AST_Binary&&self.right.operator=="+"&&self.right.left instanceof AST_Constant&&self.right.is_string(compressor)){self=make_node(AST_Binary,self,{operator:"+",left:make_node(AST_String,self.left,{value:""+self.left.getValue()+self.right.left.getValue(),start:self.left.start,end:self.right.left.end}),right:self.right.right})}if(self.right instanceof AST_Constant&&self.left instanceof AST_Binary&&self.left.operator=="+"&&self.left.right instanceof AST_Constant&&self.left.is_string(compressor)){self=make_node(AST_Binary,self,{operator:"+",left:self.left.left,right:make_node(AST_String,self.right,{value:""+self.left.right.getValue()+self.right.getValue(),start:self.left.right.start,end:self.right.end})})}if(self.left instanceof AST_Binary&&self.left.operator=="+"&&self.left.is_string(compressor)&&self.left.right instanceof AST_Constant&&self.right instanceof AST_Binary&&self.right.operator=="+"&&self.right.left instanceof AST_Constant&&self.right.is_string(compressor)){self=make_node(AST_Binary,self,{operator:"+",left:make_node(AST_Binary,self.left,{operator:"+",left:self.left.left,right:make_node(AST_String,self.left.right,{value:""+self.left.right.getValue()+self.right.left.getValue(),start:self.left.right.start,end:self.right.left.end})}),right:self.right.right})}if(self.right instanceof AST_UnaryPrefix&&self.right.operator=="-"&&self.left.is_number(compressor)){self=make_node(AST_Binary,self,{operator:"-",left:self.left,right:self.right.expression});break}if(self.left instanceof AST_UnaryPrefix&&self.left.operator=="-"&&reversible()&&self.right.is_number(compressor)){self=make_node(AST_Binary,self,{operator:"-",left:self.right,right:self.left.expression});break}case"*":associative=compressor.option("unsafe_math");case"&":case"|":case"^":if(self.left.is_number(compressor)&&self.right.is_number(compressor)&&reversible()&&!(self.left instanceof AST_Binary&&self.left.operator!=self.operator&&PRECEDENCE[self.left.operator]>=PRECEDENCE[self.operator])){var reversed=make_node(AST_Binary,self,{operator:self.operator,left:self.right,right:self.left});if(self.right instanceof AST_Constant&&!(self.left instanceof AST_Constant)){self=best_of(compressor,reversed,self)}else{self=best_of(compressor,self,reversed)}}if(associative&&self.is_number(compressor)){if(self.right instanceof AST_Binary&&self.right.operator==self.operator){self=make_node(AST_Binary,self,{operator:self.operator,left:make_node(AST_Binary,self.left,{operator:self.operator,left:self.left,right:self.right.left,start:self.left.start,end:self.right.left.end}),right:self.right.right})}if(self.right instanceof AST_Constant&&self.left instanceof AST_Binary&&self.left.operator==self.operator){if(self.left.left instanceof AST_Constant){self=make_node(AST_Binary,self,{operator:self.operator,left:make_node(AST_Binary,self.left,{operator:self.operator,left:self.left.left,right:self.right,start:self.left.left.start,end:self.right.end}),right:self.left.right})}else if(self.left.right instanceof AST_Constant){self=make_node(AST_Binary,self,{operator:self.operator,left:make_node(AST_Binary,self.left,{operator:self.operator,left:self.left.right,right:self.right,start:self.left.right.start,end:self.right.end}),right:self.left.left})}}if(self.left instanceof AST_Binary&&self.left.operator==self.operator&&self.left.right instanceof AST_Constant&&self.right instanceof AST_Binary&&self.right.operator==self.operator&&self.right.left instanceof AST_Constant){self=make_node(AST_Binary,self,{operator:self.operator,left:make_node(AST_Binary,self.left,{operator:self.operator,left:make_node(AST_Binary,self.left.left,{operator:self.operator,left:self.left.right,right:self.right.left,start:self.left.right.start,end:self.right.left.end}),right:self.left.left}),right:self.right.right})}}}}if(self.right instanceof AST_Binary&&self.right.operator==self.operator&&(self.operator=="&&"||self.operator=="||"||self.operator=="+"&&(self.right.left.is_string(compressor)||self.left.is_string(compressor)&&self.right.right.is_string(compressor)))){self.left=make_node(AST_Binary,self.left,{operator:self.operator,left:self.left,right:self.right.left});self.right=self.right.right;return self.transform(compressor)}var ev=self.evaluate(compressor);if(ev!==self){ev=make_node_from_constant(ev,self).optimize(compressor);return best_of(compressor,ev,self)}return self});OPT(AST_SymbolRef,function(self,compressor){var def=self.resolve_defines(compressor);if(def){return def.optimize(compressor)}if(!compressor.option("ie8")&&is_undeclared_ref(self)&&(!self.scope.uses_with||!compressor.find_parent(AST_With))){switch(self.name){case"undefined":return make_node(AST_Undefined,self).optimize(compressor);case"NaN":return make_node(AST_NaN,self).optimize(compressor);case"Infinity":return make_node(AST_Infinity,self).optimize(compressor)}}if(compressor.option("reduce_vars")&&is_lhs(self,compressor.parent())!==self){var d=self.definition();var fixed=self.fixed_value();if(fixed instanceof AST_Defun){d.fixed=fixed=make_node(AST_Function,fixed,fixed)}if(compressor.option("unused")&&fixed instanceof AST_Function&&d.references.length==1&&!(d.scope.uses_arguments&&d.orig[0]instanceof AST_SymbolFunarg)&&!d.scope.uses_eval&&compressor.find_parent(AST_Scope)===fixed.parent_scope){return fixed.clone(true)}if(compressor.option("evaluate")&&fixed){if(d.should_replace===undefined){var init=fixed.evaluate(compressor);if(init!==fixed&&(compressor.option("unsafe_regexp")||!(init instanceof RegExp))){init=make_node_from_constant(init,fixed);var value_length=init.optimize(compressor).print_to_string().length;var fn;if(has_symbol_ref(fixed)){fn=function(){var result=init.optimize(compressor);return result===init?result.clone(true):result}}else{value_length=Math.min(value_length,fixed.print_to_string().length);fn=function(){var result=best_of_expression(init.optimize(compressor),fixed);return result===init||result===fixed?result.clone(true):result}}var name_length=d.name.length;var overhead=0;if(compressor.option("unused")&&!compressor.exposed(d)){overhead=(name_length+2+value_length)/d.references.length}d.should_replace=value_length<=name_length+overhead?fn:false}else{d.should_replace=false}}if(d.should_replace){return d.should_replace()}}}return self;function has_symbol_ref(value){var found;value.walk(new TreeWalker(function(node){if(node instanceof AST_SymbolRef)found=true;if(found)return true}));return found}});function is_atomic(lhs,self){return lhs instanceof AST_SymbolRef||lhs.TYPE===self.TYPE}OPT(AST_Undefined,function(self,compressor){if(compressor.option("unsafe")){var undef=find_variable(compressor,"undefined");if(undef){var ref=make_node(AST_SymbolRef,self,{name:"undefined",scope:undef.scope,thedef:undef});ref.is_undefined=true;return ref}}var lhs=is_lhs(compressor.self(),compressor.parent());if(lhs&&is_atomic(lhs,self))return self;return make_node(AST_UnaryPrefix,self,{operator:"void",expression:make_node(AST_Number,self,{value:0})})});OPT(AST_Infinity,function(self,compressor){var lhs=is_lhs(compressor.self(),compressor.parent());if(lhs&&is_atomic(lhs,self))return self;if(compressor.option("keep_infinity")&&!(lhs&&!is_atomic(lhs,self))&&!find_variable(compressor,"Infinity"))return self;return make_node(AST_Binary,self,{operator:"/",left:make_node(AST_Number,self,{value:1}),right:make_node(AST_Number,self,{value:0})})});OPT(AST_NaN,function(self,compressor){var lhs=is_lhs(compressor.self(),compressor.parent());if(lhs&&!is_atomic(lhs,self)||find_variable(compressor,"NaN")){return make_node(AST_Binary,self,{operator:"/",left:make_node(AST_Number,self,{value:0}),right:make_node(AST_Number,self,{value:0})})}return self});var ASSIGN_OPS=["+","-","/","*","%",">>","<<",">>>","|","^","&"];var ASSIGN_OPS_COMMUTATIVE=["*","|","^","&"];OPT(AST_Assign,function(self,compressor){self=self.lift_sequences(compressor);if(self.operator=="="&&self.left instanceof AST_SymbolRef&&self.right instanceof AST_Binary){if(self.right.left instanceof AST_SymbolRef&&self.right.left.name==self.left.name&&member(self.right.operator,ASSIGN_OPS)){self.operator=self.right.operator+"=";self.right=self.right.right}else if(self.right.right instanceof AST_SymbolRef&&self.right.right.name==self.left.name&&member(self.right.operator,ASSIGN_OPS_COMMUTATIVE)&&!self.right.left.has_side_effects(compressor)){self.operator=self.right.operator+"=";self.right=self.right.left}}return self});OPT(AST_Conditional,function(self,compressor){if(!compressor.option("conditionals"))return self;if(self.condition instanceof AST_Sequence){var expressions=self.condition.expressions.slice();self.condition=expressions.pop();expressions.push(self);return make_sequence(self,expressions)}var cond=self.condition.evaluate(compressor);if(cond!==self.condition){if(cond){compressor.warn("Condition always true [{file}:{line},{col}]",self.start);return maintain_this_binding(compressor.parent(),self,self.consequent)}else{compressor.warn("Condition always false [{file}:{line},{col}]",self.start);return maintain_this_binding(compressor.parent(),self,self.alternative)}}var negated=cond.negate(compressor,first_in_statement(compressor));if(best_of(compressor,cond,negated)===negated){self=make_node(AST_Conditional,self,{condition:negated,consequent:self.alternative,alternative:self.consequent})}var condition=self.condition;var consequent=self.consequent;var alternative=self.alternative;if(condition instanceof AST_SymbolRef&&consequent instanceof AST_SymbolRef&&condition.definition()===consequent.definition()){return make_node(AST_Binary,self,{operator:"||",left:condition,right:alternative})}if(consequent instanceof AST_Assign&&alternative instanceof AST_Assign&&consequent.operator==alternative.operator&&consequent.left.equivalent_to(alternative.left)&&(!self.condition.has_side_effects(compressor)||consequent.operator=="="&&!consequent.left.has_side_effects(compressor))){return make_node(AST_Assign,self,{operator:consequent.operator,left:consequent.left,right:make_node(AST_Conditional,self,{condition:self.condition,consequent:consequent.right,alternative:alternative.right})})}if(consequent instanceof AST_Call&&alternative.TYPE===consequent.TYPE&&consequent.args.length==1&&alternative.args.length==1&&consequent.expression.equivalent_to(alternative.expression)&&!consequent.expression.has_side_effects(compressor)){consequent.args[0]=make_node(AST_Conditional,self,{condition:self.condition,consequent:consequent.args[0],alternative:alternative.args[0]});return consequent}if(consequent instanceof AST_Conditional&&consequent.alternative.equivalent_to(alternative)){return make_node(AST_Conditional,self,{condition:make_node(AST_Binary,self,{left:self.condition,operator:"&&",right:consequent.condition}),consequent:consequent.consequent,alternative:alternative})}if(consequent.equivalent_to(alternative)){return make_sequence(self,[self.condition,consequent]).optimize(compressor)}if(is_true(self.consequent)){if(is_false(self.alternative)){return booleanize(self.condition)}return make_node(AST_Binary,self,{operator:"||",left:booleanize(self.condition),right:self.alternative})}if(is_false(self.consequent)){if(is_true(self.alternative)){return booleanize(self.condition.negate(compressor))}return make_node(AST_Binary,self,{operator:"&&",left:booleanize(self.condition.negate(compressor)),right:self.alternative})}if(is_true(self.alternative)){return make_node(AST_Binary,self,{operator:"||",left:booleanize(self.condition.negate(compressor)),right:self.consequent})}if(is_false(self.alternative)){return make_node(AST_Binary,self,{operator:"&&",left:booleanize(self.condition),right:self.consequent})}return self;function booleanize(node){if(node.is_boolean())return node;return make_node(AST_UnaryPrefix,node,{operator:"!",expression:node.negate(compressor)})}function is_true(node){return node instanceof AST_True||node instanceof AST_UnaryPrefix&&node.operator=="!"&&node.expression instanceof AST_Constant&&!node.expression.value}function is_false(node){return node instanceof AST_False||node instanceof AST_UnaryPrefix&&node.operator=="!"&&node.expression instanceof AST_Constant&&!!node.expression.value}});OPT(AST_Boolean,function(self,compressor){if(compressor.option("booleans")){var p=compressor.parent();if(p instanceof AST_Binary&&(p.operator=="=="||p.operator=="!=")){compressor.warn("Non-strict equality against boolean: {operator} {value} [{file}:{line},{col}]",{operator:p.operator,value:self.value,file:p.start.file,line:p.start.line,col:p.start.col});return make_node(AST_Number,self,{value:+self.value})}return make_node(AST_UnaryPrefix,self,{operator:"!",expression:make_node(AST_Number,self,{value:1-self.value})})}return self});OPT(AST_Sub,function(self,compressor){var prop=self.property;if(prop instanceof AST_String&&compressor.option("properties")){prop=prop.getValue();if(is_identifier_string(prop)){return make_node(AST_Dot,self,{expression:self.expression,property:prop}).optimize(compressor)}var v=parseFloat(prop);if(!isNaN(v)&&v.toString()==prop){self.property=make_node(AST_Number,self.property,{value:v})}}var ev=self.evaluate(compressor);if(ev!==self){ev=make_node_from_constant(ev,self).optimize(compressor);return best_of(compressor,ev,self)}return self});AST_Lambda.DEFMETHOD("contains_this",function(){var result;var self=this;self.walk(new TreeWalker(function(node){if(result)return true;if(node instanceof AST_This)return result=true;if(node!==self&&node instanceof AST_Scope)return true}));return result});OPT(AST_Dot,function(self,compressor){var def=self.resolve_defines(compressor);if(def){return def.optimize(compressor)}if(compressor.option("unsafe")&&self.expression instanceof AST_Object){var values=self.expression.properties;for(var i=values.length;--i>=0;){if(values[i].key===self.property){var value=values[i].value;if(value instanceof AST_Function?!value.contains_this():!value.has_side_effects(compressor)){var obj=self.expression.clone();obj.properties=obj.properties.slice();obj.properties.splice(i,1);return make_sequence(self,[obj,value]).optimize(compressor)}}}}if(compressor.option("unsafe_proto")&&self.expression instanceof AST_Dot&&self.expression.property=="prototype"){var exp=self.expression.expression;if(is_undeclared_ref(exp))switch(exp.name){case"Array":self.expression=make_node(AST_Array,self.expression,{elements:[]});break;case"Object":self.expression=make_node(AST_Object,self.expression,{properties:[]});break;case"String":self.expression=make_node(AST_String,self.expression,{value:""});break}}var ev=self.evaluate(compressor);if(ev!==self){ev=make_node_from_constant(ev,self).optimize(compressor);return best_of(compressor,ev,self)}return self});function literals_in_boolean_context(self,compressor){if(compressor.option("booleans")&&compressor.in_boolean_context()){return best_of(compressor,self,make_sequence(self,[self,make_node(AST_True,self)]).optimize(compressor))}return self}OPT(AST_Array,literals_in_boolean_context);OPT(AST_Object,literals_in_boolean_context);OPT(AST_RegExp,literals_in_boolean_context);OPT(AST_Return,function(self,compressor){if(self.value&&is_undefined(self.value,compressor)){self.value=null}return self});OPT(AST_VarDef,function(self,compressor){var defines=compressor.option("global_defs");if(defines&&HOP(defines,self.name.name)){compressor.warn("global_defs "+self.name.name+" redefined [{file}:{line},{col}]",self.start)}return self})})();"use strict";function SourceMap(options){options=defaults(options,{file:null,root:null,orig:null,orig_line_diff:0,dest_line_diff:0});var generator=new MOZ_SourceMap.SourceMapGenerator({file:options.file,sourceRoot:options.root});var orig_map=options.orig&&new MOZ_SourceMap.SourceMapConsumer(options.orig);if(orig_map&&Array.isArray(options.orig.sources)){orig_map._sources.toArray().forEach(function(source){var sourceContent=orig_map.sourceContentFor(source,true);if(sourceContent){generator.setSourceContent(source,sourceContent)}})}function add(source,gen_line,gen_col,orig_line,orig_col,name){if(orig_map){var info=orig_map.originalPositionFor({line:orig_line,column:orig_col});if(info.source===null){return}source=info.source;orig_line=info.line;orig_col=info.column;name=info.name||name}generator.addMapping({generated:{line:gen_line+options.dest_line_diff,column:gen_col},original:{line:orig_line+options.orig_line_diff,column:orig_col},source:source,name:name})}return{add:add,get:function(){return generator},toString:function(){return JSON.stringify(generator.toJSON())}}}"use strict";(function(){var normalize_directives=function(body){var in_directive=true;for(var i=0;i<body.length;i++){if(in_directive&&body[i]instanceof AST_Statement&&body[i].body instanceof AST_String){body[i]=new AST_Directive({start:body[i].start,end:body[i].end,value:body[i].body.value})}else if(in_directive&&!(body[i]instanceof AST_Statement&&body[i].body instanceof AST_String)){in_directive=false}}return body};var MOZ_TO_ME={Program:function(M){return new AST_Toplevel({start:my_start_token(M),end:my_end_token(M),body:normalize_directives(M.body.map(from_moz))})},FunctionDeclaration:function(M){return new AST_Defun({start:my_start_token(M),end:my_end_token(M),name:from_moz(M.id),argnames:M.params.map(from_moz),body:normalize_directives(from_moz(M.body).body)})},FunctionExpression:function(M){return new AST_Function({start:my_start_token(M),end:my_end_token(M),name:from_moz(M.id),argnames:M.params.map(from_moz),body:normalize_directives(from_moz(M.body).body)})},ExpressionStatement:function(M){return new AST_SimpleStatement({start:my_start_token(M),end:my_end_token(M),body:from_moz(M.expression)})},TryStatement:function(M){var handlers=M.handlers||[M.handler];if(handlers.length>1||M.guardedHandlers&&M.guardedHandlers.length){throw new Error("Multiple catch clauses are not supported.")}return new AST_Try({start:my_start_token(M),end:my_end_token(M),body:from_moz(M.block).body,bcatch:from_moz(handlers[0]),bfinally:M.finalizer?new AST_Finally(from_moz(M.finalizer)):null})},Property:function(M){var key=M.key;var args={start:my_start_token(key),end:my_end_token(M.value),key:key.type=="Identifier"?key.name:key.value,value:from_moz(M.value)};if(M.kind=="init")return new AST_ObjectKeyVal(args);args.key=new AST_SymbolAccessor({name:args.key});args.value=new AST_Accessor(args.value);if(M.kind=="get")return new AST_ObjectGetter(args);if(M.kind=="set")return new AST_ObjectSetter(args)},ArrayExpression:function(M){return new AST_Array({start:my_start_token(M),end:my_end_token(M),elements:M.elements.map(function(elem){return elem===null?new AST_Hole:from_moz(elem)})})},ObjectExpression:function(M){return new AST_Object({start:my_start_token(M),end:my_end_token(M),properties:M.properties.map(function(prop){prop.type="Property";return from_moz(prop)})})},SequenceExpression:function(M){return new AST_Sequence({start:my_start_token(M),end:my_end_token(M),expressions:M.expressions.map(from_moz)})},MemberExpression:function(M){return new(M.computed?AST_Sub:AST_Dot)({start:my_start_token(M),end:my_end_token(M),property:M.computed?from_moz(M.property):M.property.name,expression:from_moz(M.object)})},SwitchCase:function(M){return new(M.test?AST_Case:AST_Default)({start:my_start_token(M),end:my_end_token(M),expression:from_moz(M.test),body:M.consequent.map(from_moz)})},VariableDeclaration:function(M){return new AST_Var({start:my_start_token(M),end:my_end_token(M),definitions:M.declarations.map(from_moz)})},Literal:function(M){var val=M.value,args={start:my_start_token(M),end:my_end_token(M)};if(val===null)return new AST_Null(args);switch(typeof val){case"string":args.value=val;return new AST_String(args);case"number":args.value=val;return new AST_Number(args);case"boolean":return new(val?AST_True:AST_False)(args);default:var rx=M.regex;if(rx&&rx.pattern){args.value=new RegExp(rx.pattern,rx.flags).toString()}else{args.value=M.regex&&M.raw?M.raw:val}return new AST_RegExp(args)}},Identifier:function(M){var p=FROM_MOZ_STACK[FROM_MOZ_STACK.length-2];return new(p.type=="LabeledStatement"?AST_Label:p.type=="VariableDeclarator"&&p.id===M?AST_SymbolVar:p.type=="FunctionExpression"?p.id===M?AST_SymbolLambda:AST_SymbolFunarg:p.type=="FunctionDeclaration"?p.id===M?AST_SymbolDefun:AST_SymbolFunarg:p.type=="CatchClause"?AST_SymbolCatch:p.type=="BreakStatement"||p.type=="ContinueStatement"?AST_LabelRef:AST_SymbolRef)({start:my_start_token(M),end:my_end_token(M),name:M.name})}};MOZ_TO_ME.UpdateExpression=MOZ_TO_ME.UnaryExpression=function To_Moz_Unary(M){var prefix="prefix"in M?M.prefix:M.type=="UnaryExpression"?true:false;return new(prefix?AST_UnaryPrefix:AST_UnaryPostfix)({start:my_start_token(M),end:my_end_token(M),operator:M.operator,expression:from_moz(M.argument)})};map("EmptyStatement",AST_EmptyStatement);map("BlockStatement",AST_BlockStatement,"body@body");map("IfStatement",AST_If,"test>condition, consequent>body, alternate>alternative");map("LabeledStatement",AST_LabeledStatement,"label>label, body>body");map("BreakStatement",AST_Break,"label>label");map("ContinueStatement",AST_Continue,"label>label");map("WithStatement",AST_With,"object>expression, body>body");map("SwitchStatement",AST_Switch,"discriminant>expression, cases@body");map("ReturnStatement",AST_Return,"argument>value");map("ThrowStatement",AST_Throw,"argument>value");map("WhileStatement",AST_While,"test>condition, body>body");map("DoWhileStatement",AST_Do,"test>condition, body>body");map("ForStatement",AST_For,"init>init, test>condition, update>step, body>body");map("ForInStatement",AST_ForIn,"left>init, right>object, body>body");map("DebuggerStatement",AST_Debugger);map("VariableDeclarator",AST_VarDef,"id>name, init>value");map("CatchClause",AST_Catch,"param>argname, body%body");map("ThisExpression",AST_This);map("BinaryExpression",AST_Binary,"operator=operator, left>left, right>right");map("LogicalExpression",AST_Binary,"operator=operator, left>left, right>right");map("AssignmentExpression",AST_Assign,"operator=operator, left>left, right>right");map("ConditionalExpression",AST_Conditional,"test>condition, consequent>consequent, alternate>alternative");map("NewExpression",AST_New,"callee>expression, arguments@args");map("CallExpression",AST_Call,"callee>expression, arguments@args");def_to_moz(AST_Toplevel,function To_Moz_Program(M){return to_moz_scope("Program",M)});def_to_moz(AST_Defun,function To_Moz_FunctionDeclaration(M){return{type:"FunctionDeclaration",id:to_moz(M.name),params:M.argnames.map(to_moz),body:to_moz_scope("BlockStatement",M)}});def_to_moz(AST_Function,function To_Moz_FunctionExpression(M){return{type:"FunctionExpression",id:to_moz(M.name),params:M.argnames.map(to_moz),body:to_moz_scope("BlockStatement",M)}});def_to_moz(AST_Directive,function To_Moz_Directive(M){return{type:"ExpressionStatement",expression:{type:"Literal",value:M.value}}});def_to_moz(AST_SimpleStatement,function To_Moz_ExpressionStatement(M){return{type:"ExpressionStatement",expression:to_moz(M.body)}});def_to_moz(AST_SwitchBranch,function To_Moz_SwitchCase(M){return{type:"SwitchCase",test:to_moz(M.expression),consequent:M.body.map(to_moz)}});def_to_moz(AST_Try,function To_Moz_TryStatement(M){return{type:"TryStatement",block:to_moz_block(M),handler:to_moz(M.bcatch),guardedHandlers:[],finalizer:to_moz(M.bfinally)}});def_to_moz(AST_Catch,function To_Moz_CatchClause(M){return{type:"CatchClause",param:to_moz(M.argname),guard:null,body:to_moz_block(M)}});def_to_moz(AST_Definitions,function To_Moz_VariableDeclaration(M){return{type:"VariableDeclaration",kind:"var",declarations:M.definitions.map(to_moz)}});def_to_moz(AST_Sequence,function To_Moz_SequenceExpression(M){return{type:"SequenceExpression",expressions:M.expressions.map(to_moz)}});def_to_moz(AST_PropAccess,function To_Moz_MemberExpression(M){var isComputed=M instanceof AST_Sub;return{type:"MemberExpression",object:to_moz(M.expression),computed:isComputed,property:isComputed?to_moz(M.property):{type:"Identifier",name:M.property}}});def_to_moz(AST_Unary,function To_Moz_Unary(M){return{type:M.operator=="++"||M.operator=="--"?"UpdateExpression":"UnaryExpression",operator:M.operator,prefix:M instanceof AST_UnaryPrefix,argument:to_moz(M.expression)}});def_to_moz(AST_Binary,function To_Moz_BinaryExpression(M){return{type:M.operator=="&&"||M.operator=="||"?"LogicalExpression":"BinaryExpression",left:to_moz(M.left),operator:M.operator,right:to_moz(M.right)}});def_to_moz(AST_Array,function To_Moz_ArrayExpression(M){return{type:"ArrayExpression",elements:M.elements.map(to_moz)}});def_to_moz(AST_Object,function To_Moz_ObjectExpression(M){return{type:"ObjectExpression",properties:M.properties.map(to_moz)}});def_to_moz(AST_ObjectProperty,function To_Moz_Property(M){var key={type:"Literal",value:M.key instanceof AST_SymbolAccessor?M.key.name:M.key};var kind;if(M instanceof AST_ObjectKeyVal){kind="init"}else if(M instanceof AST_ObjectGetter){kind="get"}else if(M instanceof AST_ObjectSetter){kind="set"}return{type:"Property",kind:kind,key:key,value:to_moz(M.value)}});def_to_moz(AST_Symbol,function To_Moz_Identifier(M){var def=M.definition();return{type:"Identifier",name:def?def.mangled_name||def.name:M.name}});def_to_moz(AST_RegExp,function To_Moz_RegExpLiteral(M){var value=M.value;return{type:"Literal",value:value,raw:value.toString(),regex:{pattern:value.source,flags:value.toString().match(/[gimuy]*$/)[0]}}});def_to_moz(AST_Constant,function To_Moz_Literal(M){var value=M.value;if(typeof value==="number"&&(value<0||value===0&&1/value<0)){return{type:"UnaryExpression",operator:"-",prefix:true,argument:{type:"Literal",value:-value,raw:M.start.raw}}}return{type:"Literal",value:value,raw:M.start.raw}});def_to_moz(AST_Atom,function To_Moz_Atom(M){return{type:"Identifier",name:String(M.value)}});AST_Boolean.DEFMETHOD("to_mozilla_ast",AST_Constant.prototype.to_mozilla_ast);AST_Null.DEFMETHOD("to_mozilla_ast",AST_Constant.prototype.to_mozilla_ast);AST_Hole.DEFMETHOD("to_mozilla_ast",function To_Moz_ArrayHole(){return null});AST_Block.DEFMETHOD("to_mozilla_ast",AST_BlockStatement.prototype.to_mozilla_ast);AST_Lambda.DEFMETHOD("to_mozilla_ast",AST_Function.prototype.to_mozilla_ast);function raw_token(moznode){if(moznode.type=="Literal"){return moznode.raw!=null?moznode.raw:moznode.value+""}}function my_start_token(moznode){var loc=moznode.loc,start=loc&&loc.start;var range=moznode.range;return new AST_Token({file:loc&&loc.source,line:start&&start.line,col:start&&start.column,pos:range?range[0]:moznode.start,endline:start&&start.line,endcol:start&&start.column,endpos:range?range[0]:moznode.start,raw:raw_token(moznode)})}function my_end_token(moznode){var loc=moznode.loc,end=loc&&loc.end;var range=moznode.range;return new AST_Token({file:loc&&loc.source,line:end&&end.line,col:end&&end.column,pos:range?range[1]:moznode.end,endline:end&&end.line,endcol:end&&end.column,endpos:range?range[1]:moznode.end,raw:raw_token(moznode)})}function map(moztype,mytype,propmap){var moz_to_me="function From_Moz_"+moztype+"(M){\n";moz_to_me+="return new U2."+mytype.name+"({\n"+"start: my_start_token(M),\n"+"end: my_end_token(M)";var me_to_moz="function To_Moz_"+moztype+"(M){\n";me_to_moz+="return {\n"+"type: "+JSON.stringify(moztype);if(propmap)propmap.split(/\s*,\s*/).forEach(function(prop){var m=/([a-z0-9$_]+)(=|@|>|%)([a-z0-9$_]+)/i.exec(prop);if(!m)throw new Error("Can't understand property map: "+prop);var moz=m[1],how=m[2],my=m[3];moz_to_me+=",\n"+my+": ";me_to_moz+=",\n"+moz+": ";switch(how){case"@":moz_to_me+="M."+moz+".map(from_moz)";me_to_moz+="M."+my+".map(to_moz)";break;case">":moz_to_me+="from_moz(M."+moz+")";me_to_moz+="to_moz(M."+my+")";break;case"=":moz_to_me+="M."+moz;me_to_moz+="M."+my;break;case"%":moz_to_me+="from_moz(M."+moz+").body";me_to_moz+="to_moz_block(M)";break;default:throw new Error("Can't understand operator in propmap: "+prop)}});moz_to_me+="\n})\n}";me_to_moz+="\n}\n}";moz_to_me=new Function("U2","my_start_token","my_end_token","from_moz","return("+moz_to_me+")")(exports,my_start_token,my_end_token,from_moz);me_to_moz=new Function("to_moz","to_moz_block","to_moz_scope","return("+me_to_moz+")")(to_moz,to_moz_block,to_moz_scope);MOZ_TO_ME[moztype]=moz_to_me;def_to_moz(mytype,me_to_moz)}var FROM_MOZ_STACK=null;function from_moz(node){FROM_MOZ_STACK.push(node);var ret=node!=null?MOZ_TO_ME[node.type](node):null;FROM_MOZ_STACK.pop();return ret}AST_Node.from_mozilla_ast=function(node){var save_stack=FROM_MOZ_STACK;FROM_MOZ_STACK=[];var ast=from_moz(node);FROM_MOZ_STACK=save_stack;return ast};function set_moz_loc(mynode,moznode,myparent){var start=mynode.start;var end=mynode.end;if(start.pos!=null&&end.endpos!=null){moznode.range=[start.pos,end.endpos]}if(start.line){moznode.loc={start:{line:start.line,column:start.col},end:end.endline?{line:end.endline,column:end.endcol}:null};if(start.file){moznode.loc.source=start.file}}return moznode}function def_to_moz(mytype,handler){mytype.DEFMETHOD("to_mozilla_ast",function(){return set_moz_loc(this,handler(this))})}function to_moz(node){return node!=null?node.to_mozilla_ast():null}function to_moz_block(node){return{type:"BlockStatement",body:node.body.map(to_moz)}}function to_moz_scope(type,node){var body=node.body.map(to_moz);if(node.body[0]instanceof AST_SimpleStatement&&node.body[0].body instanceof AST_String){body.unshift(to_moz(new AST_EmptyStatement(node.body[0])))}return{type:type,body:body}}})();"use strict";function find_builtins(reserved){["null","true","false","Infinity","-Infinity","undefined"].forEach(add);[Object,Array,Function,Number,String,Boolean,Error,Math,Date,RegExp].forEach(function(ctor){Object.getOwnPropertyNames(ctor).map(add);if(ctor.prototype){Object.getOwnPropertyNames(ctor.prototype).map(add)}});function add(name){push_uniq(reserved,name)}}function mangle_properties(ast,options){options=defaults(options,{builtins:false,cache:null,debug:false,keep_quoted:false,only_cache:false,regex:null,reserved:null},true);var reserved=options.reserved;if(!Array.isArray(reserved))reserved=[];if(!options.builtins)find_builtins(reserved);var cache=options.cache;if(cache==null){cache={cname:-1,props:new Dictionary}}var regex=options.regex;var keep_quoted=options.keep_quoted;var debug=options.debug!==false;var debug_name_suffix;if(debug){debug_name_suffix=options.debug===true?"":options.debug}var names_to_mangle=[];var unmangleable=[];var to_keep={};ast.walk(new TreeWalker(function(node){if(node instanceof AST_ObjectKeyVal){add(node.key,keep_quoted&&node.quote)}else if(node instanceof AST_ObjectProperty){add(node.key.name)}else if(node instanceof AST_Dot){add(node.property)}else if(node instanceof AST_Sub){addStrings(node.property,keep_quoted)}}));return ast.transform(new TreeTransformer(function(node){if(node instanceof AST_ObjectKeyVal){if(!(keep_quoted&&node.quote))node.key=mangle(node.key)}else if(node instanceof AST_ObjectProperty){node.key.name=mangle(node.key.name)}else if(node instanceof AST_Dot){node.property=mangle(node.property)}else if(node instanceof AST_Sub){if(!keep_quoted)node.property=mangleStrings(node.property)}}));function can_mangle(name){if(unmangleable.indexOf(name)>=0)return false;if(reserved.indexOf(name)>=0)return false;if(options.only_cache){return cache.props.has(name)}if(/^-?[0-9]+(\.[0-9]+)?(e[+-][0-9]+)?$/.test(name))return false;return true}function should_mangle(name){if(keep_quoted&&name in to_keep)return false;if(regex&&!regex.test(name))return false;if(reserved.indexOf(name)>=0)return false;return cache.props.has(name)||names_to_mangle.indexOf(name)>=0}function add(name,keep){if(keep){to_keep[name]=true;return}if(can_mangle(name))push_uniq(names_to_mangle,name);if(!should_mangle(name)){push_uniq(unmangleable,name)}}function mangle(name){if(!should_mangle(name)){return name}var mangled=cache.props.get(name);if(!mangled){if(debug){var debug_mangled="_$"+name+"$"+debug_name_suffix+"_";if(can_mangle(debug_mangled)&&!(keep_quoted&&debug_mangled in to_keep)){mangled=debug_mangled}}if(!mangled){do{mangled=base54(++cache.cname)}while(!can_mangle(mangled)||keep_quoted&&mangled in to_keep)}cache.props.set(name,mangled)}return mangled}function addStrings(node,keep){var out={};try{(function walk(node){node.walk(new TreeWalker(function(node){if(node instanceof AST_Sequence){walk(node.expressions[node.expressions.length-1]);return true}if(node instanceof AST_String){add(node.value,keep);return true}if(node instanceof AST_Conditional){walk(node.consequent);walk(node.alternative);return true}throw out}))})(node)}catch(ex){if(ex!==out)throw ex}}function mangleStrings(node){return node.transform(new TreeTransformer(function(node){if(node instanceof AST_Sequence){var last=node.expressions.length-1;node.expressions[last]=mangleStrings(node.expressions[last])}else if(node instanceof AST_String){node.value=mangle(node.value)}else if(node instanceof AST_Conditional){node.consequent=mangleStrings(node.consequent);node.alternative=mangleStrings(node.alternative)}return node}))}}"use strict";var to_ascii=typeof atob=="undefined"?function(b64){return new Buffer(b64,"base64").toString()}:atob;var to_base64=typeof btoa=="undefined"?function(str){return new Buffer(str).toString("base64")}:btoa;function read_source_map(code){var match=/\n\/\/# sourceMappingURL=data:application\/json(;.*?)?;base64,(.*)/.exec(code);if(!match){AST_Node.warn("inline source map not found");return null}return to_ascii(match[2])}function set_shorthand(name,options,keys){if(options[name]){keys.forEach(function(key){if(options[key]){if(typeof options[key]!="object")options[key]={};if(!(name in options[key]))options[key][name]=options[name]}})}}function init_cache(cache){if(!cache)return;if(!("cname"in cache))cache.cname=-1;if(!("props"in cache)){cache.props=new Dictionary}else if(!(cache.props instanceof Dictionary)){cache.props=Dictionary.fromObject(cache.props)}}function to_json(cache){return{cname:cache.cname,props:cache.props.toObject()}}function minify(files,options){var warn_function=AST_Node.warn_function;try{options=defaults(options,{compress:{},ie8:false,keep_fnames:false,mangle:{},nameCache:null,output:{},parse:{},sourceMap:false,timings:false,toplevel:false,warnings:false,wrap:false},true);var timings=options.timings&&{start:Date.now()};set_shorthand("ie8",options,["compress","mangle","output"]);set_shorthand("keep_fnames",options,["compress","mangle"]);set_shorthand("toplevel",options,["compress","mangle"]);set_shorthand("warnings",options,["compress"]);if(options.mangle){options.mangle=defaults(options.mangle,{cache:options.nameCache&&(options.nameCache.vars||{}),eval:false,ie8:false,keep_fnames:false,properties:false,reserved:[],toplevel:false},true);if(options.nameCache&&options.mangle.properties){if(typeof options.mangle.properties!="object"){options.mangle.properties={}}if(!("cache"in options.mangle.properties)){options.mangle.properties.cache=options.nameCache.props||{}}}init_cache(options.mangle.cache);init_cache(options.mangle.properties.cache)}if(options.sourceMap){options.sourceMap=defaults(options.sourceMap,{content:null,filename:null,includeSources:false,root:null,url:null},true)}var warnings=[];if(options.warnings&&!AST_Node.warn_function){AST_Node.warn_function=function(warning){warnings.push(warning)}}if(timings)timings.parse=Date.now();var toplevel;if(files instanceof AST_Toplevel){toplevel=files}else{if(typeof files=="string"){files=[files]}options.parse=options.parse||{};options.parse.toplevel=null;for(var name in files)if(HOP(files,name)){options.parse.filename=name;options.parse.toplevel=parse(files[name],options.parse);if(options.sourceMap&&options.sourceMap.content=="inline"){if(Object.keys(files).length>1)throw new Error("inline source map only works with singular input");options.sourceMap.content=read_source_map(files[name])}}toplevel=options.parse.toplevel}if(options.wrap){toplevel=toplevel.wrap_commonjs(options.wrap)}if(timings)timings.scope1=Date.now();if(options.compress)toplevel.figure_out_scope(options.mangle);if(timings)timings.compress=Date.now();if(options.compress)toplevel=new Compressor(options.compress).compress(toplevel);if(timings)timings.scope2=Date.now();if(options.mangle)toplevel.figure_out_scope(options.mangle);if(timings)timings.mangle=Date.now();if(options.mangle){base54.reset();toplevel.compute_char_frequency(options.mangle);toplevel.mangle_names(options.mangle)}if(timings)timings.properties=Date.now();if(options.mangle&&options.mangle.properties){toplevel=mangle_properties(toplevel,options.mangle.properties)}if(timings)timings.output=Date.now();var result={};if(options.output.ast){result.ast=toplevel}if(!HOP(options.output,"code")||options.output.code){if(options.sourceMap){if(typeof options.sourceMap.content=="string"){options.sourceMap.content=JSON.parse(options.sourceMap.content)}options.output.source_map=SourceMap({file:options.sourceMap.filename,orig:options.sourceMap.content,root:options.sourceMap.root});if(options.sourceMap.includeSources){if(files instanceof AST_Toplevel){throw new Error("original source content unavailable")}else for(var name in files)if(HOP(files,name)){options.output.source_map.get().setSourceContent(name,files[name])}}}delete options.output.ast;delete options.output.code;var stream=OutputStream(options.output);toplevel.print(stream);result.code=stream.get();if(options.sourceMap){result.map=options.output.source_map.toString();if(options.sourceMap.url=="inline"){result.code+="\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,"+to_base64(result.map)}else if(options.sourceMap.url){result.code+="\n//# sourceMappingURL="+options.sourceMap.url}}}if(options.nameCache&&options.mangle){if(options.mangle.cache)options.nameCache.vars=to_json(options.mangle.cache);if(options.mangle.properties&&options.mangle.properties.cache){options.nameCache.props=to_json(options.mangle.properties.cache)}}if(timings){timings.end=Date.now();result.timings={parse:.001*(timings.scope1-timings.parse),scope:.001*(timings.compress-timings.scope1+timings.mangle-timings.scope2),compress:.001*(timings.scope2-timings.compress),mangle:.001*(timings.properties-timings.mangle),properties:.001*(timings.output-timings.properties),output:.001*(timings.end-timings.output),total:.001*(timings.end-timings.start)}}if(warnings.length){result.warnings=warnings}return result}catch(ex){return{error:ex}}finally{AST_Node.warn_function=warn_function}}exports["Dictionary"]=Dictionary;exports["TreeWalker"]=TreeWalker;exports["TreeTransformer"]=TreeTransformer;exports["minify"]=minify;exports["_push_uniq"]=push_uniq})(typeof exports=="undefined"?exports={}:exports);
+(function(exports){"use strict";function slice(a,start){return Array.prototype.slice.call(a,start||0)}function characters(str){return str.split("")}function member(name,array){return array.indexOf(name)>=0}function find_if(func,array){for(var i=0,n=array.length;i<n;++i){if(func(array[i]))return array[i]}}function repeat_string(str,i){if(i<=0)return"";if(i==1)return str;var d=repeat_string(str,i>>1);d+=d;if(i&1)d+=str;return d}function configure_error_stack(fn){Object.defineProperty(fn.prototype,"stack",{get:function(){var err=new Error(this.message);err.name=this.name;try{throw err}catch(e){return e.stack}}})}function DefaultsError(msg,defs){this.message=msg;this.defs=defs}DefaultsError.prototype=Object.create(Error.prototype);DefaultsError.prototype.constructor=DefaultsError;DefaultsError.prototype.name="DefaultsError";configure_error_stack(DefaultsError);DefaultsError.croak=function(msg,defs){throw new DefaultsError(msg,defs)};function defaults(args,defs,croak){if(args===true)args={};var ret=args||{};if(croak)for(var i in ret)if(HOP(ret,i)&&!HOP(defs,i))DefaultsError.croak("`"+i+"` is not a supported option",defs);for(var i in defs)if(HOP(defs,i)){ret[i]=args&&HOP(args,i)?args[i]:defs[i]}return ret}function merge(obj,ext){var count=0;for(var i in ext)if(HOP(ext,i)){obj[i]=ext[i];count++}return count}function noop(){}function return_false(){return false}function return_true(){return true}function return_this(){return this}function return_null(){return null}var MAP=function(){function MAP(a,f,backwards){var ret=[],top=[],i;function doit(){var val=f(a[i],i);var is_last=val instanceof Last;if(is_last)val=val.v;if(val instanceof AtTop){val=val.v;if(val instanceof Splice){top.push.apply(top,backwards?val.v.slice().reverse():val.v)}else{top.push(val)}}else if(val!==skip){if(val instanceof Splice){ret.push.apply(ret,backwards?val.v.slice().reverse():val.v)}else{ret.push(val)}}return is_last}if(a instanceof Array){if(backwards){for(i=a.length;--i>=0;)if(doit())break;ret.reverse();top.reverse()}else{for(i=0;i<a.length;++i)if(doit())break}}else{for(i in a)if(HOP(a,i))if(doit())break}return top.concat(ret)}MAP.at_top=function(val){return new AtTop(val)};MAP.splice=function(val){return new Splice(val)};MAP.last=function(val){return new Last(val)};var skip=MAP.skip={};function AtTop(val){this.v=val}function Splice(val){this.v=val}function Last(val){this.v=val}return MAP}();function push_uniq(array,el){if(array.indexOf(el)<0)array.push(el)}function string_template(text,props){return text.replace(/\{(.+?)\}/g,function(str,p){return props&&props[p]})}function remove(array,el){for(var i=array.length;--i>=0;){if(array[i]===el)array.splice(i,1)}}function mergeSort(array,cmp){if(array.length<2)return array.slice();function merge(a,b){var r=[],ai=0,bi=0,i=0;while(ai<a.length&&bi<b.length){cmp(a[ai],b[bi])<=0?r[i++]=a[ai++]:r[i++]=b[bi++]}if(ai<a.length)r.push.apply(r,a.slice(ai));if(bi<b.length)r.push.apply(r,b.slice(bi));return r}function _ms(a){if(a.length<=1)return a;var m=Math.floor(a.length/2),left=a.slice(0,m),right=a.slice(m);left=_ms(left);right=_ms(right);return merge(left,right)}return _ms(array)}function set_difference(a,b){return a.filter(function(el){return b.indexOf(el)<0})}function set_intersection(a,b){return a.filter(function(el){return b.indexOf(el)>=0})}function makePredicate(words){if(!(words instanceof Array))words=words.split(" ");var f="",cats=[];out:for(var i=0;i<words.length;++i){for(var j=0;j<cats.length;++j)if(cats[j][0].length==words[i].length){cats[j].push(words[i]);continue out}cats.push([words[i]])}function quote(word){return JSON.stringify(word).replace(/[\u2028\u2029]/g,function(s){switch(s){case"\u2028":return"\\u2028";case"\u2029":return"\\u2029"}return s})}function compareTo(arr){if(arr.length==1)return f+="return str === "+quote(arr[0])+";";f+="switch(str){";for(var i=0;i<arr.length;++i)f+="case "+quote(arr[i])+":";f+="return true}return false;"}if(cats.length>3){cats.sort(function(a,b){return b.length-a.length});f+="switch(str.length){";for(var i=0;i<cats.length;++i){var cat=cats[i];f+="case "+cat[0].length+":";compareTo(cat)}f+="}"}else{compareTo(words)}return new Function("str",f)}function all(array,predicate){for(var i=array.length;--i>=0;)if(!predicate(array[i]))return false;return true}function Dictionary(){this._values=Object.create(null);this._size=0}Dictionary.prototype={set:function(key,val){if(!this.has(key))++this._size;this._values["$"+key]=val;return this},add:function(key,val){if(this.has(key)){this.get(key).push(val)}else{this.set(key,[val])}return this},get:function(key){return this._values["$"+key]},del:function(key){if(this.has(key)){--this._size;delete this._values["$"+key]}return this},has:function(key){return"$"+key in this._values},each:function(f){for(var i in this._values)f(this._values[i],i.substr(1))},size:function(){return this._size},map:function(f){var ret=[];for(var i in this._values)ret.push(f(this._values[i],i.substr(1)));return ret},toObject:function(){return this._values}};Dictionary.fromObject=function(obj){var dict=new Dictionary;dict._size=merge(dict._values,obj);return dict};function HOP(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop)}function first_in_statement(stack){var node=stack.parent(-1);for(var i=0,p;p=stack.parent(i);i++){if(p instanceof AST_Statement&&p.body===node)return true;if(p instanceof AST_Sequence&&p.expressions[0]===node||p instanceof AST_Call&&p.expression===node&&!(p instanceof AST_New)||p instanceof AST_Dot&&p.expression===node||p instanceof AST_Sub&&p.expression===node||p instanceof AST_Conditional&&p.condition===node||p instanceof AST_Binary&&p.left===node||p instanceof AST_UnaryPostfix&&p.expression===node){node=p}else{return false}}}"use strict";function DEFNODE(type,props,methods,base){if(arguments.length<4)base=AST_Node;if(!props)props=[];else props=props.split(/\s+/);var self_props=props;if(base&&base.PROPS)props=props.concat(base.PROPS);var code="return function AST_"+type+"(props){ if (props) { ";for(var i=props.length;--i>=0;){code+="this."+props[i]+" = props."+props[i]+";"}var proto=base&&new base;if(proto&&proto.initialize||methods&&methods.initialize)code+="this.initialize();";code+="}}";var ctor=new Function(code)();if(proto){ctor.prototype=proto;ctor.BASE=base}if(base)base.SUBCLASSES.push(ctor);ctor.prototype.CTOR=ctor;ctor.PROPS=props||null;ctor.SELF_PROPS=self_props;ctor.SUBCLASSES=[];if(type){ctor.prototype.TYPE=ctor.TYPE=type}if(methods)for(i in methods)if(HOP(methods,i)){if(/^\$/.test(i)){ctor[i.substr(1)]=methods[i]}else{ctor.prototype[i]=methods[i]}}ctor.DEFMETHOD=function(name,method){this.prototype[name]=method};if(typeof exports!=="undefined"){exports["AST_"+type]=ctor}return ctor}var AST_Token=DEFNODE("Token","type value line col pos endline endcol endpos nlb comments_before file raw",{},null);var AST_Node=DEFNODE("Node","start end",{_clone:function(deep){if(deep){var self=this.clone();return self.transform(new TreeTransformer(function(node){if(node!==self){return node.clone(true)}}))}return new this.CTOR(this)},clone:function(deep){return this._clone(deep)},$documentation:"Base class of all AST nodes",$propdoc:{start:"[AST_Token] The first token of this node",end:"[AST_Token] The last token of this node"},_walk:function(visitor){return visitor._visit(this)},walk:function(visitor){return this._walk(visitor)}},null);AST_Node.warn_function=null;AST_Node.warn=function(txt,props){if(AST_Node.warn_function)AST_Node.warn_function(string_template(txt,props))};var AST_Statement=DEFNODE("Statement",null,{$documentation:"Base class of all statements"});var AST_Debugger=DEFNODE("Debugger",null,{$documentation:"Represents a debugger statement"},AST_Statement);var AST_Directive=DEFNODE("Directive","value scope quote",{$documentation:'Represents a directive, like "use strict";',$propdoc:{value:"[string] The value of this directive as a plain string (it's not an AST_String!)",scope:"[AST_Scope/S] The scope that this directive affects",quote:"[string] the original quote character"}},AST_Statement);var AST_SimpleStatement=DEFNODE("SimpleStatement","body",{$documentation:"A statement consisting of an expression, i.e. a = 1 + 2",$propdoc:{body:"[AST_Node] an expression node (should not be instanceof AST_Statement)"},_walk:function(visitor){return visitor._visit(this,function(){this.body._walk(visitor)})}},AST_Statement);function walk_body(node,visitor){var body=node.body;if(body instanceof AST_Statement){body._walk(visitor)}else for(var i=0,len=body.length;i<len;i++){body[i]._walk(visitor)}}var AST_Block=DEFNODE("Block","body",{$documentation:"A body of statements (usually bracketed)",$propdoc:{body:"[AST_Statement*] an array of statements"},_walk:function(visitor){return visitor._visit(this,function(){walk_body(this,visitor)})}},AST_Statement);var AST_BlockStatement=DEFNODE("BlockStatement",null,{$documentation:"A block statement"},AST_Block);var AST_EmptyStatement=DEFNODE("EmptyStatement",null,{$documentation:"The empty statement (empty block or simply a semicolon)"},AST_Statement);var AST_StatementWithBody=DEFNODE("StatementWithBody","body",{$documentation:"Base class for all statements that contain one nested body: `For`, `ForIn`, `Do`, `While`, `With`",$propdoc:{body:"[AST_Statement] the body; this should always be present, even if it's an AST_EmptyStatement"}},AST_Statement);var AST_LabeledStatement=DEFNODE("LabeledStatement","label",{$documentation:"Statement with a label",$propdoc:{label:"[AST_Label] a label definition"},_walk:function(visitor){return visitor._visit(this,function(){this.label._walk(visitor);this.body._walk(visitor)})},clone:function(deep){var node=this._clone(deep);if(deep){var label=node.label;var def=this.label;node.walk(new TreeWalker(function(node){if(node instanceof AST_LoopControl&&node.label&&node.label.thedef===def){node.label.thedef=label;label.references.push(node)}}))}return node}},AST_StatementWithBody);var AST_IterationStatement=DEFNODE("IterationStatement",null,{$documentation:"Internal class.  All loops inherit from it."},AST_StatementWithBody);var AST_DWLoop=DEFNODE("DWLoop","condition",{$documentation:"Base class for do/while statements",$propdoc:{condition:"[AST_Node] the loop condition.  Should not be instanceof AST_Statement"}},AST_IterationStatement);var AST_Do=DEFNODE("Do",null,{$documentation:"A `do` statement",_walk:function(visitor){return visitor._visit(this,function(){this.body._walk(visitor);this.condition._walk(visitor)})}},AST_DWLoop);var AST_While=DEFNODE("While",null,{$documentation:"A `while` statement",_walk:function(visitor){return visitor._visit(this,function(){this.condition._walk(visitor);this.body._walk(visitor)})}},AST_DWLoop);var AST_For=DEFNODE("For","init condition step",{$documentation:"A `for` statement",$propdoc:{init:"[AST_Node?] the `for` initialization code, or null if empty",condition:"[AST_Node?] the `for` termination clause, or null if empty",step:"[AST_Node?] the `for` update clause, or null if empty"},_walk:function(visitor){return visitor._visit(this,function(){if(this.init)this.init._walk(visitor);if(this.condition)this.condition._walk(visitor);if(this.step)this.step._walk(visitor);this.body._walk(visitor)})}},AST_IterationStatement);var AST_ForIn=DEFNODE("ForIn","init name object",{$documentation:"A `for ... in` statement",$propdoc:{init:"[AST_Node] the `for/in` initialization code",name:"[AST_SymbolRef?] the loop variable, only if `init` is AST_Var",object:"[AST_Node] the object that we're looping through"},_walk:function(visitor){return visitor._visit(this,function(){this.init._walk(visitor);this.object._walk(visitor);this.body._walk(visitor)})}},AST_IterationStatement);var AST_With=DEFNODE("With","expression",{$documentation:"A `with` statement",$propdoc:{expression:"[AST_Node] the `with` expression"},_walk:function(visitor){return visitor._visit(this,function(){this.expression._walk(visitor);this.body._walk(visitor)})}},AST_StatementWithBody);var AST_Scope=DEFNODE("Scope","directives variables functions uses_with uses_eval parent_scope enclosed cname",{$documentation:"Base class for all statements introducing a lexical scope",$propdoc:{directives:"[string*/S] an array of directives declared in this scope",variables:"[Object/S] a map of name -> 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)"}},AST_Block);var AST_Toplevel=DEFNODE("Toplevel","globals",{$documentation:"The toplevel scope",$propdoc:{globals:"[Object/S] a map of name -> SymbolDef for all undeclared names"},wrap_commonjs:function(name){var body=this.body;var wrapped_tl="(function(exports){'$ORIG';})(typeof "+name+"=='undefined'?("+name+"={}):"+name+");";wrapped_tl=parse(wrapped_tl);wrapped_tl=wrapped_tl.transform(new TreeTransformer(function before(node){if(node instanceof AST_Directive&&node.value=="$ORIG"){return MAP.splice(body)}}));return wrapped_tl}},AST_Scope);var AST_Lambda=DEFNODE("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(visitor){return visitor._visit(this,function(){if(this.name)this.name._walk(visitor);var argnames=this.argnames;for(var i=0,len=argnames.length;i<len;i++){argnames[i]._walk(visitor)}walk_body(this,visitor)})}},AST_Scope);var AST_Accessor=DEFNODE("Accessor",null,{$documentation:"A setter/getter function.  The `name` property is always null."},AST_Lambda);var AST_Function=DEFNODE("Function",null,{$documentation:"A function expression"},AST_Lambda);var AST_Defun=DEFNODE("Defun",null,{$documentation:"A function definition"},AST_Lambda);var AST_Jump=DEFNODE("Jump",null,{$documentation:"Base class for “jumps” (for now that's `return`, `throw`, `break` and `continue`)"},AST_Statement);var AST_Exit=DEFNODE("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(visitor){return visitor._visit(this,this.value&&function(){this.value._walk(visitor)})}},AST_Jump);var AST_Return=DEFNODE("Return",null,{$documentation:"A `return` statement"},AST_Exit);var AST_Throw=DEFNODE("Throw",null,{$documentation:"A `throw` statement"},AST_Exit);var AST_LoopControl=DEFNODE("LoopControl","label",{$documentation:"Base class for loop control statements (`break` and `continue`)",$propdoc:{label:"[AST_LabelRef?] the label, or null if none"},_walk:function(visitor){return visitor._visit(this,this.label&&function(){this.label._walk(visitor)})}},AST_Jump);var AST_Break=DEFNODE("Break",null,{$documentation:"A `break` statement"},AST_LoopControl);var AST_Continue=DEFNODE("Continue",null,{$documentation:"A `continue` statement"},AST_LoopControl);var AST_If=DEFNODE("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(visitor){return visitor._visit(this,function(){this.condition._walk(visitor);this.body._walk(visitor);if(this.alternative)this.alternative._walk(visitor)})}},AST_StatementWithBody);var AST_Switch=DEFNODE("Switch","expression",{$documentation:"A `switch` statement",$propdoc:{expression:"[AST_Node] the `switch` “discriminant”"},_walk:function(visitor){return visitor._visit(this,function(){this.expression._walk(visitor);walk_body(this,visitor)})}},AST_Block);var AST_SwitchBranch=DEFNODE("SwitchBranch",null,{$documentation:"Base class for `switch` branches"},AST_Block);var AST_Default=DEFNODE("Default",null,{$documentation:"A `default` switch branch"},AST_SwitchBranch);var AST_Case=DEFNODE("Case","expression",{$documentation:"A `case` switch branch",$propdoc:{expression:"[AST_Node] the `case` expression"},_walk:function(visitor){return visitor._visit(this,function(){this.expression._walk(visitor);walk_body(this,visitor)})}},AST_SwitchBranch);var AST_Try=DEFNODE("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(visitor){return visitor._visit(this,function(){walk_body(this,visitor);if(this.bcatch)this.bcatch._walk(visitor);if(this.bfinally)this.bfinally._walk(visitor)})}},AST_Block);var AST_Catch=DEFNODE("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(visitor){return visitor._visit(this,function(){this.argname._walk(visitor);walk_body(this,visitor)})}},AST_Block);var AST_Finally=DEFNODE("Finally",null,{$documentation:"A `finally` node; only makes sense as part of a `try` statement"},AST_Block);var AST_Definitions=DEFNODE("Definitions","definitions",{$documentation:"Base class for `var` nodes (variable declarations/initializations)",$propdoc:{definitions:"[AST_VarDef*] array of variable definitions"},_walk:function(visitor){return visitor._visit(this,function(){var definitions=this.definitions;for(var i=0,len=definitions.length;i<len;i++){definitions[i]._walk(visitor)}})}},AST_Statement);var AST_Var=DEFNODE("Var",null,{$documentation:"A `var` statement"},AST_Definitions);var AST_VarDef=DEFNODE("VarDef","name value",{$documentation:"A variable declaration; only appears in a AST_Definitions node",$propdoc:{name:"[AST_SymbolVar] name of the variable",value:"[AST_Node?] initializer, or null of there's no initializer"},_walk:function(visitor){return visitor._visit(this,function(){this.name._walk(visitor);if(this.value)this.value._walk(visitor)})}});var AST_Call=DEFNODE("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(visitor){return visitor._visit(this,function(){var args=this.args;for(var i=0,len=args.length;i<len;i++){args[i]._walk(visitor)}this.expression._walk(visitor)})}});var AST_New=DEFNODE("New",null,{$documentation:"An object instantiation.  Derives from a function call since it has exactly the same properties"},AST_Call);var AST_Sequence=DEFNODE("Sequence","expressions",{$documentation:"A sequence expression (comma-separated expressions)",$propdoc:{expressions:"[AST_Node*] array of expressions (at least two)"},_walk:function(visitor){return visitor._visit(this,function(){this.expressions.forEach(function(node){node._walk(visitor)})})}});var AST_PropAccess=DEFNODE("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"}});var AST_Dot=DEFNODE("Dot",null,{$documentation:"A dotted property access expression",_walk:function(visitor){return visitor._visit(this,function(){this.expression._walk(visitor)})}},AST_PropAccess);var AST_Sub=DEFNODE("Sub",null,{$documentation:'Index-style property access, i.e. `a["foo"]`',_walk:function(visitor){return visitor._visit(this,function(){this.expression._walk(visitor);this.property._walk(visitor)})}},AST_PropAccess);var AST_Unary=DEFNODE("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(visitor){return visitor._visit(this,function(){this.expression._walk(visitor)})}});var AST_UnaryPrefix=DEFNODE("UnaryPrefix",null,{$documentation:"Unary prefix expression, i.e. `typeof i` or `++i`"},AST_Unary);var AST_UnaryPostfix=DEFNODE("UnaryPostfix",null,{$documentation:"Unary postfix expression, i.e. `i++`"},AST_Unary);var AST_Binary=DEFNODE("Binary","operator left 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(visitor){return visitor._visit(this,function(){this.left._walk(visitor);this.right._walk(visitor)})}});var AST_Conditional=DEFNODE("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(visitor){return visitor._visit(this,function(){this.condition._walk(visitor);this.consequent._walk(visitor);this.alternative._walk(visitor)})}});var AST_Assign=DEFNODE("Assign",null,{$documentation:"An assignment expression — `a = b + 5`"},AST_Binary);var AST_Array=DEFNODE("Array","elements",{$documentation:"An array literal",$propdoc:{elements:"[AST_Node*] array of elements"},_walk:function(visitor){return visitor._visit(this,function(){var elements=this.elements;for(var i=0,len=elements.length;i<len;i++){elements[i]._walk(visitor)}})}});var AST_Object=DEFNODE("Object","properties",{$documentation:"An object literal",$propdoc:{properties:"[AST_ObjectProperty*] array of properties"},_walk:function(visitor){return visitor._visit(this,function(){var properties=this.properties;for(var i=0,len=properties.length;i<len;i++){properties[i]._walk(visitor)}})}});var AST_ObjectProperty=DEFNODE("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 AST_SymbolAccessor.",value:"[AST_Node] property value.  For setters and getters this is an AST_Accessor."},_walk:function(visitor){return visitor._visit(this,function(){this.value._walk(visitor)})}});var AST_ObjectKeyVal=DEFNODE("ObjectKeyVal","quote",{$documentation:"A key: value object property",$propdoc:{quote:"[string] the original quote character"}},AST_ObjectProperty);var AST_ObjectSetter=DEFNODE("ObjectSetter",null,{$documentation:"An object setter property"},AST_ObjectProperty);var AST_ObjectGetter=DEFNODE("ObjectGetter",null,{$documentation:"An object getter property"},AST_ObjectProperty);var AST_Symbol=DEFNODE("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"});var AST_SymbolAccessor=DEFNODE("SymbolAccessor",null,{$documentation:"The name of a property accessor (setter/getter function)"},AST_Symbol);var AST_SymbolDeclaration=DEFNODE("SymbolDeclaration","init",{$documentation:"A declaration symbol (symbol in var, function name or argument, symbol in catch)"},AST_Symbol);var AST_SymbolVar=DEFNODE("SymbolVar",null,{$documentation:"Symbol defining a variable"},AST_SymbolDeclaration);var AST_SymbolFunarg=DEFNODE("SymbolFunarg",null,{$documentation:"Symbol naming a function argument"},AST_SymbolVar);var AST_SymbolDefun=DEFNODE("SymbolDefun",null,{$documentation:"Symbol defining a function"},AST_SymbolDeclaration);var AST_SymbolLambda=DEFNODE("SymbolLambda",null,{$documentation:"Symbol naming a function expression"},AST_SymbolDeclaration);var AST_SymbolCatch=DEFNODE("SymbolCatch",null,{$documentation:"Symbol naming the exception in catch"},AST_SymbolDeclaration);var AST_Label=DEFNODE("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}},AST_Symbol);var AST_SymbolRef=DEFNODE("SymbolRef",null,{$documentation:"Reference to some symbol (not definition/declaration)"},AST_Symbol);var AST_LabelRef=DEFNODE("LabelRef",null,{$documentation:"Reference to a label symbol"},AST_Symbol);var AST_This=DEFNODE("This",null,{$documentation:"The `this` symbol"},AST_Symbol);var AST_Constant=DEFNODE("Constant",null,{$documentation:"Base class for all constants",getValue:function(){return this.value}});var AST_String=DEFNODE("String","value quote",{$documentation:"A string literal",$propdoc:{value:"[string] the contents of this string",quote:"[string] the original quote character"}},AST_Constant);var AST_Number=DEFNODE("Number","value literal",{$documentation:"A number literal",$propdoc:{value:"[number] the numeric value",literal:"[string] numeric value as string (optional)"}},AST_Constant);var AST_RegExp=DEFNODE("RegExp","value",{$documentation:"A regexp literal",$propdoc:{value:"[RegExp] the actual regexp"}},AST_Constant);var AST_Atom=DEFNODE("Atom",null,{$documentation:"Base class for atoms"},AST_Constant);var AST_Null=DEFNODE("Null",null,{$documentation:"The `null` atom",value:null},AST_Atom);var AST_NaN=DEFNODE("NaN",null,{$documentation:"The impossible value",value:0/0},AST_Atom);var AST_Undefined=DEFNODE("Undefined",null,{$documentation:"The `undefined` value",value:function(){}()},AST_Atom);var AST_Hole=DEFNODE("Hole",null,{$documentation:"A hole in an array",value:function(){}()},AST_Atom);var AST_Infinity=DEFNODE("Infinity",null,{$documentation:"The `Infinity` value",value:1/0},AST_Atom);var AST_Boolean=DEFNODE("Boolean",null,{$documentation:"Base class for booleans"},AST_Atom);var AST_False=DEFNODE("False",null,{$documentation:"The `false` atom",value:false},AST_Boolean);var AST_True=DEFNODE("True",null,{$documentation:"The `true` atom",value:true},AST_Boolean);function TreeWalker(callback){this.visit=callback;this.stack=[];this.directives=Object.create(null)}TreeWalker.prototype={_visit:function(node,descend){this.push(node);var ret=this.visit(node,descend?function(){descend.call(node)}:noop);if(!ret&&descend){descend.call(node)}this.pop();return ret},parent:function(n){return this.stack[this.stack.length-2-(n||0)]},push:function(node){if(node instanceof AST_Lambda){this.directives=Object.create(this.directives)}else if(node instanceof AST_Directive&&!this.directives[node.value]){this.directives[node.value]=node}this.stack.push(node)},pop:function(){if(this.stack.pop()instanceof AST_Lambda){this.directives=Object.getPrototypeOf(this.directives)}},self:function(){return this.stack[this.stack.length-1]},find_parent:function(type){var stack=this.stack;for(var i=stack.length;--i>=0;){var x=stack[i];if(x instanceof type)return x}},has_directive:function(type){var dir=this.directives[type];if(dir)return dir;var node=this.stack[this.stack.length-1];if(node instanceof AST_Scope){for(var i=0;i<node.body.length;++i){var st=node.body[i];if(!(st instanceof AST_Directive))break;if(st.value==type)return st}}},in_boolean_context:function(){var stack=this.stack;var i=stack.length,self=stack[--i];while(i>0){var p=stack[--i];if(p instanceof AST_If&&p.condition===self||p instanceof AST_Conditional&&p.condition===self||p instanceof AST_DWLoop&&p.condition===self||p instanceof AST_For&&p.condition===self||p instanceof AST_UnaryPrefix&&p.operator=="!"&&p.expression===self){return true}if(!(p instanceof AST_Binary&&(p.operator=="&&"||p.operator=="||")))return false;self=p}},loopcontrol_target:function(node){var stack=this.stack;if(node.label)for(var i=stack.length;--i>=0;){var x=stack[i];if(x instanceof AST_LabeledStatement&&x.label.name==node.label.name)return x.body}else for(var i=stack.length;--i>=0;){var x=stack[i];if(x instanceof AST_IterationStatement||node instanceof AST_Break&&x instanceof AST_Switch)return x}}};"use strict";var KEYWORDS="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";var KEYWORDS_ATOM="false null true";var RESERVED_WORDS="abstract boolean byte char class double enum export extends final float goto implements import int interface let long native package private protected public short static super synchronized this throws transient volatile yield"+" "+KEYWORDS_ATOM+" "+KEYWORDS;var KEYWORDS_BEFORE_EXPRESSION="return new delete throw else case";KEYWORDS=makePredicate(KEYWORDS);RESERVED_WORDS=makePredicate(RESERVED_WORDS);KEYWORDS_BEFORE_EXPRESSION=makePredicate(KEYWORDS_BEFORE_EXPRESSION);KEYWORDS_ATOM=makePredicate(KEYWORDS_ATOM);var OPERATOR_CHARS=makePredicate(characters("+-*&%=<>!?|~^"));var RE_HEX_NUMBER=/^0x[0-9a-f]+$/i;var RE_OCT_NUMBER=/^0[0-7]+$/;var OPERATORS=makePredicate(["in","instanceof","typeof","new","void","delete","++","--","+","-","!","~","&","|","^","*","/","%",">>","<<",">>>","<",">","<=",">=","==","===","!=","!==","?","=","+=","-=","/=","*=","%=",">>=","<<=",">>>=","|=","^=","&=","&&","||"]);var WHITESPACE_CHARS=makePredicate(characters("  \n\r\t\f\v​           \u2028\u2029   \ufeff"));var NEWLINE_CHARS=makePredicate(characters("\n\r\u2028\u2029"));var PUNC_BEFORE_EXPRESSION=makePredicate(characters("[{(,;:"));var PUNC_CHARS=makePredicate(characters("[]{}(),;:"));var UNICODE={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]")};function is_letter(code){return code>=97&&code<=122||code>=65&&code<=90||code>=170&&UNICODE.letter.test(String.fromCharCode(code))}function is_digit(code){return code>=48&&code<=57}function is_alphanumeric_char(code){return is_digit(code)||is_letter(code)}function is_unicode_digit(code){return UNICODE.digit.test(String.fromCharCode(code))}function is_unicode_combining_mark(ch){return UNICODE.non_spacing_mark.test(ch)||UNICODE.space_combining_mark.test(ch)}function is_unicode_connector_punctuation(ch){return UNICODE.connector_punctuation.test(ch)}function is_identifier(name){return!RESERVED_WORDS(name)&&/^[a-z_$][a-z0-9_$]*$/i.test(name)}function is_identifier_start(code){return code==36||code==95||is_letter(code)}function is_identifier_char(ch){var code=ch.charCodeAt(0);return is_identifier_start(code)||is_digit(code)||code==8204||code==8205||is_unicode_combining_mark(ch)||is_unicode_connector_punctuation(ch)||is_unicode_digit(code)}function is_identifier_string(str){return/^[a-z_$][a-z0-9_$]*$/i.test(str)}function parse_js_number(num){if(RE_HEX_NUMBER.test(num)){return parseInt(num.substr(2),16)}else if(RE_OCT_NUMBER.test(num)){return parseInt(num.substr(1),8)}else{var val=parseFloat(num);if(val==num)return val}}function JS_Parse_Error(message,filename,line,col,pos){this.message=message;this.filename=filename;this.line=line;this.col=col;this.pos=pos}JS_Parse_Error.prototype=Object.create(Error.prototype);JS_Parse_Error.prototype.constructor=JS_Parse_Error;JS_Parse_Error.prototype.name="SyntaxError";configure_error_stack(JS_Parse_Error);function js_error(message,filename,line,col,pos){throw new JS_Parse_Error(message,filename,line,col,pos)}function is_token(token,type,val){return token.type==type&&(val==null||token.value==val)}var EX_EOF={};function tokenizer($TEXT,filename,html5_comments,shebang){var S={text:$TEXT,filename:filename,pos:0,tokpos:0,line:1,tokline:0,col:0,tokcol:0,newline_before:false,regex_allowed:false,comments_before:[],directives:{},directive_stack:[]};function peek(){return S.text.charAt(S.pos)}function next(signal_eof,in_string){var ch=S.text.charAt(S.pos++);if(signal_eof&&!ch)throw EX_EOF;if(NEWLINE_CHARS(ch)){S.newline_before=S.newline_before||!in_string;++S.line;S.col=0;if(!in_string&&ch=="\r"&&peek()=="\n"){++S.pos;ch="\n"}}else{++S.col}return ch}function forward(i){while(i-- >0)next()}function looking_at(str){return S.text.substr(S.pos,str.length)==str}function find_eol(){var text=S.text;for(var i=S.pos,n=S.text.length;i<n;++i){var ch=text[i];if(NEWLINE_CHARS(ch))return i}return-1}function find(what,signal_eof){var pos=S.text.indexOf(what,S.pos);if(signal_eof&&pos==-1)throw EX_EOF;return pos}function start_token(){S.tokline=S.line;S.tokcol=S.col;S.tokpos=S.pos}var prev_was_dot=false;function token(type,value,is_comment){S.regex_allowed=type=="operator"&&!UNARY_POSTFIX(value)||type=="keyword"&&KEYWORDS_BEFORE_EXPRESSION(value)||type=="punc"&&PUNC_BEFORE_EXPRESSION(value);if(type=="punc"&&value=="."){prev_was_dot=true}else if(!is_comment){prev_was_dot=false}var ret={type:type,value:value,line:S.tokline,col:S.tokcol,pos:S.tokpos,endline:S.line,endcol:S.col,endpos:S.pos,nlb:S.newline_before,file:filename};if(/^(?:num|string|regexp)$/i.test(type)){ret.raw=$TEXT.substring(ret.pos,ret.endpos)}if(!is_comment){ret.comments_before=S.comments_before;S.comments_before=[];for(var i=0,len=ret.comments_before.length;i<len;i++){ret.nlb=ret.nlb||ret.comments_before[i].nlb}}S.newline_before=false;return new AST_Token(ret)}function skip_whitespace(){while(WHITESPACE_CHARS(peek()))next()}function read_while(pred){var ret="",ch,i=0;while((ch=peek())&&pred(ch,i++))ret+=next();return ret}function parse_error(err){js_error(err,filename,S.tokline,S.tokcol,S.tokpos)}function read_num(prefix){var has_e=false,after_e=false,has_x=false,has_dot=prefix==".";var num=read_while(function(ch,i){var code=ch.charCodeAt(0);switch(code){case 120:case 88:return has_x?false:has_x=true;case 101:case 69:return has_x?true:has_e?false:has_e=after_e=true;case 45:return after_e||i==0&&!prefix;case 43:return after_e;case after_e=false,46:return!has_dot&&!has_x&&!has_e?has_dot=true:false}return is_alphanumeric_char(code)});if(prefix)num=prefix+num;if(RE_OCT_NUMBER.test(num)&&next_token.has_directive("use strict")){parse_error("Legacy octal literals are not allowed in strict mode")}var valid=parse_js_number(num);if(!isNaN(valid)){return token("num",valid)}else{parse_error("Invalid syntax: "+num)}}function read_escaped_char(in_string){var ch=next(true,in_string);switch(ch.charCodeAt(0)){case 110:return"\n";case 114:return"\r";case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 120:return String.fromCharCode(hex_bytes(2));case 117:return String.fromCharCode(hex_bytes(4));case 10:return"";case 13:if(peek()=="\n"){next(true,in_string);return""}}if(ch>="0"&&ch<="7")return read_octal_escape_sequence(ch);return ch}function read_octal_escape_sequence(ch){var p=peek();if(p>="0"&&p<="7"){ch+=next(true);if(ch[0]<="3"&&(p=peek())>="0"&&p<="7")ch+=next(true)}if(ch==="0")return"\0";if(ch.length>0&&next_token.has_directive("use strict"))parse_error("Legacy octal escape sequences are not allowed in strict mode");return String.fromCharCode(parseInt(ch,8))}function hex_bytes(n){var num=0;for(;n>0;--n){var digit=parseInt(next(true),16);if(isNaN(digit))parse_error("Invalid hex-character pattern in string");num=num<<4|digit}return num}var read_string=with_eof_error("Unterminated string constant",function(quote_char){var quote=next(),ret="";for(;;){var ch=next(true,true);if(ch=="\\")ch=read_escaped_char(true);else if(NEWLINE_CHARS(ch))parse_error("Unterminated string constant");else if(ch==quote)break;ret+=ch}var tok=token("string",ret);tok.quote=quote_char;return tok});function skip_line_comment(type){var regex_allowed=S.regex_allowed;var i=find_eol(),ret;if(i==-1){ret=S.text.substr(S.pos);S.pos=S.text.length}else{ret=S.text.substring(S.pos,i);S.pos=i}S.col=S.tokcol+(S.pos-S.tokpos);S.comments_before.push(token(type,ret,true));S.regex_allowed=regex_allowed;return next_token}var skip_multiline_comment=with_eof_error("Unterminated multiline comment",function(){var regex_allowed=S.regex_allowed;var i=find("*/",true);var text=S.text.substring(S.pos,i).replace(/\r\n|\r|\u2028|\u2029/g,"\n");forward(text.length+2);S.comments_before.push(token("comment2",text,true));S.regex_allowed=regex_allowed;return next_token});function read_name(){var backslash=false,name="",ch,escaped=false,hex;while((ch=peek())!=null){if(!backslash){if(ch=="\\")escaped=backslash=true,next();else if(is_identifier_char(ch))name+=next();else break}else{if(ch!="u")parse_error("Expecting UnicodeEscapeSequence -- uXXXX");ch=read_escaped_char();if(!is_identifier_char(ch))parse_error("Unicode char: "+ch.charCodeAt(0)+" is not valid in identifier");name+=ch;backslash=false}}if(KEYWORDS(name)&&escaped){hex=name.charCodeAt(0).toString(16).toUpperCase();name="\\u"+"0000".substr(hex.length)+hex+name.slice(1)}return name}var read_regexp=with_eof_error("Unterminated regular expression",function(source){var prev_backslash=false,ch,in_class=false;while(ch=next(true))if(NEWLINE_CHARS(ch)){parse_error("Unexpected line terminator")}else if(prev_backslash){source+="\\"+ch;prev_backslash=false}else if(ch=="["){in_class=true;source+=ch}else if(ch=="]"&&in_class){in_class=false;source+=ch}else if(ch=="/"&&!in_class){break}else if(ch=="\\"){prev_backslash=true}else{source+=ch}var mods=read_name();try{var regexp=new RegExp(source,mods);regexp.raw_source=source;return token("regexp",regexp)}catch(e){parse_error(e.message)}});function read_operator(prefix){function grow(op){if(!peek())return op;var bigger=op+peek();if(OPERATORS(bigger)){next();return grow(bigger)}else{return op}}return token("operator",grow(prefix||next()))}function handle_slash(){next();switch(peek()){case"/":next();return skip_line_comment("comment1");case"*":next();return skip_multiline_comment()}return S.regex_allowed?read_regexp(""):read_operator("/")}function handle_dot(){next();return is_digit(peek().charCodeAt(0))?read_num("."):token("punc",".")}function read_word(){var word=read_name();if(prev_was_dot)return token("name",word);return KEYWORDS_ATOM(word)?token("atom",word):!KEYWORDS(word)?token("name",word):OPERATORS(word)?token("operator",word):token("keyword",word)}function with_eof_error(eof_error,cont){return function(x){try{return cont(x)}catch(ex){if(ex===EX_EOF)parse_error(eof_error);else throw ex}}}function next_token(force_regexp){if(force_regexp!=null)return read_regexp(force_regexp);if(shebang&&S.pos==0&&looking_at("#!")){start_token();forward(2);skip_line_comment("comment5")}for(;;){skip_whitespace();start_token();if(html5_comments){if(looking_at("\x3c!--")){forward(4);skip_line_comment("comment3");continue}if(looking_at("--\x3e")&&S.newline_before){forward(3);skip_line_comment("comment4");continue}}var ch=peek();if(!ch)return token("eof");var code=ch.charCodeAt(0);switch(code){case 34:case 39:return read_string(ch);case 46:return handle_dot();case 47:{var tok=handle_slash();if(tok===next_token)continue;return tok}}if(is_digit(code))return read_num();if(PUNC_CHARS(ch))return token("punc",next());if(OPERATOR_CHARS(ch))return read_operator();if(code==92||is_identifier_start(code))return read_word();break}parse_error("Unexpected character '"+ch+"'")}next_token.context=function(nc){if(nc)S=nc;return S};next_token.add_directive=function(directive){S.directive_stack[S.directive_stack.length-1].push(directive);if(S.directives[directive]===undefined){S.directives[directive]=1}else{S.directives[directive]++}};next_token.push_directives_stack=function(){S.directive_stack.push([])};next_token.pop_directives_stack=function(){var directives=S.directive_stack[S.directive_stack.length-1];for(var i=0;i<directives.length;i++){S.directives[directives[i]]--}S.directive_stack.pop()};next_token.has_directive=function(directive){return S.directives[directive]>0};return next_token}var UNARY_PREFIX=makePredicate(["typeof","void","delete","--","++","!","~","-","+"]);var UNARY_POSTFIX=makePredicate(["--","++"]);var ASSIGNMENT=makePredicate(["=","+=","-=","/=","*=","%=",">>=","<<=",">>>=","|=","^=","&="]);var PRECEDENCE=function(a,ret){for(var i=0;i<a.length;++i){var b=a[i];for(var j=0;j<b.length;++j){ret[b[j]]=i+1}}return ret}([["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"]],{});var ATOMIC_START_TOKEN=makePredicate(["atom","num","string","regexp","name"]);function parse($TEXT,options){options=defaults(options,{bare_returns:false,expression:false,filename:null,html5_comments:true,shebang:true,strict:false,toplevel:null},true);var S={input:typeof $TEXT=="string"?tokenizer($TEXT,options.filename,options.html5_comments,options.shebang):$TEXT,token:null,prev:null,peeked:null,in_function:0,in_directives:true,in_loop:0,labels:[]};S.token=next();function is(type,value){return is_token(S.token,type,value)}function peek(){return S.peeked||(S.peeked=S.input())}function next(){S.prev=S.token;if(S.peeked){S.token=S.peeked;S.peeked=null}else{S.token=S.input()}S.in_directives=S.in_directives&&(S.token.type=="string"||is("punc",";"));return S.token}function prev(){return S.prev}function croak(msg,line,col,pos){var ctx=S.input.context();js_error(msg,ctx.filename,line!=null?line:ctx.tokline,col!=null?col:ctx.tokcol,pos!=null?pos:ctx.tokpos)}function token_error(token,msg){croak(msg,token.line,token.col)}function unexpected(token){if(token==null)token=S.token;token_error(token,"Unexpected token: "+token.type+" ("+token.value+")")}function expect_token(type,val){if(is(type,val)){return next()}token_error(S.token,"Unexpected token "+S.token.type+" «"+S.token.value+"»"+", expected "+type+" «"+val+"»")}function expect(punc){return expect_token("punc",punc)}function can_insert_semicolon(){return!options.strict&&(S.token.nlb||is("eof")||is("punc","}"))}function semicolon(optional){if(is("punc",";"))next();else if(!optional&&!can_insert_semicolon())unexpected()}function parenthesised(){expect("(");var exp=expression(true);expect(")");return exp}function embed_tokens(parser){return function(){var start=S.token;var expr=parser();var end=prev();expr.start=start;expr.end=end;return expr}}function handle_regexp(){if(is("operator","/")||is("operator","/=")){S.peeked=null;S.token=S.input(S.token.value.substr(1))}}var statement=embed_tokens(function(){handle_regexp();switch(S.token.type){case"string":if(S.in_directives){var token=peek();if(S.token.raw.indexOf("\\")==-1&&(token.nlb||is_token(token,"eof")||is_token(token,"punc",";")||is_token(token,"punc","}"))){S.input.add_directive(S.token.value)}else{S.in_directives=false}}var dir=S.in_directives,stat=simple_statement();return dir?new AST_Directive(stat.body):stat;case"num":case"regexp":case"operator":case"atom":return simple_statement();case"name":return is_token(peek(),"punc",":")?labeled_statement():simple_statement();case"punc":switch(S.token.value){case"{":return new AST_BlockStatement({start:S.token,body:block_(),end:prev()});case"[":case"(":return simple_statement();case";":S.in_directives=false;next();return new AST_EmptyStatement;default:unexpected()}case"keyword":switch(S.token.value){case"break":next();return break_cont(AST_Break);case"continue":next();return break_cont(AST_Continue);case"debugger":next();semicolon();return new AST_Debugger;case"do":next();var body=in_loop(statement);expect_token("keyword","while");var condition=parenthesised();semicolon(true);return new AST_Do({body:body,condition:condition});case"while":next();return new AST_While({condition:parenthesised(),body:in_loop(statement)});case"for":next();return for_();case"function":next();return function_(AST_Defun);case"if":next();return if_();case"return":if(S.in_function==0&&!options.bare_returns)croak("'return' outside of function");next();var value=null;if(is("punc",";")){next()}else if(!can_insert_semicolon()){value=expression(true);semicolon()}return new AST_Return({value:value});case"switch":next();return new AST_Switch({expression:parenthesised(),body:in_loop(switch_body_)});case"throw":next();if(S.token.nlb)croak("Illegal newline after 'throw'");var value=expression(true);semicolon();return new AST_Throw({value:value});case"try":next();return try_();case"var":next();var node=var_();semicolon();return node;case"with":if(S.input.has_directive("use strict")){croak("Strict mode may not include a with statement")}next();return new AST_With({expression:parenthesised(),body:statement()})}}unexpected()});function labeled_statement(){var label=as_symbol(AST_Label);if(find_if(function(l){return l.name==label.name},S.labels)){croak("Label "+label.name+" defined twice")}expect(":");S.labels.push(label);var stat=statement();S.labels.pop();if(!(stat instanceof AST_IterationStatement)){label.references.forEach(function(ref){if(ref instanceof AST_Continue){ref=ref.label.start;croak("Continue label `"+label.name+"` refers to non-IterationStatement.",ref.line,ref.col,ref.pos)}})}return new AST_LabeledStatement({body:stat,label:label})}function simple_statement(tmp){return new AST_SimpleStatement({body:(tmp=expression(true),semicolon(),tmp)})}function break_cont(type){var label=null,ldef;if(!can_insert_semicolon()){label=as_symbol(AST_LabelRef,true)}if(label!=null){ldef=find_if(function(l){return l.name==label.name},S.labels);if(!ldef)croak("Undefined label "+label.name);label.thedef=ldef}else if(S.in_loop==0)croak(type.TYPE+" not inside a loop or switch");semicolon();var stat=new type({label:label});if(ldef)ldef.references.push(stat);return stat}function for_(){expect("(");var init=null;if(!is("punc",";")){init=is("keyword","var")?(next(),var_(true)):expression(true,true);if(is("operator","in")){if(init instanceof AST_Var){if(init.definitions.length>1)croak("Only one variable declaration allowed in for..in loop",init.start.line,init.start.col,init.start.pos)}else if(!is_assignable(init)){croak("Invalid left-hand side in for..in loop",init.start.line,init.start.col,init.start.pos)}next();return for_in(init)}}return regular_for(init)}function regular_for(init){expect(";");var test=is("punc",";")?null:expression(true);expect(";");var step=is("punc",")")?null:expression(true);expect(")");return new AST_For({init:init,condition:test,step:step,body:in_loop(statement)})}function for_in(init){var lhs=init instanceof AST_Var?init.definitions[0].name:null;var obj=expression(true);expect(")");return new AST_ForIn({init:init,name:lhs,object:obj,body:in_loop(statement)})}var function_=function(ctor){var in_statement=ctor===AST_Defun;var name=is("name")?as_symbol(in_statement?AST_SymbolDefun:AST_SymbolLambda):null;if(in_statement&&!name)unexpected();expect("(");var argnames=[];for(var first=true;!is("punc",")");){if(first)first=false;else expect(",");argnames.push(as_symbol(AST_SymbolFunarg))}next();var loop=S.in_loop;var labels=S.labels;++S.in_function;S.in_directives=true;S.input.push_directives_stack();S.in_loop=0;S.labels=[];var body=block_();if(S.input.has_directive("use strict")){if(name)strict_verify_symbol(name);argnames.forEach(strict_verify_symbol)}S.input.pop_directives_stack();--S.in_function;S.in_loop=loop;S.labels=labels;return new ctor({name:name,argnames:argnames,body:body})};function if_(){var cond=parenthesised(),body=statement(),belse=null;if(is("keyword","else")){next();belse=statement()}return new AST_If({condition:cond,body:body,alternative:belse})}function block_(){expect("{");var a=[];while(!is("punc","}")){if(is("eof"))unexpected();a.push(statement())}next();return a}function switch_body_(){expect("{");var a=[],cur=null,branch=null,tmp;while(!is("punc","}")){if(is("eof"))unexpected();if(is("keyword","case")){if(branch)branch.end=prev();cur=[];branch=new AST_Case({start:(tmp=S.token,next(),tmp),expression:expression(true),body:cur});a.push(branch);expect(":")}else if(is("keyword","default")){if(branch)branch.end=prev();cur=[];branch=new AST_Default({start:(tmp=S.token,next(),expect(":"),tmp),body:cur});a.push(branch)}else{if(!cur)unexpected();cur.push(statement())}}if(branch)branch.end=prev();next();return a}function try_(){var body=block_(),bcatch=null,bfinally=null;if(is("keyword","catch")){var start=S.token;next();expect("(");var name=as_symbol(AST_SymbolCatch);expect(")");bcatch=new AST_Catch({start:start,argname:name,body:block_(),end:prev()})}if(is("keyword","finally")){var start=S.token;next();bfinally=new AST_Finally({start:start,body:block_(),end:prev()})}if(!bcatch&&!bfinally)croak("Missing catch/finally blocks");return new AST_Try({body:body,bcatch:bcatch,bfinally:bfinally})}function vardefs(no_in){var a=[];for(;;){a.push(new AST_VarDef({start:S.token,name:as_symbol(AST_SymbolVar),value:is("operator","=")?(next(),expression(false,no_in)):null,end:prev()}));if(!is("punc",","))break;next()}return a}var var_=function(no_in){return new AST_Var({start:prev(),definitions:vardefs(no_in),end:prev()})};var new_=function(allow_calls){var start=S.token;expect_token("operator","new");var newexp=expr_atom(false),args;if(is("punc","(")){next();args=expr_list(")")}else{args=[]}return subscripts(new AST_New({start:start,expression:newexp,args:args,end:prev()}),allow_calls)};function as_atom_node(){var tok=S.token,ret;switch(tok.type){case"name":ret=_make_symbol(AST_SymbolRef);break;case"num":ret=new AST_Number({start:tok,end:tok,value:tok.value});break;case"string":ret=new AST_String({start:tok,end:tok,value:tok.value,quote:tok.quote});break;case"regexp":ret=new AST_RegExp({start:tok,end:tok,value:tok.value});break;case"atom":switch(tok.value){case"false":ret=new AST_False({start:tok,end:tok});break;case"true":ret=new AST_True({start:tok,end:tok});break;case"null":ret=new AST_Null({start:tok,end:tok});break}break}next();return ret}var expr_atom=function(allow_calls){if(is("operator","new")){return new_(allow_calls)}var start=S.token;if(is("punc")){switch(start.value){case"(":next();var ex=expression(true);ex.start=start;ex.end=S.token;expect(")");return subscripts(ex,allow_calls);case"[":return subscripts(array_(),allow_calls);case"{":return subscripts(object_(),allow_calls)}unexpected()}if(is("keyword","function")){next();var func=function_(AST_Function);func.start=start;func.end=prev();return subscripts(func,allow_calls)}if(ATOMIC_START_TOKEN(S.token.type)){return subscripts(as_atom_node(),allow_calls)}unexpected()};function expr_list(closing,allow_trailing_comma,allow_empty){var first=true,a=[];while(!is("punc",closing)){if(first)first=false;else expect(",");if(allow_trailing_comma&&is("punc",closing))break;if(is("punc",",")&&allow_empty){a.push(new AST_Hole({start:S.token,end:S.token}))}else{a.push(expression(false))}}next();return a}var array_=embed_tokens(function(){expect("[");return new AST_Array({elements:expr_list("]",!options.strict,true)})});var create_accessor=embed_tokens(function(){return function_(AST_Accessor)});var object_=embed_tokens(function(){expect("{");var first=true,a=[];while(!is("punc","}")){if(first)first=false;else expect(",");if(!options.strict&&is("punc","}"))break;var start=S.token;var type=start.type;var name=as_property_name();if(type=="name"&&!is("punc",":")){var key=new AST_SymbolAccessor({start:S.token,name:as_property_name(),end:prev()});if(name=="get"){a.push(new AST_ObjectGetter({start:start,key:key,value:create_accessor(),end:prev()}));continue}if(name=="set"){a.push(new AST_ObjectSetter({start:start,key:key,value:create_accessor(),end:prev()}));continue}}expect(":");a.push(new AST_ObjectKeyVal({start:start,quote:start.quote,key:name,value:expression(false),end:prev()}))}next();return new AST_Object({properties:a})});function as_property_name(){var tmp=S.token;switch(tmp.type){case"operator":if(!KEYWORDS(tmp.value))unexpected();case"num":case"string":case"name":case"keyword":case"atom":next();return tmp.value;default:unexpected()}}function as_name(){var tmp=S.token;if(tmp.type!="name")unexpected();next();return tmp.value}function _make_symbol(type){var name=S.token.value;return new(name=="this"?AST_This:type)({name:String(name),start:S.token,end:S.token})}function strict_verify_symbol(sym){if(sym.name=="arguments"||sym.name=="eval")croak("Unexpected "+sym.name+" in strict mode",sym.start.line,sym.start.col,sym.start.pos)}function as_symbol(type,noerror){if(!is("name")){if(!noerror)croak("Name expected");return null}var sym=_make_symbol(type);if(S.input.has_directive("use strict")&&sym instanceof AST_SymbolDeclaration){strict_verify_symbol(sym)}next();return sym}var subscripts=function(expr,allow_calls){var start=expr.start;if(is("punc",".")){next();return subscripts(new AST_Dot({start:start,expression:expr,property:as_name(),end:prev()}),allow_calls)}if(is("punc","[")){next();var prop=expression(true);expect("]");return subscripts(new AST_Sub({start:start,expression:expr,property:prop,end:prev()}),allow_calls)}if(allow_calls&&is("punc","(")){next();return subscripts(new AST_Call({start:start,expression:expr,args:expr_list(")"),end:prev()}),true)}return expr};var maybe_unary=function(allow_calls){var start=S.token;if(is("operator")&&UNARY_PREFIX(start.value)){next();handle_regexp();var ex=make_unary(AST_UnaryPrefix,start,maybe_unary(allow_calls));ex.start=start;ex.end=prev();return ex}var val=expr_atom(allow_calls);while(is("operator")&&UNARY_POSTFIX(S.token.value)&&!S.token.nlb){val=make_unary(AST_UnaryPostfix,S.token,val);val.start=start;val.end=S.token;next()}return val};function make_unary(ctor,token,expr){var op=token.value;switch(op){case"++":case"--":if(!is_assignable(expr))croak("Invalid use of "+op+" operator",token.line,token.col,token.pos);break;case"delete":if(expr instanceof AST_SymbolRef&&S.input.has_directive("use strict"))croak("Calling delete on expression not allowed in strict mode",expr.start.line,expr.start.col,expr.start.pos);break}return new ctor({operator:op,expression:expr})}var expr_op=function(left,min_prec,no_in){var op=is("operator")?S.token.value:null;if(op=="in"&&no_in)op=null;var prec=op!=null?PRECEDENCE[op]:null;if(prec!=null&&prec>min_prec){next();var right=expr_op(maybe_unary(true),prec,no_in);return expr_op(new AST_Binary({start:left.start,left:left,operator:op,right:right,end:right.end}),min_prec,no_in)}return left};function expr_ops(no_in){return expr_op(maybe_unary(true),0,no_in)}var maybe_conditional=function(no_in){var start=S.token;var expr=expr_ops(no_in);if(is("operator","?")){next();var yes=expression(false);expect(":");return new AST_Conditional({start:start,condition:expr,consequent:yes,alternative:expression(false,no_in),end:prev()})}return expr};function is_assignable(expr){return expr instanceof AST_PropAccess||expr instanceof AST_SymbolRef}var maybe_assign=function(no_in){var start=S.token;var left=maybe_conditional(no_in),val=S.token.value;if(is("operator")&&ASSIGNMENT(val)){if(is_assignable(left)){next();return new AST_Assign({start:start,left:left,operator:val,right:maybe_assign(no_in),end:prev()})}croak("Invalid assignment")}return left};var expression=function(commas,no_in){var start=S.token;var exprs=[];while(true){exprs.push(maybe_assign(no_in));if(!commas||!is("punc",","))break;next();commas=true}return exprs.length==1?exprs[0]:new AST_Sequence({start:start,expressions:exprs,end:peek()})};function in_loop(cont){++S.in_loop;var ret=cont();--S.in_loop;return ret}if(options.expression){return expression(true)}return function(){var start=S.token;var body=[];S.input.push_directives_stack();while(!is("eof"))body.push(statement());S.input.pop_directives_stack();var end=prev();var toplevel=options.toplevel;if(toplevel){toplevel.body=toplevel.body.concat(body);toplevel.end=end}else{toplevel=new AST_Toplevel({start:start,body:body,end:end})}return toplevel}()}"use strict";function TreeTransformer(before,after){TreeWalker.call(this);this.before=before;this.after=after}TreeTransformer.prototype=new TreeWalker;(function(undefined){function _(node,descend){node.DEFMETHOD("transform",function(tw,in_list){var x,y;tw.push(this);if(tw.before)x=tw.before(this,descend,in_list);if(x===undefined){if(!tw.after){x=this;descend(x,tw)}else{tw.stack[tw.stack.length-1]=x=this;descend(x,tw);y=tw.after(x,in_list);if(y!==undefined)x=y}}tw.pop();return x})}function do_list(list,tw){return MAP(list,function(node){return node.transform(tw,true)})}_(AST_Node,noop);_(AST_LabeledStatement,function(self,tw){self.label=self.label.transform(tw);self.body=self.body.transform(tw)});_(AST_SimpleStatement,function(self,tw){self.body=self.body.transform(tw)});_(AST_Block,function(self,tw){self.body=do_list(self.body,tw)});_(AST_DWLoop,function(self,tw){self.condition=self.condition.transform(tw);self.body=self.body.transform(tw)});_(AST_For,function(self,tw){if(self.init)self.init=self.init.transform(tw);if(self.condition)self.condition=self.condition.transform(tw);if(self.step)self.step=self.step.transform(tw);self.body=self.body.transform(tw)});_(AST_ForIn,function(self,tw){self.init=self.init.transform(tw);self.object=self.object.transform(tw);self.body=self.body.transform(tw)});_(AST_With,function(self,tw){self.expression=self.expression.transform(tw);self.body=self.body.transform(tw)});_(AST_Exit,function(self,tw){if(self.value)self.value=self.value.transform(tw)});_(AST_LoopControl,function(self,tw){if(self.label)self.label=self.label.transform(tw)});_(AST_If,function(self,tw){self.condition=self.condition.transform(tw);self.body=self.body.transform(tw);if(self.alternative)self.alternative=self.alternative.transform(tw)});_(AST_Switch,function(self,tw){self.expression=self.expression.transform(tw);self.body=do_list(self.body,tw)});_(AST_Case,function(self,tw){self.expression=self.expression.transform(tw);self.body=do_list(self.body,tw)});_(AST_Try,function(self,tw){self.body=do_list(self.body,tw);if(self.bcatch)self.bcatch=self.bcatch.transform(tw);if(self.bfinally)self.bfinally=self.bfinally.transform(tw)});_(AST_Catch,function(self,tw){self.argname=self.argname.transform(tw);self.body=do_list(self.body,tw)});_(AST_Definitions,function(self,tw){self.definitions=do_list(self.definitions,tw)});_(AST_VarDef,function(self,tw){self.name=self.name.transform(tw);if(self.value)self.value=self.value.transform(tw)});_(AST_Lambda,function(self,tw){if(self.name)self.name=self.name.transform(tw);self.argnames=do_list(self.argnames,tw);self.body=do_list(self.body,tw)});_(AST_Call,function(self,tw){self.expression=self.expression.transform(tw);self.args=do_list(self.args,tw)});_(AST_Sequence,function(self,tw){self.expressions=do_list(self.expressions,tw)});_(AST_Dot,function(self,tw){self.expression=self.expression.transform(tw)});_(AST_Sub,function(self,tw){self.expression=self.expression.transform(tw);self.property=self.property.transform(tw)});_(AST_Unary,function(self,tw){self.expression=self.expression.transform(tw)});_(AST_Binary,function(self,tw){self.left=self.left.transform(tw);self.right=self.right.transform(tw)});_(AST_Conditional,function(self,tw){self.condition=self.condition.transform(tw);self.consequent=self.consequent.transform(tw);self.alternative=self.alternative.transform(tw)});_(AST_Array,function(self,tw){self.elements=do_list(self.elements,tw)});_(AST_Object,function(self,tw){self.properties=do_list(self.properties,tw)});_(AST_ObjectProperty,function(self,tw){self.value=self.value.transform(tw)})})();"use strict";function SymbolDef(scope,index,orig){this.name=orig.name;this.orig=[orig];this.scope=scope;this.references=[];this.global=false;this.mangled_name=null;this.undeclared=false;this.index=index;this.id=SymbolDef.next_id++}SymbolDef.next_id=1;SymbolDef.prototype={unmangleable:function(options){if(!options)options={};return this.global&&!options.toplevel||this.undeclared||!options.eval&&(this.scope.uses_eval||this.scope.uses_with)||options.keep_fnames&&(this.orig[0]instanceof AST_SymbolLambda||this.orig[0]instanceof AST_SymbolDefun)},mangle:function(options){var cache=options.cache&&options.cache.props;if(this.global&&cache&&cache.has(this.name)){this.mangled_name=cache.get(this.name)}else if(!this.mangled_name&&!this.unmangleable(options)){var s=this.scope;var sym=this.orig[0];if(options.ie8&&sym instanceof AST_SymbolLambda)s=s.parent_scope;var def;if(def=this.redefined()){this.mangled_name=def.mangled_name||def.name}else this.mangled_name=s.next_mangled(options,this);if(this.global&&cache){cache.set(this.name,this.mangled_name)}}},redefined:function(){return this.defun&&this.defun.variables.get(this.name)}};AST_Toplevel.DEFMETHOD("figure_out_scope",function(options){options=defaults(options,{cache:null,ie8:false});var self=this;var scope=self.parent_scope=null;var labels=new Dictionary;var defun=null;var tw=new TreeWalker(function(node,descend){if(node instanceof AST_Catch){var save_scope=scope;scope=new AST_Scope(node);scope.init_scope_vars(save_scope);descend();scope=save_scope;return true}if(node instanceof AST_Scope){node.init_scope_vars(scope);var save_scope=scope;var save_defun=defun;var save_labels=labels;defun=scope=node;labels=new Dictionary;descend();scope=save_scope;defun=save_defun;labels=save_labels;return true}if(node instanceof AST_LabeledStatement){var l=node.label;if(labels.has(l.name)){throw new Error(string_template("Label {name} defined twice",l))}labels.set(l.name,l);descend();labels.del(l.name);return true}if(node instanceof AST_With){for(var s=scope;s;s=s.parent_scope)s.uses_with=true;return}if(node instanceof AST_Symbol){node.scope=scope}if(node instanceof AST_Label){node.thedef=node;node.references=[]}if(node instanceof AST_SymbolLambda){defun.def_function(node)}else if(node instanceof AST_SymbolDefun){(node.scope=defun.parent_scope).def_function(node)}else if(node instanceof AST_SymbolVar){defun.def_variable(node);if(defun!==scope){node.mark_enclosed(options);var def=scope.find_variable(node);if(node.thedef!==def){node.thedef=def;node.reference(options)}}}else if(node instanceof AST_SymbolCatch){scope.def_variable(node).defun=defun}else if(node instanceof AST_LabelRef){var sym=labels.get(node.name);if(!sym)throw new Error(string_template("Undefined label {name} [{line},{col}]",{name:node.name,line:node.start.line,col:node.start.col}));node.thedef=sym}});self.walk(tw);self.globals=new Dictionary;var tw=new TreeWalker(function(node,descend){if(node instanceof AST_LoopControl&&node.label){node.label.thedef.references.push(node);return true}if(node instanceof AST_SymbolRef){var name=node.name;if(name=="eval"&&tw.parent()instanceof AST_Call){for(var s=node.scope;s&&!s.uses_eval;s=s.parent_scope){s.uses_eval=true}}var sym=node.scope.find_variable(name);if(!sym){sym=self.def_global(node)}else if(sym.scope instanceof AST_Lambda&&name=="arguments"){sym.scope.uses_arguments=true}node.thedef=sym;node.reference(options);return true}var def;if(node instanceof AST_SymbolCatch&&(def=node.definition().redefined())){var s=node.scope;while(s){push_uniq(s.enclosed,def);if(s===def.scope)break;s=s.parent_scope}}});self.walk(tw);if(options.ie8){self.walk(new TreeWalker(function(node,descend){if(node instanceof AST_SymbolCatch){var name=node.name;var refs=node.thedef.references;var scope=node.thedef.defun;var def=scope.find_variable(name)||self.globals.get(name)||scope.def_variable(node);refs.forEach(function(ref){ref.thedef=def;ref.reference(options)});node.thedef=def;node.reference(options);return true}}))}if(options.cache){this.cname=options.cache.cname}});AST_Toplevel.DEFMETHOD("def_global",function(node){var globals=this.globals,name=node.name;if(globals.has(name)){return globals.get(name)}else{var g=new SymbolDef(this,globals.size(),node);g.undeclared=true;g.global=true;globals.set(name,g);return g}});AST_Scope.DEFMETHOD("init_scope_vars",function(parent_scope){this.variables=new Dictionary;this.functions=new Dictionary;this.uses_with=false;this.uses_eval=false;this.parent_scope=parent_scope;this.enclosed=[];this.cname=-1});AST_Lambda.DEFMETHOD("init_scope_vars",function(){AST_Scope.prototype.init_scope_vars.apply(this,arguments);this.uses_arguments=false;this.def_variable(new AST_SymbolFunarg({name:"arguments",start:this.start,end:this.end}))});AST_Symbol.DEFMETHOD("mark_enclosed",function(options){var def=this.definition();var s=this.scope;while(s){push_uniq(s.enclosed,def);if(options.keep_fnames){s.functions.each(function(d){push_uniq(def.scope.enclosed,d)})}if(s===def.scope)break;s=s.parent_scope}});AST_Symbol.DEFMETHOD("reference",function(options){this.definition().references.push(this);this.mark_enclosed(options)});AST_Scope.DEFMETHOD("find_variable",function(name){if(name instanceof AST_Symbol)name=name.name;return this.variables.get(name)||this.parent_scope&&this.parent_scope.find_variable(name)});AST_Scope.DEFMETHOD("def_function",function(symbol){this.functions.set(symbol.name,this.def_variable(symbol))});AST_Scope.DEFMETHOD("def_variable",function(symbol){var def;if(!this.variables.has(symbol.name)){def=new SymbolDef(this,this.variables.size(),symbol);this.variables.set(symbol.name,def);def.global=!this.parent_scope}else{def=this.variables.get(symbol.name);def.orig.push(symbol)}return symbol.thedef=def});AST_Scope.DEFMETHOD("next_mangled",function(options){var ext=this.enclosed;out:while(true){var m=base54(++this.cname);if(!is_identifier(m))continue;if(options.reserved.indexOf(m)>=0)continue;for(var i=ext.length;--i>=0;){var sym=ext[i];var name=sym.mangled_name||sym.unmangleable(options)&&sym.name;if(m==name)continue out}return m}});AST_Function.DEFMETHOD("next_mangled",function(options,def){var tricky_def=def.orig[0]instanceof AST_SymbolFunarg&&this.name&&this.name.definition();var tricky_name=tricky_def?tricky_def.mangled_name||tricky_def.name:null;while(true){var name=AST_Lambda.prototype.next_mangled.call(this,options,def);if(!tricky_name||tricky_name!=name)return name}});AST_Symbol.DEFMETHOD("unmangleable",function(options){var def=this.definition();return!def||def.unmangleable(options)});AST_Label.DEFMETHOD("unmangleable",return_false);AST_Symbol.DEFMETHOD("unreferenced",function(){return this.definition().references.length==0&&!(this.scope.uses_eval||this.scope.uses_with)});AST_Symbol.DEFMETHOD("definition",function(){return this.thedef});AST_Symbol.DEFMETHOD("global",function(){return this.definition().global});AST_Toplevel.DEFMETHOD("_default_mangler_options",function(options){options=defaults(options,{eval:false,ie8:false,keep_fnames:false,reserved:[],toplevel:false});if(!Array.isArray(options.reserved))options.reserved=[];return options});AST_Toplevel.DEFMETHOD("mangle_names",function(options){options=this._default_mangler_options(options);options.reserved.push("arguments");var lname=-1;var to_mangle=[];if(options.cache){this.globals.each(function(symbol){if(options.reserved.indexOf(symbol.name)<0){to_mangle.push(symbol)}})}var tw=new TreeWalker(function(node,descend){if(node instanceof AST_LabeledStatement){var save_nesting=lname;descend();lname=save_nesting;return true}if(node instanceof AST_Scope){var p=tw.parent(),a=[];node.variables.each(function(symbol){if(options.reserved.indexOf(symbol.name)<0){a.push(symbol)}});to_mangle.push.apply(to_mangle,a);return}if(node instanceof AST_Label){var name;do{name=base54(++lname)}while(!is_identifier(name));node.mangled_name=name;return true}if(!options.ie8&&node instanceof AST_SymbolCatch){to_mangle.push(node.definition());return}});this.walk(tw);to_mangle.forEach(function(def){def.mangle(options)});if(options.cache){options.cache.cname=this.cname}});AST_Toplevel.DEFMETHOD("compute_char_frequency",function(options){options=this._default_mangler_options(options);try{AST_Node.prototype.print=function(stream,force_parens){this._print(stream,force_parens);if(this instanceof AST_Symbol&&!this.unmangleable(options)){base54.consider(this.name,-1)}else if(options.properties){if(this instanceof AST_Dot){base54.consider(this.property,-1)}else if(this instanceof AST_Sub){skip_string(this.property)}}};base54.consider(this.print_to_string(),1)}finally{AST_Node.prototype.print=AST_Node.prototype._print}base54.sort();function skip_string(node){if(node instanceof AST_String){base54.consider(node.value,-1)}else if(node instanceof AST_Conditional){skip_string(node.consequent);skip_string(node.alternative)}else if(node instanceof AST_Sequence){skip_string(node.expressions[node.expressions.length-1])}}});var base54=function(){var leading="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_".split("");var digits="0123456789".split("");var chars,frequency;function reset(){frequency=Object.create(null);leading.forEach(function(ch){frequency[ch]=0});digits.forEach(function(ch){frequency[ch]=0})}base54.consider=function(str,delta){for(var i=str.length;--i>=0;){frequency[str[i]]+=delta}};function compare(a,b){return frequency[b]-frequency[a]}base54.sort=function(){chars=mergeSort(leading,compare).concat(mergeSort(digits,compare))};base54.reset=reset;reset();function base54(num){var ret="",base=54;num++;do{num--;ret+=chars[num%base];num=Math.floor(num/base);base=64}while(num>0);return ret}return base54}();"use strict";var EXPECT_DIRECTIVE=/^$|[;{][\s\n]*$/;function is_some_comments(comment){return comment.type=="comment2"&&/@preserve|@license|@cc_on/i.test(comment.value)}function OutputStream(options){options=defaults(options,{ascii_only:false,beautify:false,bracketize:false,comments:false,ie8:false,indent_level:4,indent_start:0,inline_script:true,keep_quoted_props:false,max_line_len:false,preamble:null,preserve_line:false,quote_keys:false,quote_style:0,semicolons:true,shebang:true,source_map:null,webkit:false,width:80,wrap_iife:false},true);var comment_filter=return_false;if(options.comments){var comments=options.comments;if(typeof options.comments==="string"&&/^\/.*\/[a-zA-Z]*$/.test(options.comments)){var regex_pos=options.comments.lastIndexOf("/");comments=new RegExp(options.comments.substr(1,regex_pos-1),options.comments.substr(regex_pos+1))}if(comments instanceof RegExp){comment_filter=function(comment){return comment.type!="comment5"&&comments.test(comment.value)}}else if(typeof comments==="function"){comment_filter=function(comment){return comment.type!="comment5"&&comments(this,comment)}}else if(comments==="some"){comment_filter=is_some_comments}else{comment_filter=return_true}}var indentation=0;var current_col=0;var current_line=1;var current_pos=0;var OUTPUT="";var to_utf8=options.ascii_only?function(str,identifier){return str.replace(/[\u0000-\u001f\u007f-\uffff]/g,function(ch){var code=ch.charCodeAt(0).toString(16);if(code.length<=2&&!identifier){while(code.length<2)code="0"+code;return"\\x"+code}else{while(code.length<4)code="0"+code;return"\\u"+code}})}:function(str){return str.replace(/[\ud800-\udbff](?![\udc00-\udfff])/g,function(ch){return"\\u"+ch.charCodeAt(0).toString(16)}).replace(/(^|[^\ud800-\udbff])([\udc00-\udfff])/g,function(match,prefix,ch){return prefix+"\\u"+ch.charCodeAt(0).toString(16)})};function make_string(str,quote){var dq=0,sq=0;str=str.replace(/[\\\b\f\n\r\v\t\x22\x27\u2028\u2029\0\ufeff]/g,function(s,i){switch(s){case'"':++dq;return'"';case"'":++sq;return"'";case"\\":return"\\\\";case"\n":return"\\n";case"\r":return"\\r";case"\t":return"\\t";case"\b":return"\\b";case"\f":return"\\f";case"\v":return options.ie8?"\\x0B":"\\v";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";case"\ufeff":return"\\ufeff";case"\0":return/[0-9]/.test(str.charAt(i+1))?"\\x00":"\\0"}return s});function quote_single(){return"'"+str.replace(/\x27/g,"\\'")+"'"}function quote_double(){return'"'+str.replace(/\x22/g,'\\"')+'"'}str=to_utf8(str);switch(options.quote_style){case 1:return quote_single();case 2:return quote_double();case 3:return quote=="'"?quote_single():quote_double();default:return dq>sq?quote_single():quote_double()}}function encode_string(str,quote){var ret=make_string(str,quote);if(options.inline_script){ret=ret.replace(/<\x2fscript([>\/\t\n\f\r ])/gi,"<\\/script$1");ret=ret.replace(/\x3c!--/g,"\\x3c!--");ret=ret.replace(/--\x3e/g,"--\\x3e")}return ret}function make_name(name){name=name.toString();name=to_utf8(name,true);return name}function make_indent(back){return repeat_string(" ",options.indent_start+indentation-back*options.indent_level)}var might_need_space=false;var might_need_semicolon=false;var might_add_newline=0;var last="";var mapping_token,mapping_name,mappings=options.source_map&&[];var do_add_mapping=mappings?function(){mappings.forEach(function(mapping){try{options.source_map.add(mapping.token.file,mapping.line,mapping.col,mapping.token.line,mapping.token.col,!mapping.name&&mapping.token.type=="name"?mapping.token.value:mapping.name)}catch(ex){AST_Node.warn("Couldn't figure out mapping for {file}:{line},{col} → {cline},{ccol} [{name}]",{file:mapping.token.file,line:mapping.token.line,col:mapping.token.col,cline:mapping.line,ccol:mapping.col,name:mapping.name||""})}});mappings=[]}:noop;var ensure_line_len=options.max_line_len?function(){if(current_col>options.max_line_len){if(might_add_newline){var left=OUTPUT.slice(0,might_add_newline);var right=OUTPUT.slice(might_add_newline);if(mappings){var delta=right.length-current_col;mappings.forEach(function(mapping){mapping.line++;mapping.col+=delta})}OUTPUT=left+"\n"+right;current_line++;current_pos++;current_col=right.length}if(current_col>options.max_line_len){AST_Node.warn("Output exceeds {max_line_len} characters",options)}}if(might_add_newline){might_add_newline=0;do_add_mapping()}}:noop;var requireSemicolonChars=makePredicate("( [ + * / - , .");function print(str){str=String(str);var ch=str.charAt(0);var prev=last.charAt(last.length-1);if(might_need_semicolon){might_need_semicolon=false;if(prev==":"&&ch=="}"||(!ch||";}".indexOf(ch)<0)&&prev!=";"){if(options.semicolons||requireSemicolonChars(ch)){OUTPUT+=";";current_col++;current_pos++}else{ensure_line_len();OUTPUT+="\n";current_pos++;current_line++;current_col=0;if(/^\s+$/.test(str)){might_need_semicolon=true}}if(!options.beautify)might_need_space=false}}if(!options.beautify&&options.preserve_line&&stack[stack.length-1]){var target_line=stack[stack.length-1].start.line;while(current_line<target_line){ensure_line_len();OUTPUT+="\n";current_pos++;current_line++;current_col=0;might_need_space=false}}if(might_need_space){if(is_identifier_char(prev)&&(is_identifier_char(ch)||ch=="\\")||ch=="/"&&ch==prev||(ch=="+"||ch=="-")&&ch==last){OUTPUT+=" ";current_col++;current_pos++}might_need_space=false}if(mapping_token){mappings.push({token:mapping_token,name:mapping_name,line:current_line,col:current_col});mapping_token=false;if(!might_add_newline)do_add_mapping()}OUTPUT+=str;current_pos+=str.length;var a=str.split(/\r?\n/),n=a.length-1;current_line+=n;current_col+=a[0].length;if(n>0){ensure_line_len();current_col=a[n].length}last=str}var space=options.beautify?function(){print(" ")}:function(){might_need_space=true};var indent=options.beautify?function(half){if(options.beautify){print(make_indent(half?.5:0))}}:noop;var with_indent=options.beautify?function(col,cont){if(col===true)col=next_indent();var save_indentation=indentation;indentation=col;var ret=cont();indentation=save_indentation;return ret}:function(col,cont){return cont()};var newline=options.beautify?function(){print("\n")}:options.max_line_len?function(){ensure_line_len();might_add_newline=OUTPUT.length}:noop;var semicolon=options.beautify?function(){print(";")}:function(){might_need_semicolon=true};function force_semicolon(){might_need_semicolon=false;print(";")}function next_indent(){return indentation+options.indent_level}function with_block(cont){var ret;print("{");newline();with_indent(next_indent(),function(){ret=cont()});indent();print("}");return ret}function with_parens(cont){print("(");var ret=cont();print(")");return ret}function with_square(cont){print("[");var ret=cont();print("]");return ret}function comma(){print(",");space()}function colon(){print(":");space()}var add_mapping=mappings?function(token,name){mapping_token=token;mapping_name=name}:noop;function get(){if(might_add_newline){ensure_line_len()}return OUTPUT}var stack=[];return{get:get,toString:get,indent:indent,indentation:function(){return indentation},current_width:function(){return current_col-indentation},should_break:function(){return options.width&&this.current_width()>=options.width},newline:newline,print:print,space:space,comma:comma,colon:colon,last:function(){return last},semicolon:semicolon,force_semicolon:force_semicolon,to_utf8:to_utf8,print_name:function(name){print(make_name(name))},print_string:function(str,quote,escape_directive){var encoded=encode_string(str,quote);if(escape_directive===true&&encoded.indexOf("\\")===-1){if(!EXPECT_DIRECTIVE.test(OUTPUT)){force_semicolon()}force_semicolon()}print(encoded)},encode_string:encode_string,next_indent:next_indent,with_indent:with_indent,with_block:with_block,with_parens:with_parens,with_square:with_square,add_mapping:add_mapping,option:function(opt){return options[opt]},comment_filter:comment_filter,line:function(){return current_line},col:function(){return current_col},pos:function(){return current_pos},push_node:function(node){stack.push(node)},pop_node:function(){return stack.pop()},parent:function(n){return stack[stack.length-2-(n||0)]}}}(function(){function DEFPRINT(nodetype,generator){nodetype.DEFMETHOD("_codegen",generator)}var use_asm=false;var in_directive=false;AST_Node.DEFMETHOD("print",function(stream,force_parens){var self=this,generator=self._codegen,prev_use_asm=use_asm;if(self instanceof AST_Directive&&self.value=="use asm"&&stream.parent()instanceof AST_Scope){use_asm=true}function doit(){self.add_comments(stream);self.add_source_map(stream);generator(self,stream)}stream.push_node(self);if(force_parens||self.needs_parens(stream)){stream.with_parens(doit)}else{doit()}stream.pop_node();if(self instanceof AST_Scope){use_asm=prev_use_asm}});AST_Node.DEFMETHOD("_print",AST_Node.prototype.print);AST_Node.DEFMETHOD("print_to_string",function(options){var s=OutputStream(options);if(!options)s._readonly=true;this.print(s);return s.get()});AST_Node.DEFMETHOD("add_comments",function(output){if(output._readonly)return;var self=this;var start=self.start;if(start&&!start._comments_dumped){start._comments_dumped=true;var comments=start.comments_before||[];if(self instanceof AST_Exit&&self.value){self.value.walk(new TreeWalker(function(node){if(node.start&&node.start.comments_before){comments=comments.concat(node.start.comments_before);node.start.comments_before=[]}if(node instanceof AST_Function||node instanceof AST_Array||node instanceof AST_Object){return true}}))}if(output.pos()==0){if(comments.length>0&&output.option("shebang")&&comments[0].type=="comment5"){output.print("#!"+comments.shift().value+"\n");output.indent()}var preamble=output.option("preamble");if(preamble){output.print(preamble.replace(/\r\n?|[\n\u2028\u2029]|\s*$/g,"\n"))}}comments=comments.filter(output.comment_filter,self);if(!output.option("beautify")&&comments.length>0&&/comment[134]/.test(comments[0].type)&&output.col()!==0&&comments[0].nlb){output.print("\n")}comments.forEach(function(c){if(/comment[134]/.test(c.type)){output.print("//"+c.value+"\n");output.indent()}else if(c.type=="comment2"){output.print("/*"+c.value+"*/");if(start.nlb){output.print("\n");output.indent()}else{output.space()}}})}});function PARENS(nodetype,func){if(Array.isArray(nodetype)){nodetype.forEach(function(nodetype){PARENS(nodetype,func)})}else{nodetype.DEFMETHOD("needs_parens",func)}}PARENS(AST_Node,function(){return false});PARENS(AST_Function,function(output){if(first_in_statement(output)){return true}if(output.option("webkit")){var p=output.parent();if(p instanceof AST_PropAccess&&p.expression===this){return true}}if(output.option("wrap_iife")){var p=output.parent();return p instanceof AST_Call&&p.expression===this}return false});PARENS(AST_Object,function(output){return first_in_statement(output)});PARENS(AST_Unary,function(output){var p=output.parent();return p instanceof AST_PropAccess&&p.expression===this||p instanceof AST_Call&&p.expression===this});PARENS(AST_Sequence,function(output){var p=output.parent();return p instanceof AST_Call||p instanceof AST_Unary||p instanceof AST_Binary||p instanceof AST_VarDef||p instanceof AST_PropAccess||p instanceof AST_Array||p instanceof AST_ObjectProperty||p instanceof AST_Conditional});PARENS(AST_Binary,function(output){var p=output.parent();if(p instanceof AST_Call&&p.expression===this)return true;if(p instanceof AST_Unary)return true;if(p instanceof AST_PropAccess&&p.expression===this)return true;if(p instanceof AST_Binary){var po=p.operator,pp=PRECEDENCE[po];var so=this.operator,sp=PRECEDENCE[so];if(pp>sp||pp==sp&&this===p.right){return true}}});PARENS(AST_PropAccess,function(output){var p=output.parent();if(p instanceof AST_New&&p.expression===this){var parens=false;this.walk(new TreeWalker(function(node){if(parens||node instanceof AST_Scope)return true;if(node instanceof AST_Call){parens=true;return true}}));return parens}});PARENS(AST_Call,function(output){var p=output.parent(),p1;if(p instanceof AST_New&&p.expression===this)return true;return this.expression instanceof AST_Function&&p instanceof AST_PropAccess&&p.expression===this&&(p1=output.parent(1))instanceof AST_Assign&&p1.left===p});PARENS(AST_New,function(output){var p=output.parent();if(!need_constructor_parens(this,output)&&(p instanceof AST_PropAccess||p instanceof AST_Call&&p.expression===this))return true});PARENS(AST_Number,function(output){var p=output.parent();if(p instanceof AST_PropAccess&&p.expression===this){var value=this.getValue();if(value<0||/^0/.test(make_num(value))){return true}}});PARENS([AST_Assign,AST_Conditional],function(output){var p=output.parent();if(p instanceof AST_Unary)return true;if(p instanceof AST_Binary&&!(p instanceof AST_Assign))return true;if(p instanceof AST_Call&&p.expression===this)return true;if(p instanceof AST_Conditional&&p.condition===this)return true;if(p instanceof AST_PropAccess&&p.expression===this)return true});DEFPRINT(AST_Directive,function(self,output){output.print_string(self.value,self.quote);output.semicolon()});DEFPRINT(AST_Debugger,function(self,output){output.print("debugger");output.semicolon()});function display_body(body,is_toplevel,output,allow_directives){var last=body.length-1;in_directive=allow_directives;body.forEach(function(stmt,i){if(in_directive===true&&!(stmt instanceof AST_Directive||stmt instanceof AST_EmptyStatement||stmt instanceof AST_SimpleStatement&&stmt.body instanceof AST_String)){in_directive=false}if(!(stmt instanceof AST_EmptyStatement)){output.indent();stmt.print(output);if(!(i==last&&is_toplevel)){output.newline();if(is_toplevel)output.newline()}}if(in_directive===true&&stmt instanceof AST_SimpleStatement&&stmt.body instanceof AST_String){in_directive=false}});in_directive=false}AST_StatementWithBody.DEFMETHOD("_do_print_body",function(output){force_statement(this.body,output)});DEFPRINT(AST_Statement,function(self,output){self.body.print(output);output.semicolon()});DEFPRINT(AST_Toplevel,function(self,output){display_body(self.body,true,output,true);output.print("")});DEFPRINT(AST_LabeledStatement,function(self,output){self.label.print(output);output.colon();self.body.print(output)});DEFPRINT(AST_SimpleStatement,function(self,output){self.body.print(output);output.semicolon()});function print_bracketed(body,output,allow_directives){if(body.length>0)output.with_block(function(){display_body(body,false,output,allow_directives)});else output.print("{}")}DEFPRINT(AST_BlockStatement,function(self,output){print_bracketed(self.body,output)});DEFPRINT(AST_EmptyStatement,function(self,output){output.semicolon()});DEFPRINT(AST_Do,function(self,output){output.print("do");output.space();make_block(self.body,output);output.space();output.print("while");output.space();output.with_parens(function(){self.condition.print(output)});output.semicolon()});DEFPRINT(AST_While,function(self,output){output.print("while");output.space();output.with_parens(function(){self.condition.print(output)});output.space();self._do_print_body(output)});DEFPRINT(AST_For,function(self,output){output.print("for");output.space();output.with_parens(function(){if(self.init){if(self.init instanceof AST_Definitions){self.init.print(output)}else{parenthesize_for_noin(self.init,output,true)}output.print(";");output.space()}else{output.print(";")}if(self.condition){self.condition.print(output);output.print(";");output.space()}else{output.print(";")}if(self.step){self.step.print(output)}});output.space();self._do_print_body(output)});DEFPRINT(AST_ForIn,function(self,output){output.print("for");output.space();output.with_parens(function(){self.init.print(output);output.space();output.print("in");output.space();self.object.print(output)});output.space();self._do_print_body(output)});DEFPRINT(AST_With,function(self,output){output.print("with");output.space();output.with_parens(function(){self.expression.print(output)});output.space();self._do_print_body(output)});AST_Lambda.DEFMETHOD("_do_print",function(output,nokeyword){var self=this;if(!nokeyword){output.print("function")}if(self.name){output.space();self.name.print(output)}output.with_parens(function(){self.argnames.forEach(function(arg,i){if(i)output.comma();arg.print(output)})});output.space();print_bracketed(self.body,output,true)});DEFPRINT(AST_Lambda,function(self,output){self._do_print(output)});AST_Exit.DEFMETHOD("_do_print",function(output,kind){output.print(kind);if(this.value){output.space();this.value.print(output)}output.semicolon()});DEFPRINT(AST_Return,function(self,output){self._do_print(output,"return")});DEFPRINT(AST_Throw,function(self,output){self._do_print(output,"throw")});AST_LoopControl.DEFMETHOD("_do_print",function(output,kind){output.print(kind);if(this.label){output.space();this.label.print(output)}output.semicolon()});DEFPRINT(AST_Break,function(self,output){self._do_print(output,"break")});DEFPRINT(AST_Continue,function(self,output){self._do_print(output,"continue")});function make_then(self,output){var b=self.body;if(output.option("bracketize")||output.option("ie8")&&b instanceof AST_Do)return make_block(b,output);if(!b)return output.force_semicolon();while(true){if(b instanceof AST_If){if(!b.alternative){make_block(self.body,output);return}b=b.alternative}else if(b instanceof AST_StatementWithBody){b=b.body}else break}force_statement(self.body,output)}DEFPRINT(AST_If,function(self,output){output.print("if");output.space();output.with_parens(function(){self.condition.print(output)});output.space();if(self.alternative){make_then(self,output);output.space();output.print("else");output.space();if(self.alternative instanceof AST_If)self.alternative.print(output);else force_statement(self.alternative,output)}else{self._do_print_body(output)}});DEFPRINT(AST_Switch,function(self,output){output.print("switch");output.space();output.with_parens(function(){self.expression.print(output)});output.space();var last=self.body.length-1;if(last<0)output.print("{}");else output.with_block(function(){self.body.forEach(function(branch,i){output.indent(true);branch.print(output);if(i<last&&branch.body.length>0)output.newline()})})});AST_SwitchBranch.DEFMETHOD("_do_print_body",function(output){output.newline();this.body.forEach(function(stmt){output.indent();stmt.print(output);output.newline()})});DEFPRINT(AST_Default,function(self,output){output.print("default:");self._do_print_body(output)});DEFPRINT(AST_Case,function(self,output){output.print("case");output.space();self.expression.print(output);output.print(":");self._do_print_body(output)});DEFPRINT(AST_Try,function(self,output){output.print("try");output.space();print_bracketed(self.body,output);if(self.bcatch){output.space();self.bcatch.print(output)}if(self.bfinally){output.space();self.bfinally.print(output)}});DEFPRINT(AST_Catch,function(self,output){output.print("catch");output.space();output.with_parens(function(){self.argname.print(output)});output.space();print_bracketed(self.body,output)});DEFPRINT(AST_Finally,function(self,output){output.print("finally");output.space();print_bracketed(self.body,output)});AST_Definitions.DEFMETHOD("_do_print",function(output,kind){output.print(kind);output.space();this.definitions.forEach(function(def,i){if(i)output.comma();def.print(output)});var p=output.parent();var in_for=p instanceof AST_For||p instanceof AST_ForIn;var avoid_semicolon=in_for&&p.init===this;if(!avoid_semicolon)output.semicolon()});DEFPRINT(AST_Var,function(self,output){self._do_print(output,"var")});function parenthesize_for_noin(node,output,noin){var parens=false;if(noin)node.walk(new TreeWalker(function(node){if(parens||node instanceof AST_Scope)return true;if(node instanceof AST_Binary&&node.operator=="in"){parens=true;return true}}));node.print(output,parens)}DEFPRINT(AST_VarDef,function(self,output){self.name.print(output);if(self.value){output.space();output.print("=");output.space();var p=output.parent(1);var noin=p instanceof AST_For||p instanceof AST_ForIn;parenthesize_for_noin(self.value,output,noin)}});DEFPRINT(AST_Call,function(self,output){self.expression.print(output);if(self instanceof AST_New&&!need_constructor_parens(self,output))return;if(self.expression instanceof AST_Lambda){output.add_mapping(self.start)}output.with_parens(function(){self.args.forEach(function(expr,i){if(i)output.comma();expr.print(output)})})});DEFPRINT(AST_New,function(self,output){output.print("new");output.space();AST_Call.prototype._codegen(self,output)});AST_Sequence.DEFMETHOD("_do_print",function(output){this.expressions.forEach(function(node,index){if(index>0){output.comma();if(output.should_break()){output.newline();output.indent()}}node.print(output)})});DEFPRINT(AST_Sequence,function(self,output){self._do_print(output)});DEFPRINT(AST_Dot,function(self,output){var expr=self.expression;expr.print(output);var prop=self.property;if(output.option("ie8")&&RESERVED_WORDS(prop)){output.print("[");output.add_mapping(self.end);output.print_string(prop);output.print("]")}else{if(expr instanceof AST_Number&&expr.getValue()>=0){if(!/[xa-f.)]/i.test(output.last())){output.print(".")}}output.print(".");output.add_mapping(self.end);output.print_name(prop)}});DEFPRINT(AST_Sub,function(self,output){self.expression.print(output);output.print("[");self.property.print(output);output.print("]")});DEFPRINT(AST_UnaryPrefix,function(self,output){var op=self.operator;output.print(op);if(/^[a-z]/i.test(op)||/[+-]$/.test(op)&&self.expression instanceof AST_UnaryPrefix&&/^[+-]/.test(self.expression.operator)){output.space()}self.expression.print(output)});DEFPRINT(AST_UnaryPostfix,function(self,output){self.expression.print(output);output.print(self.operator)});DEFPRINT(AST_Binary,function(self,output){var op=self.operator;self.left.print(output);if(op[0]==">"&&self.left instanceof AST_UnaryPostfix&&self.left.operator=="--"){output.print(" ")}else{output.space()}output.print(op);if((op=="<"||op=="<<")&&self.right instanceof AST_UnaryPrefix&&self.right.operator=="!"&&self.right.expression instanceof AST_UnaryPrefix&&self.right.expression.operator=="--"){output.print(" ")}else{output.space()}self.right.print(output)});DEFPRINT(AST_Conditional,function(self,output){self.condition.print(output);output.space();output.print("?");output.space();self.consequent.print(output);output.space();output.colon();self.alternative.print(output)});DEFPRINT(AST_Array,function(self,output){output.with_square(function(){var a=self.elements,len=a.length;if(len>0)output.space();a.forEach(function(exp,i){if(i)output.comma();exp.print(output);if(i===len-1&&exp instanceof AST_Hole)output.comma()});if(len>0)output.space()})});DEFPRINT(AST_Object,function(self,output){if(self.properties.length>0)output.with_block(function(){self.properties.forEach(function(prop,i){if(i){output.print(",");output.newline()}output.indent();prop.print(output)});output.newline()});else output.print("{}")});function print_property_name(key,quote,output){if(output.option("quote_keys")){output.print_string(key+"")}else if((typeof key=="number"||!output.option("beautify")&&+key+""==key)&&parseFloat(key)>=0){output.print(make_num(key))}else if(RESERVED_WORDS(key)?!output.option("ie8"):is_identifier_string(key)){if(quote&&output.option("keep_quoted_props")){output.print_string(key,quote)}else{output.print_name(key)}}else{output.print_string(key,quote)}}DEFPRINT(AST_ObjectKeyVal,function(self,output){print_property_name(self.key,self.quote,output);output.colon();self.value.print(output)});AST_ObjectProperty.DEFMETHOD("_print_getter_setter",function(type,output){output.print(type);output.space();print_property_name(this.key.name,this.quote,output);this.value._do_print(output,true)});DEFPRINT(AST_ObjectSetter,function(self,output){self._print_getter_setter("set",output)});DEFPRINT(AST_ObjectGetter,function(self,output){self._print_getter_setter("get",output)});DEFPRINT(AST_Symbol,function(self,output){var def=self.definition();output.print_name(def?def.mangled_name||def.name:self.name)});DEFPRINT(AST_Hole,noop);DEFPRINT(AST_This,function(self,output){output.print("this")});DEFPRINT(AST_Constant,function(self,output){output.print(self.getValue())});DEFPRINT(AST_String,function(self,output){output.print_string(self.getValue(),self.quote,in_directive)});DEFPRINT(AST_Number,function(self,output){if(use_asm&&self.start&&self.start.raw!=null){output.print(self.start.raw)}else{output.print(make_num(self.getValue()))}});DEFPRINT(AST_RegExp,function(self,output){var regexp=self.getValue();var str=regexp.toString();if(regexp.raw_source){str="/"+regexp.raw_source+str.slice(str.lastIndexOf("/"))}str=output.to_utf8(str);output.print(str);var p=output.parent();if(p instanceof AST_Binary&&/^in/.test(p.operator)&&p.left===self)output.print(" ")});function force_statement(stat,output){if(output.option("bracketize")){make_block(stat,output)}else{if(!stat||stat instanceof AST_EmptyStatement)output.force_semicolon();else stat.print(output)}}function need_constructor_parens(self,output){if(self.args.length>0)return true;return output.option("beautify")}function best_of(a){var best=a[0],len=best.length;for(var i=1;i<a.length;++i){if(a[i].length<len){best=a[i];len=best.length}}return best}function make_num(num){var str=num.toString(10),a=[str.replace(/^0\./,".").replace("e+","e")],m;if(Math.floor(num)===num){if(num>=0){a.push("0x"+num.toString(16).toLowerCase(),"0"+num.toString(8))}else{a.push("-0x"+(-num).toString(16).toLowerCase(),"-0"+(-num).toString(8))}if(m=/^(.*?)(0+)$/.exec(num)){a.push(m[1]+"e"+m[2].length)}}else if(m=/^0?\.(0+)(.*)$/.exec(num)){a.push(m[2]+"e-"+(m[1].length+m[2].length),str.substr(str.indexOf(".")))}return best_of(a)}function make_block(stmt,output){if(!stmt||stmt instanceof AST_EmptyStatement)output.print("{}");else if(stmt instanceof AST_BlockStatement)stmt.print(output);else output.with_block(function(){output.indent();stmt.print(output);output.newline()})}function DEFMAP(nodetype,generator){nodetype.DEFMETHOD("add_source_map",function(stream){generator(this,stream)})}DEFMAP(AST_Node,noop);function basic_sourcemap_gen(self,output){output.add_mapping(self.start)}DEFMAP(AST_Directive,basic_sourcemap_gen);DEFMAP(AST_Debugger,basic_sourcemap_gen);DEFMAP(AST_Symbol,basic_sourcemap_gen);DEFMAP(AST_Jump,basic_sourcemap_gen);DEFMAP(AST_StatementWithBody,basic_sourcemap_gen);DEFMAP(AST_LabeledStatement,noop);DEFMAP(AST_Lambda,basic_sourcemap_gen);DEFMAP(AST_Switch,basic_sourcemap_gen);DEFMAP(AST_SwitchBranch,basic_sourcemap_gen);DEFMAP(AST_BlockStatement,basic_sourcemap_gen);DEFMAP(AST_Toplevel,noop);DEFMAP(AST_New,basic_sourcemap_gen);DEFMAP(AST_Try,basic_sourcemap_gen);DEFMAP(AST_Catch,basic_sourcemap_gen);DEFMAP(AST_Finally,basic_sourcemap_gen);DEFMAP(AST_Definitions,basic_sourcemap_gen);DEFMAP(AST_Constant,basic_sourcemap_gen);DEFMAP(AST_ObjectSetter,function(self,output){output.add_mapping(self.start,self.key.name)});DEFMAP(AST_ObjectGetter,function(self,output){output.add_mapping(self.start,self.key.name)});DEFMAP(AST_ObjectProperty,function(self,output){output.add_mapping(self.start,self.key)})})();"use strict";function Compressor(options,false_by_default){if(!(this instanceof Compressor))return new Compressor(options,false_by_default);TreeTransformer.call(this,this.before,this.after);this.options=defaults(options,{booleans:!false_by_default,cascade:!false_by_default,collapse_vars:!false_by_default,comparisons:!false_by_default,conditionals:!false_by_default,dead_code:!false_by_default,drop_console:false,drop_debugger:!false_by_default,evaluate:!false_by_default,expression:false,global_defs:{},hoist_funs:!false_by_default,hoist_vars:false,ie8:false,if_return:!false_by_default,inline:!false_by_default,join_vars:!false_by_default,keep_fargs:true,keep_fnames:false,keep_infinity:false,loops:!false_by_default,negate_iife:!false_by_default,passes:1,properties:!false_by_default,pure_getters:!false_by_default&&"strict",pure_funcs:null,reduce_vars:!false_by_default,sequences:!false_by_default,side_effects:!false_by_default,switches:!false_by_default,top_retain:null,toplevel:!!(options&&options["top_retain"]),typeofs:!false_by_default,unsafe:false,unsafe_comps:false,unsafe_Func:false,unsafe_math:false,unsafe_proto:false,unsafe_regexp:false,unused:!false_by_default,warnings:false},true);var global_defs=this.options["global_defs"];if(typeof global_defs=="object")for(var key in global_defs){if(/^@/.test(key)&&HOP(global_defs,key)){global_defs[key.slice(1)]=parse(global_defs[key],{expression:true})}}var pure_funcs=this.options["pure_funcs"];if(typeof pure_funcs=="function"){this.pure_funcs=pure_funcs}else{this.pure_funcs=pure_funcs?function(node){return pure_funcs.indexOf(node.expression.print_to_string())<0}:return_true}var top_retain=this.options["top_retain"];if(top_retain instanceof RegExp){this.top_retain=function(def){return top_retain.test(def.name)}}else if(typeof top_retain=="function"){this.top_retain=top_retain}else if(top_retain){if(typeof top_retain=="string"){top_retain=top_retain.split(/,/)}this.top_retain=function(def){return top_retain.indexOf(def.name)>=0}}var toplevel=this.options["toplevel"];this.toplevel=typeof toplevel=="string"?{funcs:/funcs/.test(toplevel),vars:/vars/.test(toplevel)}:{funcs:toplevel,vars:toplevel};var sequences=this.options["sequences"];this.sequences_limit=sequences==1?800:sequences|0;this.warnings_produced={}}Compressor.prototype=new TreeTransformer;merge(Compressor.prototype,{option:function(key){return this.options[key]},exposed:function(def){if(def.global)for(var i=0,len=def.orig.length;i<len;i++)if(!this.toplevel[def.orig[i]instanceof AST_SymbolDefun?"funcs":"vars"])return true;return false},compress:function(node){if(this.option("expression")){node.process_expression(true)}var passes=+this.options.passes||1;var last_count=1/0;for(var pass=0;pass<passes;pass++){if(pass>0||this.option("reduce_vars"))node.reset_opt_flags(this,true);node=node.transform(this);if(passes>1){var count=0;node.walk(new TreeWalker(function(){count++}));this.info("pass "+pass+": last_count: "+last_count+", count: "+count);if(count>=last_count)break;last_count=count}}if(this.option("expression")){node.process_expression(false)}return node},info:function(){if(this.options.warnings=="verbose"){AST_Node.warn.apply(AST_Node,arguments)}},warn:function(text,props){if(this.options.warnings){var message=string_template(text,props);if(!(message in this.warnings_produced)){this.warnings_produced[message]=true;AST_Node.warn.apply(AST_Node,arguments)}}},clear_warnings:function(){this.warnings_produced={}},before:function(node,descend,in_list){if(node._squeezed)return node;var was_scope=false;if(node instanceof AST_Scope){node=node.hoist_declarations(this);was_scope=true}descend(node,this);descend(node,this);var opt=node.optimize(this);if(was_scope&&opt instanceof AST_Scope){opt.drop_unused(this);descend(opt,this)}if(opt===node)opt._squeezed=true;return opt}});(function(){function OPT(node,optimizer){node.DEFMETHOD("optimize",function(compressor){var self=this;if(self._optimized)return self;if(compressor.has_directive("use asm"))return self;var opt=optimizer(self,compressor);opt._optimized=true;return opt})}OPT(AST_Node,function(self,compressor){return self});AST_Node.DEFMETHOD("equivalent_to",function(node){return this.TYPE==node.TYPE&&this.print_to_string()==node.print_to_string()});AST_Scope.DEFMETHOD("process_expression",function(insert,compressor){var self=this;var tt=new TreeTransformer(function(node){if(insert&&node instanceof AST_SimpleStatement){return make_node(AST_Return,node,{value:node.body})}if(!insert&&node instanceof AST_Return){if(compressor){var value=node.value&&node.value.drop_side_effect_free(compressor,true);return value?make_node(AST_SimpleStatement,node,{body:value}):make_node(AST_EmptyStatement,node)}return make_node(AST_SimpleStatement,node,{body:node.value||make_node(AST_UnaryPrefix,node,{operator:"void",expression:make_node(AST_Number,node,{value:0})})})}if(node instanceof AST_Lambda&&node!==self){return node}if(node instanceof AST_Block){var index=node.body.length-1;if(index>=0){node.body[index]=node.body[index].transform(tt)}}if(node instanceof AST_If){node.body=node.body.transform(tt);if(node.alternative){node.alternative=node.alternative.transform(tt)}}if(node instanceof AST_With){node.body=node.body.transform(tt)}return node});self.transform(tt)});AST_Node.DEFMETHOD("reset_opt_flags",function(compressor,rescan){var reduce_vars=rescan&&compressor.option("reduce_vars");var safe_ids=Object.create(null);var suppressor=new TreeWalker(function(node){if(!(node instanceof AST_Symbol))return;var d=node.definition();if(!d)return;if(node instanceof AST_SymbolRef)d.references.push(node);d.fixed=false});var tw=new TreeWalker(function(node,descend){node._squeezed=false;node._optimized=false;if(reduce_vars){if(node instanceof AST_Toplevel)node.globals.each(reset_def);if(node instanceof AST_Scope)node.variables.each(reset_def);if(node instanceof AST_SymbolRef){var d=node.definition();d.references.push(node);if(d.fixed===undefined||!safe_to_read(d)||is_modified(node,0,is_immutable(node.fixed_value()))){d.fixed=false}else{var parent=tw.parent();if(parent instanceof AST_Assign&&parent.operator=="="&&node===parent.right||parent instanceof AST_Call&&node!==parent.expression||parent instanceof AST_Return&&node===parent.value&&node.scope!==d.scope||parent instanceof AST_VarDef&&node===parent.value){d.escaped=true}}}if(node instanceof AST_SymbolCatch){node.definition().fixed=false}if(node instanceof AST_VarDef){var d=node.name.definition();if(d.fixed===undefined||safe_to_assign(d,node.value)){if(node.value){d.fixed=function(){return node.value};mark(d,false);descend()}else{d.fixed=null}mark(d,true);return true}else if(node.value){d.fixed=false}}if(node instanceof AST_Assign&&node.operator=="="&&node.left instanceof AST_SymbolRef){var d=node.left.definition();if(safe_to_assign(d,node.right)){d.references.push(node.left);d.fixed=function(){return node.right};mark(d,false);node.right.walk(tw);mark(d,true);return true}}if(node instanceof AST_Defun){var d=node.name.definition();if(compressor.exposed(d)||safe_to_read(d)){d.fixed=false}else{d.fixed=node;mark(d,true)}var save_ids=safe_ids;safe_ids=Object.create(null);descend();safe_ids=save_ids;return true}if(node instanceof AST_Function){push();var iife;if(!node.name&&(iife=tw.parent())instanceof AST_Call&&iife.expression===node){node.argnames.forEach(function(arg,i){var d=arg.definition();if(!node.uses_arguments&&d.fixed===undefined){d.fixed=function(){return iife.args[i]||make_node(AST_Undefined,iife)};mark(d,true)}else{d.fixed=false}})}descend();pop();return true}if(node instanceof AST_Accessor){var save_ids=safe_ids;safe_ids=Object.create(null);descend();safe_ids=save_ids;return true}if(node instanceof AST_Binary&&(node.operator=="&&"||node.operator=="||")){node.left.walk(tw);push();node.right.walk(tw);pop();return true}if(node instanceof AST_Conditional){node.condition.walk(tw);push();node.consequent.walk(tw);pop();push();node.alternative.walk(tw);pop();return true}if(node instanceof AST_If){node.condition.walk(tw);push();node.body.walk(tw);pop();if(node.alternative){push();node.alternative.walk(tw);pop()}return true}if(node instanceof AST_DWLoop){push();node.condition.walk(tw);node.body.walk(tw);pop();return true}if(node instanceof AST_LabeledStatement){push();node.body.walk(tw);pop();return true}if(node instanceof AST_For){if(node.init)node.init.walk(tw);if(node.condition){push();node.condition.walk(tw);pop()}push();node.body.walk(tw);pop();if(node.step){push();node.step.walk(tw);pop()}return true}if(node instanceof AST_ForIn){node.init.walk(suppressor);node.object.walk(tw);push();node.body.walk(tw);pop();return true}if(node instanceof AST_Try){push();walk_body(node,tw);pop();if(node.bcatch){push();node.bcatch.walk(tw);pop()}if(node.bfinally)node.bfinally.walk(tw);return true}if(node instanceof AST_SwitchBranch){push();descend();pop();return true}}});this.walk(tw);function mark(def,safe){safe_ids[def.id]=safe}function safe_to_read(def){if(safe_ids[def.id]){if(def.fixed==null){var orig=def.orig[0];if(orig instanceof AST_SymbolFunarg||orig.name=="arguments")return false;def.fixed=make_node(AST_Undefined,orig)}return true}}function safe_to_assign(def,value){if(!HOP(safe_ids,def.id))return false;if(!safe_to_read(def))return false;if(def.fixed===false)return false;if(def.fixed!=null&&(!value||def.references.length>0))return false;return!def.orig.some(function(sym){return sym instanceof AST_SymbolDefun||sym instanceof AST_SymbolLambda})}function push(){safe_ids=Object.create(safe_ids)}function pop(){safe_ids=Object.getPrototypeOf(safe_ids)}function reset_def(def){def.escaped=false;if(def.scope.uses_eval){def.fixed=false}else if(!compressor.exposed(def)){def.fixed=undefined}else{def.fixed=false}def.references=[];def.should_replace=undefined}function is_immutable(value){return value&&value.is_constant()||value instanceof AST_Lambda}function is_modified(node,level,immutable){var parent=tw.parent(level);if(is_lhs(node,parent)||!immutable&&parent instanceof AST_Call&&parent.expression===node){return true}else if(parent instanceof AST_PropAccess&&parent.expression===node){return!immutable&&is_modified(parent,level+1)}}});AST_SymbolRef.DEFMETHOD("fixed_value",function(){var fixed=this.definition().fixed;if(!fixed||fixed instanceof AST_Node)return fixed;return fixed()});AST_SymbolRef.DEFMETHOD("is_immutable",function(){var orig=this.definition().orig;return orig.length==1&&orig[0]instanceof AST_SymbolLambda});function is_lhs_read_only(lhs){if(lhs instanceof AST_SymbolRef)return lhs.definition().orig[0]instanceof AST_SymbolLambda;if(lhs instanceof AST_PropAccess){lhs=lhs.expression;if(lhs instanceof AST_SymbolRef){if(lhs.is_immutable())return false;lhs=lhs.fixed_value()}if(!lhs)return true;if(lhs instanceof AST_RegExp)return false;if(lhs instanceof AST_Constant)return true;return is_lhs_read_only(lhs)}return false}function find_variable(compressor,name){var scope,i=0;while(scope=compressor.parent(i++)){if(scope instanceof AST_Scope)break;if(scope instanceof AST_Catch){scope=scope.argname.definition().scope;break}}return scope.find_variable(name)}function make_node(ctor,orig,props){if(!props)props={};if(orig){if(!props.start)props.start=orig.start;if(!props.end)props.end=orig.end}return new ctor(props)}function make_sequence(orig,expressions){if(expressions.length==1)return expressions[0];return make_node(AST_Sequence,orig,{expressions:expressions})}function make_node_from_constant(val,orig){switch(typeof val){case"string":return make_node(AST_String,orig,{value:val});case"number":if(isNaN(val))return make_node(AST_NaN,orig);if(isFinite(val)){return 1/val<0?make_node(AST_UnaryPrefix,orig,{operator:"-",expression:make_node(AST_Number,orig,{value:-val})}):make_node(AST_Number,orig,{value:val})}return val<0?make_node(AST_UnaryPrefix,orig,{operator:"-",expression:make_node(AST_Infinity,orig)}):make_node(AST_Infinity,orig);case"boolean":return make_node(val?AST_True:AST_False,orig);case"undefined":return make_node(AST_Undefined,orig);default:if(val===null){return make_node(AST_Null,orig,{value:null})}if(val instanceof RegExp){return make_node(AST_RegExp,orig,{value:val})}throw new Error(string_template("Can't handle constant of type: {type}",{type:typeof val}))}}function maintain_this_binding(parent,orig,val){if(parent instanceof AST_UnaryPrefix&&parent.operator=="delete"||parent instanceof AST_Call&&parent.expression===orig&&(val instanceof AST_PropAccess||val instanceof AST_SymbolRef&&val.name=="eval")){return make_sequence(orig,[make_node(AST_Number,orig,{value:0}),val])}return val}function merge_sequence(array,node){if(node instanceof AST_Sequence){array.push.apply(array,node.expressions)}else{array.push(node)}}function as_statement_array(thing){if(thing===null)return[];if(thing instanceof AST_BlockStatement)return thing.body;if(thing instanceof AST_EmptyStatement)return[];if(thing instanceof AST_Statement)return[thing];throw new Error("Can't convert thing to statement array")}function is_empty(thing){if(thing===null)return true;if(thing instanceof AST_EmptyStatement)return true;if(thing instanceof AST_BlockStatement)return thing.body.length==0;return false}function loop_body(x){if(x instanceof AST_Switch)return x;if(x instanceof AST_For||x instanceof AST_ForIn||x instanceof AST_DWLoop){return x.body instanceof AST_BlockStatement?x.body:x}return x}function is_iife_call(node){if(node instanceof AST_Call&&!(node instanceof AST_New)){return node.expression instanceof AST_Function||is_iife_call(node.expression)}return false}function is_undeclared_ref(node){return node instanceof AST_SymbolRef&&node.definition().undeclared}var global_names=makePredicate("Array Boolean clearInterval clearTimeout console Date decodeURI decodeURIComponent encodeURI encodeURIComponent Error escape eval EvalError Function isFinite isNaN JSON Math Number parseFloat parseInt RangeError ReferenceError RegExp Object setInterval setTimeout String SyntaxError TypeError unescape URIError");AST_SymbolRef.DEFMETHOD("is_declared",function(compressor){return!this.definition().undeclared||compressor.option("unsafe")&&global_names(this.name)});function tighten_body(statements,compressor){var CHANGED,max_iter=10;do{CHANGED=false;eliminate_spurious_blocks(statements);if(compressor.option("dead_code")){eliminate_dead_code(statements,compressor)}if(compressor.option("if_return")){handle_if_return(statements,compressor)}if(compressor.sequences_limit>0){sequencesize(statements,compressor)}if(compressor.option("join_vars")){join_consecutive_vars(statements,compressor)}if(compressor.option("collapse_vars")){collapse(statements,compressor)}}while(CHANGED&&max_iter-- >0);function collapse(statements,compressor){var scope=compressor.find_parent(AST_Scope);if(scope.uses_eval||scope.uses_with)return statements;var candidates=[];var stat_index=statements.length;while(--stat_index>=0){if(stat_index==0&&compressor.option("unused"))extract_args();extract_candidates(statements[stat_index]);while(candidates.length>0){var candidate=candidates.pop();var lhs=get_lhs(candidate);if(!lhs||is_lhs_read_only(lhs))continue;var lvalues=get_lvalues(candidate);if(lhs instanceof AST_SymbolRef)lvalues[lhs.name]=false;var side_effects=value_has_side_effects(candidate);var hit=candidate.name instanceof AST_SymbolFunarg;var abort=false,replaced=false;var tt=new TreeTransformer(function(node,descend){if(abort)return node;if(!hit){if(node===candidate){hit=true;return node}return}var parent=tt.parent();if(node instanceof AST_Assign&&node.operator!="="&&lhs.equivalent_to(node.left)||node instanceof AST_Call&&lhs instanceof AST_PropAccess&&lhs.equivalent_to(node.expression)||node instanceof AST_Debugger||node instanceof AST_IterationStatement&&!(node instanceof AST_For)||node instanceof AST_SymbolRef&&!node.is_declared(compressor)||node instanceof AST_Try||node instanceof AST_With||parent instanceof AST_For&&node!==parent.init){abort=true;return node}if(!(node instanceof AST_SymbolDeclaration)&&!is_lhs(node,parent)&&lhs.equivalent_to(node)){CHANGED=replaced=abort=true;compressor.info("Collapsing {name} [{file}:{line},{col}]",{name:node.print_to_string(),file:node.start.file,line:node.start.line,col:node.start.col});if(candidate instanceof AST_UnaryPostfix){return make_node(AST_UnaryPrefix,candidate,candidate)}if(candidate instanceof AST_VarDef){var def=candidate.name.definition();if(def.references.length==1&&!compressor.exposed(def)){return maintain_this_binding(parent,node,candidate.value)}return make_node(AST_Assign,candidate,{operator:"=",left:make_node(AST_SymbolRef,candidate.name,candidate.name),right:candidate.value})}candidate.write_only=false;return candidate}var sym;if(node instanceof AST_Call||node instanceof AST_Exit||node instanceof AST_PropAccess||node instanceof AST_SymbolRef&&(lvalues[node.name]||side_effects&&!references_in_scope(node.definition()))||(sym=lhs_or_def(node))&&get_symbol(sym).name in lvalues||parent instanceof AST_Binary&&(parent.operator=="&&"||parent.operator=="||")||parent instanceof AST_Case||parent instanceof AST_Conditional||parent instanceof AST_For||parent instanceof AST_If){if(!(node instanceof AST_Scope))descend(node,tt);abort=true;return node}if(node instanceof AST_Default||node instanceof AST_Scope)return node});for(var i=stat_index;!abort&&i<statements.length;i++){statements[i].transform(tt)}if(replaced&&!remove_candidate(candidate))statements.splice(stat_index,1)}}function extract_args(){var iife,fn=compressor.self();if(fn instanceof AST_Function&&!fn.name&&!fn.uses_arguments&&!fn.uses_eval&&(iife=compressor.parent())instanceof AST_Call&&iife.expression===fn){var names=Object.create(null);for(var i=fn.argnames.length;--i>=0;){var sym=fn.argnames[i];if(sym.name in names)continue;names[sym.name]=true;var arg=iife.args[i];if(!arg)arg=make_node(AST_Undefined,sym).transform(compressor);else{var tw=new TreeWalker(function(node){if(!arg)return true;if(node instanceof AST_SymbolRef&&fn.variables.has(node.name)){var s=node.definition().scope;if(s!==scope)while(s=s.parent_scope){if(s===scope)return true}arg=null}if(node instanceof AST_This&&!tw.find_parent(AST_Scope)){arg=null;return true}});arg.walk(tw)}if(arg)candidates.unshift(make_node(AST_VarDef,sym,{name:sym,value:arg}))}}}function extract_candidates(expr){if(expr instanceof AST_Assign&&!expr.left.has_side_effects(compressor)||expr instanceof AST_Unary&&(expr.operator=="++"||expr.operator=="--")){candidates.push(expr)}else if(expr instanceof AST_Sequence){expr.expressions.forEach(extract_candidates)}else if(expr instanceof AST_Definitions){expr.definitions.forEach(function(var_def){if(var_def.value)candidates.push(var_def)})}else if(expr instanceof AST_SimpleStatement){extract_candidates(expr.body)}else if(expr instanceof AST_For&&expr.init){extract_candidates(expr.init)}}function get_lhs(expr){if(expr instanceof AST_VarDef){var def=expr.name.definition();if(def.orig.length>1&&!(expr.name instanceof AST_SymbolFunarg)||def.references.length==1&&!compressor.exposed(def)){return make_node(AST_SymbolRef,expr.name,expr.name)}}else{return expr[expr instanceof AST_Assign?"left":"expression"]}}function get_symbol(node){while(node instanceof AST_PropAccess)node=node.expression;return node}function get_lvalues(expr){var lvalues=Object.create(null);if(expr instanceof AST_Unary)return lvalues;var scope;var tw=new TreeWalker(function(node,descend){if(node instanceof AST_Scope){var save_scope=scope;descend();scope=save_scope;return true}if(node instanceof AST_SymbolRef||node instanceof AST_PropAccess){var sym=get_symbol(node);if(sym instanceof AST_SymbolRef){lvalues[sym.name]=lvalues[sym.name]||is_lhs(node,tw.parent())}}});expr[expr instanceof AST_Assign?"right":"value"].walk(tw);return lvalues}function lhs_or_def(node){if(node instanceof AST_VarDef)return node.value&&node.name;return is_lhs(node.left,node)}function remove_candidate(expr){if(expr.name instanceof AST_SymbolFunarg){var index=compressor.self().argnames.indexOf(expr.name);var args=compressor.parent().args;if(args[index])args[index]=make_node(AST_Number,args[index],{value:0});return true}var found=false;return statements[stat_index].transform(new TreeTransformer(function(node,descend,in_list){if(found)return node;if(node===expr){found=true;if(node instanceof AST_VarDef){remove(node.name.definition().orig,node.name)}return in_list?MAP.skip:null}},function(node){if(node instanceof AST_Sequence)switch(node.expressions.length){case 0:return null;case 1:return node.expressions[0]}if(node instanceof AST_Definitions&&node.definitions.length==0||node instanceof AST_SimpleStatement&&!node.body){return null}}))}function value_has_side_effects(expr){if(expr instanceof AST_Unary)return false;return expr[expr instanceof AST_Assign?"right":"value"].has_side_effects(compressor)}function references_in_scope(def){if(def.orig.length==1&&def.orig[0]instanceof AST_SymbolDefun)return true;if(def.scope!==scope)return false;return def.references.every(function(ref){return ref.scope===scope})}}function eliminate_spurious_blocks(statements){var seen_dirs=[];for(var i=0;i<statements.length;){var stat=statements[i];if(stat instanceof AST_BlockStatement){CHANGED=true;eliminate_spurious_blocks(stat.body);[].splice.apply(statements,[i,1].concat(stat.body));i+=stat.body.length}else if(stat instanceof AST_EmptyStatement){CHANGED=true;statements.splice(i,1)}else if(stat instanceof AST_Directive){if(seen_dirs.indexOf(stat.value)<0){i++;seen_dirs.push(stat.value)}else{CHANGED=true;statements.splice(i,1)}}else i++}}function handle_if_return(statements,compressor){var self=compressor.self();var multiple_if_returns=has_multiple_if_returns(statements);var in_lambda=self instanceof AST_Lambda;for(var i=statements.length;--i>=0;){var stat=statements[i];var next=statements[i+1];if(in_lambda&&stat instanceof AST_Return&&!stat.value&&!next){CHANGED=true;statements.length--;continue}if(stat instanceof AST_If){var ab=aborts(stat.body);if(can_merge_flow(ab)){if(ab.label){remove(ab.label.thedef.references,ab)}CHANGED=true;stat=stat.clone();stat.condition=stat.condition.negate(compressor);var body=as_statement_array_with_return(stat.body,ab);stat.body=make_node(AST_BlockStatement,stat,{body:as_statement_array(stat.alternative).concat(extract_functions())});stat.alternative=make_node(AST_BlockStatement,stat,{body:body});statements[i]=stat.transform(compressor);continue}var ab=aborts(stat.alternative);if(can_merge_flow(ab)){if(ab.label){remove(ab.label.thedef.references,ab)}CHANGED=true;stat=stat.clone();stat.body=make_node(AST_BlockStatement,stat.body,{body:as_statement_array(stat.body).concat(extract_functions())});var body=as_statement_array_with_return(stat.alternative,ab);stat.alternative=make_node(AST_BlockStatement,stat.alternative,{body:body});statements[i]=stat.transform(compressor);continue}}if(stat instanceof AST_If&&stat.body instanceof AST_Return){var value=stat.body.value;if(!value&&!stat.alternative&&(in_lambda&&!next||next instanceof AST_Return&&!next.value)){CHANGED=true;statements[i]=make_node(AST_SimpleStatement,stat.condition,{body:stat.condition});continue}if(value&&!stat.alternative&&next instanceof AST_Return&&next.value){CHANGED=true;stat=stat.clone();stat.alternative=next;statements.splice(i,2,stat.transform(compressor));continue}if(multiple_if_returns&&in_lambda&&value&&!stat.alternative&&(!next||next instanceof AST_Return)){CHANGED=true;stat=stat.clone();stat.alternative=next||make_node(AST_Return,stat,{value:null});statements.splice(i,next?2:1,stat.transform(compressor));continue}var prev=statements[i-1];if(compressor.option("sequences")&&in_lambda&&!stat.alternative&&prev instanceof AST_If&&prev.body instanceof AST_Return&&i+2==statements.length&&next instanceof AST_SimpleStatement){CHANGED=true;statements.push(make_node(AST_Return,next,{value:null}).transform(compressor));continue}}}function has_multiple_if_returns(statements){var n=0;for(var i=statements.length;--i>=0;){var stat=statements[i];if(stat instanceof AST_If&&stat.body instanceof AST_Return){if(++n>1)return true}}return false}function is_return_void(value){return!value||value instanceof AST_UnaryPrefix&&value.operator=="void"}function can_merge_flow(ab){if(!ab)return false;var lct=ab instanceof AST_LoopControl?compressor.loopcontrol_target(ab):null;return ab instanceof AST_Return&&in_lambda&&is_return_void(ab.value)||ab instanceof AST_Continue&&self===loop_body(lct)||ab instanceof AST_Break&&lct instanceof AST_BlockStatement&&self===lct}function extract_functions(){var tail=statements.slice(i+1);statements.length=i+1;return tail.filter(function(stat){if(stat instanceof AST_Defun){statements.push(stat);return false}return true})}function as_statement_array_with_return(node,ab){var body=as_statement_array(node).slice(0,-1);if(ab.value){body.push(make_node(AST_SimpleStatement,ab.value,{body:ab.value.expression}))}return body}}function eliminate_dead_code(statements,compressor){var has_quit;var self=compressor.self();for(var i=0,n=0,len=statements.length;i<len;i++){var stat=statements[i];if(stat instanceof AST_LoopControl){var lct=compressor.loopcontrol_target(stat);if(stat instanceof AST_Break&&!(lct instanceof AST_IterationStatement)&&loop_body(lct)===self||stat instanceof AST_Continue&&loop_body(lct)===self){if(stat.label){remove(stat.label.thedef.references,stat)}}else{statements[n++]=stat}}else{statements[n++]=stat}if(aborts(stat)){has_quit=statements.slice(i+1);break}}statements.length=n;CHANGED=n!=len;if(has_quit)has_quit.forEach(function(stat){extract_declarations_from_unreachable_code(compressor,stat,statements)})}function sequencesize(statements,compressor){if(statements.length<2)return;var seq=[],n=0;function push_seq(){if(!seq.length)return;var body=make_sequence(seq[0],seq);statements[n++]=make_node(AST_SimpleStatement,body,{body:body});seq=[]}for(var i=0,len=statements.length;i<len;i++){var stat=statements[i];if(stat instanceof AST_SimpleStatement){if(seq.length>=compressor.sequences_limit)push_seq();var body=stat.body;if(seq.length>0)body=body.drop_side_effect_free(compressor);if(body)merge_sequence(seq,body)}else{push_seq();statements[n++]=stat}}push_seq();statements.length=n;sequencesize_2(statements,compressor);CHANGED=statements.length!=len}function sequencesize_2(statements,compressor){function cons_seq(right){n--;var left=prev.body;if(!(left instanceof AST_Sequence)){left=make_node(AST_Sequence,left,{expressions:[left]})}merge_sequence(left.expressions,right);return left.transform(compressor)}var n=0,prev;for(var i=0,len=statements.length;i<len;i++){var stat=statements[i];if(prev){if(stat instanceof AST_For&&!(stat.init instanceof AST_Definitions)){var abort=false;prev.body.walk(new TreeWalker(function(node){if(abort||node instanceof AST_Scope)return true;if(node instanceof AST_Binary&&node.operator=="in"){abort=true;return true}}));if(!abort){if(stat.init)stat.init=cons_seq(stat.init);else{stat.init=prev.body.drop_side_effect_free(compressor);n--}}}else if(stat instanceof AST_If){stat.condition=cons_seq(stat.condition)}else if(stat instanceof AST_With){stat.expression=cons_seq(stat.expression)}else if(stat instanceof AST_Exit&&stat.value){stat.value=cons_seq(stat.value)}else if(stat instanceof AST_Exit){stat.value=cons_seq(make_node(AST_Undefined,stat).transform(compressor))}else if(stat instanceof AST_Switch){stat.expression=cons_seq(stat.expression)}}statements[n++]=stat;prev=stat instanceof AST_SimpleStatement?stat:null}statements.length=n}function join_consecutive_vars(statements,compressor){for(var i=0,j=-1,len=statements.length;i<len;i++){var stat=statements[i];var prev=statements[j];if(stat instanceof AST_Definitions&&prev&&prev.TYPE==stat.TYPE){prev.definitions=prev.definitions.concat(stat.definitions);CHANGED=true}else if(stat instanceof AST_For&&prev instanceof AST_Var&&(!stat.init||stat.init.TYPE==prev.TYPE)){CHANGED=true;if(stat.init){stat.init.definitions=prev.definitions.concat(stat.init.definitions)}else{stat.init=prev}statements[j]=stat}else{statements[++j]=stat}}statements.length=j+1}}function extract_declarations_from_unreachable_code(compressor,stat,target){if(!(stat instanceof AST_Defun)){compressor.warn("Dropping unreachable code [{file}:{line},{col}]",stat.start)}stat.walk(new TreeWalker(function(node){if(node instanceof AST_Definitions){compressor.warn("Declarations in unreachable code! [{file}:{line},{col}]",node.start);node.remove_initializers();target.push(node);return true}if(node instanceof AST_Defun&&(node===stat||!compressor.has_directive("use strict"))){target.push(node);return true}if(node instanceof AST_Scope){return true}}))}function is_undefined(node,compressor){return node.is_undefined||node instanceof AST_Undefined||node instanceof AST_UnaryPrefix&&node.operator=="void"&&!node.expression.has_side_effects(compressor)}(function(def){AST_Node.DEFMETHOD("may_throw_on_access",function(compressor){return!compressor.option("pure_getters")||this._dot_throw(compressor)});function is_strict(compressor){return/strict/.test(compressor.option("pure_getters"))}def(AST_Node,is_strict);def(AST_Null,return_true);def(AST_Undefined,return_true);def(AST_Constant,return_false);def(AST_Array,return_false);def(AST_Object,function(compressor){if(!is_strict(compressor))return false;for(var i=this.properties.length;--i>=0;)if(this.properties[i].value instanceof AST_Accessor)return true;return false});def(AST_Function,return_false);def(AST_UnaryPostfix,return_false);def(AST_UnaryPrefix,function(){return this.operator=="void"});def(AST_Binary,function(compressor){switch(this.operator){case"&&":return this.left._dot_throw(compressor);case"||":return this.left._dot_throw(compressor)&&this.right._dot_throw(compressor);default:return false}});def(AST_Assign,function(compressor){return this.operator=="="&&this.right._dot_throw(compressor)});def(AST_Conditional,function(compressor){return this.consequent._dot_throw(compressor)||this.alternative._dot_throw(compressor)});def(AST_Sequence,function(compressor){return this.expressions[this.expressions.length-1]._dot_throw(compressor)});def(AST_SymbolRef,function(compressor){if(this.is_undefined)return true;if(!is_strict(compressor))return false;if(is_undeclared_ref(this)&&this.is_declared(compressor))return false;if(this.is_immutable())return false;var fixed=this.fixed_value();return!fixed||fixed._dot_throw(compressor)})})(function(node,func){node.DEFMETHOD("_dot_throw",func)});(function(def){var unary_bool=["!","delete"];var binary_bool=["in","instanceof","==","!=","===","!==","<","<=",">=",">"];def(AST_Node,return_false);def(AST_UnaryPrefix,function(){return member(this.operator,unary_bool)});def(AST_Binary,function(){return member(this.operator,binary_bool)||(this.operator=="&&"||this.operator=="||")&&this.left.is_boolean()&&this.right.is_boolean()});def(AST_Conditional,function(){return this.consequent.is_boolean()&&this.alternative.is_boolean()});def(AST_Assign,function(){return this.operator=="="&&this.right.is_boolean()});def(AST_Sequence,function(){return this.expressions[this.expressions.length-1].is_boolean()});def(AST_True,return_true);def(AST_False,return_true)})(function(node,func){node.DEFMETHOD("is_boolean",func)});(function(def){def(AST_Node,return_false);def(AST_Number,return_true);var unary=makePredicate("+ - ~ ++ --");def(AST_Unary,function(){return unary(this.operator)});var binary=makePredicate("- * / % & | ^ << >> >>>");def(AST_Binary,function(compressor){return binary(this.operator)||this.operator=="+"&&this.left.is_number(compressor)&&this.right.is_number(compressor)});def(AST_Assign,function(compressor){return binary(this.operator.slice(0,-1))||this.operator=="="&&this.right.is_number(compressor)});def(AST_Sequence,function(compressor){return this.expressions[this.expressions.length-1].is_number(compressor)});def(AST_Conditional,function(compressor){return this.consequent.is_number(compressor)&&this.alternative.is_number(compressor)})})(function(node,func){node.DEFMETHOD("is_number",func)});(function(def){def(AST_Node,return_false);def(AST_String,return_true);def(AST_UnaryPrefix,function(){return this.operator=="typeof"});def(AST_Binary,function(compressor){return this.operator=="+"&&(this.left.is_string(compressor)||this.right.is_string(compressor))});def(AST_Assign,function(compressor){return(this.operator=="="||this.operator=="+=")&&this.right.is_string(compressor)});def(AST_Sequence,function(compressor){return this.expressions[this.expressions.length-1].is_string(compressor)});def(AST_Conditional,function(compressor){return this.consequent.is_string(compressor)&&this.alternative.is_string(compressor)})})(function(node,func){node.DEFMETHOD("is_string",func)});var unary_side_effects=makePredicate("delete ++ --");function is_lhs(node,parent){if(parent instanceof AST_Unary&&unary_side_effects(parent.operator))return parent.expression;if(parent instanceof AST_Assign&&parent.left===node)return node}(function(def){AST_Node.DEFMETHOD("resolve_defines",function(compressor){if(!compressor.option("global_defs"))return;var def=this._find_defs(compressor,"");if(def){var node,parent=this,level=0;do{node=parent;parent=compressor.parent(level++)}while(parent instanceof AST_PropAccess&&parent.expression===node);if(is_lhs(node,parent)){compressor.warn("global_defs "+this.print_to_string()+" redefined [{file}:{line},{col}]",this.start)}else{return def}}});function to_node(value,orig){if(value instanceof AST_Node)return make_node(value.CTOR,orig,value);if(Array.isArray(value))return make_node(AST_Array,orig,{elements:value.map(function(value){return to_node(value,orig)})});if(value&&typeof value=="object"){var props=[];for(var key in value)if(HOP(value,key)){props.push(make_node(AST_ObjectKeyVal,orig,{key:key,value:to_node(value[key],orig)}))}return make_node(AST_Object,orig,{properties:props})}return make_node_from_constant(value,orig)}def(AST_Node,noop);def(AST_Dot,function(compressor,suffix){return this.expression._find_defs(compressor,"."+this.property+suffix)});def(AST_SymbolRef,function(compressor,suffix){if(!this.global())return;var name;var defines=compressor.option("global_defs");if(defines&&HOP(defines,name=this.name+suffix)){var node=to_node(defines[name],this);var top=compressor.find_parent(AST_Toplevel);node.walk(new TreeWalker(function(node){if(node instanceof AST_SymbolRef){node.scope=top;node.thedef=top.def_global(node)}}));return node}})})(function(node,func){node.DEFMETHOD("_find_defs",func)});function best_of_expression(ast1,ast2){return ast1.print_to_string().length>ast2.print_to_string().length?ast2:ast1}function best_of_statement(ast1,ast2){return best_of_expression(make_node(AST_SimpleStatement,ast1,{body:ast1}),make_node(AST_SimpleStatement,ast2,{body:ast2})).body}function best_of(compressor,ast1,ast2){return(first_in_statement(compressor)?best_of_statement:best_of_expression)(ast1,ast2)}(function(def){AST_Node.DEFMETHOD("evaluate",function(compressor){if(!compressor.option("evaluate"))return this;var val=this._eval(compressor);return!val||val instanceof RegExp||typeof val!="object"?val:this});var unaryPrefix=makePredicate("! ~ - + void");AST_Node.DEFMETHOD("is_constant",function(){if(this instanceof AST_Constant){return!(this instanceof AST_RegExp)}else{return this instanceof AST_UnaryPrefix&&this.expression instanceof AST_Constant&&unaryPrefix(this.operator)}});AST_Node.DEFMETHOD("constant_value",function(compressor){if(this instanceof AST_Constant&&!(this instanceof AST_RegExp)){return this.value}if(this instanceof AST_UnaryPrefix&&this.expression instanceof AST_Constant)switch(this.operator){case"!":return!this.expression.value;case"~":return~this.expression.value;case"-":return-this.expression.value;case"+":return+this.expression.value;default:throw new Error(string_template("Cannot evaluate unary expression {value}",{value:this.print_to_string()}))}var result=this.evaluate(compressor);if(result!==this){return result}throw new Error(string_template("Cannot evaluate constant [{file}:{line},{col}]",this.start))});def(AST_Statement,function(){throw new Error(string_template("Cannot evaluate a statement [{file}:{line},{col}]",this.start))});def(AST_Lambda,return_this);function ev(node,compressor){if(!compressor)throw new Error("Compressor must be passed");return node._eval(compressor)}def(AST_Node,return_this);def(AST_Constant,function(){return this.getValue()});def(AST_Array,function(compressor){if(compressor.option("unsafe")){var elements=[];for(var i=0,len=this.elements.length;i<len;i++){var element=this.elements[i];var value=ev(element,compressor);if(element===value)return this;elements.push(value)}return elements}return this});def(AST_Object,function(compressor){if(compressor.option("unsafe")){var val={};for(var i=0,len=this.properties.length;i<len;i++){var prop=this.properties[i];var key=prop.key;if(key instanceof AST_Symbol){key=key.name}else if(key instanceof AST_Node){key=ev(key,compressor);if(key===prop.key)return this}if(typeof Object.prototype[key]==="function"){return this}val[key]=ev(prop.value,compressor);if(val[key]===prop.value)return this}return val}return this});def(AST_UnaryPrefix,function(compressor){if(this.operator=="typeof"&&this.expression instanceof AST_Function){return typeof function(){}}var e=ev(this.expression,compressor);if(e===this.expression)return this;switch(this.operator){case"!":return!e;case"typeof":if(e instanceof RegExp)return this;return typeof e;case"void":return void e;case"~":return~e;case"-":return-e;case"+":return+e}return this});def(AST_Binary,function(compressor){var left=ev(this.left,compressor);if(left===this.left)return this;var right=ev(this.right,compressor);if(right===this.right)return this;var result;switch(this.operator){case"&&":result=left&&right;break;case"||":result=left||right;break;case"|":result=left|right;break;case"&":result=left&right;break;case"^":result=left^right;break;case"+":result=left+right;break;case"*":result=left*right;break;case"/":result=left/right;break;case"%":result=left%right;break;case"-":result=left-right;break;case"<<":result=left<<right;break;case">>":result=left>>right;break;case">>>":result=left>>>right;break;case"==":result=left==right;break;case"===":result=left===right;break;case"!=":result=left!=right;break;case"!==":result=left!==right;break;case"<":result=left<right;break;case"<=":result=left<=right;break;case">":result=left>right;break;case">=":result=left>=right;break;default:return this}if(isNaN(result)&&compressor.find_parent(AST_With)){return this}return result});def(AST_Conditional,function(compressor){var condition=ev(this.condition,compressor);if(condition===this.condition)return this;var node=condition?this.consequent:this.alternative;var value=ev(node,compressor);return value===node?this:value});def(AST_SymbolRef,function(compressor){if(!compressor.option("reduce_vars"))return this;var fixed=this.fixed_value();if(!fixed)return this;this._eval=return_this;var value=ev(fixed,compressor);if(value===fixed){delete this._eval;return this}if(!HOP(fixed,"_eval"))fixed._eval=function(){return value};if(value&&typeof value=="object"&&this.definition().escaped){delete this._eval;return this}this._eval=fixed._eval;return value});var global_objs={Array:Array,Math:Math,Number:Number,String:String};function convert_to_predicate(obj){for(var key in obj){obj[key]=makePredicate(obj[key])}}var static_values={Math:["E","LN10","LN2","LOG2E","LOG10E","PI","SQRT1_2","SQRT2"],Number:["MAX_VALUE","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"]};convert_to_predicate(static_values);def(AST_PropAccess,function(compressor){if(compressor.option("unsafe")){var key=this.property;if(key instanceof AST_Node){key=ev(key,compressor);if(key===this.property)return this}var exp=this.expression;var val;if(is_undeclared_ref(exp)){if(!(static_values[exp.name]||return_false)(key))return this;val=global_objs[exp.name]}else{val=ev(exp,compressor);if(!val||val===exp||!HOP(val,key))return this}return val[key]}return this});var object_fns=["constructor","toString","valueOf"];var native_fns={Array:["indexOf","join","lastIndexOf","slice"].concat(object_fns),Boolean:object_fns,Number:["toExponential","toFixed","toPrecision"].concat(object_fns),RegExp:["test"].concat(object_fns),String:["charAt","charCodeAt","concat","indexOf","italics","lastIndexOf","match","replace","search","slice","split","substr","substring","trim"].concat(object_fns)};convert_to_predicate(native_fns);var static_fns={Array:["isArray"],Math:["abs","acos","asin","atan","ceil","cos","exp","floor","log","round","sin","sqrt","tan","atan2","pow","max","min"],Number:["isFinite","isNaN"],String:["fromCharCode"]};convert_to_predicate(static_fns);def(AST_Call,function(compressor){var exp=this.expression;if(compressor.option("unsafe")&&exp instanceof AST_PropAccess){var key=exp.property;if(key instanceof AST_Node){key=ev(key,compressor);if(key===exp.property)return this}var val;var e=exp.expression;if(is_undeclared_ref(e)){if(!(static_fns[e.name]||return_false)(key))return this;val=global_objs[e.name]}else{val=ev(e,compressor);if(val===e||!(val&&native_fns[val.constructor.name]||return_false)(key))return this}var args=[];for(var i=0,len=this.args.length;i<len;i++){var arg=this.args[i];var value=ev(arg,compressor);if(arg===value)return this;args.push(value)}return val[key].apply(val,args)}return this});def(AST_New,return_this)})(function(node,func){node.DEFMETHOD("_eval",func)});(function(def){function basic_negation(exp){return make_node(AST_UnaryPrefix,exp,{operator:"!",expression:exp})}function best(orig,alt,first_in_statement){var negated=basic_negation(orig);if(first_in_statement){var stat=make_node(AST_SimpleStatement,alt,{body:alt});return best_of_expression(negated,stat)===stat?alt:negated}return best_of_expression(negated,alt)}def(AST_Node,function(){return basic_negation(this)});def(AST_Statement,function(){throw new Error("Cannot negate a statement")});def(AST_Function,function(){return basic_negation(this)});def(AST_UnaryPrefix,function(){if(this.operator=="!")return this.expression;return basic_negation(this)});def(AST_Sequence,function(compressor){var expressions=this.expressions.slice();expressions.push(expressions.pop().negate(compressor));return make_sequence(this,expressions)});def(AST_Conditional,function(compressor,first_in_statement){var self=this.clone();self.consequent=self.consequent.negate(compressor);self.alternative=self.alternative.negate(compressor);return best(this,self,first_in_statement)});def(AST_Binary,function(compressor,first_in_statement){var self=this.clone(),op=this.operator;if(compressor.option("unsafe_comps")){switch(op){case"<=":self.operator=">";return self;case"<":self.operator=">=";return self;case">=":self.operator="<";return self;case">":self.operator="<=";return self}}switch(op){case"==":self.operator="!=";return self;case"!=":self.operator="==";return self;case"===":self.operator="!==";return self;case"!==":self.operator="===";return self;case"&&":self.operator="||";self.left=self.left.negate(compressor,first_in_statement);self.right=self.right.negate(compressor);return best(this,self,first_in_statement);case"||":self.operator="&&";self.left=self.left.negate(compressor,first_in_statement);self.right=self.right.negate(compressor);return best(this,self,first_in_statement)}return basic_negation(this)})})(function(node,func){node.DEFMETHOD("negate",function(compressor,first_in_statement){return func.call(this,compressor,first_in_statement)})});AST_Call.DEFMETHOD("has_pure_annotation",function(compressor){if(!compressor.option("side_effects"))return false;if(this.pure!==undefined)return this.pure;var pure=false;var comments,pure_comment;if(this.start&&(comments=this.start.comments_before)&&comments.length&&(pure_comment=find_if(function(comment){return/[@#]__PURE__/.test(comment.value)},comments))){pure=pure_comment}return this.pure=pure});var global_pure_fns=makePredicate("Boolean decodeURI decodeURIComponent Date encodeURI encodeURIComponent Error escape EvalError isFinite isNaN Number Object parseFloat parseInt RangeError ReferenceError String SyntaxError TypeError unescape URIError");AST_Call.DEFMETHOD("is_expr_pure",function(compressor){if(compressor.option("unsafe")){var expr=this.expression;if(is_undeclared_ref(expr)&&global_pure_fns(expr.name))return true}return this.has_pure_annotation(compressor)||!compressor.pure_funcs(this)});(function(def){def(AST_Node,return_true);def(AST_EmptyStatement,return_false);def(AST_Constant,return_false);def(AST_This,return_false);def(AST_Call,function(compressor){if(!this.is_expr_pure(compressor))return true;for(var i=this.args.length;--i>=0;){if(this.args[i].has_side_effects(compressor))return true}return false});function any(list,compressor){for(var i=list.length;--i>=0;)if(list[i].has_side_effects(compressor))return true;return false}def(AST_Block,function(compressor){return any(this.body,compressor)});def(AST_Switch,function(compressor){return this.expression.has_side_effects(compressor)||any(this.body,compressor)});def(AST_Case,function(compressor){return this.expression.has_side_effects(compressor)||any(this.body,compressor)});def(AST_Try,function(compressor){return any(this.body,compressor)||this.bcatch&&this.bcatch.has_side_effects(compressor)||this.bfinally&&this.bfinally.has_side_effects(compressor)});def(AST_If,function(compressor){return this.condition.has_side_effects(compressor)||this.body&&this.body.has_side_effects(compressor)||this.alternative&&this.alternative.has_side_effects(compressor)});def(AST_LabeledStatement,function(compressor){return this.body.has_side_effects(compressor)});def(AST_SimpleStatement,function(compressor){return this.body.has_side_effects(compressor)});def(AST_Defun,return_true);def(AST_Function,return_false);def(AST_Binary,function(compressor){return this.left.has_side_effects(compressor)||this.right.has_side_effects(compressor)});def(AST_Assign,return_true);def(AST_Conditional,function(compressor){return this.condition.has_side_effects(compressor)||this.consequent.has_side_effects(compressor)||this.alternative.has_side_effects(compressor)});def(AST_Unary,function(compressor){return unary_side_effects(this.operator)||this.expression.has_side_effects(compressor)});def(AST_SymbolRef,function(compressor){return!this.is_declared(compressor)});def(AST_SymbolDeclaration,return_false);def(AST_Object,function(compressor){return any(this.properties,compressor)});def(AST_ObjectProperty,function(compressor){return this.value.has_side_effects(compressor)});def(AST_Array,function(compressor){return any(this.elements,compressor)});def(AST_Dot,function(compressor){return this.expression.may_throw_on_access(compressor)||this.expression.has_side_effects(compressor)});def(AST_Sub,function(compressor){return this.expression.may_throw_on_access(compressor)||this.expression.has_side_effects(compressor)||this.property.has_side_effects(compressor)});def(AST_Sequence,function(compressor){return this.expressions.some(function(expression,index){return expression.has_side_effects(compressor)})})})(function(node,func){node.DEFMETHOD("has_side_effects",func)});(function(def){function all(list){for(var i=list.length;--i>=0;)if(!list[i].is_constant_expression())return false;return true}def(AST_Node,return_false);def(AST_Constant,return_true);def(AST_Unary,function(){return this.expression.is_constant_expression()});def(AST_Binary,function(){return this.left.is_constant_expression()&&this.right.is_constant_expression()});def(AST_Array,function(){return all(this.elements)});def(AST_Object,function(){return all(this.properties)});def(AST_ObjectProperty,function(){return this.value.is_constant_expression()})})(function(node,func){node.DEFMETHOD("is_constant_expression",func)});function aborts(thing){return thing&&thing.aborts()}(function(def){def(AST_Statement,return_null);def(AST_Jump,return_this);function block_aborts(){var n=this.body.length;return n>0&&aborts(this.body[n-1])}def(AST_BlockStatement,block_aborts);def(AST_SwitchBranch,block_aborts);def(AST_If,function(){return this.alternative&&aborts(this.body)&&aborts(this.alternative)&&this})})(function(node,func){node.DEFMETHOD("aborts",func)});OPT(AST_Directive,function(self,compressor){if(compressor.has_directive(self.value)!==self){return make_node(AST_EmptyStatement,self)}return self});OPT(AST_Debugger,function(self,compressor){if(compressor.option("drop_debugger"))return make_node(AST_EmptyStatement,self);return self});OPT(AST_LabeledStatement,function(self,compressor){if(self.body instanceof AST_Break&&compressor.loopcontrol_target(self.body)===self.body){return make_node(AST_EmptyStatement,self)}return self.label.references.length==0?self.body:self});OPT(AST_Block,function(self,compressor){tighten_body(self.body,compressor);return self});OPT(AST_BlockStatement,function(self,compressor){tighten_body(self.body,compressor);switch(self.body.length){case 1:return self.body[0];case 0:return make_node(AST_EmptyStatement,self)}return self});AST_Scope.DEFMETHOD("drop_unused",function(compressor){if(!compressor.option("unused"))return;if(compressor.has_directive("use asm"))return;var self=this;if(self.uses_eval||self.uses_with)return;var drop_funcs=!(self instanceof AST_Toplevel)||compressor.toplevel.funcs;var drop_vars=!(self instanceof AST_Toplevel)||compressor.toplevel.vars;if(!drop_funcs&&!drop_vars)return;var assign_as_unused=/keep_assign/.test(compressor.option("unused"))?return_false:function(node){if(node instanceof AST_Assign&&(node.write_only||node.operator=="=")){return node.left}if(node instanceof AST_Unary&&node.write_only)return node.expression};var in_use=[];var in_use_ids=Object.create(null);if(self instanceof AST_Toplevel&&compressor.top_retain){self.variables.each(function(def){if(compressor.top_retain(def)&&!(def.id in in_use_ids)){in_use_ids[def.id]=true;in_use.push(def)}})}var var_defs_by_id=new Dictionary;var initializations=new Dictionary;var scope=this;var tw=new TreeWalker(function(node,descend){if(node!==self){if(node instanceof AST_Defun){if(!drop_funcs&&scope===self){var node_def=node.name.definition();if(!(node_def.id in in_use_ids)){in_use_ids[node_def.id]=true;in_use.push(node_def)}}initializations.add(node.name.name,node);return true}if(node instanceof AST_Definitions&&scope===self){node.definitions.forEach(function(def){var node_def=def.name.definition();if(def.name instanceof AST_SymbolVar){var_defs_by_id.add(node_def.id,def)}if(!drop_vars){if(!(node_def.id in in_use_ids)){in_use_ids[node_def.id]=true;in_use.push(node_def)}}if(def.value){initializations.add(def.name.name,def.value);if(def.value.has_side_effects(compressor)){def.value.walk(tw)}}});return true}if(assign_as_unused(node)instanceof AST_SymbolRef&&scope===self){if(node instanceof AST_Assign)node.right.walk(tw);return true}if(node instanceof AST_SymbolRef){var node_def=node.definition();if(!(node_def.id in in_use_ids)){in_use_ids[node_def.id]=true;in_use.push(node_def)}return true}if(node instanceof AST_Scope){var save_scope=scope;scope=node;descend();scope=save_scope;return true}}});self.walk(tw);for(var i=0;i<in_use.length;++i){in_use[i].orig.forEach(function(decl){var init=initializations.get(decl.name);if(init)init.forEach(function(init){var tw=new TreeWalker(function(node){if(node instanceof AST_SymbolRef){var node_def=node.definition();if(!(node_def.id in in_use_ids)){in_use_ids[node_def.id]=true;in_use.push(node_def)}}});init.walk(tw)})})}var tt=new TreeTransformer(function before(node,descend,in_list){if(node instanceof AST_Function&&node.name&&!compressor.option("keep_fnames")){var def=node.name.definition();if(!(def.id in in_use_ids)||def.orig.length>1)node.name=null}if(node instanceof AST_Lambda&&!(node instanceof AST_Accessor)){var trim=!compressor.option("keep_fargs");for(var a=node.argnames,i=a.length;--i>=0;){var sym=a[i];if(!(sym.definition().id in in_use_ids)){sym.__unused=true;if(trim){a.pop();compressor[sym.unreferenced()?"warn":"info"]("Dropping unused function argument {name} [{file}:{line},{col}]",template(sym))}}else{trim=false}}}if(drop_funcs&&node instanceof AST_Defun&&node!==self){if(!(node.name.definition().id in in_use_ids)){compressor[node.name.unreferenced()?"warn":"info"]("Dropping unused function {name} [{file}:{line},{col}]",template(node.name));return make_node(AST_EmptyStatement,node)}return node}if(drop_vars&&node instanceof AST_Definitions&&!(tt.parent()instanceof AST_ForIn&&tt.parent().init===node)){var body=[],head=[],tail=[];var side_effects=[];node.definitions.forEach(function(def){if(def.value)def.value=def.value.transform(tt);var sym=def.name.definition();if(sym.id in in_use_ids){if(def.name instanceof AST_SymbolVar){var var_defs=var_defs_by_id.get(sym.id);if(var_defs.length>1&&!def.value){compressor.warn("Dropping duplicated definition of variable {name} [{file}:{line},{col}]",template(def.name));remove(var_defs,def);remove(sym.orig,def.name);return}}if(def.value){if(side_effects.length>0){if(tail.length>0){merge_sequence(side_effects,def.value);def.value=make_sequence(def.value,side_effects)}else{body.push(make_node(AST_SimpleStatement,node,{body:make_sequence(node,side_effects)}))}side_effects=[]}tail.push(def)}else{head.push(def)}}else if(sym.orig[0]instanceof AST_SymbolCatch){var value=def.value&&def.value.drop_side_effect_free(compressor);if(value)merge_sequence(side_effects,value);def.value=null;head.push(def)}else{var value=def.value&&def.value.drop_side_effect_free(compressor);if(value){compressor.warn("Side effects in initialization of unused variable {name} [{file}:{line},{col}]",template(def.name));merge_sequence(side_effects,value)}else{compressor[def.name.unreferenced()?"warn":"info"]("Dropping unused variable {name} [{file}:{line},{col}]",template(def.name))}remove(sym.orig,def.name)}});if(head.length==0&&tail.length==1&&tail[0].name instanceof AST_SymbolVar){var var_defs=var_defs_by_id.get(tail[0].name.definition().id);if(var_defs.length>1){var def=tail.pop();compressor.warn("Converting duplicated definition of variable {name} to assignment [{file}:{line},{col}]",template(def.name));remove(var_defs,def);remove(def.name.definition().orig,def.name);side_effects.unshift(make_node(AST_Assign,def,{operator:"=",left:make_node(AST_SymbolRef,def.name,def.name),right:def.value}))}}if(head.length>0||tail.length>0){node.definitions=head.concat(tail);body.push(node)}if(side_effects.length>0){body.push(make_node(AST_SimpleStatement,node,{body:make_sequence(node,side_effects)}))}switch(body.length){case 0:return in_list?MAP.skip:make_node(AST_EmptyStatement,node);case 1:return body[0];default:return in_list?MAP.splice(body):make_node(AST_BlockStatement,node,{body:body})}}if(drop_vars){var def=assign_as_unused(node);if(def instanceof AST_SymbolRef&&!((def=def.definition()).id in in_use_ids)&&self.variables.get(def.name)===def){if(node instanceof AST_Assign){return maintain_this_binding(tt.parent(),node,node.right.transform(tt))}return make_node(AST_Number,node,{value:0})}}if(node instanceof AST_For){descend(node,this);var block;if(node.init instanceof AST_BlockStatement){block=node.init;node.init=block.body.pop();block.body.push(node)}if(node.init instanceof AST_SimpleStatement){node.init=node.init.body}else if(is_empty(node.init)){node.init=null}return!block?node:in_list?MAP.splice(block.body):block}if(node instanceof AST_LabeledStatement&&node.body instanceof AST_For){descend(node,this);if(node.body instanceof AST_BlockStatement){var block=node.body;node.body=block.body.pop();block.body.push(node);return in_list?MAP.splice(block.body):block}return node}if(node instanceof AST_Scope&&node!==self)return node;function template(sym){return{name:sym.name,file:sym.start.file,line:sym.start.line,col:sym.start.col}}});self.transform(tt)});AST_Scope.DEFMETHOD("hoist_declarations",function(compressor){var self=this;if(compressor.has_directive("use asm"))return self;var hoist_funs=compressor.option("hoist_funs");var hoist_vars=compressor.option("hoist_vars");if(hoist_funs||hoist_vars){var dirs=[];var hoisted=[];var vars=new Dictionary,vars_found=0,var_decl=0;self.walk(new TreeWalker(function(node){if(node instanceof AST_Scope&&node!==self)return true;if(node instanceof AST_Var){++var_decl;return true}}));hoist_vars=hoist_vars&&var_decl>1;var tt=new TreeTransformer(function before(node){if(node!==self){if(node instanceof AST_Directive){dirs.push(node);return make_node(AST_EmptyStatement,node)}if(hoist_funs&&node instanceof AST_Defun&&(tt.parent()===self||!compressor.has_directive("use strict"))){hoisted.push(node);return make_node(AST_EmptyStatement,node)}if(hoist_vars&&node instanceof AST_Var){node.definitions.forEach(function(def){vars.set(def.name.name,def);++vars_found});var seq=node.to_assignments(compressor);var p=tt.parent();if(p instanceof AST_ForIn&&p.init===node){if(seq==null){var def=node.definitions[0].name;return make_node(AST_SymbolRef,def,def)}return seq}if(p instanceof AST_For&&p.init===node){return seq}if(!seq)return make_node(AST_EmptyStatement,node);return make_node(AST_SimpleStatement,node,{body:seq})}if(node instanceof AST_Scope)return node}});self=self.transform(tt);if(vars_found>0){var defs=[];vars.each(function(def,name){if(self instanceof AST_Lambda&&find_if(function(x){return x.name==def.name.name},self.argnames)){vars.del(name)}else{def=def.clone();def.value=null;defs.push(def);vars.set(name,def)}});if(defs.length>0){for(var i=0;i<self.body.length;){if(self.body[i]instanceof AST_SimpleStatement){var expr=self.body[i].body,sym,assign;if(expr instanceof AST_Assign&&expr.operator=="="&&(sym=expr.left)instanceof AST_Symbol&&vars.has(sym.name)){var def=vars.get(sym.name);if(def.value)break;def.value=expr.right;remove(defs,def);defs.push(def);self.body.splice(i,1);continue}if(expr instanceof AST_Sequence&&(assign=expr.expressions[0])instanceof AST_Assign&&assign.operator=="="&&(sym=assign.left)instanceof AST_Symbol&&vars.has(sym.name)){var def=vars.get(sym.name);if(def.value)break;def.value=assign.right;remove(defs,def);defs.push(def);self.body[i].body=make_sequence(expr,expr.expressions.slice(1));continue}}if(self.body[i]instanceof AST_EmptyStatement){self.body.splice(i,1);continue}if(self.body[i]instanceof AST_BlockStatement){var tmp=[i,1].concat(self.body[i].body);self.body.splice.apply(self.body,tmp);continue}break}defs=make_node(AST_Var,self,{definitions:defs});hoisted.push(defs)}}self.body=dirs.concat(hoisted,self.body)}return self});(function(def){function trim(nodes,compressor,first_in_statement){var len=nodes.length;if(!len)return null;var ret=[],changed=false;for(var i=0;i<len;i++){var node=nodes[i].drop_side_effect_free(compressor,first_in_statement);changed|=node!==nodes[i];if(node){merge_sequence(ret,node);first_in_statement=false}}return changed?ret.length?ret:null:nodes}def(AST_Node,return_this);def(AST_Constant,return_null);def(AST_This,return_null);def(AST_Call,function(compressor,first_in_statement){if(!this.is_expr_pure(compressor)){if(this.expression instanceof AST_Function&&(!this.expression.name||!this.expression.name.definition().references.length)){var node=this.clone();node.expression.process_expression(false,compressor);return node}return this}if(this.pure){compressor.warn("Dropping __PURE__ call [{file}:{line},{col}]",this.start);this.pure.value=this.pure.value.replace(/[@#]__PURE__/g," ")}var args=trim(this.args,compressor,first_in_statement);return args&&make_sequence(this,args)});def(AST_Accessor,return_null);def(AST_Function,return_null);def(AST_Binary,function(compressor,first_in_statement){var right=this.right.drop_side_effect_free(compressor);if(!right)return this.left.drop_side_effect_free(compressor,first_in_statement);switch(this.operator){case"&&":case"||":if(right===this.right)return this;var node=this.clone();node.right=right;return node;default:var left=this.left.drop_side_effect_free(compressor,first_in_statement);if(!left)return this.right.drop_side_effect_free(compressor,first_in_statement);return make_sequence(this,[left,right])}});def(AST_Assign,function(compressor){this.write_only=!this.left.has_side_effects(compressor);return this});def(AST_Conditional,function(compressor){var consequent=this.consequent.drop_side_effect_free(compressor);var alternative=this.alternative.drop_side_effect_free(compressor);if(consequent===this.consequent&&alternative===this.alternative)return this;if(!consequent)return alternative?make_node(AST_Binary,this,{operator:"||",left:this.condition,right:alternative}):this.condition.drop_side_effect_free(compressor);if(!alternative)return make_node(AST_Binary,this,{operator:"&&",left:this.condition,right:consequent});var node=this.clone();node.consequent=consequent;node.alternative=alternative;return node});def(AST_Unary,function(compressor,first_in_statement){if(unary_side_effects(this.operator)){this.write_only=!this.expression.has_side_effects(compressor);return this}if(this.operator=="typeof"&&this.expression instanceof AST_SymbolRef)return null;var expression=this.expression.drop_side_effect_free(compressor,first_in_statement);if(first_in_statement&&this instanceof AST_UnaryPrefix&&is_iife_call(expression)){if(expression===this.expression&&this.operator.length===1)return this;return make_node(AST_UnaryPrefix,this,{operator:this.operator.length===1?this.operator:"!",expression:expression})}return expression});def(AST_SymbolRef,function(compressor){return this.is_declared(compressor)?null:this});def(AST_Object,function(compressor,first_in_statement){var values=trim(this.properties,compressor,first_in_statement);return values&&make_sequence(this,values)});def(AST_ObjectProperty,function(compressor,first_in_statement){return this.value.drop_side_effect_free(compressor,first_in_statement)});def(AST_Array,function(compressor,first_in_statement){var values=trim(this.elements,compressor,first_in_statement);return values&&make_sequence(this,values)});def(AST_Dot,function(compressor,first_in_statement){if(this.expression.may_throw_on_access(compressor))return this;return this.expression.drop_side_effect_free(compressor,first_in_statement)});def(AST_Sub,function(compressor,first_in_statement){if(this.expression.may_throw_on_access(compressor))return this;var expression=this.expression.drop_side_effect_free(compressor,first_in_statement);if(!expression)return this.property.drop_side_effect_free(compressor,first_in_statement);var property=this.property.drop_side_effect_free(compressor);if(!property)return expression;return make_sequence(this,[expression,property])});def(AST_Sequence,function(compressor){var last=this.expressions[this.expressions.length-1];var expr=last.drop_side_effect_free(compressor);if(expr===last)return this;var expressions=this.expressions.slice(0,-1);if(expr)merge_sequence(expressions,expr);return make_sequence(this,expressions)})})(function(node,func){node.DEFMETHOD("drop_side_effect_free",func)});OPT(AST_SimpleStatement,function(self,compressor){if(compressor.option("side_effects")){var body=self.body;var node=body.drop_side_effect_free(compressor,true);if(!node){compressor.warn("Dropping side-effect-free statement [{file}:{line},{col}]",self.start);return make_node(AST_EmptyStatement,self)}if(node!==body){return make_node(AST_SimpleStatement,self,{body:node})}}return self});OPT(AST_DWLoop,function(self,compressor){if(!compressor.option("loops"))return self;var cond=self.condition.evaluate(compressor);if(cond!==self.condition){if(cond){return make_node(AST_For,self,{body:self.body})}if(compressor.option("dead_code")&&self instanceof AST_While){var a=[];extract_declarations_from_unreachable_code(compressor,self.body,a);return make_node(AST_BlockStatement,self,{body:a}).optimize(compressor)}if(self instanceof AST_Do){var has_loop_control=false;var tw=new TreeWalker(function(node){if(node instanceof AST_Scope||has_loop_control)return true;if(node instanceof AST_LoopControl&&tw.loopcontrol_target(node)===self)return has_loop_control=true});var parent=compressor.parent();(parent instanceof AST_LabeledStatement?parent:self).walk(tw);if(!has_loop_control)return self.body}}if(self instanceof AST_While){return make_node(AST_For,self,self).optimize(compressor)}return self});function if_break_in_loop(self,compressor){function drop_it(rest){rest=as_statement_array(rest);if(self.body instanceof AST_BlockStatement){self.body=self.body.clone();self.body.body=rest.concat(self.body.body.slice(1));self.body=self.body.transform(compressor)}else{self.body=make_node(AST_BlockStatement,self.body,{body:rest}).transform(compressor)}if_break_in_loop(self,compressor)}var first=self.body instanceof AST_BlockStatement?self.body.body[0]:self.body;if(first instanceof AST_If){if(first.body instanceof AST_Break&&compressor.loopcontrol_target(first.body)===compressor.self()){if(self.condition){self.condition=make_node(AST_Binary,self.condition,{left:self.condition,operator:"&&",right:first.condition.negate(compressor)})}else{self.condition=first.condition.negate(compressor)}drop_it(first.alternative)}else if(first.alternative instanceof AST_Break&&compressor.loopcontrol_target(first.alternative)===compressor.self()){if(self.condition){self.condition=make_node(AST_Binary,self.condition,{left:self.condition,operator:"&&",right:first.condition})}else{self.condition=first.condition}drop_it(first.body)}}}OPT(AST_For,function(self,compressor){if(!compressor.option("loops"))return self;if(self.condition){var cond=self.condition.evaluate(compressor);if(compressor.option("dead_code")&&!cond){var a=[];if(self.init instanceof AST_Statement){a.push(self.init)}else if(self.init){a.push(make_node(AST_SimpleStatement,self.init,{body:self.init}))}extract_declarations_from_unreachable_code(compressor,self.body,a);return make_node(AST_BlockStatement,self,{body:a}).optimize(compressor)}if(cond!==self.condition){cond=make_node_from_constant(cond,self.condition).transform(compressor);self.condition=best_of_expression(cond,self.condition)}}if_break_in_loop(self,compressor);return self});OPT(AST_If,function(self,compressor){if(is_empty(self.alternative))self.alternative=null;if(!compressor.option("conditionals"))return self;var cond=self.condition.evaluate(compressor);if(cond!==self.condition){if(cond){compressor.warn("Condition always true [{file}:{line},{col}]",self.condition.start);if(compressor.option("dead_code")){var a=[];if(self.alternative){extract_declarations_from_unreachable_code(compressor,self.alternative,a)}a.push(self.body);return make_node(AST_BlockStatement,self,{body:a}).optimize(compressor)}}else{compressor.warn("Condition always false [{file}:{line},{col}]",self.condition.start);if(compressor.option("dead_code")){var a=[];extract_declarations_from_unreachable_code(compressor,self.body,a);if(self.alternative)a.push(self.alternative);return make_node(AST_BlockStatement,self,{body:a}).optimize(compressor)}}cond=make_node_from_constant(cond,self.condition).transform(compressor);self.condition=best_of_expression(cond,self.condition)}var negated=self.condition.negate(compressor);var self_condition_length=self.condition.print_to_string().length;var negated_length=negated.print_to_string().length;var negated_is_best=negated_length<self_condition_length;if(self.alternative&&negated_is_best){negated_is_best=false;self.condition=negated;var tmp=self.body;self.body=self.alternative||make_node(AST_EmptyStatement,self);self.alternative=tmp}if(is_empty(self.body)&&is_empty(self.alternative)){return make_node(AST_SimpleStatement,self.condition,{body:self.condition.clone()}).optimize(compressor)}if(self.body instanceof AST_SimpleStatement&&self.alternative instanceof AST_SimpleStatement){return make_node(AST_SimpleStatement,self,{body:make_node(AST_Conditional,self,{condition:self.condition,consequent:self.body.body,alternative:self.alternative.body})}).optimize(compressor)}if(is_empty(self.alternative)&&self.body instanceof AST_SimpleStatement){if(self_condition_length===negated_length&&!negated_is_best&&self.condition instanceof AST_Binary&&self.condition.operator=="||"){negated_is_best=true}if(negated_is_best)return make_node(AST_SimpleStatement,self,{body:make_node(AST_Binary,self,{operator:"||",left:negated,right:self.body.body})}).optimize(compressor);return make_node(AST_SimpleStatement,self,{body:make_node(AST_Binary,self,{operator:"&&",left:self.condition,right:self.body.body})}).optimize(compressor)}if(self.body instanceof AST_EmptyStatement&&self.alternative instanceof AST_SimpleStatement){return make_node(AST_SimpleStatement,self,{body:make_node(AST_Binary,self,{operator:"||",left:self.condition,right:self.alternative.body})}).optimize(compressor)}if(self.body instanceof AST_Exit&&self.alternative instanceof AST_Exit&&self.body.TYPE==self.alternative.TYPE){return make_node(self.body.CTOR,self,{value:make_node(AST_Conditional,self,{condition:self.condition,consequent:self.body.value||make_node(AST_Undefined,self.body),alternative:self.alternative.value||make_node(AST_Undefined,self.alternative)}).transform(compressor)}).optimize(compressor)}if(self.body instanceof AST_If&&!self.body.alternative&&!self.alternative){self=make_node(AST_If,self,{condition:make_node(AST_Binary,self.condition,{operator:"&&",left:self.condition,right:self.body.condition}),body:self.body.body,alternative:null})}if(aborts(self.body)){if(self.alternative){var alt=self.alternative;self.alternative=null;return make_node(AST_BlockStatement,self,{body:[self,alt]}).optimize(compressor)}}if(aborts(self.alternative)){var body=self.body;self.body=self.alternative;self.condition=negated_is_best?negated:self.condition.negate(compressor);self.alternative=null;return make_node(AST_BlockStatement,self,{body:[self,body]}).optimize(compressor)}return self});OPT(AST_Switch,function(self,compressor){if(!compressor.option("switches"))return self;var branch;var value=self.expression.evaluate(compressor);if(value!==self.expression){var expression=make_node_from_constant(value,self.expression).transform(compressor);self.expression=best_of_expression(expression,self.expression)}if(!compressor.option("dead_code"))return self;var decl=[];var body=[];var default_branch;var exact_match;for(var i=0,len=self.body.length;i<len&&!exact_match;i++){branch=self.body[i];if(branch instanceof AST_Default){if(!default_branch){default_branch=branch}else{eliminate_branch(branch,body[body.length-1])}}else if(value!==self.expression){var exp=branch.expression.evaluate(compressor);if(exp===value){exact_match=branch;if(default_branch){var default_index=body.indexOf(default_branch);body.splice(default_index,1);eliminate_branch(default_branch,body[default_index-1]);default_branch=null}}else if(exp!==branch.expression){eliminate_branch(branch,body[body.length-1]);continue}}if(aborts(branch)){var prev=body[body.length-1];if(aborts(prev)&&prev.body.length==branch.body.length&&make_node(AST_BlockStatement,prev,prev).equivalent_to(make_node(AST_BlockStatement,branch,branch))){prev.body=[]}}body.push(branch)}while(i<len)eliminate_branch(self.body[i++],body[body.length-1]);if(body.length>0){body[0].body=decl.concat(body[0].body)}self.body=body;while(branch=body[body.length-1]){var stat=branch.body[branch.body.length-1];if(stat instanceof AST_Break&&compressor.loopcontrol_target(stat)===self)branch.body.pop();if(branch.body.length||branch instanceof AST_Case&&(default_branch||branch.expression.has_side_effects(compressor)))break;if(body.pop()===default_branch)default_branch=null}if(body.length==0){return make_node(AST_BlockStatement,self,{body:decl.concat(make_node(AST_SimpleStatement,self.expression,{body:self.expression}))}).optimize(compressor)}if(body.length==1&&(body[0]===exact_match||body[0]===default_branch)){var has_break=false;var tw=new TreeWalker(function(node){if(has_break||node instanceof AST_Lambda||node instanceof AST_SimpleStatement)return true;if(node instanceof AST_Break&&tw.loopcontrol_target(node)===self)has_break=true});self.walk(tw);if(!has_break){body=body[0].body.slice();body.unshift(make_node(AST_SimpleStatement,self.expression,{body:self.expression}));return make_node(AST_BlockStatement,self,{body:body}).optimize(compressor)}}return self;function eliminate_branch(branch,prev){if(prev&&!aborts(prev)){prev.body=prev.body.concat(branch.body)}else{extract_declarations_from_unreachable_code(compressor,branch,decl)}}});OPT(AST_Try,function(self,compressor){tighten_body(self.body,compressor);if(self.bcatch&&self.bfinally&&all(self.bfinally.body,is_empty))self.bfinally=null;if(all(self.body,is_empty)){var body=[];if(self.bcatch)extract_declarations_from_unreachable_code(compressor,self.bcatch,body);if(self.bfinally)body=body.concat(self.bfinally.body);return make_node(AST_BlockStatement,self,{body:body}).optimize(compressor)}return self});AST_Definitions.DEFMETHOD("remove_initializers",function(){this.definitions.forEach(function(def){def.value=null})});AST_Definitions.DEFMETHOD("to_assignments",function(compressor){var reduce_vars=compressor.option("reduce_vars");var assignments=this.definitions.reduce(function(a,def){if(def.value){var name=make_node(AST_SymbolRef,def.name,def.name);a.push(make_node(AST_Assign,def,{operator:"=",left:name,right:def.value}));if(reduce_vars)name.definition().fixed=false}remove(def.name.definition().orig,def.name);return a},[]);if(assignments.length==0)return null;return make_sequence(this,assignments)});OPT(AST_Definitions,function(self,compressor){if(self.definitions.length==0)return make_node(AST_EmptyStatement,self);return self});OPT(AST_Call,function(self,compressor){var exp=self.expression;var fn=exp;if(compressor.option("unused")&&(fn instanceof AST_Function||compressor.option("reduce_vars")&&fn instanceof AST_SymbolRef&&(fn=fn.fixed_value())instanceof AST_Function)&&!fn.uses_arguments&&!fn.uses_eval){var pos=0,last=0;for(var i=0,len=self.args.length;i<len;i++){var trim=i>=fn.argnames.length;if(trim||fn.argnames[i].__unused){var node=self.args[i].drop_side_effect_free(compressor);if(node){self.args[pos++]=node}else if(!trim){self.args[pos++]=make_node(AST_Number,self.args[i],{value:0});continue}}else{self.args[pos++]=self.args[i]}last=pos}self.args.length=last}if(compressor.option("unsafe")){if(is_undeclared_ref(exp)){switch(exp.name){case"Array":if(self.args.length!=1){return make_node(AST_Array,self,{elements:self.args}).optimize(compressor)}break;case"Object":if(self.args.length==0){return make_node(AST_Object,self,{properties:[]})}break;case"String":if(self.args.length==0)return make_node(AST_String,self,{value:""});if(self.args.length<=1)return make_node(AST_Binary,self,{left:self.args[0],operator:"+",right:make_node(AST_String,self,{value:""})}).optimize(compressor);break;case"Number":if(self.args.length==0)return make_node(AST_Number,self,{value:0});if(self.args.length==1)return make_node(AST_UnaryPrefix,self,{expression:self.args[0],operator:"+"}).optimize(compressor);case"Boolean":if(self.args.length==0)return make_node(AST_False,self);if(self.args.length==1)return make_node(AST_UnaryPrefix,self,{expression:make_node(AST_UnaryPrefix,self,{expression:self.args[0],operator:"!"}),operator:"!"}).optimize(compressor);break}}else if(exp instanceof AST_Dot&&exp.property=="toString"&&self.args.length==0){return make_node(AST_Binary,self,{left:make_node(AST_String,self,{value:""}),operator:"+",right:exp.expression}).optimize(compressor)}else if(exp instanceof AST_Dot&&exp.expression instanceof AST_Array&&exp.property=="join")EXIT:{var separator;if(self.args.length>0){separator=self.args[0].evaluate(compressor);if(separator===self.args[0])break EXIT}var elements=[];var consts=[];exp.expression.elements.forEach(function(el){var value=el.evaluate(compressor);if(value!==el){consts.push(value)}else{if(consts.length>0){elements.push(make_node(AST_String,self,{value:consts.join(separator)}));consts.length=0}elements.push(el)}});if(consts.length>0){elements.push(make_node(AST_String,self,{value:consts.join(separator)}))}if(elements.length==0)return make_node(AST_String,self,{value:""});if(elements.length==1){if(elements[0].is_string(compressor)){return elements[0]}return make_node(AST_Binary,elements[0],{operator:"+",left:make_node(AST_String,self,{value:""}),right:elements[0]})}if(separator==""){var first;if(elements[0].is_string(compressor)||elements[1].is_string(compressor)){first=elements.shift()}else{first=make_node(AST_String,self,{value:""})}return elements.reduce(function(prev,el){return make_node(AST_Binary,el,{operator:"+",left:prev,right:el})},first).optimize(compressor)}var node=self.clone();node.expression=node.expression.clone();node.expression.expression=node.expression.expression.clone();node.expression.expression.elements=elements;return best_of(compressor,self,node)}else if(exp instanceof AST_Dot&&exp.expression.is_string(compressor)&&exp.property=="charAt"){var arg=self.args[0];var index=arg?arg.evaluate(compressor):0;if(index!==arg){return make_node(AST_Sub,exp,{expression:exp.expression,property:make_node_from_constant(index|0,arg||exp)}).optimize(compressor)}}}if(compressor.option("unsafe_Func")&&is_undeclared_ref(exp)&&exp.name=="Function"){if(self.args.length==0)return make_node(AST_Function,self,{argnames:[],body:[]});if(all(self.args,function(x){return x instanceof AST_String})){try{var code="n(function("+self.args.slice(0,-1).map(function(arg){return arg.value}).join(",")+"){"+self.args[self.args.length-1].value+"})";var ast=parse(code);var mangle={ie8:compressor.option("ie8")};ast.figure_out_scope(mangle);var comp=new Compressor(compressor.options);ast=ast.transform(comp);ast.figure_out_scope(mangle);base54.reset();ast.compute_char_frequency(mangle);ast.mangle_names(mangle);var fun;ast.walk(new TreeWalker(function(node){if(fun)return true;if(node instanceof AST_Lambda){fun=node;return true}}));var code=OutputStream();AST_BlockStatement.prototype._codegen.call(fun,fun,code);self.args=[make_node(AST_String,self,{value:fun.argnames.map(function(arg){return arg.print_to_string()}).join(",")}),make_node(AST_String,self.args[self.args.length-1],{value:code.get().replace(/^\{|\}$/g,"")})];return self}catch(ex){if(ex instanceof JS_Parse_Error){compressor.warn("Error parsing code passed to new Function [{file}:{line},{col}]",self.args[self.args.length-1].start);compressor.warn(ex.toString())}else{throw ex}}}}var stat=fn instanceof AST_Function&&fn.body[0];if(compressor.option("inline")&&stat instanceof AST_Return){var value=stat.value;if(!value||value.is_constant_expression()){var args=self.args.concat(value||make_node(AST_Undefined,self));return make_sequence(self,args).optimize(compressor)}}if(exp instanceof AST_Function){if(compressor.option("inline")&&!exp.name&&!exp.uses_arguments&&!exp.uses_eval&&exp.body.length==1&&all(exp.argnames,function(arg){return arg.__unused})&&!self.has_pure_annotation(compressor)){var value;if(stat instanceof AST_Return){value=stat.value}else if(stat instanceof AST_SimpleStatement){value=make_node(AST_UnaryPrefix,stat,{operator:"void",expression:stat.body})}if(value){var tw=new TreeWalker(function(node){if(!value)return true;if(node instanceof AST_SymbolRef){var ref=node.scope.find_variable(node);if(ref&&ref.scope.parent_scope===fn.parent_scope){value=null;return true}}if(node instanceof AST_This&&!tw.find_parent(AST_Scope)){value=null;return true}});value.walk(tw)}if(value){var args=self.args.concat(value);return make_sequence(self,args).optimize(compressor)}}if(compressor.option("side_effects")&&all(exp.body,is_empty)){var args=self.args.concat(make_node(AST_Undefined,self));return make_sequence(self,args).optimize(compressor)}}if(compressor.option("drop_console")){if(exp instanceof AST_PropAccess){var name=exp.expression;while(name.expression){name=name.expression}if(is_undeclared_ref(name)&&name.name=="console"){return make_node(AST_Undefined,self).optimize(compressor)}}}if(compressor.option("negate_iife")&&compressor.parent()instanceof AST_SimpleStatement&&is_iife_call(self)){return self.negate(compressor,true)}var ev=self.evaluate(compressor);if(ev!==self){ev=make_node_from_constant(ev,self).optimize(compressor);return best_of(compressor,ev,self)}return self});OPT(AST_New,function(self,compressor){if(compressor.option("unsafe")){var exp=self.expression;if(is_undeclared_ref(exp)){switch(exp.name){case"Object":case"RegExp":case"Function":case"Error":case"Array":return make_node(AST_Call,self,self).transform(compressor)}}}return self});OPT(AST_Sequence,function(self,compressor){if(!compressor.option("side_effects"))return self;var expressions=[];filter_for_side_effects();var end=expressions.length-1;trim_right_for_undefined();if(end>0&&compressor.option("cascade"))trim_left_for_assignment();if(end==0){self=maintain_this_binding(compressor.parent(),self,expressions[0]);if(!(self instanceof AST_Sequence))self=self.optimize(compressor);return self}self.expressions=expressions;return self;function filter_for_side_effects(){var first=first_in_statement(compressor);var last=self.expressions.length-1;self.expressions.forEach(function(expr,index){if(index<last)expr=expr.drop_side_effect_free(compressor,first);if(expr){merge_sequence(expressions,expr);first=false}})}function trim_right_for_undefined(){while(end>0&&is_undefined(expressions[end],compressor))end--;if(end<expressions.length-1){expressions[end]=make_node(AST_UnaryPrefix,self,{operator:"void",expression:expressions[end]});expressions.length=end+1}}function trim_left_for_assignment(){for(var i=0,j=1;j<=end;j++){var left=expressions[i];var cdr=expressions[j];if(left instanceof AST_Assign&&!left.left.has_side_effects(compressor)){left=left.left}else if(left instanceof AST_Unary&&(left.operator=="++"||left.operator=="--")){left=left.expression}else left=null;if(!left||is_lhs_read_only(left)){expressions[++i]=cdr;continue}var parent=null,field;expressions[j]=cdr=cdr.clone();while(true){if(cdr.equivalent_to(left)){var car=expressions[i];if(car instanceof AST_UnaryPostfix){car=make_node(AST_UnaryPrefix,car,{operator:car.operator,expression:left})}else{car.write_only=false}if(parent){parent[field]=car;expressions[i]=expressions[j]}else{expressions[i]=car}break}if(cdr instanceof AST_Binary&&!(cdr instanceof AST_Assign)){if(cdr.left.is_constant()){if(cdr.operator=="||"||cdr.operator=="&&"){expressions[++i]=expressions[j];break}field="right"}else{field="left"}}else if(cdr instanceof AST_Call&&!(left instanceof AST_PropAccess&&cdr.expression.equivalent_to(left))||cdr instanceof AST_PropAccess||cdr instanceof AST_Unary&&!unary_side_effects(cdr.operator)){field="expression"}else if(cdr instanceof AST_Conditional){field="condition"}else{expressions[++i]=expressions[j];break}parent=cdr;cdr=cdr[field]=cdr[field].clone()}}end=i;expressions.length=end+1}});AST_Unary.DEFMETHOD("lift_sequences",function(compressor){if(compressor.option("sequences")){if(this.expression instanceof AST_Sequence){var x=this.expression.expressions.slice();var e=this.clone();e.expression=x.pop();x.push(e);return make_sequence(this,x).optimize(compressor)}}return this});OPT(AST_UnaryPostfix,function(self,compressor){return self.lift_sequences(compressor)});OPT(AST_UnaryPrefix,function(self,compressor){var e=self.expression;if(self.operator=="delete"&&!(e instanceof AST_SymbolRef||e instanceof AST_PropAccess||e instanceof AST_NaN||e instanceof AST_Infinity||e instanceof AST_Undefined)){if(e instanceof AST_Sequence){e=e.expressions.slice();e.push(make_node(AST_True,self));return make_sequence(self,e).optimize(compressor)}return make_sequence(self,[e,make_node(AST_True,self)]).optimize(compressor)}var seq=self.lift_sequences(compressor);if(seq!==self){return seq}if(compressor.option("side_effects")&&self.operator=="void"){e=e.drop_side_effect_free(compressor);if(e){self.expression=e;return self}else{return make_node(AST_Undefined,self).optimize(compressor)}}if(compressor.option("booleans")&&compressor.in_boolean_context()){switch(self.operator){case"!":if(e instanceof AST_UnaryPrefix&&e.operator=="!"){return e.expression}if(e instanceof AST_Binary){self=best_of(compressor,self,e.negate(compressor,first_in_statement(compressor)))}break;case"typeof":compressor.warn("Boolean expression always true [{file}:{line},{col}]",self.start);return(e instanceof AST_SymbolRef?make_node(AST_True,self):make_sequence(self,[e,make_node(AST_True,self)])).optimize(compressor)}}if(self.operator=="-"&&e instanceof AST_Infinity){e=e.transform(compressor)}if(e instanceof AST_Binary&&(self.operator=="+"||self.operator=="-")&&(e.operator=="*"||e.operator=="/"||e.operator=="%")){return make_node(AST_Binary,self,{operator:e.operator,left:make_node(AST_UnaryPrefix,e.left,{operator:self.operator,expression:e.left}),right:e.right})}if(self.operator!="-"||!(e instanceof AST_Number||e instanceof AST_Infinity)){var ev=self.evaluate(compressor);if(ev!==self){ev=make_node_from_constant(ev,self).optimize(compressor);return best_of(compressor,ev,self)}}return self});AST_Binary.DEFMETHOD("lift_sequences",function(compressor){if(compressor.option("sequences")){if(this.left instanceof AST_Sequence){var x=this.left.expressions.slice();var e=this.clone();e.left=x.pop();x.push(e);return make_sequence(this,x).optimize(compressor)}if(this.right instanceof AST_Sequence&&!this.left.has_side_effects(compressor)){var assign=this.operator=="="&&this.left instanceof AST_SymbolRef;var x=this.right.expressions;var last=x.length-1;for(var i=0;i<last;i++){if(!assign&&x[i].has_side_effects(compressor))break}if(i==last){x=x.slice();var e=this.clone();e.right=x.pop();x.push(e);return make_sequence(this,x).optimize(compressor)}else if(i>0){var e=this.clone();e.right=make_sequence(this.right,x.slice(i));x=x.slice(0,i);x.push(e);return make_sequence(this,x).optimize(compressor)}}}return this});var commutativeOperators=makePredicate("== === != !== * & | ^");OPT(AST_Binary,function(self,compressor){function reversible(){return self.left.is_constant()||self.right.is_constant()||!self.left.has_side_effects(compressor)&&!self.right.has_side_effects(compressor)}function reverse(op){if(reversible()){if(op)self.operator=op;var tmp=self.left;self.left=self.right;self.right=tmp}}if(commutativeOperators(self.operator)){if(self.right.is_constant()&&!self.left.is_constant()){if(!(self.left instanceof AST_Binary&&PRECEDENCE[self.left.operator]>=PRECEDENCE[self.operator])){reverse()}}}self=self.lift_sequences(compressor);if(compressor.option("comparisons"))switch(self.operator){case"===":case"!==":if(self.left.is_string(compressor)&&self.right.is_string(compressor)||self.left.is_number(compressor)&&self.right.is_number(compressor)||self.left.is_boolean()&&self.right.is_boolean()){self.operator=self.operator.substr(0,2)}case"==":case"!=":if(compressor.option("typeofs")&&self.left instanceof AST_String&&self.left.value=="undefined"&&self.right instanceof AST_UnaryPrefix&&self.right.operator=="typeof"){var expr=self.right.expression;if(expr instanceof AST_SymbolRef?expr.is_declared(compressor):!(expr instanceof AST_PropAccess&&compressor.option("ie8"))){self.right=expr;self.left=make_node(AST_Undefined,self.left).optimize(compressor);if(self.operator.length==2)self.operator+="="}}break}if(compressor.option("booleans")&&self.operator=="+"&&compressor.in_boolean_context()){var ll=self.left.evaluate(compressor);var rr=self.right.evaluate(compressor);if(ll&&typeof ll=="string"){compressor.warn("+ in boolean context always true [{file}:{line},{col}]",self.start);return make_sequence(self,[self.right,make_node(AST_True,self)]).optimize(compressor)}if(rr&&typeof rr=="string"){compressor.warn("+ in boolean context always true [{file}:{line},{col}]",self.start);return make_sequence(self,[self.left,make_node(AST_True,self)]).optimize(compressor)}}if(compressor.option("comparisons")&&self.is_boolean()){if(!(compressor.parent()instanceof AST_Binary)||compressor.parent()instanceof AST_Assign){var negated=make_node(AST_UnaryPrefix,self,{operator:"!",expression:self.negate(compressor,first_in_statement(compressor))});self=best_of(compressor,self,negated)}if(compressor.option("unsafe_comps")){switch(self.operator){case"<":reverse(">");break;case"<=":reverse(">=");break}}}if(self.operator=="+"){if(self.right instanceof AST_String&&self.right.getValue()==""&&self.left.is_string(compressor)){return self.left}if(self.left instanceof AST_String&&self.left.getValue()==""&&self.right.is_string(compressor)){return self.right}if(self.left instanceof AST_Binary&&self.left.operator=="+"&&self.left.left instanceof AST_String&&self.left.left.getValue()==""&&self.right.is_string(compressor)){self.left=self.left.right;return self.transform(compressor)}}if(compressor.option("evaluate")){switch(self.operator){case"&&":var ll=self.left.evaluate(compressor);if(!ll){compressor.warn("Condition left of && always false [{file}:{line},{col}]",self.start);return maintain_this_binding(compressor.parent(),self,self.left).optimize(compressor)}else if(ll!==self.left){compressor.warn("Condition left of && always true [{file}:{line},{col}]",self.start);return maintain_this_binding(compressor.parent(),self,self.right).optimize(compressor)}if(compressor.option("booleans")&&compressor.in_boolean_context()){var rr=self.right.evaluate(compressor);if(!rr){compressor.warn("Boolean && always false [{file}:{line},{col}]",self.start);return make_sequence(self,[self.left,make_node(AST_False,self)]).optimize(compressor)}else if(rr!==self.right){compressor.warn("Dropping side-effect-free && in boolean context [{file}:{line},{col}]",self.start);return self.left.optimize(compressor)}}break;case"||":var ll=self.left.evaluate(compressor);if(!ll){compressor.warn("Condition left of || always false [{file}:{line},{col}]",self.start);return maintain_this_binding(compressor.parent(),self,self.right).optimize(compressor)}else if(ll!==self.left){compressor.warn("Condition left of || always true [{file}:{line},{col}]",self.start);return maintain_this_binding(compressor.parent(),self,self.left).optimize(compressor)}if(compressor.option("booleans")&&compressor.in_boolean_context()){var rr=self.right.evaluate(compressor);if(!rr){compressor.warn("Dropping side-effect-free || in boolean context [{file}:{line},{col}]",self.start);return self.left.optimize(compressor)}else if(rr!==self.right){compressor.warn("Boolean || always true [{file}:{line},{col}]",self.start);return make_sequence(self,[self.left,make_node(AST_True,self)]).optimize(compressor)}}break}var associative=true;switch(self.operator){case"+":if(self.left instanceof AST_Constant&&self.right instanceof AST_Binary&&self.right.operator=="+"&&self.right.left instanceof AST_Constant&&self.right.is_string(compressor)){self=make_node(AST_Binary,self,{operator:"+",left:make_node(AST_String,self.left,{value:""+self.left.getValue()+self.right.left.getValue(),start:self.left.start,end:self.right.left.end}),right:self.right.right})}if(self.right instanceof AST_Constant&&self.left instanceof AST_Binary&&self.left.operator=="+"&&self.left.right instanceof AST_Constant&&self.left.is_string(compressor)){self=make_node(AST_Binary,self,{operator:"+",left:self.left.left,right:make_node(AST_String,self.right,{value:""+self.left.right.getValue()+self.right.getValue(),start:self.left.right.start,end:self.right.end})})}if(self.left instanceof AST_Binary&&self.left.operator=="+"&&self.left.is_string(compressor)&&self.left.right instanceof AST_Constant&&self.right instanceof AST_Binary&&self.right.operator=="+"&&self.right.left instanceof AST_Constant&&self.right.is_string(compressor)){self=make_node(AST_Binary,self,{operator:"+",left:make_node(AST_Binary,self.left,{operator:"+",left:self.left.left,right:make_node(AST_String,self.left.right,{value:""+self.left.right.getValue()+self.right.left.getValue(),start:self.left.right.start,end:self.right.left.end})}),right:self.right.right})}if(self.right instanceof AST_UnaryPrefix&&self.right.operator=="-"&&self.left.is_number(compressor)){self=make_node(AST_Binary,self,{operator:"-",left:self.left,right:self.right.expression});break}if(self.left instanceof AST_UnaryPrefix&&self.left.operator=="-"&&reversible()&&self.right.is_number(compressor)){self=make_node(AST_Binary,self,{operator:"-",left:self.right,right:self.left.expression});break}case"*":associative=compressor.option("unsafe_math");case"&":case"|":case"^":if(self.left.is_number(compressor)&&self.right.is_number(compressor)&&reversible()&&!(self.left instanceof AST_Binary&&self.left.operator!=self.operator&&PRECEDENCE[self.left.operator]>=PRECEDENCE[self.operator])){var reversed=make_node(AST_Binary,self,{operator:self.operator,left:self.right,right:self.left});if(self.right instanceof AST_Constant&&!(self.left instanceof AST_Constant)){self=best_of(compressor,reversed,self)}else{self=best_of(compressor,self,reversed)}}if(associative&&self.is_number(compressor)){if(self.right instanceof AST_Binary&&self.right.operator==self.operator){self=make_node(AST_Binary,self,{operator:self.operator,left:make_node(AST_Binary,self.left,{operator:self.operator,left:self.left,right:self.right.left,start:self.left.start,end:self.right.left.end}),right:self.right.right})}if(self.right instanceof AST_Constant&&self.left instanceof AST_Binary&&self.left.operator==self.operator){if(self.left.left instanceof AST_Constant){self=make_node(AST_Binary,self,{operator:self.operator,left:make_node(AST_Binary,self.left,{operator:self.operator,left:self.left.left,right:self.right,start:self.left.left.start,end:self.right.end}),right:self.left.right})}else if(self.left.right instanceof AST_Constant){self=make_node(AST_Binary,self,{operator:self.operator,left:make_node(AST_Binary,self.left,{operator:self.operator,left:self.left.right,right:self.right,start:self.left.right.start,end:self.right.end}),right:self.left.left})}}if(self.left instanceof AST_Binary&&self.left.operator==self.operator&&self.left.right instanceof AST_Constant&&self.right instanceof AST_Binary&&self.right.operator==self.operator&&self.right.left instanceof AST_Constant){self=make_node(AST_Binary,self,{operator:self.operator,left:make_node(AST_Binary,self.left,{operator:self.operator,left:make_node(AST_Binary,self.left.left,{operator:self.operator,left:self.left.right,right:self.right.left,start:self.left.right.start,end:self.right.left.end}),right:self.left.left}),right:self.right.right})}}}}if(self.right instanceof AST_Binary&&self.right.operator==self.operator&&(self.operator=="&&"||self.operator=="||"||self.operator=="+"&&(self.right.left.is_string(compressor)||self.left.is_string(compressor)&&self.right.right.is_string(compressor)))){self.left=make_node(AST_Binary,self.left,{operator:self.operator,left:self.left,right:self.right.left});self.right=self.right.right;return self.transform(compressor)}var ev=self.evaluate(compressor);if(ev!==self){ev=make_node_from_constant(ev,self).optimize(compressor);return best_of(compressor,ev,self)}return self});OPT(AST_SymbolRef,function(self,compressor){var def=self.resolve_defines(compressor);if(def){return def.optimize(compressor)}if(!compressor.option("ie8")&&is_undeclared_ref(self)&&(!self.scope.uses_with||!compressor.find_parent(AST_With))){switch(self.name){case"undefined":return make_node(AST_Undefined,self).optimize(compressor);case"NaN":return make_node(AST_NaN,self).optimize(compressor);case"Infinity":return make_node(AST_Infinity,self).optimize(compressor)}}if(compressor.option("reduce_vars")&&is_lhs(self,compressor.parent())!==self){var d=self.definition();var fixed=self.fixed_value();if(fixed instanceof AST_Defun){d.fixed=fixed=make_node(AST_Function,fixed,fixed)}if(compressor.option("unused")&&fixed instanceof AST_Function&&d.references.length==1&&!(d.scope.uses_arguments&&d.orig[0]instanceof AST_SymbolFunarg)&&!d.scope.uses_eval&&compressor.find_parent(AST_Scope)===fixed.parent_scope){return fixed.clone(true)}if(compressor.option("evaluate")&&fixed){if(d.should_replace===undefined){var init=fixed.evaluate(compressor);if(init!==fixed&&(compressor.option("unsafe_regexp")||!(init instanceof RegExp))){init=make_node_from_constant(init,fixed);var value_length=init.optimize(compressor).print_to_string().length;var fn;if(has_symbol_ref(fixed)){fn=function(){var result=init.optimize(compressor);return result===init?result.clone(true):result}}else{value_length=Math.min(value_length,fixed.print_to_string().length);fn=function(){var result=best_of_expression(init.optimize(compressor),fixed);return result===init||result===fixed?result.clone(true):result}}var name_length=d.name.length;var overhead=0;if(compressor.option("unused")&&!compressor.exposed(d)){overhead=(name_length+2+value_length)/d.references.length}d.should_replace=value_length<=name_length+overhead?fn:false}else{d.should_replace=false}}if(d.should_replace){return d.should_replace()}}}return self;function has_symbol_ref(value){var found;value.walk(new TreeWalker(function(node){if(node instanceof AST_SymbolRef)found=true;if(found)return true}));return found}});function is_atomic(lhs,self){return lhs instanceof AST_SymbolRef||lhs.TYPE===self.TYPE}OPT(AST_Undefined,function(self,compressor){if(compressor.option("unsafe")){var undef=find_variable(compressor,"undefined");if(undef){var ref=make_node(AST_SymbolRef,self,{name:"undefined",scope:undef.scope,thedef:undef});ref.is_undefined=true;return ref}}var lhs=is_lhs(compressor.self(),compressor.parent());if(lhs&&is_atomic(lhs,self))return self;return make_node(AST_UnaryPrefix,self,{operator:"void",expression:make_node(AST_Number,self,{value:0})})});OPT(AST_Infinity,function(self,compressor){var lhs=is_lhs(compressor.self(),compressor.parent());if(lhs&&is_atomic(lhs,self))return self;if(compressor.option("keep_infinity")&&!(lhs&&!is_atomic(lhs,self))&&!find_variable(compressor,"Infinity"))return self;return make_node(AST_Binary,self,{operator:"/",left:make_node(AST_Number,self,{value:1}),right:make_node(AST_Number,self,{value:0})})});OPT(AST_NaN,function(self,compressor){var lhs=is_lhs(compressor.self(),compressor.parent());if(lhs&&!is_atomic(lhs,self)||find_variable(compressor,"NaN")){return make_node(AST_Binary,self,{operator:"/",left:make_node(AST_Number,self,{value:0}),right:make_node(AST_Number,self,{value:0})})}return self});var ASSIGN_OPS=["+","-","/","*","%",">>","<<",">>>","|","^","&"];var ASSIGN_OPS_COMMUTATIVE=["*","|","^","&"];OPT(AST_Assign,function(self,compressor){self=self.lift_sequences(compressor);if(self.operator=="="&&self.left instanceof AST_SymbolRef&&self.right instanceof AST_Binary){if(self.right.left instanceof AST_SymbolRef&&self.right.left.name==self.left.name&&member(self.right.operator,ASSIGN_OPS)){self.operator=self.right.operator+"=";self.right=self.right.right}else if(self.right.right instanceof AST_SymbolRef&&self.right.right.name==self.left.name&&member(self.right.operator,ASSIGN_OPS_COMMUTATIVE)&&!self.right.left.has_side_effects(compressor)){self.operator=self.right.operator+"=";self.right=self.right.left}}return self});OPT(AST_Conditional,function(self,compressor){if(!compressor.option("conditionals"))return self;if(self.condition instanceof AST_Sequence){var expressions=self.condition.expressions.slice();self.condition=expressions.pop();expressions.push(self);return make_sequence(self,expressions)}var cond=self.condition.evaluate(compressor);if(cond!==self.condition){if(cond){compressor.warn("Condition always true [{file}:{line},{col}]",self.start);return maintain_this_binding(compressor.parent(),self,self.consequent)}else{compressor.warn("Condition always false [{file}:{line},{col}]",self.start);return maintain_this_binding(compressor.parent(),self,self.alternative)}}var negated=cond.negate(compressor,first_in_statement(compressor));if(best_of(compressor,cond,negated)===negated){self=make_node(AST_Conditional,self,{condition:negated,consequent:self.alternative,alternative:self.consequent})}var condition=self.condition;var consequent=self.consequent;var alternative=self.alternative;if(condition instanceof AST_SymbolRef&&consequent instanceof AST_SymbolRef&&condition.definition()===consequent.definition()){return make_node(AST_Binary,self,{operator:"||",left:condition,right:alternative})}if(consequent instanceof AST_Assign&&alternative instanceof AST_Assign&&consequent.operator==alternative.operator&&consequent.left.equivalent_to(alternative.left)&&(!self.condition.has_side_effects(compressor)||consequent.operator=="="&&!consequent.left.has_side_effects(compressor))){return make_node(AST_Assign,self,{operator:consequent.operator,left:consequent.left,right:make_node(AST_Conditional,self,{condition:self.condition,consequent:consequent.right,alternative:alternative.right})})}if(consequent instanceof AST_Call&&alternative.TYPE===consequent.TYPE&&consequent.args.length==1&&alternative.args.length==1&&consequent.expression.equivalent_to(alternative.expression)&&!consequent.expression.has_side_effects(compressor)){consequent.args[0]=make_node(AST_Conditional,self,{condition:self.condition,consequent:consequent.args[0],alternative:alternative.args[0]});return consequent}if(consequent instanceof AST_Conditional&&consequent.alternative.equivalent_to(alternative)){return make_node(AST_Conditional,self,{condition:make_node(AST_Binary,self,{left:self.condition,operator:"&&",right:consequent.condition}),consequent:consequent.consequent,alternative:alternative})}if(consequent.equivalent_to(alternative)){return make_sequence(self,[self.condition,consequent]).optimize(compressor)}if(is_true(self.consequent)){if(is_false(self.alternative)){return booleanize(self.condition)}return make_node(AST_Binary,self,{operator:"||",left:booleanize(self.condition),right:self.alternative})}if(is_false(self.consequent)){if(is_true(self.alternative)){return booleanize(self.condition.negate(compressor))}return make_node(AST_Binary,self,{operator:"&&",left:booleanize(self.condition.negate(compressor)),right:self.alternative})}if(is_true(self.alternative)){return make_node(AST_Binary,self,{operator:"||",left:booleanize(self.condition.negate(compressor)),right:self.consequent})}if(is_false(self.alternative)){return make_node(AST_Binary,self,{operator:"&&",left:booleanize(self.condition),right:self.consequent})}return self;function booleanize(node){if(node.is_boolean())return node;return make_node(AST_UnaryPrefix,node,{operator:"!",expression:node.negate(compressor)})}function is_true(node){return node instanceof AST_True||node instanceof AST_UnaryPrefix&&node.operator=="!"&&node.expression instanceof AST_Constant&&!node.expression.value}function is_false(node){return node instanceof AST_False||node instanceof AST_UnaryPrefix&&node.operator=="!"&&node.expression instanceof AST_Constant&&!!node.expression.value}});OPT(AST_Boolean,function(self,compressor){if(compressor.option("booleans")){var p=compressor.parent();if(p instanceof AST_Binary&&(p.operator=="=="||p.operator=="!=")){compressor.warn("Non-strict equality against boolean: {operator} {value} [{file}:{line},{col}]",{operator:p.operator,value:self.value,file:p.start.file,line:p.start.line,col:p.start.col});return make_node(AST_Number,self,{value:+self.value})}return make_node(AST_UnaryPrefix,self,{operator:"!",expression:make_node(AST_Number,self,{value:1-self.value})})}return self});OPT(AST_Sub,function(self,compressor){var prop=self.property;if(prop instanceof AST_String&&compressor.option("properties")){prop=prop.getValue();if(is_identifier_string(prop)){return make_node(AST_Dot,self,{expression:self.expression,property:prop}).optimize(compressor)}var v=parseFloat(prop);if(!isNaN(v)&&v.toString()==prop){self.property=make_node(AST_Number,self.property,{value:v})}}var ev=self.evaluate(compressor);if(ev!==self){ev=make_node_from_constant(ev,self).optimize(compressor);return best_of(compressor,ev,self)}return self});AST_Lambda.DEFMETHOD("contains_this",function(){var result;var self=this;self.walk(new TreeWalker(function(node){if(result)return true;if(node instanceof AST_This)return result=true;if(node!==self&&node instanceof AST_Scope)return true}));return result});OPT(AST_Dot,function(self,compressor){var def=self.resolve_defines(compressor);if(def){return def.optimize(compressor)}if(compressor.option("unsafe")&&self.expression instanceof AST_Object){var values=self.expression.properties;for(var i=values.length;--i>=0;){if(values[i].key===self.property){var value=values[i].value;if(value instanceof AST_Function?!value.contains_this():!value.has_side_effects(compressor)){var obj=self.expression.clone();obj.properties=obj.properties.slice();obj.properties.splice(i,1);return make_sequence(self,[obj,value]).optimize(compressor)}}}}if(compressor.option("unsafe_proto")&&self.expression instanceof AST_Dot&&self.expression.property=="prototype"){var exp=self.expression.expression;if(is_undeclared_ref(exp))switch(exp.name){case"Array":self.expression=make_node(AST_Array,self.expression,{elements:[]});break;case"Object":self.expression=make_node(AST_Object,self.expression,{properties:[]});break;case"String":self.expression=make_node(AST_String,self.expression,{value:""});break}}var ev=self.evaluate(compressor);if(ev!==self){ev=make_node_from_constant(ev,self).optimize(compressor);return best_of(compressor,ev,self)}return self});function literals_in_boolean_context(self,compressor){if(compressor.option("booleans")&&compressor.in_boolean_context()){return best_of(compressor,self,make_sequence(self,[self,make_node(AST_True,self)]).optimize(compressor))}return self}OPT(AST_Array,literals_in_boolean_context);OPT(AST_Object,literals_in_boolean_context);OPT(AST_RegExp,literals_in_boolean_context);OPT(AST_Return,function(self,compressor){if(self.value&&is_undefined(self.value,compressor)){self.value=null}return self});OPT(AST_VarDef,function(self,compressor){var defines=compressor.option("global_defs");if(defines&&HOP(defines,self.name.name)){compressor.warn("global_defs "+self.name.name+" redefined [{file}:{line},{col}]",self.start)}return self})})();"use strict";function SourceMap(options){options=defaults(options,{file:null,root:null,orig:null,orig_line_diff:0,dest_line_diff:0});var generator=new MOZ_SourceMap.SourceMapGenerator({file:options.file,sourceRoot:options.root});var orig_map=options.orig&&new MOZ_SourceMap.SourceMapConsumer(options.orig);if(orig_map&&Array.isArray(options.orig.sources)){orig_map._sources.toArray().forEach(function(source){var sourceContent=orig_map.sourceContentFor(source,true);if(sourceContent){generator.setSourceContent(source,sourceContent)}})}function add(source,gen_line,gen_col,orig_line,orig_col,name){if(orig_map){var info=orig_map.originalPositionFor({line:orig_line,column:orig_col});if(info.source===null){return}source=info.source;orig_line=info.line;orig_col=info.column;name=info.name||name}generator.addMapping({generated:{line:gen_line+options.dest_line_diff,column:gen_col},original:{line:orig_line+options.orig_line_diff,column:orig_col},source:source,name:name})}return{add:add,get:function(){return generator},toString:function(){return JSON.stringify(generator.toJSON())}}}"use strict";(function(){var normalize_directives=function(body){var in_directive=true;for(var i=0;i<body.length;i++){if(in_directive&&body[i]instanceof AST_Statement&&body[i].body instanceof AST_String){body[i]=new AST_Directive({start:body[i].start,end:body[i].end,value:body[i].body.value})}else if(in_directive&&!(body[i]instanceof AST_Statement&&body[i].body instanceof AST_String)){in_directive=false}}return body};var MOZ_TO_ME={Program:function(M){return new AST_Toplevel({start:my_start_token(M),end:my_end_token(M),body:normalize_directives(M.body.map(from_moz))})},FunctionDeclaration:function(M){return new AST_Defun({start:my_start_token(M),end:my_end_token(M),name:from_moz(M.id),argnames:M.params.map(from_moz),body:normalize_directives(from_moz(M.body).body)})},FunctionExpression:function(M){return new AST_Function({start:my_start_token(M),end:my_end_token(M),name:from_moz(M.id),argnames:M.params.map(from_moz),body:normalize_directives(from_moz(M.body).body)})},ExpressionStatement:function(M){return new AST_SimpleStatement({start:my_start_token(M),end:my_end_token(M),body:from_moz(M.expression)})},TryStatement:function(M){var handlers=M.handlers||[M.handler];if(handlers.length>1||M.guardedHandlers&&M.guardedHandlers.length){throw new Error("Multiple catch clauses are not supported.")}return new AST_Try({start:my_start_token(M),end:my_end_token(M),body:from_moz(M.block).body,bcatch:from_moz(handlers[0]),bfinally:M.finalizer?new AST_Finally(from_moz(M.finalizer)):null})},Property:function(M){var key=M.key;var args={start:my_start_token(key),end:my_end_token(M.value),key:key.type=="Identifier"?key.name:key.value,value:from_moz(M.value)};if(M.kind=="init")return new AST_ObjectKeyVal(args);args.key=new AST_SymbolAccessor({name:args.key});args.value=new AST_Accessor(args.value);if(M.kind=="get")return new AST_ObjectGetter(args);if(M.kind=="set")return new AST_ObjectSetter(args)},ArrayExpression:function(M){return new AST_Array({start:my_start_token(M),end:my_end_token(M),elements:M.elements.map(function(elem){return elem===null?new AST_Hole:from_moz(elem)})})},ObjectExpression:function(M){return new AST_Object({start:my_start_token(M),end:my_end_token(M),properties:M.properties.map(function(prop){prop.type="Property";return from_moz(prop)})})},SequenceExpression:function(M){return new AST_Sequence({start:my_start_token(M),end:my_end_token(M),expressions:M.expressions.map(from_moz)})},MemberExpression:function(M){return new(M.computed?AST_Sub:AST_Dot)({start:my_start_token(M),end:my_end_token(M),property:M.computed?from_moz(M.property):M.property.name,expression:from_moz(M.object)})},SwitchCase:function(M){return new(M.test?AST_Case:AST_Default)({start:my_start_token(M),end:my_end_token(M),expression:from_moz(M.test),body:M.consequent.map(from_moz)})},VariableDeclaration:function(M){return new AST_Var({start:my_start_token(M),end:my_end_token(M),definitions:M.declarations.map(from_moz)})},Literal:function(M){var val=M.value,args={start:my_start_token(M),end:my_end_token(M)};if(val===null)return new AST_Null(args);switch(typeof val){case"string":args.value=val;return new AST_String(args);case"number":args.value=val;return new AST_Number(args);case"boolean":return new(val?AST_True:AST_False)(args);default:var rx=M.regex;if(rx&&rx.pattern){args.value=new RegExp(rx.pattern,rx.flags).toString()}else{args.value=M.regex&&M.raw?M.raw:val}return new AST_RegExp(args)}},Identifier:function(M){var p=FROM_MOZ_STACK[FROM_MOZ_STACK.length-2];return new(p.type=="LabeledStatement"?AST_Label:p.type=="VariableDeclarator"&&p.id===M?AST_SymbolVar:p.type=="FunctionExpression"?p.id===M?AST_SymbolLambda:AST_SymbolFunarg:p.type=="FunctionDeclaration"?p.id===M?AST_SymbolDefun:AST_SymbolFunarg:p.type=="CatchClause"?AST_SymbolCatch:p.type=="BreakStatement"||p.type=="ContinueStatement"?AST_LabelRef:AST_SymbolRef)({start:my_start_token(M),end:my_end_token(M),name:M.name})}};MOZ_TO_ME.UpdateExpression=MOZ_TO_ME.UnaryExpression=function To_Moz_Unary(M){var prefix="prefix"in M?M.prefix:M.type=="UnaryExpression"?true:false;return new(prefix?AST_UnaryPrefix:AST_UnaryPostfix)({start:my_start_token(M),end:my_end_token(M),operator:M.operator,expression:from_moz(M.argument)})};map("EmptyStatement",AST_EmptyStatement);map("BlockStatement",AST_BlockStatement,"body@body");map("IfStatement",AST_If,"test>condition, consequent>body, alternate>alternative");map("LabeledStatement",AST_LabeledStatement,"label>label, body>body");map("BreakStatement",AST_Break,"label>label");map("ContinueStatement",AST_Continue,"label>label");map("WithStatement",AST_With,"object>expression, body>body");map("SwitchStatement",AST_Switch,"discriminant>expression, cases@body");map("ReturnStatement",AST_Return,"argument>value");map("ThrowStatement",AST_Throw,"argument>value");map("WhileStatement",AST_While,"test>condition, body>body");map("DoWhileStatement",AST_Do,"test>condition, body>body");map("ForStatement",AST_For,"init>init, test>condition, update>step, body>body");map("ForInStatement",AST_ForIn,"left>init, right>object, body>body");map("DebuggerStatement",AST_Debugger);map("VariableDeclarator",AST_VarDef,"id>name, init>value");map("CatchClause",AST_Catch,"param>argname, body%body");map("ThisExpression",AST_This);map("BinaryExpression",AST_Binary,"operator=operator, left>left, right>right");map("LogicalExpression",AST_Binary,"operator=operator, left>left, right>right");map("AssignmentExpression",AST_Assign,"operator=operator, left>left, right>right");map("ConditionalExpression",AST_Conditional,"test>condition, consequent>consequent, alternate>alternative");map("NewExpression",AST_New,"callee>expression, arguments@args");map("CallExpression",AST_Call,"callee>expression, arguments@args");def_to_moz(AST_Toplevel,function To_Moz_Program(M){return to_moz_scope("Program",M)});def_to_moz(AST_Defun,function To_Moz_FunctionDeclaration(M){return{type:"FunctionDeclaration",id:to_moz(M.name),params:M.argnames.map(to_moz),body:to_moz_scope("BlockStatement",M)}});def_to_moz(AST_Function,function To_Moz_FunctionExpression(M){return{type:"FunctionExpression",id:to_moz(M.name),params:M.argnames.map(to_moz),body:to_moz_scope("BlockStatement",M)}});def_to_moz(AST_Directive,function To_Moz_Directive(M){return{type:"ExpressionStatement",expression:{type:"Literal",value:M.value}}});def_to_moz(AST_SimpleStatement,function To_Moz_ExpressionStatement(M){return{type:"ExpressionStatement",expression:to_moz(M.body)}});def_to_moz(AST_SwitchBranch,function To_Moz_SwitchCase(M){return{type:"SwitchCase",test:to_moz(M.expression),consequent:M.body.map(to_moz)}});def_to_moz(AST_Try,function To_Moz_TryStatement(M){return{type:"TryStatement",block:to_moz_block(M),handler:to_moz(M.bcatch),guardedHandlers:[],finalizer:to_moz(M.bfinally)}});def_to_moz(AST_Catch,function To_Moz_CatchClause(M){return{type:"CatchClause",param:to_moz(M.argname),guard:null,body:to_moz_block(M)}});def_to_moz(AST_Definitions,function To_Moz_VariableDeclaration(M){return{type:"VariableDeclaration",kind:"var",declarations:M.definitions.map(to_moz)}});def_to_moz(AST_Sequence,function To_Moz_SequenceExpression(M){return{type:"SequenceExpression",expressions:M.expressions.map(to_moz)}});def_to_moz(AST_PropAccess,function To_Moz_MemberExpression(M){var isComputed=M instanceof AST_Sub;return{type:"MemberExpression",object:to_moz(M.expression),computed:isComputed,property:isComputed?to_moz(M.property):{type:"Identifier",name:M.property}}});def_to_moz(AST_Unary,function To_Moz_Unary(M){return{type:M.operator=="++"||M.operator=="--"?"UpdateExpression":"UnaryExpression",operator:M.operator,prefix:M instanceof AST_UnaryPrefix,argument:to_moz(M.expression)}});def_to_moz(AST_Binary,function To_Moz_BinaryExpression(M){return{type:M.operator=="&&"||M.operator=="||"?"LogicalExpression":"BinaryExpression",left:to_moz(M.left),operator:M.operator,right:to_moz(M.right)}});def_to_moz(AST_Array,function To_Moz_ArrayExpression(M){return{type:"ArrayExpression",elements:M.elements.map(to_moz)}});def_to_moz(AST_Object,function To_Moz_ObjectExpression(M){return{type:"ObjectExpression",properties:M.properties.map(to_moz)}});def_to_moz(AST_ObjectProperty,function To_Moz_Property(M){var key={type:"Literal",value:M.key instanceof AST_SymbolAccessor?M.key.name:M.key};var kind;if(M instanceof AST_ObjectKeyVal){kind="init"}else if(M instanceof AST_ObjectGetter){kind="get"}else if(M instanceof AST_ObjectSetter){kind="set"}return{type:"Property",kind:kind,key:key,value:to_moz(M.value)}});def_to_moz(AST_Symbol,function To_Moz_Identifier(M){var def=M.definition();return{type:"Identifier",name:def?def.mangled_name||def.name:M.name}});def_to_moz(AST_RegExp,function To_Moz_RegExpLiteral(M){var value=M.value;return{type:"Literal",value:value,raw:value.toString(),regex:{pattern:value.source,flags:value.toString().match(/[gimuy]*$/)[0]}}});def_to_moz(AST_Constant,function To_Moz_Literal(M){var value=M.value;if(typeof value==="number"&&(value<0||value===0&&1/value<0)){return{type:"UnaryExpression",operator:"-",prefix:true,argument:{type:"Literal",value:-value,raw:M.start.raw}}}return{type:"Literal",value:value,raw:M.start.raw}});def_to_moz(AST_Atom,function To_Moz_Atom(M){return{type:"Identifier",name:String(M.value)}});AST_Boolean.DEFMETHOD("to_mozilla_ast",AST_Constant.prototype.to_mozilla_ast);AST_Null.DEFMETHOD("to_mozilla_ast",AST_Constant.prototype.to_mozilla_ast);AST_Hole.DEFMETHOD("to_mozilla_ast",function To_Moz_ArrayHole(){return null});AST_Block.DEFMETHOD("to_mozilla_ast",AST_BlockStatement.prototype.to_mozilla_ast);AST_Lambda.DEFMETHOD("to_mozilla_ast",AST_Function.prototype.to_mozilla_ast);function raw_token(moznode){if(moznode.type=="Literal"){return moznode.raw!=null?moznode.raw:moznode.value+""}}function my_start_token(moznode){var loc=moznode.loc,start=loc&&loc.start;var range=moznode.range;return new AST_Token({file:loc&&loc.source,line:start&&start.line,col:start&&start.column,pos:range?range[0]:moznode.start,endline:start&&start.line,endcol:start&&start.column,endpos:range?range[0]:moznode.start,raw:raw_token(moznode)})}function my_end_token(moznode){var loc=moznode.loc,end=loc&&loc.end;var range=moznode.range;return new AST_Token({file:loc&&loc.source,line:end&&end.line,col:end&&end.column,pos:range?range[1]:moznode.end,endline:end&&end.line,endcol:end&&end.column,endpos:range?range[1]:moznode.end,raw:raw_token(moznode)})}function map(moztype,mytype,propmap){var moz_to_me="function From_Moz_"+moztype+"(M){\n";moz_to_me+="return new U2."+mytype.name+"({\n"+"start: my_start_token(M),\n"+"end: my_end_token(M)";var me_to_moz="function To_Moz_"+moztype+"(M){\n";me_to_moz+="return {\n"+"type: "+JSON.stringify(moztype);if(propmap)propmap.split(/\s*,\s*/).forEach(function(prop){var m=/([a-z0-9$_]+)(=|@|>|%)([a-z0-9$_]+)/i.exec(prop);if(!m)throw new Error("Can't understand property map: "+prop);var moz=m[1],how=m[2],my=m[3];moz_to_me+=",\n"+my+": ";me_to_moz+=",\n"+moz+": ";switch(how){case"@":moz_to_me+="M."+moz+".map(from_moz)";me_to_moz+="M."+my+".map(to_moz)";break;case">":moz_to_me+="from_moz(M."+moz+")";me_to_moz+="to_moz(M."+my+")";break;case"=":moz_to_me+="M."+moz;me_to_moz+="M."+my;break;case"%":moz_to_me+="from_moz(M."+moz+").body";me_to_moz+="to_moz_block(M)";break;default:throw new Error("Can't understand operator in propmap: "+prop)}});moz_to_me+="\n})\n}";me_to_moz+="\n}\n}";moz_to_me=new Function("U2","my_start_token","my_end_token","from_moz","return("+moz_to_me+")")(exports,my_start_token,my_end_token,from_moz);me_to_moz=new Function("to_moz","to_moz_block","to_moz_scope","return("+me_to_moz+")")(to_moz,to_moz_block,to_moz_scope);MOZ_TO_ME[moztype]=moz_to_me;def_to_moz(mytype,me_to_moz)}var FROM_MOZ_STACK=null;function from_moz(node){FROM_MOZ_STACK.push(node);var ret=node!=null?MOZ_TO_ME[node.type](node):null;FROM_MOZ_STACK.pop();return ret}AST_Node.from_mozilla_ast=function(node){var save_stack=FROM_MOZ_STACK;FROM_MOZ_STACK=[];var ast=from_moz(node);FROM_MOZ_STACK=save_stack;return ast};function set_moz_loc(mynode,moznode,myparent){var start=mynode.start;var end=mynode.end;if(start.pos!=null&&end.endpos!=null){moznode.range=[start.pos,end.endpos]}if(start.line){moznode.loc={start:{line:start.line,column:start.col},end:end.endline?{line:end.endline,column:end.endcol}:null};if(start.file){moznode.loc.source=start.file}}return moznode}function def_to_moz(mytype,handler){mytype.DEFMETHOD("to_mozilla_ast",function(){return set_moz_loc(this,handler(this))})}function to_moz(node){return node!=null?node.to_mozilla_ast():null}function to_moz_block(node){return{type:"BlockStatement",body:node.body.map(to_moz)}}function to_moz_scope(type,node){var body=node.body.map(to_moz);if(node.body[0]instanceof AST_SimpleStatement&&node.body[0].body instanceof AST_String){body.unshift(to_moz(new AST_EmptyStatement(node.body[0])))}return{type:type,body:body}}})();"use strict";function find_builtins(reserved){["null","true","false","Infinity","-Infinity","undefined"].forEach(add);[Object,Array,Function,Number,String,Boolean,Error,Math,Date,RegExp].forEach(function(ctor){Object.getOwnPropertyNames(ctor).map(add);if(ctor.prototype){Object.getOwnPropertyNames(ctor.prototype).map(add)}});function add(name){push_uniq(reserved,name)}}function reserve_quoted_keys(ast,reserved){function add(name){push_uniq(reserved,name)}ast.walk(new TreeWalker(function(node){if(node instanceof AST_ObjectKeyVal&&node.quote){add(node.key)}else if(node instanceof AST_Sub){addStrings(node.property,add)}}))}function addStrings(node,add){node.walk(new TreeWalker(function(node){if(node instanceof AST_Sequence){addStrings(node.expressions[node.expressions.length-1],add)}else if(node instanceof AST_String){add(node.value)}else if(node instanceof AST_Conditional){addStrings(node.consequent,add);addStrings(node.alternative,add)}return true}))}function mangle_properties(ast,options){options=defaults(options,{builtins:false,cache:null,debug:false,keep_quoted:false,only_cache:false,regex:null,reserved:null},true);var reserved=options.reserved;if(!Array.isArray(reserved))reserved=[];if(!options.builtins)find_builtins(reserved);var cache=options.cache;if(cache==null){cache={cname:-1,props:new Dictionary}}var regex=options.regex;var debug=options.debug!==false;var debug_name_suffix;if(debug){debug_name_suffix=options.debug===true?"":options.debug}var names_to_mangle=[];var unmangleable=[];ast.walk(new TreeWalker(function(node){if(node instanceof AST_ObjectKeyVal){add(node.key)}else if(node instanceof AST_ObjectProperty){add(node.key.name)}else if(node instanceof AST_Dot){add(node.property)}else if(node instanceof AST_Sub){addStrings(node.property,add)}}));return ast.transform(new TreeTransformer(function(node){if(node instanceof AST_ObjectKeyVal){node.key=mangle(node.key)}else if(node instanceof AST_ObjectProperty){node.key.name=mangle(node.key.name)}else if(node instanceof AST_Dot){node.property=mangle(node.property)}else if(!options.keep_quoted&&node instanceof AST_Sub){node.property=mangleStrings(node.property)}}));function can_mangle(name){if(unmangleable.indexOf(name)>=0)return false;if(reserved.indexOf(name)>=0)return false;if(options.only_cache){return cache.props.has(name)}if(/^-?[0-9]+(\.[0-9]+)?(e[+-][0-9]+)?$/.test(name))return false;return true}function should_mangle(name){if(regex&&!regex.test(name))return false;if(reserved.indexOf(name)>=0)return false;return cache.props.has(name)||names_to_mangle.indexOf(name)>=0}function add(name){if(can_mangle(name))push_uniq(names_to_mangle,name);if(!should_mangle(name)){push_uniq(unmangleable,name)}}function mangle(name){if(!should_mangle(name)){return name}var mangled=cache.props.get(name);if(!mangled){if(debug){var debug_mangled="_$"+name+"$"+debug_name_suffix+"_";if(can_mangle(debug_mangled)){mangled=debug_mangled}}if(!mangled){do{mangled=base54(++cache.cname)}while(!can_mangle(mangled))}cache.props.set(name,mangled)}return mangled}function mangleStrings(node){return node.transform(new TreeTransformer(function(node){if(node instanceof AST_Sequence){var last=node.expressions.length-1;node.expressions[last]=mangleStrings(node.expressions[last])}else if(node instanceof AST_String){node.value=mangle(node.value)}else if(node instanceof AST_Conditional){node.consequent=mangleStrings(node.consequent);node.alternative=mangleStrings(node.alternative)}return node}))}}"use strict";var to_ascii=typeof atob=="undefined"?function(b64){return new Buffer(b64,"base64").toString()}:atob;var to_base64=typeof btoa=="undefined"?function(str){return new Buffer(str).toString("base64")}:btoa;function read_source_map(code){var match=/\n\/\/# sourceMappingURL=data:application\/json(;.*?)?;base64,(.*)/.exec(code);if(!match){AST_Node.warn("inline source map not found");return null}return to_ascii(match[2])}function set_shorthand(name,options,keys){if(options[name]){keys.forEach(function(key){if(options[key]){if(typeof options[key]!="object")options[key]={};if(!(name in options[key]))options[key][name]=options[name]}})}}function init_cache(cache){if(!cache)return;if(!("cname"in cache))cache.cname=-1;if(!("props"in cache)){cache.props=new Dictionary}else if(!(cache.props instanceof Dictionary)){cache.props=Dictionary.fromObject(cache.props)}}function to_json(cache){return{cname:cache.cname,props:cache.props.toObject()}}function minify(files,options){var warn_function=AST_Node.warn_function;try{options=defaults(options,{compress:{},ie8:false,keep_fnames:false,mangle:{},nameCache:null,output:{},parse:{},sourceMap:false,timings:false,toplevel:false,warnings:false,wrap:false},true);var timings=options.timings&&{start:Date.now()};set_shorthand("ie8",options,["compress","mangle","output"]);set_shorthand("keep_fnames",options,["compress","mangle"]);set_shorthand("toplevel",options,["compress","mangle"]);set_shorthand("warnings",options,["compress"]);var quoted_props;if(options.mangle){options.mangle=defaults(options.mangle,{cache:options.nameCache&&(options.nameCache.vars||{}),eval:false,ie8:false,keep_fnames:false,properties:false,reserved:[],toplevel:false},true);if(options.mangle.properties){if(typeof options.mangle.properties!="object"){options.mangle.properties={}}if(options.mangle.properties.keep_quoted){quoted_props=options.mangle.properties.reserved;if(!Array.isArray(quoted_props))quoted_props=[];options.mangle.properties.reserved=quoted_props}if(options.nameCache&&!("cache"in options.mangle.properties)){options.mangle.properties.cache=options.nameCache.props||{}}}init_cache(options.mangle.cache);init_cache(options.mangle.properties.cache)}if(options.sourceMap){options.sourceMap=defaults(options.sourceMap,{content:null,filename:null,includeSources:false,root:null,url:null},true)}var warnings=[];if(options.warnings&&!AST_Node.warn_function){AST_Node.warn_function=function(warning){warnings.push(warning)}}if(timings)timings.parse=Date.now();var toplevel;if(files instanceof AST_Toplevel){toplevel=files}else{if(typeof files=="string"){files=[files]}options.parse=options.parse||{};options.parse.toplevel=null;for(var name in files)if(HOP(files,name)){options.parse.filename=name;options.parse.toplevel=parse(files[name],options.parse);if(options.sourceMap&&options.sourceMap.content=="inline"){if(Object.keys(files).length>1)throw new Error("inline source map only works with singular input");options.sourceMap.content=read_source_map(files[name])}}toplevel=options.parse.toplevel}if(quoted_props){reserve_quoted_keys(toplevel,quoted_props)}if(options.wrap){toplevel=toplevel.wrap_commonjs(options.wrap)}if(timings)timings.scope1=Date.now();if(options.compress)toplevel.figure_out_scope(options.mangle);if(timings)timings.compress=Date.now();if(options.compress)toplevel=new Compressor(options.compress).compress(toplevel);if(timings)timings.scope2=Date.now();if(options.mangle)toplevel.figure_out_scope(options.mangle);if(timings)timings.mangle=Date.now();if(options.mangle){base54.reset();toplevel.compute_char_frequency(options.mangle);toplevel.mangle_names(options.mangle)}if(timings)timings.properties=Date.now();if(options.mangle&&options.mangle.properties){toplevel=mangle_properties(toplevel,options.mangle.properties)}if(timings)timings.output=Date.now();var result={};if(options.output.ast){result.ast=toplevel}if(!HOP(options.output,"code")||options.output.code){if(options.sourceMap){if(typeof options.sourceMap.content=="string"){options.sourceMap.content=JSON.parse(options.sourceMap.content)}options.output.source_map=SourceMap({file:options.sourceMap.filename,orig:options.sourceMap.content,root:options.sourceMap.root});if(options.sourceMap.includeSources){if(files instanceof AST_Toplevel){throw new Error("original source content unavailable")}else for(var name in files)if(HOP(files,name)){options.output.source_map.get().setSourceContent(name,files[name])}}}delete options.output.ast;delete options.output.code;var stream=OutputStream(options.output);toplevel.print(stream);result.code=stream.get();if(options.sourceMap){result.map=options.output.source_map.toString();if(options.sourceMap.url=="inline"){result.code+="\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,"+to_base64(result.map)}else if(options.sourceMap.url){result.code+="\n//# sourceMappingURL="+options.sourceMap.url}}}if(options.nameCache&&options.mangle){if(options.mangle.cache)options.nameCache.vars=to_json(options.mangle.cache);if(options.mangle.properties&&options.mangle.properties.cache){options.nameCache.props=to_json(options.mangle.properties.cache)}}if(timings){timings.end=Date.now();result.timings={parse:.001*(timings.scope1-timings.parse),scope:.001*(timings.compress-timings.scope1+timings.mangle-timings.scope2),compress:.001*(timings.scope2-timings.compress),mangle:.001*(timings.properties-timings.mangle),properties:.001*(timings.output-timings.properties),output:.001*(timings.end-timings.output),total:.001*(timings.end-timings.start)}}if(warnings.length){result.warnings=warnings}return result}catch(ex){return{error:ex}}finally{AST_Node.warn_function=warn_function}}exports["Dictionary"]=Dictionary;exports["TreeWalker"]=TreeWalker;exports["TreeTransformer"]=TreeTransformer;exports["minify"]=minify;exports["_push_uniq"]=push_uniq})(typeof exports=="undefined"?exports={}:exports);
 }).call(this,require("buffer").Buffer)
 },{"buffer":4}]},{},["html-minifier"]);
index 5b3579b..a90af76 100644 (file)
@@ -1,7 +1,7 @@
 /*!
- * HTMLMinifier v3.5.2 (http://kangax.github.io/html-minifier/)
+ * HTMLMinifier v3.5.4 (http://kangax.github.io/html-minifier/)
  * Copyright 2010-2017 Juriy "kangax" Zaytsev
  * Licensed under the MIT license
  */
 
-require=function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[a]={exports:{}};t[a][0].call(c.exports,function(e){var n=t[a][1][e];return i(n||e)},c,c.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,t,n){"use strict";function r(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function i(e){return a[e>>18&63]+a[e>>12&63]+a[e>>6&63]+a[63&e]}function o(e,t,n){for(var r,o=[],a=t;a<n;a+=3)r=(e[a]<<16)+(e[a+1]<<8)+e[a+2],o.push(i(r));return o.join("")}n.byteLength=function(e){return 3*e.length/4-r(e)},n.toByteArray=function(e){var t,n,i,o,a,l=e.length;o=r(e),a=new u(3*l/4-o),n=o>0?l-4:l;var c=0;for(t=0;t<n;t+=4)i=s[e.charCodeAt(t)]<<18|s[e.charCodeAt(t+1)]<<12|s[e.charCodeAt(t+2)]<<6|s[e.charCodeAt(t+3)],a[c++]=i>>16&255,a[c++]=i>>8&255,a[c++]=255&i;return 2===o?(i=s[e.charCodeAt(t)]<<2|s[e.charCodeAt(t+1)]>>4,a[c++]=255&i):1===o&&(i=s[e.charCodeAt(t)]<<10|s[e.charCodeAt(t+1)]<<4|s[e.charCodeAt(t+2)]>>2,a[c++]=i>>8&255,a[c++]=255&i),a},n.fromByteArray=function(e){for(var t,n=e.length,r=n%3,i="",s=[],u=0,l=n-r;u<l;u+=16383)s.push(o(e,u,u+16383>l?l:u+16383));return 1===r?(t=e[n-1],i+=a[t>>2],i+=a[t<<4&63],i+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],i+=a[t>>10],i+=a[t>>4&63],i+=a[t<<2&63],i+="="),s.push(i),s.join("")};for(var a=[],s=[],u="undefined"!=typeof Uint8Array?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=0,f=l.length;c<f;++c)a[c]=l[c],s[l.charCodeAt(c)]=c;s["-".charCodeAt(0)]=62,s["_".charCodeAt(0)]=63},{}],2:[function(e,t,n){},{}],3:[function(e,t,n){arguments[4][2][0].apply(n,arguments)},{dup:2}],4:[function(e,t,n){(function(t){"use strict";function r(){return o.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function i(e,t){if(r()<t)throw new RangeError("Invalid typed array length");return o.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=o.prototype:(null===e&&(e=new o(t)),e.length=t),e}function o(e,t,n){if(!(o.TYPED_ARRAY_SUPPORT||this instanceof o))return new o(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return l(this,e)}return a(this,e,t,n)}function a(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?p(e,t,n,r):"string"==typeof t?c(e,t,n):h(e,t)}function s(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function u(e,t,n,r){return s(t),t<=0?i(e,t):void 0!==n?"string"==typeof r?i(e,t).fill(n,r):i(e,t).fill(n):i(e,t)}function l(e,t){if(s(t),e=i(e,t<0?0:0|d(t)),!o.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function c(e,t,n){if("string"==typeof n&&""!==n||(n="utf8"),!o.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|m(t,n),a=(e=i(e,r)).write(t,n);return a!==r&&(e=e.slice(0,a)),e}function f(e,t){var n=t.length<0?0:0|d(t.length);e=i(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function p(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r),o.TYPED_ARRAY_SUPPORT?(e=t).__proto__=o.prototype:e=f(e,t),e}function h(e,t){if(o.isBuffer(t)){var n=0|d(t.length);return 0===(e=i(e,n)).length?e:(t.copy(e,0,0,n),e)}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||G(t.length)?i(e,0):f(e,t);if("Buffer"===t.type&&Z(t.data))return f(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function d(e){if(e>=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|e}function m(e,t){if(o.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return V(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return K(e).length;default:if(r)return V(e).length;t=(""+t).toLowerCase(),r=!0}}function g(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return T(this,t,n);case"utf8":case"utf-8":return O(this,t,n);case"ascii":return D(this,t,n);case"latin1":case"binary":return B(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function v(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function b(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=o.from(t,r)),o.isBuffer(t))return 0===t.length?-1:y(e,t,n,r,i);if("number"==typeof t)return t&=255,o.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):y(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function y(e,t,n,r,i){function o(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}var a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}var l;if(i){var c=-1;for(l=n;l<s;l++)if(o(e,l)===o(t,-1===c?0:l-c)){if(-1===c&&(c=l),l-c+1===u)return c*a}else-1!==c&&(l-=l-c),c=-1}else for(n+u>s&&(n=s-u),l=n;l>=0;l--){for(var f=!0,p=0;p<u;p++)if(o(e,l+p)!==o(t,p)){f=!1;break}if(f)return l}return-1}function _(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function w(e,t,n,r){return Y(V(t,e.length-n),e,n,r)}function A(e,t,n,r){return Y($(t),e,n,r)}function E(e,t,n,r){return A(e,t,n,r)}function x(e,t,n,r){return Y(K(t),e,n,r)}function C(e,t,n,r){return Y(H(t,e.length-n),e,n,r)}function k(e,t,n){return 0===t&&n===e.length?W.fromByteArray(e):W.fromByteArray(e.slice(t,n))}function O(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o=e[i],a=null,s=o>239?4:o>223?3:o>191?2:1;if(i+s<=n){var u,l,c,f;switch(s){case 1:o<128&&(a=o);break;case 2:128==(192&(u=e[i+1]))&&(f=(31&o)<<6|63&u)>127&&(a=f);break;case 3:u=e[i+1],l=e[i+2],128==(192&u)&&128==(192&l)&&(f=(15&o)<<12|(63&u)<<6|63&l)>2047&&(f<55296||f>57343)&&(a=f);break;case 4:u=e[i+1],l=e[i+2],c=e[i+3],128==(192&u)&&128==(192&l)&&128==(192&c)&&(f=(15&o)<<18|(63&u)<<12|(63&l)<<6|63&c)>65535&&f<1114112&&(a=f)}}null===a?(a=65533,s=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),i+=s}return S(r)}function S(e){var t=e.length;if(t<=J)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=J));return n}function D(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function B(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function T(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=j(e[o]);return i}function R(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function F(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function L(e,t,n,r,i,a){if(!o.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<a)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function M(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function P(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function U(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function N(e,t,n,r,i){return i||U(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),Q.write(e,t,n,r,23,4),n+4}function q(e,t,n,r,i){return i||U(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),Q.write(e,t,n,r,52,8),n+8}function z(e){if((e=I(e).replace(X,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}function I(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function j(e){return e<16?"0"+e.toString(16):e.toString(16)}function V(e,t){t=t||1/0;for(var n,r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function $(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}function H(e,t){for(var n,r,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)r=(n=e.charCodeAt(a))>>8,i=n%256,o.push(i),o.push(r);return o}function K(e){return W.toByteArray(z(e))}function Y(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function G(e){return e!==e}var W=e("base64-js"),Q=e("ieee754"),Z=e("isarray");n.Buffer=o,n.SlowBuffer=function(e){return+e!=e&&(e=0),o.alloc(+e)},n.INSPECT_MAX_BYTES=50,o.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),n.kMaxLength=r(),o.poolSize=8192,o._augment=function(e){return e.__proto__=o.prototype,e},o.from=function(e,t,n){return a(null,e,t,n)},o.TYPED_ARRAY_SUPPORT&&(o.prototype.__proto__=Uint8Array.prototype,o.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&o[Symbol.species]===o&&Object.defineProperty(o,Symbol.species,{value:null,configurable:!0})),o.alloc=function(e,t,n){return u(null,e,t,n)},o.allocUnsafe=function(e){return l(null,e)},o.allocUnsafeSlow=function(e){return l(null,e)},o.isBuffer=function(e){return!(null==e||!e._isBuffer)},o.compare=function(e,t){if(!o.isBuffer(e)||!o.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,a=Math.min(n,r);i<a;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},o.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.concat=function(e,t){if(!Z(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return o.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=o.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var a=e[n];if(!o.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},o.byteLength=m,o.prototype._isBuffer=!0,o.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)v(this,t,t+1);return this},o.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)v(this,t,t+3),v(this,t+1,t+2);return this},o.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)v(this,t,t+7),v(this,t+1,t+6),v(this,t+2,t+5),v(this,t+3,t+4);return this},o.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?O(this,0,e):g.apply(this,arguments)},o.prototype.equals=function(e){if(!o.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===o.compare(this,e)},o.prototype.inspect=function(){var e="",t=n.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),"<Buffer "+e+">"},o.prototype.compare=function(e,t,n,r,i){if(!o.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var a=i-r,s=n-t,u=Math.min(a,s),l=this.slice(r,i),c=e.slice(t,n),f=0;f<u;++f)if(l[f]!==c[f]){a=l[f],s=c[f];break}return a<s?-1:s<a?1:0},o.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},o.prototype.indexOf=function(e,t,n){return b(this,e,t,n,!0)},o.prototype.lastIndexOf=function(e,t,n){return b(this,e,t,n,!1)},o.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return _(this,e,t,n);case"utf8":case"utf-8":return w(this,e,t,n);case"ascii":return A(this,e,t,n);case"latin1":case"binary":return E(this,e,t,n);case"base64":return x(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var J=4096;o.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var r;if(o.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=o.prototype;else{var i=t-e;r=new o(i,void 0);for(var a=0;a<i;++a)r[a]=this[a+e]}return r},o.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},o.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},o.prototype.readUInt8=function(e,t){return t||F(e,1,this.length),this[e]},o.prototype.readUInt16LE=function(e,t){return t||F(e,2,this.length),this[e]|this[e+1]<<8},o.prototype.readUInt16BE=function(e,t){return t||F(e,2,this.length),this[e]<<8|this[e+1]},o.prototype.readUInt32LE=function(e,t){return t||F(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},o.prototype.readUInt32BE=function(e,t){return t||F(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},o.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*t)),r},o.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},o.prototype.readInt8=function(e,t){return t||F(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},o.prototype.readInt16LE=function(e,t){t||F(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt16BE=function(e,t){t||F(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt32LE=function(e,t){return t||F(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},o.prototype.readInt32BE=function(e,t){return t||F(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},o.prototype.readFloatLE=function(e,t){return t||F(e,4,this.length),Q.read(this,e,!0,23,4)},o.prototype.readFloatBE=function(e,t){return t||F(e,4,this.length),Q.read(this,e,!1,23,4)},o.prototype.readDoubleLE=function(e,t){return t||F(e,8,this.length),Q.read(this,e,!0,52,8)},o.prototype.readDoubleBE=function(e,t){return t||F(e,8,this.length),Q.read(this,e,!1,52,8)},o.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||L(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},o.prototype.writeUIntBE=function(e,t,n,r){e=+e,t|=0,n|=0,r||L(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},o.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,1,255,0),o.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},o.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):M(this,e,t,!0),t+2},o.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):M(this,e,t,!1),t+2},o.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):P(this,e,t,!0),t+4},o.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):P(this,e,t,!1),t+4},o.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);L(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},o.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);L(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},o.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,1,127,-128),o.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},o.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):M(this,e,t,!0),t+2},o.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):M(this,e,t,!1),t+2},o.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,4,2147483647,-2147483648),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):P(this,e,t,!0),t+4},o.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):P(this,e,t,!1),t+4},o.prototype.writeFloatLE=function(e,t,n){return N(this,e,t,!0,n)},o.prototype.writeFloatBE=function(e,t,n){return N(this,e,t,!1,n)},o.prototype.writeDoubleLE=function(e,t,n){return q(this,e,t,!0,n)},o.prototype.writeDoubleBE=function(e,t,n){return q(this,e,t,!1,n)},o.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,a=r-n;if(this===e&&n<t&&t<r)for(i=a-1;i>=0;--i)e[i+t]=this[i+n];else if(a<1e3||!o.TYPED_ARRAY_SUPPORT)for(i=0;i<a;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+a),t);return a},o.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!o.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0);var a;if("number"==typeof e)for(a=t;a<n;++a)this[a]=e;else{var s=o.isBuffer(e)?e:V(new o(e,r).toString()),u=s.length;for(a=0;a<n-t;++a)this[a+t]=s[a%u]}return this};var X=/[^+\/0-9A-Za-z-_]/g}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"base64-js":1,ieee754:105,isarray:108}],5:[function(e,t,n){t.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",451:"Unavailable For Legal Reasons",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"}},{}],6:[function(e,t,n){t.exports=e("./lib/clean")},{"./lib/clean":7}],7:[function(e,t,n){(function(n){function r(e,t,n,r){var s="function"!=typeof n?n:null,u="function"==typeof r?r:"function"==typeof n?n:null,l={stats:{efficiency:0,minifiedSize:0,originalSize:0,startedAt:Date.now(),timeSpent:0},cache:{specificity:{}},errors:[],inlinedStylesheets:[],inputSourceMapTracker:A(),localOnly:!u,options:t,source:null,sourcesContent:{},validator:f(t.compatibility),warnings:[]};return s&&l.inputSourceMapTracker.track(void 0,s),i(l.localOnly)(function(){return E(e,l,function(e){var t=a((l.options.sourceMap?C:x)(o(e,l),l),l);return u?u(l.errors.length>0?l.errors:null,t):t})})}function i(e){return e?function(e){return e()}:n.nextTick}function o(e,t){var n;return n=u(e,t),n=b.One in t.options.level?l(e,t):e,n=b.Two in t.options.level?c(e,t,!0):n}function a(e,t){return e.stats=s(e.styles,t),e.errors=t.errors,e.inlinedStylesheets=t.inlinedStylesheets,e.warnings=t.warnings,e}function s(e,t){var n=Date.now()-t.stats.startedAt;return delete t.stats.startedAt,t.stats.timeSpent=n,t.stats.efficiency=1-e.length/t.stats.originalSize,t.stats.minifiedSize=e.length,t.stats}var u=e("./optimizer/level-0/optimize"),l=e("./optimizer/level-1/optimize"),c=e("./optimizer/level-2/optimize"),f=e("./optimizer/validator"),p=e("./options/compatibility"),h=e("./options/fetch"),d=e("./options/format").formatFrom,m=e("./options/inline"),g=e("./options/inline-request"),v=e("./options/inline-timeout"),b=e("./options/optimization-level").OptimizationLevel,y=e("./options/optimization-level").optimizationLevelFrom,_=e("./options/rebase"),w=e("./options/rebase-to"),A=e("./reader/input-source-map-tracker"),E=e("./reader/read-sources"),x=e("./writer/simple"),C=e("./writer/source-maps");(t.exports=function(e){e=e||{},this.options={compatibility:p(e.compatibility),fetch:h(e.fetch),format:d(e.format),inline:m(e.inline),inlineRequest:g(e.inlineRequest),inlineTimeout:v(e.inlineTimeout),level:y(e.level),rebase:_(e.rebase),rebaseTo:w(e.rebaseTo),returnPromise:!!e.returnPromise,sourceMap:!!e.sourceMap,sourceMapInlineSources:!!e.sourceMapInlineSources}}).prototype.minify=function(e,t,n){var i=this.options;return i.returnPromise?new Promise(function(n,o){r(e,i,t,function(e,t){return e?o(e):n(t)})}):r(e,i,t,n)}}).call(this,e("_process"))},{"./optimizer/level-0/optimize":9,"./optimizer/level-1/optimize":10,"./optimizer/level-2/optimize":29,"./optimizer/validator":57,"./options/compatibility":59,"./options/fetch":60,"./options/format":61,"./options/inline":64,"./options/inline-request":62,"./options/inline-timeout":63,"./options/optimization-level":65,"./options/rebase":67,"./options/rebase-to":66,"./reader/input-source-map-tracker":71,"./reader/read-sources":77,"./writer/simple":99,"./writer/source-maps":100,_process:113}],8:[function(e,t,n){var r={ASTERISK:"asterisk",BANG:"bang",BACKSLASH:"backslash",UNDERSCORE:"underscore"};t.exports=r},{}],9:[function(e,t,n){t.exports=function(e){return e}},{}],10:[function(e,t,n){function r(e){return e&&"-"==e[1][0]&&parseFloat(e[1])<0}function i(e){return re.test(e)}function o(e){return oe.test(e)}function a(e){return e.replace(oe,"url(").replace(/\\?\n|\\?\r\n/g,"")}function s(e){var t=e.value;1==t.length&&"none"==t[0][1]&&(t[0][1]="0 0"),1==t.length&&"transparent"==t[0][1]&&(t[0][1]="0 0")}function u(e){var t,n=e.value;3==n.length&&"/"==n[1][1]&&n[0][1]==n[2][1]?t=1:5==n.length&&"/"==n[2][1]&&n[0][1]==n[3][1]&&n[1][1]==n[4][1]?t=2:7==n.length&&"/"==n[3][1]&&n[0][1]==n[4][1]&&n[1][1]==n[5][1]&&n[2][1]==n[6][1]?t=3:9==n.length&&"/"==n[4][1]&&n[0][1]==n[5][1]&&n[1][1]==n[6][1]&&n[2][1]==n[7][1]&&n[3][1]==n[8][1]&&(t=4),t&&(e.value.splice(t),e.dirty=!0)}function l(e,t,n){return-1===t.indexOf("#")&&-1==t.indexOf("rgb")&&-1==t.indexOf("hsl")?F(t):(t=t.replace(/rgb\((\-?\d+),(\-?\d+),(\-?\d+)\)/g,function(e,t,n,r){return M(t,n,r)}).replace(/hsl\((-?\d+),(-?\d+)%?,(-?\d+)%?\)/g,function(e,t,n,r){return L(t,n,r)}).replace(/(^|[^='"])#([0-9a-f]{6})($|[^0-9a-f])/gi,function(e,t,n,r){return n[0]==n[1]&&n[2]==n[3]&&n[4]==n[5]?(t+"#"+n[0]+n[2]+n[4]).toLowerCase()+r:(t+"#"+n).toLowerCase()+r}).replace(/(^|[^='"])#([0-9a-f]{3})/gi,function(e,t,n){return t+"#"+n.toLowerCase()}).replace(/(rgb|rgba|hsl|hsla)\(([^\)]+)\)/g,function(e,t,n){var r=n.split(",");return"hsl"==t&&3==r.length||"hsla"==t&&4==r.length||"rgb"==t&&3==r.length&&n.indexOf("%")>0||"rgba"==t&&4==r.length&&n.indexOf("%")>0?(-1==r[1].indexOf("%")&&(r[1]+="%"),-1==r[2].indexOf("%")&&(r[2]+="%"),t+"("+r.join(",")+")"):e}),n.colors.opacity&&-1==e.indexOf("background")&&(t=t.replace(/(?:rgba|hsla)\(0,0%?,0%?,0\)/g,function(e){return G(t,",").pop().indexOf("gradient(")>-1?e:"transparent"})),F(t))}function c(e){1==e.value.length&&(e.value[0][1]=e.value[0][1].replace(/progid:DXImageTransform\.Microsoft\.(Alpha|Chroma)(\W)/,function(e,t,n){return t.toLowerCase()+n})),e.value[0][1]=e.value[0][1].replace(/,(\S)/g,", $1").replace(/ ?= ?/g,"=")}function f(e,t){var n=e.value[t][1];"normal"==n?n="400":"bold"==n&&(n="700"),e.value[t][1]=n}function p(e){var t,n=e.value;4==n.length&&"0"===n[0][1]&&"0"===n[1][1]&&"0"===n[2][1]&&"0"===n[3][1]&&(t=e.name.indexOf("box-shadow")>-1?2:1),t&&(e.value.splice(t),e.dirty=!0)}function h(e){var t=e.value;1==t.length&&"none"==t[0][1]&&(t[0][1]="0")}function d(e,t,n){return X.test(t)?t.replace(X,function(e,t){var r,i=parseInt(t);return 0===i?e:(n.properties.shorterLengthUnits&&n.units.pt&&3*i%4==0&&(r=3*i/4+"pt"),n.properties.shorterLengthUnits&&n.units.pc&&i%16==0&&(r=i/16+"pc"),n.properties.shorterLengthUnits&&n.units.in&&i%96==0&&(r=i/96+"in"),r&&(r=e.substring(0,e.indexOf(t))+r),r&&r.length<e.length?r:e)}):t}function m(e,t,n){return n.enabled&&-1!==t.indexOf(".")?t.replace(n.decimalPointMatcher,"$1$2$3").replace(n.zeroMatcher,function(e,t,r,i){var o=n.units[i].multiplier,a=parseInt(t),s=isNaN(a)?0:a,u=parseFloat(r);return Math.round((s+u)*o)/o+i}):t}function g(e,t){return ee.test(t)?t.replace(ee,function(e,t,n){var r;return"ms"==n?r=parseInt(t)/1e3+"s":"s"==n&&(r=1e3*parseFloat(t)+"ms"),r.length<e.length?r:e}):t}function v(e,t,n){return/^(?:\-moz\-calc|\-webkit\-calc|calc|rgb|hsl|rgba|hsla)\(/.test(t)?t:"flex"==e||"-ms-flex"==e||"-webkit-flex"==e||"flex-basis"==e||"-webkit-flex-basis"==e?t:t.indexOf("%")>0&&("height"==e||"max-height"==e||"width"==e||"max-width"==e)?t:t.replace(n,"$10$2").replace(n,"$10$2")}function b(e,t){return e.indexOf("filter")>-1||-1==t.indexOf(" ")||0===t.indexOf("expression")?t:t.indexOf(K.SINGLE_QUOTE)>-1||t.indexOf(K.DOUBLE_QUOTE)>-1?t:((t=t.replace(/\s+/g," ")).indexOf("calc")>-1&&(t=t.replace(/\) ?\/ ?/g,")/ ")),t.replace(/(\(;?)\s+/g,"$1").replace(/\s+(;?\))/g,"$1").replace(/, /g,","))}function y(e,t){return-1==t.indexOf("0deg")?t:t.replace(/\(0deg\)/g,"(0)")}function _(e,t){return-1==t.indexOf("0")?t:(t.indexOf("-")>-1&&(t=t.replace(/([^\w\d\-]|^)\-0([^\.]|$)/g,"$10$2").replace(/([^\w\d\-]|^)\-0([^\.]|$)/g,"$10$2")),t.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(e,t,n){return(t.length>0?".":"")+t+n}).replace(/(^|\D)0\.(\d)/g,"$1.$2"))}function w(e,t){return"content"==e||e.indexOf("font-feature-settings")>-1||e.indexOf("grid-")>-1?t:ie.test(t)?t.substring(1,t.length-1):t}function A(e){return!/^url\(['"].+['"]\)$/.test(e)||/^url\(['"].*[\*\s\(\)'"].*['"]\)$/.test(e)||/^url\(['"]data:[^;]+;charset/.test(e)?e:e.replace(/["']/g,"")}function E(e,t,n){var r=n(e,t);return void 0===r?t:!1===r?W:r}function x(e,t){var n,k,O,S,D,B,R=t.options,F=R.level[$.One],L=V(e,!0);e:for(var M=0,P=L.length;M<P;M++)if(n=L[M],k=n.name,te.test(k)||(B=n.all[n.position],t.warnings.push("Invalid property name '"+k+"' at "+Y(B[1][2][0])+". Ignoring."),n.unused=!0),0===n.value.length&&(B=n.all[n.position],t.warnings.push("Empty property '"+k+"' at "+Y(B[1][2][0])+". Ignoring."),n.unused=!0),n.hack&&((n.hack[0]==z.ASTERISK||n.hack[0]==z.UNDERSCORE)&&!R.compatibility.properties.iePrefixHack||n.hack[0]==z.BACKSLASH&&!R.compatibility.properties.ieSuffixHack||n.hack[0]==z.BANG&&!R.compatibility.properties.ieBangHack)&&(n.unused=!0),F.removeNegativePaddings&&0===k.indexOf("padding")&&(r(n.value[0])||r(n.value[1])||r(n.value[2])||r(n.value[3]))&&(n.unused=!0),!R.compatibility.properties.ieFilters&&T(n)&&(n.unused=!0),!n.unused)if(n.block)x(n.value[0][1],t);else if(!ae.test(k)){for(var U=0,N=n.value.length;U<N;U++){if(O=n.value[U][0],S=n.value[U][1],D=o(S),O==H.PROPERTY_BLOCK){n.unused=!0,t.warnings.push("Invalid value token at "+Y(S[0][1][2][0])+". Ignoring.");break}if(D&&!t.validator.isUrl(S)){n.unused=!0,t.warnings.push("Broken URL '"+S+"' at "+Y(n.value[U][2][0])+". Ignoring.");break}if(D?(S=F.normalizeUrls?a(S):S,S=R.compatibility.properties.urlQuotes?S:A(S)):i(S)?S=F.removeQuotes?w(k,S):S:(S=d(k,S=m(k,S=F.removeWhitespace?b(k,S):S,R.precision),R.compatibility),S=F.replaceTimeUnits?g(k,S):S,S=F.replaceZeroUnits?_(k,S):S,R.compatibility.properties.zeroUnits&&(S=v(k,S=y(k,S),R.unitsRegexp)),R.compatibility.properties.colors&&(S=l(k,S,R.compatibility))),(S=E(k,S,F.transform))===W){n.unused=!0;continue e}n.value[U][1]=S}F.replaceMultipleZeros&&p(n),"background"==k&&F.optimizeBackground?s(n):0===k.indexOf("border")&&k.indexOf("radius")>0&&F.optimizeBorderRadius?u(n):"filter"==k&&F.optimizeFilter&&R.compatibility.properties.ieFilters?c(n):"font-weight"==k&&F.optimizeFontWeight?f(n,0):"outline"==k&&F.optimizeOutline&&h(n)}j(L),I(L),C(e,R)}function C(e,t){var n,r;for(r=0;r<e.length;r++)(n=e[r])[0]==H.COMMENT&&(k(n,t),0===n[1].length&&(e.splice(r,1),r--))}function k(e,t){e[1][2]==K.EXCLAMATION&&("all"==t.level[$.One].specialComments||t.commentsKept<t.level[$.One].specialComments)?t.commentsKept++:e[1]=[]}function O(e){for(var t=!1,n=0,r=e.length;n<r;n++){var i=e[n];i[0]==H.AT_RULE&&(Z.test(i[1])&&(t||-1==i[1].indexOf(Q)?(e.splice(n,1),n--,r--):(t=!0,e.splice(n,1),e.unshift([H.AT_RULE,i[1].replace(Z,Q)]))))}}function S(e){var t=["px","em","ex","cm","mm","in","pt","pc","%"];return["ch","rem","vh","vm","vmax","vmin","vw"].forEach(function(n){e.compatibility.units[n]&&t.push(n)}),new RegExp("(^|\\s|\\(|,)0(?:"+t.join("|")+")(\\W|$)","g")}function D(e){var t,n,r={matcher:null,units:{}},i=[];for(t in e)(n=e[t])!=J&&(r.units[t]={},r.units[t].value=n,r.units[t].multiplier=Math.pow(10,n),i.push(t));return i.length>0&&(r.enabled=!0,r.decimalPointMatcher=new RegExp("(\\d)\\.($|"+i.join("|")+")($|W)","g"),r.zeroMatcher=new RegExp("(\\d*)(\\.\\d+)("+i.join("|")+")","g")),r}function B(e){return ne.test(e[1])}function T(e){var t;return("filter"==e.name||"-ms-filter"==e.name)&&((t=e.value[0][1]).indexOf("progid")>-1||0===t.indexOf("alpha")||0===t.indexOf("chroma"))}function R(e,t){var n=t.options,r=n.level[$.One],i=n.compatibility.selectors.ie7Hack,o=n.compatibility.selectors.adjacentSpace,a=n.compatibility.properties.spaceAfterClosingBrace,s=n.format,u=!1,l=!1;n.unitsRegexp=n.unitsRegexp||S(n),n.precision=n.precision||D(r.roundingPrecision),n.commentsKept=n.commentsKept||0;for(var c=0,f=e.length;c<f;c++){var p=e[c];switch(p[0]){case H.AT_RULE:p[1]=B(p)&&l?"":p[1],p[1]=r.tidyAtRules?q(p[1]):p[1],u=!0;break;case H.AT_RULE_BLOCK:x(p[2],t),l=!0;break;case H.NESTED_BLOCK:p[1]=r.tidyBlockScopes?N(p[1],a):p[1],R(p[2],t),l=!0;break;case H.COMMENT:k(p,n);break;case H.RULE:p[1]=r.tidySelectors?U(p[1],!i,o,s,t.warnings):p[1],p[1]=p[1].length>1?P(p[1],r.selectorsSortingMethod):p[1],x(p[2],t),l=!0}(p[0]==H.COMMENT&&0===p[1].length||r.removeEmpty&&(0===p[1].length||p[2]&&0===p[2].length))&&(e.splice(c,1),c--,f--)}return r.cleanupCharsets&&u&&O(e),e}var F=e("./shorten-hex"),L=e("./shorten-hsl"),M=e("./shorten-rgb"),P=e("./sort-selectors"),U=e("./tidy-rules"),N=e("./tidy-block"),q=e("./tidy-at-rule"),z=e("../hack"),I=e("../remove-unused"),j=e("../restore-from-optimizing"),V=e("../wrap-for-optimizing").all,$=e("../../options/optimization-level").OptimizationLevel,H=e("../../tokenizer/token"),K=e("../../tokenizer/marker"),Y=e("../../utils/format-position"),G=e("../../utils/split"),W="ignore-property",Q="@charset",Z=new RegExp("^"+Q,"i"),J=e("../../options/rounding-precision").DEFAULT,X=/(?:^|\s|\()(-?\d+)px/,ee=/^(\-?[\d\.]+)(m?s)$/,te=/^(?:\-chrome\-|\-[\w\-]+\w|\w[\w\-]+\w|\-\-\S+)$/,ne=/^@import/i,re=/^('.*'|".*")$/,ie=/^['"][a-zA-Z][a-zA-Z\d\-_]+['"]$/,oe=/^url\(/i,ae=/^--\S+$/;t.exports=R},{"../../options/optimization-level":65,"../../options/rounding-precision":68,"../../tokenizer/marker":83,"../../tokenizer/token":84,"../../utils/format-position":87,"../../utils/split":96,"../hack":8,"../remove-unused":55,"../restore-from-optimizing":56,"../wrap-for-optimizing":58,"./shorten-hex":11,"./shorten-hsl":12,"./shorten-rgb":13,"./sort-selectors":14,"./tidy-at-rule":15,"./tidy-block":16,"./tidy-rules":17}],11:[function(e,t,n){function r(e,t,n,r){return t+a[n.toLowerCase()]+r}function i(e,t,n){return s[t.toLowerCase()]+n}var o={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"},a={},s={};for(var u in o){var l=o[u];u.length<l.length?s[l]=u:a[u]=l}var c=new RegExp("(^| |,|\\))("+Object.keys(a).join("|")+")( |,|\\)|$)","ig"),f=new RegExp("("+Object.keys(s).join("|")+")([^a-f0-9]|$)","ig");t.exports=function(e){var t=e.indexOf("#")>-1,n=e.replace(c,r);return n!=e&&(n=n.replace(c,r)),t?n.replace(f,i):n}},{}],12:[function(e,t,n){function r(e,t,n){var r,o,a;if((e%=360)<0&&(e+=360),e=~~e/360,t<0?t=0:t>100&&(t=100),t=~~t/100,n<0?n=0:n>100&&(n=100),n=~~n/100,0===t)r=o=a=n;else{var s=n<.5?n*(1+t):n+t-n*t,u=2*n-s;r=i(u,s,e+1/3),o=i(u,s,e),a=i(u,s,e-1/3)}return[~~(255*r),~~(255*o),~~(255*a)]}function i(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}t.exports=function(e,t,n){var i=r(e,t,n),o=i[0].toString(16),a=i[1].toString(16),s=i[2].toString(16);return"#"+(1==o.length?"0":"")+o+(1==a.length?"0":"")+a+(1==s.length?"0":"")+s}},{}],13:[function(e,t,n){t.exports=function(e,t,n){return"#"+("00000"+(Math.max(0,Math.min(parseInt(e),255))<<16|Math.max(0,Math.min(parseInt(t),255))<<8|Math.max(0,Math.min(parseInt(n),255))).toString(16)).slice(-6)}},{}],14:[function(e,t,n){function r(e,t){return o(e[1],t[1])}function i(e,t){return e[1]>t[1]?1:-1}var o=e("../../utils/natural-compare");t.exports=function(e,t){switch(t){case"natural":return e.sort(r);case"standard":return e.sort(i);case"none":case!1:return e}}},{"../../utils/natural-compare":94}],15:[function(e,t,n){t.exports=function(e){return e.replace(/\s+/g," ").replace(/url\(\s+/g,"url(").replace(/\s+\)/g,")").trim()}},{}],16:[function(e,t,n){var r=/^@media\W/;t.exports=function(e,t){var n,i;for(i=e.length-1;i>=0;i--)n=!t&&r.test(e[i][1]),e[i][1]=e[i][1].replace(/\n|\r\n/g," ").replace(/\s+/g," ").replace(/(,|:|\() /g,"$1").replace(/ \)/g,")").replace(/'([a-zA-Z][a-zA-Z\d\-_]+)'/,"$1").replace(/"([a-zA-Z][a-zA-Z\d\-_]+)"/,"$1").replace(n?/\) /g:null,")");return e}},{}],17:[function(e,t,n){function r(e){var t,n,r,i,o=!1,a=!1;for(r=0,i=e.length;r<i;r++){if(n=e[r],t);else if(n==s.SINGLE_QUOTE||n==s.DOUBLE_QUOTE)a=!a;else{if(!(a||n!=s.CLOSE_CURLY_BRACKET&&n!=s.EXCLAMATION&&n!=_&&n!=s.SEMICOLON)){o=!0;break}if(!a&&0===r&&g.test(n)){o=!0;break}}t=n==s.BACK_SLASH}return o}function i(e,t){var n,r,i,o,u,f,p,h,d,m,b,y,_,w=[],A=0,E=!1,x=!1,C=l.test(e),k=t&&t.spaces[a.AroundSelectorRelation];for(y=0,_=e.length;y<_;y++){if(n=e[y],r=n==s.NEW_LINE_NIX,i=n==s.NEW_LINE_NIX&&e[y-1]==s.NEW_LINE_WIN,f=p||h,m=!d&&!o&&0===A&&g.test(n),b=v.test(n),u&&f&&i)w.pop(),w.pop();else if(o&&f&&r)w.pop();else if(o)w.push(n);else if(n!=s.OPEN_SQUARE_BRACKET||f)if(n!=s.CLOSE_SQUARE_BRACKET||f)if(n!=s.OPEN_ROUND_BRACKET||f)if(n!=s.CLOSE_ROUND_BRACKET||f)if(n!=s.SINGLE_QUOTE||f)if(n!=s.DOUBLE_QUOTE||f)if(n==s.SINGLE_QUOTE&&f)w.push(n),p=!1;else if(n==s.DOUBLE_QUOTE&&f)w.push(n),h=!1;else{if(b&&E&&!k)continue;!b&&E&&k?(w.push(s.SPACE),w.push(n)):b&&(d||A>0)&&!f||b&&x&&!f||(i||r)&&(d||A>0)&&f||(m&&x&&!k?(w.pop(),w.push(n)):m&&!x&&k?(w.push(s.SPACE),w.push(n)):b?w.push(s.SPACE):w.push(n))}else w.push(n),h=!0;else w.push(n),p=!0;else w.push(n),A--;else w.push(n),A++;else w.push(n),d=!1;else w.push(n),d=!0;u=o,o=n==s.BACK_SLASH,E=m,x=b}return C?w.join("").replace(c,"$1 $2]"):w.join("")}function o(e){return-1==e.indexOf("'")&&-1==e.indexOf('"')?e:e.replace(d,"=$1 $2").replace(m,"=$1$2").replace(f,"=$1 $2").replace(p,"=$1$2")}var a=e("../../options/format").Spaces,s=e("../../tokenizer/marker"),u=e("../../utils/format-position"),l=/[\s"'][iI]\s*\]/,c=/([\d\w])([iI])\]/g,f=/="([a-zA-Z][a-zA-Z\d\-_]+)"([iI])/g,p=/="([a-zA-Z][a-zA-Z\d\-_]+)"(\s|\])/g,h=/^(?:(?:<!--|-->)\s*)+/,d=/='([a-zA-Z][a-zA-Z\d\-_]+)'([iI])/g,m=/='([a-zA-Z][a-zA-Z\d\-_]+)'(\s|\])/g,g=/[>\+~]/,v=/\s/,b="*+html ",y="*:first-child+html ",_="<";t.exports=function(e,t,n,a,s){for(var l=[],c=[],f=0,p=e.length;f<p;f++){var d=e[f],m=d[1];r(m=m.replace(h,function(e,t){return s.push("HTML comment '"+t+"' at "+u(e[2][0])+". Removing."),""}.bind(null,d)))?s.push("Invalid selector '"+d[1]+"' at "+u(d[2][0])+". Ignoring."):(m=o(m=i(m,a)),n&&m.indexOf("nav")>0&&(m=m.replace(/\+nav(\S|$)/,"+ nav$1")),t&&m.indexOf(b)>-1||t&&m.indexOf(y)>-1||(m.indexOf("*")>-1&&(m=m.replace(/\*([:#\.\[])/g,"$1").replace(/^(\:first\-child)?\+html/,"*$1+html")),c.indexOf(m)>-1||(d[1]=m,c.push(m),l.push(d))))}return 1==l.length&&0===l[0][1].length&&(s.push("Empty selector '"+l[0][1]+"' at "+u(l[0][2][0])+". Ignoring."),l=[]),l}},{"../../options/format":61,"../../tokenizer/marker":83,"../../utils/format-position":87}],18:[function(e,t,n){function r(e){var t,n;for(t=0,n=e.length;t<n;t++)if("inherit"==e[t][1])return!0;return!1}function i(e){return function(t){return"invert"==t[1]||e.isColor(t[1])||e.isPrefixed(t[1])}}function o(e){return function(t){return"inherit"!=t[1]&&e.isStyleKeyword(t[1])&&!e.isColorFunction(t[1])}}function a(e,t,n){var r=n[e];return f(r.doubleValues&&2==r.defaultValue.length?[p.PROPERTY,[p.PROPERTY_NAME,e],[p.PROPERTY_VALUE,r.defaultValue[0]],[p.PROPERTY_VALUE,r.defaultValue[1]]]:r.doubleValues&&1==r.defaultValue.length?[p.PROPERTY,[p.PROPERTY_NAME,e],[p.PROPERTY_VALUE,r.defaultValue[0]]]:[p.PROPERTY,[p.PROPERTY_NAME,e],[p.PROPERTY_VALUE,r.defaultValue]])}function s(e){return function(t){return"inherit"!=t[1]&&(e.isWidth(t[1])||e.isUnit(t[1])&&!e.isDynamicUnit(t[1]))&&!e.isStyleKeyword(t[1])&&!e.isColorFunction(t[1])}}function u(e,t){var n=t[e.name].components,r=[],i=e.value;if(i.length<1)return[];i.length<2&&(i[1]=i[0].slice(0)),i.length<3&&(i[2]=i[0].slice(0)),i.length<4&&(i[3]=i[1].slice(0));for(var o=n.length-1;o>=0;o--){var a=f([p.PROPERTY,[p.PROPERTY_NAME,n[o]]]);a.value=[i[o]],r.unshift(a)}return r}function l(e,t,n){for(var r,u,l,c=t[e.name],f=[a(c.components[0],e,t),a(c.components[1],e,t),a(c.components[2],e,t)],p=0;p<3;p++){var h=f[p];h.name.indexOf("color")>0?r=h:h.name.indexOf("style")>0?u=h:l=h}if(1==e.value.length&&"inherit"==e.value[0][1]||3==e.value.length&&"inherit"==e.value[0][1]&&"inherit"==e.value[1][1]&&"inherit"==e.value[2][1])return r.value=u.value=l.value=[e.value[0]],f;var d,m,g=e.value.slice(0);return g.length>0&&(d=(m=g.filter(s(n))).length>1&&("none"==m[0][1]||"auto"==m[0][1])?m[1]:m[0])&&(l.value=[d],g.splice(g.indexOf(d),1)),g.length>0&&(d=g.filter(o(n))[0])&&(u.value=[d],g.splice(g.indexOf(d),1)),g.length>0&&(d=g.filter(i(n))[0])&&(r.value=[d],g.splice(g.indexOf(d),1)),f}var c=e("./invalid-property-error"),f=e("../wrap-for-optimizing").single,p=e("../../tokenizer/token"),h=e("../../tokenizer/marker"),d=e("../../utils/format-position");t.exports={animation:function(e,t,n){var i,o,s,u=a(e.name+"-duration",e,t),l=a(e.name+"-timing-function",e,t),f=a(e.name+"-delay",e,t),p=a(e.name+"-iteration-count",e,t),h=a(e.name+"-direction",e,t),m=a(e.name+"-fill-mode",e,t),g=a(e.name+"-play-state",e,t),v=a(e.name+"-name",e,t),b=[u,l,f,p,h,m,g,v],y=e.value,_=!1,w=!1,A=!1,E=!1,x=!1,C=!1,k=!1,O=!1;if(1==e.value.length&&"inherit"==e.value[0][1])return u.value=l.value=f.value=p.value=h.value=m.value=g.value=v.value=e.value,b;if(y.length>1&&r(y))throw new c("Invalid animation values at "+d(y[0][2][0])+". Ignoring.");for(o=0,s=y.length;o<s;o++)if(i=y[o],n.isTime(i[1])&&!_)u.value=[i],_=!0;else if(n.isTime(i[1])&&!A)f.value=[i],A=!0;else if(!n.isGlobal(i[1])&&!n.isAnimationTimingFunction(i[1])||w)if(!n.isAnimationIterationCountKeyword(i[1])&&!n.isPositiveNumber(i[1])||E)if(n.isAnimationDirectionKeyword(i[1])&&!x)h.value=[i],x=!0;else if(n.isAnimationFillModeKeyword(i[1])&&!C)m.value=[i],C=!0;else if(n.isAnimationPlayStateKeyword(i[1])&&!k)g.value=[i],k=!0;else{if(!n.isAnimationNameKeyword(i[1])&&!n.isIdentifier(i[1])||O)throw new c("Invalid animation value at "+d(i[2][0])+". Ignoring.");v.value=[i],O=!0}else p.value=[i],E=!0;else l.value=[i],w=!0;return b},background:function(e,t,n){var r=a("background-image",e,t),i=a("background-position",e,t),o=a("background-size",e,t),s=a("background-repeat",e,t),u=a("background-attachment",e,t),l=a("background-origin",e,t),f=a("background-clip",e,t),p=a("background-color",e,t),m=[r,i,o,s,u,l,f,p],g=e.value,v=!1,b=!1,y=!1,_=!1,w=!1;if(1==e.value.length&&"inherit"==e.value[0][1])return p.value=r.value=s.value=i.value=o.value=l.value=f.value=e.value,m;if(1==e.value.length&&"0 0"==e.value[0][1])return m;for(var A=g.length-1;A>=0;A--){var E=g[A];if(n.isBackgroundAttachmentKeyword(E[1]))u.value=[E],w=!0;else if(n.isBackgroundClipKeyword(E[1])||n.isBackgroundOriginKeyword(E[1]))b?(l.value=[E],y=!0):(f.value=[E],b=!0),w=!0;else if(n.isBackgroundRepeatKeyword(E[1]))_?s.value.unshift(E):(s.value=[E],_=!0),w=!0;else if(n.isBackgroundPositionKeyword(E[1])||n.isBackgroundSizeKeyword(E[1])||n.isUnit(E[1])||n.isDynamicUnit(E[1])){if(A>0){var x=g[A-1];x[1]==h.FORWARD_SLASH?o.value=[E]:A>1&&g[A-2][1]==h.FORWARD_SLASH?(o.value=[x,E],A-=2):(v||(i.value=[]),i.value.unshift(E),v=!0)}else v||(i.value=[]),i.value.unshift(E),v=!0;w=!0}else p.value[0][1]!=t[p.name].defaultValue&&"none"!=p.value[0][1]||!n.isColor(E[1])&&!n.isPrefixed(E[1])?(n.isUrl(E[1])||n.isFunction(E[1]))&&(r.value=[E],w=!0):(p.value=[E],w=!0)}if(b&&!y&&(l.value=f.value.slice(0)),!w)throw new c("Invalid background value at "+d(g[0][2][0])+". Ignoring.");return m},border:l,borderRadius:function(e,t){for(var n=e.value,r=-1,i=0,o=n.length;i<o;i++)if(n[i][1]==h.FORWARD_SLASH){r=i;break}if(0===r||r===n.length-1)throw new c("Invalid border-radius value at "+d(n[0][2][0])+". Ignoring.");var s=a(e.name,e,t);s.value=r>-1?n.slice(0,r):n.slice(0),s.components=u(s,t);var l=a(e.name,e,t);l.value=r>-1?n.slice(r+1):n.slice(0),l.components=u(l,t);for(var f=0;f<4;f++)s.components[f].multiplex=!0,s.components[f].value=s.components[f].value.concat(l.components[f].value);return s.components},font:function(e,t,n){var i,o,s,u,l=a("font-style",e,t),f=a("font-variant",e,t),p=a("font-weight",e,t),m=a("font-stretch",e,t),g=a("font-size",e,t),v=a("line-height",e,t),b=a("font-family",e,t),y=[l,f,p,m,g,v,b],_=e.value,w=0,A=!1,E=!1,x=!1,C=!1,k=!1,O=!1;if(!_[w])throw new c("Missing font values at "+d(e.all[e.position][1][2][0])+". Ignoring.");if(1==_.length&&"inherit"==_[0][1])return l.value=f.value=p.value=m.value=g.value=v.value=b.value=_,y;if(1==_.length&&(n.isFontKeyword(_[0][1])||n.isGlobal(_[0][1])||n.isPrefixed(_[0][1])))return _[0][1]=h.INTERNAL+_[0][1],l.value=f.value=p.value=m.value=g.value=v.value=b.value=_,y;if(_.length>1&&r(_))throw new c("Invalid font values at "+d(_[0][2][0])+". Ignoring.");for(;w<4;){if(i=n.isFontStretchKeyword(_[w][1])||n.isGlobal(_[w][1]),o=n.isFontStyleKeyword(_[w][1])||n.isGlobal(_[w][1]),s=n.isFontVariantKeyword(_[w][1])||n.isGlobal(_[w][1]),u=n.isFontWeightKeyword(_[w][1])||n.isGlobal(_[w][1]),o&&!E)l.value=[_[w]],E=!0;else if(s&&!x)f.value=[_[w]],x=!0;else if(u&&!C)p.value=[_[w]],C=!0;else{if(!i||A){if(o&&E||s&&x||u&&C||i&&A)throw new c("Invalid font style / variant / weight / stretch value at "+d(_[0][2][0])+". Ignoring.");break}m.value=[_[w]],A=!0}w++}if(!(n.isFontSizeKeyword(_[w][1])||n.isUnit(_[w][1])&&!n.isDynamicUnit(_[w][1])))throw new c("Missing font size at "+d(_[0][2][0])+". Ignoring.");if(g.value=[_[w]],k=!0,w++,!_[w])throw new c("Missing font family at "+d(_[0][2][0])+". Ignoring.");for(k&&_[w]&&_[w][1]==h.FORWARD_SLASH&&_[w+1]&&(n.isLineHeightKeyword(_[w+1][1])||n.isUnit(_[w+1][1])||n.isNumber(_[w+1][1]))&&(v.value=[_[w+1]],w++,w++),b.value=[];_[w];)_[w][1]==h.COMMA?O=!1:(O?b.value[b.value.length-1][1]+=h.SPACE+_[w][1]:b.value.push(_[w]),O=!0),w++;if(0===b.value.length)throw new c("Missing font family at "+d(_[0][2][0])+". Ignoring.");return y},fourValues:u,listStyle:function(e,t,n){var r=a("list-style-type",e,t),i=a("list-style-position",e,t),o=a("list-style-image",e,t),s=[r,i,o];if(1==e.value.length&&"inherit"==e.value[0][1])return r.value=i.value=o.value=[e.value[0]],s;var u=e.value.slice(0),l=u.length,c=0;for(c=0,l=u.length;c<l;c++)if(n.isUrl(u[c][1])||"0"==u[c][1]){o.value=[u[c]],u.splice(c,1);break}for(c=0,l=u.length;c<l;c++)if(n.isListStylePositionKeyword(u[c][1])){i.value=[u[c]],u.splice(c,1);break}return u.length>0&&(n.isListStyleTypeKeyword(u[0][1])||n.isIdentifier(u[0][1]))&&(r.value=[u[0]]),s},multiplex:function(e){return function(t,n,r){var i,o,s,u,l=[],c=t.value;for(i=0,s=c.length;i<s;i++)","==c[i][1]&&l.push(i);if(0===l.length)return e(t,n,r);var f=[];for(i=0,s=l.length;i<=s;i++){var d=0===i?0:l[i-1]+1,m=i<s?l[i]:c.length,g=a(t.name,t,n);g.value=c.slice(d,m),f.push(e(g,n,r))}var v=f[0];for(i=0,s=v.length;i<s;i++)for(v[i].multiplex=!0,o=1,u=f.length;o<u;o++)v[i].value.push([p.PROPERTY_VALUE,h.COMMA]),Array.prototype.push.apply(v[i].value,f[o][i].value);return v}},outline:l}},{"../../tokenizer/marker":83,"../../tokenizer/token":84,"../../utils/format-position":87,"../wrap-for-optimizing":58,"./invalid-property-error":23}],19:[function(e,t,n){function r(e,t,n){return!(!e.isFunction(t)||!e.isFunction(n))&&t.substring(0,t.indexOf("("))===n.substring(0,n.indexOf("("))}function i(e){return function(t,n,r){return!(!l(t,n,r,0,!0)&&!t.isKeyword(e)(r))&&(!(!t.isVariable(n)||!t.isVariable(r))||t.isKeyword(e)(r))}}function o(e){return function(t,n,r){return!!(l(t,n,r,0,!0)||t.isKeyword(e)(r)||t.isGlobal(r))&&(!(!t.isVariable(n)||!t.isVariable(r))||(t.isKeyword(e)(r)||t.isGlobal(r)))}}function a(e,t,n){return!!r(e,t,n)||t===n}function s(e,t,n){return!(!l(e,t,n,0,!0)&&!e.isUnit(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||!(e.isUnit(t)&&!e.isUnit(n))&&(!!e.isUnit(n)||!e.isUnit(t)&&(!(!e.isFunction(t)||e.isPrefixed(t)||!e.isFunction(n)||e.isPrefixed(n))||a(e,t,n))))}function u(e){var t=o(e);return function(e,n,r){return s(e,n,r)||t(e,n,r)}}var l=e("./properties/understandable");t.exports={generic:{color:function(e,t,n){return!(!l(e,t,n,0,!0)&&!e.isColor(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||!(!e.colorOpacity&&(e.isRgbColor(t)||e.isHslColor(t)))&&!(!e.colorOpacity&&(e.isRgbColor(n)||e.isHslColor(n)))&&(!(!e.isColor(t)||!e.isColor(n))||a(e,t,n)))},components:function(e){return function(t,n,r,i){return e[i](t,n,r)}},image:function(e,t,n){return!(!l(e,t,n,0,!0)&&!e.isImage(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||!!e.isImage(n)||!e.isImage(t)&&a(e,t,n))},time:function(e,t,n){return!(!l(e,t,n,0,!0)&&!e.isTime(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||!(e.isTime(t)&&!e.isTime(n))&&(!!e.isTime(n)||!e.isTime(t)&&(!(!e.isFunction(t)||e.isPrefixed(t)||!e.isFunction(n)||e.isPrefixed(n))||a(e,t,n))))},unit:s},property:{animationDirection:o("animation-direction"),animationFillMode:i("animation-fill-mode"),animationIterationCount:function(e,t,n){return!!(l(e,t,n,0,!0)||e.isAnimationIterationCountKeyword(n)||e.isPositiveNumber(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||e.isAnimationIterationCountKeyword(n)||e.isPositiveNumber(n))},animationName:function(e,t,n){return!!(l(e,t,n,0,!0)||e.isAnimationNameKeyword(n)||e.isIdentifier(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||e.isAnimationNameKeyword(n)||e.isIdentifier(n))},animationPlayState:o("animation-play-state"),animationTimingFunction:function(e,t,n){return!!(l(e,t,n,0,!0)||e.isAnimationTimingFunction(n)||e.isGlobal(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||e.isAnimationTimingFunction(n)||e.isGlobal(n))},backgroundAttachment:i("background-attachment"),backgroundClip:o("background-clip"),backgroundOrigin:i("background-origin"),backgroundPosition:function(e,t,n){return!!(l(e,t,n,0,!0)||e.isBackgroundPositionKeyword(n)||e.isGlobal(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||!(!e.isBackgroundPositionKeyword(n)&&!e.isGlobal(n))||s(e,t,n))},backgroundRepeat:i("background-repeat"),backgroundSize:function(e,t,n){return!!(l(e,t,n,0,!0)||e.isBackgroundSizeKeyword(n)||e.isGlobal(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||!(!e.isBackgroundSizeKeyword(n)&&!e.isGlobal(n))||s(e,t,n))},bottom:u("bottom"),borderCollapse:i("border-collapse"),borderStyle:o("*-style"),clear:o("clear"),cursor:o("cursor"),display:o("display"),float:o("float"),left:u("left"),fontFamily:function(e,t,n){return l(e,t,n,0,!0)},fontStretch:o("font-stretch"),fontStyle:o("font-style"),fontVariant:o("font-variant"),fontWeight:o("font-weight"),listStyleType:o("list-style-type"),listStylePosition:o("list-style-position"),outlineStyle:o("*-style"),overflow:o("overflow"),position:o("position"),right:u("right"),textAlign:o("text-align"),textDecoration:o("text-decoration"),textOverflow:o("text-overflow"),textShadow:function(e,t,n){return!!(l(e,t,n,0,!0)||e.isUnit(n)||e.isColor(n)||e.isGlobal(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||e.isUnit(n)||e.isColor(n)||e.isGlobal(n))},top:u("top"),transform:a,verticalAlign:u("vertical-align"),visibility:o("visibility"),whiteSpace:o("white-space"),zIndex:function(e,t,n){return!(!l(e,t,n,0,!0)&&!e.isZIndex(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||e.isZIndex(n))}}}},{"./properties/understandable":40}],20:[function(e,t,n){function r(e){var t=i([o.PROPERTY,[o.PROPERTY_NAME,e.name]]);return t.important=e.important,t.hack=e.hack,t.unused=!1,t}var i=e("../wrap-for-optimizing").single,o=e("../../tokenizer/token");t.exports={deep:function(e){for(var t=r(e),n=e.components.length-1;n>=0;n--){var i=r(e.components[n]);i.value=e.components[n].value.slice(0),t.components.unshift(i)}return t.dirty=!0,t.value=e.value.slice(0),t},shallow:r}},{"../../tokenizer/token":84,"../wrap-for-optimizing":58}],21:[function(e,t,n){var r=e("./break-up"),i=e("./can-override"),o=e("./restore"),a=e("../../utils/override"),s={animation:{canOverride:i.generic.components([i.generic.time,i.property.animationTimingFunction,i.generic.time,i.property.animationIterationCount,i.property.animationDirection,i.property.animationFillMode,i.property.animationPlayState,i.property.animationName]),components:["animation-duration","animation-timing-function","animation-delay","animation-iteration-count","animation-direction","animation-fill-mode","animation-play-state","animation-name"],breakUp:r.multiplex(r.animation),defaultValue:"none",restore:o.multiplex(o.withoutDefaults),shorthand:!0,vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-delay":{canOverride:i.generic.time,componentOf:["animation"],defaultValue:"0s",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-direction":{canOverride:i.property.animationDirection,componentOf:["animation"],defaultValue:"normal",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-duration":{canOverride:i.generic.time,componentOf:["animation"],defaultValue:"0s",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-fill-mode":{canOverride:i.property.animationFillMode,componentOf:["animation"],defaultValue:"none",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-iteration-count":{canOverride:i.property.animationIterationCount,componentOf:["animation"],defaultValue:"1",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-name":{canOverride:i.property.animationName,componentOf:["animation"],defaultValue:"none",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-play-state":{canOverride:i.property.animationPlayState,componentOf:["animation"],defaultValue:"running",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-timing-function":{canOverride:i.property.animationTimingFunction,componentOf:["animation"],defaultValue:"ease",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},background:{canOverride:i.generic.components([i.generic.image,i.property.backgroundPosition,i.property.backgroundSize,i.property.backgroundRepeat,i.property.backgroundAttachment,i.property.backgroundOrigin,i.property.backgroundClip,i.generic.color]),components:["background-image","background-position","background-size","background-repeat","background-attachment","background-origin","background-clip","background-color"],breakUp:r.multiplex(r.background),defaultValue:"0 0",restore:o.multiplex(o.background),shortestValue:"0",shorthand:!0},"background-attachment":{canOverride:i.property.backgroundAttachment,componentOf:["background"],defaultValue:"scroll",intoMultiplexMode:"real"},"background-clip":{canOverride:i.property.backgroundClip,componentOf:["background"],defaultValue:"border-box",intoMultiplexMode:"real",shortestValue:"border-box"},"background-color":{canOverride:i.generic.color,componentOf:["background"],defaultValue:"transparent",intoMultiplexMode:"real",multiplexLastOnly:!0,nonMergeableValue:"none",shortestValue:"red"},"background-image":{canOverride:i.generic.image,componentOf:["background"],defaultValue:"none",intoMultiplexMode:"default"},"background-origin":{canOverride:i.property.backgroundOrigin,componentOf:["background"],defaultValue:"padding-box",intoMultiplexMode:"real",shortestValue:"border-box"},"background-position":{canOverride:i.property.backgroundPosition,componentOf:["background"],defaultValue:["0","0"],doubleValues:!0,intoMultiplexMode:"real",shortestValue:"0"},"background-repeat":{canOverride:i.property.backgroundRepeat,componentOf:["background"],defaultValue:["repeat"],doubleValues:!0,intoMultiplexMode:"real"},"background-size":{canOverride:i.property.backgroundSize,componentOf:["background"],defaultValue:["auto"],doubleValues:!0,intoMultiplexMode:"real",shortestValue:"0 0"},bottom:{canOverride:i.property.bottom,defaultValue:"auto"},border:{breakUp:r.border,canOverride:i.generic.components([i.generic.unit,i.property.borderStyle,i.generic.color]),components:["border-width","border-style","border-color"],defaultValue:"none",overridesShorthands:["border-bottom","border-left","border-right","border-top"],restore:o.withoutDefaults,shorthand:!0,shorthandComponents:!0},"border-bottom":{breakUp:r.border,canOverride:i.generic.components([i.generic.unit,i.property.borderStyle,i.generic.color]),components:["border-bottom-width","border-bottom-style","border-bottom-color"],defaultValue:"none",restore:o.withoutDefaults,shorthand:!0},"border-bottom-color":{canOverride:i.generic.color,componentOf:["border-bottom","border-color"],defaultValue:"none"},"border-bottom-left-radius":{canOverride:i.generic.unit,componentOf:["border-radius"],defaultValue:"0",vendorPrefixes:["-moz-","-o-"]},"border-bottom-right-radius":{canOverride:i.generic.unit,componentOf:["border-radius"],defaultValue:"0",vendorPrefixes:["-moz-","-o-"]},"border-bottom-style":{canOverride:i.property.borderStyle,componentOf:["border-bottom","border-style"],defaultValue:"none"},"border-bottom-width":{canOverride:i.generic.unit,componentOf:["border-bottom","border-width"],defaultValue:"medium",oppositeTo:"border-top-width",shortestValue:"0"},"border-collapse":{canOverride:i.property.borderCollapse,defaultValue:"separate"},"border-color":{breakUp:r.fourValues,canOverride:i.generic.components([i.generic.color,i.generic.color,i.generic.color,i.generic.color]),componentOf:["border"],components:["border-top-color","border-right-color","border-bottom-color","border-left-color"],defaultValue:"none",restore:o.fourValues,shortestValue:"red",shorthand:!0},"border-left":{breakUp:r.border,canOverride:i.generic.components([i.generic.unit,i.property.borderStyle,i.generic.color]),components:["border-left-width","border-left-style","border-left-color"],defaultValue:"none",restore:o.withoutDefaults,shorthand:!0},"border-left-color":{canOverride:i.generic.color,componentOf:["border-color","border-left"],defaultValue:"none"},"border-left-style":{canOverride:i.property.borderStyle,componentOf:["border-left","border-style"],defaultValue:"none"},"border-left-width":{canOverride:i.generic.unit,componentOf:["border-left","border-width"],defaultValue:"medium",oppositeTo:"border-right-width",shortestValue:"0"},"border-radius":{breakUp:r.borderRadius,canOverride:i.generic.components([i.generic.unit,i.generic.unit,i.generic.unit,i.generic.unit]),components:["border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius"],defaultValue:"0",restore:o.borderRadius,shorthand:!0,vendorPrefixes:["-moz-","-o-"]},"border-right":{breakUp:r.border,canOverride:i.generic.components([i.generic.unit,i.property.borderStyle,i.generic.color]),components:["border-right-width","border-right-style","border-right-color"],defaultValue:"none",restore:o.withoutDefaults,shorthand:!0},"border-right-color":{canOverride:i.generic.color,componentOf:["border-color","border-right"],defaultValue:"none"},"border-right-style":{canOverride:i.property.borderStyle,componentOf:["border-right","border-style"],defaultValue:"none"},"border-right-width":{canOverride:i.generic.unit,componentOf:["border-right","border-width"],defaultValue:"medium",oppositeTo:"border-left-width",shortestValue:"0"},"border-style":{breakUp:r.fourValues,canOverride:i.generic.components([i.property.borderStyle,i.property.borderStyle,i.property.borderStyle,i.property.borderStyle]),componentOf:["border"],components:["border-top-style","border-right-style","border-bottom-style","border-left-style"],defaultValue:"none",restore:o.fourValues,shorthand:!0},"border-top":{breakUp:r.border,canOverride:i.generic.components([i.generic.unit,i.property.borderStyle,i.generic.color]),components:["border-top-width","border-top-style","border-top-color"],defaultValue:"none",restore:o.withoutDefaults,shorthand:!0},"border-top-color":{canOverride:i.generic.color,componentOf:["border-color","border-top"],defaultValue:"none"},"border-top-left-radius":{canOverride:i.generic.unit,componentOf:["border-radius"],defaultValue:"0",vendorPrefixes:["-moz-","-o-"]},"border-top-right-radius":{canOverride:i.generic.unit,componentOf:["border-radius"],defaultValue:"0",vendorPrefixes:["-moz-","-o-"]},"border-top-style":{canOverride:i.property.borderStyle,componentOf:["border-style","border-top"],defaultValue:"none"},"border-top-width":{canOverride:i.generic.unit,componentOf:["border-top","border-width"],defaultValue:"medium",oppositeTo:"border-bottom-width",shortestValue:"0"},"border-width":{breakUp:r.fourValues,canOverride:i.generic.components([i.generic.unit,i.generic.unit,i.generic.unit,i.generic.unit]),componentOf:["border"],components:["border-top-width","border-right-width","border-bottom-width","border-left-width"],defaultValue:"medium",restore:o.fourValues,shortestValue:"0",shorthand:!0},clear:{canOverride:i.property.clear,defaultValue:"none"},color:{canOverride:i.generic.color,defaultValue:"transparent",shortestValue:"red"},cursor:{canOverride:i.property.cursor,defaultValue:"auto"},display:{canOverride:i.property.display},float:{canOverride:i.property.float,defaultValue:"none"},font:{breakUp:r.font,canOverride:i.generic.components([i.property.fontStyle,i.property.fontVariant,i.property.fontWeight,i.property.fontStretch,i.generic.unit,i.generic.unit,i.property.fontFamily]),components:["font-style","font-variant","font-weight","font-stretch","font-size","line-height","font-family"],restore:o.font,shorthand:!0},"font-family":{canOverride:i.property.fontFamily,defaultValue:"user|agent|specific"},"font-size":{canOverride:i.generic.unit,defaultValue:"medium",shortestValue:"0"},"font-stretch":{canOverride:i.property.fontStretch,defaultValue:"normal"},"font-style":{canOverride:i.property.fontStyle,defaultValue:"normal"},"font-variant":{canOverride:i.property.fontVariant,defaultValue:"normal"},"font-weight":{canOverride:i.property.fontWeight,defaultValue:"normal",shortestValue:"400"},height:{canOverride:i.generic.unit,defaultValue:"auto",shortestValue:"0"},left:{canOverride:i.property.left,defaultValue:"auto"},"line-height":{canOverride:i.generic.unit,defaultValue:"normal",shortestValue:"0"},"list-style":{canOverride:i.generic.components([i.property.listStyleType,i.property.listStylePosition,i.property.listStyleImage]),components:["list-style-type","list-style-position","list-style-image"],breakUp:r.listStyle,restore:o.withoutDefaults,defaultValue:"outside",shortestValue:"none",shorthand:!0},"list-style-image":{canOverride:i.generic.image,componentOf:["list-style"],defaultValue:"none"},"list-style-position":{canOverride:i.property.listStylePosition,componentOf:["list-style"],defaultValue:"outside",shortestValue:"inside"},"list-style-type":{canOverride:i.property.listStyleType,componentOf:["list-style"],defaultValue:"decimal|disc",shortestValue:"none"},margin:{breakUp:r.fourValues,canOverride:i.generic.components([i.generic.unit,i.generic.unit,i.generic.unit,i.generic.unit]),components:["margin-top","margin-right","margin-bottom","margin-left"],defaultValue:"0",restore:o.fourValues,shorthand:!0},"margin-bottom":{canOverride:i.generic.unit,componentOf:["margin"],defaultValue:"0",oppositeTo:"margin-top"},"margin-left":{canOverride:i.generic.unit,componentOf:["margin"],defaultValue:"0",oppositeTo:"margin-right"},"margin-right":{canOverride:i.generic.unit,componentOf:["margin"],defaultValue:"0",oppositeTo:"margin-left"},"margin-top":{canOverride:i.generic.unit,componentOf:["margin"],defaultValue:"0",oppositeTo:"margin-bottom"},outline:{canOverride:i.generic.components([i.generic.color,i.property.outlineStyle,i.generic.unit]),components:["outline-color","outline-style","outline-width"],breakUp:r.outline,restore:o.withoutDefaults,defaultValue:"0",shorthand:!0},"outline-color":{canOverride:i.generic.color,componentOf:["outline"],defaultValue:"invert",shortestValue:"red"},"outline-style":{canOverride:i.property.outlineStyle,componentOf:["outline"],defaultValue:"none"},"outline-width":{canOverride:i.generic.unit,componentOf:["outline"],defaultValue:"medium",shortestValue:"0"},overflow:{canOverride:i.property.overflow,defaultValue:"visible"},"overflow-x":{canOverride:i.property.overflow,defaultValue:"visible"},"overflow-y":{canOverride:i.property.overflow,defaultValue:"visible"},padding:{breakUp:r.fourValues,canOverride:i.generic.components([i.generic.unit,i.generic.unit,i.generic.unit,i.generic.unit]),components:["padding-top","padding-right","padding-bottom","padding-left"],defaultValue:"0",restore:o.fourValues,shorthand:!0},"padding-bottom":{canOverride:i.generic.unit,componentOf:["padding"],defaultValue:"0",oppositeTo:"padding-top"},"padding-left":{canOverride:i.generic.unit,componentOf:["padding"],defaultValue:"0",oppositeTo:"padding-right"},"padding-right":{canOverride:i.generic.unit,componentOf:["padding"],defaultValue:"0",oppositeTo:"padding-left"},"padding-top":{canOverride:i.generic.unit,componentOf:["padding"],defaultValue:"0",oppositeTo:"padding-bottom"},position:{canOverride:i.property.position,defaultValue:"static"},right:{canOverride:i.property.right,defaultValue:"auto"},"text-align":{canOverride:i.property.textAlign,defaultValue:"left|right"},"text-decoration":{canOverride:i.property.textDecoration,defaultValue:"none"},"text-overflow":{canOverride:i.property.textOverflow,defaultValue:"none"},"text-shadow":{canOverride:i.property.textShadow,defaultValue:"none"},top:{canOverride:i.property.top,defaultValue:"auto"},transform:{canOverride:i.property.transform,vendorPrefixes:["-moz-","-ms-","-webkit-"]},"vertical-align":{canOverride:i.property.verticalAlign,defaultValue:"baseline"},visibility:{canOverride:i.property.visibility,defaultValue:"visible"},"white-space":{canOverride:i.property.whiteSpace,defaultValue:"normal"},width:{canOverride:i.generic.unit,defaultValue:"auto",shortestValue:"0"},"z-index":{canOverride:i.property.zIndex,defaultValue:"auto"}},u={};for(var l in s){var c=s[l];if("vendorPrefixes"in c){for(var f=0;f<c.vendorPrefixes.length;f++){var p=c.vendorPrefixes[f],h=function(e,t){var n=a(s[e],{});return"componentOf"in n&&(n.componentOf=n.componentOf.map(function(e){return t+e})),"components"in n&&(n.components=n.components.map(function(e){return t+e})),n}(l,p);delete h.vendorPrefixes,u[p+l]=h}delete c.vendorPrefixes}}t.exports=a(s,u)},{"../../utils/override":95,"./break-up":18,"./can-override":19,"./restore":49}],22:[function(e,t,n){function r(e){var t,n,u,l,c,f,p=[];if(e[0]==o.RULE)for(t=!/[\.\+>~]/.test(a(e[1])),c=0,f=e[2].length;c<f;c++)(n=e[2][c])[0]==o.PROPERTY&&0!==(u=n[1][1]).length&&0!==u.indexOf("--")&&(l=s(n,c),p.push([u,l,i(u),e[2][c],u+":"+l,e[1],t]));else if(e[0]==o.NESTED_BLOCK)for(c=0,f=e[2].length;c<f;c++)p=p.concat(r(e[2][c]));return p}function i(e){return"list-style"==e?e:e.indexOf("-radius")>0?"border-radius":"border-collapse"==e||"border-spacing"==e||"border-image"==e?e:0===e.indexOf("border-")&&/^border\-\w+\-\w+$/.test(e)?e.match(/border\-\w+/)[0]:0===e.indexOf("border-")&&/^border\-\w+$/.test(e)?"border":0===e.indexOf("text-")?e:"-chrome-"==e?e:e.replace(/^\-\w+\-/,"").match(/([a-zA-Z]+)/)[0].toLowerCase()}var o=e("../../tokenizer/token"),a=e("../../writer/one-time").rules,s=e("../../writer/one-time").value;t.exports=r},{"../../tokenizer/token":84,"../../writer/one-time":98}],23:[function(e,t,n){function r(e){this.name="InvalidPropertyError",this.message=e,this.stack=(new Error).stack}(r.prototype=Object.create(Error.prototype)).constructor=r,t.exports=r},{}],24:[function(e,t,n){function r(e){return h.test(e)}function i(e){var t,n,r,i,o,a,s=[],u=[],l=_.ROOT,c=0,p=!1,h=!1;for(o=0,a=e.length;o<a;o++)t=e[o],i=!r&&v.test(t),n=l==_.DOUBLE_QUOTE||l==_.SINGLE_QUOTE,r?u.push(t):t==f.DOUBLE_QUOTE&&l==_.ROOT?(u.push(t),l=_.DOUBLE_QUOTE):t==f.DOUBLE_QUOTE&&l==_.DOUBLE_QUOTE?(u.push(t),l=_.ROOT):t==f.SINGLE_QUOTE&&l==_.ROOT?(u.push(t),l=_.SINGLE_QUOTE):t==f.SINGLE_QUOTE&&l==_.SINGLE_QUOTE?(u.push(t),l=_.ROOT):n?u.push(t):t==f.OPEN_ROUND_BRACKET?(u.push(t),c++):t==f.CLOSE_ROUND_BRACKET&&1==c&&p?(u.push(t),s.push(u.join("")),c--,u=[],p=!1):t==f.CLOSE_ROUND_BRACKET?(u.push(t),c--):t==f.COLON&&0===c&&p&&!h?(s.push(u.join("")),(u=[]).push(t)):t!=f.COLON||0!==c||h?t==f.SPACE&&0===c&&p?(s.push(u.join("")),u=[],p=!1):i&&0===c&&p?(s.push(u.join("")),u=[],p=!1):u.push(t):((u=[]).push(t),p=!0),r=t==f.BACK_SLASH,h=t==f.COLON;return u.length>0&&p&&s.push(u.join("")),s}function o(e,t,n,r,i){return a(t,n,r)&&s(t)&&(t.length<2||!u(e,t))&&(t.length<2||i&&l(t))}function a(e,t,n){var r,i,o,a;for(o=0,a=e.length;o<a;o++)if(r=e[o],i=r.indexOf(f.OPEN_ROUND_BRACKET)>-1?r.substring(0,r.indexOf(f.OPEN_ROUND_BRACKET)):r,-1===t.indexOf(i)&&-1===n.indexOf(i))return!1;return!0}function s(e){var t,n,r,i,o,a;for(o=0,a=e.length;o<a;o++){if(t=e[o],r=t.indexOf(f.OPEN_ROUND_BRACKET),i=r>-1,n=i?t.substring(0,r):t,i&&-1==g.indexOf(n))return!1;if(!i&&g.indexOf(n)>-1)return!1}return!0}function u(e,t){var n,r,i,o,a,s,u,l,c=0;for(u=0,l=t.length;u<l&&(n=t[u],i=t[u+1]);u++)if(r=e.indexOf(n,c),o=e.indexOf(n,r+1),c=o,r+n.length==o&&(a=n.indexOf(f.OPEN_ROUND_BRACKET)>-1?n.substring(0,n.indexOf(f.OPEN_ROUND_BRACKET)):n,s=i.indexOf(f.OPEN_ROUND_BRACKET)>-1?i.substring(0,i.indexOf(f.OPEN_ROUND_BRACKET)):i,a!=m||s!=m))return!0;return!1}function l(e){var t,n,r,i=0;for(n=0,r=e.length;n<r;n++)if(t=e[n],c(t)?i+=y.indexOf(t)>-1?1:0:i+=b.indexOf(t)>-1?1:0,i>1)return!1;return!0}function c(e){return d.test(e)}var f=e("../../tokenizer/marker"),p=e("../../utils/split"),h=/\/deep\//,d=/^::/,m=":not",g=[":dir",":lang",":not",":nth-child",":nth-last-child",":nth-last-of-type",":nth-of-type"],v=/[>\+~]/,b=[":after",":before",":first-letter",":first-line",":lang"],y=["::after","::before","::first-letter","::first-line"],_={DOUBLE_QUOTE:"double-quote",SINGLE_QUOTE:"single-quote",ROOT:"root"};t.exports=function(e,t,n,a){var s,u,l,c=p(e,f.COMMA);for(u=0,l=c.length;u<l;u++)if(0===(s=c[u]).length||r(s)||s.indexOf(f.COLON)>-1&&!o(s,i(s),t,n,a))return!1;return!0}},{"../../tokenizer/marker":83,"../../utils/split":96}],25:[function(e,t,n){var r=e("./is-mergeable"),i=e("./properties/optimize"),o=e("../level-1/sort-selectors"),a=e("../level-1/tidy-rules"),s=e("../../options/optimization-level").OptimizationLevel,u=e("../../writer/one-time").body,l=e("../../writer/one-time").rules,c=e("../../tokenizer/token");t.exports=function(e,t){for(var n=[null,[],[]],f=t.options,p=f.compatibility.selectors.adjacentSpace,h=f.level[s.One].selectorsSortingMethod,d=f.compatibility.selectors.mergeablePseudoClasses,m=f.compatibility.selectors.mergeablePseudoElements,g=f.compatibility.selectors.mergeLimit,v=f.compatibility.selectors.multiplePseudoMerging,b=0,y=e.length;b<y;b++){var _=e[b];_[0]==c.RULE?n[0]==c.RULE&&l(_[1])==l(n[1])?(Array.prototype.push.apply(n[2],_[2]),i(n[2],!0,!0,t),_[2]=[]):n[0]==c.RULE&&u(_[2])==u(n[2])&&r(l(_[1]),d,m,v)&&r(l(n[1]),d,m,v)&&n[1].length<g?(n[1]=a(n[1].concat(_[1]),!1,p,!1,t.warnings),n[1]=n.length>1?o(n[1],h):n[1],_[2]=[]):n=_:n=[null,[],[]]}}},{"../../options/optimization-level":65,"../../tokenizer/token":84,"../../writer/one-time":98,"../level-1/sort-selectors":14,"../level-1/tidy-rules":17,"./is-mergeable":24,"./properties/optimize":36}],26:[function(e,t,n){function r(e,t,n){var r,i,a,u,l,c,f,p;for(l=0,c=e.length;l<c;l++)for(i=(r=e[l])[5],f=0,p=t.length;f<p;f++)if(a=t[f],u=a[5],s(i,u,!0)&&!o(r,a,n))return!1;return!0}var i=e("./reorderable").canReorder,o=e("./reorderable").canReorderSingle,a=e("./extract-properties"),s=e("./rules-overlap"),u=e("../../writer/one-time").rules,l=e("../../options/optimization-level").OptimizationLevel,c=e("../../tokenizer/token");t.exports=function(e,t){for(var n=t.options.level[l.Two].mergeSemantically,o=t.cache.specificity,s={},f=[],p=e.length-1;p>=0;p--){var h=e[p];if(h[0]==c.NESTED_BLOCK){var d=u(h[1]),m=s[d];m||(m=[],s[d]=m),m.push(p)}}for(var g in s){var v=s[g];e:for(var b=v.length-1;b>0;b--){var y=v[b],_=e[y],w=v[b-1],A=e[w];t:for(var E=1;E>=-1;E-=2){for(var x=1==E,C=x?y+1:w-1,k=x?w:y,O=x?1:-1,S=x?_:A,D=x?A:_,B=a(S);C!=k;){var T=a(e[C]);if(C+=O,!(n&&r(B,T,o)||i(B,T,o)))continue t}D[2]=x?S[2].concat(D[2]):D[2].concat(S[2]),S[2]=[],f.push(D);continue e}}}return f}},{"../../options/optimization-level":65,"../../tokenizer/token":84,"../../writer/one-time":98,"./extract-properties":22,"./reorderable":47,"./rules-overlap":51}],27:[function(e,t,n){function r(e){return/\.|\*| :/.test(e)}function i(e){var t=p(e[1]);return t.indexOf("__")>-1||t.indexOf("--")>-1}function o(e){return e.replace(/--[^ ,>\+~:]+/g,"")}function a(e,t){var n=o(p(e[1]));for(var r in t){var i=t[r],a=o(p(i[1]));(a.indexOf(n)>-1||n.indexOf(a)>-1)&&delete t[r]}}var s=e("./is-mergeable"),u=e("../level-1/sort-selectors"),l=e("../level-1/tidy-rules"),c=e("../../options/optimization-level").OptimizationLevel,f=e("../../writer/one-time").body,p=e("../../writer/one-time").rules,h=e("../../tokenizer/token");t.exports=function(e,t){for(var n=t.options,o=n.level[c.Two].mergeSemantically,d=n.compatibility.selectors.adjacentSpace,m=n.level[c.One].selectorsSortingMethod,g=n.compatibility.selectors.mergeablePseudoClasses,v=n.compatibility.selectors.mergeablePseudoElements,b=n.compatibility.selectors.multiplePseudoMerging,y={},_=e.length-1;_>=0;_--){var w=e[_];if(w[0]==h.RULE){w[2].length>0&&!o&&r(p(w[1]))&&(y={}),w[2].length>0&&o&&i(w)&&a(w,y);var A=f(w[2]),E=y[A];E&&s(p(w[1]),g,v,b)&&s(p(E[1]),g,v,b)&&(w[2].length>0?(w[1]=l(E[1].concat(w[1]),!1,d,!1,t.warnings),w[1]=w[1].length>1?u(w[1],m):w[1]):w[1]=E[1].concat(w[1]),E[2]=[],y[A]=null),y[f(w[2])]=w}}}},{"../../options/optimization-level":65,"../../tokenizer/token":84,"../../writer/one-time":98,"../level-1/sort-selectors":14,"../level-1/tidy-rules":17,"./is-mergeable":24}],28:[function(e,t,n){var r=e("./reorderable").canReorder,i=e("./extract-properties"),o=e("./properties/optimize"),a=e("../../writer/one-time").rules,s=e("../../tokenizer/token");t.exports=function(e,t){var n,u=t.cache.specificity,l={},c=[];for(n=e.length-1;n>=0;n--)if(e[n][0]==s.RULE&&0!==e[n][2].length){var f=a(e[n][1]);l[f]=[n].concat(l[f]||[]),2==l[f].length&&c.push(f)}for(n=c.length-1;n>=0;n--){var p=l[c[n]];e:for(var h=p.length-1;h>0;h--){var d=p[h-1],m=e[d],g=p[h],v=e[g];t:for(var b=1;b>=-1;b-=2){for(var y=1==b,_=y?d+1:g-1,w=y?g:d,A=y?1:-1,E=y?m:v,x=y?v:m,C=i(E);_!=w;){var k=i(e[_]);_+=A;var O=y?r(C,k,u):r(k,C,u);if(!O&&!y)continue e;if(!O&&y)continue t}y?(Array.prototype.push.apply(E[2],x[2]),x[2]=E[2]):Array.prototype.push.apply(x[2],E[2]),o(x[2],!0,!0,t),E[2]=[]}}}}},{"../../tokenizer/token":84,"../../writer/one-time":98,"./extract-properties":22,"./properties/optimize":36,"./reorderable":47}],29:[function(e,t,n){function r(e){for(var t=0,n=e.length;t<n;t++){var i=e[t],o=!1;switch(i[0]){case y.RULE:o=0===i[1].length||0===i[2].length;break;case y.NESTED_BLOCK:r(i[2]),o=0===i[2].length;break;case y.AT_RULE:o=0===i[1].length;break;case y.AT_RULE_BLOCK:o=0===i[2].length}o&&(e.splice(t,1),t--,n--)}}function i(e,t){for(var n=0,r=e.length;n<r;n++){var i=e[n];if(i[0]==y.NESTED_BLOCK){var o=/@(-moz-|-o-|-webkit-)?keyframes/.test(i[1][0][1]);a(i[2],t,!o)}}}function o(e,t){for(var n=0,r=e.length;n<r;n++){var i=e[n];switch(i[0]){case y.RULE:v(i[2],!0,!0,t);break;case y.NESTED_BLOCK:o(i[2],t)}}}function a(e,t,n){var v,y,_=t.options.level[b.Two];if(i(e,t),o(e,t),_.removeDuplicateRules&&d(e,t),_.mergeAdjacentRules&&s(e,t),_.reduceNonAdjacentRules&&f(e,t),_.mergeNonAdjacentRules&&"body"!=_.mergeNonAdjacentRules&&c(e,t),_.mergeNonAdjacentRules&&"selector"!=_.mergeNonAdjacentRules&&l(e,t),_.restructureRules&&_.mergeAdjacentRules&&n&&(g(e,t),s(e,t)),_.restructureRules&&!_.mergeAdjacentRules&&n&&g(e,t),_.removeDuplicateFontRules&&p(e,t),_.removeDuplicateMediaBlocks&&h(e,t),_.removeUnusedAtRules&&m(e,t),_.mergeMedia)for(y=(v=u(e,t)).length-1;y>=0;y--)a(v[y][2],t,!1);return _.removeEmpty&&r(e),e}var s=e("./merge-adjacent"),u=e("./merge-media-queries"),l=e("./merge-non-adjacent-by-body"),c=e("./merge-non-adjacent-by-selector"),f=e("./reduce-non-adjacent"),p=e("./remove-duplicate-font-at-rules"),h=e("./remove-duplicate-media-queries"),d=e("./remove-duplicates"),m=e("./remove-unused-at-rules"),g=e("./restructure"),v=e("./properties/optimize"),b=e("../../options/optimization-level").OptimizationLevel,y=e("../../tokenizer/token");t.exports=a},{"../../options/optimization-level":65,"../../tokenizer/token":84,"./merge-adjacent":25,"./merge-media-queries":26,"./merge-non-adjacent-by-body":27,"./merge-non-adjacent-by-selector":28,"./properties/optimize":36,"./reduce-non-adjacent":42,"./remove-duplicate-font-at-rules":43,"./remove-duplicate-media-queries":44,"./remove-duplicates":45,"./remove-unused-at-rules":46,"./restructure":50}],30:[function(e,t,n){var r=e("../../../tokenizer/marker");t.exports=function(e,t,n){var i,o,a,s=t.value.length,u=n.value.length,l=Math.max(s,u),c=Math.min(s,u)-1;for(a=0;a<l;a++)if(i=t.value[a]&&t.value[a][1]||i,o=n.value[a]&&n.value[a][1]||o,i!=r.COMMA&&o!=r.COMMA&&!e(i,o,a,a<=c))return!1;return!0}},{"../../../tokenizer/marker":83}],31:[function(e,t,n){function r(e){return function(t){return e.name===t.name}}function i(e,t){return e.components.filter(t)[0]}function o(e,t){var n,r,o,s;if(a[e.name].shorthandComponents)for(o=0,s=e.components.length;o<s;o++)if(n=e.components[o],r=i(n,t))return r}var a=e("../compactable");t.exports=function(e,t){var n=r(t);return i(e,n)||o(e,n)}},{"../compactable":21}],32:[function(e,t,n){t.exports=function(e){for(var t=e.value.length-1;t>=0;t--)if("inherit"==e.value[t][1])return!0;return!1}},{}],33:[function(e,t,n){function r(e,t){var n=o[e.name];return"components"in n&&n.components.indexOf(t.name)>-1}function i(e,t){return e.components.some(function(e){return r(e,t)})}var o=e("../compactable");t.exports=function(e,t,n){return r(e,t)||!n&&!!o[e.name].shorthandComponents&&i(e,t)}},{"../compactable":21}],34:[function(e,t,n){var r=e("../../../tokenizer/marker");t.exports=function(e){return"font"!=e.name||-1==e.value[0][1].indexOf(r.INTERNAL)}},{"../../../tokenizer/marker":83}],35:[function(e,t,n){function r(e,t,n,r){var c,f,p,h=e[t];for(c in n)void 0!==h&&c==h.name||(f=_[c],p=n[c],h&&i(n,c,h)?delete n[c]:f.components.length>Object.keys(p).length||o(p)||a(p,c,r)&&s(p)&&(u(p)?l(e,p,c,r):g(e,p,c,r)))}function i(e,t,n){var r,i=_[t],o=_[n.name];if("overridesShorthands"in i&&i.overridesShorthands.indexOf(n.name)>-1)return!0;if(o&&"componentOf"in o)for(r in e[t])if(o.componentOf.indexOf(r)>-1)return!0;return!1}function o(e){var t,n;for(n in e){if(void 0!==t&&e[n].important!=t)return!0;t=e[n].important}return!1}function a(e,t,n){var r,i,o,a,s=_[t],u=[k.PROPERTY,[k.PROPERTY_NAME,t],[k.PROPERTY_VALUE,s.defaultValue]],l=x(u);for(y([l],n,[]),o=0,a=s.components.length;o<a;o++)if(r=e[s.components[o]],i=_[r.name].canOverride,!v(i.bind(null,n),l.components[o],r))return!1;return!0}function s(e){var t,n,r,i,o,a=null;for(n in e)if(r=e[n],"restore"in(i=_[n])){if(E([r.all[r.position]],A),o=i.restore(r,_),t=o.length,null!==a&&t!==a)return!1;a=t}return!0}function u(e){var t,n,r=null;for(t in e){if(n=b(e[t]),null!==r&&r!==n)return!0;r=n}return!1}function l(e,t,n,r){var i,o,a,s,u=c(t,n,r),l=d(t,n,r),f=u[0],p=l[0],h=C(f).length<C(p).length,g=h?f:p,v=h?u[1]:l[1],b=h?u[2]:l[2],y=t[Object.keys(t)[0]].all;v.position=y.length,v.shorthand=!0,v.dirty=!0,v.all=y,v.all.push(g[0]),e.push(v);for(i in t)(o=t[i]).unused=!0,o.name in b&&(a=b[o.name],s=m(g,i),a.position=y.length,a.all=y,a.all.push(s),e.push(a))}function c(e,t,n){var r,i,o,a,s,u,l=[],c={},h={},d=_[t],m=[k.PROPERTY,[k.PROPERTY_NAME,t],[k.PROPERTY_VALUE,d.defaultValue]],g=x(m);for(y([g],n,[]),s=0,u=d.components.length;s<u;s++)r=e[d.components[s]],b(r)?(i=r.all[r.position].slice(0,2),Array.prototype.push.apply(i,r.value),l.push(i),(o=w(r)).value=f(e,o.name),g.components[s]=o,c[r.name]=w(r)):((o=w(r)).all=r.all,g.components[s]=o,h[r.name]=r);return a=p(h,1),m[1].push(a),E([g],A),m=m.slice(0,2),Array.prototype.push.apply(m,g.value),l.unshift(m),[l,g,c]}function f(e,t){var n=_[t];return"oppositeTo"in n?e[n.oppositeTo].value:[[k.PROPERTY_VALUE,n.defaultValue]]}function p(e,t){var n,r,i,o,a=[];for(o in e)i=(r=(n=e[o]).all[n.position])[t][r[t].length-1],Array.prototype.push.apply(a,i);return a.sort(h)}function h(e,t){var n=e[0],r=t[0],i=e[1],o=t[1];return n<r?-1:n===r&&i<o?-1:1}function d(e,t,n){var r,i,o,a,s,u,l=[],c={},f={},h=_[t],d=[k.PROPERTY,[k.PROPERTY_NAME,t],[k.PROPERTY_VALUE,"inherit"]],m=x(d);for(y([m],n,[]),s=0,u=h.components.length;s<u;s++)r=e[h.components[s]],b(r)?c[r.name]=r:(i=r.all[r.position].slice(0,2),Array.prototype.push.apply(i,r.value),l.push(i),f[r.name]=w(r));return o=p(c,1),d[1].push(o),a=p(c,2),d[2].push(a),l.unshift(d),[l,m,f]}function m(e,t){var n,r;for(n=0,r=e.length;n<r;n++)if(e[n][1][1]==t)return e[n]}function g(e,t,n,r){var i,o,a,s=_[n],u=[k.PROPERTY,[k.PROPERTY_NAME,n],[k.PROPERTY_VALUE,s.defaultValue]],l=x(u);l.shorthand=!0,l.dirty=!0,y([l],r,[]);for(var c=0,f=s.components.length;c<f;c++){var h=t[s.components[c]];l.components[c]=w(h),l.important=h.important,a=h.all}for(var d in t)t[d].unused=!0;i=p(t,1),u[1].push(i),o=p(t,2),u[2].push(o),l.position=a.length,l.all=a,l.all.push(u),e.push(l)}var v=e("./every-values-pair"),b=e("./has-inherit"),y=e("./populate-components"),_=e("../compactable"),w=e("../clone").deep,A=e("../restore-with-components"),E=e("../../restore-from-optimizing"),x=e("../../wrap-for-optimizing").single,C=e("../../../writer/one-time").body,k=e("../../../tokenizer/token");t.exports=function(e,t){var n,i,o,a,s,u,l,c={};if(!(e.length<3)){for(a=0,s=e.length;a<s;a++)if(o=e[a],n=_[o.name],!o.unused&&!o.hack&&!o.block&&(r(e,a,c,t),n&&n.componentOf))for(u=0,l=n.componentOf.length;u<l;u++)c[i=n.componentOf[u]]=c[i]||{},c[i][o.name]=o;r(e,a,c,t)}}},{"../../../tokenizer/token":84,"../../../writer/one-time":98,"../../restore-from-optimizing":56,"../../wrap-for-optimizing":58,"../clone":20,"../compactable":21,"../restore-with-components":48,"./every-values-pair":30,"./has-inherit":32,"./populate-components":39}],36:[function(e,t,n){function r(e,t,n,p){var h,d,m,g=p.options.level[f.Two],v=u(e,!1,g.skipProperties);for(a(v,p.validator,p.warnings),d=0,m=v.length;d<m;d++)(h=v[d]).block&&r(h.value[0][1],t,n,p);n&&g.mergeIntoShorthands&&i(v,p.validator),t&&g.overrideProperties&&o(v,n,p.options.compatibility,p.validator),c(v,s),l(v)}var i=e("./merge-into-shorthands"),o=e("./override-properties"),a=e("./populate-components"),s=e("../restore-with-components"),u=e("../../wrap-for-optimizing").all,l=e("../../remove-unused"),c=e("../../restore-from-optimizing"),f=e("../../../options/optimization-level").OptimizationLevel;t.exports=r},{"../../../options/optimization-level":65,"../../remove-unused":55,"../../restore-from-optimizing":56,"../../wrap-for-optimizing":58,"../restore-with-components":48,"./merge-into-shorthands":35,"./override-properties":37,"./populate-components":39}],37:[function(e,t,n){function r(e,t){for(var n=0;n<e.components.length;n++){var r=e.components[n],i=D[r.name],o=i&&i.canOverride||o.sameValue,a=R(r);if(a.value=[[L.PROPERTY_VALUE,i.defaultValue]],!E(o.bind(null,t),a,r))return!0}return!1}function i(e,t){t.unused=!0,l(t,p(e)),e.value=t.value}function o(e,t){t.unused=!0,e.multiplex=!0,e.value=t.value}function a(e,t){t.unused=!0,e.value=t.value}function s(e,t){t.multiplex?o(e,t):e.multiplex?i(e,t):a(e,t)}function u(e,t){t.unused=!0;for(var n=0,r=e.components.length;n<r;n++)s(e.components[n],t.components[n],e.multiplex)}function l(e,t){e.multiplex=!0,D[e.name].shorthand?c(e,t):f(e,t)}function c(e,t){var n,r,i;for(r=0,i=e.components.length;r<i;r++)(n=e.components[r]).multiplex||f(n,t)}function f(e,t){for(var n,r="real"==D[e.name].intoMultiplexMode,i=r?e.value.slice(0):D[e.name].defaultValue,o=p(e),a=i.length;o<t;o++)if(e.value.push([L.PROPERTY_VALUE,M.COMMA]),Array.isArray(i))for(n=0;n<a;n++)e.value.push(r?i[n]:[L.PROPERTY_VALUE,i[n]]);else e.value.push(r?i:[L.PROPERTY_VALUE,i])}function p(e){for(var t=0,n=0,r=e.value.length;n<r;n++)e.value[n][1]==M.COMMA&&t++;return t+1}function h(e){var t=[L.PROPERTY,[L.PROPERTY_NAME,e.name]].concat(e.value);return P([t],0).length}function d(e,t,n){for(var r=0,i=t;i>=0&&(e[i].name!=n||e[i].unused||r++,!(r>1));i--);return r>1}function m(e,t){for(var n=0,r=e.components.length;n<r;n++)if(!g(t.isUrl,e.components[n])&&g(t.isFunction,e.components[n]))return!0;return!1}function g(e,t){for(var n=0,r=t.value.length;n<r;n++)if(t.value[n][1]!=M.COMMA&&e(t.value[n][1]))return!0;return!1}function v(e,t){if(!e.multiplex&&!t.multiplex||e.multiplex&&t.multiplex)return!1;var n,r=e.multiplex?e:t,a=e.multiplex?t:e,s=B(r);F([s],T);var u=B(a);F([u],T);var c=h(s)+1+h(u);return e.multiplex?i(n=x(s,u),u):(n=x(u,s),l(u,p(s)),o(n,s)),F([u],T),c<=h(u)}function b(e){return e.name in D}function y(e,t){return!e.multiplex&&("background"==e.name||"background-image"==e.name)&&t.multiplex&&("background"==t.name||"background-image"==t.name)&&_(t.value)}function _(e){for(var t=w(e),n=0,r=t.length;n<r;n++)if(1==t[n].length&&"none"==t[n][0][1])return!0;return!1}function w(e){for(var t=[],n=0,r=[],i=e.length;n<i;n++){var o=e[n];o[1]==M.COMMA?(t.push(r),r=[]):r.push(o)}return t.push(r),t}var A=e("./has-inherit"),E=e("./every-values-pair"),x=e("./find-component-in"),C=e("./is-component-of"),k=e("./is-mergeable-shorthand"),O=e("./overrides-non-component-shorthand"),S=e("./vendor-prefixes").same,D=e("../compactable"),B=e("../clone").deep,B=e("../clone").deep,T=e("../restore-with-components"),R=e("../clone").shallow,F=e("../../restore-from-optimizing"),L=e("../../../tokenizer/token"),M=e("../../../tokenizer/marker"),P=e("../../../writer/one-time").property;t.exports=function(e,t,n,i){var o,a,c,f,h,_,w,B,T,R,F;e:for(T=e.length-1;T>=0;T--)if(a=e[T],b(a)&&!a.block){o=D[a.name].canOverride;t:for(R=T-1;R>=0;R--)if(c=e[R],b(c)&&!c.block&&!c.unused&&!a.unused&&(!c.hack||a.hack||a.important)&&(c.hack||c.important||!a.hack)&&(c.important!=a.important||c.hack[0]==a.hack[0])&&!(c.important==a.important&&(c.hack[0]!=a.hack[0]||c.hack[1]&&c.hack[1]!=a.hack[1])||A(a)||y(c,a)))if(a.shorthand&&C(a,c)){if(!a.important&&c.important)continue;if(!S([c],a.components))continue;if(!g(i.isFunction,c)&&m(a,i))continue;if(!k(a)){c.unused=!0;continue}f=x(a,c),o=D[c.name].canOverride,E(o.bind(null,i),c,f)&&(c.unused=!0)}else if(a.shorthand&&O(a,c)){if(!a.important&&c.important)continue;if(!S([c],a.components))continue;if(!g(i.isFunction,c)&&m(a,i))continue;for(F=(h=c.shorthand?c.components:[c]).length-1;F>=0;F--)if(_=h[F],w=x(a,_),o=D[_.name].canOverride,!E(o.bind(null,i),c,w))continue t;c.unused=!0}else if(t&&c.shorthand&&!a.shorthand&&C(c,a,!0)){if(a.important&&!c.important)continue;if(!a.important&&c.important){a.unused=!0;continue}if(d(e,T-1,c.name))continue;if(m(c,i))continue;if(!k(c))continue;if(f=x(c,a),E(o.bind(null,i),f,a)){var L=!n.properties.backgroundClipMerging&&f.name.indexOf("background-clip")>-1||!n.properties.backgroundOriginMerging&&f.name.indexOf("background-origin")>-1||!n.properties.backgroundSizeMerging&&f.name.indexOf("background-size")>-1,M=D[a.name].nonMergeableValue===a.value[0][1];if(L||M)continue;if(!n.properties.merging&&r(c,i))continue;if(f.value[0][1]!=a.value[0][1]&&(A(c)||A(a)))continue;if(v(c,a))continue;!c.multiplex&&a.multiplex&&l(c,p(a)),s(f,a),c.dirty=!0}}else if(t&&c.shorthand&&a.shorthand&&c.name==a.name){if(!c.multiplex&&a.multiplex)continue;if(!a.important&&c.important){a.unused=!0;continue e}if(a.important&&!c.important){c.unused=!0;continue}if(!k(a)){c.unused=!0;continue}for(F=c.components.length-1;F>=0;F--){var P=c.components[F],U=a.components[F];if(o=D[P.name].canOverride,!E(o.bind(null,i),P,U))continue e}u(c,a),c.dirty=!0}else if(t&&c.shorthand&&a.shorthand&&C(c,a)){if(!c.important&&a.important)continue;if(f=x(c,a),o=D[a.name].canOverride,!E(o.bind(null,i),f,a))continue;if(c.important&&!a.important){a.unused=!0;continue}if(D[a.name].restore(a,D).length>1)continue;s(f=x(c,a),a),a.dirty=!0}else if(c.name==a.name){if(B=!0,a.shorthand)for(F=a.components.length-1;F>=0&&B;F--)_=c.components[F],w=a.components[F],o=D[w.name].canOverride,B=B&&E(o.bind(null,i),_,w);else o=D[a.name].canOverride,B=E(o.bind(null,i),c,a);if(c.important&&!a.important&&B){a.unused=!0;continue}if(!c.important&&a.important&&B){c.unused=!0;continue}if(!B)continue;c.unused=!0}}}},{"../../../tokenizer/marker":83,"../../../tokenizer/token":84,"../../../writer/one-time":98,"../../restore-from-optimizing":56,"../clone":20,"../compactable":21,"../restore-with-components":48,"./every-values-pair":30,"./find-component-in":31,"./has-inherit":32,"./is-component-of":33,"./is-mergeable-shorthand":34,"./overrides-non-component-shorthand":38,"./vendor-prefixes":41}],38:[function(e,t,n){var r=e("../compactable");t.exports=function(e,t){return e.name in r&&"overridesShorthands"in r[e.name]&&r[e.name].overridesShorthands.indexOf(t.name)>-1}},{"../compactable":21}],39:[function(e,t,n){var r=e("../compactable"),i=e("../invalid-property-error");t.exports=function(e,t,n){for(var o,a,s,u=e.length-1;u>=0;u--){var l=e[u],c=r[l.name];if(c&&c.shorthand){l.shorthand=!0,l.dirty=!0;try{if(l.components=c.breakUp(l,r,t),c.shorthandComponents)for(a=0,s=l.components.length;a<s;a++)(o=l.components[a]).components=r[o.name].breakUp(o,r,t)}catch(e){if(!(e instanceof i))throw e;l.components=[],n.push(e.message)}l.components.length>0?l.multiplex=l.components[0].multiplex:l.unused=!0}}}},{"../compactable":21,"../invalid-property-error":23}],40:[function(e,t,n){var r=e("./vendor-prefixes").same;t.exports=function(e,t,n,i,o){return!(!r(t,n)||o&&e.isVariable(t)!==e.isVariable(n))}},{"./vendor-prefixes":41}],41:[function(e,t,n){function r(e){for(var t,n=[];null!==(t=i.exec(e));)-1==n.indexOf(t[0])&&n.push(t[0]);return n}var i=/(?:^|\W)(\-\w+\-)/g;t.exports={unique:r,same:function(e,t){return r(e).sort().join(",")==r(t).sort().join(",")}}},{}],42:[function(e,t,n){function r(e){for(var t=[],n=0;n<e.length;n++)t.push([e[n][1]]);return t}function i(e,t,n,r,i){for(var o=0,s=t.length;o<s;o++){var u=n[t[o]];a(e,u,{filterOut:function(e,t){return u[e].isPartial&&0===t.length},callback:function(e,t,n,r){u[n-r-1].isPartial||(e[2]=t)}},r,i)}}function o(e,t,n,r){var i=n.compatibility.selectors.mergeablePseudoClasses,o=n.compatibility.selectors.mergeablePseudoElements,u=n.compatibility.selectors.multiplePseudoMerging,l={};e:for(var c in t){var p=t[c];if(p[0].isComplex){var h=p[p.length-1].where,d=e[h],m=[],g=s(c,i,o,u)?p[0].list:[c];l.intoPosition=h,l.reducedBodies=m;for(var v=0,b=g.length;v<b;v++){var y=t[g[v]];if(y.length<2)continue e;if(l.data=y,a(e,y,{filterOut:function(e){return l.data[e].where<l.intoPosition},callback:function(e,t,n,r){0===r&&l.reducedBodies.push(t)}},n,r),f(m[m.length-1])!=f(m[0]))continue e}d[2]=m[0]}}}function a(e,t,n,r,i){for(var o=[],a=[],s=[],c=t.length-1;c>=0;c--)if(!n.filterOut(c,o)){var f=t[c].where,p=e[f],h=l(p[2]);o=o.concat(h),a.push(h),s.push(f)}u(o,!0,!1,i);for(var d=s.length,m=o.length-1,g=d-1;g>=0;)if((0===g||o[m]&&a[g].indexOf(o[m])>-1)&&m>-1)m--;else{var v=o.splice(m+1);n.callback(e[s[g]],v,d,g),g--}}var s=e("./is-mergeable"),u=e("./properties/optimize"),l=e("../../utils/clone-array"),c=e("../../tokenizer/token"),f=e("../../writer/one-time").body,p=e("../../writer/one-time").rules;t.exports=function(e,t){for(var n=t.options,a=n.compatibility.selectors.mergeablePseudoClasses,u=n.compatibility.selectors.mergeablePseudoElements,l=n.compatibility.selectors.multiplePseudoMerging,f={},h=[],d=e.length-1;d>=0;d--){var m=e[d];if(m[0]==c.RULE&&0!==m[2].length)for(var g=p(m[1]),v=m[1].length>1&&s(g,a,u,l),b=r(m[1]),y=v?[g].concat(b):[g],_=0,w=y.length;_<w;_++){var A=y[_];f[A]?h.push(A):f[A]=[],f[A].push({where:d,list:b,isPartial:v&&_>0,isComplex:v&&0===_})}}i(e,h,f,n,t),o(e,f,n,t)}},{"../../tokenizer/token":84,"../../utils/clone-array":86,"../../writer/one-time":98,"./is-mergeable":24,"./properties/optimize":36}],43:[function(e,t,n){var r=e("../../tokenizer/token"),i=e("../../writer/one-time").all,o="@font-face";t.exports=function(e){var t,n,a,s,u=[];for(a=0,s=e.length;a<s;a++)(t=e[a])[0]!=r.AT_RULE_BLOCK&&t[1][0][1]!=o||(n=i([t]),u.indexOf(n)>-1?t[2]=[]:u.push(n))}},{"../../tokenizer/token":84,"../../writer/one-time":98}],44:[function(e,t,n){var r=e("../../tokenizer/token"),i=e("../../writer/one-time").all,o=e("../../writer/one-time").rules;t.exports=function(e){var t,n,a,s,u,l={};for(s=0,u=e.length;s<u;s++)(n=e[s])[0]==r.NESTED_BLOCK&&((t=l[a=o(n[1])+"%"+i(n[2])])&&(t[2]=[]),l[a]=n)}},{"../../tokenizer/token":84,"../../writer/one-time":98}],45:[function(e,t,n){var r=e("../../tokenizer/token"),i=e("../../writer/one-time").body,o=e("../../writer/one-time").rules;t.exports=function(e){for(var t,n,a,s,u={},l=[],c=0,f=e.length;c<f;c++)(n=e[c])[0]==r.RULE&&(u[t=o(n[1])]&&1==u[t].length?l.push(t):u[t]=u[t]||[],u[t].push(c));for(c=0,f=l.length;c<f;c++){s=[];for(var p=u[t=l[c]].length-1;p>=0;p--)n=e[u[t][p]],a=i(n[2]),s.indexOf(a)>-1?n[2]=[]:s.push(a)}}},{"../../tokenizer/token":84,"../../writer/one-time":98}],46:[function(e,t,n){function r(e,t,n,r){var o,a,s,u,l,c={};for(u=0,l=e.length;u<l;u++)t(e[u],c);if(0!==Object.keys(c).length){i(e,n,c,r);for(o in c)for(u=0,l=(a=c[o]).length;u<l;u++)(s=a[u])[s[0]==g.AT_RULE?1:2]=[]}}function i(e,t,n,r){var o,a,s=t(n);for(o=0,a=e.length;o<a;o++)switch(e[o][0]){case g.RULE:s(e[o],r);break;case g.NESTED_BLOCK:i(e[o][2],t,n,r)}}function o(e,t){var n;e[0]==g.AT_RULE_BLOCK&&0===e[1][0][1].indexOf("@counter-style")&&(t[n=e[1][0][1].split(" ")[1]]=t[n]||[],t[n].push(e))}function a(e){return function(t,n){var r,i,o,a;for(o=0,a=t[2].length;o<a;o++)"list-style"==(r=t[2][o])[1][1]&&(i=d(r),h([i],n.validator,n.warnings),i.components[0].value[0][1]in e&&delete e[r[2][1]],m([i])),"list-style-type"==r[1][1]&&r[2][1]in e&&delete e[r[2][1]]}}function s(e,t){var n,r,i,o;if(e[0]==g.AT_RULE_BLOCK&&"@font-face"==e[1][0][1])for(i=0,o=e[2].length;i<o;i++)if("font-family"==(n=e[2][i])[1][1]){t[r=n[2][1].toLowerCase()]=t[r]||[],t[r].push(e);break}}function u(e){return function(t,n){var r,i,o,a,s,u,l,c;for(s=0,u=t[2].length;s<u;s++){if("font"==(r=t[2][s])[1][1]){for(i=d(r),h([i],n.validator,n.warnings),l=0,c=(o=i.components[6]).value.length;l<c;l++)(a=o.value[l][1].toLowerCase())in e&&delete e[a];m([i])}if("font-family"==r[1][1])for(l=2,c=r.length;l<c;l++)(a=r[l][1].toLowerCase())in e&&delete e[a]}}}function l(e,t){var n;e[0]==g.NESTED_BLOCK&&y.test(e[1][0][1])&&(t[n=e[1][0][1].split(" ")[1]]=t[n]||[],t[n].push(e))}function c(e){return function(t,n){var r,i,o,a,s,u,l;for(a=0,s=t[2].length;a<s;a++){if(r=t[2][a],b.test(r[1][1])){for(i=d(r),h([i],n.validator,n.warnings),u=0,l=(o=i.components[7]).value.length;u<l;u++)o.value[u][1]in e&&delete e[o.value[u][1]];m([i])}if(v.test(r[1][1]))for(u=2,l=r.length;u<l;u++)r[u][1]in e&&delete e[r[u][1]]}}}function f(e,t){var n;e[0]==g.AT_RULE&&0===e[1].indexOf("@namespace")&&(t[n=e[1].split(" ")[1]]=t[n]||[],t[n].push(e))}function p(e){var t=new RegExp(Object.keys(e).join("\\||")+"\\|","g");return function(n){var r,i,o,a,s,u;for(o=0,a=n[1].length;o<a;o++)for(s=0,u=(r=n[1][o][1].match(t)).length;s<u;s++)(i=r[s].substring(0,r[s].length-1))in e&&delete e[i]}}var h=e("./properties/populate-components"),d=e("../wrap-for-optimizing").single,m=e("../restore-from-optimizing"),g=e("../../tokenizer/token"),v=/^(\-moz\-|\-o\-|\-webkit\-)?animation-name$/,b=/^(\-moz\-|\-o\-|\-webkit\-)?animation$/,y=/^@(\-moz\-|\-o\-|\-webkit\-)?keyframes /;t.exports=function(e,t){r(e,o,a,t),r(e,s,u,t),r(e,l,c,t),r(e,f,p,t)}},{"../../tokenizer/token":84,"../restore-from-optimizing":56,"../wrap-for-optimizing":58,"./properties/populate-components":39}],47:[function(e,t,n){function r(e,t,n){var r=e[0],m=e[1],g=e[2],v=e[5],b=e[6],y=t[0],_=t[1],w=t[2],A=t[5],E=t[6];return!("font"==r&&"line-height"==y||"font"==y&&"line-height"==r)&&((!h.test(r)||!h.test(y))&&(!(g==w&&o(r)==o(y)&&i(r)^i(y))&&(("border"!=g||!d.test(w)||!("border"==r||r==w||m!=_&&a(r,y)))&&(("border"!=w||!d.test(g)||!("border"==y||y==g||m!=_&&a(r,y)))&&(("border"!=g||"border"!=w||r==y||!(s(r)&&u(y)||u(r)&&s(y)))&&(g!=w||(!(r!=y||g!=w||m!=_&&!l(m,_))||(r!=y&&g==w&&r!=g&&y!=w||(r!=y&&g==w&&m==_||(!(!E||!b||c(g)||c(w)||f(A,v,!1))||!p(v,A,n)))))))))))}function i(e){return/^\-(?:moz|webkit|ms|o)\-/.test(e)}function o(e){return e.replace(/^\-(?:moz|webkit|ms|o)\-/,"")}function a(e,t){return e.split("-").pop()==t.split("-").pop()}function s(e){return"border-top"==e||"border-right"==e||"border-bottom"==e||"border-left"==e}function u(e){return"border-color"==e||"border-style"==e||"border-width"==e}function l(e,t){return i(e)&&i(t)&&e.split("-")[1]!=t.split("-")[2]}function c(e){return"font"==e||"line-height"==e||"list-style"==e}var f=e("./rules-overlap"),p=e("./specificities-overlap"),h=/align\-items|box\-align|box\-pack|flex|justify/,d=/^border\-(top|right|bottom|left|color|style|width|radius)/;t.exports={canReorder:function(e,t,n){for(var i=t.length-1;i>=0;i--)for(var o=e.length-1;o>=0;o--)if(!r(e[o],t[i],n))return!1;return!0},canReorderSingle:r}},{"./rules-overlap":51,"./specificities-overlap":52}],48:[function(e,t,n){var r=e("./compactable");t.exports=function(e){var t=r[e.name];return t&&t.shorthand?t.restore(e,r):e.value}},{"./compactable":21}],49:[function(e,t,n){function r(e){for(var t=0,n=e.length;t<n;t++){var r=e[t][1];if("inherit"!=r&&r!=s.COMMA&&r!=s.FORWARD_SLASH)return!1}return!0}function i(e){var t=e.components,n=t[0].value[0],r=t[1].value[0],i=t[2].value[0],o=t[3].value[0];return n[1]==r[1]&&n[1]==i[1]&&n[1]==o[1]?[n]:n[1]==i[1]&&r[1]==o[1]?[n,r]:r[1]==o[1]?[n,r,i]:[n,r,i,o]}var o=e("./clone").shallow,a=e("../../tokenizer/token"),s=e("../../tokenizer/marker");t.exports={background:function(e,t,n){function i(e){Array.prototype.unshift.apply(f,e.value)}function o(e){var n=t[e.name];return n.doubleValues&&1==n.defaultValue.length?e.value[0][1]==n.defaultValue[0]&&(!e.value[1]||e.value[1][1]==n.defaultValue[0]):n.doubleValues&&1!=n.defaultValue.length?e.value[0][1]==n.defaultValue[0]&&(e.value[1]?e.value[1][1]:e.value[0][1])==n.defaultValue[1]:e.value[0][1]==n.defaultValue}for(var u,l,c=e.components,f=[],p=c.length-1;p>=0;p--){var h=c[p],d=o(h);if("background-clip"==h.name){var m=c[p-1],g=o(m);l=!(u=h.value[0][1]==m.value[0][1])&&(g&&!d||!g&&!d||!g&&d&&h.value[0][1]!=m.value[0][1]),u?i(m):l&&(i(h),i(m)),p--}else if("background-size"==h.name){var v=c[p-1],b=o(v);l=!(u=!b&&d)&&(b&&!d||!b&&!d),u?i(v):l?(i(h),f.unshift([a.PROPERTY_VALUE,s.FORWARD_SLASH]),i(v)):1==v.value.length&&i(v),p--}else{if(d||t[h.name].multiplexLastOnly&&!n)continue;i(h)}}return 0===f.length&&1==e.value.length&&"0"==e.value[0][1]&&f.push(e.value[0]),0===f.length&&f.push([a.PROPERTY_VALUE,t[e.name].defaultValue]),r(f)?[f[0]]:f},borderRadius:function(e,t){if(e.multiplex){for(var n=o(e),r=o(e),u=0;u<4;u++){var l=e.components[u],c=o(e);c.value=[l.value[0]],n.components.push(c);var f=o(e);f.value=[l.value[1]||l.value[0]],r.components.push(f)}var p=i(n),h=i(r);return p.length!=h.length||p[0][1]!=h[0][1]||p.length>1&&p[1][1]!=h[1][1]||p.length>2&&p[2][1]!=h[2][1]||p.length>3&&p[3][1]!=h[3][1]?p.concat([[a.PROPERTY_VALUE,s.FORWARD_SLASH]]).concat(h):p}return i(e)},font:function(e,t){var n,i=e.components,o=[],u=0,l=0;if(0===e.value[0][1].indexOf(s.INTERNAL))return e.value[0][1]=e.value[0][1].substring(s.INTERNAL.length),e.value;for(;u<4;)(n=i[u]).value[0][1]!=t[n.name].defaultValue&&Array.prototype.push.apply(o,n.value),u++;for(Array.prototype.push.apply(o,i[u].value),i[++u].value[0][1]!=t[i[u].name].defaultValue&&(Array.prototype.push.apply(o,[[a.PROPERTY_VALUE,s.FORWARD_SLASH]]),Array.prototype.push.apply(o,i[u].value)),u++;i[u].value[l];)o.push(i[u].value[l]),i[u].value[l+1]&&o.push([a.PROPERTY_VALUE,s.COMMA]),l++;return r(o)?[o[0]]:o},fourValues:i,multiplex:function(e){return function(t,n){if(!t.multiplex)return e(t,n,!0);var r,i,u=0,l=[],c={};for(r=0,i=t.components[0].value.length;r<i;r++)t.components[0].value[r][1]==s.COMMA&&u++;for(r=0;r<=u;r++){for(var f=o(t),p=0,h=t.components.length;p<h;p++){var d=t.components[p],m=o(d);f.components.push(m);for(var g=c[m.name]||0,v=d.value.length;g<v;g++){if(d.value[g][1]==s.COMMA){c[m.name]=g+1;break}m.value.push(d.value[g])}}var b=e(f,n,r==u);Array.prototype.push.apply(l,b),r<u&&l.push([a.PROPERTY_VALUE,s.COMMA])}return l}},withoutDefaults:function(e,t){for(var n=e.components,i=[],o=n.length-1;o>=0;o--){var s=n[o],u=t[s.name];s.value[0][1]!=u.defaultValue&&i.unshift(s.value[0])}return 0===i.length&&i.push([a.PROPERTY_VALUE,t[e.name].defaultValue]),r(i)?[i[0]]:i}}},{"../../tokenizer/marker":83,"../../tokenizer/token":84,"./clone":20}],50:[function(e,t,n){function r(e,t){return e>t?1:-1}function i(e,t){var n=c(e);return n[5]=n[5].concat(t[5]),n}var o=e("./reorderable").canReorderSingle,a=e("./extract-properties"),s=e("./is-mergeable"),u=e("./tidy-rule-duplicates"),l=e("../../tokenizer/token"),c=e("../../utils/clone-array"),f=e("../../writer/one-time").body,p=e("../../writer/one-time").rules;t.exports=function(e,t){function n(e,t,n){for(var r=n.length-1;r>=0;r--){var i=c(t,n[r][0]);if(F[i].length>1&&x(e,F[i])){h(i);break}}}function c(e,t){var n=d(t);return F[n]=F[n]||[],F[n].push([e,t]),n}function h(e){var t,n=e.split(P),r=[];for(var i in F){var o=i.split(P);for(t=o.length-1;t>=0;t--)if(n.indexOf(o[t])>-1){r.push(i);break}}for(t=r.length-1;t>=0;t--)delete F[r[t]]}function d(e){for(var t=[],n=0,r=e.length;n<r;n++)t.push(p(e[n][1]));return t.join(P)}function m(e){for(var t=[],n=[],r=e.length-1;r>=0;r--)s(p(e[r][1]),k,O,D)&&(n.unshift(e[r]),e[r][2].length>0&&-1==t.indexOf(e[r])&&t.push(e[r]));return t.length>1?n:[]}function g(e,t){var r=t[0],i=t[1],o=t[4],a=r.length+i.length+1,s=[],l=[],c=m(T[o]);if(!(c.length<2)){var f=b(c,a,1),p=f[0];if(p[1]>0)return n(e,t,f);for(var h=p[0].length-1;h>=0;h--)s=p[0][h][1].concat(s),l.unshift(p[0][h]);w(e,[t],s=u(s),l)}}function v(e,t){return e[1]>t[1]?1:e[1]==t[1]?0:-1}function b(e,t,n){return y(e,t,n,M-1).sort(v)}function y(e,t,n,r){var i=[[e,_(e,t,n)]];if(e.length>2&&r>0)for(var o=e.length-1;o>=0;o--){var a=Array.prototype.slice.call(e,0);a.splice(o,1),i=i.concat(y(a,t,n,r-1))}return i}function _(e,t,n){for(var r=0,i=e.length-1;i>=0;i--)r+=e[i][2].length>n?p(e[i][1]).length:-1;return r-(e.length-1)*t+1}function w(t,n,r,i){var o,a,s,u,c=[];for(o=i.length-1;o>=0;o--){var p=i[o];for(a=p[2].length-1;a>=0;a--){var h=p[2][a];for(s=0,u=n.length;s<u;s++){var d=n[s],m=h[1][1],g=d[0],v=d[4];if(m==g&&f([h])==v){p[2].splice(a,1);break}}}}for(o=n.length-1;o>=0;o--)c.unshift(n[o][3]);var b=[l.RULE,r,c];e.splice(t,0,b)}function A(e,t){var n=t[4],r=T[n];r&&r.length>1&&(E(e,t)||g(e,t))}function E(e,t){var n,r,i=[],o=[],a=t[4],s=m(T[a]);if(!(s.length<2)){e:for(var u in T){var l=T[u];for(n=s.length-1;n>=0;n--)if(-1==l.indexOf(s[n]))continue e;i.push(u)}if(i.length<2)return!1;for(n=i.length-1;n>=0;n--)for(r=R.length-1;r>=0;r--)if(R[r][4]==i[n]){o.unshift([R[r],s]);break}return x(e,o)}}function x(e,t){for(var n,r=0,i=[],o=t.length-1;o>=0;o--)r+=(n=t[o][0])[4].length+(o>0?1:0),i.push(n);var a=b(t[0][1],r,i.length)[0];if(a[1]>0)return!1;var s=[],l=[];for(o=a[0].length-1;o>=0;o--)s=a[0][o][1].concat(s),l.unshift(a[0][o]);for(w(e,i,s=u(s),l),o=i.length-1;o>=0;o--){n=i[o];var c=R.indexOf(n);delete T[n[4]],c>-1&&-1==L.indexOf(c)&&L.push(c)}return!0}for(var C=t.options,k=C.compatibility.selectors.mergeablePseudoClasses,O=C.compatibility.selectors.mergeablePseudoElements,S=C.compatibility.selectors.mergeLimit,D=C.compatibility.selectors.multiplePseudoMerging,B=t.cache.specificity,T={},R=[],F={},L=[],M=2,P="%",U=e.length-1;U>=0;U--){var N,q,z,I,j,V=e[U];if(V[0]==l.RULE)N=!0;else{if(V[0]!=l.NESTED_BLOCK)continue;N=!1}var $=R.length,H=a(V);L=[];var K=[];for(q=H.length-1;q>=0;q--)for(z=q-1;z>=0;z--)if(!o(H[q],H[z],B)){K.push(q);break}for(q=H.length-1;q>=0;q--){var Y=H[q],G=!1;for(z=0;z<$;z++){var W=R[z];-1==L.indexOf(z)&&(!o(Y,W,B)&&!function(e,t,n){if(e[0]!=t[0])return!1;var r=t[4],i=T[r];return i&&i.indexOf(n)>-1}(Y,W,V)||T[W[4]]&&T[W[4]].length===S)&&(A(U+1,W),-1==L.indexOf(z)&&(L.push(z),delete T[W[4]])),G||(G=Y[0]==W[0]&&Y[1]==W[1])&&(j=z)}if(N&&!(K.indexOf(q)>-1)){var Q=Y[4];G&&R[j][5].length+Y[5].length>S?(A(U+1,R[j]),R.splice(j,1),T[Q]=[V],G=!1):(T[Q]=T[Q]||[],T[Q].push(V)),G?R[j]=i(R[j],Y):R.push(Y)}}for(q=0,I=(L=L.sort(r)).length;q<I;q++){var Z=L[q]-q;R.splice(Z,1)}}for(var J=e[0]&&e[0][0]==l.AT_RULE&&0===e[0][1].indexOf("@charset")?1:0;J<e.length-1;J++){var X=e[J][0]===l.AT_RULE&&0===e[J][1].indexOf("@import"),ee=e[J][0]===l.COMMENT;if(!X&&!ee)break}for(U=0;U<R.length;U++)A(J,R[U])}},{"../../tokenizer/token":84,"../../utils/clone-array":86,"../../writer/one-time":98,"./extract-properties":22,"./is-mergeable":24,"./reorderable":47,"./tidy-rule-duplicates":54}],51:[function(e,t,n){function r(e){return e.replace(i,"")}var i=/\-\-.+$/;t.exports=function(e,t,n){var i,o,a,s,u,l;for(a=0,s=e.length;a<s;a++)for(i=e[a][1],u=0,l=t.length;u<l;u++){if(o=t[u][1],i==o)return!0;if(n&&r(i)==r(o))return!0}return!1}},{}],52:[function(e,t,n){function r(e,t){var n;return e in t||(t[e]=n=i(e)),n||t[e]}var i=e("./specificity");t.exports=function(e,t,n){var i,o,a,s,u,l;for(a=0,s=e.length;a<s;a++)for(i=r(e[a][1],n),u=0,l=t.length;u<l;u++)if(o=r(t[u][1],n),i[0]===o[0]&&i[1]===o[1]&&i[2]===o[2])return!0;return!1}},{"./specificity":53}],53:[function(e,t,n){function r(e,t){return e.indexOf(s,t)===t}var i=e("../../tokenizer/marker"),o={ADJACENT_SIBLING:"+",DESCENDANT:">",DOT:".",HASH:"#",NON_ADJACENT_SIBLING:"~",PSEUDO:":"},a=/[a-zA-Z]/,s=":not(",u=/[\s,\(>~\+]/;t.exports=function(e){var t,n,s,l,c,f,p,h=[0,0,0],d=0,m=!1,g=!1;for(f=0,p=e.length;f<p;f++){if(t=e[f],n);else if(t!=i.SINGLE_QUOTE||l||s)if(t==i.SINGLE_QUOTE&&!l&&s)s=!1;else if(t!=i.DOUBLE_QUOTE||l||s)if(t==i.DOUBLE_QUOTE&&l&&!s)l=!1;else{if(s||l)continue;d>0&&!m||(t==i.OPEN_ROUND_BRACKET?d++:t==i.CLOSE_ROUND_BRACKET&&1==d?(d--,m=!1):t==i.CLOSE_ROUND_BRACKET?d--:t==o.HASH?h[0]++:t==o.DOT||t==i.OPEN_SQUARE_BRACKET?h[1]++:t!=o.PSEUDO||g||r(e,f)?t==o.PSEUDO?m=!0:(0===f||c)&&a.test(t)&&h[2]++:(h[1]++,m=!1))}else l=!0;else s=!0;n=t==i.BACK_SLASH,g=t==o.PSEUDO,c=!n&&u.test(t)}return h}},{"../../tokenizer/marker":83}],54:[function(e,t,n){function r(e,t){return e[1]>t[1]?1:-1}t.exports=function(e){for(var t=[],n=[],i=0,o=e.length;i<o;i++){var a=e[i];-1==n.indexOf(a[1])&&(n.push(a[1]),t.push(a))}return t.sort(r)}},{}],55:[function(e,t,n){t.exports=function(e){for(var t=e.length-1;t>=0;t--){var n=e[t];n.unused&&n.all.splice(n.position,1)}}},{}],56:[function(e,t,n){function r(e){e.value[e.value.length-1][1]+=l}function i(e){e.hack[0]==o.UNDERSCORE?e.name=c+e.name:e.hack[0]==o.ASTERISK?e.name=s+e.name:e.hack[0]==o.BACKSLASH?e.value[e.value.length-1][1]+=u+e.hack[1]:e.hack[0]==o.BANG&&(e.value[e.value.length-1][1]+=a.SPACE+f)}var o=e("./hack"),a=e("../tokenizer/marker"),s="*",u="\\",l="!important",c="_",f="!ie";t.exports=function(e,t){var n,o,a,s;for(s=e.length-1;s>=0;s--)(n=e[s]).unused||(n.dirty||n.important||n.hack)&&(t?(o=t(n),n.value=o):o=n.value,n.important&&r(n),n.hack&&i(n),"all"in n&&((a=n.all[n.position])[1][1]=n.name,a.splice(2,a.length-1),Array.prototype.push.apply(a,o)))}},{"../tokenizer/marker":83,"./hack":8}],57:[function(e,t,n){function r(){var e=p("animation-timing-function");return function(t){return e(t)||E.test(t)}}function i(e){return"auto"!=e&&(p("color")(e)||u(e)||o(e)||h(e))}function o(e){return m(e)||l(e)}function a(e){return x.test(e)}function s(e){return C.test(e)}function u(e){return R.test(e)||S.test(e)}function l(e){return k.test(e)}function c(e){return O.test(e)}function f(e){return"none"==e||"inherit"==e||w(e)}function p(e){return function(t){return P[e].indexOf(t)>-1}}function h(e){return D.test(e)}function d(e){return e.length>0&&""+parseFloat(e)===e}function m(e){return T.test(e)}function g(e){return B.test(e)}function v(e){return d(e)&&parseFloat(e)>=0}function b(e){return M.test(e)}function y(e){return F.test(e)}function _(e,t){return e.test(t)}function w(e){return L.test(e)}function A(e){return"auto"==e||d(e)||p("^")(e)}var E=/^(cubic\-bezier|steps)\([^\)]+\)$/,x=new RegExp("^(\\-moz\\-|\\-webkit\\-)?calc\\([^\\)]+\\)$","i"),C=new RegExp("^(var\\(\\-\\-[^\\)]+\\)|[A-Z]+(\\-|[A-Z]|[0-9])+\\(.*?\\)|\\-(\\-|[A-Z]|[0-9])+\\(.*?\\))$","i"),k=/^hsl\(\s*[\-\.\d]+\s*,\s*[\.\d]+%\s*,\s*[\.\d]+%\s*\)|hsla\(\s*[\-\.\d]+\s*,\s*[\.\d]+%\s*,\s*[\.\d]+%\s*,\s*[\.\d]+\s*\)$/,O=/^(\-[a-z0-9_][a-z0-9\-_]*|[a-z][a-z0-9\-_]*)$/i,S=/^#[0-9a-f]{6}$/i,D=/^[a-z]+$/i,B=/^-([a-z0-9]|-)*$/i,T=/^rgb\(\s*[\d]{1,3}\s*,\s*[\d]{1,3}\s*,\s*[\d]{1,3}\s*\)|rgba\(\s*[\d]{1,3}\s*,\s*[\d]{1,3}\s*,\s*[\d]{1,3}\s*,\s*[\.\d]+\s*\)$/,R=/^#[0-9a-f]{3}$/i,F=new RegExp("^(\\-?\\+?\\.?\\d+\\.?\\d*(s|ms))$"),L=/^url\([\s\S]+\)$/i,M=new RegExp("^var\\(\\-\\-[^\\)]+\\)$","i"),P={"^":["inherit","initial","unset"],"*-style":["auto","dashed","dotted","double","groove","hidden","inset","none","outset","ridge","solid"],"animation-direction":["alternate","alternate-reverse","normal","reverse"],"animation-fill-mode":["backwards","both","forwards","none"],"animation-iteration-count":["infinite"],"animation-name":["none"],"animation-play-state":["paused","running"],"animation-timing-function":["ease","ease-in","ease-in-out","ease-out","linear","step-end","step-start"],"background-attachment":["fixed","inherit","local","scroll"],"background-clip":["border-box","content-box","inherit","padding-box","text"],"background-origin":["border-box","content-box","inherit","padding-box"],"background-position":["bottom","center","left","right","top"],"background-repeat":["no-repeat","inherit","repeat","repeat-x","repeat-y","round","space"],"background-size":["auto","cover","contain"],"border-collapse":["collapse","inherit","separate"],bottom:["auto"],clear:["both","left","none","right"],color:["transparent"],cursor:["all-scroll","auto","col-resize","crosshair","default","e-resize","help","move","n-resize","ne-resize","no-drop","not-allowed","nw-resize","pointer","progress","row-resize","s-resize","se-resize","sw-resize","text","vertical-text","w-resize","wait"],display:["block","inline","inline-block","inline-table","list-item","none","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group"],float:["left","none","right"],left:["auto"],font:["caption","icon","menu","message-box","small-caption","status-bar","unset"],"font-size":["large","larger","medium","small","smaller","x-large","x-small","xx-large","xx-small"],"font-stretch":["condensed","expanded","extra-condensed","extra-expanded","normal","semi-condensed","semi-expanded","ultra-condensed","ultra-expanded"],"font-style":["italic","normal","oblique"],"font-variant":["normal","small-caps"],"font-weight":["100","200","300","400","500","600","700","800","900","bold","bolder","lighter","normal"],"line-height":["normal"],"list-style-position":["inside","outside"],"list-style-type":["armenian","circle","decimal","decimal-leading-zero","disc","decimal|disc","georgian","lower-alpha","lower-greek","lower-latin","lower-roman","none","square","upper-alpha","upper-latin","upper-roman"],overflow:["auto","hidden","scroll","visible"],position:["absolute","fixed","relative","static"],right:["auto"],"text-align":["center","justify","left","left|right","right"],"text-decoration":["line-through","none","overline","underline"],"text-overflow":["clip","ellipsis"],top:["auto"],"vertical-align":["baseline","bottom","middle","sub","super","text-bottom","text-top","top"],visibility:["collapse","hidden","visible"],"white-space":["normal","nowrap","pre"],width:["inherit","initial","medium","thick","thin"]},U=["%","ch","cm","em","ex","in","mm","pc","pt","px","rem","vh","vm","vmax","vmin","vw"];t.exports=function(e){var t=U.slice(0).filter(function(t){return!(t in e.units)||!0===e.units[t]}),n=new RegExp("^(\\-?\\.?\\d+\\.?\\d*("+t.join("|")+"|)|auto|inherit)$","i");return{colorOpacity:e.colors.opacity,isAnimationDirectionKeyword:p("animation-direction"),isAnimationFillModeKeyword:p("animation-fill-mode"),isAnimationIterationCountKeyword:p("animation-iteration-count"),isAnimationNameKeyword:p("animation-name"),isAnimationPlayStateKeyword:p("animation-play-state"),isAnimationTimingFunction:r(),isBackgroundAttachmentKeyword:p("background-attachment"),isBackgroundClipKeyword:p("background-clip"),isBackgroundOriginKeyword:p("background-origin"),isBackgroundPositionKeyword:p("background-position"),isBackgroundRepeatKeyword:p("background-repeat"),isBackgroundSizeKeyword:p("background-size"),isColor:i,isColorFunction:o,isDynamicUnit:a,isFontKeyword:p("font"),isFontSizeKeyword:p("font-size"),isFontStretchKeyword:p("font-stretch"),isFontStyleKeyword:p("font-style"),isFontVariantKeyword:p("font-variant"),isFontWeightKeyword:p("font-weight"),isFunction:s,isGlobal:p("^"),isHslColor:l,isIdentifier:c,isImage:f,isKeyword:p,isLineHeightKeyword:p("line-height"),isListStylePositionKeyword:p("list-style-position"),isListStyleTypeKeyword:p("list-style-type"),isPrefixed:g,isPositiveNumber:v,isRgbColor:m,isStyleKeyword:p("*-style"),isTime:y,isUnit:_.bind(null,n),isUrl:w,isVariable:b,isWidth:p("width"),isZIndex:A}}},{}],58:[function(e,t,n){function r(e){var t,n,r;for(t=2,n=e.length;t<n;t++)if((r=e[t])[0]==d.PROPERTY_VALUE&&i(r[1]))return!0;return!1}function i(e){return m.VARIABLE_REFERENCE_PATTERN.test(e)}function o(e){var t,n,r;for(n=3,r=e.length;n<r;n++)if((t=e[n])[0]==d.PROPERTY_VALUE&&(t[1]==h.COMMA||t[1]==h.FORWARD_SLASH))return!0;return!1}function a(e){var t=!1,n=e[1][1],r=e[e.length-1];return n[0]==m.UNDERSCORE?t=[p.UNDERSCORE]:n[0]==m.ASTERISK?t=[p.ASTERISK]:r[1][0]!=m.BANG||r[1].match(m.IMPORTANT_WORD_PATTERN)?r[1].indexOf(m.BANG)>0&&!r[1].match(m.IMPORTANT_WORD_PATTERN)&&m.BANG_SUFFIX_PATTERN.test(r[1])?t=[p.BANG]:r[1].indexOf(m.BACKSLASH)>0&&r[1].indexOf(m.BACKSLASH)==r[1].length-m.BACKSLASH.length-1?t=[p.BACKSLASH,r[1].substring(r[1].indexOf(m.BACKSLASH)+1)]:0===r[1].indexOf(m.BACKSLASH)&&2==r[1].length&&(t=[p.BACKSLASH,r[1].substring(1)]):t=[p.BANG],t}function s(e){if(e.length<3)return!1;var t=e[e.length-1];return!!m.IMPORTANT_TOKEN_PATTERN.test(t[1])||!(!m.IMPORTANT_WORD_PATTERN.test(t[1])||!m.SUFFIX_BANG_PATTERN.test(e[e.length-2][1]))}function u(e){var t=e[e.length-1],n=e[e.length-2];m.IMPORTANT_TOKEN_PATTERN.test(t[1])?t[1]=t[1].replace(m.IMPORTANT_TOKEN_PATTERN,""):(t[1]=t[1].replace(m.IMPORTANT_WORD_PATTERN,""),n[1]=n[1].replace(m.SUFFIX_BANG_PATTERN,"")),0===t[1].length&&e.pop(),0===n[1].length&&e.pop()}function l(e){e[1][1]=e[1][1].substring(1)}function c(e,t){var n=e[e.length-1];n[1]=n[1].substring(0,n[1].indexOf(t[0]==p.BACKSLASH?m.BACKSLASH:m.BANG)).trim(),0===n[1].length&&e.pop()}function f(e){var t=s(e);t&&u(e);var n=a(e);return n[0]==p.ASTERISK||n[0]==p.UNDERSCORE?l(e):n[0]!=p.BACKSLASH&&n[0]!=p.BANG||c(e,n),{block:e[2]&&e[2][0]==d.PROPERTY_BLOCK,components:[],dirty:!1,hack:n,important:t,name:e[1][1],multiplex:e.length>3&&o(e),position:0,shorthand:!1,unused:!1,value:e.slice(2)}}var p=e("./hack"),h=e("../tokenizer/marker"),d=e("../tokenizer/token"),m={ASTERISK:"*",BACKSLASH:"\\",BANG:"!",BANG_SUFFIX_PATTERN:/!\w+$/,IMPORTANT_TOKEN:"!important",IMPORTANT_TOKEN_PATTERN:new RegExp("!important$","i"),IMPORTANT_WORD:"important",IMPORTANT_WORD_PATTERN:new RegExp("important$","i"),SUFFIX_BANG_PATTERN:/!$/,UNDERSCORE:"_",VARIABLE_REFERENCE_PATTERN:/var\(--.+\)$/};t.exports={all:function(e,t,n){var i,o,a,s=[];for(a=e.length-1;a>=0;a--)(o=e[a])[0]==d.PROPERTY&&(!t&&r(o)||n&&n.indexOf(o[1][1])>-1||((i=f(o)).all=e,i.position=a,s.unshift(i)));return s},single:f}},{"../tokenizer/marker":83,"../tokenizer/token":84,"./hack":8}],59:[function(e,t,n){function r(e,t){for(var n in e){var i=e[n];"object"!=typeof i||Array.isArray(i)?t[n]=n in t?t[n]:i:t[n]=r(i,t[n]||{})}return t}function i(e){if("object"==typeof e)return e;if(!/[,\+\-]/.test(e))return o[e]||o["*"];var t=e.split(","),n=t[0]in o?o[t.shift()]:o["*"];return e={},t.forEach(function(t){var n="+"==t[0],r=t.substring(1).split("."),i=r[0],o=r[1];e[i]=e[i]||{},e[i][o]=n}),r(n,e)}var o={"*":{colors:{opacity:!0},properties:{backgroundClipMerging:!0,backgroundOriginMerging:!0,backgroundSizeMerging:!0,colors:!0,ieBangHack:!1,ieFilters:!1,iePrefixHack:!1,ieSuffixHack:!1,merging:!0,shorterLengthUnits:!1,spaceAfterClosingBrace:!0,urlQuotes:!1,zeroUnits:!0},selectors:{adjacentSpace:!1,ie7Hack:!1,mergeablePseudoClasses:[":active",":after",":before",":empty",":checked",":disabled",":empty",":enabled",":first-child",":first-letter",":first-line",":first-of-type",":focus",":hover",":lang",":last-child",":last-of-type",":link",":not",":nth-child",":nth-last-child",":nth-last-of-type",":nth-of-type",":only-child",":only-of-type",":root",":target",":visited"],mergeablePseudoElements:["::after","::before","::first-letter","::first-line"],mergeLimit:8191,multiplePseudoMerging:!0},units:{ch:!0,in:!0,pc:!0,pt:!0,rem:!0,vh:!0,vm:!0,vmax:!0,vmin:!0,vw:!0}}};o.ie11=o["*"],o.ie10=o["*"],o.ie9=r(o["*"],{properties:{ieFilters:!0,ieSuffixHack:!0}}),o.ie8=r(o.ie9,{colors:{opacity:!1},properties:{backgroundClipMerging:!1,backgroundOriginMerging:!1,backgroundSizeMerging:!1,iePrefixHack:!0,merging:!1},selectors:{mergeablePseudoClasses:[":after",":before",":first-child",":first-letter",":focus",":hover",":visited"],mergeablePseudoElements:[]},units:{ch:!1,rem:!1,vh:!1,vm:!1,vmax:!1,vmin:!1,vw:!1}}),o.ie7=r(o.ie8,{properties:{ieBangHack:!0},selectors:{ie7Hack:!0,mergeablePseudoClasses:[":first-child",":first-letter",":hover",":visited"]}}),t.exports=function(e){return r(o["*"],i(e))}},{}],60:[function(e,t,n){var r=e("../reader/load-remote-resource");t.exports=function(e){return e||r}},{"../reader/load-remote-resource":74}],61:[function(e,t,n){function r(e){var t={};return t[c.AfterAtRule]=e,t[c.AfterBlockBegins]=e,t[c.AfterBlockEnds]=e,t[c.AfterComment]=e,t[c.AfterProperty]=e,t[c.AfterRuleBegins]=e,t[c.AfterRuleEnds]=e,t[c.BeforeBlockEnds]=e,t[c.BetweenSelectors]=e,t}function i(e){var t={};return t[p.AroundSelectorRelation]=e,t[p.BeforeBlockBegins]=e,t[p.BeforeValue]=e,t}function o(e){return e.split(g).reduce(function(e,t){var n=t.split(v),r=n[0],i=n[1];return"breaks"==r||"spaces"==r?e[r]=a(i):"indentBy"==r||"wrapAt"==r?e[r]=parseInt(i):"indentWith"==r&&(e[r]=u(i)),e},{})}function a(e){return e.split(b).reduce(function(e,t){var n=t.split(y),r=n[0],i=n[1];return e[r]=s(i),e},{})}function s(e){switch(e){case _:case w:return!1;case A:case E:return!0;default:return e}}function u(e){switch(e){case"space":return f.Space;case"tab":return f.Tab;default:return e}}var l=e("../utils/override"),c={AfterAtRule:"afterAtRule",AfterBlockBegins:"afterBlockBegins",AfterBlockEnds:"afterBlockEnds",AfterComment:"afterComment",AfterProperty:"afterProperty",AfterRuleBegins:"afterRuleBegins",AfterRuleEnds:"afterRuleEnds",BeforeBlockEnds:"beforeBlockEnds",BetweenSelectors:"betweenSelectors"},f={Space:" ",Tab:"\t"},p={AroundSelectorRelation:"aroundSelectorRelation",BeforeBlockBegins:"beforeBlockBegins",BeforeValue:"beforeValue"},h={breaks:r(!1),indentBy:0,indentWith:f.Space,spaces:i(!1),wrapAt:!1},d="beautify",m="keep-breaks",g=";",v=":",b=",",y="=",_="false",w="off",A="true",E="on";t.exports={Breaks:c,Spaces:p,formatFrom:function(e){return void 0!==e&&!1!==e&&("object"==typeof e&&"indentBy"in e&&(e=l(e,{indentBy:parseInt(e.indentBy)})),"object"==typeof e&&"indentWith"in e&&(e=l(e,{indentWith:u(e.indentWith)})),"object"==typeof e?l(h,e):"object"==typeof e?l(h,e):"string"==typeof e&&e==d?l(h,{breaks:r(!0),indentBy:2,spaces:i(!0)}):"string"==typeof e&&e==m?l(h,{breaks:{afterAtRule:!0,afterBlockBegins:!0,afterBlockEnds:!0,afterComment:!0,afterRuleEnds:!0,beforeBlockEnds:!0}}):"string"==typeof e?l(h,o(e)):h)}}},{"../utils/override":95}],62:[function(e,t,n){(function(n){function r(e){return e?{hostname:i.parse(e).hostname,port:parseInt(i.parse(e).port)}:{}}var i=e("url"),o=e("../utils/override");t.exports=function(e){return o(r(n.env.HTTP_PROXY||n.env.http_proxy),e||{})}}).call(this,e("_process"))},{"../utils/override":95,_process:113,url:162}],63:[function(e,t,n){var r=5e3;t.exports=function(e){return e||r}},{}],64:[function(e,t,n){t.exports=function(e){return Array.isArray(e)?e:!1===e?["none"]:void 0===e?["local"]:e.split(",")}},{}],65:[function(e,t,n){function r(e,t){var n,r=u(c[e],{});for(n in r)"boolean"==typeof r[n]&&(r[n]=t);return r}function i(e){switch(e){case h:case d:return!1;case m:case g:return!0;default:return e}}function o(e){var t,n,r=u(e,{});for(n=0;n<=2;n++)(t=""+n)in r&&(void 0===r[t]||!1===r[t])&&delete r[t],t in r&&!0===r[t]&&(r[t]={}),t in r&&"string"==typeof r[t]&&(r[t]=a(r[t],t));return r}function a(e,t){return e.split(b).reduce(function(e,n){var o=n.split(y),a=o[0],s=i(o[1]);return f==a||p==a?e=u(e,r(t,s)):e[a]=s,e},{})}var s=e("./rounding-precision").roundingPrecisionFrom,u=e("../utils/override"),l={Zero:"0",One:"1",Two:"2"},c={};c[l.Zero]={},c[l.One]={cleanupCharsets:!0,normalizeUrls:!0,optimizeBackground:!0,optimizeBorderRadius:!0,optimizeFilter:!0,optimizeFontWeight:!0,optimizeOutline:!0,removeEmpty:!0,removeNegativePaddings:!0,removeQuotes:!0,removeWhitespace:!0,replaceMultipleZeros:!0,replaceTimeUnits:!0,replaceZeroUnits:!0,roundingPrecision:s(void 0),selectorsSortingMethod:"standard",specialComments:"all",tidyAtRules:!0,tidyBlockScopes:!0,tidySelectors:!0,transform:function(){}},c[l.Two]={mergeAdjacentRules:!0,mergeIntoShorthands:!0,mergeMedia:!0,mergeNonAdjacentRules:!0,mergeSemantically:!1,overrideProperties:!0,removeEmpty:!0,reduceNonAdjacentRules:!0,removeDuplicateFontRules:!0,removeDuplicateMediaBlocks:!0,removeDuplicateRules:!0,removeUnusedAtRules:!1,restructureRules:!1,skipProperties:[]};var f="*",p="all",h="false",d="off",m="true",g="on",v=",",b=";",y=":";t.exports={OptimizationLevel:l,optimizationLevelFrom:function(e){var t=u(c,{}),n=l.Zero,a=l.One,h=l.Two;return void 0===e?(delete t[h],t):("string"==typeof e&&(e=parseInt(e)),"number"==typeof e&&e===parseInt(h)?t:"number"==typeof e&&e===parseInt(a)?(delete t[h],t):"number"==typeof e&&e===parseInt(n)?(delete t[h],delete t[a],t):("object"==typeof e&&(e=o(e)),a in e&&"roundingPrecision"in e[a]&&(e[a].roundingPrecision=s(e[a].roundingPrecision)),h in e&&"skipProperties"in e[h]&&"string"==typeof e[h].skipProperties&&(e[h].skipProperties=e[h].skipProperties.split(v)),(n in e||a in e||h in e)&&(t[n]=u(t[n],e[n])),a in e&&f in e[a]&&(t[a]=u(t[a],r(a,i(e[a][f]))),delete e[a][f]),a in e&&p in e[a]&&(t[a]=u(t[a],r(a,i(e[a][p]))),delete e[a][p]),a in e||h in e?t[a]=u(t[a],e[a]):delete t[a],h in e&&f in e[h]&&(t[h]=u(t[h],r(h,i(e[h][f]))),delete e[h][f]),h in e&&p in e[h]&&(t[h]=u(t[h],r(h,i(e[h][p]))),delete e[h][p]),h in e?t[h]=u(t[h],e[h]):delete t[h],t))}}},{"../utils/override":95,"./rounding-precision":68}],66:[function(e,t,n){(function(n){var r=e("path");t.exports=function(e){return e?r.resolve(e):n.cwd()}}).call(this,e("_process"))},{_process:113,path:111}],67:[function(e,t,n){t.exports=function(e){return void 0===e||!!e}},{}],68:[function(e,t,n){function r(e){return{ch:e,cm:e,em:e,ex:e,in:e,mm:e,pc:e,pt:e,px:e,q:e,rem:e,vh:e,vmax:e,vmin:e,vw:e,"%":e}}function i(e){return null===e||void 0===e?{}:"boolean"==typeof e?{}:"number"==typeof e&&-1==e?r(u):"number"==typeof e?r(e):"string"==typeof e&&a.test(e)?r(parseInt(e)):"string"==typeof e&&e==u?r(u):"object"==typeof e?e:e.split(l).reduce(function(e,t){var n=t.split(c),i=n[0],a=parseInt(n[1]);return(isNaN(a)||-1==a)&&(a=u),s.indexOf(i)>-1?e=o(e,r(a)):e[i]=a,e},{})}var o=e("../utils/override"),a=/^\d+$/,s=["*","all"],u="off",l=",",c="=";t.exports={DEFAULT:u,roundingPrecisionFrom:function(e){return o(r(u),i(e))}}},{"../utils/override":95}],69:[function(e,t,n){(function(n,r){function i(e){var t,n,r,i=[],s=o(e.sourceTokens[0]);for(r=e.sourceTokens.length;e.index<r;e.index++)if(n=e.sourceTokens[e.index],(t=o(n))!=s&&(i=[],s=t),i.push(n),e.processedTokens.push(n),n[0]==y.COMMENT&&E.test(n[1]))return a(n[1],t,i,e);return e.callback(e.processedTokens)}function o(e){return(e[0]==y.AT_RULE||e[0]==y.COMMENT?e[2][0]:e[1][0][2][0])[2]}function a(e,t,n,r){return s(e,r,function(e){return e&&(r.inputSourceMapTracker.track(t,e),f(n,r.inputSourceMapTracker)),r.index++,i(r)})}function s(e,t,n){var r,i,o,a=E.exec(e)[1];return w(a)?(i=u(a),n(i)):A(a)?l(a,t,function(e){var t;e?(t=JSON.parse(e),o=b(t,a),n(o)):n(null)}):(r=d.resolve(t.rebaseTo,a),(i=c(r,t))?(o=v(i,r,t.rebaseTo),n(o)):n(null))}function u(e){var t=g(e),i=t[2]?t[2].split(/[=;]/)[2]:"us-ascii",o=t[3]?t[3].split(";")[1]:"utf8",a="utf8"==o?n.unescape(t[4]):t[4],s=new r(a,o);return s.charset=i,JSON.parse(s.toString())}function l(e,t,n){var r=m(e,!0,t.inline),i=!_(e);return t.localOnly?(t.warnings.push('Cannot fetch remote resource from "'+e+'" as no callback given.'),n(null)):i?(t.warnings.push('Cannot fetch "'+e+'" as no protocol given.'),n(null)):r?void t.fetch(e,t.inlineRequest,t.inlineTimeout,function(r,i){if(r)return t.warnings.push('Missing source map at "'+e+'" - '+r),n(null);n(i)}):(t.warnings.push('Cannot fetch "'+e+'" as resource is not allowed.'),n(null))}function c(e,t){var n,r=m(e,!1,t.inline);return h.existsSync(e)&&h.statSync(e).isFile()?r?(n=h.readFileSync(e,"utf-8"),JSON.parse(n)):(t.warnings.push('Cannot fetch "'+e+'" as resource is not allowed.'),null):(t.warnings.push('Ignoring local source map at "'+e+'" as resource is missing.'),null)}function f(e,t){var n,r,i;for(r=0,i=e.length;r<i;r++)switch((n=e[r])[0]){case y.AT_RULE:p(n,t);break;case y.AT_RULE_BLOCK:f(n[1],t),f(n[2],t);break;case y.AT_RULE_BLOCK_SCOPE:p(n,t);break;case y.NESTED_BLOCK:f(n[1],t),f(n[2],t);break;case y.NESTED_BLOCK_SCOPE:case y.COMMENT:p(n,t);break;case y.PROPERTY:f(n,t);break;case y.PROPERTY_BLOCK:f(n[1],t);break;case y.PROPERTY_NAME:case y.PROPERTY_VALUE:p(n,t);break;case y.RULE:f(n[1],t),f(n[2],t);break;case y.RULE_SCOPE:p(n,t)}return e}function p(e,t){var n,r,i=e[1],o=e[2],a=[];for(n=0,r=o.length;n<r;n++)a.push(t.originalPositionFor(o[n],i.length));e[2]=a}var h=e("fs"),d=e("path"),m=e("./is-allowed-resource"),g=e("./match-data-uri"),v=e("./rebase-local-map"),b=e("./rebase-remote-map"),y=e("../tokenizer/token"),_=e("../utils/has-protocol"),w=e("../utils/is-data-uri-resource"),A=e("../utils/is-remote-resource"),E=/^\/\*# sourceMappingURL=(\S+) \*\/$/;t.exports=function(e,t,n){var r={callback:n,fetch:t.options.fetch,index:0,inline:t.options.inline,inlineRequest:t.options.inlineRequest,inlineTimeout:t.options.inlineTimeout,inputSourceMapTracker:t.inputSourceMapTracker,localOnly:t.localOnly,processedTokens:[],rebaseTo:t.options.rebaseTo,sourceTokens:e,warnings:t.warnings};return t.options.sourceMap&&e.length>0?i(r):n(e)}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer)},{"../tokenizer/token":84,"../utils/has-protocol":88,"../utils/is-data-uri-resource":89,"../utils/is-remote-resource":93,"./is-allowed-resource":72,"./match-data-uri":75,"./rebase-local-map":78,"./rebase-remote-map":79,buffer:4,fs:3,path:111}],70:[function(e,t,n){var r=e("../utils/split"),i=/^\(/,o=/\)$/,a=/^@import/i,s=/['"]\s*/,u=/\s*['"]/,l=/^url\(\s*/i,c=/\s*\)/i;t.exports=function(e){var t,n,f,p;return f=e.replace(a,"").trim().replace(l,"(").replace(c,")").replace(s,"").replace(u,""),p=r(f," "),t=p[0].replace(i,"").replace(o,""),n=p.slice(1).join(" "),[t,n]}},{"../utils/split":96}],71:[function(e,t,n){function r(e){return e}function i(e,t){return t in e}function o(e,t,n,r){for(var i,s=t[0],u=t[1],l=t[2],c={line:s,column:u+n};!i&&c.column>u;)c.column--,i=e[l].originalPositionFor(c);return null===i.line&&s>1&&r>0?o(e,[s-1,u,l],n,r-1):null!==i.line?a(i):t}function a(e){return[e.line,e.column,e.source]}function s(e,t,n){e[t]=new u(n)}var u=e("source-map").SourceMapConsumer;t.exports=function(){var e={};return{all:r.bind(null,e),isTracking:i.bind(null,e),originalPositionFor:o.bind(null,e),track:s.bind(null,e)}}},{"source-map":156}],72:[function(e,t,n){function r(e,t,n){var s,c,f,p,h,d,m=!t;if(0===n.length)return!1;for(t&&!u(e)&&(e=l+e),s=t?a.parse(e).host:e,c=t?e:o.resolve(e),d=0;d<n.length;d++)p="!"==(f=n[d])[0],h=f.substring(1),m=p&&t&&i(h)?m&&!r(e,!0,[h]):!p||t||i(h)?p?m&&!0:"all"==f||(t&&"local"==f?m||!1:!(!t||"remote"!=f)||!(!t&&"remote"==f)&&(!t&&"local"==f||(f===s||(f===e||(!(!t||0!==c.indexOf(f))||(!t&&0===c.indexOf(o.resolve(f))||t!=i(h)&&(m&&!0))))))):m&&!r(e,!1,[h]);return m}function i(e){return s(e)||a.parse(l+"//"+e).host==e}var o=e("path"),a=e("url"),s=e("../utils/is-remote-resource"),u=e("../utils/has-protocol"),l="http:";t.exports=r},{"../utils/has-protocol":88,"../utils/is-remote-resource":93,path:111,url:162}],73:[function(e,t,n){function r(e){var t,n,r,i,o,a={};for(r in e)for(i=0,o=(t=e[r]).sources.length;i<o;i++)n=t.sources[i],r=t.sourceContentFor(n,!0),a[n]=r;return a}function i(e){var t,n,r,i=Object.keys(e.uriToSource);for(r=i.length;e.index<r;e.index++){if(t=i[e.index],!(n=e.uriToSource[t]))return o(t,e);e.sourcesContent[t]=n}return e.callback()}function o(e,t){var n;return p(e)?a(e,t,function(n){return t.index++,t.sourcesContent[e]=n,i(t)}):(n=s(e,t),t.index++,t.sourcesContent[e]=n,i(t))}function a(e,t,n){var r=c(e,!0,t.inline),i=!f(e);return t.localOnly?(t.warnings.push('Cannot fetch remote resource from "'+e+'" as no callback given.'),n(null)):i?(t.warnings.push('Cannot fetch "'+e+'" as no protocol given.'),n(null)):r?void t.fetch(e,t.inlineRequest,t.inlineTimeout,function(r,i){r&&t.warnings.push('Missing original source at "'+e+'" - '+r),n(i)}):(t.warnings.push('Cannot fetch "'+e+'" as resource is not allowed.'),n(null))}function s(e,t){var n=c(e,!1,t.inline),r=l.resolve(t.rebaseTo,e);return u.existsSync(r)&&u.statSync(r).isFile()?n?u.readFileSync(r,"utf8"):(t.warnings.push('Cannot fetch "'+r+'" as resource is not allowed.'),null):(t.warnings.push('Ignoring local source map at "'+r+'" as resource is missing.'),null)}var u=e("fs"),l=e("path"),c=e("./is-allowed-resource"),f=e("../utils/has-protocol"),p=e("../utils/is-remote-resource");t.exports=function(e,t){var n={callback:t,fetch:e.options.fetch,index:0,inline:e.options.inline,inlineRequest:e.options.inlineRequest,inlineTimeout:e.options.inlineTimeout,localOnly:e.localOnly,rebaseTo:e.options.rebaseTo,sourcesContent:e.sourcesContent,uriToSource:r(e.inputSourceMapTracker.all()),warnings:e.warnings};return e.options.sourceMap&&e.options.sourceMapInlineSources?i(n):t()}},{"../utils/has-protocol":88,"../utils/is-remote-resource":93,"./is-allowed-resource":72,fs:3,path:111}],74:[function(e,t,n){function r(e,t,n,f){var p,h=t.protocol||t.hostname,d=!1;p=l(a.parse(e),t||{}),void 0!==t.hostname&&(p.protocol=t.protocol||c,p.path=p.href),(h&&!u(h)||s(e)?i.get:o.get)(p,function(i){var o,s=[];if(!d){if(i.statusCode<200||i.statusCode>399)return f(i.statusCode,null);if(i.statusCode>299)return o=a.resolve(e,i.headers.location),r(o,t,n,f);i.on("data",function(e){s.push(e.toString())}),i.on("end",function(){var e=s.join("");f(null,e)})}}).on("error",function(e){d||(d=!0,f(e.message,null))}).on("timeout",function(){d||(d=!0,f("timeout",null))}).setTimeout(n)}var i=e("http"),o=e("https"),a=e("url"),s=e("../utils/is-http-resource"),u=e("../utils/is-https-resource"),l=e("../utils/override"),c="http:";t.exports=r},{"../utils/is-http-resource":90,"../utils/is-https-resource":91,"../utils/override":95,http:157,https:104,url:162}],75:[function(e,t,n){var r=/^data:(\S*?)?(;charset=[^;]+)?(;[^,]+?)?,(.+)/;t.exports=function(e){return r.exec(e)}},{}],76:[function(e,t,n){var r="/",i=/\\/g;t.exports=function(e){return e.replace(i,r)}},{}],77:[function(e,t,n){(function(n,r){function i(e,t,r){return"string"==typeof e?o(e,t,r):n.isBuffer(e)?o(e.toString(),t,r):Array.isArray(e)?a(e,t,r):"object"==typeof e?s(e,t,r):void 0}function o(e,t,n){return t.source=void 0,t.sourcesContent[void 0]=e,t.stats.originalSize+=e.length,h(e,t,{inline:t.options.inline},n)}function a(e,t,n){return h(e.reduce(function(e,n){return"string"==typeof n?u(n,e):l(n,t,e)},[]).join(""),t,{inline:["all"]},n)}function s(e,t,n){return h(l(e,t,[]).join(""),t,{inline:["all"]},n)}function u(e,t){return t.push(p(c(e))),t}function l(e,t,n){var r,i,o;for(r in e)o=e[r],i=c(r),n.push(p(i)),t.sourcesContent[i]=o.styles,o.sourceMap&&f(o.sourceMap,i,t);return n}function c(e){var t,n,r=A.resolve("");return U(e)?e:(t=A.isAbsolute(e)?e:A.resolve(e),n=A.relative(r,t),O(n))}function f(e,t,n){var r="string"==typeof e?JSON.parse(e):e,i=U(t)?B(r,t):D(r,t||N,n.options.rebaseTo);n.inputSourceMapTracker.track(t,i)}function p(e){return T("url("+e+")","")+L.SEMICOLON}function h(e,t,n,r){var i,o={};return t.source?U(t.source)?(o.fromBase=t.source,o.toBase=t.source):A.isAbsolute(t.source)?(o.fromBase=A.dirname(t.source),o.toBase=t.options.rebaseTo):(o.fromBase=A.dirname(A.resolve(t.source)),o.toBase=t.options.rebaseTo):(o.fromBase=A.resolve(""),o.toBase=t.options.rebaseTo),i=R(e,t),i=S(i,t.options.rebase,t.validator,o),d(n.inline)?m(i,t,n,r):r(i)}function d(e){return!(1==e.length&&"none"==e[0])}function m(e,t,n,r){return g({afterContent:!1,callback:r,errors:t.errors,externalContext:t,fetch:t.options.fetch,inlinedStylesheets:n.inlinedStylesheets||t.inlinedStylesheets,inline:n.inline,inlineRequest:t.options.inlineRequest,inlineTimeout:t.options.inlineTimeout,isRemote:n.isRemote||!1,localOnly:t.localOnly,outputTokens:[],rebaseTo:t.options.rebaseTo,sourceTokens:e,warnings:t.warnings})}function g(e){var t,n,r;for(n=0,r=e.sourceTokens.length;n<r;n++){if((t=e.sourceTokens[n])[0]==F.AT_RULE&&P(t[1]))return e.sourceTokens.splice(0,n),v(t,e);t[0]==F.AT_RULE||t[0]==F.COMMENT?e.outputTokens.push(t):(e.outputTokens.push(t),e.afterContent=!0)}return e.sourceTokens=[],e.callback(e.outputTokens)}function v(e,t){var n=x(e[1]),r=n[0],i=n[1],o=e[2];return U(r)?b(r,i,o,t):y(r,i,o,t)}function b(e,t,n,i){function o(o,a){return o?(i.errors.push('Broken @import declaration of "'+e+'" - '+o),r.nextTick(function(){i.outputTokens=i.outputTokens.concat(i.sourceTokens.slice(0,1)),i.sourceTokens=i.sourceTokens.slice(1),g(i)})):(i.inline=i.externalContext.options.inline,i.isRemote=!0,i.externalContext.source=s,i.externalContext.sourcesContent[e]=a,i.externalContext.stats.originalSize+=a.length,h(a,i.externalContext,i,function(e){return e=_(e,t,n),i.outputTokens=i.outputTokens.concat(e),i.sourceTokens=i.sourceTokens.slice(1),g(i)}))}var a=C(e,!0,i.inline),s=e,u=e in i.externalContext.sourcesContent,l=!M(e);return i.inlinedStylesheets.indexOf(e)>-1?(i.warnings.push('Ignoring remote @import of "'+e+'" as it has already been imported.'),i.sourceTokens=i.sourceTokens.slice(1),g(i)):i.localOnly&&i.afterContent?(i.warnings.push('Ignoring remote @import of "'+e+'" as no callback given and after other content.'),i.sourceTokens=i.sourceTokens.slice(1),g(i)):l?(i.warnings.push('Skipping remote @import of "'+e+'" as no protocol given.'),i.outputTokens=i.outputTokens.concat(i.sourceTokens.slice(0,1)),i.sourceTokens=i.sourceTokens.slice(1),g(i)):i.localOnly&&!u?(i.warnings.push('Skipping remote @import of "'+e+'" as no callback given.'),i.outputTokens=i.outputTokens.concat(i.sourceTokens.slice(0,1)),i.sourceTokens=i.sourceTokens.slice(1),g(i)):!a&&i.afterContent?(i.warnings.push('Ignoring remote @import of "'+e+'" as resource is not allowed and after other content.'),i.sourceTokens=i.sourceTokens.slice(1),g(i)):a?(i.inlinedStylesheets.push(e),u?o(null,i.externalContext.sourcesContent[e]):i.fetch(e,i.inlineRequest,i.inlineTimeout,o)):(i.warnings.push('Skipping remote @import of "'+e+'" as resource is not allowed.'),i.outputTokens=i.outputTokens.concat(i.sourceTokens.slice(0,1)),i.sourceTokens=i.sourceTokens.slice(1),g(i))}function y(e,t,n,r){var i,o,a=A.resolve(""),s=A.isAbsolute(e)?A.resolve(a,"/"==e[0]?e.substring(1):e):A.resolve(r.rebaseTo,e),u=A.relative(a,s),l=C(e,!1,r.inline),c=O(u),f=c in r.externalContext.sourcesContent;return r.inlinedStylesheets.indexOf(s)>-1?r.warnings.push('Ignoring local @import of "'+e+'" as it has already been imported.'):f||w.existsSync(s)&&w.statSync(s).isFile()?!l&&r.afterContent?r.warnings.push('Ignoring local @import of "'+e+'" as resource is not allowed and after other content.'):r.afterContent?r.warnings.push('Ignoring local @import of "'+e+'" as after other content.'):l?(i=f?r.externalContext.sourcesContent[c]:w.readFileSync(s,"utf-8"),r.inlinedStylesheets.push(s),r.inline=r.externalContext.options.inline,r.externalContext.source=c,r.externalContext.sourcesContent[c]=i,r.externalContext.stats.originalSize+=i.length,o=_(o=h(i,r.externalContext,r,function(e){return e}),t,n),r.outputTokens=r.outputTokens.concat(o)):(r.warnings.push('Skipping local @import of "'+e+'" as resource is not allowed.'),r.outputTokens=r.outputTokens.concat(r.sourceTokens.slice(0,1))):r.errors.push('Ignoring local @import of "'+e+'" as resource is missing.'),r.sourceTokens=r.sourceTokens.slice(1),g(r)}function _(e,t,n){return t?[[F.NESTED_BLOCK,[[F.NESTED_BLOCK_SCOPE,"@media "+t,n]],e]]:e}var w=e("fs"),A=e("path"),E=e("./apply-source-maps"),x=e("./extract-import-url-and-media"),C=e("./is-allowed-resource"),k=e("./load-original-sources"),O=e("./normalize-path"),S=e("./rebase"),D=e("./rebase-local-map"),B=e("./rebase-remote-map"),T=e("./restore-import"),R=e("../tokenizer/tokenize"),F=e("../tokenizer/token"),L=e("../tokenizer/marker"),M=e("../utils/has-protocol"),P=e("../utils/is-import"),U=e("../utils/is-remote-resource"),N="uri:unknown";t.exports=function(e,t,n){return i(e,t,function(e){return E(e,t,function(){return k(t,function(){return n(e)})})})}}).call(this,{isBuffer:e("../../../is-buffer/index.js")},e("_process"))},{"../../../is-buffer/index.js":107,"../tokenizer/marker":83,"../tokenizer/token":84,"../tokenizer/tokenize":85,"../utils/has-protocol":88,"../utils/is-import":92,"../utils/is-remote-resource":93,"./apply-source-maps":69,"./extract-import-url-and-media":70,"./is-allowed-resource":72,"./load-original-sources":73,"./normalize-path":76,"./rebase":80,"./rebase-local-map":78,"./rebase-remote-map":79,"./restore-import":81,_process:113,fs:3,path:111}],78:[function(e,t,n){var r=e("path");t.exports=function(e,t,n){var i=r.resolve(""),o=r.resolve(i,t),a=r.dirname(o);return e.sources=e.sources.map(function(e){return r.relative(n,r.resolve(a,e))}),e}},{path:111}],79:[function(e,t,n){var r=e("path"),i=e("url");t.exports=function(e,t){var n=r.dirname(t);return e.sources=e.sources.map(function(e){return i.resolve(n,e)}),e}},{path:111,url:162}],80:[function(e,t,n){function r(e,t,n){var i,u,l;for(u=0,l=e.length;u<l;u++)switch((i=e[u])[0]){case f.AT_RULE:o(i,t,n);break;case f.AT_RULE_BLOCK:s(i[2],t,n);break;case f.COMMENT:a(i,n);break;case f.NESTED_BLOCK:r(i[2],t,n);break;case f.RULE:s(i[2],t,n)}return e}function i(e,t,n){var r,i,a;for(i=0,a=e.length;i<a;i++)switch((r=e[i])[0]){case f.AT_RULE:o(r,t,n)}return e}function o(e,t,n){if(p(e[1])){var r=u(e[1]),i=c(r[0],n),o=r[1];e[1]=l(i,o)}}function a(e,t){var n=h.exec(e[1]);n&&-1===n[1].indexOf("data:")&&(e[1]=e[1].replace(n[1],c(n[1],t,!0)))}function s(e,t,n){var r,i,o,a,s,u;for(o=0,a=e.length;o<a;o++)for(s=2,u=(r=e[o]).length;s<u;s++)i=r[s][1],t.isUrl(i)&&(r[s][1]=c(i,n))}var u=e("./extract-import-url-and-media"),l=e("./restore-import"),c=e("./rewrite-url"),f=e("../tokenizer/token"),p=e("../utils/is-import"),h=/^\/\*# sourceMappingURL=(\S+) \*\/$/;t.exports=function(e,t,n,o){return t?r(e,n,o):i(e,n,o)}},{"../tokenizer/token":84,"../utils/is-import":92,"./extract-import-url-and-media":70,"./restore-import":81,"./rewrite-url":82}],81:[function(e,t,n){t.exports=function(e,t){return("@import "+e+" "+t).trim()}},{}],82:[function(e,t,n){(function(n){function r(e,t){return t?i(e)&&!s(t.toBase)?e:s(e)||o(e)||a(e)?e:u(e)?"'"+e+"'":s(t.toBase)?g.resolve(t.toBase,e):f(t.absolute?l(e,t):c(e,t)):e}function i(e){return m.isAbsolute(e)}function o(e){return"#"==e[0]}function a(e){return/^\w+:\w+/.test(e)}function s(e){return/^[^:]+?:\/\//.test(e)||0===e.indexOf("//")}function u(e){return 0===e.indexOf("data:")}function l(e,t){return m.resolve(m.join(t.fromBase||"",e)).replace(t.toBase,"")}function c(e,t){return m.relative(t.toBase,m.join(t.fromBase||"",e))}function f(e){return O?e.replace(/\\/g,"/"):e}function p(e){return e.indexOf(b)>-1?v:e.indexOf(v)>-1?b:h(e)||d(e)?b:""}function h(e){return k.test(e)}function d(e){return E.test(e)}var m=e("path"),g=e("url"),v='"',b="'",y="url(",_=")",w=/^["']/,A=/["']$/,E=/[\(\)]/,x=/^url\(/i,C=/\)$/,k=/\s/,O="win32"==n.platform;t.exports=function(e,t,n){var i=e.replace(x,"").replace(C,"").trim(),o=i.replace(w,"").replace(A,"").trim(),a=i[0]==b||i[0]==v?i[0]:p(o);return n?r(o,t):y+a+r(o,t)+a+_}}).call(this,e("_process"))},{_process:113,path:111,url:162}],83:[function(e,t,n){var r={ASTERISK:"*",AT:"@",BACK_SLASH:"\\",CLOSE_CURLY_BRACKET:"}",CLOSE_ROUND_BRACKET:")",CLOSE_SQUARE_BRACKET:"]",COLON:":",COMMA:",",DOUBLE_QUOTE:'"',EXCLAMATION:"!",FORWARD_SLASH:"/",INTERNAL:"-clean-css-",NEW_LINE_NIX:"\n",NEW_LINE_WIN:"\r",OPEN_CURLY_BRACKET:"{",OPEN_ROUND_BRACKET:"(",OPEN_SQUARE_BRACKET:"[",SEMICOLON:";",SINGLE_QUOTE:"'",SPACE:" ",TAB:"\t",UNDERSCORE:"_"};t.exports=r},{}],84:[function(e,t,n){var r={AT_RULE:"at-rule",AT_RULE_BLOCK:"at-rule-block",AT_RULE_BLOCK_SCOPE:"at-rule-block-scope",COMMENT:"comment",NESTED_BLOCK:"nested-block",NESTED_BLOCK_SCOPE:"nested-block-scope",PROPERTY:"property",PROPERTY_BLOCK:"property-block",PROPERTY_NAME:"property-name",PROPERTY_VALUE:"property-value",RULE:"rule",RULE_SCOPE:"rule-scope"};t.exports=r},{}],85:[function(e,t,n){function r(e,t,n,h){for(var d,m,g,v,b,_,w,A,E,x,C,k,O=[],S=O,D=[],B=[],T=n.level,R=[],F=[],L=[],M=0,P=!1,U=!1,N=!1,q=!1,z=n.position;z.index<e.length;z.index++){var I=e[z.index];if(_=T==p.SINGLE_QUOTE||T==p.DOUBLE_QUOTE,w=I==l.SPACE||I==l.TAB,A=I==l.NEW_LINE_NIX,E=I==l.NEW_LINE_NIX&&e[z.index-1]==l.NEW_LINE_WIN,x=!U&&T!=p.COMMENT&&!_&&I==l.ASTERISK&&e[z.index-1]==l.FORWARD_SLASH,C=!P&&T==p.COMMENT&&I==l.FORWARD_SLASH&&e[z.index-1]==l.ASTERISK,v=0===F.length?[z.line,z.column,z.source]:v,k)F.push(I);else if(C||T!=p.COMMENT)if(x&&(T==p.BLOCK||T==p.RULE)&&F.length>1)B.push(v),F.push(I),L.push(F.slice(0,F.length-2)),F=F.slice(F.length-2),v=[z.line,z.column-1,z.source],R.push(T),T=p.COMMENT;else if(x)R.push(T),T=p.COMMENT,F.push(I);else if(C)b=F.join("").trim()+I,d=[c.COMMENT,b,[i(v,b,t)]],S.push(d),T=R.pop(),v=B.pop()||null,F=L.pop()||[];else if(I!=l.SINGLE_QUOTE||_)if(I==l.SINGLE_QUOTE&&T==p.SINGLE_QUOTE)T=R.pop(),F.push(I);else if(I!=l.DOUBLE_QUOTE||_)if(I==l.DOUBLE_QUOTE&&T==p.DOUBLE_QUOTE)T=R.pop(),F.push(I);else if(!x&&!C&&I!=l.CLOSE_ROUND_BRACKET&&I!=l.OPEN_ROUND_BRACKET&&T!=p.COMMENT&&!_&&M>0)F.push(I);else if(I!=l.OPEN_ROUND_BRACKET||_||T==p.COMMENT||N)if(I!=l.CLOSE_ROUND_BRACKET||_||T==p.COMMENT||N)if(I==l.SEMICOLON&&T==p.BLOCK&&F[0]==l.AT)b=F.join("").trim(),O.push([c.AT_RULE,b,[i(v,b,t)]]),F=[];else if(I==l.COMMA&&T==p.BLOCK&&m)b=F.join("").trim(),m[1].push([a(m[0]),b,[i(v,b,t,m[1].length)]]),F=[];else if(I==l.COMMA&&T==p.BLOCK&&o(F)==c.AT_RULE)F.push(I);else if(I==l.COMMA&&T==p.BLOCK)m=[o(F),[],[]],b=F.join("").trim(),m[1].push([a(m[0]),b,[i(v,b,t,0)]]),F=[];else if(I==l.OPEN_CURLY_BRACKET&&T==p.BLOCK&&m&&m[0]==c.NESTED_BLOCK)b=F.join("").trim(),m[1].push([c.NESTED_BLOCK_SCOPE,b,[i(v,b,t)]]),O.push(m),R.push(T),z.column++,z.index++,F=[],m[2]=r(e,t,n,!0),m=null;else if(I==l.OPEN_CURLY_BRACKET&&T==p.BLOCK&&o(F)==c.NESTED_BLOCK)b=F.join("").trim(),(m=m||[c.NESTED_BLOCK,[],[]])[1].push([c.NESTED_BLOCK_SCOPE,b,[i(v,b,t)]]),O.push(m),R.push(T),z.column++,z.index++,F=[],m[2]=r(e,t,n,!0),m=null;else if(I==l.OPEN_CURLY_BRACKET&&T==p.BLOCK)b=F.join("").trim(),(m=m||[o(F),[],[]])[1].push([a(m[0]),b,[i(v,b,t,m[1].length)]]),S=m[2],O.push(m),R.push(T),T=p.RULE,F=[];else if(I==l.OPEN_CURLY_BRACKET&&T==p.RULE&&N)D.push(m),m=[c.PROPERTY_BLOCK,[]],g.push(m),S=m[1],R.push(T),T=p.RULE,N=!1;else if(I==l.OPEN_CURLY_BRACKET&&T==p.RULE&&s(F))b=F.join("").trim(),D.push(m),(m=[c.AT_RULE_BLOCK,[],[]])[1].push([c.AT_RULE_BLOCK_SCOPE,b,[i(v,b,t)]]),S.push(m),S=m[2],R.push(T),T=p.RULE,F=[];else if(I!=l.COLON||T!=p.RULE||N)if(I==l.SEMICOLON&&T==p.RULE&&g&&D.length>0&&F.length>0&&F[0]==l.AT)b=F.join("").trim(),m[1].push([c.AT_RULE,b,[i(v,b,t)]]),F=[];else if(I==l.SEMICOLON&&T==p.RULE&&g&&F.length>0)b=F.join("").trim(),g.push([c.PROPERTY_VALUE,b,[i(v,b,t)]]),g=null,N=!1,F=[];else if(I==l.SEMICOLON&&T==p.RULE&&g&&0===F.length)g=null,N=!1;else if(I==l.SEMICOLON&&T==p.RULE&&F.length>0&&F[0]==l.AT)b=F.join(""),S.push([c.AT_RULE,b,[i(v,b,t)]]),N=!1,F=[];else if(I==l.SEMICOLON&&T==p.RULE&&q)q=!1,F=[];else if(I==l.SEMICOLON&&T==p.RULE&&0===F.length);else if(I==l.CLOSE_CURLY_BRACKET&&T==p.RULE&&g&&N&&F.length>0&&D.length>0)b=F.join(""),g.push([c.PROPERTY_VALUE,b,[i(v,b,t)]]),g=null,S=(m=D.pop())[2],T=R.pop(),N=!1,F=[];else if(I==l.CLOSE_CURLY_BRACKET&&T==p.RULE&&g&&F.length>0&&F[0]==l.AT&&D.length>0)b=F.join(""),m[1].push([c.AT_RULE,b,[i(v,b,t)]]),g=null,S=(m=D.pop())[2],T=R.pop(),N=!1,F=[];else if(I==l.CLOSE_CURLY_BRACKET&&T==p.RULE&&g&&D.length>0)g=null,S=(m=D.pop())[2],T=R.pop(),N=!1;else if(I==l.CLOSE_CURLY_BRACKET&&T==p.RULE&&g&&F.length>0)b=F.join(""),g.push([c.PROPERTY_VALUE,b,[i(v,b,t)]]),g=null,m=D.pop(),S=O,T=R.pop(),N=!1,F=[];else if(I==l.CLOSE_CURLY_BRACKET&&T==p.RULE&&F.length>0&&F[0]==l.AT)g=null,m=null,b=F.join("").trim(),S.push([c.AT_RULE,b,[i(v,b,t)]]),S=O,T=R.pop(),N=!1,F=[];else if(I==l.CLOSE_CURLY_BRACKET&&T==p.RULE&&R[R.length-1]==p.RULE)g=null,S=(m=D.pop())[2],T=R.pop(),N=!1,q=!0,F=[];else if(I==l.CLOSE_CURLY_BRACKET&&T==p.RULE)g=null,m=null,S=O,T=R.pop(),N=!1;else if(I==l.CLOSE_CURLY_BRACKET&&T==p.BLOCK&&!h&&z.index<=e.length-1)t.warnings.push("Unexpected '}' at "+f([z.line,z.column,z.source])+"."),F.push(I);else{if(I==l.CLOSE_CURLY_BRACKET&&T==p.BLOCK)break;I==l.OPEN_ROUND_BRACKET&&T==p.RULE&&N?(F.push(I),M++):I==l.CLOSE_ROUND_BRACKET&&T==p.RULE&&N&&1==M?(F.push(I),b=F.join("").trim(),g.push([c.PROPERTY_VALUE,b,[i(v,b,t)]]),M--,F=[]):I==l.CLOSE_ROUND_BRACKET&&T==p.RULE&&N?(F.push(I),M--):I==l.FORWARD_SLASH&&e[z.index+1]!=l.ASTERISK&&T==p.RULE&&N&&F.length>0?(b=F.join("").trim(),g.push([c.PROPERTY_VALUE,b,[i(v,b,t)]]),g.push([c.PROPERTY_VALUE,I,[[z.line,z.column,z.source]]]),F=[]):I==l.FORWARD_SLASH&&e[z.index+1]!=l.ASTERISK&&T==p.RULE&&N?(g.push([c.PROPERTY_VALUE,I,[[z.line,z.column,z.source]]]),F=[]):I==l.COMMA&&T==p.RULE&&N&&F.length>0?(b=F.join("").trim(),g.push([c.PROPERTY_VALUE,b,[i(v,b,t)]]),g.push([c.PROPERTY_VALUE,I,[[z.line,z.column,z.source]]]),F=[]):I==l.COMMA&&T==p.RULE&&N?(g.push([c.PROPERTY_VALUE,I,[[z.line,z.column,z.source]]]),F=[]):I==l.CLOSE_SQUARE_BRACKET&&g&&g.length>1&&F.length>0&&u(F)?(F.push(I),b=F.join("").trim(),g[g.length-1][1]+=b,F=[]):(w||A&&!E)&&T==p.RULE&&N&&g&&F.length>0?(b=F.join("").trim(),g.push([c.PROPERTY_VALUE,b,[i(v,b,t)]]),F=[]):E&&T==p.RULE&&N&&g&&F.length>1?(b=F.join("").trim(),g.push([c.PROPERTY_VALUE,b,[i(v,b,t)]]),F=[]):E&&T==p.RULE&&N?F=[]:1==F.length&&E?F.pop():(F.length>0||!w&&!A&&!E)&&F.push(I)}else b=F.join("").trim(),g=[c.PROPERTY,[c.PROPERTY_NAME,b,[i(v,b,t)]]],S.push(g),N=!0,F=[];else F.push(I),M--;else F.push(I),M++;else R.push(T),T=p.DOUBLE_QUOTE,F.push(I);else R.push(T),T=p.SINGLE_QUOTE,F.push(I);else F.push(I);k=!k&&I==l.BACK_SLASH,P=x,U=C,z.line=E||A?z.line+1:z.line,z.column=E||A?0:z.column+1}return N&&t.warnings.push("Missing '}' at "+f([z.line,z.column,z.source])+"."),N&&F.length>0&&(b=F.join("").replace(y,""),g.push([c.PROPERTY_VALUE,b,[i(v,b,t)]]),F=[]),F.length>0&&t.warnings.push("Invalid character(s) '"+F.join("")+"' at "+f(v)+". Ignoring."),O}function i(e,t,n,r){var i=e[2];return n.inputSourceMapTracker.isTracking(i)?n.inputSourceMapTracker.originalPositionFor(e,t.length,r):e}function o(e){var t=e[0]==l.AT||e[0]==l.UNDERSCORE,n=e.join("").split(b)[0];return t&&d.indexOf(n)>-1?c.NESTED_BLOCK:t&&h.indexOf(n)>-1?c.AT_RULE:t?c.AT_RULE_BLOCK:c.RULE}function a(e){return e==c.RULE?c.RULE_SCOPE:e==c.NESTED_BLOCK?c.NESTED_BLOCK_SCOPE:e==c.AT_RULE_BLOCK?c.AT_RULE_BLOCK_SCOPE:void 0}function s(e){var t=e.join("").trim();return m.indexOf(t)>-1||g.indexOf(t)>-1}function u(e){return v.test(e.join("")+l.CLOSE_SQUARE_BRACKET)}var l=e("./marker"),c=e("./token"),f=e("../utils/format-position"),p={BLOCK:"block",COMMENT:"comment",DOUBLE_QUOTE:"double-quote",RULE:"rule",SINGLE_QUOTE:"single-quote"},h=["@charset","@import"],d=["@-moz-document","@document","@-moz-keyframes","@-ms-keyframes","@-o-keyframes","@-webkit-keyframes","@keyframes","@media","@supports"],m=["@bottom-center","@bottom-left","@bottom-left-corner","@bottom-right","@bottom-right-corner","@left-bottom","@left-middle","@left-top","@right-bottom","@right-middle","@right-top","@top-center","@top-left","@top-left-corner","@top-right","@top-right-corner"],g=["@footnote","@footnotes","@left","@page-float-bottom","@page-float-top","@right"],v=/^\[\s*\d+\s*\]$/,b=/[\s\(]/,y=/[\s|\}]*$/;t.exports=function(e,t){return r(e,t,{level:p.BLOCK,position:{source:t.source||void 0,line:1,column:0,index:0}},!1)}},{"../utils/format-position":87,"./marker":83,"./token":84}],86:[function(e,t,n){function r(e){for(var t=e.slice(0),n=0,i=t.length;n<i;n++)Array.isArray(t[n])&&(t[n]=r(t[n]));return t}t.exports=r},{}],87:[function(e,t,n){t.exports=function(e){var t=e[0],n=e[1],r=e[2];return r?r+":"+t+":"+n:t+":"+n}},{}],88:[function(e,t,n){var r=/^\/\//;t.exports=function(e){return!r.test(e)}},{}],89:[function(e,t,n){var r=/^data:(\S*?)?(;charset=[^;]+)?(;[^,]+?)?,(.+)/;t.exports=function(e){return r.test(e)}},{}],90:[function(e,t,n){var r=/^http:\/\//;t.exports=function(e){return r.test(e)}},{}],91:[function(e,t,n){var r=/^https:\/\//;t.exports=function(e){return r.test(e)}},{}],92:[function(e,t,n){var r=/^@import/i;t.exports=function(e){return r.test(e)}},{}],93:[function(e,t,n){var r=/^(\w+:\/\/|\/\/)/;t.exports=function(e){return r.test(e)}},{}],94:[function(e,t,n){function r(e){return""+parseInt(e)==e?parseInt(e):e}var i=/([0-9]+)/;t.exports=function(e,t){var n,o,a,s,u=(""+e).split(i).map(r),l=(""+t).split(i).map(r);for(a=0,s=Math.min(u.length,l.length);a<s;a++)if(n=u[a],o=l[a],n!=o)return n>o?1:-1;return u.length>l.length?1:u.length==l.length?0:-1}},{}],95:[function(e,t,n){function r(e,t){var n,i,o,a={};for(n in e)o=e[n],Array.isArray(o)?a[n]=o.slice(0):a[n]="object"==typeof o&&null!==o?r(o,{}):o;for(i in t)o=t[i],i in a&&Array.isArray(o)?a[i]=o.slice(0):a[i]=i in a&&"object"==typeof o&&null!==o?r(a[i],o):o;return a}t.exports=r},{}],96:[function(e,t,n){var r=e("../tokenizer/marker");t.exports=function(e,t){var n,i=r.OPEN_ROUND_BRACKET,o=r.CLOSE_ROUND_BRACKET,a=0,s=0,u=0,l=e.length,c=[];if(-1==e.indexOf(t))return[e];if(-1==e.indexOf(i))return e.split(t);for(;s<l;)e[s]==i?a++:e[s]==o&&a--,0===a&&s>0&&s+1<l&&e[s]==t&&(c.push(e.substring(u,s)),u=s+1),s++;return u<s+1&&((n=e.substring(u))[n.length-1]==t&&(n=n.substring(0,n.length-1)),c.push(n)),c}},{"../tokenizer/marker":83}],97:[function(e,t,n){function r(e){return"background"==e[1][1]||"transform"==e[1][1]||"src"==e[1][1]}function i(e,t){return e[t][1][e[t][1].length-1]==S.CLOSE_ROUND_BRACKET}function o(e,t){return e[t][1]==S.COMMA}function a(e,t){return e[t][1]==S.FORWARD_SLASH}function s(e,t){return e[t+1]&&e[t+1][1]==S.COMMA}function u(e,t){return e[t+1]&&e[t+1][1]==S.FORWARD_SLASH}function l(e){return"filter"==e[1][1]||"-ms-filter"==e[1][1]}function c(e,t,n){return!e.spaceAfterClosingBrace&&r(t)&&i(t,n)||u(t,n)||a(t,n)||s(t,n)||o(t,n)}function f(e,t){for(var n=e.store,r=0,i=t.length;r<i;r++)n(e,t[r]),r<i-1&&n(e,A(e))}function p(e,t){for(var n=h(t),r=0,i=t.length;r<i;r++)d(e,t,r,n)}function h(e){for(var t=e.length-1;t>=0&&e[t][0]==D.COMMENT;t--);return t}function d(e,t,n,r){var i=e.store,o=t[n],a=o[2][0]==D.PROPERTY_BLOCK,s=n<r||a,u=n===r;switch(o[0]){case D.AT_RULE:i(e,o),i(e,w(e,k.AfterProperty,!1));break;case D.AT_RULE_BLOCK:f(e,o[1]),i(e,b(e,k.AfterRuleBegins,!0)),p(e,o[2]),i(e,y(e,k.AfterRuleEnds,!1,u));break;case D.COMMENT:i(e,o);break;case D.PROPERTY:i(e,o[1]),i(e,_(e)),m(e,o),i(e,s?w(e,k.AfterProperty,u):C)}}function m(e,t){var n,r,i=e.store;if(t[2][0]==D.PROPERTY_BLOCK)i(e,b(e,k.AfterBlockBegins,!1)),p(e,t[2][1]),i(e,y(e,k.AfterBlockEnds,!1,!0));else for(n=2,r=t.length;n<r;n++)i(e,t[n]),n<r-1&&(l(t)||!c(e,t,n))&&i(e,S.SPACE)}function g(e,t){return e.format&&e.format.breaks[t]}function v(e,t){return e.format&&e.format.spaces[t]}function b(e,t,n){return e.format?(e.indentBy+=e.format.indentBy,e.indentWith=e.format.indentWith.repeat(e.indentBy),(n&&v(e,O.BeforeBlockBegins)?S.SPACE:C)+S.OPEN_CURLY_BRACKET+(g(e,t)?x:C)+e.indentWith):S.OPEN_CURLY_BRACKET}function y(e,t,n,r){return e.format?(e.indentBy-=e.format.indentBy,e.indentWith=e.format.indentWith.repeat(e.indentBy),(g(e,k.AfterProperty)||n&&g(e,k.BeforeBlockEnds)?x:C)+e.indentWith+S.CLOSE_CURLY_BRACKET+(r?C:(g(e,t)?x:C)+e.indentWith)):S.CLOSE_CURLY_BRACKET}function _(e){return e.format?S.COLON+(v(e,O.BeforeValue)?S.SPACE:C):S.COLON}function w(e,t,n){return e.format?S.SEMICOLON+(n||!g(e,t)?C:x+e.indentWith):S.SEMICOLON}function A(e){return e.format?S.COMMA+(g(e,k.BetweenSelectors)?x:C)+e.indentWith:S.COMMA}function E(e,t){var n,r,i,o,a=e.store;for(i=0,o=t.length;i<o;i++)switch(n=t[i],r=i==o-1,n[0]){case D.AT_RULE:a(e,n),a(e,w(e,k.AfterAtRule,r));break;case D.AT_RULE_BLOCK:f(e,n[1]),a(e,b(e,k.AfterRuleBegins,!0)),p(e,n[2]),a(e,y(e,k.AfterRuleEnds,!1,r));break;case D.NESTED_BLOCK:f(e,n[1]),a(e,b(e,k.AfterBlockBegins,!0)),E(e,n[2]),a(e,y(e,k.AfterBlockEnds,!0,r));break;case D.COMMENT:a(e,n),a(e,g(e,k.AfterComment)?x:C);break;case D.RULE:f(e,n[1]),a(e,b(e,k.AfterRuleBegins,!0)),p(e,n[2]),a(e,y(e,k.AfterRuleEnds,!1,r))}}var x=e("os").EOL,C="",k=e("../options/format").Breaks,O=e("../options/format").Spaces,S=e("../tokenizer/marker"),D=e("../tokenizer/token");t.exports={all:E,body:p,property:d,rules:f,value:m}},{"../options/format":61,"../tokenizer/marker":83,"../tokenizer/token":84,os:110}],98:[function(e,t,n){function r(e,t){e.output.push("string"==typeof t?t:t[1])}function i(){return{output:[],store:r}}var o=e("./helpers");t.exports={all:function(e){var t=i();return o.all(t,e),t.output.join("")},body:function(e){var t=i();return o.body(t,e),t.output.join("")},property:function(e,t){var n=i();return o.property(n,e,t,!0),n.output.join("")},rules:function(e){var t=i();return o.rules(t,e),t.output.join("")},value:function(e){var t=i();return o.value(t,e),t.output.join("")}}},{"./helpers":97}],99:[function(e,t,n){function r(e,t){var n="string"==typeof t?t:t[1];(0,e.wrap)(e,n),o(e,n),e.output.push(n)}function i(e,t){e.column+t.length>e.format.wrapAt&&(o(e,s),e.output.push(s))}function o(e,t){var n=t.split("\n");e.line+=n.length-1,e.column=n.length>1?0:e.column+n.pop().length}var a=e("./helpers").all,s=e("os").EOL;t.exports=function(e,t){var n={column:0,format:t.options.format,indentBy:0,indentWith:"",line:1,output:[],spaceAfterClosingBrace:t.options.compatibility.properties.spaceAfterClosingBrace,store:r,wrap:t.options.format.wrapAt?i:function(){}};return a(n,e),{styles:n.output.join("")}}},{"./helpers":97,os:110}],100:[function(e,t,n){(function(n){function r(e,t){var n="string"==typeof t,r=n?t:t[1],i=n?null:t[2];(0,e.wrap)(e,r),o(e,r,i),e.output.push(r)}function i(e,t){e.column+t.length>e.format.wrapAt&&(o(e,c,!1),e.output.push(c))}function o(e,t,n){var r=t.split("\n");n&&a(e,n),e.line+=r.length-1,e.column=r.length>1?0:e.column+r.pop().length}function a(e,t){for(var n=0,r=t.length;n<r;n++)s(e,t[n])}function s(e,t){var n=t[0],r=t[1],i=t[2],o=i,a=o||d;p&&o&&!f(o)&&(a=o.replace(h,m)),e.outputMap.addMapping({generated:{line:e.line,column:e.column},source:a,original:{line:n,column:r}}),e.inlineSources&&i in e.sourcesContent&&e.outputMap.setSourceContent(a,e.sourcesContent[i])}var u=e("source-map").SourceMapGenerator,l=e("./helpers").all,c=e("os").EOL,f=e("../utils/is-remote-resource"),p="win32"==n.platform,h=/\//g,d="$stdin",m="\\";t.exports=function(e,t){var n={column:0,format:t.options.format,indentBy:0,indentWith:"",inlineSources:t.options.sourceMapInlineSources,line:1,output:[],outputMap:new u,sourcesContent:t.sourcesContent,spaceAfterClosingBrace:t.options.compatibility.properties.spaceAfterClosingBrace,store:r,wrap:t.options.format.wrapAt?i:function(){}};return l(n,e),{sourceMap:n.outputMap,styles:n.output.join("")}}}).call(this,e("_process"))},{"../utils/is-remote-resource":93,"./helpers":97,_process:113,os:110,"source-map":156}],101:[function(e,t,n){(function(e){function t(e){return Object.prototype.toString.call(e)}n.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===t(e)},n.isBoolean=function(e){return"boolean"==typeof e},n.isNull=function(e){return null===e},n.isNullOrUndefined=function(e){return null==e},n.isNumber=function(e){return"number"==typeof e},n.isString=function(e){return"string"==typeof e},n.isSymbol=function(e){return"symbol"==typeof e},n.isUndefined=function(e){return void 0===e},n.isRegExp=function(e){return"[object RegExp]"===t(e)},n.isObject=function(e){return"object"==typeof e&&null!==e},n.isDate=function(e){return"[object Date]"===t(e)},n.isError=function(e){return"[object Error]"===t(e)||e instanceof Error},n.isFunction=function(e){return"function"==typeof e},n.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},n.isBuffer=e.isBuffer}).call(this,{isBuffer:e("../../is-buffer/index.js")})},{"../../is-buffer/index.js":107}],102:[function(e,t,n){function r(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function i(e){return"function"==typeof e}function o(e){return"number"==typeof e}function a(e){return"object"==typeof e&&null!==e}function s(e){return void 0===e}t.exports=r,r.EventEmitter=r,r.prototype._events=void 0,r.prototype._maxListeners=void 0,r.defaultMaxListeners=10,r.prototype.setMaxListeners=function(e){if(!o(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},r.prototype.emit=function(e){var t,n,r,o,u,l;if(this._events||(this._events={}),"error"===e&&(!this._events.error||a(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var c=new Error('Uncaught, unspecified "error" event. ('+t+")");throw c.context=t,c}if(n=this._events[e],s(n))return!1;if(i(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:o=Array.prototype.slice.call(arguments,1),n.apply(this,o)}else if(a(n))for(o=Array.prototype.slice.call(arguments,1),r=(l=n.slice()).length,u=0;u<r;u++)l[u].apply(this,o);return!0},r.prototype.addListener=function(e,t){var n;if(!i(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,i(t.listener)?t.listener:t),this._events[e]?a(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,a(this._events[e])&&!this._events[e].warned&&(n=s(this._maxListeners)?r.defaultMaxListeners:this._maxListeners)&&n>0&&this._events[e].length>n&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(e,t){function n(){this.removeListener(e,n),r||(r=!0,t.apply(this,arguments))}if(!i(t))throw TypeError("listener must be a function");var r=!1;return n.listener=t,this.on(e,n),this},r.prototype.removeListener=function(e,t){var n,r,o,s;if(!i(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(n=this._events[e],o=n.length,r=-1,n===t||i(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(a(n)){for(s=o;s-- >0;)if(n[s]===t||n[s].listener&&n[s].listener===t){r=s;break}if(r<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(r,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},r.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[e],i(n))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},r.prototype.listeners=function(e){return this._events&&this._events[e]?i(this._events[e])?[this._events[e]]:this._events[e].slice():[]},r.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(i(t))return 1;if(t)return t.length}return 0},r.listenerCount=function(e,t){return e.listenerCount(t)}},{}],103:[function(e,t,n){(function(e){!function(r){var i="object"==typeof n&&n,o="object"==typeof t&&t&&t.exports==i&&t,a="object"==typeof e&&e;a.global!==a&&a.window!==a||(r=a);var s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=/[\x01-\x7F]/g,l=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,c=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,f={"­":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr","ª":"ordf","á":"aacute","Á":"Aacute","à":"agrave","À":"Agrave","ă":"abreve","Ă":"Abreve","â":"acirc","Â":"Acirc","å":"aring","Å":"angst","ä":"auml","Ä":"Auml","ã":"atilde","Ã":"Atilde","ą":"aogon","Ą":"Aogon","ā":"amacr","Ā":"Amacr","æ":"aelig","Æ":"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf","ℬ":"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf","ℭ":"Cfr","𝒞":"Cscr","ℂ":"Copf","ć":"cacute","Ć":"Cacute","ĉ":"ccirc","Ĉ":"Ccirc","č":"ccaron","Č":"Ccaron","ċ":"cdot","Ċ":"Cdot","ç":"ccedil","Ç":"Ccedil","℅":"incare","𝔡":"dfr","ⅆ":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","ⅅ":"DD","𝔻":"Dopf","ď":"dcaron","Ď":"Dcaron","đ":"dstrok","Đ":"Dstrok","ð":"eth","Ð":"ETH","ⅇ":"ee","ℯ":"escr","𝔢":"efr","𝕖":"eopf","ℰ":"Escr","𝔈":"Efr","𝔼":"Eopf","é":"eacute","É":"Eacute","è":"egrave","È":"Egrave","ê":"ecirc","Ê":"Ecirc","ě":"ecaron","Ě":"Ecaron","ë":"euml","Ë":"Euml","ė":"edot","Ė":"Edot","ę":"eogon","Ę":"Eogon","ē":"emacr","Ē":"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf","ℱ":"Fscr","ff":"fflig","ffi":"ffilig","ffl":"ffllig","fi":"filig",fj:"fjlig","fl":"fllig","ƒ":"fnof","ℊ":"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr","ǵ":"gacute","ğ":"gbreve","Ğ":"Gbreve","ĝ":"gcirc","Ĝ":"Gcirc","ġ":"gdot","Ġ":"Gdot","Ģ":"Gcedil","𝔥":"hfr","ℎ":"planckh","𝒽":"hscr","𝕙":"hopf","ℋ":"Hscr","ℌ":"Hfr","ℍ":"Hopf","ĥ":"hcirc","Ĥ":"Hcirc","ℏ":"hbar","ħ":"hstrok","Ħ":"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","ⅈ":"ii","𝕀":"Iopf","ℐ":"Iscr","ℑ":"Im","í":"iacute","Í":"Iacute","ì":"igrave","Ì":"Igrave","î":"icirc","Î":"Icirc","ï":"iuml","Ï":"Iuml","ĩ":"itilde","Ĩ":"Itilde","İ":"Idot","į":"iogon","Į":"Iogon","ī":"imacr","Ī":"Imacr","ij":"ijlig","IJ":"IJlig","ı":"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf","ĵ":"jcirc","Ĵ":"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr","ķ":"kcedil","Ķ":"Kcedil","𝔩":"lfr","𝓁":"lscr","ℓ":"ell","𝕝":"lopf","ℒ":"Lscr","𝔏":"Lfr","𝕃":"Lopf","ĺ":"lacute","Ĺ":"Lacute","ľ":"lcaron","Ľ":"Lcaron","ļ":"lcedil","Ļ":"Lcedil","ł":"lstrok","Ł":"Lstrok","ŀ":"lmidot","Ŀ":"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf","ℳ":"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr","ℕ":"Nopf","𝒩":"Nscr","𝔑":"Nfr","ń":"nacute","Ń":"Nacute","ň":"ncaron","Ň":"Ncaron","ñ":"ntilde","Ñ":"Ntilde","ņ":"ncedil","Ņ":"Ncedil","№":"numero","ŋ":"eng","Ŋ":"ENG","𝕠":"oopf","𝔬":"ofr","ℴ":"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf","º":"ordm","ó":"oacute","Ó":"Oacute","ò":"ograve","Ò":"Ograve","ô":"ocirc","Ô":"Ocirc","ö":"ouml","Ö":"Ouml","ő":"odblac","Ő":"Odblac","õ":"otilde","Õ":"Otilde","ø":"oslash","Ø":"Oslash","ō":"omacr","Ō":"Omacr","œ":"oelig","Œ":"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf","ℙ":"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr","ℚ":"Qopf","ĸ":"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr","ℛ":"Rscr","ℜ":"Re","ℝ":"Ropf","ŕ":"racute","Ŕ":"Racute","ř":"rcaron","Ř":"Rcaron","ŗ":"rcedil","Ŗ":"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS","ś":"sacute","Ś":"Sacute","ŝ":"scirc","Ŝ":"Scirc","š":"scaron","Š":"Scaron","ş":"scedil","Ş":"Scedil","ß":"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf","ť":"tcaron","Ť":"Tcaron","ţ":"tcedil","Ţ":"Tcedil","™":"trade","ŧ":"tstrok","Ŧ":"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr","ú":"uacute","Ú":"Uacute","ù":"ugrave","Ù":"Ugrave","ŭ":"ubreve","Ŭ":"Ubreve","û":"ucirc","Û":"Ucirc","ů":"uring","Ů":"Uring","ü":"uuml","Ü":"Uuml","ű":"udblac","Ű":"Udblac","ũ":"utilde","Ũ":"Utilde","ų":"uogon","Ų":"Uogon","ū":"umacr","Ū":"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr","ŵ":"wcirc","Ŵ":"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf","ý":"yacute","Ý":"Yacute","ŷ":"ycirc","Ŷ":"Ycirc","ÿ":"yuml","Ÿ":"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf","ℨ":"Zfr","ℤ":"Zopf","𝒵":"Zscr","ź":"zacute","Ź":"Zacute","ž":"zcaron","Ž":"Zcaron","ż":"zdot","Ż":"Zdot","Ƶ":"imped","þ":"thorn","Þ":"THORN","ʼn":"napos","α":"alpha","Α":"Alpha","β":"beta","Β":"Beta","γ":"gamma","Γ":"Gamma","δ":"delta","Δ":"Delta","ε":"epsi","ϵ":"epsiv","Ε":"Epsilon","ϝ":"gammad","Ϝ":"Gammad","ζ":"zeta","Ζ":"Zeta","η":"eta","Η":"Eta","θ":"theta","ϑ":"thetav","Θ":"Theta","ι":"iota","Ι":"Iota","κ":"kappa","ϰ":"kappav","Κ":"Kappa","λ":"lambda","Λ":"Lambda","μ":"mu","µ":"micro","Μ":"Mu","ν":"nu","Ν":"Nu","ξ":"xi","Ξ":"Xi","ο":"omicron","Ο":"Omicron","π":"pi","ϖ":"piv","Π":"Pi","ρ":"rho","ϱ":"rhov","Ρ":"Rho","σ":"sigma","Σ":"Sigma","ς":"sigmaf","τ":"tau","Τ":"Tau","υ":"upsi","Υ":"Upsilon","ϒ":"Upsi","φ":"phi","ϕ":"phiv","Φ":"Phi","χ":"chi","Χ":"Chi","ψ":"psi","Ψ":"Psi","ω":"omega","Ω":"ohm","а":"acy","А":"Acy","б":"bcy","Б":"Bcy","в":"vcy","В":"Vcy","г":"gcy","Г":"Gcy","ѓ":"gjcy","Ѓ":"GJcy","д":"dcy","Д":"Dcy","ђ":"djcy","Ђ":"DJcy","е":"iecy","Е":"IEcy","ё":"iocy","Ё":"IOcy","є":"jukcy","Є":"Jukcy","ж":"zhcy","Ж":"ZHcy","з":"zcy","З":"Zcy","ѕ":"dscy","Ѕ":"DScy","и":"icy","И":"Icy","і":"iukcy","І":"Iukcy","ї":"yicy","Ї":"YIcy","й":"jcy","Й":"Jcy","ј":"jsercy","Ј":"Jsercy","к":"kcy","К":"Kcy","ќ":"kjcy","Ќ":"KJcy","л":"lcy","Л":"Lcy","љ":"ljcy","Љ":"LJcy","м":"mcy","М":"Mcy","н":"ncy","Н":"Ncy","њ":"njcy","Њ":"NJcy","о":"ocy","О":"Ocy","п":"pcy","П":"Pcy","р":"rcy","Р":"Rcy","с":"scy","С":"Scy","т":"tcy","Т":"Tcy","ћ":"tshcy","Ћ":"TSHcy","у":"ucy","У":"Ucy","ў":"ubrcy","Ў":"Ubrcy","ф":"fcy","Ф":"Fcy","х":"khcy","Х":"KHcy","ц":"tscy","Ц":"TScy","ч":"chcy","Ч":"CHcy","џ":"dzcy","Џ":"DZcy","ш":"shcy","Ш":"SHcy","щ":"shchcy","Щ":"SHCHcy","ъ":"hardcy","Ъ":"HARDcy","ы":"ycy","Ы":"Ycy","ь":"softcy","Ь":"SOFTcy","э":"ecy","Э":"Ecy","ю":"yucy","Ю":"YUcy","я":"yacy","Я":"YAcy","ℵ":"aleph","ℶ":"beth","ℷ":"gimel","ℸ":"daleth"},p=/["&'<>`]/g,h={'"':"&quot;","&":"&amp;","'":"&#x27;","<":"&lt;",">":"&gt;","`":"&#x60;"},d=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,m=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,g=/&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)([=a-zA-Z0-9])?/g,v={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"⁡",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"⁣",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"​",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"‍",zwnj:"‌"},b={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},y={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},_=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],w=String.fromCharCode,A={}.hasOwnProperty,E=function(e,t){return A.call(e,t)},x=function(e,t){for(var n=-1,r=e.length;++n<r;)if(e[n]==t)return!0;return!1},C=function(e,t){if(!e)return t;var n,r={};for(n in t)r[n]=E(e,n)?e[n]:t[n];return r},k=function(e,t){var n="";return e>=55296&&e<=57343||e>1114111?(t&&D("character reference outside the permissible Unicode range"),"�"):E(y,e)?(t&&D("disallowed character reference"),y[e]):(t&&x(_,e)&&D("disallowed character reference"),e>65535&&(n+=w((e-=65536)>>>10&1023|55296),e=56320|1023&e),n+=w(e))},O=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},S=function(e){return"&#"+e+";"},D=function(e){throw Error("Parse error: "+e)},B=function(e,t){(t=C(t,B.options)).strict&&m.test(e)&&D("forbidden code point");var n=t.encodeEverything,r=t.useNamedReferences,i=t.allowUnsafeSymbols,o=t.decimal?S:O,a=function(e){return o(e.charCodeAt(0))};return n?(e=e.replace(u,function(e){return r&&E(f,e)?"&"+f[e]+";":a(e)}),r&&(e=e.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;").replace(/&#x66;&#x6A;/g,"&fjlig;")),r&&(e=e.replace(c,function(e){return"&"+f[e]+";"}))):r?(i||(e=e.replace(p,function(e){return"&"+f[e]+";"})),e=(e=e.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;")).replace(c,function(e){return"&"+f[e]+";"})):i||(e=e.replace(p,a)),e.replace(s,function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return o(1024*(t-55296)+n-56320+65536)}).replace(l,a)};B.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var T=function(e,t){var n=(t=C(t,T.options)).strict;return n&&d.test(e)&&D("malformed character reference"),e.replace(g,function(e,r,i,o,a,s,u,l){var c,f,p,h,d,m;return r?(p=r,f=i,n&&!f&&D("character reference was not terminated by a semicolon"),c=parseInt(p,10),k(c,n)):o?(h=o,f=a,n&&!f&&D("character reference was not terminated by a semicolon"),c=parseInt(h,16),k(c,n)):s?(d=s,E(v,d)?v[d]:(n&&D("named character reference was not terminated by a semicolon"),e)):(d=u,(m=l)&&t.isAttributeValue?(n&&"="==m&&D("`&` did not start a character reference"),e):(n&&D("named character reference was not terminated by a semicolon"),b[d]+(m||"")))})};T.options={isAttributeValue:!1,strict:!1};var R={version:"1.1.1",encode:B,decode:T,escape:function(e){return e.replace(p,function(e){return h[e]})},unescape:T};if("function"==typeof define&&"object"==typeof define.amd&&define.amd)define(function(){return R});else if(i&&!i.nodeType)if(o)o.exports=R;else for(var F in R)E(R,F)&&(i[F]=R[F]);else r.he=R}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],104:[function(e,t,n){var r=e("http"),i=t.exports;for(var o in r)r.hasOwnProperty(o)&&(i[o]=r[o]);i.request=function(e,t){return e||(e={}),e.scheme="https",e.protocol="https:",r.request.call(this,e,t)}},{http:157}],105:[function(e,t,n){n.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,l=u>>1,c=-7,f=n?i-1:0,p=n?-1:1,h=e[t+f];for(f+=p,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+e[t+f],f+=p,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=p,c-=8);if(0===o)o=1-l;else{if(o===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=l}return(h?-1:1)*a*Math.pow(2,o-r)},n.write=function(e,t,n,r,i,o){var a,s,u,l=8*o-i-1,c=(1<<l)-1,f=c>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,d=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?p/u:p*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*u-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=d,s/=256,i-=8);for(a=a<<i|s,l+=i;l>0;e[n+h]=255&a,h+=d,a/=256,l-=8);e[n+h-d]|=128*m}},{}],106:[function(e,t,n){"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},{}],107:[function(e,t,n){function r(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function i(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&r(e.slice(0,0))}t.exports=function(e){return null!=e&&(r(e)||i(e)||!!e._isBuffer)}},{}],108:[function(e,t,n){var r={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},{}],109:[function(e,t,n){"use strict";function r(e){return e.source.slice(1,-1)}var i=e("xml-char-classes");t.exports=new RegExp("^["+r(i.letter)+"_]["+r(i.letter)+r(i.digit)+"\\.\\-_"+r(i.combiningChar)+r(i.extender)+"]*$")},{"xml-char-classes":165}],110:[function(e,t,n){n.endianness=function(){return"LE"},n.hostname=function(){return"undefined"!=typeof location?location.hostname:""},n.loadavg=function(){return[]},n.uptime=function(){return 0},n.freemem=function(){return Number.MAX_VALUE},n.totalmem=function(){return Number.MAX_VALUE},n.cpus=function(){return[]},n.type=function(){return"Browser"},n.release=function(){return"undefined"!=typeof navigator?navigator.appVersion:""},n.networkInterfaces=n.getNetworkInterfaces=function(){return{}},n.arch=function(){return"javascript"},n.platform=function(){return"browser"},n.tmpdir=n.tmpDir=function(){return"/tmp"},n.EOL="\n"},{}],111:[function(e,t,n){(function(e){function t(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}var i=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,o=function(e){return i.exec(e).slice(1)};n.resolve=function(){for(var n="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var a=o>=0?arguments[o]:e.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(n=a+"/"+n,i="/"===a.charAt(0))}return n=t(r(n.split("/"),function(e){return!!e}),!i).join("/"),(i?"/":"")+n||"."},n.normalize=function(e){var i=n.isAbsolute(e),o="/"===a(e,-1);return(e=t(r(e.split("/"),function(e){return!!e}),!i).join("/"))||i||(e="."),e&&o&&(e+="/"),(i?"/":"")+e},n.isAbsolute=function(e){return"/"===e.charAt(0)},n.join=function(){var e=Array.prototype.slice.call(arguments,0);return n.normalize(r(e,function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},n.relative=function(e,t){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-1;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=n.resolve(e).substr(1),t=n.resolve(t).substr(1);for(var i=r(e.split("/")),o=r(t.split("/")),a=Math.min(i.length,o.length),s=a,u=0;u<a;u++)if(i[u]!==o[u]){s=u;break}for(var l=[],u=s;u<i.length;u++)l.push("..");return(l=l.concat(o.slice(s))).join("/")},n.sep="/",n.delimiter=":",n.dirname=function(e){var t=o(e),n=t[0],r=t[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},n.basename=function(e,t){var n=o(e)[2];return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},n.extname=function(e){return o(e)[3]};var a="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,e("_process"))},{_process:113}],112:[function(e,t,n){(function(e){"use strict";!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?t.exports=function(t,n,r,i){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var o,a,s=arguments.length;switch(s){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick(function(){t.call(null,n)});case 3:return e.nextTick(function(){t.call(null,n,r)});case 4:return e.nextTick(function(){t.call(null,n,r,i)});default:for(o=new Array(s-1),a=0;a<o.length;)o[a++]=arguments[a];return e.nextTick(function(){t.apply(null,o)})}}:t.exports=e.nextTick}).call(this,e("_process"))},{_process:113}],113:[function(e,t,n){function r(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function o(e){if(f===setTimeout)return setTimeout(e,0);if((f===r||!f)&&setTimeout)return f=setTimeout,setTimeout(e,0);try{return f(e,0)}catch(t){try{return f.call(null,e,0)}catch(t){return f.call(this,e,0)}}}function a(e){if(p===clearTimeout)return clearTimeout(e);if((p===i||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(e);try{return p(e)}catch(t){try{return p.call(null,e)}catch(t){return p.call(this,e)}}}function s(){g&&d&&(g=!1,d.length?m=d.concat(m):v=-1,m.length&&u())}function u(){if(!g){var e=o(s);g=!0;for(var t=m.length;t;){for(d=m,m=[];++v<t;)d&&d[v].run();v=-1,t=m.length}d=null,g=!1,a(e)}}function l(e,t){this.fun=e,this.array=t}function c(){}var f,p,h=t.exports={};!function(){try{f="function"==typeof setTimeout?setTimeout:r}catch(e){f=r}try{p="function"==typeof clearTimeout?clearTimeout:i}catch(e){p=i}}();var d,m=[],g=!1,v=-1;h.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];m.push(new l(e,t)),1!==m.length||g||o(u)},l.prototype.run=function(){this.fun.apply(null,this.array)},h.title="browser",h.browser=!0,h.env={},h.argv=[],h.version="",h.versions={},h.on=c,h.addListener=c,h.once=c,h.off=c,h.removeListener=c,h.removeAllListeners=c,h.emit=c,h.prependListener=c,h.prependOnceListener=c,h.listeners=function(e){return[]},h.binding=function(e){throw new Error("process.binding is not supported")},h.cwd=function(){return"/"},h.chdir=function(e){throw new Error("process.chdir is not supported")},h.umask=function(){return 0}},{}],114:[function(e,t,n){(function(e){!function(r){function i(e){throw new RangeError(T[e])}function o(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function a(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+o((e=e.replace(B,".")).split("."),t).join(".")}function s(e){for(var t,n,r=[],i=0,o=e.length;i<o;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<o?56320==(64512&(n=e.charCodeAt(i++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--):r.push(t);return r}function u(e){return o(e,function(e){var t="";return e>65535&&(t+=L((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=L(e)}).join("")}function l(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:_}function c(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function f(e,t,n){var r=0;for(e=n?F(e/x):e>>1,e+=F(e/t);e>R*A>>1;r+=_)e=F(e/R);return F(r+(R+1)*e/(e+E))}function p(e){var t,n,r,o,a,s,c,p,h,d,m=[],g=e.length,v=0,b=k,E=C;for((n=e.lastIndexOf(O))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&i("not-basic"),m.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<g;){for(a=v,s=1,c=_;o>=g&&i("invalid-input"),((p=l(e.charCodeAt(o++)))>=_||p>F((y-v)/s))&&i("overflow"),v+=p*s,h=c<=E?w:c>=E+A?A:c-E,!(p<h);c+=_)s>F(y/(d=_-h))&&i("overflow"),s*=d;E=f(v-a,t=m.length+1,0==a),F(v/t)>y-b&&i("overflow"),b+=F(v/t),v%=t,m.splice(v++,0,b)}return u(m)}function h(e){var t,n,r,o,a,u,l,p,h,d,m,g,v,b,E,x=[];for(g=(e=s(e)).length,t=k,n=0,a=C,u=0;u<g;++u)(m=e[u])<128&&x.push(L(m));for(r=o=x.length,o&&x.push(O);r<g;){for(l=y,u=0;u<g;++u)(m=e[u])>=t&&m<l&&(l=m);for(l-t>F((y-n)/(v=r+1))&&i("overflow"),n+=(l-t)*v,t=l,u=0;u<g;++u)if((m=e[u])<t&&++n>y&&i("overflow"),m==t){for(p=n,h=_;d=h<=a?w:h>=a+A?A:h-a,!(p<d);h+=_)E=p-d,b=_-d,x.push(L(c(d+E%b,0))),p=F(E/b);x.push(L(c(p,0))),a=f(n,v,r==o),n=0,++r}++n,++t}return x.join("")}var d="object"==typeof n&&n&&!n.nodeType&&n,m="object"==typeof t&&t&&!t.nodeType&&t,g="object"==typeof e&&e;g.global!==g&&g.window!==g&&g.self!==g||(r=g);var v,b,y=2147483647,_=36,w=1,A=26,E=38,x=700,C=72,k=128,O="-",S=/^xn--/,D=/[^\x20-\x7E]/,B=/[\x2E\u3002\uFF0E\uFF61]/g,T={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},R=_-w,F=Math.floor,L=String.fromCharCode;if(v={version:"1.4.1",ucs2:{decode:s,encode:u},decode:p,encode:h,toASCII:function(e){return a(e,function(e){return D.test(e)?"xn--"+h(e):e})},toUnicode:function(e){return a(e,function(e){return S.test(e)?p(e.slice(4).toLowerCase()):e})}},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return v});else if(d&&m)if(t.exports==d)m.exports=v;else for(b in v)v.hasOwnProperty(b)&&(d[b]=v[b]);else r.punycode=v}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],115:[function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.exports=function(e,t,n,o){t=t||"&",n=n||"=";var a={};if("string"!=typeof e||0===e.length)return a;var s=/\+/g;e=e.split(t);var u=1e3;o&&"number"==typeof o.maxKeys&&(u=o.maxKeys);var l=e.length;u>0&&l>u&&(l=u);for(var c=0;c<l;++c){var f,p,h,d,m=e[c].replace(s,"%20"),g=m.indexOf(n);g>=0?(f=m.substr(0,g),p=m.substr(g+1)):(f=m,p=""),h=decodeURIComponent(f),d=decodeURIComponent(p),r(a,h)?i(a[h])?a[h].push(d):a[h]=[a[h],d]:a[h]=d}return a};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],116:[function(e,t,n){"use strict";function r(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var i=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};t.exports=function(e,t,n,s){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?r(a(e),function(a){var s=encodeURIComponent(i(a))+n;return o(e[a])?r(e[a],function(e){return s+encodeURIComponent(i(e))}).join(t):s+encodeURIComponent(i(e[a]))}).join(t):s?encodeURIComponent(i(s))+n+encodeURIComponent(i(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},a=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},{}],117:[function(e,t,n){"use strict";n.decode=n.parse=e("./decode"),n.encode=n.stringify=e("./encode")},{"./decode":115,"./encode":116}],118:[function(e,t,n){"use strict";function r(e){if(!(this instanceof r))return new r(e);l.call(this,e),c.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",i)}function i(){this.allowHalfOpen||this._writableState.ended||a(o,this)}function o(e){e.end()}var a=e("process-nextick-args"),s=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};t.exports=r;var u=e("core-util-is");u.inherits=e("inherits");var l=e("./_stream_readable"),c=e("./_stream_writable");u.inherits(r,l);for(var f=s(c.prototype),p=0;p<f.length;p++){var h=f[p];r.prototype[h]||(r.prototype[h]=c.prototype[h])}Object.defineProperty(r.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),r.prototype._destroy=function(e,t){this.push(null),this.end(),a(t,e)}},{"./_stream_readable":120,"./_stream_writable":122,"core-util-is":101,inherits:106,"process-nextick-args":112}],119:[function(e,t,n){"use strict";function r(e){if(!(this instanceof r))return new r(e);i.call(this,e)}t.exports=r;var i=e("./_stream_transform"),o=e("core-util-is");o.inherits=e("inherits"),o.inherits(r,i),r.prototype._transform=function(e,t,n){n(null,e)}},{"./_stream_transform":121,"core-util-is":101,inherits:106}],120:[function(e,t,n){(function(n,r){"use strict";function i(e){return U.from(e)}function o(e){return U.isBuffer(e)||e instanceof N}function a(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?L(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}function s(t,n){F=F||e("./_stream_duplex"),t=t||{},this.objectMode=!!t.objectMode,n instanceof F&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var r=t.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:i,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new V,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(j||(j=e("string_decoder/").StringDecoder),this.decoder=new j(t.encoding),this.encoding=t.encoding)}function u(t){if(F=F||e("./_stream_duplex"),!(this instanceof u))return new u(t);this._readableState=new s(t,this),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),P.call(this)}function l(e,t,n,r,o){var a=e._readableState;if(null===t)a.reading=!1,m(e,a);else{var s;o||(s=f(a,t)),s?e.emit("error",s):a.objectMode||t&&t.length>0?("string"==typeof t||a.objectMode||Object.getPrototypeOf(t)===U.prototype||(t=i(t)),r?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):c(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?c(e,a,t,!1):b(e,a)):c(e,a,t,!1))):r||(a.reading=!1)}return p(a)}function c(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&g(e)),b(e,t)}function f(e,t){var n;return o(t)||"string"==typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}function p(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}function h(e){return e>=K?e=K:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function d(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=h(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function m(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,g(e)}}function g(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(I("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?R(v,e):v(e))}function v(e){I("emit readable"),e.emit("readable"),x(e)}function b(e,t){t.readingMore||(t.readingMore=!0,R(y,e,t))}function y(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(I("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function _(e){return function(){var t=e._readableState;I("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&M(e,"data")&&(t.flowing=!0,x(e))}}function w(e){I("readable nexttick read 0"),e.read(0)}function A(e,t){t.resumeScheduled||(t.resumeScheduled=!0,R(E,e,t))}function E(e,t){t.reading||(I("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),x(e),t.flowing&&!t.reading&&e.read(0)}function x(e){var t=e._readableState;for(I("flow",t.flowing);t.flowing&&null!==e.read(););}function C(e,t){if(0===t.length)return null;var n;return t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=k(e,t.buffer,t.decoder),n}function k(e,t,n){var r;return e<t.head.data.length?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):r=e===t.head.data.length?t.shift():n?O(e,t):S(e,t),r}function O(e,t){var n=t.head,r=1,i=n.data;for(e-=i.length;n=n.next;){var o=n.data,a=e>o.length?o.length:e;if(a===o.length?i+=o:i+=o.slice(0,e),0===(e-=a)){a===o.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(a));break}++r}return t.length-=r,i}function S(e,t){var n=U.allocUnsafe(e),r=t.head,i=1;for(r.data.copy(n),e-=r.data.length;r=r.next;){var o=r.data,a=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,a),0===(e-=a)){a===o.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(a));break}++i}return t.length-=i,n}function D(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,R(B,t,e))}function B(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function T(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}var R=e("process-nextick-args");t.exports=u;var F,L=e("isarray");u.ReadableState=s;e("events").EventEmitter;var M=function(e,t){return e.listeners(t).length},P=e("./internal/streams/stream"),U=e("safe-buffer").Buffer,N=r.Uint8Array||function(){},q=e("core-util-is");q.inherits=e("inherits");var z=e("util"),I=void 0;I=z&&z.debuglog?z.debuglog("stream"):function(){};var j,V=e("./internal/streams/BufferList"),$=e("./internal/streams/destroy");q.inherits(u,P);var H=["error","close","destroy","pause","resume"];Object.defineProperty(u.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),u.prototype.destroy=$.destroy,u.prototype._undestroy=$.undestroy,u.prototype._destroy=function(e,t){this.push(null),t(e)},u.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=U.from(e,t),t=""),n=!0),l(this,e,t,!1,n)},u.prototype.unshift=function(e){return l(this,e,null,!0,!1)},u.prototype.isPaused=function(){return!1===this._readableState.flowing},u.prototype.setEncoding=function(t){return j||(j=e("string_decoder/").StringDecoder),this._readableState.decoder=new j(t),this._readableState.encoding=t,this};var K=8388608;u.prototype.read=function(e){I("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return I("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?D(this):g(this),null;if(0===(e=d(e,t))&&t.ended)return 0===t.length&&D(this),null;var r=t.needReadable;I("need readable",r),(0===t.length||t.length-e<t.highWaterMark)&&I("length less than watermark",r=!0),t.ended||t.reading?I("reading or ended",r=!1):r&&(I("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=d(n,t)));var i;return null===(i=e>0?C(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&D(this)),null!==i&&this.emit("data",i),i},u.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},u.prototype.pipe=function(e,t){function r(e,t){I("onunpipe"),e===p&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,o())}function i(){I("onend"),e.end()}function o(){I("cleanup"),e.removeListener("close",l),e.removeListener("finish",c),e.removeListener("drain",m),e.removeListener("error",u),e.removeListener("unpipe",r),p.removeListener("end",i),p.removeListener("end",f),p.removeListener("data",s),g=!0,!h.awaitDrain||e._writableState&&!e._writableState.needDrain||m()}function s(t){I("ondata"),v=!1,!1!==e.write(t)||v||((1===h.pipesCount&&h.pipes===e||h.pipesCount>1&&-1!==T(h.pipes,e))&&!g&&(I("false write response, pause",p._readableState.awaitDrain),p._readableState.awaitDrain++,v=!0),p.pause())}function u(t){I("onerror",t),f(),e.removeListener("error",u),0===M(e,"error")&&e.emit("error",t)}function l(){e.removeListener("finish",c),f()}function c(){I("onfinish"),e.removeListener("close",l),f()}function f(){I("unpipe"),p.unpipe(e)}var p=this,h=this._readableState;switch(h.pipesCount){case 0:h.pipes=e;break;case 1:h.pipes=[h.pipes,e];break;default:h.pipes.push(e)}h.pipesCount+=1,I("pipe count=%d opts=%j",h.pipesCount,t);var d=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?i:f;h.endEmitted?R(d):p.once("end",d),e.on("unpipe",r);var m=_(p);e.on("drain",m);var g=!1,v=!1;return p.on("data",s),a(e,"error",u),e.once("close",l),e.once("finish",c),e.emit("pipe",p),h.flowing||(I("pipe resume"),p.resume()),e},u.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n),this);if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,n);return this}var a=T(t.pipes,e);return-1===a?this:(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n),this)},u.prototype.on=function(e,t){var n=P.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&g(this):R(w,this))}return n},u.prototype.addListener=u.prototype.on,u.prototype.resume=function(){var e=this._readableState;return e.flowing||(I("resume"),e.flowing=!0,A(this,e)),this},u.prototype.pause=function(){return I("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(I("pause"),this._readableState.flowing=!1,this.emit("pause")),this},u.prototype.wrap=function(e){var t=this._readableState,n=!1,r=this;e.on("end",function(){if(I("wrapped end"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&r.push(e)}r.push(null)}),e.on("data",function(i){I("wrapped data"),t.decoder&&(i=t.decoder.write(i)),(!t.objectMode||null!==i&&void 0!==i)&&(t.objectMode||i&&i.length)&&(r.push(i)||(n=!0,e.pause()))});for(var i in e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<H.length;o++)e.on(H[o],r.emit.bind(r,H[o]));return r._read=function(t){I("wrapped _read",t),n&&(n=!1,e.resume())},r},u._fromList=C}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./_stream_duplex":118,"./internal/streams/BufferList":123,"./internal/streams/destroy":124,"./internal/streams/stream":125,_process:113,"core-util-is":101,events:102,inherits:106,isarray:108,"process-nextick-args":112,"safe-buffer":145,"string_decoder/":126,util:2}],121:[function(e,t,n){"use strict";function r(e){this.afterTransform=function(t,n){return i(e,t,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function i(e,t,n){var r=e._transformState;r.transforming=!1;var i=r.writecb;if(!i)return e.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!==n&&void 0!==n&&e.push(n),i(t);var o=e._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&e._read(o.highWaterMark)}function o(e){if(!(this instanceof o))return new o(e);s.call(this,e),this._transformState=new r(this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.once("prefinish",function(){"function"==typeof this._flush?this._flush(function(e,n){a(t,e,n)}):a(t)})}function a(e,t,n){if(t)return e.emit("error",t);null!==n&&void 0!==n&&e.push(n);var r=e._writableState,i=e._transformState;if(r.length)throw new Error("Calling transform done when ws.length != 0");if(i.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}t.exports=o;var s=e("./_stream_duplex"),u=e("core-util-is");u.inherits=e("inherits"),u.inherits(o,s),o.prototype.push=function(e,t){return this._transformState.needTransform=!1,s.prototype.push.call(this,e,t)},o.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")},o.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},o.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},o.prototype._destroy=function(e,t){var n=this;s.prototype._destroy.call(this,e,function(e){t(e),n.emit("close")})}},{"./_stream_duplex":118,"core-util-is":101,inherits:106}],122:[function(e,t,n){(function(n,r){"use strict";function i(e){var t=this;this.next=null,this.entry=null,this.finish=function(){k(t,e)}}function o(e){return F.from(e)}function a(e){return F.isBuffer(e)||e instanceof L}function s(){}function u(t,n){S=S||e("./_stream_duplex"),t=t||{},this.objectMode=!!t.objectMode,n instanceof S&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var r=t.highWaterMark,o=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:o,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===t.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){v(n,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function l(t){if(S=S||e("./_stream_duplex"),!(P.call(l,this)||this instanceof S))return new l(t);this._writableState=new u(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),R.call(this)}function c(e,t){var n=new Error("write after end");e.emit("error",n),O(t,n)}function f(e,t,n,r){var i=!0,o=!1;return null===n?o=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),O(r,o),i=!1),i}function p(e,t,n){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=F.from(t,n)),t}function h(e,t,n,r,i,o){if(!n){var a=p(t,r,i);r!==a&&(n=!0,i="buffer",r=a)}var s=t.objectMode?1:r.length;t.length+=s;var u=t.length<t.highWaterMark;if(u||(t.needDrain=!0),t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else d(e,t,!1,s,r,i,o);return u}function d(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function m(e,t,n,r,i){--t.pendingcb,n?(O(i,r),O(x,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(i(r),e._writableState.errorEmitted=!0,e.emit("error",r),x(e,t))}function g(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function v(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(g(n),t)m(e,n,r,t,i);else{var o=w(n);o||n.corked||n.bufferProcessing||!n.bufferedRequest||_(e,n),r?D(b,e,n,o,i):b(e,n,o,i)}}function b(e,t,n,r){n||y(e,t),t.pendingcb--,r(),x(e,t)}function y(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function _(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,o=new Array(r),a=t.corkedRequestsFree;a.entry=n;for(var s=0,u=!0;n;)o[s]=n,n.isBuf||(u=!1),n=n.next,s+=1;o.allBuffers=u,d(e,t,!0,t.length,o,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new i(t)}else{for(;n;){var l=n.chunk,c=n.encoding,f=n.callback;if(d(e,t,!1,t.objectMode?1:l.length,l,c,f),n=n.next,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=n,t.bufferProcessing=!1}function w(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function A(e,t){e._final(function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),x(e,t)})}function E(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,O(A,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function x(e,t){var n=w(t);return n&&(E(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}function C(e,t,n){t.ending=!0,x(e,t),n&&(t.finished?O(n):e.once("finish",n)),t.ended=!0,e.writable=!1}function k(e,t,n){var r=e.entry;for(e.entry=null;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}var O=e("process-nextick-args");t.exports=l;var S,D=!n.browser&&["v0.10","v0.9."].indexOf(n.version.slice(0,5))>-1?setImmediate:O;l.WritableState=u;var B=e("core-util-is");B.inherits=e("inherits");var T={deprecate:e("util-deprecate")},R=e("./internal/streams/stream"),F=e("safe-buffer").Buffer,L=r.Uint8Array||function(){},M=e("./internal/streams/destroy");B.inherits(l,R),u.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(u.prototype,"buffer",{get:T.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}();var P;"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(P=Function.prototype[Symbol.hasInstance],Object.defineProperty(l,Symbol.hasInstance,{value:function(e){return!!P.call(this,e)||e&&e._writableState instanceof u}})):P=function(e){return e instanceof this},l.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},l.prototype.write=function(e,t,n){var r=this._writableState,i=!1,u=a(e)&&!r.objectMode;return u&&!F.isBuffer(e)&&(e=o(e)),"function"==typeof t&&(n=t,t=null),u?t="buffer":t||(t=r.defaultEncoding),"function"!=typeof n&&(n=s),r.ended?c(this,n):(u||f(this,r,e,n))&&(r.pendingcb++,i=h(this,r,u,e,t,n)),i},l.prototype.cork=function(){this._writableState.corked++},l.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||_(this,e))},l.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},l.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},l.prototype._writev=null,l.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||C(this,r,n)},Object.defineProperty(l.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),l.prototype.destroy=M.destroy,l.prototype._undestroy=M.undestroy,l.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./_stream_duplex":118,"./internal/streams/destroy":124,"./internal/streams/stream":125,_process:113,"core-util-is":101,inherits:106,"process-nextick-args":112,"safe-buffer":145,"util-deprecate":164}],123:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t,n){e.copy(t,n)}var o=e("safe-buffer").Buffer;t.exports=function(){function e(){r(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return o.alloc(0);if(1===this.length)return this.head.data;for(var t=o.allocUnsafe(e>>>0),n=this.head,r=0;n;)i(n.data,t,r),r+=n.data.length,n=n.next;return t},e}()},{"safe-buffer":145}],124:[function(e,t,n){"use strict";function r(e,t){e.emit("error",t)}var i=e("process-nextick-args");t.exports={destroy:function(e,t){var n=this,o=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;o||a?t?t(e):!e||this._writableState&&this._writableState.errorEmitted||i(r,this,e):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?(i(r,n,e),n._writableState&&(n._writableState.errorEmitted=!0)):t&&t(e)}))},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},{"process-nextick-args":112}],125:[function(e,t,n){t.exports=e("events").EventEmitter},{events:102}],126:[function(e,t,n){"use strict";function r(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function i(e){var t=r(e);if("string"!=typeof t&&(g.isEncoding===v||!v(e)))throw new Error("Unknown encoding: "+e);return t||e}function o(e){this.encoding=i(e);var t;switch(this.encoding){case"utf16le":this.text=c,this.end=f,t=4;break;case"utf8":this.fillLast=l,t=4;break;case"base64":this.text=p,this.end=h,t=3;break;default:return this.write=d,void(this.end=m)}this.lastNeed=0,this.lastTotal=0,this.lastChar=g.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:-1}function s(e,t,n){var r=t.length-1;if(r<n)return 0;var i=a(t[r]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--r<n?0:(i=a(t[r]))>=0?(i>0&&(e.lastNeed=i-2),i):--r<n?0:(i=a(t[r]))>=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0}function u(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�".repeat(n);if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�".repeat(n+1);if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�".repeat(n+2)}}function l(e){var t=this.lastTotal-this.lastNeed,n=u(this,e,t);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function f(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function p(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function h(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function m(e){return e&&e.length?this.write(e):""}var g=e("safe-buffer").Buffer,v=g.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};n.StringDecoder=o,o.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},o.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�".repeat(this.lastTotal-this.lastNeed):t},o.prototype.text=function(e,t){var n=s(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},{"safe-buffer":145}],127:[function(e,t,n){(n=t.exports=e("./lib/_stream_readable.js")).Stream=n,n.Readable=n,n.Writable=e("./lib/_stream_writable.js"),n.Duplex=e("./lib/_stream_duplex.js"),n.Transform=e("./lib/_stream_transform.js"),n.PassThrough=e("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":118,"./lib/_stream_passthrough.js":119,"./lib/_stream_readable.js":120,"./lib/_stream_transform.js":121,"./lib/_stream_writable.js":122}],128:[function(e,t,n){"use strict";t.exports={ABSOLUTE:"absolute",PATH_RELATIVE:"pathRelative",ROOT_RELATIVE:"rootRelative",SHORTEST:"shortest"}},{}],129:[function(e,t,n){"use strict";function r(e,t){return!e.auth||t.removeAuth||!e.extra.relation.maximumHost&&t.output!==d.ABSOLUTE?"":e.auth+"@"}function i(e,t){return e.hash?e.hash:""}function o(e,t){return e.host.full&&(e.extra.relation.maximumAuth||t.output===d.ABSOLUTE)?e.host.full:""}function a(e,t){var n="",r=e.path.absolute.string,i=e.path.relative.string,o=h(e,t);if(e.extra.relation.maximumHost||t.output===d.ABSOLUTE||t.output===d.ROOT_RELATIVE)n=r;else if(i.length<=r.length&&t.output===d.SHORTEST||t.output===d.PATH_RELATIVE){if(""===(n=i)){var a=p(e,t)&&!!f(e,t);e.extra.relation.maximumPath&&!o?n="./":!e.extra.relation.overridesQuery||o||a||(n="./")}}else n=r;return"/"!==n||o||!t.removeRootTrailingSlash||e.extra.relation.minimumPort&&t.output!==d.ABSOLUTE||(n=""),n}function s(e,t){return e.port&&!e.extra.portIsDefault&&e.extra.relation.maximumHost?":"+e.port:""}function u(e,t){return p(e,t)?f(e,t):""}function l(e,t){return h(e,t)?e.resource:""}function c(e,t){var n="";return(e.extra.relation.maximumHost||t.output===d.ABSOLUTE)&&(e.extra.relation.minimumScheme&&t.schemeRelative&&t.output!==d.ABSOLUTE?n+="//":n+=e.scheme+"://"),n}function f(e,t){var n=t.removeEmptyQueries&&e.extra.relation.minimumPort;return e.query.string[n?"stripped":"full"]}function p(e,t){return!e.extra.relation.minimumQuery||t.output===d.ABSOLUTE||t.output===d.ROOT_RELATIVE}function h(e,t){var n=t.removeDirectoryIndexes&&e.extra.resourceIsIndex,r=e.extra.relation.minimumResource&&t.output!==d.ABSOLUTE&&t.output!==d.ROOT_RELATIVE;return!!e.resource&&!r&&!n}var d=e("./constants");t.exports=function(e,t){var n="";return n+=c(e,t),n+=r(e,t),n+=o(e,t),n+=s(e,t),n+=a(e,t),n+=l(e,t),n+=u(e,t),n+=i(e,t)}},{"./constants":128}],130:[function(e,t,n){"use strict";function r(e,t){this.options=a(t,{defaultPorts:{ftp:21,http:80,https:443},directoryIndexes:["index.html"],ignore_www:!1,output:r.SHORTEST,rejectedSchemes:["data","javascript","mailto"],removeAuth:!1,removeDirectoryIndexes:!0,removeEmptyQueries:!1,removeRootTrailingSlash:!0,schemeRelative:!0,site:void 0,slashesDenoteHost:!0}),this.from=u.from(e,this.options,null)}var i=e("./constants"),o=e("./format"),a=e("./options"),s=e("./util/object"),u=e("./parse"),l=e("./relate");r.prototype.relate=function(e,t,n){if(s.isPlainObject(t)?(n=t,t=e,e=null):t||(t=e,e=null),n=a(n,this.options),e=e||n.site,!(e=u.from(e,n,this.from))||!e.href)throw new Error("from value not defined.");if(e.extra.hrefInfo.minimumPathOnly)throw new Error("from value supplied is not absolute: "+e.href);return!1===(t=u.to(t,n)).valid?t.href:(t=l(e,t,n),t=o(t,n))},r.relate=function(e,t,n){return(new r).relate(e,t,n)},s.shallowMerge(r,i),t.exports=r},{"./constants":128,"./format":129,"./options":131,"./parse":134,"./relate":141,"./util/object":143}],131:[function(e,t,n){"use strict";function r(e,t){return t instanceof Object&&e instanceof Object?t instanceof Array&&e instanceof Array?t.concat(e):i.shallowMerge(e,t):e}var i=e("./util/object");t.exports=function(e,t){if(i.isPlainObject(e)){var n={};for(var o in t)t.hasOwnProperty(o)&&(void 0!==e[o]?n[o]=r(e[o],t[o]):n[o]=t[o]);return n}return t}},{"./util/object":143}],132:[function(e,t,n){"use strict";t.exports=function(e,t){if(t.ignore_www){var n=e.host.full;if(n){var r=n;0===n.indexOf("www.")&&(r=n.substr(4)),e.host.stripped=r}}}},{}],133:[function(e,t,n){"use strict";t.exports=function(e){var t=!(e.scheme||e.auth||e.host.full||e.port),n=t&&!e.path.absolute.string,r=n&&!e.resource,i=r&&!e.query.string.full.length,o=i&&!e.hash;e.extra.hrefInfo.minimumPathOnly=t,e.extra.hrefInfo.minimumResourceOnly=n,e.extra.hrefInfo.minimumQueryOnly=r,e.extra.hrefInfo.minimumHashOnly=i,e.extra.hrefInfo.empty=o}},{}],134:[function(e,t,n){"use strict";function r(e,t){var n=l(e,t);return!1===n.valid?n:(o(n,t),s(n,t),a(n,t),u(n,t),i(n),n)}var i=e("./hrefInfo"),o=e("./host"),a=e("./path"),s=e("./port"),u=e("./query"),l=e("./urlstring"),c=e("../util/path");t.exports={from:function(e,t,n){if(e){var i=r(e,t),o=c.resolveDotSegments(i.path.absolute.array);return i.path.absolute.array=o,i.path.absolute.string="/"+c.join(o),i}return n},to:r}},{"../util/path":144,"./host":132,"./hrefInfo":133,"./path":135,"./port":136,"./query":137,"./urlstring":138}],135:[function(e,t,n){"use strict";function r(e,t){var n=!1;return t.directoryIndexes.every(function(t){return t!==e||(n=!0,!1)}),n}function i(e){if("/"!==e){var t=[];return e.split("/").forEach(function(e){""!==e&&t.push(e)}),t}return[]}t.exports=function(e,t){var n=e.path.absolute.string;if(n){var o=n.lastIndexOf("/");if(o>-1){if(++o<n.length){var a=n.substr(o);"."!==a&&".."!==a?(e.resource=a,n=n.substr(0,o)):n+="/"}e.path.absolute.string=n,e.path.absolute.array=i(n)}else"."===n||".."===n?(n+="/",e.path.absolute.string=n,e.path.absolute.array=i(n)):(e.resource=n,e.path.absolute.string=null);e.extra.resourceIsIndex=r(e.resource,t)}}},{}],136:[function(e,t,n){"use strict";t.exports=function(e,t){var n=-1;for(var r in t.defaultPorts)if(r===e.scheme&&t.defaultPorts.hasOwnProperty(r)){n=t.defaultPorts[r];break}n>-1&&(n=n.toString(),null===e.port&&(e.port=n),e.extra.portIsDefault=e.port===n)}},{}],137:[function(e,t,n){"use strict";function r(e,t){var n=0,r="";for(var o in e)if(""!==o&&!0===i.call(e,o)){var a=e[o];""===a&&t||(r+=1==++n?"?":"&",o=encodeURIComponent(o),r+=""!==a?o+"="+encodeURIComponent(a).replace(/%20/g,"+"):o)}return r}var i=Object.prototype.hasOwnProperty;t.exports=function(e,t){e.query.string.full=r(e.query.object,!1),t.removeEmptyQueries&&(e.query.string.stripped=r(e.query.object,!0))}},{}],138:[function(e,t,n){"use strict";function r(e){var t=e.protocol;return t&&t.indexOf(":")===t.length-1&&(t=t.substr(0,t.length-1)),e.host={full:e.hostname,stripped:null},e.path={absolute:{array:null,string:e.pathname},relative:{array:null,string:null}},e.query={object:e.query,string:{full:null,stripped:null}},e.extra={hrefInfo:{minimumPathOnly:null,minimumResourceOnly:null,minimumQueryOnly:null,minimumHashOnly:null,empty:null,separatorOnlyQuery:"?"===e.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:e.slashes},e.resource=null,e.scheme=t,delete e.hostname,delete e.pathname,delete e.protocol,delete e.search,delete e.slashes,e}function i(e,t){var n=!0;return t.rejectedSchemes.every(function(t){return n=!(0===e.indexOf(t+":"))}),n}var o=e("url").parse;t.exports=function(e,t){return i(e,t)?r(o(e,!0,t.slashesDenoteHost)):{href:e,valid:!1}}},{url:162}],139:[function(e,t,n){"use strict";function r(e,t){if(e.extra.relation.maximumHost||!e.extra.hrefInfo.minimumResourceOnly){var n=e.path.absolute.array,r="/";n?(e.extra.hrefInfo.minimumPathOnly&&0!==e.path.absolute.string.indexOf("/")&&(n=t.path.absolute.array.concat(n)),n=u.resolveDotSegments(n),r+=u.join(n)):n=[],e.path.absolute.array=n,e.path.absolute.string=r}else e.path=s.clone(t.path)}function i(e,t){e.port=t.port,e.extra.portIsDefault=t.extra.portIsDefault}function o(e,t){e.resource=t.resource,e.extra.resourceIsIndex=t.extra.resourceIsIndex}var a=e("./findRelation"),s=e("../util/object"),u=e("../util/path");t.exports=function(e,t,n){a.upToPath(e,t,n),e.extra.relation.minimumScheme&&(e.scheme=t.scheme),e.extra.relation.minimumAuth&&(e.auth=t.auth),e.extra.relation.minimumHost&&(e.host=s.clone(t.host)),e.extra.relation.minimumPort&&i(e,t),e.extra.relation.minimumScheme&&r(e,t),a.pathOn(e,t,n),e.extra.relation.minimumResource&&o(e,t),e.extra.relation.minimumQuery&&(e.query=s.clone(t.query)),e.extra.relation.minimumHash&&(e.hash=t.hash)}},{"../util/object":143,"../util/path":144,"./findRelation":140}],140:[function(e,t,n){"use strict";t.exports={pathOn:function(e,t,n){var r=e.extra.hrefInfo.minimumQueryOnly,i=e.extra.hrefInfo.minimumHashOnly,o=e.extra.hrefInfo.empty,a=e.extra.relation.minimumPort,s=e.extra.relation.minimumScheme,u=a&&e.path.absolute.string===t.path.absolute.string,l=e.resource===t.resource||!e.resource&&t.extra.resourceIsIndex||n.removeDirectoryIndexes&&e.extra.resourceIsIndex&&!t.resource,c=u&&(l||r||i||o),f=n.removeEmptyQueries?"stripped":"full",p=e.query.string[f],h=t.query.string[f],d=c&&!!p&&p===h||(i||o)&&!e.extra.hrefInfo.separatorOnlyQuery,m=d&&e.hash===t.hash;e.extra.relation.minimumPath=u,e.extra.relation.minimumResource=c,e.extra.relation.minimumQuery=d,e.extra.relation.minimumHash=m,e.extra.relation.maximumPort=!s||s&&!u,e.extra.relation.maximumPath=!s||s&&!c,e.extra.relation.maximumResource=!s||s&&!d,e.extra.relation.maximumQuery=!s||s&&!m,e.extra.relation.maximumHash=!s||s&&!m,e.extra.relation.overridesQuery=u&&e.extra.relation.maximumResource&&!d&&!!h},upToPath:function(e,t,n){var r=e.extra.hrefInfo.minimumPathOnly,i=e.scheme===t.scheme||!e.scheme,o=i&&(e.auth===t.auth||n.removeAuth||r),a=n.ignore_www?"stripped":"full",s=o&&(e.host[a]===t.host[a]||r),u=s&&(e.port===t.port||r);e.extra.relation.minimumScheme=i,e.extra.relation.minimumAuth=o,e.extra.relation.minimumHost=s,e.extra.relation.minimumPort=u,e.extra.relation.maximumScheme=!i||i&&!o,e.extra.relation.maximumAuth=!i||i&&!s,e.extra.relation.maximumHost=!i||i&&!u}}},{}],141:[function(e,t,n){"use strict";var r=e("./absolutize"),i=e("./relativize");t.exports=function(e,t,n){return r(t,e,n),i(t,e,n),t}},{"./absolutize":139,"./relativize":142}],142:[function(e,t,n){"use strict";function r(e,t){var n=[],r=!0,i=-1;return t.forEach(function(t,o){r&&(e[o]!==t?r=!1:i=o),r||n.push("..")}),e.forEach(function(e,t){t>i&&n.push(e)}),n}var i=e("../util/path");t.exports=function(e,t,n){if(e.extra.relation.minimumScheme){var o=r(e.path.absolute.array,t.path.absolute.array);e.path.relative.array=o,e.path.relative.string=i.join(o)}}},{"../util/path":144}],143:[function(e,t,n){"use strict";function r(e){if(e instanceof Object){var t=e instanceof Array?[]:{};for(var n in e)e.hasOwnProperty(n)&&(t[n]=r(e[n]));return t}return e}t.exports={clone:r,isPlainObject:function(e){return!!e&&"object"==typeof e&&e.constructor===Object},shallowMerge:function(e,t){if(e instanceof Object&&t instanceof Object)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}}},{}],144:[function(e,t,n){"use strict";t.exports={join:function(e){return e.length>0?e.join("/")+"/":""},resolveDotSegments:function(e){var t=[];return e.forEach(function(e){".."!==e?"."!==e&&t.push(e):t.length>0&&t.splice(t.length-1,1)}),t}}},{}],145:[function(e,t,n){function r(e,t){for(var n in e)t[n]=e[n]}function i(e,t,n){return a(e,t,n)}var o=e("buffer"),a=o.Buffer;a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow?t.exports=o:(r(o,n),n.Buffer=i),r(a,i),i.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return a(e,t,n)},i.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=a(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},i.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return a(e)},i.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o.SlowBuffer(e)}},{buffer:4}],146:[function(e,t,n){function r(){this._array=[],this._set=Object.create(null)}var i=e("./util"),o=Object.prototype.hasOwnProperty;r.fromArray=function(e,t){for(var n=new r,i=0,o=e.length;i<o;i++)n.add(e[i],t);return n},r.prototype.size=function(){return Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(e,t){var n=i.toSetString(e),r=o.call(this._set,n),a=this._array.length;r&&!t||this._array.push(e),r||(this._set[n]=a)},r.prototype.has=function(e){var t=i.toSetString(e);return o.call(this._set,t)},r.prototype.indexOf=function(e){var t=i.toSetString(e);if(o.call(this._set,t))return this._set[t];throw new Error('"'+e+'" is not in the set.')},r.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},r.prototype.toArray=function(){return this._array.slice()},n.ArraySet=r},{"./util":155}],147:[function(e,t,n){function r(e){return e<0?1+(-e<<1):0+(e<<1)}function i(e){var t=e>>1;return 1==(1&e)?-t:t}var o=e("./base64");n.encode=function(e){var t,n="",i=r(e);do{t=31&i,(i>>>=5)>0&&(t|=32),n+=o.encode(t)}while(i>0);return n},n.decode=function(e,t,n){var r,a,s=e.length,u=0,l=0;do{if(t>=s)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(a=o.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));r=!!(32&a),u+=(a&=31)<<l,l+=5}while(r);n.value=i(u),n.rest=t}},{"./base64":148}],148:[function(e,t,n){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");n.encode=function(e){if(0<=e&&e<r.length)return r[e];throw new TypeError("Must be between 0 and 63: "+e)},n.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1}},{}],149:[function(e,t,n){function r(e,t,i,o,a,s){var u=Math.floor((t-e)/2)+e,l=a(i,o[u],!0);return 0===l?u:l>0?t-u>1?r(u,t,i,o,a,s):s==n.LEAST_UPPER_BOUND?t<o.length?t:-1:u:u-e>1?r(e,u,i,o,a,s):s==n.LEAST_UPPER_BOUND?u:e<0?-1:e}n.GREATEST_LOWER_BOUND=1,n.LEAST_UPPER_BOUND=2,n.search=function(e,t,i,o){if(0===t.length)return-1;var a=r(-1,t.length,e,t,i,o||n.GREATEST_LOWER_BOUND);if(a<0)return-1;for(;a-1>=0&&0===i(t[a],t[a-1],!0);)--a;return a}},{}],150:[function(e,t,n){function r(e,t){var n=e.generatedLine,r=t.generatedLine,i=e.generatedColumn,a=t.generatedColumn;return r>n||r==n&&a>=i||o.compareByGeneratedPositionsInflated(e,t)<=0}function i(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}var o=e("./util");i.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},i.prototype.add=function(e){r(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},i.prototype.toArray=function(){return this._sorted||(this._array.sort(o.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},n.MappingList=i},{"./util":155}],151:[function(e,t,n){function r(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function i(e,t){return Math.round(e+Math.random()*(t-e))}function o(e,t,n,a){if(n<a){var s=n-1;r(e,i(n,a),a);for(var u=e[a],l=n;l<a;l++)t(e[l],u)<=0&&r(e,s+=1,l);r(e,s+1,l);var c=s+1;o(e,t,n,c-1),o(e,t,c+1,a)}}n.quickSort=function(e,t){o(e,t,0,e.length-1)}},{}],152:[function(e,t,n){function r(e){var t=e;return"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,""))),null!=t.sections?new a(t):new i(t)}function i(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=s.getArg(t,"version"),r=s.getArg(t,"sources"),i=s.getArg(t,"names",[]),o=s.getArg(t,"sourceRoot",null),a=s.getArg(t,"sourcesContent",null),u=s.getArg(t,"mappings"),c=s.getArg(t,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);r=r.map(String).map(s.normalize).map(function(e){return o&&s.isAbsolute(o)&&s.isAbsolute(e)?s.relative(o,e):e}),this._names=l.fromArray(i.map(String),!0),this._sources=l.fromArray(r,!0),this.sourceRoot=o,this.sourcesContent=a,this._mappings=u,this.file=c}function o(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function a(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=s.getArg(t,"version"),i=s.getArg(t,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new l,this._names=new l;var o={line:-1,column:0};this._sections=i.map(function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var t=s.getArg(e,"offset"),n=s.getArg(t,"line"),i=s.getArg(t,"column");if(n<o.line||n===o.line&&i<o.column)throw new Error("Section offsets must be ordered and non-overlapping.");return o=t,{generatedOffset:{generatedLine:n+1,generatedColumn:i+1},consumer:new r(s.getArg(e,"map"))}})}var s=e("./util"),u=e("./binary-search"),l=e("./array-set").ArraySet,c=e("./base64-vlq"),f=e("./quick-sort").quickSort;r.fromSourceMap=function(e){return i.fromSourceMap(e)},r.prototype._version=3,r.prototype.__generatedMappings=null,Object.defineProperty(r.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),r.prototype.__originalMappings=null,Object.defineProperty(r.prototype,"_originalMappings",{get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),r.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return";"===n||","===n},r.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},r.GENERATED_ORDER=1,r.ORIGINAL_ORDER=2,r.GREATEST_LOWER_BOUND=1,r.LEAST_UPPER_BOUND=2,r.prototype.eachMapping=function(e,t,n){var i,o=t||null;switch(n||r.GENERATED_ORDER){case r.GENERATED_ORDER:i=this._generatedMappings;break;case r.ORIGINAL_ORDER:i=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var a=this.sourceRoot;i.map(function(e){var t=null===e.source?null:this._sources.at(e.source);return null!=t&&null!=a&&(t=s.join(a,t)),{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}},this).forEach(e,o)},r.prototype.allGeneratedPositionsFor=function(e){var t=s.getArg(e,"line"),n={source:s.getArg(e,"source"),originalLine:t,originalColumn:s.getArg(e,"column",0)};if(null!=this.sourceRoot&&(n.source=s.relative(this.sourceRoot,n.source)),!this._sources.has(n.source))return[];n.source=this._sources.indexOf(n.source);var r=[],i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",s.compareByOriginalPositions,u.LEAST_UPPER_BOUND);if(i>=0){var o=this._originalMappings[i];if(void 0===e.column)for(var a=o.originalLine;o&&o.originalLine===a;)r.push({line:s.getArg(o,"generatedLine",null),column:s.getArg(o,"generatedColumn",null),lastColumn:s.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++i];else for(var l=o.originalColumn;o&&o.originalLine===t&&o.originalColumn==l;)r.push({line:s.getArg(o,"generatedLine",null),column:s.getArg(o,"generatedColumn",null),lastColumn:s.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++i]}return r},n.SourceMapConsumer=r,(i.prototype=Object.create(r.prototype)).consumer=r,i.fromSourceMap=function(e){var t=Object.create(i.prototype),n=t._names=l.fromArray(e._names.toArray(),!0),r=t._sources=l.fromArray(e._sources.toArray(),!0);t.sourceRoot=e._sourceRoot,t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot),t.file=e._file;for(var a=e._mappings.toArray().slice(),u=t.__generatedMappings=[],c=t.__originalMappings=[],p=0,h=a.length;p<h;p++){var d=a[p],m=new o;m.generatedLine=d.generatedLine,m.generatedColumn=d.generatedColumn,d.source&&(m.source=r.indexOf(d.source),m.originalLine=d.originalLine,m.originalColumn=d.originalColumn,d.name&&(m.name=n.indexOf(d.name)),c.push(m)),u.push(m)}return f(t.__originalMappings,s.compareByOriginalPositions),t},i.prototype._version=3,Object.defineProperty(i.prototype,"sources",{get:function(){return this._sources.toArray().map(function(e){return null!=this.sourceRoot?s.join(this.sourceRoot,e):e},this)}}),i.prototype._parseMappings=function(e,t){for(var n,r,i,a,u,l=1,p=0,h=0,d=0,m=0,g=0,v=e.length,b=0,y={},_={},w=[],A=[];b<v;)if(";"===e.charAt(b))l++,b++,p=0;else if(","===e.charAt(b))b++;else{for((n=new o).generatedLine=l,a=b;a<v&&!this._charIsMappingSeparator(e,a);a++);if(r=e.slice(b,a),i=y[r])b+=r.length;else{for(i=[];b<a;)c.decode(e,b,_),u=_.value,b=_.rest,i.push(u);if(2===i.length)throw new Error("Found a source, but no line and column");if(3===i.length)throw new Error("Found a source and line, but no column");y[r]=i}n.generatedColumn=p+i[0],p=n.generatedColumn,i.length>1&&(n.source=m+i[1],m+=i[1],n.originalLine=h+i[2],h=n.originalLine,n.originalLine+=1,n.originalColumn=d+i[3],d=n.originalColumn,i.length>4&&(n.name=g+i[4],g+=i[4])),A.push(n),"number"==typeof n.originalLine&&w.push(n)}f(A,s.compareByGeneratedPositionsDeflated),this.__generatedMappings=A,f(w,s.compareByOriginalPositions),this.__originalMappings=w},i.prototype._findMapping=function(e,t,n,r,i,o){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return u.search(e,t,i,o)},i.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},i.prototype.originalPositionFor=function(e){var t={generatedLine:s.getArg(e,"line"),generatedColumn:s.getArg(e,"column")},n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",s.compareByGeneratedPositionsDeflated,s.getArg(e,"bias",r.GREATEST_LOWER_BOUND));if(n>=0){var i=this._generatedMappings[n];if(i.generatedLine===t.generatedLine){var o=s.getArg(i,"source",null);null!==o&&(o=this._sources.at(o),null!=this.sourceRoot&&(o=s.join(this.sourceRoot,o)));var a=s.getArg(i,"name",null);return null!==a&&(a=this._names.at(a)),{source:o,line:s.getArg(i,"originalLine",null),column:s.getArg(i,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},i.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e}))},i.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(e=s.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var n;if(null!=this.sourceRoot&&(n=s.urlParse(this.sourceRoot))){var r=e.replace(/^file:\/\//,"");if("file"==n.scheme&&this._sources.has(r))return this.sourcesContent[this._sources.indexOf(r)];if((!n.path||"/"==n.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},i.prototype.generatedPositionFor=function(e){var t=s.getArg(e,"source");if(null!=this.sourceRoot&&(t=s.relative(this.sourceRoot,t)),!this._sources.has(t))return{line:null,column:null,lastColumn:null};var n={source:t=this._sources.indexOf(t),originalLine:s.getArg(e,"line"),originalColumn:s.getArg(e,"column")},i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",s.compareByOriginalPositions,s.getArg(e,"bias",r.GREATEST_LOWER_BOUND));if(i>=0){var o=this._originalMappings[i];if(o.source===n.source)return{line:s.getArg(o,"generatedLine",null),column:s.getArg(o,"generatedColumn",null),lastColumn:s.getArg(o,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},n.BasicSourceMapConsumer=i,(a.prototype=Object.create(r.prototype)).constructor=r,a.prototype._version=3,Object.defineProperty(a.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}}),a.prototype.originalPositionFor=function(e){var t={generatedLine:s.getArg(e,"line"),generatedColumn:s.getArg(e,"column")},n=u.search(t,this._sections,function(e,t){var n=e.generatedLine-t.generatedOffset.generatedLine;return n||e.generatedColumn-t.generatedOffset.generatedColumn}),r=this._sections[n];return r?r.consumer.originalPositionFor({line:t.generatedLine-(r.generatedOffset.generatedLine-1),column:t.generatedColumn-(r.generatedOffset.generatedLine===t.generatedLine?r.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},a.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},a.prototype.sourceContentFor=function(e,t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n].consumer.sourceContentFor(e,!0);if(r)return r}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},a.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var n=this._sections[t];if(-1!==n.consumer.sources.indexOf(s.getArg(e,"source"))){var r=n.consumer.generatedPositionFor(e);if(r)return{line:r.line+(n.generatedOffset.generatedLine-1),column:r.column+(n.generatedOffset.generatedLine===r.line?n.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},a.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var r=this._sections[n],i=r.consumer._generatedMappings,o=0;o<i.length;o++){var a=i[o],u=r.consumer._sources.at(a.source);null!==r.consumer.sourceRoot&&(u=s.join(r.consumer.sourceRoot,u)),this._sources.add(u),u=this._sources.indexOf(u);var l=r.consumer._names.at(a.name);this._names.add(l),l=this._names.indexOf(l);var c={source:u,generatedLine:a.generatedLine+(r.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(r.generatedOffset.generatedLine===a.generatedLine?r.generatedOffset.generatedColumn-1:0),originalLine:a.originalLine,originalColumn:a.originalColumn,name:l};this.__generatedMappings.push(c),"number"==typeof c.originalLine&&this.__originalMappings.push(c)}f(this.__generatedMappings,s.compareByGeneratedPositionsDeflated),f(this.__originalMappings,s.compareByOriginalPositions)},n.IndexedSourceMapConsumer=a},{"./array-set":146,"./base64-vlq":147,"./binary-search":149,"./quick-sort":151,"./util":155}],153:[function(e,t,n){function r(e){e||(e={}),this._file=o.getArg(e,"file",null),this._sourceRoot=o.getArg(e,"sourceRoot",null),this._skipValidation=o.getArg(e,"skipValidation",!1),this._sources=new a,this._names=new a,this._mappings=new s,this._sourcesContents=null}var i=e("./base64-vlq"),o=e("./util"),a=e("./array-set").ArraySet,s=e("./mapping-list").MappingList;r.prototype._version=3,r.fromSourceMap=function(e){var t=e.sourceRoot,n=new r({file:e.file,sourceRoot:t});return e.eachMapping(function(e){var r={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(r.source=e.source,null!=t&&(r.source=o.relative(t,r.source)),r.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(r.name=e.name)),n.addMapping(r)}),e.sources.forEach(function(t){var r=e.sourceContentFor(t);null!=r&&n.setSourceContent(t,r)}),n},r.prototype.addMapping=function(e){var t=o.getArg(e,"generated"),n=o.getArg(e,"original",null),r=o.getArg(e,"source",null),i=o.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,n,r,i),null!=r&&(r=String(r),this._sources.has(r)||this._sources.add(r)),null!=i&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:r,name:i})},r.prototype.setSourceContent=function(e,t){var n=e;null!=this._sourceRoot&&(n=o.relative(this._sourceRoot,n)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[o.toSetString(n)]=t):this._sourcesContents&&(delete this._sourcesContents[o.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},r.prototype.applySourceMap=function(e,t,n){var r=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');r=e.file}var i=this._sourceRoot;null!=i&&(r=o.relative(i,r));var s=new a,u=new a;this._mappings.unsortedForEach(function(t){if(t.source===r&&null!=t.originalLine){var a=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=a.source&&(t.source=a.source,null!=n&&(t.source=o.join(n,t.source)),null!=i&&(t.source=o.relative(i,t.source)),t.originalLine=a.line,t.originalColumn=a.column,null!=a.name&&(t.name=a.name))}var l=t.source;null==l||s.has(l)||s.add(l);var c=t.name;null==c||u.has(c)||u.add(c)},this),this._sources=s,this._names=u,e.sources.forEach(function(t){var r=e.sourceContentFor(t);null!=r&&(null!=n&&(t=o.join(n,t)),null!=i&&(t=o.relative(i,t)),this.setSourceContent(t,r))},this)},r.prototype._validateMapping=function(e,t,n,r){if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||n||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},r.prototype._serializeMappings=function(){for(var e,t,n,r,a=0,s=1,u=0,l=0,c=0,f=0,p="",h=this._mappings.toArray(),d=0,m=h.length;d<m;d++){if(t=h[d],e="",t.generatedLine!==s)for(a=0;t.generatedLine!==s;)e+=";",s++;else if(d>0){if(!o.compareByGeneratedPositionsInflated(t,h[d-1]))continue;e+=","}e+=i.encode(t.generatedColumn-a),a=t.generatedColumn,null!=t.source&&(r=this._sources.indexOf(t.source),e+=i.encode(r-f),f=r,e+=i.encode(t.originalLine-1-l),l=t.originalLine-1,e+=i.encode(t.originalColumn-u),u=t.originalColumn,null!=t.name&&(n=this._names.indexOf(t.name),e+=i.encode(n-c),c=n)),p+=e}return p},r.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;null!=t&&(e=o.relative(t,e));var n=o.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null},this)},r.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},r.prototype.toString=function(){return JSON.stringify(this.toJSON())},n.SourceMapGenerator=r},{"./array-set":146,"./base64-vlq":147,"./mapping-list":150,"./util":155}],154:[function(e,t,n){function r(e,t,n,r,i){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==n?null:n,this.name=null==i?null:i,this[s]=!0,null!=r&&this.add(r)}var i=e("./source-map-generator").SourceMapGenerator,o=e("./util"),a=/(\r?\n)/,s="$$$isSourceNode$$$";r.fromStringWithSourceMap=function(e,t,n){function i(e,t){if(null===e||void 0===e.source)s.add(t);else{var i=n?o.join(n,e.source):e.source;s.add(new r(e.originalLine,e.originalColumn,i,t,e.name))}}var s=new r,u=e.split(a),l=function(){return u.shift()+(u.shift()||"")},c=1,f=0,p=null;return t.eachMapping(function(e){if(null!==p){if(!(c<e.generatedLine)){var t=(n=u[0]).substr(0,e.generatedColumn-f);return u[0]=n.substr(e.generatedColumn-f),f=e.generatedColumn,i(p,t),void(p=e)}i(p,l()),c++,f=0}for(;c<e.generatedLine;)s.add(l()),c++;if(f<e.generatedColumn){var n=u[0];s.add(n.substr(0,e.generatedColumn)),u[0]=n.substr(e.generatedColumn),f=e.generatedColumn}p=e},this),u.length>0&&(p&&i(p,l()),s.add(u.join(""))),t.sources.forEach(function(e){var r=t.sourceContentFor(e);null!=r&&(null!=n&&(e=o.join(n,e)),s.setSourceContent(e,r))}),s},r.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else{if(!e[s]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},r.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[s]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},r.prototype.walk=function(e){for(var t,n=0,r=this.children.length;n<r;n++)(t=this.children[n])[s]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},r.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;n<r-1;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},r.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[s]?n.replaceRight(e,t):"string"==typeof n?this.children[this.children.length-1]=n.replace(e,t):this.children.push("".replace(e,t)),this},r.prototype.setSourceContent=function(e,t){this.sourceContents[o.toSetString(e)]=t},r.prototype.walkSourceContents=function(e){for(var t=0,n=this.children.length;t<n;t++)this.children[t][s]&&this.children[t].walkSourceContents(e);for(var r=Object.keys(this.sourceContents),t=0,n=r.length;t<n;t++)e(o.fromSetString(r[t]),this.sourceContents[r[t]])},r.prototype.toString=function(){var e="";return this.walk(function(t){e+=t}),e},r.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},n=new i(e),r=!1,o=null,a=null,s=null,u=null;return this.walk(function(e,i){t.code+=e,null!==i.source&&null!==i.line&&null!==i.column?(o===i.source&&a===i.line&&s===i.column&&u===i.name||n.addMapping({source:i.source,original:{line:i.line,column:i.column},generated:{line:t.line,column:t.column},name:i.name}),o=i.source,a=i.line,s=i.column,u=i.name,r=!0):r&&(n.addMapping({generated:{line:t.line,column:t.column}}),o=null,r=!1);for(var l=0,c=e.length;l<c;l++)10===e.charCodeAt(l)?(t.line++,t.column=0,l+1===c?(o=null,r=!1):r&&n.addMapping({source:i.source,original:{line:i.line,column:i.column},generated:{line:t.line,column:t.column},name:i.name})):t.column++}),this.walkSourceContents(function(e,t){n.setSourceContent(e,t)}),{code:t.code,map:n}},n.SourceNode=r},{"./source-map-generator":153,"./util":155}],155:[function(e,t,n){function r(e){var t=e.match(l);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function i(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function o(e){var t=e,o=r(e);if(o){if(!o.path)return e;t=o.path}for(var a,s=n.isAbsolute(t),u=t.split(/\/+/),l=0,c=u.length-1;c>=0;c--)"."===(a=u[c])?u.splice(c,1):".."===a?l++:l>0&&(""===a?(u.splice(c+1,l),l=0):(u.splice(c,2),l--));return""===(t=u.join("/"))&&(t=s?"/":"."),o?(o.path=t,i(o)):t}function a(e){return e}function s(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function u(e,t){return e===t?0:e>t?1:-1}n.getArg=function(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')};var l=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,c=/^data:.+\,.+$/;n.urlParse=r,n.urlGenerate=i,n.normalize=o,n.join=function(e,t){""===e&&(e="."),""===t&&(t=".");var n=r(t),a=r(e);if(a&&(e=a.path||"/"),n&&!n.scheme)return a&&(n.scheme=a.scheme),i(n);if(n||t.match(c))return t;if(a&&!a.host&&!a.path)return a.host=t,i(a);var s="/"===t.charAt(0)?t:o(e.replace(/\/+$/,"")+"/"+t);return a?(a.path=s,i(a)):s},n.isAbsolute=function(e){return"/"===e.charAt(0)||!!e.match(l)},n.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)};var f=!("__proto__"in Object.create(null));n.toSetString=f?a:function(e){return s(e)?"$"+e:e},n.fromSetString=f?a:function(e){return s(e)?e.slice(1):e},n.compareByOriginalPositions=function(e,t,n){var r=e.source-t.source;return 0!==r?r:0!=(r=e.originalLine-t.originalLine)?r:0!=(r=e.originalColumn-t.originalColumn)||n?r:0!=(r=e.generatedColumn-t.generatedColumn)?r:0!=(r=e.generatedLine-t.generatedLine)?r:e.name-t.name},n.compareByGeneratedPositionsDeflated=function(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r?r:0!=(r=e.generatedColumn-t.generatedColumn)||n?r:0!=(r=e.source-t.source)?r:0!=(r=e.originalLine-t.originalLine)?r:0!=(r=e.originalColumn-t.originalColumn)?r:e.name-t.name},n.compareByGeneratedPositionsInflated=function(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n?n:0!=(n=e.generatedColumn-t.generatedColumn)?n:0!==(n=u(e.source,t.source))?n:0!=(n=e.originalLine-t.originalLine)?n:0!=(n=e.originalColumn-t.originalColumn)?n:u(e.name,t.name)}},{}],156:[function(e,t,n){n.SourceMapGenerator=e("./lib/source-map-generator").SourceMapGenerator,n.SourceMapConsumer=e("./lib/source-map-consumer").SourceMapConsumer,n.SourceNode=e("./lib/source-node").SourceNode},{"./lib/source-map-consumer":152,"./lib/source-map-generator":153,"./lib/source-node":154}],157:[function(e,t,n){(function(t){var r=e("./lib/request"),i=e("xtend"),o=e("builtin-status-codes"),a=e("url"),s=n;s.request=function(e,n){e="string"==typeof e?a.parse(e):i(e);var o=-1===t.location.protocol.search(/^https?:$/)?"http:":"",s=e.protocol||o,u=e.hostname||e.host,l=e.port,c=e.path||"/";u&&-1!==u.indexOf(":")&&(u="["+u+"]"),e.url=(u?s+"//"+u:"")+(l?":"+l:"")+c,e.method=(e.method||"GET").toUpperCase(),e.headers=e.headers||{};var f=new r(e);return n&&f.on("response",n),f},s.get=function(e,t){var n=s.request(e,t);return n.end(),n},s.Agent=function(){},s.Agent.defaultMaxSockets=4,s.STATUS_CODES=o,s.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":159,"builtin-status-codes":5,url:162,xtend:166}],158:[function(e,t,n){(function(e){function t(){if(void 0!==o)return o;if(e.XMLHttpRequest){o=new e.XMLHttpRequest;try{o.open("GET",e.XDomainRequest?"/":"https://example.com")}catch(e){o=null}}else o=null;return o}function r(e){var n=t();if(!n)return!1;try{return n.responseType=e,n.responseType===e}catch(e){}return!1}function i(e){return"function"==typeof e}n.fetch=i(e.fetch)&&i(e.ReadableStream),n.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),n.blobConstructor=!0}catch(e){}var o,a=void 0!==e.ArrayBuffer,s=a&&i(e.ArrayBuffer.prototype.slice);n.arraybuffer=n.fetch||a&&r("arraybuffer"),n.msstream=!n.fetch&&s&&r("ms-stream"),n.mozchunkedarraybuffer=!n.fetch&&a&&r("moz-chunked-arraybuffer"),n.overrideMimeType=n.fetch||!!t()&&i(t().overrideMimeType),n.vbArray=i(e.VBArray),o=null}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],159:[function(e,t,n){(function(n,r,i){function o(e,t){return s.fetch&&t?"fetch":s.mozchunkedarraybuffer?"moz-chunked-arraybuffer":s.msstream?"ms-stream":s.arraybuffer&&e?"arraybuffer":s.vbArray&&e?"text:vbarray":"text"}function a(e){try{var t=e.status;return null!==t&&0!==t}catch(e){return!1}}var s=e("./capability"),u=e("inherits"),l=e("./response"),c=e("readable-stream"),f=e("to-arraybuffer"),p=l.IncomingMessage,h=l.readyStates,d=t.exports=function(e){var t=this;c.Writable.call(t),t._opts=e,t._body=[],t._headers={},e.auth&&t.setHeader("Authorization","Basic "+new i(e.auth).toString("base64")),Object.keys(e.headers).forEach(function(n){t.setHeader(n,e.headers[n])});var n,r=!0;if("disable-fetch"===e.mode||"timeout"in e)r=!1,n=!0;else if("prefer-streaming"===e.mode)n=!1;else if("allow-wrong-content-type"===e.mode)n=!s.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");n=!0}t._mode=o(n,r),t.on("finish",function(){t._onFinish()})};u(d,c.Writable),d.prototype.setHeader=function(e,t){var n=this,r=e.toLowerCase();-1===m.indexOf(r)&&(n._headers[r]={name:e,value:t})},d.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null},d.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},d.prototype._onFinish=function(){var e=this;if(!e._destroyed){var t=e._opts,o=e._headers,a=null;"GET"!==t.method&&"HEAD"!==t.method&&(a=s.blobConstructor?new r.Blob(e._body.map(function(e){return f(e)}),{type:(o["content-type"]||{}).value||""}):i.concat(e._body).toString());var u=[];if(Object.keys(o).forEach(function(e){var t=o[e].name,n=o[e].value;Array.isArray(n)?n.forEach(function(e){u.push([t,e])}):u.push([t,n])}),"fetch"===e._mode)r.fetch(e._opts.url,{method:e._opts.method,headers:u,body:a||void 0,mode:"cors",credentials:t.withCredentials?"include":"same-origin"}).then(function(t){e._fetchResponse=t,e._connect()},function(t){e.emit("error",t)});else{var l=e._xhr=new r.XMLHttpRequest;try{l.open(e._opts.method,e._opts.url,!0)}catch(t){return void n.nextTick(function(){e.emit("error",t)})}"responseType"in l&&(l.responseType=e._mode.split(":")[0]),"withCredentials"in l&&(l.withCredentials=!!t.withCredentials),"text"===e._mode&&"overrideMimeType"in l&&l.overrideMimeType("text/plain; charset=x-user-defined"),"timeout"in t&&(l.timeout=t.timeout,l.ontimeout=function(){e.emit("timeout")}),u.forEach(function(e){l.setRequestHeader(e[0],e[1])}),e._response=null,l.onreadystatechange=function(){switch(l.readyState){case h.LOADING:case h.DONE:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(l.onprogress=function(){e._onXHRProgress()}),l.onerror=function(){e._destroyed||e.emit("error",new Error("XHR error"))};try{l.send(a)}catch(t){return void n.nextTick(function(){e.emit("error",t)})}}}},d.prototype._onXHRProgress=function(){var e=this;a(e._xhr)&&!e._destroyed&&(e._response||e._connect(),e._response._onXHRProgress())},d.prototype._connect=function(){var e=this;e._destroyed||(e._response=new p(e._xhr,e._fetchResponse,e._mode),e._response.on("error",function(t){e.emit("error",t)}),e.emit("response",e._response))},d.prototype._write=function(e,t,n){this._body.push(e),n()},d.prototype.abort=d.prototype.destroy=function(){var e=this;e._destroyed=!0,e._response&&(e._response._destroyed=!0),e._xhr&&e._xhr.abort()},d.prototype.end=function(e,t,n){var r=this;"function"==typeof e&&(n=e,e=void 0),c.Writable.prototype.end.call(r,e,t,n)},d.prototype.flushHeaders=function(){},d.prototype.setTimeout=function(){},d.prototype.setNoDelay=function(){},d.prototype.setSocketKeepAlive=function(){};var m=["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,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer)},{"./capability":158,"./response":160,_process:113,buffer:4,inherits:106,"readable-stream":127,"to-arraybuffer":161}],160:[function(e,t,n){(function(t,r,i){var o=e("./capability"),a=e("inherits"),s=e("readable-stream"),u=n.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},l=n.IncomingMessage=function(e,n,r){function a(){l.read().then(function(e){u._destroyed||(e.done?u.push(null):(u.push(new i(e.value)),a()))}).catch(function(e){u.emit("error",e)})}var u=this;if(s.Readable.call(u),u._mode=r,u.headers={},u.rawHeaders=[],u.trailers={},u.rawTrailers=[],u.on("end",function(){t.nextTick(function(){u.emit("close")})}),"fetch"===r){u._fetchResponse=n,u.url=n.url,u.statusCode=n.status,u.statusMessage=n.statusText,n.headers.forEach(function(e,t){u.headers[t.toLowerCase()]=e,u.rawHeaders.push(t,e)});var l=n.body.getReader();a()}else if(u._xhr=e,u._pos=0,u.url=e.responseURL,u.statusCode=e.status,u.statusMessage=e.statusText,e.getAllResponseHeaders().split(/\r?\n/).forEach(function(e){var t=e.match(/^([^:]+):\s*(.*)/);if(t){var n=t[1].toLowerCase();"set-cookie"===n?(void 0===u.headers[n]&&(u.headers[n]=[]),u.headers[n].push(t[2])):void 0!==u.headers[n]?u.headers[n]+=", "+t[2]:u.headers[n]=t[2],u.rawHeaders.push(t[1],t[2])}}),u._charset="x-user-defined",!o.overrideMimeType){var c=u.rawHeaders["mime-type"];if(c){var f=c.match(/;\s*charset=([^;])(;|$)/);f&&(u._charset=f[1].toLowerCase())}u._charset||(u._charset="utf-8")}};a(l,s.Readable),l.prototype._read=function(){},l.prototype._onXHRProgress=function(){var e=this,t=e._xhr,n=null;switch(e._mode){case"text:vbarray":if(t.readyState!==u.DONE)break;try{n=new r.VBArray(t.responseBody).toArray()}catch(e){}if(null!==n){e.push(new i(n));break}case"text":try{n=t.responseText}catch(t){e._mode="text:vbarray";break}if(n.length>e._pos){var o=n.substr(e._pos);if("x-user-defined"===e._charset){for(var a=new i(o.length),s=0;s<o.length;s++)a[s]=255&o.charCodeAt(s);e.push(a)}else e.push(o,e._charset);e._pos=n.length}break;case"arraybuffer":if(t.readyState!==u.DONE||!t.response)break;n=t.response,e.push(new i(new Uint8Array(n)));break;case"moz-chunked-arraybuffer":if(n=t.response,t.readyState!==u.LOADING||!n)break;e.push(new i(new Uint8Array(n)));break;case"ms-stream":if(n=t.response,t.readyState!==u.LOADING)break;var l=new r.MSStreamReader;l.onprogress=function(){l.result.byteLength>e._pos&&(e.push(new i(new Uint8Array(l.result.slice(e._pos)))),e._pos=l.result.byteLength)},l.onload=function(){e.push(null)},l.readAsArrayBuffer(n)}e._xhr.readyState===u.DONE&&"ms-stream"!==e._mode&&e.push(null)}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer)},{"./capability":158,_process:113,buffer:4,inherits:106,"readable-stream":127}],161:[function(e,t,n){var r=e("buffer").Buffer;t.exports=function(e){if(e instanceof Uint8Array){if(0===e.byteOffset&&e.byteLength===e.buffer.byteLength)return e.buffer;if("function"==typeof e.buffer.slice)return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}if(r.isBuffer(e)){for(var t=new Uint8Array(e.length),n=e.length,i=0;i<n;i++)t[i]=e[i];return t.buffer}throw new Error("Argument must be a Buffer")}},{buffer:4}],162:[function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function i(e,t,n){if(e&&a.isObject(e)&&e instanceof r)return e;var i=new r;return i.parse(e,t,n),i}var o=e("punycode"),a=e("./util");n.parse=i,n.resolve=function(e,t){return i(e,!1,!0).resolve(t)},n.resolveObject=function(e,t){return e?i(e,!1,!0).resolveObject(t):t},n.format=function(e){return a.isString(e)&&(e=i(e)),e instanceof r?e.format():r.prototype.format.call(e)},n.Url=r;var s=/^([a-z0-9.+-]+:)/i,u=/:[0-9]*$/,l=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["<",">",'"',"`"," ","\r","\n","\t"],f=["{","}","|","\\","^","`"].concat(c),p=["'"].concat(f),h=["%","/","?",";","#"].concat(p),d=["/","?","#"],m=/^[+a-z0-9A-Z_-]{0,63}$/,g=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,v={javascript:!0,"javascript:":!0},b={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},_=e("querystring");r.prototype.parse=function(e,t,n){if(!a.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var r=e.indexOf("?"),i=-1!==r&&r<e.indexOf("#")?"?":"#",u=e.split(i),c=/\\/g;u[0]=u[0].replace(c,"/");var f=e=u.join(i);if(f=f.trim(),!n&&1===e.split("#").length){var w=l.exec(f);if(w)return this.path=f,this.href=f,this.pathname=w[1],w[2]?(this.search=w[2],this.query=t?_.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var A=s.exec(f);if(A){var E=(A=A[0]).toLowerCase();this.protocol=E,f=f.substr(A.length)}if(n||A||f.match(/^\/\/[^@\/]+@[^@\/]+/)){var x="//"===f.substr(0,2);!x||A&&b[A]||(f=f.substr(2),this.slashes=!0)}if(!b[A]&&(x||A&&!y[A])){for(var C=-1,k=0;k<d.length;k++)-1!==(D=f.indexOf(d[k]))&&(-1===C||D<C)&&(C=D);var O,S;-1!==(S=-1===C?f.lastIndexOf("@"):f.lastIndexOf("@",C))&&(O=f.slice(0,S),f=f.slice(S+1),this.auth=decodeURIComponent(O)),C=-1;for(k=0;k<h.length;k++){var D=f.indexOf(h[k]);-1!==D&&(-1===C||D<C)&&(C=D)}-1===C&&(C=f.length),this.host=f.slice(0,C),f=f.slice(C),this.parseHost(),this.hostname=this.hostname||"";var B="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!B)for(var T=this.hostname.split(/\./),k=0,R=T.length;k<R;k++){var F=T[k];if(F&&!F.match(m)){for(var L="",M=0,P=F.length;M<P;M++)F.charCodeAt(M)>127?L+="x":L+=F[M];if(!L.match(m)){var U=T.slice(0,k),N=T.slice(k+1),q=F.match(g);q&&(U.push(q[1]),N.unshift(q[2])),N.length&&(f="/"+N.join(".")+f),this.hostname=U.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),B||(this.hostname=o.toASCII(this.hostname));var z=this.port?":"+this.port:"",I=this.hostname||"";this.host=I+z,this.href+=this.host,B&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==f[0]&&(f="/"+f))}if(!v[E])for(var k=0,R=p.length;k<R;k++){var j=p[k];if(-1!==f.indexOf(j)){var V=encodeURIComponent(j);V===j&&(V=escape(j)),f=f.split(j).join(V)}}var $=f.indexOf("#");-1!==$&&(this.hash=f.substr($),f=f.slice(0,$));var H=f.indexOf("?");if(-1!==H?(this.search=f.substr(H),this.query=f.substr(H+1),t&&(this.query=_.parse(this.query)),f=f.slice(0,H)):t&&(this.search="",this.query={}),f&&(this.pathname=f),y[E]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var z=this.pathname||"",K=this.search||"";this.path=z+K}return this.href=this.format(),this},r.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",i=!1,o="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&a.isObject(this.query)&&Object.keys(this.query).length&&(o=_.stringify(this.query));var s=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||y[t])&&!1!==i?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),r&&"#"!==r.charAt(0)&&(r="#"+r),s&&"?"!==s.charAt(0)&&(s="?"+s),n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}),s=s.replace("#","%23"),t+i+n+s+r},r.prototype.resolve=function(e){return this.resolveObject(i(e,!1,!0)).format()},r.prototype.resolveObject=function(e){if(a.isString(e)){var t=new r;t.parse(e,!1,!0),e=t}for(var n=new r,i=Object.keys(this),o=0;o<i.length;o++){var s=i[o];n[s]=this[s]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var u=Object.keys(e),l=0;l<u.length;l++){var c=u[l];"protocol"!==c&&(n[c]=e[c])}return y[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!y[e.protocol]){for(var f=Object.keys(e),p=0;p<f.length;p++){var h=f[p];n[h]=e[h]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||b[e.protocol])n.pathname=e.pathname;else{for(E=(e.pathname||"").split("/");E.length&&!(e.host=E.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==E[0]&&E.unshift(""),E.length<2&&E.unshift(""),n.pathname=E.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var d=n.pathname||"",m=n.search||"";n.path=d+m}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var g=n.pathname&&"/"===n.pathname.charAt(0),v=e.host||e.pathname&&"/"===e.pathname.charAt(0),_=v||g||n.host&&e.pathname,w=_,A=n.pathname&&n.pathname.split("/")||[],E=e.pathname&&e.pathname.split("/")||[],x=n.protocol&&!y[n.protocol];if(x&&(n.hostname="",n.port=null,n.host&&(""===A[0]?A[0]=n.host:A.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===E[0]?E[0]=e.host:E.unshift(e.host)),e.host=null),_=_&&(""===E[0]||""===A[0])),v)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,A=E;else if(E.length)A||(A=[]),A.pop(),A=A.concat(E),n.search=e.search,n.query=e.query;else if(!a.isNullOrUndefined(e.search))return x&&(n.hostname=n.host=A.shift(),(B=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=B.shift(),n.host=n.hostname=B.shift())),n.search=e.search,n.query=e.query,a.isNull(n.pathname)&&a.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!A.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var C=A.slice(-1)[0],k=(n.host||e.host||A.length>1)&&("."===C||".."===C)||""===C,O=0,S=A.length;S>=0;S--)"."===(C=A[S])?A.splice(S,1):".."===C?(A.splice(S,1),O++):O&&(A.splice(S,1),O--);if(!_&&!w)for(;O--;O)A.unshift("..");!_||""===A[0]||A[0]&&"/"===A[0].charAt(0)||A.unshift(""),k&&"/"!==A.join("/").substr(-1)&&A.push("");var D=""===A[0]||A[0]&&"/"===A[0].charAt(0);if(x){n.hostname=n.host=D?"":A.length?A.shift():"";var B=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");B&&(n.auth=B.shift(),n.host=n.hostname=B.shift())}return(_=_||n.host&&A.length)&&!D&&A.unshift(""),A.length?n.pathname=A.join("/"):(n.pathname=null,n.path=null),a.isNull(n.pathname)&&a.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},r.prototype.parseHost=function(){var e=this.host,t=u.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},{"./util":163,punycode:114,querystring:117}],163:[function(e,t,n){"use strict";t.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},{}],164:[function(e,t,n){(function(e){function n(t){try{if(!e.localStorage)return!1}catch(e){return!1}var n=e.localStorage[t];return null!=n&&"true"===String(n).toLowerCase()}t.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],165:[function(e,t,n){n.baseChar=/[A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u0131\u0134-\u013E\u0141-\u0148\u014A-\u017E\u0180-\u01C3\u01CD-\u01F0\u01F4\u01F5\u01FA-\u0217\u0250-\u02A8\u02BB-\u02C1\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03CE\u03D0-\u03D6\u03DA\u03DC\u03DE\u03E0\u03E2-\u03F3\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E-\u0481\u0490-\u04C4\u04C7\u04C8\u04CB\u04CC\u04D0-\u04EB\u04EE-\u04F5\u04F8\u04F9\u0531-\u0556\u0559\u0561-\u0586\u05D0-\u05EA\u05F0-\u05F2\u0621-\u063A\u0641-\u064A\u0671-\u06B7\u06BA-\u06BE\u06C0-\u06CE\u06D0-\u06D3\u06D5\u06E5\u06E6\u0905-\u0939\u093D\u0958-\u0961\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\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-\u0A8B\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AE0\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B36-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB5\u0BB7-\u0BB9\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CDE\u0CE0\u0CE1\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D28\u0D2A-\u0D39\u0D60\u0D61\u0E01-\u0E2E\u0E30\u0E32\u0E33\u0E40-\u0E45\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD\u0EAE\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0F40-\u0F47\u0F49-\u0F69\u10A0-\u10C5\u10D0-\u10F6\u1100\u1102\u1103\u1105-\u1107\u1109\u110B\u110C\u110E-\u1112\u113C\u113E\u1140\u114C\u114E\u1150\u1154\u1155\u1159\u115F-\u1161\u1163\u1165\u1167\u1169\u116D\u116E\u1172\u1173\u1175\u119E\u11A8\u11AB\u11AE\u11AF\u11B7\u11B8\u11BA\u11BC-\u11C2\u11EB\u11F0\u11F9\u1E00-\u1E9B\u1EA0-\u1EF9\u1F00-\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\u2126\u212A\u212B\u212E\u2180-\u2182\u3041-\u3094\u30A1-\u30FA\u3105-\u312C\uAC00-\uD7A3]/,n.ideographic=/[\u3007\u3021-\u3029\u4E00-\u9FA5]/,n.letter=/[A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u0131\u0134-\u013E\u0141-\u0148\u014A-\u017E\u0180-\u01C3\u01CD-\u01F0\u01F4\u01F5\u01FA-\u0217\u0250-\u02A8\u02BB-\u02C1\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03CE\u03D0-\u03D6\u03DA\u03DC\u03DE\u03E0\u03E2-\u03F3\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E-\u0481\u0490-\u04C4\u04C7\u04C8\u04CB\u04CC\u04D0-\u04EB\u04EE-\u04F5\u04F8\u04F9\u0531-\u0556\u0559\u0561-\u0586\u05D0-\u05EA\u05F0-\u05F2\u0621-\u063A\u0641-\u064A\u0671-\u06B7\u06BA-\u06BE\u06C0-\u06CE\u06D0-\u06D3\u06D5\u06E5\u06E6\u0905-\u0939\u093D\u0958-\u0961\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\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-\u0A8B\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AE0\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B36-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB5\u0BB7-\u0BB9\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CDE\u0CE0\u0CE1\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D28\u0D2A-\u0D39\u0D60\u0D61\u0E01-\u0E2E\u0E30\u0E32\u0E33\u0E40-\u0E45\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD\u0EAE\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0F40-\u0F47\u0F49-\u0F69\u10A0-\u10C5\u10D0-\u10F6\u1100\u1102\u1103\u1105-\u1107\u1109\u110B\u110C\u110E-\u1112\u113C\u113E\u1140\u114C\u114E\u1150\u1154\u1155\u1159\u115F-\u1161\u1163\u1165\u1167\u1169\u116D\u116E\u1172\u1173\u1175\u119E\u11A8\u11AB\u11AE\u11AF\u11B7\u11B8\u11BA\u11BC-\u11C2\u11EB\u11F0\u11F9\u1E00-\u1E9B\u1EA0-\u1EF9\u1F00-\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\u2126\u212A\u212B\u212E\u2180-\u2182\u3007\u3021-\u3029\u3041-\u3094\u30A1-\u30FA\u3105-\u312C\u4E00-\u9FA5\uAC00-\uD7A3]/,n.combiningChar=/[\u0300-\u0345\u0360\u0361\u0483-\u0486\u0591-\u05A1\u05A3-\u05B9\u05BB-\u05BD\u05BF\u05C1\u05C2\u05C4\u064B-\u0652\u0670\u06D6-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0901-\u0903\u093C\u093E-\u094D\u0951-\u0954\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A02\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A70\u0A71\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0B01-\u0B03\u0B3C\u0B3E-\u0B43\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B82\u0B83\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C01-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C82\u0C83\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0D02\u0D03\u0D3E-\u0D43\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86-\u0F8B\u0F90-\u0F95\u0F97\u0F99-\u0FAD\u0FB1-\u0FB7\u0FB9\u20D0-\u20DC\u20E1\u302A-\u302F\u3099\u309A]/,n.digit=/[0-9\u0660-\u0669\u06F0-\u06F9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE7-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29]/,n.extender=/[\xB7\u02D0\u02D1\u0387\u0640\u0E46\u0EC6\u3005\u3031-\u3035\u309D\u309E\u30FC-\u30FE]/},{}],166:[function(e,t,n){t.exports=function(){for(var e={},t=0;t<arguments.length;t++){var n=arguments[t];for(var i in n)r.call(n,i)&&(e[i]=n[i])}return e};var r=Object.prototype.hasOwnProperty},{}],167:[function(e,t,n){"use strict";function r(e){return s(e,!0)}function i(e){var t=u.source+"(?:\\s*("+o(e)+")[ \\t\\n\\f\\r]*(?:"+c.join("|")+"))?";if(e.customAttrSurround){for(var n=[],r=e.customAttrSurround.length-1;r>=0;r--)n[r]="(?:("+e.customAttrSurround[r][0].source+")\\s*"+t+"\\s*("+e.customAttrSurround[r][1].source+"))";n.push("(?:"+t+")"),t="(?:"+n.join("|")+")"}return new RegExp("^\\s*"+t)}function o(e){return l.concat(e.customAttrAssign||[]).map(function(e){return"(?:"+e.source+")"}).join("|")}function a(e,t){function n(e){var t=e.match(p);if(t){var n={tagName:t[1],attrs:[]};e=e.slice(t[0].length);for(var r,i;!(r=e.match(h))&&(i=e.match(c));)e=e.slice(i[0].length),n.attrs.push(i);if(r)return n.unarySlash=r[1],n.rest=e.slice(r[0].length),n}}function r(e,n){var r;if(n){var i=n.toLowerCase();for(r=l.length-1;r>=0&&l[r].tag.toLowerCase()!==i;r--);}else r=0;if(r>=0){for(var a=l.length-1;a>=r;a--)t.end&&t.end(l[a].tag,l[a].attrs,a>r||!e);l.length=r,o=r&&l[r-1].tag}else"br"===n.toLowerCase()?t.start&&t.start(n,[],!0,""):"p"===n.toLowerCase()&&(t.start&&t.start(n,[],!1,"",!0),t.end&&t.end(n,[]))}for(var o,a,s,u,l=[],c=i(t);e;){if(a=e,o&&w(o)){var f=o.toLowerCase(),x=E[f]||(E[f]=new RegExp("([\\s\\S]*?)</"+f+"[^>]*>","i"));e=e.replace(x,function(e,n){return"script"!==f&&"style"!==f&&"noscript"!==f&&(n=n.replace(/<!--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),t.chars&&t.chars(n),""}),r("</"+f+">",f)}else{var C=e.indexOf("<");if(0===C){if(/^<!--/.test(e)){var k=e.indexOf("--\x3e");if(k>=0){t.comment&&t.comment(e.substring(4,k)),e=e.substring(k+3),s="";continue}}if(/^<!\[/.test(e)){var O=e.indexOf("]>");if(O>=0){t.comment&&t.comment(e.substring(2,O+1),!0),e=e.substring(O+2),s="";continue}}var S=e.match(m);if(S){t.doctype&&t.doctype(S[0]),e=e.substring(S[0].length),s="";continue}var D=e.match(d);if(D){e=e.substring(D[0].length),D[0].replace(d,r),s="/"+D[1].toLowerCase();continue}var B=n(e);if(B){e=B.rest,function(e){var n=e.tagName,i=e.unarySlash;if(t.html5&&"p"===o&&A(n)&&r("",o),!t.html5)for(;o&&b(o);)r("",o);y(n)&&o===n&&r("",n);var a=v(n)||"html"===n&&"head"===o||!!i,s=e.attrs.map(function(e){function n(t){return s=e[t],void 0!==(i=e[t+1])?'"':void 0!==(i=e[t+2])?"'":(void 0===(i=e[t+3])&&_(r)&&(i=r),"")}var r,i,o,a,s,u;g&&-1===e[0].indexOf('""')&&(""===e[3]&&delete e[3],""===e[4]&&delete e[4],""===e[5]&&delete e[5]);var l=1;if(t.customAttrSurround)for(var c=0,f=t.customAttrSurround.length;c<f;c++,l+=7)if(r=e[l+1]){u=n(l+2),o=e[l],a=e[l+6];break}return!r&&(r=e[l])&&(u=n(l+1)),{name:r,value:i,customAssign:s||"=",customOpen:o||"",customClose:a||"",quote:u||""}});a||(l.push({tag:n,attrs:s}),o=n,i=""),t.start&&t.start(n,s,a,i)}(B),s=B.tagName.toLowerCase();continue}}var T;C>=0?(T=e.substring(0,C),e=e.substring(C)):(T=e,e="");var R=n(e);u=R?R.tagName:(R=e.match(d))?"/"+R[1]:"",t.chars&&t.chars(T,s,u),s=""}if(e===a)throw new Error("Parse Error: "+e)}t.partialMarkup||r()}var s=e("./utils").createMapFromString,u=/([^\s"'<>/=]+)/,l=[/=/],c=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^ \t\n\f\r"'`=<>]+)/.source],f=function(){var t=e("ncname").source.slice(1,-1);return"((?:"+t+"\\:)?"+t+")"}(),p=new RegExp("^<"+f),h=/^\s*(\/?)>/,d=new RegExp("^<\\/"+f+"[^>]*>"),m=/^<!DOCTYPE [^>]+>/i,g=!1;"x".replace(/x(.)?/g,function(e,t){g=""===t});var v=r("area,base,basefont,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),b=r("a,abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,noscript,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,svg,textarea,tt,u,var"),y=r("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),_=r("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),w=r("script,style"),A=r("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),E={};n.HTMLParser=a,n.HTMLtoXML=function(e){var t="";return new a(e,{start:function(e,n,r){t+="<"+e;for(var i=0,o=n.length;i<o;i++)t+=" "+n[i].name+'="'+(n[i].value||"").replace(/"/g,"&#34;")+'"';t+=(r?"/":"")+">"},end:function(e){t+="</"+e+">"},chars:function(e){t+=e},comment:function(e){t+="\x3c!--"+e+"--\x3e"},ignore:function(e){t+=e}}),t},n.HTMLtoDOM=function(e,t){var n={html:!0,head:!0,body:!0,title:!0},r={link:"head",base:"head"};t?t=t.ownerDocument||t.getOwnerDocument&&t.getOwnerDocument()||t:"undefined"!=typeof DOMDocument?t=new DOMDocument:"undefined"!=typeof document&&document.implementation&&document.implementation.createDocument?t=document.implementation.createDocument("","",null):"undefined"!=typeof ActiveX&&(t=new ActiveXObject("Msxml.DOMDocument"));var i=[];if(!(t.documentElement||t.getDocumentElement&&t.getDocumentElement())&&t.createElement&&function(){var e=t.createElement("html"),n=t.createElement("head");n.appendChild(t.createElement("title")),e.appendChild(n),e.appendChild(t.createElement("body")),t.appendChild(e)}(),t.getElementsByTagName)for(var o in n)n[o]=t.getElementsByTagName(o)[0];var s=n.body;return new a(e,{start:function(e,o,a){if(n[e])s=n[e];else{var u=t.createElement(e);for(var l in o)u.setAttribute(o[l].name,o[l].value);r[e]&&"boolean"!=typeof n[r[e]]?n[r[e]].appendChild(u):s&&s.appendChild&&s.appendChild(u),a||(i.push(u),s=u)}},end:function(){i.length-=1,s=i[i.length-1]},chars:function(e){s.appendChild(t.createTextNode(e))},comment:function(){},ignore:function(){}}),t}},{"./utils":169,ncname:109}],168:[function(e,t,n){"use strict";function r(){}function i(){}r.prototype.sort=function(e,t){t=t||0;for(var n=0,r=this.keys.length;n<r;n++){var i=this.keys[n],o=i.slice(1),a=e.indexOf(o,t);if(-1!==a){do{a!==t&&(e.splice(a,1),e.splice(t,0,o)),t++}while(-1!==(a=e.indexOf(o,t)));return this[i].sort(e,t)}}return e},i.prototype={add:function(e){var t=this;e.forEach(function(n){var r="$"+n;t[r]||(t[r]=[],t[r].processed=0),t[r].push(e)})},createSorter:function(){var e=this,t=new r;return t.keys=Object.keys(e).sort(function(t,n){var r=e[t].length,i=e[n].length;return r<i?1:r>i?-1:t<n?-1:t>n?1:0}).filter(function(n){if(e[n].processed<e[n].length){var r=n.slice(1),o=new i;return e[n].forEach(function(t){for(var n;-1!==(n=t.indexOf(r));)t.splice(n,1);t.forEach(function(t){e["$"+t].processed++}),o.add(t.slice(0))}),t[n]=o.createSorter(),!0}return!1}),t}},t.exports=i},{}],169:[function(e,t,n){"use strict";function r(e,t){var n={};return e.forEach(function(e){n[e]=1}),t?function(e){return 1===n[e.toLowerCase()]}:function(e){return 1===n[e]}}n.createMap=r,n.createMapFromString=function(e,t){return r(e.split(/,/),t)}},{}],"html-minifier":[function(e,t,n){"use strict";function r(e){return e&&e.replace(/\s+/g,function(e){return"\t"===e?"\t":e.replace(/(^|\xA0+)[^\xA0]+/g,"$1 ")})}function i(e,t,n,i,o){var a="",s="";return t.preserveLineBreaks&&(e=e.replace(/^\s*?[\n\r]\s*/,function(){return a="\n",""}).replace(/\s*?[\n\r]\s*$/,function(){return s="\n",""})),n&&(e=e.replace(/^\s+/,function(e){var n=!a&&t.conservativeCollapse;return n&&"\t"===e?"\t":e.replace(/^[^\xA0]+/,"").replace(/(\xA0+)[^\xA0]+/g,"$1 ")||(n?" ":"")})),i&&(e=e.replace(/\s+$/,function(e){var n=!s&&t.conservativeCollapse;return n&&"\t"===e?"\t":e.replace(/[^\xA0]+(\xA0+)/g," $1").replace(/[^\xA0]+$/,"")||(n?" ":"")})),o&&(e=r(e)),a+e+s}function o(e,t,n,r){var o=t&&!re(t);o&&!r.collapseInlineTagWhitespace&&(o="/"===t.charAt(0)?!te(t.slice(1)):!ne(t));var a=n&&!re(n);return a&&!r.collapseInlineTagWhitespace&&(a="/"===n.charAt(0)?!ne(n.slice(1)):!te(n)),i(e,r,o,a,t&&n)}function a(e){return/^\[if\s[^\]]+]|\[endif]$/.test(e)}function s(e,t){for(var n=0,r=t.ignoreCustomComments.length;n<r;n++)if(t.ignoreCustomComments[n].test(e))return!0;return!1}function u(e,t){var n=t.customEventAttributes;if(n){for(var r=n.length;r--;)if(n[r].test(e))return!0;return!1}return/^on[a-z]{3,}$/.test(e)}function l(e){return/^[^ \t\n\f\r"'`=<>]+$/.test(e)}function c(e,t){for(var n=e.length;n--;)if(e[n].name.toLowerCase()===t)return!0;return!1}function f(e,t,n,r){return n=n?X(n.toLowerCase()):"","script"===e&&"language"===t&&"javascript"===n||"form"===e&&"method"===t&&"get"===n||"input"===e&&"type"===t&&"text"===n||"script"===e&&"charset"===t&&!c(r,"src")||"a"===e&&"name"===t&&c(r,"id")||"area"===e&&"shape"===t&&"rect"===n}function p(e){return""===(e=X(e.split(/;/,2)[0]).toLowerCase())||ie(e)}function h(e,t){if("script"!==e)return!1;for(var n=0,r=t.length;n<r;n++)if("type"===t[n].name.toLowerCase())return p(t[n].value);return!0}function d(e){return""===(e=X(e).toLowerCase())||"text/css"===e}function m(e,t){if("style"!==e)return!1;for(var n=0,r=t.length;n<r;n++)if("type"===t[n].name.toLowerCase())return d(t[n].value);return!0}function g(e,t){return oe(e)||"draggable"===e&&!ae(t)}function v(e,t){return/^(?:a|area|link|base)$/.test(t)&&"href"===e||"img"===t&&/^(?:src|longdesc|usemap)$/.test(e)||"object"===t&&/^(?:classid|codebase|data|usemap)$/.test(e)||"q"===t&&"cite"===e||"blockquote"===t&&"cite"===e||("ins"===t||"del"===t)&&"cite"===e||"form"===t&&"action"===e||"input"===t&&("src"===e||"usemap"===e)||"head"===t&&"profile"===e||"script"===t&&("src"===e||"for"===e)}function b(e,t){return/^(?:a|area|object|button)$/.test(t)&&"tabindex"===e||"input"===t&&("maxlength"===e||"tabindex"===e)||"select"===t&&("size"===e||"tabindex"===e)||"textarea"===t&&/^(?:rows|cols|tabindex)$/.test(e)||"colgroup"===t&&"span"===e||"col"===t&&"span"===e||("th"===t||"td"===t)&&("rowspan"===e||"colspan"===e)}function y(e,t,n){if("link"!==e)return!1;for(var r=0,i=t.length;r<i;r++)if("rel"===t[r].name&&t[r].value===n)return!0}function _(e,t,n){return"media"===n&&(y(e,t,"stylesheet")||m(e,t))}function w(e,t){return"srcset"===e&&se(t)}function A(e,t,n,i,o){if(n&&u(t,i))return n=X(n).replace(/^javascript:\s*/i,""),i.minifyJS(n,!0);if("class"===t)return n=X(n),n=i.sortClassName?i.sortClassName(n):r(n);if(v(t,e))return n=X(n),y(e,o,"canonical")?n:i.minifyURLs(n);if(b(t,e))return X(n);if("style"===t)return(n=X(n))&&(/;$/.test(n)&&!/&#?[0-9a-zA-Z]+;$/.test(n)&&(n=n.replace(/\s*;$/,"")),n=C(i.minifyCSS(x(n)))),n;if(w(t,e))n=X(n).split(/\s+,\s*|\s*,\s+/).map(function(e){var t=e,n="",r=e.match(/\s+([1-9][0-9]*w|[0-9]+(?:\.[0-9]+)?x)$/);if(r){t=t.slice(0,-r[0].length);var o=+r[1].slice(0,-1),a=r[1].slice(-1);1===o&&"x"===a||(n=" "+o+a)}return i.minifyURLs(t)+n}).join(", ");else if(E(e,o)&&"content"===t)n=n.replace(/\s+/g,"").replace(/[0-9]+\.[0-9]+/g,function(e){return(+e).toString()});else if(n&&i.customAttrCollapse&&i.customAttrCollapse.test(t))n=n.replace(/\n+|\r+|\s{2,}/g,"");else if("script"===e&&"type"===t)n=X(n.replace(/\s*;\s*/g,";"));else if(_(e,o,t))return n=X(n),O(i.minifyCSS(k(n)));return n}function E(e,t){if("meta"!==e)return!1;for(var n=0,r=t.length;n<r;n++)if("name"===t[n].name&&"viewport"===t[n].value)return!0}function x(e){return"*{"+e+"}"}function C(e){var t=e.match(/^\*\{([\s\S]*)\}$/);return t?t[1]:e}function k(e){return"@media "+e+"{a{top:0}}"}function O(e){var t=e.match(/^@media ([\s\S]*?)\s*{[\s\S]*}$/);return t?t[1]:e}function S(e,t){return t.processConditionalComments?e.replace(/^(\[if\s[^\]]+]>)([\s\S]*?)(<!\[endif])$/,function(e,n,r,i){return n+$(r,t,!0)+i}):e}function D(e,t,n){for(var r=0,i=n.length;r<i;r++)if("type"===n[r].name.toLowerCase()&&t.processScripts.indexOf(n[r].value)>-1)return $(e,t);return e}function B(e,t){switch(e){case"html":case"head":return!0;case"body":return!ce(t);case"colgroup":return"col"===t;case"tbody":return"tr"===t}return!1}function T(e,t){switch(t){case"colgroup":return"colgroup"===e;case"tbody":return be(e)}return!1}function R(e,t){switch(e){case"html":case"head":case"body":case"colgroup":case"caption":return!0;case"li":case"optgroup":case"tr":return t===e;case"dt":case"dd":return fe(t);case"p":return pe(t);case"rb":case"rt":case"rp":return de(t);case"rtc":return me(t);case"option":return ge(t);case"thead":case"tbody":return ve(t);case"tfoot":return"tbody"===t;case"td":case"th":return ye(t)}return!1}function F(e,t,n,r){return!(n&&!/^\s*$/.test(n))&&("function"==typeof r.removeEmptyAttributes?r.removeEmptyAttributes(t,e):"input"===e&&"value"===t||Ce.test(t))}function L(e,t){for(var n=t.length-1;n>=0;n--)if(t[n].name===e)return!0;return!1}function M(e,t){switch(e){case"textarea":return!1;case"audio":case"script":case"video":if(L("src",t))return!1;break;case"iframe":if(L("src",t)||L("srcdoc",t))return!1;break;case"object":if(L("data",t))return!1;break;case"applet":if(L("code",t))return!1}return!0}function P(e){return!/^(?:script|style|pre|textarea)$/.test(e)}function U(e){return!/^(?:pre|textarea)$/.test(e)}function N(e,t,n,r){var i=r.caseSensitive?e.name:e.name.toLowerCase(),o=e.value;if(r.decodeEntities&&o&&(o=Y(o,{isAttributeValue:!0})),!(r.removeRedundantAttributes&&f(n,i,o,t)||r.removeScriptTypeAttributes&&"script"===n&&"type"===i&&p(o)||r.removeStyleLinkTypeAttributes&&("style"===n||"link"===n)&&"type"===i&&d(o)||(o=A(n,i,o,r,t),r.removeEmptyAttributes&&F(n,i,o,r))))return r.decodeEntities&&o&&(o=o.replace(/&(#?[0-9a-zA-Z]+;)/g,"&amp;$1")),{attr:e,name:i,value:o}}function q(e,t,n,r,i){var o,a,s=e.name,u=e.value,c=e.attr,f=c.quote;return void 0===u||n.removeAttributeQuotes&&!~u.indexOf(i)&&l(u)?a=!r||t||/\/$/.test(u)?u+" ":u:(n.preventAttributesEscaping||(u='"'===(f=void 0===n.quoteCharacter?(u.match(/'/g)||[]).length<(u.match(/"/g)||[]).length?"'":'"':"'"===n.quoteCharacter?"'":'"')?u.replace(/"/g,"&#34;"):u.replace(/'/g,"&#39;")),a=f+u+f,r||n.removeTagWhitespace||(a+=" ")),void 0===u||n.collapseBooleanAttributes&&g(s.toLowerCase(),u.toLowerCase())?(o=s,r||(o+=" ")):o=s+c.customAssign+a,c.customOpen+o+c.customClose}function z(e){return e}function I(e){if(["html5","includeAutoGeneratedTags"].forEach(function(t){t in e||(e[t]=!0)}),"function"!=typeof e.log&&(e.log=z),e.canCollapseWhitespace||(e.canCollapseWhitespace=P),e.canTrimWhitespace||(e.canTrimWhitespace=U),"ignoreCustomComments"in e||(e.ignoreCustomComments=[/^!/]),"ignoreCustomFragments"in e||(e.ignoreCustomFragments=[/<%[\s\S]*?%>/,/<\?[\s\S]*?\?>/]),e.minifyURLs||(e.minifyURLs=z),"function"!=typeof e.minifyURLs){var t=e.minifyURLs;"string"==typeof t?t={site:t}:"object"!=typeof t&&(t={}),e.minifyURLs=function(n){try{return W.relate(n,t)}catch(t){return e.log(t),n}}}if(e.minifyJS||(e.minifyJS=z),"function"!=typeof e.minifyJS){var n=e.minifyJS;"object"!=typeof n&&(n={}),(n.parse||(n.parse={})).bare_returns=!1,e.minifyJS=function(t,r){var i=t.match(/^\s*<!--.*/),o=i?t.slice(i[0].length).replace(/\n\s*-->\s*$/,""):t;n.parse.bare_returns=r;var a=Z.minify(o,n);return a.error?(e.log(a.error),t):a.code.replace(/;$/,"")}}if(e.minifyCSS||(e.minifyCSS=z),"function"!=typeof e.minifyCSS){var r=e.minifyCSS;"object"!=typeof r&&(r={}),e.minifyCSS=function(t){t=t.replace(/(url\s*\(\s*)("|'|)(.*?)\2(\s*\))/gi,function(t,n,r,i,o){return n+r+e.minifyURLs(i)+r+o});try{return new K(r).minify(t).styles}catch(n){return e.log(n),t}}}}function j(e){var t;do{t=Math.random().toString(36).replace(/^0\.[0-9]*/,"")}while(~e.indexOf(t));return t}function V(e,t,n,r){function i(e){return e.map(function(e){return t.caseSensitive?e.name:e.name.toLowerCase()})}function o(e,t){return!t||-1===e.indexOf(t)}function a(e){return o(e,n)&&o(e,r)}function s(e){var n,r;new G(e,{start:function(e,o){u&&(u[e]||(u[e]=new Q),u[e].add(i(o).filter(a)));for(var s=0,c=o.length;s<c;s++){var f=o[s];l&&"class"===(t.caseSensitive?f.name:f.name.toLowerCase())?l.add(X(f.value).split(/[ \t\n\f\r]+/).filter(a)):t.processScripts&&"type"===f.name.toLowerCase()&&(n=e,r=f.value)}},end:function(){n=""},chars:function(e){t.processScripts&&ke(n)&&t.processScripts.indexOf(r)>-1&&s(e)}})}var u=t.sortAttributes&&Object.create(null),l=t.sortClassName&&new Q,c=t.log;if(t.log=null,t.sortAttributes=!1,t.sortClassName=!1,s($(e,t)),t.log=c,u){var f=Object.create(null);for(var p in u)f[p]=u[p].createSorter();t.sortAttributes=function(e,t){var n=f[e];if(n){var r=Object.create(null),o=i(t);o.forEach(function(e,n){(r[e]||(r[e]=[])).push(t[n])}),n.sort(o).forEach(function(e,n){t[n]=r[e].shift()})}}}if(l){var h=l.createSorter();t.sortClassName=function(e){return h.sort(e.split(/[ \n\f\r]+/)).join(" ")}}}function $(e,t,n){function u(e){return e.replace(A,function(e,t,n){var r=W[+n];return r[1]+w+n+r[2]})}function l(e,n){return t.canCollapseWhitespace(e,n,P)}function c(e,n){return t.canTrimWhitespace(e,n,U)}function f(){for(var e=E.length-1;e>0&&!/^<[^/!]/.test(E[e]);)e--;E.length=Math.max(0,e)}function p(){for(var e=E.length-1;e>0&&!/^<\//.test(E[e]);)e--;E.length=Math.max(0,e)}function d(e,n){for(var r=null;e>=0&&c(r);e--){var i=E[e],a=i.match(/^<\/([\w:-]+)>$/);if(a)r=a[1];else if(/>$/.test(i)||(E[e]=o(i,null,n,t)))break}}function g(e){var t=E.length-1;if(E.length>1){var n=E[E.length-1];/^(?:<!|$)/.test(n)&&-1===n.indexOf(_)&&t--}d(t,e)}var v=[];I(t=t||{}),t.collapseWhitespace&&(e=i(e,t,!0,!0));var b,y,_,w,A,E=[],x="",C="",k=[],O=[],F=[],L="",z="",$=Date.now(),K=[],W=[];e=e.replace(/<!-- htmlmin:ignore -->([\s\S]*?)<!-- htmlmin:ignore -->/g,function(n,r){if(!_){_=j(e);var i=new RegExp("^"+_+"([0-9]+)$");t.ignoreCustomComments?t.ignoreCustomComments.push(i):t.ignoreCustomComments=[i]}var o="\x3c!--"+_+K.length+"--\x3e";return K.push(r),o});var Q=t.ignoreCustomFragments.map(function(e){return e.source});if(Q.length){var Z=new RegExp("\\s*(?:"+Q.join("|")+")+\\s*","g");e=e.replace(Z,function(n){if(!w){w=j(e),A=new RegExp("(\\s*)"+w+"([0-9]+)(\\s*)","g");var r=t.minifyCSS;r&&(t.minifyCSS=function(e){return r(u(e))});var i=t.minifyJS;i&&(t.minifyJS=function(e,t){return i(u(e),t)})}var o=w+W.length;return W.push(/^(\s*)[\s\S]*?(\s*)$/.exec(n)),"\t"+o+"\t"})}(t.sortAttributes&&"function"!=typeof t.sortAttributes||t.sortClassName&&"function"!=typeof t.sortClassName)&&V(e,t,_,w),new G(e,{partialMarkup:n,html5:t.html5,start:function(e,n,r,i,o){var a=e.toLowerCase();if("svg"===a){v.push(t);var s={};for(var u in t)s[u]=t[u];s.keepClosingSlash=!0,s.caseSensitive=!0,t=s}e=t.caseSensitive?e:a,C=e,b=e,ne(e)||(x=""),y=!1,k=n;var h=t.removeOptionalTags;if(h){var d=xe(e);d&&B(L,e)&&f(),L="",d&&R(z,e)&&(p(),h=!T(z,e)),z=""}t.collapseWhitespace&&(O.length||g(e),c(e,n)&&!O.length||O.push(e),l(e,n)&&!F.length||F.push(e));var m="<"+e,_=i&&t.keepClosingSlash;E.push(m),t.sortAttributes&&t.sortAttributes(e,n);for(var A=[],S=n.length,D=!0;--S>=0;){var M=N(n[S],n,e,t);M&&(A.unshift(q(M,_,t,D,w)),D=!1)}A.length>0?(E.push(" "),E.push.apply(E,A)):h&&ue(e)&&(L=e),E.push(E.pop()+(_?"/":"")+">"),o&&!t.includeAutoGeneratedTags&&(f(),L="")},end:function(e,n,r){var i=e.toLowerCase();"svg"===i&&(t=v.pop()),e=t.caseSensitive?e:i,t.collapseWhitespace&&(O.length?e===O[O.length-1]&&O.pop():g("/"+e),F.length&&e===F[F.length-1]&&F.pop());var o=!1;e===C&&(C="",o=!y),t.removeOptionalTags&&(o&&_e(L)&&f(),L="",!xe(e)||!z||Ee(z)||"p"===z&&he(e)||p(),z=le(e)?e:""),t.removeEmptyElements&&o&&M(e,n)?(f(),L="",z=""):(r&&!t.includeAutoGeneratedTags?z="":E.push("</"+e+">"),b="/"+e,te(e)?o&&(x+="|"):x="")},chars:function(e,n,r){if(n=""===n?"comment":n,r=""===r?"comment":r,t.decodeEntities&&e&&!ke(C)&&(e=Y(e)),t.collapseWhitespace){if(!O.length){if("comment"===n){var a=E[E.length-1];if(-1===a.indexOf(_)&&(a||(n=b),E.length>1&&(!a||!t.conservativeCollapse&&/ $/.test(x)))){var s=E.length-2;E[s]=E[s].replace(/\s+$/,function(t){return e=t+e,""})}}if(n)if("/nobr"===n||"wbr"===n){if(/^\s/.test(e)){for(var u=E.length-1;u>0&&0!==E[u].lastIndexOf("<"+n);)u--;d(u-1,"br")}}else ne("/"===n.charAt(0)?n.slice(1):n)&&(e=i(e,t,/(?:^|\s)$/.test(x)));!(e=n||r?o(e,n,r,t):i(e,t,!0,!0))&&/\s$/.test(x)&&n&&"/"===n.charAt(0)&&d(E.length-1,r)}F.length||"html"===r||n&&r||(e=i(e,t,!1,!1,!0))}t.processScripts&&ke(C)&&(e=D(e,t,k)),h(C,k)&&(e=t.minifyJS(e)),m(C,k)&&(e=t.minifyCSS(e)),t.removeOptionalTags&&e&&(("html"===L||"body"===L&&!/^\s/.test(e))&&f(),L="",(we(z)||Ae(z)&&!/^\s/.test(e))&&p(),z=""),b=/^\s*$/.test(e)?n:"comment",t.decodeEntities&&e&&!ke(C)&&(e=e.replace(/&(#?[0-9a-zA-Z]+;)/g,"&amp$1").replace(/</g,"&lt;")),x+=e,e&&(y=!0),E.push(e)},comment:function(e,n){var r=n?"<!":"\x3c!--",i=n?">":"--\x3e";e=a(e)?r+S(e,t)+i:t.removeComments?s(e,t)?"\x3c!--"+e+"--\x3e":"":r+e+i,t.removeOptionalTags&&e&&(L="",z=""),E.push(e)},doctype:function(e){E.push(t.useShortDoctype?"<!DOCTYPE html>":r(e))},customAttrAssign:t.customAttrAssign,customAttrSurround:t.customAttrSurround}),t.removeOptionalTags&&(_e(L)&&f(),z&&!Ee(z)&&p()),t.collapseWhitespace&&g("br");var J=H(E,t);return A&&(J=J.replace(A,function(e,n,r,o){var a=W[+r][0];return t.collapseWhitespace?("\t"!==n&&(a=n+a),"\t"!==o&&(a+=o),i(a,{preserveLineBreaks:t.preserveLineBreaks,conservativeCollapse:!t.trimCustomFragments},/^\s/.test(a),/\s$/.test(a))):a})),_&&(J=J.replace(new RegExp("\x3c!--"+_+"([0-9]+)--\x3e","g"),function(e,t){return K[+t]})),t.log("minified in: "+(Date.now()-$)+"ms"),J}function H(e,t){var n,r=t.maxLineLength;if(r){for(var o,a=[],s="",u=0,l=e.length;u<l;u++)o=e[u],s.length+o.length<r?s+=o:(a.push(s.replace(/^\n/,"")),s=o);a.push(s),n=a.join("\n")}else n=e.join("");return t.collapseWhitespace?i(n,t,!0,!0):n}var K=e("clean-css"),Y=e("he").decode,G=e("./htmlparser").HTMLParser,W=e("relateurl"),Q=e("./tokenchain"),Z=e("uglify-js"),J=e("./utils"),X=String.prototype.trim?function(e){return"string"!=typeof e?e:e.trim()}:function(e){return"string"!=typeof e?e:e.replace(/^\s+/,"").replace(/\s+$/,"")},ee=J.createMapFromString,te=ee("a,abbr,acronym,b,bdi,bdo,big,button,cite,code,del,dfn,em,font,i,ins,kbd,mark,math,nobr,q,rt,rp,s,samp,small,span,strike,strong,sub,sup,svg,time,tt,u,var"),ne=ee("a,abbr,acronym,b,big,del,em,font,i,ins,kbd,mark,nobr,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var"),re=ee("comment,img,input,wbr"),ie=J.createMap(["text/javascript","text/ecmascript","text/jscript","application/javascript","application/x-javascript","application/ecmascript"]),oe=ee("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),ae=ee("true,false"),se=ee("img,source"),ue=ee("html,head,body,colgroup,tbody"),le=ee("html,head,body,li,dt,dd,p,rb,rt,rtc,rp,optgroup,option,colgroup,caption,thead,tbody,tfoot,tr,td,th"),ce=ee("meta,link,script,style,template,noscript"),fe=ee("dt,dd"),pe=ee("address,article,aside,blockquote,details,div,dl,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,main,menu,nav,ol,p,pre,section,table,ul"),he=ee("a,audio,del,ins,map,noscript,video"),de=ee("rb,rt,rtc,rp"),me=ee("rb,rtc,rp"),ge=ee("option,optgroup"),ve=ee("tbody,tfoot"),be=ee("thead,tbody,tfoot"),ye=ee("td,th"),_e=ee("html,head,body"),we=ee("html,body"),Ae=ee("head,colgroup,caption"),Ee=ee("dt,thead"),xe=ee("a,abbr,acronym,address,applet,area,article,aside,audio,b,base,basefont,bdi,bdo,bgsound,big,blink,blockquote,body,br,button,canvas,caption,center,cite,code,col,colgroup,command,content,data,datalist,dd,del,details,dfn,dialog,dir,div,dl,dt,element,em,embed,fieldset,figcaption,figure,font,footer,form,frame,frameset,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,i,iframe,image,img,input,ins,isindex,kbd,keygen,label,legend,li,link,listing,main,map,mark,marquee,menu,menuitem,meta,meter,multicol,nav,nobr,noembed,noframes,noscript,object,ol,optgroup,option,output,p,param,picture,plaintext,pre,progress,q,rp,rt,rtc,ruby,s,samp,script,section,select,shadow,small,source,spacer,span,strike,strong,style,sub,summary,sup,table,tbody,td,template,textarea,tfoot,th,thead,time,title,tr,track,tt,u,ul,var,video,wbr,xmp"),Ce=new RegExp("^(?:class|id|style|title|lang|dir|on(?:focus|blur|change|click|dblclick|mouse(?:down|up|over|move|out)|key(?:press|down|up)))$"),ke=ee("script,style");n.minify=function(e,t){return $(e,t)}},{"./htmlparser":167,"./tokenchain":168,"./utils":169,"clean-css":6,he:103,relateurl:130,"uglify-js":"uglify-js"}],"uglify-js":[function(e,t,n){(function(e){!function(t){"use strict";function n(e){return e.split("")}function r(e,t){return t.indexOf(e)>=0}function i(e,t){for(var n=0,r=t.length;n<r;++n)if(e(t[n]))return t[n]}function o(e,t){if(t<=0)return"";if(1==t)return e;var n=o(e,t>>1);return n+=n,1&t&&(n+=e),n}function a(e){Object.defineProperty(e.prototype,"stack",{get:function(){var e=new Error(this.message);e.name=this.name;try{throw e}catch(e){return e.stack}}})}function s(e,t){this.message=e,this.defs=t}function u(e,t,n){!0===e&&(e={});var r=e||{};if(n)for(var i in r)A(r,i)&&!A(t,i)&&s.croak("`"+i+"` is not a supported option",t);for(var i in t)A(t,i)&&(r[i]=e&&A(e,i)?e[i]:t[i]);return r}function l(e,t){var n=0;for(var r in t)A(t,r)&&(e[r]=t[r],n++);return n}function c(){}function f(){return!1}function p(){return!0}function h(){return this}function d(){return null}function m(e,t){e.indexOf(t)<0&&e.push(t)}function g(e,t){return e.replace(/\{(.+?)\}/g,function(e,n){return t&&t[n]})}function v(e,t){for(var n=e.length;--n>=0;)e[n]===t&&e.splice(n,1)}function b(e,t){function n(e,n){for(var r=[],i=0,o=0,a=0;i<e.length&&o<n.length;)t(e[i],n[o])<=0?r[a++]=e[i++]:r[a++]=n[o++];return i<e.length&&r.push.apply(r,e.slice(i)),o<n.length&&r.push.apply(r,n.slice(o)),r}function r(e){if(e.length<=1)return e;var t=Math.floor(e.length/2),i=e.slice(0,t),o=e.slice(t);return i=r(i),o=r(o),n(i,o)}return e.length<2?e.slice():r(e)}function y(e){function t(e){return JSON.stringify(e).replace(/[\u2028\u2029]/g,function(e){switch(e){case"\u2028":return"\\u2028";case"\u2029":return"\\u2029"}return e})}function n(e){if(1==e.length)return r+="return str === "+t(e[0])+";";r+="switch(str){";for(var n=0;n<e.length;++n)r+="case "+t(e[n])+":";r+="return true}return false;"}e instanceof Array||(e=e.split(" "));var r="",i=[];e:for(a=0;a<e.length;++a){for(var o=0;o<i.length;++o)if(i[o][0].length==e[a].length){i[o].push(e[a]);continue e}i.push([e[a]])}if(i.length>3){i.sort(function(e,t){return t.length-e.length}),r+="switch(str.length){";for(var a=0;a<i.length;++a){var s=i[a];r+="case "+s[0].length+":",n(s)}r+="}"}else n(e);return new Function("str",r)}function _(e,t){for(var n=e.length;--n>=0;)if(!t(e[n]))return!1;return!0}function w(){this._values=Object.create(null),this._size=0}function A(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function E(e){for(var t,n=e.parent(-1),r=0;t=e.parent(r);r++){if(t instanceof ie&&t.body===n)return!0;if(!(t instanceof Ke&&t.expressions[0]===n||t instanceof $e&&t.expression===n&&!(t instanceof He)||t instanceof Ge&&t.expression===n||t instanceof We&&t.expression===n||t instanceof et&&t.condition===n||t instanceof Xe&&t.left===n||t instanceof Je&&t.expression===n))return!1;n=t}}function x(e,n,r,i){arguments.length<4&&(i=re);var o=n=n?n.split(/\s+/):[];i&&i.PROPS&&(n=n.concat(i.PROPS));for(var a="return function AST_"+e+"(props){ if (props) { ",s=n.length;--s>=0;)a+="this."+n[s]+" = props."+n[s]+";";var u=i&&new i;(u&&u.initialize||r&&r.initialize)&&(a+="this.initialize();"),a+="}}";var l=new Function(a)();if(u&&(l.prototype=u,l.BASE=i),i&&i.SUBCLASSES.push(l),l.prototype.CTOR=l,l.PROPS=n||null,l.SELF_PROPS=o,l.SUBCLASSES=[],e&&(l.prototype.TYPE=l.TYPE=e),r)for(s in r)A(r,s)&&(/^\$/.test(s)?l[s.substr(1)]=r[s]:l.prototype[s]=r[s]);return l.DEFMETHOD=function(e,t){this.prototype[e]=t},void 0!==t&&(t["AST_"+e]=l),l}function C(e,t){var n=e.body;if(n instanceof ie)n._walk(t);else for(var r=0,i=n.length;r<i;r++)n[r]._walk(t)}function k(e){this.visit=e,this.stack=[],this.directives=Object.create(null)}function O(e){return e>=97&&e<=122||e>=65&&e<=90||e>=170&&Ht.letter.test(String.fromCharCode(e))}function S(e){return e>=48&&e<=57}function D(e){return S(e)||O(e)}function B(e){return Ht.digit.test(String.fromCharCode(e))}function T(e){return Ht.non_spacing_mark.test(e)||Ht.space_combining_mark.test(e)}function R(e){return Ht.connector_punctuation.test(e)}function F(e){return!Mt(e)&&/^[a-z_$][a-z0-9_$]*$/i.test(e)}function L(e){return 36==e||95==e||O(e)}function M(e){var t=e.charCodeAt(0);return L(t)||S(t)||8204==t||8205==t||T(e)||R(e)||B(t)}function P(e){return/^[a-z_$][a-z0-9_$]*$/i.test(e)}function U(e){if(Nt.test(e))return parseInt(e.substr(2),16);if(qt.test(e))return parseInt(e.substr(1),8);var t=parseFloat(e);return t==e?t:void 0}function N(e,t,n,r,i){this.message=e,this.filename=t,this.line=n,this.col=r,this.pos=i}function q(e,t,n,r,i){throw new N(e,t,n,r,i)}function z(e,t,n){return e.type==t&&(null==n||e.value==n)}function I(e,t,n,r){function i(){return O.text.charAt(O.pos)}function o(e,t){var n=O.text.charAt(O.pos++);if(e&&!n)throw Kt;return jt(n)?(O.newline_before=O.newline_before||!t,++O.line,O.col=0,t||"\r"!=n||"\n"!=i()||(++O.pos,n="\n")):++O.col,n}function a(e){for(;e-- >0;)o()}function s(e){return O.text.substr(O.pos,e.length)==e}function u(){for(var e=O.text,t=O.pos,n=O.text.length;t<n;++t){var r=e[t];if(jt(r))return t}return-1}function l(e,t){var n=O.text.indexOf(e,O.pos);if(t&&-1==n)throw Kt;return n}function c(){O.tokline=O.line,O.tokcol=O.col,O.tokpos=O.pos}function f(n,r,i){O.regex_allowed="operator"==n&&!Gt(r)||"keyword"==n&&Pt(r)||"punc"==n&&Vt(r),"punc"==n&&"."==r?B=!0:i||(B=!1);var o={type:n,value:r,line:O.tokline,col:O.tokcol,pos:O.tokpos,endline:O.line,endcol:O.col,endpos:O.pos,nlb:O.newline_before,file:t};if(/^(?:num|string|regexp)$/i.test(n)&&(o.raw=e.substring(o.pos,o.endpos)),!i){o.comments_before=O.comments_before,O.comments_before=[];for(var a=0,s=o.comments_before.length;a<s;a++)o.nlb=o.nlb||o.comments_before[a].nlb}return O.newline_before=!1,new ne(o)}function p(){for(;It(i());)o()}function h(e){for(var t,n="",r=0;(t=i())&&e(t,r++);)n+=o();return n}function d(e){q(e,t,O.tokline,O.tokcol,O.tokpos)}function m(e){var t=!1,n=!1,r=!1,i="."==e,o=h(function(o,a){var s=o.charCodeAt(0);switch(s){case 120:case 88:return!r&&(r=!0);case 101:case 69:return!!r||!t&&(t=n=!0);case 45:return n||0==a&&!e;case 43:return n;case n=!1,46:return!(i||r||t)&&(i=!0)}return D(s)});e&&(o=e+o),qt.test(o)&&k.has_directive("use strict")&&d("Legacy octal literals are not allowed in strict mode");var a=U(o);if(!isNaN(a))return f("num",a);d("Invalid syntax: "+o)}function g(e){var t=o(!0,e);switch(t.charCodeAt(0)){case 110:return"\n";case 114:return"\r";case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 120:return String.fromCharCode(b(2));case 117:return String.fromCharCode(b(4));case 10:return"";case 13:if("\n"==i())return o(!0,e),""}return t>="0"&&t<="7"?v(t):t}function v(e){var t=i();return t>="0"&&t<="7"&&(e+=o(!0))[0]<="3"&&(t=i())>="0"&&t<="7"&&(e+=o(!0)),"0"===e?"\0":(e.length>0&&k.has_directive("use strict")&&d("Legacy octal escape sequences are not allowed in strict mode"),String.fromCharCode(parseInt(e,8)))}function b(e){for(var t=0;e>0;--e){var n=parseInt(o(!0),16);isNaN(n)&&d("Invalid hex-character pattern in string"),t=t<<4|n}return t}function y(e){var t,n=O.regex_allowed,r=u();return-1==r?(t=O.text.substr(O.pos),O.pos=O.text.length):(t=O.text.substring(O.pos,r),O.pos=r),O.col=O.tokcol+(O.pos-O.tokpos),O.comments_before.push(f(e,t,!0)),O.regex_allowed=n,k}function _(){for(var e,t,n=!1,r="",a=!1;null!=(e=i());)if(n)"u"!=e&&d("Expecting UnicodeEscapeSequence -- uXXXX"),M(e=g())||d("Unicode char: "+e.charCodeAt(0)+" is not valid in identifier"),r+=e,n=!1;else if("\\"==e)a=n=!0,o();else{if(!M(e))break;r+=o()}return Ft(r)&&a&&(t=r.charCodeAt(0).toString(16).toUpperCase(),r="\\u"+"0000".substr(t.length)+t+r.slice(1)),r}function w(e){function t(e){if(!i())return e;var n=e+i();return zt(n)?(o(),t(n)):e}return f("operator",t(e||o()))}function A(){switch(o(),i()){case"/":return o(),y("comment1");case"*":return o(),R()}return O.regex_allowed?F(""):w("/")}function E(){return o(),S(i().charCodeAt(0))?m("."):f("punc",".")}function x(){var e=_();return B?f("name",e):Lt(e)?f("atom",e):Ft(e)?zt(e)?f("operator",e):f("keyword",e):f("name",e)}function C(e,t){return function(n){try{return t(n)}catch(t){if(t!==Kt)throw t;d(e)}}}function k(e){if(null!=e)return F(e);for(r&&0==O.pos&&s("#!")&&(c(),a(2),y("comment5"));;){if(p(),c(),n){if(s("\x3c!--")){a(4),y("comment3");continue}if(s("--\x3e")&&O.newline_before){a(3),y("comment4");continue}}var t=i();if(!t)return f("eof");var u=t.charCodeAt(0);switch(u){case 34:case 39:return T(t);case 46:return E();case 47:var l=A();if(l===k)continue;return l}if(S(u))return m();if($t(t))return f("punc",o());if(Ut(t))return w();if(92==u||L(u))return x();break}d("Unexpected character '"+t+"'")}var O={text:e,filename:t,pos:0,tokpos:0,line:1,tokline:0,col:0,tokcol:0,newline_before:!1,regex_allowed:!1,comments_before:[],directives:{},directive_stack:[]},B=!1,T=C("Unterminated string constant",function(e){for(var t=o(),n="";;){var r=o(!0,!0);if("\\"==r)r=g(!0);else if(jt(r))d("Unterminated string constant");else if(r==t)break;n+=r}var i=f("string",n);return i.quote=e,i}),R=C("Unterminated multiline comment",function(){var e=O.regex_allowed,t=l("*/",!0),n=O.text.substring(O.pos,t).replace(/\r\n|\r|\u2028|\u2029/g,"\n");return a(n.length+2),O.comments_before.push(f("comment2",n,!0)),O.regex_allowed=e,k}),F=C("Unterminated regular expression",function(e){for(var t,n=!1,r=!1;t=o(!0);)if(jt(t))d("Unexpected line terminator");else if(n)e+="\\"+t,n=!1;else if("["==t)r=!0,e+=t;else if("]"==t&&r)r=!1,e+=t;else{if("/"==t&&!r)break;"\\"==t?n=!0:e+=t}var i=_();try{var a=new RegExp(e,i);return a.raw_source=e,f("regexp",a)}catch(e){d(e.message)}});return k.context=function(e){return e&&(O=e),O},k.add_directive=function(e){O.directive_stack[O.directive_stack.length-1].push(e),void 0===O.directives[e]?O.directives[e]=1:O.directives[e]++},k.push_directives_stack=function(){O.directive_stack.push([])},k.pop_directives_stack=function(){for(var e=O.directive_stack[O.directive_stack.length-1],t=0;t<e.length;t++)O.directives[e[t]]--;O.directive_stack.pop()},k.has_directive=function(e){return O.directives[e]>0},k}function j(e,t){function n(e,t){return z(V.token,e,t)}function r(){return V.peeked||(V.peeked=V.input())}function o(){return V.prev=V.token,V.peeked?(V.token=V.peeked,V.peeked=null):V.token=V.input(),V.in_directives=V.in_directives&&("string"==V.token.type||n("punc",";")),V.token}function a(){return V.prev}function s(e,t,n,r){var i=V.input.context();q(e,i.filename,null!=t?t:i.tokline,null!=n?n:i.tokcol,null!=r?r:i.tokpos)}function l(e,t){s(t,e.line,e.col)}function c(e){null==e&&(e=V.token),l(e,"Unexpected token: "+e.type+" ("+e.value+")")}function f(e,t){if(n(e,t))return o();l(V.token,"Unexpected token "+V.token.type+" «"+V.token.value+"», expected "+e+" «"+t+"»")}function p(e){return f("punc",e)}function h(){return!t.strict&&(V.token.nlb||n("eof")||n("punc","}"))}function d(e){n("punc",";")?o():e||h()||c()}function m(){p("(");var e=re(!0);return p(")"),e}function g(e){return function(){var t=V.token,n=e(),r=a();return n.start=t,n.end=r,n}}function v(){(n("operator","/")||n("operator","/="))&&(V.peeked=null,V.token=V.input(V.token.value.substr(1)))}function b(){var e=M(gt);i(function(t){return t.name==e.name},V.labels)&&s("Label "+e.name+" defined twice"),p(":"),V.labels.push(e);var t=$();return V.labels.pop(),t instanceof he||e.references.forEach(function(t){t instanceof Re&&(t=t.label.start,s("Continue label `"+e.name+"` refers to non-IterationStatement.",t.line,t.col,t.pos))}),new pe({body:t,label:e})}function y(e){return new se({body:(e=re(!0),d(),e)})}function _(e){var t,n=null;h()||(n=M(bt,!0)),null!=n?((t=i(function(e){return e.name==n.name},V.labels))||s("Undefined label "+n.name),n.thedef=t):0==V.in_loop&&s(e.TYPE+" not inside a loop or switch"),d();var r=new e({label:n});return t&&t.references.push(r),r}function w(){p("(");var e=null;return!n("punc",";")&&(e=n("keyword","var")?(o(),K(!0)):re(!0,!0),n("operator","in"))?(e instanceof je?e.definitions.length>1&&s("Only one variable declaration allowed in for..in loop",e.start.line,e.start.col,e.start.pos):N(e)||s("Invalid left-hand side in for..in loop",e.start.line,e.start.col,e.start.pos),o(),E(e)):A(e)}function A(e){p(";");var t=n("punc",";")?null:re(!0);p(";");var r=n("punc",")")?null:re(!0);return p(")"),new ve({init:e,condition:t,step:r,body:j($)})}function E(e){var t=e instanceof je?e.definitions[0].name:null,n=re(!0);return p(")"),new be({init:e,name:t,object:n,body:j($)})}function x(){var e=m(),t=$(),r=null;return n("keyword","else")&&(o(),r=$()),new Fe({condition:e,body:t,alternative:r})}function C(){p("{");for(var e=[];!n("punc","}");)n("eof")&&c(),e.push($());return o(),e}function k(){p("{");for(var e,t=[],r=null,i=null;!n("punc","}");)n("eof")&&c(),n("keyword","case")?(i&&(i.end=a()),r=[],i=new Ue({start:(e=V.token,o(),e),expression:re(!0),body:r}),t.push(i),p(":")):n("keyword","default")?(i&&(i.end=a()),r=[],i=new Pe({start:(e=V.token,o(),p(":"),e),body:r}),t.push(i)):(r||c(),r.push($()));return i&&(i.end=a()),o(),t}function O(){var e=C(),t=null,r=null;if(n("keyword","catch")){u=V.token;o(),p("(");var i=M(mt);p(")"),t=new qe({start:u,argname:i,body:C(),end:a()})}if(n("keyword","finally")){var u=V.token;o(),r=new ze({start:u,body:C(),end:a()})}return t||r||s("Missing catch/finally blocks"),new Ne({body:e,bcatch:t,bfinally:r})}function S(e){for(var t=[];t.push(new Ve({start:V.token,name:M(ft),value:n("operator","=")?(o(),re(!1,e)):null,end:a()})),n("punc",",");)o();return t}function D(){var e,t=V.token;switch(t.type){case"name":e=F(vt);break;case"num":e=new At({start:t,end:t,value:t.value});break;case"string":e=new wt({start:t,end:t,value:t.value,quote:t.quote});break;case"regexp":e=new Et({start:t,end:t,value:t.value});break;case"atom":switch(t.value){case"false":e=new Tt({start:t,end:t});break;case"true":e=new Rt({start:t,end:t});break;case"null":e=new Ct({start:t,end:t})}}return o(),e}function B(e,t,r){for(var i=!0,a=[];!n("punc",e)&&(i?i=!1:p(","),!t||!n("punc",e));)n("punc",",")&&r?a.push(new St({start:V.token,end:V.token})):a.push(re(!1));return o(),a}function T(){var e=V.token;switch(e.type){case"operator":Ft(e.value)||c();case"num":case"string":case"name":case"keyword":case"atom":return o(),e.value;default:c()}}function R(){var e=V.token;return"name"!=e.type&&c(),o(),e.value}function F(e){var t=V.token.value;return new("this"==t?yt:e)({name:String(t),start:V.token,end:V.token})}function L(e){"arguments"!=e.name&&"eval"!=e.name||s("Unexpected "+e.name+" in strict mode",e.start.line,e.start.col,e.start.pos)}function M(e,t){if(!n("name"))return t||s("Name expected"),null;var r=F(e);return V.input.has_directive("use strict")&&r instanceof ct&&L(r),o(),r}function P(e,t,n){var r=t.value;switch(r){case"++":case"--":N(n)||s("Invalid use of "+r+" operator",t.line,t.col,t.pos);break;case"delete":n instanceof vt&&V.input.has_directive("use strict")&&s("Calling delete on expression not allowed in strict mode",n.start.line,n.start.col,n.start.pos)}return new e({operator:r,expression:n})}function U(e){return ee(X(!0),0,e)}function N(e){return e instanceof Ye||e instanceof vt}function j(e){++V.in_loop;var t=e();return--V.in_loop,t}t=u(t,{bare_returns:!1,expression:!1,filename:null,html5_comments:!0,shebang:!0,strict:!1,toplevel:null},!0);var V={input:"string"==typeof e?I(e,t.filename,t.html5_comments,t.shebang):e,token:null,prev:null,peeked:null,in_function:0,in_directives:!0,in_loop:0,labels:[]};V.token=o();var $=g(function(){switch(v(),V.token.type){case"string":if(V.in_directives){var e=r();-1==V.token.raw.indexOf("\\")&&(e.nlb||z(e,"eof")||z(e,"punc",";")||z(e,"punc","}"))?V.input.add_directive(V.token.value):V.in_directives=!1}var i=V.in_directives,u=y();return i?new ae(u.body):u;case"num":case"regexp":case"operator":case"atom":return y();case"name":return z(r(),"punc",":")?b():y();case"punc":switch(V.token.value){case"{":return new le({start:V.token,body:C(),end:a()});case"[":case"(":return y();case";":return V.in_directives=!1,o(),new ce;default:c()}case"keyword":switch(V.token.value){case"break":return o(),_(Te);case"continue":return o(),_(Re);case"debugger":return o(),d(),new oe;case"do":o();var l=j($);f("keyword","while");var p=m();return d(!0),new me({body:l,condition:p});case"while":return o(),new ge({condition:m(),body:j($)});case"for":return o(),w();case"function":return o(),H(Ce);case"if":return o(),x();case"return":0!=V.in_function||t.bare_returns||s("'return' outside of function"),o();g=null;return n("punc",";")?o():h()||(g=re(!0),d()),new Se({value:g});case"switch":return o(),new Le({expression:m(),body:j(k)});case"throw":o(),V.token.nlb&&s("Illegal newline after 'throw'");var g=re(!0);return d(),new De({value:g});case"try":return o(),O();case"var":o();var A=K();return d(),A;case"with":return V.input.has_directive("use strict")&&s("Strict mode may not include a with statement"),o(),new ye({expression:m(),body:$()})}}c()}),H=function(e){var t=e===Ce,r=n("name")?M(t?ht:dt):null;t&&!r&&c(),p("(");for(var i=[],a=!0;!n("punc",")");)a?a=!1:p(","),i.push(M(pt));o();var s=V.in_loop,u=V.labels;++V.in_function,V.in_directives=!0,V.input.push_directives_stack(),V.in_loop=0,V.labels=[];var l=C();return V.input.has_directive("use strict")&&(r&&L(r),i.forEach(L)),V.input.pop_directives_stack(),--V.in_function,V.in_loop=s,V.labels=u,new e({name:r,argnames:i,body:l})},K=function(e){return new je({start:a(),definitions:S(e),end:a()})},Y=function(e){var t=V.token;f("operator","new");var r,i=G(!1);return n("punc","(")?(o(),r=B(")")):r=[],J(new He({start:t,expression:i,args:r,end:a()}),e)},G=function(e){if(n("operator","new"))return Y(e);var t=V.token;if(n("punc")){switch(t.value){case"(":o();var r=re(!0);return r.start=t,r.end=V.token,p(")"),J(r,e);case"[":return J(W(),e);case"{":return J(Z(),e)}c()}if(n("keyword","function")){o();var i=H(xe);return i.start=t,i.end=a(),J(i,e)}if(Zt(V.token.type))return J(D(),e);c()},W=g(function(){return p("["),new nt({elements:B("]",!t.strict,!0)})}),Q=g(function(){return H(Ee)}),Z=g(function(){p("{");for(var e=!0,r=[];!n("punc","}")&&(e?e=!1:p(","),t.strict||!n("punc","}"));){var i=V.token,s=i.type,u=T();if("name"==s&&!n("punc",":")){var l=new lt({start:V.token,name:T(),end:a()});if("get"==u){r.push(new st({start:i,key:l,value:Q(),end:a()}));continue}if("set"==u){r.push(new at({start:i,key:l,value:Q(),end:a()}));continue}}p(":"),r.push(new ot({start:i,quote:i.quote,key:u,value:re(!1),end:a()}))}return o(),new rt({properties:r})}),J=function(e,t){var r=e.start;if(n("punc","."))return o(),J(new Ge({start:r,expression:e,property:R(),end:a()}),t);if(n("punc","[")){o();var i=re(!0);return p("]"),J(new We({start:r,expression:e,property:i,end:a()}),t)}return t&&n("punc","(")?(o(),J(new $e({start:r,expression:e,args:B(")"),end:a()}),!0)):e},X=function(e){var t=V.token;if(n("operator")&&Yt(t.value)){o(),v();var r=P(Ze,t,X(e));return r.start=t,r.end=a(),r}for(var i=G(e);n("operator")&&Gt(V.token.value)&&!V.token.nlb;)(i=P(Je,V.token,i)).start=t,i.end=V.token,o();return i},ee=function(e,t,r){var i=n("operator")?V.token.value:null;"in"==i&&r&&(i=null);var a=null!=i?Qt[i]:null;if(null!=a&&a>t){o();var s=ee(X(!0),a,r);return ee(new Xe({start:e.start,left:e,operator:i,right:s,end:s.end}),t,r)}return e},te=function(e){var t=V.token,r=U(e);if(n("operator","?")){o();var i=re(!1);return p(":"),new et({start:t,condition:r,consequent:i,alternative:re(!1,e),end:a()})}return r},ne=function(e){var t=V.token,r=te(e),i=V.token.value;if(n("operator")&&Wt(i)){if(N(r))return o(),new tt({start:t,left:r,operator:i,right:ne(e),end:a()});s("Invalid assignment")}return r},re=function(e,t){for(var i=V.token,a=[];;){if(a.push(ne(t)),!e||!n("punc",","))break;o(),e=!0}return 1==a.length?a[0]:new Ke({start:i,expressions:a,end:r()})};return t.expression?re(!0):function(){var e=V.token,r=[];for(V.input.push_directives_stack();!n("eof");)r.push($());V.input.pop_directives_stack();var i=a(),o=t.toplevel;return o?(o.body=o.body.concat(r),o.end=i):o=new we({start:e,body:r,end:i}),o}()}function V(e,t){k.call(this),this.before=e,this.after=t}function $(e,t,n){this.name=n.name,this.orig=[n],this.scope=e,this.references=[],this.global=!1,this.mangled_name=null,this.undeclared=!1,this.index=t,this.id=$.next_id++}function H(e){return"comment2"==e.type&&/@preserve|@license|@cc_on/i.test(e.value)}function K(e){function t(t,n){function r(){return"'"+t.replace(/\x27/g,"\\'")+"'"}function i(){return'"'+t.replace(/\x22/g,'\\"')+'"'}var o=0,a=0;switch(t=t.replace(/[\\\b\f\n\r\v\t\x22\x27\u2028\u2029\0\ufeff]/g,function(n,r){switch(n){case'"':return++o,'"';case"'":return++a,"'";case"\\":return"\\\\";case"\n":return"\\n";case"\r":return"\\r";case"\t":return"\\t";case"\b":return"\\b";case"\f":return"\\f";case"\v":return e.ie8?"\\x0B":"\\v";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";case"\ufeff":return"\\ufeff";case"\0":return/[0-7]/.test(t.charAt(r+1))?"\\x00":"\\0"}return n}),t=C(t),e.quote_style){case 1:return r();case 2:return i();case 3:return"'"==n?r():i();default:return o>a?r():i()}}function n(n,r){var i=t(n,r);return e.inline_script&&(i=(i=(i=i.replace(/<\x2fscript([>\/\t\n\f\r ])/gi,"<\\/script$1")).replace(/\x3c!--/g,"\\x3c!--")).replace(/--\x3e/g,"--\\x3e")),i}function r(e){return e=e.toString(),e=C(e,!0)}function i(t){return o(" ",e.indent_start+_-t*e.indent_level)}function a(t){var n=(t=String(t)).charAt(0),r=D.charAt(D.length-1);if(O&&(O=!1,(":"==r&&"}"==n||(!n||";}".indexOf(n)<0)&&";"!=r)&&(e.semicolons||F(n)?(x+=";",w++,E++):(R(),x+="\n",E++,A++,w=0,/^\s+$/.test(t)&&(O=!0)),e.beautify||(k=!1))),!e.beautify&&e.preserve_line&&z[z.length-1])for(var i=z[z.length-1].start.line;A<i;)R(),x+="\n",E++,A++,w=0,k=!1;k&&((M(r)&&(M(n)||"\\"==n)||"/"==n&&n==r||("+"==n||"-"==n)&&n==D)&&(x+=" ",w++,E++),k=!1),v&&(B.push({token:v,name:b,line:A,col:w}),v=!1,S||T()),x+=t,E+=t.length;var o=t.split(/\r?\n/),a=o.length-1;A+=a,w+=o[0].length,a>0&&(R(),w=o[a].length),D=t}function s(){O=!1,a(";")}function l(){return _+e.indent_level}function h(){return S&&R(),x}var d=f;if((e=u(e,{ascii_only:!1,beautify:!1,bracketize:!1,comments:!1,ie8:!1,indent_level:4,indent_start:0,inline_script:!0,keep_quoted_props:!1,max_line_len:!1,preamble:null,preserve_line:!1,quote_keys:!1,quote_style:0,semicolons:!0,shebang:!0,source_map:null,webkit:!1,width:80,wrap_iife:!1},!0)).comments){var m=e.comments;if("string"==typeof e.comments&&/^\/.*\/[a-zA-Z]*$/.test(e.comments)){var g=e.comments.lastIndexOf("/");m=new RegExp(e.comments.substr(1,g-1),e.comments.substr(g+1))}d=m instanceof RegExp?function(e){return"comment5"!=e.type&&m.test(e.value)}:"function"==typeof m?function(e){return"comment5"!=e.type&&m(this,e)}:"some"===m?H:p}var v,b,_=0,w=0,A=1,E=0,x="",C=e.ascii_only?function(e,t){return e.replace(/[\u0000-\u001f\u007f-\uffff]/g,function(e){var n=e.charCodeAt(0).toString(16);if(n.length<=2&&!t){for(;n.length<2;)n="0"+n;return"\\x"+n}for(;n.length<4;)n="0"+n;return"\\u"+n})}:function(e){return e.replace(/[\ud800-\udbff](?![\udc00-\udfff])/g,function(e){return"\\u"+e.charCodeAt(0).toString(16)}).replace(/(^|[^\ud800-\udbff])([\udc00-\udfff])/g,function(e,t,n){return t+"\\u"+n.charCodeAt(0).toString(16)})},k=!1,O=!1,S=0,D="",B=e.source_map&&[],T=B?function(){B.forEach(function(t){try{e.source_map.add(t.token.file,t.line,t.col,t.token.line,t.token.col,t.name||"name"!=t.token.type?t.name:t.token.value)}catch(e){re.warn("Couldn't figure out mapping for {file}:{line},{col} → {cline},{ccol} [{name}]",{file:t.token.file,line:t.token.line,col:t.token.col,cline:t.line,ccol:t.col,name:t.name||""})}}),B=[]}:c,R=e.max_line_len?function(){if(w>e.max_line_len){if(S){var t=x.slice(0,S),n=x.slice(S);if(B){var r=n.length-w;B.forEach(function(e){e.line++,e.col+=r})}x=t+"\n"+n,A++,E++,w=n.length}w>e.max_line_len&&re.warn("Output exceeds {max_line_len} characters",e)}S&&(S=0,T())}:c,F=y("( [ + * / - , ."),L=e.beautify?function(){a(" ")}:function(){k=!0},P=e.beautify?function(t){e.beautify&&a(i(t?.5:0))}:c,U=e.beautify?function(e,t){!0===e&&(e=l());var n=_;_=e;var r=t();return _=n,r}:function(e,t){return t()},N=e.beautify?function(){a("\n")}:e.max_line_len?function(){R(),S=x.length}:c,q=e.beautify?function(){a(";")}:function(){O=!0},z=[];return{get:h,toString:h,indent:P,indentation:function(){return _},current_width:function(){return w-_},should_break:function(){return e.width&&this.current_width()>=e.width},newline:N,print:a,space:L,comma:function(){a(","),L()},colon:function(){a(":"),L()},last:function(){return D},semicolon:q,force_semicolon:s,to_utf8:C,print_name:function(e){a(r(e))},print_string:function(e,t,r){var i=n(e,t);!0===r&&-1===i.indexOf("\\")&&(Xt.test(x)||s(),s()),a(i)},encode_string:n,next_indent:l,with_indent:U,with_block:function(e){var t;return a("{"),N(),U(l(),function(){t=e()}),P(),a("}"),t},with_parens:function(e){a("(");var t=e();return a(")"),t},with_square:function(e){a("[");var t=e();return a("]"),t},add_mapping:B?function(e,t){v=e,b=t}:c,option:function(t){return e[t]},comment_filter:d,line:function(){return A},col:function(){return w},pos:function(){return E},push_node:function(e){z.push(e)},pop_node:function(){return z.pop()},parent:function(e){return z[z.length-2-(e||0)]}}}function Y(e,t){if(!(this instanceof Y))return new Y(e,t);V.call(this,this.before,this.after),this.options=u(e,{booleans:!t,cascade:!t,collapse_vars:!t,comparisons:!t,conditionals:!t,dead_code:!t,drop_console:!1,drop_debugger:!t,evaluate:!t,expression:!1,global_defs:{},hoist_funs:!t,hoist_vars:!1,ie8:!1,if_return:!t,inline:!t,join_vars:!t,keep_fargs:!0,keep_fnames:!1,keep_infinity:!1,loops:!t,negate_iife:!t,passes:1,properties:!t,pure_getters:!t&&"strict",pure_funcs:null,reduce_vars:!t,sequences:!t,side_effects:!t,switches:!t,top_retain:null,toplevel:!(!e||!e.top_retain),typeofs:!t,unsafe:!1,unsafe_comps:!1,unsafe_Func:!1,unsafe_math:!1,unsafe_proto:!1,unsafe_regexp:!1,unused:!t,warnings:!1},!0);var n=this.options.global_defs;if("object"==typeof n)for(var r in n)/^@/.test(r)&&A(n,r)&&(n[r.slice(1)]=j(n[r],{expression:!0}));var i=this.options.pure_funcs;this.pure_funcs="function"==typeof i?i:i?function(e){return i.indexOf(e.expression.print_to_string())<0}:p;var o=this.options.top_retain;o instanceof RegExp?this.top_retain=function(e){return o.test(e.name)}:"function"==typeof o?this.top_retain=o:o&&("string"==typeof o&&(o=o.split(/,/)),this.top_retain=function(e){return o.indexOf(e.name)>=0});var a=this.options.toplevel;this.toplevel="string"==typeof a?{funcs:/funcs/.test(a),vars:/vars/.test(a)}:{funcs:a,vars:a};var s=this.options.sequences;this.sequences_limit=1==s?800:0|s,this.warnings_produced={}}function G(e){e=u(e,{file:null,root:null,orig:null,orig_line_diff:0,dest_line_diff:0});var t=new MOZ_SourceMap.SourceMapGenerator({file:e.file,sourceRoot:e.root}),n=e.orig&&new MOZ_SourceMap.SourceMapConsumer(e.orig);return n&&Array.isArray(e.orig.sources)&&n._sources.toArray().forEach(function(e){var r=n.sourceContentFor(e,!0);r&&t.setSourceContent(e,r)}),{add:function(r,i,o,a,s,u){if(n){var l=n.originalPositionFor({line:a,column:s});if(null===l.source)return;r=l.source,a=l.line,s=l.column,u=l.name||u}t.addMapping({generated:{line:i+e.dest_line_diff,column:o},original:{line:a+e.orig_line_diff,column:s},source:r,name:u})},get:function(){return t},toString:function(){return JSON.stringify(t.toJSON())}}}function W(e){function t(t){m(e,t)}["null","true","false","Infinity","-Infinity","undefined"].forEach(t),[Object,Array,Function,Number,String,Boolean,Error,Math,Date,RegExp].forEach(function(e){Object.getOwnPropertyNames(e).map(t),e.prototype&&Object.getOwnPropertyNames(e.prototype).map(t)})}function Q(e,t){function n(e){return!(v.indexOf(e)>=0)&&(!(l.indexOf(e)>=0)&&(t.only_cache?c.props.has(e):!/^-?[0-9]+(\.[0-9]+)?(e[+-][0-9]+)?$/.test(e)))}function r(e){return!(h&&e in b)&&(!(p&&!p.test(e))&&(!(l.indexOf(e)>=0)&&(c.props.has(e)||g.indexOf(e)>=0)))}function i(e,t){t?b[e]=!0:(n(e)&&m(g,e),r(e)||m(v,e))}function o(e){if(!r(e))return e;var t=c.props.get(e);if(!t){if(d){var i="_$"+e+"$"+f+"_";!n(i)||h&&i in b||(t=i)}if(!t)do{t=Jt(++c.cname)}while(!n(t)||h&&t in b);c.props.set(e,t)}return t}function a(e,t){var n={};try{!function e(r){r.walk(new k(function(r){if(r instanceof Ke)return e(r.expressions[r.expressions.length-1]),!0;if(r instanceof wt)return i(r.value,t),!0;if(r instanceof et)return e(r.consequent),e(r.alternative),!0;throw n}))}(e)}catch(e){if(e!==n)throw e}}function s(e){return e.transform(new V(function(e){if(e instanceof Ke){var t=e.expressions.length-1;e.expressions[t]=s(e.expressions[t])}else e instanceof wt?e.value=o(e.value):e instanceof et&&(e.consequent=s(e.consequent),e.alternative=s(e.alternative));return e}))}var l=(t=u(t,{builtins:!1,cache:null,debug:!1,keep_quoted:!1,only_cache:!1,regex:null,reserved:null},!0)).reserved;Array.isArray(l)||(l=[]),t.builtins||W(l);var c=t.cache;null==c&&(c={cname:-1,props:new w});var f,p=t.regex,h=t.keep_quoted,d=!1!==t.debug;d&&(f=!0===t.debug?"":t.debug);var g=[],v=[],b={};return e.walk(new k(function(e){e instanceof ot?i(e.key,h&&e.quote):e instanceof it?i(e.key.name):e instanceof Ge?i(e.property):e instanceof We&&a(e.property,h)})),e.transform(new V(function(e){e instanceof ot?h&&e.quote||(e.key=o(e.key)):e instanceof it?e.key.name=o(e.key.name):e instanceof Ge?e.property=o(e.property):e instanceof We&&(h||(e.property=s(e.property)))}))}function Z(e){var t=/\n\/\/# sourceMappingURL=data:application\/json(;.*?)?;base64,(.*)/.exec(e);return t?en(t[2]):(re.warn("inline source map not found"),null)}function J(e,t,n){t[e]&&n.forEach(function(n){t[n]&&("object"!=typeof t[n]&&(t[n]={}),e in t[n]||(t[n][e]=t[e]))})}function X(e){e&&("cname"in e||(e.cname=-1),"props"in e?e.props instanceof w||(e.props=w.fromObject(e.props)):e.props=new w)}function ee(e){return{cname:e.cname,props:e.props.toObject()}}s.prototype=Object.create(Error.prototype),s.prototype.constructor=s,s.prototype.name="DefaultsError",a(s),s.croak=function(e,t){throw new s(e,t)};var te=function(){function e(e,o,a){function s(){var s=o(e[u],u),f=s instanceof r;return f&&(s=s.v),s instanceof t?(s=s.v)instanceof n?c.push.apply(c,a?s.v.slice().reverse():s.v):c.push(s):s!==i&&(s instanceof n?l.push.apply(l,a?s.v.slice().reverse():s.v):l.push(s)),f}var u,l=[],c=[];if(e instanceof Array)if(a){for(u=e.length;--u>=0&&!s(););l.reverse(),c.reverse()}else for(u=0;u<e.length&&!s();++u);else for(u in e)if(A(e,u)&&s())break;return c.concat(l)}function t(e){this.v=e}function n(e){this.v=e}function r(e){this.v=e}e.at_top=function(e){return new t(e)},e.splice=function(e){return new n(e)},e.last=function(e){return new r(e)};var i=e.skip={};return e}();w.prototype={set:function(e,t){return this.has(e)||++this._size,this._values["$"+e]=t,this},add:function(e,t){return this.has(e)?this.get(e).push(t):this.set(e,[t]),this},get:function(e){return this._values["$"+e]},del:function(e){return this.has(e)&&(--this._size,delete this._values["$"+e]),this},has:function(e){return"$"+e in this._values},each:function(e){for(var t in this._values)e(this._values[t],t.substr(1))},size:function(){return this._size},map:function(e){var t=[];for(var n in this._values)t.push(e(this._values[n],n.substr(1)));return t},toObject:function(){return this._values}},w.fromObject=function(e){var t=new w;return t._size=l(t._values,e),t};var ne=x("Token","type value line col pos endline endcol endpos nlb comments_before file raw",{},null),re=x("Node","start end",{_clone:function(e){if(e){var t=this.clone();return t.transform(new V(function(e){if(e!==t)return e.clone(!0)}))}return new this.CTOR(this)},clone:function(e){return this._clone(e)},$documentation:"Base class of all AST nodes",$propdoc:{start:"[AST_Token] The first token of this node",end:"[AST_Token] The last token of this node"},_walk:function(e){return e._visit(this)},walk:function(e){return this._walk(e)}},null);re.warn_function=null,re.warn=function(e,t){re.warn_function&&re.warn_function(g(e,t))};var ie=x("Statement",null,{$documentation:"Base class of all statements"}),oe=x("Debugger",null,{$documentation:"Represents a debugger statement"},ie),ae=x("Directive","value scope quote",{$documentation:'Represents a directive, like "use strict";',$propdoc:{value:"[string] The value of this directive as a plain string (it's not an AST_String!)",scope:"[AST_Scope/S] The scope that this directive affects",quote:"[string] the original quote character"}},ie),se=x("SimpleStatement","body",{$documentation:"A statement consisting of an expression, i.e. a = 1 + 2",$propdoc:{body:"[AST_Node] an expression node (should not be instanceof AST_Statement)"},_walk:function(e){return e._visit(this,function(){this.body._walk(e)})}},ie),ue=x("Block","body",{$documentation:"A body of statements (usually bracketed)",$propdoc:{body:"[AST_Statement*] an array of statements"},_walk:function(e){return e._visit(this,function(){C(this,e)})}},ie),le=x("BlockStatement",null,{$documentation:"A block statement"},ue),ce=x("EmptyStatement",null,{$documentation:"The empty statement (empty block or simply a semicolon)"},ie),fe=x("StatementWithBody","body",{$documentation:"Base class for all statements that contain one nested body: `For`, `ForIn`, `Do`, `While`, `With`",$propdoc:{body:"[AST_Statement] the body; this should always be present, even if it's an AST_EmptyStatement"}},ie),pe=x("LabeledStatement","label",{$documentation:"Statement with a label",$propdoc:{label:"[AST_Label] a label definition"},_walk:function(e){return e._visit(this,function(){this.label._walk(e),this.body._walk(e)})},clone:function(e){var t=this._clone(e);if(e){var n=t.label,r=this.label;t.walk(new k(function(e){e instanceof Be&&e.label&&e.label.thedef===r&&(e.label.thedef=n,n.references.push(e))}))}return t}},fe),he=x("IterationStatement",null,{$documentation:"Internal class.  All loops inherit from it."},fe),de=x("DWLoop","condition",{$documentation:"Base class for do/while statements",$propdoc:{condition:"[AST_Node] the loop condition.  Should not be instanceof AST_Statement"}},he),me=x("Do",null,{$documentation:"A `do` statement",_walk:function(e){return e._visit(this,function(){this.body._walk(e),this.condition._walk(e)})}},de),ge=x("While",null,{$documentation:"A `while` statement",_walk:function(e){return e._visit(this,function(){this.condition._walk(e),this.body._walk(e)})}},de),ve=x("For","init condition step",{$documentation:"A `for` statement",$propdoc:{init:"[AST_Node?] the `for` initialization code, or null if empty",condition:"[AST_Node?] the `for` termination clause, or null if empty",step:"[AST_Node?] the `for` update clause, or null if empty"},_walk:function(e){return e._visit(this,function(){this.init&&this.init._walk(e),this.condition&&this.condition._walk(e),this.step&&this.step._walk(e),this.body._walk(e)})}},he),be=x("ForIn","init name object",{$documentation:"A `for ... in` statement",$propdoc:{init:"[AST_Node] the `for/in` initialization code",name:"[AST_SymbolRef?] the loop variable, only if `init` is AST_Var",object:"[AST_Node] the object that we're looping through"},_walk:function(e){return e._visit(this,function(){this.init._walk(e),this.object._walk(e),this.body._walk(e)})}},he),ye=x("With","expression",{$documentation:"A `with` statement",$propdoc:{expression:"[AST_Node] the `with` expression"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e),this.body._walk(e)})}},fe),_e=x("Scope","directives variables functions uses_with uses_eval parent_scope enclosed cname",{$documentation:"Base class for all statements introducing a lexical scope",$propdoc:{directives:"[string*/S] an array of directives declared in this scope",variables:"[Object/S] a map of name -> 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)"}},ue),we=x("Toplevel","globals",{$documentation:"The toplevel scope",$propdoc:{globals:"[Object/S] a map of name -> SymbolDef for all undeclared names"},wrap_commonjs:function(e){var t=this.body,n="(function(exports){'$ORIG';})(typeof "+e+"=='undefined'?("+e+"={}):"+e+");";return n=j(n),n=n.transform(new V(function(e){if(e instanceof ae&&"$ORIG"==e.value)return te.splice(t)}))}},_e),Ae=x("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(e){return e._visit(this,function(){this.name&&this.name._walk(e);for(var t=this.argnames,n=0,r=t.length;n<r;n++)t[n]._walk(e);C(this,e)})}},_e),Ee=x("Accessor",null,{$documentation:"A setter/getter function.  The `name` property is always null."},Ae),xe=x("Function",null,{$documentation:"A function expression"},Ae),Ce=x("Defun",null,{$documentation:"A function definition"},Ae),ke=x("Jump",null,{$documentation:"Base class for “jumps” (for now that's `return`, `throw`, `break` and `continue`)"},ie),Oe=x("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(e){return e._visit(this,this.value&&function(){this.value._walk(e)})}},ke),Se=x("Return",null,{$documentation:"A `return` statement"},Oe),De=x("Throw",null,{$documentation:"A `throw` statement"},Oe),Be=x("LoopControl","label",{$documentation:"Base class for loop control statements (`break` and `continue`)",$propdoc:{label:"[AST_LabelRef?] the label, or null if none"},_walk:function(e){return e._visit(this,this.label&&function(){this.label._walk(e)})}},ke),Te=x("Break",null,{$documentation:"A `break` statement"},Be),Re=x("Continue",null,{$documentation:"A `continue` statement"},Be),Fe=x("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(e){return e._visit(this,function(){this.condition._walk(e),this.body._walk(e),this.alternative&&this.alternative._walk(e)})}},fe),Le=x("Switch","expression",{$documentation:"A `switch` statement",$propdoc:{expression:"[AST_Node] the `switch` “discriminant”"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e),C(this,e)})}},ue),Me=x("SwitchBranch",null,{$documentation:"Base class for `switch` branches"},ue),Pe=x("Default",null,{$documentation:"A `default` switch branch"},Me),Ue=x("Case","expression",{$documentation:"A `case` switch branch",$propdoc:{expression:"[AST_Node] the `case` expression"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e),C(this,e)})}},Me),Ne=x("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(e){return e._visit(this,function(){C(this,e),this.bcatch&&this.bcatch._walk(e),this.bfinally&&this.bfinally._walk(e)})}},ue),qe=x("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(e){return e._visit(this,function(){this.argname._walk(e),C(this,e)})}},ue),ze=x("Finally",null,{$documentation:"A `finally` node; only makes sense as part of a `try` statement"},ue),Ie=x("Definitions","definitions",{$documentation:"Base class for `var` nodes (variable declarations/initializations)",$propdoc:{definitions:"[AST_VarDef*] array of variable definitions"},_walk:function(e){return e._visit(this,function(){for(var t=this.definitions,n=0,r=t.length;n<r;n++)t[n]._walk(e)})}},ie),je=x("Var",null,{$documentation:"A `var` statement"},Ie),Ve=x("VarDef","name value",{$documentation:"A variable declaration; only appears in a AST_Definitions node",$propdoc:{name:"[AST_SymbolVar] name of the variable",value:"[AST_Node?] initializer, or null of there's no initializer"},_walk:function(e){return e._visit(this,function(){this.name._walk(e),this.value&&this.value._walk(e)})}}),$e=x("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(e){return e._visit(this,function(){for(var t=this.args,n=0,r=t.length;n<r;n++)t[n]._walk(e);this.expression._walk(e)})}}),He=x("New",null,{$documentation:"An object instantiation.  Derives from a function call since it has exactly the same properties"},$e),Ke=x("Sequence","expressions",{$documentation:"A sequence expression (comma-separated expressions)",$propdoc:{expressions:"[AST_Node*] array of expressions (at least two)"},_walk:function(e){return e._visit(this,function(){this.expressions.forEach(function(t){t._walk(e)})})}}),Ye=x("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"}}),Ge=x("Dot",null,{$documentation:"A dotted property access expression",_walk:function(e){return e._visit(this,function(){this.expression._walk(e)})}},Ye),We=x("Sub",null,{$documentation:'Index-style property access, i.e. `a["foo"]`',_walk:function(e){return e._visit(this,function(){this.expression._walk(e),this.property._walk(e)})}},Ye),Qe=x("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(e){return e._visit(this,function(){this.expression._walk(e)})}}),Ze=x("UnaryPrefix",null,{$documentation:"Unary prefix expression, i.e. `typeof i` or `++i`"},Qe),Je=x("UnaryPostfix",null,{$documentation:"Unary postfix expression, i.e. `i++`"},Qe),Xe=x("Binary","operator left 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(e){return e._visit(this,function(){this.left._walk(e),this.right._walk(e)})}}),et=x("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(e){return e._visit(this,function(){this.condition._walk(e),this.consequent._walk(e),this.alternative._walk(e)})}}),tt=x("Assign",null,{$documentation:"An assignment expression — `a = b + 5`"},Xe),nt=x("Array","elements",{$documentation:"An array literal",$propdoc:{elements:"[AST_Node*] array of elements"},_walk:function(e){return e._visit(this,function(){for(var t=this.elements,n=0,r=t.length;n<r;n++)t[n]._walk(e)})}}),rt=x("Object","properties",{$documentation:"An object literal",$propdoc:{properties:"[AST_ObjectProperty*] array of properties"},_walk:function(e){return e._visit(this,function(){for(var t=this.properties,n=0,r=t.length;n<r;n++)t[n]._walk(e)})}}),it=x("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 AST_SymbolAccessor.",value:"[AST_Node] property value.  For setters and getters this is an AST_Accessor."},_walk:function(e){return e._visit(this,function(){this.value._walk(e)})}}),ot=x("ObjectKeyVal","quote",{$documentation:"A key: value object property",$propdoc:{quote:"[string] the original quote character"}},it),at=x("ObjectSetter",null,{$documentation:"An object setter property"},it),st=x("ObjectGetter",null,{$documentation:"An object getter property"},it),ut=x("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"}),lt=x("SymbolAccessor",null,{$documentation:"The name of a property accessor (setter/getter function)"},ut),ct=x("SymbolDeclaration","init",{$documentation:"A declaration symbol (symbol in var, function name or argument, symbol in catch)"},ut),ft=x("SymbolVar",null,{$documentation:"Symbol defining a variable"},ct),pt=x("SymbolFunarg",null,{$documentation:"Symbol naming a function argument"},ft),ht=x("SymbolDefun",null,{$documentation:"Symbol defining a function"},ct),dt=x("SymbolLambda",null,{$documentation:"Symbol naming a function expression"},ct),mt=x("SymbolCatch",null,{$documentation:"Symbol naming the exception in catch"},ct),gt=x("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}},ut),vt=x("SymbolRef",null,{$documentation:"Reference to some symbol (not definition/declaration)"},ut),bt=x("LabelRef",null,{$documentation:"Reference to a label symbol"},ut),yt=x("This",null,{$documentation:"The `this` symbol"},ut),_t=x("Constant",null,{$documentation:"Base class for all constants",getValue:function(){return this.value}}),wt=x("String","value quote",{$documentation:"A string literal",$propdoc:{value:"[string] the contents of this string",quote:"[string] the original quote character"}},_t),At=x("Number","value literal",{$documentation:"A number literal",$propdoc:{value:"[number] the numeric value",literal:"[string] numeric value as string (optional)"}},_t),Et=x("RegExp","value",{$documentation:"A regexp literal",$propdoc:{value:"[RegExp] the actual regexp"}},_t),xt=x("Atom",null,{$documentation:"Base class for atoms"},_t),Ct=x("Null",null,{$documentation:"The `null` atom",value:null},xt),kt=x("NaN",null,{$documentation:"The impossible value",value:NaN},xt),Ot=x("Undefined",null,{$documentation:"The `undefined` value",value:void 0},xt),St=x("Hole",null,{$documentation:"A hole in an array",value:void 0},xt),Dt=x("Infinity",null,{$documentation:"The `Infinity` value",value:1/0},xt),Bt=x("Boolean",null,{$documentation:"Base class for booleans"},xt),Tt=x("False",null,{$documentation:"The `false` atom",value:!1},Bt),Rt=x("True",null,{$documentation:"The `true` atom",value:!0},Bt);k.prototype={_visit:function(e,t){this.push(e);var n=this.visit(e,t?function(){t.call(e)}:c);return!n&&t&&t.call(e),this.pop(),n},parent:function(e){return this.stack[this.stack.length-2-(e||0)]},push:function(e){e instanceof Ae?this.directives=Object.create(this.directives):e instanceof ae&&!this.directives[e.value]&&(this.directives[e.value]=e),this.stack.push(e)},pop:function(){this.stack.pop()instanceof Ae&&(this.directives=Object.getPrototypeOf(this.directives))},self:function(){return this.stack[this.stack.length-1]},find_parent:function(e){for(var t=this.stack,n=t.length;--n>=0;){var r=t[n];if(r instanceof e)return r}},has_directive:function(e){var t=this.directives[e];if(t)return t;var n=this.stack[this.stack.length-1];if(n instanceof _e)for(var r=0;r<n.body.length;++r){var i=n.body[r];if(!(i instanceof ae))break;if(i.value==e)return i}},in_boolean_context:function(){for(var e=this.stack,t=e.length,n=e[--t];t>0;){var r=e[--t];if(r instanceof Fe&&r.condition===n||r instanceof et&&r.condition===n||r instanceof de&&r.condition===n||r instanceof ve&&r.condition===n||r instanceof Ze&&"!"==r.operator&&r.expression===n)return!0;if(!(r instanceof Xe)||"&&"!=r.operator&&"||"!=r.operator)return!1;n=r}},loopcontrol_target:function(e){var t=this.stack;if(e.label){for(n=t.length;--n>=0;)if((r=t[n])instanceof pe&&r.label.name==e.label.name)return r.body}else for(var n=t.length;--n>=0;){var r=t[n];if(r instanceof he||e instanceof Te&&r instanceof Le)return r}}};var Ft="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",Lt="false null true",Mt="abstract boolean byte char class double enum export extends final float goto implements import int interface let long native package private protected public short static super synchronized this throws transient volatile yield "+Lt+" "+Ft,Pt="return new delete throw else case";Ft=y(Ft),Mt=y(Mt),Pt=y(Pt),Lt=y(Lt);var Ut=y(n("+-*&%=<>!?|~^")),Nt=/^0x[0-9a-f]+$/i,qt=/^0[0-7]+$/,zt=y(["in","instanceof","typeof","new","void","delete","++","--","+","-","!","~","&","|","^","*","/","%",">>","<<",">>>","<",">","<=",">=","==","===","!=","!==","?","=","+=","-=","/=","*=","%=",">>=","<<=",">>>=","|=","^=","&=","&&","||"]),It=y(n("  \n\r\t\f\v​           \u2028\u2029   \ufeff")),jt=y(n("\n\r\u2028\u2029")),Vt=y(n("[{(,;:")),$t=y(n("[]{}(),;:")),Ht={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]")};N.prototype=Object.create(Error.prototype),N.prototype.constructor=N,N.prototype.name="SyntaxError",a(N);var Kt={},Yt=y(["typeof","void","delete","--","++","!","~","-","+"]),Gt=y(["--","++"]),Wt=y(["=","+=","-=","/=","*=","%=",">>=","<<=",">>>=","|=","^=","&="]),Qt=function(e,t){for(var n=0;n<e.length;++n)for(var r=e[n],i=0;i<r.length;++i)t[r[i]]=n+1;return t}([["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"]],{}),Zt=y(["atom","num","string","regexp","name"]);V.prototype=new k,function(e){function t(t,n){t.DEFMETHOD("transform",function(t,r){var i,o;return t.push(this),t.before&&(i=t.before(this,n,r)),i===e&&(t.after?(t.stack[t.stack.length-1]=i=this,n(i,t),(o=t.after(i,r))!==e&&(i=o)):n(i=this,t)),t.pop(),i})}function n(e,t){return te(e,function(e){return e.transform(t,!0)})}t(re,c),t(pe,function(e,t){e.label=e.label.transform(t),e.body=e.body.transform(t)}),t(se,function(e,t){e.body=e.body.transform(t)}),t(ue,function(e,t){e.body=n(e.body,t)}),t(de,function(e,t){e.condition=e.condition.transform(t),e.body=e.body.transform(t)}),t(ve,function(e,t){e.init&&(e.init=e.init.transform(t)),e.condition&&(e.condition=e.condition.transform(t)),e.step&&(e.step=e.step.transform(t)),e.body=e.body.transform(t)}),t(be,function(e,t){e.init=e.init.transform(t),e.object=e.object.transform(t),e.body=e.body.transform(t)}),t(ye,function(e,t){e.expression=e.expression.transform(t),e.body=e.body.transform(t)}),t(Oe,function(e,t){e.value&&(e.value=e.value.transform(t))}),t(Be,function(e,t){e.label&&(e.label=e.label.transform(t))}),t(Fe,function(e,t){e.condition=e.condition.transform(t),e.body=e.body.transform(t),e.alternative&&(e.alternative=e.alternative.transform(t))}),t(Le,function(e,t){e.expression=e.expression.transform(t),e.body=n(e.body,t)}),t(Ue,function(e,t){e.expression=e.expression.transform(t),e.body=n(e.body,t)}),t(Ne,function(e,t){e.body=n(e.body,t),e.bcatch&&(e.bcatch=e.bcatch.transform(t)),e.bfinally&&(e.bfinally=e.bfinally.transform(t))}),t(qe,function(e,t){e.argname=e.argname.transform(t),e.body=n(e.body,t)}),t(Ie,function(e,t){e.definitions=n(e.definitions,t)}),t(Ve,function(e,t){e.name=e.name.transform(t),e.value&&(e.value=e.value.transform(t))}),t(Ae,function(e,t){e.name&&(e.name=e.name.transform(t)),e.argnames=n(e.argnames,t),e.body=n(e.body,t)}),t($e,function(e,t){e.expression=e.expression.transform(t),e.args=n(e.args,t)}),t(Ke,function(e,t){e.expressions=n(e.expressions,t)}),t(Ge,function(e,t){e.expression=e.expression.transform(t)}),t(We,function(e,t){e.expression=e.expression.transform(t),e.property=e.property.transform(t)}),t(Qe,function(e,t){e.expression=e.expression.transform(t)}),t(Xe,function(e,t){e.left=e.left.transform(t),e.right=e.right.transform(t)}),t(et,function(e,t){e.condition=e.condition.transform(t),e.consequent=e.consequent.transform(t),e.alternative=e.alternative.transform(t)}),t(nt,function(e,t){e.elements=n(e.elements,t)}),t(rt,function(e,t){e.properties=n(e.properties,t)}),t(it,function(e,t){e.value=e.value.transform(t)})}(),$.next_id=1,$.prototype={unmangleable:function(e){return e||(e={}),this.global&&!e.toplevel||this.undeclared||!e.eval&&(this.scope.uses_eval||this.scope.uses_with)||e.keep_fnames&&(this.orig[0]instanceof dt||this.orig[0]instanceof ht)},mangle:function(e){var t=e.cache&&e.cache.props;if(this.global&&t&&t.has(this.name))this.mangled_name=t.get(this.name);else if(!this.mangled_name&&!this.unmangleable(e)){var n=this.scope,r=this.orig[0];e.ie8&&r instanceof dt&&(n=n.parent_scope);var i;(i=this.redefined())?this.mangled_name=i.mangled_name||i.name:this.mangled_name=n.next_mangled(e,this),this.global&&t&&t.set(this.name,this.mangled_name)}},redefined:function(){return this.defun&&this.defun.variables.get(this.name)}},we.DEFMETHOD("figure_out_scope",function(e){e=u(e,{cache:null,ie8:!1});var t=this,n=t.parent_scope=null,r=new w,i=null,o=new k(function(t,o){if(t instanceof qe){a=n;return(n=new _e(t)).init_scope_vars(a),o(),n=a,!0}if(t instanceof _e){t.init_scope_vars(n);var a=n,s=i,u=r;return i=n=t,r=new w,o(),n=a,i=s,r=u,!0}if(t instanceof pe){var l=t.label;if(r.has(l.name))throw new Error(g("Label {name} defined twice",l));return r.set(l.name,l),o(),r.del(l.name),!0}if(t instanceof ye)for(var c=n;c;c=c.parent_scope)c.uses_with=!0;else if(t instanceof ut&&(t.scope=n),t instanceof gt&&(t.thedef=t,t.references=[]),t instanceof dt)i.def_function(t);else if(t instanceof ht)(t.scope=i.parent_scope).def_function(t);else if(t instanceof ft){if(i.def_variable(t),i!==n){t.mark_enclosed(e);var f=n.find_variable(t);t.thedef!==f&&(t.thedef=f,t.reference(e))}}else if(t instanceof mt)n.def_variable(t).defun=i;else if(t instanceof bt){var p=r.get(t.name);if(!p)throw new Error(g("Undefined label {name} [{line},{col}]",{name:t.name,line:t.start.line,col:t.start.col}));t.thedef=p}});t.walk(o),t.globals=new w;o=new k(function(n,r){if(n instanceof Be&&n.label)return n.label.thedef.references.push(n),!0;if(n instanceof vt){var i=n.name;if("eval"==i&&o.parent()instanceof $e)for(u=n.scope;u&&!u.uses_eval;u=u.parent_scope)u.uses_eval=!0;var a=n.scope.find_variable(i);return a?a.scope instanceof Ae&&"arguments"==i&&(a.scope.uses_arguments=!0):a=t.def_global(n),n.thedef=a,n.reference(e),!0}var s;if(n instanceof mt&&(s=n.definition().redefined()))for(var u=n.scope;u&&(m(u.enclosed,s),u!==s.scope);)u=u.parent_scope});t.walk(o),e.ie8&&t.walk(new k(function(n,r){if(n instanceof mt){var i=n.name,o=n.thedef.references,a=n.thedef.defun,s=a.find_variable(i)||t.globals.get(i)||a.def_variable(n);return o.forEach(function(t){t.thedef=s,t.reference(e)}),n.thedef=s,!0}})),e.cache&&(this.cname=e.cache.cname)}),we.DEFMETHOD("def_global",function(e){var t=this.globals,n=e.name;if(t.has(n))return t.get(n);var r=new $(this,t.size(),e);return r.undeclared=!0,r.global=!0,t.set(n,r),r}),_e.DEFMETHOD("init_scope_vars",function(e){this.variables=new w,this.functions=new w,this.uses_with=!1,this.uses_eval=!1,this.parent_scope=e,this.enclosed=[],this.cname=-1}),Ae.DEFMETHOD("init_scope_vars",function(){_e.prototype.init_scope_vars.apply(this,arguments),this.uses_arguments=!1,this.def_variable(new pt({name:"arguments",start:this.start,end:this.end}))}),ut.DEFMETHOD("mark_enclosed",function(e){for(var t=this.definition(),n=this.scope;n&&(m(n.enclosed,t),e.keep_fnames&&n.functions.each(function(e){m(t.scope.enclosed,e)}),n!==t.scope);)n=n.parent_scope}),ut.DEFMETHOD("reference",function(e){this.definition().references.push(this),this.mark_enclosed(e)}),_e.DEFMETHOD("find_variable",function(e){return e instanceof ut&&(e=e.name),this.variables.get(e)||this.parent_scope&&this.parent_scope.find_variable(e)}),_e.DEFMETHOD("def_function",function(e){this.functions.set(e.name,this.def_variable(e))}),_e.DEFMETHOD("def_variable",function(e){var t;return this.variables.has(e.name)?(t=this.variables.get(e.name)).orig.push(e):(t=new $(this,this.variables.size(),e),this.variables.set(e.name,t),t.global=!this.parent_scope),e.thedef=t}),_e.DEFMETHOD("next_mangled",function(e){var t=this.enclosed;e:for(;;){var n=Jt(++this.cname);if(F(n)&&!(e.reserved.indexOf(n)>=0)){for(var r=t.length;--r>=0;){var i=t[r];if(n==(i.mangled_name||i.unmangleable(e)&&i.name))continue e}return n}}}),xe.DEFMETHOD("next_mangled",function(e,t){for(var n=t.orig[0]instanceof pt&&this.name&&this.name.definition(),r=n?n.mangled_name||n.name:null;;){var i=Ae.prototype.next_mangled.call(this,e,t);if(!r||r!=i)return i}}),ut.DEFMETHOD("unmangleable",function(e){var t=this.definition();return!t||t.unmangleable(e)}),gt.DEFMETHOD("unmangleable",f),ut.DEFMETHOD("unreferenced",function(){return 0==this.definition().references.length&&!(this.scope.uses_eval||this.scope.uses_with)}),ut.DEFMETHOD("definition",function(){return this.thedef}),ut.DEFMETHOD("global",function(){return this.definition().global}),we.DEFMETHOD("_default_mangler_options",function(e){return e=u(e,{eval:!1,ie8:!1,keep_fnames:!1,reserved:[],toplevel:!1}),Array.isArray(e.reserved)||(e.reserved=[]),e}),we.DEFMETHOD("mangle_names",function(e){(e=this._default_mangler_options(e)).reserved.push("arguments");var t=-1,n=[];e.cache&&this.globals.each(function(t){e.reserved.indexOf(t.name)<0&&n.push(t)});var r=new k(function(i,o){if(i instanceof pe){var a=t;return o(),t=a,!0}if(i instanceof _e){r.parent();var s=[];return i.variables.each(function(t){e.reserved.indexOf(t.name)<0&&s.push(t)}),void n.push.apply(n,s)}if(i instanceof gt){var u;do{u=Jt(++t)}while(!F(u));return i.mangled_name=u,!0}!e.ie8&&i instanceof mt&&n.push(i.definition())});this.walk(r),n.forEach(function(t){t.mangle(e)}),e.cache&&(e.cache.cname=this.cname)}),we.DEFMETHOD("compute_char_frequency",function(e){function t(e){e instanceof wt?Jt.consider(e.value,-1):e instanceof et?(t(e.consequent),t(e.alternative)):e instanceof Ke&&t(e.expressions[e.expressions.length-1])}e=this._default_mangler_options(e);try{re.prototype.print=function(n,r){this._print(n,r),this instanceof ut&&!this.unmangleable(e)?Jt.consider(this.name,-1):e.properties&&(this instanceof Ge?Jt.consider(this.property,-1):this instanceof We&&t(this.property))},Jt.consider(this.print_to_string(),1)}finally{re.prototype.print=re.prototype._print}Jt.sort()});var Jt=function(){function e(){i=Object.create(null),o.forEach(function(e){i[e]=0}),a.forEach(function(e){i[e]=0})}function t(e,t){return i[t]-i[e]}function n(e){var t="",n=54;e++;do{t+=r[--e%n],e=Math.floor(e/n),n=64}while(e>0);return t}var r,i,o="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_".split(""),a="0123456789".split("");return n.consider=function(e,t){for(var n=e.length;--n>=0;)i[e[n]]+=t},n.sort=function(){r=b(o,t).concat(b(a,t))},n.reset=e,e(),n}(),Xt=/^$|[;{][\s\n]*$/;!function(){function e(e,t){e.DEFMETHOD("_codegen",t)}function t(e,n){Array.isArray(e)?e.forEach(function(e){t(e,n)}):e.DEFMETHOD("needs_parens",n)}function n(e,t,n,r){var i=e.length-1;g=r,e.forEach(function(e,r){!0!==g||e instanceof ae||e instanceof ce||e instanceof se&&e.body instanceof wt||(g=!1),e instanceof ce||(n.indent(),e.print(n),r==i&&t||(n.newline(),t&&n.newline())),!0===g&&e instanceof se&&e.body instanceof wt&&(g=!1)}),g=!1}function r(e,t,r){e.length>0?t.with_block(function(){n(e,!1,t,r)}):t.print("{}")}function i(e,t){var n=e.body;if(t.option("bracketize")||t.option("ie8")&&n instanceof me)return p(n,t);if(!n)return t.force_semicolon();for(;;)if(n instanceof Fe){if(!n.alternative)return void p(e.body,t);n=n.alternative}else{if(!(n instanceof fe))break;n=n.body}s(e.body,t)}function o(e,t,n){var r=!1;n&&e.walk(new k(function(e){return!!(r||e instanceof _e)||(e instanceof Xe&&"in"==e.operator?(r=!0,!0):void 0)})),e.print(t,r)}function a(e,t,n){n.option("quote_keys")?n.print_string(e+""):("number"==typeof e||!n.option("beautify")&&+e+""==e)&&parseFloat(e)>=0?n.print(f(e)):(Mt(e)?!n.option("ie8"):P(e))?t&&n.option("keep_quoted_props")?n.print_string(e,t):n.print_name(e):n.print_string(e,t)}function s(e,t){t.option("bracketize")?p(e,t):!e||e instanceof ce?t.force_semicolon():e.print(t)}function u(e,t){return e.args.length>0||t.option("beautify")}function l(e){for(var t=e[0],n=t.length,r=1;r<e.length;++r)e[r].length<n&&(n=(t=e[r]).length);return t}function f(e){var t,n=e.toString(10),r=[n.replace(/^0\./,".").replace("e+","e")];return Math.floor(e)===e?(e>=0?r.push("0x"+e.toString(16).toLowerCase(),"0"+e.toString(8)):r.push("-0x"+(-e).toString(16).toLowerCase(),"-0"+(-e).toString(8)),(t=/^(.*?)(0+)$/.exec(e))&&r.push(t[1]+"e"+t[2].length)):(t=/^0?\.(0+)(.*)$/.exec(e))&&r.push(t[2]+"e-"+(t[1].length+t[2].length),n.substr(n.indexOf("."))),l(r)}function p(e,t){!e||e instanceof ce?t.print("{}"):e instanceof le?e.print(t):t.with_block(function(){t.indent(),e.print(t),t.newline()})}function h(e,t){e.DEFMETHOD("add_source_map",function(e){t(this,e)})}function d(e,t){t.add_mapping(e.start)}var m=!1,g=!1;re.DEFMETHOD("print",function(e,t){function n(){r.add_comments(e),r.add_source_map(e),i(r,e)}var r=this,i=r._codegen,o=m;r instanceof ae&&"use asm"==r.value&&e.parent()instanceof _e&&(m=!0),e.push_node(r),t||r.needs_parens(e)?e.with_parens(n):n(),e.pop_node(),r instanceof _e&&(m=o)}),re.DEFMETHOD("_print",re.prototype.print),re.DEFMETHOD("print_to_string",function(e){var t=K(e);return e||(t._readonly=!0),this.print(t),t.get()}),re.DEFMETHOD("add_comments",function(e){if(!e._readonly){var t=this,n=t.start;if(n&&!n._comments_dumped){n._comments_dumped=!0;var r=n.comments_before||[];if(t instanceof Oe&&t.value&&t.value.walk(new k(function(e){if(e.start&&e.start.comments_before&&(r=r.concat(e.start.comments_before),e.start.comments_before=[]),e instanceof xe||e instanceof nt||e instanceof rt)return!0})),0==e.pos()){r.length>0&&e.option("shebang")&&"comment5"==r[0].type&&(e.print("#!"+r.shift().value+"\n"),e.indent());var i=e.option("preamble");i&&e.print(i.replace(/\r\n?|[\n\u2028\u2029]|\s*$/g,"\n"))}r=r.filter(e.comment_filter,t),!e.option("beautify")&&r.length>0&&/comment[134]/.test(r[0].type)&&0!==e.col()&&r[0].nlb&&e.print("\n"),r.forEach(function(t){/comment[134]/.test(t.type)?(e.print("//"+t.value+"\n"),e.indent()):"comment2"==t.type&&(e.print("/*"+t.value+"*/"),n.nlb?(e.print("\n"),e.indent()):e.space())})}}}),t(re,function(){return!1}),t(xe,function(e){if(E(e))return!0;if(e.option("webkit")&&(t=e.parent())instanceof Ye&&t.expression===this)return!0;if(e.option("wrap_iife")){var t=e.parent();return t instanceof $e&&t.expression===this}return!1}),t(rt,function(e){return E(e)}),t(Qe,function(e){var t=e.parent();return t instanceof Ye&&t.expression===this||t instanceof $e&&t.expression===this}),t(Ke,function(e){var t=e.parent();return t instanceof $e||t instanceof Qe||t instanceof Xe||t instanceof Ve||t instanceof Ye||t instanceof nt||t instanceof it||t instanceof et}),t(Xe,function(e){var t=e.parent();if(t instanceof $e&&t.expression===this)return!0;if(t instanceof Qe)return!0;if(t instanceof Ye&&t.expression===this)return!0;if(t instanceof Xe){var n=t.operator,r=Qt[n],i=this.operator,o=Qt[i];if(r>o||r==o&&this===t.right)return!0}}),t(Ye,function(e){var t=e.parent();if(t instanceof He&&t.expression===this){var n=!1;return this.walk(new k(function(e){return!!(n||e instanceof _e)||(e instanceof $e?(n=!0,!0):void 0)})),n}}),t($e,function(e){var t,n=e.parent();return n instanceof He&&n.expression===this||this.expression instanceof xe&&n instanceof Ye&&n.expression===this&&(t=e.parent(1))instanceof tt&&t.left===n}),t(He,function(e){var t=e.parent();if(!u(this,e)&&(t instanceof Ye||t instanceof $e&&t.expression===this))return!0}),t(At,function(e){var t=e.parent();if(t instanceof Ye&&t.expression===this){var n=this.getValue();if(n<0||/^0/.test(f(n)))return!0}}),t([tt,et],function(e){var t=e.parent();return t instanceof Qe||(t instanceof Xe&&!(t instanceof tt)||(t instanceof $e&&t.expression===this||(t instanceof et&&t.condition===this||(t instanceof Ye&&t.expression===this||void 0))))}),e(ae,function(e,t){t.print_string(e.value,e.quote),t.semicolon()}),e(oe,function(e,t){t.print("debugger"),t.semicolon()}),fe.DEFMETHOD("_do_print_body",function(e){s(this.body,e)}),e(ie,function(e,t){e.body.print(t),t.semicolon()}),e(we,function(e,t){n(e.body,!0,t,!0),t.print("")}),e(pe,function(e,t){e.label.print(t),t.colon(),e.body.print(t)}),e(se,function(e,t){e.body.print(t),t.semicolon()}),e(le,function(e,t){r(e.body,t)}),e(ce,function(e,t){t.semicolon()}),e(me,function(e,t){t.print("do"),t.space(),p(e.body,t),t.space(),t.print("while"),t.space(),t.with_parens(function(){e.condition.print(t)}),t.semicolon()}),e(ge,function(e,t){t.print("while"),t.space(),t.with_parens(function(){e.condition.print(t)}),t.space(),e._do_print_body(t)}),e(ve,function(e,t){t.print("for"),t.space(),t.with_parens(function(){e.init?(e.init instanceof Ie?e.init.print(t):o(e.init,t,!0),t.print(";"),t.space()):t.print(";"),e.condition?(e.condition.print(t),t.print(";"),t.space()):t.print(";"),e.step&&e.step.print(t)}),t.space(),e._do_print_body(t)}),e(be,function(e,t){t.print("for"),t.space(),t.with_parens(function(){e.init.print(t),t.space(),t.print("in"),t.space(),e.object.print(t)}),t.space(),e._do_print_body(t)}),e(ye,function(e,t){t.print("with"),t.space(),t.with_parens(function(){e.expression.print(t)}),t.space(),e._do_print_body(t)}),Ae.DEFMETHOD("_do_print",function(e,t){var n=this;t||e.print("function"),n.name&&(e.space(),n.name.print(e)),e.with_parens(function(){n.argnames.forEach(function(t,n){n&&e.comma(),t.print(e)})}),e.space(),r(n.body,e,!0)}),e(Ae,function(e,t){e._do_print(t)}),Oe.DEFMETHOD("_do_print",function(e,t){e.print(t),this.value&&(e.space(),this.value.print(e)),e.semicolon()}),e(Se,function(e,t){e._do_print(t,"return")}),e(De,function(e,t){e._do_print(t,"throw")}),Be.DEFMETHOD("_do_print",function(e,t){e.print(t),this.label&&(e.space(),this.label.print(e)),e.semicolon()}),e(Te,function(e,t){e._do_print(t,"break")}),e(Re,function(e,t){e._do_print(t,"continue")}),e(Fe,function(e,t){t.print("if"),t.space(),t.with_parens(function(){e.condition.print(t)}),t.space(),e.alternative?(i(e,t),t.space(),t.print("else"),t.space(),e.alternative instanceof Fe?e.alternative.print(t):s(e.alternative,t)):e._do_print_body(t)}),e(Le,function(e,t){t.print("switch"),t.space(),t.with_parens(function(){e.expression.print(t)}),t.space();var n=e.body.length-1;n<0?t.print("{}"):t.with_block(function(){e.body.forEach(function(e,r){t.indent(!0),e.print(t),r<n&&e.body.length>0&&t.newline()})})}),Me.DEFMETHOD("_do_print_body",function(e){e.newline(),this.body.forEach(function(t){e.indent(),t.print(e),e.newline()})}),e(Pe,function(e,t){t.print("default:"),e._do_print_body(t)}),e(Ue,function(e,t){t.print("case"),t.space(),e.expression.print(t),t.print(":"),e._do_print_body(t)}),e(Ne,function(e,t){t.print("try"),t.space(),r(e.body,t),e.bcatch&&(t.space(),e.bcatch.print(t)),e.bfinally&&(t.space(),e.bfinally.print(t))}),e(qe,function(e,t){t.print("catch"),t.space(),t.with_parens(function(){e.argname.print(t)}),t.space(),r(e.body,t)}),e(ze,function(e,t){t.print("finally"),t.space(),r(e.body,t)}),Ie.DEFMETHOD("_do_print",function(e,t){e.print(t),e.space(),this.definitions.forEach(function(t,n){n&&e.comma(),t.print(e)});var n=e.parent();(n instanceof ve||n instanceof be)&&n.init===this||e.semicolon()}),e(je,function(e,t){e._do_print(t,"var")}),e(Ve,function(e,t){if(e.name.print(t),e.value){t.space(),t.print("="),t.space();var n=t.parent(1),r=n instanceof ve||n instanceof be;o(e.value,t,r)}}),e($e,function(e,t){e.expression.print(t),e instanceof He&&!u(e,t)||(e.expression instanceof Ae&&t.add_mapping(e.start),t.with_parens(function(){e.args.forEach(function(e,n){n&&t.comma(),e.print(t)})}))}),e(He,function(e,t){t.print("new"),t.space(),$e.prototype._codegen(e,t)}),Ke.DEFMETHOD("_do_print",function(e){this.expressions.forEach(function(t,n){n>0&&(e.comma(),e.should_break()&&(e.newline(),e.indent())),t.print(e)})}),e(Ke,function(e,t){e._do_print(t)}),e(Ge,function(e,t){var n=e.expression;n.print(t);var r=e.property;t.option("ie8")&&Mt(r)?(t.print("["),t.add_mapping(e.end),t.print_string(r),t.print("]")):(n instanceof At&&n.getValue()>=0&&(/[xa-f.)]/i.test(t.last())||t.print(".")),t.print("."),t.add_mapping(e.end),t.print_name(r))}),e(We,function(e,t){e.expression.print(t),t.print("["),e.property.print(t),t.print("]")}),e(Ze,function(e,t){var n=e.operator;t.print(n),(/^[a-z]/i.test(n)||/[+-]$/.test(n)&&e.expression instanceof Ze&&/^[+-]/.test(e.expression.operator))&&t.space(),e.expression.print(t)}),e(Je,function(e,t){e.expression.print(t),t.print(e.operator)}),e(Xe,function(e,t){var n=e.operator;e.left.print(t),">"==n[0]&&e.left instanceof Je&&"--"==e.left.operator?t.print(" "):t.space(),t.print(n),("<"==n||"<<"==n)&&e.right instanceof Ze&&"!"==e.right.operator&&e.right.expression instanceof Ze&&"--"==e.right.expression.operator?t.print(" "):t.space(),e.right.print(t)}),e(et,function(e,t){e.condition.print(t),t.space(),t.print("?"),t.space(),e.consequent.print(t),t.space(),t.colon(),e.alternative.print(t)}),e(nt,function(e,t){t.with_square(function(){var n=e.elements,r=n.length;r>0&&t.space(),n.forEach(function(e,n){n&&t.comma(),e.print(t),n===r-1&&e instanceof St&&t.comma()}),r>0&&t.space()})}),e(rt,function(e,t){e.properties.length>0?t.with_block(function(){e.properties.forEach(function(e,n){n&&(t.print(","),t.newline()),t.indent(),e.print(t)}),t.newline()}):t.print("{}")}),e(ot,function(e,t){a(e.key,e.quote,t),t.colon(),e.value.print(t)}),it.DEFMETHOD("_print_getter_setter",function(e,t){t.print(e),t.space(),a(this.key.name,this.quote,t),this.value._do_print(t,!0)}),e(at,function(e,t){e._print_getter_setter("set",t)}),e(st,function(e,t){e._print_getter_setter("get",t)}),e(ut,function(e,t){var n=e.definition();t.print_name(n?n.mangled_name||n.name:e.name)}),e(St,c),e(yt,function(e,t){t.print("this")}),e(_t,function(e,t){t.print(e.getValue())}),e(wt,function(e,t){t.print_string(e.getValue(),e.quote,g)}),e(At,function(e,t){m&&e.start&&null!=e.start.raw?t.print(e.start.raw):t.print(f(e.getValue()))}),e(Et,function(e,t){var n=e.getValue(),r=n.toString();n.raw_source&&(r="/"+n.raw_source+r.slice(r.lastIndexOf("/"))),r=t.to_utf8(r),t.print(r);var i=t.parent();i instanceof Xe&&/^in/.test(i.operator)&&i.left===e&&t.print(" ")}),h(re,c),h(ae,d),h(oe,d),h(ut,d),h(ke,d),h(fe,d),h(pe,c),h(Ae,d),h(Le,d),h(Me,d),h(le,d),h(we,c),h(He,d),h(Ne,d),h(qe,d),h(ze,d),h(Ie,d),h(_t,d),h(at,function(e,t){t.add_mapping(e.start,e.key.name)}),h(st,function(e,t){t.add_mapping(e.start,e.key.name)}),h(it,function(e,t){t.add_mapping(e.start,e.key)})}(),Y.prototype=new V,l(Y.prototype,{option:function(e){return this.options[e]},exposed:function(e){if(e.global)for(var t=0,n=e.orig.length;t<n;t++)if(!this.toplevel[e.orig[t]instanceof ht?"funcs":"vars"])return!0;return!1},compress:function(e){this.option("expression")&&e.process_expression(!0);for(var t=+this.options.passes||1,n=1/0,r=0;r<t;r++)if((r>0||this.option("reduce_vars"))&&e.reset_opt_flags(this,!0),e=e.transform(this),t>1){var i=0;if(e.walk(new k(function(){i++})),this.info("pass "+r+": last_count: "+n+", count: "+i),i>=n)break;n=i}return this.option("expression")&&e.process_expression(!1),e},info:function(){"verbose"==this.options.warnings&&re.warn.apply(re,arguments)},warn:function(e,t){if(this.options.warnings){var n=g(e,t);n in this.warnings_produced||(this.warnings_produced[n]=!0,re.warn.apply(re,arguments))}},clear_warnings:function(){this.warnings_produced={}},before:function(e,t,n){if(e._squeezed)return e;var r=!1;e instanceof _e&&(e=e.hoist_declarations(this),r=!0),t(e,this),t(e,this);var i=e.optimize(this);return r&&i instanceof _e&&(i.drop_unused(this),t(i,this)),i===e&&(i._squeezed=!0),i}}),function(){function e(e,t){e.DEFMETHOD("optimize",function(e){var n=this;if(n._optimized)return n;if(e.has_directive("use asm"))return n;var r=t(n,e);return r._optimized=!0,r})}function t(e){if(e instanceof vt)return e.definition().orig[0]instanceof dt;if(e instanceof Ye){if((e=e.expression)instanceof vt){if(e.is_immutable())return!1;e=e.fixed_value()}return!e||!(e instanceof Et)&&(e instanceof _t||t(e))}return!1}function n(e,t){for(var n,r=0;(n=e.parent(r++))&&!(n instanceof _e);)if(n instanceof qe){n=n.argname.definition().scope;break}return n.find_variable(t)}function o(e,t,n){return n||(n={}),t&&(n.start||(n.start=t.start),n.end||(n.end=t.end)),new e(n)}function a(e,t){return 1==t.length?t[0]:o(Ke,e,{expressions:t})}function s(e,t){switch(typeof e){case"string":return o(wt,t,{value:e});case"number":return isNaN(e)?o(kt,t):isFinite(e)?1/e<0?o(Ze,t,{operator:"-",expression:o(At,t,{value:-e})}):o(At,t,{value:e}):e<0?o(Ze,t,{operator:"-",expression:o(Dt,t)}):o(Dt,t);case"boolean":return o(e?Rt:Tt,t);case"undefined":return o(Ot,t);default:if(null===e)return o(Ct,t,{value:null});if(e instanceof RegExp)return o(Et,t,{value:e});throw new Error(g("Can't handle constant of type: {type}",{type:typeof e}))}}function u(e,t,n){return e instanceof Ze&&"delete"==e.operator||e instanceof $e&&e.expression===t&&(n instanceof Ye||n instanceof vt&&"eval"==n.name)?a(t,[o(At,t,{value:0}),n]):n}function l(e,t){t instanceof Ke?e.push.apply(e,t.expressions):e.push(t)}function m(e){if(null===e)return[];if(e instanceof le)return e.body;if(e instanceof ce)return[];if(e instanceof ie)return[e];throw new Error("Can't convert thing to statement array")}function b(e){return null===e||(e instanceof ce||e instanceof le&&0==e.body.length)}function x(e){return e instanceof Le?e:(e instanceof ve||e instanceof be||e instanceof de)&&e.body instanceof le?e.body:e}function O(e){return e instanceof $e&&!(e instanceof He)&&(e.expression instanceof xe||O(e.expression))}function S(e){return e instanceof vt&&e.definition().undeclared}function D(e,n){function r(e){for(var t=[],n=0;n<e.length;){var i=e[n];i instanceof le?(s=!0,r(i.body),[].splice.apply(e,[n,1].concat(i.body)),n+=i.body.length):i instanceof ce?(s=!0,e.splice(n,1)):i instanceof ae?t.indexOf(i.value)<0?(n++,t.push(i.value)):(s=!0,e.splice(n,1)):n++}}function i(e,t){function n(e){i--;var n=r.body;return n instanceof Ke||(n=o(Ke,n,{expressions:[n]})),l(n.expressions,e),n.transform(t)}for(var r,i=0,a=0,s=e.length;a<s;a++){var u=e[a];if(r)if(u instanceof ve&&!(u.init instanceof Ie)){var c=!1;r.body.walk(new k(function(e){return!!(c||e instanceof _e)||(e instanceof Xe&&"in"==e.operator?(c=!0,!0):void 0)})),c||(u.init?u.init=n(u.init):(u.init=r.body.drop_side_effect_free(t),i--))}else u instanceof Fe?u.condition=n(u.condition):u instanceof ye?u.expression=n(u.expression):u instanceof Oe&&u.value?u.value=n(u.value):u instanceof Oe?u.value=n(o(Ot,u).transform(t)):u instanceof Le&&(u.expression=n(u.expression));e[i++]=u,r=u instanceof se?u:null}e.length=i}var s,c=10;do{s=!1,r(e),n.option("dead_code")&&function(e,t){for(var n,r=t.self(),i=0,o=0,a=e.length;i<a;i++){var u=e[i];if(u instanceof Be){var l=t.loopcontrol_target(u);u instanceof Te&&!(l instanceof he)&&x(l)===r||u instanceof Re&&x(l)===r?u.label&&v(u.label.thedef.references,u):e[o++]=u}else e[o++]=u;if(U(u)){n=e.slice(i+1);break}}e.length=o,s=o!=a,n&&n.forEach(function(n){B(t,n,e)})}(e,n),n.option("if_return")&&function(e,t){function n(e){return!e||e instanceof Ze&&"void"==e.operator}function r(e){if(!e)return!1;var r=e instanceof Be?t.loopcontrol_target(e):null;return e instanceof Se&&c&&n(e.value)||e instanceof Re&&u===x(r)||e instanceof Te&&r instanceof le&&u===r}function i(){var t=e.slice(f+1);return e.length=f+1,t.filter(function(t){return!(t instanceof Ce&&(e.push(t),1))})}function a(e,t){var n=m(e).slice(0,-1);return t.value&&n.push(o(se,t.value,{body:t.value.expression})),n}for(var u=t.self(),l=function(e){for(var t=0,n=e.length;--n>=0;){var r=e[n];if(r instanceof Fe&&r.body instanceof Se&&++t>1)return!0}return!1}(e),c=u instanceof Ae,f=e.length;--f>=0;){var p=e[f],h=e[f+1];if(c&&p instanceof Se&&!p.value&&!h)s=!0,e.length--;else{if(p instanceof Fe){var d=U(p.body);if(r(d)){d.label&&v(d.label.thedef.references,d),s=!0,(p=p.clone()).condition=p.condition.negate(t),g=a(p.body,d),p.body=o(le,p,{body:m(p.alternative).concat(i())}),p.alternative=o(le,p,{body:g}),e[f]=p.transform(t);continue}if(r(d=U(p.alternative))){d.label&&v(d.label.thedef.references,d),s=!0,(p=p.clone()).body=o(le,p.body,{body:m(p.body).concat(i())});var g=a(p.alternative,d);p.alternative=o(le,p.alternative,{body:g}),e[f]=p.transform(t);continue}}if(p instanceof Fe&&p.body instanceof Se){var b=p.body.value;if(!b&&!p.alternative&&(c&&!h||h instanceof Se&&!h.value)){s=!0,e[f]=o(se,p.condition,{body:p.condition});continue}if(b&&!p.alternative&&h instanceof Se&&h.value){s=!0,(p=p.clone()).alternative=h,e.splice(f,2,p.transform(t));continue}if(l&&c&&b&&!p.alternative&&(!h||h instanceof Se)){s=!0,(p=p.clone()).alternative=h||o(Se,p,{value:null}),e.splice(f,h?2:1,p.transform(t));continue}var y=e[f-1];if(t.option("sequences")&&c&&!p.alternative&&y instanceof Fe&&y.body instanceof Se&&f+2==e.length&&h instanceof se){s=!0,e.push(o(Se,h,{value:null}).transform(t));continue}}}}}(e,n),n.sequences_limit>0&&function(e,t){function n(){if(r.length){var t=a(r[0],r);e[u++]=o(se,t,{body:t}),r=[]}}if(!(e.length<2)){for(var r=[],u=0,c=0,f=e.length;c<f;c++){var p=e[c];if(p instanceof se){r.length>=t.sequences_limit&&n();var h=p.body;r.length>0&&(h=h.drop_side_effect_free(t)),h&&l(r,h)}else n(),e[u++]=p}n(),e.length=u,i(e,t),s=e.length!=f}}(e,n),n.option("join_vars")&&function(e,t){for(var n=0,r=-1,i=e.length;n<i;n++){var o=e[n],a=e[r];o instanceof Ie&&a&&a.TYPE==o.TYPE?(a.definitions=a.definitions.concat(o.definitions),s=!0):o instanceof ve&&a instanceof je&&(!o.init||o.init.TYPE==a.TYPE)?(s=!0,o.init?o.init.definitions=a.definitions.concat(o.init.definitions):o.init=a,e[r]=o):e[++r]=o}e.length=r+1}(e),n.option("collapse_vars")&&function(e,n){function r(e){e instanceof tt&&!e.left.has_side_effects(n)||e instanceof Qe&&("++"==e.operator||"--"==e.operator)?f.push(e):e instanceof Ke?e.expressions.forEach(r):e instanceof Ie?e.definitions.forEach(function(e){e.value&&f.push(e)}):e instanceof se?r(e.body):e instanceof ve&&e.init&&r(e.init)}function i(e){for(;e instanceof Ye;)e=e.expression;return e}function a(e){return e instanceof Ve?e.value&&e.name:R(e.left,e)}function l(e){return 1==e.orig.length&&e.orig[0]instanceof ht||e.scope===c&&e.references.every(function(e){return e.scope===c})}var c=n.find_parent(_e);if(c.uses_eval||c.uses_with)return e;for(var f=[],p=e.length;--p>=0;)for(0==p&&n.option("unused")&&function(){var e,t=n.self();if(t instanceof xe&&!t.name&&!t.uses_arguments&&!t.uses_eval&&(e=n.parent())instanceof $e&&e.expression===t)for(var r=Object.create(null),i=t.argnames.length;--i>=0;){var a=t.argnames[i];if(!(a.name in r)){r[a.name]=!0;var s=e.args[i];if(s){var u=new k(function(e){if(!s)return!0;if(e instanceof vt&&t.variables.has(e.name)){var n=e.definition().scope;if(n!==c)for(;n=n.parent_scope;)if(n===c)return!0;s=null}return e instanceof yt&&!u.find_parent(_e)?(s=null,!0):void 0});s.walk(u)}else s=o(Ot,a);s&&f.unshift(o(Ve,a,{name:a,value:s}))}}}(),r(e[p]);f.length>0;){var h=f.pop(),d=function(e){if(!(e instanceof Ve))return e[e instanceof tt?"left":"expression"];var t=e.name.definition();return t.orig.length>1&&!(e.name instanceof pt)||1==t.references.length&&!n.exposed(t)?o(vt,e.name,e.name):void 0}(h);if(d&&!t(d)){var m=function(e){var t=Object.create(null);if(e instanceof Qe)return t;var n,r=new k(function(e,o){if(e instanceof _e){var a=n;return o(),n=a,!0}if(e instanceof vt||e instanceof Ye){var s=i(e);s instanceof vt&&(t[s.name]=t[s.name]||R(e,r.parent()))}});return e[e instanceof tt?"right":"value"].walk(r),t}(h);d instanceof vt&&(m[d.name]=!1);for(var g=function(e){return!(e instanceof Qe)&&e[e instanceof tt?"right":"value"].has_side_effects(n)}(h),b=h.name instanceof pt,y=!1,_=!1,w=new V(function(e,t){if(y)return e;if(b){var r=w.parent();if(e instanceof tt&&"="!=e.operator&&d.equivalent_to(e.left)||e instanceof $e&&d instanceof Ye&&d.equivalent_to(e.expression)||e instanceof oe||e instanceof he&&!(e instanceof ve)||e instanceof vt&&!e.is_declared(n)||e instanceof Ne||e instanceof ye||r instanceof ve&&e!==r.init)return y=!0,e;if(!(e instanceof ct)&&!R(e,r)&&d.equivalent_to(e)){if(s=_=y=!0,n.info("Collapsing {name} [{file}:{line},{col}]",{name:e.print_to_string(),file:e.start.file,line:e.start.line,col:e.start.col}),h instanceof Je)return o(Ze,h,h);if(h instanceof Ve){var c=h.name.definition();return 1!=c.references.length||n.exposed(c)?o(tt,h,{operator:"=",left:o(vt,h.name,h.name),right:h.value}):u(r,e,h.value)}return h.write_only=!1,h}var f;return e instanceof $e||e instanceof Oe||e instanceof Ye||e instanceof vt&&(m[e.name]||g&&!l(e.definition()))||(f=a(e))&&i(f).name in m||r instanceof Xe&&("&&"==r.operator||"||"==r.operator)||r instanceof Ue||r instanceof et||r instanceof ve||r instanceof Fe?(e instanceof _e||t(e,w),y=!0,e):e instanceof Pe||e instanceof _e?e:void 0}return e===h?(b=!0,e):void 0}),A=p;!y&&A<e.length;A++)e[A].transform(w);_&&!function(t){if(t.name instanceof pt){var r=n.self().argnames.indexOf(t.name),i=n.parent().args;return i[r]&&(i[r]=o(At,i[r],{value:0})),!0}var a=!1;return e[p].transform(new V(function(e,n,r){return a?e:e===t?(a=!0,e instanceof Ve&&v(e.name.definition().orig,e.name),r?te.skip:null):void 0},function(e){if(e instanceof Ke)switch(e.expressions.length){case 0:return null;case 1:return e.expressions[0]}if(e instanceof Ie&&0==e.definitions.length||e instanceof se&&!e.body)return null}))}(h)&&e.splice(p,1)}}}(e,n)}while(s&&c-- >0)}function B(e,t,n){t instanceof Ce||e.warn("Dropping unreachable code [{file}:{line},{col}]",t.start),t.walk(new k(function(r){return r instanceof Ie?(e.warn("Declarations in unreachable code! [{file}:{line},{col}]",r.start),r.remove_initializers(),n.push(r),!0):r instanceof Ce&&(r===t||!e.has_directive("use strict"))?(n.push(r),!0):r instanceof _e||void 0}))}function T(e,t){return e.is_undefined||e instanceof Ot||e instanceof Ze&&"void"==e.operator&&!e.expression.has_side_effects(t)}function R(e,t){return t instanceof Qe&&H(t.operator)?t.expression:t instanceof tt&&t.left===e?e:void 0}function F(e,t){return e.print_to_string().length>t.print_to_string().length?t:e}function L(e,t){return F(o(se,e,{body:e}),o(se,t,{body:t})).body}function M(e,t,n){return(E(e)?L:F)(t,n)}function U(e){return e&&e.aborts()}function q(e,t){function n(n){n=m(n),e.body instanceof le?(e.body=e.body.clone(),e.body.body=n.concat(e.body.body.slice(1)),e.body=e.body.transform(t)):e.body=o(le,e.body,{body:n}).transform(t),q(e,t)}var r=e.body instanceof le?e.body.body[0]:e.body;r instanceof Fe&&(r.body instanceof Te&&t.loopcontrol_target(r.body)===t.self()?(e.condition?e.condition=o(Xe,e.condition,{left:e.condition,operator:"&&",right:r.condition.negate(t)}):e.condition=r.condition.negate(t),n(r.alternative)):r.alternative instanceof Te&&t.loopcontrol_target(r.alternative)===t.self()&&(e.condition?e.condition=o(Xe,e.condition,{left:e.condition,operator:"&&",right:r.condition}):e.condition=r.condition,n(r.body)))}function z(e,t){return e instanceof vt||e.TYPE===t.TYPE}function I(e,t){return t.option("booleans")&&t.in_boolean_context()?M(t,e,a(e,[e,o(Rt,e)]).optimize(t)):e}e(re,function(e,t){return e}),re.DEFMETHOD("equivalent_to",function(e){return this.TYPE==e.TYPE&&this.print_to_string()==e.print_to_string()}),_e.DEFMETHOD("process_expression",function(e,t){var n=this,r=new V(function(i){if(e&&i instanceof se)return o(Se,i,{value:i.body});if(!e&&i instanceof Se){if(t){var a=i.value&&i.value.drop_side_effect_free(t,!0);return a?o(se,i,{body:a}):o(ce,i)}return o(se,i,{body:i.value||o(Ze,i,{operator:"void",expression:o(At,i,{value:0})})})}if(i instanceof Ae&&i!==n)return i;if(i instanceof ue){var s=i.body.length-1;s>=0&&(i.body[s]=i.body[s].transform(r))}return i instanceof Fe&&(i.body=i.body.transform(r),i.alternative&&(i.alternative=i.alternative.transform(r))),i instanceof ye&&(i.body=i.body.transform(r)),i});n.transform(r)}),re.DEFMETHOD("reset_opt_flags",function(e,t){function n(e,t){p[e.id]=t}function r(e){if(p[e.id]){if(null==e.fixed){var t=e.orig[0];if(t instanceof pt||"arguments"==t.name)return!1;e.fixed=o(Ot,t)}return!0}}function i(e,t){return!!A(p,e.id)&&(!!r(e)&&(!1!==e.fixed&&(!(null!=e.fixed&&(!t||e.references.length>0))&&!e.orig.some(function(e){return e instanceof ht||e instanceof dt}))))}function a(){p=Object.create(p)}function s(){p=Object.getPrototypeOf(p)}function u(t){t.escaped=!1,t.scope.uses_eval?t.fixed=!1:e.exposed(t)?t.fixed=!1:t.fixed=void 0,t.references=[],t.should_replace=void 0}function l(e){return e&&e.is_constant()||e instanceof Ae}function c(e,t,n){var r=d.parent(t);return!!(R(e,r)||!n&&r instanceof $e&&r.expression===e)||(r instanceof Ye&&r.expression===e?!n&&c(r,t+1):void 0)}var f=t&&e.option("reduce_vars"),p=Object.create(null),h=new k(function(e){if(e instanceof ut){var t=e.definition();t&&(e instanceof vt&&t.references.push(e),t.fixed=!1)}}),d=new k(function(t,m){if(t._squeezed=!1,t._optimized=!1,f){if(t instanceof we&&t.globals.each(u),t instanceof _e&&t.variables.each(u),t instanceof vt)if((v=t.definition()).references.push(t),void 0===v.fixed||!r(v)||c(t,0,l(t.fixed_value())))v.fixed=!1;else{var g=d.parent();(g instanceof tt&&"="==g.operator&&t===g.right||g instanceof $e&&t!==g.expression||g instanceof Se&&t===g.value&&t.scope!==v.scope||g instanceof Ve&&t===g.value)&&(v.escaped=!0)}if(t instanceof mt&&(t.definition().fixed=!1),t instanceof Ve){if(void 0===(v=t.name.definition()).fixed||i(v,t.value))return t.value?(v.fixed=function(){return t.value},n(v,!1),m()):v.fixed=null,n(v,!0),!0;t.value&&(v.fixed=!1)}if(t instanceof tt&&"="==t.operator&&t.left instanceof vt&&i(v=t.left.definition(),t.right))return v.references.push(t.left),v.fixed=function(){return t.right},n(v,!1),t.right.walk(d),n(v,!0),!0;if(t instanceof Ce){var v=t.name.definition();e.exposed(v)||r(v)?v.fixed=!1:(v.fixed=t,n(v,!0));y=p;return p=Object.create(null),m(),p=y,!0}if(t instanceof xe){a();var b;return!t.name&&(b=d.parent())instanceof $e&&b.expression===t&&t.argnames.forEach(function(e,r){var i=e.definition();t.uses_arguments||void 0!==i.fixed?i.fixed=!1:(i.fixed=function(){return b.args[r]||o(Ot,b)},n(i,!0))}),m(),s(),!0}if(t instanceof Ee){var y=p;return p=Object.create(null),m(),p=y,!0}if(t instanceof Xe&&("&&"==t.operator||"||"==t.operator))return t.left.walk(d),a(),t.right.walk(d),s(),!0;if(t instanceof et)return t.condition.walk(d),a(),t.consequent.walk(d),s(),a(),t.alternative.walk(d),s(),!0;if(t instanceof Fe)return t.condition.walk(d),a(),t.body.walk(d),s(),t.alternative&&(a(),t.alternative.walk(d),s()),!0;if(t instanceof de)return a(),t.condition.walk(d),t.body.walk(d),s(),!0;if(t instanceof pe)return a(),t.body.walk(d),s(),!0;if(t instanceof ve)return t.init&&t.init.walk(d),t.condition&&(a(),t.condition.walk(d),s()),a(),t.body.walk(d),s(),t.step&&(a(),t.step.walk(d),s()),!0;if(t instanceof be)return t.init.walk(h),t.object.walk(d),a(),t.body.walk(d),s(),!0;if(t instanceof Ne)return a(),C(t,d),s(),t.bcatch&&(a(),t.bcatch.walk(d),s()),t.bfinally&&t.bfinally.walk(d),!0;if(t instanceof Me)return a(),m(),s(),!0}});this.walk(d)}),vt.DEFMETHOD("fixed_value",function(){var e=this.definition().fixed;return!e||e instanceof re?e:e()}),vt.DEFMETHOD("is_immutable",function(){var e=this.definition().orig;return 1==e.length&&e[0]instanceof dt});var $=y("Array Boolean console Error Function Math Number RegExp Object String");vt.DEFMETHOD("is_declared",function(e){return!this.definition().undeclared||e.option("unsafe")&&$(this.name)}),function(e){function t(e){return/strict/.test(e.option("pure_getters"))}re.DEFMETHOD("may_throw_on_access",function(e){return!e.option("pure_getters")||this._dot_throw(e)}),e(re,t),e(Ct,p),e(Ot,p),e(_t,f),e(nt,f),e(rt,function(e){if(!t(e))return!1;for(var n=this.properties.length;--n>=0;)if(this.properties[n].value instanceof Ee)return!0;return!1}),e(xe,f),e(Je,f),e(Ze,function(){return"void"==this.operator}),e(Xe,function(e){switch(this.operator){case"&&":return this.left._dot_throw(e);case"||":return this.left._dot_throw(e)&&this.right._dot_throw(e);default:return!1}}),e(tt,function(e){return"="==this.operator&&this.right._dot_throw(e)}),e(et,function(e){return this.consequent._dot_throw(e)||this.alternative._dot_throw(e)}),e(Ke,function(e){return this.expressions[this.expressions.length-1]._dot_throw(e)}),e(vt,function(e){if(this.is_undefined)return!0;if(!t(e))return!1;if(S(this)&&this.is_declared(e))return!1;if(this.is_immutable())return!1;var n=this.fixed_value();return!n||n._dot_throw(e)})}(function(e,t){e.DEFMETHOD("_dot_throw",t)}),function(e){var t=["!","delete"],n=["in","instanceof","==","!=","===","!==","<","<=",">=",">"];e(re,f),e(Ze,function(){return r(this.operator,t)}),e(Xe,function(){return r(this.operator,n)||("&&"==this.operator||"||"==this.operator)&&this.left.is_boolean()&&this.right.is_boolean()}),e(et,function(){return this.consequent.is_boolean()&&this.alternative.is_boolean()}),e(tt,function(){return"="==this.operator&&this.right.is_boolean()}),e(Ke,function(){return this.expressions[this.expressions.length-1].is_boolean()}),e(Rt,p),e(Tt,p)}(function(e,t){e.DEFMETHOD("is_boolean",t)}),function(e){e(re,f),e(At,p);var t=y("+ - ~ ++ --");e(Qe,function(){return t(this.operator)});var n=y("- * / % & | ^ << >> >>>");e(Xe,function(e){return n(this.operator)||"+"==this.operator&&this.left.is_number(e)&&this.right.is_number(e)}),e(tt,function(e){return n(this.operator.slice(0,-1))||"="==this.operator&&this.right.is_number(e)}),e(Ke,function(e){return this.expressions[this.expressions.length-1].is_number(e)}),e(et,function(e){return this.consequent.is_number(e)&&this.alternative.is_number(e)})}(function(e,t){e.DEFMETHOD("is_number",t)}),function(e){e(re,f),e(wt,p),e(Ze,function(){return"typeof"==this.operator}),e(Xe,function(e){return"+"==this.operator&&(this.left.is_string(e)||this.right.is_string(e))}),e(tt,function(e){return("="==this.operator||"+="==this.operator)&&this.right.is_string(e)}),e(Ke,function(e){return this.expressions[this.expressions.length-1].is_string(e)}),e(et,function(e){return this.consequent.is_string(e)&&this.alternative.is_string(e)})}(function(e,t){e.DEFMETHOD("is_string",t)});var H=y("delete ++ --");!function(e){function t(e,n){if(e instanceof re)return o(e.CTOR,n,e);if(Array.isArray(e))return o(nt,n,{elements:e.map(function(e){return t(e,n)})});if(e&&"object"==typeof e){var r=[];for(var i in e)A(e,i)&&r.push(o(ot,n,{key:i,value:t(e[i],n)}));return o(rt,n,{properties:r})}return s(e,n)}re.DEFMETHOD("resolve_defines",function(e){if(e.option("global_defs")){var t=this._find_defs(e,"");if(t){var n,r=this,i=0;do{n=r,r=e.parent(i++)}while(r instanceof Ye&&r.expression===n);if(!R(n,r))return t;e.warn("global_defs "+this.print_to_string()+" redefined [{file}:{line},{col}]",this.start)}}}),e(re,c),e(Ge,function(e,t){return this.expression._find_defs(e,"."+this.property+t)}),e(vt,function(e,n){if(this.global()){var r,i=e.option("global_defs");if(i&&A(i,r=this.name+n)){var o=t(i[r],this),a=e.find_parent(we);return o.walk(new k(function(e){e instanceof vt&&(e.scope=a,e.thedef=a.def_global(e))})),o}}})}(function(e,t){e.DEFMETHOD("_find_defs",t)}),function(e){function t(e,t){if(!t)throw new Error("Compressor must be passed");return e._eval(t)}function n(e){for(var t in e)e[t]=y(e[t])}re.DEFMETHOD("evaluate",function(e){if(!e.option("evaluate"))return this;var t=this._eval(e);return!t||t instanceof RegExp||"object"!=typeof t?t:this});var r=y("! ~ - + void");re.DEFMETHOD("is_constant",function(){return this instanceof _t?!(this instanceof Et):this instanceof Ze&&this.expression instanceof _t&&r(this.operator)}),re.DEFMETHOD("constant_value",function(e){if(this instanceof _t&&!(this instanceof Et))return this.value;if(this instanceof Ze&&this.expression instanceof _t)switch(this.operator){case"!":return!this.expression.value;case"~":return~this.expression.value;case"-":return-this.expression.value;case"+":return+this.expression.value;default:throw new Error(g("Cannot evaluate unary expression {value}",{value:this.print_to_string()}))}var t=this.evaluate(e);if(t!==this)return t;throw new Error(g("Cannot evaluate constant [{file}:{line},{col}]",this.start))}),e(ie,function(){throw new Error(g("Cannot evaluate a statement [{file}:{line},{col}]",this.start))}),e(Ae,h),e(re,h),e(_t,function(){return this.getValue()}),e(nt,function(e){if(e.option("unsafe")){for(var n=[],r=0,i=this.elements.length;r<i;r++){var o=this.elements[r],a=t(o,e);if(o===a)return this;n.push(a)}return n}return this}),e(rt,function(e){if(e.option("unsafe")){for(var n={},r=0,i=this.properties.length;r<i;r++){var o=this.properties[r],a=o.key;if(a instanceof ut)a=a.name;else if(a instanceof re&&(a=t(a,e))===o.key)return this;if("function"==typeof Object.prototype[a])return this;if(n[a]=t(o.value,e),n[a]===o.value)return this}return n}return this}),e(Ze,function(e){if("typeof"==this.operator&&this.expression instanceof xe)return"function";var n=t(this.expression,e);if(n===this.expression)return this;switch(this.operator){case"!":return!n;case"typeof":return n instanceof RegExp?this:typeof n;case"void":return;case"~":return~n;case"-":return-n;case"+":return+n}return this}),e(Xe,function(e){var n=t(this.left,e);if(n===this.left)return this;var r=t(this.right,e);if(r===this.right)return this;var i;switch(this.operator){case"&&":i=n&&r;break;case"||":i=n||r;break;case"|":i=n|r;break;case"&":i=n&r;break;case"^":i=n^r;break;case"+":i=n+r;break;case"*":i=n*r;break;case"/":i=n/r;break;case"%":i=n%r;break;case"-":i=n-r;break;case"<<":i=n<<r;break;case">>":i=n>>r;break;case">>>":i=n>>>r;break;case"==":i=n==r;break;case"===":i=n===r;break;case"!=":i=n!=r;break;case"!==":i=n!==r;break;case"<":i=n<r;break;case"<=":i=n<=r;break;case">":i=n>r;break;case">=":i=n>=r;break;default:return this}return isNaN(i)&&e.find_parent(ye)?this:i}),e(et,function(e){var n=t(this.condition,e);if(n===this.condition)return this;var r=n?this.consequent:this.alternative,i=t(r,e);return i===r?this:i}),e(vt,function(e){if(!e.option("reduce_vars"))return this;var n=this.fixed_value();if(!n)return this;this._eval=h;var r=t(n,e);return r===n?(delete this._eval,this):(A(n,"_eval")||(n._eval=function(){return r}),r&&"object"==typeof r&&this.definition().escaped?(delete this._eval,this):(this._eval=n._eval,r))});var i={Array:Array,Math:Math,Number:Number,String:String},o={Math:["E","LN10","LN2","LOG2E","LOG10E","PI","SQRT1_2","SQRT2"],Number:["MAX_VALUE","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"]};n(o),e(Ye,function(e){if(e.option("unsafe")){var n=this.property;if(n instanceof re&&(n=t(n,e))===this.property)return this;var r,a=this.expression;if(S(a)){if(!(o[a.name]||f)(n))return this;r=i[a.name]}else if(!(r=t(a,e))||r===a||!A(r,n))return this;return r[n]}return this});var a=["constructor","toString","valueOf"],s={Array:["indexOf","join","lastIndexOf","slice"].concat(a),Boolean:a,Number:["toExponential","toFixed","toPrecision"].concat(a),RegExp:["test"].concat(a),String:["charAt","charCodeAt","concat","indexOf","italics","lastIndexOf","match","replace","search","slice","split","substr","substring","trim"].concat(a)};n(s);var u={Array:["isArray"],Math:["abs","acos","asin","atan","ceil","cos","exp","floor","log","round","sin","sqrt","tan","atan2","pow","max","min"],Number:["isFinite","isNaN"],String:["fromCharCode"]};n(u),e($e,function(e){var n=this.expression;if(e.option("unsafe")&&n instanceof Ye){var r=n.property;if(r instanceof re&&(r=t(r,e))===n.property)return this;var o,a=n.expression;if(S(a)){if(!(u[a.name]||f)(r))return this;o=i[a.name]}else if((o=t(a,e))===a||!(o&&s[o.constructor.name]||f)(r))return this;for(var l=[],c=0,p=this.args.length;c<p;c++){var h=this.args[c],d=t(h,e);if(h===d)return this;l.push(d)}return o[r].apply(o,l)}return this}),e(He,h)}(function(e,t){e.DEFMETHOD("_eval",t)}),function(e){function t(e){return o(Ze,e,{operator:"!",expression:e})}function n(e,n,r){var i=t(e);if(r){var a=o(se,n,{body:n});return F(i,a)===a?n:i}return F(i,n)}e(re,function(){return t(this)}),e(ie,function(){throw new Error("Cannot negate a statement")}),e(xe,function(){return t(this)}),e(Ze,function(){return"!"==this.operator?this.expression:t(this)}),e(Ke,function(e){var t=this.expressions.slice();return t.push(t.pop().negate(e)),a(this,t)}),e(et,function(e,t){var r=this.clone();return r.consequent=r.consequent.negate(e),r.alternative=r.alternative.negate(e),n(this,r,t)}),e(Xe,function(e,r){var i=this.clone(),o=this.operator;if(e.option("unsafe_comps"))switch(o){case"<=":return i.operator=">",i;case"<":return i.operator=">=",i;case">=":return i.operator="<",i;case">":return i.operator="<=",i}switch(o){case"==":return i.operator="!=",i;case"!=":return i.operator="==",i;case"===":return i.operator="!==",i;case"!==":return i.operator="===",i;case"&&":return i.operator="||",i.left=i.left.negate(e,r),i.right=i.right.negate(e),n(this,i,r);case"||":return i.operator="&&",i.left=i.left.negate(e,r),i.right=i.right.negate(e),n(this,i,r)}return t(this)})}(function(e,t){e.DEFMETHOD("negate",function(e,n){return t.call(this,e,n)})}),$e.DEFMETHOD("has_pure_annotation",function(e){if(!e.option("side_effects"))return!1;if(void 0!==this.pure)return this.pure;var t,n,r=!1;return this.start&&(t=this.start.comments_before)&&t.length&&/[@#]__PURE__/.test((n=t[t.length-1]).value)&&(r=n),this.pure=r}),function(e){function t(e,t){for(var n=e.length;--n>=0;)if(e[n].has_side_effects(t))return!0;return!1}e(re,p),e(ce,f),e(_t,f),e(yt,f),e($e,function(e){if(!this.has_pure_annotation(e)&&e.pure_funcs(this))return!0;for(var t=this.args.length;--t>=0;)if(this.args[t].has_side_effects(e))return!0;return!1}),e(ue,function(e){return t(this.body,e)}),e(Le,function(e){return this.expression.has_side_effects(e)||t(this.body,e)}),e(Ue,function(e){return this.expression.has_side_effects(e)||t(this.body,e)}),e(Ne,function(e){return t(this.body,e)||this.bcatch&&this.bcatch.has_side_effects(e)||this.bfinally&&this.bfinally.has_side_effects(e)}),e(Fe,function(e){return this.condition.has_side_effects(e)||this.body&&this.body.has_side_effects(e)||this.alternative&&this.alternative.has_side_effects(e)}),e(pe,function(e){return this.body.has_side_effects(e)}),e(se,function(e){return this.body.has_side_effects(e)}),e(Ce,p),e(xe,f),e(Xe,function(e){return this.left.has_side_effects(e)||this.right.has_side_effects(e)}),e(tt,p),e(et,function(e){return this.condition.has_side_effects(e)||this.consequent.has_side_effects(e)||this.alternative.has_side_effects(e)}),e(Qe,function(e){return H(this.operator)||this.expression.has_side_effects(e)}),e(vt,function(e){return!this.is_declared(e)}),e(ct,f),e(rt,function(e){return t(this.properties,e)}),e(it,function(e){return this.value.has_side_effects(e)}),e(nt,function(e){return t(this.elements,e)}),e(Ge,function(e){return this.expression.may_throw_on_access(e)||this.expression.has_side_effects(e)}),e(We,function(e){return this.expression.may_throw_on_access(e)||this.expression.has_side_effects(e)||this.property.has_side_effects(e)}),e(Ke,function(e){return this.expressions.some(function(t,n){return t.has_side_effects(e)})})}(function(e,t){e.DEFMETHOD("has_side_effects",t)}),function(e){function t(e){for(var t=e.length;--t>=0;)if(!e[t].is_constant_expression())return!1;return!0}e(re,f),e(_t,p),e(Qe,function(){return this.expression.is_constant_expression()}),e(Xe,function(){return this.left.is_constant_expression()&&this.right.is_constant_expression()}),e(nt,function(){return t(this.elements)}),e(rt,function(){return t(this.properties)}),e(it,function(){return this.value.is_constant_expression()})}(function(e,t){e.DEFMETHOD("is_constant_expression",t)}),function(e){function t(){var e=this.body.length;return e>0&&U(this.body[e-1])}e(ie,d),e(ke,h),e(le,t),e(Me,t),e(Fe,function(){return this.alternative&&U(this.body)&&U(this.alternative)&&this})}(function(e,t){e.DEFMETHOD("aborts",t)}),e(ae,function(e,t){return t.has_directive(e.value)!==e?o(ce,e):e}),e(oe,function(e,t){return t.option("drop_debugger")?o(ce,e):e}),e(pe,function(e,t){return e.body instanceof Te&&t.loopcontrol_target(e.body)===e.body?o(ce,e):0==e.label.references.length?e.body:e}),e(ue,function(e,t){return D(e.body,t),e}),e(le,function(e,t){switch(D(e.body,t),e.body.length){case 1:return e.body[0];case 0:return o(ce,e)}return e}),_e.DEFMETHOD("drop_unused",function(e){if(e.option("unused")&&!e.has_directive("use asm")){var t=this;if(!t.uses_eval&&!t.uses_with){var n=!(t instanceof we)||e.toplevel.funcs,r=!(t instanceof we)||e.toplevel.vars;if(n||r){var i=/keep_assign/.test(e.option("unused"))?f:function(e){return e instanceof tt&&(e.write_only||"="==e.operator)?e.left:e instanceof Qe&&e.write_only?e.expression:void 0},s=[],c=Object.create(null);t instanceof we&&e.top_retain&&t.variables.each(function(t){!e.top_retain(t)||t.id in c||(c[t.id]=!0,s.push(t))});var p=new w,h=new w,d=this,m=new k(function(o,a){if(o!==t){if(o instanceof Ce)return n||d!==t||(u=o.name.definition()).id in c||(c[u.id]=!0,s.push(u)),h.add(o.name.name,o),!0;if(o instanceof Ie&&d===t)return o.definitions.forEach(function(t){var n=t.name.definition();t.name instanceof ft&&p.add(n.id,t),r||n.id in c||(c[n.id]=!0,s.push(n)),t.value&&(h.add(t.name.name,t.value),t.value.has_side_effects(e)&&t.value.walk(m))}),!0;if(i(o)instanceof vt&&d===t)return o instanceof tt&&o.right.walk(m),!0;if(o instanceof vt){var u=o.definition();return u.id in c||(c[u.id]=!0,s.push(u)),!0}if(o instanceof _e){var l=d;return d=o,a(),d=l,!0}}});t.walk(m);for(var g=0;g<s.length;++g)s[g].orig.forEach(function(e){var t=h.get(e.name);t&&t.forEach(function(e){var t=new k(function(e){if(e instanceof vt){var t=e.definition();t.id in c||(c[t.id]=!0,s.push(t))}});e.walk(t)})});var y=new V(function(s,f,h){function d(e){return{name:e.name,file:e.start.file,line:e.start.line,col:e.start.col}}if(s instanceof xe&&s.name&&!e.option("keep_fnames")&&((O=s.name.definition()).id in c&&!(O.orig.length>1)||(s.name=null)),s instanceof Ae&&!(s instanceof Ee))for(var m=!e.option("keep_fargs"),g=s.argnames,_=g.length;--_>=0;){var w=g[_];w.definition().id in c?m=!1:(w.__unused=!0,m&&(g.pop(),e[w.unreferenced()?"warn":"info"]("Dropping unused function argument {name} [{file}:{line},{col}]",d(w))))}if(n&&s instanceof Ce&&s!==t)return s.name.definition().id in c?s:(e[s.name.unreferenced()?"warn":"info"]("Dropping unused function {name} [{file}:{line},{col}]",d(s.name)),o(ce,s));if(r&&s instanceof Ie&&!(y.parent()instanceof be&&y.parent().init===s)){var A=[],E=[],x=[],C=[];if(s.definitions.forEach(function(t){t.value&&(t.value=t.value.transform(y));var n=t.name.definition();if(n.id in c){if(t.name instanceof ft){var r=p.get(n.id);if(r.length>1&&!t.value)return e.warn("Dropping duplicated definition of variable {name} [{file}:{line},{col}]",d(t.name)),v(r,t),void v(n.orig,t.name)}t.value?(C.length>0&&(x.length>0?(l(C,t.value),t.value=a(t.value,C)):A.push(o(se,s,{body:a(s,C)})),C=[]),x.push(t)):E.push(t)}else if(n.orig[0]instanceof mt)(i=t.value&&t.value.drop_side_effect_free(e))&&l(C,i),t.value=null,E.push(t);else{var i=t.value&&t.value.drop_side_effect_free(e);i?(e.warn("Side effects in initialization of unused variable {name} [{file}:{line},{col}]",d(t.name)),l(C,i)):e[t.name.unreferenced()?"warn":"info"]("Dropping unused variable {name} [{file}:{line},{col}]",d(t.name)),v(n.orig,t.name)}}),0==E.length&&1==x.length&&x[0].name instanceof ft){var k=p.get(x[0].name.definition().id);if(k.length>1){var O=x.pop();e.warn("Converting duplicated definition of variable {name} to assignment [{file}:{line},{col}]",d(O.name)),v(k,O),v(O.name.definition().orig,O.name),C.unshift(o(tt,O,{operator:"=",left:o(vt,O.name,O.name),right:O.value}))}}switch((E.length>0||x.length>0)&&(s.definitions=E.concat(x),A.push(s)),C.length>0&&A.push(o(se,s,{body:a(s,C)})),A.length){case 0:return h?te.skip:o(ce,s);case 1:return A[0];default:return h?te.splice(A):o(le,s,{body:A})}}if(r&&(O=i(s))instanceof vt&&!((O=O.definition()).id in c)&&t.variables.get(O.name)===O)return s instanceof tt?u(y.parent(),s,s.right.transform(y)):o(At,s,{value:0});if(s instanceof ve){if(f(s,this),s.init instanceof le){S=s.init;return s.init=S.body.pop(),S.body.push(s),h?te.splice(S.body):S}return s.init instanceof se?s.init=s.init.body:b(s.init)&&(s.init=null),s}if(s instanceof pe&&s.body instanceof ve){if(f(s,this),s.body instanceof le){var S=s.body;return s.body=S.body.pop(),S.body.push(s),h?te.splice(S.body):S}return s}return s instanceof _e&&s!==t?s:void 0});t.transform(y)}}}}),_e.DEFMETHOD("hoist_declarations",function(e){var t=this;if(e.has_directive("use asm"))return t;var n=e.option("hoist_funs"),r=e.option("hoist_vars");if(n||r){var s=[],u=[],l=new w,c=0,f=0;t.walk(new k(function(e){return e instanceof _e&&e!==t||(e instanceof je?(++f,!0):void 0)})),r=r&&f>1;var p=new V(function(i){if(i!==t){if(i instanceof ae)return s.push(i),o(ce,i);if(n&&i instanceof Ce&&(p.parent()===t||!e.has_directive("use strict")))return u.push(i),o(ce,i);if(r&&i instanceof je){i.definitions.forEach(function(e){l.set(e.name.name,e),++c});var a=i.to_assignments(e),f=p.parent();if(f instanceof be&&f.init===i){if(null==a){var h=i.definitions[0].name;return o(vt,h,h)}return a}return f instanceof ve&&f.init===i?a:a?o(se,i,{body:a}):o(ce,i)}if(i instanceof _e)return i}});if(t=t.transform(p),c>0){var h=[];if(l.each(function(e,n){t instanceof Ae&&i(function(t){return t.name==e.name.name},t.argnames)?l.del(n):((e=e.clone()).value=null,h.push(e),l.set(n,e))}),h.length>0){for(;0<t.body.length;){if(t.body[0]instanceof se){var d,m,g=t.body[0].body;if(g instanceof tt&&"="==g.operator&&(d=g.left)instanceof ut&&l.has(d.name)){if((b=l.get(d.name)).value)break;b.value=g.right,v(h,b),h.push(b),t.body.splice(0,1);continue}if(g instanceof Ke&&(m=g.expressions[0])instanceof tt&&"="==m.operator&&(d=m.left)instanceof ut&&l.has(d.name)){var b=l.get(d.name);if(b.value)break;b.value=m.right,v(h,b),h.push(b),t.body[0].body=a(g,g.expressions.slice(1));continue}}if(t.body[0]instanceof ce)t.body.splice(0,1);else{if(!(t.body[0]instanceof le))break;var y=[0,1].concat(t.body[0].body);t.body.splice.apply(t.body,y)}}h=o(je,t,{definitions:h}),u.push(h)}}t.body=s.concat(u,t.body)}return t}),function(e){function t(e,t,n){var r=e.length;if(!r)return null;for(var i=[],o=!1,a=0;a<r;a++){var s=e[a].drop_side_effect_free(t,n);o|=s!==e[a],s&&(l(i,s),n=!1)}return o?i.length?i:null:e}e(re,h),e(_t,d),e(yt,d),e($e,function(e,n){if(!this.has_pure_annotation(e)&&e.pure_funcs(this)){if(this.expression instanceof xe&&(!this.expression.name||!this.expression.name.definition().references.length)){var r=this.clone();return r.expression.process_expression(!1,e),r}return this}this.pure&&(e.warn("Dropping __PURE__ call [{file}:{line},{col}]",this.start),this.pure.value=this.pure.value.replace(/[@#]__PURE__/g," "));var i=t(this.args,e,n);return i&&a(this,i)}),e(Ee,d),e(xe,d),e(Xe,function(e,t){var n=this.right.drop_side_effect_free(e);if(!n)return this.left.drop_side_effect_free(e,t);switch(this.operator){case"&&":case"||":if(n===this.right)return this;var r=this.clone();return r.right=n,r;default:var i=this.left.drop_side_effect_free(e,t);return i?a(this,[i,n]):this.right.drop_side_effect_free(e,t)}}),e(tt,function(e){return this.write_only=!this.left.has_side_effects(e),this}),e(et,function(e){var t=this.consequent.drop_side_effect_free(e),n=this.alternative.drop_side_effect_free(e);if(t===this.consequent&&n===this.alternative)return this;if(!t)return n?o(Xe,this,{operator:"||",left:this.condition,right:n}):this.condition.drop_side_effect_free(e);if(!n)return o(Xe,this,{operator:"&&",left:this.condition,right:t});var r=this.clone();return r.consequent=t,r.alternative=n,r}),e(Qe,function(e,t){if(H(this.operator))return this.write_only=!this.expression.has_side_effects(e),this;if("typeof"==this.operator&&this.expression instanceof vt)return null;var n=this.expression.drop_side_effect_free(e,t);return t&&this instanceof Ze&&O(n)?n===this.expression&&1===this.operator.length?this:o(Ze,this,{operator:1===this.operator.length?this.operator:"!",expression:n}):n}),e(vt,function(e){return this.is_declared(e)?null:this}),e(rt,function(e,n){var r=t(this.properties,e,n);return r&&a(this,r)}),e(it,function(e,t){return this.value.drop_side_effect_free(e,t)}),e(nt,function(e,n){var r=t(this.elements,e,n);return r&&a(this,r)}),e(Ge,function(e,t){return this.expression.may_throw_on_access(e)?this:this.expression.drop_side_effect_free(e,t)}),e(We,function(e,t){if(this.expression.may_throw_on_access(e))return this;var n=this.expression.drop_side_effect_free(e,t);if(!n)return this.property.drop_side_effect_free(e,t);var r=this.property.drop_side_effect_free(e);return r?a(this,[n,r]):n}),e(Ke,function(e){var t=this.expressions[this.expressions.length-1],n=t.drop_side_effect_free(e);if(n===t)return this;var r=this.expressions.slice(0,-1);return n&&l(r,n),a(this,r)})}(function(e,t){e.DEFMETHOD("drop_side_effect_free",t)}),e(se,function(e,t){if(t.option("side_effects")){var n=e.body,r=n.drop_side_effect_free(t,!0);if(!r)return t.warn("Dropping side-effect-free statement [{file}:{line},{col}]",e.start),o(ce,e);if(r!==n)return o(se,e,{body:r})}return e}),e(de,function(e,t){if(!t.option("loops"))return e;var n=e.condition.evaluate(t);if(n!==e.condition){if(n)return o(ve,e,{body:e.body});if(t.option("dead_code")&&e instanceof ge){var r=[];return B(t,e.body,r),o(le,e,{body:r}).optimize(t)}if(e instanceof me){var i=!1,a=new k(function(t){return!!(t instanceof _e||i)||(t instanceof Be&&a.loopcontrol_target(t)===e?i=!0:void 0)}),s=t.parent();if((s instanceof pe?s:e).walk(a),!i)return e.body}}return e instanceof ge?o(ve,e,e).optimize(t):e}),e(ve,function(e,t){if(!t.option("loops"))return e;if(e.condition){var n=e.condition.evaluate(t);if(t.option("dead_code")&&!n){var r=[];return e.init instanceof ie?r.push(e.init):e.init&&r.push(o(se,e.init,{body:e.init})),B(t,e.body,r),o(le,e,{body:r}).optimize(t)}n!==e.condition&&(n=s(n,e.condition).transform(t),e.condition=F(n,e.condition))}return q(e,t),e}),e(Fe,function(e,t){if(b(e.alternative)&&(e.alternative=null),!t.option("conditionals"))return e;var n=e.condition.evaluate(t);if(n!==e.condition){if(n){if(t.warn("Condition always true [{file}:{line},{col}]",e.condition.start),t.option("dead_code")){r=[];return e.alternative&&B(t,e.alternative,r),r.push(e.body),o(le,e,{body:r}).optimize(t)}}else if(t.warn("Condition always false [{file}:{line},{col}]",e.condition.start),t.option("dead_code")){var r=[];return B(t,e.body,r),e.alternative&&r.push(e.alternative),o(le,e,{body:r}).optimize(t)}n=s(n,e.condition).transform(t),e.condition=F(n,e.condition)}var i=e.condition.negate(t),a=e.condition.print_to_string().length,u=i.print_to_string().length,l=u<a;if(e.alternative&&l){l=!1,e.condition=i;var c=e.body;e.body=e.alternative||o(ce,e),e.alternative=c}if(b(e.body)&&b(e.alternative))return o(se,e.condition,{body:e.condition.clone()}).optimize(t);if(e.body instanceof se&&e.alternative instanceof se)return o(se,e,{body:o(et,e,{condition:e.condition,consequent:e.body.body,alternative:e.alternative.body})}).optimize(t);if(b(e.alternative)&&e.body instanceof se)return a===u&&!l&&e.condition instanceof Xe&&"||"==e.condition.operator&&(l=!0),l?o(se,e,{body:o(Xe,e,{operator:"||",left:i,right:e.body.body})}).optimize(t):o(se,e,{body:o(Xe,e,{operator:"&&",left:e.condition,right:e.body.body})}).optimize(t);if(e.body instanceof ce&&e.alternative instanceof se)return o(se,e,{body:o(Xe,e,{operator:"||",left:e.condition,right:e.alternative.body})}).optimize(t);if(e.body instanceof Oe&&e.alternative instanceof Oe&&e.body.TYPE==e.alternative.TYPE)return o(e.body.CTOR,e,{value:o(et,e,{condition:e.condition,consequent:e.body.value||o(Ot,e.body),alternative:e.alternative.value||o(Ot,e.alternative)}).transform(t)}).optimize(t);if(e.body instanceof Fe&&!e.body.alternative&&!e.alternative&&(e=o(Fe,e,{condition:o(Xe,e.condition,{operator:"&&",left:e.condition,right:e.body.condition}),body:e.body.body,alternative:null})),U(e.body)&&e.alternative){var f=e.alternative;return e.alternative=null,o(le,e,{body:[e,f]}).optimize(t)}if(U(e.alternative)){var p=e.body;return e.body=e.alternative,e.condition=l?i:e.condition.negate(t),e.alternative=null,o(le,e,{body:[e,p]}).optimize(t)}return e}),e(Le,function(e,t){function n(e,n){n&&!U(n)?n.body=n.body.concat(e.body):B(t,e,c)}if(!t.option("switches"))return e;var r,i=e.expression.evaluate(t);if(i!==e.expression){var a=s(i,e.expression).transform(t);e.expression=F(a,e.expression)}if(!t.option("dead_code"))return e;for(var u,l,c=[],f=[],p=0,h=e.body.length;p<h&&!l;p++){if((r=e.body[p])instanceof Pe)u?n(r,f[f.length-1]):u=r;else if(i!==e.expression){var d=r.expression.evaluate(t);if(d===i){if(l=r,u){var m=f.indexOf(u);f.splice(m,1),n(u,f[m-1]),u=null}}else if(d!==r.expression){n(r,f[f.length-1]);continue}}if(U(r)){var g=f[f.length-1];U(g)&&g.body.length==r.body.length&&o(le,g,g).equivalent_to(o(le,r,r))&&(g.body=[])}f.push(r)}for(;p<h;)n(e.body[p++],f[f.length-1]);for(f.length>0&&(f[0].body=c.concat(f[0].body)),e.body=f;r=f[f.length-1];){var v=r.body[r.body.length-1];if(v instanceof Te&&t.loopcontrol_target(v)===e&&r.body.pop(),r.body.length||r instanceof Ue&&(u||r.expression.has_side_effects(t)))break;f.pop()===u&&(u=null)}if(0==f.length)return o(le,e,{body:c.concat(o(se,e.expression,{body:e.expression}))}).optimize(t);if(1==f.length&&(f[0]===l||f[0]===u)){var b=!1,y=new k(function(t){if(b||t instanceof Ae||t instanceof se)return!0;t instanceof Te&&y.loopcontrol_target(t)===e&&(b=!0)});if(e.walk(y),!b)return(f=f[0].body.slice()).unshift(o(se,e.expression,{body:e.expression})),o(le,e,{body:f}).optimize(t)}return e}),e(Ne,function(e,t){if(D(e.body,t),e.bcatch&&e.bfinally&&_(e.bfinally.body,b)&&(e.bfinally=null),_(e.body,b)){var n=[];return e.bcatch&&B(t,e.bcatch,n),e.bfinally&&(n=n.concat(e.bfinally.body)),o(le,e,{body:n}).optimize(t)}return e}),Ie.DEFMETHOD("remove_initializers",function(){this.definitions.forEach(function(e){e.value=null})}),Ie.DEFMETHOD("to_assignments",function(e){var t=e.option("reduce_vars"),n=this.definitions.reduce(function(e,n){if(n.value){var r=o(vt,n.name,n.name);e.push(o(tt,n,{operator:"=",left:r,right:n.value})),t&&(r.definition().fixed=!1)}return e},[]);return 0==n.length?null:a(this,n)}),e(Ie,function(e,t){return 0==e.definitions.length?o(ce,e):e}),e($e,function(e,t){var n=e.expression,r=n;if(t.option("unused")&&(r instanceof xe||t.option("reduce_vars")&&r instanceof vt&&(r=r.fixed_value())instanceof xe)&&!r.uses_arguments&&!r.uses_eval){for(var i=0,u=0,l=0,c=e.args.length;l<c;l++){var f=l>=r.argnames.length;if(f||r.argnames[l].__unused){if(g=e.args[l].drop_side_effect_free(t))e.args[i++]=g;else if(!f){e.args[i++]=o(At,e.args[l],{value:0});continue}}else e.args[i++]=e.args[l];u=i}e.args.length=u}if(t.option("unsafe"))if(S(n))switch(n.name){case"Array":if(1!=e.args.length)return o(nt,e,{elements:e.args}).optimize(t);break;case"Object":if(0==e.args.length)return o(rt,e,{properties:[]});break;case"String":if(0==e.args.length)return o(wt,e,{value:""});if(e.args.length<=1)return o(Xe,e,{left:e.args[0],operator:"+",right:o(wt,e,{value:""})}).optimize(t);break;case"Number":if(0==e.args.length)return o(At,e,{value:0});if(1==e.args.length)return o(Ze,e,{expression:e.args[0],operator:"+"}).optimize(t);case"Boolean":if(0==e.args.length)return o(Tt,e);if(1==e.args.length)return o(Ze,e,{expression:o(Ze,e,{expression:e.args[0],operator:"!"}),operator:"!"}).optimize(t)}else{if(n instanceof Ge&&"toString"==n.property&&0==e.args.length)return o(Xe,e,{left:o(wt,e,{value:""}),operator:"+",right:n.expression}).optimize(t);if(n instanceof Ge&&n.expression instanceof nt&&"join"==n.property){var p;if(!(e.args.length>0&&(p=e.args[0].evaluate(t))===e.args[0])){var h=[],d=[];if(n.expression.elements.forEach(function(n){var r=n.evaluate(t);r!==n?d.push(r):(d.length>0&&(h.push(o(wt,e,{value:d.join(p)})),d.length=0),h.push(n))}),d.length>0&&h.push(o(wt,e,{value:d.join(p)})),0==h.length)return o(wt,e,{value:""});if(1==h.length)return h[0].is_string(t)?h[0]:o(Xe,h[0],{operator:"+",left:o(wt,e,{value:""}),right:h[0]});if(""==p){var m;return m=h[0].is_string(t)||h[1].is_string(t)?h.shift():o(wt,e,{value:""}),h.reduce(function(e,t){return o(Xe,t,{operator:"+",left:e,right:t})},m).optimize(t)}var g=e.clone();return g.expression=g.expression.clone(),g.expression.expression=g.expression.expression.clone(),g.expression.expression.elements=h,M(t,e,g)}}else if(n instanceof Ge&&n.expression.is_string(t)&&"charAt"==n.property){var v=e.args[0],y=v?v.evaluate(t):0;if(y!==v)return o(We,n,{expression:n.expression,property:s(0|y,v||n)}).optimize(t)}}if(t.option("unsafe_Func")&&S(n)&&"Function"==n.name){if(0==e.args.length)return o(xe,e,{argnames:[],body:[]});if(_(e.args,function(e){return e instanceof wt}))try{var w=j(C="n(function("+e.args.slice(0,-1).map(function(e){return e.value}).join(",")+"){"+e.args[e.args.length-1].value+"})"),A={ie8:t.option("ie8")};w.figure_out_scope(A);var E=new Y(t.options);(w=w.transform(E)).figure_out_scope(A),Jt.reset(),w.compute_char_frequency(A),w.mangle_names(A);var x;w.walk(new k(function(e){return!!x||(e instanceof Ae?(x=e,!0):void 0)}));var C=K();return le.prototype._codegen.call(x,x,C),e.args=[o(wt,e,{value:x.argnames.map(function(e){return e.print_to_string()}).join(",")}),o(wt,e.args[e.args.length-1],{value:C.get().replace(/^\{|\}$/g,"")})],e}catch(n){if(!(n instanceof N))throw n;t.warn("Error parsing code passed to new Function [{file}:{line},{col}]",e.args[e.args.length-1].start),t.warn(n.toString())}}var D=r instanceof xe&&r.body[0];if(t.option("inline")&&D instanceof Se&&(!(B=D.value)||B.is_constant_expression())){R=e.args.concat(B||o(Ot,e));return a(e,R).optimize(t)}if(n instanceof xe){if(t.option("inline")&&!n.name&&!n.uses_arguments&&!n.uses_eval&&1==n.body.length&&_(n.argnames,function(e){return e.__unused})&&!e.has_pure_annotation(t)){var B;if(D instanceof Se?B=D.value:D instanceof se&&(B=o(Ze,D,{operator:"void",expression:D.body})),B){var T=new k(function(e){if(!B)return!0;if(e instanceof vt){var t=e.scope.find_variable(e);if(t&&t.scope.parent_scope===r.parent_scope)return B=null,!0}return e instanceof yt&&!T.find_parent(_e)?(B=null,!0):void 0});B.walk(T)}if(B){R=e.args.concat(B);return a(e,R).optimize(t)}}if(t.option("side_effects")&&_(n.body,b)){var R=e.args.concat(o(Ot,e));return a(e,R).optimize(t)}}if(t.option("drop_console")&&n instanceof Ye){for(var F=n.expression;F.expression;)F=F.expression;if(S(F)&&"console"==F.name)return o(Ot,e).optimize(t)}if(t.option("negate_iife")&&t.parent()instanceof se&&O(e))return e.negate(t,!0);var L=e.evaluate(t);return L!==e?(L=s(L,e).optimize(t),M(t,L,e)):e}),e(He,function(e,t){if(t.option("unsafe")){var n=e.expression;if(S(n))switch(n.name){case"Object":case"RegExp":case"Function":case"Error":case"Array":return o($e,e,e).transform(t)}}return e}),e(Ke,function(e,n){if(!n.option("side_effects"))return e;var r=[];!function(){var t=E(n),i=e.expressions.length-1;e.expressions.forEach(function(e,o){o<i&&(e=e.drop_side_effect_free(n,t)),e&&(l(r,e),t=!1)})}();var i=r.length-1;return function(){for(;i>0&&T(r[i],n);)i--;i<r.length-1&&(r[i]=o(Ze,e,{operator:"void",expression:r[i]}),r.length=i+1)}(),i>0&&n.option("cascade")&&function(){for(var e=0,a=1;a<=i;a++){var s=r[e],u=r[a];if((s=s instanceof tt&&!s.left.has_side_effects(n)?s.left:s instanceof Qe&&("++"==s.operator||"--"==s.operator)?s.expression:null)&&!t(s)){var l,c=null;for(r[a]=u=u.clone();;){if(u.equivalent_to(s)){var f=r[e];f instanceof Je?f=o(Ze,f,{operator:f.operator,expression:s}):f.write_only=!1,c?(c[l]=f,r[e]=r[a]):r[e]=f;break}if(u instanceof Xe&&!(u instanceof tt))if(u.left.is_constant()){if("||"==u.operator||"&&"==u.operator){r[++e]=r[a];break}l="right"}else l="left";else if(u instanceof $e&&!(s instanceof Ye&&u.expression.equivalent_to(s))||u instanceof Ye||u instanceof Qe&&!H(u.operator))l="expression";else{if(!(u instanceof et)){r[++e]=r[a];break}l="condition"}c=u,u=u[l]=u[l].clone()}}else r[++e]=u}i=e,r.length=i+1}(),0==i?((e=u(n.parent(),e,r[0]))instanceof Ke||(e=e.optimize(n)),e):(e.expressions=r,e)}),Qe.DEFMETHOD("lift_sequences",function(e){if(e.option("sequences")&&this.expression instanceof Ke){var t=this.expression.expressions.slice(),n=this.clone();return n.expression=t.pop(),t.push(n),a(this,t).optimize(e)}return this}),e(Je,function(e,t){return e.lift_sequences(t)}),e(Ze,function(e,t){var n=e.expression;if("delete"==e.operator&&!(n instanceof vt||n instanceof Ye||n instanceof kt||n instanceof Dt||n instanceof Ot))return n instanceof Ke?((n=n.expressions.slice()).push(o(Rt,e)),a(e,n).optimize(t)):a(e,[n,o(Rt,e)]).optimize(t);var r=e.lift_sequences(t);if(r!==e)return r;if(t.option("side_effects")&&"void"==e.operator)return(n=n.drop_side_effect_free(t))?(e.expression=n,e):o(Ot,e).optimize(t);if(t.option("booleans")&&t.in_boolean_context())switch(e.operator){case"!":if(n instanceof Ze&&"!"==n.operator)return n.expression;n instanceof Xe&&(e=M(t,e,n.negate(t,E(t))));break;case"typeof":return t.warn("Boolean expression always true [{file}:{line},{col}]",e.start),(n instanceof vt?o(Rt,e):a(e,[n,o(Rt,e)])).optimize(t)}if("-"==e.operator&&n instanceof Dt&&(n=n.transform(t)),n instanceof Xe&&("+"==e.operator||"-"==e.operator)&&("*"==n.operator||"/"==n.operator||"%"==n.operator))return o(Xe,e,{operator:n.operator,left:o(Ze,n.left,{operator:e.operator,expression:n.left}),right:n.right});if("-"!=e.operator||!(n instanceof At||n instanceof Dt)){var i=e.evaluate(t);if(i!==e)return i=s(i,e).optimize(t),M(t,i,e)}return e}),Xe.DEFMETHOD("lift_sequences",function(e){if(e.option("sequences")){if(this.left instanceof Ke){var t=this.left.expressions.slice();return(o=this.clone()).left=t.pop(),t.push(o),a(this,t).optimize(e)}if(this.right instanceof Ke&&!this.left.has_side_effects(e)){for(var n="="==this.operator&&this.left instanceof vt,r=(t=this.right.expressions).length-1,i=0;i<r&&(n||!t[i].has_side_effects(e));i++);if(i==r)return t=t.slice(),(o=this.clone()).right=t.pop(),t.push(o),a(this,t).optimize(e);if(i>0){var o=this.clone();return o.right=a(this.right,t.slice(i)),(t=t.slice(0,i)).push(o),a(this,t).optimize(e)}}}return this});var G=y("== === != !== * & | ^");e(Xe,function(e,t){function n(){return e.left.is_constant()||e.right.is_constant()||!e.left.has_side_effects(t)&&!e.right.has_side_effects(t)}function r(t){if(n()){t&&(e.operator=t);var r=e.left;e.left=e.right,e.right=r}}if(G(e.operator)&&e.right.is_constant()&&!e.left.is_constant()&&(e.left instanceof Xe&&Qt[e.left.operator]>=Qt[e.operator]||r()),e=e.lift_sequences(t),t.option("comparisons"))switch(e.operator){case"===":case"!==":(e.left.is_string(t)&&e.right.is_string(t)||e.left.is_number(t)&&e.right.is_number(t)||e.left.is_boolean()&&e.right.is_boolean())&&(e.operator=e.operator.substr(0,2));case"==":case"!=":if(t.option("typeofs")&&e.left instanceof wt&&"undefined"==e.left.value&&e.right instanceof Ze&&"typeof"==e.right.operator){var i=e.right.expression;(i instanceof vt?!i.is_declared(t):i instanceof Ye&&t.option("ie8"))||(e.right=i,e.left=o(Ot,e.left).optimize(t),2==e.operator.length&&(e.operator+="="))}}if(t.option("booleans")&&"+"==e.operator&&t.in_boolean_context()){var l=e.left.evaluate(t),c=e.right.evaluate(t);if(l&&"string"==typeof l)return t.warn("+ in boolean context always true [{file}:{line},{col}]",e.start),a(e,[e.right,o(Rt,e)]).optimize(t);if(c&&"string"==typeof c)return t.warn("+ in boolean context always true [{file}:{line},{col}]",e.start),a(e,[e.left,o(Rt,e)]).optimize(t)}if(t.option("comparisons")&&e.is_boolean()){if(!(t.parent()instanceof Xe)||t.parent()instanceof tt){var f=o(Ze,e,{operator:"!",expression:e.negate(t,E(t))});e=M(t,e,f)}if(t.option("unsafe_comps"))switch(e.operator){case"<":r(">");break;case"<=":r(">=")}}if("+"==e.operator){if(e.right instanceof wt&&""==e.right.getValue()&&e.left.is_string(t))return e.left;if(e.left instanceof wt&&""==e.left.getValue()&&e.right.is_string(t))return e.right;if(e.left instanceof Xe&&"+"==e.left.operator&&e.left.left instanceof wt&&""==e.left.left.getValue()&&e.right.is_string(t))return e.left=e.left.right,e.transform(t)}if(t.option("evaluate")){switch(e.operator){case"&&":if(!(l=e.left.evaluate(t)))return t.warn("Condition left of && always false [{file}:{line},{col}]",e.start),u(t.parent(),e,e.left).optimize(t);if(l!==e.left)return t.warn("Condition left of && always true [{file}:{line},{col}]",e.start),u(t.parent(),e,e.right).optimize(t);if(t.option("booleans")&&t.in_boolean_context()){if(!(c=e.right.evaluate(t)))return t.warn("Boolean && always false [{file}:{line},{col}]",e.start),a(e,[e.left,o(Tt,e)]).optimize(t);if(c!==e.right)return t.warn("Dropping side-effect-free && in boolean context [{file}:{line},{col}]",e.start),e.left.optimize(t)}break;case"||":if(!(l=e.left.evaluate(t)))return t.warn("Condition left of || always false [{file}:{line},{col}]",e.start),u(t.parent(),e,e.right).optimize(t);if(l!==e.left)return t.warn("Condition left of || always true [{file}:{line},{col}]",e.start),u(t.parent(),e,e.left).optimize(t);if(t.option("booleans")&&t.in_boolean_context()){if(!(c=e.right.evaluate(t)))return t.warn("Dropping side-effect-free || in boolean context [{file}:{line},{col}]",e.start),e.left.optimize(t);if(c!==e.right)return t.warn("Boolean || always true [{file}:{line},{col}]",e.start),a(e,[e.left,o(Rt,e)]).optimize(t)}}var p=!0;switch(e.operator){case"+":if(e.left instanceof _t&&e.right instanceof Xe&&"+"==e.right.operator&&e.right.left instanceof _t&&e.right.is_string(t)&&(e=o(Xe,e,{operator:"+",left:o(wt,e.left,{value:""+e.left.getValue()+e.right.left.getValue(),start:e.left.start,end:e.right.left.end}),right:e.right.right})),e.right instanceof _t&&e.left instanceof Xe&&"+"==e.left.operator&&e.left.right instanceof _t&&e.left.is_string(t)&&(e=o(Xe,e,{operator:"+",left:e.left.left,right:o(wt,e.right,{value:""+e.left.right.getValue()+e.right.getValue(),start:e.left.right.start,end:e.right.end})})),e.left instanceof Xe&&"+"==e.left.operator&&e.left.is_string(t)&&e.left.right instanceof _t&&e.right instanceof Xe&&"+"==e.right.operator&&e.right.left instanceof _t&&e.right.is_string(t)&&(e=o(Xe,e,{operator:"+",left:o(Xe,e.left,{operator:"+",left:e.left.left,right:o(wt,e.left.right,{value:""+e.left.right.getValue()+e.right.left.getValue(),start:e.left.right.start,end:e.right.left.end})}),right:e.right.right})),e.right instanceof Ze&&"-"==e.right.operator&&e.left.is_number(t)){e=o(Xe,e,{operator:"-",left:e.left,right:e.right.expression});break}if(e.left instanceof Ze&&"-"==e.left.operator&&n()&&e.right.is_number(t)){e=o(Xe,e,{operator:"-",left:e.right,right:e.left.expression});break}case"*":p=t.option("unsafe_math");case"&":case"|":case"^":if(e.left.is_number(t)&&e.right.is_number(t)&&n()&&!(e.left instanceof Xe&&e.left.operator!=e.operator&&Qt[e.left.operator]>=Qt[e.operator])){var h=o(Xe,e,{operator:e.operator,left:e.right,right:e.left});e=e.right instanceof _t&&!(e.left instanceof _t)?M(t,h,e):M(t,e,h)}p&&e.is_number(t)&&(e.right instanceof Xe&&e.right.operator==e.operator&&(e=o(Xe,e,{operator:e.operator,left:o(Xe,e.left,{operator:e.operator,left:e.left,right:e.right.left,start:e.left.start,end:e.right.left.end}),right:e.right.right})),e.right instanceof _t&&e.left instanceof Xe&&e.left.operator==e.operator&&(e.left.left instanceof _t?e=o(Xe,e,{operator:e.operator,left:o(Xe,e.left,{operator:e.operator,left:e.left.left,right:e.right,start:e.left.left.start,end:e.right.end}),right:e.left.right}):e.left.right instanceof _t&&(e=o(Xe,e,{operator:e.operator,left:o(Xe,e.left,{operator:e.operator,left:e.left.right,right:e.right,start:e.left.right.start,end:e.right.end}),right:e.left.left}))),e.left instanceof Xe&&e.left.operator==e.operator&&e.left.right instanceof _t&&e.right instanceof Xe&&e.right.operator==e.operator&&e.right.left instanceof _t&&(e=o(Xe,e,{operator:e.operator,left:o(Xe,e.left,{operator:e.operator,left:o(Xe,e.left.left,{operator:e.operator,left:e.left.right,right:e.right.left,start:e.left.right.start,end:e.right.left.end}),right:e.left.left}),right:e.right.right})))}}if(e.right instanceof Xe&&e.right.operator==e.operator&&("&&"==e.operator||"||"==e.operator||"+"==e.operator&&(e.right.left.is_string(t)||e.left.is_string(t)&&e.right.right.is_string(t))))return e.left=o(Xe,e.left,{operator:e.operator,left:e.left,right:e.right.left}),e.right=e.right.right,e.transform(t);var d=e.evaluate(t);return d!==e?(d=s(d,e).optimize(t),M(t,d,e)):e}),e(vt,function(e,t){var n=e.resolve_defines(t);if(n)return n.optimize(t);if(!t.option("ie8")&&S(e)&&(!e.scope.uses_with||!t.find_parent(ye)))switch(e.name){case"undefined":return o(Ot,e).optimize(t);case"NaN":return o(kt,e).optimize(t);case"Infinity":return o(Dt,e).optimize(t)}if(t.option("reduce_vars")&&R(e,t.parent())!==e){var r=e.definition(),i=e.fixed_value();if(i instanceof Ce&&(r.fixed=i=o(xe,i,i)),t.option("unused")&&i instanceof xe&&1==r.references.length&&!(r.scope.uses_arguments&&r.orig[0]instanceof pt)&&!r.scope.uses_eval&&t.find_parent(_e)===i.parent_scope)return i.clone(!0);if(t.option("evaluate")&&i){if(void 0===r.should_replace){var a=i.evaluate(t);if(a===i||!t.option("unsafe_regexp")&&a instanceof RegExp)r.should_replace=!1;else{var u,l=(a=s(a,i)).optimize(t).print_to_string().length;!function(e){var t;return e.walk(new k(function(e){if(e instanceof vt&&(t=!0),t)return!0})),t}(i)?(l=Math.min(l,i.print_to_string().length),u=function(){var e=F(a.optimize(t),i);return e===a||e===i?e.clone(!0):e}):u=function(){var e=a.optimize(t);return e===a?e.clone(!0):e};var c=r.name.length,f=0;t.option("unused")&&!t.exposed(r)&&(f=(c+2+l)/r.references.length),r.should_replace=l<=c+f&&u}}if(r.should_replace)return r.should_replace()}}return e}),e(Ot,function(e,t){if(t.option("unsafe")){var r=n(t,"undefined");if(r){var i=o(vt,e,{name:"undefined",scope:r.scope,thedef:r});return i.is_undefined=!0,i}}var a=R(t.self(),t.parent());return a&&z(a,e)?e:o(Ze,e,{operator:"void",expression:o(At,e,{value:0})})}),e(Dt,function(e,t){var r=R(t.self(),t.parent());return r&&z(r,e)?e:!t.option("keep_infinity")||r&&!z(r,e)||n(t,"Infinity")?o(Xe,e,{operator:"/",left:o(At,e,{value:1}),right:o(At,e,{value:0})}):e}),e(kt,function(e,t){var r=R(t.self(),t.parent());return r&&!z(r,e)||n(t,"NaN")?o(Xe,e,{operator:"/",left:o(At,e,{value:0}),right:o(At,e,{value:0})}):e});var W=["+","-","/","*","%",">>","<<",">>>","|","^","&"],Q=["*","|","^","&"];e(tt,function(e,t){return"="==(e=e.lift_sequences(t)).operator&&e.left instanceof vt&&e.right instanceof Xe&&(e.right.left instanceof vt&&e.right.left.name==e.left.name&&r(e.right.operator,W)?(e.operator=e.right.operator+"=",e.right=e.right.right):e.right.right instanceof vt&&e.right.right.name==e.left.name&&r(e.right.operator,Q)&&!e.right.left.has_side_effects(t)&&(e.operator=e.right.operator+"=",e.right=e.right.left)),e}),e(et,function(e,t){function n(e){return e.is_boolean()?e:o(Ze,e,{operator:"!",expression:e.negate(t)})}function r(e){return e instanceof Rt||e instanceof Ze&&"!"==e.operator&&e.expression instanceof _t&&!e.expression.value}function i(e){return e instanceof Tt||e instanceof Ze&&"!"==e.operator&&e.expression instanceof _t&&!!e.expression.value}if(!t.option("conditionals"))return e;if(e.condition instanceof Ke){var s=e.condition.expressions.slice();return e.condition=s.pop(),s.push(e),a(e,s)}var l=e.condition.evaluate(t);if(l!==e.condition)return l?(t.warn("Condition always true [{file}:{line},{col}]",e.start),u(t.parent(),e,e.consequent)):(t.warn("Condition always false [{file}:{line},{col}]",e.start),u(t.parent(),e,e.alternative));var c=l.negate(t,E(t));M(t,l,c)===c&&(e=o(et,e,{condition:c,consequent:e.alternative,alternative:e.consequent}));var f=e.condition,p=e.consequent,h=e.alternative;return f instanceof vt&&p instanceof vt&&f.definition()===p.definition()?o(Xe,e,{operator:"||",left:f,right:h}):p instanceof tt&&h instanceof tt&&p.operator==h.operator&&p.left.equivalent_to(h.left)&&(!e.condition.has_side_effects(t)||"="==p.operator&&!p.left.has_side_effects(t))?o(tt,e,{operator:p.operator,left:p.left,right:o(et,e,{condition:e.condition,consequent:p.right,alternative:h.right})}):p instanceof $e&&h.TYPE===p.TYPE&&1==p.args.length&&1==h.args.length&&p.expression.equivalent_to(h.expression)&&!p.expression.has_side_effects(t)?(p.args[0]=o(et,e,{condition:e.condition,consequent:p.args[0],alternative:h.args[0]}),p):p instanceof et&&p.alternative.equivalent_to(h)?o(et,e,{condition:o(Xe,e,{left:e.condition,operator:"&&",right:p.condition}),consequent:p.consequent,alternative:h}):p.equivalent_to(h)?a(e,[e.condition,p]).optimize(t):r(e.consequent)?i(e.alternative)?n(e.condition):o(Xe,e,{operator:"||",left:n(e.condition),right:e.alternative}):i(e.consequent)?r(e.alternative)?n(e.condition.negate(t)):o(Xe,e,{operator:"&&",left:n(e.condition.negate(t)),right:e.alternative}):r(e.alternative)?o(Xe,e,{operator:"||",left:n(e.condition.negate(t)),right:e.consequent}):i(e.alternative)?o(Xe,e,{operator:"&&",left:n(e.condition),right:e.consequent}):e}),e(Bt,function(e,t){if(t.option("booleans")){var n=t.parent();return n instanceof Xe&&("=="==n.operator||"!="==n.operator)?(t.warn("Non-strict equality against boolean: {operator} {value} [{file}:{line},{col}]",{operator:n.operator,value:e.value,file:n.start.file,line:n.start.line,col:n.start.col}),o(At,e,{value:+e.value})):o(Ze,e,{operator:"!",expression:o(At,e,{value:1-e.value})})}return e}),e(We,function(e,t){var n=e.property;if(n instanceof wt&&t.option("properties")){if(n=n.getValue(),P(n))return o(Ge,e,{expression:e.expression,property:n}).optimize(t);var r=parseFloat(n);isNaN(r)||r.toString()!=n||(e.property=o(At,e.property,{value:r}))}var i=e.evaluate(t);return i!==e?(i=s(i,e).optimize(t),M(t,i,e)):e}),Ae.DEFMETHOD("contains_this",function(){var e,t=this;return t.walk(new k(function(n){return!!e||(n instanceof yt?e=!0:n!==t&&n instanceof _e||void 0)})),e}),e(Ge,function(e,t){var n=e.resolve_defines(t);if(n)return n.optimize(t);if(t.option("unsafe")&&e.expression instanceof rt)for(var r=e.expression.properties,i=r.length;--i>=0;)if(r[i].key===e.property){var u=r[i].value;if(u instanceof xe?!u.contains_this():!u.has_side_effects(t)){var l=e.expression.clone();return l.properties=l.properties.slice(),l.properties.splice(i,1),a(e,[l,u]).optimize(t)}}if(t.option("unsafe_proto")&&e.expression instanceof Ge&&"prototype"==e.expression.property){var c=e.expression.expression;if(S(c))switch(c.name){case"Array":e.expression=o(nt,e.expression,{elements:[]});break;case"Object":e.expression=o(rt,e.expression,{properties:[]});break;case"String":e.expression=o(wt,e.expression,{value:""})}}var f=e.evaluate(t);return f!==e?(f=s(f,e).optimize(t),M(t,f,e)):e}),e(nt,I),e(rt,I),e(Et,I),e(Se,function(e,t){return e.value&&T(e.value,t)&&(e.value=null),e}),e(Ve,function(e,t){var n=t.option("global_defs");return n&&A(n,e.name.name)&&t.warn("global_defs "+e.name.name+" redefined [{file}:{line},{col}]",e.start),e})}(),function(){function e(e){if("Literal"==e.type)return null!=e.raw?e.raw:e.value+""}function n(t){var n=t.loc,r=n&&n.start,i=t.range;return new ne({file:n&&n.source,line:r&&r.line,col:r&&r.column,pos:i?i[0]:t.start,endline:r&&r.line,endcol:r&&r.column,endpos:i?i[0]:t.start,raw:e(t)})}function r(t){var n=t.loc,r=n&&n.end,i=t.range;return new ne({file:n&&n.source,line:r&&r.line,col:r&&r.column,pos:i?i[1]:t.end,endline:r&&r.line,endcol:r&&r.column,endpos:i?i[1]:t.end,raw:e(t)})}function i(e,i,a){var f="function From_Moz_"+e+"(M){\n";f+="return new U2."+i.name+"({\nstart: my_start_token(M),\nend: my_end_token(M)";var h="function To_Moz_"+e+"(M){\n";h+="return {\ntype: "+JSON.stringify(e),a&&a.split(/\s*,\s*/).forEach(function(e){var t=/([a-z0-9$_]+)(=|@|>|%)([a-z0-9$_]+)/i.exec(e);if(!t)throw new Error("Can't understand property map: "+e);var n=t[1],r=t[2],i=t[3];switch(f+=",\n"+i+": ",h+=",\n"+n+": ",r){case"@":f+="M."+n+".map(from_moz)",h+="M."+i+".map(to_moz)";break;case">":f+="from_moz(M."+n+")",h+="to_moz(M."+i+")";break;case"=":f+="M."+n,h+="M."+i;break;case"%":f+="from_moz(M."+n+").body",h+="to_moz_block(M)";break;default:throw new Error("Can't understand operator in propmap: "+e)}}),f+="\n})\n}",h+="\n}\n}",f=new Function("U2","my_start_token","my_end_token","from_moz","return("+f+")")(t,n,r,o),h=new Function("to_moz","to_moz_block","to_moz_scope","return("+h+")")(u,l,c),p[e]=f,s(i,h)}function o(e){h.push(e);var t=null!=e?p[e.type](e):null;return h.pop(),t}function a(e,t,n){var r=e.start,i=e.end;return null!=r.pos&&null!=i.endpos&&(t.range=[r.pos,i.endpos]),r.line&&(t.loc={start:{line:r.line,column:r.col},end:i.endline?{line:i.endline,column:i.endcol}:null},r.file&&(t.loc.source=r.file)),t}function s(e,t){e.DEFMETHOD("to_mozilla_ast",function(){return a(this,t(this))})}function u(e){return null!=e?e.to_mozilla_ast():null}function l(e){return{type:"BlockStatement",body:e.body.map(u)}}function c(e,t){var n=t.body.map(u);return t.body[0]instanceof se&&t.body[0].body instanceof wt&&n.unshift(u(new ce(t.body[0]))),{type:e,body:n}}var f=function(e){for(var t=!0,n=0;n<e.length;n++)t&&e[n]instanceof ie&&e[n].body instanceof wt?e[n]=new ae({start:e[n].start,end:e[n].end,value:e[n].body.value}):!t||e[n]instanceof ie&&e[n].body instanceof wt||(t=!1);return e},p={Program:function(e){return new we({start:n(e),end:r(e),body:f(e.body.map(o))})},FunctionDeclaration:function(e){return new Ce({start:n(e),end:r(e),name:o(e.id),argnames:e.params.map(o),body:f(o(e.body).body)})},FunctionExpression:function(e){return new xe({start:n(e),end:r(e),name:o(e.id),argnames:e.params.map(o),body:f(o(e.body).body)})},ExpressionStatement:function(e){return new se({start:n(e),end:r(e),body:o(e.expression)})},TryStatement:function(e){var t=e.handlers||[e.handler];if(t.length>1||e.guardedHandlers&&e.guardedHandlers.length)throw new Error("Multiple catch clauses are not supported.");return new Ne({start:n(e),end:r(e),body:o(e.block).body,bcatch:o(t[0]),bfinally:e.finalizer?new ze(o(e.finalizer)):null})},Property:function(e){var t=e.key,i={start:n(t),end:r(e.value),key:"Identifier"==t.type?t.name:t.value,value:o(e.value)};return"init"==e.kind?new ot(i):(i.key=new lt({name:i.key}),i.value=new Ee(i.value),"get"==e.kind?new st(i):"set"==e.kind?new at(i):void 0)},ArrayExpression:function(e){return new nt({start:n(e),end:r(e),elements:e.elements.map(function(e){return null===e?new St:o(e)})})},ObjectExpression:function(e){return new rt({start:n(e),end:r(e),properties:e.properties.map(function(e){return e.type="Property",o(e)})})},SequenceExpression:function(e){return new Ke({start:n(e),end:r(e),expressions:e.expressions.map(o)})},MemberExpression:function(e){return new(e.computed?We:Ge)({start:n(e),end:r(e),property:e.computed?o(e.property):e.property.name,expression:o(e.object)})},SwitchCase:function(e){return new(e.test?Ue:Pe)({start:n(e),end:r(e),expression:o(e.test),body:e.consequent.map(o)})},VariableDeclaration:function(e){return new je({start:n(e),end:r(e),definitions:e.declarations.map(o)})},Literal:function(e){var t=e.value,i={start:n(e),end:r(e)};if(null===t)return new Ct(i);switch(typeof t){case"string":return i.value=t,new wt(i);case"number":return i.value=t,new At(i);case"boolean":return new(t?Rt:Tt)(i);default:var o=e.regex;return o&&o.pattern?i.value=new RegExp(o.pattern,o.flags).toString():i.value=e.regex&&e.raw?e.raw:t,new Et(i)}},Identifier:function(e){var t=h[h.length-2];return new("LabeledStatement"==t.type?gt:"VariableDeclarator"==t.type&&t.id===e?ft:"FunctionExpression"==t.type?t.id===e?dt:pt:"FunctionDeclaration"==t.type?t.id===e?ht:pt:"CatchClause"==t.type?mt:"BreakStatement"==t.type||"ContinueStatement"==t.type?bt:vt)({start:n(e),end:r(e),name:e.name})}};p.UpdateExpression=p.UnaryExpression=function(e){return new(("prefix"in e?e.prefix:"UnaryExpression"==e.type)?Ze:Je)({start:n(e),end:r(e),operator:e.operator,expression:o(e.argument)})},i("EmptyStatement",ce),i("BlockStatement",le,"body@body"),i("IfStatement",Fe,"test>condition, consequent>body, alternate>alternative"),i("LabeledStatement",pe,"label>label, body>body"),i("BreakStatement",Te,"label>label"),i("ContinueStatement",Re,"label>label"),i("WithStatement",ye,"object>expression, body>body"),i("SwitchStatement",Le,"discriminant>expression, cases@body"),i("ReturnStatement",Se,"argument>value"),i("ThrowStatement",De,"argument>value"),i("WhileStatement",ge,"test>condition, body>body"),i("DoWhileStatement",me,"test>condition, body>body"),i("ForStatement",ve,"init>init, test>condition, update>step, body>body"),i("ForInStatement",be,"left>init, right>object, body>body"),i("DebuggerStatement",oe),i("VariableDeclarator",Ve,"id>name, init>value"),i("CatchClause",qe,"param>argname, body%body"),i("ThisExpression",yt),i("BinaryExpression",Xe,"operator=operator, left>left, right>right"),i("LogicalExpression",Xe,"operator=operator, left>left, right>right"),i("AssignmentExpression",tt,"operator=operator, left>left, right>right"),i("ConditionalExpression",et,"test>condition, consequent>consequent, alternate>alternative"),i("NewExpression",He,"callee>expression, arguments@args"),i("CallExpression",$e,"callee>expression, arguments@args"),s(we,function(e){return c("Program",e)}),s(Ce,function(e){return{type:"FunctionDeclaration",id:u(e.name),params:e.argnames.map(u),body:c("BlockStatement",e)}}),s(xe,function(e){return{type:"FunctionExpression",id:u(e.name),params:e.argnames.map(u),body:c("BlockStatement",e)}}),s(ae,function(e){return{type:"ExpressionStatement",expression:{type:"Literal",value:e.value}}}),s(se,function(e){return{type:"ExpressionStatement",expression:u(e.body)}}),s(Me,function(e){return{type:"SwitchCase",test:u(e.expression),consequent:e.body.map(u)}}),s(Ne,function(e){return{type:"TryStatement",block:l(e),handler:u(e.bcatch),guardedHandlers:[],finalizer:u(e.bfinally)}}),s(qe,function(e){return{type:"CatchClause",param:u(e.argname),guard:null,body:l(e)}}),s(Ie,function(e){return{type:"VariableDeclaration",kind:"var",declarations:e.definitions.map(u)}}),s(Ke,function(e){return{type:"SequenceExpression",expressions:e.expressions.map(u)}}),s(Ye,function(e){var t=e instanceof We;return{type:"MemberExpression",object:u(e.expression),computed:t,property:t?u(e.property):{type:"Identifier",name:e.property}}}),s(Qe,function(e){return{type:"++"==e.operator||"--"==e.operator?"UpdateExpression":"UnaryExpression",operator:e.operator,prefix:e instanceof Ze,argument:u(e.expression)}}),s(Xe,function(e){return{type:"&&"==e.operator||"||"==e.operator?"LogicalExpression":"BinaryExpression",left:u(e.left),operator:e.operator,right:u(e.right)}}),s(nt,function(e){return{type:"ArrayExpression",elements:e.elements.map(u)}}),s(rt,function(e){return{type:"ObjectExpression",properties:e.properties.map(u)}}),s(it,function(e){var t,n={type:"Literal",value:e.key instanceof lt?e.key.name:e.key};return e instanceof ot?t="init":e instanceof st?t="get":e instanceof at&&(t="set"),{type:"Property",kind:t,key:n,value:u(e.value)}}),s(ut,function(e){var t=e.definition();return{type:"Identifier",name:t?t.mangled_name||t.name:e.name}}),s(Et,function(e){var t=e.value;return{type:"Literal",value:t,raw:t.toString(),regex:{pattern:t.source,flags:t.toString().match(/[gimuy]*$/)[0]}}}),s(_t,function(e){var t=e.value;return"number"==typeof t&&(t<0||0===t&&1/t<0)?{type:"UnaryExpression",operator:"-",prefix:!0,argument:{type:"Literal",value:-t,raw:e.start.raw}}:{type:"Literal",value:t,raw:e.start.raw}}),s(xt,function(e){return{type:"Identifier",name:String(e.value)}}),Bt.DEFMETHOD("to_mozilla_ast",_t.prototype.to_mozilla_ast),Ct.DEFMETHOD("to_mozilla_ast",_t.prototype.to_mozilla_ast),St.DEFMETHOD("to_mozilla_ast",function(){return null}),ue.DEFMETHOD("to_mozilla_ast",le.prototype.to_mozilla_ast),Ae.DEFMETHOD("to_mozilla_ast",xe.prototype.to_mozilla_ast);var h=null;re.from_mozilla_ast=function(e){var t=h;h=[];var n=o(e);return h=t,n}}();var en="undefined"==typeof atob?function(t){return new e(t,"base64").toString()}:atob,tn="undefined"==typeof btoa?function(t){return new e(t).toString("base64")}:btoa;t.Dictionary=w,t.TreeWalker=k,t.TreeTransformer=V,t.minify=function(e,t){var n=re.warn_function;try{var r=(t=u(t,{compress:{},ie8:!1,keep_fnames:!1,mangle:{},nameCache:null,output:{},parse:{},sourceMap:!1,timings:!1,toplevel:!1,warnings:!1,wrap:!1},!0)).timings&&{start:Date.now()};J("ie8",t,["compress","mangle","output"]),J("keep_fnames",t,["compress","mangle"]),J("toplevel",t,["compress","mangle"]),J("warnings",t,["compress"]),t.mangle&&(t.mangle=u(t.mangle,{cache:t.nameCache&&(t.nameCache.vars||{}),eval:!1,ie8:!1,keep_fnames:!1,properties:!1,reserved:[],toplevel:!1},!0),t.nameCache&&t.mangle.properties&&("object"!=typeof t.mangle.properties&&(t.mangle.properties={}),"cache"in t.mangle.properties||(t.mangle.properties.cache=t.nameCache.props||{})),X(t.mangle.cache),X(t.mangle.properties.cache)),t.sourceMap&&(t.sourceMap=u(t.sourceMap,{content:null,filename:null,includeSources:!1,root:null,url:null},!0));var i=[];t.warnings&&!re.warn_function&&(re.warn_function=function(e){i.push(e)}),r&&(r.parse=Date.now());var o;if(e instanceof we)o=e;else{"string"==typeof e&&(e=[e]),t.parse=t.parse||{},t.parse.toplevel=null;for(var a in e)if(A(e,a)&&(t.parse.filename=a,t.parse.toplevel=j(e[a],t.parse),t.sourceMap&&"inline"==t.sourceMap.content)){if(Object.keys(e).length>1)throw new Error("inline source map only works with singular input");t.sourceMap.content=Z(e[a])}o=t.parse.toplevel}t.wrap&&(o=o.wrap_commonjs(t.wrap)),r&&(r.scope1=Date.now()),t.compress&&o.figure_out_scope(t.mangle),r&&(r.compress=Date.now()),t.compress&&(o=new Y(t.compress).compress(o)),r&&(r.scope2=Date.now()),t.mangle&&o.figure_out_scope(t.mangle),r&&(r.mangle=Date.now()),t.mangle&&(Jt.reset(),o.compute_char_frequency(t.mangle),o.mangle_names(t.mangle)),r&&(r.properties=Date.now()),t.mangle&&t.mangle.properties&&(o=Q(o,t.mangle.properties)),r&&(r.output=Date.now());var s={};if(t.output.ast&&(s.ast=o),!A(t.output,"code")||t.output.code){if(t.sourceMap&&("string"==typeof t.sourceMap.content&&(t.sourceMap.content=JSON.parse(t.sourceMap.content)),t.output.source_map=G({file:t.sourceMap.filename,orig:t.sourceMap.content,root:t.sourceMap.root}),t.sourceMap.includeSources)){if(e instanceof we)throw new Error("original source content unavailable");for(var a in e)A(e,a)&&t.output.source_map.get().setSourceContent(a,e[a])}delete t.output.ast,delete t.output.code;var l=K(t.output);o.print(l),s.code=l.get(),t.sourceMap&&(s.map=t.output.source_map.toString(),"inline"==t.sourceMap.url?s.code+="\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,"+tn(s.map):t.sourceMap.url&&(s.code+="\n//# sourceMappingURL="+t.sourceMap.url))}return t.nameCache&&t.mangle&&(t.mangle.cache&&(t.nameCache.vars=ee(t.mangle.cache)),t.mangle.properties&&t.mangle.properties.cache&&(t.nameCache.props=ee(t.mangle.properties.cache))),r&&(r.end=Date.now(),s.timings={parse:.001*(r.scope1-r.parse),scope:.001*(r.compress-r.scope1+r.mangle-r.scope2),compress:.001*(r.scope2-r.compress),mangle:.001*(r.properties-r.mangle),properties:.001*(r.output-r.properties),output:.001*(r.end-r.output),total:.001*(r.end-r.start)}),i.length&&(s.warnings=i),s}catch(e){return{error:e}}finally{re.warn_function=n}},t._push_uniq=m}(void 0===n?n={}:n)}).call(this,e("buffer").Buffer)},{buffer:4}]},{},["html-minifier"]);
\ No newline at end of file
+require=function e(t,n,r){function o(a,s){if(!n[a]){if(!t[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(i)return i(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[a]={exports:{}};t[a][0].call(c.exports,function(e){var n=t[a][1][e];return o(n||e)},c,c.exports,e,t,n,r)}return n[a].exports}for(var i="function"==typeof require&&require,a=0;a<r.length;a++)o(r[a]);return o}({1:[function(e,t,n){"use strict";function r(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function o(e){return a[e>>18&63]+a[e>>12&63]+a[e>>6&63]+a[63&e]}function i(e,t,n){for(var r,i=[],a=t;a<n;a+=3)r=(e[a]<<16)+(e[a+1]<<8)+e[a+2],i.push(o(r));return i.join("")}n.byteLength=function(e){return 3*e.length/4-r(e)},n.toByteArray=function(e){var t,n,o,i,a,l=e.length;i=r(e),a=new u(3*l/4-i),n=i>0?l-4:l;var c=0;for(t=0;t<n;t+=4)o=s[e.charCodeAt(t)]<<18|s[e.charCodeAt(t+1)]<<12|s[e.charCodeAt(t+2)]<<6|s[e.charCodeAt(t+3)],a[c++]=o>>16&255,a[c++]=o>>8&255,a[c++]=255&o;return 2===i?(o=s[e.charCodeAt(t)]<<2|s[e.charCodeAt(t+1)]>>4,a[c++]=255&o):1===i&&(o=s[e.charCodeAt(t)]<<10|s[e.charCodeAt(t+1)]<<4|s[e.charCodeAt(t+2)]>>2,a[c++]=o>>8&255,a[c++]=255&o),a},n.fromByteArray=function(e){for(var t,n=e.length,r=n%3,o="",s=[],u=0,l=n-r;u<l;u+=16383)s.push(i(e,u,u+16383>l?l:u+16383));return 1===r?(t=e[n-1],o+=a[t>>2],o+=a[t<<4&63],o+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],o+=a[t>>10],o+=a[t>>4&63],o+=a[t<<2&63],o+="="),s.push(o),s.join("")};for(var a=[],s=[],u="undefined"!=typeof Uint8Array?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=0,f=l.length;c<f;++c)a[c]=l[c],s[l.charCodeAt(c)]=c;s["-".charCodeAt(0)]=62,s["_".charCodeAt(0)]=63},{}],2:[function(e,t,n){},{}],3:[function(e,t,n){arguments[4][2][0].apply(n,arguments)},{dup:2}],4:[function(e,t,n){"use strict";function r(e){if(e>W)throw new RangeError("Invalid typed array length");var t=new Uint8Array(e);return t.__proto__=o.prototype,t}function o(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return u(e)}return i(e,t,n)}function i(e,t,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return $(e)?f(e,t,n):"string"==typeof e?l(e,t):p(e)}function a(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function s(e,t,n){return a(e),e<=0?r(e):void 0!==t?"string"==typeof n?r(e).fill(t,n):r(e).fill(t):r(e)}function u(e){return a(e),r(e<0?0:0|h(e))}function l(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!o.isEncoding(t))throw new TypeError('"encoding" must be a valid string encoding');var n=0|d(e,t),i=r(n),a=i.write(e,t);return a!==n&&(i=i.slice(0,a)),i}function c(e){for(var t=e.length<0?0:0|h(e.length),n=r(t),o=0;o<t;o+=1)n[o]=255&e[o];return n}function f(e,t,n){if(t<0||e.byteLength<t)throw new RangeError("'offset' is out of bounds");if(e.byteLength<t+(n||0))throw new RangeError("'length' is out of bounds");var r;return r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),r.__proto__=o.prototype,r}function p(e){if(o.isBuffer(e)){var t=0|h(e.length),n=r(t);return 0===n.length?n:(e.copy(n,0,0,t),n)}if(e){if(H(e)||"length"in e)return"number"!=typeof e.length||K(e.length)?r(0):c(e);if("Buffer"===e.type&&Array.isArray(e.data))return c(e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function h(e){if(e>=W)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+W.toString(16)+" bytes");return 0|e}function d(e,t){if(o.isBuffer(e))return e.length;if(H(e)||$(e))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return q(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return j(e).length;default:if(r)return q(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return D(this,t,n);case"utf8":case"utf-8":return k(this,t,n);case"ascii":return S(this,t,n);case"latin1":case"binary":return B(this,t,n);case"base64":return C(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function g(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,K(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=o.from(t,r)),o.isBuffer(t))return 0===t.length?-1:b(e,t,n,r,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function b(e,t,n,r,o){function i(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}var a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}var l;if(o){var c=-1;for(l=n;l<s;l++)if(i(e,l)===i(t,-1===c?0:l-c)){if(-1===c&&(c=l),l-c+1===u)return c*a}else-1!==c&&(l-=l-c),c=-1}else for(n+u>s&&(n=s-u),l=n;l>=0;l--){for(var f=!0,p=0;p<u;p++)if(i(e,l+p)!==i(t,p)){f=!1;break}if(f)return l}return-1}function y(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(K(s))return a;e[n+a]=s}return a}function _(e,t,n,r){return V(q(t,e.length-n),e,n,r)}function w(e,t,n,r){return V(z(t),e,n,r)}function E(e,t,n,r){return w(e,t,n,r)}function A(e,t,n,r){return V(j(t),e,n,r)}function x(e,t,n,r){return V(I(t,e.length-n),e,n,r)}function C(e,t,n){return 0===t&&n===e.length?G.fromByteArray(e):G.fromByteArray(e.slice(t,n))}function k(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o<n;){var i=e[o],a=null,s=i>239?4:i>223?3:i>191?2:1;if(o+s<=n){var u,l,c,f;switch(s){case 1:i<128&&(a=i);break;case 2:128==(192&(u=e[o+1]))&&(f=(31&i)<<6|63&u)>127&&(a=f);break;case 3:u=e[o+1],l=e[o+2],128==(192&u)&&128==(192&l)&&(f=(15&i)<<12|(63&u)<<6|63&l)>2047&&(f<55296||f>57343)&&(a=f);break;case 4:u=e[o+1],l=e[o+2],c=e[o+3],128==(192&u)&&128==(192&l)&&128==(192&c)&&(f=(15&i)<<18|(63&u)<<12|(63&l)<<6|63&c)>65535&&f<1114112&&(a=f)}}null===a?(a=65533,s=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),o+=s}return O(r)}function O(e){var t=e.length;if(t<=Q)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=Q));return n}function S(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function B(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function D(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i<n;++i)o+=P(e[i]);return o}function T(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function R(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function F(e,t,n,r,i,a){if(!o.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<a)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function L(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function M(e,t,n,r,o){return t=+t,n>>>=0,o||L(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),Y.write(e,t,n,r,23,4),n+4}function U(e,t,n,r,o){return t=+t,n>>>=0,o||L(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),Y.write(e,t,n,r,52,8),n+8}function N(e){if((e=e.trim().replace(Z,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}function P(e){return e<16?"0"+e.toString(16):e.toString(16)}function q(e,t){t=t||1/0;for(var n,r=e.length,o=null,i=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function z(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}function I(e,t){for(var n,r,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)r=(n=e.charCodeAt(a))>>8,o=n%256,i.push(o),i.push(r);return i}function j(e){return G.toByteArray(N(e))}function V(e,t,n,r){for(var o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function $(e){return e instanceof ArrayBuffer||null!=e&&null!=e.constructor&&"ArrayBuffer"===e.constructor.name&&"number"==typeof e.byteLength}function H(e){return"function"==typeof ArrayBuffer.isView&&ArrayBuffer.isView(e)}function K(e){return e!==e}var G=e("base64-js"),Y=e("ieee754");n.Buffer=o,n.SlowBuffer=function(e){return+e!=e&&(e=0),o.alloc(+e)},n.INSPECT_MAX_BYTES=50;var W=2147483647;n.kMaxLength=W,o.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()}catch(e){return!1}}(),o.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),"undefined"!=typeof Symbol&&Symbol.species&&o[Symbol.species]===o&&Object.defineProperty(o,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),o.poolSize=8192,o.from=function(e,t,n){return i(e,t,n)},o.prototype.__proto__=Uint8Array.prototype,o.__proto__=Uint8Array,o.alloc=function(e,t,n){return s(e,t,n)},o.allocUnsafe=function(e){return u(e)},o.allocUnsafeSlow=function(e){return u(e)},o.isBuffer=function(e){return null!=e&&!0===e._isBuffer},o.compare=function(e,t){if(!o.isBuffer(e)||!o.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,a=Math.min(n,r);i<a;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},o.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return o.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=o.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var a=e[n];if(!o.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},o.byteLength=d,o.prototype._isBuffer=!0,o.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)g(this,t,t+1);return this},o.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},o.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},o.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?k(this,0,e):m.apply(this,arguments)},o.prototype.equals=function(e){if(!o.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===o.compare(this,e)},o.prototype.inspect=function(){var e="",t=n.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),"<Buffer "+e+">"},o.prototype.compare=function(e,t,n,r,i){if(!o.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var a=i-r,s=n-t,u=Math.min(a,s),l=this.slice(r,i),c=e.slice(t,n),f=0;f<u;++f)if(l[f]!==c[f]){a=l[f],s=c[f];break}return a<s?-1:s<a?1:0},o.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},o.prototype.indexOf=function(e,t,n){return v(this,e,t,n,!0)},o.prototype.lastIndexOf=function(e,t,n){return v(this,e,t,n,!1)},o.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return y(this,e,t,n);case"utf8":case"utf-8":return _(this,e,t,n);case"ascii":return w(this,e,t,n);case"latin1":case"binary":return E(this,e,t,n);case"base64":return A(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Q=4096;o.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var r=this.subarray(e,t);return r.__proto__=o.prototype,r},o.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||R(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r},o.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||R(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},o.prototype.readUInt8=function(e,t){return e>>>=0,t||R(e,1,this.length),this[e]},o.prototype.readUInt16LE=function(e,t){return e>>>=0,t||R(e,2,this.length),this[e]|this[e+1]<<8},o.prototype.readUInt16BE=function(e,t){return e>>>=0,t||R(e,2,this.length),this[e]<<8|this[e+1]},o.prototype.readUInt32LE=function(e,t){return e>>>=0,t||R(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},o.prototype.readUInt32BE=function(e,t){return e>>>=0,t||R(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},o.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||R(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return o*=128,r>=o&&(r-=Math.pow(2,8*t)),r},o.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||R(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i},o.prototype.readInt8=function(e,t){return e>>>=0,t||R(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},o.prototype.readInt16LE=function(e,t){e>>>=0,t||R(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt16BE=function(e,t){e>>>=0,t||R(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt32LE=function(e,t){return e>>>=0,t||R(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},o.prototype.readInt32BE=function(e,t){return e>>>=0,t||R(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},o.prototype.readFloatLE=function(e,t){return e>>>=0,t||R(e,4,this.length),Y.read(this,e,!0,23,4)},o.prototype.readFloatBE=function(e,t){return e>>>=0,t||R(e,4,this.length),Y.read(this,e,!1,23,4)},o.prototype.readDoubleLE=function(e,t){return e>>>=0,t||R(e,8,this.length),Y.read(this,e,!0,52,8)},o.prototype.readDoubleBE=function(e,t){return e>>>=0,t||R(e,8,this.length),Y.read(this,e,!1,52,8)},o.prototype.writeUIntLE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||F(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},o.prototype.writeUIntBE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||F(this,e,t,n,Math.pow(2,8*n)-1,0);var o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},o.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,1,255,0),this[t]=255&e,t+1},o.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},o.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},o.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},o.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},o.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);F(this,e,t,n,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i<n&&(a*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},o.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);F(this,e,t,n,o-1,-o)}var i=n-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},o.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},o.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},o.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},o.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},o.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},o.prototype.writeFloatLE=function(e,t,n){return M(this,e,t,!0,n)},o.prototype.writeFloatBE=function(e,t,n){return M(this,e,t,!1,n)},o.prototype.writeDoubleLE=function(e,t,n){return U(this,e,t,!0,n)},o.prototype.writeDoubleBE=function(e,t,n){return U(this,e,t,!1,n)},o.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var o,i=r-n;if(this===e&&n<t&&t<r)for(o=i-1;o>=0;--o)e[o+t]=this[o+n];else if(i<1e3)for(o=0;o<i;++o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+i),t);return i},o.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!o.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0);var a;if("number"==typeof e)for(a=t;a<n;++a)this[a]=e;else{var s=o.isBuffer(e)?e:new o(e,r),u=s.length;for(a=0;a<n-t;++a)this[a+t]=s[a%u]}return this};var Z=/[^+/0-9A-Za-z-_]/g},{"base64-js":1,ieee754:105}],5:[function(e,t,n){t.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",451:"Unavailable For Legal Reasons",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"}},{}],6:[function(e,t,n){t.exports=e("./lib/clean")},{"./lib/clean":7}],7:[function(e,t,n){(function(n){function r(e,t,n,r){var s="function"!=typeof n?n:null,u="function"==typeof r?r:"function"==typeof n?n:null,l={stats:{efficiency:0,minifiedSize:0,originalSize:0,startedAt:Date.now(),timeSpent:0},cache:{specificity:{}},errors:[],inlinedStylesheets:[],inputSourceMapTracker:E(),localOnly:!u,options:t,source:null,sourcesContent:{},validator:f(t.compatibility),warnings:[]};return s&&l.inputSourceMapTracker.track(void 0,s),o(l.localOnly)(function(){return A(e,l,function(e){var t=a((l.options.sourceMap?C:x)(i(e,l),l),l);return u?u(l.errors.length>0?l.errors:null,t):t})})}function o(e){return e?function(e){return e()}:n.nextTick}function i(e,t){var n;return n=u(e,t),n=b.One in t.options.level?l(e,t):e,n=b.Two in t.options.level?c(e,t,!0):n}function a(e,t){return e.stats=s(e.styles,t),e.errors=t.errors,e.inlinedStylesheets=t.inlinedStylesheets,e.warnings=t.warnings,e}function s(e,t){var n=Date.now()-t.stats.startedAt;return delete t.stats.startedAt,t.stats.timeSpent=n,t.stats.efficiency=1-e.length/t.stats.originalSize,t.stats.minifiedSize=e.length,t.stats}var u=e("./optimizer/level-0/optimize"),l=e("./optimizer/level-1/optimize"),c=e("./optimizer/level-2/optimize"),f=e("./optimizer/validator"),p=e("./options/compatibility"),h=e("./options/fetch"),d=e("./options/format").formatFrom,m=e("./options/inline"),g=e("./options/inline-request"),v=e("./options/inline-timeout"),b=e("./options/optimization-level").OptimizationLevel,y=e("./options/optimization-level").optimizationLevelFrom,_=e("./options/rebase"),w=e("./options/rebase-to"),E=e("./reader/input-source-map-tracker"),A=e("./reader/read-sources"),x=e("./writer/simple"),C=e("./writer/source-maps");(t.exports=function(e){e=e||{},this.options={compatibility:p(e.compatibility),fetch:h(e.fetch),format:d(e.format),inline:m(e.inline),inlineRequest:g(e.inlineRequest),inlineTimeout:v(e.inlineTimeout),level:y(e.level),rebase:_(e.rebase),rebaseTo:w(e.rebaseTo),returnPromise:!!e.returnPromise,sourceMap:!!e.sourceMap,sourceMapInlineSources:!!e.sourceMapInlineSources}}).prototype.minify=function(e,t,n){var o=this.options;return o.returnPromise?new Promise(function(n,i){r(e,o,t,function(e,t){return e?i(e):n(t)})}):r(e,o,t,n)}}).call(this,e("_process"))},{"./optimizer/level-0/optimize":9,"./optimizer/level-1/optimize":10,"./optimizer/level-2/optimize":29,"./optimizer/validator":57,"./options/compatibility":59,"./options/fetch":60,"./options/format":61,"./options/inline":64,"./options/inline-request":62,"./options/inline-timeout":63,"./options/optimization-level":65,"./options/rebase":67,"./options/rebase-to":66,"./reader/input-source-map-tracker":71,"./reader/read-sources":77,"./writer/simple":99,"./writer/source-maps":100,_process:113}],8:[function(e,t,n){var r={ASTERISK:"asterisk",BANG:"bang",BACKSLASH:"backslash",UNDERSCORE:"underscore"};t.exports=r},{}],9:[function(e,t,n){t.exports=function(e){return e}},{}],10:[function(e,t,n){function r(e){return e&&"-"==e[1][0]&&parseFloat(e[1])<0}function o(e){return oe.test(e)}function i(e){return ae.test(e)}function a(e){return e.replace(ae,"url(").replace(/\\?\n|\\?\r\n/g,"")}function s(e){var t=e.value;1==t.length&&"none"==t[0][1]&&(t[0][1]="0 0"),1==t.length&&"transparent"==t[0][1]&&(t[0][1]="0 0")}function u(e){var t,n=e.value;3==n.length&&"/"==n[1][1]&&n[0][1]==n[2][1]?t=1:5==n.length&&"/"==n[2][1]&&n[0][1]==n[3][1]&&n[1][1]==n[4][1]?t=2:7==n.length&&"/"==n[3][1]&&n[0][1]==n[4][1]&&n[1][1]==n[5][1]&&n[2][1]==n[6][1]?t=3:9==n.length&&"/"==n[4][1]&&n[0][1]==n[5][1]&&n[1][1]==n[6][1]&&n[2][1]==n[7][1]&&n[3][1]==n[8][1]&&(t=4),t&&(e.value.splice(t),e.dirty=!0)}function l(e,t,n){return-1===t.indexOf("#")&&-1==t.indexOf("rgb")&&-1==t.indexOf("hsl")?F(t):(t=t.replace(/rgb\((\-?\d+),(\-?\d+),(\-?\d+)\)/g,function(e,t,n,r){return M(t,n,r)}).replace(/hsl\((-?\d+),(-?\d+)%?,(-?\d+)%?\)/g,function(e,t,n,r){return L(t,n,r)}).replace(/(^|[^='"])#([0-9a-f]{6})/gi,function(e,t,n,r,o){var i=o[r+e.length];return i&&te.test(i)?e:n[0]==n[1]&&n[2]==n[3]&&n[4]==n[5]?(t+"#"+n[0]+n[2]+n[4]).toLowerCase():(t+"#"+n).toLowerCase()}).replace(/(^|[^='"])#([0-9a-f]{3})/gi,function(e,t,n){return t+"#"+n.toLowerCase()}).replace(/(rgb|rgba|hsl|hsla)\(([^\)]+)\)/g,function(e,t,n){var r=n.split(",");return"hsl"==t&&3==r.length||"hsla"==t&&4==r.length||"rgb"==t&&3==r.length&&n.indexOf("%")>0||"rgba"==t&&4==r.length&&n.indexOf("%")>0?(-1==r[1].indexOf("%")&&(r[1]+="%"),-1==r[2].indexOf("%")&&(r[2]+="%"),t+"("+r.join(",")+")"):e}),n.colors.opacity&&-1==e.indexOf("background")&&(t=t.replace(/(?:rgba|hsla)\(0,0%?,0%?,0\)/g,function(e){return Y(t,",").pop().indexOf("gradient(")>-1?e:"transparent"})),F(t))}function c(e){1==e.value.length&&(e.value[0][1]=e.value[0][1].replace(/progid:DXImageTransform\.Microsoft\.(Alpha|Chroma)(\W)/,function(e,t,n){return t.toLowerCase()+n})),e.value[0][1]=e.value[0][1].replace(/,(\S)/g,", $1").replace(/ ?= ?/g,"=")}function f(e,t){var n=e.value[t][1];"normal"==n?n="400":"bold"==n&&(n="700"),e.value[t][1]=n}function p(e){var t,n=e.value;4==n.length&&"0"===n[0][1]&&"0"===n[1][1]&&"0"===n[2][1]&&"0"===n[3][1]&&(t=e.name.indexOf("box-shadow")>-1?2:1),t&&(e.value.splice(t),e.dirty=!0)}function h(e){var t=e.value;1==t.length&&"none"==t[0][1]&&(t[0][1]="0")}function d(e,t,n){return X.test(t)?t.replace(X,function(e,t){var r,o=parseInt(t);return 0===o?e:(n.properties.shorterLengthUnits&&n.units.pt&&3*o%4==0&&(r=3*o/4+"pt"),n.properties.shorterLengthUnits&&n.units.pc&&o%16==0&&(r=o/16+"pc"),n.properties.shorterLengthUnits&&n.units.in&&o%96==0&&(r=o/96+"in"),r&&(r=e.substring(0,e.indexOf(t))+r),r&&r.length<e.length?r:e)}):t}function m(e,t,n){return n.enabled&&-1!==t.indexOf(".")?t.replace(n.decimalPointMatcher,"$1$2$3").replace(n.zeroMatcher,function(e,t,r,o){var i=n.units[o].multiplier,a=parseInt(t),s=isNaN(a)?0:a,u=parseFloat(r);return Math.round((s+u)*i)/i+o}):t}function g(e,t){return ee.test(t)?t.replace(ee,function(e,t,n){var r;return"ms"==n?r=parseInt(t)/1e3+"s":"s"==n&&(r=1e3*parseFloat(t)+"ms"),r.length<e.length?r:e}):t}function v(e,t,n){return/^(?:\-moz\-calc|\-webkit\-calc|calc|rgb|hsl|rgba|hsla)\(/.test(t)?t:"flex"==e||"-ms-flex"==e||"-webkit-flex"==e||"flex-basis"==e||"-webkit-flex-basis"==e?t:t.indexOf("%")>0&&("height"==e||"max-height"==e||"width"==e||"max-width"==e)?t:t.replace(n,"$10$2").replace(n,"$10$2")}function b(e,t){return e.indexOf("filter")>-1||-1==t.indexOf(" ")||0===t.indexOf("expression")?t:t.indexOf(K.SINGLE_QUOTE)>-1||t.indexOf(K.DOUBLE_QUOTE)>-1?t:((t=t.replace(/\s+/g," ")).indexOf("calc")>-1&&(t=t.replace(/\) ?\/ ?/g,")/ ")),t.replace(/(\(;?)\s+/g,"$1").replace(/\s+(;?\))/g,"$1").replace(/, /g,","))}function y(e,t){return-1==t.indexOf("0deg")?t:t.replace(/\(0deg\)/g,"(0)")}function _(e,t){return-1==t.indexOf("0")?t:(t.indexOf("-")>-1&&(t=t.replace(/([^\w\d\-]|^)\-0([^\.]|$)/g,"$10$2").replace(/([^\w\d\-]|^)\-0([^\.]|$)/g,"$10$2")),t.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(e,t,n){return(t.length>0?".":"")+t+n}).replace(/(^|\D)0\.(\d)/g,"$1.$2"))}function w(e,t){return"content"==e||e.indexOf("font-feature-settings")>-1||e.indexOf("grid-")>-1?t:ie.test(t)?t.substring(1,t.length-1):t}function E(e){return!/^url\(['"].+['"]\)$/.test(e)||/^url\(['"].*[\*\s\(\)'"].*['"]\)$/.test(e)||/^url\(['"]data:[^;]+;charset/.test(e)?e:e.replace(/["']/g,"")}function A(e,t,n){var r=n(e,t);return void 0===r?t:!1===r?W:r}function x(e,t){var n,k,O,S,B,D,R=t.options,F=R.level[$.One],L=V(e,!0);e:for(var M=0,U=L.length;M<U;M++)if(n=L[M],k=n.name,ne.test(k)||(D=n.all[n.position],t.warnings.push("Invalid property name '"+k+"' at "+G(D[1][2][0])+". Ignoring."),n.unused=!0),0===n.value.length&&(D=n.all[n.position],t.warnings.push("Empty property '"+k+"' at "+G(D[1][2][0])+". Ignoring."),n.unused=!0),n.hack&&((n.hack[0]==z.ASTERISK||n.hack[0]==z.UNDERSCORE)&&!R.compatibility.properties.iePrefixHack||n.hack[0]==z.BACKSLASH&&!R.compatibility.properties.ieSuffixHack||n.hack[0]==z.BANG&&!R.compatibility.properties.ieBangHack)&&(n.unused=!0),F.removeNegativePaddings&&0===k.indexOf("padding")&&(r(n.value[0])||r(n.value[1])||r(n.value[2])||r(n.value[3]))&&(n.unused=!0),!R.compatibility.properties.ieFilters&&T(n)&&(n.unused=!0),!n.unused)if(n.block)x(n.value[0][1],t);else if(!se.test(k)){for(var N=0,P=n.value.length;N<P;N++){if(O=n.value[N][0],S=n.value[N][1],B=i(S),O==H.PROPERTY_BLOCK){n.unused=!0,t.warnings.push("Invalid value token at "+G(S[0][1][2][0])+". Ignoring.");break}if(B&&!t.validator.isUrl(S)){n.unused=!0,t.warnings.push("Broken URL '"+S+"' at "+G(n.value[N][2][0])+". Ignoring.");break}if(B?(S=F.normalizeUrls?a(S):S,S=R.compatibility.properties.urlQuotes?S:E(S)):o(S)?S=F.removeQuotes?w(k,S):S:(S=d(k,S=m(k,S=F.removeWhitespace?b(k,S):S,R.precision),R.compatibility),S=F.replaceTimeUnits?g(k,S):S,S=F.replaceZeroUnits?_(k,S):S,R.compatibility.properties.zeroUnits&&(S=v(k,S=y(k,S),R.unitsRegexp)),R.compatibility.properties.colors&&(S=l(k,S,R.compatibility))),(S=A(k,S,F.transform))===W){n.unused=!0;continue e}n.value[N][1]=S}F.replaceMultipleZeros&&p(n),"background"==k&&F.optimizeBackground?s(n):0===k.indexOf("border")&&k.indexOf("radius")>0&&F.optimizeBorderRadius?u(n):"filter"==k&&F.optimizeFilter&&R.compatibility.properties.ieFilters?c(n):"font-weight"==k&&F.optimizeFontWeight?f(n,0):"outline"==k&&F.optimizeOutline&&h(n)}j(L),I(L),C(e,R)}function C(e,t){var n,r;for(r=0;r<e.length;r++)(n=e[r])[0]==H.COMMENT&&(k(n,t),0===n[1].length&&(e.splice(r,1),r--))}function k(e,t){e[1][2]==K.EXCLAMATION&&("all"==t.level[$.One].specialComments||t.commentsKept<t.level[$.One].specialComments)?t.commentsKept++:e[1]=[]}function O(e){for(var t=!1,n=0,r=e.length;n<r;n++){var o=e[n];o[0]==H.AT_RULE&&(Z.test(o[1])&&(t||-1==o[1].indexOf(Q)?(e.splice(n,1),n--,r--):(t=!0,e.splice(n,1),e.unshift([H.AT_RULE,o[1].replace(Z,Q)]))))}}function S(e){var t=["px","em","ex","cm","mm","in","pt","pc","%"];return["ch","rem","vh","vm","vmax","vmin","vw"].forEach(function(n){e.compatibility.units[n]&&t.push(n)}),new RegExp("(^|\\s|\\(|,)0(?:"+t.join("|")+")(\\W|$)","g")}function B(e){var t,n,r={matcher:null,units:{}},o=[];for(t in e)(n=e[t])!=J&&(r.units[t]={},r.units[t].value=n,r.units[t].multiplier=Math.pow(10,n),o.push(t));return o.length>0&&(r.enabled=!0,r.decimalPointMatcher=new RegExp("(\\d)\\.($|"+o.join("|")+")($|W)","g"),r.zeroMatcher=new RegExp("(\\d*)(\\.\\d+)("+o.join("|")+")","g")),r}function D(e){return re.test(e[1])}function T(e){var t;return("filter"==e.name||"-ms-filter"==e.name)&&((t=e.value[0][1]).indexOf("progid")>-1||0===t.indexOf("alpha")||0===t.indexOf("chroma"))}function R(e,t){var n=t.options,r=n.level[$.One],o=n.compatibility.selectors.ie7Hack,i=n.compatibility.selectors.adjacentSpace,a=n.compatibility.properties.spaceAfterClosingBrace,s=n.format,u=!1,l=!1;n.unitsRegexp=n.unitsRegexp||S(n),n.precision=n.precision||B(r.roundingPrecision),n.commentsKept=n.commentsKept||0;for(var c=0,f=e.length;c<f;c++){var p=e[c];switch(p[0]){case H.AT_RULE:p[1]=D(p)&&l?"":p[1],p[1]=r.tidyAtRules?q(p[1]):p[1],u=!0;break;case H.AT_RULE_BLOCK:x(p[2],t),l=!0;break;case H.NESTED_BLOCK:p[1]=r.tidyBlockScopes?P(p[1],a):p[1],R(p[2],t),l=!0;break;case H.COMMENT:k(p,n);break;case H.RULE:p[1]=r.tidySelectors?N(p[1],!o,i,s,t.warnings):p[1],p[1]=p[1].length>1?U(p[1],r.selectorsSortingMethod):p[1],x(p[2],t),l=!0}(p[0]==H.COMMENT&&0===p[1].length||r.removeEmpty&&(0===p[1].length||p[2]&&0===p[2].length))&&(e.splice(c,1),c--,f--)}return r.cleanupCharsets&&u&&O(e),e}var F=e("./shorten-hex"),L=e("./shorten-hsl"),M=e("./shorten-rgb"),U=e("./sort-selectors"),N=e("./tidy-rules"),P=e("./tidy-block"),q=e("./tidy-at-rule"),z=e("../hack"),I=e("../remove-unused"),j=e("../restore-from-optimizing"),V=e("../wrap-for-optimizing").all,$=e("../../options/optimization-level").OptimizationLevel,H=e("../../tokenizer/token"),K=e("../../tokenizer/marker"),G=e("../../utils/format-position"),Y=e("../../utils/split"),W="ignore-property",Q="@charset",Z=new RegExp("^"+Q,"i"),J=e("../../options/rounding-precision").DEFAULT,X=/(?:^|\s|\()(-?\d+)px/,ee=/^(\-?[\d\.]+)(m?s)$/,te=/[0-9a-f]/i,ne=/^(?:\-chrome\-|\-[\w\-]+\w|\w[\w\-]+\w|\-\-\S+)$/,re=/^@import/i,oe=/^('.*'|".*")$/,ie=/^['"][a-zA-Z][a-zA-Z\d\-_]+['"]$/,ae=/^url\(/i,se=/^--\S+$/;t.exports=R},{"../../options/optimization-level":65,"../../options/rounding-precision":68,"../../tokenizer/marker":83,"../../tokenizer/token":84,"../../utils/format-position":87,"../../utils/split":96,"../hack":8,"../remove-unused":55,"../restore-from-optimizing":56,"../wrap-for-optimizing":58,"./shorten-hex":11,"./shorten-hsl":12,"./shorten-rgb":13,"./sort-selectors":14,"./tidy-at-rule":15,"./tidy-block":16,"./tidy-rules":17}],11:[function(e,t,n){function r(e,t,n,r){return t+a[n.toLowerCase()]+r}function o(e,t,n){return s[t.toLowerCase()]+n}var i={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"},a={},s={};for(var u in i){var l=i[u];u.length<l.length?s[l]=u:a[u]=l}var c=new RegExp("(^| |,|\\))("+Object.keys(a).join("|")+")( |,|\\)|$)","ig"),f=new RegExp("("+Object.keys(s).join("|")+")([^a-f0-9]|$)","ig");t.exports=function(e){var t=e.indexOf("#")>-1,n=e.replace(c,r);return n!=e&&(n=n.replace(c,r)),t?n.replace(f,o):n}},{}],12:[function(e,t,n){function r(e,t,n){var r,i,a;if((e%=360)<0&&(e+=360),e=~~e/360,t<0?t=0:t>100&&(t=100),t=~~t/100,n<0?n=0:n>100&&(n=100),n=~~n/100,0===t)r=i=a=n;else{var s=n<.5?n*(1+t):n+t-n*t,u=2*n-s;r=o(u,s,e+1/3),i=o(u,s,e),a=o(u,s,e-1/3)}return[~~(255*r),~~(255*i),~~(255*a)]}function o(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}t.exports=function(e,t,n){var o=r(e,t,n),i=o[0].toString(16),a=o[1].toString(16),s=o[2].toString(16);return"#"+(1==i.length?"0":"")+i+(1==a.length?"0":"")+a+(1==s.length?"0":"")+s}},{}],13:[function(e,t,n){t.exports=function(e,t,n){return"#"+("00000"+(Math.max(0,Math.min(parseInt(e),255))<<16|Math.max(0,Math.min(parseInt(t),255))<<8|Math.max(0,Math.min(parseInt(n),255))).toString(16)).slice(-6)}},{}],14:[function(e,t,n){function r(e,t){return i(e[1],t[1])}function o(e,t){return e[1]>t[1]?1:-1}var i=e("../../utils/natural-compare");t.exports=function(e,t){switch(t){case"natural":return e.sort(r);case"standard":return e.sort(o);case"none":case!1:return e}}},{"../../utils/natural-compare":94}],15:[function(e,t,n){t.exports=function(e){return e.replace(/\s+/g," ").replace(/url\(\s+/g,"url(").replace(/\s+\)/g,")").trim()}},{}],16:[function(e,t,n){var r=/^@media\W/;t.exports=function(e,t){var n,o;for(o=e.length-1;o>=0;o--)n=!t&&r.test(e[o][1]),e[o][1]=e[o][1].replace(/\n|\r\n/g," ").replace(/\s+/g," ").replace(/(,|:|\() /g,"$1").replace(/ \)/g,")").replace(/'([a-zA-Z][a-zA-Z\d\-_]+)'/,"$1").replace(/"([a-zA-Z][a-zA-Z\d\-_]+)"/,"$1").replace(n?/\) /g:null,")");return e}},{}],17:[function(e,t,n){function r(e){var t,n,r,o,i=!1,a=!1;for(r=0,o=e.length;r<o;r++){if(n=e[r],t);else if(n==s.SINGLE_QUOTE||n==s.DOUBLE_QUOTE)a=!a;else{if(!(a||n!=s.CLOSE_CURLY_BRACKET&&n!=s.EXCLAMATION&&n!=_&&n!=s.SEMICOLON)){i=!0;break}if(!a&&0===r&&g.test(n)){i=!0;break}}t=n==s.BACK_SLASH}return i}function o(e,t){var n,r,o,i,u,f,p,h,d,m,b,y,_,w=[],E=0,A=!1,x=!1,C=l.test(e),k=t&&t.spaces[a.AroundSelectorRelation];for(y=0,_=e.length;y<_;y++){if(n=e[y],r=n==s.NEW_LINE_NIX,o=n==s.NEW_LINE_NIX&&e[y-1]==s.NEW_LINE_WIN,f=p||h,m=!d&&!i&&0===E&&g.test(n),b=v.test(n),u&&f&&o)w.pop(),w.pop();else if(i&&f&&r)w.pop();else if(i)w.push(n);else if(n!=s.OPEN_SQUARE_BRACKET||f)if(n!=s.CLOSE_SQUARE_BRACKET||f)if(n!=s.OPEN_ROUND_BRACKET||f)if(n!=s.CLOSE_ROUND_BRACKET||f)if(n!=s.SINGLE_QUOTE||f)if(n!=s.DOUBLE_QUOTE||f)if(n==s.SINGLE_QUOTE&&f)w.push(n),p=!1;else if(n==s.DOUBLE_QUOTE&&f)w.push(n),h=!1;else{if(b&&A&&!k)continue;!b&&A&&k?(w.push(s.SPACE),w.push(n)):b&&(d||E>0)&&!f||b&&x&&!f||(o||r)&&(d||E>0)&&f||(m&&x&&!k?(w.pop(),w.push(n)):m&&!x&&k?(w.push(s.SPACE),w.push(n)):b?w.push(s.SPACE):w.push(n))}else w.push(n),h=!0;else w.push(n),p=!0;else w.push(n),E--;else w.push(n),E++;else w.push(n),d=!1;else w.push(n),d=!0;u=i,i=n==s.BACK_SLASH,A=m,x=b}return C?w.join("").replace(c,"$1 $2]"):w.join("")}function i(e){return-1==e.indexOf("'")&&-1==e.indexOf('"')?e:e.replace(d,"=$1 $2").replace(m,"=$1$2").replace(f,"=$1 $2").replace(p,"=$1$2")}var a=e("../../options/format").Spaces,s=e("../../tokenizer/marker"),u=e("../../utils/format-position"),l=/[\s"'][iI]\s*\]/,c=/([\d\w])([iI])\]/g,f=/="([a-zA-Z][a-zA-Z\d\-_]+)"([iI])/g,p=/="([a-zA-Z][a-zA-Z\d\-_]+)"(\s|\])/g,h=/^(?:(?:<!--|-->)\s*)+/,d=/='([a-zA-Z][a-zA-Z\d\-_]+)'([iI])/g,m=/='([a-zA-Z][a-zA-Z\d\-_]+)'(\s|\])/g,g=/[>\+~]/,v=/\s/,b="*+html ",y="*:first-child+html ",_="<";t.exports=function(e,t,n,a,s){for(var l=[],c=[],f=0,p=e.length;f<p;f++){var d=e[f],m=d[1];r(m=m.replace(h,function(e,t){return s.push("HTML comment '"+t+"' at "+u(e[2][0])+". Removing."),""}.bind(null,d)))?s.push("Invalid selector '"+d[1]+"' at "+u(d[2][0])+". Ignoring."):(m=i(m=o(m,a)),n&&m.indexOf("nav")>0&&(m=m.replace(/\+nav(\S|$)/,"+ nav$1")),t&&m.indexOf(b)>-1||t&&m.indexOf(y)>-1||(m.indexOf("*")>-1&&(m=m.replace(/\*([:#\.\[])/g,"$1").replace(/^(\:first\-child)?\+html/,"*$1+html")),c.indexOf(m)>-1||(d[1]=m,c.push(m),l.push(d))))}return 1==l.length&&0===l[0][1].length&&(s.push("Empty selector '"+l[0][1]+"' at "+u(l[0][2][0])+". Ignoring."),l=[]),l}},{"../../options/format":61,"../../tokenizer/marker":83,"../../utils/format-position":87}],18:[function(e,t,n){function r(e){var t,n;for(t=0,n=e.length;t<n;t++)if("inherit"==e[t][1])return!0;return!1}function o(e){return function(t){return"invert"==t[1]||e.isColor(t[1])||e.isPrefixed(t[1])}}function i(e){return function(t){return"inherit"!=t[1]&&e.isStyleKeyword(t[1])&&!e.isColorFunction(t[1])}}function a(e,t,n){var r=n[e];return f(r.doubleValues&&2==r.defaultValue.length?[p.PROPERTY,[p.PROPERTY_NAME,e],[p.PROPERTY_VALUE,r.defaultValue[0]],[p.PROPERTY_VALUE,r.defaultValue[1]]]:r.doubleValues&&1==r.defaultValue.length?[p.PROPERTY,[p.PROPERTY_NAME,e],[p.PROPERTY_VALUE,r.defaultValue[0]]]:[p.PROPERTY,[p.PROPERTY_NAME,e],[p.PROPERTY_VALUE,r.defaultValue]])}function s(e){return function(t){return"inherit"!=t[1]&&(e.isWidth(t[1])||e.isUnit(t[1])&&!e.isDynamicUnit(t[1]))&&!e.isStyleKeyword(t[1])&&!e.isColorFunction(t[1])}}function u(e,t){var n=t[e.name].components,r=[],o=e.value;if(o.length<1)return[];o.length<2&&(o[1]=o[0].slice(0)),o.length<3&&(o[2]=o[0].slice(0)),o.length<4&&(o[3]=o[1].slice(0));for(var i=n.length-1;i>=0;i--){var a=f([p.PROPERTY,[p.PROPERTY_NAME,n[i]]]);a.value=[o[i]],r.unshift(a)}return r}function l(e,t,n){for(var r,u,l,c=t[e.name],f=[a(c.components[0],e,t),a(c.components[1],e,t),a(c.components[2],e,t)],p=0;p<3;p++){var h=f[p];h.name.indexOf("color")>0?r=h:h.name.indexOf("style")>0?u=h:l=h}if(1==e.value.length&&"inherit"==e.value[0][1]||3==e.value.length&&"inherit"==e.value[0][1]&&"inherit"==e.value[1][1]&&"inherit"==e.value[2][1])return r.value=u.value=l.value=[e.value[0]],f;var d,m,g=e.value.slice(0);return g.length>0&&(d=(m=g.filter(s(n))).length>1&&("none"==m[0][1]||"auto"==m[0][1])?m[1]:m[0])&&(l.value=[d],g.splice(g.indexOf(d),1)),g.length>0&&(d=g.filter(i(n))[0])&&(u.value=[d],g.splice(g.indexOf(d),1)),g.length>0&&(d=g.filter(o(n))[0])&&(r.value=[d],g.splice(g.indexOf(d),1)),f}var c=e("./invalid-property-error"),f=e("../wrap-for-optimizing").single,p=e("../../tokenizer/token"),h=e("../../tokenizer/marker"),d=e("../../utils/format-position");t.exports={animation:function(e,t,n){var o,i,s,u=a(e.name+"-duration",e,t),l=a(e.name+"-timing-function",e,t),f=a(e.name+"-delay",e,t),p=a(e.name+"-iteration-count",e,t),h=a(e.name+"-direction",e,t),m=a(e.name+"-fill-mode",e,t),g=a(e.name+"-play-state",e,t),v=a(e.name+"-name",e,t),b=[u,l,f,p,h,m,g,v],y=e.value,_=!1,w=!1,E=!1,A=!1,x=!1,C=!1,k=!1,O=!1;if(1==e.value.length&&"inherit"==e.value[0][1])return u.value=l.value=f.value=p.value=h.value=m.value=g.value=v.value=e.value,b;if(y.length>1&&r(y))throw new c("Invalid animation values at "+d(y[0][2][0])+". Ignoring.");for(i=0,s=y.length;i<s;i++)if(o=y[i],n.isTime(o[1])&&!_)u.value=[o],_=!0;else if(n.isTime(o[1])&&!E)f.value=[o],E=!0;else if(!n.isGlobal(o[1])&&!n.isAnimationTimingFunction(o[1])||w)if(!n.isAnimationIterationCountKeyword(o[1])&&!n.isPositiveNumber(o[1])||A)if(n.isAnimationDirectionKeyword(o[1])&&!x)h.value=[o],x=!0;else if(n.isAnimationFillModeKeyword(o[1])&&!C)m.value=[o],C=!0;else if(n.isAnimationPlayStateKeyword(o[1])&&!k)g.value=[o],k=!0;else{if(!n.isAnimationNameKeyword(o[1])&&!n.isIdentifier(o[1])||O)throw new c("Invalid animation value at "+d(o[2][0])+". Ignoring.");v.value=[o],O=!0}else p.value=[o],A=!0;else l.value=[o],w=!0;return b},background:function(e,t,n){var r=a("background-image",e,t),o=a("background-position",e,t),i=a("background-size",e,t),s=a("background-repeat",e,t),u=a("background-attachment",e,t),l=a("background-origin",e,t),f=a("background-clip",e,t),p=a("background-color",e,t),m=[r,o,i,s,u,l,f,p],g=e.value,v=!1,b=!1,y=!1,_=!1,w=!1;if(1==e.value.length&&"inherit"==e.value[0][1])return p.value=r.value=s.value=o.value=i.value=l.value=f.value=e.value,m;if(1==e.value.length&&"0 0"==e.value[0][1])return m;for(var E=g.length-1;E>=0;E--){var A=g[E];if(n.isBackgroundAttachmentKeyword(A[1]))u.value=[A],w=!0;else if(n.isBackgroundClipKeyword(A[1])||n.isBackgroundOriginKeyword(A[1]))b?(l.value=[A],y=!0):(f.value=[A],b=!0),w=!0;else if(n.isBackgroundRepeatKeyword(A[1]))_?s.value.unshift(A):(s.value=[A],_=!0),w=!0;else if(n.isBackgroundPositionKeyword(A[1])||n.isBackgroundSizeKeyword(A[1])||n.isUnit(A[1])||n.isDynamicUnit(A[1])){if(E>0){var x=g[E-1];x[1]==h.FORWARD_SLASH?i.value=[A]:E>1&&g[E-2][1]==h.FORWARD_SLASH?(i.value=[x,A],E-=2):(v||(o.value=[]),o.value.unshift(A),v=!0)}else v||(o.value=[]),o.value.unshift(A),v=!0;w=!0}else p.value[0][1]!=t[p.name].defaultValue&&"none"!=p.value[0][1]||!n.isColor(A[1])&&!n.isPrefixed(A[1])?(n.isUrl(A[1])||n.isFunction(A[1]))&&(r.value=[A],w=!0):(p.value=[A],w=!0)}if(b&&!y&&(l.value=f.value.slice(0)),!w)throw new c("Invalid background value at "+d(g[0][2][0])+". Ignoring.");return m},border:l,borderRadius:function(e,t){for(var n=e.value,r=-1,o=0,i=n.length;o<i;o++)if(n[o][1]==h.FORWARD_SLASH){r=o;break}if(0===r||r===n.length-1)throw new c("Invalid border-radius value at "+d(n[0][2][0])+". Ignoring.");var s=a(e.name,e,t);s.value=r>-1?n.slice(0,r):n.slice(0),s.components=u(s,t);var l=a(e.name,e,t);l.value=r>-1?n.slice(r+1):n.slice(0),l.components=u(l,t);for(var f=0;f<4;f++)s.components[f].multiplex=!0,s.components[f].value=s.components[f].value.concat(l.components[f].value);return s.components},font:function(e,t,n){var o,i,s,u,l=a("font-style",e,t),f=a("font-variant",e,t),p=a("font-weight",e,t),m=a("font-stretch",e,t),g=a("font-size",e,t),v=a("line-height",e,t),b=a("font-family",e,t),y=[l,f,p,m,g,v,b],_=e.value,w=0,E=!1,A=!1,x=!1,C=!1,k=!1,O=!1;if(!_[w])throw new c("Missing font values at "+d(e.all[e.position][1][2][0])+". Ignoring.");if(1==_.length&&"inherit"==_[0][1])return l.value=f.value=p.value=m.value=g.value=v.value=b.value=_,y;if(1==_.length&&(n.isFontKeyword(_[0][1])||n.isGlobal(_[0][1])||n.isPrefixed(_[0][1])))return _[0][1]=h.INTERNAL+_[0][1],l.value=f.value=p.value=m.value=g.value=v.value=b.value=_,y;if(_.length>1&&r(_))throw new c("Invalid font values at "+d(_[0][2][0])+". Ignoring.");for(;w<4;){if(o=n.isFontStretchKeyword(_[w][1])||n.isGlobal(_[w][1]),i=n.isFontStyleKeyword(_[w][1])||n.isGlobal(_[w][1]),s=n.isFontVariantKeyword(_[w][1])||n.isGlobal(_[w][1]),u=n.isFontWeightKeyword(_[w][1])||n.isGlobal(_[w][1]),i&&!A)l.value=[_[w]],A=!0;else if(s&&!x)f.value=[_[w]],x=!0;else if(u&&!C)p.value=[_[w]],C=!0;else{if(!o||E){if(i&&A||s&&x||u&&C||o&&E)throw new c("Invalid font style / variant / weight / stretch value at "+d(_[0][2][0])+". Ignoring.");break}m.value=[_[w]],E=!0}w++}if(!(n.isFontSizeKeyword(_[w][1])||n.isUnit(_[w][1])&&!n.isDynamicUnit(_[w][1])))throw new c("Missing font size at "+d(_[0][2][0])+". Ignoring.");if(g.value=[_[w]],k=!0,w++,!_[w])throw new c("Missing font family at "+d(_[0][2][0])+". Ignoring.");for(k&&_[w]&&_[w][1]==h.FORWARD_SLASH&&_[w+1]&&(n.isLineHeightKeyword(_[w+1][1])||n.isUnit(_[w+1][1])||n.isNumber(_[w+1][1]))&&(v.value=[_[w+1]],w++,w++),b.value=[];_[w];)_[w][1]==h.COMMA?O=!1:(O?b.value[b.value.length-1][1]+=h.SPACE+_[w][1]:b.value.push(_[w]),O=!0),w++;if(0===b.value.length)throw new c("Missing font family at "+d(_[0][2][0])+". Ignoring.");return y},fourValues:u,listStyle:function(e,t,n){var r=a("list-style-type",e,t),o=a("list-style-position",e,t),i=a("list-style-image",e,t),s=[r,o,i];if(1==e.value.length&&"inherit"==e.value[0][1])return r.value=o.value=i.value=[e.value[0]],s;var u=e.value.slice(0),l=u.length,c=0;for(c=0,l=u.length;c<l;c++)if(n.isUrl(u[c][1])||"0"==u[c][1]){i.value=[u[c]],u.splice(c,1);break}for(c=0,l=u.length;c<l;c++)if(n.isListStylePositionKeyword(u[c][1])){o.value=[u[c]],u.splice(c,1);break}return u.length>0&&(n.isListStyleTypeKeyword(u[0][1])||n.isIdentifier(u[0][1]))&&(r.value=[u[0]]),s},multiplex:function(e){return function(t,n,r){var o,i,s,u,l=[],c=t.value;for(o=0,s=c.length;o<s;o++)","==c[o][1]&&l.push(o);if(0===l.length)return e(t,n,r);var f=[];for(o=0,s=l.length;o<=s;o++){var d=0===o?0:l[o-1]+1,m=o<s?l[o]:c.length,g=a(t.name,t,n);g.value=c.slice(d,m),f.push(e(g,n,r))}var v=f[0];for(o=0,s=v.length;o<s;o++)for(v[o].multiplex=!0,i=1,u=f.length;i<u;i++)v[o].value.push([p.PROPERTY_VALUE,h.COMMA]),Array.prototype.push.apply(v[o].value,f[i][o].value);return v}},outline:l}},{"../../tokenizer/marker":83,"../../tokenizer/token":84,"../../utils/format-position":87,"../wrap-for-optimizing":58,"./invalid-property-error":23}],19:[function(e,t,n){function r(e,t,n){return!(!e.isFunction(t)||!e.isFunction(n))&&t.substring(0,t.indexOf("("))===n.substring(0,n.indexOf("("))}function o(e){return function(t,n,r){return!(!l(t,n,r,0,!0)&&!t.isKeyword(e)(r))&&(!(!t.isVariable(n)||!t.isVariable(r))||t.isKeyword(e)(r))}}function i(e){return function(t,n,r){return!!(l(t,n,r,0,!0)||t.isKeyword(e)(r)||t.isGlobal(r))&&(!(!t.isVariable(n)||!t.isVariable(r))||(t.isKeyword(e)(r)||t.isGlobal(r)))}}function a(e,t,n){return!!r(e,t,n)||t===n}function s(e,t,n){return!(!l(e,t,n,0,!0)&&!e.isUnit(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||!(e.isUnit(t)&&!e.isUnit(n))&&(!!e.isUnit(n)||!e.isUnit(t)&&(!(!e.isFunction(t)||e.isPrefixed(t)||!e.isFunction(n)||e.isPrefixed(n))||a(e,t,n))))}function u(e){var t=i(e);return function(e,n,r){return s(e,n,r)||t(e,n,r)}}var l=e("./properties/understandable");t.exports={generic:{color:function(e,t,n){return!(!l(e,t,n,0,!0)&&!e.isColor(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||!(!e.colorOpacity&&(e.isRgbColor(t)||e.isHslColor(t)))&&!(!e.colorOpacity&&(e.isRgbColor(n)||e.isHslColor(n)))&&(!(!e.isColor(t)||!e.isColor(n))||a(e,t,n)))},components:function(e){return function(t,n,r,o){return e[o](t,n,r)}},image:function(e,t,n){return!(!l(e,t,n,0,!0)&&!e.isImage(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||!!e.isImage(n)||!e.isImage(t)&&a(e,t,n))},time:function(e,t,n){return!(!l(e,t,n,0,!0)&&!e.isTime(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||!(e.isTime(t)&&!e.isTime(n))&&(!!e.isTime(n)||!e.isTime(t)&&(!(!e.isFunction(t)||e.isPrefixed(t)||!e.isFunction(n)||e.isPrefixed(n))||a(e,t,n))))},unit:s},property:{animationDirection:i("animation-direction"),animationFillMode:o("animation-fill-mode"),animationIterationCount:function(e,t,n){return!!(l(e,t,n,0,!0)||e.isAnimationIterationCountKeyword(n)||e.isPositiveNumber(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||e.isAnimationIterationCountKeyword(n)||e.isPositiveNumber(n))},animationName:function(e,t,n){return!!(l(e,t,n,0,!0)||e.isAnimationNameKeyword(n)||e.isIdentifier(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||e.isAnimationNameKeyword(n)||e.isIdentifier(n))},animationPlayState:i("animation-play-state"),animationTimingFunction:function(e,t,n){return!!(l(e,t,n,0,!0)||e.isAnimationTimingFunction(n)||e.isGlobal(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||e.isAnimationTimingFunction(n)||e.isGlobal(n))},backgroundAttachment:o("background-attachment"),backgroundClip:i("background-clip"),backgroundOrigin:o("background-origin"),backgroundPosition:function(e,t,n){return!!(l(e,t,n,0,!0)||e.isBackgroundPositionKeyword(n)||e.isGlobal(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||!(!e.isBackgroundPositionKeyword(n)&&!e.isGlobal(n))||s(e,t,n))},backgroundRepeat:o("background-repeat"),backgroundSize:function(e,t,n){return!!(l(e,t,n,0,!0)||e.isBackgroundSizeKeyword(n)||e.isGlobal(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||!(!e.isBackgroundSizeKeyword(n)&&!e.isGlobal(n))||s(e,t,n))},bottom:u("bottom"),borderCollapse:o("border-collapse"),borderStyle:i("*-style"),clear:i("clear"),cursor:i("cursor"),display:i("display"),float:i("float"),left:u("left"),fontFamily:function(e,t,n){return l(e,t,n,0,!0)},fontStretch:i("font-stretch"),fontStyle:i("font-style"),fontVariant:i("font-variant"),fontWeight:i("font-weight"),listStyleType:i("list-style-type"),listStylePosition:i("list-style-position"),outlineStyle:i("*-style"),overflow:i("overflow"),position:i("position"),right:u("right"),textAlign:i("text-align"),textDecoration:i("text-decoration"),textOverflow:i("text-overflow"),textShadow:function(e,t,n){return!!(l(e,t,n,0,!0)||e.isUnit(n)||e.isColor(n)||e.isGlobal(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||e.isUnit(n)||e.isColor(n)||e.isGlobal(n))},top:u("top"),transform:a,verticalAlign:u("vertical-align"),visibility:i("visibility"),whiteSpace:i("white-space"),zIndex:function(e,t,n){return!(!l(e,t,n,0,!0)&&!e.isZIndex(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||e.isZIndex(n))}}}},{"./properties/understandable":40}],20:[function(e,t,n){function r(e){var t=o([i.PROPERTY,[i.PROPERTY_NAME,e.name]]);return t.important=e.important,t.hack=e.hack,t.unused=!1,t}var o=e("../wrap-for-optimizing").single,i=e("../../tokenizer/token");t.exports={deep:function(e){for(var t=r(e),n=e.components.length-1;n>=0;n--){var o=r(e.components[n]);o.value=e.components[n].value.slice(0),t.components.unshift(o)}return t.dirty=!0,t.value=e.value.slice(0),t},shallow:r}},{"../../tokenizer/token":84,"../wrap-for-optimizing":58}],21:[function(e,t,n){var r=e("./break-up"),o=e("./can-override"),i=e("./restore"),a=e("../../utils/override"),s={animation:{canOverride:o.generic.components([o.generic.time,o.property.animationTimingFunction,o.generic.time,o.property.animationIterationCount,o.property.animationDirection,o.property.animationFillMode,o.property.animationPlayState,o.property.animationName]),components:["animation-duration","animation-timing-function","animation-delay","animation-iteration-count","animation-direction","animation-fill-mode","animation-play-state","animation-name"],breakUp:r.multiplex(r.animation),defaultValue:"none",restore:i.multiplex(i.withoutDefaults),shorthand:!0,vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-delay":{canOverride:o.generic.time,componentOf:["animation"],defaultValue:"0s",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-direction":{canOverride:o.property.animationDirection,componentOf:["animation"],defaultValue:"normal",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-duration":{canOverride:o.generic.time,componentOf:["animation"],defaultValue:"0s",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-fill-mode":{canOverride:o.property.animationFillMode,componentOf:["animation"],defaultValue:"none",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-iteration-count":{canOverride:o.property.animationIterationCount,componentOf:["animation"],defaultValue:"1",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-name":{canOverride:o.property.animationName,componentOf:["animation"],defaultValue:"none",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-play-state":{canOverride:o.property.animationPlayState,componentOf:["animation"],defaultValue:"running",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-timing-function":{canOverride:o.property.animationTimingFunction,componentOf:["animation"],defaultValue:"ease",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},background:{canOverride:o.generic.components([o.generic.image,o.property.backgroundPosition,o.property.backgroundSize,o.property.backgroundRepeat,o.property.backgroundAttachment,o.property.backgroundOrigin,o.property.backgroundClip,o.generic.color]),components:["background-image","background-position","background-size","background-repeat","background-attachment","background-origin","background-clip","background-color"],breakUp:r.multiplex(r.background),defaultValue:"0 0",restore:i.multiplex(i.background),shortestValue:"0",shorthand:!0},"background-attachment":{canOverride:o.property.backgroundAttachment,componentOf:["background"],defaultValue:"scroll",intoMultiplexMode:"real"},"background-clip":{canOverride:o.property.backgroundClip,componentOf:["background"],defaultValue:"border-box",intoMultiplexMode:"real",shortestValue:"border-box"},"background-color":{canOverride:o.generic.color,componentOf:["background"],defaultValue:"transparent",intoMultiplexMode:"real",multiplexLastOnly:!0,nonMergeableValue:"none",shortestValue:"red"},"background-image":{canOverride:o.generic.image,componentOf:["background"],defaultValue:"none",intoMultiplexMode:"default"},"background-origin":{canOverride:o.property.backgroundOrigin,componentOf:["background"],defaultValue:"padding-box",intoMultiplexMode:"real",shortestValue:"border-box"},"background-position":{canOverride:o.property.backgroundPosition,componentOf:["background"],defaultValue:["0","0"],doubleValues:!0,intoMultiplexMode:"real",shortestValue:"0"},"background-repeat":{canOverride:o.property.backgroundRepeat,componentOf:["background"],defaultValue:["repeat"],doubleValues:!0,intoMultiplexMode:"real"},"background-size":{canOverride:o.property.backgroundSize,componentOf:["background"],defaultValue:["auto"],doubleValues:!0,intoMultiplexMode:"real",shortestValue:"0 0"},bottom:{canOverride:o.property.bottom,defaultValue:"auto"},border:{breakUp:r.border,canOverride:o.generic.components([o.generic.unit,o.property.borderStyle,o.generic.color]),components:["border-width","border-style","border-color"],defaultValue:"none",overridesShorthands:["border-bottom","border-left","border-right","border-top"],restore:i.withoutDefaults,shorthand:!0,shorthandComponents:!0},"border-bottom":{breakUp:r.border,canOverride:o.generic.components([o.generic.unit,o.property.borderStyle,o.generic.color]),components:["border-bottom-width","border-bottom-style","border-bottom-color"],defaultValue:"none",restore:i.withoutDefaults,shorthand:!0},"border-bottom-color":{canOverride:o.generic.color,componentOf:["border-bottom","border-color"],defaultValue:"none"},"border-bottom-left-radius":{canOverride:o.generic.unit,componentOf:["border-radius"],defaultValue:"0",vendorPrefixes:["-moz-","-o-"]},"border-bottom-right-radius":{canOverride:o.generic.unit,componentOf:["border-radius"],defaultValue:"0",vendorPrefixes:["-moz-","-o-"]},"border-bottom-style":{canOverride:o.property.borderStyle,componentOf:["border-bottom","border-style"],defaultValue:"none"},"border-bottom-width":{canOverride:o.generic.unit,componentOf:["border-bottom","border-width"],defaultValue:"medium",oppositeTo:"border-top-width",shortestValue:"0"},"border-collapse":{canOverride:o.property.borderCollapse,defaultValue:"separate"},"border-color":{breakUp:r.fourValues,canOverride:o.generic.components([o.generic.color,o.generic.color,o.generic.color,o.generic.color]),componentOf:["border"],components:["border-top-color","border-right-color","border-bottom-color","border-left-color"],defaultValue:"none",restore:i.fourValues,shortestValue:"red",shorthand:!0},"border-left":{breakUp:r.border,canOverride:o.generic.components([o.generic.unit,o.property.borderStyle,o.generic.color]),components:["border-left-width","border-left-style","border-left-color"],defaultValue:"none",restore:i.withoutDefaults,shorthand:!0},"border-left-color":{canOverride:o.generic.color,componentOf:["border-color","border-left"],defaultValue:"none"},"border-left-style":{canOverride:o.property.borderStyle,componentOf:["border-left","border-style"],defaultValue:"none"},"border-left-width":{canOverride:o.generic.unit,componentOf:["border-left","border-width"],defaultValue:"medium",oppositeTo:"border-right-width",shortestValue:"0"},"border-radius":{breakUp:r.borderRadius,canOverride:o.generic.components([o.generic.unit,o.generic.unit,o.generic.unit,o.generic.unit]),components:["border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius"],defaultValue:"0",restore:i.borderRadius,shorthand:!0,vendorPrefixes:["-moz-","-o-"]},"border-right":{breakUp:r.border,canOverride:o.generic.components([o.generic.unit,o.property.borderStyle,o.generic.color]),components:["border-right-width","border-right-style","border-right-color"],defaultValue:"none",restore:i.withoutDefaults,shorthand:!0},"border-right-color":{canOverride:o.generic.color,componentOf:["border-color","border-right"],defaultValue:"none"},"border-right-style":{canOverride:o.property.borderStyle,componentOf:["border-right","border-style"],defaultValue:"none"},"border-right-width":{canOverride:o.generic.unit,componentOf:["border-right","border-width"],defaultValue:"medium",oppositeTo:"border-left-width",shortestValue:"0"},"border-style":{breakUp:r.fourValues,canOverride:o.generic.components([o.property.borderStyle,o.property.borderStyle,o.property.borderStyle,o.property.borderStyle]),componentOf:["border"],components:["border-top-style","border-right-style","border-bottom-style","border-left-style"],defaultValue:"none",restore:i.fourValues,shorthand:!0},"border-top":{breakUp:r.border,canOverride:o.generic.components([o.generic.unit,o.property.borderStyle,o.generic.color]),components:["border-top-width","border-top-style","border-top-color"],defaultValue:"none",restore:i.withoutDefaults,shorthand:!0},"border-top-color":{canOverride:o.generic.color,componentOf:["border-color","border-top"],defaultValue:"none"},"border-top-left-radius":{canOverride:o.generic.unit,componentOf:["border-radius"],defaultValue:"0",vendorPrefixes:["-moz-","-o-"]},"border-top-right-radius":{canOverride:o.generic.unit,componentOf:["border-radius"],defaultValue:"0",vendorPrefixes:["-moz-","-o-"]},"border-top-style":{canOverride:o.property.borderStyle,componentOf:["border-style","border-top"],defaultValue:"none"},"border-top-width":{canOverride:o.generic.unit,componentOf:["border-top","border-width"],defaultValue:"medium",oppositeTo:"border-bottom-width",shortestValue:"0"},"border-width":{breakUp:r.fourValues,canOverride:o.generic.components([o.generic.unit,o.generic.unit,o.generic.unit,o.generic.unit]),componentOf:["border"],components:["border-top-width","border-right-width","border-bottom-width","border-left-width"],defaultValue:"medium",restore:i.fourValues,shortestValue:"0",shorthand:!0},clear:{canOverride:o.property.clear,defaultValue:"none"},color:{canOverride:o.generic.color,defaultValue:"transparent",shortestValue:"red"},cursor:{canOverride:o.property.cursor,defaultValue:"auto"},display:{canOverride:o.property.display},float:{canOverride:o.property.float,defaultValue:"none"},font:{breakUp:r.font,canOverride:o.generic.components([o.property.fontStyle,o.property.fontVariant,o.property.fontWeight,o.property.fontStretch,o.generic.unit,o.generic.unit,o.property.fontFamily]),components:["font-style","font-variant","font-weight","font-stretch","font-size","line-height","font-family"],restore:i.font,shorthand:!0},"font-family":{canOverride:o.property.fontFamily,defaultValue:"user|agent|specific"},"font-size":{canOverride:o.generic.unit,defaultValue:"medium",shortestValue:"0"},"font-stretch":{canOverride:o.property.fontStretch,defaultValue:"normal"},"font-style":{canOverride:o.property.fontStyle,defaultValue:"normal"},"font-variant":{canOverride:o.property.fontVariant,defaultValue:"normal"},"font-weight":{canOverride:o.property.fontWeight,defaultValue:"normal",shortestValue:"400"},height:{canOverride:o.generic.unit,defaultValue:"auto",shortestValue:"0"},left:{canOverride:o.property.left,defaultValue:"auto"},"line-height":{canOverride:o.generic.unit,defaultValue:"normal",shortestValue:"0"},"list-style":{canOverride:o.generic.components([o.property.listStyleType,o.property.listStylePosition,o.property.listStyleImage]),components:["list-style-type","list-style-position","list-style-image"],breakUp:r.listStyle,restore:i.withoutDefaults,defaultValue:"outside",shortestValue:"none",shorthand:!0},"list-style-image":{canOverride:o.generic.image,componentOf:["list-style"],defaultValue:"none"},"list-style-position":{canOverride:o.property.listStylePosition,componentOf:["list-style"],defaultValue:"outside",shortestValue:"inside"},"list-style-type":{canOverride:o.property.listStyleType,componentOf:["list-style"],defaultValue:"decimal|disc",shortestValue:"none"},margin:{breakUp:r.fourValues,canOverride:o.generic.components([o.generic.unit,o.generic.unit,o.generic.unit,o.generic.unit]),components:["margin-top","margin-right","margin-bottom","margin-left"],defaultValue:"0",restore:i.fourValues,shorthand:!0},"margin-bottom":{canOverride:o.generic.unit,componentOf:["margin"],defaultValue:"0",oppositeTo:"margin-top"},"margin-left":{canOverride:o.generic.unit,componentOf:["margin"],defaultValue:"0",oppositeTo:"margin-right"},"margin-right":{canOverride:o.generic.unit,componentOf:["margin"],defaultValue:"0",oppositeTo:"margin-left"},"margin-top":{canOverride:o.generic.unit,componentOf:["margin"],defaultValue:"0",oppositeTo:"margin-bottom"},outline:{canOverride:o.generic.components([o.generic.color,o.property.outlineStyle,o.generic.unit]),components:["outline-color","outline-style","outline-width"],breakUp:r.outline,restore:i.withoutDefaults,defaultValue:"0",shorthand:!0},"outline-color":{canOverride:o.generic.color,componentOf:["outline"],defaultValue:"invert",shortestValue:"red"},"outline-style":{canOverride:o.property.outlineStyle,componentOf:["outline"],defaultValue:"none"},"outline-width":{canOverride:o.generic.unit,componentOf:["outline"],defaultValue:"medium",shortestValue:"0"},overflow:{canOverride:o.property.overflow,defaultValue:"visible"},"overflow-x":{canOverride:o.property.overflow,defaultValue:"visible"},"overflow-y":{canOverride:o.property.overflow,defaultValue:"visible"},padding:{breakUp:r.fourValues,canOverride:o.generic.components([o.generic.unit,o.generic.unit,o.generic.unit,o.generic.unit]),components:["padding-top","padding-right","padding-bottom","padding-left"],defaultValue:"0",restore:i.fourValues,shorthand:!0},"padding-bottom":{canOverride:o.generic.unit,componentOf:["padding"],defaultValue:"0",oppositeTo:"padding-top"},"padding-left":{canOverride:o.generic.unit,componentOf:["padding"],defaultValue:"0",oppositeTo:"padding-right"},"padding-right":{canOverride:o.generic.unit,componentOf:["padding"],defaultValue:"0",oppositeTo:"padding-left"},"padding-top":{canOverride:o.generic.unit,componentOf:["padding"],defaultValue:"0",oppositeTo:"padding-bottom"},position:{canOverride:o.property.position,defaultValue:"static"},right:{canOverride:o.property.right,defaultValue:"auto"},"text-align":{canOverride:o.property.textAlign,defaultValue:"left|right"},"text-decoration":{canOverride:o.property.textDecoration,defaultValue:"none"},"text-overflow":{canOverride:o.property.textOverflow,defaultValue:"none"},"text-shadow":{canOverride:o.property.textShadow,defaultValue:"none"},top:{canOverride:o.property.top,defaultValue:"auto"},transform:{canOverride:o.property.transform,vendorPrefixes:["-moz-","-ms-","-webkit-"]},"vertical-align":{canOverride:o.property.verticalAlign,defaultValue:"baseline"},visibility:{canOverride:o.property.visibility,defaultValue:"visible"},"white-space":{canOverride:o.property.whiteSpace,defaultValue:"normal"},width:{canOverride:o.generic.unit,defaultValue:"auto",shortestValue:"0"},"z-index":{canOverride:o.property.zIndex,defaultValue:"auto"}},u={};for(var l in s){var c=s[l];if("vendorPrefixes"in c){for(var f=0;f<c.vendorPrefixes.length;f++){var p=c.vendorPrefixes[f],h=function(e,t){var n=a(s[e],{});return"componentOf"in n&&(n.componentOf=n.componentOf.map(function(e){return t+e})),"components"in n&&(n.components=n.components.map(function(e){return t+e})),n}(l,p);delete h.vendorPrefixes,u[p+l]=h}delete c.vendorPrefixes}}t.exports=a(s,u)},{"../../utils/override":95,"./break-up":18,"./can-override":19,"./restore":49}],22:[function(e,t,n){function r(e){var t,n,u,l,c,f,p=[];if(e[0]==i.RULE)for(t=!/[\.\+>~]/.test(a(e[1])),c=0,f=e[2].length;c<f;c++)(n=e[2][c])[0]==i.PROPERTY&&0!==(u=n[1][1]).length&&0!==u.indexOf("--")&&(l=s(n,c),p.push([u,l,o(u),e[2][c],u+":"+l,e[1],t]));else if(e[0]==i.NESTED_BLOCK)for(c=0,f=e[2].length;c<f;c++)p=p.concat(r(e[2][c]));return p}function o(e){return"list-style"==e?e:e.indexOf("-radius")>0?"border-radius":"border-collapse"==e||"border-spacing"==e||"border-image"==e?e:0===e.indexOf("border-")&&/^border\-\w+\-\w+$/.test(e)?e.match(/border\-\w+/)[0]:0===e.indexOf("border-")&&/^border\-\w+$/.test(e)?"border":0===e.indexOf("text-")?e:"-chrome-"==e?e:e.replace(/^\-\w+\-/,"").match(/([a-zA-Z]+)/)[0].toLowerCase()}var i=e("../../tokenizer/token"),a=e("../../writer/one-time").rules,s=e("../../writer/one-time").value;t.exports=r},{"../../tokenizer/token":84,"../../writer/one-time":98}],23:[function(e,t,n){function r(e){this.name="InvalidPropertyError",this.message=e,this.stack=(new Error).stack}(r.prototype=Object.create(Error.prototype)).constructor=r,t.exports=r},{}],24:[function(e,t,n){function r(e){return h.test(e)}function o(e){var t,n,r,o,i,a,s=[],u=[],l=_.ROOT,c=0,p=!1,h=!1;for(i=0,a=e.length;i<a;i++)t=e[i],o=!r&&v.test(t),n=l==_.DOUBLE_QUOTE||l==_.SINGLE_QUOTE,r?u.push(t):t==f.DOUBLE_QUOTE&&l==_.ROOT?(u.push(t),l=_.DOUBLE_QUOTE):t==f.DOUBLE_QUOTE&&l==_.DOUBLE_QUOTE?(u.push(t),l=_.ROOT):t==f.SINGLE_QUOTE&&l==_.ROOT?(u.push(t),l=_.SINGLE_QUOTE):t==f.SINGLE_QUOTE&&l==_.SINGLE_QUOTE?(u.push(t),l=_.ROOT):n?u.push(t):t==f.OPEN_ROUND_BRACKET?(u.push(t),c++):t==f.CLOSE_ROUND_BRACKET&&1==c&&p?(u.push(t),s.push(u.join("")),c--,u=[],p=!1):t==f.CLOSE_ROUND_BRACKET?(u.push(t),c--):t==f.COLON&&0===c&&p&&!h?(s.push(u.join("")),(u=[]).push(t)):t!=f.COLON||0!==c||h?t==f.SPACE&&0===c&&p?(s.push(u.join("")),u=[],p=!1):o&&0===c&&p?(s.push(u.join("")),u=[],p=!1):u.push(t):((u=[]).push(t),p=!0),r=t==f.BACK_SLASH,h=t==f.COLON;return u.length>0&&p&&s.push(u.join("")),s}function i(e,t,n,r,o){return a(t,n,r)&&s(t)&&(t.length<2||!u(e,t))&&(t.length<2||o&&l(t))}function a(e,t,n){var r,o,i,a;for(i=0,a=e.length;i<a;i++)if(r=e[i],o=r.indexOf(f.OPEN_ROUND_BRACKET)>-1?r.substring(0,r.indexOf(f.OPEN_ROUND_BRACKET)):r,-1===t.indexOf(o)&&-1===n.indexOf(o))return!1;return!0}function s(e){var t,n,r,o,i,a;for(i=0,a=e.length;i<a;i++){if(t=e[i],r=t.indexOf(f.OPEN_ROUND_BRACKET),o=r>-1,n=o?t.substring(0,r):t,o&&-1==g.indexOf(n))return!1;if(!o&&g.indexOf(n)>-1)return!1}return!0}function u(e,t){var n,r,o,i,a,s,u,l,c=0;for(u=0,l=t.length;u<l&&(n=t[u],o=t[u+1]);u++)if(r=e.indexOf(n,c),i=e.indexOf(n,r+1),c=i,r+n.length==i&&(a=n.indexOf(f.OPEN_ROUND_BRACKET)>-1?n.substring(0,n.indexOf(f.OPEN_ROUND_BRACKET)):n,s=o.indexOf(f.OPEN_ROUND_BRACKET)>-1?o.substring(0,o.indexOf(f.OPEN_ROUND_BRACKET)):o,a!=m||s!=m))return!0;return!1}function l(e){var t,n,r,o=0;for(n=0,r=e.length;n<r;n++)if(t=e[n],c(t)?o+=y.indexOf(t)>-1?1:0:o+=b.indexOf(t)>-1?1:0,o>1)return!1;return!0}function c(e){return d.test(e)}var f=e("../../tokenizer/marker"),p=e("../../utils/split"),h=/\/deep\//,d=/^::/,m=":not",g=[":dir",":lang",":not",":nth-child",":nth-last-child",":nth-last-of-type",":nth-of-type"],v=/[>\+~]/,b=[":after",":before",":first-letter",":first-line",":lang"],y=["::after","::before","::first-letter","::first-line"],_={DOUBLE_QUOTE:"double-quote",SINGLE_QUOTE:"single-quote",ROOT:"root"};t.exports=function(e,t,n,a){var s,u,l,c=p(e,f.COMMA);for(u=0,l=c.length;u<l;u++)if(0===(s=c[u]).length||r(s)||s.indexOf(f.COLON)>-1&&!i(s,o(s),t,n,a))return!1;return!0}},{"../../tokenizer/marker":83,"../../utils/split":96}],25:[function(e,t,n){var r=e("./is-mergeable"),o=e("./properties/optimize"),i=e("../level-1/sort-selectors"),a=e("../level-1/tidy-rules"),s=e("../../options/optimization-level").OptimizationLevel,u=e("../../writer/one-time").body,l=e("../../writer/one-time").rules,c=e("../../tokenizer/token");t.exports=function(e,t){for(var n=[null,[],[]],f=t.options,p=f.compatibility.selectors.adjacentSpace,h=f.level[s.One].selectorsSortingMethod,d=f.compatibility.selectors.mergeablePseudoClasses,m=f.compatibility.selectors.mergeablePseudoElements,g=f.compatibility.selectors.mergeLimit,v=f.compatibility.selectors.multiplePseudoMerging,b=0,y=e.length;b<y;b++){var _=e[b];_[0]==c.RULE?n[0]==c.RULE&&l(_[1])==l(n[1])?(Array.prototype.push.apply(n[2],_[2]),o(n[2],!0,!0,t),_[2]=[]):n[0]==c.RULE&&u(_[2])==u(n[2])&&r(l(_[1]),d,m,v)&&r(l(n[1]),d,m,v)&&n[1].length<g?(n[1]=a(n[1].concat(_[1]),!1,p,!1,t.warnings),n[1]=n.length>1?i(n[1],h):n[1],_[2]=[]):n=_:n=[null,[],[]]}}},{"../../options/optimization-level":65,"../../tokenizer/token":84,"../../writer/one-time":98,"../level-1/sort-selectors":14,"../level-1/tidy-rules":17,"./is-mergeable":24,"./properties/optimize":36}],26:[function(e,t,n){function r(e,t,n){var r,o,a,u,l,c,f,p;for(l=0,c=e.length;l<c;l++)for(o=(r=e[l])[5],f=0,p=t.length;f<p;f++)if(a=t[f],u=a[5],s(o,u,!0)&&!i(r,a,n))return!1;return!0}var o=e("./reorderable").canReorder,i=e("./reorderable").canReorderSingle,a=e("./extract-properties"),s=e("./rules-overlap"),u=e("../../writer/one-time").rules,l=e("../../options/optimization-level").OptimizationLevel,c=e("../../tokenizer/token");t.exports=function(e,t){for(var n=t.options.level[l.Two].mergeSemantically,i=t.cache.specificity,s={},f=[],p=e.length-1;p>=0;p--){var h=e[p];if(h[0]==c.NESTED_BLOCK){var d=u(h[1]),m=s[d];m||(m=[],s[d]=m),m.push(p)}}for(var g in s){var v=s[g];e:for(var b=v.length-1;b>0;b--){var y=v[b],_=e[y],w=v[b-1],E=e[w];t:for(var A=1;A>=-1;A-=2){for(var x=1==A,C=x?y+1:w-1,k=x?w:y,O=x?1:-1,S=x?_:E,B=x?E:_,D=a(S);C!=k;){var T=a(e[C]);if(C+=O,!(n&&r(D,T,i)||o(D,T,i)))continue t}B[2]=x?S[2].concat(B[2]):B[2].concat(S[2]),S[2]=[],f.push(B);continue e}}}return f}},{"../../options/optimization-level":65,"../../tokenizer/token":84,"../../writer/one-time":98,"./extract-properties":22,"./reorderable":47,"./rules-overlap":51}],27:[function(e,t,n){function r(e){return/\.|\*| :/.test(e)}function o(e){var t=p(e[1]);return t.indexOf("__")>-1||t.indexOf("--")>-1}function i(e){return e.replace(/--[^ ,>\+~:]+/g,"")}function a(e,t){var n=i(p(e[1]));for(var r in t){var o=t[r],a=i(p(o[1]));(a.indexOf(n)>-1||n.indexOf(a)>-1)&&delete t[r]}}var s=e("./is-mergeable"),u=e("../level-1/sort-selectors"),l=e("../level-1/tidy-rules"),c=e("../../options/optimization-level").OptimizationLevel,f=e("../../writer/one-time").body,p=e("../../writer/one-time").rules,h=e("../../tokenizer/token");t.exports=function(e,t){for(var n=t.options,i=n.level[c.Two].mergeSemantically,d=n.compatibility.selectors.adjacentSpace,m=n.level[c.One].selectorsSortingMethod,g=n.compatibility.selectors.mergeablePseudoClasses,v=n.compatibility.selectors.mergeablePseudoElements,b=n.compatibility.selectors.multiplePseudoMerging,y={},_=e.length-1;_>=0;_--){var w=e[_];if(w[0]==h.RULE){w[2].length>0&&!i&&r(p(w[1]))&&(y={}),w[2].length>0&&i&&o(w)&&a(w,y);var E=f(w[2]),A=y[E];A&&s(p(w[1]),g,v,b)&&s(p(A[1]),g,v,b)&&(w[2].length>0?(w[1]=l(A[1].concat(w[1]),!1,d,!1,t.warnings),w[1]=w[1].length>1?u(w[1],m):w[1]):w[1]=A[1].concat(w[1]),A[2]=[],y[E]=null),y[f(w[2])]=w}}}},{"../../options/optimization-level":65,"../../tokenizer/token":84,"../../writer/one-time":98,"../level-1/sort-selectors":14,"../level-1/tidy-rules":17,"./is-mergeable":24}],28:[function(e,t,n){var r=e("./reorderable").canReorder,o=e("./extract-properties"),i=e("./properties/optimize"),a=e("../../writer/one-time").rules,s=e("../../tokenizer/token");t.exports=function(e,t){var n,u=t.cache.specificity,l={},c=[];for(n=e.length-1;n>=0;n--)if(e[n][0]==s.RULE&&0!==e[n][2].length){var f=a(e[n][1]);l[f]=[n].concat(l[f]||[]),2==l[f].length&&c.push(f)}for(n=c.length-1;n>=0;n--){var p=l[c[n]];e:for(var h=p.length-1;h>0;h--){var d=p[h-1],m=e[d],g=p[h],v=e[g];t:for(var b=1;b>=-1;b-=2){for(var y=1==b,_=y?d+1:g-1,w=y?g:d,E=y?1:-1,A=y?m:v,x=y?v:m,C=o(A);_!=w;){var k=o(e[_]);_+=E;var O=y?r(C,k,u):r(k,C,u);if(!O&&!y)continue e;if(!O&&y)continue t}y?(Array.prototype.push.apply(A[2],x[2]),x[2]=A[2]):Array.prototype.push.apply(x[2],A[2]),i(x[2],!0,!0,t),A[2]=[]}}}}},{"../../tokenizer/token":84,"../../writer/one-time":98,"./extract-properties":22,"./properties/optimize":36,"./reorderable":47}],29:[function(e,t,n){function r(e){for(var t=0,n=e.length;t<n;t++){var o=e[t],i=!1;switch(o[0]){case y.RULE:i=0===o[1].length||0===o[2].length;break;case y.NESTED_BLOCK:r(o[2]),i=0===o[2].length;break;case y.AT_RULE:i=0===o[1].length;break;case y.AT_RULE_BLOCK:i=0===o[2].length}i&&(e.splice(t,1),t--,n--)}}function o(e,t){for(var n=0,r=e.length;n<r;n++){var o=e[n];if(o[0]==y.NESTED_BLOCK){var i=/@(-moz-|-o-|-webkit-)?keyframes/.test(o[1][0][1]);a(o[2],t,!i)}}}function i(e,t){for(var n=0,r=e.length;n<r;n++){var o=e[n];switch(o[0]){case y.RULE:v(o[2],!0,!0,t);break;case y.NESTED_BLOCK:i(o[2],t)}}}function a(e,t,n){var v,y,_=t.options.level[b.Two];if(o(e,t),i(e,t),_.removeDuplicateRules&&d(e,t),_.mergeAdjacentRules&&s(e,t),_.reduceNonAdjacentRules&&f(e,t),_.mergeNonAdjacentRules&&"body"!=_.mergeNonAdjacentRules&&c(e,t),_.mergeNonAdjacentRules&&"selector"!=_.mergeNonAdjacentRules&&l(e,t),_.restructureRules&&_.mergeAdjacentRules&&n&&(g(e,t),s(e,t)),_.restructureRules&&!_.mergeAdjacentRules&&n&&g(e,t),_.removeDuplicateFontRules&&p(e,t),_.removeDuplicateMediaBlocks&&h(e,t),_.removeUnusedAtRules&&m(e,t),_.mergeMedia)for(y=(v=u(e,t)).length-1;y>=0;y--)a(v[y][2],t,!1);return _.removeEmpty&&r(e),e}var s=e("./merge-adjacent"),u=e("./merge-media-queries"),l=e("./merge-non-adjacent-by-body"),c=e("./merge-non-adjacent-by-selector"),f=e("./reduce-non-adjacent"),p=e("./remove-duplicate-font-at-rules"),h=e("./remove-duplicate-media-queries"),d=e("./remove-duplicates"),m=e("./remove-unused-at-rules"),g=e("./restructure"),v=e("./properties/optimize"),b=e("../../options/optimization-level").OptimizationLevel,y=e("../../tokenizer/token");t.exports=a},{"../../options/optimization-level":65,"../../tokenizer/token":84,"./merge-adjacent":25,"./merge-media-queries":26,"./merge-non-adjacent-by-body":27,"./merge-non-adjacent-by-selector":28,"./properties/optimize":36,"./reduce-non-adjacent":42,"./remove-duplicate-font-at-rules":43,"./remove-duplicate-media-queries":44,"./remove-duplicates":45,"./remove-unused-at-rules":46,"./restructure":50}],30:[function(e,t,n){var r=e("../../../tokenizer/marker");t.exports=function(e,t,n){var o,i,a,s=t.value.length,u=n.value.length,l=Math.max(s,u),c=Math.min(s,u)-1;for(a=0;a<l;a++)if(o=t.value[a]&&t.value[a][1]||o,i=n.value[a]&&n.value[a][1]||i,o!=r.COMMA&&i!=r.COMMA&&!e(o,i,a,a<=c))return!1;return!0}},{"../../../tokenizer/marker":83}],31:[function(e,t,n){function r(e){return function(t){return e.name===t.name}}function o(e,t){return e.components.filter(t)[0]}function i(e,t){var n,r,i,s;if(a[e.name].shorthandComponents)for(i=0,s=e.components.length;i<s;i++)if(n=e.components[i],r=o(n,t))return r}var a=e("../compactable");t.exports=function(e,t){var n=r(t);return o(e,n)||i(e,n)}},{"../compactable":21}],32:[function(e,t,n){t.exports=function(e){for(var t=e.value.length-1;t>=0;t--)if("inherit"==e.value[t][1])return!0;return!1}},{}],33:[function(e,t,n){function r(e,t){var n=i[e.name];return"components"in n&&n.components.indexOf(t.name)>-1}function o(e,t){return e.components.some(function(e){return r(e,t)})}var i=e("../compactable");t.exports=function(e,t,n){return r(e,t)||!n&&!!i[e.name].shorthandComponents&&o(e,t)}},{"../compactable":21}],34:[function(e,t,n){var r=e("../../../tokenizer/marker");t.exports=function(e){return"font"!=e.name||-1==e.value[0][1].indexOf(r.INTERNAL)}},{"../../../tokenizer/marker":83}],35:[function(e,t,n){function r(e,t,n,r){var c,f,p,h=e[t];for(c in n)void 0!==h&&c==h.name||(f=_[c],p=n[c],h&&o(n,c,h)?delete n[c]:f.components.length>Object.keys(p).length||i(p)||a(p,c,r)&&s(p)&&(u(p)?l(e,p,c,r):g(e,p,c,r)))}function o(e,t,n){var r,o=_[t],i=_[n.name];if("overridesShorthands"in o&&o.overridesShorthands.indexOf(n.name)>-1)return!0;if(i&&"componentOf"in i)for(r in e[t])if(i.componentOf.indexOf(r)>-1)return!0;return!1}function i(e){var t,n;for(n in e){if(void 0!==t&&e[n].important!=t)return!0;t=e[n].important}return!1}function a(e,t,n){var r,o,i,a,s=_[t],u=[k.PROPERTY,[k.PROPERTY_NAME,t],[k.PROPERTY_VALUE,s.defaultValue]],l=x(u);for(y([l],n,[]),i=0,a=s.components.length;i<a;i++)if(r=e[s.components[i]],o=_[r.name].canOverride,!v(o.bind(null,n),l.components[i],r))return!1;return!0}function s(e){var t,n,r,o,i,a=null;for(n in e)if(r=e[n],"restore"in(o=_[n])){if(A([r.all[r.position]],E),i=o.restore(r,_),t=i.length,null!==a&&t!==a)return!1;a=t}return!0}function u(e){var t,n,r=null;for(t in e){if(n=b(e[t]),null!==r&&r!==n)return!0;r=n}return!1}function l(e,t,n,r){var o,i,a,s,u=c(t,n,r),l=d(t,n,r),f=u[0],p=l[0],h=C(f).length<C(p).length,g=h?f:p,v=h?u[1]:l[1],b=h?u[2]:l[2],y=t[Object.keys(t)[0]].all;v.position=y.length,v.shorthand=!0,v.dirty=!0,v.all=y,v.all.push(g[0]),e.push(v);for(o in t)(i=t[o]).unused=!0,i.name in b&&(a=b[i.name],s=m(g,o),a.position=y.length,a.all=y,a.all.push(s),e.push(a))}function c(e,t,n){var r,o,i,a,s,u,l=[],c={},h={},d=_[t],m=[k.PROPERTY,[k.PROPERTY_NAME,t],[k.PROPERTY_VALUE,d.defaultValue]],g=x(m);for(y([g],n,[]),s=0,u=d.components.length;s<u;s++)r=e[d.components[s]],b(r)?(o=r.all[r.position].slice(0,2),Array.prototype.push.apply(o,r.value),l.push(o),(i=w(r)).value=f(e,i.name),g.components[s]=i,c[r.name]=w(r)):((i=w(r)).all=r.all,g.components[s]=i,h[r.name]=r);return a=p(h,1),m[1].push(a),A([g],E),m=m.slice(0,2),Array.prototype.push.apply(m,g.value),l.unshift(m),[l,g,c]}function f(e,t){var n=_[t];return"oppositeTo"in n?e[n.oppositeTo].value:[[k.PROPERTY_VALUE,n.defaultValue]]}function p(e,t){var n,r,o,i,a=[];for(i in e)o=(r=(n=e[i]).all[n.position])[t][r[t].length-1],Array.prototype.push.apply(a,o);return a.sort(h)}function h(e,t){var n=e[0],r=t[0],o=e[1],i=t[1];return n<r?-1:n===r&&o<i?-1:1}function d(e,t,n){var r,o,i,a,s,u,l=[],c={},f={},h=_[t],d=[k.PROPERTY,[k.PROPERTY_NAME,t],[k.PROPERTY_VALUE,"inherit"]],m=x(d);for(y([m],n,[]),s=0,u=h.components.length;s<u;s++)r=e[h.components[s]],b(r)?c[r.name]=r:(o=r.all[r.position].slice(0,2),Array.prototype.push.apply(o,r.value),l.push(o),f[r.name]=w(r));return i=p(c,1),d[1].push(i),a=p(c,2),d[2].push(a),l.unshift(d),[l,m,f]}function m(e,t){var n,r;for(n=0,r=e.length;n<r;n++)if(e[n][1][1]==t)return e[n]}function g(e,t,n,r){var o,i,a,s=_[n],u=[k.PROPERTY,[k.PROPERTY_NAME,n],[k.PROPERTY_VALUE,s.defaultValue]],l=x(u);l.shorthand=!0,l.dirty=!0,y([l],r,[]);for(var c=0,f=s.components.length;c<f;c++){var h=t[s.components[c]];l.components[c]=w(h),l.important=h.important,a=h.all}for(var d in t)t[d].unused=!0;o=p(t,1),u[1].push(o),i=p(t,2),u[2].push(i),l.position=a.length,l.all=a,l.all.push(u),e.push(l)}var v=e("./every-values-pair"),b=e("./has-inherit"),y=e("./populate-components"),_=e("../compactable"),w=e("../clone").deep,E=e("../restore-with-components"),A=e("../../restore-from-optimizing"),x=e("../../wrap-for-optimizing").single,C=e("../../../writer/one-time").body,k=e("../../../tokenizer/token");t.exports=function(e,t){var n,o,i,a,s,u,l,c={};if(!(e.length<3)){for(a=0,s=e.length;a<s;a++)if(i=e[a],n=_[i.name],!i.unused&&!i.hack&&!i.block&&(r(e,a,c,t),n&&n.componentOf))for(u=0,l=n.componentOf.length;u<l;u++)c[o=n.componentOf[u]]=c[o]||{},c[o][i.name]=i;r(e,a,c,t)}}},{"../../../tokenizer/token":84,"../../../writer/one-time":98,"../../restore-from-optimizing":56,"../../wrap-for-optimizing":58,"../clone":20,"../compactable":21,"../restore-with-components":48,"./every-values-pair":30,"./has-inherit":32,"./populate-components":39}],36:[function(e,t,n){function r(e,t,n,p){var h,d,m,g=p.options.level[f.Two],v=u(e,!1,g.skipProperties);for(a(v,p.validator,p.warnings),d=0,m=v.length;d<m;d++)(h=v[d]).block&&r(h.value[0][1],t,n,p);n&&g.mergeIntoShorthands&&o(v,p.validator),t&&g.overrideProperties&&i(v,n,p.options.compatibility,p.validator),c(v,s),l(v)}var o=e("./merge-into-shorthands"),i=e("./override-properties"),a=e("./populate-components"),s=e("../restore-with-components"),u=e("../../wrap-for-optimizing").all,l=e("../../remove-unused"),c=e("../../restore-from-optimizing"),f=e("../../../options/optimization-level").OptimizationLevel;t.exports=r},{"../../../options/optimization-level":65,"../../remove-unused":55,"../../restore-from-optimizing":56,"../../wrap-for-optimizing":58,"../restore-with-components":48,"./merge-into-shorthands":35,"./override-properties":37,"./populate-components":39}],37:[function(e,t,n){function r(e,t){for(var n=0;n<e.components.length;n++){var r=e.components[n],o=B[r.name],i=o&&o.canOverride||i.sameValue,a=R(r);if(a.value=[[L.PROPERTY_VALUE,o.defaultValue]],!A(i.bind(null,t),a,r))return!0}return!1}function o(e,t){t.unused=!0,l(t,p(e)),e.value=t.value}function i(e,t){t.unused=!0,e.multiplex=!0,e.value=t.value}function a(e,t){t.unused=!0,e.value=t.value}function s(e,t){t.multiplex?i(e,t):e.multiplex?o(e,t):a(e,t)}function u(e,t){t.unused=!0;for(var n=0,r=e.components.length;n<r;n++)s(e.components[n],t.components[n],e.multiplex)}function l(e,t){e.multiplex=!0,B[e.name].shorthand?c(e,t):f(e,t)}function c(e,t){var n,r,o;for(r=0,o=e.components.length;r<o;r++)(n=e.components[r]).multiplex||f(n,t)}function f(e,t){for(var n,r="real"==B[e.name].intoMultiplexMode,o=r?e.value.slice(0):B[e.name].defaultValue,i=p(e),a=o.length;i<t;i++)if(e.value.push([L.PROPERTY_VALUE,M.COMMA]),Array.isArray(o))for(n=0;n<a;n++)e.value.push(r?o[n]:[L.PROPERTY_VALUE,o[n]]);else e.value.push(r?o:[L.PROPERTY_VALUE,o])}function p(e){for(var t=0,n=0,r=e.value.length;n<r;n++)e.value[n][1]==M.COMMA&&t++;return t+1}function h(e){var t=[L.PROPERTY,[L.PROPERTY_NAME,e.name]].concat(e.value);return U([t],0).length}function d(e,t,n){for(var r=0,o=t;o>=0&&(e[o].name!=n||e[o].unused||r++,!(r>1));o--);return r>1}function m(e,t){for(var n=0,r=e.components.length;n<r;n++)if(!g(t.isUrl,e.components[n])&&g(t.isFunction,e.components[n]))return!0;return!1}function g(e,t){for(var n=0,r=t.value.length;n<r;n++)if(t.value[n][1]!=M.COMMA&&e(t.value[n][1]))return!0;return!1}function v(e,t){if(!e.multiplex&&!t.multiplex||e.multiplex&&t.multiplex)return!1;var n,r=e.multiplex?e:t,a=e.multiplex?t:e,s=D(r);F([s],T);var u=D(a);F([u],T);var c=h(s)+1+h(u);return e.multiplex?o(n=x(s,u),u):(n=x(u,s),l(u,p(s)),i(n,s)),F([u],T),c<=h(u)}function b(e){return e.name in B}function y(e,t){return!e.multiplex&&("background"==e.name||"background-image"==e.name)&&t.multiplex&&("background"==t.name||"background-image"==t.name)&&_(t.value)}function _(e){for(var t=w(e),n=0,r=t.length;n<r;n++)if(1==t[n].length&&"none"==t[n][0][1])return!0;return!1}function w(e){for(var t=[],n=0,r=[],o=e.length;n<o;n++){var i=e[n];i[1]==M.COMMA?(t.push(r),r=[]):r.push(i)}return t.push(r),t}var E=e("./has-inherit"),A=e("./every-values-pair"),x=e("./find-component-in"),C=e("./is-component-of"),k=e("./is-mergeable-shorthand"),O=e("./overrides-non-component-shorthand"),S=e("./vendor-prefixes").same,B=e("../compactable"),D=e("../clone").deep,D=e("../clone").deep,T=e("../restore-with-components"),R=e("../clone").shallow,F=e("../../restore-from-optimizing"),L=e("../../../tokenizer/token"),M=e("../../../tokenizer/marker"),U=e("../../../writer/one-time").property;t.exports=function(e,t,n,o){var i,a,c,f,h,_,w,D,T,R,F;e:for(T=e.length-1;T>=0;T--)if(a=e[T],b(a)&&!a.block){i=B[a.name].canOverride;t:for(R=T-1;R>=0;R--)if(c=e[R],b(c)&&!c.block&&!c.unused&&!a.unused&&(!c.hack||a.hack||a.important)&&(c.hack||c.important||!a.hack)&&(c.important!=a.important||c.hack[0]==a.hack[0])&&!(c.important==a.important&&(c.hack[0]!=a.hack[0]||c.hack[1]&&c.hack[1]!=a.hack[1])||E(a)||y(c,a)))if(a.shorthand&&C(a,c)){if(!a.important&&c.important)continue;if(!S([c],a.components))continue;if(!g(o.isFunction,c)&&m(a,o))continue;if(!k(a)){c.unused=!0;continue}f=x(a,c),i=B[c.name].canOverride,A(i.bind(null,o),c,f)&&(c.unused=!0)}else if(a.shorthand&&O(a,c)){if(!a.important&&c.important)continue;if(!S([c],a.components))continue;if(!g(o.isFunction,c)&&m(a,o))continue;for(F=(h=c.shorthand?c.components:[c]).length-1;F>=0;F--)if(_=h[F],w=x(a,_),i=B[_.name].canOverride,!A(i.bind(null,o),c,w))continue t;c.unused=!0}else if(t&&c.shorthand&&!a.shorthand&&C(c,a,!0)){if(a.important&&!c.important)continue;if(!a.important&&c.important){a.unused=!0;continue}if(d(e,T-1,c.name))continue;if(m(c,o))continue;if(!k(c))continue;if(f=x(c,a),A(i.bind(null,o),f,a)){var L=!n.properties.backgroundClipMerging&&f.name.indexOf("background-clip")>-1||!n.properties.backgroundOriginMerging&&f.name.indexOf("background-origin")>-1||!n.properties.backgroundSizeMerging&&f.name.indexOf("background-size")>-1,M=B[a.name].nonMergeableValue===a.value[0][1];if(L||M)continue;if(!n.properties.merging&&r(c,o))continue;if(f.value[0][1]!=a.value[0][1]&&(E(c)||E(a)))continue;if(v(c,a))continue;!c.multiplex&&a.multiplex&&l(c,p(a)),s(f,a),c.dirty=!0}}else if(t&&c.shorthand&&a.shorthand&&c.name==a.name){if(!c.multiplex&&a.multiplex)continue;if(!a.important&&c.important){a.unused=!0;continue e}if(a.important&&!c.important){c.unused=!0;continue}if(!k(a)){c.unused=!0;continue}for(F=c.components.length-1;F>=0;F--){var U=c.components[F],N=a.components[F];if(i=B[U.name].canOverride,!A(i.bind(null,o),U,N))continue e}u(c,a),c.dirty=!0}else if(t&&c.shorthand&&a.shorthand&&C(c,a)){if(!c.important&&a.important)continue;if(f=x(c,a),i=B[a.name].canOverride,!A(i.bind(null,o),f,a))continue;if(c.important&&!a.important){a.unused=!0;continue}if(B[a.name].restore(a,B).length>1)continue;s(f=x(c,a),a),a.dirty=!0}else if(c.name==a.name){if(D=!0,a.shorthand)for(F=a.components.length-1;F>=0&&D;F--)_=c.components[F],w=a.components[F],i=B[w.name].canOverride,D=D&&A(i.bind(null,o),_,w);else i=B[a.name].canOverride,D=A(i.bind(null,o),c,a);if(c.important&&!a.important&&D){a.unused=!0;continue}if(!c.important&&a.important&&D){c.unused=!0;continue}if(!D)continue;c.unused=!0}}}},{"../../../tokenizer/marker":83,"../../../tokenizer/token":84,"../../../writer/one-time":98,"../../restore-from-optimizing":56,"../clone":20,"../compactable":21,"../restore-with-components":48,"./every-values-pair":30,"./find-component-in":31,"./has-inherit":32,"./is-component-of":33,"./is-mergeable-shorthand":34,"./overrides-non-component-shorthand":38,"./vendor-prefixes":41}],38:[function(e,t,n){var r=e("../compactable");t.exports=function(e,t){return e.name in r&&"overridesShorthands"in r[e.name]&&r[e.name].overridesShorthands.indexOf(t.name)>-1}},{"../compactable":21}],39:[function(e,t,n){var r=e("../compactable"),o=e("../invalid-property-error");t.exports=function(e,t,n){for(var i,a,s,u=e.length-1;u>=0;u--){var l=e[u],c=r[l.name];if(c&&c.shorthand){l.shorthand=!0,l.dirty=!0;try{if(l.components=c.breakUp(l,r,t),c.shorthandComponents)for(a=0,s=l.components.length;a<s;a++)(i=l.components[a]).components=r[i.name].breakUp(i,r,t)}catch(e){if(!(e instanceof o))throw e;l.components=[],n.push(e.message)}l.components.length>0?l.multiplex=l.components[0].multiplex:l.unused=!0}}}},{"../compactable":21,"../invalid-property-error":23}],40:[function(e,t,n){var r=e("./vendor-prefixes").same;t.exports=function(e,t,n,o,i){return!(!r(t,n)||i&&e.isVariable(t)!==e.isVariable(n))}},{"./vendor-prefixes":41}],41:[function(e,t,n){function r(e){for(var t,n=[];null!==(t=o.exec(e));)-1==n.indexOf(t[0])&&n.push(t[0]);return n}var o=/(?:^|\W)(\-\w+\-)/g;t.exports={unique:r,same:function(e,t){return r(e).sort().join(",")==r(t).sort().join(",")}}},{}],42:[function(e,t,n){function r(e){for(var t=[],n=0;n<e.length;n++)t.push([e[n][1]]);return t}function o(e,t,n,r,o){for(var i=0,s=t.length;i<s;i++){var u=n[t[i]];a(e,u,{filterOut:function(e,t){return u[e].isPartial&&0===t.length},callback:function(e,t,n,r){u[n-r-1].isPartial||(e[2]=t)}},r,o)}}function i(e,t,n,r){var o=n.compatibility.selectors.mergeablePseudoClasses,i=n.compatibility.selectors.mergeablePseudoElements,u=n.compatibility.selectors.multiplePseudoMerging,l={};e:for(var c in t){var p=t[c];if(p[0].isComplex){var h=p[p.length-1].where,d=e[h],m=[],g=s(c,o,i,u)?p[0].list:[c];l.intoPosition=h,l.reducedBodies=m;for(var v=0,b=g.length;v<b;v++){var y=t[g[v]];if(y.length<2)continue e;if(l.data=y,a(e,y,{filterOut:function(e){return l.data[e].where<l.intoPosition},callback:function(e,t,n,r){0===r&&l.reducedBodies.push(t)}},n,r),f(m[m.length-1])!=f(m[0]))continue e}d[2]=m[0]}}}function a(e,t,n,r,o){for(var i=[],a=[],s=[],c=t.length-1;c>=0;c--)if(!n.filterOut(c,i)){var f=t[c].where,p=e[f],h=l(p[2]);i=i.concat(h),a.push(h),s.push(f)}u(i,!0,!1,o);for(var d=s.length,m=i.length-1,g=d-1;g>=0;)if((0===g||i[m]&&a[g].indexOf(i[m])>-1)&&m>-1)m--;else{var v=i.splice(m+1);n.callback(e[s[g]],v,d,g),g--}}var s=e("./is-mergeable"),u=e("./properties/optimize"),l=e("../../utils/clone-array"),c=e("../../tokenizer/token"),f=e("../../writer/one-time").body,p=e("../../writer/one-time").rules;t.exports=function(e,t){for(var n=t.options,a=n.compatibility.selectors.mergeablePseudoClasses,u=n.compatibility.selectors.mergeablePseudoElements,l=n.compatibility.selectors.multiplePseudoMerging,f={},h=[],d=e.length-1;d>=0;d--){var m=e[d];if(m[0]==c.RULE&&0!==m[2].length)for(var g=p(m[1]),v=m[1].length>1&&s(g,a,u,l),b=r(m[1]),y=v?[g].concat(b):[g],_=0,w=y.length;_<w;_++){var E=y[_];f[E]?h.push(E):f[E]=[],f[E].push({where:d,list:b,isPartial:v&&_>0,isComplex:v&&0===_})}}o(e,h,f,n,t),i(e,f,n,t)}},{"../../tokenizer/token":84,"../../utils/clone-array":86,"../../writer/one-time":98,"./is-mergeable":24,"./properties/optimize":36}],43:[function(e,t,n){var r=e("../../tokenizer/token"),o=e("../../writer/one-time").all,i="@font-face";t.exports=function(e){var t,n,a,s,u=[];for(a=0,s=e.length;a<s;a++)(t=e[a])[0]!=r.AT_RULE_BLOCK&&t[1][0][1]!=i||(n=o([t]),u.indexOf(n)>-1?t[2]=[]:u.push(n))}},{"../../tokenizer/token":84,"../../writer/one-time":98}],44:[function(e,t,n){var r=e("../../tokenizer/token"),o=e("../../writer/one-time").all,i=e("../../writer/one-time").rules;t.exports=function(e){var t,n,a,s,u,l={};for(s=0,u=e.length;s<u;s++)(n=e[s])[0]==r.NESTED_BLOCK&&((t=l[a=i(n[1])+"%"+o(n[2])])&&(t[2]=[]),l[a]=n)}},{"../../tokenizer/token":84,"../../writer/one-time":98}],45:[function(e,t,n){var r=e("../../tokenizer/token"),o=e("../../writer/one-time").body,i=e("../../writer/one-time").rules;t.exports=function(e){for(var t,n,a,s,u={},l=[],c=0,f=e.length;c<f;c++)(n=e[c])[0]==r.RULE&&(u[t=i(n[1])]&&1==u[t].length?l.push(t):u[t]=u[t]||[],u[t].push(c));for(c=0,f=l.length;c<f;c++){s=[];for(var p=u[t=l[c]].length-1;p>=0;p--)n=e[u[t][p]],a=o(n[2]),s.indexOf(a)>-1?n[2]=[]:s.push(a)}}},{"../../tokenizer/token":84,"../../writer/one-time":98}],46:[function(e,t,n){function r(e,t,n,r){var i,a,s,u,l,c={};for(u=0,l=e.length;u<l;u++)t(e[u],c);if(0!==Object.keys(c).length){o(e,n,c,r);for(i in c)for(u=0,l=(a=c[i]).length;u<l;u++)(s=a[u])[s[0]==g.AT_RULE?1:2]=[]}}function o(e,t,n,r){var i,a,s=t(n);for(i=0,a=e.length;i<a;i++)switch(e[i][0]){case g.RULE:s(e[i],r);break;case g.NESTED_BLOCK:o(e[i][2],t,n,r)}}function i(e,t){var n;e[0]==g.AT_RULE_BLOCK&&0===e[1][0][1].indexOf("@counter-style")&&(t[n=e[1][0][1].split(" ")[1]]=t[n]||[],t[n].push(e))}function a(e){return function(t,n){var r,o,i,a;for(i=0,a=t[2].length;i<a;i++)"list-style"==(r=t[2][i])[1][1]&&(o=d(r),h([o],n.validator,n.warnings),o.components[0].value[0][1]in e&&delete e[r[2][1]],m([o])),"list-style-type"==r[1][1]&&r[2][1]in e&&delete e[r[2][1]]}}function s(e,t){var n,r,o,i;if(e[0]==g.AT_RULE_BLOCK&&"@font-face"==e[1][0][1])for(o=0,i=e[2].length;o<i;o++)if("font-family"==(n=e[2][o])[1][1]){t[r=n[2][1].toLowerCase()]=t[r]||[],t[r].push(e);break}}function u(e){return function(t,n){var r,o,i,a,s,u,l,c;for(s=0,u=t[2].length;s<u;s++){if("font"==(r=t[2][s])[1][1]){for(o=d(r),h([o],n.validator,n.warnings),l=0,c=(i=o.components[6]).value.length;l<c;l++)(a=i.value[l][1].toLowerCase())in e&&delete e[a];m([o])}if("font-family"==r[1][1])for(l=2,c=r.length;l<c;l++)(a=r[l][1].toLowerCase())in e&&delete e[a]}}}function l(e,t){var n;e[0]==g.NESTED_BLOCK&&y.test(e[1][0][1])&&(t[n=e[1][0][1].split(" ")[1]]=t[n]||[],t[n].push(e))}function c(e){return function(t,n){var r,o,i,a,s,u,l;for(a=0,s=t[2].length;a<s;a++){if(r=t[2][a],b.test(r[1][1])){for(o=d(r),h([o],n.validator,n.warnings),u=0,l=(i=o.components[7]).value.length;u<l;u++)i.value[u][1]in e&&delete e[i.value[u][1]];m([o])}if(v.test(r[1][1]))for(u=2,l=r.length;u<l;u++)r[u][1]in e&&delete e[r[u][1]]}}}function f(e,t){var n;e[0]==g.AT_RULE&&0===e[1].indexOf("@namespace")&&(t[n=e[1].split(" ")[1]]=t[n]||[],t[n].push(e))}function p(e){var t=new RegExp(Object.keys(e).join("\\||")+"\\|","g");return function(n){var r,o,i,a,s,u;for(i=0,a=n[1].length;i<a;i++)for(s=0,u=(r=n[1][i][1].match(t)).length;s<u;s++)(o=r[s].substring(0,r[s].length-1))in e&&delete e[o]}}var h=e("./properties/populate-components"),d=e("../wrap-for-optimizing").single,m=e("../restore-from-optimizing"),g=e("../../tokenizer/token"),v=/^(\-moz\-|\-o\-|\-webkit\-)?animation-name$/,b=/^(\-moz\-|\-o\-|\-webkit\-)?animation$/,y=/^@(\-moz\-|\-o\-|\-webkit\-)?keyframes /;t.exports=function(e,t){r(e,i,a,t),r(e,s,u,t),r(e,l,c,t),r(e,f,p,t)}},{"../../tokenizer/token":84,"../restore-from-optimizing":56,"../wrap-for-optimizing":58,"./properties/populate-components":39}],47:[function(e,t,n){function r(e,t,n){var r=e[0],m=e[1],g=e[2],v=e[5],b=e[6],y=t[0],_=t[1],w=t[2],E=t[5],A=t[6];return!("font"==r&&"line-height"==y||"font"==y&&"line-height"==r)&&((!h.test(r)||!h.test(y))&&(!(g==w&&i(r)==i(y)&&o(r)^o(y))&&(("border"!=g||!d.test(w)||!("border"==r||r==w||m!=_&&a(r,y)))&&(("border"!=w||!d.test(g)||!("border"==y||y==g||m!=_&&a(r,y)))&&(("border"!=g||"border"!=w||r==y||!(s(r)&&u(y)||u(r)&&s(y)))&&(g!=w||(!(r!=y||g!=w||m!=_&&!l(m,_))||(r!=y&&g==w&&r!=g&&y!=w||(r!=y&&g==w&&m==_||(!(!A||!b||c(g)||c(w)||f(E,v,!1))||!p(v,E,n)))))))))))}function o(e){return/^\-(?:moz|webkit|ms|o)\-/.test(e)}function i(e){return e.replace(/^\-(?:moz|webkit|ms|o)\-/,"")}function a(e,t){return e.split("-").pop()==t.split("-").pop()}function s(e){return"border-top"==e||"border-right"==e||"border-bottom"==e||"border-left"==e}function u(e){return"border-color"==e||"border-style"==e||"border-width"==e}function l(e,t){return o(e)&&o(t)&&e.split("-")[1]!=t.split("-")[2]}function c(e){return"font"==e||"line-height"==e||"list-style"==e}var f=e("./rules-overlap"),p=e("./specificities-overlap"),h=/align\-items|box\-align|box\-pack|flex|justify/,d=/^border\-(top|right|bottom|left|color|style|width|radius)/;t.exports={canReorder:function(e,t,n){for(var o=t.length-1;o>=0;o--)for(var i=e.length-1;i>=0;i--)if(!r(e[i],t[o],n))return!1;return!0},canReorderSingle:r}},{"./rules-overlap":51,"./specificities-overlap":52}],48:[function(e,t,n){var r=e("./compactable");t.exports=function(e){var t=r[e.name];return t&&t.shorthand?t.restore(e,r):e.value}},{"./compactable":21}],49:[function(e,t,n){function r(e){for(var t=0,n=e.length;t<n;t++){var r=e[t][1];if("inherit"!=r&&r!=s.COMMA&&r!=s.FORWARD_SLASH)return!1}return!0}function o(e){var t=e.components,n=t[0].value[0],r=t[1].value[0],o=t[2].value[0],i=t[3].value[0];return n[1]==r[1]&&n[1]==o[1]&&n[1]==i[1]?[n]:n[1]==o[1]&&r[1]==i[1]?[n,r]:r[1]==i[1]?[n,r,o]:[n,r,o,i]}var i=e("./clone").shallow,a=e("../../tokenizer/token"),s=e("../../tokenizer/marker");t.exports={background:function(e,t,n){function o(e){Array.prototype.unshift.apply(f,e.value)}function i(e){var n=t[e.name];return n.doubleValues&&1==n.defaultValue.length?e.value[0][1]==n.defaultValue[0]&&(!e.value[1]||e.value[1][1]==n.defaultValue[0]):n.doubleValues&&1!=n.defaultValue.length?e.value[0][1]==n.defaultValue[0]&&(e.value[1]?e.value[1][1]:e.value[0][1])==n.defaultValue[1]:e.value[0][1]==n.defaultValue}for(var u,l,c=e.components,f=[],p=c.length-1;p>=0;p--){var h=c[p],d=i(h);if("background-clip"==h.name){var m=c[p-1],g=i(m);l=!(u=h.value[0][1]==m.value[0][1])&&(g&&!d||!g&&!d||!g&&d&&h.value[0][1]!=m.value[0][1]),u?o(m):l&&(o(h),o(m)),p--}else if("background-size"==h.name){var v=c[p-1],b=i(v);l=!(u=!b&&d)&&(b&&!d||!b&&!d),u?o(v):l?(o(h),f.unshift([a.PROPERTY_VALUE,s.FORWARD_SLASH]),o(v)):1==v.value.length&&o(v),p--}else{if(d||t[h.name].multiplexLastOnly&&!n)continue;o(h)}}return 0===f.length&&1==e.value.length&&"0"==e.value[0][1]&&f.push(e.value[0]),0===f.length&&f.push([a.PROPERTY_VALUE,t[e.name].defaultValue]),r(f)?[f[0]]:f},borderRadius:function(e,t){if(e.multiplex){for(var n=i(e),r=i(e),u=0;u<4;u++){var l=e.components[u],c=i(e);c.value=[l.value[0]],n.components.push(c);var f=i(e);f.value=[l.value[1]||l.value[0]],r.components.push(f)}var p=o(n),h=o(r);return p.length!=h.length||p[0][1]!=h[0][1]||p.length>1&&p[1][1]!=h[1][1]||p.length>2&&p[2][1]!=h[2][1]||p.length>3&&p[3][1]!=h[3][1]?p.concat([[a.PROPERTY_VALUE,s.FORWARD_SLASH]]).concat(h):p}return o(e)},font:function(e,t){var n,o=e.components,i=[],u=0,l=0;if(0===e.value[0][1].indexOf(s.INTERNAL))return e.value[0][1]=e.value[0][1].substring(s.INTERNAL.length),e.value;for(;u<4;)(n=o[u]).value[0][1]!=t[n.name].defaultValue&&Array.prototype.push.apply(i,n.value),u++;for(Array.prototype.push.apply(i,o[u].value),o[++u].value[0][1]!=t[o[u].name].defaultValue&&(Array.prototype.push.apply(i,[[a.PROPERTY_VALUE,s.FORWARD_SLASH]]),Array.prototype.push.apply(i,o[u].value)),u++;o[u].value[l];)i.push(o[u].value[l]),o[u].value[l+1]&&i.push([a.PROPERTY_VALUE,s.COMMA]),l++;return r(i)?[i[0]]:i},fourValues:o,multiplex:function(e){return function(t,n){if(!t.multiplex)return e(t,n,!0);var r,o,u=0,l=[],c={};for(r=0,o=t.components[0].value.length;r<o;r++)t.components[0].value[r][1]==s.COMMA&&u++;for(r=0;r<=u;r++){for(var f=i(t),p=0,h=t.components.length;p<h;p++){var d=t.components[p],m=i(d);f.components.push(m);for(var g=c[m.name]||0,v=d.value.length;g<v;g++){if(d.value[g][1]==s.COMMA){c[m.name]=g+1;break}m.value.push(d.value[g])}}var b=e(f,n,r==u);Array.prototype.push.apply(l,b),r<u&&l.push([a.PROPERTY_VALUE,s.COMMA])}return l}},withoutDefaults:function(e,t){for(var n=e.components,o=[],i=n.length-1;i>=0;i--){var s=n[i],u=t[s.name];s.value[0][1]!=u.defaultValue&&o.unshift(s.value[0])}return 0===o.length&&o.push([a.PROPERTY_VALUE,t[e.name].defaultValue]),r(o)?[o[0]]:o}}},{"../../tokenizer/marker":83,"../../tokenizer/token":84,"./clone":20}],50:[function(e,t,n){function r(e,t){return e>t?1:-1}function o(e,t){var n=c(e);return n[5]=n[5].concat(t[5]),n}var i=e("./reorderable").canReorderSingle,a=e("./extract-properties"),s=e("./is-mergeable"),u=e("./tidy-rule-duplicates"),l=e("../../tokenizer/token"),c=e("../../utils/clone-array"),f=e("../../writer/one-time").body,p=e("../../writer/one-time").rules;t.exports=function(e,t){function n(e,t,n){for(var r=n.length-1;r>=0;r--){var o=c(t,n[r][0]);if(F[o].length>1&&x(e,F[o])){h(o);break}}}function c(e,t){var n=d(t);return F[n]=F[n]||[],F[n].push([e,t]),n}function h(e){var t,n=e.split(U),r=[];for(var o in F){var i=o.split(U);for(t=i.length-1;t>=0;t--)if(n.indexOf(i[t])>-1){r.push(o);break}}for(t=r.length-1;t>=0;t--)delete F[r[t]]}function d(e){for(var t=[],n=0,r=e.length;n<r;n++)t.push(p(e[n][1]));return t.join(U)}function m(e){for(var t=[],n=[],r=e.length-1;r>=0;r--)s(p(e[r][1]),k,O,B)&&(n.unshift(e[r]),e[r][2].length>0&&-1==t.indexOf(e[r])&&t.push(e[r]));return t.length>1?n:[]}function g(e,t){var r=t[0],o=t[1],i=t[4],a=r.length+o.length+1,s=[],l=[],c=m(T[i]);if(!(c.length<2)){var f=b(c,a,1),p=f[0];if(p[1]>0)return n(e,t,f);for(var h=p[0].length-1;h>=0;h--)s=p[0][h][1].concat(s),l.unshift(p[0][h]);w(e,[t],s=u(s),l)}}function v(e,t){return e[1]>t[1]?1:e[1]==t[1]?0:-1}function b(e,t,n){return y(e,t,n,M-1).sort(v)}function y(e,t,n,r){var o=[[e,_(e,t,n)]];if(e.length>2&&r>0)for(var i=e.length-1;i>=0;i--){var a=Array.prototype.slice.call(e,0);a.splice(i,1),o=o.concat(y(a,t,n,r-1))}return o}function _(e,t,n){for(var r=0,o=e.length-1;o>=0;o--)r+=e[o][2].length>n?p(e[o][1]).length:-1;return r-(e.length-1)*t+1}function w(t,n,r,o){var i,a,s,u,c=[];for(i=o.length-1;i>=0;i--){var p=o[i];for(a=p[2].length-1;a>=0;a--){var h=p[2][a];for(s=0,u=n.length;s<u;s++){var d=n[s],m=h[1][1],g=d[0],v=d[4];if(m==g&&f([h])==v){p[2].splice(a,1);break}}}}for(i=n.length-1;i>=0;i--)c.unshift(n[i][3]);var b=[l.RULE,r,c];e.splice(t,0,b)}function E(e,t){var n=t[4],r=T[n];r&&r.length>1&&(A(e,t)||g(e,t))}function A(e,t){var n,r,o=[],i=[],a=t[4],s=m(T[a]);if(!(s.length<2)){e:for(var u in T){var l=T[u];for(n=s.length-1;n>=0;n--)if(-1==l.indexOf(s[n]))continue e;o.push(u)}if(o.length<2)return!1;for(n=o.length-1;n>=0;n--)for(r=R.length-1;r>=0;r--)if(R[r][4]==o[n]){i.unshift([R[r],s]);break}return x(e,i)}}function x(e,t){for(var n,r=0,o=[],i=t.length-1;i>=0;i--)r+=(n=t[i][0])[4].length+(i>0?1:0),o.push(n);var a=b(t[0][1],r,o.length)[0];if(a[1]>0)return!1;var s=[],l=[];for(i=a[0].length-1;i>=0;i--)s=a[0][i][1].concat(s),l.unshift(a[0][i]);for(w(e,o,s=u(s),l),i=o.length-1;i>=0;i--){n=o[i];var c=R.indexOf(n);delete T[n[4]],c>-1&&-1==L.indexOf(c)&&L.push(c)}return!0}for(var C=t.options,k=C.compatibility.selectors.mergeablePseudoClasses,O=C.compatibility.selectors.mergeablePseudoElements,S=C.compatibility.selectors.mergeLimit,B=C.compatibility.selectors.multiplePseudoMerging,D=t.cache.specificity,T={},R=[],F={},L=[],M=2,U="%",N=e.length-1;N>=0;N--){var P,q,z,I,j,V=e[N];if(V[0]==l.RULE)P=!0;else{if(V[0]!=l.NESTED_BLOCK)continue;P=!1}var $=R.length,H=a(V);L=[];var K=[];for(q=H.length-1;q>=0;q--)for(z=q-1;z>=0;z--)if(!i(H[q],H[z],D)){K.push(q);break}for(q=H.length-1;q>=0;q--){var G=H[q],Y=!1;for(z=0;z<$;z++){var W=R[z];-1==L.indexOf(z)&&(!i(G,W,D)&&!function(e,t,n){if(e[0]!=t[0])return!1;var r=t[4],o=T[r];return o&&o.indexOf(n)>-1}(G,W,V)||T[W[4]]&&T[W[4]].length===S)&&(E(N+1,W),-1==L.indexOf(z)&&(L.push(z),delete T[W[4]])),Y||(Y=G[0]==W[0]&&G[1]==W[1])&&(j=z)}if(P&&!(K.indexOf(q)>-1)){var Q=G[4];Y&&R[j][5].length+G[5].length>S?(E(N+1,R[j]),R.splice(j,1),T[Q]=[V],Y=!1):(T[Q]=T[Q]||[],T[Q].push(V)),Y?R[j]=o(R[j],G):R.push(G)}}for(q=0,I=(L=L.sort(r)).length;q<I;q++){var Z=L[q]-q;R.splice(Z,1)}}for(var J=e[0]&&e[0][0]==l.AT_RULE&&0===e[0][1].indexOf("@charset")?1:0;J<e.length-1;J++){var X=e[J][0]===l.AT_RULE&&0===e[J][1].indexOf("@import"),ee=e[J][0]===l.COMMENT;if(!X&&!ee)break}for(N=0;N<R.length;N++)E(J,R[N])}},{"../../tokenizer/token":84,"../../utils/clone-array":86,"../../writer/one-time":98,"./extract-properties":22,"./is-mergeable":24,"./reorderable":47,"./tidy-rule-duplicates":54}],51:[function(e,t,n){function r(e){return e.replace(o,"")}var o=/\-\-.+$/;t.exports=function(e,t,n){var o,i,a,s,u,l;for(a=0,s=e.length;a<s;a++)for(o=e[a][1],u=0,l=t.length;u<l;u++){if(i=t[u][1],o==i)return!0;if(n&&r(o)==r(i))return!0}return!1}},{}],52:[function(e,t,n){function r(e,t){var n;return e in t||(t[e]=n=o(e)),n||t[e]}var o=e("./specificity");t.exports=function(e,t,n){var o,i,a,s,u,l;for(a=0,s=e.length;a<s;a++)for(o=r(e[a][1],n),u=0,l=t.length;u<l;u++)if(i=r(t[u][1],n),o[0]===i[0]&&o[1]===i[1]&&o[2]===i[2])return!0;return!1}},{"./specificity":53}],53:[function(e,t,n){function r(e,t){return e.indexOf(s,t)===t}var o=e("../../tokenizer/marker"),i={ADJACENT_SIBLING:"+",DESCENDANT:">",DOT:".",HASH:"#",NON_ADJACENT_SIBLING:"~",PSEUDO:":"},a=/[a-zA-Z]/,s=":not(",u=/[\s,\(>~\+]/;t.exports=function(e){var t,n,s,l,c,f,p,h=[0,0,0],d=0,m=!1,g=!1;for(f=0,p=e.length;f<p;f++){if(t=e[f],n);else if(t!=o.SINGLE_QUOTE||l||s)if(t==o.SINGLE_QUOTE&&!l&&s)s=!1;else if(t!=o.DOUBLE_QUOTE||l||s)if(t==o.DOUBLE_QUOTE&&l&&!s)l=!1;else{if(s||l)continue;d>0&&!m||(t==o.OPEN_ROUND_BRACKET?d++:t==o.CLOSE_ROUND_BRACKET&&1==d?(d--,m=!1):t==o.CLOSE_ROUND_BRACKET?d--:t==i.HASH?h[0]++:t==i.DOT||t==o.OPEN_SQUARE_BRACKET?h[1]++:t!=i.PSEUDO||g||r(e,f)?t==i.PSEUDO?m=!0:(0===f||c)&&a.test(t)&&h[2]++:(h[1]++,m=!1))}else l=!0;else s=!0;n=t==o.BACK_SLASH,g=t==i.PSEUDO,c=!n&&u.test(t)}return h}},{"../../tokenizer/marker":83}],54:[function(e,t,n){function r(e,t){return e[1]>t[1]?1:-1}t.exports=function(e){for(var t=[],n=[],o=0,i=e.length;o<i;o++){var a=e[o];-1==n.indexOf(a[1])&&(n.push(a[1]),t.push(a))}return t.sort(r)}},{}],55:[function(e,t,n){t.exports=function(e){for(var t=e.length-1;t>=0;t--){var n=e[t];n.unused&&n.all.splice(n.position,1)}}},{}],56:[function(e,t,n){function r(e){e.value[e.value.length-1][1]+=l}function o(e){e.hack[0]==i.UNDERSCORE?e.name=c+e.name:e.hack[0]==i.ASTERISK?e.name=s+e.name:e.hack[0]==i.BACKSLASH?e.value[e.value.length-1][1]+=u+e.hack[1]:e.hack[0]==i.BANG&&(e.value[e.value.length-1][1]+=a.SPACE+f)}var i=e("./hack"),a=e("../tokenizer/marker"),s="*",u="\\",l="!important",c="_",f="!ie";t.exports=function(e,t){var n,i,a,s;for(s=e.length-1;s>=0;s--)(n=e[s]).unused||(n.dirty||n.important||n.hack)&&(t?(i=t(n),n.value=i):i=n.value,n.important&&r(n),n.hack&&o(n),"all"in n&&((a=n.all[n.position])[1][1]=n.name,a.splice(2,a.length-1),Array.prototype.push.apply(a,i)))}},{"../tokenizer/marker":83,"./hack":8}],57:[function(e,t,n){function r(){var e=p("animation-timing-function");return function(t){return e(t)||A.test(t)}}function o(e){return"auto"!=e&&(p("color")(e)||u(e)||i(e)||h(e))}function i(e){return m(e)||l(e)}function a(e){return x.test(e)}function s(e){return C.test(e)}function u(e){return R.test(e)||S.test(e)}function l(e){return k.test(e)}function c(e){return O.test(e)}function f(e){return"none"==e||"inherit"==e||w(e)}function p(e){return function(t){return U[e].indexOf(t)>-1}}function h(e){return B.test(e)}function d(e){return e.length>0&&""+parseFloat(e)===e}function m(e){return T.test(e)}function g(e){return D.test(e)}function v(e){return d(e)&&parseFloat(e)>=0}function b(e){return M.test(e)}function y(e){return F.test(e)}function _(e,t){return e.test(t)}function w(e){return L.test(e)}function E(e){return"auto"==e||d(e)||p("^")(e)}var A=/^(cubic\-bezier|steps)\([^\)]+\)$/,x=new RegExp("^(\\-moz\\-|\\-webkit\\-)?calc\\([^\\)]+\\)$","i"),C=new RegExp("^(var\\(\\-\\-[^\\)]+\\)|[A-Z]+(\\-|[A-Z]|[0-9])+\\(.*?\\)|\\-(\\-|[A-Z]|[0-9])+\\(.*?\\))$","i"),k=/^hsl\(\s*[\-\.\d]+\s*,\s*[\.\d]+%\s*,\s*[\.\d]+%\s*\)|hsla\(\s*[\-\.\d]+\s*,\s*[\.\d]+%\s*,\s*[\.\d]+%\s*,\s*[\.\d]+\s*\)$/,O=/^(\-[a-z0-9_][a-z0-9\-_]*|[a-z][a-z0-9\-_]*)$/i,S=/^#[0-9a-f]{6}$/i,B=/^[a-z]+$/i,D=/^-([a-z0-9]|-)*$/i,T=/^rgb\(\s*[\d]{1,3}\s*,\s*[\d]{1,3}\s*,\s*[\d]{1,3}\s*\)|rgba\(\s*[\d]{1,3}\s*,\s*[\d]{1,3}\s*,\s*[\d]{1,3}\s*,\s*[\.\d]+\s*\)$/,R=/^#[0-9a-f]{3}$/i,F=new RegExp("^(\\-?\\+?\\.?\\d+\\.?\\d*(s|ms))$"),L=/^url\([\s\S]+\)$/i,M=new RegExp("^var\\(\\-\\-[^\\)]+\\)$","i"),U={"^":["inherit","initial","unset"],"*-style":["auto","dashed","dotted","double","groove","hidden","inset","none","outset","ridge","solid"],"animation-direction":["alternate","alternate-reverse","normal","reverse"],"animation-fill-mode":["backwards","both","forwards","none"],"animation-iteration-count":["infinite"],"animation-name":["none"],"animation-play-state":["paused","running"],"animation-timing-function":["ease","ease-in","ease-in-out","ease-out","linear","step-end","step-start"],"background-attachment":["fixed","inherit","local","scroll"],"background-clip":["border-box","content-box","inherit","padding-box","text"],"background-origin":["border-box","content-box","inherit","padding-box"],"background-position":["bottom","center","left","right","top"],"background-repeat":["no-repeat","inherit","repeat","repeat-x","repeat-y","round","space"],"background-size":["auto","cover","contain"],"border-collapse":["collapse","inherit","separate"],bottom:["auto"],clear:["both","left","none","right"],color:["transparent"],cursor:["all-scroll","auto","col-resize","crosshair","default","e-resize","help","move","n-resize","ne-resize","no-drop","not-allowed","nw-resize","pointer","progress","row-resize","s-resize","se-resize","sw-resize","text","vertical-text","w-resize","wait"],display:["block","inline","inline-block","inline-table","list-item","none","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group"],float:["left","none","right"],left:["auto"],font:["caption","icon","menu","message-box","small-caption","status-bar","unset"],"font-size":["large","larger","medium","small","smaller","x-large","x-small","xx-large","xx-small"],"font-stretch":["condensed","expanded","extra-condensed","extra-expanded","normal","semi-condensed","semi-expanded","ultra-condensed","ultra-expanded"],"font-style":["italic","normal","oblique"],"font-variant":["normal","small-caps"],"font-weight":["100","200","300","400","500","600","700","800","900","bold","bolder","lighter","normal"],"line-height":["normal"],"list-style-position":["inside","outside"],"list-style-type":["armenian","circle","decimal","decimal-leading-zero","disc","decimal|disc","georgian","lower-alpha","lower-greek","lower-latin","lower-roman","none","square","upper-alpha","upper-latin","upper-roman"],overflow:["auto","hidden","scroll","visible"],position:["absolute","fixed","relative","static"],right:["auto"],"text-align":["center","justify","left","left|right","right"],"text-decoration":["line-through","none","overline","underline"],"text-overflow":["clip","ellipsis"],top:["auto"],"vertical-align":["baseline","bottom","middle","sub","super","text-bottom","text-top","top"],visibility:["collapse","hidden","visible"],"white-space":["normal","nowrap","pre"],width:["inherit","initial","medium","thick","thin"]},N=["%","ch","cm","em","ex","in","mm","pc","pt","px","rem","vh","vm","vmax","vmin","vw"];t.exports=function(e){var t=N.slice(0).filter(function(t){return!(t in e.units)||!0===e.units[t]}),n=new RegExp("^(\\-?\\.?\\d+\\.?\\d*("+t.join("|")+"|)|auto|inherit)$","i");return{colorOpacity:e.colors.opacity,isAnimationDirectionKeyword:p("animation-direction"),isAnimationFillModeKeyword:p("animation-fill-mode"),isAnimationIterationCountKeyword:p("animation-iteration-count"),isAnimationNameKeyword:p("animation-name"),isAnimationPlayStateKeyword:p("animation-play-state"),isAnimationTimingFunction:r(),isBackgroundAttachmentKeyword:p("background-attachment"),isBackgroundClipKeyword:p("background-clip"),isBackgroundOriginKeyword:p("background-origin"),isBackgroundPositionKeyword:p("background-position"),isBackgroundRepeatKeyword:p("background-repeat"),isBackgroundSizeKeyword:p("background-size"),isColor:o,isColorFunction:i,isDynamicUnit:a,isFontKeyword:p("font"),isFontSizeKeyword:p("font-size"),isFontStretchKeyword:p("font-stretch"),isFontStyleKeyword:p("font-style"),isFontVariantKeyword:p("font-variant"),isFontWeightKeyword:p("font-weight"),isFunction:s,isGlobal:p("^"),isHslColor:l,isIdentifier:c,isImage:f,isKeyword:p,isLineHeightKeyword:p("line-height"),isListStylePositionKeyword:p("list-style-position"),isListStyleTypeKeyword:p("list-style-type"),isPrefixed:g,isPositiveNumber:v,isRgbColor:m,isStyleKeyword:p("*-style"),isTime:y,isUnit:_.bind(null,n),isUrl:w,isVariable:b,isWidth:p("width"),isZIndex:E}}},{}],58:[function(e,t,n){function r(e){var t,n,r;for(t=2,n=e.length;t<n;t++)if((r=e[t])[0]==d.PROPERTY_VALUE&&o(r[1]))return!0;return!1}function o(e){return m.VARIABLE_REFERENCE_PATTERN.test(e)}function i(e){var t,n,r;for(n=3,r=e.length;n<r;n++)if((t=e[n])[0]==d.PROPERTY_VALUE&&(t[1]==h.COMMA||t[1]==h.FORWARD_SLASH))return!0;return!1}function a(e){var t=!1,n=e[1][1],r=e[e.length-1];return n[0]==m.UNDERSCORE?t=[p.UNDERSCORE]:n[0]==m.ASTERISK?t=[p.ASTERISK]:r[1][0]!=m.BANG||r[1].match(m.IMPORTANT_WORD_PATTERN)?r[1].indexOf(m.BANG)>0&&!r[1].match(m.IMPORTANT_WORD_PATTERN)&&m.BANG_SUFFIX_PATTERN.test(r[1])?t=[p.BANG]:r[1].indexOf(m.BACKSLASH)>0&&r[1].indexOf(m.BACKSLASH)==r[1].length-m.BACKSLASH.length-1?t=[p.BACKSLASH,r[1].substring(r[1].indexOf(m.BACKSLASH)+1)]:0===r[1].indexOf(m.BACKSLASH)&&2==r[1].length&&(t=[p.BACKSLASH,r[1].substring(1)]):t=[p.BANG],t}function s(e){if(e.length<3)return!1;var t=e[e.length-1];return!!m.IMPORTANT_TOKEN_PATTERN.test(t[1])||!(!m.IMPORTANT_WORD_PATTERN.test(t[1])||!m.SUFFIX_BANG_PATTERN.test(e[e.length-2][1]))}function u(e){var t=e[e.length-1],n=e[e.length-2];m.IMPORTANT_TOKEN_PATTERN.test(t[1])?t[1]=t[1].replace(m.IMPORTANT_TOKEN_PATTERN,""):(t[1]=t[1].replace(m.IMPORTANT_WORD_PATTERN,""),n[1]=n[1].replace(m.SUFFIX_BANG_PATTERN,"")),0===t[1].length&&e.pop(),0===n[1].length&&e.pop()}function l(e){e[1][1]=e[1][1].substring(1)}function c(e,t){var n=e[e.length-1];n[1]=n[1].substring(0,n[1].indexOf(t[0]==p.BACKSLASH?m.BACKSLASH:m.BANG)).trim(),0===n[1].length&&e.pop()}function f(e){var t=s(e);t&&u(e);var n=a(e);return n[0]==p.ASTERISK||n[0]==p.UNDERSCORE?l(e):n[0]!=p.BACKSLASH&&n[0]!=p.BANG||c(e,n),{block:e[2]&&e[2][0]==d.PROPERTY_BLOCK,components:[],dirty:!1,hack:n,important:t,name:e[1][1],multiplex:e.length>3&&i(e),position:0,shorthand:!1,unused:!1,value:e.slice(2)}}var p=e("./hack"),h=e("../tokenizer/marker"),d=e("../tokenizer/token"),m={ASTERISK:"*",BACKSLASH:"\\",BANG:"!",BANG_SUFFIX_PATTERN:/!\w+$/,IMPORTANT_TOKEN:"!important",IMPORTANT_TOKEN_PATTERN:new RegExp("!important$","i"),IMPORTANT_WORD:"important",IMPORTANT_WORD_PATTERN:new RegExp("important$","i"),SUFFIX_BANG_PATTERN:/!$/,UNDERSCORE:"_",VARIABLE_REFERENCE_PATTERN:/var\(--.+\)$/};t.exports={all:function(e,t,n){var o,i,a,s=[];for(a=e.length-1;a>=0;a--)(i=e[a])[0]==d.PROPERTY&&(!t&&r(i)||n&&n.indexOf(i[1][1])>-1||((o=f(i)).all=e,o.position=a,s.unshift(o)));return s},single:f}},{"../tokenizer/marker":83,"../tokenizer/token":84,"./hack":8}],59:[function(e,t,n){function r(e,t){for(var n in e){var o=e[n];"object"!=typeof o||Array.isArray(o)?t[n]=n in t?t[n]:o:t[n]=r(o,t[n]||{})}return t}function o(e){if("object"==typeof e)return e;if(!/[,\+\-]/.test(e))return i[e]||i["*"];var t=e.split(","),n=t[0]in i?i[t.shift()]:i["*"];return e={},t.forEach(function(t){var n="+"==t[0],r=t.substring(1).split("."),o=r[0],i=r[1];e[o]=e[o]||{},e[o][i]=n}),r(n,e)}var i={"*":{colors:{opacity:!0},properties:{backgroundClipMerging:!0,backgroundOriginMerging:!0,backgroundSizeMerging:!0,colors:!0,ieBangHack:!1,ieFilters:!1,iePrefixHack:!1,ieSuffixHack:!1,merging:!0,shorterLengthUnits:!1,spaceAfterClosingBrace:!0,urlQuotes:!1,zeroUnits:!0},selectors:{adjacentSpace:!1,ie7Hack:!1,mergeablePseudoClasses:[":active",":after",":before",":empty",":checked",":disabled",":empty",":enabled",":first-child",":first-letter",":first-line",":first-of-type",":focus",":hover",":lang",":last-child",":last-of-type",":link",":not",":nth-child",":nth-last-child",":nth-last-of-type",":nth-of-type",":only-child",":only-of-type",":root",":target",":visited"],mergeablePseudoElements:["::after","::before","::first-letter","::first-line"],mergeLimit:8191,multiplePseudoMerging:!0},units:{ch:!0,in:!0,pc:!0,pt:!0,rem:!0,vh:!0,vm:!0,vmax:!0,vmin:!0,vw:!0}}};i.ie11=i["*"],i.ie10=i["*"],i.ie9=r(i["*"],{properties:{ieFilters:!0,ieSuffixHack:!0}}),i.ie8=r(i.ie9,{colors:{opacity:!1},properties:{backgroundClipMerging:!1,backgroundOriginMerging:!1,backgroundSizeMerging:!1,iePrefixHack:!0,merging:!1},selectors:{mergeablePseudoClasses:[":after",":before",":first-child",":first-letter",":focus",":hover",":visited"],mergeablePseudoElements:[]},units:{ch:!1,rem:!1,vh:!1,vm:!1,vmax:!1,vmin:!1,vw:!1}}),i.ie7=r(i.ie8,{properties:{ieBangHack:!0},selectors:{ie7Hack:!0,mergeablePseudoClasses:[":first-child",":first-letter",":hover",":visited"]}}),t.exports=function(e){return r(i["*"],o(e))}},{}],60:[function(e,t,n){var r=e("../reader/load-remote-resource");t.exports=function(e){return e||r}},{"../reader/load-remote-resource":74}],61:[function(e,t,n){function r(e){var t={};return t[c.AfterAtRule]=e,t[c.AfterBlockBegins]=e,t[c.AfterBlockEnds]=e,t[c.AfterComment]=e,t[c.AfterProperty]=e,t[c.AfterRuleBegins]=e,t[c.AfterRuleEnds]=e,t[c.BeforeBlockEnds]=e,t[c.BetweenSelectors]=e,t}function o(e){var t={};return t[p.AroundSelectorRelation]=e,t[p.BeforeBlockBegins]=e,t[p.BeforeValue]=e,t}function i(e){return e.split(g).reduce(function(e,t){var n=t.split(v),r=n[0],o=n[1];return"breaks"==r||"spaces"==r?e[r]=a(o):"indentBy"==r||"wrapAt"==r?e[r]=parseInt(o):"indentWith"==r&&(e[r]=u(o)),e},{})}function a(e){return e.split(b).reduce(function(e,t){var n=t.split(y),r=n[0],o=n[1];return e[r]=s(o),e},{})}function s(e){switch(e){case _:case w:return!1;case E:case A:return!0;default:return e}}function u(e){switch(e){case"space":return f.Space;case"tab":return f.Tab;default:return e}}var l=e("../utils/override"),c={AfterAtRule:"afterAtRule",AfterBlockBegins:"afterBlockBegins",AfterBlockEnds:"afterBlockEnds",AfterComment:"afterComment",AfterProperty:"afterProperty",AfterRuleBegins:"afterRuleBegins",AfterRuleEnds:"afterRuleEnds",BeforeBlockEnds:"beforeBlockEnds",BetweenSelectors:"betweenSelectors"},f={Space:" ",Tab:"\t"},p={AroundSelectorRelation:"aroundSelectorRelation",BeforeBlockBegins:"beforeBlockBegins",BeforeValue:"beforeValue"},h={breaks:r(!1),indentBy:0,indentWith:f.Space,spaces:o(!1),wrapAt:!1},d="beautify",m="keep-breaks",g=";",v=":",b=",",y="=",_="false",w="off",E="true",A="on";t.exports={Breaks:c,Spaces:p,formatFrom:function(e){return void 0!==e&&!1!==e&&("object"==typeof e&&"indentBy"in e&&(e=l(e,{indentBy:parseInt(e.indentBy)})),"object"==typeof e&&"indentWith"in e&&(e=l(e,{indentWith:u(e.indentWith)})),"object"==typeof e?l(h,e):"object"==typeof e?l(h,e):"string"==typeof e&&e==d?l(h,{breaks:r(!0),indentBy:2,spaces:o(!0)}):"string"==typeof e&&e==m?l(h,{breaks:{afterAtRule:!0,afterBlockBegins:!0,afterBlockEnds:!0,afterComment:!0,afterRuleEnds:!0,beforeBlockEnds:!0}}):"string"==typeof e?l(h,i(e)):h)}}},{"../utils/override":95}],62:[function(e,t,n){(function(n){function r(e){return e?{hostname:o.parse(e).hostname,port:parseInt(o.parse(e).port)}:{}}var o=e("url"),i=e("../utils/override");t.exports=function(e){return i(r(n.env.HTTP_PROXY||n.env.http_proxy),e||{})}}).call(this,e("_process"))},{"../utils/override":95,_process:113,url:162}],63:[function(e,t,n){var r=5e3;t.exports=function(e){return e||r}},{}],64:[function(e,t,n){t.exports=function(e){return Array.isArray(e)?e:!1===e?["none"]:void 0===e?["local"]:e.split(",")}},{}],65:[function(e,t,n){function r(e,t){var n,r=u(c[e],{});for(n in r)"boolean"==typeof r[n]&&(r[n]=t);return r}function o(e){switch(e){case h:case d:return!1;case m:case g:return!0;default:return e}}function i(e){var t,n,r=u(e,{});for(n=0;n<=2;n++)(t=""+n)in r&&(void 0===r[t]||!1===r[t])&&delete r[t],t in r&&!0===r[t]&&(r[t]={}),t in r&&"string"==typeof r[t]&&(r[t]=a(r[t],t));return r}function a(e,t){return e.split(b).reduce(function(e,n){var i=n.split(y),a=i[0],s=o(i[1]);return f==a||p==a?e=u(e,r(t,s)):e[a]=s,e},{})}var s=e("./rounding-precision").roundingPrecisionFrom,u=e("../utils/override"),l={Zero:"0",One:"1",Two:"2"},c={};c[l.Zero]={},c[l.One]={cleanupCharsets:!0,normalizeUrls:!0,optimizeBackground:!0,optimizeBorderRadius:!0,optimizeFilter:!0,optimizeFontWeight:!0,optimizeOutline:!0,removeEmpty:!0,removeNegativePaddings:!0,removeQuotes:!0,removeWhitespace:!0,replaceMultipleZeros:!0,replaceTimeUnits:!0,replaceZeroUnits:!0,roundingPrecision:s(void 0),selectorsSortingMethod:"standard",specialComments:"all",tidyAtRules:!0,tidyBlockScopes:!0,tidySelectors:!0,transform:function(){}},c[l.Two]={mergeAdjacentRules:!0,mergeIntoShorthands:!0,mergeMedia:!0,mergeNonAdjacentRules:!0,mergeSemantically:!1,overrideProperties:!0,removeEmpty:!0,reduceNonAdjacentRules:!0,removeDuplicateFontRules:!0,removeDuplicateMediaBlocks:!0,removeDuplicateRules:!0,removeUnusedAtRules:!1,restructureRules:!1,skipProperties:[]};var f="*",p="all",h="false",d="off",m="true",g="on",v=",",b=";",y=":";t.exports={OptimizationLevel:l,optimizationLevelFrom:function(e){var t=u(c,{}),n=l.Zero,a=l.One,h=l.Two;return void 0===e?(delete t[h],t):("string"==typeof e&&(e=parseInt(e)),"number"==typeof e&&e===parseInt(h)?t:"number"==typeof e&&e===parseInt(a)?(delete t[h],t):"number"==typeof e&&e===parseInt(n)?(delete t[h],delete t[a],t):("object"==typeof e&&(e=i(e)),a in e&&"roundingPrecision"in e[a]&&(e[a].roundingPrecision=s(e[a].roundingPrecision)),h in e&&"skipProperties"in e[h]&&"string"==typeof e[h].skipProperties&&(e[h].skipProperties=e[h].skipProperties.split(v)),(n in e||a in e||h in e)&&(t[n]=u(t[n],e[n])),a in e&&f in e[a]&&(t[a]=u(t[a],r(a,o(e[a][f]))),delete e[a][f]),a in e&&p in e[a]&&(t[a]=u(t[a],r(a,o(e[a][p]))),delete e[a][p]),a in e||h in e?t[a]=u(t[a],e[a]):delete t[a],h in e&&f in e[h]&&(t[h]=u(t[h],r(h,o(e[h][f]))),delete e[h][f]),h in e&&p in e[h]&&(t[h]=u(t[h],r(h,o(e[h][p]))),delete e[h][p]),h in e?t[h]=u(t[h],e[h]):delete t[h],t))}}},{"../utils/override":95,"./rounding-precision":68}],66:[function(e,t,n){(function(n){var r=e("path");t.exports=function(e){return e?r.resolve(e):n.cwd()}}).call(this,e("_process"))},{_process:113,path:111}],67:[function(e,t,n){t.exports=function(e){return void 0===e||!!e}},{}],68:[function(e,t,n){function r(e){return{ch:e,cm:e,em:e,ex:e,in:e,mm:e,pc:e,pt:e,px:e,q:e,rem:e,vh:e,vmax:e,vmin:e,vw:e,"%":e}}function o(e){return null===e||void 0===e?{}:"boolean"==typeof e?{}:"number"==typeof e&&-1==e?r(u):"number"==typeof e?r(e):"string"==typeof e&&a.test(e)?r(parseInt(e)):"string"==typeof e&&e==u?r(u):"object"==typeof e?e:e.split(l).reduce(function(e,t){var n=t.split(c),o=n[0],a=parseInt(n[1]);return(isNaN(a)||-1==a)&&(a=u),s.indexOf(o)>-1?e=i(e,r(a)):e[o]=a,e},{})}var i=e("../utils/override"),a=/^\d+$/,s=["*","all"],u="off",l=",",c="=";t.exports={DEFAULT:u,roundingPrecisionFrom:function(e){return i(r(u),o(e))}}},{"../utils/override":95}],69:[function(e,t,n){(function(n,r){function o(e){var t,n,r,o=[],s=i(e.sourceTokens[0]);for(r=e.sourceTokens.length;e.index<r;e.index++)if(n=e.sourceTokens[e.index],(t=i(n))!=s&&(o=[],s=t),o.push(n),e.processedTokens.push(n),n[0]==y.COMMENT&&A.test(n[1]))return a(n[1],t,o,e);return e.callback(e.processedTokens)}function i(e){return(e[0]==y.AT_RULE||e[0]==y.COMMENT?e[2][0]:e[1][0][2][0])[2]}function a(e,t,n,r){return s(e,r,function(e){return e&&(r.inputSourceMapTracker.track(t,e),f(n,r.inputSourceMapTracker)),r.index++,o(r)})}function s(e,t,n){var r,o,i,a=A.exec(e)[1];return w(a)?(o=u(a),n(o)):E(a)?l(a,t,function(e){var t;e?(t=JSON.parse(e),i=b(t,a),n(i)):n(null)}):(r=d.resolve(t.rebaseTo,a),(o=c(r,t))?(i=v(o,r,t.rebaseTo),n(i)):n(null))}function u(e){var t=g(e),o=t[2]?t[2].split(/[=;]/)[2]:"us-ascii",i=t[3]?t[3].split(";")[1]:"utf8",a="utf8"==i?n.unescape(t[4]):t[4],s=new r(a,i);return s.charset=o,JSON.parse(s.toString())}function l(e,t,n){var r=m(e,!0,t.inline),o=!_(e);return t.localOnly?(t.warnings.push('Cannot fetch remote resource from "'+e+'" as no callback given.'),n(null)):o?(t.warnings.push('Cannot fetch "'+e+'" as no protocol given.'),n(null)):r?void t.fetch(e,t.inlineRequest,t.inlineTimeout,function(r,o){if(r)return t.warnings.push('Missing source map at "'+e+'" - '+r),n(null);n(o)}):(t.warnings.push('Cannot fetch "'+e+'" as resource is not allowed.'),n(null))}function c(e,t){var n,r=m(e,!1,t.inline);return h.existsSync(e)&&h.statSync(e).isFile()?r?(n=h.readFileSync(e,"utf-8"),JSON.parse(n)):(t.warnings.push('Cannot fetch "'+e+'" as resource is not allowed.'),null):(t.warnings.push('Ignoring local source map at "'+e+'" as resource is missing.'),null)}function f(e,t){var n,r,o;for(r=0,o=e.length;r<o;r++)switch((n=e[r])[0]){case y.AT_RULE:p(n,t);break;case y.AT_RULE_BLOCK:f(n[1],t),f(n[2],t);break;case y.AT_RULE_BLOCK_SCOPE:p(n,t);break;case y.NESTED_BLOCK:f(n[1],t),f(n[2],t);break;case y.NESTED_BLOCK_SCOPE:case y.COMMENT:p(n,t);break;case y.PROPERTY:f(n,t);break;case y.PROPERTY_BLOCK:f(n[1],t);break;case y.PROPERTY_NAME:case y.PROPERTY_VALUE:p(n,t);break;case y.RULE:f(n[1],t),f(n[2],t);break;case y.RULE_SCOPE:p(n,t)}return e}function p(e,t){var n,r,o=e[1],i=e[2],a=[];for(n=0,r=i.length;n<r;n++)a.push(t.originalPositionFor(i[n],o.length));e[2]=a}var h=e("fs"),d=e("path"),m=e("./is-allowed-resource"),g=e("./match-data-uri"),v=e("./rebase-local-map"),b=e("./rebase-remote-map"),y=e("../tokenizer/token"),_=e("../utils/has-protocol"),w=e("../utils/is-data-uri-resource"),E=e("../utils/is-remote-resource"),A=/^\/\*# sourceMappingURL=(\S+) \*\/$/;t.exports=function(e,t,n){var r={callback:n,fetch:t.options.fetch,index:0,inline:t.options.inline,inlineRequest:t.options.inlineRequest,inlineTimeout:t.options.inlineTimeout,inputSourceMapTracker:t.inputSourceMapTracker,localOnly:t.localOnly,processedTokens:[],rebaseTo:t.options.rebaseTo,sourceTokens:e,warnings:t.warnings};return t.options.sourceMap&&e.length>0?o(r):n(e)}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer)},{"../tokenizer/token":84,"../utils/has-protocol":88,"../utils/is-data-uri-resource":89,"../utils/is-remote-resource":93,"./is-allowed-resource":72,"./match-data-uri":75,"./rebase-local-map":78,"./rebase-remote-map":79,buffer:4,fs:3,path:111}],70:[function(e,t,n){var r=e("../utils/split"),o=/^\(/,i=/\)$/,a=/^@import/i,s=/['"]\s*/,u=/\s*['"]/,l=/^url\(\s*/i,c=/\s*\)/i;t.exports=function(e){var t,n,f,p;return f=e.replace(a,"").trim().replace(l,"(").replace(c,")").replace(s,"").replace(u,""),p=r(f," "),t=p[0].replace(o,"").replace(i,""),n=p.slice(1).join(" "),[t,n]}},{"../utils/split":96}],71:[function(e,t,n){function r(e){return e}function o(e,t){return t in e}function i(e,t,n,r){for(var o,s=t[0],u=t[1],l=t[2],c={line:s,column:u+n};!o&&c.column>u;)c.column--,o=e[l].originalPositionFor(c);return null===o.line&&s>1&&r>0?i(e,[s-1,u,l],n,r-1):null!==o.line?a(o):t}function a(e){return[e.line,e.column,e.source]}function s(e,t,n){e[t]=new u(n)}var u=e("source-map").SourceMapConsumer;t.exports=function(){var e={};return{all:r.bind(null,e),isTracking:o.bind(null,e),originalPositionFor:i.bind(null,e),track:s.bind(null,e)}}},{"source-map":155}],72:[function(e,t,n){function r(e,t,n){var s,c,f,p,h,d,m=!t;if(0===n.length)return!1;for(t&&!u(e)&&(e=l+e),s=t?a.parse(e).host:e,c=t?e:i.resolve(e),d=0;d<n.length;d++)p="!"==(f=n[d])[0],h=f.substring(1),m=p&&t&&o(h)?m&&!r(e,!0,[h]):!p||t||o(h)?p?m&&!0:"all"==f||(t&&"local"==f?m||!1:!(!t||"remote"!=f)||!(!t&&"remote"==f)&&(!t&&"local"==f||(f===s||(f===e||(!(!t||0!==c.indexOf(f))||(!t&&0===c.indexOf(i.resolve(f))||t!=o(h)&&(m&&!0))))))):m&&!r(e,!1,[h]);return m}function o(e){return s(e)||a.parse(l+"//"+e).host==e}var i=e("path"),a=e("url"),s=e("../utils/is-remote-resource"),u=e("../utils/has-protocol"),l="http:";t.exports=r},{"../utils/has-protocol":88,"../utils/is-remote-resource":93,path:111,url:162}],73:[function(e,t,n){function r(e){var t,n,r,o,i,a={};for(r in e)for(o=0,i=(t=e[r]).sources.length;o<i;o++)n=t.sources[o],r=t.sourceContentFor(n,!0),a[n]=r;return a}function o(e){var t,n,r,o=Object.keys(e.uriToSource);for(r=o.length;e.index<r;e.index++){if(t=o[e.index],!(n=e.uriToSource[t]))return i(t,e);e.sourcesContent[t]=n}return e.callback()}function i(e,t){var n;return p(e)?a(e,t,function(n){return t.index++,t.sourcesContent[e]=n,o(t)}):(n=s(e,t),t.index++,t.sourcesContent[e]=n,o(t))}function a(e,t,n){var r=c(e,!0,t.inline),o=!f(e);return t.localOnly?(t.warnings.push('Cannot fetch remote resource from "'+e+'" as no callback given.'),n(null)):o?(t.warnings.push('Cannot fetch "'+e+'" as no protocol given.'),n(null)):r?void t.fetch(e,t.inlineRequest,t.inlineTimeout,function(r,o){r&&t.warnings.push('Missing original source at "'+e+'" - '+r),n(o)}):(t.warnings.push('Cannot fetch "'+e+'" as resource is not allowed.'),n(null))}function s(e,t){var n=c(e,!1,t.inline),r=l.resolve(t.rebaseTo,e);return u.existsSync(r)&&u.statSync(r).isFile()?n?u.readFileSync(r,"utf8"):(t.warnings.push('Cannot fetch "'+r+'" as resource is not allowed.'),null):(t.warnings.push('Ignoring local source map at "'+r+'" as resource is missing.'),null)}var u=e("fs"),l=e("path"),c=e("./is-allowed-resource"),f=e("../utils/has-protocol"),p=e("../utils/is-remote-resource");t.exports=function(e,t){var n={callback:t,fetch:e.options.fetch,index:0,inline:e.options.inline,inlineRequest:e.options.inlineRequest,inlineTimeout:e.options.inlineTimeout,localOnly:e.localOnly,rebaseTo:e.options.rebaseTo,sourcesContent:e.sourcesContent,uriToSource:r(e.inputSourceMapTracker.all()),warnings:e.warnings};return e.options.sourceMap&&e.options.sourceMapInlineSources?o(n):t()}},{"../utils/has-protocol":88,"../utils/is-remote-resource":93,"./is-allowed-resource":72,fs:3,path:111}],74:[function(e,t,n){function r(e,t,n,f){var p,h=t.protocol||t.hostname,d=!1;p=l(a.parse(e),t||{}),void 0!==t.hostname&&(p.protocol=t.protocol||c,p.path=p.href),(h&&!u(h)||s(e)?o.get:i.get)(p,function(o){var i,s=[];if(!d){if(o.statusCode<200||o.statusCode>399)return f(o.statusCode,null);if(o.statusCode>299)return i=a.resolve(e,o.headers.location),r(i,t,n,f);o.on("data",function(e){s.push(e.toString())}),o.on("end",function(){var e=s.join("");f(null,e)})}}).on("error",function(e){d||(d=!0,f(e.message,null))}).on("timeout",function(){d||(d=!0,f("timeout",null))}).setTimeout(n)}var o=e("http"),i=e("https"),a=e("url"),s=e("../utils/is-http-resource"),u=e("../utils/is-https-resource"),l=e("../utils/override"),c="http:";t.exports=r},{"../utils/is-http-resource":90,"../utils/is-https-resource":91,"../utils/override":95,http:156,https:104,url:162}],75:[function(e,t,n){var r=/^data:(\S*?)?(;charset=[^;]+)?(;[^,]+?)?,(.+)/;t.exports=function(e){return r.exec(e)}},{}],76:[function(e,t,n){var r="/",o=/\\/g;t.exports=function(e){return e.replace(o,r)}},{}],77:[function(e,t,n){(function(n,r){function o(e,t,r){return"string"==typeof e?i(e,t,r):n.isBuffer(e)?i(e.toString(),t,r):Array.isArray(e)?a(e,t,r):"object"==typeof e?s(e,t,r):void 0}function i(e,t,n){return t.source=void 0,t.sourcesContent[void 0]=e,t.stats.originalSize+=e.length,h(e,t,{inline:t.options.inline},n)}function a(e,t,n){return h(e.reduce(function(e,n){return"string"==typeof n?u(n,e):l(n,t,e)},[]).join(""),t,{inline:["all"]},n)}function s(e,t,n){return h(l(e,t,[]).join(""),t,{inline:["all"]},n)}function u(e,t){return t.push(p(c(e))),t}function l(e,t,n){var r,o,i;for(r in e)i=e[r],o=c(r),n.push(p(o)),t.sourcesContent[o]=i.styles,i.sourceMap&&f(i.sourceMap,o,t);return n}function c(e){var t,n,r=E.resolve("");return N(e)?e:(t=E.isAbsolute(e)?e:E.resolve(e),n=E.relative(r,t),O(n))}function f(e,t,n){var r="string"==typeof e?JSON.parse(e):e,o=N(t)?D(r,t):B(r,t||P,n.options.rebaseTo);n.inputSourceMapTracker.track(t,o)}function p(e){return T("url("+e+")","")+L.SEMICOLON}function h(e,t,n,r){var o,i={};return t.source?N(t.source)?(i.fromBase=t.source,i.toBase=t.source):E.isAbsolute(t.source)?(i.fromBase=E.dirname(t.source),i.toBase=t.options.rebaseTo):(i.fromBase=E.dirname(E.resolve(t.source)),i.toBase=t.options.rebaseTo):(i.fromBase=E.resolve(""),i.toBase=t.options.rebaseTo),o=R(e,t),o=S(o,t.options.rebase,t.validator,i),d(n.inline)?m(o,t,n,r):r(o)}function d(e){return!(1==e.length&&"none"==e[0])}function m(e,t,n,r){return g({afterContent:!1,callback:r,errors:t.errors,externalContext:t,fetch:t.options.fetch,inlinedStylesheets:n.inlinedStylesheets||t.inlinedStylesheets,inline:n.inline,inlineRequest:t.options.inlineRequest,inlineTimeout:t.options.inlineTimeout,isRemote:n.isRemote||!1,localOnly:t.localOnly,outputTokens:[],rebaseTo:t.options.rebaseTo,sourceTokens:e,warnings:t.warnings})}function g(e){var t,n,r;for(n=0,r=e.sourceTokens.length;n<r;n++){if((t=e.sourceTokens[n])[0]==F.AT_RULE&&U(t[1]))return e.sourceTokens.splice(0,n),v(t,e);t[0]==F.AT_RULE||t[0]==F.COMMENT?e.outputTokens.push(t):(e.outputTokens.push(t),e.afterContent=!0)}return e.sourceTokens=[],e.callback(e.outputTokens)}function v(e,t){var n=x(e[1]),r=n[0],o=n[1],i=e[2];return N(r)?b(r,o,i,t):y(r,o,i,t)}function b(e,t,n,o){function i(i,a){return i?(o.errors.push('Broken @import declaration of "'+e+'" - '+i),r.nextTick(function(){o.outputTokens=o.outputTokens.concat(o.sourceTokens.slice(0,1)),o.sourceTokens=o.sourceTokens.slice(1),g(o)})):(o.inline=o.externalContext.options.inline,o.isRemote=!0,o.externalContext.source=s,o.externalContext.sourcesContent[e]=a,o.externalContext.stats.originalSize+=a.length,h(a,o.externalContext,o,function(e){return e=_(e,t,n),o.outputTokens=o.outputTokens.concat(e),o.sourceTokens=o.sourceTokens.slice(1),g(o)}))}var a=C(e,!0,o.inline),s=e,u=e in o.externalContext.sourcesContent,l=!M(e);return o.inlinedStylesheets.indexOf(e)>-1?(o.warnings.push('Ignoring remote @import of "'+e+'" as it has already been imported.'),o.sourceTokens=o.sourceTokens.slice(1),g(o)):o.localOnly&&o.afterContent?(o.warnings.push('Ignoring remote @import of "'+e+'" as no callback given and after other content.'),o.sourceTokens=o.sourceTokens.slice(1),g(o)):l?(o.warnings.push('Skipping remote @import of "'+e+'" as no protocol given.'),o.outputTokens=o.outputTokens.concat(o.sourceTokens.slice(0,1)),o.sourceTokens=o.sourceTokens.slice(1),g(o)):o.localOnly&&!u?(o.warnings.push('Skipping remote @import of "'+e+'" as no callback given.'),o.outputTokens=o.outputTokens.concat(o.sourceTokens.slice(0,1)),o.sourceTokens=o.sourceTokens.slice(1),g(o)):!a&&o.afterContent?(o.warnings.push('Ignoring remote @import of "'+e+'" as resource is not allowed and after other content.'),o.sourceTokens=o.sourceTokens.slice(1),g(o)):a?(o.inlinedStylesheets.push(e),u?i(null,o.externalContext.sourcesContent[e]):o.fetch(e,o.inlineRequest,o.inlineTimeout,i)):(o.warnings.push('Skipping remote @import of "'+e+'" as resource is not allowed.'),o.outputTokens=o.outputTokens.concat(o.sourceTokens.slice(0,1)),o.sourceTokens=o.sourceTokens.slice(1),g(o))}function y(e,t,n,r){var o,i=E.resolve(""),a=E.isAbsolute(e)?E.resolve(i,"/"==e[0]?e.substring(1):e):E.resolve(r.rebaseTo,e),s=E.relative(i,a),u=C(e,!1,r.inline),l=O(s),c=l in r.externalContext.sourcesContent;if(r.inlinedStylesheets.indexOf(a)>-1)r.warnings.push('Ignoring local @import of "'+e+'" as it has already been imported.');else if(c||w.existsSync(a)&&w.statSync(a).isFile())if(!u&&r.afterContent)r.warnings.push('Ignoring local @import of "'+e+'" as resource is not allowed and after other content.');else if(r.afterContent)r.warnings.push('Ignoring local @import of "'+e+'" as after other content.');else{if(u)return o=c?r.externalContext.sourcesContent[l]:w.readFileSync(a,"utf-8"),r.inlinedStylesheets.push(a),r.inline=r.externalContext.options.inline,r.externalContext.source=l,r.externalContext.sourcesContent[l]=o,r.externalContext.stats.originalSize+=o.length,h(o,r.externalContext,r,function(e){return e=_(e,t,n),r.outputTokens=r.outputTokens.concat(e),r.sourceTokens=r.sourceTokens.slice(1),g(r)});r.warnings.push('Skipping local @import of "'+e+'" as resource is not allowed.'),r.outputTokens=r.outputTokens.concat(r.sourceTokens.slice(0,1))}else r.errors.push('Ignoring local @import of "'+e+'" as resource is missing.');return r.sourceTokens=r.sourceTokens.slice(1),g(r)}function _(e,t,n){return t?[[F.NESTED_BLOCK,[[F.NESTED_BLOCK_SCOPE,"@media "+t,n]],e]]:e}var w=e("fs"),E=e("path"),A=e("./apply-source-maps"),x=e("./extract-import-url-and-media"),C=e("./is-allowed-resource"),k=e("./load-original-sources"),O=e("./normalize-path"),S=e("./rebase"),B=e("./rebase-local-map"),D=e("./rebase-remote-map"),T=e("./restore-import"),R=e("../tokenizer/tokenize"),F=e("../tokenizer/token"),L=e("../tokenizer/marker"),M=e("../utils/has-protocol"),U=e("../utils/is-import"),N=e("../utils/is-remote-resource"),P="uri:unknown";t.exports=function(e,t,n){return o(e,t,function(e){return A(e,t,function(){return k(t,function(){return n(e)})})})}}).call(this,{isBuffer:e("../../../is-buffer/index.js")},e("_process"))},{"../../../is-buffer/index.js":107,"../tokenizer/marker":83,"../tokenizer/token":84,"../tokenizer/tokenize":85,"../utils/has-protocol":88,"../utils/is-import":92,"../utils/is-remote-resource":93,"./apply-source-maps":69,"./extract-import-url-and-media":70,"./is-allowed-resource":72,"./load-original-sources":73,"./normalize-path":76,"./rebase":80,"./rebase-local-map":78,"./rebase-remote-map":79,"./restore-import":81,_process:113,fs:3,path:111}],78:[function(e,t,n){var r=e("path");t.exports=function(e,t,n){var o=r.resolve(""),i=r.resolve(o,t),a=r.dirname(i);return e.sources=e.sources.map(function(e){return r.relative(n,r.resolve(a,e))}),e}},{path:111}],79:[function(e,t,n){var r=e("path"),o=e("url");t.exports=function(e,t){var n=r.dirname(t);return e.sources=e.sources.map(function(e){return o.resolve(n,e)}),e}},{path:111,url:162}],80:[function(e,t,n){function r(e,t,n){var o,u,l;for(u=0,l=e.length;u<l;u++)switch((o=e[u])[0]){case f.AT_RULE:i(o,t,n);break;case f.AT_RULE_BLOCK:s(o[2],t,n);break;case f.COMMENT:a(o,n);break;case f.NESTED_BLOCK:r(o[2],t,n);break;case f.RULE:s(o[2],t,n)}return e}function o(e,t,n){var r,o,a;for(o=0,a=e.length;o<a;o++)switch((r=e[o])[0]){case f.AT_RULE:i(r,t,n)}return e}function i(e,t,n){if(p(e[1])){var r=u(e[1]),o=c(r[0],n),i=r[1];e[1]=l(o,i)}}function a(e,t){var n=h.exec(e[1]);n&&-1===n[1].indexOf("data:")&&(e[1]=e[1].replace(n[1],c(n[1],t,!0)))}function s(e,t,n){var r,o,i,a,s,u;for(i=0,a=e.length;i<a;i++)for(s=2,u=(r=e[i]).length;s<u;s++)o=r[s][1],t.isUrl(o)&&(r[s][1]=c(o,n))}var u=e("./extract-import-url-and-media"),l=e("./restore-import"),c=e("./rewrite-url"),f=e("../tokenizer/token"),p=e("../utils/is-import"),h=/^\/\*# sourceMappingURL=(\S+) \*\/$/;t.exports=function(e,t,n,i){return t?r(e,n,i):o(e,n,i)}},{"../tokenizer/token":84,"../utils/is-import":92,"./extract-import-url-and-media":70,"./restore-import":81,"./rewrite-url":82}],81:[function(e,t,n){t.exports=function(e,t){return("@import "+e+" "+t).trim()}},{}],82:[function(e,t,n){(function(n){function r(e,t){return t?o(e)&&!s(t.toBase)?e:s(e)||i(e)||a(e)?e:u(e)?"'"+e+"'":s(t.toBase)?g.resolve(t.toBase,e):f(t.absolute?l(e,t):c(e,t)):e}function o(e){return m.isAbsolute(e)}function i(e){return"#"==e[0]}function a(e){return/^\w+:\w+/.test(e)}function s(e){return/^[^:]+?:\/\//.test(e)||0===e.indexOf("//")}function u(e){return 0===e.indexOf("data:")}function l(e,t){return m.resolve(m.join(t.fromBase||"",e)).replace(t.toBase,"")}function c(e,t){return m.relative(t.toBase,m.join(t.fromBase||"",e))}function f(e){return O?e.replace(/\\/g,"/"):e}function p(e){return e.indexOf(b)>-1?v:e.indexOf(v)>-1?b:h(e)||d(e)?b:""}function h(e){return k.test(e)}function d(e){return A.test(e)}var m=e("path"),g=e("url"),v='"',b="'",y="url(",_=")",w=/^["']/,E=/["']$/,A=/[\(\)]/,x=/^url\(/i,C=/\)$/,k=/\s/,O="win32"==n.platform;t.exports=function(e,t,n){var o=e.replace(x,"").replace(C,"").trim(),i=o.replace(w,"").replace(E,"").trim(),a=o[0]==b||o[0]==v?o[0]:p(i);return n?r(i,t):y+a+r(i,t)+a+_}}).call(this,e("_process"))},{_process:113,path:111,url:162}],83:[function(e,t,n){var r={ASTERISK:"*",AT:"@",BACK_SLASH:"\\",CLOSE_CURLY_BRACKET:"}",CLOSE_ROUND_BRACKET:")",CLOSE_SQUARE_BRACKET:"]",COLON:":",COMMA:",",DOUBLE_QUOTE:'"',EXCLAMATION:"!",FORWARD_SLASH:"/",INTERNAL:"-clean-css-",NEW_LINE_NIX:"\n",NEW_LINE_WIN:"\r",OPEN_CURLY_BRACKET:"{",OPEN_ROUND_BRACKET:"(",OPEN_SQUARE_BRACKET:"[",SEMICOLON:";",SINGLE_QUOTE:"'",SPACE:" ",TAB:"\t",UNDERSCORE:"_"};t.exports=r},{}],84:[function(e,t,n){var r={AT_RULE:"at-rule",AT_RULE_BLOCK:"at-rule-block",AT_RULE_BLOCK_SCOPE:"at-rule-block-scope",COMMENT:"comment",NESTED_BLOCK:"nested-block",NESTED_BLOCK_SCOPE:"nested-block-scope",PROPERTY:"property",PROPERTY_BLOCK:"property-block",PROPERTY_NAME:"property-name",PROPERTY_VALUE:"property-value",RULE:"rule",RULE_SCOPE:"rule-scope"};t.exports=r},{}],85:[function(e,t,n){function r(e,t,n,h){for(var d,m,g,v,b,_,w,E,A,x,C,k,O,S=[],B=S,D=[],T=[],R=n.level,F=[],L=[],M=[],U=0,N=!1,P=!1,q=!1,z=!1,I=n.position;I.index<e.length;I.index++){var j=e[I.index];if(_=R==p.SINGLE_QUOTE||R==p.DOUBLE_QUOTE,w=j==l.SPACE||j==l.TAB,E=j==l.NEW_LINE_NIX,A=j==l.NEW_LINE_NIX&&e[I.index-1]==l.NEW_LINE_WIN,x=!P&&R!=p.COMMENT&&!_&&j==l.ASTERISK&&e[I.index-1]==l.FORWARD_SLASH,k=!N&&!_&&j==l.FORWARD_SLASH&&e[I.index-1]==l.ASTERISK,C=R==p.COMMENT&&k,v=0===L.length?[I.line,I.column,I.source]:v,O)L.push(j);else if(C||R!=p.COMMENT)if(x&&(R==p.BLOCK||R==p.RULE)&&L.length>1)T.push(v),L.push(j),M.push(L.slice(0,L.length-2)),L=L.slice(L.length-2),v=[I.line,I.column-1,I.source],F.push(R),R=p.COMMENT;else if(x)F.push(R),R=p.COMMENT,L.push(j);else if(C)b=L.join("").trim()+j,d=[c.COMMENT,b,[o(v,b,t)]],B.push(d),R=F.pop(),v=T.pop()||null,L=M.pop()||[];else if(k&&e[I.index+1]!=l.ASTERISK)t.warnings.push("Unexpected '*/' at "+f([I.line,I.column,I.source])+"."),L=[];else if(j!=l.SINGLE_QUOTE||_)if(j==l.SINGLE_QUOTE&&R==p.SINGLE_QUOTE)R=F.pop(),L.push(j);else if(j!=l.DOUBLE_QUOTE||_)if(j==l.DOUBLE_QUOTE&&R==p.DOUBLE_QUOTE)R=F.pop(),L.push(j);else if(!x&&!C&&j!=l.CLOSE_ROUND_BRACKET&&j!=l.OPEN_ROUND_BRACKET&&R!=p.COMMENT&&!_&&U>0)L.push(j);else if(j!=l.OPEN_ROUND_BRACKET||_||R==p.COMMENT||q)if(j!=l.CLOSE_ROUND_BRACKET||_||R==p.COMMENT||q)if(j==l.SEMICOLON&&R==p.BLOCK&&L[0]==l.AT)b=L.join("").trim(),S.push([c.AT_RULE,b,[o(v,b,t)]]),L=[];else if(j==l.COMMA&&R==p.BLOCK&&m)b=L.join("").trim(),m[1].push([a(m[0]),b,[o(v,b,t,m[1].length)]]),L=[];else if(j==l.COMMA&&R==p.BLOCK&&i(L)==c.AT_RULE)L.push(j);else if(j==l.COMMA&&R==p.BLOCK)m=[i(L),[],[]],b=L.join("").trim(),m[1].push([a(m[0]),b,[o(v,b,t,0)]]),L=[];else if(j==l.OPEN_CURLY_BRACKET&&R==p.BLOCK&&m&&m[0]==c.NESTED_BLOCK)b=L.join("").trim(),m[1].push([c.NESTED_BLOCK_SCOPE,b,[o(v,b,t)]]),S.push(m),F.push(R),I.column++,I.index++,L=[],m[2]=r(e,t,n,!0),m=null;else if(j==l.OPEN_CURLY_BRACKET&&R==p.BLOCK&&i(L)==c.NESTED_BLOCK)b=L.join("").trim(),(m=m||[c.NESTED_BLOCK,[],[]])[1].push([c.NESTED_BLOCK_SCOPE,b,[o(v,b,t)]]),S.push(m),F.push(R),I.column++,I.index++,L=[],m[2]=r(e,t,n,!0),m=null;else if(j==l.OPEN_CURLY_BRACKET&&R==p.BLOCK)b=L.join("").trim(),(m=m||[i(L),[],[]])[1].push([a(m[0]),b,[o(v,b,t,m[1].length)]]),B=m[2],S.push(m),F.push(R),R=p.RULE,L=[];else if(j==l.OPEN_CURLY_BRACKET&&R==p.RULE&&q)D.push(m),m=[c.PROPERTY_BLOCK,[]],g.push(m),B=m[1],F.push(R),R=p.RULE,q=!1;else if(j==l.OPEN_CURLY_BRACKET&&R==p.RULE&&s(L))b=L.join("").trim(),D.push(m),(m=[c.AT_RULE_BLOCK,[],[]])[1].push([c.AT_RULE_BLOCK_SCOPE,b,[o(v,b,t)]]),B.push(m),B=m[2],F.push(R),R=p.RULE,L=[];else if(j!=l.COLON||R!=p.RULE||q)if(j==l.SEMICOLON&&R==p.RULE&&g&&D.length>0&&L.length>0&&L[0]==l.AT)b=L.join("").trim(),m[1].push([c.AT_RULE,b,[o(v,b,t)]]),L=[];else if(j==l.SEMICOLON&&R==p.RULE&&g&&L.length>0)b=L.join("").trim(),g.push([c.PROPERTY_VALUE,b,[o(v,b,t)]]),g=null,q=!1,L=[];else if(j==l.SEMICOLON&&R==p.RULE&&g&&0===L.length)g=null,q=!1;else if(j==l.SEMICOLON&&R==p.RULE&&L.length>0&&L[0]==l.AT)b=L.join(""),B.push([c.AT_RULE,b,[o(v,b,t)]]),q=!1,L=[];else if(j==l.SEMICOLON&&R==p.RULE&&z)z=!1,L=[];else if(j==l.SEMICOLON&&R==p.RULE&&0===L.length);else if(j==l.CLOSE_CURLY_BRACKET&&R==p.RULE&&g&&q&&L.length>0&&D.length>0)b=L.join(""),g.push([c.PROPERTY_VALUE,b,[o(v,b,t)]]),g=null,B=(m=D.pop())[2],R=F.pop(),q=!1,L=[];else if(j==l.CLOSE_CURLY_BRACKET&&R==p.RULE&&g&&L.length>0&&L[0]==l.AT&&D.length>0)b=L.join(""),m[1].push([c.AT_RULE,b,[o(v,b,t)]]),g=null,B=(m=D.pop())[2],R=F.pop(),q=!1,L=[];else if(j==l.CLOSE_CURLY_BRACKET&&R==p.RULE&&g&&D.length>0)g=null,B=(m=D.pop())[2],R=F.pop(),q=!1;else if(j==l.CLOSE_CURLY_BRACKET&&R==p.RULE&&g&&L.length>0)b=L.join(""),g.push([c.PROPERTY_VALUE,b,[o(v,b,t)]]),g=null,m=D.pop(),B=S,R=F.pop(),q=!1,L=[];else if(j==l.CLOSE_CURLY_BRACKET&&R==p.RULE&&L.length>0&&L[0]==l.AT)g=null,m=null,b=L.join("").trim(),B.push([c.AT_RULE,b,[o(v,b,t)]]),B=S,R=F.pop(),q=!1,L=[];else if(j==l.CLOSE_CURLY_BRACKET&&R==p.RULE&&F[F.length-1]==p.RULE)g=null,B=(m=D.pop())[2],R=F.pop(),q=!1,z=!0,L=[];else if(j==l.CLOSE_CURLY_BRACKET&&R==p.RULE)g=null,m=null,B=S,R=F.pop(),q=!1;else if(j==l.CLOSE_CURLY_BRACKET&&R==p.BLOCK&&!h&&I.index<=e.length-1)t.warnings.push("Unexpected '}' at "+f([I.line,I.column,I.source])+"."),L.push(j);else{if(j==l.CLOSE_CURLY_BRACKET&&R==p.BLOCK)break;j==l.OPEN_ROUND_BRACKET&&R==p.RULE&&q?(L.push(j),U++):j==l.CLOSE_ROUND_BRACKET&&R==p.RULE&&q&&1==U?(L.push(j),b=L.join("").trim(),g.push([c.PROPERTY_VALUE,b,[o(v,b,t)]]),U--,L=[]):j==l.CLOSE_ROUND_BRACKET&&R==p.RULE&&q?(L.push(j),U--):j==l.FORWARD_SLASH&&e[I.index+1]!=l.ASTERISK&&R==p.RULE&&q&&L.length>0?(b=L.join("").trim(),g.push([c.PROPERTY_VALUE,b,[o(v,b,t)]]),g.push([c.PROPERTY_VALUE,j,[[I.line,I.column,I.source]]]),L=[]):j==l.FORWARD_SLASH&&e[I.index+1]!=l.ASTERISK&&R==p.RULE&&q?(g.push([c.PROPERTY_VALUE,j,[[I.line,I.column,I.source]]]),L=[]):j==l.COMMA&&R==p.RULE&&q&&L.length>0?(b=L.join("").trim(),g.push([c.PROPERTY_VALUE,b,[o(v,b,t)]]),g.push([c.PROPERTY_VALUE,j,[[I.line,I.column,I.source]]]),L=[]):j==l.COMMA&&R==p.RULE&&q?(g.push([c.PROPERTY_VALUE,j,[[I.line,I.column,I.source]]]),L=[]):j==l.CLOSE_SQUARE_BRACKET&&g&&g.length>1&&L.length>0&&u(L)?(L.push(j),b=L.join("").trim(),g[g.length-1][1]+=b,L=[]):(w||E&&!A)&&R==p.RULE&&q&&g&&L.length>0?(b=L.join("").trim(),g.push([c.PROPERTY_VALUE,b,[o(v,b,t)]]),L=[]):A&&R==p.RULE&&q&&g&&L.length>1?(b=L.join("").trim(),g.push([c.PROPERTY_VALUE,b,[o(v,b,t)]]),L=[]):A&&R==p.RULE&&q?L=[]:1==L.length&&A?L.pop():(L.length>0||!w&&!E&&!A)&&L.push(j)}else b=L.join("").trim(),g=[c.PROPERTY,[c.PROPERTY_NAME,b,[o(v,b,t)]]],B.push(g),q=!0,L=[];else L.push(j),U--;else L.push(j),U++;else F.push(R),R=p.DOUBLE_QUOTE,L.push(j);else F.push(R),R=p.SINGLE_QUOTE,L.push(j);else L.push(j);O=!O&&j==l.BACK_SLASH,N=x,P=C,I.line=A||E?I.line+1:I.line,I.column=A||E?0:I.column+1}return q&&t.warnings.push("Missing '}' at "+f([I.line,I.column,I.source])+"."),q&&L.length>0&&(b=L.join("").replace(y,""),g.push([c.PROPERTY_VALUE,b,[o(v,b,t)]]),L=[]),L.length>0&&t.warnings.push("Invalid character(s) '"+L.join("")+"' at "+f(v)+". Ignoring."),S}function o(e,t,n,r){var o=e[2];return n.inputSourceMapTracker.isTracking(o)?n.inputSourceMapTracker.originalPositionFor(e,t.length,r):e}function i(e){var t=e[0]==l.AT||e[0]==l.UNDERSCORE,n=e.join("").split(b)[0];return t&&d.indexOf(n)>-1?c.NESTED_BLOCK:t&&h.indexOf(n)>-1?c.AT_RULE:t?c.AT_RULE_BLOCK:c.RULE}function a(e){return e==c.RULE?c.RULE_SCOPE:e==c.NESTED_BLOCK?c.NESTED_BLOCK_SCOPE:e==c.AT_RULE_BLOCK?c.AT_RULE_BLOCK_SCOPE:void 0}function s(e){var t=e.join("").trim();return m.indexOf(t)>-1||g.indexOf(t)>-1}function u(e){return v.test(e.join("")+l.CLOSE_SQUARE_BRACKET)}var l=e("./marker"),c=e("./token"),f=e("../utils/format-position"),p={BLOCK:"block",COMMENT:"comment",DOUBLE_QUOTE:"double-quote",RULE:"rule",SINGLE_QUOTE:"single-quote"},h=["@charset","@import"],d=["@-moz-document","@document","@-moz-keyframes","@-ms-keyframes","@-o-keyframes","@-webkit-keyframes","@keyframes","@media","@supports"],m=["@bottom-center","@bottom-left","@bottom-left-corner","@bottom-right","@bottom-right-corner","@left-bottom","@left-middle","@left-top","@right-bottom","@right-middle","@right-top","@top-center","@top-left","@top-left-corner","@top-right","@top-right-corner"],g=["@footnote","@footnotes","@left","@page-float-bottom","@page-float-top","@right"],v=/^\[\s*\d+\s*\]$/,b=/[\s\(]/,y=/[\s|\}]*$/;t.exports=function(e,t){return r(e,t,{level:p.BLOCK,position:{source:t.source||void 0,line:1,column:0,index:0}},!1)}},{"../utils/format-position":87,"./marker":83,"./token":84}],86:[function(e,t,n){function r(e){for(var t=e.slice(0),n=0,o=t.length;n<o;n++)Array.isArray(t[n])&&(t[n]=r(t[n]));return t}t.exports=r},{}],87:[function(e,t,n){t.exports=function(e){var t=e[0],n=e[1],r=e[2];return r?r+":"+t+":"+n:t+":"+n}},{}],88:[function(e,t,n){var r=/^\/\//;t.exports=function(e){return!r.test(e)}},{}],89:[function(e,t,n){var r=/^data:(\S*?)?(;charset=[^;]+)?(;[^,]+?)?,(.+)/;t.exports=function(e){return r.test(e)}},{}],90:[function(e,t,n){var r=/^http:\/\//;t.exports=function(e){return r.test(e)}},{}],91:[function(e,t,n){var r=/^https:\/\//;t.exports=function(e){return r.test(e)}},{}],92:[function(e,t,n){var r=/^@import/i;t.exports=function(e){return r.test(e)}},{}],93:[function(e,t,n){var r=/^(\w+:\/\/|\/\/)/;t.exports=function(e){return r.test(e)}},{}],94:[function(e,t,n){function r(e){return""+parseInt(e)==e?parseInt(e):e}var o=/([0-9]+)/;t.exports=function(e,t){var n,i,a,s,u=(""+e).split(o).map(r),l=(""+t).split(o).map(r);for(a=0,s=Math.min(u.length,l.length);a<s;a++)if(n=u[a],i=l[a],n!=i)return n>i?1:-1;return u.length>l.length?1:u.length==l.length?0:-1}},{}],95:[function(e,t,n){function r(e,t){var n,o,i,a={};for(n in e)i=e[n],Array.isArray(i)?a[n]=i.slice(0):a[n]="object"==typeof i&&null!==i?r(i,{}):i;for(o in t)i=t[o],o in a&&Array.isArray(i)?a[o]=i.slice(0):a[o]=o in a&&"object"==typeof i&&null!==i?r(a[o],i):i;return a}t.exports=r},{}],96:[function(e,t,n){var r=e("../tokenizer/marker");t.exports=function(e,t){var n,o=r.OPEN_ROUND_BRACKET,i=r.CLOSE_ROUND_BRACKET,a=0,s=0,u=0,l=e.length,c=[];if(-1==e.indexOf(t))return[e];if(-1==e.indexOf(o))return e.split(t);for(;s<l;)e[s]==o?a++:e[s]==i&&a--,0===a&&s>0&&s+1<l&&e[s]==t&&(c.push(e.substring(u,s)),u=s+1),s++;return u<s+1&&((n=e.substring(u))[n.length-1]==t&&(n=n.substring(0,n.length-1)),c.push(n)),c}},{"../tokenizer/marker":83}],97:[function(e,t,n){function r(e){return"background"==e[1][1]||"transform"==e[1][1]||"src"==e[1][1]}function o(e,t){return e[t][1][e[t][1].length-1]==S.CLOSE_ROUND_BRACKET}function i(e,t){return e[t][1]==S.COMMA}function a(e,t){return e[t][1]==S.FORWARD_SLASH}function s(e,t){return e[t+1]&&e[t+1][1]==S.COMMA}function u(e,t){return e[t+1]&&e[t+1][1]==S.FORWARD_SLASH}function l(e){return"filter"==e[1][1]||"-ms-filter"==e[1][1]}function c(e,t,n){return!e.spaceAfterClosingBrace&&r(t)&&o(t,n)||u(t,n)||a(t,n)||s(t,n)||i(t,n)}function f(e,t){for(var n=e.store,r=0,o=t.length;r<o;r++)n(e,t[r]),r<o-1&&n(e,E(e))}function p(e,t){for(var n=h(t),r=0,o=t.length;r<o;r++)d(e,t,r,n)}function h(e){for(var t=e.length-1;t>=0&&e[t][0]==B.COMMENT;t--);return t}function d(e,t,n,r){var o=e.store,i=t[n],a=i[2][0]==B.PROPERTY_BLOCK,s=n<r||a,u=n===r;switch(i[0]){case B.AT_RULE:o(e,i),o(e,w(e,k.AfterProperty,!1));break;case B.AT_RULE_BLOCK:f(e,i[1]),o(e,b(e,k.AfterRuleBegins,!0)),p(e,i[2]),o(e,y(e,k.AfterRuleEnds,!1,u));break;case B.COMMENT:o(e,i);break;case B.PROPERTY:o(e,i[1]),o(e,_(e)),m(e,i),o(e,s?w(e,k.AfterProperty,u):C)}}function m(e,t){var n,r,o=e.store;if(t[2][0]==B.PROPERTY_BLOCK)o(e,b(e,k.AfterBlockBegins,!1)),p(e,t[2][1]),o(e,y(e,k.AfterBlockEnds,!1,!0));else for(n=2,r=t.length;n<r;n++)o(e,t[n]),n<r-1&&(l(t)||!c(e,t,n))&&o(e,S.SPACE)}function g(e,t){return e.format&&e.format.breaks[t]}function v(e,t){return e.format&&e.format.spaces[t]}function b(e,t,n){return e.format?(e.indentBy+=e.format.indentBy,e.indentWith=e.format.indentWith.repeat(e.indentBy),(n&&v(e,O.BeforeBlockBegins)?S.SPACE:C)+S.OPEN_CURLY_BRACKET+(g(e,t)?x:C)+e.indentWith):S.OPEN_CURLY_BRACKET}function y(e,t,n,r){return e.format?(e.indentBy-=e.format.indentBy,e.indentWith=e.format.indentWith.repeat(e.indentBy),(g(e,k.AfterProperty)||n&&g(e,k.BeforeBlockEnds)?x:C)+e.indentWith+S.CLOSE_CURLY_BRACKET+(r?C:(g(e,t)?x:C)+e.indentWith)):S.CLOSE_CURLY_BRACKET}function _(e){return e.format?S.COLON+(v(e,O.BeforeValue)?S.SPACE:C):S.COLON}function w(e,t,n){return e.format?S.SEMICOLON+(n||!g(e,t)?C:x+e.indentWith):S.SEMICOLON}function E(e){return e.format?S.COMMA+(g(e,k.BetweenSelectors)?x:C)+e.indentWith:S.COMMA}function A(e,t){var n,r,o,i,a=e.store;for(o=0,i=t.length;o<i;o++)switch(n=t[o],r=o==i-1,n[0]){case B.AT_RULE:a(e,n),a(e,w(e,k.AfterAtRule,r));break;case B.AT_RULE_BLOCK:f(e,n[1]),a(e,b(e,k.AfterRuleBegins,!0)),p(e,n[2]),a(e,y(e,k.AfterRuleEnds,!1,r));break;case B.NESTED_BLOCK:f(e,n[1]),a(e,b(e,k.AfterBlockBegins,!0)),A(e,n[2]),a(e,y(e,k.AfterBlockEnds,!0,r));break;case B.COMMENT:a(e,n),a(e,g(e,k.AfterComment)?x:C);break;case B.RULE:f(e,n[1]),a(e,b(e,k.AfterRuleBegins,!0)),p(e,n[2]),a(e,y(e,k.AfterRuleEnds,!1,r))}}var x=e("os").EOL,C="",k=e("../options/format").Breaks,O=e("../options/format").Spaces,S=e("../tokenizer/marker"),B=e("../tokenizer/token");t.exports={all:A,body:p,property:d,rules:f,value:m}},{"../options/format":61,"../tokenizer/marker":83,"../tokenizer/token":84,os:110}],98:[function(e,t,n){function r(e,t){e.output.push("string"==typeof t?t:t[1])}function o(){return{output:[],store:r}}var i=e("./helpers");t.exports={all:function(e){var t=o();return i.all(t,e),t.output.join("")},body:function(e){var t=o();return i.body(t,e),t.output.join("")},property:function(e,t){var n=o();return i.property(n,e,t,!0),n.output.join("")},rules:function(e){var t=o();return i.rules(t,e),t.output.join("")},value:function(e){var t=o();return i.value(t,e),t.output.join("")}}},{"./helpers":97}],99:[function(e,t,n){function r(e,t){var n="string"==typeof t?t:t[1];(0,e.wrap)(e,n),i(e,n),e.output.push(n)}function o(e,t){e.column+t.length>e.format.wrapAt&&(i(e,s),e.output.push(s))}function i(e,t){var n=t.split("\n");e.line+=n.length-1,e.column=n.length>1?0:e.column+n.pop().length}var a=e("./helpers").all,s=e("os").EOL;t.exports=function(e,t){var n={column:0,format:t.options.format,indentBy:0,indentWith:"",line:1,output:[],spaceAfterClosingBrace:t.options.compatibility.properties.spaceAfterClosingBrace,store:r,wrap:t.options.format.wrapAt?o:function(){}};return a(n,e),{styles:n.output.join("")}}},{"./helpers":97,os:110}],100:[function(e,t,n){(function(n){function r(e,t){var n="string"==typeof t,r=n?t:t[1],o=n?null:t[2];(0,e.wrap)(e,r),i(e,r,o),e.output.push(r)}function o(e,t){e.column+t.length>e.format.wrapAt&&(i(e,c,!1),e.output.push(c))}function i(e,t,n){var r=t.split("\n");n&&a(e,n),e.line+=r.length-1,e.column=r.length>1?0:e.column+r.pop().length}function a(e,t){for(var n=0,r=t.length;n<r;n++)s(e,t[n])}function s(e,t){var n=t[0],r=t[1],o=t[2],i=o,a=i||d;p&&i&&!f(i)&&(a=i.replace(h,m)),e.outputMap.addMapping({generated:{line:e.line,column:e.column},source:a,original:{line:n,column:r}}),e.inlineSources&&o in e.sourcesContent&&e.outputMap.setSourceContent(a,e.sourcesContent[o])}var u=e("source-map").SourceMapGenerator,l=e("./helpers").all,c=e("os").EOL,f=e("../utils/is-remote-resource"),p="win32"==n.platform,h=/\//g,d="$stdin",m="\\";t.exports=function(e,t){var n={column:0,format:t.options.format,indentBy:0,indentWith:"",inlineSources:t.options.sourceMapInlineSources,line:1,output:[],outputMap:new u,sourcesContent:t.sourcesContent,spaceAfterClosingBrace:t.options.compatibility.properties.spaceAfterClosingBrace,store:r,wrap:t.options.format.wrapAt?o:function(){}};return l(n,e),{sourceMap:n.outputMap,styles:n.output.join("")}}}).call(this,e("_process"))},{"../utils/is-remote-resource":93,"./helpers":97,_process:113,os:110,"source-map":155}],101:[function(e,t,n){(function(e){function t(e){return Object.prototype.toString.call(e)}n.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===t(e)},n.isBoolean=function(e){return"boolean"==typeof e},n.isNull=function(e){return null===e},n.isNullOrUndefined=function(e){return null==e},n.isNumber=function(e){return"number"==typeof e},n.isString=function(e){return"string"==typeof e},n.isSymbol=function(e){return"symbol"==typeof e},n.isUndefined=function(e){return void 0===e},n.isRegExp=function(e){return"[object RegExp]"===t(e)},n.isObject=function(e){return"object"==typeof e&&null!==e},n.isDate=function(e){return"[object Date]"===t(e)},n.isError=function(e){return"[object Error]"===t(e)||e instanceof Error},n.isFunction=function(e){return"function"==typeof e},n.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},n.isBuffer=e.isBuffer}).call(this,{isBuffer:e("../../is-buffer/index.js")})},{"../../is-buffer/index.js":107}],102:[function(e,t,n){function r(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function o(e){return"function"==typeof e}function i(e){return"number"==typeof e}function a(e){return"object"==typeof e&&null!==e}function s(e){return void 0===e}t.exports=r,r.EventEmitter=r,r.prototype._events=void 0,r.prototype._maxListeners=void 0,r.defaultMaxListeners=10,r.prototype.setMaxListeners=function(e){if(!i(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},r.prototype.emit=function(e){var t,n,r,i,u,l;if(this._events||(this._events={}),"error"===e&&(!this._events.error||a(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var c=new Error('Uncaught, unspecified "error" event. ('+t+")");throw c.context=t,c}if(n=this._events[e],s(n))return!1;if(o(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:i=Array.prototype.slice.call(arguments,1),n.apply(this,i)}else if(a(n))for(i=Array.prototype.slice.call(arguments,1),r=(l=n.slice()).length,u=0;u<r;u++)l[u].apply(this,i);return!0},r.prototype.addListener=function(e,t){var n;if(!o(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,o(t.listener)?t.listener:t),this._events[e]?a(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,a(this._events[e])&&!this._events[e].warned&&(n=s(this._maxListeners)?r.defaultMaxListeners:this._maxListeners)&&n>0&&this._events[e].length>n&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(e,t){function n(){this.removeListener(e,n),r||(r=!0,t.apply(this,arguments))}if(!o(t))throw TypeError("listener must be a function");var r=!1;return n.listener=t,this.on(e,n),this},r.prototype.removeListener=function(e,t){var n,r,i,s;if(!o(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(n=this._events[e],i=n.length,r=-1,n===t||o(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(a(n)){for(s=i;s-- >0;)if(n[s]===t||n[s].listener&&n[s].listener===t){r=s;break}if(r<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(r,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},r.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[e],o(n))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},r.prototype.listeners=function(e){return this._events&&this._events[e]?o(this._events[e])?[this._events[e]]:this._events[e].slice():[]},r.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(o(t))return 1;if(t)return t.length}return 0},r.listenerCount=function(e,t){return e.listenerCount(t)}},{}],103:[function(e,t,n){(function(e){!function(r){var o="object"==typeof n&&n,i="object"==typeof t&&t&&t.exports==o&&t,a="object"==typeof e&&e;a.global!==a&&a.window!==a||(r=a);var s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=/[\x01-\x7F]/g,l=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,c=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,f={"­":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr","ª":"ordf","á":"aacute","Á":"Aacute","à":"agrave","À":"Agrave","ă":"abreve","Ă":"Abreve","â":"acirc","Â":"Acirc","å":"aring","Å":"angst","ä":"auml","Ä":"Auml","ã":"atilde","Ã":"Atilde","ą":"aogon","Ą":"Aogon","ā":"amacr","Ā":"Amacr","æ":"aelig","Æ":"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf","ℬ":"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf","ℭ":"Cfr","𝒞":"Cscr","ℂ":"Copf","ć":"cacute","Ć":"Cacute","ĉ":"ccirc","Ĉ":"Ccirc","č":"ccaron","Č":"Ccaron","ċ":"cdot","Ċ":"Cdot","ç":"ccedil","Ç":"Ccedil","℅":"incare","𝔡":"dfr","ⅆ":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","ⅅ":"DD","𝔻":"Dopf","ď":"dcaron","Ď":"Dcaron","đ":"dstrok","Đ":"Dstrok","ð":"eth","Ð":"ETH","ⅇ":"ee","ℯ":"escr","𝔢":"efr","𝕖":"eopf","ℰ":"Escr","𝔈":"Efr","𝔼":"Eopf","é":"eacute","É":"Eacute","è":"egrave","È":"Egrave","ê":"ecirc","Ê":"Ecirc","ě":"ecaron","Ě":"Ecaron","ë":"euml","Ë":"Euml","ė":"edot","Ė":"Edot","ę":"eogon","Ę":"Eogon","ē":"emacr","Ē":"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf","ℱ":"Fscr","ff":"fflig","ffi":"ffilig","ffl":"ffllig","fi":"filig",fj:"fjlig","fl":"fllig","ƒ":"fnof","ℊ":"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr","ǵ":"gacute","ğ":"gbreve","Ğ":"Gbreve","ĝ":"gcirc","Ĝ":"Gcirc","ġ":"gdot","Ġ":"Gdot","Ģ":"Gcedil","𝔥":"hfr","ℎ":"planckh","𝒽":"hscr","𝕙":"hopf","ℋ":"Hscr","ℌ":"Hfr","ℍ":"Hopf","ĥ":"hcirc","Ĥ":"Hcirc","ℏ":"hbar","ħ":"hstrok","Ħ":"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","ⅈ":"ii","𝕀":"Iopf","ℐ":"Iscr","ℑ":"Im","í":"iacute","Í":"Iacute","ì":"igrave","Ì":"Igrave","î":"icirc","Î":"Icirc","ï":"iuml","Ï":"Iuml","ĩ":"itilde","Ĩ":"Itilde","İ":"Idot","į":"iogon","Į":"Iogon","ī":"imacr","Ī":"Imacr","ij":"ijlig","IJ":"IJlig","ı":"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf","ĵ":"jcirc","Ĵ":"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr","ķ":"kcedil","Ķ":"Kcedil","𝔩":"lfr","𝓁":"lscr","ℓ":"ell","𝕝":"lopf","ℒ":"Lscr","𝔏":"Lfr","𝕃":"Lopf","ĺ":"lacute","Ĺ":"Lacute","ľ":"lcaron","Ľ":"Lcaron","ļ":"lcedil","Ļ":"Lcedil","ł":"lstrok","Ł":"Lstrok","ŀ":"lmidot","Ŀ":"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf","ℳ":"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr","ℕ":"Nopf","𝒩":"Nscr","𝔑":"Nfr","ń":"nacute","Ń":"Nacute","ň":"ncaron","Ň":"Ncaron","ñ":"ntilde","Ñ":"Ntilde","ņ":"ncedil","Ņ":"Ncedil","№":"numero","ŋ":"eng","Ŋ":"ENG","𝕠":"oopf","𝔬":"ofr","ℴ":"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf","º":"ordm","ó":"oacute","Ó":"Oacute","ò":"ograve","Ò":"Ograve","ô":"ocirc","Ô":"Ocirc","ö":"ouml","Ö":"Ouml","ő":"odblac","Ő":"Odblac","õ":"otilde","Õ":"Otilde","ø":"oslash","Ø":"Oslash","ō":"omacr","Ō":"Omacr","œ":"oelig","Œ":"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf","ℙ":"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr","ℚ":"Qopf","ĸ":"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr","ℛ":"Rscr","ℜ":"Re","ℝ":"Ropf","ŕ":"racute","Ŕ":"Racute","ř":"rcaron","Ř":"Rcaron","ŗ":"rcedil","Ŗ":"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS","ś":"sacute","Ś":"Sacute","ŝ":"scirc","Ŝ":"Scirc","š":"scaron","Š":"Scaron","ş":"scedil","Ş":"Scedil","ß":"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf","ť":"tcaron","Ť":"Tcaron","ţ":"tcedil","Ţ":"Tcedil","™":"trade","ŧ":"tstrok","Ŧ":"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr","ú":"uacute","Ú":"Uacute","ù":"ugrave","Ù":"Ugrave","ŭ":"ubreve","Ŭ":"Ubreve","û":"ucirc","Û":"Ucirc","ů":"uring","Ů":"Uring","ü":"uuml","Ü":"Uuml","ű":"udblac","Ű":"Udblac","ũ":"utilde","Ũ":"Utilde","ų":"uogon","Ų":"Uogon","ū":"umacr","Ū":"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr","ŵ":"wcirc","Ŵ":"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf","ý":"yacute","Ý":"Yacute","ŷ":"ycirc","Ŷ":"Ycirc","ÿ":"yuml","Ÿ":"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf","ℨ":"Zfr","ℤ":"Zopf","𝒵":"Zscr","ź":"zacute","Ź":"Zacute","ž":"zcaron","Ž":"Zcaron","ż":"zdot","Ż":"Zdot","Ƶ":"imped","þ":"thorn","Þ":"THORN","ʼn":"napos","α":"alpha","Α":"Alpha","β":"beta","Β":"Beta","γ":"gamma","Γ":"Gamma","δ":"delta","Δ":"Delta","ε":"epsi","ϵ":"epsiv","Ε":"Epsilon","ϝ":"gammad","Ϝ":"Gammad","ζ":"zeta","Ζ":"Zeta","η":"eta","Η":"Eta","θ":"theta","ϑ":"thetav","Θ":"Theta","ι":"iota","Ι":"Iota","κ":"kappa","ϰ":"kappav","Κ":"Kappa","λ":"lambda","Λ":"Lambda","μ":"mu","µ":"micro","Μ":"Mu","ν":"nu","Ν":"Nu","ξ":"xi","Ξ":"Xi","ο":"omicron","Ο":"Omicron","π":"pi","ϖ":"piv","Π":"Pi","ρ":"rho","ϱ":"rhov","Ρ":"Rho","σ":"sigma","Σ":"Sigma","ς":"sigmaf","τ":"tau","Τ":"Tau","υ":"upsi","Υ":"Upsilon","ϒ":"Upsi","φ":"phi","ϕ":"phiv","Φ":"Phi","χ":"chi","Χ":"Chi","ψ":"psi","Ψ":"Psi","ω":"omega","Ω":"ohm","а":"acy","А":"Acy","б":"bcy","Б":"Bcy","в":"vcy","В":"Vcy","г":"gcy","Г":"Gcy","ѓ":"gjcy","Ѓ":"GJcy","д":"dcy","Д":"Dcy","ђ":"djcy","Ђ":"DJcy","е":"iecy","Е":"IEcy","ё":"iocy","Ё":"IOcy","є":"jukcy","Є":"Jukcy","ж":"zhcy","Ж":"ZHcy","з":"zcy","З":"Zcy","ѕ":"dscy","Ѕ":"DScy","и":"icy","И":"Icy","і":"iukcy","І":"Iukcy","ї":"yicy","Ї":"YIcy","й":"jcy","Й":"Jcy","ј":"jsercy","Ј":"Jsercy","к":"kcy","К":"Kcy","ќ":"kjcy","Ќ":"KJcy","л":"lcy","Л":"Lcy","љ":"ljcy","Љ":"LJcy","м":"mcy","М":"Mcy","н":"ncy","Н":"Ncy","њ":"njcy","Њ":"NJcy","о":"ocy","О":"Ocy","п":"pcy","П":"Pcy","р":"rcy","Р":"Rcy","с":"scy","С":"Scy","т":"tcy","Т":"Tcy","ћ":"tshcy","Ћ":"TSHcy","у":"ucy","У":"Ucy","ў":"ubrcy","Ў":"Ubrcy","ф":"fcy","Ф":"Fcy","х":"khcy","Х":"KHcy","ц":"tscy","Ц":"TScy","ч":"chcy","Ч":"CHcy","џ":"dzcy","Џ":"DZcy","ш":"shcy","Ш":"SHcy","щ":"shchcy","Щ":"SHCHcy","ъ":"hardcy","Ъ":"HARDcy","ы":"ycy","Ы":"Ycy","ь":"softcy","Ь":"SOFTcy","э":"ecy","Э":"Ecy","ю":"yucy","Ю":"YUcy","я":"yacy","Я":"YAcy","ℵ":"aleph","ℶ":"beth","ℷ":"gimel","ℸ":"daleth"},p=/["&'<>`]/g,h={'"':"&quot;","&":"&amp;","'":"&#x27;","<":"&lt;",">":"&gt;","`":"&#x60;"},d=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,m=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,g=/&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)([=a-zA-Z0-9])?/g,v={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"⁡",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"⁣",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"​",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"‍",zwnj:"‌"},b={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},y={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},_=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],w=String.fromCharCode,E={}.hasOwnProperty,A=function(e,t){return E.call(e,t)},x=function(e,t){for(var n=-1,r=e.length;++n<r;)if(e[n]==t)return!0;return!1},C=function(e,t){if(!e)return t;var n,r={};for(n in t)r[n]=A(e,n)?e[n]:t[n];return r},k=function(e,t){var n="";return e>=55296&&e<=57343||e>1114111?(t&&B("character reference outside the permissible Unicode range"),"�"):A(y,e)?(t&&B("disallowed character reference"),y[e]):(t&&x(_,e)&&B("disallowed character reference"),e>65535&&(n+=w((e-=65536)>>>10&1023|55296),e=56320|1023&e),n+=w(e))},O=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},S=function(e){return"&#"+e+";"},B=function(e){throw Error("Parse error: "+e)},D=function(e,t){(t=C(t,D.options)).strict&&m.test(e)&&B("forbidden code point");var n=t.encodeEverything,r=t.useNamedReferences,o=t.allowUnsafeSymbols,i=t.decimal?S:O,a=function(e){return i(e.charCodeAt(0))};return n?(e=e.replace(u,function(e){return r&&A(f,e)?"&"+f[e]+";":a(e)}),r&&(e=e.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;").replace(/&#x66;&#x6A;/g,"&fjlig;")),r&&(e=e.replace(c,function(e){return"&"+f[e]+";"}))):r?(o||(e=e.replace(p,function(e){return"&"+f[e]+";"})),e=(e=e.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;")).replace(c,function(e){return"&"+f[e]+";"})):o||(e=e.replace(p,a)),e.replace(s,function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return i(1024*(t-55296)+n-56320+65536)}).replace(l,a)};D.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var T=function(e,t){var n=(t=C(t,T.options)).strict;return n&&d.test(e)&&B("malformed character reference"),e.replace(g,function(e,r,o,i,a,s,u,l){var c,f,p,h,d,m;return r?(p=r,f=o,n&&!f&&B("character reference was not terminated by a semicolon"),c=parseInt(p,10),k(c,n)):i?(h=i,f=a,n&&!f&&B("character reference was not terminated by a semicolon"),c=parseInt(h,16),k(c,n)):s?(d=s,A(v,d)?v[d]:(n&&B("named character reference was not terminated by a semicolon"),e)):(d=u,(m=l)&&t.isAttributeValue?(n&&"="==m&&B("`&` did not start a character reference"),e):(n&&B("named character reference was not terminated by a semicolon"),b[d]+(m||"")))})};T.options={isAttributeValue:!1,strict:!1};var R={version:"1.1.1",encode:D,decode:T,escape:function(e){return e.replace(p,function(e){return h[e]})},unescape:T};if("function"==typeof define&&"object"==typeof define.amd&&define.amd)define(function(){return R});else if(o&&!o.nodeType)if(i)i.exports=R;else for(var F in R)A(R,F)&&(o[F]=R[F]);else r.he=R}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],104:[function(e,t,n){function r(e){if("string"==typeof e&&(e=i.parse(e)),e.protocol||(e.protocol="https:"),"https:"!==e.protocol)throw new Error('Protocol "'+e.protocol+'" not supported. Expected "https:"');return e}var o=e("http"),i=e("url"),a=t.exports;for(var s in o)o.hasOwnProperty(s)&&(a[s]=o[s]);a.request=function(e,t){return e=r(e),o.request.call(this,e,t)},a.get=function(e,t){return e=r(e),o.get.call(this,e,t)}},{http:156,url:162}],105:[function(e,t,n){n.read=function(e,t,n,r,o){var i,a,s=8*o-r-1,u=(1<<s)-1,l=u>>1,c=-7,f=n?o-1:0,p=n?-1:1,h=e[t+f];for(f+=p,i=h&(1<<-c)-1,h>>=-c,c+=s;c>0;i=256*i+e[t+f],f+=p,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=p,c-=8);if(0===i)i=1-l;else{if(i===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),i-=l}return(h?-1:1)*a*Math.pow(2,i-r)},n.write=function(e,t,n,r,o,i){var a,s,u,l=8*i-o-1,c=(1<<l)-1,f=c>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-1,d=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?p/u:p*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*u-1)*Math.pow(2,o),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[n+h]=255&s,h+=d,s/=256,o-=8);for(a=a<<o|s,l+=o;l>0;e[n+h]=255&a,h+=d,a/=256,l-=8);e[n+h-d]|=128*m}},{}],106:[function(e,t,n){"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},{}],107:[function(e,t,n){function r(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function o(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&r(e.slice(0,0))}t.exports=function(e){return null!=e&&(r(e)||o(e)||!!e._isBuffer)}},{}],108:[function(e,t,n){var r={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},{}],109:[function(e,t,n){"use strict";function r(e){return e.source.slice(1,-1)}var o=e("xml-char-classes");t.exports=new RegExp("^["+r(o.letter)+"_]["+r(o.letter)+r(o.digit)+"\\.\\-_"+r(o.combiningChar)+r(o.extender)+"]*$")},{"xml-char-classes":165}],110:[function(e,t,n){n.endianness=function(){return"LE"},n.hostname=function(){return"undefined"!=typeof location?location.hostname:""},n.loadavg=function(){return[]},n.uptime=function(){return 0},n.freemem=function(){return Number.MAX_VALUE},n.totalmem=function(){return Number.MAX_VALUE},n.cpus=function(){return[]},n.type=function(){return"Browser"},n.release=function(){return"undefined"!=typeof navigator?navigator.appVersion:""},n.networkInterfaces=n.getNetworkInterfaces=function(){return{}},n.arch=function(){return"javascript"},n.platform=function(){return"browser"},n.tmpdir=n.tmpDir=function(){return"/tmp"},n.EOL="\n"},{}],111:[function(e,t,n){(function(e){function t(e,t){for(var n=0,r=e.length-1;r>=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}var o=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,i=function(e){return o.exec(e).slice(1)};n.resolve=function(){for(var n="",o=!1,i=arguments.length-1;i>=-1&&!o;i--){var a=i>=0?arguments[i]:e.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(n=a+"/"+n,o="/"===a.charAt(0))}return n=t(r(n.split("/"),function(e){return!!e}),!o).join("/"),(o?"/":"")+n||"."},n.normalize=function(e){var o=n.isAbsolute(e),i="/"===a(e,-1);return(e=t(r(e.split("/"),function(e){return!!e}),!o).join("/"))||o||(e="."),e&&i&&(e+="/"),(o?"/":"")+e},n.isAbsolute=function(e){return"/"===e.charAt(0)},n.join=function(){var e=Array.prototype.slice.call(arguments,0);return n.normalize(r(e,function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},n.relative=function(e,t){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-1;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=n.resolve(e).substr(1),t=n.resolve(t).substr(1);for(var o=r(e.split("/")),i=r(t.split("/")),a=Math.min(o.length,i.length),s=a,u=0;u<a;u++)if(o[u]!==i[u]){s=u;break}for(var l=[],u=s;u<o.length;u++)l.push("..");return(l=l.concat(i.slice(s))).join("/")},n.sep="/",n.delimiter=":",n.dirname=function(e){var t=i(e),n=t[0],r=t[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},n.basename=function(e,t){var n=i(e)[2];return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},n.extname=function(e){return i(e)[3]};var a="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,e("_process"))},{_process:113}],112:[function(e,t,n){(function(e){"use strict";!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?t.exports=function(t,n,r,o){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var i,a,s=arguments.length;switch(s){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick(function(){t.call(null,n)});case 3:return e.nextTick(function(){t.call(null,n,r)});case 4:return e.nextTick(function(){t.call(null,n,r,o)});default:for(i=new Array(s-1),a=0;a<i.length;)i[a++]=arguments[a];return e.nextTick(function(){t.apply(null,i)})}}:t.exports=e.nextTick}).call(this,e("_process"))},{_process:113}],113:[function(e,t,n){function r(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function i(e){if(f===setTimeout)return setTimeout(e,0);if((f===r||!f)&&setTimeout)return f=setTimeout,setTimeout(e,0);try{return f(e,0)}catch(t){try{return f.call(null,e,0)}catch(t){return f.call(this,e,0)}}}function a(e){if(p===clearTimeout)return clearTimeout(e);if((p===o||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(e);try{return p(e)}catch(t){try{return p.call(null,e)}catch(t){return p.call(this,e)}}}function s(){g&&d&&(g=!1,d.length?m=d.concat(m):v=-1,m.length&&u())}function u(){if(!g){var e=i(s);g=!0;for(var t=m.length;t;){for(d=m,m=[];++v<t;)d&&d[v].run();v=-1,t=m.length}d=null,g=!1,a(e)}}function l(e,t){this.fun=e,this.array=t}function c(){}var f,p,h=t.exports={};!function(){try{f="function"==typeof setTimeout?setTimeout:r}catch(e){f=r}try{p="function"==typeof clearTimeout?clearTimeout:o}catch(e){p=o}}();var d,m=[],g=!1,v=-1;h.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];m.push(new l(e,t)),1!==m.length||g||i(u)},l.prototype.run=function(){this.fun.apply(null,this.array)},h.title="browser",h.browser=!0,h.env={},h.argv=[],h.version="",h.versions={},h.on=c,h.addListener=c,h.once=c,h.off=c,h.removeListener=c,h.removeAllListeners=c,h.emit=c,h.prependListener=c,h.prependOnceListener=c,h.listeners=function(e){return[]},h.binding=function(e){throw new Error("process.binding is not supported")},h.cwd=function(){return"/"},h.chdir=function(e){throw new Error("process.chdir is not supported")},h.umask=function(){return 0}},{}],114:[function(e,t,n){(function(e){!function(r){function o(e){throw new RangeError(T[e])}function i(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function a(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+i((e=e.replace(D,".")).split("."),t).join(".")}function s(e){for(var t,n,r=[],o=0,i=e.length;o<i;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<i?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function u(e){return i(e,function(e){var t="";return e>65535&&(t+=L((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=L(e)}).join("")}function l(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:_}function c(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function f(e,t,n){var r=0;for(e=n?F(e/x):e>>1,e+=F(e/t);e>R*E>>1;r+=_)e=F(e/R);return F(r+(R+1)*e/(e+A))}function p(e){var t,n,r,i,a,s,c,p,h,d,m=[],g=e.length,v=0,b=k,A=C;for((n=e.lastIndexOf(O))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&o("not-basic"),m.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<g;){for(a=v,s=1,c=_;i>=g&&o("invalid-input"),((p=l(e.charCodeAt(i++)))>=_||p>F((y-v)/s))&&o("overflow"),v+=p*s,h=c<=A?w:c>=A+E?E:c-A,!(p<h);c+=_)s>F(y/(d=_-h))&&o("overflow"),s*=d;A=f(v-a,t=m.length+1,0==a),F(v/t)>y-b&&o("overflow"),b+=F(v/t),v%=t,m.splice(v++,0,b)}return u(m)}function h(e){var t,n,r,i,a,u,l,p,h,d,m,g,v,b,A,x=[];for(g=(e=s(e)).length,t=k,n=0,a=C,u=0;u<g;++u)(m=e[u])<128&&x.push(L(m));for(r=i=x.length,i&&x.push(O);r<g;){for(l=y,u=0;u<g;++u)(m=e[u])>=t&&m<l&&(l=m);for(l-t>F((y-n)/(v=r+1))&&o("overflow"),n+=(l-t)*v,t=l,u=0;u<g;++u)if((m=e[u])<t&&++n>y&&o("overflow"),m==t){for(p=n,h=_;d=h<=a?w:h>=a+E?E:h-a,!(p<d);h+=_)A=p-d,b=_-d,x.push(L(c(d+A%b,0))),p=F(A/b);x.push(L(c(p,0))),a=f(n,v,r==i),n=0,++r}++n,++t}return x.join("")}var d="object"==typeof n&&n&&!n.nodeType&&n,m="object"==typeof t&&t&&!t.nodeType&&t,g="object"==typeof e&&e;g.global!==g&&g.window!==g&&g.self!==g||(r=g);var v,b,y=2147483647,_=36,w=1,E=26,A=38,x=700,C=72,k=128,O="-",S=/^xn--/,B=/[^\x20-\x7E]/,D=/[\x2E\u3002\uFF0E\uFF61]/g,T={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},R=_-w,F=Math.floor,L=String.fromCharCode;if(v={version:"1.4.1",ucs2:{decode:s,encode:u},decode:p,encode:h,toASCII:function(e){return a(e,function(e){return B.test(e)?"xn--"+h(e):e})},toUnicode:function(e){return a(e,function(e){return S.test(e)?p(e.slice(4).toLowerCase()):e})}},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return v});else if(d&&m)if(t.exports==d)m.exports=v;else for(b in v)v.hasOwnProperty(b)&&(d[b]=v[b]);else r.punycode=v}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],115:[function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.exports=function(e,t,n,i){t=t||"&",n=n||"=";var a={};if("string"!=typeof e||0===e.length)return a;var s=/\+/g;e=e.split(t);var u=1e3;i&&"number"==typeof i.maxKeys&&(u=i.maxKeys);var l=e.length;u>0&&l>u&&(l=u);for(var c=0;c<l;++c){var f,p,h,d,m=e[c].replace(s,"%20"),g=m.indexOf(n);g>=0?(f=m.substr(0,g),p=m.substr(g+1)):(f=m,p=""),h=decodeURIComponent(f),d=decodeURIComponent(p),r(a,h)?o(a[h])?a[h].push(d):a[h]=[a[h],d]:a[h]=d}return a};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],116:[function(e,t,n){"use strict";function r(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var o=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};t.exports=function(e,t,n,s){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?r(a(e),function(a){var s=encodeURIComponent(o(a))+n;return i(e[a])?r(e[a],function(e){return s+encodeURIComponent(o(e))}).join(t):s+encodeURIComponent(o(e[a]))}).join(t):s?encodeURIComponent(o(s))+n+encodeURIComponent(o(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},a=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},{}],117:[function(e,t,n){"use strict";n.decode=n.parse=e("./decode"),n.encode=n.stringify=e("./encode")},{"./decode":115,"./encode":116}],118:[function(e,t,n){"use strict";function r(e){if(!(this instanceof r))return new r(e);l.call(this,e),c.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",o)}function o(){this.allowHalfOpen||this._writableState.ended||a(i,this)}function i(e){e.end()}var a=e("process-nextick-args"),s=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};t.exports=r;var u=e("core-util-is");u.inherits=e("inherits");var l=e("./_stream_readable"),c=e("./_stream_writable");u.inherits(r,l);for(var f=s(c.prototype),p=0;p<f.length;p++){var h=f[p];r.prototype[h]||(r.prototype[h]=c.prototype[h])}Object.defineProperty(r.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),r.prototype._destroy=function(e,t){this.push(null),this.end(),a(t,e)}},{"./_stream_readable":120,"./_stream_writable":122,"core-util-is":101,inherits:106,"process-nextick-args":112}],119:[function(e,t,n){"use strict";function r(e){if(!(this instanceof r))return new r(e);o.call(this,e)}t.exports=r;var o=e("./_stream_transform"),i=e("core-util-is");i.inherits=e("inherits"),i.inherits(r,o),r.prototype._transform=function(e,t,n){n(null,e)}},{"./_stream_transform":121,"core-util-is":101,inherits:106}],120:[function(e,t,n){(function(n,r){"use strict";function o(e){return N.from(e)}function i(e){return N.isBuffer(e)||e instanceof P}function a(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?L(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}function s(t,n){F=F||e("./_stream_duplex"),t=t||{},this.objectMode=!!t.objectMode,n instanceof F&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var r=t.highWaterMark,o=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:o,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new V,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(j||(j=e("string_decoder/").StringDecoder),this.decoder=new j(t.encoding),this.encoding=t.encoding)}function u(t){if(F=F||e("./_stream_duplex"),!(this instanceof u))return new u(t);this._readableState=new s(t,this),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),U.call(this)}function l(e,t,n,r,i){var a=e._readableState;if(null===t)a.reading=!1,m(e,a);else{var s;i||(s=f(a,t)),s?e.emit("error",s):a.objectMode||t&&t.length>0?("string"==typeof t||a.objectMode||Object.getPrototypeOf(t)===N.prototype||(t=o(t)),r?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):c(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?c(e,a,t,!1):b(e,a)):c(e,a,t,!1))):r||(a.reading=!1)}return p(a)}function c(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&g(e)),b(e,t)}function f(e,t){var n;return i(t)||"string"==typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}function p(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}function h(e){return e>=K?e=K:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function d(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=h(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function m(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,g(e)}}function g(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(I("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?R(v,e):v(e))}function v(e){I("emit readable"),e.emit("readable"),x(e)}function b(e,t){t.readingMore||(t.readingMore=!0,R(y,e,t))}function y(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(I("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function _(e){return function(){var t=e._readableState;I("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&M(e,"data")&&(t.flowing=!0,x(e))}}function w(e){I("readable nexttick read 0"),e.read(0)}function E(e,t){t.resumeScheduled||(t.resumeScheduled=!0,R(A,e,t))}function A(e,t){t.reading||(I("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),x(e),t.flowing&&!t.reading&&e.read(0)}function x(e){var t=e._readableState;for(I("flow",t.flowing);t.flowing&&null!==e.read(););}function C(e,t){if(0===t.length)return null;var n;return t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=k(e,t.buffer,t.decoder),n}function k(e,t,n){var r;return e<t.head.data.length?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):r=e===t.head.data.length?t.shift():n?O(e,t):S(e,t),r}function O(e,t){var n=t.head,r=1,o=n.data;for(e-=o.length;n=n.next;){var i=n.data,a=e>i.length?i.length:e;if(a===i.length?o+=i:o+=i.slice(0,e),0===(e-=a)){a===i.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=i.slice(a));break}++r}return t.length-=r,o}function S(e,t){var n=N.allocUnsafe(e),r=t.head,o=1;for(r.data.copy(n),e-=r.data.length;r=r.next;){var i=r.data,a=e>i.length?i.length:e;if(i.copy(n,n.length-e,0,a),0===(e-=a)){a===i.length?(++o,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=i.slice(a));break}++o}return t.length-=o,n}function B(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,R(D,t,e))}function D(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function T(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}var R=e("process-nextick-args");t.exports=u;var F,L=e("isarray");u.ReadableState=s;e("events").EventEmitter;var M=function(e,t){return e.listeners(t).length},U=e("./internal/streams/stream"),N=e("safe-buffer").Buffer,P=r.Uint8Array||function(){},q=e("core-util-is");q.inherits=e("inherits");var z=e("util"),I=void 0;I=z&&z.debuglog?z.debuglog("stream"):function(){};var j,V=e("./internal/streams/BufferList"),$=e("./internal/streams/destroy");q.inherits(u,U);var H=["error","close","destroy","pause","resume"];Object.defineProperty(u.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),u.prototype.destroy=$.destroy,u.prototype._undestroy=$.undestroy,u.prototype._destroy=function(e,t){this.push(null),t(e)},u.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=N.from(e,t),t=""),n=!0),l(this,e,t,!1,n)},u.prototype.unshift=function(e){return l(this,e,null,!0,!1)},u.prototype.isPaused=function(){return!1===this._readableState.flowing},u.prototype.setEncoding=function(t){return j||(j=e("string_decoder/").StringDecoder),this._readableState.decoder=new j(t),this._readableState.encoding=t,this};var K=8388608;u.prototype.read=function(e){I("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return I("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?B(this):g(this),null;if(0===(e=d(e,t))&&t.ended)return 0===t.length&&B(this),null;var r=t.needReadable;I("need readable",r),(0===t.length||t.length-e<t.highWaterMark)&&I("length less than watermark",r=!0),t.ended||t.reading?I("reading or ended",r=!1):r&&(I("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=d(n,t)));var o;return null===(o=e>0?C(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&B(this)),null!==o&&this.emit("data",o),o},u.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},u.prototype.pipe=function(e,t){function r(e,t){I("onunpipe"),e===p&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,i())}function o(){I("onend"),e.end()}function i(){I("cleanup"),e.removeListener("close",l),e.removeListener("finish",c),e.removeListener("drain",m),e.removeListener("error",u),e.removeListener("unpipe",r),p.removeListener("end",o),p.removeListener("end",f),p.removeListener("data",s),g=!0,!h.awaitDrain||e._writableState&&!e._writableState.needDrain||m()}function s(t){I("ondata"),v=!1,!1!==e.write(t)||v||((1===h.pipesCount&&h.pipes===e||h.pipesCount>1&&-1!==T(h.pipes,e))&&!g&&(I("false write response, pause",p._readableState.awaitDrain),p._readableState.awaitDrain++,v=!0),p.pause())}function u(t){I("onerror",t),f(),e.removeListener("error",u),0===M(e,"error")&&e.emit("error",t)}function l(){e.removeListener("finish",c),f()}function c(){I("onfinish"),e.removeListener("close",l),f()}function f(){I("unpipe"),p.unpipe(e)}var p=this,h=this._readableState;switch(h.pipesCount){case 0:h.pipes=e;break;case 1:h.pipes=[h.pipes,e];break;default:h.pipes.push(e)}h.pipesCount+=1,I("pipe count=%d opts=%j",h.pipesCount,t);var d=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?o:f;h.endEmitted?R(d):p.once("end",d),e.on("unpipe",r);var m=_(p);e.on("drain",m);var g=!1,v=!1;return p.on("data",s),a(e,"error",u),e.once("close",l),e.once("finish",c),e.emit("pipe",p),h.flowing||(I("pipe resume"),p.resume()),e},u.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n),this);if(!e){var r=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i<o;i++)r[i].emit("unpipe",this,n);return this}var a=T(t.pipes,e);return-1===a?this:(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n),this)},u.prototype.on=function(e,t){var n=U.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&g(this):R(w,this))}return n},u.prototype.addListener=u.prototype.on,u.prototype.resume=function(){var e=this._readableState;return e.flowing||(I("resume"),e.flowing=!0,E(this,e)),this},u.prototype.pause=function(){return I("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(I("pause"),this._readableState.flowing=!1,this.emit("pause")),this},u.prototype.wrap=function(e){var t=this._readableState,n=!1,r=this;e.on("end",function(){if(I("wrapped end"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&r.push(e)}r.push(null)}),e.on("data",function(o){I("wrapped data"),t.decoder&&(o=t.decoder.write(o)),(!t.objectMode||null!==o&&void 0!==o)&&(t.objectMode||o&&o.length)&&(r.push(o)||(n=!0,e.pause()))});for(var o in e)void 0===this[o]&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var i=0;i<H.length;i++)e.on(H[i],r.emit.bind(r,H[i]));return r._read=function(t){I("wrapped _read",t),n&&(n=!1,e.resume())},r},u._fromList=C}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./_stream_duplex":118,"./internal/streams/BufferList":123,"./internal/streams/destroy":124,"./internal/streams/stream":125,_process:113,"core-util-is":101,events:102,inherits:106,isarray:108,"process-nextick-args":112,"safe-buffer":144,"string_decoder/":160,util:2}],121:[function(e,t,n){"use strict";function r(e){this.afterTransform=function(t,n){return o(e,t,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function o(e,t,n){var r=e._transformState;r.transforming=!1;var o=r.writecb;if(!o)return e.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!==n&&void 0!==n&&e.push(n),o(t);var i=e._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&e._read(i.highWaterMark)}function i(e){if(!(this instanceof i))return new i(e);s.call(this,e),this._transformState=new r(this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.once("prefinish",function(){"function"==typeof this._flush?this._flush(function(e,n){a(t,e,n)}):a(t)})}function a(e,t,n){if(t)return e.emit("error",t);null!==n&&void 0!==n&&e.push(n);var r=e._writableState,o=e._transformState;if(r.length)throw new Error("Calling transform done when ws.length != 0");if(o.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}t.exports=i;var s=e("./_stream_duplex"),u=e("core-util-is");u.inherits=e("inherits"),u.inherits(i,s),i.prototype.push=function(e,t){return this._transformState.needTransform=!1,s.prototype.push.call(this,e,t)},i.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")},i.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var o=this._readableState;(r.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},i.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},i.prototype._destroy=function(e,t){var n=this;s.prototype._destroy.call(this,e,function(e){t(e),n.emit("close")})}},{"./_stream_duplex":118,"core-util-is":101,inherits:106}],122:[function(e,t,n){(function(n,r){"use strict";function o(e){var t=this;this.next=null,this.entry=null,this.finish=function(){k(t,e)}}function i(e){return F.from(e)}function a(e){return F.isBuffer(e)||e instanceof L}function s(){}function u(t,n){S=S||e("./_stream_duplex"),t=t||{},this.objectMode=!!t.objectMode,n instanceof S&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var r=t.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:i,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===t.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){v(n,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function l(t){if(S=S||e("./_stream_duplex"),!(U.call(l,this)||this instanceof S))return new l(t);this._writableState=new u(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),R.call(this)}function c(e,t){var n=new Error("write after end");e.emit("error",n),O(t,n)}function f(e,t,n,r){var o=!0,i=!1;return null===n?i=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||t.objectMode||(i=new TypeError("Invalid non-string/buffer chunk")),i&&(e.emit("error",i),O(r,i),o=!1),o}function p(e,t,n){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=F.from(t,n)),t}function h(e,t,n,r,o,i){if(!n){var a=p(t,r,o);r!==a&&(n=!0,o="buffer",r=a)}var s=t.objectMode?1:r.length;t.length+=s;var u=t.length<t.highWaterMark;if(u||(t.needDrain=!0),t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:o,isBuf:n,callback:i,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else d(e,t,!1,s,r,o,i);return u}function d(e,t,n,r,o,i,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(o,t.onwrite):e._write(o,i,t.onwrite),t.sync=!1}function m(e,t,n,r,o){--t.pendingcb,n?(O(o,r),O(x,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(o(r),e._writableState.errorEmitted=!0,e.emit("error",r),x(e,t))}function g(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function v(e,t){var n=e._writableState,r=n.sync,o=n.writecb;if(g(n),t)m(e,n,r,t,o);else{var i=w(n);i||n.corked||n.bufferProcessing||!n.bufferedRequest||_(e,n),r?B(b,e,n,i,o):b(e,n,i,o)}}function b(e,t,n,r){n||y(e,t),t.pendingcb--,r(),x(e,t)}function y(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function _(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),a=t.corkedRequestsFree;a.entry=n;for(var s=0,u=!0;n;)i[s]=n,n.isBuf||(u=!1),n=n.next,s+=1;i.allBuffers=u,d(e,t,!0,t.length,i,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new o(t)}else{for(;n;){var l=n.chunk,c=n.encoding,f=n.callback;if(d(e,t,!1,t.objectMode?1:l.length,l,c,f),n=n.next,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=n,t.bufferProcessing=!1}function w(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function E(e,t){e._final(function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),x(e,t)})}function A(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,O(E,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function x(e,t){var n=w(t);return n&&(A(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}function C(e,t,n){t.ending=!0,x(e,t),n&&(t.finished?O(n):e.once("finish",n)),t.ended=!0,e.writable=!1}function k(e,t,n){var r=e.entry;for(e.entry=null;r;){var o=r.callback;t.pendingcb--,o(n),r=r.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}var O=e("process-nextick-args");t.exports=l;var S,B=!n.browser&&["v0.10","v0.9."].indexOf(n.version.slice(0,5))>-1?setImmediate:O;l.WritableState=u;var D=e("core-util-is");D.inherits=e("inherits");var T={deprecate:e("util-deprecate")},R=e("./internal/streams/stream"),F=e("safe-buffer").Buffer,L=r.Uint8Array||function(){},M=e("./internal/streams/destroy");D.inherits(l,R),u.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(u.prototype,"buffer",{get:T.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}();var U;"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(U=Function.prototype[Symbol.hasInstance],Object.defineProperty(l,Symbol.hasInstance,{value:function(e){return!!U.call(this,e)||e&&e._writableState instanceof u}})):U=function(e){return e instanceof this},l.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},l.prototype.write=function(e,t,n){var r=this._writableState,o=!1,u=a(e)&&!r.objectMode;return u&&!F.isBuffer(e)&&(e=i(e)),"function"==typeof t&&(n=t,t=null),u?t="buffer":t||(t=r.defaultEncoding),"function"!=typeof n&&(n=s),r.ended?c(this,n):(u||f(this,r,e,n))&&(r.pendingcb++,o=h(this,r,u,e,t,n)),o},l.prototype.cork=function(){this._writableState.corked++},l.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||_(this,e))},l.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},l.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},l.prototype._writev=null,l.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||C(this,r,n)},Object.defineProperty(l.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),l.prototype.destroy=M.destroy,l.prototype._undestroy=M.undestroy,l.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./_stream_duplex":118,"./internal/streams/destroy":124,"./internal/streams/stream":125,_process:113,"core-util-is":101,inherits:106,"process-nextick-args":112,"safe-buffer":144,"util-deprecate":164}],123:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t,n){e.copy(t,n)}var i=e("safe-buffer").Buffer;t.exports=function(){function e(){r(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return i.alloc(0);if(1===this.length)return this.head.data;for(var t=i.allocUnsafe(e>>>0),n=this.head,r=0;n;)o(n.data,t,r),r+=n.data.length,n=n.next;return t},e}()},{"safe-buffer":144}],124:[function(e,t,n){"use strict";function r(e,t){e.emit("error",t)}var o=e("process-nextick-args");t.exports={destroy:function(e,t){var n=this,i=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;i||a?t?t(e):!e||this._writableState&&this._writableState.errorEmitted||o(r,this,e):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?(o(r,n,e),n._writableState&&(n._writableState.errorEmitted=!0)):t&&t(e)}))},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},{"process-nextick-args":112}],125:[function(e,t,n){t.exports=e("events").EventEmitter},{events:102}],126:[function(e,t,n){(n=t.exports=e("./lib/_stream_readable.js")).Stream=n,n.Readable=n,n.Writable=e("./lib/_stream_writable.js"),n.Duplex=e("./lib/_stream_duplex.js"),n.Transform=e("./lib/_stream_transform.js"),n.PassThrough=e("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":118,"./lib/_stream_passthrough.js":119,"./lib/_stream_readable.js":120,"./lib/_stream_transform.js":121,"./lib/_stream_writable.js":122}],127:[function(e,t,n){"use strict";t.exports={ABSOLUTE:"absolute",PATH_RELATIVE:"pathRelative",ROOT_RELATIVE:"rootRelative",SHORTEST:"shortest"}},{}],128:[function(e,t,n){"use strict";function r(e,t){return!e.auth||t.removeAuth||!e.extra.relation.maximumHost&&t.output!==d.ABSOLUTE?"":e.auth+"@"}function o(e,t){return e.hash?e.hash:""}function i(e,t){return e.host.full&&(e.extra.relation.maximumAuth||t.output===d.ABSOLUTE)?e.host.full:""}function a(e,t){var n="",r=e.path.absolute.string,o=e.path.relative.string,i=h(e,t);if(e.extra.relation.maximumHost||t.output===d.ABSOLUTE||t.output===d.ROOT_RELATIVE)n=r;else if(o.length<=r.length&&t.output===d.SHORTEST||t.output===d.PATH_RELATIVE){if(""===(n=o)){var a=p(e,t)&&!!f(e,t);e.extra.relation.maximumPath&&!i?n="./":!e.extra.relation.overridesQuery||i||a||(n="./")}}else n=r;return"/"!==n||i||!t.removeRootTrailingSlash||e.extra.relation.minimumPort&&t.output!==d.ABSOLUTE||(n=""),n}function s(e,t){return e.port&&!e.extra.portIsDefault&&e.extra.relation.maximumHost?":"+e.port:""}function u(e,t){return p(e,t)?f(e,t):""}function l(e,t){return h(e,t)?e.resource:""}function c(e,t){var n="";return(e.extra.relation.maximumHost||t.output===d.ABSOLUTE)&&(e.extra.relation.minimumScheme&&t.schemeRelative&&t.output!==d.ABSOLUTE?n+="//":n+=e.scheme+"://"),n}function f(e,t){var n=t.removeEmptyQueries&&e.extra.relation.minimumPort;return e.query.string[n?"stripped":"full"]}function p(e,t){return!e.extra.relation.minimumQuery||t.output===d.ABSOLUTE||t.output===d.ROOT_RELATIVE}function h(e,t){var n=t.removeDirectoryIndexes&&e.extra.resourceIsIndex,r=e.extra.relation.minimumResource&&t.output!==d.ABSOLUTE&&t.output!==d.ROOT_RELATIVE;return!!e.resource&&!r&&!n}var d=e("./constants");t.exports=function(e,t){var n="";return n+=c(e,t),n+=r(e,t),n+=i(e,t),n+=s(e,t),n+=a(e,t),n+=l(e,t),n+=u(e,t),n+=o(e,t)}},{"./constants":127}],129:[function(e,t,n){"use strict";function r(e,t){this.options=a(t,{defaultPorts:{ftp:21,http:80,https:443},directoryIndexes:["index.html"],ignore_www:!1,output:r.SHORTEST,rejectedSchemes:["data","javascript","mailto"],removeAuth:!1,removeDirectoryIndexes:!0,removeEmptyQueries:!1,removeRootTrailingSlash:!0,schemeRelative:!0,site:void 0,slashesDenoteHost:!0}),this.from=u.from(e,this.options,null)}var o=e("./constants"),i=e("./format"),a=e("./options"),s=e("./util/object"),u=e("./parse"),l=e("./relate");r.prototype.relate=function(e,t,n){if(s.isPlainObject(t)?(n=t,t=e,e=null):t||(t=e,e=null),n=a(n,this.options),e=e||n.site,!(e=u.from(e,n,this.from))||!e.href)throw new Error("from value not defined.");if(e.extra.hrefInfo.minimumPathOnly)throw new Error("from value supplied is not absolute: "+e.href);return!1===(t=u.to(t,n)).valid?t.href:(t=l(e,t,n),t=i(t,n))},r.relate=function(e,t,n){return(new r).relate(e,t,n)},s.shallowMerge(r,o),t.exports=r},{"./constants":127,"./format":128,"./options":130,"./parse":133,"./relate":140,"./util/object":142}],130:[function(e,t,n){"use strict";function r(e,t){return t instanceof Object&&e instanceof Object?t instanceof Array&&e instanceof Array?t.concat(e):o.shallowMerge(e,t):e}var o=e("./util/object");t.exports=function(e,t){if(o.isPlainObject(e)){var n={};for(var i in t)t.hasOwnProperty(i)&&(void 0!==e[i]?n[i]=r(e[i],t[i]):n[i]=t[i]);return n}return t}},{"./util/object":142}],131:[function(e,t,n){"use strict";t.exports=function(e,t){if(t.ignore_www){var n=e.host.full;if(n){var r=n;0===n.indexOf("www.")&&(r=n.substr(4)),e.host.stripped=r}}}},{}],132:[function(e,t,n){"use strict";t.exports=function(e){var t=!(e.scheme||e.auth||e.host.full||e.port),n=t&&!e.path.absolute.string,r=n&&!e.resource,o=r&&!e.query.string.full.length,i=o&&!e.hash;e.extra.hrefInfo.minimumPathOnly=t,e.extra.hrefInfo.minimumResourceOnly=n,e.extra.hrefInfo.minimumQueryOnly=r,e.extra.hrefInfo.minimumHashOnly=o,e.extra.hrefInfo.empty=i}},{}],133:[function(e,t,n){"use strict";function r(e,t){var n=l(e,t);return!1===n.valid?n:(i(n,t),s(n,t),a(n,t),u(n,t),o(n),n)}var o=e("./hrefInfo"),i=e("./host"),a=e("./path"),s=e("./port"),u=e("./query"),l=e("./urlstring"),c=e("../util/path");t.exports={from:function(e,t,n){if(e){var o=r(e,t),i=c.resolveDotSegments(o.path.absolute.array);return o.path.absolute.array=i,o.path.absolute.string="/"+c.join(i),o}return n},to:r}},{"../util/path":143,"./host":131,"./hrefInfo":132,"./path":134,"./port":135,"./query":136,"./urlstring":137}],134:[function(e,t,n){"use strict";function r(e,t){var n=!1;return t.directoryIndexes.every(function(t){return t!==e||(n=!0,!1)}),n}function o(e){if("/"!==e){var t=[];return e.split("/").forEach(function(e){""!==e&&t.push(e)}),t}return[]}t.exports=function(e,t){var n=e.path.absolute.string;if(n){var i=n.lastIndexOf("/");if(i>-1){if(++i<n.length){var a=n.substr(i);"."!==a&&".."!==a?(e.resource=a,n=n.substr(0,i)):n+="/"}e.path.absolute.string=n,e.path.absolute.array=o(n)}else"."===n||".."===n?(n+="/",e.path.absolute.string=n,e.path.absolute.array=o(n)):(e.resource=n,e.path.absolute.string=null);e.extra.resourceIsIndex=r(e.resource,t)}}},{}],135:[function(e,t,n){"use strict";t.exports=function(e,t){var n=-1;for(var r in t.defaultPorts)if(r===e.scheme&&t.defaultPorts.hasOwnProperty(r)){n=t.defaultPorts[r];break}n>-1&&(n=n.toString(),null===e.port&&(e.port=n),e.extra.portIsDefault=e.port===n)}},{}],136:[function(e,t,n){"use strict";function r(e,t){var n=0,r="";for(var i in e)if(""!==i&&!0===o.call(e,i)){var a=e[i];""===a&&t||(r+=1==++n?"?":"&",i=encodeURIComponent(i),r+=""!==a?i+"="+encodeURIComponent(a).replace(/%20/g,"+"):i)}return r}var o=Object.prototype.hasOwnProperty;t.exports=function(e,t){e.query.string.full=r(e.query.object,!1),t.removeEmptyQueries&&(e.query.string.stripped=r(e.query.object,!0))}},{}],137:[function(e,t,n){"use strict";function r(e){var t=e.protocol;return t&&t.indexOf(":")===t.length-1&&(t=t.substr(0,t.length-1)),e.host={full:e.hostname,stripped:null},e.path={absolute:{array:null,string:e.pathname},relative:{array:null,string:null}},e.query={object:e.query,string:{full:null,stripped:null}},e.extra={hrefInfo:{minimumPathOnly:null,minimumResourceOnly:null,minimumQueryOnly:null,minimumHashOnly:null,empty:null,separatorOnlyQuery:"?"===e.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:e.slashes},e.resource=null,e.scheme=t,delete e.hostname,delete e.pathname,delete e.protocol,delete e.search,delete e.slashes,e}function o(e,t){var n=!0;return t.rejectedSchemes.every(function(t){return n=!(0===e.indexOf(t+":"))}),n}var i=e("url").parse;t.exports=function(e,t){return o(e,t)?r(i(e,!0,t.slashesDenoteHost)):{href:e,valid:!1}}},{url:162}],138:[function(e,t,n){"use strict";function r(e,t){if(e.extra.relation.maximumHost||!e.extra.hrefInfo.minimumResourceOnly){var n=e.path.absolute.array,r="/";n?(e.extra.hrefInfo.minimumPathOnly&&0!==e.path.absolute.string.indexOf("/")&&(n=t.path.absolute.array.concat(n)),n=u.resolveDotSegments(n),r+=u.join(n)):n=[],e.path.absolute.array=n,e.path.absolute.string=r}else e.path=s.clone(t.path)}function o(e,t){e.port=t.port,e.extra.portIsDefault=t.extra.portIsDefault}function i(e,t){e.resource=t.resource,e.extra.resourceIsIndex=t.extra.resourceIsIndex}var a=e("./findRelation"),s=e("../util/object"),u=e("../util/path");t.exports=function(e,t,n){a.upToPath(e,t,n),e.extra.relation.minimumScheme&&(e.scheme=t.scheme),e.extra.relation.minimumAuth&&(e.auth=t.auth),e.extra.relation.minimumHost&&(e.host=s.clone(t.host)),e.extra.relation.minimumPort&&o(e,t),e.extra.relation.minimumScheme&&r(e,t),a.pathOn(e,t,n),e.extra.relation.minimumResource&&i(e,t),e.extra.relation.minimumQuery&&(e.query=s.clone(t.query)),e.extra.relation.minimumHash&&(e.hash=t.hash)}},{"../util/object":142,"../util/path":143,"./findRelation":139}],139:[function(e,t,n){"use strict";t.exports={pathOn:function(e,t,n){var r=e.extra.hrefInfo.minimumQueryOnly,o=e.extra.hrefInfo.minimumHashOnly,i=e.extra.hrefInfo.empty,a=e.extra.relation.minimumPort,s=e.extra.relation.minimumScheme,u=a&&e.path.absolute.string===t.path.absolute.string,l=e.resource===t.resource||!e.resource&&t.extra.resourceIsIndex||n.removeDirectoryIndexes&&e.extra.resourceIsIndex&&!t.resource,c=u&&(l||r||o||i),f=n.removeEmptyQueries?"stripped":"full",p=e.query.string[f],h=t.query.string[f],d=c&&!!p&&p===h||(o||i)&&!e.extra.hrefInfo.separatorOnlyQuery,m=d&&e.hash===t.hash;e.extra.relation.minimumPath=u,e.extra.relation.minimumResource=c,e.extra.relation.minimumQuery=d,e.extra.relation.minimumHash=m,e.extra.relation.maximumPort=!s||s&&!u,e.extra.relation.maximumPath=!s||s&&!c,e.extra.relation.maximumResource=!s||s&&!d,e.extra.relation.maximumQuery=!s||s&&!m,e.extra.relation.maximumHash=!s||s&&!m,e.extra.relation.overridesQuery=u&&e.extra.relation.maximumResource&&!d&&!!h},upToPath:function(e,t,n){var r=e.extra.hrefInfo.minimumPathOnly,o=e.scheme===t.scheme||!e.scheme,i=o&&(e.auth===t.auth||n.removeAuth||r),a=n.ignore_www?"stripped":"full",s=i&&(e.host[a]===t.host[a]||r),u=s&&(e.port===t.port||r);e.extra.relation.minimumScheme=o,e.extra.relation.minimumAuth=i,e.extra.relation.minimumHost=s,e.extra.relation.minimumPort=u,e.extra.relation.maximumScheme=!o||o&&!i,e.extra.relation.maximumAuth=!o||o&&!s,e.extra.relation.maximumHost=!o||o&&!u}}},{}],140:[function(e,t,n){"use strict";var r=e("./absolutize"),o=e("./relativize");t.exports=function(e,t,n){return r(t,e,n),o(t,e,n),t}},{"./absolutize":138,"./relativize":141}],141:[function(e,t,n){"use strict";function r(e,t){var n=[],r=!0,o=-1;return t.forEach(function(t,i){r&&(e[i]!==t?r=!1:o=i),r||n.push("..")}),e.forEach(function(e,t){t>o&&n.push(e)}),n}var o=e("../util/path");t.exports=function(e,t,n){if(e.extra.relation.minimumScheme){var i=r(e.path.absolute.array,t.path.absolute.array);e.path.relative.array=i,e.path.relative.string=o.join(i)}}},{"../util/path":143}],142:[function(e,t,n){"use strict";function r(e){if(e instanceof Object){var t=e instanceof Array?[]:{};for(var n in e)e.hasOwnProperty(n)&&(t[n]=r(e[n]));return t}return e}t.exports={clone:r,isPlainObject:function(e){return!!e&&"object"==typeof e&&e.constructor===Object},shallowMerge:function(e,t){if(e instanceof Object&&t instanceof Object)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}}},{}],143:[function(e,t,n){"use strict";t.exports={join:function(e){return e.length>0?e.join("/")+"/":""},resolveDotSegments:function(e){var t=[];return e.forEach(function(e){".."!==e?"."!==e&&t.push(e):t.length>0&&t.splice(t.length-1,1)}),t}}},{}],144:[function(e,t,n){function r(e,t){for(var n in e)t[n]=e[n]}function o(e,t,n){return a(e,t,n)}var i=e("buffer"),a=i.Buffer;a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow?t.exports=i:(r(i,n),n.Buffer=o),r(a,o),o.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return a(e,t,n)},o.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=a(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return a(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i.SlowBuffer(e)}},{buffer:4}],145:[function(e,t,n){function r(){this._array=[],this._set=a?new Map:Object.create(null)}var o=e("./util"),i=Object.prototype.hasOwnProperty,a="undefined"!=typeof Map;r.fromArray=function(e,t){for(var n=new r,o=0,i=e.length;o<i;o++)n.add(e[o],t);return n},r.prototype.size=function(){return a?this._set.size:Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(e,t){var n=a?e:o.toSetString(e),r=a?this.has(e):i.call(this._set,n),s=this._array.length;r&&!t||this._array.push(e),r||(a?this._set.set(e,s):this._set[n]=s)},r.prototype.has=function(e){if(a)return this._set.has(e);var t=o.toSetString(e);return i.call(this._set,t)},r.prototype.indexOf=function(e){if(a){var t=this._set.get(e);if(t>=0)return t}else{var n=o.toSetString(e);if(i.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')},r.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},r.prototype.toArray=function(){return this._array.slice()},n.ArraySet=r},{"./util":154}],146:[function(e,t,n){function r(e){return e<0?1+(-e<<1):0+(e<<1)}function o(e){var t=e>>1;return 1==(1&e)?-t:t}var i=e("./base64");n.encode=function(e){var t,n="",o=r(e);do{t=31&o,(o>>>=5)>0&&(t|=32),n+=i.encode(t)}while(o>0);return n},n.decode=function(e,t,n){var r,a,s=e.length,u=0,l=0;do{if(t>=s)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(a=i.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));r=!!(32&a),u+=(a&=31)<<l,l+=5}while(r);n.value=o(u),n.rest=t}},{"./base64":147}],147:[function(e,t,n){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");n.encode=function(e){if(0<=e&&e<r.length)return r[e];throw new TypeError("Must be between 0 and 63: "+e)},n.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1}},{}],148:[function(e,t,n){function r(e,t,o,i,a,s){var u=Math.floor((t-e)/2)+e,l=a(o,i[u],!0);return 0===l?u:l>0?t-u>1?r(u,t,o,i,a,s):s==n.LEAST_UPPER_BOUND?t<i.length?t:-1:u:u-e>1?r(e,u,o,i,a,s):s==n.LEAST_UPPER_BOUND?u:e<0?-1:e}n.GREATEST_LOWER_BOUND=1,n.LEAST_UPPER_BOUND=2,n.search=function(e,t,o,i){if(0===t.length)return-1;var a=r(-1,t.length,e,t,o,i||n.GREATEST_LOWER_BOUND);if(a<0)return-1;for(;a-1>=0&&0===o(t[a],t[a-1],!0);)--a;return a}},{}],149:[function(e,t,n){function r(e,t){var n=e.generatedLine,r=t.generatedLine,o=e.generatedColumn,a=t.generatedColumn;return r>n||r==n&&a>=o||i.compareByGeneratedPositionsInflated(e,t)<=0}function o(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}var i=e("./util");o.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},o.prototype.add=function(e){r(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},o.prototype.toArray=function(){return this._sorted||(this._array.sort(i.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},n.MappingList=o},{"./util":154}],150:[function(e,t,n){function r(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function o(e,t){return Math.round(e+Math.random()*(t-e))}function i(e,t,n,a){if(n<a){var s=n-1;r(e,o(n,a),a);for(var u=e[a],l=n;l<a;l++)t(e[l],u)<=0&&r(e,s+=1,l);r(e,s+1,l);var c=s+1;i(e,t,n,c-1),i(e,t,c+1,a)}}n.quickSort=function(e,t){i(e,t,0,e.length-1)}},{}],151:[function(e,t,n){function r(e){var t=e;return"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,""))),null!=t.sections?new a(t):new o(t)}function o(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=s.getArg(t,"version"),r=s.getArg(t,"sources"),o=s.getArg(t,"names",[]),i=s.getArg(t,"sourceRoot",null),a=s.getArg(t,"sourcesContent",null),u=s.getArg(t,"mappings"),c=s.getArg(t,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);r=r.map(String).map(s.normalize).map(function(e){return i&&s.isAbsolute(i)&&s.isAbsolute(e)?s.relative(i,e):e}),this._names=l.fromArray(o.map(String),!0),this._sources=l.fromArray(r,!0),this.sourceRoot=i,this.sourcesContent=a,this._mappings=u,this.file=c}function i(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function a(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=s.getArg(t,"version"),o=s.getArg(t,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new l,this._names=new l;var i={line:-1,column:0};this._sections=o.map(function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var t=s.getArg(e,"offset"),n=s.getArg(t,"line"),o=s.getArg(t,"column");if(n<i.line||n===i.line&&o<i.column)throw new Error("Section offsets must be ordered and non-overlapping.");return i=t,{generatedOffset:{generatedLine:n+1,generatedColumn:o+1},consumer:new r(s.getArg(e,"map"))}})}var s=e("./util"),u=e("./binary-search"),l=e("./array-set").ArraySet,c=e("./base64-vlq"),f=e("./quick-sort").quickSort;r.fromSourceMap=function(e){return o.fromSourceMap(e)},r.prototype._version=3,r.prototype.__generatedMappings=null,Object.defineProperty(r.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),r.prototype.__originalMappings=null,Object.defineProperty(r.prototype,"_originalMappings",{get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),r.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return";"===n||","===n},r.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},r.GENERATED_ORDER=1,r.ORIGINAL_ORDER=2,r.GREATEST_LOWER_BOUND=1,r.LEAST_UPPER_BOUND=2,r.prototype.eachMapping=function(e,t,n){var o,i=t||null;switch(n||r.GENERATED_ORDER){case r.GENERATED_ORDER:o=this._generatedMappings;break;case r.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var a=this.sourceRoot;o.map(function(e){var t=null===e.source?null:this._sources.at(e.source);return null!=t&&null!=a&&(t=s.join(a,t)),{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}},this).forEach(e,i)},r.prototype.allGeneratedPositionsFor=function(e){var t=s.getArg(e,"line"),n={source:s.getArg(e,"source"),originalLine:t,originalColumn:s.getArg(e,"column",0)};if(null!=this.sourceRoot&&(n.source=s.relative(this.sourceRoot,n.source)),!this._sources.has(n.source))return[];n.source=this._sources.indexOf(n.source);var r=[],o=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",s.compareByOriginalPositions,u.LEAST_UPPER_BOUND);if(o>=0){var i=this._originalMappings[o];if(void 0===e.column)for(var a=i.originalLine;i&&i.originalLine===a;)r.push({line:s.getArg(i,"generatedLine",null),column:s.getArg(i,"generatedColumn",null),lastColumn:s.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++o];else for(var l=i.originalColumn;i&&i.originalLine===t&&i.originalColumn==l;)r.push({line:s.getArg(i,"generatedLine",null),column:s.getArg(i,"generatedColumn",null),lastColumn:s.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++o]}return r},n.SourceMapConsumer=r,(o.prototype=Object.create(r.prototype)).consumer=r,o.fromSourceMap=function(e){var t=Object.create(o.prototype),n=t._names=l.fromArray(e._names.toArray(),!0),r=t._sources=l.fromArray(e._sources.toArray(),!0);t.sourceRoot=e._sourceRoot,t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot),t.file=e._file;for(var a=e._mappings.toArray().slice(),u=t.__generatedMappings=[],c=t.__originalMappings=[],p=0,h=a.length;p<h;p++){var d=a[p],m=new i;m.generatedLine=d.generatedLine,m.generatedColumn=d.generatedColumn,d.source&&(m.source=r.indexOf(d.source),m.originalLine=d.originalLine,m.originalColumn=d.originalColumn,d.name&&(m.name=n.indexOf(d.name)),c.push(m)),u.push(m)}return f(t.__originalMappings,s.compareByOriginalPositions),t},o.prototype._version=3,Object.defineProperty(o.prototype,"sources",{get:function(){return this._sources.toArray().map(function(e){return null!=this.sourceRoot?s.join(this.sourceRoot,e):e},this)}}),o.prototype._parseMappings=function(e,t){for(var n,r,o,a,u,l=1,p=0,h=0,d=0,m=0,g=0,v=e.length,b=0,y={},_={},w=[],E=[];b<v;)if(";"===e.charAt(b))l++,b++,p=0;else if(","===e.charAt(b))b++;else{for((n=new i).generatedLine=l,a=b;a<v&&!this._charIsMappingSeparator(e,a);a++);if(r=e.slice(b,a),o=y[r])b+=r.length;else{for(o=[];b<a;)c.decode(e,b,_),u=_.value,b=_.rest,o.push(u);if(2===o.length)throw new Error("Found a source, but no line and column");if(3===o.length)throw new Error("Found a source and line, but no column");y[r]=o}n.generatedColumn=p+o[0],p=n.generatedColumn,o.length>1&&(n.source=m+o[1],m+=o[1],n.originalLine=h+o[2],h=n.originalLine,n.originalLine+=1,n.originalColumn=d+o[3],d=n.originalColumn,o.length>4&&(n.name=g+o[4],g+=o[4])),E.push(n),"number"==typeof n.originalLine&&w.push(n)}f(E,s.compareByGeneratedPositionsDeflated),this.__generatedMappings=E,f(w,s.compareByOriginalPositions),this.__originalMappings=w},o.prototype._findMapping=function(e,t,n,r,o,i){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return u.search(e,t,o,i)},o.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},o.prototype.originalPositionFor=function(e){var t={generatedLine:s.getArg(e,"line"),generatedColumn:s.getArg(e,"column")},n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",s.compareByGeneratedPositionsDeflated,s.getArg(e,"bias",r.GREATEST_LOWER_BOUND));if(n>=0){var o=this._generatedMappings[n];if(o.generatedLine===t.generatedLine){var i=s.getArg(o,"source",null);null!==i&&(i=this._sources.at(i),null!=this.sourceRoot&&(i=s.join(this.sourceRoot,i)));var a=s.getArg(o,"name",null);return null!==a&&(a=this._names.at(a)),{source:i,line:s.getArg(o,"originalLine",null),column:s.getArg(o,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},o.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e}))},o.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(e=s.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var n;if(null!=this.sourceRoot&&(n=s.urlParse(this.sourceRoot))){var r=e.replace(/^file:\/\//,"");if("file"==n.scheme&&this._sources.has(r))return this.sourcesContent[this._sources.indexOf(r)];if((!n.path||"/"==n.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},o.prototype.generatedPositionFor=function(e){var t=s.getArg(e,"source");if(null!=this.sourceRoot&&(t=s.relative(this.sourceRoot,t)),!this._sources.has(t))return{line:null,column:null,lastColumn:null};var n={source:t=this._sources.indexOf(t),originalLine:s.getArg(e,"line"),originalColumn:s.getArg(e,"column")},o=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",s.compareByOriginalPositions,s.getArg(e,"bias",r.GREATEST_LOWER_BOUND));if(o>=0){var i=this._originalMappings[o];if(i.source===n.source)return{line:s.getArg(i,"generatedLine",null),column:s.getArg(i,"generatedColumn",null),lastColumn:s.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},n.BasicSourceMapConsumer=o,(a.prototype=Object.create(r.prototype)).constructor=r,a.prototype._version=3,Object.defineProperty(a.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}}),a.prototype.originalPositionFor=function(e){var t={generatedLine:s.getArg(e,"line"),generatedColumn:s.getArg(e,"column")},n=u.search(t,this._sections,function(e,t){var n=e.generatedLine-t.generatedOffset.generatedLine;return n||e.generatedColumn-t.generatedOffset.generatedColumn}),r=this._sections[n];return r?r.consumer.originalPositionFor({line:t.generatedLine-(r.generatedOffset.generatedLine-1),column:t.generatedColumn-(r.generatedOffset.generatedLine===t.generatedLine?r.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},a.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},a.prototype.sourceContentFor=function(e,t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n].consumer.sourceContentFor(e,!0);if(r)return r}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},a.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var n=this._sections[t];if(-1!==n.consumer.sources.indexOf(s.getArg(e,"source"))){var r=n.consumer.generatedPositionFor(e);if(r)return{line:r.line+(n.generatedOffset.generatedLine-1),column:r.column+(n.generatedOffset.generatedLine===r.line?n.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},a.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var r=this._sections[n],o=r.consumer._generatedMappings,i=0;i<o.length;i++){var a=o[i],u=r.consumer._sources.at(a.source);null!==r.consumer.sourceRoot&&(u=s.join(r.consumer.sourceRoot,u)),this._sources.add(u),u=this._sources.indexOf(u);var l=r.consumer._names.at(a.name);this._names.add(l),l=this._names.indexOf(l);var c={source:u,generatedLine:a.generatedLine+(r.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(r.generatedOffset.generatedLine===a.generatedLine?r.generatedOffset.generatedColumn-1:0),originalLine:a.originalLine,originalColumn:a.originalColumn,name:l};this.__generatedMappings.push(c),"number"==typeof c.originalLine&&this.__originalMappings.push(c)}f(this.__generatedMappings,s.compareByGeneratedPositionsDeflated),f(this.__originalMappings,s.compareByOriginalPositions)},n.IndexedSourceMapConsumer=a},{"./array-set":145,"./base64-vlq":146,"./binary-search":148,"./quick-sort":150,"./util":154}],152:[function(e,t,n){function r(e){e||(e={}),this._file=i.getArg(e,"file",null),this._sourceRoot=i.getArg(e,"sourceRoot",null),this._skipValidation=i.getArg(e,"skipValidation",!1),this._sources=new a,this._names=new a,this._mappings=new s,this._sourcesContents=null}var o=e("./base64-vlq"),i=e("./util"),a=e("./array-set").ArraySet,s=e("./mapping-list").MappingList;r.prototype._version=3,r.fromSourceMap=function(e){var t=e.sourceRoot,n=new r({file:e.file,sourceRoot:t});return e.eachMapping(function(e){var r={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(r.source=e.source,null!=t&&(r.source=i.relative(t,r.source)),r.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(r.name=e.name)),n.addMapping(r)}),e.sources.forEach(function(t){var r=e.sourceContentFor(t);null!=r&&n.setSourceContent(t,r)}),n},r.prototype.addMapping=function(e){var t=i.getArg(e,"generated"),n=i.getArg(e,"original",null),r=i.getArg(e,"source",null),o=i.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,n,r,o),null!=r&&(r=String(r),this._sources.has(r)||this._sources.add(r)),null!=o&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:r,name:o})},r.prototype.setSourceContent=function(e,t){var n=e;null!=this._sourceRoot&&(n=i.relative(this._sourceRoot,n)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[i.toSetString(n)]=t):this._sourcesContents&&(delete this._sourcesContents[i.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},r.prototype.applySourceMap=function(e,t,n){var r=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');r=e.file}var o=this._sourceRoot;null!=o&&(r=i.relative(o,r));var s=new a,u=new a;this._mappings.unsortedForEach(function(t){if(t.source===r&&null!=t.originalLine){var a=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=a.source&&(t.source=a.source,null!=n&&(t.source=i.join(n,t.source)),null!=o&&(t.source=i.relative(o,t.source)),t.originalLine=a.line,t.originalColumn=a.column,null!=a.name&&(t.name=a.name))}var l=t.source;null==l||s.has(l)||s.add(l);var c=t.name;null==c||u.has(c)||u.add(c)},this),this._sources=s,this._names=u,e.sources.forEach(function(t){var r=e.sourceContentFor(t);null!=r&&(null!=n&&(t=i.join(n,t)),null!=o&&(t=i.relative(o,t)),this.setSourceContent(t,r))},this)},r.prototype._validateMapping=function(e,t,n,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||n||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},r.prototype._serializeMappings=function(){for(var e,t,n,r,a=0,s=1,u=0,l=0,c=0,f=0,p="",h=this._mappings.toArray(),d=0,m=h.length;d<m;d++){if(t=h[d],e="",t.generatedLine!==s)for(a=0;t.generatedLine!==s;)e+=";",s++;else if(d>0){if(!i.compareByGeneratedPositionsInflated(t,h[d-1]))continue;e+=","}e+=o.encode(t.generatedColumn-a),a=t.generatedColumn,null!=t.source&&(r=this._sources.indexOf(t.source),e+=o.encode(r-f),f=r,e+=o.encode(t.originalLine-1-l),l=t.originalLine-1,e+=o.encode(t.originalColumn-u),u=t.originalColumn,null!=t.name&&(n=this._names.indexOf(t.name),e+=o.encode(n-c),c=n)),p+=e}return p},r.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;null!=t&&(e=i.relative(t,e));var n=i.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null},this)},r.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},r.prototype.toString=function(){return JSON.stringify(this.toJSON())},n.SourceMapGenerator=r},{"./array-set":145,"./base64-vlq":146,"./mapping-list":149,"./util":154}],153:[function(e,t,n){function r(e,t,n,r,o){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==n?null:n,this.name=null==o?null:o,this[s]=!0,null!=r&&this.add(r)}var o=e("./source-map-generator").SourceMapGenerator,i=e("./util"),a=/(\r?\n)/,s="$$$isSourceNode$$$";r.fromStringWithSourceMap=function(e,t,n){function o(e,t){if(null===e||void 0===e.source)s.add(t);else{var o=n?i.join(n,e.source):e.source;s.add(new r(e.originalLine,e.originalColumn,o,t,e.name))}}var s=new r,u=e.split(a),l=0,c=function(){function e(){return l<u.length?u[l++]:void 0}return e()+(e()||"")},f=1,p=0,h=null;return t.eachMapping(function(e){if(null!==h){if(!(f<e.generatedLine)){var t=(n=u[l]).substr(0,e.generatedColumn-p);return u[l]=n.substr(e.generatedColumn-p),p=e.generatedColumn,o(h,t),void(h=e)}o(h,c()),f++,p=0}for(;f<e.generatedLine;)s.add(c()),f++;if(p<e.generatedColumn){var n=u[l];s.add(n.substr(0,e.generatedColumn)),u[l]=n.substr(e.generatedColumn),p=e.generatedColumn}h=e},this),l<u.length&&(h&&o(h,c()),s.add(u.splice(l).join(""))),t.sources.forEach(function(e){var r=t.sourceContentFor(e);null!=r&&(null!=n&&(e=i.join(n,e)),s.setSourceContent(e,r))}),s},r.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else{if(!e[s]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},r.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[s]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},r.prototype.walk=function(e){for(var t,n=0,r=this.children.length;n<r;n++)(t=this.children[n])[s]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},r.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;n<r-1;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},r.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[s]?n.replaceRight(e,t):"string"==typeof n?this.children[this.children.length-1]=n.replace(e,t):this.children.push("".replace(e,t)),this},r.prototype.setSourceContent=function(e,t){this.sourceContents[i.toSetString(e)]=t},r.prototype.walkSourceContents=function(e){for(var t=0,n=this.children.length;t<n;t++)this.children[t][s]&&this.children[t].walkSourceContents(e);for(var r=Object.keys(this.sourceContents),t=0,n=r.length;t<n;t++)e(i.fromSetString(r[t]),this.sourceContents[r[t]])},r.prototype.toString=function(){var e="";return this.walk(function(t){e+=t}),e},r.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},n=new o(e),r=!1,i=null,a=null,s=null,u=null;return this.walk(function(e,o){t.code+=e,null!==o.source&&null!==o.line&&null!==o.column?(i===o.source&&a===o.line&&s===o.column&&u===o.name||n.addMapping({source:o.source,original:{line:o.line,column:o.column},generated:{line:t.line,column:t.column},name:o.name}),i=o.source,a=o.line,s=o.column,u=o.name,r=!0):r&&(n.addMapping({generated:{line:t.line,column:t.column}}),i=null,r=!1);for(var l=0,c=e.length;l<c;l++)10===e.charCodeAt(l)?(t.line++,t.column=0,l+1===c?(i=null,r=!1):r&&n.addMapping({source:o.source,original:{line:o.line,column:o.column},generated:{line:t.line,column:t.column},name:o.name})):t.column++}),this.walkSourceContents(function(e,t){n.setSourceContent(e,t)}),{code:t.code,map:n}},n.SourceNode=r},{"./source-map-generator":152,"./util":154}],154:[function(e,t,n){function r(e){var t=e.match(l);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function o(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function i(e){var t=e,i=r(e);if(i){if(!i.path)return e;t=i.path}for(var a,s=n.isAbsolute(t),u=t.split(/\/+/),l=0,c=u.length-1;c>=0;c--)"."===(a=u[c])?u.splice(c,1):".."===a?l++:l>0&&(""===a?(u.splice(c+1,l),l=0):(u.splice(c,2),l--));return""===(t=u.join("/"))&&(t=s?"/":"."),i?(i.path=t,o(i)):t}function a(e){return e}function s(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function u(e,t){return e===t?0:e>t?1:-1}n.getArg=function(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')};var l=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,c=/^data:.+\,.+$/;n.urlParse=r,n.urlGenerate=o,n.normalize=i,n.join=function(e,t){""===e&&(e="."),""===t&&(t=".");var n=r(t),a=r(e);if(a&&(e=a.path||"/"),n&&!n.scheme)return a&&(n.scheme=a.scheme),o(n);if(n||t.match(c))return t;if(a&&!a.host&&!a.path)return a.host=t,o(a);var s="/"===t.charAt(0)?t:i(e.replace(/\/+$/,"")+"/"+t);return a?(a.path=s,o(a)):s},n.isAbsolute=function(e){return"/"===e.charAt(0)||!!e.match(l)},n.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)};var f=!("__proto__"in Object.create(null));n.toSetString=f?a:function(e){return s(e)?"$"+e:e},n.fromSetString=f?a:function(e){return s(e)?e.slice(1):e},n.compareByOriginalPositions=function(e,t,n){var r=e.source-t.source;return 0!==r?r:0!=(r=e.originalLine-t.originalLine)?r:0!=(r=e.originalColumn-t.originalColumn)||n?r:0!=(r=e.generatedColumn-t.generatedColumn)?r:0!=(r=e.generatedLine-t.generatedLine)?r:e.name-t.name},n.compareByGeneratedPositionsDeflated=function(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r?r:0!=(r=e.generatedColumn-t.generatedColumn)||n?r:0!=(r=e.source-t.source)?r:0!=(r=e.originalLine-t.originalLine)?r:0!=(r=e.originalColumn-t.originalColumn)?r:e.name-t.name},n.compareByGeneratedPositionsInflated=function(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n?n:0!=(n=e.generatedColumn-t.generatedColumn)?n:0!==(n=u(e.source,t.source))?n:0!=(n=e.originalLine-t.originalLine)?n:0!=(n=e.originalColumn-t.originalColumn)?n:u(e.name,t.name)}},{}],155:[function(e,t,n){n.SourceMapGenerator=e("./lib/source-map-generator").SourceMapGenerator,n.SourceMapConsumer=e("./lib/source-map-consumer").SourceMapConsumer,n.SourceNode=e("./lib/source-node").SourceNode},{"./lib/source-map-consumer":151,"./lib/source-map-generator":152,"./lib/source-node":153}],156:[function(e,t,n){(function(t){var r=e("./lib/request"),o=e("xtend"),i=e("builtin-status-codes"),a=e("url"),s=n;s.request=function(e,n){e="string"==typeof e?a.parse(e):o(e);var i=-1===t.location.protocol.search(/^https?:$/)?"http:":"",s=e.protocol||i,u=e.hostname||e.host,l=e.port,c=e.path||"/";u&&-1!==u.indexOf(":")&&(u="["+u+"]"),e.url=(u?s+"//"+u:"")+(l?":"+l:"")+c,e.method=(e.method||"GET").toUpperCase(),e.headers=e.headers||{};var f=new r(e);return n&&f.on("response",n),f},s.get=function(e,t){var n=s.request(e,t);return n.end(),n},s.Agent=function(){},s.Agent.defaultMaxSockets=4,s.STATUS_CODES=i,s.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":158,"builtin-status-codes":5,url:162,xtend:166}],157:[function(e,t,n){(function(e){function t(){if(void 0!==i)return i;if(e.XMLHttpRequest){i=new e.XMLHttpRequest;try{i.open("GET",e.XDomainRequest?"/":"https://example.com")}catch(e){i=null}}else i=null;return i}function r(e){var n=t();if(!n)return!1;try{return n.responseType=e,n.responseType===e}catch(e){}return!1}function o(e){return"function"==typeof e}n.fetch=o(e.fetch)&&o(e.ReadableStream),n.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),n.blobConstructor=!0}catch(e){}var i,a=void 0!==e.ArrayBuffer,s=a&&o(e.ArrayBuffer.prototype.slice);n.arraybuffer=n.fetch||a&&r("arraybuffer"),n.msstream=!n.fetch&&s&&r("ms-stream"),n.mozchunkedarraybuffer=!n.fetch&&a&&r("moz-chunked-arraybuffer"),n.overrideMimeType=n.fetch||!!t()&&o(t().overrideMimeType),n.vbArray=o(e.VBArray),i=null}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],158:[function(e,t,n){(function(n,r,o){function i(e,t){return s.fetch&&t?"fetch":s.mozchunkedarraybuffer?"moz-chunked-arraybuffer":s.msstream?"ms-stream":s.arraybuffer&&e?"arraybuffer":s.vbArray&&e?"text:vbarray":"text"}function a(e){try{var t=e.status;return null!==t&&0!==t}catch(e){return!1}}var s=e("./capability"),u=e("inherits"),l=e("./response"),c=e("readable-stream"),f=e("to-arraybuffer"),p=l.IncomingMessage,h=l.readyStates,d=t.exports=function(e){var t=this;c.Writable.call(t),t._opts=e,t._body=[],t._headers={},e.auth&&t.setHeader("Authorization","Basic "+new o(e.auth).toString("base64")),Object.keys(e.headers).forEach(function(n){t.setHeader(n,e.headers[n])});var n,r=!0;if("disable-fetch"===e.mode||"timeout"in e)r=!1,n=!0;else if("prefer-streaming"===e.mode)n=!1;else if("allow-wrong-content-type"===e.mode)n=!s.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");n=!0}t._mode=i(n,r),t.on("finish",function(){t._onFinish()})};u(d,c.Writable),d.prototype.setHeader=function(e,t){var n=this,r=e.toLowerCase();-1===m.indexOf(r)&&(n._headers[r]={name:e,value:t})},d.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null},d.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},d.prototype._onFinish=function(){var e=this;if(!e._destroyed){var t=e._opts,i=e._headers,a=null;"GET"!==t.method&&"HEAD"!==t.method&&(a=s.blobConstructor?new r.Blob(e._body.map(function(e){return f(e)}),{type:(i["content-type"]||{}).value||""}):o.concat(e._body).toString());var u=[];if(Object.keys(i).forEach(function(e){var t=i[e].name,n=i[e].value;Array.isArray(n)?n.forEach(function(e){u.push([t,e])}):u.push([t,n])}),"fetch"===e._mode)r.fetch(e._opts.url,{method:e._opts.method,headers:u,body:a||void 0,mode:"cors",credentials:t.withCredentials?"include":"same-origin"}).then(function(t){e._fetchResponse=t,e._connect()},function(t){e.emit("error",t)});else{var l=e._xhr=new r.XMLHttpRequest;try{l.open(e._opts.method,e._opts.url,!0)}catch(t){return void n.nextTick(function(){e.emit("error",t)})}"responseType"in l&&(l.responseType=e._mode.split(":")[0]),"withCredentials"in l&&(l.withCredentials=!!t.withCredentials),"text"===e._mode&&"overrideMimeType"in l&&l.overrideMimeType("text/plain; charset=x-user-defined"),"timeout"in t&&(l.timeout=t.timeout,l.ontimeout=function(){e.emit("timeout")}),u.forEach(function(e){l.setRequestHeader(e[0],e[1])}),e._response=null,l.onreadystatechange=function(){switch(l.readyState){case h.LOADING:case h.DONE:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(l.onprogress=function(){e._onXHRProgress()}),l.onerror=function(){e._destroyed||e.emit("error",new Error("XHR error"))};try{l.send(a)}catch(t){return void n.nextTick(function(){e.emit("error",t)})}}}},d.prototype._onXHRProgress=function(){var e=this;a(e._xhr)&&!e._destroyed&&(e._response||e._connect(),e._response._onXHRProgress())},d.prototype._connect=function(){var e=this;e._destroyed||(e._response=new p(e._xhr,e._fetchResponse,e._mode),e._response.on("error",function(t){e.emit("error",t)}),e.emit("response",e._response))},d.prototype._write=function(e,t,n){this._body.push(e),n()},d.prototype.abort=d.prototype.destroy=function(){var e=this;e._destroyed=!0,e._response&&(e._response._destroyed=!0),e._xhr&&e._xhr.abort()},d.prototype.end=function(e,t,n){var r=this;"function"==typeof e&&(n=e,e=void 0),c.Writable.prototype.end.call(r,e,t,n)},d.prototype.flushHeaders=function(){},d.prototype.setTimeout=function(){},d.prototype.setNoDelay=function(){},d.prototype.setSocketKeepAlive=function(){};var m=["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,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer)},{"./capability":157,"./response":159,_process:113,buffer:4,inherits:106,"readable-stream":126,"to-arraybuffer":161}],159:[function(e,t,n){(function(t,r,o){var i=e("./capability"),a=e("inherits"),s=e("readable-stream"),u=n.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},l=n.IncomingMessage=function(e,n,r){function a(){l.read().then(function(e){u._destroyed||(e.done?u.push(null):(u.push(new o(e.value)),a()))}).catch(function(e){u.emit("error",e)})}var u=this;if(s.Readable.call(u),u._mode=r,u.headers={},u.rawHeaders=[],u.trailers={},u.rawTrailers=[],u.on("end",function(){t.nextTick(function(){u.emit("close")})}),"fetch"===r){u._fetchResponse=n,u.url=n.url,u.statusCode=n.status,u.statusMessage=n.statusText,n.headers.forEach(function(e,t){u.headers[t.toLowerCase()]=e,u.rawHeaders.push(t,e)});var l=n.body.getReader();a()}else if(u._xhr=e,u._pos=0,u.url=e.responseURL,u.statusCode=e.status,u.statusMessage=e.statusText,e.getAllResponseHeaders().split(/\r?\n/).forEach(function(e){var t=e.match(/^([^:]+):\s*(.*)/);if(t){var n=t[1].toLowerCase();"set-cookie"===n?(void 0===u.headers[n]&&(u.headers[n]=[]),u.headers[n].push(t[2])):void 0!==u.headers[n]?u.headers[n]+=", "+t[2]:u.headers[n]=t[2],u.rawHeaders.push(t[1],t[2])}}),u._charset="x-user-defined",!i.overrideMimeType){var c=u.rawHeaders["mime-type"];if(c){var f=c.match(/;\s*charset=([^;])(;|$)/);f&&(u._charset=f[1].toLowerCase())}u._charset||(u._charset="utf-8")}};a(l,s.Readable),l.prototype._read=function(){},l.prototype._onXHRProgress=function(){var e=this,t=e._xhr,n=null;switch(e._mode){case"text:vbarray":if(t.readyState!==u.DONE)break;try{n=new r.VBArray(t.responseBody).toArray()}catch(e){}if(null!==n){e.push(new o(n));break}case"text":try{n=t.responseText}catch(t){e._mode="text:vbarray";break}if(n.length>e._pos){var i=n.substr(e._pos);if("x-user-defined"===e._charset){for(var a=new o(i.length),s=0;s<i.length;s++)a[s]=255&i.charCodeAt(s);e.push(a)}else e.push(i,e._charset);e._pos=n.length}break;case"arraybuffer":if(t.readyState!==u.DONE||!t.response)break;n=t.response,e.push(new o(new Uint8Array(n)));break;case"moz-chunked-arraybuffer":if(n=t.response,t.readyState!==u.LOADING||!n)break;e.push(new o(new Uint8Array(n)));break;case"ms-stream":if(n=t.response,t.readyState!==u.LOADING)break;var l=new r.MSStreamReader;l.onprogress=function(){l.result.byteLength>e._pos&&(e.push(new o(new Uint8Array(l.result.slice(e._pos)))),e._pos=l.result.byteLength)},l.onload=function(){e.push(null)},l.readAsArrayBuffer(n)}e._xhr.readyState===u.DONE&&"ms-stream"!==e._mode&&e.push(null)}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer)},{"./capability":157,_process:113,buffer:4,inherits:106,"readable-stream":126}],160:[function(e,t,n){"use strict";function r(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function o(e){var t=r(e);if("string"!=typeof t&&(g.isEncoding===v||!v(e)))throw new Error("Unknown encoding: "+e);return t||e}function i(e){this.encoding=o(e);var t;switch(this.encoding){case"utf16le":this.text=c,this.end=f,t=4;break;case"utf8":this.fillLast=l,t=4;break;case"base64":this.text=p,this.end=h,t=3;break;default:return this.write=d,void(this.end=m)}this.lastNeed=0,this.lastTotal=0,this.lastChar=g.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:-1}function s(e,t,n){var r=t.length-1;if(r<n)return 0;var o=a(t[r]);return o>=0?(o>0&&(e.lastNeed=o-1),o):--r<n?0:(o=a(t[r]))>=0?(o>0&&(e.lastNeed=o-2),o):--r<n?0:(o=a(t[r]))>=0?(o>0&&(2===o?o=0:e.lastNeed=o-3),o):0}function u(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�".repeat(n);if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�".repeat(n+1);if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�".repeat(n+2)}}function l(e){var t=this.lastTotal-this.lastNeed,n=u(this,e,t);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function f(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function p(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function h(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function m(e){return e&&e.length?this.write(e):""}var g=e("safe-buffer").Buffer,v=g.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};n.StringDecoder=i,i.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},i.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�".repeat(this.lastTotal-this.lastNeed):t},i.prototype.text=function(e,t){var n=s(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},{"safe-buffer":144}],161:[function(e,t,n){var r=e("buffer").Buffer;t.exports=function(e){if(e instanceof Uint8Array){if(0===e.byteOffset&&e.byteLength===e.buffer.byteLength)return e.buffer;if("function"==typeof e.buffer.slice)return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}if(r.isBuffer(e)){for(var t=new Uint8Array(e.length),n=e.length,o=0;o<n;o++)t[o]=e[o];return t.buffer}throw new Error("Argument must be a Buffer")}},{buffer:4}],162:[function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function o(e,t,n){if(e&&a.isObject(e)&&e instanceof r)return e;var o=new r;return o.parse(e,t,n),o}var i=e("punycode"),a=e("./util");n.parse=o,n.resolve=function(e,t){return o(e,!1,!0).resolve(t)},n.resolveObject=function(e,t){return e?o(e,!1,!0).resolveObject(t):t},n.format=function(e){return a.isString(e)&&(e=o(e)),e instanceof r?e.format():r.prototype.format.call(e)},n.Url=r;var s=/^([a-z0-9.+-]+:)/i,u=/:[0-9]*$/,l=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["<",">",'"',"`"," ","\r","\n","\t"],f=["{","}","|","\\","^","`"].concat(c),p=["'"].concat(f),h=["%","/","?",";","#"].concat(p),d=["/","?","#"],m=/^[+a-z0-9A-Z_-]{0,63}$/,g=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,v={javascript:!0,"javascript:":!0},b={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},_=e("querystring");r.prototype.parse=function(e,t,n){if(!a.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var r=e.indexOf("?"),o=-1!==r&&r<e.indexOf("#")?"?":"#",u=e.split(o),c=/\\/g;u[0]=u[0].replace(c,"/");var f=e=u.join(o);if(f=f.trim(),!n&&1===e.split("#").length){var w=l.exec(f);if(w)return this.path=f,this.href=f,this.pathname=w[1],w[2]?(this.search=w[2],this.query=t?_.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var E=s.exec(f);if(E){var A=(E=E[0]).toLowerCase();this.protocol=A,f=f.substr(E.length)}if(n||E||f.match(/^\/\/[^@\/]+@[^@\/]+/)){var x="//"===f.substr(0,2);!x||E&&b[E]||(f=f.substr(2),this.slashes=!0)}if(!b[E]&&(x||E&&!y[E])){for(var C=-1,k=0;k<d.length;k++)-1!==(B=f.indexOf(d[k]))&&(-1===C||B<C)&&(C=B);var O,S;-1!==(S=-1===C?f.lastIndexOf("@"):f.lastIndexOf("@",C))&&(O=f.slice(0,S),f=f.slice(S+1),this.auth=decodeURIComponent(O)),C=-1;for(k=0;k<h.length;k++){var B=f.indexOf(h[k]);-1!==B&&(-1===C||B<C)&&(C=B)}-1===C&&(C=f.length),this.host=f.slice(0,C),f=f.slice(C),this.parseHost(),this.hostname=this.hostname||"";var D="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!D)for(var T=this.hostname.split(/\./),k=0,R=T.length;k<R;k++){var F=T[k];if(F&&!F.match(m)){for(var L="",M=0,U=F.length;M<U;M++)F.charCodeAt(M)>127?L+="x":L+=F[M];if(!L.match(m)){var N=T.slice(0,k),P=T.slice(k+1),q=F.match(g);q&&(N.push(q[1]),P.unshift(q[2])),P.length&&(f="/"+P.join(".")+f),this.hostname=N.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),D||(this.hostname=i.toASCII(this.hostname));var z=this.port?":"+this.port:"",I=this.hostname||"";this.host=I+z,this.href+=this.host,D&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==f[0]&&(f="/"+f))}if(!v[A])for(var k=0,R=p.length;k<R;k++){var j=p[k];if(-1!==f.indexOf(j)){var V=encodeURIComponent(j);V===j&&(V=escape(j)),f=f.split(j).join(V)}}var $=f.indexOf("#");-1!==$&&(this.hash=f.substr($),f=f.slice(0,$));var H=f.indexOf("?");if(-1!==H?(this.search=f.substr(H),this.query=f.substr(H+1),t&&(this.query=_.parse(this.query)),f=f.slice(0,H)):t&&(this.search="",this.query={}),f&&(this.pathname=f),y[A]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var z=this.pathname||"",K=this.search||"";this.path=z+K}return this.href=this.format(),this},r.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",o=!1,i="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&a.isObject(this.query)&&Object.keys(this.query).length&&(i=_.stringify(this.query));var s=this.search||i&&"?"+i||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||y[t])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),r&&"#"!==r.charAt(0)&&(r="#"+r),s&&"?"!==s.charAt(0)&&(s="?"+s),n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}),s=s.replace("#","%23"),t+o+n+s+r},r.prototype.resolve=function(e){return this.resolveObject(o(e,!1,!0)).format()},r.prototype.resolveObject=function(e){if(a.isString(e)){var t=new r;t.parse(e,!1,!0),e=t}for(var n=new r,o=Object.keys(this),i=0;i<o.length;i++){var s=o[i];n[s]=this[s]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var u=Object.keys(e),l=0;l<u.length;l++){var c=u[l];"protocol"!==c&&(n[c]=e[c])}return y[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!y[e.protocol]){for(var f=Object.keys(e),p=0;p<f.length;p++){var h=f[p];n[h]=e[h]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||b[e.protocol])n.pathname=e.pathname;else{for(A=(e.pathname||"").split("/");A.length&&!(e.host=A.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==A[0]&&A.unshift(""),A.length<2&&A.unshift(""),n.pathname=A.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var d=n.pathname||"",m=n.search||"";n.path=d+m}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var g=n.pathname&&"/"===n.pathname.charAt(0),v=e.host||e.pathname&&"/"===e.pathname.charAt(0),_=v||g||n.host&&e.pathname,w=_,E=n.pathname&&n.pathname.split("/")||[],A=e.pathname&&e.pathname.split("/")||[],x=n.protocol&&!y[n.protocol];if(x&&(n.hostname="",n.port=null,n.host&&(""===E[0]?E[0]=n.host:E.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===A[0]?A[0]=e.host:A.unshift(e.host)),e.host=null),_=_&&(""===A[0]||""===E[0])),v)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,E=A;else if(A.length)E||(E=[]),E.pop(),E=E.concat(A),n.search=e.search,n.query=e.query;else if(!a.isNullOrUndefined(e.search))return x&&(n.hostname=n.host=E.shift(),(D=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=D.shift(),n.host=n.hostname=D.shift())),n.search=e.search,n.query=e.query,a.isNull(n.pathname)&&a.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!E.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var C=E.slice(-1)[0],k=(n.host||e.host||E.length>1)&&("."===C||".."===C)||""===C,O=0,S=E.length;S>=0;S--)"."===(C=E[S])?E.splice(S,1):".."===C?(E.splice(S,1),O++):O&&(E.splice(S,1),O--);if(!_&&!w)for(;O--;O)E.unshift("..");!_||""===E[0]||E[0]&&"/"===E[0].charAt(0)||E.unshift(""),k&&"/"!==E.join("/").substr(-1)&&E.push("");var B=""===E[0]||E[0]&&"/"===E[0].charAt(0);if(x){n.hostname=n.host=B?"":E.length?E.shift():"";var D=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");D&&(n.auth=D.shift(),n.host=n.hostname=D.shift())}return(_=_||n.host&&E.length)&&!B&&E.unshift(""),E.length?n.pathname=E.join("/"):(n.pathname=null,n.path=null),a.isNull(n.pathname)&&a.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},r.prototype.parseHost=function(){var e=this.host,t=u.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},{"./util":163,punycode:114,querystring:117}],163:[function(e,t,n){"use strict";t.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},{}],164:[function(e,t,n){(function(e){function n(t){try{if(!e.localStorage)return!1}catch(e){return!1}var n=e.localStorage[t];return null!=n&&"true"===String(n).toLowerCase()}t.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],165:[function(e,t,n){n.baseChar=/[A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u0131\u0134-\u013E\u0141-\u0148\u014A-\u017E\u0180-\u01C3\u01CD-\u01F0\u01F4\u01F5\u01FA-\u0217\u0250-\u02A8\u02BB-\u02C1\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03CE\u03D0-\u03D6\u03DA\u03DC\u03DE\u03E0\u03E2-\u03F3\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E-\u0481\u0490-\u04C4\u04C7\u04C8\u04CB\u04CC\u04D0-\u04EB\u04EE-\u04F5\u04F8\u04F9\u0531-\u0556\u0559\u0561-\u0586\u05D0-\u05EA\u05F0-\u05F2\u0621-\u063A\u0641-\u064A\u0671-\u06B7\u06BA-\u06BE\u06C0-\u06CE\u06D0-\u06D3\u06D5\u06E5\u06E6\u0905-\u0939\u093D\u0958-\u0961\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\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-\u0A8B\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AE0\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B36-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB5\u0BB7-\u0BB9\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CDE\u0CE0\u0CE1\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D28\u0D2A-\u0D39\u0D60\u0D61\u0E01-\u0E2E\u0E30\u0E32\u0E33\u0E40-\u0E45\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD\u0EAE\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0F40-\u0F47\u0F49-\u0F69\u10A0-\u10C5\u10D0-\u10F6\u1100\u1102\u1103\u1105-\u1107\u1109\u110B\u110C\u110E-\u1112\u113C\u113E\u1140\u114C\u114E\u1150\u1154\u1155\u1159\u115F-\u1161\u1163\u1165\u1167\u1169\u116D\u116E\u1172\u1173\u1175\u119E\u11A8\u11AB\u11AE\u11AF\u11B7\u11B8\u11BA\u11BC-\u11C2\u11EB\u11F0\u11F9\u1E00-\u1E9B\u1EA0-\u1EF9\u1F00-\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\u2126\u212A\u212B\u212E\u2180-\u2182\u3041-\u3094\u30A1-\u30FA\u3105-\u312C\uAC00-\uD7A3]/,n.ideographic=/[\u3007\u3021-\u3029\u4E00-\u9FA5]/,n.letter=/[A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u0131\u0134-\u013E\u0141-\u0148\u014A-\u017E\u0180-\u01C3\u01CD-\u01F0\u01F4\u01F5\u01FA-\u0217\u0250-\u02A8\u02BB-\u02C1\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03CE\u03D0-\u03D6\u03DA\u03DC\u03DE\u03E0\u03E2-\u03F3\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E-\u0481\u0490-\u04C4\u04C7\u04C8\u04CB\u04CC\u04D0-\u04EB\u04EE-\u04F5\u04F8\u04F9\u0531-\u0556\u0559\u0561-\u0586\u05D0-\u05EA\u05F0-\u05F2\u0621-\u063A\u0641-\u064A\u0671-\u06B7\u06BA-\u06BE\u06C0-\u06CE\u06D0-\u06D3\u06D5\u06E5\u06E6\u0905-\u0939\u093D\u0958-\u0961\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\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-\u0A8B\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AE0\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B36-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB5\u0BB7-\u0BB9\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CDE\u0CE0\u0CE1\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D28\u0D2A-\u0D39\u0D60\u0D61\u0E01-\u0E2E\u0E30\u0E32\u0E33\u0E40-\u0E45\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD\u0EAE\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0F40-\u0F47\u0F49-\u0F69\u10A0-\u10C5\u10D0-\u10F6\u1100\u1102\u1103\u1105-\u1107\u1109\u110B\u110C\u110E-\u1112\u113C\u113E\u1140\u114C\u114E\u1150\u1154\u1155\u1159\u115F-\u1161\u1163\u1165\u1167\u1169\u116D\u116E\u1172\u1173\u1175\u119E\u11A8\u11AB\u11AE\u11AF\u11B7\u11B8\u11BA\u11BC-\u11C2\u11EB\u11F0\u11F9\u1E00-\u1E9B\u1EA0-\u1EF9\u1F00-\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\u2126\u212A\u212B\u212E\u2180-\u2182\u3007\u3021-\u3029\u3041-\u3094\u30A1-\u30FA\u3105-\u312C\u4E00-\u9FA5\uAC00-\uD7A3]/,n.combiningChar=/[\u0300-\u0345\u0360\u0361\u0483-\u0486\u0591-\u05A1\u05A3-\u05B9\u05BB-\u05BD\u05BF\u05C1\u05C2\u05C4\u064B-\u0652\u0670\u06D6-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0901-\u0903\u093C\u093E-\u094D\u0951-\u0954\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A02\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A70\u0A71\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0B01-\u0B03\u0B3C\u0B3E-\u0B43\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B82\u0B83\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C01-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C82\u0C83\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0D02\u0D03\u0D3E-\u0D43\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86-\u0F8B\u0F90-\u0F95\u0F97\u0F99-\u0FAD\u0FB1-\u0FB7\u0FB9\u20D0-\u20DC\u20E1\u302A-\u302F\u3099\u309A]/,n.digit=/[0-9\u0660-\u0669\u06F0-\u06F9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE7-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29]/,n.extender=/[\xB7\u02D0\u02D1\u0387\u0640\u0E46\u0EC6\u3005\u3031-\u3035\u309D\u309E\u30FC-\u30FE]/},{}],166:[function(e,t,n){t.exports=function(){for(var e={},t=0;t<arguments.length;t++){var n=arguments[t];for(var o in n)r.call(n,o)&&(e[o]=n[o])}return e};var r=Object.prototype.hasOwnProperty},{}],167:[function(e,t,n){"use strict";function r(e){return s(e,!0)}function o(e){var t=u.source+"(?:\\s*("+i(e)+")[ \\t\\n\\f\\r]*(?:"+c.join("|")+"))?";if(e.customAttrSurround){for(var n=[],r=e.customAttrSurround.length-1;r>=0;r--)n[r]="(?:("+e.customAttrSurround[r][0].source+")\\s*"+t+"\\s*("+e.customAttrSurround[r][1].source+"))";n.push("(?:"+t+")"),t="(?:"+n.join("|")+")"}return new RegExp("^\\s*"+t)}function i(e){return l.concat(e.customAttrAssign||[]).map(function(e){return"(?:"+e.source+")"}).join("|")}function a(e,t){function n(e){var t=e.match(p);if(t){var n={tagName:t[1],attrs:[]};e=e.slice(t[0].length);for(var r,o;!(r=e.match(h))&&(o=e.match(c));)e=e.slice(o[0].length),n.attrs.push(o);if(r)return n.unarySlash=r[1],n.rest=e.slice(r[0].length),n}}function r(e,n){var r;if(n){var o=n.toLowerCase();for(r=l.length-1;r>=0&&l[r].tag.toLowerCase()!==o;r--);}else r=0;if(r>=0){for(var a=l.length-1;a>=r;a--)t.end&&t.end(l[a].tag,l[a].attrs,a>r||!e);l.length=r,i=r&&l[r-1].tag}else"br"===n.toLowerCase()?t.start&&t.start(n,[],!0,""):"p"===n.toLowerCase()&&(t.start&&t.start(n,[],!1,"",!0),t.end&&t.end(n,[]))}for(var i,a,s,u,l=[],c=o(t);e;){if(a=e,i&&w(i)){var f=i.toLowerCase(),x=A[f]||(A[f]=new RegExp("([\\s\\S]*?)</"+f+"[^>]*>","i"));e=e.replace(x,function(e,n){return"script"!==f&&"style"!==f&&"noscript"!==f&&(n=n.replace(/<!--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),t.chars&&t.chars(n),""}),r("</"+f+">",f)}else{var C=e.indexOf("<");if(0===C){if(/^<!--/.test(e)){var k=e.indexOf("--\x3e");if(k>=0){t.comment&&t.comment(e.substring(4,k)),e=e.substring(k+3),s="";continue}}if(/^<!\[/.test(e)){var O=e.indexOf("]>");if(O>=0){t.comment&&t.comment(e.substring(2,O+1),!0),e=e.substring(O+2),s="";continue}}var S=e.match(m);if(S){t.doctype&&t.doctype(S[0]),e=e.substring(S[0].length),s="";continue}var B=e.match(d);if(B){e=e.substring(B[0].length),B[0].replace(d,r),s="/"+B[1].toLowerCase();continue}var D=n(e);if(D){e=D.rest,function(e){var n=e.tagName,o=e.unarySlash;if(t.html5&&"p"===i&&E(n)&&r("",i),!t.html5)for(;i&&b(i);)r("",i);y(n)&&i===n&&r("",n);var a=v(n)||"html"===n&&"head"===i||!!o,s=e.attrs.map(function(e){function n(t){return s=e[t],void 0!==(o=e[t+1])?'"':void 0!==(o=e[t+2])?"'":(void 0===(o=e[t+3])&&_(r)&&(o=r),"")}var r,o,i,a,s,u;g&&-1===e[0].indexOf('""')&&(""===e[3]&&delete e[3],""===e[4]&&delete e[4],""===e[5]&&delete e[5]);var l=1;if(t.customAttrSurround)for(var c=0,f=t.customAttrSurround.length;c<f;c++,l+=7)if(r=e[l+1]){u=n(l+2),i=e[l],a=e[l+6];break}return!r&&(r=e[l])&&(u=n(l+1)),{name:r,value:o,customAssign:s||"=",customOpen:i||"",customClose:a||"",quote:u||""}});a||(l.push({tag:n,attrs:s}),i=n,o=""),t.start&&t.start(n,s,a,o)}(D),s=D.tagName.toLowerCase();continue}}var T;C>=0?(T=e.substring(0,C),e=e.substring(C)):(T=e,e="");var R=n(e);u=R?R.tagName:(R=e.match(d))?"/"+R[1]:"",t.chars&&t.chars(T,s,u),s=""}if(e===a)throw new Error("Parse Error: "+e)}t.partialMarkup||r()}var s=e("./utils").createMapFromString,u=/([^\s"'<>/=]+)/,l=[/=/],c=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^ \t\n\f\r"'`=<>]+)/.source],f=function(){var t=e("ncname").source.slice(1,-1);return"((?:"+t+"\\:)?"+t+")"}(),p=new RegExp("^<"+f),h=/^\s*(\/?)>/,d=new RegExp("^<\\/"+f+"[^>]*>"),m=/^<!DOCTYPE [^>]+>/i,g=!1;"x".replace(/x(.)?/g,function(e,t){g=""===t});var v=r("area,base,basefont,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),b=r("a,abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,noscript,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,svg,textarea,tt,u,var"),y=r("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),_=r("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),w=r("script,style"),E=r("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),A={};n.HTMLParser=a,n.HTMLtoXML=function(e){var t="";return new a(e,{start:function(e,n,r){t+="<"+e;for(var o=0,i=n.length;o<i;o++)t+=" "+n[o].name+'="'+(n[o].value||"").replace(/"/g,"&#34;")+'"';t+=(r?"/":"")+">"},end:function(e){t+="</"+e+">"},chars:function(e){t+=e},comment:function(e){t+="\x3c!--"+e+"--\x3e"},ignore:function(e){t+=e}}),t},n.HTMLtoDOM=function(e,t){var n={html:!0,head:!0,body:!0,title:!0},r={link:"head",base:"head"};t?t=t.ownerDocument||t.getOwnerDocument&&t.getOwnerDocument()||t:"undefined"!=typeof DOMDocument?t=new DOMDocument:"undefined"!=typeof document&&document.implementation&&document.implementation.createDocument?t=document.implementation.createDocument("","",null):"undefined"!=typeof ActiveX&&(t=new ActiveXObject("Msxml.DOMDocument"));var o=[];if(!(t.documentElement||t.getDocumentElement&&t.getDocumentElement())&&t.createElement&&function(){var e=t.createElement("html"),n=t.createElement("head");n.appendChild(t.createElement("title")),e.appendChild(n),e.appendChild(t.createElement("body")),t.appendChild(e)}(),t.getElementsByTagName)for(var i in n)n[i]=t.getElementsByTagName(i)[0];var s=n.body;return new a(e,{start:function(e,i,a){if(n[e])s=n[e];else{var u=t.createElement(e);for(var l in i)u.setAttribute(i[l].name,i[l].value);r[e]&&"boolean"!=typeof n[r[e]]?n[r[e]].appendChild(u):s&&s.appendChild&&s.appendChild(u),a||(o.push(u),s=u)}},end:function(){o.length-=1,s=o[o.length-1]},chars:function(e){s.appendChild(t.createTextNode(e))},comment:function(){},ignore:function(){}}),t}},{"./utils":169,ncname:109}],168:[function(e,t,n){"use strict";function r(){}function o(){}r.prototype.sort=function(e,t){t=t||0;for(var n=0,r=this.keys.length;n<r;n++){var o=this.keys[n],i=o.slice(1),a=e.indexOf(i,t);if(-1!==a){do{a!==t&&(e.splice(a,1),e.splice(t,0,i)),t++}while(-1!==(a=e.indexOf(i,t)));return this[o].sort(e,t)}}return e},o.prototype={add:function(e){var t=this;e.forEach(function(n){var r="$"+n;t[r]||(t[r]=[],t[r].processed=0),t[r].push(e)})},createSorter:function(){var e=this,t=new r;return t.keys=Object.keys(e).sort(function(t,n){var r=e[t].length,o=e[n].length;return r<o?1:r>o?-1:t<n?-1:t>n?1:0}).filter(function(n){if(e[n].processed<e[n].length){var r=n.slice(1),i=new o;return e[n].forEach(function(t){for(var n;-1!==(n=t.indexOf(r));)t.splice(n,1);t.forEach(function(t){e["$"+t].processed++}),i.add(t.slice(0))}),t[n]=i.createSorter(),!0}return!1}),t}},t.exports=o},{}],169:[function(e,t,n){"use strict";function r(e,t){var n={};return e.forEach(function(e){n[e]=1}),t?function(e){return 1===n[e.toLowerCase()]}:function(e){return 1===n[e]}}n.createMap=r,n.createMapFromString=function(e,t){return r(e.split(/,/),t)}},{}],"html-minifier":[function(e,t,n){"use strict";function r(e){return e&&e.replace(/\s+/g,function(e){return"\t"===e?"\t":e.replace(/(^|\xA0+)[^\xA0]+/g,"$1 ")})}function o(e,t,n,o,i){var a="",s="";return t.preserveLineBreaks&&(e=e.replace(/^\s*?[\n\r]\s*/,function(){return a="\n",""}).replace(/\s*?[\n\r]\s*$/,function(){return s="\n",""})),n&&(e=e.replace(/^\s+/,function(e){var n=!a&&t.conservativeCollapse;return n&&"\t"===e?"\t":e.replace(/^[^\xA0]+/,"").replace(/(\xA0+)[^\xA0]+/g,"$1 ")||(n?" ":"")})),o&&(e=e.replace(/\s+$/,function(e){var n=!s&&t.conservativeCollapse;return n&&"\t"===e?"\t":e.replace(/[^\xA0]+(\xA0+)/g," $1").replace(/[^\xA0]+$/,"")||(n?" ":"")})),i&&(e=r(e)),a+e+s}function i(e,t,n,r){var i=t&&!re(t);i&&!r.collapseInlineTagWhitespace&&(i="/"===t.charAt(0)?!te(t.slice(1)):!ne(t));var a=n&&!re(n);return a&&!r.collapseInlineTagWhitespace&&(a="/"===n.charAt(0)?!ne(n.slice(1)):!te(n)),o(e,r,i,a,t&&n)}function a(e){return/^\[if\s[^\]]+]|\[endif]$/.test(e)}function s(e,t){for(var n=0,r=t.ignoreCustomComments.length;n<r;n++)if(t.ignoreCustomComments[n].test(e))return!0;return!1}function u(e,t){var n=t.customEventAttributes;if(n){for(var r=n.length;r--;)if(n[r].test(e))return!0;return!1}return/^on[a-z]{3,}$/.test(e)}function l(e){return/^[^ \t\n\f\r"'`=<>]+$/.test(e)}function c(e,t){for(var n=e.length;n--;)if(e[n].name.toLowerCase()===t)return!0;return!1}function f(e,t,n,r){return n=n?X(n.toLowerCase()):"","script"===e&&"language"===t&&"javascript"===n||"form"===e&&"method"===t&&"get"===n||"input"===e&&"type"===t&&"text"===n||"script"===e&&"charset"===t&&!c(r,"src")||"a"===e&&"name"===t&&c(r,"id")||"area"===e&&"shape"===t&&"rect"===n}function p(e){return""===(e=X(e.split(/;/,2)[0]).toLowerCase())||oe(e)}function h(e,t){if("script"!==e)return!1;for(var n=0,r=t.length;n<r;n++)if("type"===t[n].name.toLowerCase())return p(t[n].value);return!0}function d(e){return""===(e=X(e).toLowerCase())||"text/css"===e}function m(e,t){if("style"!==e)return!1;for(var n=0,r=t.length;n<r;n++)if("type"===t[n].name.toLowerCase())return d(t[n].value);return!0}function g(e,t){return ie(e)||"draggable"===e&&!ae(t)}function v(e,t){return/^(?:a|area|link|base)$/.test(t)&&"href"===e||"img"===t&&/^(?:src|longdesc|usemap)$/.test(e)||"object"===t&&/^(?:classid|codebase|data|usemap)$/.test(e)||"q"===t&&"cite"===e||"blockquote"===t&&"cite"===e||("ins"===t||"del"===t)&&"cite"===e||"form"===t&&"action"===e||"input"===t&&("src"===e||"usemap"===e)||"head"===t&&"profile"===e||"script"===t&&("src"===e||"for"===e)}function b(e,t){return/^(?:a|area|object|button)$/.test(t)&&"tabindex"===e||"input"===t&&("maxlength"===e||"tabindex"===e)||"select"===t&&("size"===e||"tabindex"===e)||"textarea"===t&&/^(?:rows|cols|tabindex)$/.test(e)||"colgroup"===t&&"span"===e||"col"===t&&"span"===e||("th"===t||"td"===t)&&("rowspan"===e||"colspan"===e)}function y(e,t,n){if("link"!==e)return!1;for(var r=0,o=t.length;r<o;r++)if("rel"===t[r].name&&t[r].value===n)return!0}function _(e,t,n){return"media"===n&&(y(e,t,"stylesheet")||m(e,t))}function w(e,t){return"srcset"===e&&se(t)}function E(e,t,n,o,i){if(n&&u(t,o))return n=X(n).replace(/^javascript:\s*/i,""),o.minifyJS(n,!0);if("class"===t)return n=X(n),n=o.sortClassName?o.sortClassName(n):r(n);if(v(t,e))return n=X(n),y(e,i,"canonical")?n:o.minifyURLs(n);if(b(t,e))return X(n);if("style"===t)return(n=X(n))&&(/;$/.test(n)&&!/&#?[0-9a-zA-Z]+;$/.test(n)&&(n=n.replace(/\s*;$/,"")),n=C(o.minifyCSS(x(n)))),n;if(w(t,e))n=X(n).split(/\s+,\s*|\s*,\s+/).map(function(e){var t=e,n="",r=e.match(/\s+([1-9][0-9]*w|[0-9]+(?:\.[0-9]+)?x)$/);if(r){t=t.slice(0,-r[0].length);var i=+r[1].slice(0,-1),a=r[1].slice(-1);1===i&&"x"===a||(n=" "+i+a)}return o.minifyURLs(t)+n}).join(", ");else if(A(e,i)&&"content"===t)n=n.replace(/\s+/g,"").replace(/[0-9]+\.[0-9]+/g,function(e){return(+e).toString()});else if(n&&o.customAttrCollapse&&o.customAttrCollapse.test(t))n=n.replace(/\n+|\r+|\s{2,}/g,"");else if("script"===e&&"type"===t)n=X(n.replace(/\s*;\s*/g,";"));else if(_(e,i,t))return n=X(n),O(o.minifyCSS(k(n)));return n}function A(e,t){if("meta"!==e)return!1;for(var n=0,r=t.length;n<r;n++)if("name"===t[n].name&&"viewport"===t[n].value)return!0}function x(e){return"*{"+e+"}"}function C(e){var t=e.match(/^\*\{([\s\S]*)\}$/);return t?t[1]:e}function k(e){return"@media "+e+"{a{top:0}}"}function O(e){var t=e.match(/^@media ([\s\S]*?)\s*{[\s\S]*}$/);return t?t[1]:e}function S(e,t){return t.processConditionalComments?e.replace(/^(\[if\s[^\]]+]>)([\s\S]*?)(<!\[endif])$/,function(e,n,r,o){return n+$(r,t,!0)+o}):e}function B(e,t,n){for(var r=0,o=n.length;r<o;r++)if("type"===n[r].name.toLowerCase()&&t.processScripts.indexOf(n[r].value)>-1)return $(e,t);return e}function D(e,t){switch(e){case"html":case"head":return!0;case"body":return!ce(t);case"colgroup":return"col"===t;case"tbody":return"tr"===t}return!1}function T(e,t){switch(t){case"colgroup":return"colgroup"===e;case"tbody":return be(e)}return!1}function R(e,t){switch(e){case"html":case"head":case"body":case"colgroup":case"caption":return!0;case"li":case"optgroup":case"tr":return t===e;case"dt":case"dd":return fe(t);case"p":return pe(t);case"rb":case"rt":case"rp":return de(t);case"rtc":return me(t);case"option":return ge(t);case"thead":case"tbody":return ve(t);case"tfoot":return"tbody"===t;case"td":case"th":return ye(t)}return!1}function F(e,t,n,r){return!(n&&!/^\s*$/.test(n))&&("function"==typeof r.removeEmptyAttributes?r.removeEmptyAttributes(t,e):"input"===e&&"value"===t||Ce.test(t))}function L(e,t){for(var n=t.length-1;n>=0;n--)if(t[n].name===e)return!0;return!1}function M(e,t){switch(e){case"textarea":return!1;case"audio":case"script":case"video":if(L("src",t))return!1;break;case"iframe":if(L("src",t)||L("srcdoc",t))return!1;break;case"object":if(L("data",t))return!1;break;case"applet":if(L("code",t))return!1}return!0}function U(e){return!/^(?:script|style|pre|textarea)$/.test(e)}function N(e){return!/^(?:pre|textarea)$/.test(e)}function P(e,t,n,r){var o=r.caseSensitive?e.name:e.name.toLowerCase(),i=e.value;if(r.decodeEntities&&i&&(i=G(i,{isAttributeValue:!0})),!(r.removeRedundantAttributes&&f(n,o,i,t)||r.removeScriptTypeAttributes&&"script"===n&&"type"===o&&p(i)||r.removeStyleLinkTypeAttributes&&("style"===n||"link"===n)&&"type"===o&&d(i)||(i=E(n,o,i,r,t),r.removeEmptyAttributes&&F(n,o,i,r))))return r.decodeEntities&&i&&(i=i.replace(/&(#?[0-9a-zA-Z]+;)/g,"&amp;$1")),{attr:e,name:o,value:i}}function q(e,t,n,r,o){var i,a,s=e.name,u=e.value,c=e.attr,f=c.quote;return void 0===u||n.removeAttributeQuotes&&!~u.indexOf(o)&&l(u)?a=!r||t||/\/$/.test(u)?u+" ":u:(n.preventAttributesEscaping||(u='"'===(f=void 0===n.quoteCharacter?(u.match(/'/g)||[]).length<(u.match(/"/g)||[]).length?"'":'"':"'"===n.quoteCharacter?"'":'"')?u.replace(/"/g,"&#34;"):u.replace(/'/g,"&#39;")),a=f+u+f,r||n.removeTagWhitespace||(a+=" ")),void 0===u||n.collapseBooleanAttributes&&g(s.toLowerCase(),u.toLowerCase())?(i=s,r||(i+=" ")):i=s+c.customAssign+a,c.customOpen+i+c.customClose}function z(e){return e}function I(e){if(["html5","includeAutoGeneratedTags"].forEach(function(t){t in e||(e[t]=!0)}),"function"!=typeof e.log&&(e.log=z),e.canCollapseWhitespace||(e.canCollapseWhitespace=U),e.canTrimWhitespace||(e.canTrimWhitespace=N),"ignoreCustomComments"in e||(e.ignoreCustomComments=[/^!/]),"ignoreCustomFragments"in e||(e.ignoreCustomFragments=[/<%[\s\S]*?%>/,/<\?[\s\S]*?\?>/]),e.minifyURLs||(e.minifyURLs=z),"function"!=typeof e.minifyURLs){var t=e.minifyURLs;"string"==typeof t?t={site:t}:"object"!=typeof t&&(t={}),e.minifyURLs=function(n){try{return W.relate(n,t)}catch(t){return e.log(t),n}}}if(e.minifyJS||(e.minifyJS=z),"function"!=typeof e.minifyJS){var n=e.minifyJS;"object"!=typeof n&&(n={}),(n.parse||(n.parse={})).bare_returns=!1,e.minifyJS=function(t,r){var o=t.match(/^\s*<!--.*/),i=o?t.slice(o[0].length).replace(/\n\s*-->\s*$/,""):t;n.parse.bare_returns=r;var a=Z.minify(i,n);return a.error?(e.log(a.error),t):a.code.replace(/;$/,"")}}if(e.minifyCSS||(e.minifyCSS=z),"function"!=typeof e.minifyCSS){var r=e.minifyCSS;"object"!=typeof r&&(r={}),e.minifyCSS=function(t){t=t.replace(/(url\s*\(\s*)("|'|)(.*?)\2(\s*\))/gi,function(t,n,r,o,i){return n+r+e.minifyURLs(o)+r+i});try{return new K(r).minify(t).styles}catch(n){return e.log(n),t}}}}function j(e){var t;do{t=Math.random().toString(36).replace(/^0\.[0-9]*/,"")}while(~e.indexOf(t));return t}function V(e,t,n,r){function o(e){return e.map(function(e){return t.caseSensitive?e.name:e.name.toLowerCase()})}function i(e,t){return!t||-1===e.indexOf(t)}function a(e){return i(e,n)&&i(e,r)}function s(e){var n,r;new Y(e,{start:function(e,i){u&&(u[e]||(u[e]=new Q),u[e].add(o(i).filter(a)));for(var s=0,c=i.length;s<c;s++){var f=i[s];l&&"class"===(t.caseSensitive?f.name:f.name.toLowerCase())?l.add(X(f.value).split(/[ \t\n\f\r]+/).filter(a)):t.processScripts&&"type"===f.name.toLowerCase()&&(n=e,r=f.value)}},end:function(){n=""},chars:function(e){t.processScripts&&ke(n)&&t.processScripts.indexOf(r)>-1&&s(e)}})}var u=t.sortAttributes&&Object.create(null),l=t.sortClassName&&new Q,c=t.log;if(t.log=null,t.sortAttributes=!1,t.sortClassName=!1,s($(e,t)),t.log=c,u){var f=Object.create(null);for(var p in u)f[p]=u[p].createSorter();t.sortAttributes=function(e,t){var n=f[e];if(n){var r=Object.create(null),i=o(t);i.forEach(function(e,n){(r[e]||(r[e]=[])).push(t[n])}),n.sort(i).forEach(function(e,n){t[n]=r[e].shift()})}}}if(l){var h=l.createSorter();t.sortClassName=function(e){return h.sort(e.split(/[ \n\f\r]+/)).join(" ")}}}function $(e,t,n){function u(e){return e.replace(E,function(e,t,n){var r=W[+n];return r[1]+w+n+r[2]})}function l(e,n){return t.canCollapseWhitespace(e,n,U)}function c(e,n){return t.canTrimWhitespace(e,n,N)}function f(){for(var e=A.length-1;e>0&&!/^<[^/!]/.test(A[e]);)e--;A.length=Math.max(0,e)}function p(){for(var e=A.length-1;e>0&&!/^<\//.test(A[e]);)e--;A.length=Math.max(0,e)}function d(e,n){for(var r=null;e>=0&&c(r);e--){var o=A[e],a=o.match(/^<\/([\w:-]+)>$/);if(a)r=a[1];else if(/>$/.test(o)||(A[e]=i(o,null,n,t)))break}}function g(e){var t=A.length-1;if(A.length>1){var n=A[A.length-1];/^(?:<!|$)/.test(n)&&-1===n.indexOf(_)&&t--}d(t,e)}var v=[];I(t=t||{}),t.collapseWhitespace&&(e=o(e,t,!0,!0));var b,y,_,w,E,A=[],x="",C="",k=[],O=[],F=[],L="",z="",$=Date.now(),K=[],W=[];e=e.replace(/<!-- htmlmin:ignore -->([\s\S]*?)<!-- htmlmin:ignore -->/g,function(n,r){if(!_){_=j(e);var o=new RegExp("^"+_+"([0-9]+)$");t.ignoreCustomComments?t.ignoreCustomComments.push(o):t.ignoreCustomComments=[o]}var i="\x3c!--"+_+K.length+"--\x3e";return K.push(r),i});var Q=t.ignoreCustomFragments.map(function(e){return e.source});if(Q.length){var Z=new RegExp("\\s*(?:"+Q.join("|")+")+\\s*","g");e=e.replace(Z,function(n){if(!w){w=j(e),E=new RegExp("(\\s*)"+w+"([0-9]+)(\\s*)","g");var r=t.minifyCSS;r&&(t.minifyCSS=function(e){return r(u(e))});var o=t.minifyJS;o&&(t.minifyJS=function(e,t){return o(u(e),t)})}var i=w+W.length;return W.push(/^(\s*)[\s\S]*?(\s*)$/.exec(n)),"\t"+i+"\t"})}(t.sortAttributes&&"function"!=typeof t.sortAttributes||t.sortClassName&&"function"!=typeof t.sortClassName)&&V(e,t,_,w),new Y(e,{partialMarkup:n,html5:t.html5,start:function(e,n,r,o,i){var a=e.toLowerCase();if("svg"===a){v.push(t);var s={};for(var u in t)s[u]=t[u];s.keepClosingSlash=!0,s.caseSensitive=!0,t=s}e=t.caseSensitive?e:a,C=e,b=e,ne(e)||(x=""),y=!1,k=n;var h=t.removeOptionalTags;if(h){var d=xe(e);d&&D(L,e)&&f(),L="",d&&R(z,e)&&(p(),h=!T(z,e)),z=""}t.collapseWhitespace&&(O.length||g(e),c(e,n)&&!O.length||O.push(e),l(e,n)&&!F.length||F.push(e));var m="<"+e,_=o&&t.keepClosingSlash;A.push(m),t.sortAttributes&&t.sortAttributes(e,n);for(var E=[],S=n.length,B=!0;--S>=0;){var M=P(n[S],n,e,t);M&&(E.unshift(q(M,_,t,B,w)),B=!1)}E.length>0?(A.push(" "),A.push.apply(A,E)):h&&ue(e)&&(L=e),A.push(A.pop()+(_?"/":"")+">"),i&&!t.includeAutoGeneratedTags&&(f(),L="")},end:function(e,n,r){var o=e.toLowerCase();"svg"===o&&(t=v.pop()),e=t.caseSensitive?e:o,t.collapseWhitespace&&(O.length?e===O[O.length-1]&&O.pop():g("/"+e),F.length&&e===F[F.length-1]&&F.pop());var i=!1;e===C&&(C="",i=!y),t.removeOptionalTags&&(i&&_e(L)&&f(),L="",!xe(e)||!z||Ae(z)||"p"===z&&he(e)||p(),z=le(e)?e:""),t.removeEmptyElements&&i&&M(e,n)?(f(),L="",z=""):(r&&!t.includeAutoGeneratedTags?z="":A.push("</"+e+">"),b="/"+e,te(e)?i&&(x+="|"):x="")},chars:function(e,n,r){if(n=""===n?"comment":n,r=""===r?"comment":r,t.decodeEntities&&e&&!ke(C)&&(e=G(e)),t.collapseWhitespace){if(!O.length){if("comment"===n){var a=A[A.length-1];if(-1===a.indexOf(_)&&(a||(n=b),A.length>1&&(!a||!t.conservativeCollapse&&/ $/.test(x)))){var s=A.length-2;A[s]=A[s].replace(/\s+$/,function(t){return e=t+e,""})}}if(n)if("/nobr"===n||"wbr"===n){if(/^\s/.test(e)){for(var u=A.length-1;u>0&&0!==A[u].lastIndexOf("<"+n);)u--;d(u-1,"br")}}else ne("/"===n.charAt(0)?n.slice(1):n)&&(e=o(e,t,/(?:^|\s)$/.test(x)));!(e=n||r?i(e,n,r,t):o(e,t,!0,!0))&&/\s$/.test(x)&&n&&"/"===n.charAt(0)&&d(A.length-1,r)}F.length||"html"===r||n&&r||(e=o(e,t,!1,!1,!0))}t.processScripts&&ke(C)&&(e=B(e,t,k)),h(C,k)&&(e=t.minifyJS(e)),m(C,k)&&(e=t.minifyCSS(e)),t.removeOptionalTags&&e&&(("html"===L||"body"===L&&!/^\s/.test(e))&&f(),L="",(we(z)||Ee(z)&&!/^\s/.test(e))&&p(),z=""),b=/^\s*$/.test(e)?n:"comment",t.decodeEntities&&e&&!ke(C)&&(e=e.replace(/&(#?[0-9a-zA-Z]+;)/g,"&amp$1").replace(/</g,"&lt;")),x+=e,e&&(y=!0),A.push(e)},comment:function(e,n){var r=n?"<!":"\x3c!--",o=n?">":"--\x3e";e=a(e)?r+S(e,t)+o:t.removeComments?s(e,t)?"\x3c!--"+e+"--\x3e":"":r+e+o,t.removeOptionalTags&&e&&(L="",z=""),A.push(e)},doctype:function(e){A.push(t.useShortDoctype?"<!DOCTYPE html>":r(e))},customAttrAssign:t.customAttrAssign,customAttrSurround:t.customAttrSurround}),t.removeOptionalTags&&(_e(L)&&f(),z&&!Ae(z)&&p()),t.collapseWhitespace&&g("br");var J=H(A,t);return E&&(J=J.replace(E,function(e,n,r,i){var a=W[+r][0];return t.collapseWhitespace?("\t"!==n&&(a=n+a),"\t"!==i&&(a+=i),o(a,{preserveLineBreaks:t.preserveLineBreaks,conservativeCollapse:!t.trimCustomFragments},/^\s/.test(a),/\s$/.test(a))):a})),_&&(J=J.replace(new RegExp("\x3c!--"+_+"([0-9]+)--\x3e","g"),function(e,t){return K[+t]})),t.log("minified in: "+(Date.now()-$)+"ms"),J}function H(e,t){var n,r=t.maxLineLength;if(r){for(var i,a=[],s="",u=0,l=e.length;u<l;u++)i=e[u],s.length+i.length<r?s+=i:(a.push(s.replace(/^\n/,"")),s=i);a.push(s),n=a.join("\n")}else n=e.join("");return t.collapseWhitespace?o(n,t,!0,!0):n}var K=e("clean-css"),G=e("he").decode,Y=e("./htmlparser").HTMLParser,W=e("relateurl"),Q=e("./tokenchain"),Z=e("uglify-js"),J=e("./utils"),X=String.prototype.trim?function(e){return"string"!=typeof e?e:e.trim()}:function(e){return"string"!=typeof e?e:e.replace(/^\s+/,"").replace(/\s+$/,"")},ee=J.createMapFromString,te=ee("a,abbr,acronym,b,bdi,bdo,big,button,cite,code,del,dfn,em,font,i,ins,kbd,mark,math,nobr,q,rt,rp,s,samp,small,span,strike,strong,sub,sup,svg,time,tt,u,var"),ne=ee("a,abbr,acronym,b,big,del,em,font,i,ins,kbd,mark,nobr,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var"),re=ee("comment,img,input,wbr"),oe=J.createMap(["text/javascript","text/ecmascript","text/jscript","application/javascript","application/x-javascript","application/ecmascript"]),ie=ee("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),ae=ee("true,false"),se=ee("img,source"),ue=ee("html,head,body,colgroup,tbody"),le=ee("html,head,body,li,dt,dd,p,rb,rt,rtc,rp,optgroup,option,colgroup,caption,thead,tbody,tfoot,tr,td,th"),ce=ee("meta,link,script,style,template,noscript"),fe=ee("dt,dd"),pe=ee("address,article,aside,blockquote,details,div,dl,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,main,menu,nav,ol,p,pre,section,table,ul"),he=ee("a,audio,del,ins,map,noscript,video"),de=ee("rb,rt,rtc,rp"),me=ee("rb,rtc,rp"),ge=ee("option,optgroup"),ve=ee("tbody,tfoot"),be=ee("thead,tbody,tfoot"),ye=ee("td,th"),_e=ee("html,head,body"),we=ee("html,body"),Ee=ee("head,colgroup,caption"),Ae=ee("dt,thead"),xe=ee("a,abbr,acronym,address,applet,area,article,aside,audio,b,base,basefont,bdi,bdo,bgsound,big,blink,blockquote,body,br,button,canvas,caption,center,cite,code,col,colgroup,command,content,data,datalist,dd,del,details,dfn,dialog,dir,div,dl,dt,element,em,embed,fieldset,figcaption,figure,font,footer,form,frame,frameset,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,i,iframe,image,img,input,ins,isindex,kbd,keygen,label,legend,li,link,listing,main,map,mark,marquee,menu,menuitem,meta,meter,multicol,nav,nobr,noembed,noframes,noscript,object,ol,optgroup,option,output,p,param,picture,plaintext,pre,progress,q,rp,rt,rtc,ruby,s,samp,script,section,select,shadow,small,source,spacer,span,strike,strong,style,sub,summary,sup,table,tbody,td,template,textarea,tfoot,th,thead,time,title,tr,track,tt,u,ul,var,video,wbr,xmp"),Ce=new RegExp("^(?:class|id|style|title|lang|dir|on(?:focus|blur|change|click|dblclick|mouse(?:down|up|over|move|out)|key(?:press|down|up)))$"),ke=ee("script,style");n.minify=function(e,t){return $(e,t)}},{"./htmlparser":167,"./tokenchain":168,"./utils":169,"clean-css":6,he:103,relateurl:129,"uglify-js":"uglify-js"}],"uglify-js":[function(e,t,n){(function(e){!function(t){"use strict";function n(e){return e.split("")}function r(e,t){return t.indexOf(e)>=0}function o(e,t){for(var n=0,r=t.length;n<r;++n)if(e(t[n]))return t[n]}function i(e,t){if(t<=0)return"";if(1==t)return e;var n=i(e,t>>1);return n+=n,1&t&&(n+=e),n}function a(e){Object.defineProperty(e.prototype,"stack",{get:function(){var e=new Error(this.message);e.name=this.name;try{throw e}catch(e){return e.stack}}})}function s(e,t){this.message=e,this.defs=t}function u(e,t,n){!0===e&&(e={});var r=e||{};if(n)for(var o in r)E(r,o)&&!E(t,o)&&s.croak("`"+o+"` is not a supported option",t);for(var o in t)E(t,o)&&(r[o]=e&&E(e,o)?e[o]:t[o]);return r}function l(e,t){var n=0;for(var r in t)E(t,r)&&(e[r]=t[r],n++);return n}function c(){}function f(){return!1}function p(){return!0}function h(){return this}function d(){return null}function m(e,t){e.indexOf(t)<0&&e.push(t)}function g(e,t){return e.replace(/\{(.+?)\}/g,function(e,n){return t&&t[n]})}function v(e,t){for(var n=e.length;--n>=0;)e[n]===t&&e.splice(n,1)}function b(e,t){function n(e,n){for(var r=[],o=0,i=0,a=0;o<e.length&&i<n.length;)t(e[o],n[i])<=0?r[a++]=e[o++]:r[a++]=n[i++];return o<e.length&&r.push.apply(r,e.slice(o)),i<n.length&&r.push.apply(r,n.slice(i)),r}function r(e){if(e.length<=1)return e;var t=Math.floor(e.length/2),o=e.slice(0,t),i=e.slice(t);return o=r(o),i=r(i),n(o,i)}return e.length<2?e.slice():r(e)}function y(e){function t(e){return JSON.stringify(e).replace(/[\u2028\u2029]/g,function(e){switch(e){case"\u2028":return"\\u2028";case"\u2029":return"\\u2029"}return e})}function n(e){if(1==e.length)return r+="return str === "+t(e[0])+";";r+="switch(str){";for(var n=0;n<e.length;++n)r+="case "+t(e[n])+":";r+="return true}return false;"}e instanceof Array||(e=e.split(" "));var r="",o=[];e:for(a=0;a<e.length;++a){for(var i=0;i<o.length;++i)if(o[i][0].length==e[a].length){o[i].push(e[a]);continue e}o.push([e[a]])}if(o.length>3){o.sort(function(e,t){return t.length-e.length}),r+="switch(str.length){";for(var a=0;a<o.length;++a){var s=o[a];r+="case "+s[0].length+":",n(s)}r+="}"}else n(e);return new Function("str",r)}function _(e,t){for(var n=e.length;--n>=0;)if(!t(e[n]))return!1;return!0}function w(){this._values=Object.create(null),this._size=0}function E(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function A(e){for(var t,n=e.parent(-1),r=0;t=e.parent(r);r++){if(t instanceof ae&&t.body===n)return!0;if(!(t instanceof Ye&&t.expressions[0]===n||t instanceof Ke&&t.expression===n&&!(t instanceof Ge)||t instanceof Qe&&t.expression===n||t instanceof Ze&&t.expression===n||t instanceof nt&&t.condition===n||t instanceof tt&&t.left===n||t instanceof et&&t.expression===n))return!1;n=t}}function x(e,n,r,o){arguments.length<4&&(o=ie);var i=n=n?n.split(/\s+/):[];o&&o.PROPS&&(n=n.concat(o.PROPS));for(var a="return function AST_"+e+"(props){ if (props) { ",s=n.length;--s>=0;)a+="this."+n[s]+" = props."+n[s]+";";var u=o&&new o;(u&&u.initialize||r&&r.initialize)&&(a+="this.initialize();"),a+="}}";var l=new Function(a)();if(u&&(l.prototype=u,l.BASE=o),o&&o.SUBCLASSES.push(l),l.prototype.CTOR=l,l.PROPS=n||null,l.SELF_PROPS=i,l.SUBCLASSES=[],e&&(l.prototype.TYPE=l.TYPE=e),r)for(s in r)E(r,s)&&(/^\$/.test(s)?l[s.substr(1)]=r[s]:l.prototype[s]=r[s]);return l.DEFMETHOD=function(e,t){this.prototype[e]=t},void 0!==t&&(t["AST_"+e]=l),l}function C(e,t){var n=e.body;if(n instanceof ae)n._walk(t);else for(var r=0,o=n.length;r<o;r++)n[r]._walk(t)}function k(e){this.visit=e,this.stack=[],this.directives=Object.create(null)}function O(e){return e>=97&&e<=122||e>=65&&e<=90||e>=170&&Gt.letter.test(String.fromCharCode(e))}function S(e){return e>=48&&e<=57}function B(e){return S(e)||O(e)}function D(e){return Gt.digit.test(String.fromCharCode(e))}function T(e){return Gt.non_spacing_mark.test(e)||Gt.space_combining_mark.test(e)}function R(e){return Gt.connector_punctuation.test(e)}function F(e){return!Nt(e)&&/^[a-z_$][a-z0-9_$]*$/i.test(e)}function L(e){return 36==e||95==e||O(e)}function M(e){var t=e.charCodeAt(0);return L(t)||S(t)||8204==t||8205==t||T(e)||R(e)||D(t)}function U(e){return/^[a-z_$][a-z0-9_$]*$/i.test(e)}function N(e){if(zt.test(e))return parseInt(e.substr(2),16);if(It.test(e))return parseInt(e.substr(1),8);var t=parseFloat(e);return t==e?t:void 0}function P(e,t,n,r,o){this.message=e,this.filename=t,this.line=n,this.col=r,this.pos=o}function q(e,t,n,r,o){throw new P(e,t,n,r,o)}function z(e,t,n){return e.type==t&&(null==n||e.value==n)}function I(e,t,n,r){function o(){return O.text.charAt(O.pos)}function i(e,t){var n=O.text.charAt(O.pos++);if(e&&!n)throw Yt;return $t(n)?(O.newline_before=O.newline_before||!t,++O.line,O.col=0,t||"\r"!=n||"\n"!=o()||(++O.pos,n="\n")):++O.col,n}function a(e){for(;e-- >0;)i()}function s(e){return O.text.substr(O.pos,e.length)==e}function u(){for(var e=O.text,t=O.pos,n=O.text.length;t<n;++t){var r=e[t];if($t(r))return t}return-1}function l(e,t){var n=O.text.indexOf(e,O.pos);if(t&&-1==n)throw Yt;return n}function c(){O.tokline=O.line,O.tokcol=O.col,O.tokpos=O.pos}function f(n,r,o){O.regex_allowed="operator"==n&&!Qt(r)||"keyword"==n&&Pt(r)||"punc"==n&&Ht(r),"punc"==n&&"."==r?D=!0:o||(D=!1);var i={type:n,value:r,line:O.tokline,col:O.tokcol,pos:O.tokpos,endline:O.line,endcol:O.col,endpos:O.pos,nlb:O.newline_before,file:t};if(/^(?:num|string|regexp)$/i.test(n)&&(i.raw=e.substring(i.pos,i.endpos)),!o){i.comments_before=O.comments_before,O.comments_before=[];for(var a=0,s=i.comments_before.length;a<s;a++)i.nlb=i.nlb||i.comments_before[a].nlb}return O.newline_before=!1,new oe(i)}function p(){for(;Vt(o());)i()}function h(e){for(var t,n="",r=0;(t=o())&&e(t,r++);)n+=i();return n}function d(e){q(e,t,O.tokline,O.tokcol,O.tokpos)}function m(e){var t=!1,n=!1,r=!1,o="."==e,i=h(function(i,a){var s=i.charCodeAt(0);switch(s){case 120:case 88:return!r&&(r=!0);case 101:case 69:return!!r||!t&&(t=n=!0);case 45:return n||0==a&&!e;case 43:return n;case n=!1,46:return!(o||r||t)&&(o=!0)}return B(s)});e&&(i=e+i),It.test(i)&&k.has_directive("use strict")&&d("Legacy octal literals are not allowed in strict mode");var a=N(i);if(!isNaN(a))return f("num",a);d("Invalid syntax: "+i)}function g(e){var t=i(!0,e);switch(t.charCodeAt(0)){case 110:return"\n";case 114:return"\r";case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 120:return String.fromCharCode(b(2));case 117:return String.fromCharCode(b(4));case 10:return"";case 13:if("\n"==o())return i(!0,e),""}return t>="0"&&t<="7"?v(t):t}function v(e){var t=o();return t>="0"&&t<="7"&&(e+=i(!0))[0]<="3"&&(t=o())>="0"&&t<="7"&&(e+=i(!0)),"0"===e?"\0":(e.length>0&&k.has_directive("use strict")&&d("Legacy octal escape sequences are not allowed in strict mode"),String.fromCharCode(parseInt(e,8)))}function b(e){for(var t=0;e>0;--e){var n=parseInt(i(!0),16);isNaN(n)&&d("Invalid hex-character pattern in string"),t=t<<4|n}return t}function y(e){var t,n=O.regex_allowed,r=u();return-1==r?(t=O.text.substr(O.pos),O.pos=O.text.length):(t=O.text.substring(O.pos,r),O.pos=r),O.col=O.tokcol+(O.pos-O.tokpos),O.comments_before.push(f(e,t,!0)),O.regex_allowed=n,k}function _(){for(var e,t,n=!1,r="",a=!1;null!=(e=o());)if(n)"u"!=e&&d("Expecting UnicodeEscapeSequence -- uXXXX"),M(e=g())||d("Unicode char: "+e.charCodeAt(0)+" is not valid in identifier"),r+=e,n=!1;else if("\\"==e)a=n=!0,i();else{if(!M(e))break;r+=i()}return Mt(r)&&a&&(t=r.charCodeAt(0).toString(16).toUpperCase(),r="\\u"+"0000".substr(t.length)+t+r.slice(1)),r}function w(e){function t(e){if(!o())return e;var n=e+o();return jt(n)?(i(),t(n)):e}return f("operator",t(e||i()))}function E(){switch(i(),o()){case"/":return i(),y("comment1");case"*":return i(),R()}return O.regex_allowed?F(""):w("/")}function A(){return i(),S(o().charCodeAt(0))?m("."):f("punc",".")}function x(){var e=_();return D?f("name",e):Ut(e)?f("atom",e):Mt(e)?jt(e)?f("operator",e):f("keyword",e):f("name",e)}function C(e,t){return function(n){try{return t(n)}catch(t){if(t!==Yt)throw t;d(e)}}}function k(e){if(null!=e)return F(e);for(r&&0==O.pos&&s("#!")&&(c(),a(2),y("comment5"));;){if(p(),c(),n){if(s("\x3c!--")){a(4),y("comment3");continue}if(s("--\x3e")&&O.newline_before){a(3),y("comment4");continue}}var t=o();if(!t)return f("eof");var u=t.charCodeAt(0);switch(u){case 34:case 39:return T(t);case 46:return A();case 47:var l=E();if(l===k)continue;return l}if(S(u))return m();if(Kt(t))return f("punc",i());if(qt(t))return w();if(92==u||L(u))return x();break}d("Unexpected character '"+t+"'")}var O={text:e,filename:t,pos:0,tokpos:0,line:1,tokline:0,col:0,tokcol:0,newline_before:!1,regex_allowed:!1,comments_before:[],directives:{},directive_stack:[]},D=!1,T=C("Unterminated string constant",function(e){for(var t=i(),n="";;){var r=i(!0,!0);if("\\"==r)r=g(!0);else if($t(r))d("Unterminated string constant");else if(r==t)break;n+=r}var o=f("string",n);return o.quote=e,o}),R=C("Unterminated multiline comment",function(){var e=O.regex_allowed,t=l("*/",!0),n=O.text.substring(O.pos,t).replace(/\r\n|\r|\u2028|\u2029/g,"\n");return a(n.length+2),O.comments_before.push(f("comment2",n,!0)),O.regex_allowed=e,k}),F=C("Unterminated regular expression",function(e){for(var t,n=!1,r=!1;t=i(!0);)if($t(t))d("Unexpected line terminator");else if(n)e+="\\"+t,n=!1;else if("["==t)r=!0,e+=t;else if("]"==t&&r)r=!1,e+=t;else{if("/"==t&&!r)break;"\\"==t?n=!0:e+=t}var o=_();try{var a=new RegExp(e,o);return a.raw_source=e,f("regexp",a)}catch(e){d(e.message)}});return k.context=function(e){return e&&(O=e),O},k.add_directive=function(e){O.directive_stack[O.directive_stack.length-1].push(e),void 0===O.directives[e]?O.directives[e]=1:O.directives[e]++},k.push_directives_stack=function(){O.directive_stack.push([])},k.pop_directives_stack=function(){for(var e=O.directive_stack[O.directive_stack.length-1],t=0;t<e.length;t++)O.directives[e[t]]--;O.directive_stack.pop()},k.has_directive=function(e){return O.directives[e]>0},k}function j(e,t){function n(e,t){return z(V.token,e,t)}function r(){return V.peeked||(V.peeked=V.input())}function i(){return V.prev=V.token,V.peeked?(V.token=V.peeked,V.peeked=null):V.token=V.input(),V.in_directives=V.in_directives&&("string"==V.token.type||n("punc",";")),V.token}function a(){return V.prev}function s(e,t,n,r){var o=V.input.context();q(e,o.filename,null!=t?t:o.tokline,null!=n?n:o.tokcol,null!=r?r:o.tokpos)}function l(e,t){s(t,e.line,e.col)}function c(e){null==e&&(e=V.token),l(e,"Unexpected token: "+e.type+" ("+e.value+")")}function f(e,t){if(n(e,t))return i();l(V.token,"Unexpected token "+V.token.type+" «"+V.token.value+"», expected "+e+" «"+t+"»")}function p(e){return f("punc",e)}function h(){return!t.strict&&(V.token.nlb||n("eof")||n("punc","}"))}function d(e){n("punc",";")?i():e||h()||c()}function m(){p("(");var e=re(!0);return p(")"),e}function g(e){return function(){var t=V.token,n=e(),r=a();return n.start=t,n.end=r,n}}function v(){(n("operator","/")||n("operator","/="))&&(V.peeked=null,V.token=V.input(V.token.value.substr(1)))}function b(){var e=M(bt);o(function(t){return t.name==e.name},V.labels)&&s("Label "+e.name+" defined twice"),p(":"),V.labels.push(e);var t=$();return V.labels.pop(),t instanceof me||e.references.forEach(function(t){t instanceof Le&&(t=t.label.start,s("Continue label `"+e.name+"` refers to non-IterationStatement.",t.line,t.col,t.pos))}),new de({body:t,label:e})}function y(e){return new le({body:(e=re(!0),d(),e)})}function _(e){var t,n=null;h()||(n=M(_t,!0)),null!=n?((t=o(function(e){return e.name==n.name},V.labels))||s("Undefined label "+n.name),n.thedef=t):0==V.in_loop&&s(e.TYPE+" not inside a loop or switch"),d();var r=new e({label:n});return t&&t.references.push(r),r}function w(){p("(");var e=null;return!n("punc",";")&&(e=n("keyword","var")?(i(),K(!0)):re(!0,!0),n("operator","in"))?(e instanceof $e?e.definitions.length>1&&s("Only one variable declaration allowed in for..in loop",e.start.line,e.start.col,e.start.pos):P(e)||s("Invalid left-hand side in for..in loop",e.start.line,e.start.col,e.start.pos),i(),A(e)):E(e)}function E(e){p(";");var t=n("punc",";")?null:re(!0);p(";");var r=n("punc",")")?null:re(!0);return p(")"),new ye({init:e,condition:t,step:r,body:j($)})}function A(e){var t=e instanceof $e?e.definitions[0].name:null,n=re(!0);return p(")"),new _e({init:e,name:t,object:n,body:j($)})}function x(){var e=m(),t=$(),r=null;return n("keyword","else")&&(i(),r=$()),new Me({condition:e,body:t,alternative:r})}function C(){p("{");for(var e=[];!n("punc","}");)n("eof")&&c(),e.push($());return i(),e}function k(){p("{");for(var e,t=[],r=null,o=null;!n("punc","}");)n("eof")&&c(),n("keyword","case")?(o&&(o.end=a()),r=[],o=new qe({start:(e=V.token,i(),e),expression:re(!0),body:r}),t.push(o),p(":")):n("keyword","default")?(o&&(o.end=a()),r=[],o=new Pe({start:(e=V.token,i(),p(":"),e),body:r}),t.push(o)):(r||c(),r.push($()));return o&&(o.end=a()),i(),t}function O(){var e=C(),t=null,r=null;if(n("keyword","catch")){u=V.token;i(),p("(");var o=M(vt);p(")"),t=new Ie({start:u,argname:o,body:C(),end:a()})}if(n("keyword","finally")){var u=V.token;i(),r=new je({start:u,body:C(),end:a()})}return t||r||s("Missing catch/finally blocks"),new ze({body:e,bcatch:t,bfinally:r})}function S(e){for(var t=[];t.push(new He({start:V.token,name:M(ht),value:n("operator","=")?(i(),re(!1,e)):null,end:a()})),n("punc",",");)i();return t}function B(){var e,t=V.token;switch(t.type){case"name":e=F(yt);break;case"num":e=new xt({start:t,end:t,value:t.value});break;case"string":e=new At({start:t,end:t,value:t.value,quote:t.quote});break;case"regexp":e=new Ct({start:t,end:t,value:t.value});break;case"atom":switch(t.value){case"false":e=new Ft({start:t,end:t});break;case"true":e=new Lt({start:t,end:t});break;case"null":e=new Ot({start:t,end:t})}}return i(),e}function D(e,t,r){for(var o=!0,a=[];!n("punc",e)&&(o?o=!1:p(","),!t||!n("punc",e));)n("punc",",")&&r?a.push(new Dt({start:V.token,end:V.token})):a.push(re(!1));return i(),a}function T(){var e=V.token;switch(e.type){case"operator":Mt(e.value)||c();case"num":case"string":case"name":case"keyword":case"atom":return i(),e.value;default:c()}}function R(){var e=V.token;return"name"!=e.type&&c(),i(),e.value}function F(e){var t=V.token.value;return new("this"==t?wt:e)({name:String(t),start:V.token,end:V.token})}function L(e){"arguments"!=e.name&&"eval"!=e.name||s("Unexpected "+e.name+" in strict mode",e.start.line,e.start.col,e.start.pos)}function M(e,t){if(!n("name"))return t||s("Name expected"),null;var r=F(e);return V.input.has_directive("use strict")&&r instanceof pt&&L(r),i(),r}function U(e,t,n){var r=t.value;switch(r){case"++":case"--":P(n)||s("Invalid use of "+r+" operator",t.line,t.col,t.pos);break;case"delete":n instanceof yt&&V.input.has_directive("use strict")&&s("Calling delete on expression not allowed in strict mode",n.start.line,n.start.col,n.start.pos)}return new e({operator:r,expression:n})}function N(e){return ee(X(!0),0,e)}function P(e){return e instanceof We||e instanceof yt}function j(e){++V.in_loop;var t=e();return--V.in_loop,t}t=u(t,{bare_returns:!1,expression:!1,filename:null,html5_comments:!0,shebang:!0,strict:!1,toplevel:null},!0);var V={input:"string"==typeof e?I(e,t.filename,t.html5_comments,t.shebang):e,token:null,prev:null,peeked:null,in_function:0,in_directives:!0,in_loop:0,labels:[]};V.token=i();var $=g(function(){switch(v(),V.token.type){case"string":if(V.in_directives){var e=r();-1==V.token.raw.indexOf("\\")&&(e.nlb||z(e,"eof")||z(e,"punc",";")||z(e,"punc","}"))?V.input.add_directive(V.token.value):V.in_directives=!1}var o=V.in_directives,u=y();return o?new ue(u.body):u;case"num":case"regexp":case"operator":case"atom":return y();case"name":return z(r(),"punc",":")?b():y();case"punc":switch(V.token.value){case"{":return new fe({start:V.token,body:C(),end:a()});case"[":case"(":return y();case";":return V.in_directives=!1,i(),new pe;default:c()}case"keyword":switch(V.token.value){case"break":return i(),_(Fe);case"continue":return i(),_(Le);case"debugger":return i(),d(),new se;case"do":i();var l=j($);f("keyword","while");var p=m();return d(!0),new ve({body:l,condition:p});case"while":return i(),new be({condition:m(),body:j($)});case"for":return i(),w();case"function":return i(),H(Oe);case"if":return i(),x();case"return":0!=V.in_function||t.bare_returns||s("'return' outside of function"),i();g=null;return n("punc",";")?i():h()||(g=re(!0),d()),new De({value:g});case"switch":return i(),new Ue({expression:m(),body:j(k)});case"throw":i(),V.token.nlb&&s("Illegal newline after 'throw'");var g=re(!0);return d(),new Te({value:g});case"try":return i(),O();case"var":i();var E=K();return d(),E;case"with":return V.input.has_directive("use strict")&&s("Strict mode may not include a with statement"),i(),new we({expression:m(),body:$()})}}c()}),H=function(e){var t=e===Oe,r=n("name")?M(t?mt:gt):null;t&&!r&&c(),p("(");for(var o=[],a=!0;!n("punc",")");)a?a=!1:p(","),o.push(M(dt));i();var s=V.in_loop,u=V.labels;++V.in_function,V.in_directives=!0,V.input.push_directives_stack(),V.in_loop=0,V.labels=[];var l=C();return V.input.has_directive("use strict")&&(r&&L(r),o.forEach(L)),V.input.pop_directives_stack(),--V.in_function,V.in_loop=s,V.labels=u,new e({name:r,argnames:o,body:l})},K=function(e){return new $e({start:a(),definitions:S(e),end:a()})},G=function(e){var t=V.token;f("operator","new");var r,o=Y(!1);return n("punc","(")?(i(),r=D(")")):r=[],J(new Ge({start:t,expression:o,args:r,end:a()}),e)},Y=function(e){if(n("operator","new"))return G(e);var t=V.token;if(n("punc")){switch(t.value){case"(":i();var r=re(!0);return r.start=t,r.end=V.token,p(")"),J(r,e);case"[":return J(W(),e);case"{":return J(Z(),e)}c()}if(n("keyword","function")){i();var o=H(ke);return o.start=t,o.end=a(),J(o,e)}if(Xt(V.token.type))return J(B(),e);c()},W=g(function(){return p("["),new ot({elements:D("]",!t.strict,!0)})}),Q=g(function(){return H(Ce)}),Z=g(function(){p("{");for(var e=!0,r=[];!n("punc","}")&&(e?e=!1:p(","),t.strict||!n("punc","}"));){var o=V.token,s=o.type,u=T();if("name"==s&&!n("punc",":")){var l=new ft({start:V.token,name:T(),end:a()});if("get"==u){r.push(new lt({start:o,key:l,value:Q(),end:a()}));continue}if("set"==u){r.push(new ut({start:o,key:l,value:Q(),end:a()}));continue}}p(":"),r.push(new st({start:o,quote:o.quote,key:u,value:re(!1),end:a()}))}return i(),new it({properties:r})}),J=function(e,t){var r=e.start;if(n("punc","."))return i(),J(new Qe({start:r,expression:e,property:R(),end:a()}),t);if(n("punc","[")){i();var o=re(!0);return p("]"),J(new Ze({start:r,expression:e,property:o,end:a()}),t)}return t&&n("punc","(")?(i(),J(new Ke({start:r,expression:e,args:D(")"),end:a()}),!0)):e},X=function(e){var t=V.token;if(n("operator")&&Wt(t.value)){i(),v();var r=U(Xe,t,X(e));return r.start=t,r.end=a(),r}for(var o=Y(e);n("operator")&&Qt(V.token.value)&&!V.token.nlb;)(o=U(et,V.token,o)).start=t,o.end=V.token,i();return o},ee=function(e,t,r){var o=n("operator")?V.token.value:null;"in"==o&&r&&(o=null);var a=null!=o?Jt[o]:null;if(null!=a&&a>t){i();var s=ee(X(!0),a,r);return ee(new tt({start:e.start,left:e,operator:o,right:s,end:s.end}),t,r)}return e},te=function(e){var t=V.token,r=N(e);if(n("operator","?")){i();var o=re(!1);return p(":"),new nt({start:t,condition:r,consequent:o,alternative:re(!1,e),end:a()})}return r},ne=function(e){var t=V.token,r=te(e),o=V.token.value;if(n("operator")&&Zt(o)){if(P(r))return i(),new rt({start:t,left:r,operator:o,right:ne(e),end:a()});s("Invalid assignment")}return r},re=function(e,t){for(var o=V.token,a=[];;){if(a.push(ne(t)),!e||!n("punc",","))break;i(),e=!0}return 1==a.length?a[0]:new Ye({start:o,expressions:a,end:r()})};return t.expression?re(!0):function(){var e=V.token,r=[];for(V.input.push_directives_stack();!n("eof");)r.push($());V.input.pop_directives_stack();var o=a(),i=t.toplevel;return i?(i.body=i.body.concat(r),i.end=o):i=new Ae({start:e,body:r,end:o}),i}()}function V(e,t){k.call(this),this.before=e,this.after=t}function $(e,t,n){this.name=n.name,this.orig=[n],this.scope=e,this.references=[],this.global=!1,this.mangled_name=null,this.undeclared=!1,this.index=t,this.id=$.next_id++}function H(e){return"comment2"==e.type&&/@preserve|@license|@cc_on/i.test(e.value)}function K(e){function t(t,n){function r(){return"'"+t.replace(/\x27/g,"\\'")+"'"}function o(){return'"'+t.replace(/\x22/g,'\\"')+'"'}var i=0,a=0;switch(t=t.replace(/[\\\b\f\n\r\v\t\x22\x27\u2028\u2029\0\ufeff]/g,function(n,r){switch(n){case'"':return++i,'"';case"'":return++a,"'";case"\\":return"\\\\";case"\n":return"\\n";case"\r":return"\\r";case"\t":return"\\t";case"\b":return"\\b";case"\f":return"\\f";case"\v":return e.ie8?"\\x0B":"\\v";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";case"\ufeff":return"\\ufeff";case"\0":return/[0-9]/.test(t.charAt(r+1))?"\\x00":"\\0"}return n}),t=C(t),e.quote_style){case 1:return r();case 2:return o();case 3:return"'"==n?r():o();default:return i>a?r():o()}}function n(n,r){var o=t(n,r);return e.inline_script&&(o=(o=(o=o.replace(/<\x2fscript([>\/\t\n\f\r ])/gi,"<\\/script$1")).replace(/\x3c!--/g,"\\x3c!--")).replace(/--\x3e/g,"--\\x3e")),o}function r(e){return e=e.toString(),e=C(e,!0)}function o(t){return i(" ",e.indent_start+_-t*e.indent_level)}function a(t){var n=(t=String(t)).charAt(0),r=B.charAt(B.length-1);if(O&&(O=!1,(":"==r&&"}"==n||(!n||";}".indexOf(n)<0)&&";"!=r)&&(e.semicolons||F(n)?(x+=";",w++,A++):(R(),x+="\n",A++,E++,w=0,/^\s+$/.test(t)&&(O=!0)),e.beautify||(k=!1))),!e.beautify&&e.preserve_line&&z[z.length-1])for(var o=z[z.length-1].start.line;E<o;)R(),x+="\n",A++,E++,w=0,k=!1;k&&((M(r)&&(M(n)||"\\"==n)||"/"==n&&n==r||("+"==n||"-"==n)&&n==B)&&(x+=" ",w++,A++),k=!1),v&&(D.push({token:v,name:b,line:E,col:w}),v=!1,S||T()),x+=t,A+=t.length;var i=t.split(/\r?\n/),a=i.length-1;E+=a,w+=i[0].length,a>0&&(R(),w=i[a].length),B=t}function s(){O=!1,a(";")}function l(){return _+e.indent_level}function h(){return S&&R(),x}var d=f;if((e=u(e,{ascii_only:!1,beautify:!1,bracketize:!1,comments:!1,ie8:!1,indent_level:4,indent_start:0,inline_script:!0,keep_quoted_props:!1,max_line_len:!1,preamble:null,preserve_line:!1,quote_keys:!1,quote_style:0,semicolons:!0,shebang:!0,source_map:null,webkit:!1,width:80,wrap_iife:!1},!0)).comments){var m=e.comments;if("string"==typeof e.comments&&/^\/.*\/[a-zA-Z]*$/.test(e.comments)){var g=e.comments.lastIndexOf("/");m=new RegExp(e.comments.substr(1,g-1),e.comments.substr(g+1))}d=m instanceof RegExp?function(e){return"comment5"!=e.type&&m.test(e.value)}:"function"==typeof m?function(e){return"comment5"!=e.type&&m(this,e)}:"some"===m?H:p}var v,b,_=0,w=0,E=1,A=0,x="",C=e.ascii_only?function(e,t){return e.replace(/[\u0000-\u001f\u007f-\uffff]/g,function(e){var n=e.charCodeAt(0).toString(16);if(n.length<=2&&!t){for(;n.length<2;)n="0"+n;return"\\x"+n}for(;n.length<4;)n="0"+n;return"\\u"+n})}:function(e){return e.replace(/[\ud800-\udbff](?![\udc00-\udfff])/g,function(e){return"\\u"+e.charCodeAt(0).toString(16)}).replace(/(^|[^\ud800-\udbff])([\udc00-\udfff])/g,function(e,t,n){return t+"\\u"+n.charCodeAt(0).toString(16)})},k=!1,O=!1,S=0,B="",D=e.source_map&&[],T=D?function(){D.forEach(function(t){try{e.source_map.add(t.token.file,t.line,t.col,t.token.line,t.token.col,t.name||"name"!=t.token.type?t.name:t.token.value)}catch(e){ie.warn("Couldn't figure out mapping for {file}:{line},{col} → {cline},{ccol} [{name}]",{file:t.token.file,line:t.token.line,col:t.token.col,cline:t.line,ccol:t.col,name:t.name||""})}}),D=[]}:c,R=e.max_line_len?function(){if(w>e.max_line_len){if(S){var t=x.slice(0,S),n=x.slice(S);if(D){var r=n.length-w;D.forEach(function(e){e.line++,e.col+=r})}x=t+"\n"+n,E++,A++,w=n.length}w>e.max_line_len&&ie.warn("Output exceeds {max_line_len} characters",e)}S&&(S=0,T())}:c,F=y("( [ + * / - , ."),L=e.beautify?function(){a(" ")}:function(){k=!0},U=e.beautify?function(t){e.beautify&&a(o(t?.5:0))}:c,N=e.beautify?function(e,t){!0===e&&(e=l());var n=_;_=e;var r=t();return _=n,r}:function(e,t){return t()},P=e.beautify?function(){a("\n")}:e.max_line_len?function(){R(),S=x.length}:c,q=e.beautify?function(){a(";")}:function(){O=!0},z=[];return{get:h,toString:h,indent:U,indentation:function(){return _},current_width:function(){return w-_},should_break:function(){return e.width&&this.current_width()>=e.width},newline:P,print:a,space:L,comma:function(){a(","),L()},colon:function(){a(":"),L()},last:function(){return B},semicolon:q,force_semicolon:s,to_utf8:C,print_name:function(e){a(r(e))},print_string:function(e,t,r){var o=n(e,t);!0===r&&-1===o.indexOf("\\")&&(tn.test(x)||s(),s()),a(o)},encode_string:n,next_indent:l,with_indent:N,with_block:function(e){var t;return a("{"),P(),N(l(),function(){t=e()}),U(),a("}"),t},with_parens:function(e){a("(");var t=e();return a(")"),t},with_square:function(e){a("[");var t=e();return a("]"),t},add_mapping:D?function(e,t){v=e,b=t}:c,option:function(t){return e[t]},comment_filter:d,line:function(){return E},col:function(){return w},pos:function(){return A},push_node:function(e){z.push(e)},pop_node:function(){return z.pop()},parent:function(e){return z[z.length-2-(e||0)]}}}function G(e,t){if(!(this instanceof G))return new G(e,t);V.call(this,this.before,this.after),this.options=u(e,{booleans:!t,cascade:!t,collapse_vars:!t,comparisons:!t,conditionals:!t,dead_code:!t,drop_console:!1,drop_debugger:!t,evaluate:!t,expression:!1,global_defs:{},hoist_funs:!t,hoist_vars:!1,ie8:!1,if_return:!t,inline:!t,join_vars:!t,keep_fargs:!0,keep_fnames:!1,keep_infinity:!1,loops:!t,negate_iife:!t,passes:1,properties:!t,pure_getters:!t&&"strict",pure_funcs:null,reduce_vars:!t,sequences:!t,side_effects:!t,switches:!t,top_retain:null,toplevel:!(!e||!e.top_retain),typeofs:!t,unsafe:!1,unsafe_comps:!1,unsafe_Func:!1,unsafe_math:!1,unsafe_proto:!1,unsafe_regexp:!1,unused:!t,warnings:!1},!0);var n=this.options.global_defs;if("object"==typeof n)for(var r in n)/^@/.test(r)&&E(n,r)&&(n[r.slice(1)]=j(n[r],{expression:!0}));var o=this.options.pure_funcs;this.pure_funcs="function"==typeof o?o:o?function(e){return o.indexOf(e.expression.print_to_string())<0}:p;var i=this.options.top_retain;i instanceof RegExp?this.top_retain=function(e){return i.test(e.name)}:"function"==typeof i?this.top_retain=i:i&&("string"==typeof i&&(i=i.split(/,/)),this.top_retain=function(e){return i.indexOf(e.name)>=0});var a=this.options.toplevel;this.toplevel="string"==typeof a?{funcs:/funcs/.test(a),vars:/vars/.test(a)}:{funcs:a,vars:a};var s=this.options.sequences;this.sequences_limit=1==s?800:0|s,this.warnings_produced={}}function Y(e){e=u(e,{file:null,root:null,orig:null,orig_line_diff:0,dest_line_diff:0});var t=new MOZ_SourceMap.SourceMapGenerator({file:e.file,sourceRoot:e.root}),n=e.orig&&new MOZ_SourceMap.SourceMapConsumer(e.orig);return n&&Array.isArray(e.orig.sources)&&n._sources.toArray().forEach(function(e){var r=n.sourceContentFor(e,!0);r&&t.setSourceContent(e,r)}),{add:function(r,o,i,a,s,u){if(n){var l=n.originalPositionFor({line:a,column:s});if(null===l.source)return;r=l.source,a=l.line,s=l.column,u=l.name||u}t.addMapping({generated:{line:o+e.dest_line_diff,column:i},original:{line:a+e.orig_line_diff,column:s},source:r,name:u})},get:function(){return t},toString:function(){return JSON.stringify(t.toJSON())}}}function W(e){function t(t){m(e,t)}["null","true","false","Infinity","-Infinity","undefined"].forEach(t),[Object,Array,Function,Number,String,Boolean,Error,Math,Date,RegExp].forEach(function(e){Object.getOwnPropertyNames(e).map(t),e.prototype&&Object.getOwnPropertyNames(e.prototype).map(t)})}function Q(e,t){function n(e){m(t,e)}e.walk(new k(function(e){e instanceof st&&e.quote?n(e.key):e instanceof Ze&&Z(e.property,n)}))}function Z(e,t){e.walk(new k(function(e){return e instanceof Ye?Z(e.expressions[e.expressions.length-1],t):e instanceof At?t(e.value):e instanceof nt&&(Z(e.consequent,t),Z(e.alternative,t)),!0}))}function J(e,t){function n(e){return!(d.indexOf(e)>=0)&&(!(s.indexOf(e)>=0)&&(t.only_cache?l.props.has(e):!/^-?[0-9]+(\.[0-9]+)?(e[+-][0-9]+)?$/.test(e)))}function r(e){return!(f&&!f.test(e))&&(!(s.indexOf(e)>=0)&&(l.props.has(e)||h.indexOf(e)>=0))}function o(e){n(e)&&m(h,e),r(e)||m(d,e)}function i(e){if(!r(e))return e;var t=l.props.get(e);if(!t){if(p){var o="_$"+e+"$"+c+"_";n(o)&&(t=o)}if(!t)do{t=en(++l.cname)}while(!n(t));l.props.set(e,t)}return t}function a(e){return e.transform(new V(function(e){if(e instanceof Ye){var t=e.expressions.length-1;e.expressions[t]=a(e.expressions[t])}else e instanceof At?e.value=i(e.value):e instanceof nt&&(e.consequent=a(e.consequent),e.alternative=a(e.alternative));return e}))}var s=(t=u(t,{builtins:!1,cache:null,debug:!1,keep_quoted:!1,only_cache:!1,regex:null,reserved:null},!0)).reserved;Array.isArray(s)||(s=[]),t.builtins||W(s);var l=t.cache;null==l&&(l={cname:-1,props:new w});var c,f=t.regex,p=!1!==t.debug;p&&(c=!0===t.debug?"":t.debug);var h=[],d=[];return e.walk(new k(function(e){e instanceof st?o(e.key):e instanceof at?o(e.key.name):e instanceof Qe?o(e.property):e instanceof Ze&&Z(e.property,o)})),e.transform(new V(function(e){e instanceof st?e.key=i(e.key):e instanceof at?e.key.name=i(e.key.name):e instanceof Qe?e.property=i(e.property):!t.keep_quoted&&e instanceof Ze&&(e.property=a(e.property))}))}function X(e){var t=/\n\/\/# sourceMappingURL=data:application\/json(;.*?)?;base64,(.*)/.exec(e);return t?nn(t[2]):(ie.warn("inline source map not found"),null)}function ee(e,t,n){t[e]&&n.forEach(function(n){t[n]&&("object"!=typeof t[n]&&(t[n]={}),e in t[n]||(t[n][e]=t[e]))})}function te(e){e&&("cname"in e||(e.cname=-1),"props"in e?e.props instanceof w||(e.props=w.fromObject(e.props)):e.props=new w)}function ne(e){return{cname:e.cname,props:e.props.toObject()}}s.prototype=Object.create(Error.prototype),s.prototype.constructor=s,s.prototype.name="DefaultsError",a(s),s.croak=function(e,t){throw new s(e,t)};var re=function(){function e(e,i,a){function s(){var s=i(e[u],u),f=s instanceof r;return f&&(s=s.v),s instanceof t?(s=s.v)instanceof n?c.push.apply(c,a?s.v.slice().reverse():s.v):c.push(s):s!==o&&(s instanceof n?l.push.apply(l,a?s.v.slice().reverse():s.v):l.push(s)),f}var u,l=[],c=[];if(e instanceof Array)if(a){for(u=e.length;--u>=0&&!s(););l.reverse(),c.reverse()}else for(u=0;u<e.length&&!s();++u);else for(u in e)if(E(e,u)&&s())break;return c.concat(l)}function t(e){this.v=e}function n(e){this.v=e}function r(e){this.v=e}e.at_top=function(e){return new t(e)},e.splice=function(e){return new n(e)},e.last=function(e){return new r(e)};var o=e.skip={};return e}();w.prototype={set:function(e,t){return this.has(e)||++this._size,this._values["$"+e]=t,this},add:function(e,t){return this.has(e)?this.get(e).push(t):this.set(e,[t]),this},get:function(e){return this._values["$"+e]},del:function(e){return this.has(e)&&(--this._size,delete this._values["$"+e]),this},has:function(e){return"$"+e in this._values},each:function(e){for(var t in this._values)e(this._values[t],t.substr(1))},size:function(){return this._size},map:function(e){var t=[];for(var n in this._values)t.push(e(this._values[n],n.substr(1)));return t},toObject:function(){return this._values}},w.fromObject=function(e){var t=new w;return t._size=l(t._values,e),t};var oe=x("Token","type value line col pos endline endcol endpos nlb comments_before file raw",{},null),ie=x("Node","start end",{_clone:function(e){if(e){var t=this.clone();return t.transform(new V(function(e){if(e!==t)return e.clone(!0)}))}return new this.CTOR(this)},clone:function(e){return this._clone(e)},$documentation:"Base class of all AST nodes",$propdoc:{start:"[AST_Token] The first token of this node",end:"[AST_Token] The last token of this node"},_walk:function(e){return e._visit(this)},walk:function(e){return this._walk(e)}},null);ie.warn_function=null,ie.warn=function(e,t){ie.warn_function&&ie.warn_function(g(e,t))};var ae=x("Statement",null,{$documentation:"Base class of all statements"}),se=x("Debugger",null,{$documentation:"Represents a debugger statement"},ae),ue=x("Directive","value scope quote",{$documentation:'Represents a directive, like "use strict";',$propdoc:{value:"[string] The value of this directive as a plain string (it's not an AST_String!)",scope:"[AST_Scope/S] The scope that this directive affects",quote:"[string] the original quote character"}},ae),le=x("SimpleStatement","body",{$documentation:"A statement consisting of an expression, i.e. a = 1 + 2",$propdoc:{body:"[AST_Node] an expression node (should not be instanceof AST_Statement)"},_walk:function(e){return e._visit(this,function(){this.body._walk(e)})}},ae),ce=x("Block","body",{$documentation:"A body of statements (usually bracketed)",$propdoc:{body:"[AST_Statement*] an array of statements"},_walk:function(e){return e._visit(this,function(){C(this,e)})}},ae),fe=x("BlockStatement",null,{$documentation:"A block statement"},ce),pe=x("EmptyStatement",null,{$documentation:"The empty statement (empty block or simply a semicolon)"},ae),he=x("StatementWithBody","body",{$documentation:"Base class for all statements that contain one nested body: `For`, `ForIn`, `Do`, `While`, `With`",$propdoc:{body:"[AST_Statement] the body; this should always be present, even if it's an AST_EmptyStatement"}},ae),de=x("LabeledStatement","label",{$documentation:"Statement with a label",$propdoc:{label:"[AST_Label] a label definition"},_walk:function(e){return e._visit(this,function(){this.label._walk(e),this.body._walk(e)})},clone:function(e){var t=this._clone(e);if(e){var n=t.label,r=this.label;t.walk(new k(function(e){e instanceof Re&&e.label&&e.label.thedef===r&&(e.label.thedef=n,n.references.push(e))}))}return t}},he),me=x("IterationStatement",null,{$documentation:"Internal class.  All loops inherit from it."},he),ge=x("DWLoop","condition",{$documentation:"Base class for do/while statements",$propdoc:{condition:"[AST_Node] the loop condition.  Should not be instanceof AST_Statement"}},me),ve=x("Do",null,{$documentation:"A `do` statement",_walk:function(e){return e._visit(this,function(){this.body._walk(e),this.condition._walk(e)})}},ge),be=x("While",null,{$documentation:"A `while` statement",_walk:function(e){return e._visit(this,function(){this.condition._walk(e),this.body._walk(e)})}},ge),ye=x("For","init condition step",{$documentation:"A `for` statement",$propdoc:{init:"[AST_Node?] the `for` initialization code, or null if empty",condition:"[AST_Node?] the `for` termination clause, or null if empty",step:"[AST_Node?] the `for` update clause, or null if empty"},_walk:function(e){return e._visit(this,function(){this.init&&this.init._walk(e),this.condition&&this.condition._walk(e),this.step&&this.step._walk(e),this.body._walk(e)})}},me),_e=x("ForIn","init name object",{$documentation:"A `for ... in` statement",$propdoc:{init:"[AST_Node] the `for/in` initialization code",name:"[AST_SymbolRef?] the loop variable, only if `init` is AST_Var",object:"[AST_Node] the object that we're looping through"},_walk:function(e){return e._visit(this,function(){this.init._walk(e),this.object._walk(e),this.body._walk(e)})}},me),we=x("With","expression",{$documentation:"A `with` statement",$propdoc:{expression:"[AST_Node] the `with` expression"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e),this.body._walk(e)})}},he),Ee=x("Scope","directives variables functions uses_with uses_eval parent_scope enclosed cname",{$documentation:"Base class for all statements introducing a lexical scope",$propdoc:{directives:"[string*/S] an array of directives declared in this scope",variables:"[Object/S] a map of name -> 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)"}},ce),Ae=x("Toplevel","globals",{$documentation:"The toplevel scope",$propdoc:{globals:"[Object/S] a map of name -> SymbolDef for all undeclared names"},wrap_commonjs:function(e){var t=this.body,n="(function(exports){'$ORIG';})(typeof "+e+"=='undefined'?("+e+"={}):"+e+");";return n=j(n),n=n.transform(new V(function(e){if(e instanceof ue&&"$ORIG"==e.value)return re.splice(t)}))}},Ee),xe=x("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(e){return e._visit(this,function(){this.name&&this.name._walk(e);for(var t=this.argnames,n=0,r=t.length;n<r;n++)t[n]._walk(e);C(this,e)})}},Ee),Ce=x("Accessor",null,{$documentation:"A setter/getter function.  The `name` property is always null."},xe),ke=x("Function",null,{$documentation:"A function expression"},xe),Oe=x("Defun",null,{$documentation:"A function definition"},xe),Se=x("Jump",null,{$documentation:"Base class for “jumps” (for now that's `return`, `throw`, `break` and `continue`)"},ae),Be=x("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(e){return e._visit(this,this.value&&function(){this.value._walk(e)})}},Se),De=x("Return",null,{$documentation:"A `return` statement"},Be),Te=x("Throw",null,{$documentation:"A `throw` statement"},Be),Re=x("LoopControl","label",{$documentation:"Base class for loop control statements (`break` and `continue`)",$propdoc:{label:"[AST_LabelRef?] the label, or null if none"},_walk:function(e){return e._visit(this,this.label&&function(){this.label._walk(e)})}},Se),Fe=x("Break",null,{$documentation:"A `break` statement"},Re),Le=x("Continue",null,{$documentation:"A `continue` statement"},Re),Me=x("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(e){return e._visit(this,function(){this.condition._walk(e),this.body._walk(e),this.alternative&&this.alternative._walk(e)})}},he),Ue=x("Switch","expression",{$documentation:"A `switch` statement",$propdoc:{expression:"[AST_Node] the `switch` “discriminant”"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e),C(this,e)})}},ce),Ne=x("SwitchBranch",null,{$documentation:"Base class for `switch` branches"},ce),Pe=x("Default",null,{$documentation:"A `default` switch branch"},Ne),qe=x("Case","expression",{$documentation:"A `case` switch branch",$propdoc:{expression:"[AST_Node] the `case` expression"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e),C(this,e)})}},Ne),ze=x("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(e){return e._visit(this,function(){C(this,e),this.bcatch&&this.bcatch._walk(e),this.bfinally&&this.bfinally._walk(e)})}},ce),Ie=x("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(e){return e._visit(this,function(){this.argname._walk(e),C(this,e)})}},ce),je=x("Finally",null,{$documentation:"A `finally` node; only makes sense as part of a `try` statement"},ce),Ve=x("Definitions","definitions",{$documentation:"Base class for `var` nodes (variable declarations/initializations)",$propdoc:{definitions:"[AST_VarDef*] array of variable definitions"},_walk:function(e){return e._visit(this,function(){for(var t=this.definitions,n=0,r=t.length;n<r;n++)t[n]._walk(e)})}},ae),$e=x("Var",null,{$documentation:"A `var` statement"},Ve),He=x("VarDef","name value",{$documentation:"A variable declaration; only appears in a AST_Definitions node",$propdoc:{name:"[AST_SymbolVar] name of the variable",value:"[AST_Node?] initializer, or null of there's no initializer"},_walk:function(e){return e._visit(this,function(){this.name._walk(e),this.value&&this.value._walk(e)})}}),Ke=x("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(e){return e._visit(this,function(){for(var t=this.args,n=0,r=t.length;n<r;n++)t[n]._walk(e);this.expression._walk(e)})}}),Ge=x("New",null,{$documentation:"An object instantiation.  Derives from a function call since it has exactly the same properties"},Ke),Ye=x("Sequence","expressions",{$documentation:"A sequence expression (comma-separated expressions)",$propdoc:{expressions:"[AST_Node*] array of expressions (at least two)"},_walk:function(e){return e._visit(this,function(){this.expressions.forEach(function(t){t._walk(e)})})}}),We=x("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"}}),Qe=x("Dot",null,{$documentation:"A dotted property access expression",_walk:function(e){return e._visit(this,function(){this.expression._walk(e)})}},We),Ze=x("Sub",null,{$documentation:'Index-style property access, i.e. `a["foo"]`',_walk:function(e){return e._visit(this,function(){this.expression._walk(e),this.property._walk(e)})}},We),Je=x("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(e){return e._visit(this,function(){this.expression._walk(e)})}}),Xe=x("UnaryPrefix",null,{$documentation:"Unary prefix expression, i.e. `typeof i` or `++i`"},Je),et=x("UnaryPostfix",null,{$documentation:"Unary postfix expression, i.e. `i++`"},Je),tt=x("Binary","operator left 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(e){return e._visit(this,function(){this.left._walk(e),this.right._walk(e)})}}),nt=x("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(e){return e._visit(this,function(){this.condition._walk(e),this.consequent._walk(e),this.alternative._walk(e)})}}),rt=x("Assign",null,{$documentation:"An assignment expression — `a = b + 5`"},tt),ot=x("Array","elements",{$documentation:"An array literal",$propdoc:{elements:"[AST_Node*] array of elements"},_walk:function(e){return e._visit(this,function(){for(var t=this.elements,n=0,r=t.length;n<r;n++)t[n]._walk(e)})}}),it=x("Object","properties",{$documentation:"An object literal",$propdoc:{properties:"[AST_ObjectProperty*] array of properties"},_walk:function(e){return e._visit(this,function(){for(var t=this.properties,n=0,r=t.length;n<r;n++)t[n]._walk(e)})}}),at=x("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 AST_SymbolAccessor.",value:"[AST_Node] property value.  For setters and getters this is an AST_Accessor."},_walk:function(e){return e._visit(this,function(){this.value._walk(e)})}}),st=x("ObjectKeyVal","quote",{$documentation:"A key: value object property",$propdoc:{quote:"[string] the original quote character"}},at),ut=x("ObjectSetter",null,{$documentation:"An object setter property"},at),lt=x("ObjectGetter",null,{$documentation:"An object getter property"},at),ct=x("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"}),ft=x("SymbolAccessor",null,{$documentation:"The name of a property accessor (setter/getter function)"},ct),pt=x("SymbolDeclaration","init",{$documentation:"A declaration symbol (symbol in var, function name or argument, symbol in catch)"},ct),ht=x("SymbolVar",null,{$documentation:"Symbol defining a variable"},pt),dt=x("SymbolFunarg",null,{$documentation:"Symbol naming a function argument"},ht),mt=x("SymbolDefun",null,{$documentation:"Symbol defining a function"},pt),gt=x("SymbolLambda",null,{$documentation:"Symbol naming a function expression"},pt),vt=x("SymbolCatch",null,{$documentation:"Symbol naming the exception in catch"},pt),bt=x("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}},ct),yt=x("SymbolRef",null,{$documentation:"Reference to some symbol (not definition/declaration)"},ct),_t=x("LabelRef",null,{$documentation:"Reference to a label symbol"},ct),wt=x("This",null,{$documentation:"The `this` symbol"},ct),Et=x("Constant",null,{$documentation:"Base class for all constants",getValue:function(){return this.value}}),At=x("String","value quote",{$documentation:"A string literal",$propdoc:{value:"[string] the contents of this string",quote:"[string] the original quote character"}},Et),xt=x("Number","value literal",{$documentation:"A number literal",$propdoc:{value:"[number] the numeric value",literal:"[string] numeric value as string (optional)"}},Et),Ct=x("RegExp","value",{$documentation:"A regexp literal",$propdoc:{value:"[RegExp] the actual regexp"}},Et),kt=x("Atom",null,{$documentation:"Base class for atoms"},Et),Ot=x("Null",null,{$documentation:"The `null` atom",value:null},kt),St=x("NaN",null,{$documentation:"The impossible value",value:NaN},kt),Bt=x("Undefined",null,{$documentation:"The `undefined` value",value:void 0},kt),Dt=x("Hole",null,{$documentation:"A hole in an array",value:void 0},kt),Tt=x("Infinity",null,{$documentation:"The `Infinity` value",value:1/0},kt),Rt=x("Boolean",null,{$documentation:"Base class for booleans"},kt),Ft=x("False",null,{$documentation:"The `false` atom",value:!1},Rt),Lt=x("True",null,{$documentation:"The `true` atom",value:!0},Rt);k.prototype={_visit:function(e,t){this.push(e);var n=this.visit(e,t?function(){t.call(e)}:c);return!n&&t&&t.call(e),this.pop(),n},parent:function(e){return this.stack[this.stack.length-2-(e||0)]},push:function(e){e instanceof xe?this.directives=Object.create(this.directives):e instanceof ue&&!this.directives[e.value]&&(this.directives[e.value]=e),this.stack.push(e)},pop:function(){this.stack.pop()instanceof xe&&(this.directives=Object.getPrototypeOf(this.directives))},self:function(){return this.stack[this.stack.length-1]},find_parent:function(e){for(var t=this.stack,n=t.length;--n>=0;){var r=t[n];if(r instanceof e)return r}},has_directive:function(e){var t=this.directives[e];if(t)return t;var n=this.stack[this.stack.length-1];if(n instanceof Ee)for(var r=0;r<n.body.length;++r){var o=n.body[r];if(!(o instanceof ue))break;if(o.value==e)return o}},in_boolean_context:function(){for(var e=this.stack,t=e.length,n=e[--t];t>0;){var r=e[--t];if(r instanceof Me&&r.condition===n||r instanceof nt&&r.condition===n||r instanceof ge&&r.condition===n||r instanceof ye&&r.condition===n||r instanceof Xe&&"!"==r.operator&&r.expression===n)return!0;if(!(r instanceof tt)||"&&"!=r.operator&&"||"!=r.operator)return!1;n=r}},loopcontrol_target:function(e){var t=this.stack;if(e.label){for(n=t.length;--n>=0;)if((r=t[n])instanceof de&&r.label.name==e.label.name)return r.body}else for(var n=t.length;--n>=0;){var r=t[n];if(r instanceof me||e instanceof Fe&&r instanceof Ue)return r}}};var Mt="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",Ut="false null true",Nt="abstract boolean byte char class double enum export extends final float goto implements import int interface let long native package private protected public short static super synchronized this throws transient volatile yield "+Ut+" "+Mt,Pt="return new delete throw else case";Mt=y(Mt),Nt=y(Nt),Pt=y(Pt),Ut=y(Ut);var qt=y(n("+-*&%=<>!?|~^")),zt=/^0x[0-9a-f]+$/i,It=/^0[0-7]+$/,jt=y(["in","instanceof","typeof","new","void","delete","++","--","+","-","!","~","&","|","^","*","/","%",">>","<<",">>>","<",">","<=",">=","==","===","!=","!==","?","=","+=","-=","/=","*=","%=",">>=","<<=",">>>=","|=","^=","&=","&&","||"]),Vt=y(n("  \n\r\t\f\v​           \u2028\u2029   \ufeff")),$t=y(n("\n\r\u2028\u2029")),Ht=y(n("[{(,;:")),Kt=y(n("[]{}(),;:")),Gt={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]")};P.prototype=Object.create(Error.prototype),P.prototype.constructor=P,P.prototype.name="SyntaxError",a(P);var Yt={},Wt=y(["typeof","void","delete","--","++","!","~","-","+"]),Qt=y(["--","++"]),Zt=y(["=","+=","-=","/=","*=","%=",">>=","<<=",">>>=","|=","^=","&="]),Jt=function(e,t){for(var n=0;n<e.length;++n)for(var r=e[n],o=0;o<r.length;++o)t[r[o]]=n+1;return t}([["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"]],{}),Xt=y(["atom","num","string","regexp","name"]);V.prototype=new k,function(e){function t(t,n){t.DEFMETHOD("transform",function(t,r){var o,i;return t.push(this),t.before&&(o=t.before(this,n,r)),o===e&&(t.after?(t.stack[t.stack.length-1]=o=this,n(o,t),(i=t.after(o,r))!==e&&(o=i)):n(o=this,t)),t.pop(),o})}function n(e,t){return re(e,function(e){return e.transform(t,!0)})}t(ie,c),t(de,function(e,t){e.label=e.label.transform(t),e.body=e.body.transform(t)}),t(le,function(e,t){e.body=e.body.transform(t)}),t(ce,function(e,t){e.body=n(e.body,t)}),t(ge,function(e,t){e.condition=e.condition.transform(t),e.body=e.body.transform(t)}),t(ye,function(e,t){e.init&&(e.init=e.init.transform(t)),e.condition&&(e.condition=e.condition.transform(t)),e.step&&(e.step=e.step.transform(t)),e.body=e.body.transform(t)}),t(_e,function(e,t){e.init=e.init.transform(t),e.object=e.object.transform(t),e.body=e.body.transform(t)}),t(we,function(e,t){e.expression=e.expression.transform(t),e.body=e.body.transform(t)}),t(Be,function(e,t){e.value&&(e.value=e.value.transform(t))}),t(Re,function(e,t){e.label&&(e.label=e.label.transform(t))}),t(Me,function(e,t){e.condition=e.condition.transform(t),e.body=e.body.transform(t),e.alternative&&(e.alternative=e.alternative.transform(t))}),t(Ue,function(e,t){e.expression=e.expression.transform(t),e.body=n(e.body,t)}),t(qe,function(e,t){e.expression=e.expression.transform(t),e.body=n(e.body,t)}),t(ze,function(e,t){e.body=n(e.body,t),e.bcatch&&(e.bcatch=e.bcatch.transform(t)),e.bfinally&&(e.bfinally=e.bfinally.transform(t))}),t(Ie,function(e,t){e.argname=e.argname.transform(t),e.body=n(e.body,t)}),t(Ve,function(e,t){e.definitions=n(e.definitions,t)}),t(He,function(e,t){e.name=e.name.transform(t),e.value&&(e.value=e.value.transform(t))}),t(xe,function(e,t){e.name&&(e.name=e.name.transform(t)),e.argnames=n(e.argnames,t),e.body=n(e.body,t)}),t(Ke,function(e,t){e.expression=e.expression.transform(t),e.args=n(e.args,t)}),t(Ye,function(e,t){e.expressions=n(e.expressions,t)}),t(Qe,function(e,t){e.expression=e.expression.transform(t)}),t(Ze,function(e,t){e.expression=e.expression.transform(t),e.property=e.property.transform(t)}),t(Je,function(e,t){e.expression=e.expression.transform(t)}),t(tt,function(e,t){e.left=e.left.transform(t),e.right=e.right.transform(t)}),t(nt,function(e,t){e.condition=e.condition.transform(t),e.consequent=e.consequent.transform(t),e.alternative=e.alternative.transform(t)}),t(ot,function(e,t){e.elements=n(e.elements,t)}),t(it,function(e,t){e.properties=n(e.properties,t)}),t(at,function(e,t){e.value=e.value.transform(t)})}(),$.next_id=1,$.prototype={unmangleable:function(e){return e||(e={}),this.global&&!e.toplevel||this.undeclared||!e.eval&&(this.scope.uses_eval||this.scope.uses_with)||e.keep_fnames&&(this.orig[0]instanceof gt||this.orig[0]instanceof mt)},mangle:function(e){var t=e.cache&&e.cache.props;if(this.global&&t&&t.has(this.name))this.mangled_name=t.get(this.name);else if(!this.mangled_name&&!this.unmangleable(e)){var n=this.scope,r=this.orig[0];e.ie8&&r instanceof gt&&(n=n.parent_scope);var o;(o=this.redefined())?this.mangled_name=o.mangled_name||o.name:this.mangled_name=n.next_mangled(e,this),this.global&&t&&t.set(this.name,this.mangled_name)}},redefined:function(){return this.defun&&this.defun.variables.get(this.name)}},Ae.DEFMETHOD("figure_out_scope",function(e){e=u(e,{cache:null,ie8:!1});var t=this,n=t.parent_scope=null,r=new w,o=null,i=new k(function(t,i){if(t instanceof Ie){a=n;return(n=new Ee(t)).init_scope_vars(a),i(),n=a,!0}if(t instanceof Ee){t.init_scope_vars(n);var a=n,s=o,u=r;return o=n=t,r=new w,i(),n=a,o=s,r=u,!0}if(t instanceof de){var l=t.label;if(r.has(l.name))throw new Error(g("Label {name} defined twice",l));return r.set(l.name,l),i(),r.del(l.name),!0}if(t instanceof we)for(var c=n;c;c=c.parent_scope)c.uses_with=!0;else if(t instanceof ct&&(t.scope=n),t instanceof bt&&(t.thedef=t,t.references=[]),t instanceof gt)o.def_function(t);else if(t instanceof mt)(t.scope=o.parent_scope).def_function(t);else if(t instanceof ht){if(o.def_variable(t),o!==n){t.mark_enclosed(e);var f=n.find_variable(t);t.thedef!==f&&(t.thedef=f,t.reference(e))}}else if(t instanceof vt)n.def_variable(t).defun=o;else if(t instanceof _t){var p=r.get(t.name);if(!p)throw new Error(g("Undefined label {name} [{line},{col}]",{name:t.name,line:t.start.line,col:t.start.col}));t.thedef=p}});t.walk(i),t.globals=new w;i=new k(function(n,r){if(n instanceof Re&&n.label)return n.label.thedef.references.push(n),!0;if(n instanceof yt){var o=n.name;if("eval"==o&&i.parent()instanceof Ke)for(u=n.scope;u&&!u.uses_eval;u=u.parent_scope)u.uses_eval=!0;var a=n.scope.find_variable(o);return a?a.scope instanceof xe&&"arguments"==o&&(a.scope.uses_arguments=!0):a=t.def_global(n),n.thedef=a,n.reference(e),!0}var s;if(n instanceof vt&&(s=n.definition().redefined()))for(var u=n.scope;u&&(m(u.enclosed,s),u!==s.scope);)u=u.parent_scope});t.walk(i),e.ie8&&t.walk(new k(function(n,r){if(n instanceof vt){var o=n.name,i=n.thedef.references,a=n.thedef.defun,s=a.find_variable(o)||t.globals.get(o)||a.def_variable(n);return i.forEach(function(t){t.thedef=s,t.reference(e)}),n.thedef=s,n.reference(e),!0}})),e.cache&&(this.cname=e.cache.cname)}),Ae.DEFMETHOD("def_global",function(e){var t=this.globals,n=e.name;if(t.has(n))return t.get(n);var r=new $(this,t.size(),e);return r.undeclared=!0,r.global=!0,t.set(n,r),r}),Ee.DEFMETHOD("init_scope_vars",function(e){this.variables=new w,this.functions=new w,this.uses_with=!1,this.uses_eval=!1,this.parent_scope=e,this.enclosed=[],this.cname=-1}),xe.DEFMETHOD("init_scope_vars",function(){Ee.prototype.init_scope_vars.apply(this,arguments),this.uses_arguments=!1,this.def_variable(new dt({name:"arguments",start:this.start,end:this.end}))}),ct.DEFMETHOD("mark_enclosed",function(e){for(var t=this.definition(),n=this.scope;n&&(m(n.enclosed,t),e.keep_fnames&&n.functions.each(function(e){m(t.scope.enclosed,e)}),n!==t.scope);)n=n.parent_scope}),ct.DEFMETHOD("reference",function(e){this.definition().references.push(this),this.mark_enclosed(e)}),Ee.DEFMETHOD("find_variable",function(e){return e instanceof ct&&(e=e.name),this.variables.get(e)||this.parent_scope&&this.parent_scope.find_variable(e)}),Ee.DEFMETHOD("def_function",function(e){this.functions.set(e.name,this.def_variable(e))}),Ee.DEFMETHOD("def_variable",function(e){var t;return this.variables.has(e.name)?(t=this.variables.get(e.name)).orig.push(e):(t=new $(this,this.variables.size(),e),this.variables.set(e.name,t),t.global=!this.parent_scope),e.thedef=t}),Ee.DEFMETHOD("next_mangled",function(e){var t=this.enclosed;e:for(;;){var n=en(++this.cname);if(F(n)&&!(e.reserved.indexOf(n)>=0)){for(var r=t.length;--r>=0;){var o=t[r];if(n==(o.mangled_name||o.unmangleable(e)&&o.name))continue e}return n}}}),ke.DEFMETHOD("next_mangled",function(e,t){for(var n=t.orig[0]instanceof dt&&this.name&&this.name.definition(),r=n?n.mangled_name||n.name:null;;){var o=xe.prototype.next_mangled.call(this,e,t);if(!r||r!=o)return o}}),ct.DEFMETHOD("unmangleable",function(e){var t=this.definition();return!t||t.unmangleable(e)}),bt.DEFMETHOD("unmangleable",f),ct.DEFMETHOD("unreferenced",function(){return 0==this.definition().references.length&&!(this.scope.uses_eval||this.scope.uses_with)}),ct.DEFMETHOD("definition",function(){return this.thedef}),ct.DEFMETHOD("global",function(){return this.definition().global}),Ae.DEFMETHOD("_default_mangler_options",function(e){return e=u(e,{eval:!1,ie8:!1,keep_fnames:!1,reserved:[],toplevel:!1}),Array.isArray(e.reserved)||(e.reserved=[]),e}),Ae.DEFMETHOD("mangle_names",function(e){(e=this._default_mangler_options(e)).reserved.push("arguments");var t=-1,n=[];e.cache&&this.globals.each(function(t){e.reserved.indexOf(t.name)<0&&n.push(t)});var r=new k(function(o,i){if(o instanceof de){var a=t;return i(),t=a,!0}if(o instanceof Ee){r.parent();var s=[];return o.variables.each(function(t){e.reserved.indexOf(t.name)<0&&s.push(t)}),void n.push.apply(n,s)}if(o instanceof bt){var u;do{u=en(++t)}while(!F(u));return o.mangled_name=u,!0}!e.ie8&&o instanceof vt&&n.push(o.definition())});this.walk(r),n.forEach(function(t){t.mangle(e)}),e.cache&&(e.cache.cname=this.cname)}),Ae.DEFMETHOD("compute_char_frequency",function(e){function t(e){e instanceof At?en.consider(e.value,-1):e instanceof nt?(t(e.consequent),t(e.alternative)):e instanceof Ye&&t(e.expressions[e.expressions.length-1])}e=this._default_mangler_options(e);try{ie.prototype.print=function(n,r){this._print(n,r),this instanceof ct&&!this.unmangleable(e)?en.consider(this.name,-1):e.properties&&(this instanceof Qe?en.consider(this.property,-1):this instanceof Ze&&t(this.property))},en.consider(this.print_to_string(),1)}finally{ie.prototype.print=ie.prototype._print}en.sort()});var en=function(){function e(){o=Object.create(null),i.forEach(function(e){o[e]=0}),a.forEach(function(e){o[e]=0})}function t(e,t){return o[t]-o[e]}function n(e){var t="",n=54;e++;do{t+=r[--e%n],e=Math.floor(e/n),n=64}while(e>0);return t}var r,o,i="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_".split(""),a="0123456789".split("");return n.consider=function(e,t){for(var n=e.length;--n>=0;)o[e[n]]+=t},n.sort=function(){r=b(i,t).concat(b(a,t))},n.reset=e,e(),n}(),tn=/^$|[;{][\s\n]*$/;!function(){function e(e,t){e.DEFMETHOD("_codegen",t)}function t(e,n){Array.isArray(e)?e.forEach(function(e){t(e,n)}):e.DEFMETHOD("needs_parens",n)}function n(e,t,n,r){var o=e.length-1;g=r,e.forEach(function(e,r){!0!==g||e instanceof ue||e instanceof pe||e instanceof le&&e.body instanceof At||(g=!1),e instanceof pe||(n.indent(),e.print(n),r==o&&t||(n.newline(),t&&n.newline())),!0===g&&e instanceof le&&e.body instanceof At&&(g=!1)}),g=!1}function r(e,t,r){e.length>0?t.with_block(function(){n(e,!1,t,r)}):t.print("{}")}function o(e,t){var n=e.body;if(t.option("bracketize")||t.option("ie8")&&n instanceof ve)return p(n,t);if(!n)return t.force_semicolon();for(;;)if(n instanceof Me){if(!n.alternative)return void p(e.body,t);n=n.alternative}else{if(!(n instanceof he))break;n=n.body}s(e.body,t)}function i(e,t,n){var r=!1;n&&e.walk(new k(function(e){return!!(r||e instanceof Ee)||(e instanceof tt&&"in"==e.operator?(r=!0,!0):void 0)})),e.print(t,r)}function a(e,t,n){n.option("quote_keys")?n.print_string(e+""):("number"==typeof e||!n.option("beautify")&&+e+""==e)&&parseFloat(e)>=0?n.print(f(e)):(Nt(e)?!n.option("ie8"):U(e))?t&&n.option("keep_quoted_props")?n.print_string(e,t):n.print_name(e):n.print_string(e,t)}function s(e,t){t.option("bracketize")?p(e,t):!e||e instanceof pe?t.force_semicolon():e.print(t)}function u(e,t){return e.args.length>0||t.option("beautify")}function l(e){for(var t=e[0],n=t.length,r=1;r<e.length;++r)e[r].length<n&&(n=(t=e[r]).length);return t}function f(e){var t,n=e.toString(10),r=[n.replace(/^0\./,".").replace("e+","e")];return Math.floor(e)===e?(e>=0?r.push("0x"+e.toString(16).toLowerCase(),"0"+e.toString(8)):r.push("-0x"+(-e).toString(16).toLowerCase(),"-0"+(-e).toString(8)),(t=/^(.*?)(0+)$/.exec(e))&&r.push(t[1]+"e"+t[2].length)):(t=/^0?\.(0+)(.*)$/.exec(e))&&r.push(t[2]+"e-"+(t[1].length+t[2].length),n.substr(n.indexOf("."))),l(r)}function p(e,t){!e||e instanceof pe?t.print("{}"):e instanceof fe?e.print(t):t.with_block(function(){t.indent(),e.print(t),t.newline()})}function h(e,t){e.DEFMETHOD("add_source_map",function(e){t(this,e)})}function d(e,t){t.add_mapping(e.start)}var m=!1,g=!1;ie.DEFMETHOD("print",function(e,t){function n(){r.add_comments(e),r.add_source_map(e),o(r,e)}var r=this,o=r._codegen,i=m;r instanceof ue&&"use asm"==r.value&&e.parent()instanceof Ee&&(m=!0),e.push_node(r),t||r.needs_parens(e)?e.with_parens(n):n(),e.pop_node(),r instanceof Ee&&(m=i)}),ie.DEFMETHOD("_print",ie.prototype.print),ie.DEFMETHOD("print_to_string",function(e){var t=K(e);return e||(t._readonly=!0),this.print(t),t.get()}),ie.DEFMETHOD("add_comments",function(e){if(!e._readonly){var t=this,n=t.start;if(n&&!n._comments_dumped){n._comments_dumped=!0;var r=n.comments_before||[];if(t instanceof Be&&t.value&&t.value.walk(new k(function(e){if(e.start&&e.start.comments_before&&(r=r.concat(e.start.comments_before),e.start.comments_before=[]),e instanceof ke||e instanceof ot||e instanceof it)return!0})),0==e.pos()){r.length>0&&e.option("shebang")&&"comment5"==r[0].type&&(e.print("#!"+r.shift().value+"\n"),e.indent());var o=e.option("preamble");o&&e.print(o.replace(/\r\n?|[\n\u2028\u2029]|\s*$/g,"\n"))}r=r.filter(e.comment_filter,t),!e.option("beautify")&&r.length>0&&/comment[134]/.test(r[0].type)&&0!==e.col()&&r[0].nlb&&e.print("\n"),r.forEach(function(t){/comment[134]/.test(t.type)?(e.print("//"+t.value+"\n"),e.indent()):"comment2"==t.type&&(e.print("/*"+t.value+"*/"),n.nlb?(e.print("\n"),e.indent()):e.space())})}}}),t(ie,function(){return!1}),t(ke,function(e){if(A(e))return!0;if(e.option("webkit")&&(t=e.parent())instanceof We&&t.expression===this)return!0;if(e.option("wrap_iife")){var t=e.parent();return t instanceof Ke&&t.expression===this}return!1}),t(it,function(e){return A(e)}),t(Je,function(e){var t=e.parent();return t instanceof We&&t.expression===this||t instanceof Ke&&t.expression===this}),t(Ye,function(e){var t=e.parent();return t instanceof Ke||t instanceof Je||t instanceof tt||t instanceof He||t instanceof We||t instanceof ot||t instanceof at||t instanceof nt}),t(tt,function(e){var t=e.parent();if(t instanceof Ke&&t.expression===this)return!0;if(t instanceof Je)return!0;if(t instanceof We&&t.expression===this)return!0;if(t instanceof tt){var n=t.operator,r=Jt[n],o=this.operator,i=Jt[o];if(r>i||r==i&&this===t.right)return!0}}),t(We,function(e){var t=e.parent();if(t instanceof Ge&&t.expression===this){var n=!1;return this.walk(new k(function(e){return!!(n||e instanceof Ee)||(e instanceof Ke?(n=!0,!0):void 0)})),n}}),t(Ke,function(e){var t,n=e.parent();return n instanceof Ge&&n.expression===this||this.expression instanceof ke&&n instanceof We&&n.expression===this&&(t=e.parent(1))instanceof rt&&t.left===n}),t(Ge,function(e){var t=e.parent();if(!u(this,e)&&(t instanceof We||t instanceof Ke&&t.expression===this))return!0}),t(xt,function(e){var t=e.parent();if(t instanceof We&&t.expression===this){var n=this.getValue();if(n<0||/^0/.test(f(n)))return!0}}),t([rt,nt],function(e){var t=e.parent();return t instanceof Je||(t instanceof tt&&!(t instanceof rt)||(t instanceof Ke&&t.expression===this||(t instanceof nt&&t.condition===this||(t instanceof We&&t.expression===this||void 0))))}),e(ue,function(e,t){t.print_string(e.value,e.quote),t.semicolon()}),e(se,function(e,t){t.print("debugger"),t.semicolon()}),he.DEFMETHOD("_do_print_body",function(e){s(this.body,e)}),e(ae,function(e,t){e.body.print(t),t.semicolon()}),e(Ae,function(e,t){n(e.body,!0,t,!0),t.print("")}),e(de,function(e,t){e.label.print(t),t.colon(),e.body.print(t)}),e(le,function(e,t){e.body.print(t),t.semicolon()}),e(fe,function(e,t){r(e.body,t)}),e(pe,function(e,t){t.semicolon()}),e(ve,function(e,t){t.print("do"),t.space(),p(e.body,t),t.space(),t.print("while"),t.space(),t.with_parens(function(){e.condition.print(t)}),t.semicolon()}),e(be,function(e,t){t.print("while"),t.space(),t.with_parens(function(){e.condition.print(t)}),t.space(),e._do_print_body(t)}),e(ye,function(e,t){t.print("for"),t.space(),t.with_parens(function(){e.init?(e.init instanceof Ve?e.init.print(t):i(e.init,t,!0),t.print(";"),t.space()):t.print(";"),e.condition?(e.condition.print(t),t.print(";"),t.space()):t.print(";"),e.step&&e.step.print(t)}),t.space(),e._do_print_body(t)}),e(_e,function(e,t){t.print("for"),t.space(),t.with_parens(function(){e.init.print(t),t.space(),t.print("in"),t.space(),e.object.print(t)}),t.space(),e._do_print_body(t)}),e(we,function(e,t){t.print("with"),t.space(),t.with_parens(function(){e.expression.print(t)}),t.space(),e._do_print_body(t)}),xe.DEFMETHOD("_do_print",function(e,t){var n=this;t||e.print("function"),n.name&&(e.space(),n.name.print(e)),e.with_parens(function(){n.argnames.forEach(function(t,n){n&&e.comma(),t.print(e)})}),e.space(),r(n.body,e,!0)}),e(xe,function(e,t){e._do_print(t)}),Be.DEFMETHOD("_do_print",function(e,t){e.print(t),this.value&&(e.space(),this.value.print(e)),e.semicolon()}),e(De,function(e,t){e._do_print(t,"return")}),e(Te,function(e,t){e._do_print(t,"throw")}),Re.DEFMETHOD("_do_print",function(e,t){e.print(t),this.label&&(e.space(),this.label.print(e)),e.semicolon()}),e(Fe,function(e,t){e._do_print(t,"break")}),e(Le,function(e,t){e._do_print(t,"continue")}),e(Me,function(e,t){t.print("if"),t.space(),t.with_parens(function(){e.condition.print(t)}),t.space(),e.alternative?(o(e,t),t.space(),t.print("else"),t.space(),e.alternative instanceof Me?e.alternative.print(t):s(e.alternative,t)):e._do_print_body(t)}),e(Ue,function(e,t){t.print("switch"),t.space(),t.with_parens(function(){e.expression.print(t)}),t.space();var n=e.body.length-1;n<0?t.print("{}"):t.with_block(function(){e.body.forEach(function(e,r){t.indent(!0),e.print(t),r<n&&e.body.length>0&&t.newline()})})}),Ne.DEFMETHOD("_do_print_body",function(e){e.newline(),this.body.forEach(function(t){e.indent(),t.print(e),e.newline()})}),e(Pe,function(e,t){t.print("default:"),e._do_print_body(t)}),e(qe,function(e,t){t.print("case"),t.space(),e.expression.print(t),t.print(":"),e._do_print_body(t)}),e(ze,function(e,t){t.print("try"),t.space(),r(e.body,t),e.bcatch&&(t.space(),e.bcatch.print(t)),e.bfinally&&(t.space(),e.bfinally.print(t))}),e(Ie,function(e,t){t.print("catch"),t.space(),t.with_parens(function(){e.argname.print(t)}),t.space(),r(e.body,t)}),e(je,function(e,t){t.print("finally"),t.space(),r(e.body,t)}),Ve.DEFMETHOD("_do_print",function(e,t){e.print(t),e.space(),this.definitions.forEach(function(t,n){n&&e.comma(),t.print(e)});var n=e.parent();(n instanceof ye||n instanceof _e)&&n.init===this||e.semicolon()}),e($e,function(e,t){e._do_print(t,"var")}),e(He,function(e,t){if(e.name.print(t),e.value){t.space(),t.print("="),t.space();var n=t.parent(1),r=n instanceof ye||n instanceof _e;i(e.value,t,r)}}),e(Ke,function(e,t){e.expression.print(t),e instanceof Ge&&!u(e,t)||(e.expression instanceof xe&&t.add_mapping(e.start),t.with_parens(function(){e.args.forEach(function(e,n){n&&t.comma(),e.print(t)})}))}),e(Ge,function(e,t){t.print("new"),t.space(),Ke.prototype._codegen(e,t)}),Ye.DEFMETHOD("_do_print",function(e){this.expressions.forEach(function(t,n){n>0&&(e.comma(),e.should_break()&&(e.newline(),e.indent())),t.print(e)})}),e(Ye,function(e,t){e._do_print(t)}),e(Qe,function(e,t){var n=e.expression;n.print(t);var r=e.property;t.option("ie8")&&Nt(r)?(t.print("["),t.add_mapping(e.end),t.print_string(r),t.print("]")):(n instanceof xt&&n.getValue()>=0&&(/[xa-f.)]/i.test(t.last())||t.print(".")),t.print("."),t.add_mapping(e.end),t.print_name(r))}),e(Ze,function(e,t){e.expression.print(t),t.print("["),e.property.print(t),t.print("]")}),e(Xe,function(e,t){var n=e.operator;t.print(n),(/^[a-z]/i.test(n)||/[+-]$/.test(n)&&e.expression instanceof Xe&&/^[+-]/.test(e.expression.operator))&&t.space(),e.expression.print(t)}),e(et,function(e,t){e.expression.print(t),t.print(e.operator)}),e(tt,function(e,t){var n=e.operator;e.left.print(t),">"==n[0]&&e.left instanceof et&&"--"==e.left.operator?t.print(" "):t.space(),t.print(n),("<"==n||"<<"==n)&&e.right instanceof Xe&&"!"==e.right.operator&&e.right.expression instanceof Xe&&"--"==e.right.expression.operator?t.print(" "):t.space(),e.right.print(t)}),e(nt,function(e,t){e.condition.print(t),t.space(),t.print("?"),t.space(),e.consequent.print(t),t.space(),t.colon(),e.alternative.print(t)}),e(ot,function(e,t){t.with_square(function(){var n=e.elements,r=n.length;r>0&&t.space(),n.forEach(function(e,n){n&&t.comma(),e.print(t),n===r-1&&e instanceof Dt&&t.comma()}),r>0&&t.space()})}),e(it,function(e,t){e.properties.length>0?t.with_block(function(){e.properties.forEach(function(e,n){n&&(t.print(","),t.newline()),t.indent(),e.print(t)}),t.newline()}):t.print("{}")}),e(st,function(e,t){a(e.key,e.quote,t),t.colon(),e.value.print(t)}),at.DEFMETHOD("_print_getter_setter",function(e,t){t.print(e),t.space(),a(this.key.name,this.quote,t),this.value._do_print(t,!0)}),e(ut,function(e,t){e._print_getter_setter("set",t)}),e(lt,function(e,t){e._print_getter_setter("get",t)}),e(ct,function(e,t){var n=e.definition();t.print_name(n?n.mangled_name||n.name:e.name)}),e(Dt,c),e(wt,function(e,t){t.print("this")}),e(Et,function(e,t){t.print(e.getValue())}),e(At,function(e,t){t.print_string(e.getValue(),e.quote,g)}),e(xt,function(e,t){m&&e.start&&null!=e.start.raw?t.print(e.start.raw):t.print(f(e.getValue()))}),e(Ct,function(e,t){var n=e.getValue(),r=n.toString();n.raw_source&&(r="/"+n.raw_source+r.slice(r.lastIndexOf("/"))),r=t.to_utf8(r),t.print(r);var o=t.parent();o instanceof tt&&/^in/.test(o.operator)&&o.left===e&&t.print(" ")}),h(ie,c),h(ue,d),h(se,d),h(ct,d),h(Se,d),h(he,d),h(de,c),h(xe,d),h(Ue,d),h(Ne,d),h(fe,d),h(Ae,c),h(Ge,d),h(ze,d),h(Ie,d),h(je,d),h(Ve,d),h(Et,d),h(ut,function(e,t){t.add_mapping(e.start,e.key.name)}),h(lt,function(e,t){t.add_mapping(e.start,e.key.name)}),h(at,function(e,t){t.add_mapping(e.start,e.key)})}(),G.prototype=new V,l(G.prototype,{option:function(e){return this.options[e]},exposed:function(e){if(e.global)for(var t=0,n=e.orig.length;t<n;t++)if(!this.toplevel[e.orig[t]instanceof mt?"funcs":"vars"])return!0;return!1},compress:function(e){this.option("expression")&&e.process_expression(!0);for(var t=+this.options.passes||1,n=1/0,r=0;r<t;r++)if((r>0||this.option("reduce_vars"))&&e.reset_opt_flags(this,!0),e=e.transform(this),t>1){var o=0;if(e.walk(new k(function(){o++})),this.info("pass "+r+": last_count: "+n+", count: "+o),o>=n)break;n=o}return this.option("expression")&&e.process_expression(!1),e},info:function(){"verbose"==this.options.warnings&&ie.warn.apply(ie,arguments)},warn:function(e,t){if(this.options.warnings){var n=g(e,t);n in this.warnings_produced||(this.warnings_produced[n]=!0,ie.warn.apply(ie,arguments))}},clear_warnings:function(){this.warnings_produced={}},before:function(e,t,n){if(e._squeezed)return e;var r=!1;e instanceof Ee&&(e=e.hoist_declarations(this),r=!0),t(e,this),t(e,this);var o=e.optimize(this);return r&&o instanceof Ee&&(o.drop_unused(this),t(o,this)),o===e&&(o._squeezed=!0),o}}),function(){function e(e,t){e.DEFMETHOD("optimize",function(e){var n=this;if(n._optimized)return n;if(e.has_directive("use asm"))return n;var r=t(n,e);return r._optimized=!0,r})}function t(e){if(e instanceof yt)return e.definition().orig[0]instanceof gt;if(e instanceof We){if((e=e.expression)instanceof yt){if(e.is_immutable())return!1;e=e.fixed_value()}return!e||!(e instanceof Ct)&&(e instanceof Et||t(e))}return!1}function n(e,t){for(var n,r=0;(n=e.parent(r++))&&!(n instanceof Ee);)if(n instanceof Ie){n=n.argname.definition().scope;break}return n.find_variable(t)}function i(e,t,n){return n||(n={}),t&&(n.start||(n.start=t.start),n.end||(n.end=t.end)),new e(n)}function a(e,t){return 1==t.length?t[0]:i(Ye,e,{expressions:t})}function s(e,t){switch(typeof e){case"string":return i(At,t,{value:e});case"number":return isNaN(e)?i(St,t):isFinite(e)?1/e<0?i(Xe,t,{operator:"-",expression:i(xt,t,{value:-e})}):i(xt,t,{value:e}):e<0?i(Xe,t,{operator:"-",expression:i(Tt,t)}):i(Tt,t);case"boolean":return i(e?Lt:Ft,t);case"undefined":return i(Bt,t);default:if(null===e)return i(Ot,t,{value:null});if(e instanceof RegExp)return i(Ct,t,{value:e});throw new Error(g("Can't handle constant of type: {type}",{type:typeof e}))}}function u(e,t,n){return e instanceof Xe&&"delete"==e.operator||e instanceof Ke&&e.expression===t&&(n instanceof We||n instanceof yt&&"eval"==n.name)?a(t,[i(xt,t,{value:0}),n]):n}function l(e,t){t instanceof Ye?e.push.apply(e,t.expressions):e.push(t)}function m(e){if(null===e)return[];if(e instanceof fe)return e.body;if(e instanceof pe)return[];if(e instanceof ae)return[e];throw new Error("Can't convert thing to statement array")}function b(e){return null===e||(e instanceof pe||e instanceof fe&&0==e.body.length)}function x(e){return e instanceof Ue?e:(e instanceof ye||e instanceof _e||e instanceof ge)&&e.body instanceof fe?e.body:e}function O(e){return e instanceof Ke&&!(e instanceof Ge)&&(e.expression instanceof ke||O(e.expression))}function S(e){return e instanceof yt&&e.definition().undeclared}function B(e,n){function r(e){for(var t=[],n=0;n<e.length;){var o=e[n];o instanceof fe?(s=!0,r(o.body),[].splice.apply(e,[n,1].concat(o.body)),n+=o.body.length):o instanceof pe?(s=!0,e.splice(n,1)):o instanceof ue?t.indexOf(o.value)<0?(n++,t.push(o.value)):(s=!0,e.splice(n,1)):n++}}function o(e,t){function n(e){o--;var n=r.body;return n instanceof Ye||(n=i(Ye,n,{expressions:[n]})),l(n.expressions,e),n.transform(t)}for(var r,o=0,a=0,s=e.length;a<s;a++){var u=e[a];if(r)if(u instanceof ye&&!(u.init instanceof Ve)){var c=!1;r.body.walk(new k(function(e){return!!(c||e instanceof Ee)||(e instanceof tt&&"in"==e.operator?(c=!0,!0):void 0)})),c||(u.init?u.init=n(u.init):(u.init=r.body.drop_side_effect_free(t),o--))}else u instanceof Me?u.condition=n(u.condition):u instanceof we?u.expression=n(u.expression):u instanceof Be&&u.value?u.value=n(u.value):u instanceof Be?u.value=n(i(Bt,u).transform(t)):u instanceof Ue&&(u.expression=n(u.expression));e[o++]=u,r=u instanceof le?u:null}e.length=o}var s,c=10;do{s=!1,r(e),n.option("dead_code")&&function(e,t){for(var n,r=t.self(),o=0,i=0,a=e.length;o<a;o++){var u=e[o];if(u instanceof Re){var l=t.loopcontrol_target(u);u instanceof Fe&&!(l instanceof me)&&x(l)===r||u instanceof Le&&x(l)===r?u.label&&v(u.label.thedef.references,u):e[i++]=u}else e[i++]=u;if(N(u)){n=e.slice(o+1);break}}e.length=i,s=i!=a,n&&n.forEach(function(n){D(t,n,e)})}(e,n),n.option("if_return")&&function(e,t){function n(e){return!e||e instanceof Xe&&"void"==e.operator}function r(e){if(!e)return!1;var r=e instanceof Re?t.loopcontrol_target(e):null;return e instanceof De&&c&&n(e.value)||e instanceof Le&&u===x(r)||e instanceof Fe&&r instanceof fe&&u===r}function o(){var t=e.slice(f+1);return e.length=f+1,t.filter(function(t){return!(t instanceof Oe&&(e.push(t),1))})}function a(e,t){var n=m(e).slice(0,-1);return t.value&&n.push(i(le,t.value,{body:t.value.expression})),n}for(var u=t.self(),l=function(e){for(var t=0,n=e.length;--n>=0;){var r=e[n];if(r instanceof Me&&r.body instanceof De&&++t>1)return!0}return!1}(e),c=u instanceof xe,f=e.length;--f>=0;){var p=e[f],h=e[f+1];if(c&&p instanceof De&&!p.value&&!h)s=!0,e.length--;else{if(p instanceof Me){var d=N(p.body);if(r(d)){d.label&&v(d.label.thedef.references,d),s=!0,(p=p.clone()).condition=p.condition.negate(t),g=a(p.body,d),p.body=i(fe,p,{body:m(p.alternative).concat(o())}),p.alternative=i(fe,p,{body:g}),e[f]=p.transform(t);continue}if(r(d=N(p.alternative))){d.label&&v(d.label.thedef.references,d),s=!0,(p=p.clone()).body=i(fe,p.body,{body:m(p.body).concat(o())});var g=a(p.alternative,d);p.alternative=i(fe,p.alternative,{body:g}),e[f]=p.transform(t);continue}}if(p instanceof Me&&p.body instanceof De){var b=p.body.value;if(!b&&!p.alternative&&(c&&!h||h instanceof De&&!h.value)){s=!0,e[f]=i(le,p.condition,{body:p.condition});continue}if(b&&!p.alternative&&h instanceof De&&h.value){s=!0,(p=p.clone()).alternative=h,e.splice(f,2,p.transform(t));continue}if(l&&c&&b&&!p.alternative&&(!h||h instanceof De)){s=!0,(p=p.clone()).alternative=h||i(De,p,{value:null}),e.splice(f,h?2:1,p.transform(t));continue}var y=e[f-1];if(t.option("sequences")&&c&&!p.alternative&&y instanceof Me&&y.body instanceof De&&f+2==e.length&&h instanceof le){s=!0,e.push(i(De,h,{value:null}).transform(t));continue}}}}}(e,n),n.sequences_limit>0&&function(e,t){function n(){if(r.length){var t=a(r[0],r);e[u++]=i(le,t,{body:t}),r=[]}}if(!(e.length<2)){for(var r=[],u=0,c=0,f=e.length;c<f;c++){var p=e[c];if(p instanceof le){r.length>=t.sequences_limit&&n();var h=p.body;r.length>0&&(h=h.drop_side_effect_free(t)),h&&l(r,h)}else n(),e[u++]=p}n(),e.length=u,o(e,t),s=e.length!=f}}(e,n),n.option("join_vars")&&function(e,t){for(var n=0,r=-1,o=e.length;n<o;n++){var i=e[n],a=e[r];i instanceof Ve&&a&&a.TYPE==i.TYPE?(a.definitions=a.definitions.concat(i.definitions),s=!0):i instanceof ye&&a instanceof $e&&(!i.init||i.init.TYPE==a.TYPE)?(s=!0,i.init?i.init.definitions=a.definitions.concat(i.init.definitions):i.init=a,e[r]=i):e[++r]=i}e.length=r+1}(e),n.option("collapse_vars")&&function(e,n){function r(e){e instanceof rt&&!e.left.has_side_effects(n)||e instanceof Je&&("++"==e.operator||"--"==e.operator)?f.push(e):e instanceof Ye?e.expressions.forEach(r):e instanceof Ve?e.definitions.forEach(function(e){e.value&&f.push(e)}):e instanceof le?r(e.body):e instanceof ye&&e.init&&r(e.init)}function o(e){for(;e instanceof We;)e=e.expression;return e}function a(e){return e instanceof He?e.value&&e.name:R(e.left,e)}function l(e){return 1==e.orig.length&&e.orig[0]instanceof mt||e.scope===c&&e.references.every(function(e){return e.scope===c})}var c=n.find_parent(Ee);if(c.uses_eval||c.uses_with)return e;for(var f=[],p=e.length;--p>=0;)for(0==p&&n.option("unused")&&function(){var e,t=n.self();if(t instanceof ke&&!t.name&&!t.uses_arguments&&!t.uses_eval&&(e=n.parent())instanceof Ke&&e.expression===t)for(var r=Object.create(null),o=t.argnames.length;--o>=0;){var a=t.argnames[o];if(!(a.name in r)){r[a.name]=!0;var s=e.args[o];if(s){var u=new k(function(e){if(!s)return!0;if(e instanceof yt&&t.variables.has(e.name)){var n=e.definition().scope;if(n!==c)for(;n=n.parent_scope;)if(n===c)return!0;s=null}return e instanceof wt&&!u.find_parent(Ee)?(s=null,!0):void 0});s.walk(u)}else s=i(Bt,a).transform(n);s&&f.unshift(i(He,a,{name:a,value:s}))}}}(),r(e[p]);f.length>0;){var h=f.pop(),d=function(e){if(!(e instanceof He))return e[e instanceof rt?"left":"expression"];var t=e.name.definition();return t.orig.length>1&&!(e.name instanceof dt)||1==t.references.length&&!n.exposed(t)?i(yt,e.name,e.name):void 0}(h);if(d&&!t(d)){var m=function(e){var t=Object.create(null);if(e instanceof Je)return t;var n,r=new k(function(e,i){if(e instanceof Ee){var a=n;return i(),n=a,!0}if(e instanceof yt||e instanceof We){var s=o(e);s instanceof yt&&(t[s.name]=t[s.name]||R(e,r.parent()))}});return e[e instanceof rt?"right":"value"].walk(r),t}(h);d instanceof yt&&(m[d.name]=!1);for(var g=function(e){return!(e instanceof Je)&&e[e instanceof rt?"right":"value"].has_side_effects(n)}(h),b=h.name instanceof dt,y=!1,_=!1,w=new V(function(e,t){if(y)return e;if(b){var r=w.parent();if(e instanceof rt&&"="!=e.operator&&d.equivalent_to(e.left)||e instanceof Ke&&d instanceof We&&d.equivalent_to(e.expression)||e instanceof se||e instanceof me&&!(e instanceof ye)||e instanceof yt&&!e.is_declared(n)||e instanceof ze||e instanceof we||r instanceof ye&&e!==r.init)return y=!0,e;if(!(e instanceof pt)&&!R(e,r)&&d.equivalent_to(e)){if(s=_=y=!0,n.info("Collapsing {name} [{file}:{line},{col}]",{name:e.print_to_string(),file:e.start.file,line:e.start.line,col:e.start.col}),h instanceof et)return i(Xe,h,h);if(h instanceof He){var c=h.name.definition();return 1!=c.references.length||n.exposed(c)?i(rt,h,{operator:"=",left:i(yt,h.name,h.name),right:h.value}):u(r,e,h.value)}return h.write_only=!1,h}var f;return e instanceof Ke||e instanceof Be||e instanceof We||e instanceof yt&&(m[e.name]||g&&!l(e.definition()))||(f=a(e))&&o(f).name in m||r instanceof tt&&("&&"==r.operator||"||"==r.operator)||r instanceof qe||r instanceof nt||r instanceof ye||r instanceof Me?(e instanceof Ee||t(e,w),y=!0,e):e instanceof Pe||e instanceof Ee?e:void 0}return e===h?(b=!0,e):void 0}),E=p;!y&&E<e.length;E++)e[E].transform(w);_&&!function(t){if(t.name instanceof dt){var r=n.self().argnames.indexOf(t.name),o=n.parent().args;return o[r]&&(o[r]=i(xt,o[r],{value:0})),!0}var a=!1;return e[p].transform(new V(function(e,n,r){return a?e:e===t?(a=!0,e instanceof He&&v(e.name.definition().orig,e.name),r?re.skip:null):void 0},function(e){if(e instanceof Ye)switch(e.expressions.length){case 0:return null;case 1:return e.expressions[0]}if(e instanceof Ve&&0==e.definitions.length||e instanceof le&&!e.body)return null}))}(h)&&e.splice(p,1)}}}(e,n)}while(s&&c-- >0)}function D(e,t,n){t instanceof Oe||e.warn("Dropping unreachable code [{file}:{line},{col}]",t.start),t.walk(new k(function(r){return r instanceof Ve?(e.warn("Declarations in unreachable code! [{file}:{line},{col}]",r.start),r.remove_initializers(),n.push(r),!0):r instanceof Oe&&(r===t||!e.has_directive("use strict"))?(n.push(r),!0):r instanceof Ee||void 0}))}function T(e,t){return e.is_undefined||e instanceof Bt||e instanceof Xe&&"void"==e.operator&&!e.expression.has_side_effects(t)}function R(e,t){return t instanceof Je&&H(t.operator)?t.expression:t instanceof rt&&t.left===e?e:void 0}function F(e,t){return e.print_to_string().length>t.print_to_string().length?t:e}function L(e,t){return F(i(le,e,{body:e}),i(le,t,{body:t})).body}function M(e,t,n){return(A(e)?L:F)(t,n)}function N(e){return e&&e.aborts()}function q(e,t){function n(n){n=m(n),e.body instanceof fe?(e.body=e.body.clone(),e.body.body=n.concat(e.body.body.slice(1)),e.body=e.body.transform(t)):e.body=i(fe,e.body,{body:n}).transform(t),q(e,t)}var r=e.body instanceof fe?e.body.body[0]:e.body;r instanceof Me&&(r.body instanceof Fe&&t.loopcontrol_target(r.body)===t.self()?(e.condition?e.condition=i(tt,e.condition,{left:e.condition,operator:"&&",right:r.condition.negate(t)}):e.condition=r.condition.negate(t),n(r.alternative)):r.alternative instanceof Fe&&t.loopcontrol_target(r.alternative)===t.self()&&(e.condition?e.condition=i(tt,e.condition,{left:e.condition,operator:"&&",right:r.condition}):e.condition=r.condition,n(r.body)))}function z(e,t){return e instanceof yt||e.TYPE===t.TYPE}function I(e,t){return t.option("booleans")&&t.in_boolean_context()?M(t,e,a(e,[e,i(Lt,e)]).optimize(t)):e}e(ie,function(e,t){return e}),ie.DEFMETHOD("equivalent_to",function(e){return this.TYPE==e.TYPE&&this.print_to_string()==e.print_to_string()}),Ee.DEFMETHOD("process_expression",function(e,t){var n=this,r=new V(function(o){if(e&&o instanceof le)return i(De,o,{value:o.body});if(!e&&o instanceof De){if(t){var a=o.value&&o.value.drop_side_effect_free(t,!0);return a?i(le,o,{body:a}):i(pe,o)}return i(le,o,{body:o.value||i(Xe,o,{operator:"void",expression:i(xt,o,{value:0})})})}if(o instanceof xe&&o!==n)return o;if(o instanceof ce){var s=o.body.length-1;s>=0&&(o.body[s]=o.body[s].transform(r))}return o instanceof Me&&(o.body=o.body.transform(r),o.alternative&&(o.alternative=o.alternative.transform(r))),o instanceof we&&(o.body=o.body.transform(r)),o});n.transform(r)}),ie.DEFMETHOD("reset_opt_flags",function(e,t){function n(e,t){p[e.id]=t}function r(e){if(p[e.id]){if(null==e.fixed){var t=e.orig[0];if(t instanceof dt||"arguments"==t.name)return!1;e.fixed=i(Bt,t)}return!0}}function o(e,t){return!!E(p,e.id)&&(!!r(e)&&(!1!==e.fixed&&(!(null!=e.fixed&&(!t||e.references.length>0))&&!e.orig.some(function(e){return e instanceof mt||e instanceof gt}))))}function a(){p=Object.create(p)}function s(){p=Object.getPrototypeOf(p)}function u(t){t.escaped=!1,t.scope.uses_eval?t.fixed=!1:e.exposed(t)?t.fixed=!1:t.fixed=void 0,t.references=[],t.should_replace=void 0}function l(e){return e&&e.is_constant()||e instanceof xe}function c(e,t,n){var r=d.parent(t);return!!(R(e,r)||!n&&r instanceof Ke&&r.expression===e)||(r instanceof We&&r.expression===e?!n&&c(r,t+1):void 0)}var f=t&&e.option("reduce_vars"),p=Object.create(null),h=new k(function(e){if(e instanceof ct){var t=e.definition();t&&(e instanceof yt&&t.references.push(e),t.fixed=!1)}}),d=new k(function(t,m){if(t._squeezed=!1,t._optimized=!1,f){if(t instanceof Ae&&t.globals.each(u),t instanceof Ee&&t.variables.each(u),t instanceof yt)if((v=t.definition()).references.push(t),void 0===v.fixed||!r(v)||c(t,0,l(t.fixed_value())))v.fixed=!1;else{var g=d.parent();(g instanceof rt&&"="==g.operator&&t===g.right||g instanceof Ke&&t!==g.expression||g instanceof De&&t===g.value&&t.scope!==v.scope||g instanceof He&&t===g.value)&&(v.escaped=!0)}if(t instanceof vt&&(t.definition().fixed=!1),t instanceof He){if(void 0===(v=t.name.definition()).fixed||o(v,t.value))return t.value?(v.fixed=function(){return t.value},n(v,!1),m()):v.fixed=null,n(v,!0),!0;t.value&&(v.fixed=!1)}if(t instanceof rt&&"="==t.operator&&t.left instanceof yt&&o(v=t.left.definition(),t.right))return v.references.push(t.left),v.fixed=function(){return t.right},n(v,!1),t.right.walk(d),n(v,!0),!0;if(t instanceof Oe){var v=t.name.definition();e.exposed(v)||r(v)?v.fixed=!1:(v.fixed=t,n(v,!0));y=p;return p=Object.create(null),m(),p=y,!0}if(t instanceof ke){a();var b;return!t.name&&(b=d.parent())instanceof Ke&&b.expression===t&&t.argnames.forEach(function(e,r){var o=e.definition();t.uses_arguments||void 0!==o.fixed?o.fixed=!1:(o.fixed=function(){return b.args[r]||i(Bt,b)},n(o,!0))}),m(),s(),!0}if(t instanceof Ce){var y=p;return p=Object.create(null),m(),p=y,!0}if(t instanceof tt&&("&&"==t.operator||"||"==t.operator))return t.left.walk(d),a(),t.right.walk(d),s(),!0;if(t instanceof nt)return t.condition.walk(d),a(),t.consequent.walk(d),s(),a(),t.alternative.walk(d),s(),!0;if(t instanceof Me)return t.condition.walk(d),a(),t.body.walk(d),s(),t.alternative&&(a(),t.alternative.walk(d),s()),!0;if(t instanceof ge)return a(),t.condition.walk(d),t.body.walk(d),s(),!0;if(t instanceof de)return a(),t.body.walk(d),s(),!0;if(t instanceof ye)return t.init&&t.init.walk(d),t.condition&&(a(),t.condition.walk(d),s()),a(),t.body.walk(d),s(),t.step&&(a(),t.step.walk(d),s()),!0;if(t instanceof _e)return t.init.walk(h),t.object.walk(d),a(),t.body.walk(d),s(),!0;if(t instanceof ze)return a(),C(t,d),s(),t.bcatch&&(a(),t.bcatch.walk(d),s()),t.bfinally&&t.bfinally.walk(d),!0;if(t instanceof Ne)return a(),m(),s(),!0}});this.walk(d)}),yt.DEFMETHOD("fixed_value",function(){var e=this.definition().fixed;return!e||e instanceof ie?e:e()}),yt.DEFMETHOD("is_immutable",function(){var e=this.definition().orig;return 1==e.length&&e[0]instanceof gt});var $=y("Array Boolean clearInterval clearTimeout console Date decodeURI decodeURIComponent encodeURI encodeURIComponent Error escape eval EvalError Function isFinite isNaN JSON Math Number parseFloat parseInt RangeError ReferenceError RegExp Object setInterval setTimeout String SyntaxError TypeError unescape URIError");yt.DEFMETHOD("is_declared",function(e){return!this.definition().undeclared||e.option("unsafe")&&$(this.name)}),function(e){function t(e){return/strict/.test(e.option("pure_getters"))}ie.DEFMETHOD("may_throw_on_access",function(e){return!e.option("pure_getters")||this._dot_throw(e)}),e(ie,t),e(Ot,p),e(Bt,p),e(Et,f),e(ot,f),e(it,function(e){if(!t(e))return!1;for(var n=this.properties.length;--n>=0;)if(this.properties[n].value instanceof Ce)return!0;return!1}),e(ke,f),e(et,f),e(Xe,function(){return"void"==this.operator}),e(tt,function(e){switch(this.operator){case"&&":return this.left._dot_throw(e);case"||":return this.left._dot_throw(e)&&this.right._dot_throw(e);default:return!1}}),e(rt,function(e){return"="==this.operator&&this.right._dot_throw(e)}),e(nt,function(e){return this.consequent._dot_throw(e)||this.alternative._dot_throw(e)}),e(Ye,function(e){return this.expressions[this.expressions.length-1]._dot_throw(e)}),e(yt,function(e){if(this.is_undefined)return!0;if(!t(e))return!1;if(S(this)&&this.is_declared(e))return!1;if(this.is_immutable())return!1;var n=this.fixed_value();return!n||n._dot_throw(e)})}(function(e,t){e.DEFMETHOD("_dot_throw",t)}),function(e){var t=["!","delete"],n=["in","instanceof","==","!=","===","!==","<","<=",">=",">"];e(ie,f),e(Xe,function(){return r(this.operator,t)}),e(tt,function(){return r(this.operator,n)||("&&"==this.operator||"||"==this.operator)&&this.left.is_boolean()&&this.right.is_boolean()}),e(nt,function(){return this.consequent.is_boolean()&&this.alternative.is_boolean()}),e(rt,function(){return"="==this.operator&&this.right.is_boolean()}),e(Ye,function(){return this.expressions[this.expressions.length-1].is_boolean()}),e(Lt,p),e(Ft,p)}(function(e,t){e.DEFMETHOD("is_boolean",t)}),function(e){e(ie,f),e(xt,p);var t=y("+ - ~ ++ --");e(Je,function(){return t(this.operator)});var n=y("- * / % & | ^ << >> >>>");e(tt,function(e){return n(this.operator)||"+"==this.operator&&this.left.is_number(e)&&this.right.is_number(e)}),e(rt,function(e){return n(this.operator.slice(0,-1))||"="==this.operator&&this.right.is_number(e)}),e(Ye,function(e){return this.expressions[this.expressions.length-1].is_number(e)}),e(nt,function(e){return this.consequent.is_number(e)&&this.alternative.is_number(e)})}(function(e,t){e.DEFMETHOD("is_number",t)}),function(e){e(ie,f),e(At,p),e(Xe,function(){return"typeof"==this.operator}),e(tt,function(e){return"+"==this.operator&&(this.left.is_string(e)||this.right.is_string(e))}),e(rt,function(e){return("="==this.operator||"+="==this.operator)&&this.right.is_string(e)}),e(Ye,function(e){return this.expressions[this.expressions.length-1].is_string(e)}),e(nt,function(e){return this.consequent.is_string(e)&&this.alternative.is_string(e)})}(function(e,t){e.DEFMETHOD("is_string",t)});var H=y("delete ++ --");!function(e){function t(e,n){if(e instanceof ie)return i(e.CTOR,n,e);if(Array.isArray(e))return i(ot,n,{elements:e.map(function(e){return t(e,n)})});if(e&&"object"==typeof e){var r=[];for(var o in e)E(e,o)&&r.push(i(st,n,{key:o,value:t(e[o],n)}));return i(it,n,{properties:r})}return s(e,n)}ie.DEFMETHOD("resolve_defines",function(e){if(e.option("global_defs")){var t=this._find_defs(e,"");if(t){var n,r=this,o=0;do{n=r,r=e.parent(o++)}while(r instanceof We&&r.expression===n);if(!R(n,r))return t;e.warn("global_defs "+this.print_to_string()+" redefined [{file}:{line},{col}]",this.start)}}}),e(ie,c),e(Qe,function(e,t){return this.expression._find_defs(e,"."+this.property+t)}),e(yt,function(e,n){if(this.global()){var r,o=e.option("global_defs");if(o&&E(o,r=this.name+n)){var i=t(o[r],this),a=e.find_parent(Ae);return i.walk(new k(function(e){e instanceof yt&&(e.scope=a,e.thedef=a.def_global(e))})),i}}})}(function(e,t){e.DEFMETHOD("_find_defs",t)}),function(e){function t(e,t){if(!t)throw new Error("Compressor must be passed");return e._eval(t)}function n(e){for(var t in e)e[t]=y(e[t])}ie.DEFMETHOD("evaluate",function(e){if(!e.option("evaluate"))return this;var t=this._eval(e);return!t||t instanceof RegExp||"object"!=typeof t?t:this});var r=y("! ~ - + void");ie.DEFMETHOD("is_constant",function(){return this instanceof Et?!(this instanceof Ct):this instanceof Xe&&this.expression instanceof Et&&r(this.operator)}),ie.DEFMETHOD("constant_value",function(e){if(this instanceof Et&&!(this instanceof Ct))return this.value;if(this instanceof Xe&&this.expression instanceof Et)switch(this.operator){case"!":return!this.expression.value;case"~":return~this.expression.value;case"-":return-this.expression.value;case"+":return+this.expression.value;default:throw new Error(g("Cannot evaluate unary expression {value}",{value:this.print_to_string()}))}var t=this.evaluate(e);if(t!==this)return t;throw new Error(g("Cannot evaluate constant [{file}:{line},{col}]",this.start))}),e(ae,function(){throw new Error(g("Cannot evaluate a statement [{file}:{line},{col}]",this.start))}),e(xe,h),e(ie,h),e(Et,function(){return this.getValue()}),e(ot,function(e){if(e.option("unsafe")){for(var n=[],r=0,o=this.elements.length;r<o;r++){var i=this.elements[r],a=t(i,e);if(i===a)return this;n.push(a)}return n}return this}),e(it,function(e){if(e.option("unsafe")){for(var n={},r=0,o=this.properties.length;r<o;r++){var i=this.properties[r],a=i.key;if(a instanceof ct)a=a.name;else if(a instanceof ie&&(a=t(a,e))===i.key)return this;if("function"==typeof Object.prototype[a])return this;if(n[a]=t(i.value,e),n[a]===i.value)return this}return n}return this}),e(Xe,function(e){if("typeof"==this.operator&&this.expression instanceof ke)return"function";var n=t(this.expression,e);if(n===this.expression)return this;switch(this.operator){case"!":return!n;case"typeof":return n instanceof RegExp?this:typeof n;case"void":return;case"~":return~n;case"-":return-n;case"+":return+n}return this}),e(tt,function(e){var n=t(this.left,e);if(n===this.left)return this;var r=t(this.right,e);if(r===this.right)return this;var o;switch(this.operator){case"&&":o=n&&r;break;case"||":o=n||r;break;case"|":o=n|r;break;case"&":o=n&r;break;case"^":o=n^r;break;case"+":o=n+r;break;case"*":o=n*r;break;case"/":o=n/r;break;case"%":o=n%r;break;case"-":o=n-r;break;case"<<":o=n<<r;break;case">>":o=n>>r;break;case">>>":o=n>>>r;break;case"==":o=n==r;break;case"===":o=n===r;break;case"!=":o=n!=r;break;case"!==":o=n!==r;break;case"<":o=n<r;break;case"<=":o=n<=r;break;case">":o=n>r;break;case">=":o=n>=r;break;default:return this}return isNaN(o)&&e.find_parent(we)?this:o}),e(nt,function(e){var n=t(this.condition,e);if(n===this.condition)return this;var r=n?this.consequent:this.alternative,o=t(r,e);return o===r?this:o}),e(yt,function(e){if(!e.option("reduce_vars"))return this;var n=this.fixed_value();if(!n)return this;this._eval=h;var r=t(n,e);return r===n?(delete this._eval,this):(E(n,"_eval")||(n._eval=function(){return r}),r&&"object"==typeof r&&this.definition().escaped?(delete this._eval,this):(this._eval=n._eval,r))});var o={Array:Array,Math:Math,Number:Number,String:String},i={Math:["E","LN10","LN2","LOG2E","LOG10E","PI","SQRT1_2","SQRT2"],Number:["MAX_VALUE","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"]};n(i),e(We,function(e){if(e.option("unsafe")){var n=this.property;if(n instanceof ie&&(n=t(n,e))===this.property)return this;var r,a=this.expression;if(S(a)){if(!(i[a.name]||f)(n))return this;r=o[a.name]}else if(!(r=t(a,e))||r===a||!E(r,n))return this;return r[n]}return this});var a=["constructor","toString","valueOf"],s={Array:["indexOf","join","lastIndexOf","slice"].concat(a),Boolean:a,Number:["toExponential","toFixed","toPrecision"].concat(a),RegExp:["test"].concat(a),String:["charAt","charCodeAt","concat","indexOf","italics","lastIndexOf","match","replace","search","slice","split","substr","substring","trim"].concat(a)};n(s);var u={Array:["isArray"],Math:["abs","acos","asin","atan","ceil","cos","exp","floor","log","round","sin","sqrt","tan","atan2","pow","max","min"],Number:["isFinite","isNaN"],String:["fromCharCode"]};n(u),e(Ke,function(e){var n=this.expression;if(e.option("unsafe")&&n instanceof We){var r=n.property;if(r instanceof ie&&(r=t(r,e))===n.property)return this;var i,a=n.expression;if(S(a)){if(!(u[a.name]||f)(r))return this;i=o[a.name]}else if((i=t(a,e))===a||!(i&&s[i.constructor.name]||f)(r))return this;for(var l=[],c=0,p=this.args.length;c<p;c++){var h=this.args[c],d=t(h,e);if(h===d)return this;l.push(d)}return i[r].apply(i,l)}return this}),e(Ge,h)}(function(e,t){e.DEFMETHOD("_eval",t)}),function(e){function t(e){return i(Xe,e,{operator:"!",expression:e})}function n(e,n,r){var o=t(e);if(r){var a=i(le,n,{body:n});return F(o,a)===a?n:o}return F(o,n)}e(ie,function(){return t(this)}),e(ae,function(){throw new Error("Cannot negate a statement")}),e(ke,function(){return t(this)}),e(Xe,function(){return"!"==this.operator?this.expression:t(this)}),e(Ye,function(e){var t=this.expressions.slice();return t.push(t.pop().negate(e)),a(this,t)}),e(nt,function(e,t){var r=this.clone();return r.consequent=r.consequent.negate(e),r.alternative=r.alternative.negate(e),n(this,r,t)}),e(tt,function(e,r){var o=this.clone(),i=this.operator;if(e.option("unsafe_comps"))switch(i){case"<=":return o.operator=">",o;case"<":return o.operator=">=",o;case">=":return o.operator="<",o;case">":return o.operator="<=",o}switch(i){case"==":return o.operator="!=",o;case"!=":return o.operator="==",o;case"===":return o.operator="!==",o;case"!==":return o.operator="===",o;case"&&":return o.operator="||",o.left=o.left.negate(e,r),o.right=o.right.negate(e),n(this,o,r);case"||":return o.operator="&&",o.left=o.left.negate(e,r),o.right=o.right.negate(e),n(this,o,r)}return t(this)})}(function(e,t){e.DEFMETHOD("negate",function(e,n){return t.call(this,e,n)})}),Ke.DEFMETHOD("has_pure_annotation",function(e){if(!e.option("side_effects"))return!1;if(void 0!==this.pure)return this.pure;var t,n,r=!1;return this.start&&(t=this.start.comments_before)&&t.length&&(n=o(function(e){return/[@#]__PURE__/.test(e.value)},t))&&(r=n),this.pure=r});var Y=y("Boolean decodeURI decodeURIComponent Date encodeURI encodeURIComponent Error escape EvalError isFinite isNaN Number Object parseFloat parseInt RangeError ReferenceError String SyntaxError TypeError unescape URIError");Ke.DEFMETHOD("is_expr_pure",function(e){if(e.option("unsafe")){var t=this.expression;if(S(t)&&Y(t.name))return!0}return this.has_pure_annotation(e)||!e.pure_funcs(this)}),function(e){function t(e,t){for(var n=e.length;--n>=0;)if(e[n].has_side_effects(t))return!0;return!1}e(ie,p),e(pe,f),e(Et,f),e(wt,f),e(Ke,function(e){if(!this.is_expr_pure(e))return!0;for(var t=this.args.length;--t>=0;)if(this.args[t].has_side_effects(e))return!0;return!1}),e(ce,function(e){return t(this.body,e)}),e(Ue,function(e){return this.expression.has_side_effects(e)||t(this.body,e)}),e(qe,function(e){return this.expression.has_side_effects(e)||t(this.body,e)}),e(ze,function(e){return t(this.body,e)||this.bcatch&&this.bcatch.has_side_effects(e)||this.bfinally&&this.bfinally.has_side_effects(e)}),e(Me,function(e){return this.condition.has_side_effects(e)||this.body&&this.body.has_side_effects(e)||this.alternative&&this.alternative.has_side_effects(e)}),e(de,function(e){return this.body.has_side_effects(e)}),e(le,function(e){return this.body.has_side_effects(e)}),e(Oe,p),e(ke,f),e(tt,function(e){return this.left.has_side_effects(e)||this.right.has_side_effects(e)}),e(rt,p),e(nt,function(e){return this.condition.has_side_effects(e)||this.consequent.has_side_effects(e)||this.alternative.has_side_effects(e)}),e(Je,function(e){return H(this.operator)||this.expression.has_side_effects(e)}),e(yt,function(e){return!this.is_declared(e)}),e(pt,f),e(it,function(e){return t(this.properties,e)}),e(at,function(e){return this.value.has_side_effects(e)}),e(ot,function(e){return t(this.elements,e)}),e(Qe,function(e){return this.expression.may_throw_on_access(e)||this.expression.has_side_effects(e)}),e(Ze,function(e){return this.expression.may_throw_on_access(e)||this.expression.has_side_effects(e)||this.property.has_side_effects(e)}),e(Ye,function(e){return this.expressions.some(function(t,n){return t.has_side_effects(e)})})}(function(e,t){e.DEFMETHOD("has_side_effects",t)}),function(e){function t(e){for(var t=e.length;--t>=0;)if(!e[t].is_constant_expression())return!1;return!0}e(ie,f),e(Et,p),e(Je,function(){return this.expression.is_constant_expression()}),e(tt,function(){return this.left.is_constant_expression()&&this.right.is_constant_expression()}),e(ot,function(){return t(this.elements)}),e(it,function(){return t(this.properties)}),e(at,function(){return this.value.is_constant_expression()})}(function(e,t){e.DEFMETHOD("is_constant_expression",t)}),function(e){function t(){var e=this.body.length;return e>0&&N(this.body[e-1])}e(ae,d),e(Se,h),e(fe,t),e(Ne,t),e(Me,function(){return this.alternative&&N(this.body)&&N(this.alternative)&&this})}(function(e,t){e.DEFMETHOD("aborts",t)}),e(ue,function(e,t){return t.has_directive(e.value)!==e?i(pe,e):e}),e(se,function(e,t){return t.option("drop_debugger")?i(pe,e):e}),e(de,function(e,t){return e.body instanceof Fe&&t.loopcontrol_target(e.body)===e.body?i(pe,e):0==e.label.references.length?e.body:e}),e(ce,function(e,t){return B(e.body,t),e}),e(fe,function(e,t){switch(B(e.body,t),e.body.length){case 1:return e.body[0];case 0:return i(pe,e)}return e}),Ee.DEFMETHOD("drop_unused",function(e){if(e.option("unused")&&!e.has_directive("use asm")){var t=this;if(!t.uses_eval&&!t.uses_with){var n=!(t instanceof Ae)||e.toplevel.funcs,r=!(t instanceof Ae)||e.toplevel.vars;if(n||r){var o=/keep_assign/.test(e.option("unused"))?f:function(e){return e instanceof rt&&(e.write_only||"="==e.operator)?e.left:e instanceof Je&&e.write_only?e.expression:void 0},s=[],c=Object.create(null);t instanceof Ae&&e.top_retain&&t.variables.each(function(t){!e.top_retain(t)||t.id in c||(c[t.id]=!0,s.push(t))});var p=new w,h=new w,d=this,m=new k(function(i,a){if(i!==t){if(i instanceof Oe)return n||d!==t||(u=i.name.definition()).id in c||(c[u.id]=!0,s.push(u)),h.add(i.name.name,i),!0;if(i instanceof Ve&&d===t)return i.definitions.forEach(function(t){var n=t.name.definition();t.name instanceof ht&&p.add(n.id,t),r||n.id in c||(c[n.id]=!0,s.push(n)),t.value&&(h.add(t.name.name,t.value),t.value.has_side_effects(e)&&t.value.walk(m))}),!0;if(o(i)instanceof yt&&d===t)return i instanceof rt&&i.right.walk(m),!0;if(i instanceof yt){var u=i.definition();return u.id in c||(c[u.id]=!0,s.push(u)),!0}if(i instanceof Ee){var l=d;return d=i,a(),d=l,!0}}});t.walk(m);for(var g=0;g<s.length;++g)s[g].orig.forEach(function(e){var t=h.get(e.name);t&&t.forEach(function(e){var t=new k(function(e){if(e instanceof yt){var t=e.definition();t.id in c||(c[t.id]=!0,s.push(t))}});e.walk(t)})});var y=new V(function(s,f,h){function d(e){return{name:e.name,file:e.start.file,line:e.start.line,col:e.start.col}}if(s instanceof ke&&s.name&&!e.option("keep_fnames")&&((O=s.name.definition()).id in c&&!(O.orig.length>1)||(s.name=null)),s instanceof xe&&!(s instanceof Ce))for(var m=!e.option("keep_fargs"),g=s.argnames,_=g.length;--_>=0;){var w=g[_];w.definition().id in c?m=!1:(w.__unused=!0,m&&(g.pop(),e[w.unreferenced()?"warn":"info"]("Dropping unused function argument {name} [{file}:{line},{col}]",d(w))))}if(n&&s instanceof Oe&&s!==t)return s.name.definition().id in c?s:(e[s.name.unreferenced()?"warn":"info"]("Dropping unused function {name} [{file}:{line},{col}]",d(s.name)),i(pe,s));if(r&&s instanceof Ve&&!(y.parent()instanceof _e&&y.parent().init===s)){var E=[],A=[],x=[],C=[];if(s.definitions.forEach(function(t){t.value&&(t.value=t.value.transform(y));var n=t.name.definition();if(n.id in c){if(t.name instanceof ht){var r=p.get(n.id);if(r.length>1&&!t.value)return e.warn("Dropping duplicated definition of variable {name} [{file}:{line},{col}]",d(t.name)),v(r,t),void v(n.orig,t.name)}t.value?(C.length>0&&(x.length>0?(l(C,t.value),t.value=a(t.value,C)):E.push(i(le,s,{body:a(s,C)})),C=[]),x.push(t)):A.push(t)}else if(n.orig[0]instanceof vt)(o=t.value&&t.value.drop_side_effect_free(e))&&l(C,o),t.value=null,A.push(t);else{var o=t.value&&t.value.drop_side_effect_free(e);o?(e.warn("Side effects in initialization of unused variable {name} [{file}:{line},{col}]",d(t.name)),l(C,o)):e[t.name.unreferenced()?"warn":"info"]("Dropping unused variable {name} [{file}:{line},{col}]",d(t.name)),v(n.orig,t.name)}}),0==A.length&&1==x.length&&x[0].name instanceof ht){var k=p.get(x[0].name.definition().id);if(k.length>1){var O=x.pop();e.warn("Converting duplicated definition of variable {name} to assignment [{file}:{line},{col}]",d(O.name)),v(k,O),v(O.name.definition().orig,O.name),C.unshift(i(rt,O,{operator:"=",left:i(yt,O.name,O.name),right:O.value}))}}switch((A.length>0||x.length>0)&&(s.definitions=A.concat(x),E.push(s)),C.length>0&&E.push(i(le,s,{body:a(s,C)})),E.length){case 0:return h?re.skip:i(pe,s);case 1:return E[0];default:return h?re.splice(E):i(fe,s,{body:E})}}if(r&&(O=o(s))instanceof yt&&!((O=O.definition()).id in c)&&t.variables.get(O.name)===O)return s instanceof rt?u(y.parent(),s,s.right.transform(y)):i(xt,s,{value:0});if(s instanceof ye){f(s,this);return s.init instanceof fe&&(S=s.init,s.init=S.body.pop(),S.body.push(s)),s.init instanceof le?s.init=s.init.body:b(s.init)&&(s.init=null),S?h?re.splice(S.body):S:s}if(s instanceof de&&s.body instanceof ye){if(f(s,this),s.body instanceof fe){var S=s.body;return s.body=S.body.pop(),S.body.push(s),h?re.splice(S.body):S}return s}return s instanceof Ee&&s!==t?s:void 0});t.transform(y)}}}}),Ee.DEFMETHOD("hoist_declarations",function(e){var t=this;if(e.has_directive("use asm"))return t;var n=e.option("hoist_funs"),r=e.option("hoist_vars");if(n||r){var s=[],u=[],l=new w,c=0,f=0;t.walk(new k(function(e){return e instanceof Ee&&e!==t||(e instanceof $e?(++f,!0):void 0)})),r=r&&f>1;var p=new V(function(o){if(o!==t){if(o instanceof ue)return s.push(o),i(pe,o);if(n&&o instanceof Oe&&(p.parent()===t||!e.has_directive("use strict")))return u.push(o),i(pe,o);if(r&&o instanceof $e){o.definitions.forEach(function(e){l.set(e.name.name,e),++c});var a=o.to_assignments(e),f=p.parent();if(f instanceof _e&&f.init===o){if(null==a){var h=o.definitions[0].name;return i(yt,h,h)}return a}return f instanceof ye&&f.init===o?a:a?i(le,o,{body:a}):i(pe,o)}if(o instanceof Ee)return o}});if(t=t.transform(p),c>0){var h=[];if(l.each(function(e,n){t instanceof xe&&o(function(t){return t.name==e.name.name},t.argnames)?l.del(n):((e=e.clone()).value=null,h.push(e),l.set(n,e))}),h.length>0){for(;0<t.body.length;){if(t.body[0]instanceof le){var d,m,g=t.body[0].body;if(g instanceof rt&&"="==g.operator&&(d=g.left)instanceof ct&&l.has(d.name)){if((b=l.get(d.name)).value)break;b.value=g.right,v(h,b),h.push(b),t.body.splice(0,1);continue}if(g instanceof Ye&&(m=g.expressions[0])instanceof rt&&"="==m.operator&&(d=m.left)instanceof ct&&l.has(d.name)){var b=l.get(d.name);if(b.value)break;b.value=m.right,v(h,b),h.push(b),t.body[0].body=a(g,g.expressions.slice(1));continue}}if(t.body[0]instanceof pe)t.body.splice(0,1);else{if(!(t.body[0]instanceof fe))break;var y=[0,1].concat(t.body[0].body);t.body.splice.apply(t.body,y)}}h=i($e,t,{definitions:h}),u.push(h)}}t.body=s.concat(u,t.body)}return t}),function(e){function t(e,t,n){var r=e.length;if(!r)return null;for(var o=[],i=!1,a=0;a<r;a++){var s=e[a].drop_side_effect_free(t,n);i|=s!==e[a],s&&(l(o,s),n=!1)}return i?o.length?o:null:e}e(ie,h),e(Et,d),e(wt,d),e(Ke,function(e,n){if(!this.is_expr_pure(e)){if(this.expression instanceof ke&&(!this.expression.name||!this.expression.name.definition().references.length)){var r=this.clone();return r.expression.process_expression(!1,e),r}return this}this.pure&&(e.warn("Dropping __PURE__ call [{file}:{line},{col}]",this.start),this.pure.value=this.pure.value.replace(/[@#]__PURE__/g," "));var o=t(this.args,e,n);return o&&a(this,o)}),e(Ce,d),e(ke,d),e(tt,function(e,t){var n=this.right.drop_side_effect_free(e);if(!n)return this.left.drop_side_effect_free(e,t);switch(this.operator){case"&&":case"||":if(n===this.right)return this;var r=this.clone();return r.right=n,r;default:var o=this.left.drop_side_effect_free(e,t);return o?a(this,[o,n]):this.right.drop_side_effect_free(e,t)}}),e(rt,function(e){return this.write_only=!this.left.has_side_effects(e),this}),e(nt,function(e){var t=this.consequent.drop_side_effect_free(e),n=this.alternative.drop_side_effect_free(e);if(t===this.consequent&&n===this.alternative)return this;if(!t)return n?i(tt,this,{operator:"||",left:this.condition,right:n}):this.condition.drop_side_effect_free(e);if(!n)return i(tt,this,{operator:"&&",left:this.condition,right:t});var r=this.clone();return r.consequent=t,r.alternative=n,r}),e(Je,function(e,t){if(H(this.operator))return this.write_only=!this.expression.has_side_effects(e),this;if("typeof"==this.operator&&this.expression instanceof yt)return null;var n=this.expression.drop_side_effect_free(e,t);return t&&this instanceof Xe&&O(n)?n===this.expression&&1===this.operator.length?this:i(Xe,this,{operator:1===this.operator.length?this.operator:"!",expression:n}):n}),e(yt,function(e){return this.is_declared(e)?null:this}),e(it,function(e,n){var r=t(this.properties,e,n);return r&&a(this,r)}),e(at,function(e,t){return this.value.drop_side_effect_free(e,t)}),e(ot,function(e,n){var r=t(this.elements,e,n);return r&&a(this,r)}),e(Qe,function(e,t){return this.expression.may_throw_on_access(e)?this:this.expression.drop_side_effect_free(e,t)}),e(Ze,function(e,t){if(this.expression.may_throw_on_access(e))return this;var n=this.expression.drop_side_effect_free(e,t);if(!n)return this.property.drop_side_effect_free(e,t);var r=this.property.drop_side_effect_free(e);return r?a(this,[n,r]):n}),e(Ye,function(e){var t=this.expressions[this.expressions.length-1],n=t.drop_side_effect_free(e);if(n===t)return this;var r=this.expressions.slice(0,-1);return n&&l(r,n),a(this,r)})}(function(e,t){e.DEFMETHOD("drop_side_effect_free",t)}),e(le,function(e,t){if(t.option("side_effects")){var n=e.body,r=n.drop_side_effect_free(t,!0);if(!r)return t.warn("Dropping side-effect-free statement [{file}:{line},{col}]",e.start),i(pe,e);if(r!==n)return i(le,e,{body:r})}return e}),e(ge,function(e,t){if(!t.option("loops"))return e;var n=e.condition.evaluate(t);if(n!==e.condition){if(n)return i(ye,e,{body:e.body});if(t.option("dead_code")&&e instanceof be){var r=[];return D(t,e.body,r),i(fe,e,{body:r}).optimize(t)}if(e instanceof ve){var o=!1,a=new k(function(t){return!!(t instanceof Ee||o)||(t instanceof Re&&a.loopcontrol_target(t)===e?o=!0:void 0)}),s=t.parent();if((s instanceof de?s:e).walk(a),!o)return e.body}}return e instanceof be?i(ye,e,e).optimize(t):e}),e(ye,function(e,t){if(!t.option("loops"))return e;if(e.condition){var n=e.condition.evaluate(t);if(t.option("dead_code")&&!n){var r=[];return e.init instanceof ae?r.push(e.init):e.init&&r.push(i(le,e.init,{body:e.init})),D(t,e.body,r),i(fe,e,{body:r}).optimize(t)}n!==e.condition&&(n=s(n,e.condition).transform(t),e.condition=F(n,e.condition))}return q(e,t),e}),e(Me,function(e,t){if(b(e.alternative)&&(e.alternative=null),!t.option("conditionals"))return e;var n=e.condition.evaluate(t);if(n!==e.condition){if(n){if(t.warn("Condition always true [{file}:{line},{col}]",e.condition.start),t.option("dead_code")){r=[];return e.alternative&&D(t,e.alternative,r),r.push(e.body),i(fe,e,{body:r}).optimize(t)}}else if(t.warn("Condition always false [{file}:{line},{col}]",e.condition.start),t.option("dead_code")){var r=[];return D(t,e.body,r),e.alternative&&r.push(e.alternative),i(fe,e,{body:r}).optimize(t)}n=s(n,e.condition).transform(t),e.condition=F(n,e.condition)}var o=e.condition.negate(t),a=e.condition.print_to_string().length,u=o.print_to_string().length,l=u<a;if(e.alternative&&l){l=!1,e.condition=o;var c=e.body;e.body=e.alternative||i(pe,e),e.alternative=c}if(b(e.body)&&b(e.alternative))return i(le,e.condition,{body:e.condition.clone()}).optimize(t);if(e.body instanceof le&&e.alternative instanceof le)return i(le,e,{body:i(nt,e,{condition:e.condition,consequent:e.body.body,alternative:e.alternative.body})}).optimize(t);if(b(e.alternative)&&e.body instanceof le)return a===u&&!l&&e.condition instanceof tt&&"||"==e.condition.operator&&(l=!0),l?i(le,e,{body:i(tt,e,{operator:"||",left:o,right:e.body.body})}).optimize(t):i(le,e,{body:i(tt,e,{operator:"&&",left:e.condition,right:e.body.body})}).optimize(t);if(e.body instanceof pe&&e.alternative instanceof le)return i(le,e,{body:i(tt,e,{operator:"||",left:e.condition,right:e.alternative.body})}).optimize(t);if(e.body instanceof Be&&e.alternative instanceof Be&&e.body.TYPE==e.alternative.TYPE)return i(e.body.CTOR,e,{value:i(nt,e,{condition:e.condition,consequent:e.body.value||i(Bt,e.body),alternative:e.alternative.value||i(Bt,e.alternative)}).transform(t)}).optimize(t);if(e.body instanceof Me&&!e.body.alternative&&!e.alternative&&(e=i(Me,e,{condition:i(tt,e.condition,{operator:"&&",left:e.condition,right:e.body.condition}),body:e.body.body,alternative:null})),N(e.body)&&e.alternative){var f=e.alternative;return e.alternative=null,i(fe,e,{body:[e,f]}).optimize(t)}if(N(e.alternative)){var p=e.body;return e.body=e.alternative,e.condition=l?o:e.condition.negate(t),e.alternative=null,i(fe,e,{body:[e,p]}).optimize(t)}return e}),e(Ue,function(e,t){function n(e,n){n&&!N(n)?n.body=n.body.concat(e.body):D(t,e,c)}if(!t.option("switches"))return e;var r,o=e.expression.evaluate(t);if(o!==e.expression){var a=s(o,e.expression).transform(t);e.expression=F(a,e.expression)}if(!t.option("dead_code"))return e;for(var u,l,c=[],f=[],p=0,h=e.body.length;p<h&&!l;p++){if((r=e.body[p])instanceof Pe)u?n(r,f[f.length-1]):u=r;else if(o!==e.expression){var d=r.expression.evaluate(t);if(d===o){if(l=r,u){var m=f.indexOf(u);f.splice(m,1),n(u,f[m-1]),u=null}}else if(d!==r.expression){n(r,f[f.length-1]);continue}}if(N(r)){var g=f[f.length-1];N(g)&&g.body.length==r.body.length&&i(fe,g,g).equivalent_to(i(fe,r,r))&&(g.body=[])}f.push(r)}for(;p<h;)n(e.body[p++],f[f.length-1]);for(f.length>0&&(f[0].body=c.concat(f[0].body)),e.body=f;r=f[f.length-1];){var v=r.body[r.body.length-1];if(v instanceof Fe&&t.loopcontrol_target(v)===e&&r.body.pop(),r.body.length||r instanceof qe&&(u||r.expression.has_side_effects(t)))break;f.pop()===u&&(u=null)}if(0==f.length)return i(fe,e,{body:c.concat(i(le,e.expression,{body:e.expression}))}).optimize(t);if(1==f.length&&(f[0]===l||f[0]===u)){var b=!1,y=new k(function(t){if(b||t instanceof xe||t instanceof le)return!0;t instanceof Fe&&y.loopcontrol_target(t)===e&&(b=!0)});if(e.walk(y),!b)return(f=f[0].body.slice()).unshift(i(le,e.expression,{body:e.expression})),i(fe,e,{body:f}).optimize(t)}return e}),e(ze,function(e,t){if(B(e.body,t),e.bcatch&&e.bfinally&&_(e.bfinally.body,b)&&(e.bfinally=null),_(e.body,b)){var n=[];return e.bcatch&&D(t,e.bcatch,n),e.bfinally&&(n=n.concat(e.bfinally.body)),i(fe,e,{body:n}).optimize(t)}return e}),Ve.DEFMETHOD("remove_initializers",function(){this.definitions.forEach(function(e){e.value=null})}),Ve.DEFMETHOD("to_assignments",function(e){var t=e.option("reduce_vars"),n=this.definitions.reduce(function(e,n){if(n.value){var r=i(yt,n.name,n.name);e.push(i(rt,n,{operator:"=",left:r,right:n.value})),t&&(r.definition().fixed=!1)}return v(n.name.definition().orig,n.name),e},[]);return 0==n.length?null:a(this,n)}),e(Ve,function(e,t){return 0==e.definitions.length?i(pe,e):e}),e(Ke,function(e,t){var n=e.expression,r=n;if(t.option("unused")&&(r instanceof ke||t.option("reduce_vars")&&r instanceof yt&&(r=r.fixed_value())instanceof ke)&&!r.uses_arguments&&!r.uses_eval){for(var o=0,u=0,l=0,c=e.args.length;l<c;l++){var f=l>=r.argnames.length;if(f||r.argnames[l].__unused){if(g=e.args[l].drop_side_effect_free(t))e.args[o++]=g;else if(!f){e.args[o++]=i(xt,e.args[l],{value:0});continue}}else e.args[o++]=e.args[l];u=o}e.args.length=u}if(t.option("unsafe"))if(S(n))switch(n.name){case"Array":if(1!=e.args.length)return i(ot,e,{elements:e.args}).optimize(t);break;case"Object":if(0==e.args.length)return i(it,e,{properties:[]});break;case"String":if(0==e.args.length)return i(At,e,{value:""});if(e.args.length<=1)return i(tt,e,{left:e.args[0],operator:"+",right:i(At,e,{value:""})}).optimize(t);break;case"Number":if(0==e.args.length)return i(xt,e,{value:0});if(1==e.args.length)return i(Xe,e,{expression:e.args[0],operator:"+"}).optimize(t);case"Boolean":if(0==e.args.length)return i(Ft,e);if(1==e.args.length)return i(Xe,e,{expression:i(Xe,e,{expression:e.args[0],operator:"!"}),operator:"!"}).optimize(t)}else{if(n instanceof Qe&&"toString"==n.property&&0==e.args.length)return i(tt,e,{left:i(At,e,{value:""}),operator:"+",right:n.expression}).optimize(t);if(n instanceof Qe&&n.expression instanceof ot&&"join"==n.property){var p;if(!(e.args.length>0&&(p=e.args[0].evaluate(t))===e.args[0])){var h=[],d=[];if(n.expression.elements.forEach(function(n){var r=n.evaluate(t);r!==n?d.push(r):(d.length>0&&(h.push(i(At,e,{value:d.join(p)})),d.length=0),h.push(n))}),d.length>0&&h.push(i(At,e,{value:d.join(p)})),0==h.length)return i(At,e,{value:""});if(1==h.length)return h[0].is_string(t)?h[0]:i(tt,h[0],{operator:"+",left:i(At,e,{value:""}),right:h[0]});if(""==p){var m;return m=h[0].is_string(t)||h[1].is_string(t)?h.shift():i(At,e,{value:""}),h.reduce(function(e,t){return i(tt,t,{operator:"+",left:e,right:t})},m).optimize(t)}var g=e.clone();return g.expression=g.expression.clone(),g.expression.expression=g.expression.expression.clone(),g.expression.expression.elements=h,M(t,e,g)}}else if(n instanceof Qe&&n.expression.is_string(t)&&"charAt"==n.property){var v=e.args[0],y=v?v.evaluate(t):0;if(y!==v)return i(Ze,n,{expression:n.expression,property:s(0|y,v||n)}).optimize(t)}}if(t.option("unsafe_Func")&&S(n)&&"Function"==n.name){if(0==e.args.length)return i(ke,e,{argnames:[],body:[]});if(_(e.args,function(e){return e instanceof At}))try{var w=j(C="n(function("+e.args.slice(0,-1).map(function(e){return e.value}).join(",")+"){"+e.args[e.args.length-1].value+"})"),E={ie8:t.option("ie8")};w.figure_out_scope(E);var A=new G(t.options);(w=w.transform(A)).figure_out_scope(E),en.reset(),w.compute_char_frequency(E),w.mangle_names(E);var x;w.walk(new k(function(e){return!!x||(e instanceof xe?(x=e,!0):void 0)}));var C=K();return fe.prototype._codegen.call(x,x,C),e.args=[i(At,e,{value:x.argnames.map(function(e){return e.print_to_string()}).join(",")}),i(At,e.args[e.args.length-1],{value:C.get().replace(/^\{|\}$/g,"")})],e}catch(n){if(!(n instanceof P))throw n;t.warn("Error parsing code passed to new Function [{file}:{line},{col}]",e.args[e.args.length-1].start),t.warn(n.toString())}}var B=r instanceof ke&&r.body[0];if(t.option("inline")&&B instanceof De&&(!(D=B.value)||D.is_constant_expression())){R=e.args.concat(D||i(Bt,e));return a(e,R).optimize(t)}if(n instanceof ke){if(t.option("inline")&&!n.name&&!n.uses_arguments&&!n.uses_eval&&1==n.body.length&&_(n.argnames,function(e){return e.__unused})&&!e.has_pure_annotation(t)){var D;if(B instanceof De?D=B.value:B instanceof le&&(D=i(Xe,B,{operator:"void",expression:B.body})),D){var T=new k(function(e){if(!D)return!0;if(e instanceof yt){var t=e.scope.find_variable(e);if(t&&t.scope.parent_scope===r.parent_scope)return D=null,!0}return e instanceof wt&&!T.find_parent(Ee)?(D=null,!0):void 0});D.walk(T)}if(D){R=e.args.concat(D);return a(e,R).optimize(t)}}if(t.option("side_effects")&&_(n.body,b)){var R=e.args.concat(i(Bt,e));return a(e,R).optimize(t)}}if(t.option("drop_console")&&n instanceof We){for(var F=n.expression;F.expression;)F=F.expression;if(S(F)&&"console"==F.name)return i(Bt,e).optimize(t)}if(t.option("negate_iife")&&t.parent()instanceof le&&O(e))return e.negate(t,!0);var L=e.evaluate(t);return L!==e?(L=s(L,e).optimize(t),M(t,L,e)):e}),e(Ge,function(e,t){if(t.option("unsafe")){var n=e.expression;if(S(n))switch(n.name){case"Object":case"RegExp":case"Function":case"Error":case"Array":return i(Ke,e,e).transform(t)}}return e}),e(Ye,function(e,n){if(!n.option("side_effects"))return e;var r=[];!function(){var t=A(n),o=e.expressions.length-1;e.expressions.forEach(function(e,i){i<o&&(e=e.drop_side_effect_free(n,t)),e&&(l(r,e),t=!1)})}();var o=r.length-1;return function(){for(;o>0&&T(r[o],n);)o--;o<r.length-1&&(r[o]=i(Xe,e,{operator:"void",expression:r[o]}),r.length=o+1)}(),o>0&&n.option("cascade")&&function(){for(var e=0,a=1;a<=o;a++){var s=r[e],u=r[a];if((s=s instanceof rt&&!s.left.has_side_effects(n)?s.left:s instanceof Je&&("++"==s.operator||"--"==s.operator)?s.expression:null)&&!t(s)){var l,c=null;for(r[a]=u=u.clone();;){if(u.equivalent_to(s)){var f=r[e];f instanceof et?f=i(Xe,f,{operator:f.operator,expression:s}):f.write_only=!1,c?(c[l]=f,r[e]=r[a]):r[e]=f;break}if(u instanceof tt&&!(u instanceof rt))if(u.left.is_constant()){if("||"==u.operator||"&&"==u.operator){r[++e]=r[a];break}l="right"}else l="left";else if(u instanceof Ke&&!(s instanceof We&&u.expression.equivalent_to(s))||u instanceof We||u instanceof Je&&!H(u.operator))l="expression";else{if(!(u instanceof nt)){r[++e]=r[a];break}l="condition"}c=u,u=u[l]=u[l].clone()}}else r[++e]=u}o=e,r.length=o+1}(),0==o?((e=u(n.parent(),e,r[0]))instanceof Ye||(e=e.optimize(n)),e):(e.expressions=r,e)}),Je.DEFMETHOD("lift_sequences",function(e){if(e.option("sequences")&&this.expression instanceof Ye){var t=this.expression.expressions.slice(),n=this.clone();return n.expression=t.pop(),t.push(n),a(this,t).optimize(e)}return this}),e(et,function(e,t){return e.lift_sequences(t)}),e(Xe,function(e,t){var n=e.expression;if("delete"==e.operator&&!(n instanceof yt||n instanceof We||n instanceof St||n instanceof Tt||n instanceof Bt))return n instanceof Ye?((n=n.expressions.slice()).push(i(Lt,e)),a(e,n).optimize(t)):a(e,[n,i(Lt,e)]).optimize(t);var r=e.lift_sequences(t);if(r!==e)return r;if(t.option("side_effects")&&"void"==e.operator)return(n=n.drop_side_effect_free(t))?(e.expression=n,e):i(Bt,e).optimize(t);if(t.option("booleans")&&t.in_boolean_context())switch(e.operator){case"!":if(n instanceof Xe&&"!"==n.operator)return n.expression;n instanceof tt&&(e=M(t,e,n.negate(t,A(t))));break;case"typeof":return t.warn("Boolean expression always true [{file}:{line},{col}]",e.start),(n instanceof yt?i(Lt,e):a(e,[n,i(Lt,e)])).optimize(t)}if("-"==e.operator&&n instanceof Tt&&(n=n.transform(t)),n instanceof tt&&("+"==e.operator||"-"==e.operator)&&("*"==n.operator||"/"==n.operator||"%"==n.operator))return i(tt,e,{operator:n.operator,left:i(Xe,n.left,{operator:e.operator,expression:n.left}),right:n.right});if("-"!=e.operator||!(n instanceof xt||n instanceof Tt)){var o=e.evaluate(t);if(o!==e)return o=s(o,e).optimize(t),M(t,o,e)}return e}),tt.DEFMETHOD("lift_sequences",function(e){if(e.option("sequences")){if(this.left instanceof Ye){var t=this.left.expressions.slice();return(i=this.clone()).left=t.pop(),t.push(i),a(this,t).optimize(e)}if(this.right instanceof Ye&&!this.left.has_side_effects(e)){for(var n="="==this.operator&&this.left instanceof yt,r=(t=this.right.expressions).length-1,o=0;o<r&&(n||!t[o].has_side_effects(e));o++);if(o==r)return t=t.slice(),(i=this.clone()).right=t.pop(),t.push(i),a(this,t).optimize(e);if(o>0){var i=this.clone();return i.right=a(this.right,t.slice(o)),(t=t.slice(0,o)).push(i),a(this,t).optimize(e)}}}return this});var W=y("== === != !== * & | ^");e(tt,function(e,t){function n(){return e.left.is_constant()||e.right.is_constant()||!e.left.has_side_effects(t)&&!e.right.has_side_effects(t)}function r(t){if(n()){t&&(e.operator=t);var r=e.left;e.left=e.right,e.right=r}}if(W(e.operator)&&e.right.is_constant()&&!e.left.is_constant()&&(e.left instanceof tt&&Jt[e.left.operator]>=Jt[e.operator]||r()),e=e.lift_sequences(t),t.option("comparisons"))switch(e.operator){case"===":case"!==":(e.left.is_string(t)&&e.right.is_string(t)||e.left.is_number(t)&&e.right.is_number(t)||e.left.is_boolean()&&e.right.is_boolean())&&(e.operator=e.operator.substr(0,2));case"==":case"!=":if(t.option("typeofs")&&e.left instanceof At&&"undefined"==e.left.value&&e.right instanceof Xe&&"typeof"==e.right.operator){var o=e.right.expression;(o instanceof yt?!o.is_declared(t):o instanceof We&&t.option("ie8"))||(e.right=o,e.left=i(Bt,e.left).optimize(t),2==e.operator.length&&(e.operator+="="))}}if(t.option("booleans")&&"+"==e.operator&&t.in_boolean_context()){var l=e.left.evaluate(t),c=e.right.evaluate(t);if(l&&"string"==typeof l)return t.warn("+ in boolean context always true [{file}:{line},{col}]",e.start),a(e,[e.right,i(Lt,e)]).optimize(t);if(c&&"string"==typeof c)return t.warn("+ in boolean context always true [{file}:{line},{col}]",e.start),a(e,[e.left,i(Lt,e)]).optimize(t)}if(t.option("comparisons")&&e.is_boolean()){if(!(t.parent()instanceof tt)||t.parent()instanceof rt){var f=i(Xe,e,{operator:"!",expression:e.negate(t,A(t))});e=M(t,e,f)}if(t.option("unsafe_comps"))switch(e.operator){case"<":r(">");break;case"<=":r(">=")}}if("+"==e.operator){if(e.right instanceof At&&""==e.right.getValue()&&e.left.is_string(t))return e.left;if(e.left instanceof At&&""==e.left.getValue()&&e.right.is_string(t))return e.right;if(e.left instanceof tt&&"+"==e.left.operator&&e.left.left instanceof At&&""==e.left.left.getValue()&&e.right.is_string(t))return e.left=e.left.right,e.transform(t)}if(t.option("evaluate")){switch(e.operator){case"&&":if(!(l=e.left.evaluate(t)))return t.warn("Condition left of && always false [{file}:{line},{col}]",e.start),u(t.parent(),e,e.left).optimize(t);if(l!==e.left)return t.warn("Condition left of && always true [{file}:{line},{col}]",e.start),u(t.parent(),e,e.right).optimize(t);if(t.option("booleans")&&t.in_boolean_context()){if(!(c=e.right.evaluate(t)))return t.warn("Boolean && always false [{file}:{line},{col}]",e.start),a(e,[e.left,i(Ft,e)]).optimize(t);if(c!==e.right)return t.warn("Dropping side-effect-free && in boolean context [{file}:{line},{col}]",e.start),e.left.optimize(t)}break;case"||":if(!(l=e.left.evaluate(t)))return t.warn("Condition left of || always false [{file}:{line},{col}]",e.start),u(t.parent(),e,e.right).optimize(t);if(l!==e.left)return t.warn("Condition left of || always true [{file}:{line},{col}]",e.start),u(t.parent(),e,e.left).optimize(t);if(t.option("booleans")&&t.in_boolean_context()){if(!(c=e.right.evaluate(t)))return t.warn("Dropping side-effect-free || in boolean context [{file}:{line},{col}]",e.start),e.left.optimize(t);if(c!==e.right)return t.warn("Boolean || always true [{file}:{line},{col}]",e.start),a(e,[e.left,i(Lt,e)]).optimize(t)}}var p=!0;switch(e.operator){case"+":if(e.left instanceof Et&&e.right instanceof tt&&"+"==e.right.operator&&e.right.left instanceof Et&&e.right.is_string(t)&&(e=i(tt,e,{operator:"+",left:i(At,e.left,{value:""+e.left.getValue()+e.right.left.getValue(),start:e.left.start,end:e.right.left.end}),right:e.right.right})),e.right instanceof Et&&e.left instanceof tt&&"+"==e.left.operator&&e.left.right instanceof Et&&e.left.is_string(t)&&(e=i(tt,e,{operator:"+",left:e.left.left,right:i(At,e.right,{value:""+e.left.right.getValue()+e.right.getValue(),start:e.left.right.start,end:e.right.end})})),e.left instanceof tt&&"+"==e.left.operator&&e.left.is_string(t)&&e.left.right instanceof Et&&e.right instanceof tt&&"+"==e.right.operator&&e.right.left instanceof Et&&e.right.is_string(t)&&(e=i(tt,e,{operator:"+",left:i(tt,e.left,{operator:"+",left:e.left.left,right:i(At,e.left.right,{value:""+e.left.right.getValue()+e.right.left.getValue(),start:e.left.right.start,end:e.right.left.end})}),right:e.right.right})),e.right instanceof Xe&&"-"==e.right.operator&&e.left.is_number(t)){e=i(tt,e,{operator:"-",left:e.left,right:e.right.expression});break}if(e.left instanceof Xe&&"-"==e.left.operator&&n()&&e.right.is_number(t)){e=i(tt,e,{operator:"-",left:e.right,right:e.left.expression});break}case"*":p=t.option("unsafe_math");case"&":case"|":case"^":if(e.left.is_number(t)&&e.right.is_number(t)&&n()&&!(e.left instanceof tt&&e.left.operator!=e.operator&&Jt[e.left.operator]>=Jt[e.operator])){var h=i(tt,e,{operator:e.operator,left:e.right,right:e.left});e=e.right instanceof Et&&!(e.left instanceof Et)?M(t,h,e):M(t,e,h)}p&&e.is_number(t)&&(e.right instanceof tt&&e.right.operator==e.operator&&(e=i(tt,e,{operator:e.operator,left:i(tt,e.left,{operator:e.operator,left:e.left,right:e.right.left,start:e.left.start,end:e.right.left.end}),right:e.right.right})),e.right instanceof Et&&e.left instanceof tt&&e.left.operator==e.operator&&(e.left.left instanceof Et?e=i(tt,e,{operator:e.operator,left:i(tt,e.left,{operator:e.operator,left:e.left.left,right:e.right,start:e.left.left.start,end:e.right.end}),right:e.left.right}):e.left.right instanceof Et&&(e=i(tt,e,{operator:e.operator,left:i(tt,e.left,{operator:e.operator,left:e.left.right,right:e.right,start:e.left.right.start,end:e.right.end}),right:e.left.left}))),e.left instanceof tt&&e.left.operator==e.operator&&e.left.right instanceof Et&&e.right instanceof tt&&e.right.operator==e.operator&&e.right.left instanceof Et&&(e=i(tt,e,{operator:e.operator,left:i(tt,e.left,{operator:e.operator,left:i(tt,e.left.left,{operator:e.operator,left:e.left.right,right:e.right.left,start:e.left.right.start,end:e.right.left.end}),right:e.left.left}),right:e.right.right})))}}if(e.right instanceof tt&&e.right.operator==e.operator&&("&&"==e.operator||"||"==e.operator||"+"==e.operator&&(e.right.left.is_string(t)||e.left.is_string(t)&&e.right.right.is_string(t))))return e.left=i(tt,e.left,{operator:e.operator,left:e.left,right:e.right.left}),e.right=e.right.right,e.transform(t);var d=e.evaluate(t);return d!==e?(d=s(d,e).optimize(t),M(t,d,e)):e}),e(yt,function(e,t){var n=e.resolve_defines(t);if(n)return n.optimize(t);if(!t.option("ie8")&&S(e)&&(!e.scope.uses_with||!t.find_parent(we)))switch(e.name){case"undefined":return i(Bt,e).optimize(t);case"NaN":return i(St,e).optimize(t);case"Infinity":return i(Tt,e).optimize(t)}if(t.option("reduce_vars")&&R(e,t.parent())!==e){var r=e.definition(),o=e.fixed_value();if(o instanceof Oe&&(r.fixed=o=i(ke,o,o)),t.option("unused")&&o instanceof ke&&1==r.references.length&&!(r.scope.uses_arguments&&r.orig[0]instanceof dt)&&!r.scope.uses_eval&&t.find_parent(Ee)===o.parent_scope)return o.clone(!0);if(t.option("evaluate")&&o){if(void 0===r.should_replace){var a=o.evaluate(t);if(a===o||!t.option("unsafe_regexp")&&a instanceof RegExp)r.should_replace=!1;else{var u,l=(a=s(a,o)).optimize(t).print_to_string().length;!function(e){var t;return e.walk(new k(function(e){if(e instanceof yt&&(t=!0),t)return!0})),t}(o)?(l=Math.min(l,o.print_to_string().length),u=function(){var e=F(a.optimize(t),o);return e===a||e===o?e.clone(!0):e}):u=function(){var e=a.optimize(t);return e===a?e.clone(!0):e};var c=r.name.length,f=0;t.option("unused")&&!t.exposed(r)&&(f=(c+2+l)/r.references.length),r.should_replace=l<=c+f&&u}}if(r.should_replace)return r.should_replace()}}return e}),e(Bt,function(e,t){if(t.option("unsafe")){var r=n(t,"undefined");if(r){var o=i(yt,e,{name:"undefined",scope:r.scope,thedef:r});return o.is_undefined=!0,o}}var a=R(t.self(),t.parent());return a&&z(a,e)?e:i(Xe,e,{operator:"void",expression:i(xt,e,{value:0})})}),e(Tt,function(e,t){var r=R(t.self(),t.parent());return r&&z(r,e)?e:!t.option("keep_infinity")||r&&!z(r,e)||n(t,"Infinity")?i(tt,e,{operator:"/",left:i(xt,e,{value:1}),right:i(xt,e,{value:0})}):e}),e(St,function(e,t){var r=R(t.self(),t.parent());return r&&!z(r,e)||n(t,"NaN")?i(tt,e,{operator:"/",left:i(xt,e,{value:0}),right:i(xt,e,{value:0})}):e});var Q=["+","-","/","*","%",">>","<<",">>>","|","^","&"],Z=["*","|","^","&"];e(rt,function(e,t){return"="==(e=e.lift_sequences(t)).operator&&e.left instanceof yt&&e.right instanceof tt&&(e.right.left instanceof yt&&e.right.left.name==e.left.name&&r(e.right.operator,Q)?(e.operator=e.right.operator+"=",e.right=e.right.right):e.right.right instanceof yt&&e.right.right.name==e.left.name&&r(e.right.operator,Z)&&!e.right.left.has_side_effects(t)&&(e.operator=e.right.operator+"=",e.right=e.right.left)),e}),e(nt,function(e,t){function n(e){return e.is_boolean()?e:i(Xe,e,{operator:"!",expression:e.negate(t)})}function r(e){return e instanceof Lt||e instanceof Xe&&"!"==e.operator&&e.expression instanceof Et&&!e.expression.value}function o(e){return e instanceof Ft||e instanceof Xe&&"!"==e.operator&&e.expression instanceof Et&&!!e.expression.value}if(!t.option("conditionals"))return e;if(e.condition instanceof Ye){var s=e.condition.expressions.slice();return e.condition=s.pop(),s.push(e),a(e,s)}var l=e.condition.evaluate(t);if(l!==e.condition)return l?(t.warn("Condition always true [{file}:{line},{col}]",e.start),u(t.parent(),e,e.consequent)):(t.warn("Condition always false [{file}:{line},{col}]",e.start),u(t.parent(),e,e.alternative));var c=l.negate(t,A(t));M(t,l,c)===c&&(e=i(nt,e,{condition:c,consequent:e.alternative,alternative:e.consequent}));var f=e.condition,p=e.consequent,h=e.alternative;return f instanceof yt&&p instanceof yt&&f.definition()===p.definition()?i(tt,e,{operator:"||",left:f,right:h}):p instanceof rt&&h instanceof rt&&p.operator==h.operator&&p.left.equivalent_to(h.left)&&(!e.condition.has_side_effects(t)||"="==p.operator&&!p.left.has_side_effects(t))?i(rt,e,{operator:p.operator,left:p.left,right:i(nt,e,{condition:e.condition,consequent:p.right,alternative:h.right})}):p instanceof Ke&&h.TYPE===p.TYPE&&1==p.args.length&&1==h.args.length&&p.expression.equivalent_to(h.expression)&&!p.expression.has_side_effects(t)?(p.args[0]=i(nt,e,{condition:e.condition,consequent:p.args[0],alternative:h.args[0]}),p):p instanceof nt&&p.alternative.equivalent_to(h)?i(nt,e,{condition:i(tt,e,{left:e.condition,operator:"&&",right:p.condition}),consequent:p.consequent,alternative:h}):p.equivalent_to(h)?a(e,[e.condition,p]).optimize(t):r(e.consequent)?o(e.alternative)?n(e.condition):i(tt,e,{operator:"||",left:n(e.condition),right:e.alternative}):o(e.consequent)?r(e.alternative)?n(e.condition.negate(t)):i(tt,e,{operator:"&&",left:n(e.condition.negate(t)),right:e.alternative}):r(e.alternative)?i(tt,e,{operator:"||",left:n(e.condition.negate(t)),right:e.consequent}):o(e.alternative)?i(tt,e,{operator:"&&",left:n(e.condition),right:e.consequent}):e}),e(Rt,function(e,t){if(t.option("booleans")){var n=t.parent();return n instanceof tt&&("=="==n.operator||"!="==n.operator)?(t.warn("Non-strict equality against boolean: {operator} {value} [{file}:{line},{col}]",{operator:n.operator,value:e.value,file:n.start.file,line:n.start.line,col:n.start.col}),i(xt,e,{value:+e.value})):i(Xe,e,{operator:"!",expression:i(xt,e,{value:1-e.value})})}return e}),e(Ze,function(e,t){var n=e.property;if(n instanceof At&&t.option("properties")){if(n=n.getValue(),U(n))return i(Qe,e,{expression:e.expression,property:n}).optimize(t);var r=parseFloat(n);isNaN(r)||r.toString()!=n||(e.property=i(xt,e.property,{value:r}))}var o=e.evaluate(t);return o!==e?(o=s(o,e).optimize(t),M(t,o,e)):e}),xe.DEFMETHOD("contains_this",function(){var e,t=this;return t.walk(new k(function(n){return!!e||(n instanceof wt?e=!0:n!==t&&n instanceof Ee||void 0)})),e}),e(Qe,function(e,t){var n=e.resolve_defines(t);if(n)return n.optimize(t);if(t.option("unsafe")&&e.expression instanceof it)for(var r=e.expression.properties,o=r.length;--o>=0;)if(r[o].key===e.property){var u=r[o].value;if(u instanceof ke?!u.contains_this():!u.has_side_effects(t)){var l=e.expression.clone();return l.properties=l.properties.slice(),l.properties.splice(o,1),a(e,[l,u]).optimize(t)}}if(t.option("unsafe_proto")&&e.expression instanceof Qe&&"prototype"==e.expression.property){var c=e.expression.expression;if(S(c))switch(c.name){case"Array":e.expression=i(ot,e.expression,{elements:[]});break;case"Object":e.expression=i(it,e.expression,{properties:[]});break;case"String":e.expression=i(At,e.expression,{value:""})}}var f=e.evaluate(t);return f!==e?(f=s(f,e).optimize(t),M(t,f,e)):e}),e(ot,I),e(it,I),e(Ct,I),e(De,function(e,t){return e.value&&T(e.value,t)&&(e.value=null),e}),e(He,function(e,t){var n=t.option("global_defs");return n&&E(n,e.name.name)&&t.warn("global_defs "+e.name.name+" redefined [{file}:{line},{col}]",e.start),e})}(),function(){function e(e){if("Literal"==e.type)return null!=e.raw?e.raw:e.value+""}function n(t){var n=t.loc,r=n&&n.start,o=t.range;return new oe({file:n&&n.source,line:r&&r.line,col:r&&r.column,pos:o?o[0]:t.start,endline:r&&r.line,endcol:r&&r.column,endpos:o?o[0]:t.start,raw:e(t)})}function r(t){var n=t.loc,r=n&&n.end,o=t.range;return new oe({file:n&&n.source,line:r&&r.line,col:r&&r.column,pos:o?o[1]:t.end,endline:r&&r.line,endcol:r&&r.column,endpos:o?o[1]:t.end,raw:e(t)})}function o(e,o,a){var f="function From_Moz_"+e+"(M){\n";f+="return new U2."+o.name+"({\nstart: my_start_token(M),\nend: my_end_token(M)";var h="function To_Moz_"+e+"(M){\n";h+="return {\ntype: "+JSON.stringify(e),a&&a.split(/\s*,\s*/).forEach(function(e){var t=/([a-z0-9$_]+)(=|@|>|%)([a-z0-9$_]+)/i.exec(e);if(!t)throw new Error("Can't understand property map: "+e);var n=t[1],r=t[2],o=t[3];switch(f+=",\n"+o+": ",h+=",\n"+n+": ",r){case"@":f+="M."+n+".map(from_moz)",h+="M."+o+".map(to_moz)";break;case">":f+="from_moz(M."+n+")",h+="to_moz(M."+o+")";break;case"=":f+="M."+n,h+="M."+o;break;case"%":f+="from_moz(M."+n+").body",h+="to_moz_block(M)";break;default:throw new Error("Can't understand operator in propmap: "+e)}}),f+="\n})\n}",h+="\n}\n}",f=new Function("U2","my_start_token","my_end_token","from_moz","return("+f+")")(t,n,r,i),h=new Function("to_moz","to_moz_block","to_moz_scope","return("+h+")")(u,l,c),p[e]=f,s(o,h)}function i(e){h.push(e);var t=null!=e?p[e.type](e):null;return h.pop(),t}function a(e,t,n){var r=e.start,o=e.end;return null!=r.pos&&null!=o.endpos&&(t.range=[r.pos,o.endpos]),r.line&&(t.loc={start:{line:r.line,column:r.col},end:o.endline?{line:o.endline,column:o.endcol}:null},r.file&&(t.loc.source=r.file)),t}function s(e,t){e.DEFMETHOD("to_mozilla_ast",function(){return a(this,t(this))})}function u(e){return null!=e?e.to_mozilla_ast():null}function l(e){return{type:"BlockStatement",body:e.body.map(u)}}function c(e,t){var n=t.body.map(u);return t.body[0]instanceof le&&t.body[0].body instanceof At&&n.unshift(u(new pe(t.body[0]))),{type:e,body:n}}var f=function(e){for(var t=!0,n=0;n<e.length;n++)t&&e[n]instanceof ae&&e[n].body instanceof At?e[n]=new ue({start:e[n].start,end:e[n].end,value:e[n].body.value}):!t||e[n]instanceof ae&&e[n].body instanceof At||(t=!1);return e},p={Program:function(e){return new Ae({start:n(e),end:r(e),body:f(e.body.map(i))})},FunctionDeclaration:function(e){return new Oe({start:n(e),end:r(e),name:i(e.id),argnames:e.params.map(i),body:f(i(e.body).body)})},FunctionExpression:function(e){return new ke({start:n(e),end:r(e),name:i(e.id),argnames:e.params.map(i),body:f(i(e.body).body)})},ExpressionStatement:function(e){return new le({start:n(e),end:r(e),body:i(e.expression)})},TryStatement:function(e){var t=e.handlers||[e.handler];if(t.length>1||e.guardedHandlers&&e.guardedHandlers.length)throw new Error("Multiple catch clauses are not supported.");return new ze({start:n(e),end:r(e),body:i(e.block).body,bcatch:i(t[0]),bfinally:e.finalizer?new je(i(e.finalizer)):null})},Property:function(e){var t=e.key,o={start:n(t),end:r(e.value),key:"Identifier"==t.type?t.name:t.value,value:i(e.value)};return"init"==e.kind?new st(o):(o.key=new ft({name:o.key}),o.value=new Ce(o.value),"get"==e.kind?new lt(o):"set"==e.kind?new ut(o):void 0)},ArrayExpression:function(e){return new ot({start:n(e),end:r(e),elements:e.elements.map(function(e){return null===e?new Dt:i(e)})})},ObjectExpression:function(e){return new it({start:n(e),end:r(e),properties:e.properties.map(function(e){return e.type="Property",i(e)})})},SequenceExpression:function(e){return new Ye({start:n(e),end:r(e),expressions:e.expressions.map(i)})},MemberExpression:function(e){return new(e.computed?Ze:Qe)({start:n(e),end:r(e),property:e.computed?i(e.property):e.property.name,expression:i(e.object)})},SwitchCase:function(e){return new(e.test?qe:Pe)({start:n(e),end:r(e),expression:i(e.test),body:e.consequent.map(i)})},VariableDeclaration:function(e){return new $e({start:n(e),end:r(e),definitions:e.declarations.map(i)})},Literal:function(e){var t=e.value,o={start:n(e),end:r(e)};if(null===t)return new Ot(o);switch(typeof t){case"string":return o.value=t,new At(o);case"number":return o.value=t,new xt(o);case"boolean":return new(t?Lt:Ft)(o);default:var i=e.regex;return i&&i.pattern?o.value=new RegExp(i.pattern,i.flags).toString():o.value=e.regex&&e.raw?e.raw:t,new Ct(o)}},Identifier:function(e){var t=h[h.length-2];return new("LabeledStatement"==t.type?bt:"VariableDeclarator"==t.type&&t.id===e?ht:"FunctionExpression"==t.type?t.id===e?gt:dt:"FunctionDeclaration"==t.type?t.id===e?mt:dt:"CatchClause"==t.type?vt:"BreakStatement"==t.type||"ContinueStatement"==t.type?_t:yt)({start:n(e),end:r(e),name:e.name})}};p.UpdateExpression=p.UnaryExpression=function(e){return new(("prefix"in e?e.prefix:"UnaryExpression"==e.type)?Xe:et)({start:n(e),end:r(e),operator:e.operator,expression:i(e.argument)})},o("EmptyStatement",pe),o("BlockStatement",fe,"body@body"),o("IfStatement",Me,"test>condition, consequent>body, alternate>alternative"),o("LabeledStatement",de,"label>label, body>body"),o("BreakStatement",Fe,"label>label"),o("ContinueStatement",Le,"label>label"),o("WithStatement",we,"object>expression, body>body"),o("SwitchStatement",Ue,"discriminant>expression, cases@body"),o("ReturnStatement",De,"argument>value"),o("ThrowStatement",Te,"argument>value"),o("WhileStatement",be,"test>condition, body>body"),o("DoWhileStatement",ve,"test>condition, body>body"),o("ForStatement",ye,"init>init, test>condition, update>step, body>body"),o("ForInStatement",_e,"left>init, right>object, body>body"),o("DebuggerStatement",se),o("VariableDeclarator",He,"id>name, init>value"),o("CatchClause",Ie,"param>argname, body%body"),o("ThisExpression",wt),o("BinaryExpression",tt,"operator=operator, left>left, right>right"),o("LogicalExpression",tt,"operator=operator, left>left, right>right"),o("AssignmentExpression",rt,"operator=operator, left>left, right>right"),o("ConditionalExpression",nt,"test>condition, consequent>consequent, alternate>alternative"),o("NewExpression",Ge,"callee>expression, arguments@args"),o("CallExpression",Ke,"callee>expression, arguments@args"),s(Ae,function(e){return c("Program",e)}),s(Oe,function(e){return{type:"FunctionDeclaration",id:u(e.name),params:e.argnames.map(u),body:c("BlockStatement",e)}}),s(ke,function(e){return{type:"FunctionExpression",id:u(e.name),params:e.argnames.map(u),body:c("BlockStatement",e)}}),s(ue,function(e){return{type:"ExpressionStatement",expression:{type:"Literal",value:e.value}}}),s(le,function(e){return{type:"ExpressionStatement",expression:u(e.body)}}),s(Ne,function(e){return{type:"SwitchCase",test:u(e.expression),consequent:e.body.map(u)}}),s(ze,function(e){return{type:"TryStatement",block:l(e),handler:u(e.bcatch),guardedHandlers:[],finalizer:u(e.bfinally)}}),s(Ie,function(e){return{type:"CatchClause",param:u(e.argname),guard:null,body:l(e)}}),s(Ve,function(e){return{type:"VariableDeclaration",kind:"var",declarations:e.definitions.map(u)}}),s(Ye,function(e){return{type:"SequenceExpression",expressions:e.expressions.map(u)}}),s(We,function(e){var t=e instanceof Ze;return{type:"MemberExpression",object:u(e.expression),computed:t,property:t?u(e.property):{type:"Identifier",name:e.property}}}),s(Je,function(e){return{type:"++"==e.operator||"--"==e.operator?"UpdateExpression":"UnaryExpression",operator:e.operator,prefix:e instanceof Xe,argument:u(e.expression)}}),s(tt,function(e){return{type:"&&"==e.operator||"||"==e.operator?"LogicalExpression":"BinaryExpression",left:u(e.left),operator:e.operator,right:u(e.right)}}),s(ot,function(e){return{type:"ArrayExpression",elements:e.elements.map(u)}}),s(it,function(e){return{type:"ObjectExpression",properties:e.properties.map(u)}}),s(at,function(e){var t,n={type:"Literal",value:e.key instanceof ft?e.key.name:e.key};return e instanceof st?t="init":e instanceof lt?t="get":e instanceof ut&&(t="set"),{type:"Property",kind:t,key:n,value:u(e.value)}}),s(ct,function(e){var t=e.definition();return{type:"Identifier",name:t?t.mangled_name||t.name:e.name}}),s(Ct,function(e){var t=e.value;return{type:"Literal",value:t,raw:t.toString(),regex:{pattern:t.source,flags:t.toString().match(/[gimuy]*$/)[0]}}}),s(Et,function(e){var t=e.value;return"number"==typeof t&&(t<0||0===t&&1/t<0)?{type:"UnaryExpression",operator:"-",prefix:!0,argument:{type:"Literal",value:-t,raw:e.start.raw}}:{type:"Literal",value:t,raw:e.start.raw}}),s(kt,function(e){return{type:"Identifier",name:String(e.value)}}),Rt.DEFMETHOD("to_mozilla_ast",Et.prototype.to_mozilla_ast),Ot.DEFMETHOD("to_mozilla_ast",Et.prototype.to_mozilla_ast),Dt.DEFMETHOD("to_mozilla_ast",function(){return null}),ce.DEFMETHOD("to_mozilla_ast",fe.prototype.to_mozilla_ast),xe.DEFMETHOD("to_mozilla_ast",ke.prototype.to_mozilla_ast);var h=null;ie.from_mozilla_ast=function(e){var t=h;h=[];var n=i(e);return h=t,n}}();var nn="undefined"==typeof atob?function(t){return new e(t,"base64").toString()}:atob,rn="undefined"==typeof btoa?function(t){return new e(t).toString("base64")}:btoa;t.Dictionary=w,t.TreeWalker=k,t.TreeTransformer=V,t.minify=function(e,t){var n=ie.warn_function;try{var r=(t=u(t,{compress:{},ie8:!1,keep_fnames:!1,mangle:{},nameCache:null,output:{},parse:{},sourceMap:!1,timings:!1,toplevel:!1,warnings:!1,wrap:!1},!0)).timings&&{start:Date.now()};ee("ie8",t,["compress","mangle","output"]),ee("keep_fnames",t,["compress","mangle"]),ee("toplevel",t,["compress","mangle"]),ee("warnings",t,["compress"]);var o;t.mangle&&(t.mangle=u(t.mangle,{cache:t.nameCache&&(t.nameCache.vars||{}),eval:!1,ie8:!1,keep_fnames:!1,properties:!1,reserved:[],toplevel:!1},!0),t.mangle.properties&&("object"!=typeof t.mangle.properties&&(t.mangle.properties={}),t.mangle.properties.keep_quoted&&(o=t.mangle.properties.reserved,Array.isArray(o)||(o=[]),t.mangle.properties.reserved=o),!t.nameCache||"cache"in t.mangle.properties||(t.mangle.properties.cache=t.nameCache.props||{})),te(t.mangle.cache),te(t.mangle.properties.cache)),t.sourceMap&&(t.sourceMap=u(t.sourceMap,{content:null,filename:null,includeSources:!1,root:null,url:null},!0));var i=[];t.warnings&&!ie.warn_function&&(ie.warn_function=function(e){i.push(e)}),r&&(r.parse=Date.now());var a;if(e instanceof Ae)a=e;else{"string"==typeof e&&(e=[e]),t.parse=t.parse||{},t.parse.toplevel=null;for(var s in e)if(E(e,s)&&(t.parse.filename=s,t.parse.toplevel=j(e[s],t.parse),t.sourceMap&&"inline"==t.sourceMap.content)){if(Object.keys(e).length>1)throw new Error("inline source map only works with singular input");t.sourceMap.content=X(e[s])}a=t.parse.toplevel}o&&Q(a,o),t.wrap&&(a=a.wrap_commonjs(t.wrap)),r&&(r.scope1=Date.now()),t.compress&&a.figure_out_scope(t.mangle),r&&(r.compress=Date.now()),t.compress&&(a=new G(t.compress).compress(a)),r&&(r.scope2=Date.now()),t.mangle&&a.figure_out_scope(t.mangle),r&&(r.mangle=Date.now()),t.mangle&&(en.reset(),a.compute_char_frequency(t.mangle),a.mangle_names(t.mangle)),r&&(r.properties=Date.now()),t.mangle&&t.mangle.properties&&(a=J(a,t.mangle.properties)),r&&(r.output=Date.now());var l={};if(t.output.ast&&(l.ast=a),!E(t.output,"code")||t.output.code){if(t.sourceMap&&("string"==typeof t.sourceMap.content&&(t.sourceMap.content=JSON.parse(t.sourceMap.content)),t.output.source_map=Y({file:t.sourceMap.filename,orig:t.sourceMap.content,root:t.sourceMap.root}),t.sourceMap.includeSources)){if(e instanceof Ae)throw new Error("original source content unavailable");for(var s in e)E(e,s)&&t.output.source_map.get().setSourceContent(s,e[s])}delete t.output.ast,delete t.output.code;var c=K(t.output);a.print(c),l.code=c.get(),t.sourceMap&&(l.map=t.output.source_map.toString(),"inline"==t.sourceMap.url?l.code+="\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,"+rn(l.map):t.sourceMap.url&&(l.code+="\n//# sourceMappingURL="+t.sourceMap.url))}return t.nameCache&&t.mangle&&(t.mangle.cache&&(t.nameCache.vars=ne(t.mangle.cache)),t.mangle.properties&&t.mangle.properties.cache&&(t.nameCache.props=ne(t.mangle.properties.cache))),r&&(r.end=Date.now(),l.timings={parse:.001*(r.scope1-r.parse),scope:.001*(r.compress-r.scope1+r.mangle-r.scope2),compress:.001*(r.scope2-r.compress),mangle:.001*(r.properties-r.mangle),properties:.001*(r.output-r.properties),output:.001*(r.end-r.output),total:.001*(r.end-r.start)}),i.length&&(l.warnings=i),l}catch(e){return{error:e}}finally{ie.warn_function=n}},t._push_uniq=m}(void 0===n?n={}:n)}).call(this,e("buffer").Buffer)},{buffer:4}]},{},["html-minifier"]);
\ No newline at end of file
index 9d06a39..0533a5a 100644 (file)
@@ -9,7 +9,7 @@
   <body>
     <div id="outer-wrapper">
       <div id="wrapper">
-        <h1>HTML Minifier <span>(v3.5.2)</span></h1>
+        <h1>HTML Minifier <span>(v3.5.4)</span></h1>
         <textarea rows="8" cols="40" id="input"></textarea>
         <div class="minify-button">
           <button type="button" id="minify-btn">Minify</button>
index 170142b..6a27e0c 100644 (file)
@@ -1,7 +1,7 @@
 {
   "name": "html-minifier",
   "description": "Highly configurable, well-tested, JavaScript-based HTML minifier.",
-  "version": "3.5.3",
+  "version": "3.5.4",
   "keywords": [
     "cli",
     "compress",