pug-ruby 2.0.0.rc2 → 2.0.0.rc3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +3 -3
  3. data/README.md +2 -1
  4. data/Rakefile +7 -0
  5. data/lib/jade-pug/base.rb +2 -2
  6. data/lib/jade-pug/system-compiler.rb +2 -2
  7. data/lib/pug-ruby/version.rb +1 -1
  8. data/test/helper.rb +3 -1
  9. data/test/manual.rb +3 -0
  10. data/vendor/jade-1.0.0-license +22 -0
  11. data/vendor/jade-1.0.1-license +22 -0
  12. data/vendor/jade-1.0.2-license +22 -0
  13. data/vendor/jade-1.1.0-license +22 -0
  14. data/vendor/jade-1.1.1-license +22 -0
  15. data/vendor/jade-1.1.2-license +22 -0
  16. data/vendor/jade-1.1.3-license +22 -0
  17. data/vendor/jade-1.1.4-license +22 -0
  18. data/vendor/jade-1.1.5-license +22 -0
  19. data/vendor/{pug-2.0.0-beta.12-license → jade-1.10.0-license} +0 -0
  20. data/vendor/jade-1.11.0-license +22 -0
  21. data/vendor/jade-1.2.0-license +22 -0
  22. data/vendor/jade-1.3.0-license +22 -0
  23. data/vendor/jade-1.3.1-license +22 -0
  24. data/vendor/jade-1.4.0-license +22 -0
  25. data/vendor/jade-1.4.1-license +22 -0
  26. data/vendor/jade-1.4.2-license +22 -0
  27. data/vendor/jade-1.5.0-license +22 -0
  28. data/vendor/jade-1.6.0-license +22 -0
  29. data/vendor/jade-1.7.0-license +22 -0
  30. data/vendor/jade-1.8.0-license +22 -0
  31. data/vendor/jade-1.8.1-license +22 -0
  32. data/vendor/jade-1.8.2-license +22 -0
  33. data/vendor/jade-1.9.0-license +22 -0
  34. data/vendor/jade-1.9.1-license +22 -0
  35. data/vendor/jade-1.9.2-license +22 -0
  36. data/vendor/pug-2.0.0-beta12-license +22 -0
  37. data/vendor/{pug-2.0.0-beta.12.min.js → pug-2.0.0-beta12.min.js} +0 -0
  38. data/vendor/pug-2.0.0-rc.4-license +22 -0
  39. data/vendor/pug-2.0.0-rc.4.min.js +1 -0
  40. metadata +33 -5
@@ -0,0 +1,22 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2009-2014 TJ Holowaychuk <tj@vision-media.ca>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ 'Software'), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,22 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2009-2014 TJ Holowaychuk <tj@vision-media.ca>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ 'Software'), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,22 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2009-2014 TJ Holowaychuk <tj@vision-media.ca>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ 'Software'), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,22 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2009-2014 TJ Holowaychuk <tj@vision-media.ca>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ 'Software'), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,22 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2009-2014 TJ Holowaychuk <tj@vision-media.ca>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ 'Software'), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,22 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2009-2014 TJ Holowaychuk <tj@vision-media.ca>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ 'Software'), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,22 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2009-2014 TJ Holowaychuk <tj@vision-media.ca>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ 'Software'), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,22 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2009-2014 TJ Holowaychuk <tj@vision-media.ca>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ 'Software'), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,22 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2009-2014 TJ Holowaychuk <tj@vision-media.ca>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ 'Software'), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,22 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2009-2014 TJ Holowaychuk <tj@vision-media.ca>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ 'Software'), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,22 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2009-2014 TJ Holowaychuk <tj@vision-media.ca>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ 'Software'), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,22 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2009-2014 TJ Holowaychuk <tj@vision-media.ca>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ 'Software'), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,22 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2009-2014 TJ Holowaychuk <tj@vision-media.ca>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ 'Software'), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,22 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2009-2014 TJ Holowaychuk <tj@vision-media.ca>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ 'Software'), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1 @@
1
+ !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).pug=e()}}(function(){return function e(t,n,r){function i(o,a){if(!n[o]){if(!t[o]){var u="function"==typeof require&&require;if(!a&&u)return u(o,!0);if(s)return s(o,!0);var c=new Error("Cannot find module '"+o+"'");throw c.code="MODULE_NOT_FOUND",c}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return i(n||e)},l,l.exports,e,t,n,r)}return n[o].exports}for(var s="function"==typeof require&&require,o=0;o<r.length;o++)i(r[o]);return i}({1:[function(e,t,n){(function(n){"use strict";function r(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,i=0,s=Math.min(n,r);i<s;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0}function i(e){return n.Buffer&&"function"==typeof n.Buffer.isBuffer?n.Buffer.isBuffer(e):!(null==e||!e._isBuffer)}function s(e){return Object.prototype.toString.call(e)}function o(e){return!i(e)&&("function"==typeof n.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer))))}function a(e){if(x.isFunction(e)){if(k)return e.name;var t=e.toString().match(A);return t&&t[1]}}function u(e,t){return"string"==typeof e?e.length<t?e:e.slice(0,t):e}function c(e){if(k||!x.isFunction(e))return x.inspect(e);var t=a(e);return"[Function"+(t?": "+t:"")+"]"}function l(e){return u(c(e.actual),128)+" "+e.operator+" "+u(c(e.expected),128)}function h(e,t,n,r,i){throw new E.AssertionError({message:n,actual:e,expected:t,operator:r,stackStartFunction:i})}function p(e,t){e||h(e,!0,t,"==",E.ok)}function f(e,t,n,a){if(e===t)return!0;if(i(e)&&i(t))return 0===r(e,t);if(x.isDate(e)&&x.isDate(t))return e.getTime()===t.getTime();if(x.isRegExp(e)&&x.isRegExp(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&"object"==typeof e||null!==t&&"object"==typeof t){if(o(e)&&o(t)&&s(e)===s(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===r(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(i(e)!==i(t))return!1;var u=(a=a||{actual:[],expected:[]}).actual.indexOf(e);return-1!==u&&u===a.expected.indexOf(t)||(a.actual.push(e),a.expected.push(t),m(e,t,n,a))}return n?e===t:e==t}function d(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function m(e,t,n,r){if(null===e||void 0===e||null===t||void 0===t)return!1;if(x.isPrimitive(e)||x.isPrimitive(t))return e===t;if(n&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var i=d(e),s=d(t);if(i&&!s||!i&&s)return!1;if(i)return e=w.call(e),t=w.call(t),f(e,t,n);var o,a,u=C(e),c=C(t);if(u.length!==c.length)return!1;for(u.sort(),c.sort(),a=u.length-1;a>=0;a--)if(u[a]!==c[a])return!1;for(a=u.length-1;a>=0;a--)if(o=u[a],!f(e[o],t[o],n,r))return!1;return!0}function g(e,t,n){f(e,t,!0)&&h(e,t,n,"notDeepStrictEqual",g)}function v(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function y(e){var t;try{e()}catch(e){t=e}return t}function b(e,t,n,r){var i;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof n&&(r=n,n=null),i=y(t),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!i&&h(i,n,"Missing expected exception"+r);var s="string"==typeof r,o=!e&&x.isError(i),a=!e&&i&&!n;if((o&&s&&v(i,n)||a)&&h(i,n,"Got unwanted exception"+r),e&&i&&n&&!v(i,n)||!e&&i)throw i}var x=e("util/"),_=Object.prototype.hasOwnProperty,w=Array.prototype.slice,k="foo"===function(){}.name,E=t.exports=p,A=/\s*function\s+([^\(\s]*)\s*/;E.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=l(this),this.generatedMessage=!0);var t=e.stackStartFunction||h;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error;if(n.stack){var r=n.stack,i=a(t),s=r.indexOf("\n"+i);if(s>=0){var o=r.indexOf("\n",s+1);r=r.substring(o+1)}this.stack=r}}},x.inherits(E.AssertionError,Error),E.fail=h,E.ok=p,E.equal=function(e,t,n){e!=t&&h(e,t,n,"==",E.equal)},E.notEqual=function(e,t,n){e==t&&h(e,t,n,"!=",E.notEqual)},E.deepEqual=function(e,t,n){f(e,t,!1)||h(e,t,n,"deepEqual",E.deepEqual)},E.deepStrictEqual=function(e,t,n){f(e,t,!0)||h(e,t,n,"deepStrictEqual",E.deepStrictEqual)},E.notDeepEqual=function(e,t,n){f(e,t,!1)&&h(e,t,n,"notDeepEqual",E.notDeepEqual)},E.notDeepStrictEqual=g,E.strictEqual=function(e,t,n){e!==t&&h(e,t,n,"===",E.strictEqual)},E.notStrictEqual=function(e,t,n){e===t&&h(e,t,n,"!==",E.notStrictEqual)},E.throws=function(e,t,n){b(!0,e,t,n)},E.doesNotThrow=function(e,t,n){b(!1,e,t,n)},E.ifError=function(e){if(e)throw e};var C=Object.keys||function(e){var t=[];for(var n in e)_.call(e,n)&&t.push(n);return t}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"util/":43}],2:[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 o[e>>18&63]+o[e>>12&63]+o[e>>6&63]+o[63&e]}function s(e,t,n){for(var r,s=[],o=t;o<n;o+=3)r=(e[o]<<16)+(e[o+1]<<8)+e[o+2],s.push(i(r));return s.join("")}n.byteLength=function(e){return 3*e.length/4-r(e)},n.toByteArray=function(e){var t,n,i,s,o,c=e.length;s=r(e),o=new u(3*c/4-s),n=s>0?c-4:c;var l=0;for(t=0;t<n;t+=4)i=a[e.charCodeAt(t)]<<18|a[e.charCodeAt(t+1)]<<12|a[e.charCodeAt(t+2)]<<6|a[e.charCodeAt(t+3)],o[l++]=i>>16&255,o[l++]=i>>8&255,o[l++]=255&i;return 2===s?(i=a[e.charCodeAt(t)]<<2|a[e.charCodeAt(t+1)]>>4,o[l++]=255&i):1===s&&(i=a[e.charCodeAt(t)]<<10|a[e.charCodeAt(t+1)]<<4|a[e.charCodeAt(t+2)]>>2,o[l++]=i>>8&255,o[l++]=255&i),o},n.fromByteArray=function(e){for(var t,n=e.length,r=n%3,i="",a=[],u=0,c=n-r;u<c;u+=16383)a.push(s(e,u,u+16383>c?c:u+16383));return 1===r?(t=e[n-1],i+=o[t>>2],i+=o[t<<4&63],i+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],i+=o[t>>10],i+=o[t>>4&63],i+=o[t<<2&63],i+="="),a.push(i),a.join("")};for(var o=[],a=[],u="undefined"!=typeof Uint8Array?Uint8Array:Array,c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=0,h=c.length;l<h;++l)o[l]=c[l],a[c.charCodeAt(l)]=l;a["-".charCodeAt(0)]=62,a["_".charCodeAt(0)]=63},{}],3:[function(e,t,n){},{}],4:[function(e,t,n){arguments[4][3][0].apply(n,arguments)},{dup:3}],5:[function(e,t,n){"use strict";function r(e){if(e>Y)throw new RangeError("Invalid typed array length");var t=new Uint8Array(e);return t.__proto__=i.prototype,t}function i(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 s(e,t,n)}function s(e,t,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return e instanceof ArrayBuffer?h(e,t,n):"string"==typeof e?c(e,t):p(e)}function o(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 a(e,t,n){return o(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 o(e),r(e<0?0:0|f(e))}function c(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!i.isEncoding(t))throw new TypeError('"encoding" must be a valid string encoding');var n=0|d(e,t),s=r(n),o=s.write(e,t);return o!==n&&(s=s.slice(0,o)),s}function l(e){for(var t=e.length<0?0:0|f(e.length),n=r(t),i=0;i<t;i+=1)n[i]=255&e[i];return n}function h(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__=i.prototype,r}function p(e){if(i.isBuffer(e)){var t=0|f(e.length),n=r(t);return 0===n.length?n:(e.copy(n,0,0,t),n)}if(e){if($(e)||"length"in e)return"number"!=typeof e.length||H(e.length)?r(0):l(e);if("Buffer"===e.type&&Array.isArray(e.data))return l(e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function f(e){if(e>=Y)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Y.toString(16)+" bytes");return 0|e}function d(e,t){if(i.isBuffer(e))return e.length;if($(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 j(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return z(e).length;default:if(r)return j(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 F(this,t,n);case"utf8":case"utf-8":return C(this,t,n);case"ascii":return T(this,t,n);case"latin1":case"binary":return O(this,t,n);case"base64":return A(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(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,s){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,H(n)&&(n=s?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(s)return-1;n=e.length-1}else if(n<0){if(!s)return-1;n=0}if("string"==typeof t&&(t=i.from(t,r)),i.isBuffer(t))return 0===t.length?-1:y(e,t,n,r,s);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?s?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):y(e,[t],n,r,s);throw new TypeError("val must be string, number or Buffer")}function y(e,t,n,r,i){function s(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}var o=1,a=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;o=2,a/=2,u/=2,n/=2}var c;if(i){var l=-1;for(c=n;c<a;c++)if(s(e,c)===s(t,-1===l?0:c-l)){if(-1===l&&(l=c),c-l+1===u)return l*o}else-1!==l&&(c-=c-l),l=-1}else for(n+u>a&&(n=a-u),c=n;c>=0;c--){for(var h=!0,p=0;p<u;p++)if(s(e,c+p)!==s(t,p)){h=!1;break}if(h)return c}return-1}function b(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var s=t.length;if(s%2!=0)throw new TypeError("Invalid hex string");r>s/2&&(r=s/2);for(var o=0;o<r;++o){var a=parseInt(t.substr(2*o,2),16);if(H(a))return o;e[n+o]=a}return o}function x(e,t,n,r){return q(j(t,e.length-n),e,n,r)}function _(e,t,n,r){return q(V(t),e,n,r)}function w(e,t,n,r){return _(e,t,n,r)}function k(e,t,n,r){return q(z(t),e,n,r)}function E(e,t,n,r){return q(U(t,e.length-n),e,n,r)}function A(e,t,n){return 0===t&&n===e.length?W.fromByteArray(e):W.fromByteArray(e.slice(t,n))}function C(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var s=e[i],o=null,a=s>239?4:s>223?3:s>191?2:1;if(i+a<=n){var u,c,l,h;switch(a){case 1:s<128&&(o=s);break;case 2:128==(192&(u=e[i+1]))&&(h=(31&s)<<6|63&u)>127&&(o=h);break;case 3:u=e[i+1],c=e[i+2],128==(192&u)&&128==(192&c)&&(h=(15&s)<<12|(63&u)<<6|63&c)>2047&&(h<55296||h>57343)&&(o=h);break;case 4:u=e[i+1],c=e[i+2],l=e[i+3],128==(192&u)&&128==(192&c)&&128==(192&l)&&(h=(15&s)<<18|(63&u)<<12|(63&c)<<6|63&l)>65535&&h<1114112&&(o=h)}}null===o?(o=65533,a=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),i+=a}return S(r)}function S(e){var t=e.length;if(t<=X)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=X));return n}function T(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 O(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 F(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",s=t;s<n;++s)i+=I(e[s]);return i}function L(e,t,n){for(var r=e.slice(t,n),i="",s=0;s<r.length;s+=2)i+=String.fromCharCode(r[s]+256*r[s+1]);return i}function B(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 D(e,t,n,r,s,o){if(!i.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>s||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function N(e,t,n,r,i,s){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function R(e,t,n,r,i){return t=+t,n>>>=0,i||N(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),G.write(e,t,n,r,23,4),n+4}function P(e,t,n,r,i){return t=+t,n>>>=0,i||N(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),G.write(e,t,n,r,52,8),n+8}function M(e){if((e=e.trim().replace(K,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}function I(e){return e<16?"0"+e.toString(16):e.toString(16)}function j(e,t){t=t||1/0;for(var n,r=e.length,i=null,s=[],o=0;o<r;++o){if((n=e.charCodeAt(o))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&s.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&s.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&s.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;s.push(n)}else if(n<2048){if((t-=2)<0)break;s.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;s.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;s.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return s}function V(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}function U(e,t){for(var n,r,i,s=[],o=0;o<e.length&&!((t-=2)<0);++o)r=(n=e.charCodeAt(o))>>8,i=n%256,s.push(i),s.push(r);return s}function z(e){return W.toByteArray(M(e))}function q(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 $(e){return"function"==typeof ArrayBuffer.isView&&ArrayBuffer.isView(e)}function H(e){return e!==e}var W=e("base64-js"),G=e("ieee754");n.Buffer=i,n.SlowBuffer=function(e){return+e!=e&&(e=0),i.alloc(+e)},n.INSPECT_MAX_BYTES=50;var Y=2147483647;n.kMaxLength=Y,i.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}}(),i.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&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),i.poolSize=8192,i.from=function(e,t,n){return s(e,t,n)},i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,i.alloc=function(e,t,n){return a(e,t,n)},i.allocUnsafe=function(e){return u(e)},i.allocUnsafeSlow=function(e){return u(e)},i.isBuffer=function(e){return null!=e&&!0===e._isBuffer},i.compare=function(e,t){if(!i.isBuffer(e)||!i.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,s=0,o=Math.min(n,r);s<o;++s)if(e[s]!==t[s]){n=e[s],r=t[s];break}return n<r?-1:r<n?1:0},i.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}},i.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return i.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=i.allocUnsafe(t),s=0;for(n=0;n<e.length;++n){var o=e[n];if(!i.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,s),s+=o.length}return r},i.byteLength=d,i.prototype._isBuffer=!0,i.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},i.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},i.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},i.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?C(this,0,e):m.apply(this,arguments)},i.prototype.equals=function(e){if(!i.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===i.compare(this,e)},i.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+">"},i.prototype.compare=function(e,t,n,r,s){if(!i.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===s&&(s=this.length),t<0||n>e.length||r<0||s>this.length)throw new RangeError("out of range index");if(r>=s&&t>=n)return 0;if(r>=s)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,s>>>=0,this===e)return 0;for(var o=s-r,a=n-t,u=Math.min(o,a),c=this.slice(r,s),l=e.slice(t,n),h=0;h<u;++h)if(c[h]!==l[h]){o=c[h],a=l[h];break}return o<a?-1:a<o?1:0},i.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},i.prototype.indexOf=function(e,t,n){return v(this,e,t,n,!0)},i.prototype.lastIndexOf=function(e,t,n){return v(this,e,t,n,!1)},i.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 s=!1;;)switch(r){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return x(this,e,t,n);case"ascii":return _(this,e,t,n);case"latin1":case"binary":return w(this,e,t,n);case"base64":return k(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,n);default:if(s)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),s=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var X=4096;i.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__=i.prototype,r},i.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||B(e,t,this.length);for(var r=this[e],i=1,s=0;++s<t&&(i*=256);)r+=this[e+s]*i;return r},i.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||B(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},i.prototype.readUInt8=function(e,t){return e>>>=0,t||B(e,1,this.length),this[e]},i.prototype.readUInt16LE=function(e,t){return e>>>=0,t||B(e,2,this.length),this[e]|this[e+1]<<8},i.prototype.readUInt16BE=function(e,t){return e>>>=0,t||B(e,2,this.length),this[e]<<8|this[e+1]},i.prototype.readUInt32LE=function(e,t){return e>>>=0,t||B(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},i.prototype.readUInt32BE=function(e,t){return e>>>=0,t||B(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},i.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||B(e,t,this.length);for(var r=this[e],i=1,s=0;++s<t&&(i*=256);)r+=this[e+s]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*t)),r},i.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||B(e,t,this.length);for(var r=t,i=1,s=this[e+--r];r>0&&(i*=256);)s+=this[e+--r]*i;return i*=128,s>=i&&(s-=Math.pow(2,8*t)),s},i.prototype.readInt8=function(e,t){return e>>>=0,t||B(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},i.prototype.readInt16LE=function(e,t){e>>>=0,t||B(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},i.prototype.readInt16BE=function(e,t){e>>>=0,t||B(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},i.prototype.readInt32LE=function(e,t){return e>>>=0,t||B(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},i.prototype.readInt32BE=function(e,t){return e>>>=0,t||B(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},i.prototype.readFloatLE=function(e,t){return e>>>=0,t||B(e,4,this.length),G.read(this,e,!0,23,4)},i.prototype.readFloatBE=function(e,t){return e>>>=0,t||B(e,4,this.length),G.read(this,e,!1,23,4)},i.prototype.readDoubleLE=function(e,t){return e>>>=0,t||B(e,8,this.length),G.read(this,e,!0,52,8)},i.prototype.readDoubleBE=function(e,t){return e>>>=0,t||B(e,8,this.length),G.read(this,e,!1,52,8)},i.prototype.writeUIntLE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||D(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,s=0;for(this[t]=255&e;++s<n&&(i*=256);)this[t+s]=e/i&255;return t+n},i.prototype.writeUIntBE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||D(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,s=1;for(this[t+i]=255&e;--i>=0&&(s*=256);)this[t+i]=e/s&255;return t+n},i.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,1,255,0),this[t]=255&e,t+1},i.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},i.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},i.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||D(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},i.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||D(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},i.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);D(this,e,t,n,i-1,-i)}var s=0,o=1,a=0;for(this[t]=255&e;++s<n&&(o*=256);)e<0&&0===a&&0!==this[t+s-1]&&(a=1),this[t+s]=(e/o>>0)-a&255;return t+n},i.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);D(this,e,t,n,i-1,-i)}var s=n-1,o=1,a=0;for(this[t+s]=255&e;--s>=0&&(o*=256);)e<0&&0===a&&0!==this[t+s+1]&&(a=1),this[t+s]=(e/o>>0)-a&255;return t+n},i.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},i.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},i.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||D(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},i.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||D(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},i.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||D(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},i.prototype.writeFloatLE=function(e,t,n){return R(this,e,t,!0,n)},i.prototype.writeFloatBE=function(e,t,n){return R(this,e,t,!1,n)},i.prototype.writeDoubleLE=function(e,t,n){return P(this,e,t,!0,n)},i.prototype.writeDoubleBE=function(e,t,n){return P(this,e,t,!1,n)},i.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,s=r-n;if(this===e&&n<t&&t<r)for(i=s-1;i>=0;--i)e[i+t]=this[i+n];else if(s<1e3)for(i=0;i<s;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+s),t);return s},i.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 s=e.charCodeAt(0);s<256&&(e=s)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!i.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 o;if("number"==typeof e)for(o=t;o<n;++o)this[o]=e;else{var a=i.isBuffer(e)?e:new i(e,r),u=a.length;for(o=0;o<n-t;++o)this[o+t]=a[o%u]}return this};var K=/[^+/0-9A-Za-z-_]/g},{"base64-js":2,ieee754:10}],6:[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"}},{}],7:[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":12}],8:[function(e,t,n){function r(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function i(e){return"function"==typeof e}function s(e){return"number"==typeof e}function o(e){return"object"==typeof e&&null!==e}function a(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(!s(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,s,u,c;if(this._events||(this._events={}),"error"===e&&(!this._events.error||o(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var l=new Error('Uncaught, unspecified "error" event. ('+t+")");throw l.context=t,l}if(n=this._events[e],a(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:s=Array.prototype.slice.call(arguments,1),n.apply(this,s)}else if(o(n))for(s=Array.prototype.slice.call(arguments,1),r=(c=n.slice()).length,u=0;u<r;u++)c[u].apply(this,s);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]?o(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,o(this._events[e])&&!this._events[e].warned&&(n=a(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,s,a;if(!i(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(n=this._events[e],s=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(o(n)){for(a=s;a-- >0;)if(n[a]===t||n[a].listener&&n[a].listener===t){r=a;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)}},{}],9:[function(e,t,n){function r(e){if("string"==typeof e&&(e=s.parse(e)),e.protocol||(e.protocol="https:"),"https:"!==e.protocol)throw new Error('Protocol "'+e.protocol+'" not supported. Expected "https:"');return e}var i=e("http"),s=e("url"),o=t.exports;for(var a in i)i.hasOwnProperty(a)&&(o[a]=i[a]);o.request=function(e,t){return e=r(e),i.request.call(this,e,t)},o.get=function(e,t){return e=r(e),i.get.call(this,e,t)}},{http:32,url:38}],10:[function(e,t,n){n.read=function(e,t,n,r,i){var s,o,a=8*i-r-1,u=(1<<a)-1,c=u>>1,l=-7,h=n?i-1:0,p=n?-1:1,f=e[t+h];for(h+=p,s=f&(1<<-l)-1,f>>=-l,l+=a;l>0;s=256*s+e[t+h],h+=p,l-=8);for(o=s&(1<<-l)-1,s>>=-l,l+=r;l>0;o=256*o+e[t+h],h+=p,l-=8);if(0===s)s=1-c;else{if(s===u)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,r),s-=c}return(f?-1:1)*o*Math.pow(2,s-r)},n.write=function(e,t,n,r,i,s){var o,a,u,c=8*s-i-1,l=(1<<c)-1,h=l>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:s-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?(a=isNaN(t)?1:0,o=l):(o=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-o))<1&&(o--,u*=2),(t+=o+h>=1?p/u:p*Math.pow(2,1-h))*u>=2&&(o++,u/=2),o+h>=l?(a=0,o=l):o+h>=1?(a=(t*u-1)*Math.pow(2,i),o+=h):(a=t*Math.pow(2,h-1)*Math.pow(2,i),o=0));i>=8;e[n+f]=255&a,f+=d,a/=256,i-=8);for(o=o<<i|a,c+=i;c>0;e[n+f]=255&o,f+=d,o/=256,c-=8);e[n+f-d]|=128*m}},{}],11:[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}},{}],12:[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)}},{}],13:[function(e,t,n){var r={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},{}],14:[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"},{}],15:[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}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,s=function(e){return i.exec(e).slice(1)};n.resolve=function(){for(var n="",i=!1,s=arguments.length-1;s>=-1&&!i;s--){var o=s>=0?arguments[s]:e.cwd();if("string"!=typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(n=o+"/"+n,i="/"===o.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),s="/"===o(e,-1);return(e=t(r(e.split("/"),function(e){return!!e}),!i).join("/"))||i||(e="."),e&&s&&(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("/")),s=r(t.split("/")),o=Math.min(i.length,s.length),a=o,u=0;u<o;u++)if(i[u]!==s[u]){a=u;break}for(var c=[],u=a;u<i.length;u++)c.push("..");return(c=c.concat(s.slice(a))).join("/")},n.sep="/",n.delimiter=":",n.dirname=function(e){var t=s(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=s(e)[2];return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},n.extname=function(e){return s(e)[3]};var o="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:17}],16:[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 s,o,a=arguments.length;switch(a){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(s=new Array(a-1),o=0;o<s.length;)s[o++]=arguments[o];return e.nextTick(function(){t.apply(null,s)})}}:t.exports=e.nextTick}).call(this,e("_process"))},{_process:17}],17:[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 s(e){if(h===setTimeout)return setTimeout(e,0);if((h===r||!h)&&setTimeout)return h=setTimeout,setTimeout(e,0);try{return h(e,0)}catch(t){try{return h.call(null,e,0)}catch(t){return h.call(this,e,0)}}}function o(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 a(){g&&d&&(g=!1,d.length?m=d.concat(m):v=-1,m.length&&u())}function u(){if(!g){var e=s(a);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,o(e)}}function c(e,t){this.fun=e,this.array=t}function l(){}var h,p,f=t.exports={};!function(){try{h="function"==typeof setTimeout?setTimeout:r}catch(e){h=r}try{p="function"==typeof clearTimeout?clearTimeout:i}catch(e){p=i}}();var d,m=[],g=!1,v=-1;f.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 c(e,t)),1!==m.length||g||s(u)},c.prototype.run=function(){this.fun.apply(null,this.array)},f.title="browser",f.browser=!0,f.env={},f.argv=[],f.version="",f.versions={},f.on=l,f.addListener=l,f.once=l,f.off=l,f.removeListener=l,f.removeAllListeners=l,f.emit=l,f.prependListener=l,f.prependOnceListener=l,f.listeners=function(e){return[]},f.binding=function(e){throw new Error("process.binding is not supported")},f.cwd=function(){return"/"},f.chdir=function(e){throw new Error("process.chdir is not supported")},f.umask=function(){return 0}},{}],18:[function(e,t,n){(function(e){!function(r){function i(e){throw new RangeError(L[e])}function s(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function o(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+s((e=e.replace(F,".")).split("."),t).join(".")}function a(e){for(var t,n,r=[],i=0,s=e.length;i<s;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<s?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 s(e,function(e){var t="";return e>65535&&(t+=N((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=N(e)}).join("")}function c(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:x}function l(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function h(e,t,n){var r=0;for(e=n?D(e/E):e>>1,e+=D(e/t);e>B*w>>1;r+=x)e=D(e/B);return D(r+(B+1)*e/(e+k))}function p(e){var t,n,r,s,o,a,l,p,f,d,m=[],g=e.length,v=0,y=C,k=A;for((n=e.lastIndexOf(S))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&i("not-basic"),m.push(e.charCodeAt(r));for(s=n>0?n+1:0;s<g;){for(o=v,a=1,l=x;s>=g&&i("invalid-input"),((p=c(e.charCodeAt(s++)))>=x||p>D((b-v)/a))&&i("overflow"),v+=p*a,f=l<=k?_:l>=k+w?w:l-k,!(p<f);l+=x)a>D(b/(d=x-f))&&i("overflow"),a*=d;k=h(v-o,t=m.length+1,0==o),D(v/t)>b-y&&i("overflow"),y+=D(v/t),v%=t,m.splice(v++,0,y)}return u(m)}function f(e){var t,n,r,s,o,u,c,p,f,d,m,g,v,y,k,E=[];for(g=(e=a(e)).length,t=C,n=0,o=A,u=0;u<g;++u)(m=e[u])<128&&E.push(N(m));for(r=s=E.length,s&&E.push(S);r<g;){for(c=b,u=0;u<g;++u)(m=e[u])>=t&&m<c&&(c=m);for(c-t>D((b-n)/(v=r+1))&&i("overflow"),n+=(c-t)*v,t=c,u=0;u<g;++u)if((m=e[u])<t&&++n>b&&i("overflow"),m==t){for(p=n,f=x;d=f<=o?_:f>=o+w?w:f-o,!(p<d);f+=x)k=p-d,y=x-d,E.push(N(l(d+k%y,0))),p=D(k/y);E.push(N(l(p,0))),o=h(n,v,r==s),n=0,++r}++n,++t}return E.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,y,b=2147483647,x=36,_=1,w=26,k=38,E=700,A=72,C=128,S="-",T=/^xn--/,O=/[^\x20-\x7E]/,F=/[\x2E\u3002\uFF0E\uFF61]/g,L={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},B=x-_,D=Math.floor,N=String.fromCharCode;if(v={version:"1.4.1",ucs2:{decode:a,encode:u},decode:p,encode:f,toASCII:function(e){return o(e,function(e){return O.test(e)?"xn--"+f(e):e})},toUnicode:function(e){return o(e,function(e){return T.test(e)?p(e.slice(4).toLowerCase()):e})}},d&&m)if(t.exports==d)m.exports=v;else for(y in v)v.hasOwnProperty(y)&&(d[y]=v[y]);else r.punycode=v}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],19:[function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.exports=function(e,t,n,s){t=t||"&",n=n||"=";var o={};if("string"!=typeof e||0===e.length)return o;var a=/\+/g;e=e.split(t);var u=1e3;s&&"number"==typeof s.maxKeys&&(u=s.maxKeys);var c=e.length;u>0&&c>u&&(c=u);for(var l=0;l<c;++l){var h,p,f,d,m=e[l].replace(a,"%20"),g=m.indexOf(n);g>=0?(h=m.substr(0,g),p=m.substr(g+1)):(h=m,p=""),f=decodeURIComponent(h),d=decodeURIComponent(p),r(o,f)?i(o[f])?o[f].push(d):o[f]=[o[f],d]:o[f]=d}return o};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],20:[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,a){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?r(o(e),function(o){var a=encodeURIComponent(i(o))+n;return s(e[o])?r(e[o],function(e){return a+encodeURIComponent(i(e))}).join(t):a+encodeURIComponent(i(e[o]))}).join(t):a?encodeURIComponent(i(a))+n+encodeURIComponent(i(e)):""};var s=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},o=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},{}],21:[function(e,t,n){"use strict";n.decode=n.parse=e("./decode"),n.encode=n.stringify=e("./encode")},{"./decode":19,"./encode":20}],22:[function(e,t,n){"use strict";function r(e){if(!(this instanceof r))return new r(e);c.call(this,e),l.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||o(s,this)}function s(e){e.end()}var o=e("process-nextick-args"),a=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 c=e("./_stream_readable"),l=e("./_stream_writable");u.inherits(r,c);for(var h=a(l.prototype),p=0;p<h.length;p++){var f=h[p];r.prototype[f]||(r.prototype[f]=l.prototype[f])}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(),o(t,e)}},{"./_stream_readable":24,"./_stream_writable":26,"core-util-is":7,inherits:11,"process-nextick-args":16}],23:[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"),s=e("core-util-is");s.inherits=e("inherits"),s.inherits(r,i),r.prototype._transform=function(e,t,n){n(null,e)}},{"./_stream_transform":25,"core-util-is":7,inherits:11}],24:[function(e,t,n){(function(n,r){"use strict";function i(e){return M.from(e)}function s(e){return M.isBuffer(e)||e instanceof I}function o(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?N(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}function a(t,n){D=D||e("./_stream_duplex"),t=t||{},this.objectMode=!!t.objectMode,n instanceof D&&(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 q,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&&(z||(z=e("string_decoder/").StringDecoder),this.decoder=new z(t.encoding),this.encoding=t.encoding)}function u(t){if(D=D||e("./_stream_duplex"),!(this instanceof u))return new u(t);this._readableState=new a(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 c(e,t,n,r,s){var o=e._readableState;if(null===t)o.reading=!1,m(e,o);else{var a;s||(a=h(o,t)),a?e.emit("error",a):o.objectMode||t&&t.length>0?("string"==typeof t||o.objectMode||Object.getPrototypeOf(t)===M.prototype||(t=i(t)),r?o.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):l(e,o,t,!0):o.ended?e.emit("error",new Error("stream.push() after EOF")):(o.reading=!1,o.decoder&&!n?(t=o.decoder.write(t),o.objectMode||0!==t.length?l(e,o,t,!1):y(e,o)):l(e,o,t,!1))):r||(o.reading=!1)}return p(o)}function l(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)),y(e,t)}function h(e,t){var n;return s(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 f(e){return e>=W?e=W:(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=f(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||(U("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?B(v,e):v(e))}function v(e){U("emit readable"),e.emit("readable"),E(e)}function y(e,t){t.readingMore||(t.readingMore=!0,B(b,e,t))}function b(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(U("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function x(e){return function(){var t=e._readableState;U("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&R(e,"data")&&(t.flowing=!0,E(e))}}function _(e){U("readable nexttick read 0"),e.read(0)}function w(e,t){t.resumeScheduled||(t.resumeScheduled=!0,B(k,e,t))}function k(e,t){t.reading||(U("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),E(e),t.flowing&&!t.reading&&e.read(0)}function E(e){var t=e._readableState;for(U("flow",t.flowing);t.flowing&&null!==e.read(););}function A(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=C(e,t.buffer,t.decoder),n}function C(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?S(e,t):T(e,t),r}function S(e,t){var n=t.head,r=1,i=n.data;for(e-=i.length;n=n.next;){var s=n.data,o=e>s.length?s.length:e;if(o===s.length?i+=s:i+=s.slice(0,e),0===(e-=o)){o===s.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=s.slice(o));break}++r}return t.length-=r,i}function T(e,t){var n=M.allocUnsafe(e),r=t.head,i=1;for(r.data.copy(n),e-=r.data.length;r=r.next;){var s=r.data,o=e>s.length?s.length:e;if(s.copy(n,n.length-e,0,o),0===(e-=o)){o===s.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=s.slice(o));break}++i}return t.length-=i,n}function O(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,B(F,t,e))}function F(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function L(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}var B=e("process-nextick-args");t.exports=u;var D,N=e("isarray");u.ReadableState=a;e("events").EventEmitter;var R=function(e,t){return e.listeners(t).length},P=e("./internal/streams/stream"),M=e("safe-buffer").Buffer,I=r.Uint8Array||function(){},j=e("core-util-is");j.inherits=e("inherits");var V=e("util"),U=void 0;U=V&&V.debuglog?V.debuglog("stream"):function(){};var z,q=e("./internal/streams/BufferList"),$=e("./internal/streams/destroy");j.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=M.from(e,t),t=""),n=!0),c(this,e,t,!1,n)},u.prototype.unshift=function(e){return c(this,e,null,!0,!1)},u.prototype.isPaused=function(){return!1===this._readableState.flowing},u.prototype.setEncoding=function(t){return z||(z=e("string_decoder/").StringDecoder),this._readableState.decoder=new z(t),this._readableState.encoding=t,this};var W=8388608;u.prototype.read=function(e){U("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 U("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?O(this):g(this),null;if(0===(e=d(e,t))&&t.ended)return 0===t.length&&O(this),null;var r=t.needReadable;U("need readable",r),(0===t.length||t.length-e<t.highWaterMark)&&U("length less than watermark",r=!0),t.ended||t.reading?U("reading or ended",r=!1):r&&(U("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?A(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&O(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){U("onunpipe"),e===p&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,s())}function i(){U("onend"),e.end()}function s(){U("cleanup"),e.removeListener("close",c),e.removeListener("finish",l),e.removeListener("drain",m),e.removeListener("error",u),e.removeListener("unpipe",r),p.removeListener("end",i),p.removeListener("end",h),p.removeListener("data",a),g=!0,!f.awaitDrain||e._writableState&&!e._writableState.needDrain||m()}function a(t){U("ondata"),v=!1,!1!==e.write(t)||v||((1===f.pipesCount&&f.pipes===e||f.pipesCount>1&&-1!==L(f.pipes,e))&&!g&&(U("false write response, pause",p._readableState.awaitDrain),p._readableState.awaitDrain++,v=!0),p.pause())}function u(t){U("onerror",t),h(),e.removeListener("error",u),0===R(e,"error")&&e.emit("error",t)}function c(){e.removeListener("finish",l),h()}function l(){U("onfinish"),e.removeListener("close",c),h()}function h(){U("unpipe"),p.unpipe(e)}var p=this,f=this._readableState;switch(f.pipesCount){case 0:f.pipes=e;break;case 1:f.pipes=[f.pipes,e];break;default:f.pipes.push(e)}f.pipesCount+=1,U("pipe count=%d opts=%j",f.pipesCount,t);var d=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?i:h;f.endEmitted?B(d):p.once("end",d),e.on("unpipe",r);var m=x(p);e.on("drain",m);var g=!1,v=!1;return p.on("data",a),o(e,"error",u),e.once("close",c),e.once("finish",l),e.emit("pipe",p),f.flowing||(U("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 s=0;s<i;s++)r[s].emit("unpipe",this,n);return this}var o=L(t.pipes,e);return-1===o?this:(t.pipes.splice(o,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):B(_,this))}return n},u.prototype.addListener=u.prototype.on,u.prototype.resume=function(){var e=this._readableState;return e.flowing||(U("resume"),e.flowing=!0,w(this,e)),this},u.prototype.pause=function(){return U("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(U("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(U("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){U("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 s=0;s<H.length;s++)e.on(H[s],r.emit.bind(r,H[s]));return r._read=function(t){U("wrapped _read",t),n&&(n=!1,e.resume())},r},u._fromList=A}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./_stream_duplex":22,"./internal/streams/BufferList":27,"./internal/streams/destroy":28,"./internal/streams/stream":29,_process:17,"core-util-is":7,events:8,inherits:11,isarray:13,"process-nextick-args":16,"safe-buffer":31,"string_decoder/":36,util:3}],25:[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 s=e._readableState;s.reading=!1,(s.needReadable||s.length<s.highWaterMark)&&e._read(s.highWaterMark)}function s(e){if(!(this instanceof s))return new s(e);a.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){o(t,e,n)}):o(t)})}function o(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=s;var a=e("./_stream_duplex"),u=e("core-util-is");u.inherits=e("inherits"),u.inherits(s,a),s.prototype.push=function(e,t){return this._transformState.needTransform=!1,a.prototype.push.call(this,e,t)},s.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")},s.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)}},s.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},s.prototype._destroy=function(e,t){var n=this;a.prototype._destroy.call(this,e,function(e){t(e),n.emit("close")})}},{"./_stream_duplex":22,"core-util-is":7,inherits:11}],26:[function(e,t,n){(function(n,r){"use strict";function i(e){var t=this;this.next=null,this.entry=null,this.finish=function(){C(t,e)}}function s(e){return D.from(e)}function o(e){return D.isBuffer(e)||e instanceof N}function a(){}function u(t,n){T=T||e("./_stream_duplex"),t=t||{},this.objectMode=!!t.objectMode,n instanceof T&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var r=t.highWaterMark,s=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:s,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 o=!1===t.decodeStrings;this.decodeStrings=!o,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 c(t){if(T=T||e("./_stream_duplex"),!(P.call(c,this)||this instanceof T))return new c(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)),B.call(this)}function l(e,t){var n=new Error("write after end");e.emit("error",n),S(t,n)}function h(e,t,n,r){var i=!0,s=!1;return null===n?s=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||t.objectMode||(s=new TypeError("Invalid non-string/buffer chunk")),s&&(e.emit("error",s),S(r,s),i=!1),i}function p(e,t,n){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=D.from(t,n)),t}function f(e,t,n,r,i,s){if(!n){var o=p(t,r,i);r!==o&&(n=!0,i="buffer",r=o)}var a=t.objectMode?1:r.length;t.length+=a;var u=t.length<t.highWaterMark;if(u||(t.needDrain=!0),t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:s,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else d(e,t,!1,a,r,i,s);return u}function d(e,t,n,r,i,s,o){t.writelen=r,t.writecb=o,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,s,t.onwrite),t.sync=!1}function m(e,t,n,r,i){--t.pendingcb,n?(S(i,r),S(E,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(i(r),e._writableState.errorEmitted=!0,e.emit("error",r),E(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 s=_(n);s||n.corked||n.bufferProcessing||!n.bufferedRequest||x(e,n),r?O(y,e,n,s,i):y(e,n,s,i)}}function y(e,t,n,r){n||b(e,t),t.pendingcb--,r(),E(e,t)}function b(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function x(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,s=new Array(r),o=t.corkedRequestsFree;o.entry=n;for(var a=0,u=!0;n;)s[a]=n,n.isBuf||(u=!1),n=n.next,a+=1;s.allBuffers=u,d(e,t,!0,t.length,s,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new i(t)}else{for(;n;){var c=n.chunk,l=n.encoding,h=n.callback;if(d(e,t,!1,t.objectMode?1:c.length,c,l,h),n=n.next,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=n,t.bufferProcessing=!1}function _(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function w(e,t){e._final(function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),E(e,t)})}function k(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,S(w,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function E(e,t){var n=_(t);return n&&(k(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}function A(e,t,n){t.ending=!0,E(e,t),n&&(t.finished?S(n):e.once("finish",n)),t.ended=!0,e.writable=!1}function C(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 S=e("process-nextick-args");t.exports=c;var T,O=!n.browser&&["v0.10","v0.9."].indexOf(n.version.slice(0,5))>-1?setImmediate:S;c.WritableState=u;var F=e("core-util-is");F.inherits=e("inherits");var L={deprecate:e("util-deprecate")},B=e("./internal/streams/stream"),D=e("safe-buffer").Buffer,N=r.Uint8Array||function(){},R=e("./internal/streams/destroy");F.inherits(c,B),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:L.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(c,Symbol.hasInstance,{value:function(e){return!!P.call(this,e)||e&&e._writableState instanceof u}})):P=function(e){return e instanceof this},c.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},c.prototype.write=function(e,t,n){var r=this._writableState,i=!1,u=o(e)&&!r.objectMode;return u&&!D.isBuffer(e)&&(e=s(e)),"function"==typeof t&&(n=t,t=null),u?t="buffer":t||(t=r.defaultEncoding),"function"!=typeof n&&(n=a),r.ended?l(this,n):(u||h(this,r,e,n))&&(r.pendingcb++,i=f(this,r,u,e,t,n)),i},c.prototype.cork=function(){this._writableState.corked++},c.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||x(this,e))},c.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},c.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},c.prototype._writev=null,c.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||A(this,r,n)},Object.defineProperty(c.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),c.prototype.destroy=R.destroy,c.prototype._undestroy=R.undestroy,c.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":22,"./internal/streams/destroy":28,"./internal/streams/stream":29,_process:17,"core-util-is":7,inherits:11,"process-nextick-args":16,"safe-buffer":31,"util-deprecate":40}],27:[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 s=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 s.alloc(0);if(1===this.length)return this.head.data;for(var t=s.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":31}],28:[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,s=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;s||o?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":16}],29:[function(e,t,n){t.exports=e("events").EventEmitter},{events:8}],30:[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":22,"./lib/_stream_passthrough.js":23,"./lib/_stream_readable.js":24,"./lib/_stream_transform.js":25,"./lib/_stream_writable.js":26}],31:[function(e,t,n){function r(e,t){for(var n in e)t[n]=e[n]}function i(e,t,n){return o(e,t,n)}var s=e("buffer"),o=s.Buffer;o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?t.exports=s:(r(s,n),n.Buffer=i),r(o,i),i.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,n)},i.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=o(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 o(e)},i.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return s.SlowBuffer(e)}},{buffer:5}],32:[function(e,t,n){(function(t){var r=e("./lib/request"),i=e("xtend"),s=e("builtin-status-codes"),o=e("url"),a=n;a.request=function(e,n){e="string"==typeof e?o.parse(e):i(e);var s=-1===t.location.protocol.search(/^https?:$/)?"http:":"",a=e.protocol||s,u=e.hostname||e.host,c=e.port,l=e.path||"/";u&&-1!==u.indexOf(":")&&(u="["+u+"]"),e.url=(u?a+"//"+u:"")+(c?":"+c:"")+l,e.method=(e.method||"GET").toUpperCase(),e.headers=e.headers||{};var h=new r(e);return n&&h.on("response",n),h},a.get=function(e,t){var n=a.request(e,t);return n.end(),n},a.Agent=function(){},a.Agent.defaultMaxSockets=4,a.STATUS_CODES=s,a.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":34,"builtin-status-codes":6,url:38,xtend:44}],33:[function(e,t,n){(function(e){function t(){if(void 0!==s)return s;if(e.XMLHttpRequest){s=new e.XMLHttpRequest;try{s.open("GET",e.XDomainRequest?"/":"https://example.com")}catch(e){s=null}}else s=null;return s}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 s,o=void 0!==e.ArrayBuffer,a=o&&i(e.ArrayBuffer.prototype.slice);n.arraybuffer=n.fetch||o&&r("arraybuffer"),n.msstream=!n.fetch&&a&&r("ms-stream"),n.mozchunkedarraybuffer=!n.fetch&&o&&r("moz-chunked-arraybuffer"),n.overrideMimeType=n.fetch||!!t()&&i(t().overrideMimeType),n.vbArray=i(e.VBArray),s=null}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],34:[function(e,t,n){(function(n,r,i){function s(e,t){return a.fetch&&t?"fetch":a.mozchunkedarraybuffer?"moz-chunked-arraybuffer":a.msstream?"ms-stream":a.arraybuffer&&e?"arraybuffer":a.vbArray&&e?"text:vbarray":"text"}function o(e){try{var t=e.status;return null!==t&&0!==t}catch(e){return!1}}var a=e("./capability"),u=e("inherits"),c=e("./response"),l=e("readable-stream"),h=e("to-arraybuffer"),p=c.IncomingMessage,f=c.readyStates,d=t.exports=function(e){var t=this;l.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=!a.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");n=!0}t._mode=s(n,r),t.on("finish",function(){t._onFinish()})};u(d,l.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,s=e._headers,o=null;"GET"!==t.method&&"HEAD"!==t.method&&(o=a.blobConstructor?new r.Blob(e._body.map(function(e){return h(e)}),{type:(s["content-type"]||{}).value||""}):i.concat(e._body).toString());var u=[];if(Object.keys(s).forEach(function(e){var t=s[e].name,n=s[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:o||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 c=e._xhr=new r.XMLHttpRequest;try{c.open(e._opts.method,e._opts.url,!0)}catch(t){return void n.nextTick(function(){e.emit("error",t)})}"responseType"in c&&(c.responseType=e._mode.split(":")[0]),"withCredentials"in c&&(c.withCredentials=!!t.withCredentials),"text"===e._mode&&"overrideMimeType"in c&&c.overrideMimeType("text/plain; charset=x-user-defined"),"timeout"in t&&(c.timeout=t.timeout,c.ontimeout=function(){e.emit("timeout")}),u.forEach(function(e){c.setRequestHeader(e[0],e[1])}),e._response=null,c.onreadystatechange=function(){switch(c.readyState){case f.LOADING:case f.DONE:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(c.onprogress=function(){e._onXHRProgress()}),c.onerror=function(){e._destroyed||e.emit("error",new Error("XHR error"))};try{c.send(o)}catch(t){return void n.nextTick(function(){e.emit("error",t)})}}}},d.prototype._onXHRProgress=function(){var e=this;o(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),l.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":33,"./response":35,_process:17,buffer:5,inherits:11,"readable-stream":30,"to-arraybuffer":37}],35:[function(e,t,n){(function(t,r,i){var s=e("./capability"),o=e("inherits"),a=e("readable-stream"),u=n.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},c=n.IncomingMessage=function(e,n,r){function o(){c.read().then(function(e){u._destroyed||(e.done?u.push(null):(u.push(new i(e.value)),o()))}).catch(function(e){u.emit("error",e)})}var u=this;if(a.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 c=n.body.getReader();o()}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",!s.overrideMimeType){var l=u.rawHeaders["mime-type"];if(l){var h=l.match(/;\s*charset=([^;])(;|$)/);h&&(u._charset=h[1].toLowerCase())}u._charset||(u._charset="utf-8")}};o(c,a.Readable),c.prototype._read=function(){},c.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 s=n.substr(e._pos);if("x-user-defined"===e._charset){for(var o=new i(s.length),a=0;a<s.length;a++)o[a]=255&s.charCodeAt(a);e.push(o)}else e.push(s,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 c=new r.MSStreamReader;c.onprogress=function(){c.result.byteLength>e._pos&&(e.push(new i(new Uint8Array(c.result.slice(e._pos)))),e._pos=c.result.byteLength)},c.onload=function(){e.push(null)},c.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":33,_process:17,buffer:5,inherits:11,"readable-stream":30}],36:[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 s(e){this.encoding=i(e);var t;switch(this.encoding){case"utf16le":this.text=l,this.end=h,t=4;break;case"utf8":this.fillLast=c,t=4;break;case"base64":this.text=p,this.end=f,t=3;break;default:return this.write=d,void(this.end=m)}this.lastNeed=0,this.lastTotal=0,this.lastChar=g.allocUnsafe(t)}function o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:-1}function a(e,t,n){var r=t.length-1;if(r<n)return 0;var i=o(t[r]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--r<n?0:(i=o(t[r]))>=0?(i>0&&(e.lastNeed=i-2),i):--r<n?0:(i=o(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 c(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 l(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 h(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 f(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=s,s.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||""},s.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�".repeat(this.lastTotal-this.lastNeed):t},s.prototype.text=function(e,t){var n=a(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)},s.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":31}],37:[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:5}],38:[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&&o.isObject(e)&&e instanceof r)return e;var i=new r;return i.parse(e,t,n),i}var s=e("punycode"),o=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 o.isString(e)&&(e=i(e)),e instanceof r?e.format():r.prototype.format.call(e)},n.Url=r;var a=/^([a-z0-9.+-]+:)/i,u=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["<",">",'"',"`"," ","\r","\n","\t"],h=["{","}","|","\\","^","`"].concat(l),p=["'"].concat(h),f=["%","/","?",";","#"].concat(p),d=["/","?","#"],m=/^[+a-z0-9A-Z_-]{0,63}$/,g=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,v={javascript:!0,"javascript:":!0},y={javascript:!0,"javascript:":!0},b={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},x=e("querystring");r.prototype.parse=function(e,t,n){if(!o.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),l=/\\/g;u[0]=u[0].replace(l,"/");var h=e=u.join(i);if(h=h.trim(),!n&&1===e.split("#").length){var _=c.exec(h);if(_)return this.path=h,this.href=h,this.pathname=_[1],_[2]?(this.search=_[2],this.query=t?x.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var w=a.exec(h);if(w){var k=(w=w[0]).toLowerCase();this.protocol=k,h=h.substr(w.length)}if(n||w||h.match(/^\/\/[^@\/]+@[^@\/]+/)){var E="//"===h.substr(0,2);!E||w&&y[w]||(h=h.substr(2),this.slashes=!0)}if(!y[w]&&(E||w&&!b[w])){for(var A=-1,C=0;C<d.length;C++)-1!==(O=h.indexOf(d[C]))&&(-1===A||O<A)&&(A=O);var S,T;-1!==(T=-1===A?h.lastIndexOf("@"):h.lastIndexOf("@",A))&&(S=h.slice(0,T),h=h.slice(T+1),this.auth=decodeURIComponent(S)),A=-1;for(C=0;C<f.length;C++){var O=h.indexOf(f[C]);-1!==O&&(-1===A||O<A)&&(A=O)}-1===A&&(A=h.length),this.host=h.slice(0,A),h=h.slice(A),this.parseHost(),this.hostname=this.hostname||"";var F="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!F)for(var L=this.hostname.split(/\./),C=0,B=L.length;C<B;C++){var D=L[C];if(D&&!D.match(m)){for(var N="",R=0,P=D.length;R<P;R++)D.charCodeAt(R)>127?N+="x":N+=D[R];if(!N.match(m)){var M=L.slice(0,C),I=L.slice(C+1),j=D.match(g);j&&(M.push(j[1]),I.unshift(j[2])),I.length&&(h="/"+I.join(".")+h),this.hostname=M.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),F||(this.hostname=s.toASCII(this.hostname));var V=this.port?":"+this.port:"",U=this.hostname||"";this.host=U+V,this.href+=this.host,F&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==h[0]&&(h="/"+h))}if(!v[k])for(var C=0,B=p.length;C<B;C++){var z=p[C];if(-1!==h.indexOf(z)){var q=encodeURIComponent(z);q===z&&(q=escape(z)),h=h.split(z).join(q)}}var $=h.indexOf("#");-1!==$&&(this.hash=h.substr($),h=h.slice(0,$));var H=h.indexOf("?");if(-1!==H?(this.search=h.substr(H),this.query=h.substr(H+1),t&&(this.query=x.parse(this.query)),h=h.slice(0,H)):t&&(this.search="",this.query={}),h&&(this.pathname=h),b[k]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var V=this.pathname||"",W=this.search||"";this.path=V+W}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,s="";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&&o.isObject(this.query)&&Object.keys(this.query).length&&(s=x.stringify(this.query));var a=this.search||s&&"?"+s||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||b[t])&&!1!==i?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),r&&"#"!==r.charAt(0)&&(r="#"+r),a&&"?"!==a.charAt(0)&&(a="?"+a),n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}),a=a.replace("#","%23"),t+i+n+a+r},r.prototype.resolve=function(e){return this.resolveObject(i(e,!1,!0)).format()},r.prototype.resolveObject=function(e){if(o.isString(e)){var t=new r;t.parse(e,!1,!0),e=t}for(var n=new r,i=Object.keys(this),s=0;s<i.length;s++){var a=i[s];n[a]=this[a]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var u=Object.keys(e),c=0;c<u.length;c++){var l=u[c];"protocol"!==l&&(n[l]=e[l])}return b[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!b[e.protocol]){for(var h=Object.keys(e),p=0;p<h.length;p++){var f=h[p];n[f]=e[f]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||y[e.protocol])n.pathname=e.pathname;else{for(k=(e.pathname||"").split("/");k.length&&!(e.host=k.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==k[0]&&k.unshift(""),k.length<2&&k.unshift(""),n.pathname=k.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),x=v||g||n.host&&e.pathname,_=x,w=n.pathname&&n.pathname.split("/")||[],k=e.pathname&&e.pathname.split("/")||[],E=n.protocol&&!b[n.protocol];if(E&&(n.hostname="",n.port=null,n.host&&(""===w[0]?w[0]=n.host:w.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===k[0]?k[0]=e.host:k.unshift(e.host)),e.host=null),x=x&&(""===k[0]||""===w[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,w=k;else if(k.length)w||(w=[]),w.pop(),w=w.concat(k),n.search=e.search,n.query=e.query;else if(!o.isNullOrUndefined(e.search))return E&&(n.hostname=n.host=w.shift(),(F=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=F.shift(),n.host=n.hostname=F.shift())),n.search=e.search,n.query=e.query,o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!w.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var A=w.slice(-1)[0],C=(n.host||e.host||w.length>1)&&("."===A||".."===A)||""===A,S=0,T=w.length;T>=0;T--)"."===(A=w[T])?w.splice(T,1):".."===A?(w.splice(T,1),S++):S&&(w.splice(T,1),S--);if(!x&&!_)for(;S--;S)w.unshift("..");!x||""===w[0]||w[0]&&"/"===w[0].charAt(0)||w.unshift(""),C&&"/"!==w.join("/").substr(-1)&&w.push("");var O=""===w[0]||w[0]&&"/"===w[0].charAt(0);if(E){n.hostname=n.host=O?"":w.length?w.shift():"";var F=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");F&&(n.auth=F.shift(),n.host=n.hostname=F.shift())}return(x=x||n.host&&w.length)&&!O&&w.unshift(""),w.length?n.pathname=w.join("/"):(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.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":39,punycode:18,querystring:21}],39:[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}}},{}],40:[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:{})},{}],41:[function(e,t,n){arguments[4][11][0].apply(n,arguments)},{dup:11}],42:[function(e,t,n){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],43:[function(e,t,n){(function(t,r){function i(e,t){var r={seen:[],stylize:o};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),m(t)?r.showHidden=t:t&&n._extend(r,t),b(r.showHidden)&&(r.showHidden=!1),b(r.depth)&&(r.depth=2),b(r.colors)&&(r.colors=!1),b(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=s),u(r,e,r.depth)}function s(e,t){var n=i.styles[t];return n?"["+i.colors[n][0]+"m"+e+"["+i.colors[n][1]+"m":e}function o(e,t){return e}function a(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}function u(e,t,r){if(e.customInspect&&t&&E(t.inspect)&&t.inspect!==n.inspect&&(!t.constructor||t.constructor.prototype!==t)){var i=t.inspect(r,e);return y(i)||(i=u(e,i,r)),i}var s=c(e,t);if(s)return s;var o=Object.keys(t),m=a(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(t)),k(t)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return l(t);if(0===o.length){if(E(t)){var g=t.name?": "+t.name:"";return e.stylize("[Function"+g+"]","special")}if(x(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(w(t))return e.stylize(Date.prototype.toString.call(t),"date");if(k(t))return l(t)}var v="",b=!1,_=["{","}"];if(d(t)&&(b=!0,_=["[","]"]),E(t)&&(v=" [Function"+(t.name?": "+t.name:"")+"]"),x(t)&&(v=" "+RegExp.prototype.toString.call(t)),w(t)&&(v=" "+Date.prototype.toUTCString.call(t)),k(t)&&(v=" "+l(t)),0===o.length&&(!b||0==t.length))return _[0]+v+_[1];if(r<0)return x(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var A;return A=b?h(e,t,r,m,o):o.map(function(n){return p(e,t,r,m,n,b)}),e.seen.pop(),f(A,v,_)}function c(e,t){if(b(t))return e.stylize("undefined","undefined");if(y(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return v(t)?e.stylize(""+t,"number"):m(t)?e.stylize(""+t,"boolean"):g(t)?e.stylize("null","null"):void 0}function l(e){return"["+Error.prototype.toString.call(e)+"]"}function h(e,t,n,r,i){for(var s=[],o=0,a=t.length;o<a;++o)T(t,String(o))?s.push(p(e,t,n,r,String(o),!0)):s.push("");return i.forEach(function(i){i.match(/^\d+$/)||s.push(p(e,t,n,r,i,!0))}),s}function p(e,t,n,r,i,s){var o,a,c;if((c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?a=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(a=e.stylize("[Setter]","special")),T(r,i)||(o="["+i+"]"),a||(e.seen.indexOf(c.value)<0?(a=g(n)?u(e,c.value,null):u(e,c.value,n-1)).indexOf("\n")>-1&&(a=s?a.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+a.split("\n").map(function(e){return" "+e}).join("\n")):a=e.stylize("[Circular]","special")),b(o)){if(s&&i.match(/^\d+$/))return a;(o=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+a}function f(e,t,n){var r=0;return e.reduce(function(e,t){return r++,t.indexOf("\n")>=0&&r++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}function d(e){return Array.isArray(e)}function m(e){return"boolean"==typeof e}function g(e){return null===e}function v(e){return"number"==typeof e}function y(e){return"string"==typeof e}function b(e){return void 0===e}function x(e){return _(e)&&"[object RegExp]"===A(e)}function _(e){return"object"==typeof e&&null!==e}function w(e){return _(e)&&"[object Date]"===A(e)}function k(e){return _(e)&&("[object Error]"===A(e)||e instanceof Error)}function E(e){return"function"==typeof e}function A(e){return Object.prototype.toString.call(e)}function C(e){return e<10?"0"+e.toString(10):e.toString(10)}function S(){var e=new Date,t=[C(e.getHours()),C(e.getMinutes()),C(e.getSeconds())].join(":");return[e.getDate(),B[e.getMonth()],t].join(" ")}function T(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var O=/%[sdj%]/g;n.format=function(e){if(!y(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(i(arguments[n]));return t.join(" ")}for(var n=1,r=arguments,s=r.length,o=String(e).replace(O,function(e){if("%%"===e)return"%";if(n>=s)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}}),a=r[n];n<s;a=r[++n])g(a)||!_(a)?o+=" "+a:o+=" "+i(a);return o},n.deprecate=function(e,i){if(b(r.process))return function(){return n.deprecate(e,i).apply(this,arguments)};if(!0===t.noDeprecation)return e;var s=!1;return function(){if(!s){if(t.throwDeprecation)throw new Error(i);t.traceDeprecation?console.trace(i):console.error(i),s=!0}return e.apply(this,arguments)}};var F,L={};n.debuglog=function(e){if(b(F)&&(F=t.env.NODE_DEBUG||""),e=e.toUpperCase(),!L[e])if(new RegExp("\\b"+e+"\\b","i").test(F)){var r=t.pid;L[e]=function(){var t=n.format.apply(n,arguments);console.error("%s %d: %s",e,r,t)}}else L[e]=function(){};return L[e]},n.inspect=i,i.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},i.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},n.isArray=d,n.isBoolean=m,n.isNull=g,n.isNullOrUndefined=function(e){return null==e},n.isNumber=v,n.isString=y,n.isSymbol=function(e){return"symbol"==typeof e},n.isUndefined=b,n.isRegExp=x,n.isObject=_,n.isDate=w,n.isError=k,n.isFunction=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("./support/isBuffer");var B=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];n.log=function(){console.log("%s - %s",S(),n.format.apply(n,arguments))},n.inherits=e("inherits"),n._extend=function(e,t){if(!t||!_(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":42,_process:17,inherits:41}],44:[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},{}],45:[function(e,t,n){"use strict";function r(e,t,n,r){return n.reduce(function(e,n){return n[r]?n[r](e,t):e},e)}function i(e,t){var n=e.filter(function(e){return e[t]});if(n.length>1)throw new Error("Two or more plugins all implement "+t+" method.");return n.length?n[0][t].bind(n[0]):null}function s(e,t){var s={};s[t.filename]=e;var o=[],a=t.plugins||[],g=p.string(e,{filename:t.filename,basedir:t.basedir,lex:function(e,t){var n={};return Object.keys(t).forEach(function(e){n[e]=t[e]}),n.plugins=a.filter(function(e){return!!e.lex}).map(function(e){return e.lex}),r(c(e,n),t,a,"postLex")},parse:function(e,t){e=e.map(function(e){return"path"===e.type&&""===u.extname(e.val)?{type:"path",line:e.line,col:e.col,val:e.val+".pug"}:e}),e=r(e=l(e,t),t,a,"preParse");var n={};return Object.keys(t).forEach(function(e){n[e]=t[e]}),n.plugins=a.filter(function(e){return!!e.parse}).map(function(e){return e.parse}),r(r(h(e,n),t,a,"postParse"),t,a,"preLoad")},resolve:function(e,n,r){var s=i(a,"resolve");return s?s(e,n,t):p.resolve(e,n,r)},read:function(e,n){o.push(e);var u,c=i(a,"read"),l=r(u=c?c(e,t):p.read(e,n),{filename:e},a,"preLex");return s[e]=l,l}});g=r(g=r(g,t,a,"postLoad"),t,a,"preFilters");var v={};Object.keys(n.filters).forEach(function(e){v[e]=n.filters[e]}),t.filters&&Object.keys(t.filters).forEach(function(e){v[e]=t.filters[e]}),g=r(g=r(g=f.handleFilters(g,v,t.filterOptions,t.filterAliases),t,a,"postFilters"),t,a,"preLink"),g=r(g=r(g=d(g),t,a,"postLink"),t,a,"preCodeGen");var y=m(g,{pretty:t.pretty,compileDebug:t.compileDebug,doctype:t.doctype,inlineRuntimeFunctions:t.inlineRuntimeFunctions,globals:t.globals,self:t.self,includeSources:!!t.includeSources&&s,templateName:t.templateName});return y=r(y,t,a,"postCodeGen"),t.debug&&console.error("\nCompiled Function:\n\n%s",y.replace(/^/gm," ")),{body:y,dependencies:o}}function o(e,t){var r=e.filename;if(e.cache&&n.cache[r])return n.cache[r];void 0===t&&(t=a.readFileSync(e.filename,"utf8"));var i=n.compile(t,e);return e.cache&&(n.cache[r]=i),i}var a=e("fs"),u=e("path"),c=e("pug-lexer"),l=e("pug-strip-comments"),h=e("pug-parser"),p=e("pug-load"),f=e("pug-filters"),d=e("pug-linker"),m=e("pug-code-gen"),g=e("pug-runtime"),v=e("pug-runtime/wrap");n.name="Pug",n.runtime=g,n.cache={},n.filters={},n.compile=function(e,t){var t=t||{},n=s(e=String(e),{compileDebug:!1!==t.compileDebug,filename:t.filename,basedir:t.basedir,pretty:t.pretty,doctype:t.doctype,inlineRuntimeFunctions:t.inlineRuntimeFunctions,globals:t.globals,self:t.self,includeSources:!0===t.compileDebug,debug:t.debug,templateName:"template",filters:t.filters,filterOptions:t.filterOptions,filterAliases:t.filterAliases,plugins:t.plugins}),r=t.inlineRuntimeFunctions?new Function("",n.body+";return template;")():v(n.body);return r.dependencies=n.dependencies,r},n.compileClientWithDependenciesTracked=function(e,t){var t=t||{},n=s(e=String(e),{compileDebug:t.compileDebug,filename:t.filename,basedir:t.basedir,pretty:t.pretty,doctype:t.doctype,inlineRuntimeFunctions:!1!==t.inlineRuntimeFunctions,globals:t.globals,self:t.self,includeSources:t.compileDebug,debug:t.debug,templateName:t.name||"template",filters:t.filters,filterOptions:t.filterOptions,filterAliases:t.filterAliases,plugins:t.plugins}),r=n.body;return t.module&&(!1===t.inlineRuntimeFunctions&&(r='var pug = require("pug-runtime");'+r),r+=" module.exports = "+(t.name||"template")+";"),{body:r,dependencies:n.dependencies}},n.compileClient=function(e,t){return n.compileClientWithDependenciesTracked(e,t).body},n.compileFile=function(e,t){return t=t||{},t.filename=e,o(t)},n.render=function(e,t,r){if("function"==typeof t&&(r=t,t=void 0),"function"==typeof r){var i;try{i=n.render(e,t)}catch(e){return r(e)}return r(null,i)}if((t=t||{}).cache&&!t.filename)throw new Error('the "filename" option is required for caching');return o(t,e)(t)},n.renderFile=function(e,t,r){if("function"==typeof t&&(r=t,t=void 0),"function"==typeof r){var i;try{i=n.renderFile(e,t)}catch(e){return r(e)}return r(null,i)}return t=t||{},t.filename=e,o(t)(t)},n.compileFileClient=function(e,t){var r=e+":client";if(t=t||{},t.filename=e,t.cache&&n.cache[r])return n.cache[r];var i=a.readFileSync(t.filename,"utf8"),s=n.compileClient(i,t);return t.cache&&(n.cache[r]=s),s},n.__express=function(e,t,r){void 0==t.compileDebug&&(t.compileDebug=!1),n.renderFile(e,t,r)}},{fs:3,path:15,"pug-code-gen":137,"pug-filters":139,"pug-lexer":154,"pug-linker":157,"pug-load":158,"pug-parser":159,"pug-runtime":162,"pug-runtime/wrap":166,"pug-strip-comments":167}],46:[function(e,t,n){"use strict";function r(e){return"FunctionExpression"===e.type||"FunctionDeclaration"===e.type||"ArrowFunctionExpression"===e.type||"Program"===e.type}function i(e){return"BlockStatement"===e.type||r(e)}function s(e){return"FunctionExpression"===e.type||"FunctionDeclaration"===e.type}function o(e){return"FunctionExpression"===e.type||"FunctionDeclaration"===e.type}function a(e){return u.parse(e,{allowReturnOutsideFunction:!0,allowImportExportEverywhere:!0,allowHashBang:!0})}var u=e("acorn"),c=e("acorn/dist/walk");t.exports=function(e){function t(e,t){var n=e.name;if("undefined"!==n){for(var r=0;r<t.length;r++){if("arguments"===n&&s(t[r]))return;if(t[r].locals&&n in t[r].locals)return}e.parents=t,u.push(e)}}var n,u=[];if(!(n="string"==typeof e?a(e):e)||"object"!=typeof n||"Program"!==n.type)throw new TypeError("Source must be either a string of JavaScript or an acorn AST");var l=function(e){var t=e;t.locals=t.locals||{},e.params.forEach(function(e){h(e,t)}),e.id&&(t.locals[e.id.name]=!0)},h=function(e,t){switch(e.type){case"Identifier":t.locals[e.name]=!0;break;case"ObjectPattern":e.properties.forEach(function(e){h(e.value,t)});break;case"ArrayPattern":e.elements.forEach(function(e){e&&h(e,t)});break;case"RestElement":h(e.argument,t);break;case"AssignmentPattern":h(e.left,t);break;default:throw new Error("Unrecognized pattern type: "+e.type)}},p=function(e,t){n.locals=n.locals||{},n.locals[e.local.name]=!0};c.ancestor(n,{VariableDeclaration:function(e,t){for(var n=null,s=t.length-1;s>=0&&null===n;s--)("var"===e.kind?r(t[s]):i(t[s]))&&(n=t[s]);n.locals=n.locals||{},e.declarations.forEach(function(e){h(e.id,n)})},FunctionDeclaration:function(e,t){for(var n=null,i=t.length-2;i>=0&&null===n;i--)r(t[i])&&(n=t[i]);n.locals=n.locals||{},n.locals[e.id.name]=!0,l(e)},Function:l,ClassDeclaration:function(e,t){for(var n=null,i=t.length-2;i>=0&&null===n;i--)r(t[i])&&(n=t[i]);n.locals=n.locals||{},n.locals[e.id.name]=!0},TryStatement:function(e){null!==e.handler&&(e.handler.locals=e.handler.locals||{},e.handler.locals[e.handler.param.name]=!0)},ImportDefaultSpecifier:p,ImportSpecifier:p,ImportNamespaceSpecifier:p}),c.ancestor(n,{VariablePattern:t,Identifier:t,ThisExpression:function(e,t){for(var n=0;n<t.length;n++)if(o(t[n]))return;e.parents=t,u.push(e)}});var f={};return u.forEach(function(e){var t="ThisExpression"===e.type?"this":e.name;f[t]=f[t]||[],f[t].push(e)}),Object.keys(f).sort().map(function(e){return{name:e,nodes:f[e]}})},t.exports.parse=a},{acorn:47,"acorn/dist/walk":48}],47:[function(e,t,n){!function(e,r){r("object"==typeof n&&void 0!==t?n:e.acorn=e.acorn||{})}(this,function(e){"use strict";function t(e,t){for(var n=65536,r=0;r<t.length;r+=2){if((n+=t[r])>e)return!1;if((n+=t[r+1])>=e)return!0}}function n(e,n){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&_.test(String.fromCharCode(e)):!1!==n&&t(e,k)))}function r(e,n){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&w.test(String.fromCharCode(e)):!1!==n&&(t(e,k)||t(e,E)))))}function i(e,t){return new A(e,{beforeExpr:!0,binop:t})}function s(e,t){return void 0===t&&(t={}),t.keyword=e,T[e]=new A(e,t)}function o(e){return 10===e||13===e||8232===e||8233===e}function a(e){return"[object Array]"===Object.prototype.toString.call(e)}function u(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function c(e,t){for(var n=1,r=0;;){L.lastIndex=r;var i=L.exec(e);if(!(i&&i.index<t))return new N(n,t-r);++n,r=i.index+i[0].length}}function l(e){var t={};for(var n in P)t[n]=e&&u(e,n)?e[n]:P[n];if(t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),a(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}return a(t.onComment)&&(t.onComment=h(t,t.onComment)),t}function h(e,t){return function(n,r,i,s,o,a){var u={type:n?"Block":"Line",value:r,start:i,end:s};e.locations&&(u.loc=new R(this,o,a)),e.ranges&&(u.range=[i,s]),t.push(u)}}function p(e){return new RegExp("^("+e.replace(/ /g,"|")+")$")}function f(e,t,n,r){return e.type=t,e.end=n,this.options.locations&&(e.loc.end=r),this.options.ranges&&(e.range[1]=n),e}function d(e,t,n,r){try{return new RegExp(e,t)}catch(e){if(void 0!==n)throw e instanceof SyntaxError&&r.raise(n,"Error parsing regular expression: "+e.message),e}}function m(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}var g={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},v="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",y={5:v,6:v+" const class extends export import super"},b="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠ-ࢴࢶ-ࢽऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿕ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞮꞰ-ꞷꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭥꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",x="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣔ-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఃా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഁ-ഃാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ංඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ູົຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭ᳲ-᳴᳸᳹᷀-᷵᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱꤀-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",_=new RegExp("["+b+"]"),w=new RegExp("["+b+x+"]");b=x=null;var k=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,17,26,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,26,45,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,785,52,76,44,33,24,27,35,42,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,54,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,86,25,391,63,32,0,449,56,264,8,2,36,18,0,50,29,881,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,881,68,12,0,67,12,65,0,32,6124,20,754,9486,1,3071,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,4149,196,60,67,1213,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42710,42,4148,12,221,3,5761,10591,541],E=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,1306,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,52,0,13,2,49,13,10,2,4,9,83,11,7,0,161,11,6,9,7,3,57,0,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,87,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,423,9,838,7,2,7,17,9,57,21,2,13,19882,9,135,4,60,6,26,9,1016,45,17,3,19723,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,2214,6,110,6,6,9,792487,239],A=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null},C={beforeExpr:!0},S={startsExpr:!0},T={},O={num:new A("num",S),regexp:new A("regexp",S),string:new A("string",S),name:new A("name",S),eof:new A("eof"),bracketL:new A("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new A("]"),braceL:new A("{",{beforeExpr:!0,startsExpr:!0}),braceR:new A("}"),parenL:new A("(",{beforeExpr:!0,startsExpr:!0}),parenR:new A(")"),comma:new A(",",C),semi:new A(";",C),colon:new A(":",C),dot:new A("."),question:new A("?",C),arrow:new A("=>",C),template:new A("template"),ellipsis:new A("...",C),backQuote:new A("`",S),dollarBraceL:new A("${",{beforeExpr:!0,startsExpr:!0}),eq:new A("=",{beforeExpr:!0,isAssign:!0}),assign:new A("_=",{beforeExpr:!0,isAssign:!0}),incDec:new A("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new A("prefix",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:i("||",1),logicalAND:i("&&",2),bitwiseOR:i("|",3),bitwiseXOR:i("^",4),bitwiseAND:i("&",5),equality:i("==/!=",6),relational:i("</>",7),bitShift:i("<</>>",8),plusMin:new A("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:i("%",10),star:i("*",10),slash:i("/",10),starstar:new A("**",{beforeExpr:!0}),_break:s("break"),_case:s("case",C),_catch:s("catch"),_continue:s("continue"),_debugger:s("debugger"),_default:s("default",C),_do:s("do",{isLoop:!0,beforeExpr:!0}),_else:s("else",C),_finally:s("finally"),_for:s("for",{isLoop:!0}),_function:s("function",S),_if:s("if"),_return:s("return",C),_switch:s("switch"),_throw:s("throw",C),_try:s("try"),_var:s("var"),_const:s("const"),_while:s("while",{isLoop:!0}),_with:s("with"),_new:s("new",{beforeExpr:!0,startsExpr:!0}),_this:s("this",S),_super:s("super",S),_class:s("class"),_extends:s("extends",C),_export:s("export"),_import:s("import"),_null:s("null",S),_true:s("true",S),_false:s("false",S),_in:s("in",{beforeExpr:!0,binop:7}),_instanceof:s("instanceof",{beforeExpr:!0,binop:7}),_typeof:s("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:s("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:s("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},F=/\r\n?|\n|\u2028|\u2029/,L=new RegExp(F.source,"g"),B=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,D=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,N=function(e,t){this.line=e,this.column=t};N.prototype.offset=function(e){return new N(this.line,this.column+e)};var R=function(e,t,n){this.start=t,this.end=n,null!==e.sourceFile&&(this.source=e.sourceFile)},P={ecmaVersion:7,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1,plugins:{}},M={},I=function(e,t,n){this.options=e=l(e),this.sourceFile=e.sourceFile,this.keywords=p(y[e.ecmaVersion>=6?6:5]);var r="";if(!e.allowReserved){for(var i=e.ecmaVersion;!(r=g[i]);i--);"module"==e.sourceType&&(r+=" await")}this.reservedWords=p(r);var s=(r?r+" ":"")+g.strict;this.reservedWordsStrict=p(s),this.reservedWordsStrictBind=p(s+" "+g.strictBind),this.input=String(t),this.containsEsc=!1,this.loadPlugins(e.plugins),n?(this.pos=n,this.lineStart=this.input.lastIndexOf("\n",n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(F).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=O.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.inFunction=this.inGenerator=this.inAsync=!1,this.yieldPos=this.awaitPos=0,this.labels=[],0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2)};I.prototype.isKeyword=function(e){return this.keywords.test(e)},I.prototype.isReservedWord=function(e){return this.reservedWords.test(e)},I.prototype.extend=function(e,t){this[e]=t(this[e])},I.prototype.loadPlugins=function(e){var t=this;for(var n in e){var r=M[n];if(!r)throw new Error("Plugin '"+n+"' not found");r(t,e[n])}},I.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)};var j=I.prototype,V=/^(?:'((?:[^\']|\.)*)'|"((?:[^\"]|\.)*)"|;)/;j.strictDirective=function(e){for(var t=this;;){D.lastIndex=e,e+=D.exec(t.input)[0].length;var n=V.exec(t.input.slice(e));if(!n)return!1;if("use strict"==(n[1]||n[2]))return!0;e+=n[0].length}},j.eat=function(e){return this.type===e&&(this.next(),!0)},j.isContextual=function(e){return this.type===O.name&&this.value===e},j.eatContextual=function(e){return this.value===e&&this.eat(O.name)},j.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},j.canInsertSemicolon=function(){return this.type===O.eof||this.type===O.braceR||F.test(this.input.slice(this.lastTokEnd,this.start))},j.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},j.semicolon=function(){this.eat(O.semi)||this.insertSemicolon()||this.unexpected()},j.afterTrailingComma=function(e,t){if(this.type==e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},j.expect=function(e){this.eat(e)||this.unexpected()},j.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")};var U=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=-1};j.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,"Parenthesized pattern")}},j.checkExpressionErrors=function(e,t){var n=e?e.shorthandAssign:-1;if(!t)return n>=0;n>-1&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns")},j.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},j.isSimpleAssignTarget=function(e){return"ParenthesizedExpression"===e.type?this.isSimpleAssignTarget(e.expression):"Identifier"===e.type||"MemberExpression"===e.type};var z=I.prototype;z.parseTopLevel=function(e){var t=this,n={};for(e.body||(e.body=[]);this.type!==O.eof;){var r=t.parseStatement(!0,!0,n);e.body.push(r)}return this.next(),this.options.ecmaVersion>=6&&(e.sourceType=this.options.sourceType),this.finishNode(e,"Program")};var q={kind:"loop"},$={kind:"switch"};z.isLet=function(){if(this.type!==O.name||this.options.ecmaVersion<6||"let"!=this.value)return!1;D.lastIndex=this.pos;var e=D.exec(this.input),t=this.pos+e[0].length,i=this.input.charCodeAt(t);if(91===i||123==i)return!0;if(n(i,!0)){for(var s=t+1;r(this.input.charCodeAt(s),!0);++s);var o=this.input.slice(t,s);if(!this.isKeyword(o))return!0}return!1},z.isAsyncFunction=function(){if(this.type!==O.name||this.options.ecmaVersion<8||"async"!=this.value)return!1;D.lastIndex=this.pos;var e=D.exec(this.input),t=this.pos+e[0].length;return!(F.test(this.input.slice(this.pos,t))||"function"!==this.input.slice(t,t+8)||t+8!=this.input.length&&r(this.input.charAt(t+8)))},z.parseStatement=function(e,t,n){var r,i=this.type,s=this.startNode();switch(this.isLet()&&(i=O._var,r="let"),i){case O._break:case O._continue:return this.parseBreakContinueStatement(s,i.keyword);case O._debugger:return this.parseDebuggerStatement(s);case O._do:return this.parseDoStatement(s);case O._for:return this.parseForStatement(s);case O._function:return!e&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(s,!1);case O._class:return e||this.unexpected(),this.parseClass(s,!0);case O._if:return this.parseIfStatement(s);case O._return:return this.parseReturnStatement(s);case O._switch:return this.parseSwitchStatement(s);case O._throw:return this.parseThrowStatement(s);case O._try:return this.parseTryStatement(s);case O._const:case O._var:return r=r||this.value,e||"var"==r||this.unexpected(),this.parseVarStatement(s,r);case O._while:return this.parseWhileStatement(s);case O._with:return this.parseWithStatement(s);case O.braceL:return this.parseBlock();case O.semi:return this.parseEmptyStatement(s);case O._export:case O._import:return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===O._import?this.parseImport(s):this.parseExport(s,n);default:if(this.isAsyncFunction()&&e)return this.next(),this.parseFunctionStatement(s,!0);var o=this.value,a=this.parseExpression();return i===O.name&&"Identifier"===a.type&&this.eat(O.colon)?this.parseLabeledStatement(s,o,a):this.parseExpressionStatement(s,a)}},z.parseBreakContinueStatement=function(e,t){var n=this,r="break"==t;this.next(),this.eat(O.semi)||this.insertSemicolon()?e.label=null:this.type!==O.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var i=0;i<this.labels.length;++i){var s=n.labels[i];if(null==e.label||s.name===e.label.name){if(null!=s.kind&&(r||"loop"===s.kind))break;if(e.label&&r)break}}return i===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,r?"BreakStatement":"ContinueStatement")},z.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},z.parseDoStatement=function(e){return this.next(),this.labels.push(q),e.body=this.parseStatement(!1),this.labels.pop(),this.expect(O._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(O.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},z.parseForStatement=function(e){if(this.next(),this.labels.push(q),this.expect(O.parenL),this.type===O.semi)return this.parseFor(e,null);var t=this.isLet();if(this.type===O._var||this.type===O._const||t){var n=this.startNode(),r=t?"let":this.value;return this.next(),this.parseVar(n,!0,r),this.finishNode(n,"VariableDeclaration"),!(this.type===O._in||this.options.ecmaVersion>=6&&this.isContextual("of"))||1!==n.declarations.length||"var"!==r&&n.declarations[0].init?this.parseFor(e,n):this.parseForIn(e,n)}var i=new U,s=this.parseExpression(!0,i);return this.type===O._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.toAssignable(s),this.checkLVal(s),this.checkPatternErrors(i,!0),this.parseForIn(e,s)):(this.checkExpressionErrors(i,!0),this.parseFor(e,s))},z.parseFunctionStatement=function(e,t){return this.next(),this.parseFunction(e,!0,!1,t)},z.isFunction=function(){return this.type===O._function||this.isAsyncFunction()},z.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement(!this.strict&&this.isFunction()),e.alternate=this.eat(O._else)?this.parseStatement(!this.strict&&this.isFunction()):null,this.finishNode(e,"IfStatement")},z.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(O.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},z.parseSwitchStatement=function(e){var t=this;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(O.braceL),this.labels.push($);for(var n,r=!1;this.type!=O.braceR;)if(t.type===O._case||t.type===O._default){var i=t.type===O._case;n&&t.finishNode(n,"SwitchCase"),e.cases.push(n=t.startNode()),n.consequent=[],t.next(),i?n.test=t.parseExpression():(r&&t.raiseRecoverable(t.lastTokStart,"Multiple default clauses"),r=!0,n.test=null),t.expect(O.colon)}else n||t.unexpected(),n.consequent.push(t.parseStatement(!0));return n&&this.finishNode(n,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},z.parseThrowStatement=function(e){return this.next(),F.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var H=[];z.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===O._catch){var t=this.startNode();this.next(),this.expect(O.parenL),t.param=this.parseBindingAtom(),this.checkLVal(t.param,!0),this.expect(O.parenR),t.body=this.parseBlock(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(O._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},z.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},z.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(q),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"WhileStatement")},z.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement(!1),this.finishNode(e,"WithStatement")},z.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},z.parseLabeledStatement=function(e,t,n){for(var r=this,i=0;i<this.labels.length;++i)r.labels[i].name===t&&r.raise(n.start,"Label '"+t+"' is already declared");for(var s=this.type.isLoop?"loop":this.type===O._switch?"switch":null,o=this.labels.length-1;o>=0;o--){var a=r.labels[o];if(a.statementStart!=e.start)break;a.statementStart=r.start,a.kind=s}return this.labels.push({name:t,kind:s,statementStart:this.start}),e.body=this.parseStatement(!0),("ClassDeclaration"==e.body.type||"VariableDeclaration"==e.body.type&&(this.strict||"var"!=e.body.kind)||"FunctionDeclaration"==e.body.type&&(this.strict||e.body.generator))&&this.raiseRecoverable(e.body.start,"Invalid labeled declaration"),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},z.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},z.parseBlock=function(){var e=this,t=this.startNode();for(t.body=[],this.expect(O.braceL);!this.eat(O.braceR);){var n=e.parseStatement(!0);t.body.push(n)}return this.finishNode(t,"BlockStatement")},z.parseFor=function(e,t){return e.init=t,this.expect(O.semi),e.test=this.type===O.semi?null:this.parseExpression(),this.expect(O.semi),e.update=this.type===O.parenR?null:this.parseExpression(),this.expect(O.parenR),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"ForStatement")},z.parseForIn=function(e,t){var n=this.type===O._in?"ForInStatement":"ForOfStatement";return this.next(),e.left=t,e.right=this.parseExpression(),this.expect(O.parenR),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,n)},z.parseVar=function(e,t,n){var r=this;for(e.declarations=[],e.kind=n;;){var i=r.startNode();if(r.parseVarId(i),r.eat(O.eq)?i.init=r.parseMaybeAssign(t):"const"!==n||r.type===O._in||r.options.ecmaVersion>=6&&r.isContextual("of")?"Identifier"==i.id.type||t&&(r.type===O._in||r.isContextual("of"))?i.init=null:r.raise(r.lastTokEnd,"Complex binding patterns require an initialization value"):r.unexpected(),e.declarations.push(r.finishNode(i,"VariableDeclarator")),!r.eat(O.comma))break}return e},z.parseVarId=function(e){e.id=this.parseBindingAtom(),this.checkLVal(e.id,!0)},z.parseFunction=function(e,t,n,r){this.initFunction(e),this.options.ecmaVersion>=6&&!r&&(e.generator=this.eat(O.star)),this.options.ecmaVersion>=8&&(e.async=!!r),null==t&&(t=this.type==O.name),t&&(e.id=this.parseIdent());var i=this.inGenerator,s=this.inAsync,o=this.yieldPos,a=this.awaitPos,u=this.inFunction;return this.inGenerator=e.generator,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,t||this.type!==O.name||(e.id=this.parseIdent()),this.parseFunctionParams(e),this.parseFunctionBody(e,n),this.inGenerator=i,this.inAsync=s,this.yieldPos=o,this.awaitPos=a,this.inFunction=u,this.finishNode(e,t?"FunctionDeclaration":"FunctionExpression")},z.parseFunctionParams=function(e){this.expect(O.parenL),e.params=this.parseBindingList(O.parenR,!1,this.options.ecmaVersion>=8,!0),this.checkYieldAwaitInDefaultParams()},z.parseClass=function(e,t){var n=this;this.next(),null==t&&(t=this.type===O.name),this.parseClassId(e,t),this.parseClassSuper(e);var r=this.startNode(),i=!1;for(r.body=[],this.expect(O.braceL);!this.eat(O.braceR);)if(!n.eat(O.semi)){var s=n.startNode(),o=n.eat(O.star),a=!1,u=n.type===O.name&&"static"===n.value;n.parsePropertyName(s),s.static=u&&n.type!==O.parenL,s.static&&(o&&n.unexpected(),o=n.eat(O.star),n.parsePropertyName(s)),n.options.ecmaVersion>=8&&!o&&!s.computed&&"Identifier"===s.key.type&&"async"===s.key.name&&n.type!==O.parenL&&!n.canInsertSemicolon()&&(a=!0,n.parsePropertyName(s)),s.kind="method";var c=!1;if(!s.computed){var l=s.key;o||a||"Identifier"!==l.type||n.type===O.parenL||"get"!==l.name&&"set"!==l.name||(c=!0,s.kind=l.name,l=n.parsePropertyName(s)),!s.static&&("Identifier"===l.type&&"constructor"===l.name||"Literal"===l.type&&"constructor"===l.value)&&(i&&n.raise(l.start,"Duplicate constructor in the same class"),c&&n.raise(l.start,"Constructor can't have get/set modifier"),o&&n.raise(l.start,"Constructor can't be a generator"),a&&n.raise(l.start,"Constructor can't be an async method"),s.kind="constructor",i=!0)}if(n.parseClassMethod(r,s,o,a),c){var h="get"===s.kind?0:1;if(s.value.params.length!==h){var p=s.value.start;"get"===s.kind?n.raiseRecoverable(p,"getter should have no params"):n.raiseRecoverable(p,"setter should have exactly one param")}else"set"===s.kind&&"RestElement"===s.value.params[0].type&&n.raiseRecoverable(s.value.params[0].start,"Setter cannot use rest params")}}return e.body=this.finishNode(r,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},z.parseClassMethod=function(e,t,n,r){t.value=this.parseMethod(n,r),e.body.push(this.finishNode(t,"MethodDefinition"))},z.parseClassId=function(e,t){e.id=this.type===O.name?this.parseIdent():t?this.unexpected():null},z.parseClassSuper=function(e){e.superClass=this.eat(O._extends)?this.parseExprSubscripts():null},z.parseExport=function(e,t){var n=this;if(this.next(),this.eat(O.star))return this.expectContextual("from"),e.source=this.type===O.string?this.parseExprAtom():this.unexpected(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(O._default)){this.checkExport(t,"default",this.lastTokStart);var r;if(this.type===O._function||(r=this.isAsyncFunction())){var i=this.startNode();this.next(),r&&this.next(),e.declaration=this.parseFunction(i,null,!1,r)}else if(this.type===O._class){var s=this.startNode();e.declaration=this.parseClass(s,null)}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(!0),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))e.source=this.type===O.string?this.parseExprAtom():this.unexpected();else{for(var o=0;o<e.specifiers.length;o++)(n.keywords.test(e.specifiers[o].local.name)||n.reservedWords.test(e.specifiers[o].local.name))&&n.unexpected(e.specifiers[o].local.start);e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},z.checkExport=function(e,t,n){e&&(Object.prototype.hasOwnProperty.call(e,t)&&this.raiseRecoverable(n,"Duplicate export '"+t+"'"),e[t]=!0)},z.checkPatternExport=function(e,t){var n=this,r=t.type;if("Identifier"==r)this.checkExport(e,t.name,t.start);else if("ObjectPattern"==r)for(var i=0;i<t.properties.length;++i)n.checkPatternExport(e,t.properties[i].value);else if("ArrayPattern"==r)for(var s=0;s<t.elements.length;++s){var o=t.elements[s];o&&n.checkPatternExport(e,o)}else"AssignmentPattern"==r?this.checkPatternExport(e,t.left):"ParenthesizedExpression"==r&&this.checkPatternExport(e,t.expression)},z.checkVariableExport=function(e,t){var n=this;if(e)for(var r=0;r<t.length;r++)n.checkPatternExport(e,t[r].id)},z.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||this.isAsyncFunction()},z.parseExportSpecifiers=function(e){var t=this,n=[],r=!0;for(this.expect(O.braceL);!this.eat(O.braceR);){if(r)r=!1;else if(t.expect(O.comma),t.afterTrailingComma(O.braceR))break;var i=t.startNode();i.local=t.parseIdent(!0),i.exported=t.eatContextual("as")?t.parseIdent(!0):i.local,t.checkExport(e,i.exported.name,i.exported.start),n.push(t.finishNode(i,"ExportSpecifier"))}return n},z.parseImport=function(e){return this.next(),this.type===O.string?(e.specifiers=H,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===O.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},z.parseImportSpecifiers=function(){var e=this,t=[],n=!0;if(this.type===O.name){var r=this.startNode();if(r.local=this.parseIdent(),this.checkLVal(r.local,!0),t.push(this.finishNode(r,"ImportDefaultSpecifier")),!this.eat(O.comma))return t}if(this.type===O.star){var i=this.startNode();return this.next(),this.expectContextual("as"),i.local=this.parseIdent(),this.checkLVal(i.local,!0),t.push(this.finishNode(i,"ImportNamespaceSpecifier")),t}for(this.expect(O.braceL);!this.eat(O.braceR);){if(n)n=!1;else if(e.expect(O.comma),e.afterTrailingComma(O.braceR))break;var s=e.startNode();s.imported=e.parseIdent(!0),e.eatContextual("as")?s.local=e.parseIdent():(s.local=s.imported,e.isKeyword(s.local.name)&&e.unexpected(s.local.start),e.reservedWordsStrict.test(s.local.name)&&e.raiseRecoverable(s.local.start,"The keyword '"+s.local.name+"' is reserved")),e.checkLVal(s.local,!0),t.push(e.finishNode(s,"ImportSpecifier"))}return t};var W=I.prototype;W.toAssignable=function(e,t){var n=this;if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Can not use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":break;case"ObjectExpression":e.type="ObjectPattern";for(var r=0;r<e.properties.length;r++){var i=e.properties[r];"init"!==i.kind&&n.raise(i.key.start,"Object pattern can't contain getter or setter"),n.toAssignable(i.value,t)}break;case"ArrayExpression":e.type="ArrayPattern",this.toAssignableList(e.elements,t);break;case"AssignmentExpression":if("="!==e.operator){this.raise(e.left.end,"Only '=' operator can be used for specifying default value.");break}e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);case"AssignmentPattern":break;case"ParenthesizedExpression":e.expression=this.toAssignable(e.expression,t);break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}return e},W.toAssignableList=function(e,t){var n=this,r=e.length;if(r){var i=e[r-1];if(i&&"RestElement"==i.type)--r;else if(i&&"SpreadElement"==i.type){i.type="RestElement";var s=i.argument;this.toAssignable(s,t),"Identifier"!==s.type&&"MemberExpression"!==s.type&&"ArrayPattern"!==s.type&&this.unexpected(s.start),--r}t&&i&&"RestElement"===i.type&&"Identifier"!==i.argument.type&&this.unexpected(i.argument.start)}for(var o=0;o<r;o++){var a=e[o];a&&n.toAssignable(a,t)}return e},W.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},W.parseRest=function(e){var t=this.startNode();return this.next(),t.argument=e?this.type===O.name?this.parseIdent():this.unexpected():this.type===O.name||this.type===O.bracketL?this.parseBindingAtom():this.unexpected(),this.finishNode(t,"RestElement")},W.parseBindingAtom=function(){if(this.options.ecmaVersion<6)return this.parseIdent();switch(this.type){case O.name:return this.parseIdent();case O.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(O.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case O.braceL:return this.parseObj(!0);default:this.unexpected()}},W.parseBindingList=function(e,t,n,r){for(var i=this,s=[],o=!0;!this.eat(e);)if(o?o=!1:i.expect(O.comma),t&&i.type===O.comma)s.push(null);else{if(n&&i.afterTrailingComma(e))break;if(i.type===O.ellipsis){var a=i.parseRest(r);i.parseBindingListItem(a),s.push(a),i.type===O.comma&&i.raise(i.start,"Comma is not permitted after the rest element"),i.expect(e);break}var u=i.parseMaybeDefault(i.start,i.startLoc);i.parseBindingListItem(u),s.push(u)}return s},W.parseBindingListItem=function(e){return e},W.parseMaybeDefault=function(e,t,n){if(n=n||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(O.eq))return n;var r=this.startNodeAt(e,t);return r.left=n,r.right=this.parseMaybeAssign(),this.finishNode(r,"AssignmentPattern")},W.checkLVal=function(e,t,n){var r=this;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(t?"Binding ":"Assigning to ")+e.name+" in strict mode"),n&&(u(n,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),n[e.name]=!0);break;case"MemberExpression":t&&this.raiseRecoverable(e.start,(t?"Binding":"Assigning to")+" member expression");break;case"ObjectPattern":for(var i=0;i<e.properties.length;i++)r.checkLVal(e.properties[i].value,t,n);break;case"ArrayPattern":for(var s=0;s<e.elements.length;s++){var o=e.elements[s];o&&r.checkLVal(o,t,n)}break;case"AssignmentPattern":this.checkLVal(e.left,t,n);break;case"RestElement":this.checkLVal(e.argument,t,n);break;case"ParenthesizedExpression":this.checkLVal(e.expression,t,n);break;default:this.raise(e.start,(t?"Binding":"Assigning to")+" rvalue")}};var G=I.prototype;G.checkPropClash=function(e,t){if(!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var n,r=e.key;switch(r.type){case"Identifier":n=r.name;break;case"Literal":n=String(r.value);break;default:return}var i=e.kind;if(this.options.ecmaVersion>=6)"__proto__"===n&&"init"===i&&(t.proto&&this.raiseRecoverable(r.start,"Redefinition of __proto__ property"),t.proto=!0);else{var s=t[n="$"+n];if(s){var o="init"!==i;(!this.strict&&!o||!s[i])&&o^s.init||this.raiseRecoverable(r.start,"Redefinition of property")}else s=t[n]={init:!1,get:!1,set:!1};s[i]=!0}}},G.parseExpression=function(e,t){var n=this,r=this.start,i=this.startLoc,s=this.parseMaybeAssign(e,t);if(this.type===O.comma){var o=this.startNodeAt(r,i);for(o.expressions=[s];this.eat(O.comma);)o.expressions.push(n.parseMaybeAssign(e,t));return this.finishNode(o,"SequenceExpression")}return s},G.parseMaybeAssign=function(e,t,n){if(this.inGenerator&&this.isContextual("yield"))return this.parseYield();var r=!1,i=-1;t?(i=t.parenthesizedAssign,t.parenthesizedAssign=-1):(t=new U,r=!0);var s=this.start,o=this.startLoc;this.type!=O.parenL&&this.type!=O.name||(this.potentialArrowAt=this.start);var a=this.parseMaybeConditional(e,t);if(n&&(a=n.call(this,a,s,o)),this.type.isAssign){this.checkPatternErrors(t,!0),r||U.call(t);var u=this.startNodeAt(s,o);return u.operator=this.value,u.left=this.type===O.eq?this.toAssignable(a):a,t.shorthandAssign=-1,this.checkLVal(a),this.next(),u.right=this.parseMaybeAssign(e),this.finishNode(u,"AssignmentExpression")}return r&&this.checkExpressionErrors(t,!0),i>-1&&(t.parenthesizedAssign=i),a},G.parseMaybeConditional=function(e,t){var n=this.start,r=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(O.question)){var s=this.startNodeAt(n,r);return s.test=i,s.consequent=this.parseMaybeAssign(),this.expect(O.colon),s.alternate=this.parseMaybeAssign(e),this.finishNode(s,"ConditionalExpression")}return i},G.parseExprOps=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)?i:this.parseExprOp(i,n,r,-1,e)},G.parseExprOp=function(e,t,n,r,i){var s=this.type.binop;if(null!=s&&(!i||this.type!==O._in)&&s>r){var o=this.type===O.logicalOR||this.type===O.logicalAND,a=this.value;this.next();var u=this.start,c=this.startLoc,l=this.parseExprOp(this.parseMaybeUnary(null,!1),u,c,s,i),h=this.buildBinary(t,n,e,l,a,o);return this.parseExprOp(h,t,n,r,i)}return e},G.buildBinary=function(e,t,n,r,i,s){var o=this.startNodeAt(e,t);return o.left=n,o.operator=i,o.right=r,this.finishNode(o,s?"LogicalExpression":"BinaryExpression")},G.parseMaybeUnary=function(e,t){var n,r=this,i=this.start,s=this.startLoc;if(this.inAsync&&this.isContextual("await"))n=this.parseAwait(e),t=!0;else if(this.type.prefix){var o=this.startNode(),a=this.type===O.incDec;o.operator=this.value,o.prefix=!0,this.next(),o.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),a?this.checkLVal(o.argument):this.strict&&"delete"===o.operator&&"Identifier"===o.argument.type?this.raiseRecoverable(o.start,"Deleting local variable in strict mode"):t=!0,n=this.finishNode(o,a?"UpdateExpression":"UnaryExpression")}else{if(n=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var u=r.startNodeAt(i,s);u.operator=r.value,u.prefix=!1,u.argument=n,r.checkLVal(n),r.next(),n=r.finishNode(u,"UpdateExpression")}}return!t&&this.eat(O.starstar)?this.buildBinary(i,s,n,this.parseMaybeUnary(null,!1),"**",!1):n},G.parseExprSubscripts=function(e){var t=this.start,n=this.startLoc,r=this.parseExprAtom(e),i="ArrowFunctionExpression"===r.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd);if(this.checkExpressionErrors(e)||i)return r;var s=this.parseSubscripts(r,t,n);return e&&"MemberExpression"===s.type&&(e.parenthesizedAssign>=s.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=s.start&&(e.parenthesizedBind=-1)),s},G.parseSubscripts=function(e,t,n,r){for(var i,s=this,o=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd==e.end&&!this.canInsertSemicolon();;)if((i=s.eat(O.bracketL))||s.eat(O.dot)){var a=s.startNodeAt(t,n);a.object=e,a.property=i?s.parseExpression():s.parseIdent(!0),a.computed=!!i,i&&s.expect(O.bracketR),e=s.finishNode(a,"MemberExpression")}else if(!r&&s.eat(O.parenL)){var u=new U,c=s.yieldPos,l=s.awaitPos;s.yieldPos=0,s.awaitPos=0;var h=s.parseExprList(O.parenR,s.options.ecmaVersion>=8,!1,u);if(o&&!s.canInsertSemicolon()&&s.eat(O.arrow))return s.checkPatternErrors(u,!1),s.checkYieldAwaitInDefaultParams(),s.yieldPos=c,s.awaitPos=l,s.parseArrowExpression(s.startNodeAt(t,n),h,!0);s.checkExpressionErrors(u,!0),s.yieldPos=c||s.yieldPos,s.awaitPos=l||s.awaitPos;var p=s.startNodeAt(t,n);p.callee=e,p.arguments=h,e=s.finishNode(p,"CallExpression")}else{if(s.type!==O.backQuote)return e;var f=s.startNodeAt(t,n);f.tag=e,f.quasi=s.parseTemplate(),e=s.finishNode(f,"TaggedTemplateExpression")}},G.parseExprAtom=function(e){var t,n=this.potentialArrowAt==this.start;switch(this.type){case O._super:this.inFunction||this.raise(this.start,"'super' outside of function or class");case O._this:var r=this.type===O._this?"ThisExpression":"Super";return t=this.startNode(),this.next(),this.finishNode(t,r);case O.name:var i=this.start,s=this.startLoc,o=this.parseIdent(this.type!==O.name);if(this.options.ecmaVersion>=8&&"async"===o.name&&!this.canInsertSemicolon()&&this.eat(O._function))return this.parseFunction(this.startNodeAt(i,s),!1,!1,!0);if(n&&!this.canInsertSemicolon()){if(this.eat(O.arrow))return this.parseArrowExpression(this.startNodeAt(i,s),[o],!1);if(this.options.ecmaVersion>=8&&"async"===o.name&&this.type===O.name)return o=this.parseIdent(),!this.canInsertSemicolon()&&this.eat(O.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(i,s),[o],!0)}return o;case O.regexp:var a=this.value;return t=this.parseLiteral(a.value),t.regex={pattern:a.pattern,flags:a.flags},t;case O.num:case O.string:return this.parseLiteral(this.value);case O._null:case O._true:case O._false:return t=this.startNode(),t.value=this.type===O._null?null:this.type===O._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case O.parenL:var u=this.start,c=this.parseParenAndDistinguishExpression(n);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(c)&&(e.parenthesizedAssign=u),e.parenthesizedBind<0&&(e.parenthesizedBind=u)),c;case O.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(O.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case O.braceL:return this.parseObj(!1,e);case O._function:return t=this.startNode(),this.next(),this.parseFunction(t,!1);case O._class:return this.parseClass(this.startNode(),!1);case O._new:return this.parseNew();case O.backQuote:return this.parseTemplate();default:this.unexpected()}},G.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),this.next(),this.finishNode(t,"Literal")},G.parseParenExpression=function(){this.expect(O.parenL);var e=this.parseExpression();return this.expect(O.parenR),e},G.parseParenAndDistinguishExpression=function(e){var t,n=this,r=this.start,i=this.startLoc,s=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var o,a,u=this.start,c=this.startLoc,l=[],h=!0,p=!1,f=new U,d=this.yieldPos,m=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==O.parenR;){if(h?h=!1:n.expect(O.comma),s&&n.afterTrailingComma(O.parenR,!0)){p=!0;break}if(n.type===O.ellipsis){o=n.start,l.push(n.parseParenItem(n.parseRest())),n.type===O.comma&&n.raise(n.start,"Comma is not permitted after the rest element");break}n.type!==O.parenL||a||(a=n.start),l.push(n.parseMaybeAssign(!1,f,n.parseParenItem))}var g=this.start,v=this.startLoc;if(this.expect(O.parenR),e&&!this.canInsertSemicolon()&&this.eat(O.arrow))return this.checkPatternErrors(f,!1),this.checkYieldAwaitInDefaultParams(),a&&this.unexpected(a),this.yieldPos=d,this.awaitPos=m,this.parseParenArrowList(r,i,l);l.length&&!p||this.unexpected(this.lastTokStart),o&&this.unexpected(o),this.checkExpressionErrors(f,!0),this.yieldPos=d||this.yieldPos,this.awaitPos=m||this.awaitPos,l.length>1?((t=this.startNodeAt(u,c)).expressions=l,this.finishNodeAt(t,"SequenceExpression",g,v)):t=l[0]}else t=this.parseParenExpression();if(this.options.preserveParens){var y=this.startNodeAt(r,i);return y.expression=t,this.finishNode(y,"ParenthesizedExpression")}return t},G.parseParenItem=function(e){return e},G.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)};var Y=[];G.parseNew=function(){var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(O.dot))return e.meta=t,e.property=this.parseIdent(!0),"target"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is new.target"),this.inFunction||this.raiseRecoverable(e.start,"new.target can only be used in functions"),this.finishNode(e,"MetaProperty");var n=this.start,r=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(),n,r,!0),this.eat(O.parenL)?e.arguments=this.parseExprList(O.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Y,this.finishNode(e,"NewExpression")},G.parseTemplateElement=function(){var e=this.startNode();return e.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),e.tail=this.type===O.backQuote,this.finishNode(e,"TemplateElement")},G.parseTemplate=function(){var e=this,t=this.startNode();this.next(),t.expressions=[];var n=this.parseTemplateElement();for(t.quasis=[n];!n.tail;)e.expect(O.dollarBraceL),t.expressions.push(e.parseExpression()),e.expect(O.braceR),t.quasis.push(n=e.parseTemplateElement());return this.next(),this.finishNode(t,"TemplateLiteral")},G.parseObj=function(e,t){var n=this,r=this.startNode(),i=!0,s={};for(r.properties=[],this.next();!this.eat(O.braceR);){if(i)i=!1;else if(n.expect(O.comma),n.afterTrailingComma(O.braceR))break;var o,a,u,c,l=n.startNode();n.options.ecmaVersion>=6&&(l.method=!1,l.shorthand=!1,(e||t)&&(u=n.start,c=n.startLoc),e||(o=n.eat(O.star))),n.parsePropertyName(l),e||!(n.options.ecmaVersion>=8)||o||l.computed||"Identifier"!==l.key.type||"async"!==l.key.name||n.type===O.parenL||n.type===O.colon||n.canInsertSemicolon()?a=!1:(a=!0,n.parsePropertyName(l,t)),n.parsePropertyValue(l,e,o,a,u,c,t),n.checkPropClash(l,s),r.properties.push(n.finishNode(l,"Property"))}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")},G.parsePropertyValue=function(e,t,n,r,i,s,o){if((n||r)&&this.type===O.colon&&this.unexpected(),this.eat(O.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===O.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n,r);else if(this.options.ecmaVersion>=5&&!e.computed&&"Identifier"===e.key.type&&("get"===e.key.name||"set"===e.key.name)&&this.type!=O.comma&&this.type!=O.braceR){(n||r||t)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var a="get"===e.kind?0:1;if(e.value.params.length!==a){var u=e.value.start;"get"===e.kind?this.raiseRecoverable(u,"getter should have no params"):this.raiseRecoverable(u,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?((this.keywords.test(e.key.name)||(this.strict?this.reservedWordsStrict:this.reservedWords).test(e.key.name)||this.inGenerator&&"yield"==e.key.name||this.inAsync&&"await"==e.key.name)&&this.raiseRecoverable(e.key.start,"'"+e.key.name+"' can not be used as shorthand property"),e.kind="init",t?e.value=this.parseMaybeDefault(i,s,e.key):this.type===O.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,s,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected()},G.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(O.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(O.bracketR),e.key;e.computed=!1}return e.key=this.type===O.num||this.type===O.string?this.parseExprAtom():this.parseIdent(!0)},G.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=!1,e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},G.parseMethod=function(e,t){var n=this.startNode(),r=this.inGenerator,i=this.inAsync,s=this.yieldPos,o=this.awaitPos,a=this.inFunction;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.inGenerator=n.generator,this.inAsync=n.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.expect(O.parenL),n.params=this.parseBindingList(O.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1),this.inGenerator=r,this.inAsync=i,this.yieldPos=s,this.awaitPos=o,this.inFunction=a,this.finishNode(n,"FunctionExpression")},G.parseArrowExpression=function(e,t,n){var r=this.inGenerator,i=this.inAsync,s=this.yieldPos,o=this.awaitPos,a=this.inFunction;return this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.inGenerator=!1,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0),this.inGenerator=r,this.inAsync=i,this.yieldPos=s,this.awaitPos=o,this.inFunction=a,this.finishNode(e,"ArrowFunctionExpression")},G.parseFunctionBody=function(e,t){var n=t&&this.type!==O.braceL,r=this.strict,i=!1;if(n)e.body=this.parseMaybeAssign(),e.expression=!0;else{var s=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);r&&!s||(i=this.strictDirective(this.end))&&s&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var o=this.labels;this.labels=[],i&&(this.strict=!0),e.body=this.parseBlock(!0),e.expression=!1,this.labels=o}r||i?(this.strict=!0,e.id&&this.checkLVal(e.id,!0),this.checkParams(e),this.strict=r):!t&&this.isSimpleParamList(e.params)||this.checkParams(e)},G.isSimpleParamList=function(e){for(var t=0;t<e.length;t++)if("Identifier"!==e[t].type)return!1;return!0},G.checkParams=function(e){for(var t=this,n={},r=0;r<e.params.length;r++)t.checkLVal(e.params[r],!0,n)},G.parseExprList=function(e,t,n,r){for(var i=this,s=[],o=!0;!this.eat(e);){if(o)o=!1;else if(i.expect(O.comma),t&&i.afterTrailingComma(e))break;var a;n&&i.type===O.comma?a=null:i.type===O.ellipsis?(a=i.parseSpread(r),r&&i.type===O.comma&&r.trailingComma<0&&(r.trailingComma=i.start)):a=i.parseMaybeAssign(!1,r),s.push(a)}return s},G.parseIdent=function(e){var t=this.startNode();return e&&"never"==this.options.allowReserved&&(e=!1),this.type===O.name?(!e&&(this.strict?this.reservedWordsStrict:this.reservedWords).test(this.value)&&(this.options.ecmaVersion>=6||-1==this.input.slice(this.start,this.end).indexOf("\\"))&&this.raiseRecoverable(this.start,"The keyword '"+this.value+"' is reserved"),this.inGenerator&&"yield"===this.value&&this.raiseRecoverable(this.start,"Can not use 'yield' as identifier inside a generator"),this.inAsync&&"await"===this.value&&this.raiseRecoverable(this.start,"Can not use 'await' as identifier inside an async function"),t.name=this.value):e&&this.type.keyword?t.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(t,"Identifier")},G.parseYield=function(){this.yieldPos||(this.yieldPos=this.start);var e=this.startNode();return this.next(),this.type==O.semi||this.canInsertSemicolon()||this.type!=O.star&&!this.type.startsExpr?(e.delegate=!1,e.argument=null):(e.delegate=this.eat(O.star),e.argument=this.parseMaybeAssign()),this.finishNode(e,"YieldExpression")},G.parseAwait=function(){this.awaitPos||(this.awaitPos=this.start);var e=this.startNode();return this.next(),e.argument=this.parseMaybeUnary(null,!0),this.finishNode(e,"AwaitExpression")};var X=I.prototype;X.raise=function(e,t){var n=c(this.input,e);t+=" ("+n.line+":"+n.column+")";var r=new SyntaxError(t);throw r.pos=e,r.loc=n,r.raisedAt=this.pos,r},X.raiseRecoverable=X.raise,X.curPosition=function(){if(this.options.locations)return new N(this.curLine,this.pos-this.lineStart)};var K=function(e,t,n){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new R(e,n)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},J=I.prototype;J.startNode=function(){return new K(this,this.start,this.startLoc)},J.startNodeAt=function(e,t){return new K(this,e,t)},J.finishNode=function(e,t){return f.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},J.finishNodeAt=function(e,t,n,r){return f.call(this,e,t,n,r)};var Q=function(e,t,n,r){this.token=e,this.isExpr=!!t,this.preserveSpace=!!n,this.override=r},Z={b_stat:new Q("{",!1),b_expr:new Q("{",!0),b_tmpl:new Q("${",!0),p_stat:new Q("(",!1),p_expr:new Q("(",!0),q_tmpl:new Q("`",!0,!0,function(e){return e.readTmplToken()}),f_expr:new Q("function",!0)},ee=I.prototype;ee.initialContext=function(){return[Z.b_stat]},ee.braceIsBlock=function(e){if(e===O.colon){var t=this.curContext();if(t===Z.b_stat||t===Z.b_expr)return!t.isExpr}return e===O._return?F.test(this.input.slice(this.lastTokEnd,this.start)):e===O._else||e===O.semi||e===O.eof||e===O.parenR||(e==O.braceL?this.curContext()===Z.b_stat:!this.exprAllowed)},ee.updateContext=function(e){var t,n=this.type;n.keyword&&e==O.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},O.parenR.updateContext=O.braceR.updateContext=function(){if(1!=this.context.length){var e=this.context.pop();e===Z.b_stat&&this.curContext()===Z.f_expr?(this.context.pop(),this.exprAllowed=!1):this.exprAllowed=e===Z.b_tmpl||!e.isExpr}else this.exprAllowed=!0},O.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?Z.b_stat:Z.b_expr),this.exprAllowed=!0},O.dollarBraceL.updateContext=function(){this.context.push(Z.b_tmpl),this.exprAllowed=!0},O.parenL.updateContext=function(e){var t=e===O._if||e===O._for||e===O._with||e===O._while;this.context.push(t?Z.p_stat:Z.p_expr),this.exprAllowed=!0},O.incDec.updateContext=function(){},O._function.updateContext=function(e){e.beforeExpr&&e!==O.semi&&e!==O._else&&(e!==O.colon&&e!==O.braceL||this.curContext()!==Z.b_stat)&&this.context.push(Z.f_expr),this.exprAllowed=!1},O.backQuote.updateContext=function(){this.curContext()===Z.q_tmpl?this.context.pop():this.context.push(Z.q_tmpl),this.exprAllowed=!1};var te=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new R(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},ne=I.prototype,re="object"==typeof Packages&&"[object JavaPackage]"==Object.prototype.toString.call(Packages);ne.next=function(){this.options.onToken&&this.options.onToken(new te(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},ne.getToken=function(){return this.next(),new te(this)},"undefined"!=typeof Symbol&&(ne[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===O.eof,value:t}}}}),ne.curContext=function(){return this.context[this.context.length-1]},ne.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(O.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},ne.readToken=function(e){return n(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},ne.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);return e<=55295||e>=57344?e:(e<<10)+this.input.charCodeAt(this.pos+1)-56613888},ne.skipBlockComment=function(){var e=this,t=this.options.onComment&&this.curPosition(),n=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations){L.lastIndex=n;for(var i;(i=L.exec(this.input))&&i.index<this.pos;)++e.curLine,e.lineStart=i.index+i[0].length}this.options.onComment&&this.options.onComment(!0,this.input.slice(n+2,r),n,this.pos,t,this.curPosition())},ne.skipLineComment=function(e){for(var t=this,n=this.pos,r=this.options.onComment&&this.curPosition(),i=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&10!==i&&13!==i&&8232!==i&&8233!==i;)++t.pos,i=t.input.charCodeAt(t.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(n+e,this.pos),n,this.pos,r,this.curPosition())},ne.skipSpace=function(){var e=this;e:for(;this.pos<this.input.length;){var t=e.input.charCodeAt(e.pos);switch(t){case 32:case 160:++e.pos;break;case 13:10===e.input.charCodeAt(e.pos+1)&&++e.pos;case 10:case 8232:case 8233:++e.pos,e.options.locations&&(++e.curLine,e.lineStart=e.pos);break;case 47:switch(e.input.charCodeAt(e.pos+1)){case 42:e.skipBlockComment();break;case 47:e.skipLineComment(2);break;default:break e}break;default:if(!(t>8&&t<14||t>=5760&&B.test(String.fromCharCode(t))))break e;++e.pos}}},ne.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},ne.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(O.ellipsis)):(++this.pos,this.finishToken(O.dot))},ne.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(O.assign,2):this.finishOp(O.slash,1)},ne.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=42===e?O.star:O.modulo;return this.options.ecmaVersion>=7&&42===t&&(++n,r=O.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(O.assign,n+1):this.finishOp(r,n)},ne.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.finishOp(124===e?O.logicalOR:O.logicalAND,2):61===t?this.finishOp(O.assign,2):this.finishOp(124===e?O.bitwiseOR:O.bitwiseAND,1)},ne.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(O.assign,2):this.finishOp(O.bitwiseXOR,1)},ne.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45==t&&62==this.input.charCodeAt(this.pos+2)&&F.test(this.input.slice(this.lastTokEnd,this.pos))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(O.incDec,2):61===t?this.finishOp(O.assign,2):this.finishOp(O.plusMin,1)},ne.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+n)?this.finishOp(O.assign,n+1):this.finishOp(O.bitShift,n)):33==t&&60==e&&45==this.input.charCodeAt(this.pos+2)&&45==this.input.charCodeAt(this.pos+3)?(this.inModule&&this.unexpected(),this.skipLineComment(4),this.skipSpace(),this.nextToken()):(61===t&&(n=2),this.finishOp(O.relational,n))},ne.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(O.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(O.arrow)):this.finishOp(61===e?O.eq:O.prefix,1)},ne.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(O.parenL);case 41:return++this.pos,this.finishToken(O.parenR);case 59:return++this.pos,this.finishToken(O.semi);case 44:return++this.pos,this.finishToken(O.comma);case 91:return++this.pos,this.finishToken(O.bracketL);case 93:return++this.pos,this.finishToken(O.bracketR);case 123:return++this.pos,this.finishToken(O.braceL);case 125:return++this.pos,this.finishToken(O.braceR);case 58:return++this.pos,this.finishToken(O.colon);case 63:return++this.pos,this.finishToken(O.question);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(O.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 126:return this.finishOp(O.prefix,1)}this.raise(this.pos,"Unexpected character '"+m(e)+"'")},ne.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)};var ie=!!d("￿","u");ne.readRegexp=function(){for(var e,t,n=this,r=this.pos;;){n.pos>=n.input.length&&n.raise(r,"Unterminated regular expression");var i=n.input.charAt(n.pos);if(F.test(i)&&n.raise(r,"Unterminated regular expression"),e)e=!1;else{if("["===i)t=!0;else if("]"===i&&t)t=!1;else if("/"===i&&!t)break;e="\\"===i}++n.pos}var s=this.input.slice(r,this.pos);++this.pos;var o=this.readWord1(),a=s,u="";if(o){var c=/^[gim]*$/;this.options.ecmaVersion>=6&&(c=/^[gimuy]*$/),c.test(o)||this.raise(r,"Invalid regular expression flag"),o.indexOf("u")>=0&&(ie?u="u":(a=(a=a.replace(/\\u\{([0-9a-fA-F]+)\}/g,function(e,t,i){return(t=Number("0x"+t))>1114111&&n.raise(r+i+3,"Code point out of bounds"),"x"})).replace(/\\u([a-fA-F0-9]{4})|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"x"),u=u.replace("u","")))}var l=null;return re||(d(a,u,r,this),l=d(s,o)),this.finishToken(O.regexp,{pattern:s,flags:o,value:l})},ne.readInt=function(e,t){for(var n=this,r=this.pos,i=0,s=0,o=null==t?1/0:t;s<o;++s){var a,u=n.input.charCodeAt(n.pos);if((a=u>=97?u-97+10:u>=65?u-65+10:u>=48&&u<=57?u-48:1/0)>=e)break;++n.pos,i=i*e+a}return this.pos===r||null!=t&&this.pos-r!==t?null:i},ne.readRadixNumber=function(e){this.pos+=2;var t=this.readInt(e);return null==t&&this.raise(this.start+2,"Expected number in radix "+e),n(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(O.num,t)},ne.readNumber=function(e){var t=this.pos,r=!1,i=48===this.input.charCodeAt(this.pos);e||null!==this.readInt(10)||this.raise(t,"Invalid number"),i&&this.pos==t+1&&(i=!1);var s=this.input.charCodeAt(this.pos);46!==s||i||(++this.pos,this.readInt(10),r=!0,s=this.input.charCodeAt(this.pos)),69!==s&&101!==s||i||(43!==(s=this.input.charCodeAt(++this.pos))&&45!==s||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number"),r=!0),n(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var o,a=this.input.slice(t,this.pos);return r?o=parseFloat(a):i&&1!==a.length?/[89]/.test(a)||this.strict?this.raise(t,"Invalid number"):o=parseInt(a,8):o=parseInt(a,10),this.finishToken(O.num,o)},ne.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.raise(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},ne.readString=function(e){for(var t=this,n="",r=++this.pos;;){t.pos>=t.input.length&&t.raise(t.start,"Unterminated string constant");var i=t.input.charCodeAt(t.pos);if(i===e)break;92===i?(n+=t.input.slice(r,t.pos),n+=t.readEscapedChar(!1),r=t.pos):(o(i)&&t.raise(t.start,"Unterminated string constant"),++t.pos)}return n+=this.input.slice(r,this.pos++),this.finishToken(O.string,n)},ne.readTmplToken=function(){for(var e=this,t="",n=this.pos;;){e.pos>=e.input.length&&e.raise(e.start,"Unterminated template");var r=e.input.charCodeAt(e.pos);if(96===r||36===r&&123===e.input.charCodeAt(e.pos+1))return e.pos===e.start&&e.type===O.template?36===r?(e.pos+=2,e.finishToken(O.dollarBraceL)):(++e.pos,e.finishToken(O.backQuote)):(t+=e.input.slice(n,e.pos),e.finishToken(O.template,t));if(92===r)t+=e.input.slice(n,e.pos),t+=e.readEscapedChar(!0),n=e.pos;else if(o(r)){switch(t+=e.input.slice(n,e.pos),++e.pos,r){case 13:10===e.input.charCodeAt(e.pos)&&++e.pos;case 10:t+="\n";break;default:t+=String.fromCharCode(r)}e.options.locations&&(++e.curLine,e.lineStart=e.pos),n=e.pos}else++e.pos}},ne.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return m(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";default:if(t>=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],r=parseInt(n,8);return r>255&&(n=n.slice(0,-1),r=parseInt(n,8)),"0"!==n&&(this.strict||e)&&this.raise(this.pos-2,"Octal literal in strict mode"),this.pos+=n.length-1,String.fromCharCode(r)}return String.fromCharCode(t)}},ne.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return null===n&&this.raise(t,"Bad character escape sequence"),n},ne.readWord1=function(){var e=this;this.containsEsc=!1;for(var t="",i=!0,s=this.pos,o=this.options.ecmaVersion>=6;this.pos<this.input.length;){var a=e.fullCharCodeAtPos();if(r(a,o))e.pos+=a<=65535?1:2;else{if(92!==a)break;e.containsEsc=!0,t+=e.input.slice(s,e.pos);var u=e.pos;117!=e.input.charCodeAt(++e.pos)&&e.raise(e.pos,"Expecting Unicode escape sequence \\uXXXX"),++e.pos;var c=e.readCodePoint();(i?n:r)(c,o)||e.raise(u,"Invalid Unicode escape"),t+=m(c),s=e.pos}i=!1}return t+this.input.slice(s,this.pos)},ne.readWord=function(){var e=this.readWord1(),t=O.name;return this.keywords.test(e)&&(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+e),t=T[e]),this.finishToken(t,e)};e.version="4.0.11",e.parse=function(e,t){return new I(t,e).parse()},e.parseExpressionAt=function(e,t,n){var r=new I(n,e,t);return r.nextToken(),r.parseExpression()},e.tokenizer=function(e,t){return new I(t,e)},e.addLooseExports=function(t,n,r){e.parse_dammit=t,e.LooseParser=n,e.pluginsLoose=r},e.Parser=I,e.plugins=M,e.defaultOptions=P,e.Position=N,e.SourceLocation=R,e.getLineInfo=c,e.Node=K,e.TokenType=A,e.tokTypes=O,e.keywordTypes=T,e.TokContext=Q,e.tokContexts=Z,e.isIdentifierChar=r,e.isIdentifierStart=n,e.Token=te,e.isNewLine=o,e.lineBreak=F,e.lineBreakG=L,Object.defineProperty(e,"__esModule",{value:!0})})},{}],48:[function(e,t,n){!function(e,r){r("object"==typeof n&&void 0!==t?n:(e.acorn=e.acorn||{},e.acorn.walk=e.acorn.walk||{}))}(this,function(e){"use strict";function t(e){return"string"==typeof e?function(t){return t==e}:e||function(){return!0}}function n(e,t,n){n(e,t)}function r(e,t,n){}var i=function(e,t){this.node=e,this.state=t},s=Object.create||function(e){function t(){}return t.prototype=e,new t},o={};o.Program=o.BlockStatement=function(e,t,n){for(var r=0;r<e.body.length;++r)n(e.body[r],t,"Statement")},o.Statement=n,o.EmptyStatement=r,o.ExpressionStatement=o.ParenthesizedExpression=function(e,t,n){return n(e.expression,t,"Expression")},o.IfStatement=function(e,t,n){n(e.test,t,"Expression"),n(e.consequent,t,"Statement"),e.alternate&&n(e.alternate,t,"Statement")},o.LabeledStatement=function(e,t,n){return n(e.body,t,"Statement")},o.BreakStatement=o.ContinueStatement=r,o.WithStatement=function(e,t,n){n(e.object,t,"Expression"),n(e.body,t,"Statement")},o.SwitchStatement=function(e,t,n){n(e.discriminant,t,"Expression");for(var r=0;r<e.cases.length;++r){var i=e.cases[r];i.test&&n(i.test,t,"Expression");for(var s=0;s<i.consequent.length;++s)n(i.consequent[s],t,"Statement")}},o.ReturnStatement=o.YieldExpression=o.AwaitExpression=function(e,t,n){e.argument&&n(e.argument,t,"Expression")},o.ThrowStatement=o.SpreadElement=function(e,t,n){return n(e.argument,t,"Expression")},o.TryStatement=function(e,t,n){n(e.block,t,"Statement"),e.handler&&n(e.handler,t),e.finalizer&&n(e.finalizer,t,"Statement")},o.CatchClause=function(e,t,n){n(e.param,t,"Pattern"),n(e.body,t,"ScopeBody")},o.WhileStatement=o.DoWhileStatement=function(e,t,n){n(e.test,t,"Expression"),n(e.body,t,"Statement")},o.ForStatement=function(e,t,n){e.init&&n(e.init,t,"ForInit"),e.test&&n(e.test,t,"Expression"),e.update&&n(e.update,t,"Expression"),n(e.body,t,"Statement")},o.ForInStatement=o.ForOfStatement=function(e,t,n){n(e.left,t,"ForInit"),n(e.right,t,"Expression"),n(e.body,t,"Statement")},o.ForInit=function(e,t,n){"VariableDeclaration"==e.type?n(e,t):n(e,t,"Expression")},o.DebuggerStatement=r,o.FunctionDeclaration=function(e,t,n){return n(e,t,"Function")},o.VariableDeclaration=function(e,t,n){for(var r=0;r<e.declarations.length;++r)n(e.declarations[r],t)},o.VariableDeclarator=function(e,t,n){n(e.id,t,"Pattern"),e.init&&n(e.init,t,"Expression")},o.Function=function(e,t,n){e.id&&n(e.id,t,"Pattern");for(var r=0;r<e.params.length;r++)n(e.params[r],t,"Pattern");n(e.body,t,e.expression?"ScopeExpression":"ScopeBody")},o.ScopeBody=function(e,t,n){return n(e,t,"Statement")},o.ScopeExpression=function(e,t,n){return n(e,t,"Expression")},o.Pattern=function(e,t,n){"Identifier"==e.type?n(e,t,"VariablePattern"):"MemberExpression"==e.type?n(e,t,"MemberPattern"):n(e,t)},o.VariablePattern=r,o.MemberPattern=n,o.RestElement=function(e,t,n){return n(e.argument,t,"Pattern")},o.ArrayPattern=function(e,t,n){for(var r=0;r<e.elements.length;++r){var i=e.elements[r];i&&n(i,t,"Pattern")}},o.ObjectPattern=function(e,t,n){for(var r=0;r<e.properties.length;++r)n(e.properties[r].value,t,"Pattern")},o.Expression=n,o.ThisExpression=o.Super=o.MetaProperty=r,o.ArrayExpression=function(e,t,n){for(var r=0;r<e.elements.length;++r){var i=e.elements[r];i&&n(i,t,"Expression")}},o.ObjectExpression=function(e,t,n){for(var r=0;r<e.properties.length;++r)n(e.properties[r],t)},o.FunctionExpression=o.ArrowFunctionExpression=o.FunctionDeclaration,o.SequenceExpression=o.TemplateLiteral=function(e,t,n){for(var r=0;r<e.expressions.length;++r)n(e.expressions[r],t,"Expression")},o.UnaryExpression=o.UpdateExpression=function(e,t,n){n(e.argument,t,"Expression")},o.BinaryExpression=o.LogicalExpression=function(e,t,n){n(e.left,t,"Expression"),n(e.right,t,"Expression")},o.AssignmentExpression=o.AssignmentPattern=function(e,t,n){n(e.left,t,"Pattern"),n(e.right,t,"Expression")},o.ConditionalExpression=function(e,t,n){n(e.test,t,"Expression"),n(e.consequent,t,"Expression"),n(e.alternate,t,"Expression")},o.NewExpression=o.CallExpression=function(e,t,n){if(n(e.callee,t,"Expression"),e.arguments)for(var r=0;r<e.arguments.length;++r)n(e.arguments[r],t,"Expression")},o.MemberExpression=function(e,t,n){n(e.object,t,"Expression"),e.computed&&n(e.property,t,"Expression")},o.ExportNamedDeclaration=o.ExportDefaultDeclaration=function(e,t,n){e.declaration&&n(e.declaration,t,"ExportNamedDeclaration"==e.type||e.declaration.id?"Statement":"Expression"),e.source&&n(e.source,t,"Expression")},o.ExportAllDeclaration=function(e,t,n){n(e.source,t,"Expression")},o.ImportDeclaration=function(e,t,n){for(var r=0;r<e.specifiers.length;r++)n(e.specifiers[r],t);n(e.source,t,"Expression")},o.ImportSpecifier=o.ImportDefaultSpecifier=o.ImportNamespaceSpecifier=o.Identifier=o.Literal=r,o.TaggedTemplateExpression=function(e,t,n){n(e.tag,t,"Expression"),n(e.quasi,t)},o.ClassDeclaration=o.ClassExpression=function(e,t,n){return n(e,t,"Class")},o.Class=function(e,t,n){e.id&&n(e.id,t,"Pattern"),e.superClass&&n(e.superClass,t,"Expression");for(var r=0;r<e.body.body.length;r++)n(e.body.body[r],t)},o.MethodDefinition=o.Property=function(e,t,n){e.computed&&n(e.key,t,"Expression"),n(e.value,t,"Expression")},e.simple=function(t,n,r,i,s){r||(r=e.base),function e(t,i,s){var o=s||t.type,a=n[o];r[o](t,i,e),a&&a(t,i)}(t,i,s)},e.ancestor=function(t,n,r,i){r||(r=e.base);var s=[];!function e(t,i,o){var a=o||t.type,u=n[a],c=t!=s[s.length-1];c&&s.push(t),r[a](t,i,e),u&&u(t,i||s,s),c&&s.pop()}(t,i)},e.recursive=function(t,n,r,i,s){var o=r?e.make(r,i):i;!function e(t,n,r){o[r||t.type](t,n,e)}(t,n,s)},e.findNodeAt=function(n,r,s,o,a,u){o=t(o),a||(a=e.base);try{!function e(t,n,u){var c=u||t.type;if((null==r||t.start<=r)&&(null==s||t.end>=s)&&a[c](t,n,e),(null==r||t.start==r)&&(null==s||t.end==s)&&o(c,t))throw new i(t,n)}(n,u)}catch(e){if(e instanceof i)return e;throw e}},e.findNodeAround=function(n,r,s,o,a){s=t(s),o||(o=e.base);try{!function e(t,n,a){var u=a||t.type;if(!(t.start>r||t.end<r)&&(o[u](t,n,e),s(u,t)))throw new i(t,n)}(n,a)}catch(e){if(e instanceof i)return e;throw e}},e.findNodeAfter=function(n,r,s,o,a){s=t(s),o||(o=e.base);try{!function e(t,n,a){if(!(t.end<r)){var u=a||t.type;if(t.start>=r&&s(u,t))throw new i(t,n);o[u](t,n,e)}}(n,a)}catch(e){if(e instanceof i)return e;throw e}},e.findNodeBefore=function(n,r,s,o,a){s=t(s),o||(o=e.base);var u;return function e(t,n,a){if(!(t.start>r)){var c=a||t.type;t.end<=r&&(!u||u.node.end<t.end)&&s(c,t)&&(u=new i(t,n)),o[c](t,n,e)}}(n,a),u},e.make=function(t,n){n||(n=e.base);var r=s(n);for(var i in t)r[i]=t[i];return r},e.base=o,Object.defineProperty(e,"__esModule",{value:!0})})},{}],49:[function(e,t,n){!function(e,r){r("object"==typeof n&&void 0!==t?n:e.acorn=e.acorn||{})}(this,function(e){"use strict";function t(e,t){for(var n=65536,r=0;r<t.length;r+=2){if((n+=t[r])>e)return!1;if((n+=t[r+1])>=e)return!0}}function n(e,n){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&_.test(String.fromCharCode(e)):!1!==n&&t(e,k)))}function r(e,n){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&w.test(String.fromCharCode(e)):!1!==n&&(t(e,k)||t(e,E)))))}function i(e,t){return new A(e,{beforeExpr:!0,binop:t})}function s(e,t){return void 0===t&&(t={}),t.keyword=e,T[e]=new A(e,t)}function o(e){return 10===e||13===e||8232===e||8233==e}function a(e){return"[object Array]"===Object.prototype.toString.call(e)}function u(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function c(e,t){for(var n=1,r=0;;){L.lastIndex=r;var i=L.exec(e);if(!(i&&i.index<t))return new N(n,t-r);++n,r=i.index+i[0].length}}function l(e){var t={};for(var n in P)t[n]=e&&u(e,n)?e[n]:P[n];if(null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),a(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}return a(t.onComment)&&(t.onComment=h(t,t.onComment)),t}function h(e,t){return function(n,r,i,s,o,a){var u={type:n?"Block":"Line",value:r,start:i,end:s};e.locations&&(u.loc=new R(this,o,a)),e.ranges&&(u.range=[i,s]),t.push(u)}}function p(e){return new RegExp("^("+e.replace(/ /g,"|")+")$")}function f(e,t,n,r){return e.type=t,e.end=n,this.options.locations&&(e.loc.end=r),this.options.ranges&&(e.range[1]=n),e}function d(e,t,n,r){try{return new RegExp(e,t)}catch(e){if(void 0!==n)throw e instanceof SyntaxError&&r.raise(n,"Error parsing regular expression: "+e.message),e}}function m(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}var g={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",7:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},v="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",y={5:v,6:v+" const class extends export import super"},b="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠ-ࢴࢶ-ࢽऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿕ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞮꞰ-ꞷꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭥꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",x="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣔ-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఃా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഁ-ഃാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ංඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ູົຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭ᳲ-᳴᳸᳹᷀-᷵᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱꤀-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",_=new RegExp("["+b+"]"),w=new RegExp("["+b+x+"]");b=x=null;var k=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,17,26,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,26,45,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,785,52,76,44,33,24,27,35,42,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,54,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,86,25,391,63,32,0,449,56,264,8,2,36,18,0,50,29,881,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,881,68,12,0,67,12,65,0,32,6124,20,754,9486,1,3071,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,4149,196,60,67,1213,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42710,42,4148,12,221,3,5761,10591,541],E=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,1306,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,52,0,13,2,49,13,10,2,4,9,83,11,7,0,161,11,6,9,7,3,57,0,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,87,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,423,9,838,7,2,7,17,9,57,21,2,13,19882,9,135,4,60,6,26,9,1016,45,17,3,19723,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,2214,6,110,6,6,9,792487,239],A=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null},C={beforeExpr:!0},S={startsExpr:!0},T={},O={num:new A("num",S),regexp:new A("regexp",S),string:new A("string",S),name:new A("name",S),eof:new A("eof"),bracketL:new A("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new A("]"),braceL:new A("{",{beforeExpr:!0,startsExpr:!0}),braceR:new A("}"),parenL:new A("(",{beforeExpr:!0,startsExpr:!0}),parenR:new A(")"),comma:new A(",",C),semi:new A(";",C),colon:new A(":",C),dot:new A("."),question:new A("?",C),arrow:new A("=>",C),template:new A("template"),ellipsis:new A("...",C),backQuote:new A("`",S),dollarBraceL:new A("${",{beforeExpr:!0,startsExpr:!0}),eq:new A("=",{beforeExpr:!0,isAssign:!0}),assign:new A("_=",{beforeExpr:!0,isAssign:!0}),incDec:new A("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new A("prefix",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:i("||",1),logicalAND:i("&&",2),bitwiseOR:i("|",3),bitwiseXOR:i("^",4),bitwiseAND:i("&",5),equality:i("==/!=",6),relational:i("</>",7),bitShift:i("<</>>",8),plusMin:new A("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:i("%",10),star:i("*",10),slash:i("/",10),starstar:new A("**",{beforeExpr:!0}),_break:s("break"),_case:s("case",C),_catch:s("catch"),_continue:s("continue"),_debugger:s("debugger"),_default:s("default",C),_do:s("do",{isLoop:!0,beforeExpr:!0}),_else:s("else",C),_finally:s("finally"),_for:s("for",{isLoop:!0}),_function:s("function",S),_if:s("if"),_return:s("return",C),_switch:s("switch"),_throw:s("throw",C),_try:s("try"),_var:s("var"),_const:s("const"),_while:s("while",{isLoop:!0}),_with:s("with"),_new:s("new",{beforeExpr:!0,startsExpr:!0}),_this:s("this",S),_super:s("super",S),_class:s("class"),_extends:s("extends",C),_export:s("export"),_import:s("import"),_null:s("null",S),_true:s("true",S),_false:s("false",S),_in:s("in",{beforeExpr:!0,binop:7}),_instanceof:s("instanceof",{beforeExpr:!0,binop:7}),_typeof:s("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:s("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:s("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},F=/\r\n?|\n|\u2028|\u2029/,L=new RegExp(F.source,"g"),B=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,D=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,N=function(e,t){this.line=e,this.column=t};N.prototype.offset=function(e){return new N(this.line,this.column+e)};var R=function(e,t,n){this.start=t,this.end=n,null!==e.sourceFile&&(this.source=e.sourceFile)},P={ecmaVersion:6,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1,plugins:{}},M={},I=function(e,t,n){this.options=e=l(e),this.sourceFile=e.sourceFile,this.keywords=p(y[e.ecmaVersion>=6?6:5]);var r=e.allowReserved?"":g[e.ecmaVersion]+("module"==e.sourceType?" await":"");this.reservedWords=p(r);var i=(r?r+" ":"")+g.strict;this.reservedWordsStrict=p(i),this.reservedWordsStrictBind=p(i+" "+g.strictBind),this.input=String(t),this.containsEsc=!1,this.loadPlugins(e.plugins),n?(this.pos=n,this.lineStart=Math.max(0,this.input.lastIndexOf("\n",n)),this.curLine=this.input.slice(0,this.lineStart).split(F).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=O.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.strict=this.inModule="module"===e.sourceType,this.potentialArrowAt=-1,this.inFunction=this.inGenerator=!1,this.labels=[],0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2)};I.prototype.isKeyword=function(e){return this.keywords.test(e)},I.prototype.isReservedWord=function(e){return this.reservedWords.test(e)},I.prototype.extend=function(e,t){this[e]=t(this[e])},I.prototype.loadPlugins=function(e){var t=this;for(var n in e){var r=M[n];if(!r)throw new Error("Plugin '"+n+"' not found");r(t,e[n])}},I.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)};var j=I.prototype;j.isUseStrict=function(e){return this.options.ecmaVersion>=5&&"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"use strict"===e.expression.raw.slice(1,-1)},j.eat=function(e){return this.type===e&&(this.next(),!0)},j.isContextual=function(e){return this.type===O.name&&this.value===e},j.eatContextual=function(e){return this.value===e&&this.eat(O.name)},j.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},j.canInsertSemicolon=function(){return this.type===O.eof||this.type===O.braceR||F.test(this.input.slice(this.lastTokEnd,this.start))},j.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},j.semicolon=function(){this.eat(O.semi)||this.insertSemicolon()||this.unexpected()},j.afterTrailingComma=function(e){if(this.type==e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),this.next(),!0},j.expect=function(e){this.eat(e)||this.unexpected()},j.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")};var V=function(){this.shorthandAssign=0,this.trailingComma=0};j.checkPatternErrors=function(e,t){var n=e&&e.trailingComma;if(!t)return!!n;n&&this.raise(n,"Comma is not permitted after the rest element")},j.checkExpressionErrors=function(e,t){var n=e&&e.shorthandAssign;if(!t)return!!n;n&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns")};var U=I.prototype;U.parseTopLevel=function(e){var t=this,n=!0;for(e.body||(e.body=[]);this.type!==O.eof;){var r=t.parseStatement(!0,!0);e.body.push(r),n&&(t.isUseStrict(r)&&t.setStrict(!0),n=!1)}return this.next(),this.options.ecmaVersion>=6&&(e.sourceType=this.options.sourceType),this.finishNode(e,"Program")};var z={kind:"loop"},q={kind:"switch"};U.isLet=function(){if(this.type!==O.name||this.options.ecmaVersion<6||"let"!=this.value)return!1;D.lastIndex=this.pos;var e=D.exec(this.input),t=this.pos+e[0].length,i=this.input.charCodeAt(t);if(91===i||123==i)return!0;if(n(i,!0)){for(var s=t+1;r(this.input.charCodeAt(s),!0);++s);var o=this.input.slice(t,s);if(!this.isKeyword(o))return!0}return!1},U.parseStatement=function(e,t){var n,r=this.type,i=this.startNode();switch(this.isLet()&&(r=O._var,n="let"),r){case O._break:case O._continue:return this.parseBreakContinueStatement(i,r.keyword);case O._debugger:return this.parseDebuggerStatement(i);case O._do:return this.parseDoStatement(i);case O._for:return this.parseForStatement(i);case O._function:return!e&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(i);case O._class:return e||this.unexpected(),this.parseClass(i,!0);case O._if:return this.parseIfStatement(i);case O._return:return this.parseReturnStatement(i);case O._switch:return this.parseSwitchStatement(i);case O._throw:return this.parseThrowStatement(i);case O._try:return this.parseTryStatement(i);case O._const:case O._var:return n=n||this.value,e||"var"==n||this.unexpected(),this.parseVarStatement(i,n);case O._while:return this.parseWhileStatement(i);case O._with:return this.parseWithStatement(i);case O.braceL:return this.parseBlock();case O.semi:return this.parseEmptyStatement(i);case O._export:case O._import:return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),r===O._import?this.parseImport(i):this.parseExport(i);default:var s=this.value,o=this.parseExpression();return r===O.name&&"Identifier"===o.type&&this.eat(O.colon)?this.parseLabeledStatement(i,s,o):this.parseExpressionStatement(i,o)}},U.parseBreakContinueStatement=function(e,t){var n=this,r="break"==t;this.next(),this.eat(O.semi)||this.insertSemicolon()?e.label=null:this.type!==O.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var i=0;i<this.labels.length;++i){var s=n.labels[i];if(null==e.label||s.name===e.label.name){if(null!=s.kind&&(r||"loop"===s.kind))break;if(e.label&&r)break}}return i===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,r?"BreakStatement":"ContinueStatement")},U.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},U.parseDoStatement=function(e){return this.next(),this.labels.push(z),e.body=this.parseStatement(!1),this.labels.pop(),this.expect(O._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(O.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},U.parseForStatement=function(e){if(this.next(),this.labels.push(z),this.expect(O.parenL),this.type===O.semi)return this.parseFor(e,null);var t=this.isLet();if(this.type===O._var||this.type===O._const||t){var n=this.startNode(),r=t?"let":this.value;return this.next(),this.parseVar(n,!0,r),this.finishNode(n,"VariableDeclaration"),!(this.type===O._in||this.options.ecmaVersion>=6&&this.isContextual("of"))||1!==n.declarations.length||"var"!==r&&n.declarations[0].init?this.parseFor(e,n):this.parseForIn(e,n)}var i=new V,s=this.parseExpression(!0,i);return this.type===O._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.checkPatternErrors(i,!0),this.toAssignable(s),this.checkLVal(s),this.parseForIn(e,s)):(this.checkExpressionErrors(i,!0),this.parseFor(e,s))},U.parseFunctionStatement=function(e){return this.next(),this.parseFunction(e,!0)},U.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement(!1),e.alternate=this.eat(O._else)?this.parseStatement(!1):null,this.finishNode(e,"IfStatement")},U.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(O.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},U.parseSwitchStatement=function(e){var t=this;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(O.braceL),this.labels.push(q);for(var n,r=!1;this.type!=O.braceR;)if(t.type===O._case||t.type===O._default){var i=t.type===O._case;n&&t.finishNode(n,"SwitchCase"),e.cases.push(n=t.startNode()),n.consequent=[],t.next(),i?n.test=t.parseExpression():(r&&t.raiseRecoverable(t.lastTokStart,"Multiple default clauses"),r=!0,n.test=null),t.expect(O.colon)}else n||t.unexpected(),n.consequent.push(t.parseStatement(!0));return n&&this.finishNode(n,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},U.parseThrowStatement=function(e){return this.next(),F.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var $=[];U.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===O._catch){var t=this.startNode();this.next(),this.expect(O.parenL),t.param=this.parseBindingAtom(),this.checkLVal(t.param,!0),this.expect(O.parenR),t.body=this.parseBlock(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(O._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},U.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},U.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(z),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"WhileStatement")},U.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement(!1),this.finishNode(e,"WithStatement")},U.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},U.parseLabeledStatement=function(e,t,n){for(var r=this,i=0;i<this.labels.length;++i)r.labels[i].name===t&&r.raise(n.start,"Label '"+t+"' is already declared");for(var s=this.type.isLoop?"loop":this.type===O._switch?"switch":null,o=this.labels.length-1;o>=0;o--){var a=r.labels[o];if(a.statementStart!=e.start)break;a.statementStart=r.start,a.kind=s}return this.labels.push({name:t,kind:s,statementStart:this.start}),e.body=this.parseStatement(!0),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},U.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},U.parseBlock=function(e){var t,n=this,r=this.startNode(),i=!0;for(r.body=[],this.expect(O.braceL);!this.eat(O.braceR);){var s=n.parseStatement(!0);r.body.push(s),i&&e&&n.isUseStrict(s)&&(t=n.strict,n.setStrict(n.strict=!0)),i=!1}return!1===t&&this.setStrict(!1),this.finishNode(r,"BlockStatement")},U.parseFor=function(e,t){return e.init=t,this.expect(O.semi),e.test=this.type===O.semi?null:this.parseExpression(),this.expect(O.semi),e.update=this.type===O.parenR?null:this.parseExpression(),this.expect(O.parenR),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"ForStatement")},U.parseForIn=function(e,t){var n=this.type===O._in?"ForInStatement":"ForOfStatement";return this.next(),e.left=t,e.right=this.parseExpression(),this.expect(O.parenR),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,n)},U.parseVar=function(e,t,n){var r=this;for(e.declarations=[],e.kind=n;;){var i=r.startNode();if(r.parseVarId(i),r.eat(O.eq)?i.init=r.parseMaybeAssign(t):"const"!==n||r.type===O._in||r.options.ecmaVersion>=6&&r.isContextual("of")?"Identifier"==i.id.type||t&&(r.type===O._in||r.isContextual("of"))?i.init=null:r.raise(r.lastTokEnd,"Complex binding patterns require an initialization value"):r.unexpected(),e.declarations.push(r.finishNode(i,"VariableDeclarator")),!r.eat(O.comma))break}return e},U.parseVarId=function(e){e.id=this.parseBindingAtom(),this.checkLVal(e.id,!0)},U.parseFunction=function(e,t,n){this.initFunction(e),this.options.ecmaVersion>=6&&(e.generator=this.eat(O.star));var r=this.inGenerator;return this.inGenerator=e.generator,(t||this.type===O.name)&&(e.id=this.parseIdent()),this.parseFunctionParams(e),this.parseFunctionBody(e,n),this.inGenerator=r,this.finishNode(e,t?"FunctionDeclaration":"FunctionExpression")},U.parseFunctionParams=function(e){this.expect(O.parenL),e.params=this.parseBindingList(O.parenR,!1,!1,!0)},U.parseClass=function(e,t){var n=this;this.next(),this.parseClassId(e,t),this.parseClassSuper(e);var r=this.startNode(),i=!1;for(r.body=[],this.expect(O.braceL);!this.eat(O.braceR);)if(!n.eat(O.semi)){var s=n.startNode(),o=n.eat(O.star),a=n.type===O.name&&"static"===n.value;n.parsePropertyName(s),s.static=a&&n.type!==O.parenL,s.static&&(o&&n.unexpected(),o=n.eat(O.star),n.parsePropertyName(s)),s.kind="method";var u=!1;if(!s.computed){var c=s.key;o||"Identifier"!==c.type||n.type===O.parenL||"get"!==c.name&&"set"!==c.name||(u=!0,s.kind=c.name,c=n.parsePropertyName(s)),!s.static&&("Identifier"===c.type&&"constructor"===c.name||"Literal"===c.type&&"constructor"===c.value)&&(i&&n.raise(c.start,"Duplicate constructor in the same class"),u&&n.raise(c.start,"Constructor can't have get/set modifier"),o&&n.raise(c.start,"Constructor can't be a generator"),s.kind="constructor",i=!0)}if(n.parseClassMethod(r,s,o),u){var l="get"===s.kind?0:1;if(s.value.params.length!==l){var h=s.value.start;"get"===s.kind?n.raiseRecoverable(h,"getter should have no params"):n.raiseRecoverable(h,"setter should have exactly one param")}"set"===s.kind&&"RestElement"===s.value.params[0].type&&n.raise(s.value.params[0].start,"Setter cannot use rest params")}}return e.body=this.finishNode(r,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},U.parseClassMethod=function(e,t,n){t.value=this.parseMethod(n),e.body.push(this.finishNode(t,"MethodDefinition"))},U.parseClassId=function(e,t){e.id=this.type===O.name?this.parseIdent():t?this.unexpected():null},U.parseClassSuper=function(e){e.superClass=this.eat(O._extends)?this.parseExprSubscripts():null},U.parseExport=function(e){var t=this;if(this.next(),this.eat(O.star))return this.expectContextual("from"),e.source=this.type===O.string?this.parseExprAtom():this.unexpected(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(O._default)){var n=this.type==O.parenL,r=this.parseMaybeAssign(),i=!0;return n||"FunctionExpression"!=r.type&&"ClassExpression"!=r.type||(i=!1,r.id&&(r.type="FunctionExpression"==r.type?"FunctionDeclaration":"ClassDeclaration")),e.declaration=r,i&&this.semicolon(),this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(!0),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(),this.eatContextual("from"))e.source=this.type===O.string?this.parseExprAtom():this.unexpected();else{for(var s=0;s<e.specifiers.length;s++)(t.keywords.test(e.specifiers[s].local.name)||t.reservedWords.test(e.specifiers[s].local.name))&&t.unexpected(e.specifiers[s].local.start);e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},U.shouldParseExportStatement=function(){return this.type.keyword||this.isLet()},U.parseExportSpecifiers=function(){var e=this,t=[],n=!0;for(this.expect(O.braceL);!this.eat(O.braceR);){if(n)n=!1;else if(e.expect(O.comma),e.afterTrailingComma(O.braceR))break;var r=e.startNode();r.local=e.parseIdent(e.type===O._default),r.exported=e.eatContextual("as")?e.parseIdent(!0):r.local,t.push(e.finishNode(r,"ExportSpecifier"))}return t},U.parseImport=function(e){return this.next(),this.type===O.string?(e.specifiers=$,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===O.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},U.parseImportSpecifiers=function(){var e=this,t=[],n=!0;if(this.type===O.name){var r=this.startNode();if(r.local=this.parseIdent(),this.checkLVal(r.local,!0),t.push(this.finishNode(r,"ImportDefaultSpecifier")),!this.eat(O.comma))return t}if(this.type===O.star){var i=this.startNode();return this.next(),this.expectContextual("as"),i.local=this.parseIdent(),this.checkLVal(i.local,!0),t.push(this.finishNode(i,"ImportNamespaceSpecifier")),t}for(this.expect(O.braceL);!this.eat(O.braceR);){if(n)n=!1;else if(e.expect(O.comma),e.afterTrailingComma(O.braceR))break;var s=e.startNode();s.imported=e.parseIdent(!0),e.eatContextual("as")?s.local=e.parseIdent():(s.local=s.imported,e.isKeyword(s.local.name)&&e.unexpected(s.local.start),e.reservedWordsStrict.test(s.local.name)&&e.raise(s.local.start,"The keyword '"+s.local.name+"' is reserved")),e.checkLVal(s.local,!0),t.push(e.finishNode(s,"ImportSpecifier"))}return t};var H=I.prototype;H.toAssignable=function(e,t){var n=this;if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":break;case"ObjectExpression":e.type="ObjectPattern";for(var r=0;r<e.properties.length;r++){var i=e.properties[r];"init"!==i.kind&&n.raise(i.key.start,"Object pattern can't contain getter or setter"),n.toAssignable(i.value,t)}break;case"ArrayExpression":e.type="ArrayPattern",this.toAssignableList(e.elements,t);break;case"AssignmentExpression":if("="!==e.operator){this.raise(e.left.end,"Only '=' operator can be used for specifying default value.");break}e.type="AssignmentPattern",delete e.operator;case"AssignmentPattern":"YieldExpression"===e.right.type&&this.raise(e.right.start,"Yield expression cannot be a default value");break;case"ParenthesizedExpression":e.expression=this.toAssignable(e.expression,t);break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}return e},H.toAssignableList=function(e,t){var n=this,r=e.length;if(r){var i=e[r-1];if(i&&"RestElement"==i.type)--r;else if(i&&"SpreadElement"==i.type){i.type="RestElement";var s=i.argument;this.toAssignable(s,t),"Identifier"!==s.type&&"MemberExpression"!==s.type&&"ArrayPattern"!==s.type&&this.unexpected(s.start),--r}t&&i&&"RestElement"===i.type&&"Identifier"!==i.argument.type&&this.unexpected(i.argument.start)}for(var o=0;o<r;o++){var a=e[o];a&&n.toAssignable(a,t)}return e},H.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},H.parseRest=function(e){var t=this.startNode();return this.next(),t.argument=e?this.type===O.name?this.parseIdent():this.unexpected():this.type===O.name||this.type===O.bracketL?this.parseBindingAtom():this.unexpected(),this.finishNode(t,"RestElement")},H.parseBindingAtom=function(){if(this.options.ecmaVersion<6)return this.parseIdent();switch(this.type){case O.name:return this.parseIdent();case O.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(O.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case O.braceL:return this.parseObj(!0);default:this.unexpected()}},H.parseBindingList=function(e,t,n,r){for(var i=this,s=[],o=!0;!this.eat(e);)if(o?o=!1:i.expect(O.comma),t&&i.type===O.comma)s.push(null);else{if(n&&i.afterTrailingComma(e))break;if(i.type===O.ellipsis){var a=i.parseRest(r);i.parseBindingListItem(a),s.push(a),i.type===O.comma&&i.raise(i.start,"Comma is not permitted after the rest element"),i.expect(e);break}var u=i.parseMaybeDefault(i.start,i.startLoc);i.parseBindingListItem(u),s.push(u)}return s},H.parseBindingListItem=function(e){return e},H.parseMaybeDefault=function(e,t,n){if(n=n||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(O.eq))return n;var r=this.startNodeAt(e,t);return r.left=n,r.right=this.parseMaybeAssign(),this.finishNode(r,"AssignmentPattern")},H.checkLVal=function(e,t,n){var r=this;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(t?"Binding ":"Assigning to ")+e.name+" in strict mode"),n&&(u(n,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),n[e.name]=!0);break;case"MemberExpression":t&&this.raiseRecoverable(e.start,(t?"Binding":"Assigning to")+" member expression");break;case"ObjectPattern":for(var i=0;i<e.properties.length;i++)r.checkLVal(e.properties[i].value,t,n);break;case"ArrayPattern":for(var s=0;s<e.elements.length;s++){var o=e.elements[s];o&&r.checkLVal(o,t,n)}break;case"AssignmentPattern":this.checkLVal(e.left,t,n);break;case"RestElement":this.checkLVal(e.argument,t,n);break;case"ParenthesizedExpression":this.checkLVal(e.expression,t,n);break;default:this.raise(e.start,(t?"Binding":"Assigning to")+" rvalue")}};var W=I.prototype;W.checkPropClash=function(e,t){if(!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var n,r=e.key;switch(r.type){case"Identifier":n=r.name;break;case"Literal":n=String(r.value);break;default:return}var i=e.kind;if(this.options.ecmaVersion>=6)"__proto__"===n&&"init"===i&&(t.proto&&this.raiseRecoverable(r.start,"Redefinition of __proto__ property"),t.proto=!0);else{var s=t[n="$"+n];if(s){var o="init"!==i;(!this.strict&&!o||!s[i])&&o^s.init||this.raiseRecoverable(r.start,"Redefinition of property")}else s=t[n]={init:!1,get:!1,set:!1};s[i]=!0}}},W.parseExpression=function(e,t){var n=this,r=this.start,i=this.startLoc,s=this.parseMaybeAssign(e,t);if(this.type===O.comma){var o=this.startNodeAt(r,i);for(o.expressions=[s];this.eat(O.comma);)o.expressions.push(n.parseMaybeAssign(e,t));return this.finishNode(o,"SequenceExpression")}return s},W.parseMaybeAssign=function(e,t,n){if(this.inGenerator&&this.isContextual("yield"))return this.parseYield();var r=!1;t||(t=new V,r=!0);var i=this.start,s=this.startLoc;this.type!=O.parenL&&this.type!=O.name||(this.potentialArrowAt=this.start);var o=this.parseMaybeConditional(e,t);if(n&&(o=n.call(this,o,i,s)),this.type.isAssign){this.checkPatternErrors(t,!0),r||V.call(t);var a=this.startNodeAt(i,s);return a.operator=this.value,a.left=this.type===O.eq?this.toAssignable(o):o,t.shorthandAssign=0,this.checkLVal(o),this.next(),a.right=this.parseMaybeAssign(e),this.finishNode(a,"AssignmentExpression")}return r&&this.checkExpressionErrors(t,!0),o},W.parseMaybeConditional=function(e,t){var n=this.start,r=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(O.question)){var s=this.startNodeAt(n,r);return s.test=i,s.consequent=this.parseMaybeAssign(),this.expect(O.colon),s.alternate=this.parseMaybeAssign(e),this.finishNode(s,"ConditionalExpression")}return i},W.parseExprOps=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)?i:this.parseExprOp(i,n,r,-1,e)},W.parseExprOp=function(e,t,n,r,i){var s=this.type.binop;if(null!=s&&(!i||this.type!==O._in)&&s>r){var o=this.type===O.logicalOR||this.type===O.logicalAND,a=this.value;this.next();var u=this.start,c=this.startLoc,l=this.parseExprOp(this.parseMaybeUnary(null,!1),u,c,s,i),h=this.buildBinary(t,n,e,l,a,o);return this.parseExprOp(h,t,n,r,i)}return e},W.buildBinary=function(e,t,n,r,i,s){var o=this.startNodeAt(e,t);return o.left=n,o.operator=i,o.right=r,this.finishNode(o,s?"LogicalExpression":"BinaryExpression")},W.parseMaybeUnary=function(e,t){var n,r=this,i=this.start,s=this.startLoc;if(this.type.prefix){var o=this.startNode(),a=this.type===O.incDec;o.operator=this.value,o.prefix=!0,this.next(),o.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),a?this.checkLVal(o.argument):this.strict&&"delete"===o.operator&&"Identifier"===o.argument.type?this.raiseRecoverable(o.start,"Deleting local variable in strict mode"):t=!0,n=this.finishNode(o,a?"UpdateExpression":"UnaryExpression")}else{if(n=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var u=r.startNodeAt(i,s);u.operator=r.value,u.prefix=!1,u.argument=n,r.checkLVal(n),r.next(),n=r.finishNode(u,"UpdateExpression")}}return!t&&this.eat(O.starstar)?this.buildBinary(i,s,n,this.parseMaybeUnary(null,!1),"**",!1):n},W.parseExprSubscripts=function(e){var t=this.start,n=this.startLoc,r=this.parseExprAtom(e),i="ArrowFunctionExpression"===r.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd);return this.checkExpressionErrors(e)||i?r:this.parseSubscripts(r,t,n)},W.parseSubscripts=function(e,t,n,r){for(var i=this;;)if(i.eat(O.dot)){var s=i.startNodeAt(t,n);s.object=e,s.property=i.parseIdent(!0),s.computed=!1,e=i.finishNode(s,"MemberExpression")}else if(i.eat(O.bracketL)){var o=i.startNodeAt(t,n);o.object=e,o.property=i.parseExpression(),o.computed=!0,i.expect(O.bracketR),e=i.finishNode(o,"MemberExpression")}else if(!r&&i.eat(O.parenL)){var a=i.startNodeAt(t,n);a.callee=e,a.arguments=i.parseExprList(O.parenR,!1),e=i.finishNode(a,"CallExpression")}else{if(i.type!==O.backQuote)return e;var u=i.startNodeAt(t,n);u.tag=e,u.quasi=i.parseTemplate(),e=i.finishNode(u,"TaggedTemplateExpression")}},W.parseExprAtom=function(e){var t,n=this.potentialArrowAt==this.start;switch(this.type){case O._super:this.inFunction||this.raise(this.start,"'super' outside of function or class");case O._this:var r=this.type===O._this?"ThisExpression":"Super";return t=this.startNode(),this.next(),this.finishNode(t,r);case O.name:var i=this.start,s=this.startLoc,o=this.parseIdent(this.type!==O.name);return n&&!this.canInsertSemicolon()&&this.eat(O.arrow)?this.parseArrowExpression(this.startNodeAt(i,s),[o]):o;case O.regexp:var a=this.value;return t=this.parseLiteral(a.value),t.regex={pattern:a.pattern,flags:a.flags},t;case O.num:case O.string:return this.parseLiteral(this.value);case O._null:case O._true:case O._false:return t=this.startNode(),t.value=this.type===O._null?null:this.type===O._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case O.parenL:return this.parseParenAndDistinguishExpression(n);case O.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(O.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case O.braceL:return this.parseObj(!1,e);case O._function:return t=this.startNode(),this.next(),this.parseFunction(t,!1);case O._class:return this.parseClass(this.startNode(),!1);case O._new:return this.parseNew();case O.backQuote:return this.parseTemplate();default:this.unexpected()}},W.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),this.next(),this.finishNode(t,"Literal")},W.parseParenExpression=function(){this.expect(O.parenL);var e=this.parseExpression();return this.expect(O.parenR),e},W.parseParenAndDistinguishExpression=function(e){var t,n=this,r=this.start,i=this.startLoc;if(this.options.ecmaVersion>=6){this.next();for(var s,o,a=this.start,u=this.startLoc,c=[],l=!0,h=new V;this.type!==O.parenR;){if(l?l=!1:n.expect(O.comma),n.type===O.ellipsis){s=n.start,c.push(n.parseParenItem(n.parseRest()));break}n.type!==O.parenL||o||(o=n.start),c.push(n.parseMaybeAssign(!1,h,n.parseParenItem))}var p=this.start,f=this.startLoc;if(this.expect(O.parenR),e&&!this.canInsertSemicolon()&&this.eat(O.arrow))return this.checkPatternErrors(h,!0),o&&this.unexpected(o),this.parseParenArrowList(r,i,c);c.length||this.unexpected(this.lastTokStart),s&&this.unexpected(s),this.checkExpressionErrors(h,!0),c.length>1?((t=this.startNodeAt(a,u)).expressions=c,this.finishNodeAt(t,"SequenceExpression",p,f)):t=c[0]}else t=this.parseParenExpression();if(this.options.preserveParens){var d=this.startNodeAt(r,i);return d.expression=t,this.finishNode(d,"ParenthesizedExpression")}return t},W.parseParenItem=function(e){return e},W.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)};var G=[];W.parseNew=function(){var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(O.dot))return e.meta=t,e.property=this.parseIdent(!0),"target"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is new.target"),this.inFunction||this.raiseRecoverable(e.start,"new.target can only be used in functions"),this.finishNode(e,"MetaProperty");var n=this.start,r=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(),n,r,!0),this.eat(O.parenL)?e.arguments=this.parseExprList(O.parenR,!1):e.arguments=G,this.finishNode(e,"NewExpression")},W.parseTemplateElement=function(){var e=this.startNode();return e.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),e.tail=this.type===O.backQuote,this.finishNode(e,"TemplateElement")},W.parseTemplate=function(){var e=this,t=this.startNode();this.next(),t.expressions=[];var n=this.parseTemplateElement();for(t.quasis=[n];!n.tail;)e.expect(O.dollarBraceL),t.expressions.push(e.parseExpression()),e.expect(O.braceR),t.quasis.push(n=e.parseTemplateElement());return this.next(),this.finishNode(t,"TemplateLiteral")},W.parseObj=function(e,t){var n=this,r=this.startNode(),i=!0,s={};for(r.properties=[],this.next();!this.eat(O.braceR);){if(i)i=!1;else if(n.expect(O.comma),n.afterTrailingComma(O.braceR))break;var o,a,u,c=n.startNode();n.options.ecmaVersion>=6&&(c.method=!1,c.shorthand=!1,(e||t)&&(a=n.start,u=n.startLoc),e||(o=n.eat(O.star))),n.parsePropertyName(c),n.parsePropertyValue(c,e,o,a,u,t),n.checkPropClash(c,s),r.properties.push(n.finishNode(c,"Property"))}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")},W.parsePropertyValue=function(e,t,n,r,i,s){if(this.eat(O.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,s),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===O.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n);else if(this.options.ecmaVersion>=5&&!e.computed&&"Identifier"===e.key.type&&("get"===e.key.name||"set"===e.key.name)&&this.type!=O.comma&&this.type!=O.braceR){(n||t)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var o="get"===e.kind?0:1;if(e.value.params.length!==o){var a=e.value.start;"get"===e.kind?this.raiseRecoverable(a,"getter should have no params"):this.raiseRecoverable(a,"setter should have exactly one param")}"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?((this.keywords.test(e.key.name)||(this.strict?this.reservedWordsStrictBind:this.reservedWords).test(e.key.name)||this.inGenerator&&"yield"==e.key.name)&&this.raiseRecoverable(e.key.start,"'"+e.key.name+"' can not be used as shorthand property"),e.kind="init",t?e.value=this.parseMaybeDefault(r,i,e.key):this.type===O.eq&&s?(s.shorthandAssign||(s.shorthandAssign=this.start),e.value=this.parseMaybeDefault(r,i,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected()},W.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(O.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(O.bracketR),e.key;e.computed=!1}return e.key=this.type===O.num||this.type===O.string?this.parseExprAtom():this.parseIdent(!0)},W.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=!1,e.expression=!1)},W.parseMethod=function(e){var t=this.startNode(),n=this.inGenerator;return this.inGenerator=e,this.initFunction(t),this.expect(O.parenL),t.params=this.parseBindingList(O.parenR,!1,!1),this.options.ecmaVersion>=6&&(t.generator=e),this.parseFunctionBody(t,!1),this.inGenerator=n,this.finishNode(t,"FunctionExpression")},W.parseArrowExpression=function(e,t){var n=this.inGenerator;return this.inGenerator=!1,this.initFunction(e),e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0),this.inGenerator=n,this.finishNode(e,"ArrowFunctionExpression")},W.parseFunctionBody=function(e,t){var n=t&&this.type!==O.braceL;if(n)e.body=this.parseMaybeAssign(),e.expression=!0;else{var r=this.inFunction,i=this.labels;this.inFunction=!0,this.labels=[],e.body=this.parseBlock(!0),e.expression=!1,this.inFunction=r,this.labels=i}var s=!n&&e.body.body.length&&this.isUseStrict(e.body.body[0])?e.body.body[0]:null;if(this.strict||s){var o=this.strict;this.strict=!0,e.id&&this.checkLVal(e.id,!0),this.checkParams(e,s),this.strict=o}else t&&this.checkParams(e,s)},W.checkParams=function(e,t){for(var n=this,r={},i=0;i<e.params.length;i++)t&&n.options.ecmaVersion>=7&&"Identifier"!==e.params[i].type&&n.raiseRecoverable(t.start,"Illegal 'use strict' directive in function with non-simple parameter list"),n.checkLVal(e.params[i],!0,r)},W.parseExprList=function(e,t,n,r){for(var i=this,s=[],o=!0;!this.eat(e);){if(o)o=!1;else if(i.expect(O.comma),t&&i.afterTrailingComma(e))break;var a;n&&i.type===O.comma?a=null:i.type===O.ellipsis?(a=i.parseSpread(r),i.type===O.comma&&r&&!r.trailingComma&&(r.trailingComma=i.lastTokStart)):a=i.parseMaybeAssign(!1,r),s.push(a)}return s},W.parseIdent=function(e){var t=this.startNode();return e&&"never"==this.options.allowReserved&&(e=!1),this.type===O.name?(!e&&(this.strict?this.reservedWordsStrict:this.reservedWords).test(this.value)&&(this.options.ecmaVersion>=6||-1==this.input.slice(this.start,this.end).indexOf("\\"))&&this.raiseRecoverable(this.start,"The keyword '"+this.value+"' is reserved"),!e&&this.inGenerator&&"yield"===this.value&&this.raiseRecoverable(this.start,"Can not use 'yield' as identifier inside a generator"),t.name=this.value):e&&this.type.keyword?t.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(t,"Identifier")},W.parseYield=function(){var e=this.startNode();return this.next(),this.type==O.semi||this.canInsertSemicolon()||this.type!=O.star&&!this.type.startsExpr?(e.delegate=!1,e.argument=null):(e.delegate=this.eat(O.star),e.argument=this.parseMaybeAssign()),this.finishNode(e,"YieldExpression")};var Y=I.prototype;Y.raise=function(e,t){var n=c(this.input,e);t+=" ("+n.line+":"+n.column+")";var r=new SyntaxError(t);throw r.pos=e,r.loc=n,r.raisedAt=this.pos,r},Y.raiseRecoverable=Y.raise,Y.curPosition=function(){if(this.options.locations)return new N(this.curLine,this.pos-this.lineStart)};var X=function(e,t,n){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new R(e,n)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},K=I.prototype;K.startNode=function(){return new X(this,this.start,this.startLoc)},K.startNodeAt=function(e,t){return new X(this,e,t)},K.finishNode=function(e,t){return f.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},K.finishNodeAt=function(e,t,n,r){return f.call(this,e,t,n,r)};var J=function(e,t,n,r){this.token=e,this.isExpr=!!t,this.preserveSpace=!!n,this.override=r},Q={b_stat:new J("{",!1),b_expr:new J("{",!0),b_tmpl:new J("${",!0),p_stat:new J("(",!1),p_expr:new J("(",!0),q_tmpl:new J("`",!0,!0,function(e){return e.readTmplToken()}),f_expr:new J("function",!0)},Z=I.prototype;Z.initialContext=function(){return[Q.b_stat]},Z.braceIsBlock=function(e){if(e===O.colon){var t=this.curContext();if(t===Q.b_stat||t===Q.b_expr)return!t.isExpr}return e===O._return?F.test(this.input.slice(this.lastTokEnd,this.start)):e===O._else||e===O.semi||e===O.eof||e===O.parenR||(e==O.braceL?this.curContext()===Q.b_stat:!this.exprAllowed)},Z.updateContext=function(e){var t,n=this.type;n.keyword&&e==O.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},O.parenR.updateContext=O.braceR.updateContext=function(){if(1!=this.context.length){var e=this.context.pop();e===Q.b_stat&&this.curContext()===Q.f_expr?(this.context.pop(),this.exprAllowed=!1):this.exprAllowed=e===Q.b_tmpl||!e.isExpr}else this.exprAllowed=!0},O.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?Q.b_stat:Q.b_expr),this.exprAllowed=!0},O.dollarBraceL.updateContext=function(){this.context.push(Q.b_tmpl),this.exprAllowed=!0},O.parenL.updateContext=function(e){var t=e===O._if||e===O._for||e===O._with||e===O._while;this.context.push(t?Q.p_stat:Q.p_expr),this.exprAllowed=!0},O.incDec.updateContext=function(){},O._function.updateContext=function(e){e.beforeExpr&&e!==O.semi&&e!==O._else&&(e!==O.colon&&e!==O.braceL||this.curContext()!==Q.b_stat)&&this.context.push(Q.f_expr),this.exprAllowed=!1},O.backQuote.updateContext=function(){this.curContext()===Q.q_tmpl?this.context.pop():this.context.push(Q.q_tmpl),this.exprAllowed=!1};var ee=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new R(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},te=I.prototype,ne="object"==typeof Packages&&"[object JavaPackage]"==Object.prototype.toString.call(Packages);te.next=function(){this.options.onToken&&this.options.onToken(new ee(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},te.getToken=function(){return this.next(),new ee(this)},"undefined"!=typeof Symbol&&(te[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===O.eof,value:t}}}}),te.setStrict=function(e){var t=this;if(this.strict=e,this.type===O.num||this.type===O.string){if(this.pos=this.start,this.options.locations)for(;this.pos<this.lineStart;)t.lineStart=t.input.lastIndexOf("\n",t.lineStart-2)+1,--t.curLine;this.nextToken()}},te.curContext=function(){return this.context[this.context.length-1]},te.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(O.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},te.readToken=function(e){return n(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},te.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);return e<=55295||e>=57344?e:(e<<10)+this.input.charCodeAt(this.pos+1)-56613888},te.skipBlockComment=function(){var e=this,t=this.options.onComment&&this.curPosition(),n=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations){L.lastIndex=n;for(var i;(i=L.exec(this.input))&&i.index<this.pos;)++e.curLine,e.lineStart=i.index+i[0].length}this.options.onComment&&this.options.onComment(!0,this.input.slice(n+2,r),n,this.pos,t,this.curPosition())},te.skipLineComment=function(e){for(var t=this,n=this.pos,r=this.options.onComment&&this.curPosition(),i=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&10!==i&&13!==i&&8232!==i&&8233!==i;)++t.pos,i=t.input.charCodeAt(t.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(n+e,this.pos),n,this.pos,r,this.curPosition())},te.skipSpace=function(){var e=this;e:for(;this.pos<this.input.length;){var t=e.input.charCodeAt(e.pos);switch(t){case 32:case 160:++e.pos;break;case 13:10===e.input.charCodeAt(e.pos+1)&&++e.pos;case 10:case 8232:case 8233:++e.pos,e.options.locations&&(++e.curLine,e.lineStart=e.pos);break;case 47:switch(e.input.charCodeAt(e.pos+1)){case 42:e.skipBlockComment();break;case 47:e.skipLineComment(2);break;default:break e}break;default:if(!(t>8&&t<14||t>=5760&&B.test(String.fromCharCode(t))))break e;++e.pos}}},te.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},te.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(O.ellipsis)):(++this.pos,this.finishToken(O.dot))},te.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(O.assign,2):this.finishOp(O.slash,1)},te.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=42===e?O.star:O.modulo;return this.options.ecmaVersion>=7&&42===t&&(++n,r=O.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(O.assign,n+1):this.finishOp(r,n)},te.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.finishOp(124===e?O.logicalOR:O.logicalAND,2):61===t?this.finishOp(O.assign,2):this.finishOp(124===e?O.bitwiseOR:O.bitwiseAND,1)},te.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(O.assign,2):this.finishOp(O.bitwiseXOR,1)},te.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45==t&&62==this.input.charCodeAt(this.pos+2)&&F.test(this.input.slice(this.lastTokEnd,this.pos))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(O.incDec,2):61===t?this.finishOp(O.assign,2):this.finishOp(O.plusMin,1)},te.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+n)?this.finishOp(O.assign,n+1):this.finishOp(O.bitShift,n)):33==t&&60==e&&45==this.input.charCodeAt(this.pos+2)&&45==this.input.charCodeAt(this.pos+3)?(this.inModule&&this.unexpected(),this.skipLineComment(4),this.skipSpace(),this.nextToken()):(61===t&&(n=2),this.finishOp(O.relational,n))},te.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(O.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(O.arrow)):this.finishOp(61===e?O.eq:O.prefix,1)},te.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(O.parenL);case 41:return++this.pos,this.finishToken(O.parenR);case 59:return++this.pos,this.finishToken(O.semi);case 44:return++this.pos,this.finishToken(O.comma);case 91:return++this.pos,this.finishToken(O.bracketL);case 93:return++this.pos,this.finishToken(O.bracketR);case 123:return++this.pos,this.finishToken(O.braceL);case 125:return++this.pos,this.finishToken(O.braceR);case 58:return++this.pos,this.finishToken(O.colon);case 63:return++this.pos,this.finishToken(O.question);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(O.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 126:return this.finishOp(O.prefix,1)}this.raise(this.pos,"Unexpected character '"+m(e)+"'")},te.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)};var re=!!d("￿","u");te.readRegexp=function(){for(var e,t,n=this,r=this.pos;;){n.pos>=n.input.length&&n.raise(r,"Unterminated regular expression");var i=n.input.charAt(n.pos);if(F.test(i)&&n.raise(r,"Unterminated regular expression"),e)e=!1;else{if("["===i)t=!0;else if("]"===i&&t)t=!1;else if("/"===i&&!t)break;e="\\"===i}++n.pos}var s=this.input.slice(r,this.pos);++this.pos;var o=this.readWord1(),a=s,u="";if(o){var c=/^[gim]*$/;this.options.ecmaVersion>=6&&(c=/^[gimuy]*$/),c.test(o)||this.raise(r,"Invalid regular expression flag"),o.indexOf("u")>=0&&(re?u="u":(a=(a=a.replace(/\\u\{([0-9a-fA-F]+)\}/g,function(e,t,i){return(t=Number("0x"+t))>1114111&&n.raise(r+i+3,"Code point out of bounds"),"x"})).replace(/\\u([a-fA-F0-9]{4})|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"x"),u=u.replace("u","")))}var l=null;return ne||(d(a,u,r,this),l=d(s,o)),this.finishToken(O.regexp,{pattern:s,flags:o,value:l})},te.readInt=function(e,t){for(var n=this,r=this.pos,i=0,s=0,o=null==t?1/0:t;s<o;++s){var a,u=n.input.charCodeAt(n.pos);if((a=u>=97?u-97+10:u>=65?u-65+10:u>=48&&u<=57?u-48:1/0)>=e)break;++n.pos,i=i*e+a}return this.pos===r||null!=t&&this.pos-r!==t?null:i},te.readRadixNumber=function(e){this.pos+=2;var t=this.readInt(e);return null==t&&this.raise(this.start+2,"Expected number in radix "+e),n(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(O.num,t)},te.readNumber=function(e){var t=this.pos,r=!1,i=48===this.input.charCodeAt(this.pos);e||null!==this.readInt(10)||this.raise(t,"Invalid number");var s=this.input.charCodeAt(this.pos);46===s&&(++this.pos,this.readInt(10),r=!0,s=this.input.charCodeAt(this.pos)),69!==s&&101!==s||(43!==(s=this.input.charCodeAt(++this.pos))&&45!==s||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number"),r=!0),n(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var o,a=this.input.slice(t,this.pos);return r?o=parseFloat(a):i&&1!==a.length?/[89]/.test(a)||this.strict?this.raise(t,"Invalid number"):o=parseInt(a,8):o=parseInt(a,10),this.finishToken(O.num,o)},te.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.raise(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},te.readString=function(e){for(var t=this,n="",r=++this.pos;;){t.pos>=t.input.length&&t.raise(t.start,"Unterminated string constant");var i=t.input.charCodeAt(t.pos);if(i===e)break;92===i?(n+=t.input.slice(r,t.pos),n+=t.readEscapedChar(!1),r=t.pos):(o(i)&&t.raise(t.start,"Unterminated string constant"),++t.pos)}return n+=this.input.slice(r,this.pos++),this.finishToken(O.string,n)},te.readTmplToken=function(){for(var e=this,t="",n=this.pos;;){e.pos>=e.input.length&&e.raise(e.start,"Unterminated template");var r=e.input.charCodeAt(e.pos);if(96===r||36===r&&123===e.input.charCodeAt(e.pos+1))return e.pos===e.start&&e.type===O.template?36===r?(e.pos+=2,e.finishToken(O.dollarBraceL)):(++e.pos,e.finishToken(O.backQuote)):(t+=e.input.slice(n,e.pos),e.finishToken(O.template,t));if(92===r)t+=e.input.slice(n,e.pos),t+=e.readEscapedChar(!0),n=e.pos;else if(o(r)){switch(t+=e.input.slice(n,e.pos),++e.pos,r){case 13:10===e.input.charCodeAt(e.pos)&&++e.pos;case 10:t+="\n";break;default:t+=String.fromCharCode(r)}e.options.locations&&(++e.curLine,e.lineStart=e.pos),n=e.pos}else++e.pos}},te.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return m(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";default:if(t>=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],r=parseInt(n,8);return r>255&&(n=n.slice(0,-1),r=parseInt(n,8)),"0"!==n&&(this.strict||e)&&this.raise(this.pos-2,"Octal literal in strict mode"),this.pos+=n.length-1,String.fromCharCode(r)}return String.fromCharCode(t)}},te.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return null===n&&this.raise(t,"Bad character escape sequence"),n},te.readWord1=function(){var e=this;this.containsEsc=!1;for(var t="",i=!0,s=this.pos,o=this.options.ecmaVersion>=6;this.pos<this.input.length;){var a=e.fullCharCodeAtPos();if(r(a,o))e.pos+=a<=65535?1:2;else{if(92!==a)break;e.containsEsc=!0,t+=e.input.slice(s,e.pos);var u=e.pos;117!=e.input.charCodeAt(++e.pos)&&e.raise(e.pos,"Expecting Unicode escape sequence \\uXXXX"),++e.pos;var c=e.readCodePoint();(i?n:r)(c,o)||e.raise(u,"Invalid Unicode escape"),t+=m(c),s=e.pos}i=!1}return t+this.input.slice(s,this.pos)},te.readWord=function(){var e=this.readWord1(),t=O.name;return(this.options.ecmaVersion>=6||!this.containsEsc)&&this.keywords.test(e)&&(t=T[e]),this.finishToken(t,e)};e.version="3.3.0",e.parse=function(e,t){return new I(t,e).parse()},e.parseExpressionAt=function(e,t,n){var r=new I(n,e,t);return r.nextToken(),r.parseExpression()},e.tokenizer=function(e,t){return new I(t,e)},e.Parser=I,e.plugins=M,e.defaultOptions=P,e.Position=N,e.SourceLocation=R,e.getLineInfo=c,e.Node=X,e.TokenType=A,e.tokTypes=O,e.TokContext=J,e.tokContexts=Q,e.isIdentifierChar=r,e.isIdentifierStart=n,e.Token=ee,e.isNewLine=o,e.lineBreak=F,e.lineBreakG=L,Object.defineProperty(e,"__esModule",{value:!0})})},{}],50:[function(e,t,n){!function(e,r){r("object"==typeof n&&void 0!==t?n:(e.acorn=e.acorn||{},e.acorn.walk=e.acorn.walk||{}))}(this,function(e){"use strict";function t(e){return"string"==typeof e?function(t){return t==e}:e||function(){return!0}}function n(e,t,n){n(e,t)}function r(e,t,n){}var i=function(e,t){this.node=e,this.state=t},s=Object.create||function(e){function t(){}return t.prototype=e,new t},o={};o.Program=o.BlockStatement=function(e,t,n){for(var r=0;r<e.body.length;++r)n(e.body[r],t,"Statement")},o.Statement=n,o.EmptyStatement=r,o.ExpressionStatement=o.ParenthesizedExpression=function(e,t,n){return n(e.expression,t,"Expression")},o.IfStatement=function(e,t,n){n(e.test,t,"Expression"),n(e.consequent,t,"Statement"),e.alternate&&n(e.alternate,t,"Statement")},o.LabeledStatement=function(e,t,n){return n(e.body,t,"Statement")},o.BreakStatement=o.ContinueStatement=r,o.WithStatement=function(e,t,n){n(e.object,t,"Expression"),n(e.body,t,"Statement")},o.SwitchStatement=function(e,t,n){n(e.discriminant,t,"Expression");for(var r=0;r<e.cases.length;++r){var i=e.cases[r];i.test&&n(i.test,t,"Expression");for(var s=0;s<i.consequent.length;++s)n(i.consequent[s],t,"Statement")}},o.ReturnStatement=o.YieldExpression=function(e,t,n){e.argument&&n(e.argument,t,"Expression")},o.ThrowStatement=o.SpreadElement=function(e,t,n){return n(e.argument,t,"Expression")},o.TryStatement=function(e,t,n){n(e.block,t,"Statement"),e.handler&&n(e.handler,t),e.finalizer&&n(e.finalizer,t,"Statement")},o.CatchClause=function(e,t,n){n(e.param,t,"Pattern"),n(e.body,t,"ScopeBody")},o.WhileStatement=o.DoWhileStatement=function(e,t,n){n(e.test,t,"Expression"),n(e.body,t,"Statement")},o.ForStatement=function(e,t,n){e.init&&n(e.init,t,"ForInit"),e.test&&n(e.test,t,"Expression"),e.update&&n(e.update,t,"Expression"),n(e.body,t,"Statement")},o.ForInStatement=o.ForOfStatement=function(e,t,n){n(e.left,t,"ForInit"),n(e.right,t,"Expression"),n(e.body,t,"Statement")},o.ForInit=function(e,t,n){"VariableDeclaration"==e.type?n(e,t):n(e,t,"Expression")},o.DebuggerStatement=r,o.FunctionDeclaration=function(e,t,n){return n(e,t,"Function")},o.VariableDeclaration=function(e,t,n){for(var r=0;r<e.declarations.length;++r)n(e.declarations[r],t)},o.VariableDeclarator=function(e,t,n){n(e.id,t,"Pattern"),e.init&&n(e.init,t,"Expression")},o.Function=function(e,t,n){e.id&&n(e.id,t,"Pattern");for(var r=0;r<e.params.length;r++)n(e.params[r],t,"Pattern");n(e.body,t,e.expression?"ScopeExpression":"ScopeBody")},o.ScopeBody=function(e,t,n){return n(e,t,"Statement")},o.ScopeExpression=function(e,t,n){return n(e,t,"Expression")},o.Pattern=function(e,t,n){"Identifier"==e.type?n(e,t,"VariablePattern"):"MemberExpression"==e.type?n(e,t,"MemberPattern"):n(e,t)},o.VariablePattern=r,o.MemberPattern=n,o.RestElement=function(e,t,n){return n(e.argument,t,"Pattern")},o.ArrayPattern=function(e,t,n){for(var r=0;r<e.elements.length;++r){var i=e.elements[r];i&&n(i,t,"Pattern")}},o.ObjectPattern=function(e,t,n){for(var r=0;r<e.properties.length;++r)n(e.properties[r].value,t,"Pattern")},o.Expression=n,o.ThisExpression=o.Super=o.MetaProperty=r,o.ArrayExpression=function(e,t,n){for(var r=0;r<e.elements.length;++r){var i=e.elements[r];i&&n(i,t,"Expression")}},o.ObjectExpression=function(e,t,n){for(var r=0;r<e.properties.length;++r)n(e.properties[r],t)},o.FunctionExpression=o.ArrowFunctionExpression=o.FunctionDeclaration,o.SequenceExpression=o.TemplateLiteral=function(e,t,n){for(var r=0;r<e.expressions.length;++r)n(e.expressions[r],t,"Expression")},o.UnaryExpression=o.UpdateExpression=function(e,t,n){n(e.argument,t,"Expression")},o.BinaryExpression=o.LogicalExpression=function(e,t,n){n(e.left,t,"Expression"),n(e.right,t,"Expression")},o.AssignmentExpression=o.AssignmentPattern=function(e,t,n){n(e.left,t,"Pattern"),n(e.right,t,"Expression")},o.ConditionalExpression=function(e,t,n){n(e.test,t,"Expression"),n(e.consequent,t,"Expression"),n(e.alternate,t,"Expression")},o.NewExpression=o.CallExpression=function(e,t,n){if(n(e.callee,t,"Expression"),e.arguments)for(var r=0;r<e.arguments.length;++r)n(e.arguments[r],t,"Expression")},o.MemberExpression=function(e,t,n){n(e.object,t,"Expression"),e.computed&&n(e.property,t,"Expression")},o.ExportNamedDeclaration=o.ExportDefaultDeclaration=function(e,t,n){e.declaration&&n(e.declaration,t,"ExportNamedDeclaration"==e.type||e.declaration.id?"Statement":"Expression"),e.source&&n(e.source,t,"Expression")},o.ExportAllDeclaration=function(e,t,n){n(e.source,t,"Expression")},o.ImportDeclaration=function(e,t,n){for(var r=0;r<e.specifiers.length;r++)n(e.specifiers[r],t);n(e.source,t,"Expression")},o.ImportSpecifier=o.ImportDefaultSpecifier=o.ImportNamespaceSpecifier=o.Identifier=o.Literal=r,o.TaggedTemplateExpression=function(e,t,n){n(e.tag,t,"Expression"),n(e.quasi,t)},o.ClassDeclaration=o.ClassExpression=function(e,t,n){return n(e,t,"Class")},o.Class=function(e,t,n){e.id&&n(e.id,t,"Pattern"),e.superClass&&n(e.superClass,t,"Expression");for(var r=0;r<e.body.body.length;r++)n(e.body.body[r],t)},o.MethodDefinition=o.Property=function(e,t,n){e.computed&&n(e.key,t,"Expression"),n(e.value,t,"Expression")},e.simple=function(t,n,r,i,s){r||(r=e.base),function e(t,i,s){var o=s||t.type,a=n[o];r[o](t,i,e),a&&a(t,i)}(t,i,s)},e.ancestor=function(t,n,r,i){r||(r=e.base);var s=[];!function e(t,i,o){var a=o||t.type,u=n[a],c=t!=s[s.length-1];c&&s.push(t),r[a](t,i,e),u&&u(t,i||s,s),c&&s.pop()}(t,i)},e.recursive=function(t,n,r,i,s){var o=r?e.make(r,i):i;!function e(t,n,r){o[r||t.type](t,n,e)}(t,n,s)},e.findNodeAt=function(n,r,s,o,a,u){o=t(o),a||(a=e.base);try{!function e(t,n,u){var c=u||t.type;if((null==r||t.start<=r)&&(null==s||t.end>=s)&&a[c](t,n,e),(null==r||t.start==r)&&(null==s||t.end==s)&&o(c,t))throw new i(t,n)}(n,u)}catch(e){if(e instanceof i)return e;throw e}},e.findNodeAround=function(n,r,s,o,a){s=t(s),o||(o=e.base);try{!function e(t,n,a){var u=a||t.type;if(!(t.start>r||t.end<r)&&(o[u](t,n,e),s(u,t)))throw new i(t,n)}(n,a)}catch(e){if(e instanceof i)return e;throw e}},e.findNodeAfter=function(n,r,s,o,a){s=t(s),o||(o=e.base);try{!function e(t,n,a){if(!(t.end<r)){var u=a||t.type;if(t.start>=r&&s(u,t))throw new i(t,n);o[u](t,n,e)}}(n,a)}catch(e){if(e instanceof i)return e;throw e}},e.findNodeBefore=function(n,r,s,o,a){s=t(s),o||(o=e.base);var u;return function e(t,n,a){if(!(t.start>r)){var c=a||t.type;t.end<=r&&(!u||u.node.end<t.end)&&s(c,t)&&(u=new i(t,n)),o[c](t,n,e)}}(n,a),u},e.make=function(t,n){n||(n=e.base);var r=s(n);for(var i in t)r[i]=t[i];return r},e.base=o,Object.defineProperty(e,"__esModule",{value:!0})})},{}],51:[function(e,t,n){(function(n,r){"use strict";t.exports=function(t,i){function s(e){var t,n;for(t=0;e[t];t+=1)if("."===(n=e[t]))e.splice(t,1),t-=1;else if(".."===n){if(1===t&&(".."===e[2]||".."===e[0]))break;t>0&&(e.splice(t-1,2),t-=2)}}function o(e,t){var n;return e&&"."===e.charAt(0)&&t&&(s(n=(n=(n=t.split("/")).slice(0,n.length-1)).concat(e.split("/"))),e=n.join("/")),e}function a(e){return function(t){return o(t,e)}}function u(e){function t(t){d[e]=t}return t.fromText=function(e,t){throw new Error("amdefine does not implement load.fromText")},t}function c(e,n,s){var o,a,u,c;if(e)a=d[e]={},o=h(i,a,u={id:e,uri:r,exports:a},e);else{if(m)throw new Error("amdefine with no module ID cannot be called more than once per file.");m=!0,a=t.exports,o=h(i,a,u=t,t.id)}n&&(n=n.map(function(e){return o(e)})),void 0!==(c="function"==typeof s?s.apply(u.exports,n):s)&&(u.exports=c,e&&(d[e]=u.exports))}function l(e,t,n){Array.isArray(e)?(n=t,t=e,e=void 0):"string"!=typeof e&&(n=e,e=t=void 0),t&&!Array.isArray(t)&&(n=t,t=void 0),t||(t=["require","exports","module"]),e?f[e]=[e,t,n]:c(e,t,n)}var h,p,f={},d={},m=!1,g=e("path");return h=function(e,t,r,i){function s(s,o){if("string"==typeof s)return p(e,t,r,s,i);s=s.map(function(n){return p(e,t,r,n,i)}),o&&n.nextTick(function(){o.apply(null,s)})}return s.toUrl=function(e){return 0===e.indexOf(".")?o(e,g.dirname(r.filename)):e},s},i=i||function(){return t.require.apply(t,arguments)},p=function(e,t,n,r,i){var s,l,m=r.indexOf("!"),g=r;if(-1===m){if("require"===(r=o(r,i)))return h(e,t,n,i);if("exports"===r)return t;if("module"===r)return n;if(d.hasOwnProperty(r))return d[r];if(f[r])return c.apply(null,f[r]),d[r];if(e)return e(g);throw new Error("No module with ID: "+r)}return s=r.substring(0,m),r=r.substring(m+1,r.length),l=p(e,t,n,s,i),r=l.normalize?l.normalize(r,a(i)):o(r,i),d[r]?d[r]:(l.load(r,h(e,t,n,i),u(r),{}),d[r])},l.require=function(e){return d[e]?d[e]:f[e]?(c.apply(null,f[e]),d[e]):void 0},l.amd={},l}}).call(this,e("_process"),"/tmp/pug-2.0.0-rc.4/packages/pug/node_modules/amdefine/amdefine.js")},{_process:17,path:15}],52:[function(e,t,n){"use strict";function r(e){var t;(t=o.length?o.pop():new i).task=e,s(t)}function i(){this.task=null}var s=e("./raw"),o=[],a=[],u=s.makeRequestCallFromTimer(function(){if(a.length)throw a.shift()});t.exports=r,i.prototype.call=function(){try{this.task.call()}catch(e){r.onerror?r.onerror(e):(a.push(e),u())}finally{this.task=null,o[o.length]=this}}},{"./raw":53}],53:[function(e,t,n){(function(e){"use strict";function n(e){o.length||(s(),a=!0),o[o.length]=e}function r(){for(;u<o.length;){var e=u;if(u+=1,o[e].call(),u>c){for(var t=0,n=o.length-u;t<n;t++)o[t]=o[t+u];o.length-=u,u=0}}o.length=0,u=0,a=!1}function i(e){return function(){function t(){clearTimeout(n),clearInterval(r),e()}var n=setTimeout(t,0),r=setInterval(t,50)}}t.exports=n;var s,o=[],a=!1,u=0,c=1024,l=void 0!==e?e:self,h=l.MutationObserver||l.WebKitMutationObserver;s="function"==typeof h?function(e){var t=1,n=new h(e),r=document.createTextNode("");return n.observe(r,{characterData:!0}),function(){t=-t,r.data=t}}(r):i(r),n.requestFlush=s,n.makeRequestCallFromTimer=i}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],54:[function(e,t,n){"use strict";function r(e,t,r){r=r||{},t=t||n.defaultState();for(var s=r.start||0,o=r.end||e.length,a=s;a<o;){try{i(e[a],t)}catch(e){throw e.index=a,e}a++}return t}function i(e,t){if(1!==e.length)throw(s=new Error("Character must be a string of length 1")).name="InvalidArgumentError",s.code="CHARACTER_PARSER:CHAR_LENGTH_NOT_ONE",s;(t=t||n.defaultState()).src+=e;var r=t.isComment(),i=t.history?t.history[0]:"";switch(t.regexpStart&&("/"!==e&&"*"!=e||t.stack.pop(),t.regexpStart=!1),t.current()){case h.LINE_COMMENT:"\n"===e&&t.stack.pop();break;case h.BLOCK_COMMENT:"*"===t.lastChar&&"/"===e&&t.stack.pop();break;case h.SINGLE_QUOTE:"'"!==e||t.escaped?"\\"!==e||t.escaped?t.escaped=!1:t.escaped=!0:t.stack.pop();break;case h.DOUBLE_QUOTE:'"'!==e||t.escaped?"\\"!==e||t.escaped?t.escaped=!1:t.escaped=!0:t.stack.pop();break;case h.TEMPLATE_QUOTE:"`"!==e||t.escaped?"\\"!==e||t.escaped?"$"!==e||t.escaped?"{"===e&&t.hasDollar?t.stack.push(p[e]):(t.escaped=!1,t.hasDollar=!1):t.hasDollar=!0:(t.escaped=!0,t.hasDollar=!1):(t.stack.pop(),t.hasDollar=!1);break;case h.REGEXP:"/"!==e||t.escaped?"\\"!==e||t.escaped?t.escaped=!1:t.escaped=!0:t.stack.pop();break;default:if(e in p)t.stack.push(p[e]);else if(e in f){if(t.current()!==e){var s=new SyntaxError("Mismatched Bracket: "+e);throw s.code="CHARACTER_PARSER:MISMATCHED_BRACKET",s}t.stack.pop()}else"/"===i&&"/"===e?(t.history=t.history.substr(1),t.stack.push(h.LINE_COMMENT)):"/"===i&&"*"===e?(t.history=t.history.substr(1),t.stack.push(h.BLOCK_COMMENT)):"/"===e&&c(t.history)?(t.stack.push(h.REGEXP),t.regexpStart=!0):"'"===e?t.stack.push(h.SINGLE_QUOTE):'"'===e?t.stack.push(h.DOUBLE_QUOTE):"`"===e&&t.stack.push(h.TEMPLATE_QUOTE)}return t.isComment()||r||(t.history=e+t.history),t.lastChar=e,t}function s(){this.stack=[],this.regexpStart=!1,this.escaped=!1,this.hasDollar=!1,this.src="",this.history="",this.lastChar=""}function o(e,t,n){return l(t)?t.test(e.substr(n||0)):e.substr(n||0,t.length)===t}function a(e){if(!e)return!0;switch(e.charCodeAt(0)){case 46:case 40:case 41:case 59:case 44:case 123:case 125:case 91:case 93:case 58:case 63:case 126:case 37:case 38:case 42:case 43:case 45:case 47:case 60:case 62:case 94:case 124:case 33:case 61:return!0;default:return!1}}function u(e){return"if"===e||"in"===e||"do"===e||"var"===e||"for"===e||"new"===e||"try"===e||"let"===e||"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e||"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e||"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e||"default"===e||"finally"===e||"extends"===e||"function"===e||"continue"===e||"debugger"===e||"package"===e||"private"===e||"interface"===e||"instanceof"===e||"implements"===e||"protected"===e||"public"===e||"static"===e}function c(e){return!(")"===(e=e.replace(/^\s*/,""))[0]||"}"!==e[0]&&!a(e[0])&&(!/^\w+\b/.test(e)||!u(/^\w+\b/.exec(e)[0].split("").reverse().join(""))))}var l=e("is-regex"),h=(n=t.exports=r).TOKEN_TYPES={LINE_COMMENT:"//",BLOCK_COMMENT:"/**/",SINGLE_QUOTE:"'",DOUBLE_QUOTE:'"',TEMPLATE_QUOTE:"`",REGEXP:"//g"},p=n.BRACKETS={"(":")","{":"}","[":"]"},f={")":"(","}":"{","]":"["};n.parse=r,n.parseUntil=function(e,t,r){for(var s=(r=r||{}).start||0,a=s,u=n.defaultState();a<e.length;){if((r.ignoreNesting||!u.isNesting(r))&&o(e,t,a)){var c=a;return{start:s,end:c,src:e.substring(s,c)}}try{i(e[a],u)}catch(e){throw e.index=a,e}a++}var l=new Error("The end of the string was reached with no closing bracket found.");throw l.code="CHARACTER_PARSER:END_OF_STRING_REACHED",l.index=a,l},n.parseChar=i,n.defaultState=function(){return new s},s.prototype.current=function(){return this.stack[this.stack.length-1]},s.prototype.isString=function(){return this.current()===h.SINGLE_QUOTE||this.current()===h.DOUBLE_QUOTE||this.current()===h.TEMPLATE_QUOTE},s.prototype.isComment=function(){return this.current()===h.LINE_COMMENT||this.current()===h.BLOCK_COMMENT},s.prototype.isNesting=function(e){return(!e||!e.ignoreLineComment||1!==this.stack.length||this.stack[0]!==h.LINE_COMMENT)&&!!this.stack.length},n.isPunctuator=a,n.isKeyword=u},{"is-regex":123}],55:[function(e,t,n){t.exports=e("./lib/clean")},{"./lib/clean":56}],56:[function(e,t,n){(function(n){function r(e){return void 0===e?["all"]:e}function i(e){return!T.existsSync(e)&&!/\.css$/.test(e)}function s(e){return T.existsSync(e)&&T.statSync(e).isDirectory()}function o(e){return e?{hostname:F.parse(e).hostname,port:parseInt(F.parse(e).port)}:{}}function a(e,t){function n(n){return n=t.options.debug?c(t,n):h(t,n),n=u(t,n),e?e.call(null,t.errors.length>0?t.errors:null,n):n}return function(e){return t.options.sourceMap?t.inputSourceMapTracker.track(e,function(){return t.options.sourceMapInlineSources?t.inputSourceMapTracker.resolveSources(function(){return n(e)}):n(e)}):n(e)}}function u(e,t){return t.stats=e.stats,t.errors=e.errors,t.warnings=e.warnings,t}function c(e,t){var r=n.hrtime();e.stats.originalSize=e.sourceTracker.removeAll(t).length,t=h(e,t);var i=n.hrtime(r);return e.stats.timeSpent=~~(1e3*i[0]+i[1]/1e6),e.stats.efficiency=1-t.styles.length/e.stats.originalSize,e.stats.minifiedSize=t.styles.length,t}function l(e){return function(t,r){var i=t.constructor.name+"#"+r,s=n.hrtime();e(t,r);var o=n.hrtime(s);console.log("%d ms: "+i,1e3*o[0]+o[1]/1e6)}}function h(e,t){var n=e.options,r=new b(e,n.keepSpecialComments,n.keepBreaks,n.sourceMap),i=new x(n.sourceMap),s=new _(n.sourceMap),o=new w(e,n.sourceMap,n.compatibility.properties.urlQuotes),a=n.sourceMap?y:v,u=function(e,n){t="function"==typeof e?e(t):e[n](t)};n.benchmark&&(u=l(u)),u(r,"escape"),u(i,"escape"),u(o,"escape"),u(s,"escape");var c=d(t,e);return m(c,n,e),n.advanced&&g(c,n,e,!0),a(c,n,function(t,a){return t=s.restore(t,a),t=o.restore(t),t=n.rebase?f(t,e):t,t=i.restore(t),r.restore(t)},e.inputSourceMapTracker)}var p=e("./imports/inliner"),f=e("./urls/rebase"),d=e("./tokenizer/tokenize"),m=e("./selectors/simple"),g=e("./selectors/advanced"),v=e("./stringifier/simple"),y=e("./stringifier/source-maps"),b=e("./text/comments-processor"),x=e("./text/expressions-processor"),_=e("./text/free-text-processor"),w=e("./text/urls-processor"),k=e("./utils/compatibility"),E=e("./utils/input-source-map-tracker"),A=e("./utils/source-tracker"),C=e("./utils/source-reader"),S=e("./properties/validator"),T=e("fs"),O=e("path"),F=e("url"),L=e("./utils/object").override;(t.exports=function(e){e=e||{},this.options={advanced:void 0===e.advanced||!!e.advanced,aggressiveMerging:void 0===e.aggressiveMerging||!!e.aggressiveMerging,benchmark:e.benchmark,compatibility:new k(e.compatibility).toOptions(),debug:e.debug,explicitRoot:!!e.root,explicitTarget:!!e.target,inliner:e.inliner||{},keepBreaks:e.keepBreaks||!1,keepSpecialComments:"keepSpecialComments"in e?e.keepSpecialComments:"*",mediaMerging:void 0===e.mediaMerging||!!e.mediaMerging,processImport:void 0===e.processImport||!!e.processImport,processImportFrom:r(e.processImportFrom),rebase:void 0===e.rebase||!!e.rebase,relativeTo:e.relativeTo,restructuring:void 0===e.restructuring||!!e.restructuring,root:e.root||n.cwd(),roundingPrecision:e.roundingPrecision,semanticMerging:void 0!==e.semanticMerging&&!!e.semanticMerging,shorthandCompacting:void 0===e.shorthandCompacting||!!e.shorthandCompacting,sourceMap:e.sourceMap,sourceMapInlineSources:!!e.sourceMapInlineSources,target:!e.target||i(e.target)||s(e.target)?e.target:O.dirname(e.target)},this.options.inliner.timeout=this.options.inliner.timeout||5e3,this.options.inliner.request=L(o(n.env.HTTP_PROXY||n.env.http_proxy),this.options.inliner.request||{})}).prototype.minify=function(e,t){var r={stats:{},errors:[],warnings:[],options:this.options,debug:this.options.debug,localOnly:!t,sourceTracker:new A,validator:new S(this.options.compatibility)};return r.options.sourceMap&&(r.inputSourceMapTracker=new E(r)),r.sourceReader=new C(r,e),e=r.sourceReader.toString(),r.options.processImport||e.indexOf("@shallow")>0?(t?n.nextTick:function(e){return e()})(function(){return new p(r).process(e,{localOnly:r.localOnly,imports:r.options.processImportFrom,whenDone:a(t,r)})}):a(t,r)(e)}}).call(this,e("_process"))},{"./imports/inliner":60,"./properties/validator":75,"./selectors/advanced":78,"./selectors/simple":91,"./stringifier/simple":95,"./stringifier/source-maps":96,"./text/comments-processor":97,"./text/expressions-processor":99,"./text/free-text-processor":100,"./text/urls-processor":101,"./tokenizer/tokenize":104,"./urls/rebase":105,"./utils/compatibility":109,"./utils/input-source-map-tracker":110,"./utils/object":111,"./utils/source-reader":113,"./utils/source-tracker":114,_process:17,fs:4,path:15,url:38}],57:[function(e,t,n){function r(e,t,n,r){return t+a[n.toLowerCase()]+r}function i(e,t,n){return u[t.toLowerCase()]+n}var s={},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={},u={};for(var c in o){var l=o[c];c.length<l.length?u[l]=c:a[c]=l}var h=new RegExp("(^| |,|\\))("+Object.keys(a).join("|")+")( |,|\\)|$)","ig"),p=new RegExp("("+Object.keys(u).join("|")+")([^a-f0-9]|$)","ig");s.shorten=function(e){var t=e.indexOf("#")>-1,n=e.replace(h,r);return n!=e&&(n=n.replace(h,r)),t?n.replace(p,i):n},t.exports=s},{}],58:[function(e,t,n){function r(e,t,n){this.hue=e,this.saturation=t,this.lightness=n}function i(e,t,n){var r,i,o;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=o=n;else{var a=n<.5?n*(1+t):n+t-n*t,u=2*n-a;r=s(u,a,e+1/3),i=s(u,a,e),o=s(u,a,e-1/3)}return[~~(255*r),~~(255*i),~~(255*o)]}function s(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}r.prototype.toHex=function(){var e=i(this.hue,this.saturation,this.lightness),t=e[0].toString(16),n=e[1].toString(16),r=e[2].toString(16);return"#"+(1==t.length?"0":"")+t+(1==n.length?"0":"")+n+(1==r.length?"0":"")+r},t.exports=r},{}],59:[function(e,t,n){function r(e,t,n){this.red=e,this.green=t,this.blue=n}r.prototype.toHex=function(){return"#"+("00000"+(Math.max(0,Math.min(~~this.red,255))<<16|Math.max(0,Math.min(~~this.green,255))<<8|Math.max(0,Math.min(~~this.blue,255))).toString(16)).slice(-6)},t.exports=r},{}],60:[function(e,t,n){(function(n){function r(e){this.outerContext=e}function i(e,t){if(t.shallow)return t.shallow=!1,t.done.push(e),a(t);for(var n=0,r=0,i=0,s=u(e);r<e.length&&-1!=(n=o(e,i));){if(!s(n)){if(-1==(r=e.indexOf(";",n))){i=e.length,e="";break}var h=e.substring(0,n);return t.done.push(h),t.left.unshift([e.substring(r+1),w(t,{shallow:!1})]),t.afterContent=c(h),l(e,n,r,t)}i=n+1}return t.done.push(e),a(t)}function s(e,t){return e.replace(k,function(e,n){return E.test(n)?e:e.replace(n,b.resolve(t,n))})}function o(e,t){var n=e.indexOf("@import",t),r=e.indexOf("@IMPORT",t);return n>-1&&-1==r?n:-1==n&&r>-1?r:Math.min(n,r)}function a(e){return e.left.length>0?i.apply(null,e.left.shift()):e.whenDone(e.done.join(""))}function u(e){var t=/(\/\*(?!\*\/)[\s\S]*?\*\/)/,n=0,r=0,i=!1;return function(s){var o,a=0,u=0,c=0,l=0;if(i)return!1;do{if(s>n&&s<r)return!0;if(!(o=e.match(t)))return i=!0,!1;n=a=o.index,c=(l=(u=a+o[0].length)+r)-o[0].length,e=e.substring(u),r=l}while(l<s);return l>s&&s>c}}function c(e){for(var t=u(e),n=-1;;)if(-1==(n=e.indexOf("{",n+1))||!t(n))break;return n>-1}function l(e,t,n,r){r.shallow=e.indexOf("@shallow")>0;var i=e.substring(o(e,t)+"@import".length+1,n).replace(/@shallow\)$/,")").trim(),s=0===i.indexOf("url("),u=s?4:0,l=/^['"]/.exec(i.substring(u,u+2)),m=l?i.indexOf(l[0],u+1):_(i," ")[0].length-(s?1:0),g=i.substring(u,m).replace(/['"]/g,"").replace(/\)$/,"").trim(),v=i.substring(m+1).replace(/^\)/,"").trim(),y=r.isRemote||E.test(g);return!y||!r.localOnly&&h(g,!0,r.imports)?y||h(g,!1,r.imports)?!y&&r.afterContent?(r.warnings.push('Ignoring local @import of "'+g+'" as after other CSS content.'),a(r)):(y?p:f)(g,v,r):(r.afterImport?r.warnings.push('Ignoring local @import of "'+g+'" as after other inlined content.'):d(g,v,r),a(r)):(r.afterContent||c(r.done.join(""))?r.warnings.push('Ignoring remote @import of "'+g+'" as no callback given.'):d(g,v,r),a(r))}function h(e,t,n){if(0===n.length)return!1;t&&A.test(e)&&(e="http:"+e);for(var r=t?b.parse(e).host:e,i=!0,s=0;s<n.length;s++){var o=n[s];"all"==o?i=!0:t&&"local"==o?i=!1:t&&"remote"==o?i=!0:t||"remote"!=o?t||"local"!=o?"!"==o[0]&&o.substring(1)===r&&(i=!1):i=!0:i=!1}return i}function p(e,t,r){function o(e){f||(f=!0,r.errors.push('Broken @import declaration of "'+u+'" - '+e),d(u,t,r),n.nextTick(function(){a(r)}))}var u=E.test(e)?e:b.resolve(r.relativeTo,e),c=u;if(A.test(u)&&(u="http:"+u),r.visited.indexOf(u)>-1)return a(r);r.debug&&console.error("Inlining remote stylesheet: "+u),r.visited.push(u);var l=r.inliner.request.protocol||r.inliner.request.hostname,h=l&&0!==l.indexOf("https://")||0===u.indexOf("http://")?v.get:y.get,f=!1,m=w(b.parse(u),r.inliner.request);void 0!==r.inliner.request.hostname&&(m.protocol=r.inliner.request.protocol||"http:",m.path=m.href),h(m,function(e){if(e.statusCode<200||e.statusCode>399)return o("error "+e.statusCode);if(e.statusCode>299)return p(b.resolve(u,e.headers.location),t,r);var a=[],l=b.parse(u);e.on("data",function(e){a.push(e.toString())}),e.on("end",function(){var e=a.join("");r.rebase&&(e=x(e,{toBase:c},r)),r.sourceReader.trackSource(u,e),e=r.sourceTracker.store(u,e),e=s(e,u),t.length>0&&(e="@media "+t+"{"+e+"}"),r.afterImport=!0;var o=w(r,{isRemote:!0,relativeTo:l.protocol+"//"+l.host+l.pathname});n.nextTick(function(){i(e,o)})})}).on("error",function(e){o(e.message)}).on("timeout",function(){o("timeout")}).setTimeout(r.inliner.timeout)}function f(e,t,n){var r="/"==e[0]?n.root:n.relativeTo,s=g.resolve(g.join(r,e));if(!m.existsSync(s)||!m.statSync(s).isFile())return n.errors.push('Broken @import declaration of "'+e+'"'),a(n);if(n.visited.indexOf(s)>-1)return a(n);n.debug&&console.error("Inlining local stylesheet: "+s),n.visited.push(s);var o=g.dirname(s),u=m.readFileSync(s,"utf8");if(n.rebase){var c={relative:!0,fromBase:o,toBase:n.baseRelativeTo};u=x(u,c,n)}var l=g.relative(n.root,s);return n.sourceReader.trackSource(l,u),u=n.sourceTracker.store(l,u),t.length>0&&(u="@media "+t+"{"+u+"}"),n.afterImport=!0,i(u,w(n,{relativeTo:o}))}function d(e,t,n){var r="@import url("+e+")"+(t.length>0?" "+t:"")+";";n.done.push(r)}var m=e("fs"),g=e("path"),v=e("http"),y=e("https"),b=e("url"),x=e("../urls/rewrite"),_=e("../utils/split"),w=e("../utils/object.js").override,k=/\/\*# sourceMappingURL=(\S+) \*\//,E=/^(https?:)?\/\//,A=/^\/\//;r.prototype.process=function(e,t){var n=this.outerContext.options.root;return t=w(t,{baseRelativeTo:this.outerContext.options.relativeTo||n,debug:this.outerContext.options.debug,done:[],errors:this.outerContext.errors,left:[],inliner:this.outerContext.options.inliner,rebase:this.outerContext.options.rebase,relativeTo:this.outerContext.options.relativeTo||n,root:n,sourceReader:this.outerContext.sourceReader,sourceTracker:this.outerContext.sourceTracker,warnings:this.outerContext.warnings,visited:[]}),i(e,t)},t.exports=r}).call(this,e("_process"))},{"../urls/rewrite":107,"../utils/object.js":111,"../utils/split":115,_process:17,fs:4,http:32,https:9,path:15,url:38}],61:[function(e,t,n){function r(e){return function(t){return"invert"==t[0]||e.isValidColor(t[0])}}function i(e){return function(t){return"inherit"!=t[0]&&e.isValidStyle(t[0])&&!e.isValidColorValue(t[0])}}function s(e,t,n){var r=n[e];return c(r.doubleValues&&2==r.defaultValue.length?[[e,t.important],[r.defaultValue[0]],[r.defaultValue[1]]]:r.doubleValues&&1==r.defaultValue.length?[[e,t.important],[r.defaultValue[0]]]:[[e,t.important],[r.defaultValue]])}function o(e){return function(t){return"inherit"!=t[0]&&e.isValidWidth(t[0])&&!e.isValidStyleKeyword(t[0])&&!e.isValidColorValue(t[0])}}function a(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 s=n.length-1;s>=0;s--){var o=c([[n[s],e.important]]);o.value=[i[s]],r.unshift(o)}return r}function u(e,t,n){for(var a,u,c,l=t[e.name],h=[s(l.components[0],e,t),s(l.components[1],e,t),s(l.components[2],e,t)],p=0;p<3;p++){var f=h[p];f.name.indexOf("color")>0?a=f:f.name.indexOf("style")>0?u=f:c=f}if(1==e.value.length&&"inherit"==e.value[0][0]||3==e.value.length&&"inherit"==e.value[0][0]&&"inherit"==e.value[1][0]&&"inherit"==e.value[2][0])return a.value=u.value=c.value=[e.value[0]],h;var d,m,g=e.value.slice(0);return g.length>0&&(d=(m=g.filter(o(n))).length>1&&("none"==m[0][0]||"auto"==m[0][0])?m[1]:m[0])&&(c.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(r(n))[0])&&(a.value=[d],g.splice(g.indexOf(d),1)),h}var c=e("./wrap-for-optimizing").single,l=e("./invalid-property-error"),h=e("../utils/split"),p=",";t.exports={background:function(e,t,n){var r=s("background-image",e,t),i=s("background-position",e,t),o=s("background-size",e,t),a=s("background-repeat",e,t),u=s("background-attachment",e,t),c=s("background-origin",e,t),l=s("background-clip",e,t),p=s("background-color",e,t),f=[r,i,o,a,u,c,l,p],d=e.value,m=!1,g=!1,v=!1,y=!1;if(1==e.value.length&&"inherit"==e.value[0][0])return p.value=r.value=a.value=i.value=o.value=c.value=l.value=e.value,f;for(var b=d.length-1;b>=0;b--){var x=d[b];if(n.isValidBackgroundAttachment(x[0]))u.value=[x];else if(n.isValidBackgroundBox(x[0]))g?(c.value=[x],v=!0):(l.value=[x],g=!0);else if(n.isValidBackgroundRepeat(x[0]))y?a.value.unshift(x):(a.value=[x],y=!0);else if(n.isValidBackgroundPositionPart(x[0])||n.isValidBackgroundSizePart(x[0]))if(b>0){var _=d[b-1];if(_[0].indexOf("/")>0){var w=h(_[0],"/");o.value=[[w.pop()].concat(_.slice(1)),x],d[b-1]=[w.pop()].concat(_.slice(1))}else b>1&&"/"==d[b-2][0]?(o.value=[_,x],b-=2):"/"==_[0]?o.value=[x]:(m||(i.value=[]),i.value.unshift(x),m=!0)}else m||(i.value=[]),i.value.unshift(x),m=!0;else if(n.isValidBackgroundPositionAndSize(x[0])){var k=h(x[0],"/");o.value=[[k.pop()].concat(x.slice(1))],i.value=[[k.pop()].concat(x.slice(1))]}else p.value[0][0]!=t[p.name].defaultValue&&"none"!=p.value[0][0]||!n.isValidColor(x[0])?(n.isValidUrl(x[0])||n.isValidFunction(x[0]))&&(r.value=[x]):p.value=[x]}return g&&!v&&(c.value=l.value.slice(0)),f},border:u,borderRadius:function(e,t){for(var n=e.value,r=-1,i=0,o=n.length;i<o;i++)if("/"==n[i][0]){r=i;break}if(0===r||r===n.length-1)throw new l("Invalid border-radius value.");var u=s(e.name,e,t);u.value=r>-1?n.slice(0,r):n.slice(0),u.components=a(u,t);var c=s(e.name,e,t);c.value=r>-1?n.slice(r+1):n.slice(0),c.components=a(c,t);for(var h=0;h<4;h++)u.components[h].multiplex=!0,u.components[h].value=u.components[h].value.concat(c.components[h].value);return u.components},fourValues:a,listStyle:function(e,t,n){var r=s("list-style-type",e,t),i=s("list-style-position",e,t),o=s("list-style-image",e,t),a=[r,i,o];if(1==e.value.length&&"inherit"==e.value[0][0])return r.value=i.value=o.value=[e.value[0]],a;var u=e.value.slice(0),c=u.length,l=0;for(l=0,c=u.length;l<c;l++)if(n.isValidUrl(u[l][0])||"0"==u[l][0]){o.value=[u[l]],u.splice(l,1);break}for(l=0,c=u.length;l<c;l++)if(n.isValidListStyleType(u[l][0])){r.value=[u[l]],u.splice(l,1);break}return u.length>0&&n.isValidListStylePosition(u[0][0])&&(i.value=[u[0]]),a},multiplex:function(e){return function(t,n,r){var i,o,a,u,c=[],l=t.value;for(i=0,a=l.length;i<a;i++)","==l[i][0]&&c.push(i);if(0===c.length)return e(t,n,r);var h=[];for(i=0,a=c.length;i<=a;i++){var f=0===i?0:c[i-1]+1,d=i<a?c[i]:l.length,m=s(t.name,t,n);m.value=l.slice(f,d),h.push(e(m,n,r))}var g=h[0];for(i=0,a=g.length;i<a;i++)for(g[i].multiplex=!0,o=1,u=h.length;o<u;o++)g[i].value.push([p]),Array.prototype.push.apply(g[i].value,h[o][i].value);return g}},outline:u}},{"../utils/split":115,"./invalid-property-error":67,"./wrap-for-optimizing":77}],62:[function(e,t,n){function r(e,t,n){var r=e.value[0][0],s=t.value[0][0];return!(!n.colorOpacity&&(n.isValidRgbaColor(r)||n.isValidHslaColor(r)))&&(!(!n.colorOpacity&&(n.isValidRgbaColor(s)||n.isValidHslaColor(s)))&&(!(!n.isValidNamedColor(s)&&!n.isValidHexColor(s))||!n.isValidNamedColor(r)&&!n.isValidHexColor(r)&&(!(!n.isValidRgbaColor(s)&&!n.isValidHslaColor(s))||!n.isValidRgbaColor(r)&&!n.isValidHslaColor(r)&&i(e,t,n))))}function i(e,t,n){var r=e.value[0][0],i=t.value[0][0];return!!n.areSameFunction(r,i)||r===i}t.exports={always:function(){return!0},alwaysButIntoFunction:function(e,t,n){var r=e.value[0][0],i=t.value[0][0],s=n.isValidFunction(r),o=n.isValidFunction(i);return s&&o?n.areSameFunction(r,i):!(!s&&o)},backgroundImage:function(e,t,n){var r=e.value[0][0],s=t.value[0][0];return!("none"!=s&&"inherit"!=s&&!n.isValidUrl(s))||"none"!=r&&"inherit"!=r&&!n.isValidUrl(r)&&i(e,t,n)},border:function(e,t,n){return r(e.components[2],t.components[2],n)},color:r,sameValue:function(e,t){return e.value[0][0]===t.value[0][0]},sameFunctionOrValue:i,twoOptionalFunctions:function(e,t,n){var r=e.value[0][0],i=t.value[0][0];return!(n.isValidFunction(r)^n.isValidFunction(i))},unit:function(e,t,n){var r=e.value[0][0],s=t.value[0][0];return!(n.isValidAndCompatibleUnitWithoutFunction(r)&&!n.isValidAndCompatibleUnitWithoutFunction(s))&&(!!n.isValidUnitWithoutFunction(s)||!n.isValidUnitWithoutFunction(r)&&(!(!n.isValidFunctionWithoutVendorPrefix(s)||!n.isValidFunctionWithoutVendorPrefix(r))||i(e,t,n)))}}},{}],63:[function(e,t,n){function r(e){var t=i([[e.name,e.important,e.hack]]);return t.unused=!1,t}var i=e("./wrap-for-optimizing").single;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}},{"./wrap-for-optimizing":77}],64:[function(e,t,n){var r=e("./break-up"),i=e("./can-override"),s=e("./restore"),o={color:{canOverride:i.color,defaultValue:"transparent",shortestValue:"red"},background:{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:s.multiplex(s.background),shortestValue:"0",shorthand:!0},"background-clip":{canOverride:i.always,defaultValue:"border-box",shortestValue:"border-box"},"background-color":{canOverride:i.color,defaultValue:"transparent",multiplexLastOnly:!0,nonMergeableValue:"none",shortestValue:"red"},"background-image":{canOverride:i.backgroundImage,defaultValue:"none"},"background-origin":{canOverride:i.always,defaultValue:"padding-box",shortestValue:"border-box"},"background-repeat":{canOverride:i.always,defaultValue:["repeat"],doubleValues:!0},"background-position":{canOverride:i.alwaysButIntoFunction,defaultValue:["0","0"],doubleValues:!0,shortestValue:"0"},"background-size":{canOverride:i.alwaysButIntoFunction,defaultValue:["auto"],doubleValues:!0,shortestValue:"0 0"},"background-attachment":{canOverride:i.always,defaultValue:"scroll"},border:{breakUp:r.border,canOverride:i.border,components:["border-width","border-style","border-color"],defaultValue:"none",restore:s.withoutDefaults,shorthand:!0},"border-color":{canOverride:i.color,defaultValue:"none",shorthand:!0},"border-style":{canOverride:i.always,defaultValue:"none",shorthand:!0},"border-width":{canOverride:i.unit,defaultValue:"medium",shortestValue:"0",shorthand:!0},"list-style":{components:["list-style-type","list-style-position","list-style-image"],canOverride:i.always,breakUp:r.listStyle,restore:s.withoutDefaults,defaultValue:"outside",shortestValue:"none",shorthand:!0},"list-style-type":{canOverride:i.always,defaultValue:"__hack",shortestValue:"none"},"list-style-position":{canOverride:i.always,defaultValue:"outside",shortestValue:"inside"},"list-style-image":{canOverride:i.always,defaultValue:"none"},outline:{components:["outline-color","outline-style","outline-width"],breakUp:r.outline,restore:s.withoutDefaults,defaultValue:"0",shorthand:!0},"outline-color":{canOverride:i.color,defaultValue:"invert",shortestValue:"red"},"outline-style":{canOverride:i.always,defaultValue:"none"},"outline-width":{canOverride:i.unit,defaultValue:"medium",shortestValue:"0"},"-moz-transform":{canOverride:i.sameFunctionOrValue},"-ms-transform":{canOverride:i.sameFunctionOrValue},"-webkit-transform":{canOverride:i.sameFunctionOrValue},transform:{canOverride:i.sameFunctionOrValue}},a=function(e,t,n){n=n||{},o[e]={canOverride:n.canOverride,components:t,breakUp:n.breakUp||r.fourValues,defaultValue:n.defaultValue||"0",restore:n.restore||s.fourValues,shortestValue:n.shortestValue,shorthand:!0};for(var a=0;a<t.length;a++)o[t[a]]={breakUp:n.breakUp||r.fourValues,canOverride:n.canOverride||i.unit,defaultValue:n.defaultValue||"0",shortestValue:n.shortestValue}};["","-moz-","-o-"].forEach(function(e){a(e+"border-radius",[e+"border-top-left-radius",e+"border-top-right-radius",e+"border-bottom-right-radius",e+"border-bottom-left-radius"],{breakUp:r.borderRadius,restore:s.borderRadius})}),a("border-color",["border-top-color","border-right-color","border-bottom-color","border-left-color"],{breakUp:r.fourValues,canOverride:i.color,defaultValue:"none",shortestValue:"red"}),a("border-style",["border-top-style","border-right-style","border-bottom-style","border-left-style"],{breakUp:r.fourValues,canOverride:i.always,defaultValue:"none"}),a("border-width",["border-top-width","border-right-width","border-bottom-width","border-left-width"],{defaultValue:"medium",shortestValue:"0"}),a("padding",["padding-top","padding-right","padding-bottom","padding-left"]),a("margin",["margin-top","margin-right","margin-bottom","margin-left"]);for(var u in o)if(o[u].shorthand)for(var c=0,l=o[u].components.length;c<l;c++)o[o[u].components[c]].componentOf=u;t.exports=o},{"./break-up":61,"./can-override":62,"./restore":73}],65:[function(e,t,n){var r=e("./clone").shallow,i=",";t.exports=function(e,t,n,s){for(var o=!(t.shorthand||n.shorthand||t.multiplex||n.multiplex),a=r(t),u=r(n),c=0,l=t.value.length;c<l;c++)for(var h=0,p=n.value.length;h<p;h++)if(t.value[c][0]!=i&&n.value[h][0]!=i&&!(o&&c!=h||(a.value=[t.value[c]],u.value=[n.value[h]],e(a,u,s))))return!1;return!0}},{"./clone":63}],66:[function(e,t,n){t.exports=function(e){for(var t=e.value.length-1;t>=0;t--)if("inherit"==e.value[t][0])return!0;return!1}},{}],67:[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},{}],68:[function(e,t,n){function r(e,t,n,r){var i,o,a={},u=null;e:for(var c=0,l=e.length;c<l;c++){var h=e[c],d=!("-ms-filter"!=h.name&&"filter"!=h.name||"background"!=u&&"background-image"!=u)?u:h.name,m=h.important,g=h.hack;if(!h.unused)if(c>0&&i&&d==u&&m==i.important&&g==i.hack&&function(t){var n=e[t-1],r=e[t];return p(n.all,n.position)==p(r.all,r.position)}(c)&&!i.unused)h.unused=!0;else{if(d in a&&(n&&d!=u||function(e){return!1===t||!0===t?t:t.indexOf(e)>-1}(c))){var v=a[d],y=s[d]&&s[d].canOverride,b=!1;for(o=v.length-1;o>=0;o--){var x=e[v[o]],_=x.name!=d,w=x.important,k=x.hack;if(!x.unused&&((!_||!w)&&(w||!(k&&!g||!k&&g))&&(!w||"star"!=g&&"underscore"!=g)&&(k||g||_||!y||y(x,h,r)))){if(w&&!m||w&&g){h.unused=!0,i=h;continue e}b=!0,x.unused=!0}}if(b){c=-1,i=null,u=null,a={};continue}}else{a[d]=a[d]||[],a[d].push(c);var E=f[d];if(E)for(o=E.length-1;o>=0;o--){var A=E[o];a[A]=a[A]||[],a[A].push(c)}}u=d,i=h}}}function i(e,t,n,s,p,f){var d=f.validator,m=f.warnings,g=o(t);a(g,d,m),r(g,n,p.aggressiveMerging,d);for(var v=0,y=g.length;v<y;v++){var b=g[v];b.variable&&b.block&&i(e,b.value[0],n,s,p,f)}s&&p.shorthandCompacting&&(u(g,p.compatibility,d),c(g,p.sourceMap,d)),h(g),l(g)}var s=e("./compactable"),o=e("./wrap-for-optimizing").all,a=e("./populate-components"),u=e("./override-compactor"),c=e("./shorthand-compactor"),l=e("./remove-unused"),h=e("./restore-from-optimizing"),p=e("../stringifier/one-time").property,f={"animation-delay":["animation"],"animation-direction":["animation"],"animation-duration":["animation"],"animation-fill-mode":["animation"],"animation-iteration-count":["animation"],"animation-name":["animation"],"animation-play-state":["animation"],"animation-timing-function":["animation"],"-moz-animation-delay":["-moz-animation"],"-moz-animation-direction":["-moz-animation"],"-moz-animation-duration":["-moz-animation"],"-moz-animation-fill-mode":["-moz-animation"],"-moz-animation-iteration-count":["-moz-animation"],"-moz-animation-name":["-moz-animation"],"-moz-animation-play-state":["-moz-animation"],"-moz-animation-timing-function":["-moz-animation"],"-o-animation-delay":["-o-animation"],"-o-animation-direction":["-o-animation"],"-o-animation-duration":["-o-animation"],"-o-animation-fill-mode":["-o-animation"],"-o-animation-iteration-count":["-o-animation"],"-o-animation-name":["-o-animation"],"-o-animation-play-state":["-o-animation"],"-o-animation-timing-function":["-o-animation"],"-webkit-animation-delay":["-webkit-animation"],"-webkit-animation-direction":["-webkit-animation"],"-webkit-animation-duration":["-webkit-animation"],"-webkit-animation-fill-mode":["-webkit-animation"],"-webkit-animation-iteration-count":["-webkit-animation"],"-webkit-animation-name":["-webkit-animation"],"-webkit-animation-play-state":["-webkit-animation"],"-webkit-animation-timing-function":["-webkit-animation"],"border-color":["border"],"border-style":["border"],"border-width":["border"],"border-bottom":["border"],"border-bottom-color":["border-bottom","border-color","border"],"border-bottom-style":["border-bottom","border-style","border"],"border-bottom-width":["border-bottom","border-width","border"],"border-left":["border"],"border-left-color":["border-left","border-color","border"],"border-left-style":["border-left","border-style","border"],"border-left-width":["border-left","border-width","border"],"border-right":["border"],"border-right-color":["border-right","border-color","border"],"border-right-style":["border-right","border-style","border"],"border-right-width":["border-right","border-width","border"],"border-top":["border"],"border-top-color":["border-top","border-color","border"],"border-top-style":["border-top","border-style","border"],"border-top-width":["border-top","border-width","border"],"font-family":["font"],"font-size":["font"],"font-style":["font"],"font-variant":["font"],"font-weight":["font"],"transition-delay":["transition"],"transition-duration":["transition"],"transition-property":["transition"],"transition-timing-function":["transition"],"-moz-transition-delay":["-moz-transition"],"-moz-transition-duration":["-moz-transition"],"-moz-transition-property":["-moz-transition"],"-moz-transition-timing-function":["-moz-transition"],"-o-transition-delay":["-o-transition"],"-o-transition-duration":["-o-transition"],"-o-transition-property":["-o-transition"],"-o-transition-timing-function":["-o-transition"],"-webkit-transition-delay":["-webkit-transition"],"-webkit-transition-duration":["-webkit-transition"],"-webkit-transition-property":["-webkit-transition"],"-webkit-transition-timing-function":["-webkit-transition"]};t.exports=i},{"../stringifier/one-time":94,"./compactable":64,"./override-compactor":69,"./populate-components":70,"./remove-unused":71,"./restore-from-optimizing":72,"./shorthand-compactor":74,"./wrap-for-optimizing":77}],69:[function(e,t,n){function r(e){return function(t){return e.name===t.name}}function i(e,t){for(var n=0;n<e.components.length;n++){var r=e.components[n],i=k[r.name],s=i&&i.canOverride||s.sameValue,o=A(r);if(o.value=[[i.defaultValue]],!s(o,r,t))return!0}return!1}function s(e,t){return k[e.name].components.indexOf(t.name)>-1}function o(e,t){t.unused=!0,h(t,p(e)),e.value=t.value}function a(e,t){t.unused=!0,e.multiplex=!0,e.value=t.value}function u(e,t){t.unused=!0,e.value=t.value}function c(e,t){t.multiplex?a(e,t):e.multiplex?o(e,t):u(e,t)}function l(e,t){t.unused=!0;for(var n=0,r=e.components.length;n<r;n++)c(e.components[n],t.components[n],e.multiplex)}function h(e,t){e.multiplex=!0;for(var n=0,r=e.components.length;n<r;n++){var i=e.components[n];if(!i.multiplex)for(var s=i.value.slice(0),o=1;o<t;o++)i.value.push([L]),Array.prototype.push.apply(i.value,s)}}function p(e){for(var t=0,n=0,r=e.value.length;n<r;n++)e.value[n][0]==L&&t++;return t+1}function f(e){var t=[[e.name]].concat(e.value);return F([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.isValidFunction,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][0]!=L&&e(t.value[n][0]))return!0;return!1}function v(e,t){if(!e.multiplex&&!t.multiplex||e.multiplex&&t.multiplex)return!1;var n,i=e.multiplex?e:t,s=e.multiplex?t:e,u=E(i);S([u]);var c=E(s);S([c]);var l=f(u)+1+f(c);return e.multiplex?o(n=u.components.filter(r(c))[0],c):(n=c.components.filter(r(u))[0],h(c,p(u)),a(n,u)),S([c]),l<f(c)}function y(e){return e.name in k}function b(e,t){return!e.multiplex&&("background"==e.name||"background-image"==e.name)&&t.multiplex&&("background"==t.name||"background-image"==t.name)&&x(t.value)}function x(e){for(var t=_(e),n=0,r=t.length;n<r;n++)if(1==t[n].length&&"none"==t[n][0][0])return!0;return!1}function _(e){for(var t=[],n=0,r=[],i=e.length;n<i;n++){var s=e[n];s[0]==L?(t.push(r),r=[]):r.push(s)}return t.push(r),t}var w=e("./can-override"),k=e("./compactable"),E=e("./clone").deep,A=e("./clone").shallow,C=e("./has-inherit"),S=e("./restore-from-optimizing"),T=e("./every-combination"),O=e("./vendor-prefixes").same,F=e("../stringifier/one-time").property,L=",";t.exports=function(e,t,n){var o,a,u,f,x,_,E;e:for(x=e.length-1;x>=0;x--)if(a=e[x],y(a)&&!a.variable)for(o=k[a.name].canOverride||w.sameValue,_=x-1;_>=0;_--)if(u=e[_],y(u)&&!(u.variable||u.unused||a.unused||u.hack&&!a.hack||!u.hack&&a.hack||C(a)||b(u,a)))if(!u.shorthand&&a.shorthand&&s(a,u)){if(!a.important&&u.important)continue;if(!O([u],a.components))continue;if(!g(n.isValidFunction,u)&&m(a,n))continue;f=a.components.filter(r(u))[0],o=k[u.name]&&k[u.name].canOverride||w.sameValue,T(o,u,f,n)&&(u.unused=!0)}else if(u.shorthand&&!a.shorthand&&s(u,a)){if(a.important&&!u.important)continue;if(!a.important&&u.important){a.unused=!0;continue}if(d(e,x-1,u.name))continue;if(m(u,n))continue;if(f=u.components.filter(r(a))[0],T(o,f,a,n)){var A=!t.properties.backgroundClipMerging&&f.name.indexOf("background-clip")>-1||!t.properties.backgroundOriginMerging&&f.name.indexOf("background-origin")>-1||!t.properties.backgroundSizeMerging&&f.name.indexOf("background-size")>-1,S=k[a.name].nonMergeableValue===a.value[0][0];if(A||S)continue;if(!t.properties.merging&&i(u,n))continue;if(f.value[0][0]!=a.value[0][0]&&(C(u)||C(a)))continue;if(v(u,a))continue;!u.multiplex&&a.multiplex&&h(u,p(a)),c(f,a),u.dirty=!0}}else if(u.shorthand&&a.shorthand&&u.name==a.name){if(!u.multiplex&&a.multiplex)continue;if(!a.important&&u.important){a.unused=!0;continue e}if(a.important&&!u.important){u.unused=!0;continue}for(E=u.components.length-1;E>=0;E--){var F=u.components[E],L=a.components[E];if(o=k[F.name].canOverride||w.sameValue,!T(o,F,L,n))continue e;if(!T(w.twoOptionalFunctions,F,L,n)&&n.isValidFunction(L))continue e}l(u,a),u.dirty=!0}else if(u.shorthand&&a.shorthand&&s(u,a)){if(!u.important&&a.important)continue;if(f=u.components.filter(r(a))[0],o=k[a.name].canOverride||w.sameValue,!T(o,f,a,n))continue;if(u.important&&!a.important){a.unused=!0;continue}if(k[a.name].restore(a,k).length>1)continue;c(f=u.components.filter(r(a))[0],a),a.dirty=!0}else if(u.name==a.name){if(u.important&&!a.important){a.unused=!0;continue}if(o=k[a.name].canOverride||w.sameValue,!T(o,u,a,n))continue;u.unused=!0}}},{"../stringifier/one-time":94,"./can-override":62,"./clone":63,"./compactable":64,"./every-combination":65,"./has-inherit":66,"./restore-from-optimizing":72,"./vendor-prefixes":76}],70:[function(e,t,n){var r=e("./compactable"),i=e("./invalid-property-error");t.exports=function(e,t,n){for(var s=e.length-1;s>=0;s--){var o=e[s],a=r[o.name];if(a&&a.shorthand){o.shorthand=!0,o.dirty=!0;try{o.components=a.breakUp(o,r,t)}catch(e){if(!(e instanceof i))throw e;o.components=[],n.push(e.message)}o.components.length>0?o.multiplex=o.components[0].multiplex:o.unused=!0}}}},{"./compactable":64,"./invalid-property-error":67}],71:[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)}}},{}],72:[function(e,t,n){function r(e){e.value[e.value.length-1][0]+=a}function i(e){"underscore"==e.hack?e.name=c+e.name:"star"==e.hack?e.name=u+e.name:"backslash"==e.hack?e.value[e.value.length-1][0]+=o:"bang"==e.hack&&(e.value[e.value.length-1][0]+=" "+l)}var s=e("./compactable"),o="\\9",a="!important",u="*",c="_",l="!ie";t.exports=function(e,t){for(var n=e.length-1;n>=0;n--){var o,a=e[n],u=s[a.name];if(!a.unused&&(a.dirty||a.important||a.hack)&&(!t&&u&&u.shorthand?(o=u.restore(a,s),a.value=o):o=a.value,a.important&&r(a),a.hack&&i(a),"all"in a)){var c=a.all[a.position];c[0][0]=a.name,c.splice(1,c.length-1),Array.prototype.push.apply(c,o)}}}},{"./compactable":64}],73:[function(e,t,n){function r(e){for(var t=0,n=e.length;t<n;t++){var r=e[t][0];if("inherit"!=r&&r!=o&&r!=a)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],s=t[3].value[0];return n[0]==r[0]&&n[0]==i[0]&&n[0]==s[0]?[n]:n[0]==i[0]&&r[0]==s[0]?[n,r]:r[0]==s[0]?[n,r,i]:[n,r,i,s]}var s=e("./clone").shallow,o=",",a="/";t.exports={background:function(e,t,n){function i(e){Array.prototype.unshift.apply(l,e.value)}function s(e){var n=t[e.name];return n.doubleValues?1==n.defaultValue.length?e.value[0][0]==n.defaultValue[0]&&(!e.value[1]||e.value[1][0]==n.defaultValue[0]):e.value[0][0]==n.defaultValue[0]&&(e.value[1]?e.value[1][0]:e.value[0][0])==n.defaultValue[1]:e.value[0][0]==n.defaultValue}for(var o,u,c=e.components,l=[],h=c.length-1;h>=0;h--){var p=c[h],f=s(p);if("background-clip"==p.name){var d=c[h-1],m=s(d);u=!(o=p.value[0][0]==d.value[0][0])&&(m&&!f||!m&&!f||!m&&f&&p.value[0][0]!=d.value[0][0]),o?i(d):u&&(i(p),i(d)),h--}else if("background-size"==p.name){var g=c[h-1],v=s(g);u=!(o=!v&&f)&&(v&&!f||!v&&!f),o?i(g):u?(i(p),l.unshift([a]),i(g)):1==g.value.length&&i(g),h--}else{if(f||t[p.name].multiplexLastOnly&&!n)continue;i(p)}}return 0===l.length&&1==e.value.length&&"0"==e.value[0][0]&&l.push(e.value[0]),0===l.length&&l.push([t[e.name].defaultValue]),r(l)?[l[0]]:l},borderRadius:function(e,t){if(e.multiplex){for(var n=s(e),r=s(e),o=0;o<4;o++){var a=e.components[o],u=s(e);u.value=[a.value[0]],n.components.push(u);var c=s(e);c.value=[a.value[1]||a.value[0]],r.components.push(c)}var l=i(n),h=i(r);return l.length!=h.length||l[0][0]!=h[0][0]||l.length>1&&l[1][0]!=h[1][0]||l.length>2&&l[2][0]!=h[2][0]||l.length>3&&l[3][0]!=h[3][0]?l.concat([["/"]]).concat(h):l}return i(e)},fourValues:i,multiplex:function(e){return function(t,n){if(!t.multiplex)return e(t,n,!0);var r,i,a=0,u=[],c={};for(r=0,i=t.components[0].value.length;r<i;r++)t.components[0].value[r][0]==o&&a++;for(r=0;r<=a;r++){for(var l=s(t),h=0,p=t.components.length;h<p;h++){var f=t.components[h],d=s(f);l.components.push(d);for(var m=c[d.name]||0,g=f.value.length;m<g;m++){if(f.value[m][0]==o){c[d.name]=m+1;break}d.value.push(f.value[m])}}var v=e(l,n,r==a);Array.prototype.push.apply(u,v),r<a&&u.push([","])}return u}},withoutDefaults:function(e,t){for(var n=e.components,i=[],s=n.length-1;s>=0;s--){var o=n[s],a=t[o.name];o.value[0][0]!=a.defaultValue&&i.unshift(o.value[0])}return 0===i.length&&i.push([t[e.name].defaultValue]),r(i)?[i[0]]:i}}},{"./clone":63}],74:[function(e,t,n){function r(e){var t;for(var n in e){if(void 0!==t&&e[n].important!=t)return!0;t=e[n].important}return!1}function i(e){var t=[];for(var n in e){var r=e[n],i=r.all[r.position],s=i[0][i[0].length-1];Array.isArray(s)&&Array.prototype.push.apply(t,s)}return t}function s(e,t,n,r,s){var o,f=a[n],d=[[n],[f.defaultValue]],m=h(d);m.shorthand=!0,m.dirty=!0,l([m],s,[]);for(var g=0,v=f.components.length;g<v;g++){var y=t[f.components[g]],b=a[y.name].canOverride;if(c(y))return;if(!p(b,m.components[g],y,s))return;m.components[g]=u(y),m.important=y.important,o=y.all}for(var x in t)t[x].unused=!0;if(r){var _=i(t);_.length>0&&d[0].push(_)}m.position=o.length,m.all=o,m.all.push(d),e.push(m)}function o(e,t,n,i,o){var u=e[t];for(var c in n)if(void 0===u||c!=u.name){var l=a[c],h=n[c];l.components.length>Object.keys(h).length?delete n[c]:r(h)||s(e,h,c,i,o)}}var a=e("./compactable"),u=e("./clone").deep,c=e("./has-inherit"),l=e("./populate-components"),h=e("./wrap-for-optimizing").single,p=e("./every-combination");t.exports=function(e,t,n){var r={};if(!(e.length<3)){for(var i=0,s=e.length;i<s;i++){var u=e[i];if(!u.unused&&!u.hack&&!u.variable){var c=a[u.name];if(c&&c.componentOf)if(u.shorthand)o(e,i,r,t,n);else{var l=c.componentOf;r[l]=r[l]||{},r[l][u.name]=u}}}o(e,i,r,t,n)}}},{"./clone":63,"./compactable":64,"./every-combination":65,"./has-inherit":66,"./populate-components":70,"./wrap-for-optimizing":77}],75:[function(e,t,n){function r(e){var t="(\\-?\\.?\\d+\\.?\\d*("+o.slice(0).filter(function(t){return!(t in e.units)||!0===e.units[t]}).join("|")+"|)|auto|inherit)";this.compatibleCssUnitRegex=new RegExp("^"+t+"$","i"),this.compatibleCssUnitAnyRegex=new RegExp("^(none|"+s.join("|")+"|"+t+"|"+l+"|"+u+"|"+c+")$","i"),this.colorOpacity=e.colors.opacity}var i=e("../utils/split"),s=["thin","thick","medium","inherit","initial"],o=["px","%","em","in","cm","mm","ex","pt","pc","ch","rem","vh","vm","vmin","vmax","vw"],a="(\\-?\\.?\\d+\\.?\\d*("+o.join("|")+"|)|auto|inherit)",u="[A-Z]+(\\-|[A-Z]|[0-9])+\\(.*?\\)",c="\\-(\\-|[A-Z]|[0-9])+\\(.*?\\)",l="var\\(\\-\\-[^\\)]+\\)",h="("+l+"|"+u+"|"+c+")",p="("+a+"|(\\-moz\\-|\\-webkit\\-)?calc\\([^\\)]+\\))",f="(none|"+s.join("|")+"|"+a+"|"+l+"|"+u+"|"+c+")",d=new RegExp("^"+u+"$","i"),m=new RegExp("^"+c+"$","i"),g=new RegExp("^"+l+"$","i"),v=new RegExp("^"+h+"$","i"),y=new RegExp("^"+a+"$","i"),b=new RegExp("^"+p+"$","i"),x=new RegExp("^"+f+"$","i"),_=["repeat","no-repeat","repeat-x","repeat-y","inherit"],w=["inherit","scroll","fixed","local"],k=["center","top","bottom","left","right"],E=["contain","cover"],A=["border-box","content-box","padding-box"],C=["auto","inherit","hidden","none","dotted","dashed","solid","double","groove","ridge","inset","outset"],S=["armenian","circle","cjk-ideographic","decimal","decimal-leading-zero","disc","georgian","hebrew","hiragana","hiragana-iroha","inherit","katakana","katakana-iroha","lower-alpha","lower-greek","lower-latin","lower-roman","none","square","upper-alpha","upper-latin","upper-roman"],T=["inside","outside","inherit"];r.prototype.isValidHexColor=function(e){return(4===e.length||7===e.length)&&"#"===e[0]},r.prototype.isValidRgbaColor=function(e){return(e=e.split(" ").join("")).length>0&&0===e.indexOf("rgba(")&&e.indexOf(")")===e.length-1},r.prototype.isValidHslaColor=function(e){return(e=e.split(" ").join("")).length>0&&0===e.indexOf("hsla(")&&e.indexOf(")")===e.length-1},r.prototype.isValidNamedColor=function(e){return"auto"!==e&&("transparent"===e||"inherit"===e||/^[a-zA-Z]+$/.test(e))},r.prototype.isValidVariable=function(e){return g.test(e)},r.prototype.isValidColor=function(e){return this.isValidNamedColor(e)||this.isValidColorValue(e)||this.isValidVariable(e)||this.isValidVendorPrefixedValue(e)},r.prototype.isValidColorValue=function(e){return this.isValidHexColor(e)||this.isValidRgbaColor(e)||this.isValidHslaColor(e)},r.prototype.isValidUrl=function(e){return 0===e.indexOf("__ESCAPED_URL_CLEAN_CSS")},r.prototype.isValidUnit=function(e){return x.test(e)},r.prototype.isValidUnitWithoutFunction=function(e){return y.test(e)},r.prototype.isValidAndCompatibleUnit=function(e){return this.compatibleCssUnitAnyRegex.test(e)},r.prototype.isValidAndCompatibleUnitWithoutFunction=function(e){return this.compatibleCssUnitRegex.test(e)},r.prototype.isValidFunctionWithoutVendorPrefix=function(e){return d.test(e)},r.prototype.isValidFunctionWithVendorPrefix=function(e){return m.test(e)},r.prototype.isValidFunction=function(e){return v.test(e)},r.prototype.isValidBackgroundRepeat=function(e){return _.indexOf(e)>=0||this.isValidVariable(e)},r.prototype.isValidBackgroundAttachment=function(e){return w.indexOf(e)>=0||this.isValidVariable(e)},r.prototype.isValidBackgroundBox=function(e){return A.indexOf(e)>=0||this.isValidVariable(e)},r.prototype.isValidBackgroundPositionPart=function(e){return k.indexOf(e)>=0||b.test(e)||this.isValidVariable(e)},r.prototype.isValidBackgroundPosition=function(e){if("inherit"===e)return!0;for(var t=e.split(" "),n=0,r=t.length;n<r;n++)if(""!==t[n]&&!this.isValidBackgroundPositionPart(t[n])&&!this.isValidVariable(t[n]))return!1;return!0},r.prototype.isValidBackgroundSizePart=function(e){return E.indexOf(e)>=0||y.test(e)||this.isValidVariable(e)},r.prototype.isValidBackgroundPositionAndSize=function(e){if(e.indexOf("/")<0)return!1;var t=i(e,"/");return this.isValidBackgroundSizePart(t.pop())&&this.isValidBackgroundPositionPart(t.pop())},r.prototype.isValidListStyleType=function(e){return S.indexOf(e)>=0||this.isValidVariable(e)},r.prototype.isValidListStylePosition=function(e){return T.indexOf(e)>=0||this.isValidVariable(e)},r.prototype.isValidStyle=function(e){return this.isValidStyleKeyword(e)||this.isValidVariable(e)},r.prototype.isValidStyleKeyword=function(e){return C.indexOf(e)>=0},r.prototype.isValidWidth=function(e){return this.isValidUnit(e)||this.isValidWidthKeyword(e)||this.isValidVariable(e)},r.prototype.isValidWidthKeyword=function(e){return s.indexOf(e)>=0},r.prototype.isValidVendorPrefixedValue=function(e){return/^-([A-Za-z0-9]|-)*$/gi.test(e)},r.prototype.areSameFunction=function(e,t){return!(!this.isValidFunction(e)||!this.isValidFunction(t))&&e.substring(0,e.indexOf("("))===t.substring(0,t.indexOf("("))},t.exports=r},{"../utils/split":115}],76:[function(e,t,n){function r(e){for(var t=[],n=0,r=e.length;n<r;n++)for(var s=e[n],o=0,a=s.value.length;o<a;o++){var u=i.exec(s.value[o][0]);u&&-1==t.indexOf(u[0])&&t.push(u[0])}return t}var i=/$\-moz\-|\-ms\-|\-o\-|\-webkit\-/;t.exports={same:function(e,t){return r(e).sort().join(",")==r(t).sort().join(",")}}},{}],77:[function(e,t,n){function r(e){for(var t=1,n=e.length;t<n;t++)if(","==e[t][0]||"/"==e[t][0])return!0;return!1}function i(e){var t=!1,n=e[0][0],r=e[e.length-1];return n[0]==d?t="underscore":n[0]==f?t="star":r[0][0]!=m||r[0].match(h)?r[0].indexOf(m)>0&&!r[0].match(h)?t="bang":r[0].indexOf(l)>0&&r[0].indexOf(l)==r[0].length-l.length-1?t="backslash":0===r[0].indexOf(l)&&2==r[0].length&&(t="backslash"):t="bang",t}function s(e){if(e.length>1){var t=e[e.length-1][0];if("string"==typeof t)return p.test(t)}return!1}function o(e){e.length>0&&(e[e.length-1][0]=e[e.length-1][0].replace(p,""))}function a(e){e[0][0]=e[0][0].substring(1)}function u(e,t){var n=e[e.length-1];n[0]=n[0].substring(0,n[0].indexOf("backslash"==t?l:m)).trim(),0===n[0].length&&e.pop()}function c(e){var t=s(e);t&&o(e);var n=i(e);"star"==n||"underscore"==n?a(e):"backslash"!=n&&"bang"!=n||u(e,n);var c=0===e[0][0].indexOf("--");return{block:c&&e[1]&&Array.isArray(e[1][0][0]),components:[],dirty:!1,hack:n,important:t,name:e[0][0],multiplex:e.length>2&&r(e),position:0,shorthand:!1,unused:e.length<2,value:e.slice(1),variable:c}}var l="\\",h=new RegExp("important$","i"),p=new RegExp("!important$","i"),f="*",d="_",m="!";t.exports={all:function(e){for(var t=[],n=e.length-1;n>=0;n--)if("string"!=typeof e[n][0]){var r=c(e[n]);r.all=e,r.position=n,t.unshift(r)}return t},single:c}},{}],78:[function(e,t,n){function r(e){for(var t=0,n=e.length;t<n;t++){var i=e[t],s=!1;switch(i[0]){case"selector":s=0===i[1].length||0===i[2].length;break;case"block":r(i[2]),s=0===i[2].length}s&&(e.splice(t,1),t--,n--)}}function i(e,t,n){for(var r=0,i=e.length;r<i;r++){var s=e[r];if("block"==s[0]){var a=/@(-moz-|-o-|-webkit-)?keyframes/.test(s[1][0]);o(s[2],t,n,!a)}}}function s(e,t,n){for(var r=0,i=e.length;r<i;r++){var o=e[r];switch(o[0]){case"selector":a(o[1],o[2],!1,!0,t,n);break;case"block":s(o[2],t,n)}}}function o(e,t,n,a){if(i(e,t,n),s(e,t,n),u(e),c(e,t,n),l(e,t,n),h(e,t,n),p(e,t),t.restructuring&&a&&(f(e,t),c(e,t,n)),t.mediaMerging){d(e);for(var g=m(e),v=g.length-1;v>=0;v--)o(g[v][2],t,n,!1)}r(e)}var a=e("../properties/optimizer"),u=e("./remove-duplicates"),c=e("./merge-adjacent"),l=e("./reduce-non-adjacent"),h=e("./merge-non-adjacent-by-selector"),p=e("./merge-non-adjacent-by-body"),f=e("./restructure"),d=e("./remove-duplicate-media-queries"),m=e("./merge-media-queries");t.exports=o},{"../properties/optimizer":68,"./merge-adjacent":82,"./merge-media-queries":83,"./merge-non-adjacent-by-body":84,"./merge-non-adjacent-by-selector":85,"./reduce-non-adjacent":86,"./remove-duplicate-media-queries":87,"./remove-duplicates":88,"./restructure":90}],79:[function(e,t,n){function r(e,t){return"["+t.replace(/ /g,"")+"]"}function i(e,t){return e[0]>t[0]?1:-1}function s(e,t,n,r){return t&&n&&r.length?t+n+" ":t&&n?t+n:n}var o={selectors:function(e,t,n){for(var o=[],a=[],u=0,c=e.length;u<c;u++){var l=e[u],h=l[0].replace(/\s+/g," ").replace(/ ?, ?/g,",").replace(/\s*(\\)?([>+~])(\s*)/g,s).trim();n&&h.indexOf("nav")>0&&(h=h.replace(/\+nav(\S|$)/,"+ nav$1")),(!t||-1==h.indexOf("*+html ")&&-1==h.indexOf("*:first-child+html "))&&(h.indexOf("*")>-1&&(h=h.replace(/\*([:#\.\[])/g,"$1").replace(/^(\:first\-child)?\+html/,"*$1+html")),h.indexOf("[")>-1&&(h=h.replace(/\[([^\]]+)\]/g,r)),-1==a.indexOf(h)&&(l[0]=h,a.push(h),o.push(l)))}return o.sort(i)},selectorDuplicates:function(e){for(var t=[],n=[],r=0,s=e.length;r<s;r++){var o=e[r];-1==n.indexOf(o[0])&&(n.push(o[0]),t.push(o))}return t.sort(i)},block:function(e,t){e[0]=e[0].replace(/\s+/g," ").replace(/(,|:|\() /g,"$1").replace(/ \)/g,")"),t||(e[0]=e[0].replace(/\) /g,")"))},atRule:function(e){e[0]=e[0].replace(/\s+/g," ").trim()}};t.exports=o},{}],80:[function(e,t,n){function r(e){var t=[];if("selector"==e[0])for(var n=!/[\.\+>~]/.test(s(e[1])),u=0,c=e[2].length;u<c;u++){var l=e[2][u];if(0!==l.indexOf("__ESCAPED")&&l[0]!=a){var h=e[2][u][0][0];if(0!==h.length&&0!==h.indexOf("--")){var p=o(e[2],u);t.push([h,p,i(h),e[2][u],h+":"+p,e[1],n])}}}else if("block"==e[0])for(var f=0,d=e[2].length;f<d;f++)t=t.concat(r(e[2][f]));return t}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:e.replace(/^\-\w+\-/,"").match(/([a-zA-Z]+)/)[0].toLowerCase()}var s=e("../stringifier/one-time").selectors,o=e("../stringifier/one-time").value,a="at-rule";t.exports=r},{"../stringifier/one-time":94}],81:[function(e,t,n){t.exports=function(e,t){return e.compatibility.selectors.special.test(t)}},{}],82:[function(e,t,n){var r=e("../properties/optimizer"),i=e("../stringifier/one-time").body,s=e("../stringifier/one-time").selectors,o=e("./clean-up").selectors,a=e("./is-special");t.exports=function(e,t,n){for(var u=[null,[],[]],c=t.compatibility.selectors.adjacentSpace,l=0,h=e.length;l<h;l++){var p=e[l];if("selector"==p[0])if("selector"==u[0]&&s(p[1])==s(u[1])){var f=[u[2].length];Array.prototype.push.apply(u[2],p[2]),r(p[1],u[2],f,!0,t,n),p[2]=[]}else"selector"!=u[0]||i(p[2])!=i(u[2])||a(t,s(p[1]))||a(t,s(u[1]))?u=p:(u[1]=o(u[1].concat(p[1]),!1,c),p[2]=[]);else u=[null,[],[]]}}},{"../properties/optimizer":68,"../stringifier/one-time":94,"./clean-up":79,"./is-special":81}],83:[function(e,t,n){var r=e("./reorderable").canReorder,i=e("./extractor");t.exports=function(e){for(var t={},n=[],s=e.length-1;s>=0;s--){var o=e[s];if("block"==o[0]){var a=t[o[1][0]];a||(a=[],t[o[1][0]]=a),a.push(s)}}for(var u in t){var c=t[u];e:for(var l=c.length-1;l>0;l--){var h=c[l],p=e[h],f=c[l-1],d=e[f];t:for(var m=1;m>=-1;m-=2){for(var g=1==m,v=g?h+1:f-1,y=g?f:h,b=g?1:-1,x=g?p:d,_=g?d:p,w=i(x);v!=y;){var k=i(e[v]);if(v+=b,!r(w,k))continue t}_[2]=g?x[2].concat(_[2]):_[2].concat(x[2]),x[2]=[],n.push(_);continue e}}}return n}},{"./extractor":80,"./reorderable":89}],84:[function(e,t,n){function r(e){return/\.|\*| :/.test(e)}function i(e){var t=u(e[1]);return t.indexOf("__")>-1||t.indexOf("--")>-1}function s(e){return e.replace(/--[^ ,>\+~:]+/g,"")}function o(e,t){var n=s(u(e[1]));for(var r in t){var i=t[r],o=s(u(i[1]));(o.indexOf(n)>-1||n.indexOf(o)>-1)&&delete t[r]}}var a=e("../stringifier/one-time").body,u=e("../stringifier/one-time").selectors,c=e("./clean-up").selectors,l=e("./is-special");t.exports=function(e,t){for(var n={},s=t.compatibility.selectors.adjacentSpace,h=e.length-1;h>=0;h--){var p=e[h];if("selector"==p[0]){p[2].length>0&&!t.semanticMerging&&r(u(p[1]))&&(n={}),p[2].length>0&&t.semanticMerging&&i(p)&&o(p,n);var f=a(p[2]),d=n[f];!d||l(t,u(p[1]))||l(t,u(d[1]))||(p[1]=p[2].length>0?c(d[1].concat(p[1]),!1,s):d[1].concat(p[1]),d[2]=[],n[f]=null),n[a(p[2])]=p}}}},{"../stringifier/one-time":94,"./clean-up":79,"./is-special":81}],85:[function(e,t,n){var r=e("../properties/optimizer"),i=e("../stringifier/one-time").selectors,s=e("./extractor"),o=e("./reorderable").canReorder;t.exports=function(e,t,n){var a,u={},c=[];for(a=e.length-1;a>=0;a--)if("selector"==e[a][0]&&0!==e[a][2].length){var l=i(e[a][1]);u[l]=[a].concat(u[l]||[]),2==u[l].length&&c.push(l)}for(a=c.length-1;a>=0;a--){var h=u[c[a]];e:for(var p=h.length-1;p>0;p--){var f=h[p-1],d=e[f],m=h[p],g=e[m];t:for(var v=1;v>=-1;v-=2){for(var y,b=1==v,x=b?f+1:m-1,_=b?m:f,w=b?1:-1,k=b?d:g,E=b?g:d,A=s(k);x!=_;){var C=s(e[x]);x+=w;var S=b?o(A,C):o(C,A);if(!S&&!b)continue e;if(!S&&b)continue t}b?(y=[k[2].length],Array.prototype.push.apply(k[2],E[2]),E[2]=k[2]):(y=[E[2].length],Array.prototype.push.apply(E[2],k[2])),r(E[1],E[2],y,!0,t,n),k[2]=[]}}}}},{"../properties/optimizer":68,"../stringifier/one-time":94,"./extractor":80,"./reorderable":89}],86:[function(e,t,n){function r(e){for(var t=[],n=0;n<e.length;n++)t.push([e[n][0]]);return t}function i(e,t,n,r,i){for(var s=0,a=t.length;s<a;s++){var u=t[s],c=n[u];o(e,u,c,{filterOut:function(e,t){return c[e].isPartial&&0===t.length},callback:function(e,t,n,r){c[n-r-1].isPartial||(e[2]=t)}},r,i)}}function s(e,t,n,r){var i={};e:for(var s in t){var a=t[s];if(a[0].isComplex){var c=a[a.length-1].where,h=e[c],p=[],f=l(n,s)?[s]:a[0].list;i.intoPosition=c,i.reducedBodies=p;for(var d=0,m=f.length;d<m;d++){var g=f[d],v=t[g];if(v.length<2)continue e;if(i.data=v,o(e,g,v,{filterOut:function(e){return i.data[e].where<i.intoPosition},callback:function(e,t,n,r){0===r&&i.reducedBodies.push(t)}},n,r),u(p[p.length-1])!=u(p[0]))continue e}h[2]=p[0]}}}function o(e,t,n,r,i,s){for(var o=[],u=[],c=[],l=[],p=n.length-1,f=0;p>=0;p--)if(!r.filterOut(p,o)){var d=n[p].where,m=e[d],g=h(m[2]);o=o.concat(g),u.push(g),l.push(d)}for(p=0,f=u.length;p<f;p++)u[p].length>0&&c.push((c.length>0?c[c.length-1]:0)+u[p].length);a(t,o,c,!1,i,s);for(var v=l.length,y=o.length-1,b=v-1;b>=0;)if((0===b||o[y]&&u[b].indexOf(o[y])>-1)&&y>-1)y--;else{var x=o.splice(y+1);r.callback(e[l[b]],x,v,b),b--}}var a=e("../properties/optimizer"),u=e("../stringifier/one-time").body,c=e("../stringifier/one-time").selectors,l=e("./is-special"),h=e("../utils/clone-array");t.exports=function(e,t,n){for(var o={},a=[],u=e.length-1;u>=0;u--){var h=e[u];if("selector"==h[0]&&0!==h[2].length)for(var p=c(h[1]),f=h[1].length>1&&!l(t,p),d=t.sourceMap?r(h[1]):h[1],m=f?[p].concat(d):[p],g=0,v=m.length;g<v;g++){var y=m[g];o[y]?a.push(y):o[y]=[],o[y].push({where:u,list:d,isPartial:f&&g>0,isComplex:f&&0===g})}}i(e,a,o,t,n),s(e,o,t,n)}},{"../properties/optimizer":68,"../stringifier/one-time":94,"../utils/clone-array":108,"./is-special":81}],87:[function(e,t,n){var r=e("../stringifier/one-time").all;t.exports=function(e){for(var t={},n=0,i=e.length;n<i;n++){var s=e[n];if("block"==s[0]){var o=s[1][0]+"%"+r(s[2]),a=t[o];a&&(a[2]=[]),t[o]=s}}}},{"../stringifier/one-time":94}],88:[function(e,t,n){var r=e("../stringifier/one-time").body,i=e("../stringifier/one-time").selectors;t.exports=function(e){for(var t,n,s,o,a={},u=[],c=0,l=e.length;c<l;c++)"selector"==(n=e[c])[0]&&(a[t=i(n[1])]&&1==a[t].length?u.push(t):a[t]=a[t]||[],a[t].push(c));for(c=0,l=u.length;c<l;c++){o=[];for(var h=a[t=u[c]].length-1;h>=0;h--)n=e[a[t][h]],s=r(n[2]),o.indexOf(s)>-1?n[2]=[]:o.push(s)}}},{"../stringifier/one-time":94}],89:[function(e,t,n){function r(e,t){var n=e[0],r=e[1],d=e[2],m=e[5],g=e[6],v=t[0],y=t[1],b=t[2],x=t[5],_=t[6];return!("font"==n&&"line-height"==v||"font"==v&&"line-height"==n)&&((!p.test(n)||!p.test(v))&&(!(d==b&&s(n)==s(v)&&i(n)^i(v))&&(("border"!=d||!f.test(b)||!("border"==n||n==b||r!=y&&o(n,v)))&&(("border"!=b||!f.test(d)||!("border"==v||v==d||r!=y&&o(n,v)))&&(("border"!=d||"border"!=b||n==v||!(a(n)&&u(v)||u(n)&&a(v)))&&(d!=b||(!(n!=v||d!=b||r!=y&&!c(r,y))||(n!=v&&d==b&&n!=d&&v!=b||(n!=v&&d==b&&r==y||!(!_||!g||h(d)||h(b)||!l(x,m)))))))))))}function i(e){return/^\-(?:moz|webkit|ms|o)\-/.test(e)}function s(e){return e.replace(/^\-(?:moz|webkit|ms|o)\-/,"")}function o(e,t){return e.split("-").pop()==t.split("-").pop()}function a(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 c(e,t){return i(e)&&i(t)&&e.split("-")[1]!=t.split("-")[2]}function l(e,t){for(var n=0,r=e.length;n<r;n++)for(var i=0,s=t.length;i<s;i++)if(e[n][0]==t[i][0])return!1;return!0}function h(e){return"font"==e||"line-height"==e||"list-style"==e}var p=/align\-items|box\-align|box\-pack|flex|justify/,f=/^border\-(top|right|bottom|left|color|style|width|radius)/;t.exports={canReorder:function(e,t){for(var n=t.length-1;n>=0;n--)for(var i=e.length-1;i>=0;i--)if(!r(e[i],t[n]))return!1;return!0},canReorderSingle:r}},{}],90:[function(e,t,n){function r(e,t){return e>t}function i(e,t){var n=h(e);return n[5]=n[5].concat(t[5]),n}var s=e("./extractor"),o=e("./reorderable").canReorderSingle,a=e("../stringifier/one-time").body,u=e("../stringifier/one-time").selectors,c=e("./clean-up").selectorDuplicates,l=e("./is-special"),h=e("../utils/clone-array");t.exports=function(e,t){function n(e,t,n){for(var r=n.length-1;r>=0;r--){var i=h(t,n[r][0]);if(C[i].length>1&&k(e,C[i])){p(i);break}}}function h(e,t){var n=f(t);return C[n]=C[n]||[],C[n].push([e,t]),n}function p(e){var t,n=e.split(O),r=[];for(var i in C){var s=i.split(O);for(t=s.length-1;t>=0;t--)if(n.indexOf(s[t])>-1){r.push(i);break}}for(t=r.length-1;t>=0;t--)delete C[r[t]]}function f(e){for(var t=[],n=0,r=e.length;n<r;n++)t.push(u(e[n][1]));return t.join(O)}function d(e){for(var n=[],r=[],i=e.length-1;i>=0;i--)l(t,u(e[i][1]))||(r.unshift(e[i]),e[i][2].length>0&&-1==n.indexOf(e[i])&&n.push(e[i]));return n.length>1?r:[]}function m(e,t){var r=t[0],i=t[1],s=t[4],o=r.length+i.length+1,a=[],u=[],l=d(E[s]);if(!(l.length<2)){var h=v(l,o,1),p=h[0];if(p[1]>0)return n(e,t,h);for(var f=p[0].length-1;f>=0;f--)a=p[0][f][1].concat(a),u.unshift(p[0][f]);x(e,[t],a=c(a),u)}}function g(e,t){return e[1]>t[1]}function v(e,t,n){return y(e,t,n,T-1).sort(g)}function y(e,t,n,r){var i=[[e,b(e,t,n)]];if(e.length>2&&r>0)for(var s=e.length-1;s>=0;s--){var o=Array.prototype.slice.call(e,0);o.splice(s,1),i=i.concat(y(o,t,n,r-1))}return i}function b(e,t,n){for(var r=0,i=e.length-1;i>=0;i--)r+=e[i][2].length>n?u(e[i][1]).length:-1;return r-(e.length-1)*t+1}function x(t,n,r,i){var s,o,u,c,l=[];for(s=i.length-1;s>=0;s--){var h=i[s];for(o=h[2].length-1;o>=0;o--){var p=h[2][o];for(u=0,c=n.length;u<c;u++){var f=n[u],d=p[0][0],m=f[0],g=f[4];if(d==m&&a([p])==g){h[2].splice(o,1);break}}}}for(s=n.length-1;s>=0;s--)l.unshift(n[s][3]);var v=["selector",r,l];e.splice(t,0,v)}function _(e,t){var n=t[4],r=E[n];r&&r.length>1&&(w(e,t)||m(e,t))}function w(e,t){var n,r,i=[],s=[],o=t[4],a=d(E[o]);if(!(a.length<2)){e:for(var u in E){var c=E[u];for(n=a.length-1;n>=0;n--)if(-1==c.indexOf(a[n]))continue e;i.push(u)}if(i.length<2)return!1;for(n=i.length-1;n>=0;n--)for(r=A.length-1;r>=0;r--)if(A[r][4]==i[n]){s.unshift([A[r],a]);break}return k(e,s)}}function k(e,t){for(var n,r=0,i=[],s=t.length-1;s>=0;s--)r+=(n=t[s][0])[4].length+(s>0?1:0),i.push(n);var o=v(t[0][1],r,i.length)[0];if(o[1]>0)return!1;var a=[],u=[];for(s=o[0].length-1;s>=0;s--)a=o[0][s][1].concat(a),u.unshift(o[0][s]);for(x(e,i,a=c(a),u),s=i.length-1;s>=0;s--){n=i[s];var l=A.indexOf(n);delete E[n[4]],l>-1&&-1==S.indexOf(l)&&S.push(l)}return!0}for(var E={},A=[],C={},S=[],T=2,O="%",F=e.length-1;F>=0;F--){var L,B,D,N,R,P=e[F];if("selector"==P[0])L=!0;else{if("block"!=P[0])continue;L=!1}var M=A.length,I=s(P);S=[];var j=[];for(B=I.length-1;B>=0;B--)for(D=B-1;D>=0;D--)if(!o(I[B],I[D])){j.push(B);break}for(B=I.length-1;B>=0;B--){var V=I[B],U=!1;for(D=0;D<M;D++){var z=A[D];-1!=S.indexOf(D)||o(V,z)||function(e,t,n){if(e[0]!=t[0])return!1;var r=t[4],i=E[r];return i&&i.indexOf(n)>-1}(V,z,P)||(_(F+1,z),-1==S.indexOf(D)&&(S.push(D),delete E[z[4]])),U||(U=V[0]==z[0]&&V[1]==z[1])&&(R=D)}if(L&&!(j.indexOf(B)>-1)){var q=V[4];E[q]=E[q]||[],E[q].push(P),U?A[R]=i(A[R],V):A.push(V)}}for(B=0,N=(S=S.sort(r)).length;B<N;B++){var $=S[B]-B;A.splice($,1)}}for(var H=e[0]&&"at-rule"==e[0][0]&&0===e[0][1][0].indexOf("@charset")?1:0;H<e.length-1;H++){var W="at-rule"===e[H][0]&&0===e[H][1][0].indexOf("@import"),G="text"===e[H][0]&&0===e[H][1][0].indexOf("__ESCAPED_COMMENT_SPECIAL");if(!W&&!G)break}for(F=0;F<A.length;F++)_(H,A[F])}},{"../stringifier/one-time":94,"../utils/clone-array":108,"./clean-up":79,"./extractor":80,"./is-special":81,"./reorderable":89}],91:[function(e,t,n){function r(e,t){return e.value[t]&&"-"==e.value[t][0][0]&&parseFloat(e.value[t][0])<0}function i(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 s(e,t){return-1==t.indexOf("0deg")?t:t.replace(/\(0deg\)/g,"(0)")}function o(e,t){return e.indexOf("filter")>-1||-1==t.indexOf(" ")?t:((t=t.replace(/\s+/g," ")).indexOf("calc")>-1&&(t=t.replace(/\) ?\/ ?/g,")/ ")),t.replace(/\( /g,"(").replace(/ \)/g,")").replace(/, /g,","))}function a(e,t,n){return-1===n.value||-1===t.indexOf(".")?t:t.replace(n.regexp,function(e,t){return Math.round(parseFloat(t)*n.multiplier)/n.multiplier+"px"}).replace(/(\d)\.($|\D)/g,"$1$2")}function u(e,t,n){return/^(?:\-moz\-calc|\-webkit\-calc|calc)\(/.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 c(e){var t,n=e.value;4==n.length&&"0"===n[0][0]&&"0"===n[1][0]&&"0"===n[2][0]&&"0"===n[3][0]&&(t=e.name.indexOf("box-shadow")>-1?2:1),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")?S.shorten(t):(t=t.replace(/rgb\((\-?\d+),(\-?\d+),(\-?\d+)\)/g,function(e,t,n,r){return new A(t,n,r).toHex()}).replace(/hsl\((-?\d+),(-?\d+)%?,(-?\d+)%?\)/g,function(e,t,n,r){return new C(t,n,r).toHex()}).replace(/(^|[^='"])#([0-9a-f]{6})/gi,function(e,t,n){return n[0]==n[1]&&n[2]==n[3]&&n[4]==n[5]?t+"#"+n[0]+n[2]+n[4]:t+"#"+n}).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 E(t,",").pop().indexOf("gradient(")>-1?e:"transparent"})),S.shorten(t))}function h(e,t,n){return I.test(t)?t.replace(I,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 p(e,t){return j.test(t)?t.replace(j,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 f(e){var t,n=e.value;3==n.length&&"/"==n[1][0]&&n[0][0]==n[2][0]?t=1:5==n.length&&"/"==n[2][0]&&n[0][0]==n[3][0]&&n[1][0]==n[4][0]?t=2:7==n.length&&"/"==n[3][0]&&n[0][0]==n[4][0]&&n[1][0]==n[5][0]&&n[2][0]==n[6][0]?t=3:9==n.length&&"/"==n[4][0]&&n[0][0]==n[5][0]&&n[1][0]==n[6][0]&&n[2][0]==n[7][0]&&n[3][0]==n[8][0]&&(t=4),t&&(e.value.splice(t),e.dirty=!0)}function d(e){1==e.value.length&&(e.value[0][0]=e.value[0][0].replace(/progid:DXImageTransform\.Microsoft\.(Alpha|Chroma)(\W)/,function(e,t,n){return t.toLowerCase()+n})),e.value[0][0]=e.value[0][0].replace(/,(\S)/g,", $1").replace(/ ?= ?/g,"=")}function m(e){var t=e.value;if(!(R.indexOf(t[0][0])>-1||t[1]&&R.indexOf(t[1][0])>-1||t[2]&&R.indexOf(t[2][0])>-1)&&"/"!=t[1]){var n=0;if("normal"==t[0][0]&&n++,t[1]&&"normal"==t[1][0]&&n++,t[2]&&"normal"==t[2][0]&&n++,!(n>1)){var r;M.indexOf(t[0][0])>-1?r=0:t[1]&&M.indexOf(t[1][0])>-1?r=1:t[2]&&M.indexOf(t[2][0])>-1?r=2:P.indexOf(t[0][0])>-1?r=0:t[1]&&P.indexOf(t[1][0])>-1?r=1:t[2]&&P.indexOf(t[2][0])>-1&&(r=2),void 0!==r&&(e.value[r][0]=V["font-weight"](t[r][0]),e.dirty=!0)}}}function g(e,t){for(var n,v,y,b=T(e),x=0,_=b.length;x<_;x++)if(n=b[x],v=n.name,n.hack&&(("star"==n.hack||"underscore"==n.hack)&&!t.compatibility.properties.iePrefixHack||"backslash"==n.hack&&!t.compatibility.properties.ieSuffixHack||"bang"==n.hack&&!t.compatibility.properties.ieBangHack)&&(n.unused=!0),0===v.indexOf("padding")&&(r(n,0)||r(n,1)||r(n,2)||r(n,3))&&(n.unused=!0),!n.unused)if(n.variable)n.block&&g(n.value[0],t);else{for(var w=0,k=n.value.length;w<k;w++)y=n.value[w][0],V[v]&&(y=V[v](y,w,k)),y=i(v,y=p(v,y=h(v,y=a(v,y=o(v,y),t.precision),t.compatibility))),t.compatibility.properties.zeroUnits&&(y=u(v,y=s(v,y),t.unitsRegexp)),t.compatibility.properties.colors&&(y=l(v,y,t.compatibility)),n.value[w][0]=y;c(n),0===v.indexOf("border")&&v.indexOf("radius")>0?f(n):"filter"==v?d(n):"font"==v&&m(n)}O(b,!0),F(b)}function v(e){for(var t=!1,n=0,r=e.length;n<r;n++){var i=e[n];"at-rule"==i[0]&&(D.test(i[1][0])&&(t||-1==i[1][0].indexOf(B)?(e.splice(n,1),n--,r--):(t=!0,e.splice(n,1),e.unshift(["at-rule",[i[1][0].replace(D,B)]]))))}}function y(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={};return t.value=void 0===e.roundingPrecision?L:e.roundingPrecision,t.multiplier=Math.pow(10,t.value),t.regexp=new RegExp("(\\d*\\.\\d{"+(t.value+1)+",})px","g"),t}function x(e,t,n){var r=t.compatibility.selectors.ie7Hack,i=t.compatibility.selectors.adjacentSpace,s=t.compatibility.properties.spaceAfterClosingBrace,o=!1,a=!1;t.unitsRegexp=y(t),t.precision=b(t);for(var u=0,c=e.length;u<c;u++){var l=e[u];switch(l[0]){case"selector":l[1]=_(l[1],!r,i),g(l[2],t),a=!0;break;case"block":w(l[1],s),x(l[2],t,n),a=!0;break;case"flat-block":w(l[1],s),g(l[2],t),a=!0;break;case"at-rule":k(l[1]),o=!0}"at-rule"==l[0]&&N.test(l[1])&&a&&(n.warnings.push('Ignoring @import rule "'+l[1]+'" as it appears after rules thus browsers will ignore them.'),l[1]=""),(0===l[1].length||l[2]&&0===l[2].length)&&(e.splice(u,1),u--,c--)}o&&v(e)}var _=e("./clean-up").selectors,w=e("./clean-up").block,k=e("./clean-up").atRule,E=e("../utils/split"),A=e("../colors/rgb"),C=e("../colors/hsl"),S=e("../colors/hex-name-shortener"),T=e("../properties/wrap-for-optimizing").all,O=e("../properties/restore-from-optimizing"),F=e("../properties/remove-unused"),L=2,B="@charset",D=new RegExp("^"+B,"i"),N=/^@import["'\s]/i,R=["100","200","300","400","500","600","700","800","900"],P=["normal","bold","bolder","lighter"],M=["bold","bolder","lighter"],I=/(?:^|\s|\()(-?\d+)px/,j=/^(\-?[\d\.]+)(m?s)$/,V={background:function(e,t,n){return 0!==t||1!=n||"none"!=e&&"transparent"!=e?e:"0 0"},"font-weight":function(e){return"normal"==e?"400":"bold"==e?"700":e},outline:function(e,t,n){return 0===t&&1==n&&"none"==e?"0":e}};t.exports=x},{"../colors/hex-name-shortener":57,"../colors/hsl":58,"../colors/rgb":59,"../properties/remove-unused":71,"../properties/restore-from-optimizing":72,"../properties/wrap-for-optimizing":77,"../utils/split":115,"./clean-up":79}],92:[function(e,t,n){function r(e,t,n){if(!n&&-1==e.indexOf("\n"))return 0===e.indexOf(a)?e:void(t.column+=e.length);for(var r=0,i=e.split("\n"),s=i.length,o=0;;){if(r==s-1)break;var u=i[r];if(/\S/.test(u))break;o+=u.length+1,r++}return t.line+=r,t.column=r>0?0:t.column,t.column+=/^(\s)*/.exec(i[r])[0].length,e.substring(o).trimLeft()}function i(e,t,n){var r=e.source||t.source;return r&&n.resolvePath?n.resolvePath(t.source,r):r}function s(e,t,n){var r={line:t.line,column:t.column,source:t.source},s=null,o=t.sourceMapTracker.isTracking(r.source)?t.sourceMapTracker.originalPositionFor(r,e,n||0):{};if(r.line=o.line||r.line,r.column=o.column||r.column,r.source=o.sourceResolved?o.source:i(o,r,t),t.sourceMapInlineSources){var a=t.sourceMapTracker.sourcesContentFor(t.source);s=a&&a[r.source]?a:t.sourceReader.sourceAt(t.source)}return s?[r.line,r.column,r.source,s]:[r.line,r.column,r.source]}function o(e,t){for(var n=e.split("\n"),r=0,i=n.length;r<i;r++){var s=n[r],o=0;for(r>0&&(t.line++,t.column=0);;){var u=s.indexOf(a,o);if(-1==u){t.column+=s.substring(o).length;break}t.column+=u-o,o+=u-o;var c=s.substring(u,s.indexOf("__",u+1)+2),l=c.substring(c.indexOf("(")+1,c.indexOf(")")).split(",");t.line+=~~l[0],t.column=(0==~~l[0]?t.column:0)+~~l[1],o+=c.length}}}var a="__ESCAPED_";t.exports=function(e,t,n,i){var a=r(e,t,n),u=n?s(a,t,i):[];return a&&o(a,t),u}},{}],93:[function(e,t,n){function r(e,t){for(var n=t,r=e.length;n<r;n++)if("string"!=typeof e[n])return!0;return!1}function i(e){return"background"==e[0][0]||"transform"==e[0][0]||"src"==e[0][0]}function s(e,t){return")"==e[t][0][e[t][0].length-1]||0===e[t][0].indexOf("__ESCAPED_URL_CLEAN_CSS")}function o(e,t){return","==e[t][0]}function a(e,t){return"/"==e[t][0]}function u(e,t){return e[t+1]&&","==e[t+1][0]}function c(e,t){return e[t+1]&&"/"==e[t+1][0]}function l(e){return"filter"==e[0][0]||"-ms-filter"==e[0][0]}function h(e,t,n){return!n.spaceAfterClosingBrace&&i(e)&&s(e,t)||c(e,t)||a(e,t)||u(e,t)||o(e,t)}function p(e,t){for(var n=t.store,r=0,i=e.length;r<i;r++)n(e[r],t),r<i-1&&n(",",t)}function f(e,t){for(var n=0,r=e.length;n<r;n++)d(e,n,n==r-1,t)}function d(e,t,n,r){var i=r.store,s=e[t];"string"==typeof s?i(s,r):s[0]==x?m(s[1],!1,r):(i(s[0],r),i(":",r),g(e,t,n,r))}function m(e,t,n){var r=n.store;r(e,n),t||r(_,n)}function g(e,t,n,i){var s=i.store,o=e[t],a=0===o[0][0].indexOf("--"),u=a&&Array.isArray(o[1][0]);if(a&&u&&v(o[1]))return s("{",i),f(o[1],i),void s("};",i);for(var c=1,p=o.length;c<p;c++)s(o[c],i),c<p-1&&(l(o)||!h(o,c,i))?s(" ",i):c==p-1&&!n&&r(e,t+1)&&s(_,i)}function v(e){for(var t=0,n=e.length;t<n;t++)if(e[t][0]==x||Array.isArray(e[t][0]))return!0;return!1}function y(e,t){for(var n=t.keepBreaks?b:"",r=t.store,i=0,s=e.length;i<s;i++){var o=e[i];switch(o[0]){case"at-rule":case"text":r(o[1][0],t),r(n,t);break;case"block":p([o[1]],t),r("{",t),y(o[2],t),r("}",t),r(n,t);break;case"flat-block":p([o[1]],t),r("{",t),f(o[2],t),r("}",t),r(n,t);break;default:p(o[1],t),r("{",t),f(o[2],t),r("}",t),r(n,t)}}}var b=e("os").EOL,x="at-rule",_=";";t.exports={all:y,body:f,property:d,selectors:p,value:g}},{os:14}],94:[function(e,t,n){function r(e,t){t.output.push("string"==typeof e?e:e[0])}function i(){return{output:[],store:r}}var s=e("./helpers");t.exports={all:function(e){var t=i();return s.all(e,t),t.output.join("")},body:function(e){var t=i();return s.body(e,t),t.output.join("")},property:function(e,t){var n=i();return s.property(e,t,!0,n),n.output.join("")},selectors:function(e){var t=i();return s.selectors(e,t),t.output.join("")},value:function(e,t){var n=i();return s.value(e,t,!0,n),n.output.join("")}}},{"./helpers":93}],95:[function(e,t,n){function r(e,t){t.output.push("string"==typeof e?e:e[0])}var i=e("./helpers").all;t.exports=function(e,t,n){var s={keepBreaks:t.keepBreaks,output:[],spaceAfterClosingBrace:t.compatibility.properties.spaceAfterClosingBrace,store:r};return i(e,s,!1),{styles:n(s.output.join("")).trim()}}},{"./helpers":93}],96:[function(e,t,n){(function(n){function r(e,t){var n="string"==typeof e,r=n?e:e[0];r.indexOf("_")>-1&&(r=t.restore(r,i(t.output))),s(r,n?null:e,t),t.output.push(r)}function i(e){for(var t=[],n=e.length-1;n>=0;n--){var r=e[n];if(t.unshift(r),"{"==r||";"==r)break}return t.join("")}function s(e,t,n){t&&o(t,n);var r=e.split("\n");n.line+=r.length-1,n.column=r.length>1?0:n.column+r.pop().length}function o(e,t){var n=e[e.length-1];if(Array.isArray(n))for(var r=0,i=n.length;r<i;r++)a(n[r],t)}function a(e,t){var n=e[2]||h;l&&(n=n.replace(/\\/g,"/")),t.outputMap.addMapping({generated:{line:t.line,column:t.column},source:n,original:{line:e[0],column:e[1]}}),e[3]&&t.outputMap.setSourceContent(n,e[3][e[2]])}var u=e("source-map").SourceMapGenerator,c=e("./helpers").all,l="win32"==n.platform,h="$stdin";t.exports=function(e,t,n,i){var s={column:0,inputMapTracker:i,keepBreaks:t.keepBreaks,line:1,output:[],outputMap:new u,restore:n,sourceMapInlineSources:t.sourceMapInlineSources,spaceAfterClosingBrace:t.compatibility.properties.spaceAfterClosingBrace,store:r};return c(e,s,!1),{sourceMap:s.outputMap,styles:s.output.join("").trim()}}}).call(this,e("_process"))},{"./helpers":93,_process:17,"source-map":176}],97:[function(e,t,n){function r(e,t,n,r){this.comments=new o("COMMENT"),this.specialComments=new o("COMMENT_SPECIAL"),this.context=e,this.restored=0,this.keepAll="*"==t,this.keepOne="1"==t||1===t,this.keepBreaks=n,this.saveWaypoints=r}function i(e){var t=[];return new a(e).each(function(e,n,r){t.push([r,r+e.length])}),function(e){for(var n=0,r=t.length;n<r;n++)if(t[n][0]<e&&t[n][1]>e)return!0;return!1}}function s(e,t,n,r){for(var i=[],s=0;s<t.length;){var o=n.nextMatch(t,s);if(o.start<0)break;i.push(t.substring(s,o.start));var a=n.restore(o.match);r&&(e.keepAll||e.keepOne&&0===e.restored)?(e.restored++,i.push(a),s=o.end):s=o.end+(e.keepBreaks&&t.substring(o.end,o.end+u.length)==u?u.length:0)}return i.length>0?i.join("")+t.substring(s,t.length):t}var o=e("./escape-store"),a=e("../utils/quote-scanner"),u=e("os").EOL;r.prototype.escape=function(e){for(var t,n,r,s=[],o=0,a=0,c=0,l=0,h=i(e),p=this.saveWaypoints;a<e.length&&-1!=(o=e.indexOf("/*",c));)if(h(o))s.push(e.substring(c,o+"/*".length)),c=o+"/*".length;else{-1==(a=e.indexOf("*/",o+"/*".length))&&(this.context.warnings.push("Broken comment: '"+e.substring(o)+"'."),a=e.length-2),s.push(e.substring(c,o));var f=e.substring(o,a+"*/".length),d=0===f.indexOf("/*!");if(p&&(t=f.split(u).length-1,r=(n=f.lastIndexOf(u))>0?f.substring(n+u.length).length:l+f.length),p||d){var m=p?[t,r]:null,g=d?this.specialComments.store(f,m):this.comments.store(f,m);s.push(g)}p&&(l=r+1),c=a+"*/".length}return s.length>0?s.join("")+e.substring(c,e.length):e},r.prototype.restore=function(e){return e=s(this,e,this.comments,!1),e=s(this,e,this.specialComments,!0)},t.exports=r},{"../utils/quote-scanner":112,"./escape-store":98,os:14}],98:[function(e,t,n){function r(e){this.placeholderRoot="ESCAPED_"+e+"_CLEAN_CSS",this.placeholderToData={},this.dataToPlaceholder={},this.count=0,this.restoreMatcher=new RegExp(this.placeholderRoot+"(\\d+)")}r.prototype._nextPlaceholder=function(e){return{index:this.count,value:"__"+this.placeholderRoot+this.count+++e+"__"}},r.prototype.store=function(e,t){var n=t?"("+t.join(",")+")":"",r=this.dataToPlaceholder[e];if(!r){var i=this._nextPlaceholder(n);r=i.value,this.placeholderToData[i.index]=e,this.dataToPlaceholder[e]=i.value}return t&&(r=r.replace(/\([^\)]+\)/,n)),r},r.prototype.nextMatch=function(e,t){var n={};return n.start=e.indexOf(this.placeholderRoot,t)-"__".length,n.end=e.indexOf("__",n.start+"__".length)+"__".length,n.start>-1&&n.end>-1&&(n.match=e.substring(n.start,n.end)),n},r.prototype.restore=function(e){var t=this.restoreMatcher.exec(e)[1];return this.placeholderToData[t]},t.exports=r},{}],99:[function(e,t,n){function r(e,t){for(var n=t+o.length,r=0,i=!1,s=!1;;){var c=e[n++];if(i?i="'"!=c&&'"'!=c:(i="'"==c||'"'==c,c==a&&r++,c==u&&r--,c==l&&(s=!0),c!=h||s||1!=r||(n--,r--)),0===r&&c==u)break;if(!c){n=e.substring(0,n).lastIndexOf(h);break}}return n}function i(e){this.expressions=new s("EXPRESSION"),this.saveWaypoints=e}var s=e("./escape-store"),o="expression",a="(",u=")",c=o+a,l="{",h="}",p=e("os").EOL;i.prototype.escape=function(e){for(var t,n,i,s=0,o=0,a=0,u=[],l=0,h=this.saveWaypoints;o<e.length&&-1!=(s=e.indexOf(c,o));){o=r(e,s);var f=e.substring(s,o);h&&(t=f.split(p).length-1,i=(n=f.lastIndexOf(p))>0?f.substring(n+p.length).length:l+f.length);var d=h?[t,i]:null,m=this.expressions.store(f,d);u.push(e.substring(a,s)),u.push(m),h&&(l=i+1),a=o}return u.length>0?u.join("")+e.substring(a,e.length):e},i.prototype.restore=function(e){for(var t=[],n=0;n<e.length;){var r=this.expressions.nextMatch(e,n);if(r.start<0)break;t.push(e.substring(n,r.start));var i=this.expressions.restore(r.match);t.push(i),n=r.end}return t.length>0?t.join("")+e.substring(n,e.length):e},t.exports=i},{"./escape-store":98,os:14}],100:[function(e,t,n){function r(e){this.matches=new s("FREE_TEXT"),this.saveWaypoints=e}function i(e,t,n,r){var i=t;n&&(r=(i=n+t.substring(0,t.indexOf("__ESCAPED_FREE_TEXT_CLEAN_CSS"))).length);var s=i.lastIndexOf(";",r),o=i.lastIndexOf("{",r),a=0;a=s>-1&&o>-1?Math.max(s,o):-1==s?o:s;var u=i.substring(a+1,r);if(/\[[\w\d\-]+[\*\|\~\^\$]?=$/.test(u)&&(e=e.replace(/\\\n|\\\r\n/g,"").replace(/\n|\r\n/g,"")),/^['"][a-zA-Z][a-zA-Z\d\-_]+['"]$/.test(e)&&!/format\($/.test(u)){var c=/^(font|font\-family):/.test(u),l=/\[[\w\d\-]+[\*\|\~\^\$]?=$/.test(u),h=/@(-moz-|-o-|-webkit-)?keyframes /.test(u),p=/^(-moz-|-o-|-webkit-)?animation(-name)?:/.test(u);(c||l||h||p)&&(e=e.substring(1,e.length-1))}return e}var s=e("./escape-store"),o=e("../utils/quote-scanner"),a=e("os").EOL;r.prototype.escape=function(e){var t,n,r,i,s=this,u=this.saveWaypoints;return new o(e).each(function(e,o){u&&(t=e.split(a).length-1,n=e.lastIndexOf(a),r=n>0?e.substring(n+a.length).length:e.length,i=[t,r]);var c=s.matches.store(e,i);o.push(c)})},r.prototype.restore=function(e,t){for(var n=[],r=0;r<e.length;){var s=this.matches.nextMatch(e,r);if(s.start<0)break;n.push(e.substring(r,s.start));var o=i(this.matches.restore(s.match),e,t,s.start);n.push(o),r=s.end}return n.length>0?n.join("")+e.substring(r,e.length):e},t.exports=r},{"../utils/quote-scanner":112,"./escape-store":98,os:14}],101:[function(e,t,n){function r(e,t,n){this.urls=new s("URL"),this.context=e,this.saveWaypoints=t,this.keepUrlQuotes=n}function i(e,t){return e=e.replace(/^url/gi,"url").replace(/\\?\n|\\?\r\n/g,"").replace(/(\s{2,}|\s)/g," ").replace(/^url\((['"])? /,"url($1").replace(/ (['"])?\)$/,"$1)"),/url\(".*'.*"\)/.test(e)||/url\('.*".*'\)/.test(e)?e:(t||/^['"].+['"]$/.test(e)||/url\(.*[\s\(\)].*\)/.test(e)||/url\(['"]data:[^;]+;charset/.test(e)||(e=e.replace(/["']/g,"")),e)}var s=e("./escape-store"),o=e("../urls/reduce"),a=e("os").EOL;r.prototype.escape=function(e){var t,n,r,i=this.saveWaypoints,s=this;return o(e,this.context,function(e,o){i&&(t=e.split(a).length-1,n=e.lastIndexOf(a),r=n>0?e.substring(n+a.length).length:e.length);var u=s.urls.store(e,i?[t,r]:null);o.push(u)})},r.prototype.restore=function(e){for(var t=[],n=0;n<e.length;){var r=this.urls.nextMatch(e,n);if(r.start<0)break;t.push(e.substring(n,r.start));var s=i(this.urls.restore(r.match),this.keepUrlQuotes);t.push(s),n=r.end}return t.length>0?t.join("")+e.substring(n,e.length):e},t.exports=r},{"../urls/reduce":106,"./escape-store":98,os:14}],102:[function(e,t,n){function r(e){return e[0]}function i(){}function s(e,t,n,r){for(var s=n?/^__ESCAPED_COMMENT_/:/__ESCAPED_COMMENT_/,o=n?r.track:i;s.test(e);){var a=e.indexOf("__"),u=e.indexOf("__",a+1)+2,c=e.substring(a,u);e=e.substring(0,a)+e.substring(u),o(c),t.push(c)}return e}function o(e,t,n){return s(e,t,!0,n)}function a(e,t,n){return s(e,t,!1,n)}function u(e,t,n){for(var r=0,i=e.length;r<i;r++)n.track(e[r]),t.push(e[r])}function c(e,t,n){var i=[],s=[],v=/[\s,\/]/;if("string"!=typeof e)return[];e.indexOf(")")>-1&&(e=e.replace(/\)([^\s_;:,\)])/g,n.sourceMap?") __ESCAPED_COMMENT_CLEAN_CSS(0,-1)__ $1":") $1")),e.indexOf("ESCAPED_URL_CLEAN_CSS")>-1&&(e=e.replace(/(ESCAPED_URL_CLEAN_CSS[^_]+?__)/g,n.sourceMap?"$1 __ESCAPED_COMMENT_CLEAN_CSS(0,-1)__ ":"$1 "));for(var y=l(e,";",!1,"{","}"),b=0,x=y.length;b<x;b++){var _=y[b],w=_.indexOf(":");if("@"==_.trim()[0])n.track(_),i.push([f,_.trim()]);else if(-1!=w)if(_.indexOf("{")>0&&_.indexOf("{")<w)n.track(_);else{var k=[],E=_.substring(0,w);s=[],E.indexOf("__ESCAPED_COMMENT")>-1&&(E=o(E,i,n)),E.indexOf("__ESCAPED_COMMENT")>-1&&(E=a(E,s,n)),k.push([E.trim()].concat(n.track(E,!0))),n.track(":"),u(s,i,n);var A=_.indexOf("{");if(0===E.trim().indexOf("--")&&A>0){var C=_.substring(w+1,A+1),S=_.substring(_.indexOf("}")),T=_.substring(A+1,_.length-S.length);n.track(C),k.push(c(T,t,n)),i.push(k),n.track(S),n.track(b<x-1?";":"")}else{var O=l(_.substring(w+1),v,!0);if(1!=O.length||""!==O[0]){for(var F=0,L=O.length;F<L;F++){var B=O[F],D=B.trim();if(0!==D.length){var N=D[D.length-1],R=D.length>1&&(N==h||N==p);if(R&&(D=D.substring(0,D.length-1)),D.indexOf("__ESCAPED_COMMENT_CLEAN_CSS(0,-")>-1)n.track(D);else if(s=[],D.indexOf("__ESCAPED_COMMENT")>-1&&(D=o(D,i,n)),D.indexOf("__ESCAPED_COMMENT")>-1&&(D=a(D,s,n)),0!==D.length){var P=k.length-1;m.test(D)&&"!"==k[P][0]?(n.track(D),k[P-1][0]+=d,k.pop()):g.test(D)||m.test(D)&&"!"==k[P][0][k[P][0].length-1]?(n.track(D),k[P][0]+=D):(k.push([D].concat(n.track(B,!0))),u(s,i,n),R&&(k.push([N]),n.track(N)))}else u(s,i,n)}}b<x-1&&n.track(";"),i.push(k)}else n.warnings.push("Empty property '"+E+"' inside '"+t.filter(r).join(",")+"' selector. Ignoring.")}}else n.track(_),_.indexOf("__ESCAPED_COMMENT_SPECIAL")>-1&&i.push(_.trim())}return i}var l=e("../utils/split"),h=",",p="/",f="at-rule",d="!important",m=new RegExp("^important$","i"),g=new RegExp("^"+d+"$","i");t.exports=c},{"../utils/split":115}],103:[function(e,t,n){var r=e("../utils/split");t.exports=function(e,t){for(var n,i=[],s=r(e,","),o=0,a=s.length;o<a;o++)n=t.track(s[o],!0,o),t.track(","),i.push([s[o].trim()].concat(n));return i}},{"../utils/split":115}],104:[function(e,t,n){function r(e){return e.replace(/\r\n/g,"\n")}function i(e,t){var n=f.relative(e,t);return function(e,t){return e!=t?f.normalize(f.join(f.relative(n,f.dirname(e)),t)):t}}function s(e){var t,n=e.mode,r=e.chunk;if(r.length==e.cursor){if(0===e.chunks.length)return null;e.chunk=r=e.chunks.shift(),e.cursor=0}if("body"==n)return"}"==r[e.cursor]?[e.cursor,"bodyEnd"]:-1==r.indexOf("}",e.cursor)?null:(t=e.cursor+p(r.substring(e.cursor-1),"}",!0,"{","}")[0].length-2,[t,"bodyEnd"]);var i=o(e,"@"),s=r.indexOf("__ESCAPED_",e.cursor),a=o(e,"{"),u=o(e,"}");return i>-1&&e.cursor>0&&!/\s|\{|\}|\/|_|,|;/.test(r.substring(i-1,i))&&(i=-1),s>-1&&/\S/.test(r.substring(e.cursor,s))&&(s=-1),(-1==(t=i)||s>-1&&s<t)&&(t=s),(-1==t||a>-1&&a<t)&&(t=a),(-1==t||u>-1&&u<t)&&(t=u),-1!=t?s===t?[t,"escape"]:a===t?[t,"bodyStart"]:u===t?[t,"bodyEnd"]:i===t?[t,"special"]:void 0:void 0}function o(e,t){for(var n,r=e.cursor,i=e.chunk;(n=i.indexOf(t,r))>-1;){if(!a(i,n))return n;r=n+1}return-1}function a(e,t){for(var n=t,r=0;n>0&&e[n-1]==m;)r++,n--;return r%2!=0}function u(e){for(var t,n,r=e.chunk,i=[];;){var o=s(e);if(!o){var a=e.chunk.substring(e.cursor);a.trim().length>0&&("body"==e.mode?e.warnings.push("Missing '}' after '"+a+"'. Ignoring."):i.push(["text",[a]]),e.cursor+=a.length);break}var h,p,f=o[0],m=o[1];if(r=e.chunk,e.cursor!=f&&"bodyEnd"!=m){var g=r.substring(e.cursor,f),v=/^\s+/.exec(g);v&&(e.cursor+=v[0].length,e.track(v[0]))}if("special"==m){var y=r.indexOf("{",f),b=r.indexOf(";",f),x=b>-1&&(-1==y||b<y);if(-1==y&&-1==b)e.warnings.push("Broken declaration: '"+r.substring(e.cursor)+"'."),e.cursor=r.length;else if(x)h=r.indexOf(";",f+1),n=r.substring(e.cursor,h+1),i.push(["at-rule",[n].concat(e.track(n,!0))]),e.track(";"),e.cursor=h+1;else{h=r.indexOf("{",f+1);var _=(n=r.substring(e.cursor,h)).trim(),w=d.test(_);p=e.mode,e.cursor=h+1,e.mode=w?"body":"block",(t=[w?"flat-block":"block"]).push([_].concat(e.track(n,!0))),e.track("{"),t.push(u(e)),"string"==typeof t[2]&&(t[2]=c(t[2],[[_]],e)),e.mode=p,e.track("}"),i.push(t)}}else if("escape"==m){h=r.indexOf("__",f+1);var k=r.substring(e.cursor,h+2),E=!!e.sourceTracker.nextStart(k),A=!!e.sourceTracker.nextEnd(k);if(E)e.track(k),e.state.push({source:e.source,line:e.line,column:e.column}),e.source=e.sourceTracker.nextStart(k).filename,e.line=1,e.column=0;else if(A){var C=e.state.pop();e.source=C.source,e.line=C.line,e.column=C.column,e.track(k)}else 0===k.indexOf("__ESCAPED_COMMENT_SPECIAL")&&i.push(["text",[k]]),e.track(k);e.cursor=h+2}else if("bodyStart"==m){var S=l(r.substring(e.cursor,f),e);p=e.mode,e.cursor=f+1,e.mode="body";var T=c(u(e),S,e);e.track("{"),e.mode=p,i.push(["selector",S,T])}else if("bodyEnd"==m){if("top"==e.mode){var O=e.cursor,F="}"==r[e.cursor]?"Unexpected '}' in '"+r.substring(O-20,O+20)+"'. Ignoring.":"Unexpected content: '"+r.substring(O,f+1)+"'. Ignoring.";e.warnings.push(F),e.cursor=f+1;continue}"block"==e.mode&&e.track(r.substring(e.cursor,f)),"block"!=e.mode&&(i=r.substring(e.cursor,f)),e.cursor=f+1;break}}return i}var c=e("./extract-properties"),l=e("./extract-selectors"),h=e("../source-maps/track"),p=e("../utils/split"),f=e("path"),d=/(@(font\-face|page|\-ms\-viewport|\-o\-viewport|viewport|counter\-style)|\\@.+?)/,m="\\";t.exports=function(e,t){var n=p(r(e),"}",!0,"{","}");if(0===n.length)return[];var s={chunk:n.shift(),chunks:n,column:0,cursor:0,line:1,mode:"top",resolvePath:t.options.explicitTarget?i(t.options.root,t.options.target):null,source:void 0,sourceMap:t.options.sourceMap,sourceMapInlineSources:t.options.sourceMapInlineSources,sourceMapTracker:t.inputSourceMapTracker,sourceReader:t.sourceReader,sourceTracker:t.sourceTracker,state:[],track:t.options.sourceMap?function(e,t,n){return[[h(e,s,t,n)]]}:function(){return[]},warnings:t.warnings};return u(s)}},{"../source-maps/track":92,"../utils/split":115,"./extract-properties":102,"./extract-selectors":103,path:15}],105:[function(e,t,n){var r=e("path"),i=e("./rewrite");t.exports=function(e,t){var n={absolute:t.options.explicitRoot,relative:!t.options.explicitRoot&&t.options.explicitTarget,fromBase:t.options.relativeTo};return n.absolute||n.relative?(n.absolute&&t.options.explicitTarget&&t.warnings.push("Both 'root' and output file given so rebasing URLs as absolute paths"),n.absolute&&(n.toBase=r.resolve(t.options.root)),n.relative&&(n.toBase=r.resolve(t.options.target)),n.fromBase&&n.toBase?i(e,n,t):e):e}},{"./rewrite":107,path:15}],106:[function(e,t,n){function r(e,t,n){for(var r,i=0,f=0,d=0,m=0,g=[],v=e.indexOf(a)>-1;d<e.length&&(i=e.indexOf(o,d),f=v?e.indexOf(a,d):-1,-1!=i||-1!=f);)-1==i&&f>-1&&(i=f),-1==(d='"'==e[i+o.length]?e.indexOf(l,i):"'"==e[i+o.length]?e.indexOf(c,i):h.test(e.substring(i+o.length))?(r=s(e.substring(i),p,!1,"(",")",!0).pop())&&r[r.length-1]==u?i+r.length-u.length:-1:e.indexOf(u,i))?(-1==(d=e.indexOf("}",i))?d=e.length:d--,t.warnings.push("Broken URL declaration: '"+e.substring(i,d+1)+"'.")):e[d]!=u&&(d=e.indexOf(u,d)),g.push(e.substring(m,i)),n(e.substring(i,d+1),g),m=d+1;return g.length>0?g.join("")+e.substring(m,e.length):e}function i(e,t,n){for(var r,i,s=0,o=0,a=0,u=0,c=0,l=[],h=0,p=0;u<e.length&&(s=e.indexOf(f,u),o=e.indexOf(d,u),-1!=s||-1!=o);){if(s>-1&&o>-1&&o<s&&(s=o),h=e.indexOf("'",s),p=e.indexOf('"',s),h>-1&&p>-1&&h<p)a=h,i="'";else if(h>-1&&p>-1&&h>p)a=p,i='"';else if(h>-1)a=h,i="'";else{if(!(p>-1))break;a=p,i='"'}if(l.push(e.substring(c,a)),u=e.indexOf(i,a+1),r=e.substring(s,u),-1==u||/^@import\s+(url\(|__ESCAPED)/i.test(r)||m.test(r)){c=a;break}n(e.substring(a,u+1),l),c=u+1}return l.length>0?l.join("")+e.substring(c,e.length):e}var s=e("../utils/split"),o="url(",a="URL(",u=")",c="')",l='")',h=/^\s*['"]?\s*data:/,p=/[\s\};,\/!]/,f="@import",d="@IMPORT",m=/\*\//;t.exports=function(e,t,n){return e=r(e,t,n),e=i(e,t,n)}},{"../utils/split":115}],107:[function(e,t,n){(function(n){function r(e){return"/"==e[0]}function i(e){return"#"==e[0]}function s(e){return 0===e.indexOf("__ESCAPED_URL_CLEAN_CSS__")}function o(e){return/^\w+:\w+/.test(e)}function a(e){return/^[^:]+?:\/\//.test(e)||0===e.indexOf("//")}function u(e,t){return v.parse(e).protocol==v.parse(t).protocol&&v.parse(e).host==v.parse(t).host}function c(e){return e.lastIndexOf(".css")===e.length-4}function l(e){return 0===e.indexOf("data:")}function h(e,t){return g.resolve(g.join(t.fromBase||"",e)).replace(t.toBase,"")}function p(e,t){return g.relative(t.toBase,g.join(t.fromBase||"",e))}function f(e){return b?e.replace(/\\/g,"/"):e}function d(e,t){return r(e)||i(e)||s(e)||o(e)?e:!1!==t.rebase||c(e)?!t.imports&&c(e)?e:l(e)?"'"+e+"'":a(e)&&!a(t.toBase)?e:a(e)&&!u(e,t.toBase)?e:!a(e)&&a(t.toBase)?v.resolve(t.toBase,e):f(t.absolute?h(e,t):p(e,t)):e}function m(e){return e.indexOf("'")>-1?'"':e.indexOf('"')>-1?"'":/\s/.test(e)||/[\(\)]/.test(e)?"'":""}var g=e("path"),v=e("url"),y=e("./reduce"),b="win32"==n.platform;t.exports=function(e,t,n){return y(e,n,function(e,n){var r,i=e.replace(/^(url\()?\s*['"]?|['"]?\s*\)?$/g,""),s=e.match(/^(url\()?\s*(['"]).*?(['"])\s*\)?$/);r=t.urlQuotes&&s&&s[2]===s[3]?s[2]:m(i),n.push("url("+r+d(i,t)+r+")")})}}).call(this,e("_process"))},{"./reduce":106,_process:17,path:15,url:38}],108:[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},{}],109:[function(e,t,n){function r(e){this.source=e||{}}function i(e,t){for(var n in e){var r=e[n];"object"!=typeof r||o.isRegExp(r)?t[n]=n in t?t[n]:r:t[n]=i(r,t[n]||{})}return t}function s(e){if("object"==typeof e)return e;if(!/[,\+\-]/.test(e))return a[e]||a["*"];var t=e.split(","),n=t[0]in a?a[t.shift()]:a["*"];return e={},t.forEach(function(t){var n="+"==t[0],r=t.substring(1).split("."),i=r[0],s=r[1];e[i]=e[i]||{},e[i][s]=n}),i(n,e)}var o=e("util"),a={"*":{colors:{opacity:!0},properties:{backgroundClipMerging:!1,backgroundOriginMerging:!1,backgroundSizeMerging:!1,colors:!0,ieBangHack:!1,iePrefixHack:!1,ieSuffixHack:!0,merging:!0,shorterLengthUnits:!1,spaceAfterClosingBrace:!0,urlQuotes:!1,zeroUnits:!0},selectors:{adjacentSpace:!1,ie7Hack:!1,special:/(\-moz\-|\-ms\-|\-o\-|\-webkit\-|:dir\([a-z-]*\)|:first(?![a-z-])|:fullscreen|:left|:read-only|:read-write|:right|:placeholder|:host|:content|\/deep\/|:shadow|:selection|^,)/},units:{ch:!0,in:!0,pc:!0,pt:!0,rem:!0,vh:!0,vm:!0,vmax:!0,vmin:!0,vw:!0}},ie8:{colors:{opacity:!1},properties:{backgroundClipMerging:!1,backgroundOriginMerging:!1,backgroundSizeMerging:!1,colors:!0,ieBangHack:!1,iePrefixHack:!0,ieSuffixHack:!0,merging:!1,shorterLengthUnits:!1,spaceAfterClosingBrace:!0,urlQuotes:!1,zeroUnits:!0},selectors:{adjacentSpace:!1,ie7Hack:!1,special:/(\-moz\-|\-ms\-|\-o\-|\-webkit\-|:root|:nth|:first\-of|:last|:only|:empty|:target|:checked|::selection|:enabled|:disabled|:not|:placeholder|:host|::content|\/deep\/|::shadow|^,)/},units:{ch:!1,in:!0,pc:!0,pt:!0,rem:!1,vh:!1,vm:!1,vmax:!1,vmin:!1,vw:!1}},ie7:{colors:{opacity:!1},properties:{backgroundClipMerging:!1,backgroundOriginMerging:!1,backgroundSizeMerging:!1,colors:!0,ieBangHack:!0,iePrefixHack:!0,ieSuffixHack:!0,merging:!1,shorterLengthUnits:!1,spaceAfterClosingBrace:!0,urlQuotes:!1,zeroUnits:!0},selectors:{adjacentSpace:!1,ie7Hack:!0,special:/(\-moz\-|\-ms\-|\-o\-|\-webkit\-|:focus|:before|:after|:root|:nth|:first\-of|:last|:only|:empty|:target|:checked|::selection|:enabled|:disabled|:not|:placeholder|:host|::content|\/deep\/|::shadow|^,)/},units:{ch:!1,in:!0,pc:!0,pt:!0,rem:!1,vh:!1,vm:!1,vmax:!1,vmin:!1,vw:!1}}};r.prototype.toOptions=function(){return i(a["*"],s(this.source))},t.exports=r},{util:43}],110:[function(e,t,n){(function(n,r,i){function s(e){this.options=e.options,this.errors=e.errors,this.warnings=e.warnings,this.sourceTracker=e.sourceTracker,this.timeout=this.options.inliner.timeout,this.requestOptions=this.options.inliner.request,this.localOnly=e.localOnly,this.relativeTo=e.options.target||n.cwd(),this.maps={},this.sourcesContent={}}function o(e,t,n){return e.trackLoaded(void 0,void 0,e.options.sourceMap),n()}function a(e,t,n,r){for(var i=0;r.cursor<t.length;){var s=t.substring(r.cursor),o=e.sourceTracker.nextStart(s)||{index:-1},l=e.sourceTracker.nextEnd(s)||{index:-1},h=_.exec(s)||{index:-1},p=h[1];if(i=t.length,o.index>-1&&(i=o.index),l.index>-1&&l.index<i&&(i=l.index),h.index>-1&&h.index<i&&(i=h.index),i==t.length)break;if(i==o.index)r.files.push(o.filename);else if(i==l.index)r.files.pop();else if(i==h.index){var f=/^https?:\/\//.test(p)||/^\/\//.test(p),d=k.test(p);if(f)return c(e,p,r,function(){r.cursor+=i+1,a(e,t,n,r)});var v,y,b=r.files[r.files.length-1],x=b?g.dirname(b):e.options.relativeTo;d?(v=g.resolve(e.options.root,b||""),y=u(p)):(v=g.resolve(e.options.root,g.join(x||"",p)),y=m.readFileSync(v,"utf-8")),e.trackLoaded(b||void 0,v,y)}r.cursor+=i+1}return n()}function u(e){var t=k.exec(e),n=t[2]?t[2].split(/[=;]/)[2]:"us-ascii",r=t[3]?t[3].split(";")[1]:"utf8",s="utf8"==r?E(t[4]):t[4],o=new i(s,r);return o.charset=n,o.toString()}function c(e,t,n,r){l(e,t,function(i){e.trackLoaded(n.files[n.files.length-1]||void 0,t,i),r()},function(e){return n.errors.push('Broken source map at "'+t+'" - '+e),r()})}function l(e,t,n,r){var i=0===t.indexOf("https")?y:v,s=x(b.parse(t),e.requestOptions),o=!1;i.get(s,function(e){if(e.statusCode<200||e.statusCode>299)return r(e.statusCode);var t=[];e.on("data",function(e){t.push(e.toString())}),e.on("end",function(){n(t.join(""))})}).on("error",function(e){o||(r(e.message),o=!0)}).on("timeout",function(){o||(r("timeout"),o=!0)}).setTimeout(e.timeout)}function h(e,t,n,r,i){for(var s,o=r.length,a={line:t,column:n+o};o-- >0&&(a.column--,!(s=e.data.originalPositionFor(a))););return null===s.line&&t>1&&i>0?h(e,t-1,n,r,i-1):(e.path&&s.source&&(s.source=w.test(e.path)?b.resolve(e.path,s.source):g.join(e.path,s.source),s.sourceResolved=!0),s)}function p(e,t){var n=e.maps[t].data,r=w.test(t),i={};n.sources.forEach(function(s,o){var a=r?b.resolve(g.dirname(t),s):g.relative(e.relativeTo,g.resolve(g.dirname(t||"."),s));i[a]=n.sourcesContent&&n.sourcesContent[o]}),e.sourcesContent[t]=i}function f(e,t,n){function r(){return f(e,t,n)}if(0===t.length)return n();var i=t.shift(),s=i[0],o=i[1],a=w.test(s);if(a&&e.localOnly)return e.warnings.push('No callback given to `#minify` method, cannot fetch a remote file from "'+o+'"'),r();if(!a){var u=g.join(e.options.root,o);return m.existsSync(u)?e.sourcesContent[s][o]=m.readFileSync(u,"utf-8"):e.warnings.push('Missing original source file at "'+u+'".'),r()}l(e,o,function(t){e.sourcesContent[s][o]=t,r()},function(t){e.warnings.push('Broken original source file at "'+o+'" - '+t),r()})}var d=e("source-map").SourceMapConsumer,m=e("fs"),g=e("path"),v=e("http"),y=e("https"),b=e("url"),x=e("../utils/object.js").override,_=/\/\*# sourceMappingURL=(\S+) \*\//,w=/^(https?:)?\/\//,k=/^data:(\S*?)?(;charset=[^;]+)?(;[^,]+?)?,(.+)/,E=r.unescape;s.prototype.track=function(e,t){return"string"==typeof this.options.sourceMap?o(this,0,t):a(this,e,t,{files:[],cursor:0,errors:this.errors})},s.prototype.trackLoaded=function(e,t,n){var r=this.options.explicitTarget?this.options.target:this.options.root,i=w.test(e);t&&(t=i?g.dirname(t):g.dirname(g.relative(r,t))),this.maps[e]={path:t,data:new d(n)},p(this,e)},s.prototype.isTracking=function(e){return!!this.maps[e]},s.prototype.originalPositionFor=function(e,t,n){return h(this.maps[e.source],e.line,e.column,t,n)},s.prototype.sourcesContentFor=function(e){return this.sourcesContent[e]},s.prototype.resolveSources=function(e){var t=[];for(var n in this.sourcesContent){var r=this.sourcesContent[n];for(var i in r)r[i]||t.push([n,i])}return f(this,t,e)},t.exports=s}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer)},{"../utils/object.js":111,_process:17,buffer:5,fs:4,http:32,https:9,path:15,"source-map":176,url:38}],111:[function(e,t,n){t.exports={override:function(e,t){var n={};for(var r in e)n[r]=e[r];for(var i in t)n[i]=t[i];return n}}},{}],112:[function(e,t,n){function r(e){this.data=e}function i(e,t){for(var n=t;n>-1&&!((n=e.lastIndexOf(o,n))>-1&&"*"!=e[n-1]);)n--;return n}function s(e,t,n){for(var r=n;;){if(-1==(r=e.indexOf(t,r+1)))return-1;if("\\"!=e[r-1])return r}}var o="/*",a=function(e,t,n,r){var s=e.substring(r,n),o=s.lastIndexOf("*/",n),a=i(s,n),u=!1;if(o>=n&&a>-1&&(u=!0),a<n&&a>o&&(u=!0),u){var c=e.indexOf("*/",n);return c>-1?c:(c=e.indexOf("}",n))>-1?c-1:e.length}for(;;){if(void 0===e[n])break;if(e[n]==t&&("\\"!=e[n-1]||"\\"==e[n-2]))break;n++}return n};r.prototype.each=function(e){for(var t=this.data,n=[],r=0,i=0,o=0,u=null,c=t.length;i<t.length;){var l=s(t,"'",i),h=s(t,'"',i);if(-1==l&&(l=c),-1==h&&(h=c),l<h?(r=l,u="'"):(r=h,u='"'),-1==r)break;if(-1==(i=a(t,u,r+1,o)))break;var p=t.substring(r,i+1);n.push(t.substring(o,r)),p.length>0&&e(p,n,r),o=i+1}return n.length>0?n.join("")+t.substring(o,t.length):t},t.exports=r},{}],113:[function(e,t,n){(function(n){function r(e,t){this.outerContext=e,this.data=t,this.sources={}}function i(e){var t=e.data;return e.trackSource(void 0,t),t}function s(e){var t=e.data.toString();return e.trackSource(void 0,t),t}function o(e){return e.data.map(function(t){return!1===e.outerContext.options.processImport?t+"@shallow":t}).map(function(t){return!e.outerContext.options.relativeTo||/^https?:\/\//.test(t)?t:u.relative(e.outerContext.options.relativeTo,t)}).map(function(e){return"@import url("+e+");"}).join("")}function a(e){var t=[],n=u.resolve(e.outerContext.options.target||e.outerContext.options.root);for(var r in e.data){var i=e.data[r].styles,s=e.data[r].sourceMap,o=l.test(r),a=o?r:u.resolve(r),h=u.dirname(a),p={absolute:e.outerContext.options.explicitRoot,relative:!e.outerContext.options.explicitRoot,imports:!0,rebase:e.outerContext.options.rebase,fromBase:h,toBase:o?h:n,urlQuotes:e.outerContext.options.compatibility.properties.urlQuotes};i=c(i,p,e.outerContext),e.trackSource(r,i),i=e.outerContext.sourceTracker.store(r,i),e.outerContext.options.sourceMap&&s&&e.outerContext.inputSourceMapTracker.trackLoaded(r,r,s),t.push(i)}return t.join("")}var u=e("path"),c=e("../urls/rewrite"),l=/^(https?:)?\/\//;r.prototype.sourceAt=function(e){return this.sources[e]},r.prototype.trackSource=function(e,t){this.sources[e]={},this.sources[e][e]=t},r.prototype.toString=function(){return"string"==typeof this.data?i(this):n.isBuffer(this.data)?s(this):Array.isArray(this.data)?o(this):a(this)},t.exports=r}).call(this,{isBuffer:e("../../../../../../../../node_modules/is-buffer/index.js")})},{"../../../../../../../../node_modules/is-buffer/index.js":12,"../urls/rewrite":107,path:15}],114:[function(e,t,n){function r(){this.sources=[]}r.prototype.store=function(e,t){return this.sources.push(e),"__ESCAPED_SOURCE_CLEAN_CSS"+(this.sources.length-1)+"__"+t+"__ESCAPED_SOURCE_END_CLEAN_CSS__"},r.prototype.nextStart=function(e){var t=/__ESCAPED_SOURCE_CLEAN_CSS(\d+)__/.exec(e);return t?{index:t.index,filename:this.sources[~~t[1]]}:null},r.prototype.nextEnd=function(e){return/__ESCAPED_SOURCE_END_CLEAN_CSS__/g.exec(e)},r.prototype.removeAll=function(e){return e.replace(/__ESCAPED_SOURCE_CLEAN_CSS\d+__/g,"").replace(/__ESCAPED_SOURCE_END_CLEAN_CSS__/g,"")},t.exports=r},{}],115:[function(e,t,n){t.exports=function(e,t,n,r,i,s){var o="string"!=typeof t;if(!(o?t.test(e):e.indexOf(t)))return[e];if(r=r||"(",i=i||")",-1==e.indexOf(r)&&!n&&!s)return e.split(t);for(var a=!1,u=!1,c=0,l=0,h=0,p=e.length,f=[];l<p&&(a="\\"==e[l],u||(e[l]==r?c++:e[l]==i&&c--),!(!u&&0===c&&l>0&&l+1<p&&(o?t.test(e[l]):e[l]==t)&&(f.push(e.substring(h,l+(n?1:0))),h=l+1,s&&1==f.length)));)u=a,l++;if(h<l+1){var d=e.substring(h),m=d[d.length-1];!n&&(o?t.test(m):m==t)&&(d=d.substring(0,d.length-1)),f.push(d)}return f}},{}],116:[function(e,t,n){"use strict";function r(e,t){if(e="("+e+")",a===e&&c===t)return u;if(a=e,c=t,!o(e))return u=!1;var n;try{n=i.parse(e,{ecmaVersion:6,allowReturnOutsideFunction:!0,allowImportExportEverywhere:!0,allowHashBang:!0})}catch(e){return u=!1}var r=!0;return s.simple(n,{Statement:function(e){r&&!0!==l[e.type]&&(r=!1)},Expression:function(e){r&&!0!==h[e.type]&&(r=!1)},MemberExpression:function(e){r&&(e.computed?r=!1:"_"===e.property.name[0]&&(r=!1))},Identifier:function(e){r&&(t&&e.name in t||(r=!1))}}),u=r}var i=e("acorn"),s=e("acorn/dist/walk"),o=e("is-expression"),a="(null)",u=!0,c=void 0,l={EmptyStatement:!0,ExpressionStatement:!0},h={ParenthesizedExpression:!0,ArrayExpression:!0,ObjectExpression:!0,SequenceExpression:!0,TemplateLiteral:!0,UnaryExpression:!0,BinaryExpression:!0,LogicalExpression:!0,ConditionalExpression:!0,Identifier:!0,Literal:!0,ComprehensionExpression:!0,TaggedTemplateExpression:!0,MemberExpression:!0,CallExpression:!0,NewExpression:!0};t.exports=r,r.isConstant=r,r.toConstant=function(e,t){if(!r(e,t))throw new Error(JSON.stringify(e)+" is not constant.");return Function(Object.keys(t||{}).join(","),"return ("+e+")").apply(null,Object.keys(t||{}).map(function(e){return t[e]}))}},{acorn:49,"acorn/dist/walk":50,"is-expression":121}],117:[function(e,t,n){"use strict";t.exports={html:"<!DOCTYPE html>",xml:'<?xml version="1.0" encoding="utf-8" ?>',transitional:'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',strict:'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">',frameset:'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">',1.1:'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">',basic:'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd">',mobile:'<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">',plist:'<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">'}},{}],118:[function(e,t,n){"use strict";var r=Array.prototype.slice,i=Object.prototype.toString;t.exports=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==i.call(t))throw new TypeError("Function.prototype.bind called on incompatible "+t);for(var n,s=r.call(arguments,1),o=Math.max(0,t.length-s.length),a=[],u=0;u<o;u++)a.push("$"+u);if(n=Function("binder","return function ("+a.join(",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof n){var i=t.apply(this,s.concat(r.call(arguments)));return Object(i)===i?i:this}return t.apply(e,s.concat(r.call(arguments)))}),t.prototype){var c=function(){};c.prototype=t.prototype,n.prototype=new c,c.prototype=null}return n}},{}],119:[function(e,t,n){"use strict";var r=e("./implementation");t.exports=Function.prototype.bind||r},{"./implementation":118}],120:[function(e,t,n){var r=e("function-bind");t.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},{"function-bind":119}],121:[function(e,t,n){"use strict";var r=e("acorn"),i=e("object-assign");t.exports=function(e,t){t=i({},s,t);try{var n=new r.Parser(t,e,0);t.strict&&(n.strict=!0),t.lineComment||(n.skipLineComment=function(e){this.raise(this.pos,"Line comments not allowed in an expression")}),n.nextToken(),n.parseExpression(),n.type!==r.tokTypes.eof&&n.unexpected()}catch(e){if(!t.throw)return!1;throw e}return!0};var s={throw:!1,strict:!1,lineComment:!1}},{acorn:49,"object-assign":126}],122:[function(e,t,n){t.exports=function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}},{}],123:[function(e,t,n){"use strict";var r=e("has"),i=RegExp.prototype.exec,s=Object.getOwnPropertyDescriptor,o=function(e){try{var t=e.lastIndex;return e.lastIndex=0,i.call(e),!0}catch(e){return!1}finally{e.lastIndex=t}},a=Object.prototype.toString,u="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;t.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!u)return"[object RegExp]"===a.call(e);var t=s(e,"lastIndex");return!(!t||!r(t,"value"))&&o(e)}},{has:120}],124:[function(e,t,n){"use strict";function r(e){return e instanceof Date?"new Date("+r(e.toISOString())+")":void 0===e?"undefined":JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/</g,"\\u003C").replace(/>/g,"\\u003E").replace(/\//g,"\\u002F")}t.exports=r},{}],125:[function(e,t,n){"use strict";function r(e){s(e,"Transformer must be an object"),s("string"==typeof e.name,"Transformer must have a name"),s("string"==typeof e.outputFormat,"Transformer must have an output format"),s(["compile","compileAsync","compileFile","compileFileAsync","compileClient","compileClientAsync","compileFileClient","compileFileClientAsync","render","renderAsync","renderFile","renderFileAsync"].some(function(t){return"function"==typeof e[t]}),"Transformer must implement at least one of the potential methods."),this._tr=e,this.name=this._tr.name,this.outputFormat=this._tr.outputFormat,this.inputFormats=this._tr.inputFormats||[this.name]}var i=e("fs"),s=e("assert"),o=e("promise"),a=e("is-promise"),u=t.exports=function(e){return new r(e)};u.Transformer=r,u.normalizeFn=function(e){if("function"==typeof e)return{fn:e,dependencies:[]};if(e&&"object"==typeof e&&"function"==typeof e.fn){if("dependencies"in e){if(!Array.isArray(e.dependencies))throw new Error("Result should have a dependencies property that is an array")}else e.dependencies=[];return e}throw new Error("Invalid result object from transform.")},u.normalizeFnAsync=function(e,t){return o.resolve(e).then(function(e){return e&&a(e.fn)?e.fn.then(function(t){return e.fn=t,e}):e}).then(u.normalizeFn).nodeify(t)},u.normalize=function(e){if("string"==typeof e)return{body:e,dependencies:[]};if(e&&"object"==typeof e&&"string"==typeof e.body){if("dependencies"in e){if(!Array.isArray(e.dependencies))throw new Error("Result should have a dependencies property that is an array")}else e.dependencies=[];return e}throw new Error("Invalid result object from transform.")},u.normalizeAsync=function(e,t){return o.resolve(e).then(function(e){return e&&a(e.body)?e.body.then(function(t){return e.body=t,e}):e}).then(u.normalize).nodeify(t)},i.readFile?(u.readFile=o.denodeify(i.readFile),u.readFileSync=i.readFileSync):(u.readFile=function(){throw new Error("fs.readFile unsupported")},u.readFileSync=function(){throw new Error("fs.readFileSync unsupported")});var c={compile:["compile","render"],compileAsync:["compileAsync","compile","render"],compileFile:["compileFile","compile","renderFile","render"],compileFileAsync:["compileFileAsync","compileFile","compileAsync","compile","renderFile","render"],compileClient:["compileClient"],compileClientAsync:["compileClientAsync","compileClient"],compileFileClient:["compileFileClient","compileClient"],compileFileClientAsync:["compileFileClientAsync","compileFileClient","compileClientAsync","compileClient"],render:["render","compile"],renderAsync:["renderAsync","render","compileAsync","compile"],renderFile:["renderFile","render","compileFile","compile"],renderFileAsync:["renderFileAsync","renderFile","renderAsync","render","compileFileAsync","compileFile","compileAsync","compile"]};r.prototype._hasMethod=function(e){return"function"==typeof this._tr[e]},r.prototype.can=function(e){return c[e].some(function(e){return this._hasMethod(e)}.bind(this))},r.prototype.compile=function(e,t){if(!this._hasMethod("compile")){if(this.can("render")){var n=this;return{fn:function(r){return u.normalize(n._tr.render(e,t,r)).body},dependencies:[]}}throw this.can("compileAsync")?new Error('The Transform "'+this.name+'" does not support synchronous compilation'):this.can("compileFileAsync")?new Error('The Transform "'+this.name+'" does not support compiling plain strings'):new Error('The Transform "'+this.name+'" does not support compilation')}return u.normalizeFn(this._tr.compile(e,t))},r.prototype.compileAsync=function(e,t,n){return this.can("compileAsync")?this._hasMethod("compileAsync")?u.normalizeFnAsync(this._tr.compileAsync(e,t),n):u.normalizeFnAsync(this.compile(e,t),n):o.reject(new Error('The Transform "'+this.name+'" does not support compiling plain strings')).nodeify(n)},r.prototype.compileFile=function(e,t){if(!this.can("compileFile"))throw new Error('The Transform "'+this.name+'" does not support synchronous compilation');return this._hasMethod("compileFile")?u.normalizeFn(this._tr.compileFile(e,t)):this._hasMethod("renderFile")?u.normalizeFn(function(n){return u.normalize(this._tr.renderFile(e,t,n)).body}.bind(this)):(t||(t={}),void 0===t.filename&&(t.filename=e),this.compile(u.readFileSync(e,"utf8"),t))},r.prototype.compileFileAsync=function(e,t,n){return this.can("compileFileAsync")?this._hasMethod("compileFileAsync")?u.normalizeFnAsync(this._tr.compileFileAsync(e,t),n):this._hasMethod("compileFile")||this._hasMethod("renderFile")?u.normalizeFnAsync(this.compileFile(e,t),n):(t||(t={}),void 0===t.filename&&(t.filename=e),u.normalizeFnAsync(u.readFile(e,"utf8").then(function(e){return this._hasMethod("compileAsync")?this._tr.compileAsync(e,t):this.compile(e,t)}.bind(this)),n)):o.reject(new Error('The Transform "'+this.name+'" does not support compilation'))},r.prototype.compileClient=function(e,t){if(!this.can("compileClient"))throw this.can("compileClientAsync")?new Error('The Transform "'+this.name+'" does not support compiling for the client synchronously.'):this.can("compileFileClientAsync")?new Error('The Transform "'+this.name+'" does not support compiling for the client from a string.'):new Error('The Transform "'+this.name+'" does not support compiling for the client');return u.normalize(this._tr.compileClient(e,t))},r.prototype.compileClientAsync=function(e,t,n){return this.can("compileClientAsync")?this._hasMethod("compileClientAsync")?u.normalizeAsync(this._tr.compileClientAsync(e,t),n):u.normalizeAsync(this._tr.compileClient(e,t),n):this.can("compileFileClientAsync")?o.reject(new Error('The Transform "'+this.name+'" does not support compiling for the client from a string.')).nodeify(n):o.reject(new Error('The Transform "'+this.name+'" does not support compiling for the client')).nodeify(n)},r.prototype.compileFileClient=function(e,t){if(!this.can("compileFileClient"))throw this.can("compileFileClientAsync")?new Error('The Transform "'+this.name+'" does not support compiling for the client synchronously.'):new Error('The Transform "'+this.name+'" does not support compiling for the client');return this._hasMethod("compileFileClient")?u.normalize(this._tr.compileFileClient(e,t)):(t||(t={}),void 0===t.filename&&(t.filename=e),u.normalize(this._tr.compileClient(u.readFileSync(e,"utf8"),t)))},r.prototype.compileFileClientAsync=function(e,t,n){return this.can("compileFileClientAsync")?this._hasMethod("compileFileClientAsync")?u.normalizeAsync(this._tr.compileFileClientAsync(e,t),n):this._hasMethod("compileFileClient")?u.normalizeAsync(this._tr.compileFileClient(e,t),n):(t||(t={}),void 0===t.filename&&(t.filename=e),u.normalizeAsync(u.readFile(e,"utf8").then(function(e){return this._hasMethod("compileClientAsync")?this._tr.compileClientAsync(e,t):this._tr.compileClient(e,t)}.bind(this)),n)):o.reject(new Error('The Transform "'+this.name+'" does not support compiling for the client')).nodeify(n)},r.prototype.render=function(e,t,n){if(!this.can("render"))throw this.can("renderAsync")?new Error('The Transform "'+this.name+'" does not support rendering synchronously.'):this.can("renderFileAsync")?new Error('The Transform "'+this.name+'" does not support rendering from a string.'):new Error('The Transform "'+this.name+'" does not support rendering');if(this._hasMethod("render"))return u.normalize(this._tr.render(e,t,n));var r=u.normalizeFn(this._tr.compile(e,t)),i=r.fn(n||t);if("string"!=typeof i)throw new Error('The Transform "'+this.name+'" does not support rendering synchronously.');return u.normalize({body:i,dependencies:r.dependencies})},r.prototype.renderAsync=function(e,t,n,r){return"function"==typeof n&&(r=n,n=t),this.can("renderAsync")?this._hasMethod("renderAsync")?u.normalizeAsync(this._tr.renderAsync(e,t,n),r):this._hasMethod("render")?u.normalizeAsync(this._tr.render(e,t,n),r):u.normalizeAsync(this.compileAsync(e,t).then(function(e){return{body:e.fn(n||t),dependencies:e.dependencies}}),r):this.can("renderFileAsync")?o.reject(new Error('The Transform "'+this.name+'" does not support rendering from a string.')).nodeify(r):o.reject(new Error('The Transform "'+this.name+'" does not support rendering')).nodeify(r)},r.prototype.renderFile=function(e,t,n){if(!this.can("renderFile"))throw new Error('The Transform "'+this.name+'" does not support rendering synchronously.');if(this._hasMethod("renderFile"))return u.normalize(this._tr.renderFile(e,t,n));if(this._hasMethod("render"))return t||(t={}),void 0===t.filename&&(t.filename=e),u.normalize(this._tr.render(u.readFileSync(e,"utf8"),t,n));var r=this.compileFile(e,t);return u.normalize({body:r.fn(n||t),dependencies:r.dependencies})},r.prototype.renderFileAsync=function(e,t,n,r){if(!this.can("renderFileAsync"))throw new Error('The Transform "'+this.name+'" does not support rendering.');return"function"==typeof n&&(r=n,n=t),this._hasMethod("renderFileAsync")?u.normalizeAsync(this._tr.renderFileAsync(e,t,n),r):this._hasMethod("renderFile")?u.normalizeAsync(this._tr.renderFile(e,t,n),r):this._hasMethod("compile")||this._hasMethod("compileAsync")||this._hasMethod("compileFile")||this._hasMethod("compileFileAsync")?u.normalizeAsync(this.compileFileAsync(e,t).then(function(e){return{body:e.fn(n||t),dependencies:e.dependencies}}),r):(t||(t={}),void 0===t.filename&&(t.filename=e),u.normalizeAsync(u.readFile(e,"utf8").then(function(e){return this.renderAsync(e,t,n)}.bind(this)),r))}},{assert:1,fs:4,"is-promise":122,promise:128}],126:[function(e,t,n){"use strict";function r(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var i=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,a,u=r(e),c=1;c<arguments.length;c++){n=Object(arguments[c]);for(var l in n)s.call(n,l)&&(u[l]=n[l]);if(i){a=i(n);for(var h=0;h<a.length;h++)o.call(n,a[h])&&(u[a[h]]=n[a[h]])}}return u}},{}],127:[function(e,t,n){(function(e){"use strict";function n(e){var t=s.exec(e),n=(t[1]||"")+(t[2]||""),r=t[3]||"",i=o.exec(r);return[n,i[1],i[2],i[3]]}function r(e){return u.exec(e).slice(1)}var i="win32"===e.platform,s=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/,o=/^([\s\S]*?)((?:\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))(?:[\\\/]*)$/,a={};a.parse=function(e){if("string"!=typeof e)throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e);var t=n(e);if(!t||4!==t.length)throw new TypeError("Invalid path '"+e+"'");return{root:t[0],dir:t[0]+t[1].slice(0,-1),base:t[2],ext:t[3],name:t[2].slice(0,t[2].length-t[3].length)}};var u=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,c={};c.parse=function(e){if("string"!=typeof e)throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e);var t=r(e);if(!t||4!==t.length)throw new TypeError("Invalid path '"+e+"'");return t[1]=t[1]||"",t[2]=t[2]||"",t[3]=t[3]||"",{root:t[0],dir:t[0]+t[1].slice(0,-1),base:t[2],ext:t[3],name:t[2].slice(0,t[2].length-t[3].length)}},t.exports=i?a.parse:c.parse,t.exports.posix=c.parse,t.exports.win32=a.parse}).call(this,e("_process"))},{_process:17}],128:[function(e,t,n){"use strict";t.exports=e("./lib")},{"./lib":133}],129:[function(e,t,n){"use strict";function r(){}function i(e){try{return e.then}catch(e){return v=e,y}}function s(e,t){try{return e(t)}catch(e){return v=e,y}}function o(e,t,n){try{e(t,n)}catch(e){return v=e,y}}function a(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("Promise constructor's argument is not a function");this._40=0,this._65=0,this._55=null,this._72=null,e!==r&&m(e,this)}function u(e,t,n){return new e.constructor(function(i,s){var o=new a(r);o.then(i,s),c(e,new d(t,n,o))})}function c(e,t){for(;3===e._65;)e=e._55;if(a._37&&a._37(e),0===e._65)return 0===e._40?(e._40=1,void(e._72=t)):1===e._40?(e._40=2,void(e._72=[e._72,t])):void e._72.push(t);l(e,t)}function l(e,t){g(function(){var n=1===e._65?t.onFulfilled:t.onRejected;if(null!==n){var r=s(n,e._55);r===y?p(t.promise,v):h(t.promise,r)}else 1===e._65?h(t.promise,e._55):p(t.promise,e._55)})}function h(e,t){if(t===e)return p(e,new TypeError("A promise cannot be resolved with itself."));if(t&&("object"==typeof t||"function"==typeof t)){var n=i(t);if(n===y)return p(e,v);if(n===e.then&&t instanceof a)return e._65=3,e._55=t,void f(e);if("function"==typeof n)return void m(n.bind(t),e)}e._65=1,e._55=t,f(e)}function p(e,t){e._65=2,e._55=t,a._87&&a._87(e,t),f(e)}function f(e){if(1===e._40&&(c(e,e._72),e._72=null),2===e._40){for(var t=0;t<e._72.length;t++)c(e,e._72[t]);e._72=null}}function d(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function m(e,t){var n=!1,r=o(e,function(e){n||(n=!0,h(t,e))},function(e){n||(n=!0,p(t,e))});n||r!==y||(n=!0,p(t,v))}var g=e("asap/raw"),v=null,y={};t.exports=a,a._37=null,a._87=null,a._61=r,a.prototype.then=function(e,t){if(this.constructor!==a)return u(this,e,t);var n=new a(r);return c(this,new d(e,t,n)),n}},{"asap/raw":53}],130:[function(e,t,n){"use strict";var r=e("./core.js");t.exports=r,r.prototype.done=function(e,t){(arguments.length?this.then.apply(this,arguments):this).then(null,function(e){setTimeout(function(){throw e},0)})}},{"./core.js":129}],131:[function(e,t,n){"use strict";function r(e){var t=new i(i._61);return t._65=1,t._55=e,t}var i=e("./core.js");t.exports=i;var s=r(!0),o=r(!1),a=r(null),u=r(void 0),c=r(0),l=r("");i.resolve=function(e){if(e instanceof i)return e;if(null===e)return a;if(void 0===e)return u;if(!0===e)return s;if(!1===e)return o;if(0===e)return c;if(""===e)return l;if("object"==typeof e||"function"==typeof e)try{var t=e.then;if("function"==typeof t)return new i(t.bind(e))}catch(e){return new i(function(t,n){n(e)})}return r(e)},i.all=function(e){var t=Array.prototype.slice.call(e);return new i(function(e,n){function r(o,a){if(a&&("object"==typeof a||"function"==typeof a)){if(a instanceof i&&a.then===i.prototype.then){for(;3===a._65;)a=a._55;return 1===a._65?r(o,a._55):(2===a._65&&n(a._55),void a.then(function(e){r(o,e)},n))}var u=a.then;if("function"==typeof u)return void new i(u.bind(a)).then(function(e){r(o,e)},n)}t[o]=a,0==--s&&e(t)}if(0===t.length)return e([]);for(var s=t.length,o=0;o<t.length;o++)r(o,t[o])})},i.reject=function(e){return new i(function(t,n){n(e)})},i.race=function(e){return new i(function(t,n){e.forEach(function(e){i.resolve(e).then(t,n)})})},i.prototype.catch=function(e){return this.then(null,e)}},{"./core.js":129}],132:[function(e,t,n){"use strict";var r=e("./core.js");t.exports=r,r.prototype.finally=function(e){return this.then(function(t){return r.resolve(e()).then(function(){return t})},function(t){return r.resolve(e()).then(function(){throw t})})}},{"./core.js":129}],133:[function(e,t,n){"use strict";t.exports=e("./core.js"),e("./done.js"),e("./finally.js"),e("./es6-extensions.js"),e("./node-extensions.js"),e("./synchronous.js")},{"./core.js":129,"./done.js":130,"./es6-extensions.js":131,"./finally.js":132,"./node-extensions.js":134,"./synchronous.js":135}],134:[function(e,t,n){"use strict";function r(e,t){for(var n=[],r=0;r<t;r++)n.push("a"+r);var i=["return function ("+n.join(",")+") {","var self = this;","return new Promise(function (rs, rj) {","var res = fn.call(",["self"].concat(n).concat([a]).join(","),");","if (res &&",'(typeof res === "object" || typeof res === "function") &&','typeof res.then === "function"',") {rs(res);}","});","};"].join("");return Function(["Promise","fn"],i)(s,e)}function i(e){for(var t=Math.max(e.length-1,3),n=[],r=0;r<t;r++)n.push("a"+r);var i=["return function ("+n.join(",")+") {","var self = this;","var args;","var argLength = arguments.length;","if (arguments.length > "+t+") {","args = new Array(arguments.length + 1);","for (var i = 0; i < arguments.length; i++) {","args[i] = arguments[i];","}","}","return new Promise(function (rs, rj) {","var cb = "+a+";","var res;","switch (argLength) {",n.concat(["extra"]).map(function(e,t){return"case "+t+":res = fn.call("+["self"].concat(n.slice(0,t)).concat("cb").join(",")+");break;"}).join(""),"default:","args[argLength] = cb;","res = fn.apply(self, args);","}","if (res &&",'(typeof res === "object" || typeof res === "function") &&','typeof res.then === "function"',") {rs(res);}","});","};"].join("");return Function(["Promise","fn"],i)(s,e)}var s=e("./core.js"),o=e("asap");t.exports=s,s.denodeify=function(e,t){return"number"==typeof t&&t!==1/0?r(e,t):i(e)};var a="function (err, res) {if (err) { rj(err); } else { rs(res); }}";s.nodeify=function(e){return function(){var t=Array.prototype.slice.call(arguments),n="function"==typeof t[t.length-1]?t.pop():null,r=this;try{return e.apply(this,arguments).nodeify(n,r)}catch(e){if(null===n||void 0===n)return new s(function(t,n){n(e)});o(function(){n.call(r,e)})}}},s.prototype.nodeify=function(e,t){if("function"!=typeof e)return this;this.then(function(n){o(function(){e.call(t,null,n)})},function(n){o(function(){e.call(t,n)})})}},{"./core.js":129,asap:52}],135:[function(e,t,n){"use strict";var r=e("./core.js");t.exports=r,r.enableSynchronous=function(){r.prototype.isPending=function(){return 0==this.getState()},r.prototype.isFulfilled=function(){return 1==this.getState()},r.prototype.isRejected=function(){return 2==this.getState()},r.prototype.getValue=function(){if(3===this._65)return this._55.getValue();if(!this.isFulfilled())throw new Error("Cannot get a value of an unfulfilled promise.");return this._55},r.prototype.getReason=function(){if(3===this._65)return this._55.getReason();if(!this.isRejected())throw new Error("Cannot get a rejection reason of a non-rejected promise.");return this._55},r.prototype.getState=function(){return 3===this._65?this._55.getState():-1===this._65||-2===this._65?0:this._65}},r.disableSynchronous=function(){r.prototype.isPending=void 0,r.prototype.isFulfilled=void 0,r.prototype.isRejected=void 0,r.prototype.getValue=void 0,r.prototype.getReason=void 0,r.prototype.getState=void 0}},{"./core.js":129}],136:[function(e,t,n){"use strict";function r(e){return a(e,{pug:u,pug_interp:void 0})}function i(e){return a.toConstant(e,{pug:u,pug_interp:void 0})}var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=e("assert"),a=e("constantinople"),u=e("pug-runtime"),c=e("js-stringify");t.exports=function(e,t){function n(e,n,s,o){if(r(n))if("html"===t.format){var a=c(u.attr(e,i(n),s,t.terse)),l=o[o.length-1];l&&l[l.length-1]===a[0]?o[o.length-1]=l.substr(0,l.length-1)+a.substr(1):o.push(a)}else n=i(n),s&&(n=u.escape(n)),o.push(c(e)+": "+c(n));else"html"===t.format?o.push(t.runtime("attr")+'("'+e+'", '+n+", "+c(s)+", "+c(t.terse)+")"):(s&&(n=t.runtime("escape")+"("+n+")"),o.push(c(e)+": "+n))}o(Array.isArray(e),"Attrs should be an array"),o(e.every(function(e){return e&&"object"===(void 0===e?"undefined":s(e))&&"string"==typeof e.name&&("string"==typeof e.val||"boolean"==typeof e.val)&&"boolean"==typeof e.mustEscape}),"All attributes should be supplied as an object of the form {name, val, mustEscape}"),o(t&&"object"===(void 0===t?"undefined":s(t)),"Options should be an object"),o("boolean"==typeof t.terse,"Options.terse should be a boolean"),o("function"==typeof t.runtime,"Options.runtime should be a function that takes a runtime function name and returns the source code that will evaluate to that function at runtime"),o("html"===t.format||"object"===t.format,'Options.format should be "html" or "object"');var a=[],l=[],h=[];e.forEach(function(e){var s=e.name,o=e.val,p=e.mustEscape;"class"===s?(l.push(o),h.push(p)):("style"===s&&(o=r(o)?c(u.style(i(o))):t.runtime("style")+"("+o+")"),n(s,o,p,a))});var p=[];return l.length&&(l.every(r)?n("class",c(u.classes(l.map(i),h)),!1,p):(l=l.map(function(e,t){return r(e)&&(e=c(h[t]?u.escape(i(e)):i(e)),h[t]=!1),e}),n("class",t.runtime("classes")+"(["+l.join(",")+"], "+c(h)+")",!1,p))),a=p.concat(a),"html"===t.format?a.length?a.join("+"):'""':"{"+a.join(",")+"}"}},{assert:1,constantinople:116,"js-stringify":124,"pug-runtime":162}],137:[function(e,t,n){"use strict";function r(e){return f(e,{pug:l,pug_interp:void 0})}function i(e){return f.toConstant(e,{pug:l,pug_interp:void 0})}function s(e,t){this.options=t=t||{},this.node=e,this.bufferedConcatenationCount=0,this.hasCompiledDoctype=!1,this.hasCompiledTag=!1,this.pp=t.pretty||!1,this.pp&&"string"!=typeof this.pp&&(this.pp=" "),this.debug=!1!==t.compileDebug,this.indents=0,this.parentIndents=0,this.terse=!1,this.mixins={},this.dynamicMixins=!1,this.eachCount=0,t.doctype&&this.setDoctype(t.doctype),this.runtimeFunctionsUsed=[],this.inlineRuntimeFunctions=t.inlineRuntimeFunctions||!1,this.debug&&this.inlineRuntimeFunctions&&this.runtimeFunctionsUsed.push("rethrow")}function o(e){function t(e){return"Block"===e.type?e.nodes.every(t):"YieldBlock"===e.type||("Text"===e.type&&!/\n/.test(e.val)||e.isInline)}return e.block.nodes.every(t)}var a=e("doctypes"),u=e("pug-error"),c=e("pug-runtime/build"),l=e("pug-runtime"),h=e("pug-attrs"),p=e("void-elements"),f=e("constantinople"),d=e("js-stringify"),m=e("with"),g={pre:!0,textarea:!0},v=["pug","pug_mixins","pug_interp","pug_debug_filename","pug_debug_line","pug_debug_sources","pug_html"];t.exports=function(e,t){return new s(e,t).compile()},t.exports.CodeGenerator=s,s.prototype={runtime:function(e){return this.inlineRuntimeFunctions?(this.runtimeFunctionsUsed.push(e),"pug_"+e):"pug."+e},error:function(e,t,n){throw u(t,e,{line:n.line,column:n.column,filename:n.filename})},compile:function(){if(this.buf=[],this.pp&&this.buf.push("var pug_indent = [];"),this.lastBufferedIdx=-1,this.visit(this.node),!this.dynamicMixins)for(var e=Object.keys(this.mixins),t=0;t<e.length;t++){var n=this.mixins[e[t]];if(!n.used)for(var r=0;r<n.instances.length;r++)for(var i=n.instances[r].start;i<n.instances[r].end;i++)this.buf[i]=""}var s=this.buf.join("\n"),o=this.options.globals?this.options.globals.concat(v):v;return s=this.options.self?"var self = locals || {};"+s:m("locals || {}",s,o.concat(this.runtimeFunctionsUsed.map(function(e){return"pug_"+e}))),this.debug&&(this.options.includeSources&&(s="var pug_debug_sources = "+d(this.options.includeSources)+";\n"+s),s="var pug_debug_filename, pug_debug_line;try {"+s+"} catch (err) {"+(this.inlineRuntimeFunctions?"pug_rethrow":"pug.rethrow")+"(err, pug_debug_filename, pug_debug_line"+(this.options.includeSources?", pug_debug_sources[pug_debug_filename]":"")+");}"),c(this.runtimeFunctionsUsed)+"function "+(this.options.templateName||"template")+'(locals) {var pug_html = "", pug_mixins = {}, pug_interp;'+s+";return pug_html;}"},setDoctype:function(e){this.doctype=a[e.toLowerCase()]||"<!DOCTYPE "+e+">",this.terse="<!doctype html>"==this.doctype.toLowerCase(),this.xml=0==this.doctype.indexOf("<?xml")},buffer:function(e){e=(e=d(e)).substr(1,e.length-2),this.lastBufferedIdx==this.buf.length&&this.bufferedConcatenationCount<100?("code"===this.lastBufferedType&&(this.lastBuffered+=' + "',this.bufferedConcatenationCount++),this.lastBufferedType="text",this.lastBuffered+=e,this.buf[this.lastBufferedIdx-1]="pug_html = pug_html + "+this.bufferStartChar+this.lastBuffered+'";'):(this.bufferedConcatenationCount=0,this.buf.push('pug_html = pug_html + "'+e+'";'),this.lastBufferedType="text",this.bufferStartChar='"',this.lastBuffered=e,this.lastBufferedIdx=this.buf.length)},bufferExpression:function(e){if(r(e))return this.buffer(i(e)+"");this.lastBufferedIdx==this.buf.length&&this.bufferedConcatenationCount<100?(this.bufferedConcatenationCount++,"text"===this.lastBufferedType&&(this.lastBuffered+='"'),this.lastBufferedType="code",this.lastBuffered+=" + ("+e+")",this.buf[this.lastBufferedIdx-1]="pug_html = pug_html + ("+this.bufferStartChar+this.lastBuffered+");"):(this.bufferedConcatenationCount=0,this.buf.push("pug_html = pug_html + ("+e+");"),this.lastBufferedType="code",this.bufferStartChar="",this.lastBuffered="("+e+")",this.lastBufferedIdx=this.buf.length)},prettyIndent:function(e,t){e=e||0,t=t?"\n":"",this.buffer(t+Array(this.indents+e).join(this.pp)),this.parentIndents&&this.buf.push('pug_html = pug_html + pug_indent.join("");')},visit:function(e,t){var n=this.debug;if(!e){throw i=t?"A child of "+t.type+" ("+(t.filename||"Pug")+":"+t.line+")":"A top-level node",i+=" is "+e+", expected a Pug AST Node.",new TypeError(i)}if(n&&!1!==e.debug&&"Block"!==e.type&&e.line){var r=";pug_debug_line = "+e.line;e.filename&&(r+=";pug_debug_filename = "+d(e.filename)),this.buf.push(r+";")}if(!this["visit"+e.type]){var i;switch(i=t?"A child of "+t.type:"A top-level node",i+=" ("+(e.filename||"Pug")+":"+e.line+") is of type "+e.type+", which is not supported by pug-code-gen.",e.type){case"Filter":i+=" Please use pug-filters to preprocess this AST.";break;case"Extends":case"Include":case"NamedBlock":case"FileReference":i+=" Please use pug-linker to preprocess this AST."}throw new TypeError(i)}this.visitNode(e)},visitNode:function(e){return this["visit"+e.type](e)},visitCase:function(e){this.buf.push("switch ("+e.expr+"){"),this.visit(e.block,e),this.buf.push("}")},visitWhen:function(e){"default"==e.expr?this.buf.push("default:"):this.buf.push("case "+e.expr+":"),e.block&&(this.visit(e.block,e),this.buf.push(" break;"))},visitLiteral:function(e){this.buffer(e.str)},visitNamedBlock:function(e){return this.visitBlock(e)},visitBlock:function(e){var t=this.escapePrettyMode,n=this.pp;n&&e.nodes.length>1&&!t&&"Text"===e.nodes[0].type&&"Text"===e.nodes[1].type&&this.prettyIndent(1,!0);for(var r=0;r<e.nodes.length;++r)n&&r>0&&!t&&"Text"===e.nodes[r].type&&"Text"===e.nodes[r-1].type&&/\n$/.test(e.nodes[r-1].val)&&this.prettyIndent(1,!1),this.visit(e.nodes[r],e)},visitMixinBlock:function(e){this.pp&&this.buf.push("pug_indent.push('"+Array(this.indents+1).join(this.pp)+"');"),this.buf.push("block && block();"),this.pp&&this.buf.push("pug_indent.pop();")},visitDoctype:function(e){!e||!e.val&&this.doctype||this.setDoctype(e.val||"html"),this.doctype&&this.buffer(this.doctype),this.hasCompiledDoctype=!0},visitMixin:function(e){var t="pug_mixins[",n=e.args||"",r=e.block,i=e.attrs,s=this.attributeBlocks(e.attributeBlocks),o=this.pp,a="#"===e.name[0],u=e.name;if(a&&(this.dynamicMixins=!0),t+=(a?e.name.substr(2,e.name.length-3):'"'+e.name+'"')+"]",this.mixins[u]=this.mixins[u]||{used:!1,instances:[]},e.call){if(this.mixins[u].used=!0,o&&this.buf.push("pug_indent.push('"+Array(this.indents+1).join(o)+"');"),r||i.length||s.length){if(this.buf.push(t+".call({"),r){this.buf.push("block: function(){"),this.parentIndents++;var c=this.indents;this.indents=0,this.visit(e.block,e),this.indents=c,this.parentIndents--,i.length||s.length?this.buf.push("},"):this.buf.push("}")}if(s.length){if(i.length){l=this.attrs(i);s.unshift(l)}s.length>1?this.buf.push("attributes: "+this.runtime("merge")+"(["+s.join(",")+"])"):this.buf.push("attributes: "+s[0])}else if(i.length){var l=this.attrs(i);this.buf.push("attributes: "+l)}n?this.buf.push("}, "+n+");"):this.buf.push("});")}else this.buf.push(t+"("+n+");");o&&this.buf.push("pug_indent.pop();")}else{var h,p=this.buf.length;(n=n?n.split(","):[]).length&&/^\.\.\./.test(n[n.length-1].trim())&&(h=n.pop().trim().replace(/^\.\.\./,"")),this.buf.push(t+" = pug_interp = function("+n.join(",")+"){"),this.buf.push("var block = (this && this.block), attributes = (this && this.attributes) || {};"),h&&(this.buf.push("var "+h+" = [];"),this.buf.push("for (pug_interp = "+n.length+"; pug_interp < arguments.length; pug_interp++) {"),this.buf.push(" "+h+".push(arguments[pug_interp]);"),this.buf.push("}")),this.parentIndents++,this.visit(r,e),this.parentIndents--,this.buf.push("};");var f=this.buf.length;this.mixins[u].instances.push({start:p,end:f})}},visitTag:function(e,t){function n(){t?s.bufferExpression(e.expr):s.buffer(r)}this.indents++;var r=e.name,i=this.pp,s=this;!0===g[e.name]&&(this.escapePrettyMode=!0),this.hasCompiledTag||(this.hasCompiledDoctype||"html"!=r||this.visitDoctype(),this.hasCompiledTag=!0),i&&!e.isInline&&this.prettyIndent(0,!0),e.selfClosing||!this.xml&&p[e.name]?(this.buffer("<"),n(),this.visitAttributes(e.attrs,this.attributeBlocks(e.attributeBlocks)),this.terse&&!e.selfClosing?this.buffer(">"):this.buffer("/>"),(e.code||e.block&&("Block"!==e.block.type||0!==e.block.nodes.length)&&e.block.nodes.some(function(e){return"Text"!==e.type||!/^\s*$/.test(e.val)}))&&this.error(r+" is a self closing element: <"+r+"/> but contains nested content.","SELF_CLOSING_CONTENT",e)):(this.buffer("<"),n(),this.visitAttributes(e.attrs,this.attributeBlocks(e.attributeBlocks)),this.buffer(">"),e.code&&this.visitCode(e.code),this.visit(e.block,e),!i||e.isInline||!0===g[e.name]||o(e)||this.prettyIndent(0,!0),this.buffer("</"),n(),this.buffer(">")),!0===g[e.name]&&(this.escapePrettyMode=!1),this.indents--},visitInterpolatedTag:function(e){return this.visitTag(e,!0)},visitText:function(e){this.buffer(e.val)},visitComment:function(e){e.buffer&&(this.pp&&this.prettyIndent(1,!0),this.buffer("\x3c!--"+e.val+"--\x3e"))},visitYieldBlock:function(e){},visitBlockComment:function(e){e.buffer&&(this.pp&&this.prettyIndent(1,!0),this.buffer("\x3c!--"+(e.val||"")),this.visit(e.block,e),this.pp&&this.prettyIndent(1,!0),this.buffer("--\x3e"))},visitCode:function(e){if(e.buffer){var t=e.val.trim();t="null == (pug_interp = "+t+') ? "" : pug_interp',!1!==e.mustEscape&&(t=this.runtime("escape")+"("+t+")"),this.bufferExpression(t)}else this.buf.push(e.val);e.block&&(e.buffer||this.buf.push("{"),this.visit(e.block,e),e.buffer||this.buf.push("}"))},visitConditional:function(e){var t=e.test;this.buf.push("if ("+t+") {"),this.visit(e.consequent,e),this.buf.push("}"),e.alternate&&("Conditional"===e.alternate.type?(this.buf.push("else"),this.visitConditional(e.alternate)):(this.buf.push("else {"),this.visit(e.alternate,e),this.buf.push("}")))},visitWhile:function(e){var t=e.test;this.buf.push("while ("+t+") {"),this.visit(e.block,e),this.buf.push("}")},visitEach:function(e){var t=e.key||"pug_index"+this.eachCount;this.eachCount++,this.buf.push("// iterate "+e.obj+"\n;(function(){\n var $$obj = "+e.obj+";\n if ('number' == typeof $$obj.length) {"),e.alternate&&this.buf.push(" if ($$obj.length) {"),this.buf.push(" for (var "+t+" = 0, $$l = $$obj.length; "+t+" < $$l; "+t+"++) {\n var "+e.val+" = $$obj["+t+"];"),this.visit(e.block,e),this.buf.push(" }"),e.alternate&&(this.buf.push(" } else {"),this.visit(e.alternate,e),this.buf.push(" }")),this.buf.push(" } else {\n var $$l = 0;\n for (var "+t+" in $$obj) {\n $$l++;\n var "+e.val+" = $$obj["+t+"];"),this.visit(e.block,e),this.buf.push(" }"),e.alternate&&(this.buf.push(" if ($$l === 0) {"),this.visit(e.alternate,e),this.buf.push(" }")),this.buf.push(" }\n}).call(this);\n")},visitAttributes:function(e,t){if(t.length){if(e.length){var n=this.attrs(e);t.unshift(n)}t.length>1?this.bufferExpression(this.runtime("attrs")+"("+this.runtime("merge")+"(["+t.join(",")+"]), "+d(this.terse)+")"):this.bufferExpression(this.runtime("attrs")+"("+t[0]+", "+d(this.terse)+")")}else e.length&&this.attrs(e,!0)},attrs:function(e,t){var n=h(e,{terse:this.terse,format:t?"html":"object",runtime:this.runtime.bind(this)});return t&&this.bufferExpression(n),n},attributeBlocks:function(e){return e&&e.slice().map(function(e){return e.val})}}},{constantinople:116,doctypes:117,"js-stringify":124,"pug-attrs":136,"pug-error":138,"pug-runtime":162,"pug-runtime/build":161,"void-elements":188,with:189}],138:[function(e,t,n){"use strict";t.exports=function(e,t,n){var r,i=n.line,s=n.column,o=n.filename,a=n.src,u=i+(s?":"+s:"");if(a&&i>=1&&i<=a.split("\n").length){var c=a.split("\n"),l=Math.max(i-3,0),h=Math.min(c.length,i+3),p=c.slice(l,h).map(function(e,t){var n=t+l+1,r=(n==i?" > ":" ")+n+"| ",o=r+e;return n===i&&s>0&&(o+="\n",o+=Array(r.length+s).join("-")+"^"),o}).join("\n");r=(o||"Pug")+":"+u+"\n"+p+"\n\n"+t}else r=(o||"Pug")+":"+u+"\n\n"+t;var f=new Error(r);return f.code="PUG:"+e,f.msg=t,f.line=i,f.column=s,f.filename=o,f.src=a,f.toJSON=function(){return{code:this.code,msg:this.msg,line:this.line,column:this.column,filename:this.filename}},f}},{}],139:[function(e,t,n){"use strict";n.runFilter=e("./lib/run-filter"),n.handleFilters=e("./lib/handle-filters")},{"./lib/handle-filters":140,"./lib/run-filter":141}],140:[function(e,t,n){"use strict";function r(e,t,n,r){function u(e){var t=e.name;if(r&&r[t]&&(t=r[t],r[t]))throw l("FILTER_ALISE_CHAIN",'The filter "'+e.name+'" is an alias for "'+t+'", which is an alias for "'+r[t]+'". Pug does not support chains of filter aliases.',e);return t}return n=n||{},c(e,function(e){function c(e,n,r,i){try{var s=u(e);return t&&t[s]?t[s](n,r):h(s,n,r,p,i)}catch(t){if("UNKNOWN_FILTER"===t.code)throw l(t.code,t.message,e);throw t}}var p=e.filename?a(e.filename):null;if("Filter"===e.type){i(e,t,n,r);var f=s(e);(m=o(e,n)).filename=e.filename,e.type="Text",e.val=c(e,f,m)}else if("RawInclude"===e.type&&e.filters.length){var d=e.filters.shift(),m=o(d,n),g=m.filename=e.file.fullPath,v=e.file.str;e.type="Text",e.val=function(e,n,r,i){var s=u(e);return t&&t[s]?t[s](r,i):c(e,n,i,"renderFile")}(d,g,v,m),e.filters.forEach(function(t){var r=o(t,n);r.filename=g,e.val=c(t,e.val,r)}),e.filters=void 0,e.file=void 0}},{includeDependencies:!0}),e}function i(e,t,n,i){e.block.nodes[0]&&"Filter"===e.block.nodes[0].type&&(e.block.nodes[0]=r(e.block,t,n,i).nodes[0])}function s(e){return e.block.nodes.map(function(e){return e.val}).join("")}function o(e,t){var n={};e.attrs.forEach(function(t){try{n[t.name]=u.toConstant(t.val)}catch(t){if(/not constant/.test(t.message))throw l("FILTER_OPTION_NOT_CONSTANT",t.message+" All filters are rendered compile-time so filter options must be constants.",e);throw t}});var r=t[e.name]||{};return Object.keys(r).forEach(function(e){n.hasOwnProperty(e)||(n[e]=r[e])}),n}var a=e("path").dirname,u=e("constantinople"),c=e("pug-walk"),l=e("pug-error"),h=e("./run-filter");t.exports=r},{"./run-filter":141,constantinople:116,path:15,"pug-error":138,"pug-walk":168}],141:[function(e,t,n){(function(n){"use strict";var r=e("jstransformer"),i=e("uglify-js"),s=e("clean-css"),o=e("resolve");t.exports=function(t,a,u,c,l){l=l||"render";var h;try{try{h=e(o.sync("jstransformer-"+t,{basedir:c||n.cwd()}))}catch(n){h=e("jstransformer-"+t)}h=r(h)}catch(e){}if(h){var p=h[l](a,u,u).body;if(u&&u.minify)try{switch(h.outputFormat){case"js":p=i.minify(p,{fromString:!0}).code;break;case"css":p=(new s).minify(p).styles}}catch(e){}return p}var f=new Error('unknown filter ":'+t+'"');throw f.code="UNKNOWN_FILTER",f}}).call(this,e("_process"))},{_process:17,"clean-css":55,jstransformer:125,resolve:169,"uglify-js":153}],142:[function(e,t,n){"use strict";function r(){this._array=[],this._set=o?new Map:Object.create(null)}var i=e("./util"),s=Object.prototype.hasOwnProperty,o="undefined"!=typeof Map;r.fromArray=function(e,t){for(var n=new r,i=0,s=e.length;i<s;i++)n.add(e[i],t);return n},r.prototype.size=function(){return o?this._set.size:Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(e,t){var n=o?e:i.toSetString(e),r=o?this.has(e):s.call(this._set,n),a=this._array.length;r&&!t||this._array.push(e),r||(o?this._set.set(e,a):this._set[n]=a)},r.prototype.has=function(e){if(o)return this._set.has(e);var t=i.toSetString(e);return s.call(this._set,t)},r.prototype.indexOf=function(e){if(o){var t=this._set.get(e);if(t>=0)return t}else{var n=i.toSetString(e);if(s.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":151}],143:[function(e,t,n){"use strict";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 s=e("./base64");n.encode=function(e){var t,n="",i=r(e);do{t=31&i,(i>>>=5)>0&&(t|=32),n+=s.encode(t)}while(i>0);return n},n.decode=function(e,t,n){var r,o,a=e.length,u=0,c=0;do{if(t>=a)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(o=s.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));r=!!(32&o),u+=(o&=31)<<c,c+=5}while(r);n.value=i(u),n.rest=t}},{"./base64":144}],144:[function(e,t,n){"use strict";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}},{}],145:[function(e,t,n){"use strict";function r(e,t,i,s,o,a){var u=Math.floor((t-e)/2)+e,c=o(i,s[u],!0);return 0===c?u:c>0?t-u>1?r(u,t,i,s,o,a):a==n.LEAST_UPPER_BOUND?t<s.length?t:-1:u:u-e>1?r(e,u,i,s,o,a):a==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,s){if(0===t.length)return-1;var o=r(-1,t.length,e,t,i,s||n.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&0===i(t[o],t[o-1],!0);)--o;return o}},{}],146:[function(e,t,n){"use strict";function r(e,t){var n=e.generatedLine,r=t.generatedLine,i=e.generatedColumn,o=t.generatedColumn;return r>n||r==n&&o>=i||s.compareByGeneratedPositionsInflated(e,t)<=0}function i(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}var s=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(s.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},n.MappingList=i},{"./util":151}],147:[function(e,t,n){"use strict";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 s(e,t,n,o){if(n<o){var a=n-1;r(e,i(n,o),o);for(var u=e[o],c=n;c<o;c++)t(e[c],u)<=0&&r(e,a+=1,c);r(e,a+1,c);var l=a+1;s(e,t,n,l-1),s(e,t,l+1,o)}}n.quickSort=function(e,t){s(e,t,0,e.length-1)}},{}],148:[function(e,t,n){"use strict";function r(e){var t=e;return"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,""))),null!=t.sections?new o(t):new i(t)}function i(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=a.getArg(t,"version"),r=a.getArg(t,"sources"),i=a.getArg(t,"names",[]),s=a.getArg(t,"sourceRoot",null),o=a.getArg(t,"sourcesContent",null),u=a.getArg(t,"mappings"),l=a.getArg(t,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);r=r.map(String).map(a.normalize).map(function(e){return s&&a.isAbsolute(s)&&a.isAbsolute(e)?a.relative(s,e):e}),this._names=c.fromArray(i.map(String),!0),this._sources=c.fromArray(r,!0),this.sourceRoot=s,this.sourcesContent=o,this._mappings=u,this.file=l}function s(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function o(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=a.getArg(t,"version"),i=a.getArg(t,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new c,this._names=new c;var s={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=a.getArg(e,"offset"),n=a.getArg(t,"line"),i=a.getArg(t,"column");if(n<s.line||n===s.line&&i<s.column)throw new Error("Section offsets must be ordered and non-overlapping.");return s=t,{generatedOffset:{generatedLine:n+1,generatedColumn:i+1},consumer:new r(a.getArg(e,"map"))}})}var a=e("./util"),u=e("./binary-search"),c=e("./array-set").ArraySet,l=e("./base64-vlq"),h=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,s=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 o=this.sourceRoot;i.map(function(e){var t=null===e.source?null:this._sources.at(e.source);return null!=t&&null!=o&&(t=a.join(o,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,s)},r.prototype.allGeneratedPositionsFor=function(e){var t=a.getArg(e,"line"),n={source:a.getArg(e,"source"),originalLine:t,originalColumn:a.getArg(e,"column",0)};if(null!=this.sourceRoot&&(n.source=a.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",a.compareByOriginalPositions,u.LEAST_UPPER_BOUND);if(i>=0){var s=this._originalMappings[i];if(void 0===e.column)for(var o=s.originalLine;s&&s.originalLine===o;)r.push({line:a.getArg(s,"generatedLine",null),column:a.getArg(s,"generatedColumn",null),lastColumn:a.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++i];else for(var c=s.originalColumn;s&&s.originalLine===t&&s.originalColumn==c;)r.push({line:a.getArg(s,"generatedLine",null),column:a.getArg(s,"generatedColumn",null),lastColumn:a.getArg(s,"lastGeneratedColumn",null)}),s=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=c.fromArray(e._names.toArray(),!0),r=t._sources=c.fromArray(e._sources.toArray(),!0);t.sourceRoot=e._sourceRoot,t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot),t.file=e._file;for(var o=e._mappings.toArray().slice(),u=t.__generatedMappings=[],l=t.__originalMappings=[],p=0,f=o.length;p<f;p++){var d=o[p],m=new s;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)),l.push(m)),u.push(m)}return h(t.__originalMappings,a.compareByOriginalPositions),t},i.prototype._version=3,Object.defineProperty(i.prototype,"sources",{get:function(){return this._sources.toArray().map(function(e){return null!=this.sourceRoot?a.join(this.sourceRoot,e):e},this)}}),i.prototype._parseMappings=function(e,t){for(var n,r,i,o,u,c=1,p=0,f=0,d=0,m=0,g=0,v=e.length,y=0,b={},x={},_=[],w=[];y<v;)if(";"===e.charAt(y))c++,y++,p=0;else if(","===e.charAt(y))y++;else{for((n=new s).generatedLine=c,o=y;o<v&&!this._charIsMappingSeparator(e,o);o++);if(r=e.slice(y,o),i=b[r])y+=r.length;else{for(i=[];y<o;)l.decode(e,y,x),u=x.value,y=x.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");b[r]=i}n.generatedColumn=p+i[0],p=n.generatedColumn,i.length>1&&(n.source=m+i[1],m+=i[1],n.originalLine=f+i[2],f=n.originalLine,n.originalLine+=1,n.originalColumn=d+i[3],d=n.originalColumn,i.length>4&&(n.name=g+i[4],g+=i[4])),w.push(n),"number"==typeof n.originalLine&&_.push(n)}h(w,a.compareByGeneratedPositionsDeflated),this.__generatedMappings=w,h(_,a.compareByOriginalPositions),this.__originalMappings=_},i.prototype._findMapping=function(e,t,n,r,i,s){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,s)},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:a.getArg(e,"line"),generatedColumn:a.getArg(e,"column")},n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",a.compareByGeneratedPositionsDeflated,a.getArg(e,"bias",r.GREATEST_LOWER_BOUND));if(n>=0){var i=this._generatedMappings[n];if(i.generatedLine===t.generatedLine){var s=a.getArg(i,"source",null);null!==s&&(s=this._sources.at(s),null!=this.sourceRoot&&(s=a.join(this.sourceRoot,s)));var o=a.getArg(i,"name",null);return null!==o&&(o=this._names.at(o)),{source:s,line:a.getArg(i,"originalLine",null),column:a.getArg(i,"originalColumn",null),name:o}}}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=a.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var n;if(null!=this.sourceRoot&&(n=a.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=a.getArg(e,"source");if(null!=this.sourceRoot&&(t=a.relative(this.sourceRoot,t)),!this._sources.has(t))return{line:null,column:null,lastColumn:null};var n={source:t=this._sources.indexOf(t),originalLine:a.getArg(e,"line"),originalColumn:a.getArg(e,"column")},i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",a.compareByOriginalPositions,a.getArg(e,"bias",r.GREATEST_LOWER_BOUND));if(i>=0){var s=this._originalMappings[i];if(s.source===n.source)return{line:a.getArg(s,"generatedLine",null),column:a.getArg(s,"generatedColumn",null),lastColumn:a.getArg(s,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},n.BasicSourceMapConsumer=i,(o.prototype=Object.create(r.prototype)).constructor=r,o.prototype._version=3,Object.defineProperty(o.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}}),o.prototype.originalPositionFor=function(e){var t={generatedLine:a.getArg(e,"line"),generatedColumn:a.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}},o.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},o.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.')},o.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var n=this._sections[t];if(-1!==n.consumer.sources.indexOf(a.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}},o.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,s=0;s<i.length;s++){var o=i[s],u=r.consumer._sources.at(o.source);null!==r.consumer.sourceRoot&&(u=a.join(r.consumer.sourceRoot,u)),this._sources.add(u),u=this._sources.indexOf(u);var c=r.consumer._names.at(o.name);this._names.add(c),c=this._names.indexOf(c);var l={source:u,generatedLine:o.generatedLine+(r.generatedOffset.generatedLine-1),generatedColumn:o.generatedColumn+(r.generatedOffset.generatedLine===o.generatedLine?r.generatedOffset.generatedColumn-1:0),originalLine:o.originalLine,originalColumn:o.originalColumn,name:c};this.__generatedMappings.push(l),"number"==typeof l.originalLine&&this.__originalMappings.push(l)}h(this.__generatedMappings,a.compareByGeneratedPositionsDeflated),h(this.__originalMappings,a.compareByOriginalPositions)},n.IndexedSourceMapConsumer=o},{"./array-set":142,"./base64-vlq":143,"./binary-search":145,"./quick-sort":147,"./util":151}],149:[function(e,t,n){"use strict";function r(e){e||(e={}),this._file=s.getArg(e,"file",null),this._sourceRoot=s.getArg(e,"sourceRoot",null),this._skipValidation=s.getArg(e,"skipValidation",!1),this._sources=new o,this._names=new o,this._mappings=new a,this._sourcesContents=null}var i=e("./base64-vlq"),s=e("./util"),o=e("./array-set").ArraySet,a=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=s.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=s.getArg(e,"generated"),n=s.getArg(e,"original",null),r=s.getArg(e,"source",null),i=s.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=s.relative(this._sourceRoot,n)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[s.toSetString(n)]=t):this._sourcesContents&&(delete this._sourcesContents[s.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=s.relative(i,r));var a=new o,u=new o;this._mappings.unsortedForEach(function(t){if(t.source===r&&null!=t.originalLine){var o=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=o.source&&(t.source=o.source,null!=n&&(t.source=s.join(n,t.source)),null!=i&&(t.source=s.relative(i,t.source)),t.originalLine=o.line,t.originalColumn=o.column,null!=o.name&&(t.name=o.name))}var c=t.source;null==c||a.has(c)||a.add(c);var l=t.name;null==l||u.has(l)||u.add(l)},this),this._sources=a,this._names=u,e.sources.forEach(function(t){var r=e.sourceContentFor(t);null!=r&&(null!=n&&(t=s.join(n,t)),null!=i&&(t=s.relative(i,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,o=0,a=1,u=0,c=0,l=0,h=0,p="",f=this._mappings.toArray(),d=0,m=f.length;d<m;d++){if(t=f[d],e="",t.generatedLine!==a)for(o=0;t.generatedLine!==a;)e+=";",a++;else if(d>0){if(!s.compareByGeneratedPositionsInflated(t,f[d-1]))continue;e+=","}e+=i.encode(t.generatedColumn-o),o=t.generatedColumn,null!=t.source&&(r=this._sources.indexOf(t.source),e+=i.encode(r-h),h=r,e+=i.encode(t.originalLine-1-c),c=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-l),l=n)),p+=e}return p},r.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;null!=t&&(e=s.relative(t,e));var n=s.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":142,"./base64-vlq":143,"./mapping-list":146,"./util":151}],150:[function(e,t,n){"use strict";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[a]=!0,null!=r&&this.add(r)}var i=e("./source-map-generator").SourceMapGenerator,s=e("./util"),o=/(\r?\n)/,a="$$$isSourceNode$$$";r.fromStringWithSourceMap=function(e,t,n){function i(e,t){if(null===e||void 0===e.source)a.add(t);else{var i=n?s.join(n,e.source):e.source;a.add(new r(e.originalLine,e.originalColumn,i,t,e.name))}}var a=new r,u=e.split(o),c=0,l=function(){function e(){return c<u.length?u[c++]:void 0}return e()+(e()||"")},h=1,p=0,f=null;return t.eachMapping(function(e){if(null!==f){if(!(h<e.generatedLine)){var t=(n=u[c]).substr(0,e.generatedColumn-p);return u[c]=n.substr(e.generatedColumn-p),p=e.generatedColumn,i(f,t),void(f=e)}i(f,l()),h++,p=0}for(;h<e.generatedLine;)a.add(l()),h++;if(p<e.generatedColumn){var n=u[c];a.add(n.substr(0,e.generatedColumn)),u[c]=n.substr(e.generatedColumn),p=e.generatedColumn}f=e},this),c<u.length&&(f&&i(f,l()),a.add(u.splice(c).join(""))),t.sources.forEach(function(e){var r=t.sourceContentFor(e);null!=r&&(null!=n&&(e=s.join(n,e)),a.setSourceContent(e,r))}),a},r.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else{if(!e[a]&&"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[a]&&"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])[a]?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[a]?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[s.toSetString(e)]=t},r.prototype.walkSourceContents=function(e){for(var t=0,n=this.children.length;t<n;t++)this.children[t][a]&&this.children[t].walkSourceContents(e);for(var r=Object.keys(this.sourceContents),t=0,n=r.length;t<n;t++)e(s.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,s=null,o=null,a=null,u=null;return this.walk(function(e,i){t.code+=e,null!==i.source&&null!==i.line&&null!==i.column?(s===i.source&&o===i.line&&a===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}),s=i.source,o=i.line,a=i.column,u=i.name,r=!0):r&&(n.addMapping({generated:{line:t.line,column:t.column}}),s=null,r=!1);for(var c=0,l=e.length;c<l;c++)10===e.charCodeAt(c)?(t.line++,t.column=0,c+1===l?(s=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":149,"./util":151}],151:[function(e,t,n){"use strict";function r(e){var t=e.match(c);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 s(e){var t=e,s=r(e);if(s){if(!s.path)return e;t=s.path}for(var o,a=n.isAbsolute(t),u=t.split(/\/+/),c=0,l=u.length-1;l>=0;l--)"."===(o=u[l])?u.splice(l,1):".."===o?c++:c>0&&(""===o?(u.splice(l+1,c),c=0):(u.splice(l,2),c--));return""===(t=u.join("/"))&&(t=a?"/":"."),s?(s.path=t,i(s)):t}function o(e){return e}function a(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 c=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,l=/^data:.+\,.+$/;n.urlParse=r,n.urlGenerate=i,n.normalize=s,n.join=function(e,t){""===e&&(e="."),""===t&&(t=".");var n=r(t),o=r(e);if(o&&(e=o.path||"/"),n&&!n.scheme)return o&&(n.scheme=o.scheme),i(n);if(n||t.match(l))return t;if(o&&!o.host&&!o.path)return o.host=t,i(o);var a="/"===t.charAt(0)?t:s(e.replace(/\/+$/,"")+"/"+t);return o?(o.path=a,i(o)):a},n.isAbsolute=function(e){return"/"===e.charAt(0)||!!e.match(c)},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 h=!("__proto__"in Object.create(null));n.toSetString=h?o:function(e){return a(e)?"$"+e:e},n.fromSetString=h?o:function(e){return a(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)}},{}],152:[function(e,t,n){"use strict";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":148,"./lib/source-map-generator":149,"./lib/source-node":150}],153:[function(e,t,n){(function(t){"use strict";function r(e){for(var t=Object.create(null),n=0;n<e.length;++n)t[e[n]]=!0;return t}function i(e){return e.split("")}function s(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 a(e,t){if(t<=0)return"";if(1==t)return e;var n=a(e,t>>1);return n+=n,1&t&&(n+=e),n}function u(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 c(e,t){this.message=e,this.defs=t}function l(e,t,n){!0===e&&(e={});var r=e||{};if(n)for(var i in r)E(r,i)&&!E(t,i)&&c.croak("`"+i+"` is not a supported option",t);for(var i in t)E(t,i)&&(r[i]=e&&E(e,i)?e[i]:t[i]);return r}function h(e,t){var n=0;for(var r in t)E(t,r)&&(e[r]=t[r],n++);return n}function p(){}function f(){return!1}function d(){return!0}function m(){return this}function g(){return null}function v(e,t){e.indexOf(t)<0&&e.push(t)}function y(e,t){return e.replace(/\{(.+?)\}/g,function(e,n){return t&&t[n]})}function b(e,t){for(var n=e.length;--n>=0;)e[n]===t&&e.splice(n,1)}function x(e,t){function n(e,n){for(var r=[],i=0,s=0,o=0;i<e.length&&s<n.length;)t(e[i],n[s])<=0?r[o++]=e[i++]:r[o++]=n[s++];return i<e.length&&r.push.apply(r,e.slice(i)),s<n.length&&r.push.apply(r,n.slice(s)),r}function r(e){if(e.length<=1)return e;var t=Math.floor(e.length/2),i=e.slice(0,t),s=e.slice(t);return i=r(i),s=r(s),n(i,s)}return e.length<2?e.slice():r(e)}function _(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(o=0;o<e.length;++o){for(var s=0;s<i.length;++s)if(i[s][0].length==e[o].length){i[s].push(e[o]);continue e}i.push([e[o]])}if(i.length>3){i.sort(function(e,t){return t.length-e.length}),r+="switch(str.length){";for(var o=0;o<i.length;++o){var a=i[o];r+="case "+a[0].length+":",n(a)}r+="}"}else n(e);return new Function("str",r)}function w(e,t){for(var n=e.length;--n>=0;)if(!t(e[n]))return!1;return!0}function k(){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 oe&&t.body===n)return!0;if(!(t instanceof Xe&&t.car===n||t instanceof Ge&&t.expression===n&&!(t instanceof Ye)||t instanceof Je&&t.expression===n||t instanceof Qe&&t.expression===n||t instanceof rt&&t.condition===n||t instanceof nt&&t.left===n||t instanceof tt&&t.expression===n))return!1;n=t}}function C(e,t,r,i){arguments.length<4&&(i=se);var s=t=t?t.split(/\s+/):[];i&&i.PROPS&&(t=t.concat(i.PROPS));for(var o="return function AST_"+e+"(props){ if (props) { ",a=t.length;--a>=0;)o+="this."+t[a]+" = props."+t[a]+";";var u=i&&new i;(u&&u.initialize||r&&r.initialize)&&(o+="this.initialize();"),o+="}}";var c=new Function(o)();if(u&&(c.prototype=u,c.BASE=i),i&&i.SUBCLASSES.push(c),c.prototype.CTOR=c,c.PROPS=t||null,c.SELF_PROPS=s,c.SUBCLASSES=[],e&&(c.prototype.TYPE=c.TYPE=e),r)for(a in r)E(r,a)&&(/^\$/.test(a)?c[a.substr(1)]=r[a]:c.prototype[a]=r[a]);return c.DEFMETHOD=function(e,t){this.prototype[e]=t},void 0!==n&&(n["AST_"+e]=c),c}function S(e,t){var n=e.body;if(n instanceof oe)n._walk(t);else for(var r=0,i=n.length;r<i;r++)n[r]._walk(t)}function T(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&&Kt.letter.test(String.fromCharCode(e))}function F(e){return e>=48&&e<=57}function L(e){return F(e)||O(e)}function B(e){return Kt.digit.test(String.fromCharCode(e))}function D(e){return Kt.non_spacing_mark.test(e)||Kt.space_combining_mark.test(e)}function N(e){return Kt.connector_punctuation.test(e)}function R(e){return!jt(e)&&/^[a-z_$][a-z0-9_$]*$/i.test(e)}function P(e){return 36==e||95==e||O(e)}function M(e){var t=e.charCodeAt(0);return P(t)||F(t)||8204==t||8205==t||D(e)||N(e)||B(t)}function I(e){return/^[a-z_$][a-z0-9_$]*$/i.test(e)}function j(e){if(zt.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 V(e,t,n,r,i){this.message=e,this.filename=t,this.line=n,this.col=r,this.pos=i}function U(e,t,n,r,i){throw new V(e,t,n,r,i)}function z(e,t,n){return e.type==t&&(null==n||e.value==n)}function q(e,t,n,r){function i(){return S.text.charAt(S.pos)}function s(e,t){var n=S.text.charAt(S.pos++);if(e&&!n)throw Jt;return Wt(n)?(S.newline_before=S.newline_before||!t,++S.line,S.col=0,t||"\r"!=n||"\n"!=i()||(++S.pos,n="\n")):++S.col,n}function o(e){for(;e-- >0;)s()}function a(e){return S.text.substr(S.pos,e.length)==e}function u(){for(var e=S.text,t=S.pos,n=S.text.length;t<n;++t){var r=e[t];if(Wt(r))return t}return-1}function c(e,t){var n=S.text.indexOf(e,S.pos);if(t&&-1==n)throw Jt;return n}function l(){S.tokline=S.line,S.tokcol=S.col,S.tokpos=S.pos}function h(n,r,i){S.regex_allowed="operator"==n&&!Zt(r)||"keyword"==n&&Vt(r)||"punc"==n&&Gt(r),"punc"==n&&"."==r?T=!0:i||(T=!1);var s={type:n,value:r,line:S.tokline,col:S.tokcol,pos:S.tokpos,endline:S.line,endcol:S.col,endpos:S.pos,nlb:S.newline_before,file:t};if(/^(?:num|string|regexp)$/i.test(n)&&(s.raw=e.substring(s.pos,s.endpos)),!i){s.comments_before=S.comments_before,S.comments_before=[];for(var o=0,a=s.comments_before.length;o<a;o++)s.nlb=s.nlb||s.comments_before[o].nlb}return S.newline_before=!1,new ie(s)}function p(){for(;Ht(i());)s()}function f(e){for(var t,n="",r=0;(t=i())&&e(t,r++);)n+=s();return n}function d(e){U(e,t,S.tokline,S.tokcol,S.tokpos)}function m(e){var t=!1,n=!1,r=!1,i="."==e,s=f(function(s,o){var a=s.charCodeAt(0);switch(a){case 120:case 88:return!r&&(r=!0);case 101:case 69:return!!r||!t&&(t=n=!0);case 45:return n||0==o&&!e;case 43:return n;case n=!1,46:return!(i||r||t)&&(i=!0)}return L(a)});e&&(s=e+s),qt.test(s)&&C.has_directive("use strict")&&d("Legacy octal literals are not allowed in strict mode");var o=j(s);if(!isNaN(o))return h("num",o);d("Invalid syntax: "+s)}function g(e){var t=s(!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(y(2));case 117:return String.fromCharCode(y(4));case 10:return"";case 13:if("\n"==i())return s(!0,e),""}return t>="0"&&t<="7"?v(t):t}function v(e){var t=i();return t>="0"&&t<="7"&&(e+=s(!0))[0]<="3"&&(t=i())>="0"&&t<="7"&&(e+=s(!0)),"0"===e?"\0":(e.length>0&&C.has_directive("use strict")&&d("Legacy octal escape sequences are not allowed in strict mode"),String.fromCharCode(parseInt(e,8)))}function y(e){for(var t=0;e>0;--e){var n=parseInt(s(!0),16);isNaN(n)&&d("Invalid hex-character pattern in string"),t=t<<4|n}return t}function b(e){var t,n=S.regex_allowed,r=u();return-1==r?(t=S.text.substr(S.pos),S.pos=S.text.length):(t=S.text.substring(S.pos,r),S.pos=r),S.col=S.tokcol+(S.pos-S.tokpos),S.comments_before.push(h(e,t,!0)),S.regex_allowed=n,C}function x(){for(var e,t,n=!1,r="",o=!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)o=n=!0,s();else{if(!M(e))break;r+=s()}return Mt(r)&&o&&(t=r.charCodeAt(0).toString(16).toUpperCase(),r="\\u"+"0000".substr(t.length)+t+r.slice(1)),r}function _(e){function t(e){if(!i())return e;var n=e+i();return $t(n)?(s(),t(n)):e}return h("operator",t(e||s()))}function w(){switch(s(),i()){case"/":return s(),b("comment1");case"*":return s(),B()}return S.regex_allowed?D(""):_("/")}function k(){return s(),F(i().charCodeAt(0))?m("."):h("punc",".")}function E(){var e=x();return T?h("name",e):It(e)?h("atom",e):Mt(e)?$t(e)?h("operator",e):h("keyword",e):h("name",e)}function A(e,t){return function(n){try{return t(n)}catch(t){if(t!==Jt)throw t;d(e)}}}function C(e){if(null!=e)return D(e);for(r&&0==S.pos&&a("#!")&&(l(),o(2),b("comment5"));;){if(p(),l(),n){if(a("\x3c!--")){o(4),b("comment3");continue}if(a("--\x3e")&&S.newline_before){o(3),b("comment4");continue}}var t=i();if(!t)return h("eof");var u=t.charCodeAt(0);switch(u){case 34:case 39:return O(t);case 46:return k();case 47:var c=w();if(c===C)continue;return c}if(F(u))return m();if(Yt(t))return h("punc",s());if(Ut(t))return _();if(92==u||P(u))return E();break}d("Unexpected character '"+t+"'")}var S={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:[]},T=!1,O=A("Unterminated string constant",function(e){for(var t=s(),n="";;){var r=s(!0,!0);if("\\"==r)r=g(!0);else if(Wt(r))d("Unterminated string constant");else if(r==t)break;n+=r}var i=h("string",n);return i.quote=e,i}),B=A("Unterminated multiline comment",function(){var e=S.regex_allowed,t=c("*/",!0),n=S.text.substring(S.pos,t).replace(/\r\n|\r|\u2028|\u2029/g,"\n");return o(n.length+2),S.comments_before.push(h("comment2",n,!0)),S.regex_allowed=e,C}),D=A("Unterminated regular expression",function(e){for(var t,n=!1,r=!1;t=s(!0);)if(Wt(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=x();try{return h("regexp",new RegExp(e,i))}catch(e){d(e.message)}});return C.context=function(e){return e&&(S=e),S},C.add_directive=function(e){S.directive_stack[S.directive_stack.length-1].push(e),void 0===S.directives[e]?S.directives[e]=1:S.directives[e]++},C.push_directives_stack=function(){S.directive_stack.push([])},C.pop_directives_stack=function(){for(var e=S.directive_stack[S.directive_stack.length-1],t=0;t<e.length;t++)S.directives[e[t]]--;S.directive_stack.pop()},C.has_directive=function(e){return void 0!==S.directives[e]&&S.directives[e]>0},C}function $(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 s(){return V.prev}function a(e,t,n,r){var i=V.input.context();U(e,i.filename,null!=t?t:i.tokline,null!=n?n:i.tokcol,null!=r?r:i.tokpos)}function u(e,t){a(t,e.line,e.col)}function c(e){null==e&&(e=V.token),u(e,"Unexpected token: "+e.type+" ("+e.value+")")}function h(e,t){if(n(e,t))return i();u(V.token,"Unexpected token "+V.token.type+" «"+V.token.value+"», expected "+e+" «"+t+"»")}function p(e){return h("punc",e)}function f(){return!t.strict&&(V.token.nlb||n("eof")||n("punc","}"))}function d(e){n("punc",";")?i():e||f()||c()}function m(){p("(");var e=ie(!0);return p(")"),e}function g(e){return function(){var t=V.token,n=e(),r=s();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 y(){var e=N(xt);o(function(t){return t.name==e.name},V.labels)&&a("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 Ne&&(t=t.label.start,a("Continue label `"+e.name+"` refers to non-IterationStatement.",t.line,t.col,t.pos))}),new de({body:t,label:e})}function b(e){return new ce({body:(e=ie(!0),d(),e)})}function x(e){var t,n=null;f()||(n=N(wt,!0)),null!=n?((t=o(function(e){return e.name==n.name},V.labels))||a("Undefined label "+n.name),n.thedef=t):0==V.in_loop&&a(e.TYPE+" not inside a loop or switch"),d();var r=new e({label:n});return t&&t.references.push(r),r}function _(){p("(");var e=null;return!n("punc",";")&&(e=n("keyword","var")?(i(),W(!0)):ie(!0,!0),n("operator","in"))?(e instanceof $e&&e.definitions.length>1&&a("Only one variable declaration allowed in for..in loop"),i(),k(e)):w(e)}function w(e){p(";");var t=n("punc",";")?null:ie(!0);p(";");var r=n("punc",")")?null:ie(!0);return p(")"),new be({init:e,condition:t,step:r,body:j($)})}function k(e){var t=e instanceof $e?e.definitions[0].name:null,n=ie(!0);return p(")"),new xe({init:e,name:t,object:n,body:j($)})}function E(){var e=m(),t=$(),r=null;return n("keyword","else")&&(i(),r=$()),new Re({condition:e,body:t,alternative:r})}function A(){p("{");for(var e=[];!n("punc","}");)n("eof")&&c(),e.push($());return i(),e}function C(){p("{");for(var e,t=[],r=null,o=null;!n("punc","}");)n("eof")&&c(),n("keyword","case")?(o&&(o.end=s()),r=[],o=new je({start:(e=V.token,i(),e),expression:ie(!0),body:r}),t.push(o),p(":")):n("keyword","default")?(o&&(o.end=s()),r=[],o=new Ie({start:(e=V.token,i(),p(":"),e),body:r}),t.push(o)):(r||c(),r.push($()));return o&&(o.end=s()),i(),t}function S(){var e=A(),t=null,r=null;if(n("keyword","catch")){u=V.token;i(),p("(");var o=N(bt);p(")"),t=new Ue({start:u,argname:o,body:A(),end:s()})}if(n("keyword","finally")){var u=V.token;i(),r=new ze({start:u,body:A(),end:s()})}return t||r||a("Missing catch/finally blocks"),new Ve({body:e,bcatch:t,bfinally:r})}function T(e,t){for(var r=[];r.push(new We({start:V.token,name:N(t?mt:dt),value:n("operator","=")?(i(),ie(!1,e)):null,end:s()})),n("punc",",");)i();return r}function O(){var e,t=V.token;switch(t.type){case"name":case"keyword":e=D(_t);break;case"num":e=new Ct({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 St({start:t,end:t,value:t.value});break;case"atom":switch(t.value){case"false":e=new Rt({start:t,end:t});break;case"true":e=new Pt({start:t,end:t});break;case"null":e=new Ot({start:t,end:t})}break;case"operator":I(t.value)||a("Invalid getter/setter name: "+t.value,t.line,t.col,t.pos),e=D(_t)}return i(),e}function F(e,t,r){for(var s=!0,o=[];!n("punc",e)&&(s?s=!1:p(","),!t||!n("punc",e));)n("punc",",")&&r?o.push(new Bt({start:V.token,end:V.token})):o.push(ie(!1));return i(),o}function L(){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 B(){var e=V.token;return"name"!=e.type&&c(),i(),e.value}function D(e){var t=V.token.value;return new("this"==t?kt:e)({name:String(t),start:V.token,end:V.token})}function N(e,t){if(!n("name"))return t||a("Name expected"),null;var r=D(e);return i(),r}function R(e,t,n){var r=t.value;return"++"!=r&&"--"!=r||M(n)||a("Invalid use of "+r+" operator",t.line,t.col,t.pos),new e({operator:r,expression:n})}function P(e){return te(ee(!0),0,e)}function M(e){return!!t.cli||(e instanceof Ke||e instanceof _t)}function j(e){++V.in_loop;var t=e();return--V.in_loop,t}t=l(t,{bare_returns:!1,cli:!1,expression:!1,filename:null,html5_comments:!0,shebang:!0,strict:!1,toplevel:null});var V={input:"string"==typeof e?q(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=b();return o?new ue(u.body):u;case"num":case"regexp":case"operator":case"atom":return b();case"name":return z(r(),"punc",":")?y():b();case"punc":switch(V.token.value){case"{":return new he({start:V.token,body:A(),end:s()});case"[":case"(":return b();case";":return V.in_directives=!1,i(),new pe;default:c()}case"keyword":switch(V.token.value){case"break":return i(),x(De);case"continue":return i(),x(Ne);case"debugger":return i(),d(),new ae;case"do":i();var l=j($);h("keyword","while");var p=m();return d(!0),new ve({body:l,condition:p});case"while":return i(),new ye({condition:m(),body:j($)});case"for":return i(),_();case"function":return i(),H(Se);case"if":return i(),E();case"return":0!=V.in_function||t.bare_returns||a("'return' outside of function"),i();g=null;return n("punc",";")?i():f()||(g=ie(!0),d()),new Fe({value:g});case"switch":return i(),new Pe({expression:m(),body:j(C)});case"throw":i(),V.token.nlb&&a("Illegal newline after 'throw'");var g=ie(!0);return d(),new Le({value:g});case"try":return i(),S();case"var":i();w=W();return d(),w;case"const":i();var w=G();return d(),w;case"with":return V.input.has_directive("use strict")&&a("Strict mode may not include a with statement"),i(),new _e({expression:m(),body:$()})}}c()}),H=function(e){var t=e===Se,r=n("name")?N(t?vt:yt):null;return t&&!r&&c(),p("("),new e({name:r,argnames:function(e,t){for(;!n("punc",")");)e?e=!1:p(","),t.push(N(gt));return i(),t}(!0,[]),body:function(e,t){++V.in_function,V.in_directives=!0,V.input.push_directives_stack(),V.in_loop=0,V.labels=[];var n=A();return V.input.pop_directives_stack(),--V.in_function,V.in_loop=e,V.labels=t,n}(V.in_loop,V.labels)})},W=function(e){return new $e({start:s(),definitions:T(e,!1),end:s()})},G=function(){return new He({start:s(),definitions:T(!1,!0),end:s()})},Y=function(e){var t=V.token;h("operator","new");var r,o=X(!1);return n("punc","(")?(i(),r=F(")")):r=[],Z(new Ye({start:t,expression:o,args:r,end:s()}),e)},X=function(e){if(n("operator","new"))return Y(e);var t=V.token;if(n("punc")){switch(t.value){case"(":i();var r=ie(!0);return r.start=t,r.end=V.token,p(")"),Z(r,e);case"[":return Z(K(),e);case"{":return Z(Q(),e)}c()}if(n("keyword","function")){i();var o=H(Ce);return o.start=t,o.end=s(),Z(o,e)}if(rn[V.token.type])return Z(O(),e);c()},K=g(function(){return p("["),new st({elements:F("]",!t.strict,!0)})}),J=g(function(){return H(Ae)}),Q=g(function(){p("{");for(var e=!0,r=[];!n("punc","}")&&(e?e=!1:p(","),t.strict||!n("punc","}"));){var o=V.token,a=o.type,u=L();if("name"==a&&!n("punc",":")){var c=new pt({start:V.token,name:L(),end:s()});if("get"==u){r.push(new lt({start:o,key:c,value:J(),end:s()}));continue}if("set"==u){r.push(new ct({start:o,key:c,value:J(),end:s()}));continue}}p(":"),r.push(new ut({start:o,quote:o.quote,key:u,value:ie(!1),end:s()}))}return i(),new ot({properties:r})}),Z=function e(t,r){var o=t.start;if(n("punc","."))return i(),e(new Je({start:o,expression:t,property:B(),end:s()}),r);if(n("punc","[")){i();var a=ie(!0);return p("]"),e(new Qe({start:o,expression:t,property:a,end:s()}),r)}return r&&n("punc","(")?(i(),e(new Ge({start:o,expression:t,args:F(")"),end:s()}),!0)):t},ee=function e(t){var r=V.token;if(n("operator")&&Qt(r.value)){i(),v();var o=R(et,r,e(t));return o.start=r,o.end=s(),o}for(var a=X(t);n("operator")&&Zt(V.token.value)&&!V.token.nlb;)(a=R(tt,V.token,a)).start=r,a.end=V.token,i();return a},te=function e(t,r,s){var o=n("operator")?V.token.value:null;"in"==o&&s&&(o=null);var a=null!=o?tn[o]:null;if(null!=a&&a>r){i();var u=e(ee(!0),a,s);return e(new nt({start:t.start,left:t,operator:o,right:u,end:u.end}),r,s)}return t},ne=function(e){var t=V.token,r=P(e);if(n("operator","?")){i();var o=ie(!1);return p(":"),new rt({start:t,condition:r,consequent:o,alternative:ie(!1,e),end:s()})}return r},re=function e(t){var r=V.token,o=ne(t),u=V.token.value;if(n("operator")&&en(u)){if(M(o))return i(),new it({start:r,left:o,operator:u,right:e(t),end:s()});a("Invalid assignment")}return o},ie=function e(t,s){var o=V.token,a=re(s);return t&&n("punc",",")?(i(),new Xe({start:o,car:a,cdr:e(!0,s),end:r()})):a};return t.expression?ie(!0):function(){var e=V.token,r=[];for(V.input.push_directives_stack();!n("eof");)r.push($());V.input.pop_directives_stack();var i=s(),o=t.toplevel;return o?(o.body=o.body.concat(r),o.end=i):o=new ke({start:e,body:r,end:i}),o}()}function H(e,t){T.call(this),this.before=e,this.after=t}function W(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=W.next_id++}function G(e){return"comment2"==e.type&&/@preserve|@license|@cc_on/i.test(e.value)}function Y(e){function t(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 n(n,r){function i(){return"'"+n.replace(/\x27/g,"\\'")+"'"}function s(){return'"'+n.replace(/\x22/g,'\\"')+'"'}var o=0,a=0;switch(n=n.replace(/[\\\b\f\n\r\v\t\x22\x27\u2028\u2029\0\ufeff]/g,function(t,r){switch(t){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.screw_ie8?"\\v":"\\x0B";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";case"\ufeff":return"\\ufeff";case"\0":return/[0-7]/.test(n.charAt(r+1))?"\\x00":"\\0"}return t}),e.ascii_only&&(n=t(n)),e.quote_style){case 1:return i();case 2:return s();case 3:return"'"==r?i():s();default:return o>a?i():s()}}function r(t,r){var i=n(t,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 i(n){return n=n.toString(),e.ascii_only&&(n=t(n,!0)),n}function s(t){return a(" ",e.indent_start+y-t*e.indent_level)}function o(t){var n=(t=String(t)).charAt(0),r=S.charAt(S.length-1);if(A&&(A=!1,(":"==r&&"}"==n||(!n||";}".indexOf(n)<0)&&";"!=r)&&(e.semicolons||O(n)?(k+=";",b++,w++):(T(),k+="\n",w++,x++,b=0,/^\s+$/.test(t)&&(A=!0)),e.beautify||(E=!1))),!e.beautify&&e.preserve_line&&P[P.length-1])for(var i=P[P.length-1].start.line;x<i;)T(),k+="\n",w++,x++,b=0,E=!1;E&&((M(r)&&(M(n)||"\\"==n)||"/"==n&&n==r||("+"==n||"-"==n)&&n==S)&&(k+=" ",b++,w++),E=!1),k+=t,w+=t.length;var s=t.split(/\r?\n/),o=s.length-1;x+=o,b+=s[0].length,o>0&&(T(),b=s[o].length),S=t}function u(){A=!1,o(";")}function c(){return y+e.indent_level}function h(){return C&&T(),k}var m=f;if((e=l(e,{ascii_only:!1,beautify:!1,bracketize:!1,comments:!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,screw_ie8:!0,semicolons:!0,shebang:!0,source_map:null,space_colon:!0,unescape_regexps:!1,width:80,wrap_iife:!1},!0)).comments){var g=e.comments;if("string"==typeof e.comments&&/^\/.*\/[a-zA-Z]*$/.test(e.comments)){var v=e.comments.lastIndexOf("/");g=new RegExp(e.comments.substr(1,v-1),e.comments.substr(v+1))}m=g instanceof RegExp?function(e){return"comment5"!=e.type&&g.test(e.value)}:"function"==typeof g?function(e){return"comment5"!=e.type&&g(this,e)}:"some"===g?G:d}var y=0,b=0,x=1,w=0,k="",E=!1,A=!1,C=0,S="",T=e.max_line_len?function(){if(b>e.max_line_len){if(C){var t=k.slice(0,C),n=k.slice(C);k=t+"\n"+n,x++,w++,b=n.length}b>e.max_line_len&&se.warn("Output exceeds {max_line_len} characters",e)}C=0}:p,O=_("( [ + * / - , ."),F=e.beautify?function(){o(" ")}:function(){E=!0},L=e.beautify?function(t){e.beautify&&o(s(t?.5:0))}:p,B=e.beautify?function(e,t){!0===e&&(e=c());var n=y;y=e;var r=t();return y=n,r}:function(e,t){return t()},D=e.beautify?function(){o("\n")}:e.max_line_len?function(){T(),C=k.length}:p,N=e.beautify?function(){o(";")}:function(){A=!0},R=e.source_map?function(t,n){try{t&&e.source_map.add(t.file||"?",x,b,t.line,t.col,n||"name"!=t.type?n:t.value)}catch(e){se.warn("Couldn't figure out mapping for {file}:{line},{col} → {cline},{ccol} [{name}]",{file:t.file,line:t.line,col:t.col,cline:x,ccol:b,name:n||""})}}:p,P=[];return{get:h,toString:h,indent:L,indentation:function(){return y},current_width:function(){return b-y},should_break:function(){return e.width&&this.current_width()>=e.width},newline:D,print:o,space:F,comma:function(){o(","),F()},colon:function(){o(":"),e.space_colon&&F()},last:function(){return S},semicolon:N,force_semicolon:u,to_ascii:t,print_name:function(e){o(i(e))},print_string:function(e,t,n){var i=r(e,t);!0===n&&-1===i.indexOf("\\")&&(on.test(k)||u(),u()),o(i)},encode_string:r,next_indent:c,with_indent:B,with_block:function(e){var t;return o("{"),D(),B(c(),function(){t=e()}),L(),o("}"),t},with_parens:function(e){o("(");var t=e();return o(")"),t},with_square:function(e){o("[");var t=e();return o("]"),t},add_mapping:R,option:function(t){return e[t]},comment_filter:m,line:function(){return x},col:function(){return b},pos:function(){return w},push_node:function(e){P.push(e)},pop_node:function(){return P.pop()},parent:function(e){return P[P.length-2-(e||0)]}}}function X(e,t){if(!(this instanceof X))return new X(e,t);H.call(this,this.before,this.after),this.options=l(e,{angular:!1,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,if_return:!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,screw_ie8:!0,sequences:!t,side_effects:!t,switches:!t,top_retain:null,toplevel:!(!e||!e.top_retain),unsafe:!1,unsafe_comps:!1,unsafe_math:!1,unsafe_proto:!1,unsafe_regexp:!1,unused:!t,warnings:!0},!0);var n=this.options.pure_funcs;this.pure_funcs="function"==typeof n?n:n?function(e){return n.indexOf(e.expression.print_to_string())<0}:d;var r=this.options.top_retain;r instanceof RegExp?this.top_retain=function(e){return r.test(e.name)}:"function"==typeof r?this.top_retain=r:r&&("string"==typeof r&&(r=r.split(/,/)),this.top_retain=function(e){return r.indexOf(e.name)>=0});var i=this.options.sequences;this.sequences_limit=1==i?200:0|i,this.warnings_produced={}}function K(e){e=l(e,{file:null,root:null,orig:null,orig_line_diff:0,dest_line_diff:0});var t=new te.SourceMapGenerator({file:e.file,sourceRoot:e.root}),n=e.orig&&new te.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,s,o,a,u){if(n){var c=n.originalPositionFor({line:o,column:a});if(null===c.source)return;r=c.source,o=c.line,a=c.column,u=c.name||u}t.addMapping({generated:{line:i+e.dest_line_diff,column:s},original:{line:o+e.orig_line_diff,column:a},source:r,name:u})},get:function(){return t},toString:function(){return JSON.stringify(t.toJSON())}}}function J(){function e(e){v(t,e)}var t=["null","true","false","Infinity","-Infinity","undefined"];return[Object,Array,Function,Number,String,Boolean,Error,Math,Date,RegExp].forEach(function(t){Object.getOwnPropertyNames(t).map(e),t.prototype&&Object.getOwnPropertyNames(t.prototype).map(e)}),t}function Q(e,t){function n(e){return!(g.indexOf(e)>=0)&&(!(u.indexOf(e)>=0)&&(t.only_cache?c.props.has(e):!/^-?[0-9]+(\.[0-9]+)?(e[+-][0-9]+)?$/.test(e)))}function r(e){return!(f&&e in y)&&(!(p&&!p.test(e))&&(!(u.indexOf(e)>=0)&&(c.props.has(e)||m.indexOf(e)>=0)))}function i(e,t){t?y[e]=!0:(n(e)&&v(m,e),r(e)||v(g,e))}function s(e){if(!r(e))return e;var t=c.props.get(e);if(!t){if(d){var i="_$"+e+"$"+h+"_";!n(i)||f&&i in y||(t=i)}if(!t)do{t=sn(++c.cname)}while(!n(t)||f&&t in y);c.props.set(e,t)}return t}function o(e,t){var n={};try{!function e(r){r.walk(new T(function(r){if(r instanceof Xe)return e(r.cdr),!0;if(r instanceof At)return i(r.value,t),!0;if(r instanceof rt)return e(r.consequent),e(r.alternative),!0;throw n}))}(e)}catch(e){if(e!==n)throw e}}function a(e){return e.transform(new H(function(e){return e instanceof Xe?e.cdr=a(e.cdr):e instanceof At?e.value=s(e.value):e instanceof rt&&(e.consequent=a(e.consequent),e.alternative=a(e.alternative)),e}))}var u=(t=l(t,{cache:null,debug:!1,ignore_quoted:!1,only_cache:!1,regex:null,reserved:null})).reserved;null==u&&(u=J());var c=t.cache;null==c&&(c={cname:-1,props:new k});var h,p=t.regex,f=t.ignore_quoted,d=!1!==t.debug;d&&(h=!0===t.debug?"":t.debug);var m=[],g=[],y={};return e.walk(new T(function(e){e instanceof ut?i(e.key,f&&e.quote):e instanceof at?i(e.key.name):e instanceof Je?i(e.property):e instanceof Qe&&o(e.property,f)})),e.transform(new H(function(e){e instanceof ut?f&&e.quote||(e.key=s(e.key)):e instanceof at?e.key.name=s(e.key.name):e instanceof Je?e.property=s(e.property):e instanceof Qe&&(f||(e.property=a(e.property)))}))}var Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ee=e("util"),te=e("source-map"),ne=n;c.prototype=Object.create(Error.prototype),c.prototype.constructor=c,c.prototype.name="DefaultsError",u(c),c.croak=function(e,t){throw new c(e,t)};var re=function(){function e(e,s,o){function a(){var a=s(e[u],u),h=a instanceof r;return h&&(a=a.v),a instanceof t?(a=a.v)instanceof n?l.push.apply(l,o?a.v.slice().reverse():a.v):l.push(a):a!==i&&(a instanceof n?c.push.apply(c,o?a.v.slice().reverse():a.v):c.push(a)),h}var u,c=[],l=[];if(e instanceof Array)if(o){for(u=e.length;--u>=0&&!a(););c.reverse(),l.reverse()}else for(u=0;u<e.length&&!a();++u);else for(u in e)if(E(e,u)&&a())break;return l.concat(c)}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}();k.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}},k.fromObject=function(e){var t=new k;return t._size=h(t._values,e),t};var ie=C("Token","type value line col pos endline endcol endpos nlb comments_before file raw",{},null),se=C("Node","start end",{_clone:function(e){if(e){var t=this.clone();return t.transform(new H(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);se.warn_function=null,se.warn=function(e,t){se.warn_function&&se.warn_function(y(e,t))};var oe=C("Statement",null,{$documentation:"Base class of all statements"}),ae=C("Debugger",null,{$documentation:"Represents a debugger statement"},oe),ue=C("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"}},oe),ce=C("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)})}},oe),le=C("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(){S(this,e)})}},oe),he=C("BlockStatement",null,{$documentation:"A block statement"},le),pe=C("EmptyStatement",null,{$documentation:"The empty statement (empty block or simply a semicolon)",_walk:function(e){return e._visit(this)}},oe),fe=C("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"},_walk:function(e){return e._visit(this,function(){this.body._walk(e)})}},oe),de=C("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 T(function(e){e instanceof Be&&e.label&&e.label.thedef===r&&(e.label.thedef=n,n.references.push(e))}))}return t}},fe),me=C("IterationStatement",null,{$documentation:"Internal class. All loops inherit from it."},fe),ge=C("DWLoop","condition",{$documentation:"Base class for do/while statements",$propdoc:{condition:"[AST_Node] the loop condition. Should not be instanceof AST_Statement"}},me),ve=C("Do",null,{$documentation:"A `do` statement",_walk:function(e){return e._visit(this,function(){this.body._walk(e),this.condition._walk(e)})}},ge),ye=C("While",null,{$documentation:"A `while` statement",_walk:function(e){return e._visit(this,function(){this.condition._walk(e),this.body._walk(e)})}},ge),be=C("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),xe=C("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),_e=C("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),we=C("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)"}},le),ke=C("Toplevel","globals",{$documentation:"The toplevel scope",$propdoc:{globals:"[Object/S] a map of name -> SymbolDef for all undeclared names"},wrap_enclose:function(e){var t=this,n=[],r=[];e.forEach(function(e){var t=e.lastIndexOf(":");n.push(e.substr(0,t)),r.push(e.substr(t+1))});var i="(function("+r.join(",")+"){ '$ORIG'; })("+n.join(",")+")";return i=$(i),i=i.transform(new H(function(e){if(e instanceof ue&&"$ORIG"==e.value)return re.splice(t.body)}))},wrap_commonjs:function(e,t){var n=this,r=[];t&&(n.figure_out_scope(),n.walk(new T(function(e){e instanceof ft&&e.definition().global&&(o(function(t){return t.name==e.name},r)||r.push(e))})));var i="(function(exports, global){ '$ORIG'; '$EXPORTS'; global['"+e+"'] = exports; }({}, (function(){return this}())))";return i=$(i),i=i.transform(new H(function(e){if(e instanceof ue)switch(e.value){case"$ORIG":return re.splice(n.body);case"$EXPORTS":var t=[];return r.forEach(function(e){t.push(new ce({body:new it({left:new Qe({expression:new _t({name:"exports"}),property:new At({value:e.name})}),operator:"=",right:new _t(e)})}))}),re.splice(t)}}))}},we),Ee=C("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);S(this,e)})}},we),Ae=C("Accessor",null,{$documentation:"A setter/getter function. The `name` property is always null."},Ee),Ce=C("Function",null,{$documentation:"A function expression"},Ee),Se=C("Defun",null,{$documentation:"A function definition"},Ee),Te=C("Jump",null,{$documentation:"Base class for “jumps” (for now that's `return`, `throw`, `break` and `continue`)"},oe),Oe=C("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)})}},Te),Fe=C("Return",null,{$documentation:"A `return` statement"},Oe),Le=C("Throw",null,{$documentation:"A `throw` statement"},Oe),Be=C("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)})}},Te),De=C("Break",null,{$documentation:"A `break` statement"},Be),Ne=C("Continue",null,{$documentation:"A `continue` statement"},Be),Re=C("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),Pe=C("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),S(this,e)})}},le),Me=C("SwitchBranch",null,{$documentation:"Base class for `switch` branches"},le),Ie=C("Default",null,{$documentation:"A `default` switch branch"},Me),je=C("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),S(this,e)})}},Me),Ve=C("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(){S(this,e),this.bcatch&&this.bcatch._walk(e),this.bfinally&&this.bfinally._walk(e)})}},le),Ue=C("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),S(this,e)})}},le),ze=C("Finally",null,{$documentation:"A `finally` node; only makes sense as part of a `try` statement"},le),qe=C("Definitions","definitions",{$documentation:"Base class for `var` or `const` 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)})}},oe),$e=C("Var",null,{$documentation:"A `var` statement"},qe),He=C("Const",null,{$documentation:"A `const` statement"},qe),We=C("VarDef","name value",{$documentation:"A variable declaration; only appears in a AST_Definitions node",$propdoc:{name:"[AST_SymbolVar|AST_SymbolConst] name of the variable",value:"[AST_Node?] initializer, or null of there's no initializer"},_walk:function(e){return e._visit(this,function(){this.name._walk(e),this.value&&this.value._walk(e)})}}),Ge=C("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(){this.expression._walk(e);for(var t=this.args,n=0,r=t.length;n<r;n++)t[n]._walk(e)})}}),Ye=C("New",null,{$documentation:"An object instantiation. Derives from a function call since it has exactly the same properties"},Ge),Xe=C("Seq","car cdr",{$documentation:"A sequence expression (two comma-separated expressions)",$propdoc:{car:"[AST_Node] first element in sequence",cdr:"[AST_Node] second element in sequence"},$cons:function(e,t){var n=new Xe(e);return n.car=e,n.cdr=t,n},$from_array:function(e){if(0==e.length)return null;if(1==e.length)return e[0].clone();for(var t=null,n=e.length;--n>=0;)t=Xe.cons(e[n],t);for(var r=t;r;){if(r.cdr&&!r.cdr.cdr){r.cdr=r.cdr.car;break}r=r.cdr}return t},to_array:function(){for(var e=this,t=[];e;){if(t.push(e.car),e.cdr&&!(e.cdr instanceof Xe)){t.push(e.cdr);break}e=e.cdr}return t},add:function(e){for(var t=this;t;){if(!(t.cdr instanceof Xe)){var n=Xe.cons(t.cdr,e);return t.cdr=n}t=t.cdr}},len:function(){return this.cdr instanceof Xe?this.cdr.len()+1:2},_walk:function(e){return e._visit(this,function(){this.car._walk(e),this.cdr&&this.cdr._walk(e)})}}),Ke=C("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"}}),Je=C("Dot",null,{$documentation:"A dotted property access expression",_walk:function(e){return e._visit(this,function(){this.expression._walk(e)})}},Ke),Qe=C("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)})}},Ke),Ze=C("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)})}}),et=C("UnaryPrefix",null,{$documentation:"Unary prefix expression, i.e. `typeof i` or `++i`"},Ze),tt=C("UnaryPostfix",null,{$documentation:"Unary postfix expression, i.e. `i++`"},Ze),nt=C("Binary","left operator right",{$documentation:"Binary expression, i.e. `a + b`",$propdoc:{left:"[AST_Node] left-hand side expression",operator:"[string] the operator",right:"[AST_Node] right-hand side expression"},_walk:function(e){return e._visit(this,function(){this.left._walk(e),this.right._walk(e)})}}),rt=C("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)})}}),it=C("Assign",null,{$documentation:"An assignment expression — `a = b + 5`"},nt),st=C("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)})}}),ot=C("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=C("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)})}}),ut=C("ObjectKeyVal","quote",{$documentation:"A key: value object property",$propdoc:{quote:"[string] the original quote character"}},at),ct=C("ObjectSetter",null,{$documentation:"An object setter property"},at),lt=C("ObjectGetter",null,{$documentation:"An object getter property"},at),ht=C("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"}),pt=C("SymbolAccessor",null,{$documentation:"The name of a property accessor (setter/getter function)"},ht),ft=C("SymbolDeclaration","init",{$documentation:"A declaration symbol (symbol in var/const, function name or argument, symbol in catch)"},ht),dt=C("SymbolVar",null,{$documentation:"Symbol defining a variable"},ft),mt=C("SymbolConst",null,{$documentation:"A constant declaration"},ft),gt=C("SymbolFunarg",null,{$documentation:"Symbol naming a function argument"},dt),vt=C("SymbolDefun",null,{$documentation:"Symbol defining a function"},ft),yt=C("SymbolLambda",null,{$documentation:"Symbol naming a function expression"},ft),bt=C("SymbolCatch",null,{$documentation:"Symbol naming the exception in catch"},ft),xt=C("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}},ht),_t=C("SymbolRef",null,{$documentation:"Reference to some symbol (not definition/declaration)"},ht),wt=C("LabelRef",null,{$documentation:"Reference to a label symbol"},ht),kt=C("This",null,{$documentation:"The `this` symbol"},ht),Et=C("Constant",null,{$documentation:"Base class for all constants",getValue:function(){return this.value}}),At=C("String","value quote",{$documentation:"A string literal",$propdoc:{value:"[string] the contents of this string",quote:"[string] the original quote character"}},Et),Ct=C("Number","value literal",{$documentation:"A number literal",$propdoc:{value:"[number] the numeric value",literal:"[string] numeric value as string (optional)"}},Et),St=C("RegExp","value",{$documentation:"A regexp literal",$propdoc:{value:"[RegExp] the actual regexp"}},Et),Tt=C("Atom",null,{$documentation:"Base class for atoms"},Et),Ot=C("Null",null,{$documentation:"The `null` atom",value:null},Tt),Ft=C("NaN",null,{$documentation:"The impossible value",value:NaN},Tt),Lt=C("Undefined",null,{$documentation:"The `undefined` value",value:void 0},Tt),Bt=C("Hole",null,{$documentation:"A hole in an array",value:void 0},Tt),Dt=C("Infinity",null,{$documentation:"The `Infinity` value",value:1/0},Tt),Nt=C("Boolean",null,{$documentation:"Base class for booleans"},Tt),Rt=C("False",null,{$documentation:"The `false` atom",value:!1},Nt),Pt=C("True",null,{$documentation:"The `true` atom",value:!0},Nt);T.prototype={_visit:function(e,t){this.push(e);var n=this.visit(e,t?function(){t.call(e)}:p);return!n&&t&&t.call(e),this.pop(e),n},parent:function(e){return this.stack[this.stack.length-2-(e||0)]},push:function(e){e instanceof Ee?this.directives=Object.create(this.directives):e instanceof ue&&!this.directives[e.value]&&(this.directives[e.value]=e),this.stack.push(e)},pop:function(e){this.stack.pop(),e instanceof Ee&&(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 we)for(var r=0;r<n.body.length;++r){var i=n.body[r];if(!(i instanceof ue))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 Re&&r.condition===n||r instanceof rt&&r.condition===n||r instanceof ge&&r.condition===n||r instanceof be&&r.condition===n||r instanceof et&&"!"==r.operator&&r.expression===n)return!0;if(!(r instanceof nt)||"&&"!=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 De&&r instanceof Pe)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",It="false null true",jt="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 "+It+" "+Mt,Vt="return new delete throw else case";Mt=_(Mt),jt=_(jt),Vt=_(Vt),It=_(It);var Ut=_(i("+-*&%=<>!?|~^")),zt=/^0x[0-9a-f]+$/i,qt=/^0[0-7]+$/,$t=_(["in","instanceof","typeof","new","void","delete","++","--","+","-","!","~","&","|","^","*","/","%",">>","<<",">>>","<",">","<=",">=","==","===","!=","!==","?","=","+=","-=","/=","*=","%=",">>=","<<=",">>>=","|=","^=","&=","&&","||"]),Ht=_(i("  \n\r\t\f\v​           \u2028\u2029   \ufeff")),Wt=_(i("\n\r\u2028\u2029")),Gt=_(i("[{(,;:")),Yt=_(i("[]{}(),;:")),Xt=_(i("gmsiy")),Kt={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]")};V.prototype=Object.create(Error.prototype),V.prototype.constructor=V,V.prototype.name="SyntaxError",u(V);var Jt={},Qt=_(["typeof","void","delete","--","++","!","~","-","+"]),Zt=_(["--","++"]),en=_(["=","+=","-=","/=","*=","%=",">>=","<<=",">>>=","|=","^=","&="]),tn=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"],[">>","<<",">>>"],["+","-"],["*","/","%"]],{}),nn=r(["for","do","while","switch"]),rn=r(["atom","num","string","regexp","name"]);H.prototype=new T,function(e){function t(t,n){t.DEFMETHOD("transform",function(t,r){var i,s;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),(s=t.after(i,r))!==e&&(i=s)):n(i=this,t)),t.pop(this),i})}function n(e,t){return re(e,function(e){return e.transform(t,!0)})}t(se,p),t(de,function(e,t){e.label=e.label.transform(t),e.body=e.body.transform(t)}),t(ce,function(e,t){e.body=e.body.transform(t)}),t(le,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(be,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(xe,function(e,t){e.init=e.init.transform(t),e.object=e.object.transform(t),e.body=e.body.transform(t)}),t(_e,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(Re,function(e,t){e.condition=e.condition.transform(t),e.body=e.body.transform(t),e.alternative&&(e.alternative=e.alternative.transform(t))}),t(Pe,function(e,t){e.expression=e.expression.transform(t),e.body=n(e.body,t)}),t(je,function(e,t){e.expression=e.expression.transform(t),e.body=n(e.body,t)}),t(Ve,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(Ue,function(e,t){e.argname=e.argname.transform(t),e.body=n(e.body,t)}),t(qe,function(e,t){e.definitions=n(e.definitions,t)}),t(We,function(e,t){e.name=e.name.transform(t),e.value&&(e.value=e.value.transform(t))}),t(Ee,function(e,t){e.name&&(e.name=e.name.transform(t)),e.argnames=n(e.argnames,t),e.body=n(e.body,t)}),t(Ge,function(e,t){e.expression=e.expression.transform(t),e.args=n(e.args,t)}),t(Xe,function(e,t){e.car=e.car.transform(t),e.cdr=e.cdr.transform(t)}),t(Je,function(e,t){e.expression=e.expression.transform(t)}),t(Qe,function(e,t){e.expression=e.expression.transform(t),e.property=e.property.transform(t)}),t(Ze,function(e,t){e.expression=e.expression.transform(t)}),t(nt,function(e,t){e.left=e.left.transform(t),e.right=e.right.transform(t)}),t(rt,function(e,t){e.condition=e.condition.transform(t),e.consequent=e.consequent.transform(t),e.alternative=e.alternative.transform(t)}),t(st,function(e,t){e.elements=n(e.elements,t)}),t(ot,function(e,t){e.properties=n(e.properties,t)}),t(at,function(e,t){e.value=e.value.transform(t)})}(),W.next_id=1,W.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 yt||this.orig[0]instanceof vt)},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.screw_ie8&&r instanceof yt&&(n=n.parent_scope);var i;this.defun&&(i=this.defun.variables.get(this.name))?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)}}},ke.DEFMETHOD("figure_out_scope",function(e){e=l(e,{cache:null,screw_ie8:!0});var t=this,n=t.parent_scope=null,r=new k,i=null,s=new T(function(t,s){if(t instanceof Ue){o=n;return(n=new we(t)).init_scope_vars(o),s(),n=o,!0}if(t instanceof we){t.init_scope_vars(n);var o=n,a=i,u=r;return i=n=t,r=new k,s(),n=o,i=a,r=u,!0}if(t instanceof de){var c=t.label;if(r.has(c.name))throw new Error(y("Label {name} defined twice",c));return r.set(c.name,c),s(),r.del(c.name),!0}if(t instanceof _e)for(var l=n;l;l=l.parent_scope)l.uses_with=!0;else if(t instanceof ht&&(t.scope=n),t instanceof xt&&(t.thedef=t,t.references=[]),t instanceof yt)i.def_function(t);else if(t instanceof vt)(t.scope=i.parent_scope).def_function(t);else if(t instanceof dt||t instanceof mt){if(i.def_variable(t),i!==n){t.mark_enclosed(e);var h=n.find_variable(t);t.thedef!==h&&(t.thedef=h,t.reference(e))}}else if(t instanceof bt)n.def_variable(t).defun=i;else if(t instanceof wt){var p=r.get(t.name);if(!p)throw new Error(y("Undefined label {name} [{line},{col}]",{name:t.name,line:t.start.line,col:t.start.col}));t.thedef=p}});t.walk(s);var o=null,s=(t.globals=new k,new T(function(n,r){if(n instanceof Ee){var i=o;return o=n,r(),o=i,!0}if(n instanceof Be&&n.label)return n.label.thedef.references.push(n),!0;if(n instanceof _t){var a=n.name;if("eval"==a&&s.parent()instanceof Ge)for(var u=n.scope;u&&!u.uses_eval;u=u.parent_scope)u.uses_eval=!0;var c=n.scope.find_variable(a);return n.scope instanceof Ee&&"arguments"==a&&(n.scope.uses_arguments=!0),c||(c=t.def_global(n)),n.thedef=c,n.reference(e),!0}}));t.walk(s),e.screw_ie8||t.walk(new T(function(n,r){if(n instanceof bt){var i=n.name,s=n.thedef.references,o=n.thedef.defun,a=o.find_variable(i)||t.globals.get(i)||o.def_variable(n);return s.forEach(function(t){t.thedef=a,t.reference(e)}),n.thedef=a,!0}})),e.cache&&(this.cname=e.cache.cname)}),ke.DEFMETHOD("def_global",function(e){var t=this.globals,n=e.name;if(t.has(n))return t.get(n);var r=new W(this,t.size(),e);return r.undeclared=!0,r.global=!0,t.set(n,r),r}),we.DEFMETHOD("init_scope_vars",function(e){this.variables=new k,this.functions=new k,this.uses_with=!1,this.uses_eval=!1,this.parent_scope=e,this.enclosed=[],this.cname=-1}),Ee.DEFMETHOD("init_scope_vars",function(){we.prototype.init_scope_vars.apply(this,arguments),this.uses_arguments=!1,this.def_variable(new dt({name:"arguments",start:this.start,end:this.end}))}),ht.DEFMETHOD("mark_enclosed",function(e){for(var t=this.definition(),n=this.scope;n&&(v(n.enclosed,t),e.keep_fnames&&n.functions.each(function(e){v(t.scope.enclosed,e)}),n!==t.scope);)n=n.parent_scope}),ht.DEFMETHOD("reference",function(e){this.definition().references.push(this),this.mark_enclosed(e)}),we.DEFMETHOD("find_variable",function(e){return e instanceof ht&&(e=e.name),this.variables.get(e)||this.parent_scope&&this.parent_scope.find_variable(e)}),we.DEFMETHOD("def_function",function(e){this.functions.set(e.name,this.def_variable(e))}),we.DEFMETHOD("def_variable",function(e){var t;return this.variables.has(e.name)?(t=this.variables.get(e.name)).orig.push(e):(t=new W(this,this.variables.size(),e),this.variables.set(e.name,t),t.global=!this.parent_scope),e.thedef=t}),we.DEFMETHOD("next_mangled",function(e){var t=this.enclosed;e:for(;;){var n=sn(++this.cname);if(R(n)&&!(e.except.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}}}),Ce.DEFMETHOD("next_mangled",function(e,t){for(var n=t.orig[0]instanceof gt&&this.name&&this.name.definition(),r=n?n.mangled_name||n.name:null;;){var i=Ee.prototype.next_mangled.call(this,e,t);if(!r||r!=i)return i}}),ht.DEFMETHOD("unmangleable",function(e){return this.definition().unmangleable(e)}),xt.DEFMETHOD("unmangleable",function(){return!1}),ht.DEFMETHOD("unreferenced",function(){return 0==this.definition().references.length&&!(this.scope.uses_eval||this.scope.uses_with)}),ht.DEFMETHOD("undeclared",function(){return this.definition().undeclared}),wt.DEFMETHOD("undeclared",function(){return!1}),xt.DEFMETHOD("undeclared",function(){return!1}),ht.DEFMETHOD("definition",function(){return this.thedef}),ht.DEFMETHOD("global",function(){return this.definition().global}),ke.DEFMETHOD("_default_mangler_options",function(e){return l(e,{eval:!1,except:[],keep_fnames:!1,screw_ie8:!0,sort:!1,toplevel:!1})}),ke.DEFMETHOD("mangle_names",function(e){(e=this._default_mangler_options(e)).except.push("arguments");var t=-1,n=[];e.cache&&this.globals.each(function(t){e.except.indexOf(t.name)<0&&n.push(t)});var r=new T(function(i,s){if(i instanceof de){var o=t;return s(),t=o,!0}if(i instanceof we){r.parent();var a=[];return i.variables.each(function(t){e.except.indexOf(t.name)<0&&a.push(t)}),void n.push.apply(n,a)}if(i instanceof xt){var u;do{u=sn(++t)}while(!R(u));return i.mangled_name=u,!0}e.screw_ie8&&i instanceof bt&&n.push(i.definition())});this.walk(r),n.forEach(function(t){t.mangle(e)}),e.cache&&(e.cache.cname=this.cname)}),ke.DEFMETHOD("compute_char_frequency",function(e){e=this._default_mangler_options(e);var t=new T(function(t){t instanceof Et?sn.consider(t.print_to_string()):t instanceof Fe?sn.consider("return"):t instanceof Le?sn.consider("throw"):t instanceof Ne?sn.consider("continue"):t instanceof De?sn.consider("break"):t instanceof ae?sn.consider("debugger"):t instanceof ue?sn.consider(t.value):t instanceof ye?sn.consider("while"):t instanceof ve?sn.consider("do while"):t instanceof Re?(sn.consider("if"),t.alternative&&sn.consider("else")):t instanceof $e?sn.consider("var"):t instanceof He?sn.consider("const"):t instanceof Ee?sn.consider("function"):t instanceof be?sn.consider("for"):t instanceof xe?sn.consider("for in"):t instanceof Pe?sn.consider("switch"):t instanceof je?sn.consider("case"):t instanceof Ie?sn.consider("default"):t instanceof _e?sn.consider("with"):t instanceof ct?sn.consider("set"+t.key):t instanceof lt?sn.consider("get"+t.key):t instanceof ut?sn.consider(t.key):t instanceof Ye?sn.consider("new"):t instanceof kt?sn.consider("this"):t instanceof Ve?sn.consider("try"):t instanceof Ue?sn.consider("catch"):t instanceof ze?sn.consider("finally"):t instanceof ht&&t.unmangleable(e)?sn.consider(t.name):t instanceof Ze||t instanceof nt?sn.consider(t.operator):t instanceof Je&&sn.consider(t.property)});this.walk(t),sn.sort()});var sn=function(){function e(){r=Object.create(null),(n=i.split("").map(function(e){return e.charCodeAt(0)})).forEach(function(e){r[e]=0})}function t(e){var t="",r=54;e++;do{e--,t+=String.fromCharCode(n[e%r]),e=Math.floor(e/r),r=64}while(e>0);return t}var n,r,i="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_0123456789";return t.consider=function(e){for(var t=e.length;--t>=0;){var n=e.charCodeAt(t);n in r&&++r[n]}},t.sort=function(){n=x(n,function(e,t){return F(e)&&!F(t)?1:F(t)&&!F(e)?-1:r[t]-r[e]})},t.reset=e,e(),t.get=function(){return n},t.freq=function(){return r},t}();ke.DEFMETHOD("scope_warnings",function(e){e=l(e,{assign_to_global:!0,eval:!0,func_arguments:!0,nested_defuns:!0,undeclared:!1,unreferenced:!0});var t=new T(function(n){if(e.undeclared&&n instanceof _t&&n.undeclared()&&se.warn("Undeclared symbol: {name} [{file}:{line},{col}]",{name:n.name,file:n.start.file,line:n.start.line,col:n.start.col}),e.assign_to_global){var r=null;n instanceof it&&n.left instanceof _t?r=n.left:n instanceof xe&&n.init instanceof _t&&(r=n.init),r&&(r.undeclared()||r.global()&&r.scope!==r.definition().scope)&&se.warn("{msg}: {name} [{file}:{line},{col}]",{msg:r.undeclared()?"Accidental global?":"Assignment to global",name:r.name,file:r.start.file,line:r.start.line,col:r.start.col})}e.eval&&n instanceof _t&&n.undeclared()&&"eval"==n.name&&se.warn("Eval is used [{file}:{line},{col}]",n.start),e.unreferenced&&(n instanceof ft||n instanceof xt)&&!(n instanceof bt)&&n.unreferenced()&&se.warn("{type} {name} is declared but not referenced [{file}:{line},{col}]",{type:n instanceof xt?"Label":"Symbol",name:n.name,file:n.start.file,line:n.start.line,col:n.start.col}),e.func_arguments&&n instanceof Ee&&n.uses_arguments&&se.warn("arguments used in function {name} [{file}:{line},{col}]",{name:n.name?n.name.name:"anonymous",file:n.start.file,line:n.start.line,col:n.start.col}),e.nested_defuns&&n instanceof Se&&!(t.parent()instanceof we)&&se.warn('Function {name} declared in nested statement "{type}" [{file}:{line},{col}]',{name:n.name.name,type:t.parent().TYPE,file:n.start.file,line:n.start.line,col:n.start.col})});this.walk(t)});var on=/^$|[;{][\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;v=r,e.forEach(function(e,r){!0!==v||e instanceof ue||e instanceof pe||e instanceof ce&&e.body instanceof At||(v=!1),e instanceof pe||(n.indent(),e.print(n),r==i&&t||(n.newline(),t&&n.newline())),!0===v&&e instanceof ce&&e.body instanceof At&&(v=!1)}),v=!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("screw_ie8")&&n instanceof ve)return f(n,t);if(!n)return t.force_semicolon();for(;;)if(n instanceof Re){if(!n.alternative)return void f(e.body,t);n=n.alternative}else{if(!(n instanceof fe))break;n=n.body}u(e.body,t)}function s(e,t,n){if(n)try{e.walk(new T(function(e){if(e instanceof nt&&"in"==e.operator)throw t})),e.print(t)}catch(n){if(n!==t)throw n;e.print(t,!0)}else e.print(t)}function o(e,t,n){n.option("quote_keys")?n.print_string(e+""):("number"==typeof e||!n.option("beautify")&&+e+""==e)&&parseFloat(e)>=0?n.print(h(e)):(jt(e)?n.option("screw_ie8"):I(e))?t&&n.option("keep_quoted_props")?n.print_string(e,t):n.print_name(e):n.print_string(e,t)}function a(e){return[92,47,46,43,42,63,40,41,91,93,123,125,36,94,58,124,33,10,13,0,65279,8232,8233].indexOf(e)<0}function u(e,t){t.option("bracketize")?f(e,t):!e||e instanceof pe?t.force_semicolon():e.print(t)}function c(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 h(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 f(e,t){!e||e instanceof pe?t.print("{}"):e instanceof he?e.print(t):t.with_block(function(){t.indent(),e.print(t),t.newline()})}function d(e,t){e.DEFMETHOD("add_source_map",function(e){t(this,e)})}function m(e,t){t.add_mapping(e.start)}var g=!1,v=!1;se.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,s=g;r instanceof ue&&"use asm"==r.value&&e.parent()instanceof we&&(g=!0),e.push_node(r),t||r.needs_parens(e)?e.with_parens(n):n(),e.pop_node(),r instanceof we&&(g=s)}),se.DEFMETHOD("print_to_string",function(e){var t=Y(e);return e||(t._readonly=!0),this.print(t),t.get()}),se.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 T(function(e){if(e.start&&e.start.comments_before&&(r=r.concat(e.start.comments_before),e.start.comments_before=[]),e instanceof Ce||e instanceof st||e instanceof ot)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(se,function(){return!1}),t(Ce,function(e){if(A(e))return!0;if(e.option("wrap_iife")){var t=e.parent();return t instanceof Ge&&t.expression===this}return!1}),t(ot,function(e){return A(e)}),t(Ze,function(e){var t=e.parent();return t instanceof Ke&&t.expression===this||t instanceof Ge&&t.expression===this}),t(Xe,function(e){var t=e.parent();return t instanceof Ge||t instanceof Ze||t instanceof nt||t instanceof We||t instanceof Ke||t instanceof st||t instanceof at||t instanceof rt}),t(nt,function(e){var t=e.parent();if(t instanceof Ge&&t.expression===this)return!0;if(t instanceof Ze)return!0;if(t instanceof Ke&&t.expression===this)return!0;if(t instanceof nt){var n=t.operator,r=tn[n],i=this.operator,s=tn[i];if(r>s||r==s&&this===t.right)return!0}}),t(Ke,function(e){var t=e.parent();if(t instanceof Ye&&t.expression===this)try{this.walk(new T(function(e){if(e instanceof Ge)throw t}))}catch(e){if(e!==t)throw e;return!0}}),t(Ge,function(e){var t,n=e.parent();return n instanceof Ye&&n.expression===this||this.expression instanceof Ce&&n instanceof Ke&&n.expression===this&&(t=e.parent(1))instanceof it&&t.left===n}),t(Ye,function(e){var t=e.parent();if(!c(this,e)&&(t instanceof Ke||t instanceof Ge&&t.expression===this))return!0}),t(Ct,function(e){var t=e.parent();if(t instanceof Ke&&t.expression===this){var n=this.getValue();if(n<0||/^0/.test(h(n)))return!0}}),t([it,rt],function(e){var t=e.parent();return t instanceof Ze||(t instanceof nt&&!(t instanceof it)||(t instanceof Ge&&t.expression===this||(t instanceof rt&&t.condition===this||(t instanceof Ke&&t.expression===this||void 0))))}),e(ue,function(e,t){t.print_string(e.value,e.quote),t.semicolon()}),e(ae,function(e,t){t.print("debugger"),t.semicolon()}),fe.DEFMETHOD("_do_print_body",function(e){u(this.body,e)}),e(oe,function(e,t){e.body.print(t),t.semicolon()}),e(ke,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(ce,function(e,t){e.body.print(t),t.semicolon()}),e(he,function(e,t){r(e.body,t)}),e(pe,function(e,t){t.semicolon()}),e(ve,function(e,t){t.print("do"),t.space(),f(e.body,t),t.space(),t.print("while"),t.space(),t.with_parens(function(){e.condition.print(t)}),t.semicolon()}),e(ye,function(e,t){t.print("while"),t.space(),t.with_parens(function(){e.condition.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?(e.init instanceof qe?e.init.print(t):s(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(xe,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(_e,function(e,t){t.print("with"),t.space(),t.with_parens(function(){e.expression.print(t)}),t.space(),e._do_print_body(t)}),Ee.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(Ee,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(Fe,function(e,t){e._do_print(t,"return")}),e(Le,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(De,function(e,t){e._do_print(t,"break")}),e(Ne,function(e,t){e._do_print(t,"continue")}),e(Re,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 Re?e.alternative.print(t):u(e.alternative,t)):e._do_print_body(t)}),e(Pe,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(Ie,function(e,t){t.print("default:"),e._do_print_body(t)}),e(je,function(e,t){t.print("case"),t.space(),e.expression.print(t),t.print(":"),e._do_print_body(t)}),e(Ve,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(Ue,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)}),qe.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 be||n instanceof xe)&&n.init===this||e.semicolon()}),e($e,function(e,t){e._do_print(t,"var")}),e(He,function(e,t){e._do_print(t,"const")}),e(We,function(e,t){if(e.name.print(t),e.value){t.space(),t.print("="),t.space();var n=t.parent(1),r=n instanceof be||n instanceof xe;s(e.value,t,r)}}),e(Ge,function(e,t){e.expression.print(t),e instanceof Ye&&!c(e,t)||t.with_parens(function(){e.args.forEach(function(e,n){n&&t.comma(),e.print(t)})})}),e(Ye,function(e,t){t.print("new"),t.space(),Ge.prototype._codegen(e,t)}),Xe.DEFMETHOD("_do_print",function(e){this.car.print(e),this.cdr&&(e.comma(),e.should_break()&&(e.newline(),e.indent()),this.cdr.print(e))}),e(Xe,function(e,t){e._do_print(t)}),e(Je,function(e,t){var n=e.expression;n.print(t),n instanceof Ct&&n.getValue()>=0&&(/[xa-f.)]/i.test(t.last())||t.print(".")),t.print("."),t.add_mapping(e.end),t.print_name(e.property)}),e(Qe,function(e,t){e.expression.print(t),t.print("["),e.property.print(t),t.print("]")}),e(et,function(e,t){var n=e.operator;t.print(n),(/^[a-z]/i.test(n)||/[+-]$/.test(n)&&e.expression instanceof et&&/^[+-]/.test(e.expression.operator))&&t.space(),e.expression.print(t)}),e(tt,function(e,t){e.expression.print(t),t.print(e.operator)}),e(nt,function(e,t){var n=e.operator;e.left.print(t),">"==n[0]&&e.left instanceof tt&&"--"==e.left.operator?t.print(" "):t.space(),t.print(n),("<"==n||"<<"==n)&&e.right instanceof et&&"!"==e.right.operator&&e.right.expression instanceof et&&"--"==e.right.expression.operator?t.print(" "):t.space(),e.right.print(t)}),e(rt,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(st,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 Bt&&t.comma()}),r>0&&t.space()})}),e(ot,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(ut,function(e,t){o(e.key,e.quote,t),t.colon(),e.value.print(t)}),at.DEFMETHOD("_print_getter_setter",function(e,t){t.print(e),t.space(),o(this.key.name,this.quote,t),this.value._do_print(t,!0)}),e(ct,function(e,t){e._print_getter_setter("set",t)}),e(lt,function(e,t){e._print_getter_setter("get",t)}),e(ht,function(e,t){var n=e.definition();t.print_name(n?n.mangled_name||n.name:e.name)}),e(Bt,p),e(kt,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,v)}),e(Ct,function(e,t){g&&e.start&&null!=e.start.raw?t.print(e.start.raw):t.print(h(e.getValue()))}),e(St,function(e,t){var n=e.getValue().toString();t.option("ascii_only")?n=t.to_ascii(n):t.option("unescape_regexps")&&(n=n.split("\\\\").map(function(e){return e.replace(/\\u[0-9a-fA-F]{4}|\\x[0-9a-fA-F]{2}/g,function(e){var t=parseInt(e.substr(2),16);return a(t)?String.fromCharCode(t):e})}).join("\\\\")),t.print(n);var r=t.parent();r instanceof nt&&/^in/.test(r.operator)&&r.left===e&&t.print(" ")}),d(se,p),d(ue,m),d(ae,m),d(ht,m),d(Te,m),d(fe,m),d(de,p),d(Ee,m),d(Pe,m),d(Me,m),d(he,m),d(ke,p),d(Ye,m),d(Ve,m),d(Ue,m),d(ze,m),d(qe,m),d(Et,m),d(ct,function(e,t){t.add_mapping(e.start,e.key.name)}),d(lt,function(e,t){t.add_mapping(e.start,e.key.name)}),d(at,function(e,t){t.add_mapping(e.start,e.key)})}(),X.prototype=new H,h(X.prototype,{option:function(e){return this.options[e]},compress:function(e){this.option("expression")&&(e=e.process_expression(!0));for(var t=+this.options.passes||1,n=0;n<t&&n<3;++n)(n>0||this.option("reduce_vars"))&&e.reset_opt_flags(this,!0),e=e.transform(this);return this.option("expression")&&(e=e.process_expression(!1)),e},info:function(){"verbose"==this.options.warnings&&se.warn.apply(se,arguments)},warn:function(e,t){if(this.options.warnings){var n=y(e,t);n in this.warnings_produced||(this.warnings_produced[n]=!0,se.warn.apply(se,arguments))}},clear_warnings:function(){this.warnings_produced={}},before:function(e,t,n){if(e._squeezed)return e;var r=!1;e instanceof we&&(e=e.hoist_declarations(this),r=!0),t(e,this),t(e,this);var i=e.optimize(this);return r&&i instanceof we&&(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 _t))return!1;for(var t=e.definition().orig,n=t.length;--n>=0;)if(t[n]instanceof mt)return!0}function n(e,t){for(var n,r=0;(n=e.parent(r++))&&!(n instanceof we);)if(n instanceof Ue){n=n.argname.definition().scope;break}return n.find_variable(t)}function r(e,t,n){return n||(n={}),t&&(n.start||(n.start=t.start),n.end||(n.end=t.end)),new e(n)}function i(e,t){switch(void 0===e?"undefined":Z(e)){case"string":return r(At,t,{value:e});case"number":return isNaN(e)?r(Ft,t):isFinite(e)?1/e<0?r(et,t,{operator:"-",expression:r(Ct,t,{value:-e})}):r(Ct,t,{value:e}):e<0?r(et,t,{operator:"-",expression:r(Dt,t)}):r(Dt,t);case"boolean":return r(e?Pt:Rt,t);case"undefined":return r(Lt,t);default:if(null===e)return r(Ot,t,{value:null});if(e instanceof RegExp)return r(St,t,{value:e});throw new Error(y("Can't handle constant of type: {type}",{type:void 0===e?"undefined":Z(e)}))}}function a(e,t,n){return e instanceof et&&"delete"==e.operator||e instanceof Ge&&e.expression===t&&(n instanceof Ke||n instanceof _t&&"eval"==n.name)?r(Xe,t,{car:r(Ct,t,{value:0}),cdr:n}):n}function u(e){if(null===e)return[];if(e instanceof he)return e.body;if(e instanceof pe)return[];if(e instanceof oe)return[e];throw new Error("Can't convert thing to statement array")}function c(e){return null===e||(e instanceof pe||e instanceof he&&0==e.body.length)}function l(e){return e instanceof Pe?e:(e instanceof be||e instanceof xe||e instanceof ge)&&e.body instanceof he?e.body:e}function h(e){return e instanceof Ge&&!(e instanceof Ye)&&(e.expression instanceof Ce||h(e.expression))}function v(e,t){function n(e,t){function i(e,t){return e instanceof _t&&L(e,t)}function s(n,s,l){if(i(n,s))return n;var h=a(s,n,_.value);return _.value=null,m.splice(x,1),0===m.length&&(e[f]=r(pe,o),u=!0),p.reset_opt_flags(t),t.info("Collapsing "+(l?"constant":"variable")+" "+w+" [{file}:{line},{col}]",n.start),c=!0,h}for(var o=t.self(),u=!1,l=t.option("toplevel"),h=e.length;--h>=0;){var p=e[h];if(!(p instanceof qe)){if([p,p.body,p.alternative,p.bcatch,p.bfinally].forEach(function(e){e&&e.body&&n(e.body,t)}),h<=0)break;var f=h-1,d=e[f];if(d instanceof qe){var m=d.definitions;if(null!=m)for(var g={},v=!1,y=!1,b={},x=m.length;--x>=0;){var _=m[x];if(null==_.value)break;var w=_.name.name;if(!w||!w.length)break;if(w in g)break;g[w]=!0;var k=o.find_variable&&o.find_variable(w);if(k&&k.references&&1===k.references.length&&"arguments"!=w&&(l||!k.global)){var E=k.references[0];if(E.scope.uses_eval||E.scope.uses_with)break;if(_.value.is_constant()){var A=new H(function(e){var t=A.parent();return t instanceof me&&(t.condition===e||t.init===e)?e:e===E?s(e,t,!0):void 0});p.transform(A)}else if(!(v|=y)){var C=_.value.has_side_effects(t);if(E.scope===o){var S=new T(function(e){e instanceof _t&&i(e,S.parent())&&(b[e.name]=y=!0)});_.value.walk(S);var O=!1,F=new H(function(e){if(O)return e;var t=F.parent();return e instanceof Ee||e instanceof Ve||e instanceof _e||e instanceof je||e instanceof me||t instanceof Re&&e!==t.condition||t instanceof rt&&e!==t.condition||e instanceof _t&&C&&!function(e,t){if(1===e.orig.length&&e.orig[0]instanceof vt)return!0;if(e.scope!==t)return!1;for(var n=e.references,r=0,i=n.length;r<i;r++)if(n[r].scope!==t)return!1;return!0}(e.definition(),o)||t instanceof nt&&("&&"==t.operator||"||"==t.operator)&&e===t.right||t instanceof Pe&&e!==t.expression?(v=O=!0,e):void 0},function(e){return O?e:e===E?(O=!0,s(e,F.parent(),!1)):(v|=e.has_side_effects(t))?(O=!0,e):y&&e instanceof _t&&e.name in b?(v=!0,O=!0,e):void 0});p.transform(F)}else v|=C}}else v=!0}}}}if(u)for(var B=e.length;--B>=0;)e.length>1&&e[B]instanceof pe&&e.splice(B,1);return e}function i(e){var t=[];return e.reduce(function(e,n){return n instanceof he?(c=!0,e.push.apply(e,i(n.body))):n instanceof pe?c=!0:n instanceof ue?t.indexOf(n.value)<0?(e.push(n),t.push(n.value)):c=!0:e.push(n),e},[])}function s(e){for(var t=0,n=0;n<e.length;++n){var r=e[n];r instanceof Xe?t+=r.len():t++}return t}function o(e,t){function n(e){i.pop();var n=s.body;return n instanceof Xe?n.add(e):n=Xe.cons(n,e),n.transform(t)}var i=[],s=null;return e.forEach(function(e){if(s)if(e instanceof be){var o={};try{s.body.walk(new T(function(e){if(e instanceof nt&&"in"==e.operator)throw o})),!e.init||e.init instanceof qe?e.init||(e.init=s.body.drop_side_effect_free(t),i.pop()):e.init=n(e.init)}catch(e){if(e!==o)throw e}}else e instanceof Re?e.condition=n(e.condition):e instanceof _e?e.expression=n(e.expression):e instanceof Oe&&e.value?e.value=n(e.value):e instanceof Oe?e.value=n(r(Lt,e).transform(t)):e instanceof Pe&&(e.expression=n(e.expression));i.push(e),s=e instanceof ce?e:null}),i}var c,h=10;do{c=!1,t.option("angular")&&(e=function(e){function n(e){return/@ngInject/.test(e.value)}function i(e){return e.argnames.map(function(e){return r(At,e,{value:e.name})})}function s(e,t){return r(st,e,{elements:t})}function o(e,t){return r(ce,e,{body:r(it,e,{operator:"=",left:r(Je,t,{expression:r(_t,t,t),property:"$inject"}),right:s(e,i(e))})})}function a(e){e&&e.args&&(e.args.forEach(function(e,t,r){var o=e.start.comments_before;e instanceof Ee&&o.length&&n(o[0])&&(r[t]=s(e,i(e).concat(e)))}),e.expression&&e.expression.expression&&a(e.expression.expression))}return e.reduce(function(e,r){if(e.push(r),r.body&&r.body.args)a(r.body);else{var i=r.start,s=i.comments_before;s&&s.length>0&&n(s.pop())&&(r instanceof Se?e.push(o(r,r.name)):r instanceof qe?r.definitions.forEach(function(t){t.value&&t.value instanceof Ee&&e.push(o(t.value,t.name))}):t.warn("Unknown statement marked with @ngInject [{file}:{line},{col}]",i))}return e},[])}(e)),e=i(e),t.option("dead_code")&&(e=function(e,t){var n=!1,r=e.length,i=t.self();return e=e.reduce(function(e,r){if(n)O(t,r,e);else{if(r instanceof Be){var s=t.loopcontrol_target(r);r instanceof De&&!(s instanceof me)&&l(s)===i||r instanceof Ne&&l(s)===i?r.label&&b(r.label.thedef.references,r):e.push(r)}else e.push(r);R(r)&&(n=!0)}return e},[]),c=e.length!=r,e}(e,t)),t.option("if_return")&&(e=function(e,t){var n=t.self(),i=function(e){for(var t=0,n=e.length;--n>=0;){var r=e[n];if(r instanceof Re&&r.body instanceof Fe&&++t>1)return!0}return!1}(e),s=n instanceof Ee,o=[];e:for(var a=e.length;--a>=0;){var h=e[a];switch(!0){case s&&h instanceof Fe&&!h.value&&0==o.length:c=!0;continue e;case h instanceof Re:if(h.body instanceof Fe){if((s&&0==o.length||o[0]instanceof Fe&&!o[0].value)&&!h.body.value&&!h.alternative){c=!0;var p=r(ce,h.condition,{body:h.condition});o.unshift(p);continue e}if(o[0]instanceof Fe&&h.body.value&&o[0].value&&!h.alternative){c=!0,(h=h.clone()).alternative=o[0],o[0]=h.transform(t);continue e}if(i&&(0==o.length||o[0]instanceof Fe)&&h.body.value&&!h.alternative&&s){c=!0,(h=h.clone()).alternative=o[0]||r(Fe,h,{value:null}),o[0]=h.transform(t);continue e}if(!h.body.value&&s){c=!0,(h=h.clone()).condition=h.condition.negate(t);var f=C(g=u(h.alternative).concat(o));h.body=r(he,h,{body:g}),h.alternative=null,o=f.concat([h.transform(t)]);continue e}if(t.option("sequences")&&a>0&&e[a-1]instanceof Re&&e[a-1].body instanceof Fe&&1==o.length&&s&&o[0]instanceof ce&&!h.alternative){c=!0,o.push(r(Fe,o[0],{value:null}).transform(t)),o.unshift(h);continue e}}var d=R(h.body),m=d instanceof Be?t.loopcontrol_target(d):null;if(d&&(d instanceof Fe&&!d.value&&s||d instanceof Ne&&n===l(m)||d instanceof De&&m instanceof he&&n===m)){d.label&&b(d.label.thedef.references,d),c=!0;var g=u(h.body).slice(0,-1);(h=h.clone()).condition=h.condition.negate(t),h.body=r(he,h,{body:u(h.alternative).concat(o)}),h.alternative=r(he,h,{body:g}),o=[h.transform(t)];continue e}if(m=(d=R(h.alternative))instanceof Be?t.loopcontrol_target(d):null,d&&(d instanceof Fe&&!d.value&&s||d instanceof Ne&&n===l(m)||d instanceof De&&m instanceof he&&n===m)){d.label&&b(d.label.thedef.references,d),c=!0,(h=h.clone()).body=r(he,h.body,{body:u(h.body).concat(o)}),h.alternative=r(he,h.alternative,{body:u(h.alternative).slice(0,-1)}),o=[h.transform(t)];continue e}o.unshift(h);break;default:o.unshift(h)}}return o}(e,t)),t.sequences_limit>0&&(e=function(e,t){function n(){(i=Xe.from_array(i))&&a.push(r(ce,i,{body:i})),i=[]}if(e.length<2)return e;var i=[],a=[];return e.forEach(function(e){if(e instanceof ce){s(i)>=t.sequences_limit&&n();var r=e.body;i.length>0&&(r=r.drop_side_effect_free(t)),r&&i.push(r)}else n(),a.push(e)}),n(),a=o(a,t),c=a.length!=e.length,a}(e,t)),t.option("join_vars")&&(e=function(e,t){var n=null;return e.reduce(function(e,t){return t instanceof qe&&n&&n.TYPE==t.TYPE?(n.definitions=n.definitions.concat(t.definitions),c=!0):t instanceof be&&n instanceof $e&&(!t.init||t.init.TYPE==n.TYPE)?(c=!0,e.pop(),t.init?t.init.definitions=n.definitions.concat(t.init.definitions):t.init=n,e.push(t),n=t):(n=t,e.push(t)),e},[])}(e)),t.option("collapse_vars")&&(e=n(e,t))}while(c&&h-- >0);return e}function C(e){for(var t=[],n=e.length-1;n>=0;--n){var r=e[n];r instanceof Se&&(e.splice(n,1),t.unshift(r))}return t}function O(e,t,n){t instanceof Se||e.warn("Dropping unreachable code [{file}:{line},{col}]",t.start),t.walk(new T(function(t){return t instanceof qe?(e.warn("Declarations in unreachable code! [{file}:{line},{col}]",t.start),t.remove_initializers(),n.push(t),!0):t instanceof Se?(n.push(t),!0):t instanceof we||void 0}))}function F(e,t){return e.is_undefined||e instanceof Lt||e instanceof et&&"void"==e.operator&&!e.expression.has_side_effects(t)}function L(e,t){return t instanceof Ze&&U(t.operator)?t.expression:t instanceof it&&t.left===e?e:void 0}function B(e,t){return e.print_to_string().length>t.print_to_string().length?t:e}function D(e,t){return B(r(ce,e,{body:e}),r(ce,t,{body:t})).body}function N(e,t,n){return(A(e)?D:B)(t,n)}function R(e){return e&&e.aborts()}function P(e,t){function n(n){n=u(n),e.body instanceof he?(e.body=e.body.clone(),e.body.body=n.concat(e.body.body.slice(1)),e.body=e.body.transform(t)):e.body=r(he,e.body,{body:n}).transform(t),P(e,t)}var i=e.body instanceof he?e.body.body[0]:e.body;i instanceof Re&&(i.body instanceof De&&t.loopcontrol_target(i.body)===t.self()?(e.condition?e.condition=r(nt,e.condition,{left:e.condition,operator:"&&",right:i.condition.negate(t)}):e.condition=i.condition.negate(t),n(i.alternative)):i.alternative instanceof De&&t.loopcontrol_target(i.alternative)===t.self()&&(e.condition?e.condition=r(nt,e.condition,{left:e.condition,operator:"&&",right:i.condition}):e.condition=i.condition,n(i.body)))}function M(e,t){return e instanceof _t||e.TYPE===t.TYPE}function j(e,t){return t.option("booleans")&&t.in_boolean_context()?N(t,e,r(Xe,e,{car:e,cdr:r(Pt,e)}).optimize(t)):e}e(se,function(e,t){return e}),se.DEFMETHOD("equivalent_to",function(e){return this.TYPE==e.TYPE&&this.print_to_string()==e.print_to_string()}),se.DEFMETHOD("process_expression",function(e,t){var n=this,i=new H(function(s){if(e&&s instanceof ce)return r(Fe,s,{value:s.body});if(!e&&s instanceof Fe){if(t){var o=s.value&&s.value.drop_side_effect_free(t,!0);return o?r(ce,s,{body:o}):r(pe,s)}return r(ce,s,{body:s.value||r(et,s,{operator:"void",expression:r(Ct,s,{value:0})})})}if(s instanceof Ee&&s!==n)return s;if(s instanceof le){var a=s.body.length-1;a>=0&&(s.body[a]=s.body[a].transform(i))}return s instanceof Re&&(s.body=s.body.transform(i),s.alternative&&(s.alternative=s.alternative.transform(i))),s instanceof _e&&(s.body=s.body.transform(i)),s});return n.transform(i)}),se.DEFMETHOD("reset_opt_flags",function(e,t){function n(e,t){h[e.id]=t}function i(e){if(h[e.id]){if(null==e.fixed){var t=e.orig[0];if(t instanceof gt||"arguments"==t.name)return!1;e.fixed=r(Lt,t)}return!0}}function s(){h=Object.create(h)}function o(){h=Object.getPrototypeOf(h)}function a(e){e.escaped=!1,e.scope.uses_eval?e.fixed=!1:l||!e.global||e.orig[0]instanceof mt?e.fixed=void 0:e.fixed=!1,e.references=[],e.should_replace=void 0}function u(e,t,n){var r=f.parent(t);return!!(L(e,r)||!n&&r instanceof Ge&&r.expression===e)||(r instanceof Ke&&r.expression===e?!n&&u(r,t+1):void 0)}var c=t&&e.option("reduce_vars"),l=e.option("toplevel"),h=Object.create(null),p=new T(function(e){if(e instanceof ht){var t=e.definition();e instanceof _t&&t.references.push(e),t.fixed=!1}}),f=new T(function(e,t){if(e._squeezed=!1,e._optimized=!1,c){if(e instanceof ke&&e.globals.each(a),e instanceof we&&e.variables.each(a),e instanceof _t)if((m=e.definition()).references.push(e),void 0===m.fixed||!i(m)||u(e,0,e.fixed_value()instanceof Ee))m.fixed=!1;else{var d=f.parent();(d instanceof it&&"="==d.operator&&e===d.right||d instanceof Ge&&e!==d.expression||d instanceof Fe&&e===d.value&&e.scope!==m.scope||d instanceof We&&e===d.value)&&(m.escaped=!0)}if(e instanceof bt&&(e.definition().fixed=!1),e instanceof We){if(null==(m=e.name.definition()).fixed)return e.value?(m.fixed=function(){return e.value},n(m,!1),t()):m.fixed=null,n(m,!0),!0;e.value&&(m.fixed=!1)}if(e instanceof Se){var m=e.name.definition();!l&&m.global||i(m)?m.fixed=!1:(m.fixed=e,n(m,!0));v=h;return h=Object.create(null),t(),h=v,!0}if(e instanceof Ce){s();var g;return!e.name&&(g=f.parent())instanceof Ge&&g.expression===e&&e.argnames.forEach(function(t,i){var s=t.definition();e.uses_arguments||void 0!==s.fixed?s.fixed=!1:(s.fixed=function(){return g.args[i]||r(Lt,g)},n(s,!0))}),t(),o(),!0}if(e instanceof Ae){var v=h;return h=Object.create(null),t(),h=v,!0}if(e instanceof nt&&("&&"==e.operator||"||"==e.operator))return e.left.walk(f),s(),e.right.walk(f),o(),!0;if(e instanceof rt)return e.condition.walk(f),s(),e.consequent.walk(f),o(),s(),e.alternative.walk(f),o(),!0;if(e instanceof Re||e instanceof ge)return e.condition.walk(f),s(),e.body.walk(f),o(),e.alternative&&(s(),e.alternative.walk(f),o()),!0;if(e instanceof de)return s(),e.body.walk(f),o(),!0;if(e instanceof be)return e.init&&e.init.walk(f),s(),e.condition&&e.condition.walk(f),e.body.walk(f),e.step&&e.step.walk(f),o(),!0;if(e instanceof xe)return e.init.walk(p),e.object.walk(f),s(),e.body.walk(f),o(),!0;if(e instanceof Ve)return s(),S(e,f),o(),e.bcatch&&(s(),e.bcatch.walk(f),o()),e.bfinally&&e.bfinally.walk(f),!0;if(e instanceof Me)return s(),t(),o(),!0}});this.walk(f)}),_t.DEFMETHOD("fixed_value",function(){var e=this.definition().fixed;return!e||e instanceof se?e:e()}),function(e){function t(e){return/strict/.test(e)}se.DEFMETHOD("may_throw_on_access",function(e){var t=e.option("pure_getters");return!t||this._throw_on_access(t)}),e(se,t),e(Ot,d),e(Lt,d),e(Et,f),e(st,f),e(ot,function(e){if(!t(e))return!1;for(var n=this.properties.length;--n>=0;)if(this.properties[n].value instanceof Ae)return!0;return!1}),e(Ce,f),e(tt,f),e(et,function(){return"void"==this.operator}),e(nt,function(e){switch(this.operator){case"&&":return this.left._throw_on_access(e);case"||":return this.left._throw_on_access(e)&&this.right._throw_on_access(e);default:return!1}}),e(it,function(e){return"="==this.operator&&this.right._throw_on_access(e)}),e(rt,function(e){return this.consequent._throw_on_access(e)||this.alternative._throw_on_access(e)}),e(Xe,function(e){return this.cdr._throw_on_access(e)}),e(_t,function(e){if(this.is_undefined)return!0;if(!t(e))return!1;var n=this.fixed_value();return!n||n._throw_on_access(e)})}(function(e,t){e.DEFMETHOD("_throw_on_access",t)}),function(e){var t=["!","delete"],n=["in","instanceof","==","!=","===","!==","<","<=",">=",">"];e(se,f),e(et,function(){return s(this.operator,t)}),e(nt,function(){return s(this.operator,n)||("&&"==this.operator||"||"==this.operator)&&this.left.is_boolean()&&this.right.is_boolean()}),e(rt,function(){return this.consequent.is_boolean()&&this.alternative.is_boolean()}),e(it,function(){return"="==this.operator&&this.right.is_boolean()}),e(Xe,function(){return this.cdr.is_boolean()}),e(Pt,d),e(Rt,d)}(function(e,t){e.DEFMETHOD("is_boolean",t)}),function(e){e(se,f),e(Ct,d);var t=_("+ - ~ ++ --");e(Ze,function(){return t(this.operator)});var n=_("- * / % & | ^ << >> >>>");e(nt,function(e){return n(this.operator)||"+"==this.operator&&this.left.is_number(e)&&this.right.is_number(e)}),e(it,function(e){return n(this.operator.slice(0,-1))||"="==this.operator&&this.right.is_number(e)}),e(Xe,function(e){return this.cdr.is_number(e)}),e(rt,function(e){return this.consequent.is_number(e)&&this.alternative.is_number(e)})}(function(e,t){e.DEFMETHOD("is_number",t)}),function(e){e(se,f),e(At,d),e(et,function(){return"typeof"==this.operator}),e(nt,function(e){return"+"==this.operator&&(this.left.is_string(e)||this.right.is_string(e))}),e(it,function(e){return("="==this.operator||"+="==this.operator)&&this.right.is_string(e)}),e(Xe,function(e){return this.cdr.is_string(e)}),e(rt,function(e){return this.consequent.is_string(e)&&this.alternative.is_string(e)})}(function(e,t){e.DEFMETHOD("is_string",t)});var U=_("delete ++ --");!function(e){function t(e,n){if(e instanceof se)return r(e.CTOR,n,e);if(Array.isArray(e))return r(st,n,{elements:e.map(function(e){return t(e,n)})});if(e&&"object"==(void 0===e?"undefined":Z(e))){var s=[];for(var o in e)s.push(r(ut,n,{key:o,value:t(e[o],n)}));return r(ot,n,{properties:s})}return i(e,n)}se.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 Ke&&r.expression===n);if(!L(n,r))return t;e.warn("global_defs "+this.print_to_string()+" redefined [{file}:{line},{col}]",this.start)}}}),e(se,p),e(Je,function(e,t){return this.expression._find_defs(e,"."+this.property+t)}),e(_t,function(e,n){if(this.global()){var r,i=e.option("global_defs");if(i&&E(i,r=this.name+n)){var s=t(i[r],this),o=e.find_parent(ke);return s.walk(new T(function(e){e instanceof _t&&(e.scope=o,e.thedef=o.def_global(e))})),s}}})}(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)}se.DEFMETHOD("evaluate",function(t){if(!t.option("evaluate"))return this;try{var n=this._eval(t);return!n||n instanceof RegExp||"object"!=(void 0===n?"undefined":Z(n))?n:this}catch(t){if(t!==e)throw t;return this}});var n=_("! ~ - + void");se.DEFMETHOD("is_constant",function(){return this instanceof Et?!(this instanceof St):this instanceof et&&this.expression instanceof Et&&n(this.operator)}),se.DEFMETHOD("constant_value",function(e){if(this instanceof Et&&!(this instanceof St))return this.value;if(this instanceof et&&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(y("Cannot evaluate unary expression {value}",{value:this.print_to_string()}))}var t=this.evaluate(e);if(t!==this)return t;throw new Error(y("Cannot evaluate constant [{file}:{line},{col}]",this.start))}),e(oe,function(){throw new Error(y("Cannot evaluate a statement [{file}:{line},{col}]",this.start))}),e(Ee,function(){throw e}),e(se,function(){throw e}),e(Et,function(){return this.getValue()}),e(st,function(n){if(n.option("unsafe"))return this.elements.map(function(e){return t(e,n)});throw e}),e(ot,function(n){if(n.option("unsafe")){for(var r={},i=0,s=this.properties.length;i<s;i++){var o=this.properties[i],a=o.key;if(a instanceof ht?a=a.name:a instanceof se&&(a=t(a,n)),"function"==typeof Object.prototype[a])throw e;r[a]=t(o.value,n)}return r}throw e}),e(et,function(n){var r=this.expression;switch(this.operator){case"!":return!t(r,n);case"typeof":if(r instanceof Ce)return Z(function(){});if((r=t(r,n))instanceof RegExp)throw e;return void 0===r?"undefined":Z(r);case"void":return void t(r,n);case"~":return~t(r,n);case"-":return-t(r,n);case"+":return+t(r,n)}throw e}),e(nt,function(n){var r,i=this.left,s=this.right;switch(this.operator){case"&&":r=t(i,n)&&t(s,n);break;case"||":r=t(i,n)||t(s,n);break;case"|":r=t(i,n)|t(s,n);break;case"&":r=t(i,n)&t(s,n);break;case"^":r=t(i,n)^t(s,n);break;case"+":r=t(i,n)+t(s,n);break;case"*":r=t(i,n)*t(s,n);break;case"/":r=t(i,n)/t(s,n);break;case"%":r=t(i,n)%t(s,n);break;case"-":r=t(i,n)-t(s,n);break;case"<<":r=t(i,n)<<t(s,n);break;case">>":r=t(i,n)>>t(s,n);break;case">>>":r=t(i,n)>>>t(s,n);break;case"==":r=t(i,n)==t(s,n);break;case"===":r=t(i,n)===t(s,n);break;case"!=":r=t(i,n)!=t(s,n);break;case"!==":r=t(i,n)!==t(s,n);break;case"<":r=t(i,n)<t(s,n);break;case"<=":r=t(i,n)<=t(s,n);break;case">":r=t(i,n)>t(s,n);break;case">=":r=t(i,n)>=t(s,n);break;default:throw e}if(isNaN(r)&&n.find_parent(_e))throw e;return r}),e(rt,function(e){return t(this.condition,e)?t(this.consequent,e):t(this.alternative,e)}),e(_t,function(n){if(!n.option("reduce_vars")||this._evaluating)throw e;this._evaluating=!0;try{var r=this.fixed_value();if(!r)throw e;var i=t(r,n);if(E(r,"_eval")||(r._eval=function(){return i}),i&&"object"==(void 0===i?"undefined":Z(i))&&this.definition().escaped)throw e;return i}finally{this._evaluating=!1}}),e(Ke,function(n){if(n.option("unsafe")){var r=this.property;r instanceof se&&(r=t(r,n));var i=t(this.expression,n);if(i&&E(i,r))return i[r]}throw e})}(function(e,t){e.DEFMETHOD("_eval",t)}),function(e){function t(e){return r(et,e,{operator:"!",expression:e})}function n(e,n,i){var s=t(e);if(i){var o=r(ce,n,{body:n});return B(s,o)===o?n:s}return B(s,n)}e(se,function(){return t(this)}),e(oe,function(){throw new Error("Cannot negate a statement")}),e(Ce,function(){return t(this)}),e(et,function(){return"!"==this.operator?this.expression:t(this)}),e(Xe,function(e){var t=this.clone();return t.cdr=t.cdr.negate(e),t}),e(rt,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(nt,function(e,r){var i=this.clone(),s=this.operator;if(e.option("unsafe_comps"))switch(s){case"<=":return i.operator=">",i;case"<":return i.operator=">=",i;case">=":return i.operator="<",i;case">":return i.operator="<=",i}switch(s){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)})}),Ge.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(se,d),e(pe,f),e(Et,f),e(kt,f),e(Ge,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(le,function(e){return t(this.body,e)}),e(Pe,function(e){return this.expression.has_side_effects(e)||t(this.body,e)}),e(je,function(e){return this.expression.has_side_effects(e)||t(this.body,e)}),e(Ve,function(e){return t(this.body,e)||this.bcatch&&this.bcatch.has_side_effects(e)||this.bfinally&&this.bfinally.has_side_effects(e)}),e(Re,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(ce,function(e){return this.body.has_side_effects(e)}),e(Se,d),e(Ce,f),e(nt,function(e){return this.left.has_side_effects(e)||this.right.has_side_effects(e)}),e(it,d),e(rt,function(e){return this.condition.has_side_effects(e)||this.consequent.has_side_effects(e)||this.alternative.has_side_effects(e)}),e(Ze,function(e){return U(this.operator)||this.expression.has_side_effects(e)}),e(_t,function(e){return this.undeclared()}),e(ot,function(e){return t(this.properties,e)}),e(at,function(e){return this.value.has_side_effects(e)}),e(st,function(e){return t(this.elements,e)}),e(Je,function(e){return this.expression.may_throw_on_access(e)||this.expression.has_side_effects(e)}),e(Qe,function(e){return this.expression.may_throw_on_access(e)||this.expression.has_side_effects(e)||this.property.has_side_effects(e)}),e(Xe,function(e){return this.car.has_side_effects(e)||this.cdr.has_side_effects(e)})}(function(e,t){e.DEFMETHOD("has_side_effects",t)}),function(e){function t(){var e=this.body.length;return e>0&&R(this.body[e-1])}e(oe,g),e(Te,m),e(he,t),e(Me,t),e(Re,function(){return this.alternative&&R(this.body)&&R(this.alternative)&&this})}(function(e,t){e.DEFMETHOD("aborts",t)}),e(ue,function(e,t){return t.has_directive(e.value)!==e?r(pe,e):e}),e(ae,function(e,t){return t.option("drop_debugger")?r(pe,e):e}),e(de,function(e,t){return e.body instanceof De&&t.loopcontrol_target(e.body)===e.body?r(pe,e):0==e.label.references.length?e.body:e}),e(le,function(e,t){return e.body=v(e.body,t),e}),e(he,function(e,t){switch(e.body=v(e.body,t),e.body.length){case 1:return e.body[0];case 0:return r(pe,e)}return e}),we.DEFMETHOD("drop_unused",function(e){var n=this;if(e.has_directive("use asm"))return n;var i=e.option("toplevel");if(e.option("unused")&&(!(n instanceof ke)||i)&&!n.uses_eval&&!n.uses_with){var s=!/keep_assign/.test(e.option("unused")),o=/funcs/.test(i),u=/vars/.test(i);n instanceof ke&&1!=i||(o=u=!0);var l=[],h=Object.create(null);n instanceof ke&&e.top_retain&&n.variables.each(function(t){!e.top_retain(t)||t.id in h||(h[t.id]=!0,l.push(t))});var p=new k,f=this,d=new T(function(r,i){if(r!==n){if(r instanceof Se)return o||f!==n||(a=r.name.definition()).id in h||(h[a.id]=!0,l.push(a)),p.add(r.name.name,r),!0;if(r instanceof qe&&f===n)return r.definitions.forEach(function(t){if(!u){var n=t.name.definition();n.id in h||(h[n.id]=!0,l.push(n))}t.value&&(p.add(t.name.name,t.value),t.value.has_side_effects(e)&&t.value.walk(d))}),!0;if(s&&r instanceof it&&"="==r.operator&&r.left instanceof _t&&!t(r.left)&&f===n)return r.right.walk(d),!0;if(r instanceof _t){var a=r.definition();return a.id in h||(h[a.id]=!0,l.push(a)),!0}if(r instanceof we){var c=f;return f=r,i(),f=c,!0}}});n.walk(d);for(var m=0;m<l.length;++m)l[m].orig.forEach(function(e){var t=p.get(e.name);t&&t.forEach(function(e){var t=new T(function(e){if(e instanceof _t){var t=e.definition();t.id in h||(h[t.id]=!0,l.push(t))}});e.walk(t)})});var g=new H(function(t,i,l){if(t instanceof Ce&&t.name&&!e.option("keep_fnames")&&((b=t.name.definition()).id in h&&!(b.orig.length>1)||(t.name=null)),t instanceof Ee&&!(t instanceof Ae))for(var p=!e.option("keep_fargs"),f=t.argnames,d=f.length;--d>=0;){var m=f[d];m.definition().id in h?p=!1:(m.__unused=!0,p&&(f.pop(),e[m.unreferenced()?"warn":"info"]("Dropping unused function argument {name} [{file}:{line},{col}]",{name:m.name,file:m.start.file,line:m.start.line,col:m.start.col})))}if(o&&t instanceof Se&&t!==n)return t.name.definition().id in h?t:(e[t.name.unreferenced()?"warn":"info"]("Dropping unused function {name} [{file}:{line},{col}]",{name:t.name.name,file:t.name.start.file,line:t.name.start.line,col:t.name.start.col}),r(pe,t));if(u&&t instanceof qe&&!(g.parent()instanceof xe&&g.parent().init===t)){b=x(b=t.definitions.filter(function(t){t.value&&(t.value=t.value.transform(g));var n=t.name.definition();if(n.id in h)return!0;if(n.orig[0]instanceof bt)return t.value=t.value&&t.value.drop_side_effect_free(e),!0;var r={name:t.name.name,file:t.name.start.file,line:t.name.start.line,col:t.name.start.col};return t.value&&(t._unused_side_effects=t.value.drop_side_effect_free(e))?(e.warn("Side effects in initialization of unused variable {name} [{file}:{line},{col}]",r),!0):(e[t.name.unreferenced()?"warn":"info"]("Dropping unused variable {name} [{file}:{line},{col}]",r),!1)}),function(e,t){return!e.value&&t.value?-1:!t.value&&e.value?1:0});for(var v=[],d=0;d<b.length;){var y=b[d];y._unused_side_effects?(v.push(y._unused_side_effects),b.splice(d,1)):(v.length>0&&(v.push(y.value),y.value=Xe.from_array(v),v=[]),++d)}return v=v.length>0?r(he,t,{body:[r(ce,t,{body:Xe.from_array(v)})]}):null,0!=b.length||v?0==b.length?l?re.splice(v.body):v:(t.definitions=b,v?(v.body.unshift(t),l?re.splice(v.body):v):t):r(pe,t)}if(u&&s&&t instanceof it&&"="==t.operator&&t.left instanceof _t){var b=t.left.definition();if(!(b.id in h)&&n.variables.get(b.name)===b)return a(g.parent(),t,t.right.transform(g))}if(t instanceof be){if(i(t,this),t.init instanceof he){_=t.init;return t.init=_.body.pop(),_.body.push(t),l?re.splice(_.body):_}return c(t.init)&&(t.init=null),t}if(t instanceof de&&t.body instanceof be){if(i(t,this),t.body instanceof he){var _=t.body;return t.body=_.body.pop(),_.body.push(t),l?re.splice(_.body):_}return t}return t instanceof we&&t!==n?t:void 0});n.transform(g)}}),we.DEFMETHOD("hoist_declarations",function(e){var t=this;if(e.has_directive("use asm"))return t;var n=e.option("hoist_funs"),i=e.option("hoist_vars");if(n||i){var s=[],a=[],u=new k,c=0,l=0;t.walk(new T(function(e){return e instanceof we&&e!==t||(e instanceof $e?(++l,!0):void 0)})),i=i&&l>1;var h=new H(function(o){if(o!==t){if(o instanceof ue)return s.push(o),r(pe,o);if(o instanceof Se&&n)return a.push(o),r(pe,o);if(o instanceof $e&&i){o.definitions.forEach(function(e){u.set(e.name.name,e),++c});var l=o.to_assignments(e),p=h.parent();if(p instanceof xe&&p.init===o){if(null==l){var f=o.definitions[0].name;return r(_t,f,f)}return l}return p instanceof be&&p.init===o?l:l?r(ce,o,{body:l}):r(pe,o)}if(o instanceof we)return o}});if(t=t.transform(h),c>0){var p=[];if(u.each(function(e,n){t instanceof Ee&&o(function(t){return t.name==e.name.name},t.argnames)?u.del(n):((e=e.clone()).value=null,p.push(e),u.set(n,e))}),p.length>0){for(;0<t.body.length;){if(t.body[0]instanceof ce){var f,d,m=t.body[0].body;if(m instanceof it&&"="==m.operator&&(f=m.left)instanceof ht&&u.has(f.name)){if((g=u.get(f.name)).value)break;g.value=m.right,b(p,g),p.push(g),t.body.splice(0,1);continue}if(m instanceof Xe&&(d=m.car)instanceof it&&"="==d.operator&&(f=d.left)instanceof ht&&u.has(f.name)){var g=u.get(f.name);if(g.value)break;g.value=d.right,b(p,g),p.push(g),t.body[0].body=m.cdr;continue}}if(t.body[0]instanceof pe)t.body.splice(0,1);else{if(!(t.body[0]instanceof he))break;var v=[0,1].concat(t.body[0].body);t.body.splice.apply(t.body,v)}}p=r($e,t,{definitions:p}),a.push(p)}}t.body=s.concat(a,t.body)}return t}),function(e){function t(e,t,n){for(var r=[],i=!1,s=0,o=e.length;s<o;s++){var a=e[s].drop_side_effect_free(t,n);i|=a!==e[s],a&&(r.push(a),n=!1)}return i?r.length?r:null:e}e(se,m),e(Et,g),e(kt,g),e(Ge,function(e,n){if(!this.has_pure_annotation(e)&&e.pure_funcs(this)){if(this.expression instanceof Ce&&(!this.expression.name||!this.expression.name.definition().references.length)){var r=this.clone();return r.expression=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&&Xe.from_array(i)}),e(Ae,g),e(Ce,g),e(nt,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 i=this.clone();return i.right=n,i;default:var s=this.left.drop_side_effect_free(e,t);return s?r(Xe,this,{car:s,cdr:n}):this.right.drop_side_effect_free(e,t)}}),e(it,m),e(rt,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?r(nt,this,{operator:"||",left:this.condition,right:n}):this.condition.drop_side_effect_free(e);if(!n)return r(nt,this,{operator:"&&",left:this.condition,right:t});var i=this.clone();return i.consequent=t,i.alternative=n,i}),e(Ze,function(e,t){if(U(this.operator))return this;if("typeof"==this.operator&&this.expression instanceof _t)return null;var n=this.expression.drop_side_effect_free(e,t);return t&&this instanceof et&&h(n)?n===this.expression&&1===this.operator.length?this:r(et,this,{operator:1===this.operator.length?this.operator:"!",expression:n}):n}),e(_t,function(){return this.undeclared()?this:null}),e(ot,function(e,n){var r=t(this.properties,e,n);return r&&Xe.from_array(r)}),e(at,function(e,t){return this.value.drop_side_effect_free(e,t)}),e(st,function(e,n){var r=t(this.elements,e,n);return r&&Xe.from_array(r)}),e(Je,function(e,t){return this.expression.may_throw_on_access(e)?this:this.expression.drop_side_effect_free(e,t)}),e(Qe,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 i=this.property.drop_side_effect_free(e);return i?r(Xe,this,{car:n,cdr:i}):n}),e(Xe,function(e){var t=this.cdr.drop_side_effect_free(e);return t===this.cdr?this:t?r(Xe,this,{car:this.car,cdr:t}):this.car})}(function(e,t){e.DEFMETHOD("drop_side_effect_free",t)}),e(ce,function(e,t){if(t.option("side_effects")){var n=e.body,i=n.drop_side_effect_free(t,!0);if(!i)return t.warn("Dropping side-effect-free statement [{file}:{line},{col}]",e.start),r(pe,e);if(i!==n)return r(ce,e,{body:i})}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 r(be,e,{body:e.body});if(t.option("dead_code")&&e instanceof ye){var i=[];return O(t,e.body,i),r(he,e,{body:i}).optimize(t)}if(e instanceof ve){var s=!1,o=new T(function(t){return!!(t instanceof we||s)||(t instanceof Be&&o.loopcontrol_target(t)===e?s=!0:void 0)}),a=t.parent();if((a instanceof de?a:e).walk(o),!s)return e.body}}return e instanceof ye?r(be,e,e).optimize(t):e}),e(be,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 s=[];return e.init instanceof oe?s.push(e.init):e.init&&s.push(r(ce,e.init,{body:e.init})),O(t,e.body,s),r(he,e,{body:s}).optimize(t)}n!==e.condition&&(n=i(n,e.condition).transform(t),e.condition=B(n,e.condition))}return P(e,t),e}),e(Re,function(e,t){if(c(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")){s=[];return e.alternative&&O(t,e.alternative,s),s.push(e.body),r(he,e,{body:s}).optimize(t)}}else if(t.warn("Condition always false [{file}:{line},{col}]",e.condition.start),t.option("dead_code")){var s=[];return O(t,e.body,s),e.alternative&&s.push(e.alternative),r(he,e,{body:s}).optimize(t)}n=i(n,e.condition).transform(t),e.condition=B(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 h=e.body;e.body=e.alternative||r(pe,e),e.alternative=h}if(c(e.body)&&c(e.alternative))return r(ce,e.condition,{body:e.condition.clone()}).optimize(t);if(e.body instanceof ce&&e.alternative instanceof ce)return r(ce,e,{body:r(rt,e,{condition:e.condition,consequent:e.body.body,alternative:e.alternative.body})}).optimize(t);if(c(e.alternative)&&e.body instanceof ce)return a===u&&!l&&e.condition instanceof nt&&"||"==e.condition.operator&&(l=!0),l?r(ce,e,{body:r(nt,e,{operator:"||",left:o,right:e.body.body})}).optimize(t):r(ce,e,{body:r(nt,e,{operator:"&&",left:e.condition,right:e.body.body})}).optimize(t);if(e.body instanceof pe&&e.alternative instanceof ce)return r(ce,e,{body:r(nt,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 r(e.body.CTOR,e,{value:r(rt,e,{condition:e.condition,consequent:e.body.value||r(Lt,e.body),alternative:e.alternative.value||r(Lt,e.alternative)}).transform(t)}).optimize(t);if(e.body instanceof Re&&!e.body.alternative&&!e.alternative&&(e=r(Re,e,{condition:r(nt,e.condition,{operator:"&&",left:e.condition,right:e.body.condition}),body:e.body.body,alternative:null})),R(e.body)&&e.alternative){var p=e.alternative;return e.alternative=null,r(he,e,{body:[e,p]}).optimize(t)}if(R(e.alternative)){var f=e.body;return e.body=e.alternative,e.condition=l?o:e.condition.negate(t),e.alternative=null,r(he,e,{body:[e,f]}).optimize(t)}return e}),e(Pe,function(e,t){function n(e,n){n&&!R(n)?n.body=n.body.concat(e.body):O(t,e,l)}if(!t.option("switches"))return e;var s,o=e.expression.evaluate(t);if(o!==e.expression){var a=i(o,e.expression).transform(t);e.expression=B(a,e.expression)}if(!t.option("dead_code"))return e;for(var u,c,l=[],h=[],p=0,f=e.body.length;p<f&&!c;p++){if((s=e.body[p])instanceof Ie)u?n(s,h[h.length-1]):u=s;else if(o!==e.expression){var d=s.expression.evaluate(t);if(d===o){if(c=s,u){var m=h.indexOf(u);h.splice(m,1),n(u,h[m-1]),u=null}}else if(d!==s.expression){n(s,h[h.length-1]);continue}}if(R(s)){var g=h[h.length-1];R(g)&&g.body.length==s.body.length&&r(he,g,g).equivalent_to(r(he,s,s))&&(g.body=[])}h.push(s)}for(;p<f;)n(e.body[p++],h[h.length-1]);for(h.length>0&&(h[0].body=l.concat(h[0].body)),e.body=h;s=h[h.length-1];){var v=s.body[s.body.length-1];if(v instanceof De&&t.loopcontrol_target(v)===e&&s.body.pop(),s.body.length||s instanceof je&&(u||s.expression.has_side_effects(t)))break;h.pop()===u&&(u=null)}if(0==h.length)return r(he,e,{body:l.concat(r(ce,e.expression,{body:e.expression}))}).optimize(t);if(1==h.length&&(h[0]===c||h[0]===u)){var y=!1,b=new T(function(t){if(y||t instanceof Ee||t instanceof ce)return!0;t instanceof De&&b.loopcontrol_target(t)===e&&(y=!0)});if(e.walk(b),!y)return(h=h[0].body.slice()).unshift(r(ce,e.expression,{body:e.expression})),r(he,e,{body:h}).optimize(t)}return e}),e(Ve,function(e,t){if(e.body=v(e.body,t),e.bcatch&&e.bfinally&&w(e.bfinally.body,c)&&(e.bfinally=null),w(e.body,c)){var n=[];return e.bcatch&&O(t,e.bcatch,n),e.bfinally&&(n=n.concat(e.bfinally.body)),r(he,e,{body:n}).optimize(t)}return e}),qe.DEFMETHOD("remove_initializers",function(){this.definitions.forEach(function(e){e.value=null})}),qe.DEFMETHOD("to_assignments",function(e){var t=e.option("reduce_vars"),n=this.definitions.reduce(function(e,n){if(n.value){var i=r(_t,n.name,n.name);e.push(r(it,n,{operator:"=",left:i,right:n.value})),t&&(i.definition().fixed=!1)}return e},[]);return 0==n.length?null:Xe.from_array(n)}),e(qe,function(e,t){return 0==e.definitions.length?r(pe,e):e}),e(Ge,function(e,t){var n=e.expression;if(t.option("reduce_vars")&&n instanceof _t){var s=n.definition(),o=n.fixed_value();o instanceof Se&&(s.fixed=o=r(Ce,o,o).clone(!0)),o instanceof Ce&&(n=o,!t.option("unused")||1!=s.references.length||s.scope.uses_arguments&&s.orig[0]instanceof gt||s.scope.uses_eval||t.find_parent(we)!==s.scope||(e.expression=n))}if(t.option("unused")&&n instanceof Ce&&!n.uses_arguments&&!n.uses_eval){for(var a=0,u=0,l=0,p=e.args.length;l<p;l++){var f=l>=n.argnames.length;if(f||n.argnames[l].__unused){if(E=e.args[l].drop_side_effect_free(t))e.args[a++]=E;else if(!f){e.args[a++]=r(Ct,e.args[l],{value:0});continue}}else e.args[a++]=e.args[l];u=a}e.args.length=u}if(t.option("unsafe"))if(n instanceof _t&&n.undeclared())switch(n.name){case"Array":if(1!=e.args.length)return r(st,e,{elements:e.args}).optimize(t);break;case"Object":if(0==e.args.length)return r(ot,e,{properties:[]});break;case"String":if(0==e.args.length)return r(At,e,{value:""});if(e.args.length<=1)return r(nt,e,{left:e.args[0],operator:"+",right:r(At,e,{value:""})}).optimize(t);break;case"Number":if(0==e.args.length)return r(Ct,e,{value:0});if(1==e.args.length)return r(et,e,{expression:e.args[0],operator:"+"}).optimize(t);case"Boolean":if(0==e.args.length)return r(Rt,e);if(1==e.args.length)return r(et,e,{expression:r(et,e,{expression:e.args[0],operator:"!"}),operator:"!"}).optimize(t);break;case"Function":if(0==e.args.length)return r(Ce,e,{argnames:[],body:[]});if(w(e.args,function(e){return e instanceof At}))try{var d=$(y="(function("+e.args.slice(0,-1).map(function(e){return e.value}).join(",")+"){"+e.args[e.args.length-1].value+"})()");d.figure_out_scope({screw_ie8:t.option("screw_ie8")});var m=new X(t.options);(d=d.transform(m)).figure_out_scope({screw_ie8:t.option("screw_ie8")}),d.mangle_names();var g;try{d.walk(new T(function(e){if(e instanceof Ee)throw g=e,d}))}catch(e){if(e!==d)throw e}if(!g)return e;var v=g.argnames.map(function(t,n){return r(At,e.args[n],{value:t.print_to_string()})}),y=Y();return he.prototype._codegen.call(g,g,y),y=y.toString().replace(/^\{|\}$/g,""),v.push(r(At,e.args[e.args.length-1],{value:y})),e.args=v,e}catch(n){if(!(n instanceof V))throw console.log(n),n;t.warn("Error parsing code passed to new Function [{file}:{line},{col}]",e.args[e.args.length-1].start),t.warn(n.toString())}}else{if(n instanceof Je&&"toString"==n.property&&0==e.args.length)return r(nt,e,{left:r(At,e,{value:""}),operator:"+",right:n.expression}).optimize(t);if(n instanceof Je&&n.expression instanceof st&&"join"==n.property){var b;if(!(e.args.length>0&&(b=e.args[0].evaluate(t))===e.args[0])){var x=[],_=[];if(n.expression.elements.forEach(function(n){var i=n.evaluate(t);i!==n?_.push(i):(_.length>0&&(x.push(r(At,e,{value:_.join(b)})),_.length=0),x.push(n))}),_.length>0&&x.push(r(At,e,{value:_.join(b)})),0==x.length)return r(At,e,{value:""});if(1==x.length)return x[0].is_string(t)?x[0]:r(nt,x[0],{operator:"+",left:r(At,e,{value:""}),right:x[0]});if(""==b){var k;return k=x[0].is_string(t)||x[1].is_string(t)?x.shift():r(At,e,{value:""}),x.reduce(function(e,t){return r(nt,t,{operator:"+",left:e,right:t})},k).optimize(t)}var E=e.clone();return E.expression=E.expression.clone(),E.expression.expression=E.expression.expression.clone(),E.expression.expression.elements=x,N(t,e,E)}}else if(n instanceof Je&&n.expression.is_string(t)&&"charAt"==n.property){var A=e.args[0],C=A?A.evaluate(t):0;if(C!==A)return r(Qe,n,{expression:n.expression,property:i(0|C,A||n)}).optimize(t)}}if(n instanceof Ce){if(n.body[0]instanceof Fe){var S=n.body[0].value;if(!S||S.is_constant()){v=e.args.concat(S||r(Lt,e));return Xe.from_array(v).transform(t)}}if(t.option("side_effects")&&w(n.body,c)){v=e.args.concat(r(Lt,e));return Xe.from_array(v).transform(t)}}if(t.option("drop_console")&&n instanceof Ke){for(var O=n.expression;O.expression;)O=O.expression;if(O instanceof _t&&"console"==O.name&&O.undeclared())return r(Lt,e).optimize(t)}return t.option("negate_iife")&&t.parent()instanceof ce&&h(e)?e.negate(t,!0):e}),e(Ye,function(e,t){if(t.option("unsafe")){var n=e.expression;if(n instanceof _t&&n.undeclared())switch(n.name){case"Object":case"RegExp":case"Function":case"Error":case"Array":return r(Ge,e,e).transform(t)}}return e}),e(Xe,function(e,n){if(!n.option("side_effects"))return e;if(e.car=e.car.drop_side_effect_free(n,A(n)),!e.car)return a(n.parent(),e,e.cdr);if(n.option("cascade")){var i;if(e.car instanceof it&&!e.car.left.has_side_effects(n)?i=e.car.left:e.car instanceof Ze&&("++"==e.car.operator||"--"==e.car.operator)&&(i=e.car.expression),i&&!(i instanceof _t&&(i.definition().orig[0]instanceof yt||t(i))))for(var s,o,u=e.cdr;;){if(u.equivalent_to(i)){var c=e.car instanceof tt?r(et,e.car,{operator:e.car.operator,expression:i}):e.car;return s?(s[o]=c,e.cdr):c}if(u instanceof nt&&!(u instanceof it))if(u.left.is_constant()){if("||"==u.operator||"&&"==u.operator)break;o="right"}else o="left";else{if(!(u instanceof Ge||u instanceof Ze&&!U(u.operator)))break;o="expression"}s=u,u=u[o]}}return F(e.cdr,n)?r(et,e,{operator:"void",expression:e.car}):e}),Ze.DEFMETHOD("lift_sequences",function(e){if(e.option("sequences")&&this.expression instanceof Xe){var t=this.expression,n=t.to_array(),r=this.clone();return r.expression=n.pop(),n.push(r),t=Xe.from_array(n).transform(e)}return this}),e(tt,function(e,t){return e.lift_sequences(t)}),e(et,function(e,t){var n=e.expression;if("delete"==e.operator&&!(n instanceof _t||n instanceof Ke||n instanceof Ft||n instanceof Dt||n instanceof Lt))return n instanceof Xe?((n=n.to_array()).push(r(Pt,e)),Xe.from_array(n).optimize(t)):r(Xe,e,{car:n,cdr:r(Pt,e)}).optimize(t);var s=e.lift_sequences(t);if(s!==e)return s;if(t.option("side_effects")&&"void"==e.operator)return(n=n.drop_side_effect_free(t))?(e.expression=n,e):r(Lt,e).optimize(t);if(t.option("booleans")&&t.in_boolean_context())switch(e.operator){case"!":if(n instanceof et&&"!"==n.operator)return n.expression;n instanceof nt&&(e=N(t,e,n.negate(t,A(t))));break;case"typeof":return t.warn("Boolean expression always true [{file}:{line},{col}]",e.start),(n instanceof _t?r(Pt,e):r(Xe,e,{car:n,cdr:r(Pt,e)})).optimize(t)}if("-"==e.operator&&n instanceof Dt&&(n=n.transform(t)),n instanceof nt&&("+"==e.operator||"-"==e.operator)&&("*"==n.operator||"/"==n.operator||"%"==n.operator))return r(nt,e,{operator:n.operator,left:r(et,n.left,{operator:e.operator,expression:n.left}),right:n.right});if("-"!=e.operator||!(n instanceof Ct||n instanceof Dt)){var o=e.evaluate(t);if(o!==e)return o=i(o,e).optimize(t),N(t,o,e)}return e}),nt.DEFMETHOD("lift_sequences",function(e){if(e.option("sequences")){if(this.left instanceof Xe){var t=(s=this.left).to_array();return(o=this.clone()).left=t.pop(),t.push(o),Xe.from_array(t).optimize(e)}if(this.right instanceof Xe&&!this.left.has_side_effects(e)){for(var n,r="="==this.operator&&this.left instanceof _t,i=this.right.clone(),s=i;(r||!s.car.has_side_effects(e))&&(n=s,s.cdr instanceof Xe);)s=s.cdr=s.cdr.clone();if(n){var o=this.clone();return o.right=n.cdr,n.cdr=o,i.optimize(e)}}}return this});var z=_("== === != !== * & | ^");e(nt,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 s(t){if(n()){t&&(e.operator=t);var r=e.left;e.left=e.right,e.right=r}}if(z(e.operator)&&e.right.is_constant()&&!e.left.is_constant()&&(e.left instanceof nt&&tn[e.left.operator]>=tn[e.operator]||s()),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(e.left instanceof At&&"undefined"==e.left.value&&e.right instanceof et&&"typeof"==e.right.operator){var o=e.right.expression;(o instanceof _t?o.undeclared():o instanceof Ke&&!t.option("screw_ie8"))||(e.right=o,e.left=r(Lt,e.left).optimize(t),2==e.operator.length&&(e.operator+="="))}}if(t.option("booleans")&&"+"==e.operator&&t.in_boolean_context()){var u=e.left.evaluate(t),c=e.right.evaluate(t);if(u&&"string"==typeof u)return t.warn("+ in boolean context always true [{file}:{line},{col}]",e.start),r(Xe,e,{car:e.right,cdr:r(Pt,e)}).optimize(t);if(c&&"string"==typeof c)return t.warn("+ in boolean context always true [{file}:{line},{col}]",e.start),r(Xe,e,{car:e.left,cdr:r(Pt,e)}).optimize(t)}if(t.option("comparisons")&&e.is_boolean()){if(!(t.parent()instanceof nt)||t.parent()instanceof it){var l=r(et,e,{operator:"!",expression:e.negate(t,A(t))});e=N(t,e,l)}if(t.option("unsafe_comps"))switch(e.operator){case"<":s(">");break;case"<=":s(">=")}}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 nt&&"+"==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(!(u=e.left.evaluate(t)))return t.warn("Condition left of && always false [{file}:{line},{col}]",e.start),a(t.parent(),e,e.left).optimize(t);if(u!==e.left)return t.warn("Condition left of && always true [{file}:{line},{col}]",e.start),a(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),r(Xe,e,{car:e.left,cdr:r(Rt,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(!(u=e.left.evaluate(t)))return t.warn("Condition left of || always false [{file}:{line},{col}]",e.start),a(t.parent(),e,e.right).optimize(t);if(u!==e.left)return t.warn("Condition left of || always true [{file}:{line},{col}]",e.start),a(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),r(Xe,e,{car:e.left,cdr:r(Pt,e)}).optimize(t)}}var h=!0;switch(e.operator){case"+":if(e.left instanceof Et&&e.right instanceof nt&&"+"==e.right.operator&&e.right.left instanceof Et&&e.right.is_string(t)&&(e=r(nt,e,{operator:"+",left:r(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 nt&&"+"==e.left.operator&&e.left.right instanceof Et&&e.left.is_string(t)&&(e=r(nt,e,{operator:"+",left:e.left.left,right:r(At,e.right,{value:""+e.left.right.getValue()+e.right.getValue(),start:e.left.right.start,end:e.right.end})})),e.left instanceof nt&&"+"==e.left.operator&&e.left.is_string(t)&&e.left.right instanceof Et&&e.right instanceof nt&&"+"==e.right.operator&&e.right.left instanceof Et&&e.right.is_string(t)&&(e=r(nt,e,{operator:"+",left:r(nt,e.left,{operator:"+",left:e.left.left,right:r(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 et&&"-"==e.right.operator&&e.left.is_number(t)){e=r(nt,e,{operator:"-",left:e.left,right:e.right.expression});break}if(e.left instanceof et&&"-"==e.left.operator&&n()&&e.right.is_number(t)){e=r(nt,e,{operator:"-",left:e.right,right:e.left.expression});break}case"*":h=t.option("unsafe_math");case"&":case"|":case"^":if(e.left.is_number(t)&&e.right.is_number(t)&&n()&&!(e.left instanceof nt&&e.left.operator!=e.operator&&tn[e.left.operator]>=tn[e.operator])){var p=r(nt,e,{operator:e.operator,left:e.right,right:e.left});e=e.right instanceof Et&&!(e.left instanceof Et)?N(t,p,e):N(t,e,p)}h&&e.is_number(t)&&(e.right instanceof nt&&e.right.operator==e.operator&&(e=r(nt,e,{operator:e.operator,left:r(nt,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 nt&&e.left.operator==e.operator&&(e.left.left instanceof Et?e=r(nt,e,{operator:e.operator,left:r(nt,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=r(nt,e,{operator:e.operator,left:r(nt,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 nt&&e.left.operator==e.operator&&e.left.right instanceof Et&&e.right instanceof nt&&e.right.operator==e.operator&&e.right.left instanceof Et&&(e=r(nt,e,{operator:e.operator,left:r(nt,e.left,{operator:e.operator,left:r(nt,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 nt&&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=r(nt,e.left,{operator:e.operator,left:e.left,right:e.right.left}),e.right=e.right.right,e.transform(t);var f=e.evaluate(t);return f!==e?(f=i(f,e).optimize(t),N(t,f,e)):e}),e(_t,function(e,t){var n=e.resolve_defines(t);if(n)return n.optimize(t);if(t.option("screw_ie8")&&e.undeclared()&&(!e.scope.uses_with||!t.find_parent(_e)))switch(e.name){case"undefined":return r(Lt,e).optimize(t);case"NaN":return r(Ft,e).optimize(t);case"Infinity":return r(Dt,e).optimize(t)}if(t.option("evaluate")&&t.option("reduce_vars")&&L(e,t.parent())!==e){var s=e.definition(),o=e.fixed_value();if(o){if(void 0===s.should_replace){var a=o.evaluate(t);if(a===o||!t.option("unsafe_regexp")&&a instanceof RegExp)s.should_replace=!1;else{var u,c=(a=i(a,o)).optimize(t).print_to_string().length;!function(e){var t;return e.walk(new T(function(e){if(e instanceof _t&&(t=!0),t)return!0})),t}(o)?(c=Math.min(c,o.print_to_string().length),u=function(){var e=B(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 l=s.name.length,h=0;!t.option("unused")||s.global&&!t.option("toplevel")||(h=(l+2+c)/s.references.length),s.should_replace=c<=l+h&&u}}if(s.should_replace)return s.should_replace()}}return e}),e(Lt,function(e,t){if(t.option("unsafe")){var i=n(t,"undefined");if(i){var s=r(_t,e,{name:"undefined",scope:i.scope,thedef:i});return s.is_undefined=!0,s}}var o=L(t.self(),t.parent());return o&&M(o,e)?e:r(et,e,{operator:"void",expression:r(Ct,e,{value:0})})}),e(Dt,function(e,t){var i=L(t.self(),t.parent());return i&&M(i,e)?e:!t.option("keep_infinity")||i&&!M(i,e)||n(t,"Infinity")?r(nt,e,{operator:"/",left:r(Ct,e,{value:1}),right:r(Ct,e,{value:0})}):e}),e(Ft,function(e,t){var i=L(t.self(),t.parent());return i&&!M(i,e)||n(t,"NaN")?r(nt,e,{operator:"/",left:r(Ct,e,{value:0}),right:r(Ct,e,{value:0})}):e});var q=["+","-","/","*","%",">>","<<",">>>","|","^","&"],W=["*","|","^","&"];e(it,function(e,t){return"="==(e=e.lift_sequences(t)).operator&&e.left instanceof _t&&e.right instanceof nt&&(e.right.left instanceof _t&&e.right.left.name==e.left.name&&s(e.right.operator,q)?(e.operator=e.right.operator+"=",e.right=e.right.right):e.right.right instanceof _t&&e.right.right.name==e.left.name&&s(e.right.operator,W)&&!e.right.left.has_side_effects(t)&&(e.operator=e.right.operator+"=",e.right=e.right.left)),e}),e(rt,function(e,t){function n(e){return e.is_boolean()?e:r(et,e,{operator:"!",expression:e.negate(t)})}function i(e){return e instanceof Pt||e instanceof et&&"!"==e.operator&&e.expression instanceof Et&&!e.expression.value}function s(e){return e instanceof Rt||e instanceof et&&"!"==e.operator&&e.expression instanceof Et&&!!e.expression.value}if(!t.option("conditionals"))return e;if(e.condition instanceof Xe){var o=e.condition.car;return e.condition=e.condition.cdr,Xe.cons(o,e)}var u=e.condition.evaluate(t);if(u!==e.condition)return u?(t.warn("Condition always true [{file}:{line},{col}]",e.start),a(t.parent(),e,e.consequent)):(t.warn("Condition always false [{file}:{line},{col}]",e.start),a(t.parent(),e,e.alternative));var c=u.negate(t,A(t));N(t,u,c)===c&&(e=r(rt,e,{condition:c,consequent:e.alternative,alternative:e.consequent}));var l=e.condition,h=e.consequent,p=e.alternative;return l instanceof _t&&h instanceof _t&&l.definition()===h.definition()?r(nt,e,{operator:"||",left:l,right:p}):h instanceof it&&p instanceof it&&h.operator==p.operator&&h.left.equivalent_to(p.left)&&(!e.condition.has_side_effects(t)||"="==h.operator&&!h.left.has_side_effects(t))?r(it,e,{operator:h.operator,left:h.left,right:r(rt,e,{condition:e.condition,consequent:h.right,alternative:p.right})}):h instanceof Ge&&p.TYPE===h.TYPE&&1==h.args.length&&1==p.args.length&&h.expression.equivalent_to(p.expression)&&!h.expression.has_side_effects(t)?(h.args[0]=r(rt,e,{condition:e.condition,consequent:h.args[0],alternative:p.args[0]}),h):h instanceof rt&&h.alternative.equivalent_to(p)?r(rt,e,{condition:r(nt,e,{left:e.condition,operator:"&&",right:h.condition}),consequent:h.consequent,alternative:p}):h.equivalent_to(p)?r(Xe,e,{car:e.condition,cdr:h}).optimize(t):i(e.consequent)?s(e.alternative)?n(e.condition):r(nt,e,{operator:"||",left:n(e.condition),right:e.alternative}):s(e.consequent)?i(e.alternative)?n(e.condition.negate(t)):r(nt,e,{operator:"&&",left:n(e.condition.negate(t)),right:e.alternative}):i(e.alternative)?r(nt,e,{operator:"||",left:n(e.condition.negate(t)),right:e.consequent}):s(e.alternative)?r(nt,e,{operator:"&&",left:n(e.condition),right:e.consequent}):e}),e(Nt,function(e,t){if(t.option("booleans")){var n=t.parent();return n instanceof nt&&("=="==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}),r(Ct,e,{value:+e.value})):r(et,e,{operator:"!",expression:r(Ct,e,{value:1-e.value})})}return e}),e(Qe,function(e,t){var n=e.property;if(n instanceof At&&t.option("properties")){if(n=n.getValue(),jt(n)?t.option("screw_ie8"):I(n))return r(Je,e,{expression:e.expression,property:n}).optimize(t);var s=parseFloat(n);isNaN(s)||s.toString()!=n||(e.property=r(Ct,e.property,{value:s}))}var o=e.evaluate(t);return o!==e?(o=i(o,e).optimize(t),N(t,o,e)):e}),e(Je,function(e,t){var n=e.resolve_defines(t);if(n)return n.optimize(t);var s=e.property;if(jt(s)&&!t.option("screw_ie8"))return r(Qe,e,{expression:e.expression,property:r(At,e,{value:s})}).optimize(t);if(t.option("unsafe_proto")&&e.expression instanceof Je&&"prototype"==e.expression.property){var o=e.expression.expression;if(o instanceof _t&&o.undeclared())switch(o.name){case"Array":e.expression=r(st,e.expression,{elements:[]});break;case"Object":e.expression=r(ot,e.expression,{properties:[]});break;case"String":e.expression=r(At,e.expression,{value:""})}}var a=e.evaluate(t);return a!==e?(a=i(a,e).optimize(t),N(t,a,e)):e}),e(st,j),e(ot,j),e(St,j),e(Fe,function(e,t){return e.value&&F(e.value,t)&&(e.value=null),e}),e(We,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 t(t){var n=t.loc,r=n&&n.start,i=t.range;return new ie({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 ie({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,o){var h="function From_Moz_"+e+"(M){\n";h+="return new U2."+i.name+"({\nstart: my_start_token(M),\nend: my_end_token(M)";var f="function To_Moz_"+e+"(M){\n";f+="return {\ntype: "+JSON.stringify(e),o&&o.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(h+=",\n"+i+": ",f+=",\n"+n+": ",r){case"@":h+="M."+n+".map(from_moz)",f+="M."+i+".map(to_moz)";break;case">":h+="from_moz(M."+n+")",f+="to_moz(M."+i+")";break;case"=":h+="M."+n,f+="M."+i;break;case"%":h+="from_moz(M."+n+").body",f+="to_moz_block(M)";break;default:throw new Error("Can't understand operator in propmap: "+e)}}),h+="\n})\n}",f+="\n}\n}",h=new Function("U2","my_start_token","my_end_token","from_moz","return("+h+")")(n,t,r,s),f=new Function("to_moz","to_moz_block","to_moz_scope","return("+f+")")(u,c,l),p[e]=h,a(i,f)}function s(e){f.push(e);var t=null!=e?p[e.type](e):null;return f.pop(),t}function o(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 a(e,t){e.DEFMETHOD("to_mozilla_ast",function(){return o(this,t(this))})}function u(e){return null!=e?e.to_mozilla_ast():null}function c(e){return{type:"BlockStatement",body:e.body.map(u)}}function l(e,t){var n=t.body.map(u);return t.body[0]instanceof ce&&t.body[0].body instanceof At&&n.unshift(u(new pe(t.body[0]))),{type:e,body:n}}var h=function(e){for(var t=!0,n=0;n<e.length;n++)t&&e[n]instanceof oe&&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 oe&&e[n].body instanceof At||(t=!1);return e},p={Program:function(e){return new ke({start:t(e),end:r(e),body:h(e.body.map(s))})},FunctionDeclaration:function(e){return new Se({start:t(e),end:r(e),name:s(e.id),argnames:e.params.map(s),body:h(s(e.body).body)})},FunctionExpression:function(e){return new Ce({start:t(e),end:r(e),name:s(e.id),argnames:e.params.map(s),body:h(s(e.body).body)})},ExpressionStatement:function(e){return new ce({start:t(e),end:r(e),body:s(e.expression)})},TryStatement:function(e){var n=e.handlers||[e.handler];if(n.length>1||e.guardedHandlers&&e.guardedHandlers.length)throw new Error("Multiple catch clauses are not supported.");return new Ve({start:t(e),end:r(e),body:s(e.block).body,bcatch:s(n[0]),bfinally:e.finalizer?new ze(s(e.finalizer)):null})},Property:function(e){var n=e.key,i={start:t(n),end:r(e.value),key:"Identifier"==n.type?n.name:n.value,value:s(e.value)};return"init"==e.kind?new ut(i):(i.key=new pt({name:i.key}),i.value=new Ae(i.value),"get"==e.kind?new lt(i):"set"==e.kind?new ct(i):void 0)},ArrayExpression:function(e){return new st({start:t(e),end:r(e),elements:e.elements.map(function(e){return null===e?new Bt:s(e)})})},ObjectExpression:function(e){return new ot({start:t(e),end:r(e),properties:e.properties.map(function(e){return e.type="Property",s(e)})})},SequenceExpression:function(e){return Xe.from_array(e.expressions.map(s))},MemberExpression:function(e){return new(e.computed?Qe:Je)({start:t(e),end:r(e),property:e.computed?s(e.property):e.property.name,expression:s(e.object)})},SwitchCase:function(e){return new(e.test?je:Ie)({start:t(e),end:r(e),expression:s(e.test),body:e.consequent.map(s)})},VariableDeclaration:function(e){return new("const"===e.kind?He:$e)({start:t(e),end:r(e),definitions:e.declarations.map(s)})},Literal:function(e){var n=e.value,i={start:t(e),end:r(e)};if(null===n)return new Ot(i);switch(void 0===n?"undefined":Z(n)){case"string":return i.value=n,new At(i);case"number":return i.value=n,new Ct(i);case"boolean":return new(n?Pt:Rt)(i);default:var s=e.regex;return s&&s.pattern?i.value=new RegExp(s.pattern,s.flags).toString():i.value=e.regex&&e.raw?e.raw:n,new St(i)}},Identifier:function(e){var n=f[f.length-2];return new("LabeledStatement"==n.type?xt:"VariableDeclarator"==n.type&&n.id===e?"const"==n.kind?mt:dt:"FunctionExpression"==n.type?n.id===e?yt:gt:"FunctionDeclaration"==n.type?n.id===e?vt:gt:"CatchClause"==n.type?bt:"BreakStatement"==n.type||"ContinueStatement"==n.type?wt:_t)({start:t(e),end:r(e),name:e.name})}};p.UpdateExpression=p.UnaryExpression=function(e){return new(("prefix"in e?e.prefix:"UnaryExpression"==e.type)?et:tt)({start:t(e),end:r(e),operator:e.operator,expression:s(e.argument)})},i("EmptyStatement",pe),i("BlockStatement",he,"body@body"),i("IfStatement",Re,"test>condition, consequent>body, alternate>alternative"),i("LabeledStatement",de,"label>label, body>body"),i("BreakStatement",De,"label>label"),i("ContinueStatement",Ne,"label>label"),i("WithStatement",_e,"object>expression, body>body"),i("SwitchStatement",Pe,"discriminant>expression, cases@body"),i("ReturnStatement",Fe,"argument>value"),i("ThrowStatement",Le,"argument>value"),i("WhileStatement",ye,"test>condition, body>body"),i("DoWhileStatement",ve,"test>condition, body>body"),i("ForStatement",be,"init>init, test>condition, update>step, body>body"),i("ForInStatement",xe,"left>init, right>object, body>body"),i("DebuggerStatement",ae),i("VariableDeclarator",We,"id>name, init>value"),i("CatchClause",Ue,"param>argname, body%body"),i("ThisExpression",kt),i("BinaryExpression",nt,"operator=operator, left>left, right>right"),i("LogicalExpression",nt,"operator=operator, left>left, right>right"),i("AssignmentExpression",it,"operator=operator, left>left, right>right"),i("ConditionalExpression",rt,"test>condition, consequent>consequent, alternate>alternative"),i("NewExpression",Ye,"callee>expression, arguments@args"),i("CallExpression",Ge,"callee>expression, arguments@args"),a(ke,function(e){return l("Program",e)}),a(Se,function(e){return{type:"FunctionDeclaration",id:u(e.name),params:e.argnames.map(u),body:l("BlockStatement",e)}}),a(Ce,function(e){return{type:"FunctionExpression",id:u(e.name),params:e.argnames.map(u),body:l("BlockStatement",e)}}),a(ue,function(e){return{type:"ExpressionStatement",expression:{type:"Literal",value:e.value}}}),a(ce,function(e){return{type:"ExpressionStatement",expression:u(e.body)}}),a(Me,function(e){return{type:"SwitchCase",test:u(e.expression),consequent:e.body.map(u)}}),a(Ve,function(e){return{type:"TryStatement",block:c(e),handler:u(e.bcatch),guardedHandlers:[],finalizer:u(e.bfinally)}}),a(Ue,function(e){return{type:"CatchClause",param:u(e.argname),guard:null,body:c(e)}}),a(qe,function(e){return{type:"VariableDeclaration",kind:e instanceof He?"const":"var",declarations:e.definitions.map(u)}}),a(Xe,function(e){return{type:"SequenceExpression",expressions:e.to_array().map(u)}}),a(Ke,function(e){var t=e instanceof Qe;return{type:"MemberExpression",object:u(e.expression),computed:t,property:t?u(e.property):{type:"Identifier",name:e.property}}}),a(Ze,function(e){return{type:"++"==e.operator||"--"==e.operator?"UpdateExpression":"UnaryExpression",operator:e.operator,prefix:e instanceof et,argument:u(e.expression)}}),a(nt,function(e){return{type:"&&"==e.operator||"||"==e.operator?"LogicalExpression":"BinaryExpression",left:u(e.left),operator:e.operator,right:u(e.right)}}),a(st,function(e){return{type:"ArrayExpression",elements:e.elements.map(u)}}),a(ot,function(e){return{type:"ObjectExpression",properties:e.properties.map(u)}}),a(at,function(e){var t,n={type:"Literal",value:e.key instanceof pt?e.key.name:e.key};return e instanceof ut?t="init":e instanceof lt?t="get":e instanceof ct&&(t="set"),{type:"Property",kind:t,key:n,value:u(e.value)}}),a(ht,function(e){var t=e.definition();return{type:"Identifier",name:t?t.mangled_name||t.name:e.name}}),a(St,function(e){var t=e.value;return{type:"Literal",value:t,raw:t.toString(),regex:{pattern:t.source,flags:t.toString().match(/[gimuy]*$/)[0]}}}),a(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}}),a(Tt,function(e){return{type:"Identifier",name:String(e.value)}}),Nt.DEFMETHOD("to_mozilla_ast",Et.prototype.to_mozilla_ast),Ot.DEFMETHOD("to_mozilla_ast",Et.prototype.to_mozilla_ast),Bt.DEFMETHOD("to_mozilla_ast",function(){return null}),le.DEFMETHOD("to_mozilla_ast",he.prototype.to_mozilla_ast),Ee.DEFMETHOD("to_mozilla_ast",Ce.prototype.to_mozilla_ast);var f=null;se.from_mozilla_ast=function(e){var t=f;f=[];var n=s(e);return f=t,n}}(),n.Compressor=X,n.DefaultsError=c,n.Dictionary=k,n.JS_Parse_Error=V,n.MAP=re,n.OutputStream=Y,n.SourceMap=K,n.TreeTransformer=H,n.TreeWalker=T,n.base54=sn,n.defaults=l,n.mangle_properties=Q,n.merge=h,n.parse=$,n.push_uniq=v,n.string_template=y,n.tokenizer=q,n.is_identifier=R,n.SymbolDef=W,n.sys=ee,n.MOZ_SourceMap=te,n.UglifyJS=ne,n.array_to_hash=r,n.slice=function(e,t){return Array.prototype.slice.call(e,t||0)},n.characters=i,n.member=s,n.find_if=o,n.repeat_string=a,n.configure_error_stack=u,n.DefaultsError=c,n.defaults=l,n.merge=h,n.noop=p,n.return_false=f,n.return_true=d,n.return_this=m,n.return_null=g,n.MAP=re,n.push_uniq=v,n.string_template=y,n.remove=b,n.mergeSort=x,n.set_difference=function(e,t){return e.filter(function(e){return t.indexOf(e)<0})},n.set_intersection=function(e,t){return e.filter(function(e){return t.indexOf(e)>=0})},n.makePredicate=_,n.all=w,n.Dictionary=k,n.HOP=E,n.first_in_statement=A,n.DEFNODE=C,n.AST_Token=ie,n.AST_Node=se,n.AST_Statement=oe,n.AST_Debugger=ae,n.AST_Directive=ue,n.AST_SimpleStatement=ce,n.walk_body=S,n.AST_Block=le,n.AST_BlockStatement=he,n.AST_EmptyStatement=pe,n.AST_StatementWithBody=fe,n.AST_LabeledStatement=de,n.AST_IterationStatement=me,n.AST_DWLoop=ge,n.AST_Do=ve,n.AST_While=ye,n.AST_For=be,n.AST_ForIn=xe,n.AST_With=_e,n.AST_Scope=we,n.AST_Toplevel=ke,n.AST_Lambda=Ee,n.AST_Accessor=Ae,n.AST_Function=Ce,n.AST_Defun=Se,n.AST_Jump=Te,n.AST_Exit=Oe,n.AST_Return=Fe,n.AST_Throw=Le,n.AST_LoopControl=Be,n.AST_Break=De,n.AST_Continue=Ne,n.AST_If=Re,n.AST_Switch=Pe,n.AST_SwitchBranch=Me,n.AST_Default=Ie,n.AST_Case=je,n.AST_Try=Ve,n.AST_Catch=Ue,n.AST_Finally=ze,n.AST_Definitions=qe,n.AST_Var=$e,n.AST_Const=He,n.AST_VarDef=We,n.AST_Call=Ge,n.AST_New=Ye,n.AST_Seq=Xe,n.AST_PropAccess=Ke,n.AST_Dot=Je,n.AST_Sub=Qe,n.AST_Unary=Ze,n.AST_UnaryPrefix=et,n.AST_UnaryPostfix=tt,n.AST_Binary=nt,n.AST_Conditional=rt,n.AST_Assign=it,n.AST_Array=st,n.AST_Object=ot,n.AST_ObjectProperty=at,n.AST_ObjectKeyVal=ut,n.AST_ObjectSetter=ct,n.AST_ObjectGetter=lt,n.AST_Symbol=ht,n.AST_SymbolAccessor=pt,n.AST_SymbolDeclaration=ft,n.AST_SymbolVar=dt,n.AST_SymbolConst=mt,n.AST_SymbolFunarg=gt,n.AST_SymbolDefun=vt,n.AST_SymbolLambda=yt,n.AST_SymbolCatch=bt,n.AST_Label=xt,n.AST_SymbolRef=_t,n.AST_LabelRef=wt,n.AST_This=kt,n.AST_Constant=Et,n.AST_String=At,n.AST_Number=Ct,n.AST_RegExp=St,n.AST_Atom=Tt,n.AST_Null=Ot,n.AST_NaN=Ft,n.AST_Undefined=Lt,n.AST_Hole=Bt,n.AST_Infinity=Dt,n.AST_Boolean=Nt,n.AST_False=Rt,n.AST_True=Pt,n.TreeWalker=T,n.KEYWORDS=Mt,n.KEYWORDS_ATOM=It,n.RESERVED_WORDS=jt,n.KEYWORDS_BEFORE_EXPRESSION=Vt,n.OPERATOR_CHARS=Ut,n.RE_HEX_NUMBER=zt,n.RE_OCT_NUMBER=qt,n.OPERATORS=$t,n.WHITESPACE_CHARS=Ht,n.NEWLINE_CHARS=Wt,n.PUNC_BEFORE_EXPRESSION=Gt,n.PUNC_CHARS=Yt,n.REGEXP_MODIFIERS=Xt,n.UNICODE=Kt,n.is_letter=O,n.is_digit=F,n.is_alphanumeric_char=L,n.is_unicode_digit=B,n.is_unicode_combining_mark=D,n.is_unicode_connector_punctuation=N,n.is_identifier=R,n.is_identifier_start=P,n.is_identifier_char=M,n.is_identifier_string=I,n.parse_js_number=j,n.JS_Parse_Error=V,n.js_error=U,n.is_token=z,n.EX_EOF=Jt,n.tokenizer=q,n.UNARY_PREFIX=Qt,n.UNARY_POSTFIX=Zt,n.ASSIGNMENT=en,n.PRECEDENCE=tn,n.STATEMENTS_WITH_LABELS=nn,n.ATOMIC_START_TOKEN=rn,n.parse=$,n.TreeTransformer=H,n.SymbolDef=W,n.base54=sn,n.EXPECT_DIRECTIVE=on,n.is_some_comments=G,n.OutputStream=Y,n.Compressor=X,n.SourceMap=K,n.find_builtins=J,n.mangle_properties=Q,n.AST_Node.warn_function=function(e){"undefined"!=typeof console&&"function"==typeof console.warn&&console.warn(e)},n.minify=function(e,n){n=ne.defaults(n,{compress:{},fromString:!1,inSourceMap:null,mangle:{},mangleProperties:!1,nameCache:null,outFileName:null,output:null,outSourceMap:null,parse:{},sourceMapInline:!1,sourceMapUrl:null,sourceRoot:null,spidermonkey:!1,warnings:!1}),ne.base54.reset();var r=n.inSourceMap;"string"==typeof r&&"inline"!=r&&(r=JSON.parse(fs.readFileSync(r,"utf8")));var i=null,s={};if(n.spidermonkey){if("inline"==r)throw new Error("inline source map only works with built-in parser");i=ne.AST_Node.from_mozilla_ast(e)}else{var o=function(e,t){var o=n.fromString?e:fs.readFileSync(e,"utf8");"inline"==r&&(r=read_source_map(o)),s[t]=o,i=ne.parse(o,{filename:t,toplevel:i,bare_returns:n.parse?n.parse.bare_returns:void 0})};if(!n.fromString&&(e=ne.simple_glob(e),"inline"==r&&e.length>1))throw new Error("inline source map only works with singular input");[].concat(e).forEach(function(e,t){if("string"==typeof e)o(e,n.fromString?t:e);else for(var r in e)o(e[r],r)})}if(n.wrap&&(i=i.wrap_commonjs(n.wrap,n.exportAll)),n.compress){var a={warnings:n.warnings};ne.merge(a,n.compress),i.figure_out_scope(n.mangle);var u=ne.Compressor(a);i=u.compress(i)}(n.mangleProperties||n.nameCache)&&(n.mangleProperties.cache=ne.readNameCache(n.nameCache,"props"),i=ne.mangle_properties(i,n.mangleProperties),ne.writeNameCache(n.nameCache,"props",n.mangleProperties.cache)),n.mangle&&(i.figure_out_scope(n.mangle),i.compute_char_frequency(n.mangle),i.mangle_names(n.mangle));var c={max_line_len:32e3};if((n.outSourceMap||n.sourceMapInline)&&(c.source_map=ne.SourceMap({file:n.outFileName||("string"==typeof n.outSourceMap?n.outSourceMap.replace(/\.map$/i,""):null),orig:r,root:n.sourceRoot}),n.sourceMapIncludeSources))for(var l in s)s.hasOwnProperty(l)&&c.source_map.get().setSourceContent(l,s[l]);n.output&&ne.merge(c,n.output);var h=ne.OutputStream(c);i.print(h);var p=c.source_map;p&&(p+="");return n.sourceMapInline?h+="\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,"+new t(p).toString("base64"):n.outSourceMap&&"string"==typeof n.outSourceMap&&!1!==n.sourceMapUrl&&(h+="\n//# sourceMappingURL="+("string"==typeof n.sourceMapUrl?n.sourceMapUrl:n.outSourceMap)),{code:h+"",map:p}},n.describe_ast=function(){function e(n){t.print("AST_"+n.TYPE);var r=n.SELF_PROPS.filter(function(e){return!/^\$/.test(e)});r.length>0&&(t.space(),t.with_parens(function(){r.forEach(function(e,n){n&&t.space(),t.print(e)})})),n.documentation&&(t.space(),t.print_string(n.documentation)),n.SUBCLASSES.length>0&&(t.space(),t.with_block(function(){n.SUBCLASSES.forEach(function(n,r){t.indent(),e(n),t.newline()})}))}var t=ne.OutputStream({beautify:!0});return e(ne.AST_Node),t+""}}).call(this,e("buffer").Buffer)},{buffer:5,"source-map":152,util:43}],154:[function(e,t,n){"use strict";function r(e,t){if(t=t||{},"string"!=typeof e)throw new Error('Expected source code to be a string but got "'+(void 0===e?"undefined":i(e))+'"');if("object"!==(void 0===t?"undefined":i(t)))throw new Error('Expected "options" to be an object but got "'+(void 0===t?"undefined":i(t))+'"');e=e.replace(/^\uFEFF/,""),this.input=e.replace(/\r\n|\r/g,"\n"),this.originalInput=this.input,this.filename=t.filename,this.interpolated=t.interpolated||!1,this.lineno=t.startingLine||1,this.colno=t.startingColumn||1,this.plugins=t.plugins||[],this.indentStack=[0],this.indentRe=null,this.interpolationAllowed=!0,this.tokens=[],this.ended=!1}var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s=e("assert"),o=e("is-expression"),a=e("character-parser"),u=e("pug-error");t.exports=function(e,t){var n=new r(e,t);return JSON.parse(JSON.stringify(n.getTokens()))},t.exports.Lexer=r,r.prototype={constructor:r,error:function(e,t){throw u(e,t,{line:this.lineno,column:this.colno,filename:this.filename,src:this.originalInput})},assert:function(e,t){e||this.error("ASSERT_FAILED",t)},isExpression:function(e){return o(e,{throw:!0})},assertExpression:function(e,t){try{return this.callLexerFunction("isExpression",e),!0}catch(e){if(t)return!1;if(!e.loc)throw e;this.incrementLine(e.loc.line-1),this.incrementColumn(e.loc.column);var n="Syntax Error: "+e.message.replace(/ \([0-9]+:[0-9]+\)$/,"");this.error("SYNTAX_ERROR",n)}},assertNestingCorrect:function(e){a(e).isNesting()&&this.error("INCORRECT_NESTING","Nesting must match on expression `"+e+"`")},tok:function(e,t){var n={type:e,line:this.lineno,col:this.colno};return void 0!==t&&(n.val=t),n},incrementLine:function(e){this.lineno+=e,e&&(this.colno=1)},incrementColumn:function(e){this.colno+=e},consume:function(e){this.input=this.input.substr(e)},scan:function(e,t){var n;if(n=e.exec(this.input)){var r=n[0].length,i=n[1],s=r-(i?i.length:0),o=this.tok(t,i);return this.consume(r),this.incrementColumn(s),o}},scanEndOfLine:function(e,t){var n;if(n=e.exec(this.input)){var r,i,s=0;(r=/^([ ]+)([^ ]*)/.exec(n[0]))&&(s=r[1].length,this.incrementColumn(s));var o=this.input.substr(n[0].length);if(":"===o[0])return this.input=o,i=this.tok(t,n[1]),this.incrementColumn(n[0].length-s),i;if(/^[ \t]*(\n|$)/.test(o))return this.input=o.substr(/^[ \t]*/.exec(o)[0].length),i=this.tok(t,n[1]),this.incrementColumn(n[0].length-s),i}},bracketExpression:function(e){e=e||0;var t=this.input[e];s("("===t||"{"===t||"["===t,'The start character should be "(", "{" or "["');var n,r=a.BRACKETS[t];try{n=a.parseUntil(this.input,r,{start:e+1})}catch(t){if(void 0!==t.index){for(var i=t.index,o=this.input.substr(e).indexOf("\n"),u=o+e,c=0;i>u&&-1!==o;)this.incrementLine(1),i-=u+1,c+=u+1,o=u=this.input.substr(c).indexOf("\n");this.incrementColumn(i)}throw"CHARACTER_PARSER:END_OF_STRING_REACHED"===t.code?this.error("NO_END_BRACKET","The end of the string reached with no closing bracket "+r+" found."):"CHARACTER_PARSER:MISMATCHED_BRACKET"===t.code&&this.error("BRACKET_MISMATCH",t.message),t}return n},scanIndentation:function(){var e,t;return this.indentRe?e=this.indentRe.exec(this.input):((e=(t=/^\n(\t*) */).exec(this.input))&&!e[1].length&&(e=(t=/^\n( *)/).exec(this.input)),e&&e[1].length&&(this.indentRe=t)),e},eos:function(){if(!this.input.length){this.interpolated&&this.error("NO_END_BRACKET","End of line was reached with no closing bracket for interpolation.");for(var e=0;this.indentStack[e];e++)this.tokens.push(this.tok("outdent"));return this.tokens.push(this.tok("eos")),this.ended=!0,!0}},blank:function(){var e;if(e=/^\n[ \t]*\n/.exec(this.input))return this.consume(e[0].length-1),this.incrementLine(1),!0},comment:function(){var e;if(e=/^\/\/(-)?([^\n]*)/.exec(this.input)){this.consume(e[0].length);var t=this.tok("comment",e[2]);return t.buffer="-"!=e[1],this.interpolationAllowed=t.buffer,this.tokens.push(t),this.incrementColumn(e[0].length),this.callLexerFunction("pipelessText"),!0}},interpolation:function(){if(/^#\{/.test(this.input)){var e=this.bracketExpression(1);this.consume(e.end+1);var t=this.tok("interpolation",e.src);this.tokens.push(t),this.incrementColumn(2),this.assertExpression(e.src);var n=e.src.split("\n"),r=n.length-1;return this.incrementLine(r),this.incrementColumn(n[r].length+1),!0}},tag:function(){var e;if(e=/^(\w(?:[-:\w]*\w)?)/.exec(this.input)){var t,n=e[1],r=e[0].length;return this.consume(r),t=this.tok("tag",n),this.tokens.push(t),this.incrementColumn(r),!0}},filter:function(e){var t=this.scan(/^:([\w\-]+)/,"filter"),n=e&&e.inInclude;if(t)return this.tokens.push(t),this.incrementColumn(t.val.length),this.callLexerFunction("attrs"),n||(this.interpolationAllowed=!1,this.callLexerFunction("pipelessText")),!0},doctype:function(){var e=this.scanEndOfLine(/^doctype *([^\n]*)/,"doctype");if(e)return this.tokens.push(e),!0},id:function(){var e=this.scan(/^#([\w-]+)/,"id");if(e)return this.tokens.push(e),this.incrementColumn(e.val.length),!0;/^#/.test(this.input)&&this.error("INVALID_ID",'"'+/.[^ \t\(\#\.\:]*/.exec(this.input.substr(1))[0]+'" is not a valid ID.')},className:function(){var e=this.scan(/^\.(-?-?[_a-z][_a-z0-9\-]*)/i,"class");if(e)return this.tokens.push(e),this.incrementColumn(e.val.length),!0;/^\.\-/i.test(this.input)&&this.error("INVALID_CLASS_NAME",'If a class name begins with a "-" or "--", it must be followed by a letter or underscore.'),/^\.[0-9]/i.test(this.input)&&this.error("INVALID_CLASS_NAME",'Class names must begin with "-", "_" or a letter.'),/^\./.test(this.input)&&this.error("INVALID_CLASS_NAME",'"'+/.[^ \t\(\#\.\:]*/.exec(this.input.substr(1))[0]+'" is not a valid class name. Class names must begin with "-", "_" or a letter and can only contain "_", "-", a-z and 0-9.')},endInterpolation:function(){if(this.interpolated&&"]"===this.input[0])return this.input=this.input.substr(1),this.ended=!0,!0},addText:function(e,t,n,r){if(t+n!==""){n=n||"";var i=this.interpolated?t.indexOf("]"):-1,s=this.interpolationAllowed?t.indexOf("#["):-1,o=this.interpolationAllowed?t.indexOf("\\#["):-1,u=/(\\)?([#!]){((?:.|\n)*)$/.exec(t),c=this.interpolationAllowed&&u?u.index:1/0;if(-1===i&&(i=1/0),-1===s&&(s=1/0),-1===o&&(o=1/0),o!==1/0&&o<i&&o<s&&o<c)return n=n+t.substring(0,o)+"#[",this.addText(e,t.substring(o+3),n,!0);if(s!==1/0&&s<i&&s<o&&s<c){this.tokens.push(this.tok(e,n+t.substring(0,s))),this.incrementColumn(n.length+s),r&&this.incrementColumn(1),this.tokens.push(this.tok("start-pug-interpolation")),this.incrementColumn(2);var l,h=new this.constructor(t.substr(s+2),{filename:this.filename,interpolated:!0,startingLine:this.lineno,startingColumn:this.colno});try{l=h.getTokens()}catch(e){throw e.code&&/^PUG:/.test(e.code)&&(this.colno=e.column,this.error(e.code.substr(4),e.msg)),e}return this.colno=h.colno,this.tokens=this.tokens.concat(l),this.tokens.push(this.tok("end-pug-interpolation")),this.incrementColumn(1),void this.addText(e,h.input)}if(i!==1/0&&i<s&&i<o&&i<c)return n+t.substring(0,i)&&this.addText(e,t.substring(0,i),n),this.ended=!0,void(this.input=t.substr(t.indexOf("]")+1)+this.input);if(c!==1/0){if(u[1])return n=n+t.substring(0,c)+"#{",this.addText(e,t.substring(c+3),n);var p=t.substr(0,c);(n||p)&&(p=n+p,this.tokens.push(this.tok(e,p)),this.incrementColumn(p.length));var f,d=u[3],m=this.tok("interpolated-code");this.incrementColumn(2);try{f=a.parseUntil(d,"}")}catch(e){if(void 0!==e.index&&this.incrementColumn(e.index),"CHARACTER_PARSER:END_OF_STRING_REACHED"===e.code)this.error("NO_END_BRACKET","End of line was reached with no closing bracket for interpolation.");else{if("CHARACTER_PARSER:MISMATCHED_BRACKET"!==e.code)throw e;this.error("BRACKET_MISMATCH",e.message)}}return m.mustEscape="#"===u[2],m.buffer=!0,m.val=f.src,this.assertExpression(f.src),this.tokens.push(m),void(f.end+1<d.length?(d=d.substr(f.end+1),this.incrementColumn(f.end+1),this.addText(e,d)):this.incrementColumn(d.length))}t=n+t,this.tokens.push(this.tok(e,t)),this.incrementColumn(t.length)}},text:function(){var e=this.scan(/^(?:\| ?| )([^\n]+)/,"text")||this.scan(/^( )/,"text")||this.scan(/^\|( ?)/,"text");if(e)return this.addText("text",e.val),!0},textHtml:function(){var e=this.scan(/^(<[^\n]*)/,"text-html");if(e)return this.addText("text-html",e.val),!0},dot:function(){var e;if(e=this.scanEndOfLine(/^\./,"dot"))return this.tokens.push(e),this.callLexerFunction("pipelessText"),!0},extends:function(){var e=this.scan(/^extends?(?= |$|\n)/,"extends");if(e)return this.tokens.push(e),this.callLexerFunction("path")||this.error("NO_EXTENDS_PATH","missing path for extends"),!0;this.scan(/^extends?\b/)&&this.error("MALFORMED_EXTENDS","malformed extends")},prepend:function(){var e;if(e=/^(?:block +)?prepend +([^\n]+)/.exec(this.input)){var t=e[1].trim(),n="";if(-1!==t.indexOf("//")&&(n="//"+t.split("//").slice(1).join("//"),t=t.split("//")[0].trim()),!t)return;this.consume(e[0].length-n.length);var r=this.tok("block",t);return r.mode="prepend",this.tokens.push(r),!0}},append:function(){var e;if(e=/^(?:block +)?append +([^\n]+)/.exec(this.input)){var t=e[1].trim(),n="";if(-1!==t.indexOf("//")&&(n="//"+t.split("//").slice(1).join("//"),t=t.split("//")[0].trim()),!t)return;this.consume(e[0].length-n.length);var r=this.tok("block",t);return r.mode="append",this.tokens.push(r),!0}},block:function(){var e;if(e=/^block +([^\n]+)/.exec(this.input)){var t=e[1].trim(),n="";if(-1!==t.indexOf("//")&&(n="//"+t.split("//").slice(1).join("//"),t=t.split("//")[0].trim()),!t)return;this.consume(e[0].length-n.length);var r=this.tok("block",t);return r.mode="replace",this.tokens.push(r),!0}},mixinBlock:function(){var e;if(e=this.scanEndOfLine(/^block/,"mixin-block"))return this.tokens.push(e),!0},yield:function(){var e=this.scanEndOfLine(/^yield/,"yield");if(e)return this.tokens.push(e),!0},include:function(){var e=this.scan(/^include(?=:| |$|\n)/,"include");if(e){for(this.tokens.push(e);this.callLexerFunction("filter",{inInclude:!0}););return this.callLexerFunction("path")||(/^[^ \n]+/.test(this.input)?this.fail():this.error("NO_INCLUDE_PATH","missing path for include")),!0}this.scan(/^include\b/)&&this.error("MALFORMED_INCLUDE","malformed include")},path:function(){var e=this.scanEndOfLine(/^ ([^\n]+)/,"path");if(e&&(e.val=e.val.trim()))return this.tokens.push(e),!0},case:function(){var e=this.scanEndOfLine(/^case +([^\n]+)/,"case");if(e)return this.incrementColumn(-e.val.length),this.assertExpression(e.val),this.incrementColumn(e.val.length),this.tokens.push(e),!0;this.scan(/^case\b/)&&this.error("NO_CASE_EXPRESSION","missing expression for case")},when:function(){var e=this.scanEndOfLine(/^when +([^:\n]+)/,"when");if(e){for(var t=a(e.val);t.isNesting()||t.isString();){var n=/:([^:\n]+)/.exec(this.input);if(!n)break;e.val+=n[0],this.consume(n[0].length),this.incrementColumn(n[0].length),t=a(e.val)}return this.incrementColumn(-e.val.length),this.assertExpression(e.val),this.incrementColumn(e.val.length),this.tokens.push(e),!0}this.scan(/^when\b/)&&this.error("NO_WHEN_EXPRESSION","missing expression for when")},default:function(){var e=this.scanEndOfLine(/^default/,"default");if(e)return this.tokens.push(e),!0;this.scan(/^default\b/)&&this.error("DEFAULT_WITH_EXPRESSION","default should not have an expression")},call:function(){var e,t,n;if(t=/^\+(\s*)(([-\w]+)|(#\{))/.exec(this.input)){if(t[3])n=t[0].length,this.consume(n),e=this.tok("call",t[3]);else{var r=this.bracketExpression(2+t[1].length);n=r.end+1,this.consume(n),this.assertExpression(r.src),e=this.tok("call","#{"+r.src+"}")}if(this.incrementColumn(n),e.args=null,t=/^ *\(/.exec(this.input)){var i=this.bracketExpression(t[0].length-1);if(!/^\s*[-\w]+ *=/.test(i.src)){this.incrementColumn(1),this.consume(i.end+1),e.args=i.src,this.assertExpression("["+e.args+"]");for(var s=0;s<=e.args.length;s++)"\n"===e.args[s]?this.incrementLine(1):this.incrementColumn(1)}}return this.tokens.push(e),!0}},mixin:function(){var e;if(e=/^mixin +([-\w]+)(?: *\((.*)\))? */.exec(this.input)){this.consume(e[0].length);var t=this.tok("mixin",e[1]);return t.args=e[2]||null,this.tokens.push(t),!0}},conditional:function(){var e;if(e=/^(if|unless|else if|else)\b([^\n]*)/.exec(this.input)){this.consume(e[0].length);var t=e[1].replace(/ /g,"-"),n=e[2]&&e[2].trim(),r=this.tok(t,n);switch(this.incrementColumn(e[0].length-n.length),t){case"if":case"else-if":this.assertExpression(n);break;case"unless":this.assertExpression(n),r.val="!("+n+")",r.type="if";break;case"else":n&&this.error("ELSE_CONDITION","`else` cannot have a condition, perhaps you meant `else if`")}return this.tokens.push(r),!0}},while:function(){var e;if(e=/^while +([^\n]+)/.exec(this.input))return this.consume(e[0].length),this.assertExpression(e[1]),this.tokens.push(this.tok("while",e[1])),!0;this.scan(/^while\b/)&&this.error("NO_WHILE_EXPRESSION","missing expression for while")},each:function(){var e;if(e=/^(?:each|for) +([a-zA-Z_$][\w$]*)(?: *, *([a-zA-Z_$][\w$]*))? * in *([^\n]+)/.exec(this.input)){this.consume(e[0].length);var t=this.tok("each",e[1]);return t.key=e[2]||null,this.incrementColumn(e[0].length-e[3].length),this.assertExpression(e[3]),t.code=e[3],this.incrementColumn(e[3].length),this.tokens.push(t),!0}this.scan(/^(?:each|for)\b/)&&this.error("MALFORMED_EACH","malformed each"),(e=/^- *(?:each|for) +([a-zA-Z_$][\w$]*)(?: *, *([a-zA-Z_$][\w$]*))? +in +([^\n]+)/.exec(this.input))&&this.error("MALFORMED_EACH",'Pug each and for should no longer be prefixed with a dash ("-"). They are pug keywords and not part of JavaScript.')},code:function(){var e;if(e=/^(!?=|-)[ \t]*([^\n]+)/.exec(this.input)){var t=e[1],n=e[2],r=0;if(this.interpolated){var i;try{i=a.parseUntil(n,"]")}catch(t){if(void 0!==t.index&&this.incrementColumn(e[0].length-n.length+t.index),"CHARACTER_PARSER:END_OF_STRING_REACHED"===t.code)this.error("NO_END_BRACKET","End of line was reached with no closing bracket for interpolation.");else{if("CHARACTER_PARSER:MISMATCHED_BRACKET"!==t.code)throw t;this.error("BRACKET_MISMATCH",t.message)}}r=n.length-i.end,n=i.src}var s=e[0].length-r;this.consume(s);var o=this.tok("code",n);return o.mustEscape="="===t.charAt(0),o.buffer="="===t.charAt(0)||"="===t.charAt(1),this.incrementColumn(e[0].length-e[2].length),o.buffer&&this.assertExpression(n),this.tokens.push(o),this.incrementColumn(n.length),!0}},blockCode:function(){var e;if(e=this.scanEndOfLine(/^-/,"blockcode"))return this.tokens.push(e),this.interpolationAllowed=!1,this.callLexerFunction("pipelessText"),!0},attrs:function(){if("("==this.input.charAt(0)){var e=this.lineno;this.tokens.push(this.tok("start-attributes"));var t=this.bracketExpression().end,n=this.input.substr(1,t-1);this.incrementColumn(1),this.assertNestingCorrect(n);var r="",i=this;this.consume(t+1);for(var s,o=/[ \n\t]/,u=/['"]/,c=!0,l="",h="",p=a.defaultState(),f=e,d=this.colno,m="key",g=0;g<=n.length;g++){if(function(e){if(""===l.trim())return d=this.colno,!1;if(e===n.length)return!0;if("key"===m){if(o.test(n[e]))for(t=e;t<n.length;t++)if(!o.test(n[t]))return"="!==n[t]&&"!"!==n[t]&&","!==n[t];return","===n[e]}if("value"===m){if(p.isNesting()||p.isString())return!1;if(o.test(n[e]))for(var t=e;t<n.length;t++)if(!o.test(n[t]))return(!a.isPunctuator(n[t])||u.test(n[t])||":"===n[t])&&i.assertExpression(h,!0);return","===n[e]&&i.assertExpression(h,!0)}}.call(this,g)){if(h.trim()){var v=this.colno;this.colno=s,this.assertExpression(h),this.colno=v}h=h.trim(),l=l.trim(),l=l.replace(/^['"]|['"]$/g,"");var y=this.tok("attribute");y.name=l,y.val=""==h||h,y.col=d,y.mustEscape=c,this.tokens.push(y),l=h="",m="key",c=!1,this.lineno=f}else switch(m){case"key-char":n[g]===r?(m="key",g+1<n.length&&!/[ ,!=\n\t]/.test(n[g+1])&&this.error("INVALID_KEY_CHARACTER",'Unexpected character "'+n[g+1]+'" expected ` `, `\\n`, `\t`, `,`, `!` or `=`')):l+=n[g];break;case"key":""===l&&u.test(n[g])?(m="key-char",r=n[g]):"!"===n[g]||"="===n[g]?(c="!"!==n[g],"!"===n[g]&&(this.incrementColumn(1),g++),"="!==n[g]&&this.error("INVALID_KEY_CHARACTER","Unexpected character "+n[g]+" expected `=`"),m="value",s=this.colno+1,p=a.defaultState()):l+=n[g];break;case"value":p=a.parseChar(n[g],p),h+=n[g]}"\n"===n[g]?(f++,this.colno=1,l.trim()||(this.lineno=f)):void 0!==n[g]&&this.incrementColumn(1)}return this.lineno=e+(n.match(/\n/g)||[]).length,this.tokens.push(this.tok("end-attributes")),this.incrementColumn(1),!0}},attributesBlock:function(){if(/^&attributes\b/.test(this.input)){var e=11;this.consume(e);var t=this.tok("&attributes");this.incrementColumn(e);var n=this.bracketExpression();return e=n.end+1,this.consume(e),t.val=n.src,this.tokens.push(t),this.incrementColumn(e),!0}},indent:function(){var e=this.scanIndentation();if(e){var t=e[1].length;if(this.incrementLine(1),this.consume(t+1)," "!=this.input[0]&&"\t"!=this.input[0]||this.error("INVALID_INDENTATION","Invalid indentation, you can use tabs or spaces but not both"),"\n"==this.input[0])return this.interpolationAllowed=!0,this.tok("newline");if(t<this.indentStack[0])for(;this.indentStack[0]>t;)this.indentStack[1]<t&&this.error("INCONSISTENT_INDENTATION","Inconsistent indentation. Expecting either "+this.indentStack[1]+" or "+this.indentStack[0]+" spaces/tabs."),this.colno=this.indentStack[1]+1,this.tokens.push(this.tok("outdent")),this.indentStack.shift();else t&&t!=this.indentStack[0]?(this.tokens.push(this.tok("indent",t)),this.colno=1+t,this.indentStack.unshift(t)):(this.tokens.push(this.tok("newline")),this.colno=1+(this.indentStack[0]||0));return this.interpolationAllowed=!0,!0}},pipelessText:function e(t){for(;this.callLexerFunction("blank"););var n=this.scanIndentation();if((t=t||n&&n[1].length)>this.indentStack[0]){this.tokens.push(this.tok("start-pipeless-text"));var r,i=[],s=0;do{var o=this.input.substr(s+1).indexOf("\n");-1==o&&(o=this.input.length-s-1);var a=this.input.substr(s+1,o),u=this.indentRe.exec("\n"+a),c=u&&u[1].length;if(r=c>=t||!a.trim())s+=a.length+1,i.push(a.substr(t));else if(c>this.indentStack[0])return this.tokens.pop(),e.call(this,u[1].length)}while(this.input.length-s&&r);for(this.consume(s);0===this.input.length&&""===i[i.length-1];)i.pop();return i.forEach(function(e,n){this.incrementLine(1),0!==n&&this.tokens.push(this.tok("newline")),this.incrementColumn(t),this.addText("text",e)}.bind(this)),this.tokens.push(this.tok("end-pipeless-text")),!0}},slash:function(){var e=this.scan(/^\//,"slash");if(e)return this.tokens.push(e),!0},colon:function(){var e=this.scan(/^: +/,":");if(e)return this.tokens.push(e),!0},fail:function(){this.error("UNEXPECTED_TEXT",'unexpected text "'+this.input.substr(0,5)+'"')},callLexerFunction:function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);for(var r=[this].concat(t),n=0;n<this.plugins.length;n++){var i=this.plugins[n];if(i[e]&&i[e].apply(i,r))return!0}return this[e].apply(this,t)},advance:function(){return this.callLexerFunction("blank")||this.callLexerFunction("eos")||this.callLexerFunction("endInterpolation")||this.callLexerFunction("yield")||this.callLexerFunction("doctype")||this.callLexerFunction("interpolation")||this.callLexerFunction("case")||this.callLexerFunction("when")||this.callLexerFunction("default")||this.callLexerFunction("extends")||this.callLexerFunction("append")||this.callLexerFunction("prepend")||this.callLexerFunction("block")||this.callLexerFunction("mixinBlock")||this.callLexerFunction("include")||this.callLexerFunction("mixin")||this.callLexerFunction("call")||this.callLexerFunction("conditional")||this.callLexerFunction("each")||this.callLexerFunction("while")||this.callLexerFunction("tag")||this.callLexerFunction("filter")||this.callLexerFunction("blockCode")||this.callLexerFunction("code")||this.callLexerFunction("id")||this.callLexerFunction("dot")||this.callLexerFunction("className")||this.callLexerFunction("attrs")||this.callLexerFunction("attributesBlock")||this.callLexerFunction("indent")||this.callLexerFunction("text")||this.callLexerFunction("textHtml")||this.callLexerFunction("comment")||this.callLexerFunction("slash")||this.callLexerFunction("colon")||this.fail()},getTokens:function(){for(;!this.ended;)this.callLexerFunction("advance");return this.tokens}}},{assert:1,"character-parser":54,"is-expression":156,"pug-error":138}],155:[function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(e,i){i("object"===(void 0===n?"undefined":r(n))&&void 0!==t?n:e.acorn=e.acorn||{})}(void 0,function(e){function t(e,t){for(var n=65536,r=0;r<t.length;r+=2){if((n+=t[r])>e)return!1;if((n+=t[r+1])>=e)return!0}}function n(e,n){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&w.test(String.fromCharCode(e)):!1!==n&&t(e,E)))}function i(e,n){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&k.test(String.fromCharCode(e)):!1!==n&&(t(e,E)||t(e,A)))))}function s(e,t){return new C(e,{beforeExpr:!0,binop:t})}function o(e,t){return void 0===t&&(t={}),t.keyword=e,O[e]=new C(e,t)}function a(e){return 10===e||13===e||8232===e||8233===e}function u(e){return"[object Array]"===Object.prototype.toString.call(e)}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e,t){for(var n=1,r=0;;){B.lastIndex=r;var i=B.exec(e);if(!(i&&i.index<t))return new R(n,t-r);++n,r=i.index+i[0].length}}function h(e){var t={};for(var n in M)t[n]=e&&c(e,n)?e[n]:M[n];if(t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),u(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}return u(t.onComment)&&(t.onComment=p(t,t.onComment)),t}function p(e,t){return function(n,r,i,s,o,a){var u={type:n?"Block":"Line",value:r,start:i,end:s};e.locations&&(u.loc=new P(this,o,a)),e.ranges&&(u.range=[i,s]),t.push(u)}}function f(e){return new RegExp("^("+e.replace(/ /g,"|")+")$")}function d(e,t,n,r){return e.type=t,e.end=n,this.options.locations&&(e.loc.end=r),this.options.ranges&&(e.range[1]=n),e}function m(e,t,n,r){try{return new RegExp(e,t)}catch(e){if(void 0!==n)throw e instanceof SyntaxError&&r.raise(n,"Error parsing regular expression: "+e.message),e}}function g(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}var v={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},y="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",b={5:y,6:y+" const class extends export import super"},x="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠ-ࢴࢶ-ࢽऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿕ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞮꞰ-ꞷꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭥꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",_="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣔ-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఃా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഁ-ഃാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ංඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ູົຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭ᳲ-᳴᳸᳹᷀-᷵᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱꤀-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",w=new RegExp("["+x+"]"),k=new RegExp("["+x+_+"]");x=_=null;var E=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,17,26,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,26,45,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,785,52,76,44,33,24,27,35,42,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,54,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,86,25,391,63,32,0,449,56,264,8,2,36,18,0,50,29,881,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,881,68,12,0,67,12,65,0,32,6124,20,754,9486,1,3071,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,4149,196,60,67,1213,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42710,42,4148,12,221,3,5761,10591,541],A=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,1306,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,52,0,13,2,49,13,10,2,4,9,83,11,7,0,161,11,6,9,7,3,57,0,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,87,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,423,9,838,7,2,7,17,9,57,21,2,13,19882,9,135,4,60,6,26,9,1016,45,17,3,19723,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,2214,6,110,6,6,9,792487,239],C=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null},S={beforeExpr:!0},T={startsExpr:!0},O={},F={num:new C("num",T),regexp:new C("regexp",T),string:new C("string",T),name:new C("name",T),eof:new C("eof"),bracketL:new C("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new C("]"),braceL:new C("{",{beforeExpr:!0,startsExpr:!0}),braceR:new C("}"),parenL:new C("(",{beforeExpr:!0,startsExpr:!0}),parenR:new C(")"),comma:new C(",",S),semi:new C(";",S),colon:new C(":",S),dot:new C("."),question:new C("?",S),arrow:new C("=>",S),template:new C("template"),ellipsis:new C("...",S),backQuote:new C("`",T),dollarBraceL:new C("${",{beforeExpr:!0,startsExpr:!0}),eq:new C("=",{beforeExpr:!0,isAssign:!0}),assign:new C("_=",{beforeExpr:!0,isAssign:!0}),incDec:new C("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new C("prefix",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:s("||",1),logicalAND:s("&&",2),bitwiseOR:s("|",3),bitwiseXOR:s("^",4),bitwiseAND:s("&",5),equality:s("==/!=",6),relational:s("</>",7),bitShift:s("<</>>",8),plusMin:new C("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:s("%",10),star:s("*",10),slash:s("/",10),starstar:new C("**",{beforeExpr:!0}),_break:o("break"),_case:o("case",S),_catch:o("catch"),_continue:o("continue"),_debugger:o("debugger"),_default:o("default",S),_do:o("do",{isLoop:!0,beforeExpr:!0}),_else:o("else",S),_finally:o("finally"),_for:o("for",{isLoop:!0}),_function:o("function",T),_if:o("if"),_return:o("return",S),_switch:o("switch"),_throw:o("throw",S),_try:o("try"),_var:o("var"),_const:o("const"),_while:o("while",{isLoop:!0}),_with:o("with"),_new:o("new",{beforeExpr:!0,startsExpr:!0}),_this:o("this",T),_super:o("super",T),_class:o("class"),_extends:o("extends",S),_export:o("export"),_import:o("import"),_null:o("null",T),_true:o("true",T),_false:o("false",T),_in:o("in",{beforeExpr:!0,binop:7}),_instanceof:o("instanceof",{beforeExpr:!0,binop:7}),_typeof:o("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:o("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:o("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},L=/\r\n?|\n|\u2028|\u2029/,B=new RegExp(L.source,"g"),D=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,N=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,R=function(e,t){this.line=e,this.column=t};R.prototype.offset=function(e){return new R(this.line,this.column+e)};var P=function(e,t,n){this.start=t,this.end=n,null!==e.sourceFile&&(this.source=e.sourceFile)},M={ecmaVersion:7,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1,plugins:{}},I={},j=function(e,t,n){this.options=e=h(e),this.sourceFile=e.sourceFile,this.keywords=f(b[e.ecmaVersion>=6?6:5]);var r="";if(!e.allowReserved){for(var i=e.ecmaVersion;!(r=v[i]);i--);"module"==e.sourceType&&(r+=" await")}this.reservedWords=f(r);var s=(r?r+" ":"")+v.strict;this.reservedWordsStrict=f(s),this.reservedWordsStrictBind=f(s+" "+v.strictBind),this.input=String(t),this.containsEsc=!1,this.loadPlugins(e.plugins),n?(this.pos=n,this.lineStart=this.input.lastIndexOf("\n",n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(L).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=F.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.inFunction=this.inGenerator=this.inAsync=!1,this.yieldPos=this.awaitPos=0,this.labels=[],0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2)};j.prototype.isKeyword=function(e){return this.keywords.test(e)},j.prototype.isReservedWord=function(e){return this.reservedWords.test(e)},j.prototype.extend=function(e,t){this[e]=t(this[e])},j.prototype.loadPlugins=function(e){var t=this;for(var n in e){var r=I[n];if(!r)throw new Error("Plugin '"+n+"' not found");r(t,e[n])}},j.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)};var V=j.prototype,U=/^(?:'((?:[^\']|\.)*)'|"((?:[^\"]|\.)*)"|;)/;V.strictDirective=function(e){for(var t=this;;){N.lastIndex=e,e+=N.exec(t.input)[0].length;var n=U.exec(t.input.slice(e));if(!n)return!1;if("use strict"==(n[1]||n[2]))return!0;e+=n[0].length}},V.eat=function(e){return this.type===e&&(this.next(),!0)},V.isContextual=function(e){return this.type===F.name&&this.value===e},V.eatContextual=function(e){return this.value===e&&this.eat(F.name)},V.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},V.canInsertSemicolon=function(){return this.type===F.eof||this.type===F.braceR||L.test(this.input.slice(this.lastTokEnd,this.start))},V.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},V.semicolon=function(){this.eat(F.semi)||this.insertSemicolon()||this.unexpected()},V.afterTrailingComma=function(e,t){if(this.type==e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},V.expect=function(e){this.eat(e)||this.unexpected()},V.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")};var z=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=-1};V.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,"Parenthesized pattern")}},V.checkExpressionErrors=function(e,t){var n=e?e.shorthandAssign:-1;if(!t)return n>=0;n>-1&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns")},V.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},V.isSimpleAssignTarget=function(e){return"ParenthesizedExpression"===e.type?this.isSimpleAssignTarget(e.expression):"Identifier"===e.type||"MemberExpression"===e.type};var q=j.prototype;q.parseTopLevel=function(e){var t=this,n={};for(e.body||(e.body=[]);this.type!==F.eof;){var r=t.parseStatement(!0,!0,n);e.body.push(r)}return this.next(),this.options.ecmaVersion>=6&&(e.sourceType=this.options.sourceType),this.finishNode(e,"Program")};var $={kind:"loop"},H={kind:"switch"};q.isLet=function(){if(this.type!==F.name||this.options.ecmaVersion<6||"let"!=this.value)return!1;N.lastIndex=this.pos;var e=N.exec(this.input),t=this.pos+e[0].length,r=this.input.charCodeAt(t);if(91===r||123==r)return!0;if(n(r,!0)){for(var s=t+1;i(this.input.charCodeAt(s),!0);++s);var o=this.input.slice(t,s);if(!this.isKeyword(o))return!0}return!1},q.isAsyncFunction=function(){if(this.type!==F.name||this.options.ecmaVersion<8||"async"!=this.value)return!1;N.lastIndex=this.pos;var e=N.exec(this.input),t=this.pos+e[0].length;return!(L.test(this.input.slice(this.pos,t))||"function"!==this.input.slice(t,t+8)||t+8!=this.input.length&&i(this.input.charAt(t+8)))},q.parseStatement=function(e,t,n){var r,i=this.type,s=this.startNode();switch(this.isLet()&&(i=F._var,r="let"),i){case F._break:case F._continue:return this.parseBreakContinueStatement(s,i.keyword);case F._debugger:return this.parseDebuggerStatement(s);case F._do:return this.parseDoStatement(s);case F._for:return this.parseForStatement(s);case F._function:return!e&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(s,!1);case F._class:return e||this.unexpected(),this.parseClass(s,!0);case F._if:return this.parseIfStatement(s);case F._return:return this.parseReturnStatement(s);case F._switch:return this.parseSwitchStatement(s);case F._throw:return this.parseThrowStatement(s);case F._try:return this.parseTryStatement(s);case F._const:case F._var:return r=r||this.value,e||"var"==r||this.unexpected(),this.parseVarStatement(s,r);case F._while:return this.parseWhileStatement(s);case F._with:return this.parseWithStatement(s);case F.braceL:return this.parseBlock();case F.semi:return this.parseEmptyStatement(s);case F._export:case F._import:return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===F._import?this.parseImport(s):this.parseExport(s,n);default:if(this.isAsyncFunction()&&e)return this.next(),this.parseFunctionStatement(s,!0);var o=this.value,a=this.parseExpression();return i===F.name&&"Identifier"===a.type&&this.eat(F.colon)?this.parseLabeledStatement(s,o,a):this.parseExpressionStatement(s,a)}},q.parseBreakContinueStatement=function(e,t){var n=this,r="break"==t;this.next(),this.eat(F.semi)||this.insertSemicolon()?e.label=null:this.type!==F.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var i=0;i<this.labels.length;++i){var s=n.labels[i];if(null==e.label||s.name===e.label.name){if(null!=s.kind&&(r||"loop"===s.kind))break;if(e.label&&r)break}}return i===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,r?"BreakStatement":"ContinueStatement")},q.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},q.parseDoStatement=function(e){return this.next(),this.labels.push($),e.body=this.parseStatement(!1),this.labels.pop(),this.expect(F._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(F.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},q.parseForStatement=function(e){if(this.next(),this.labels.push($),this.expect(F.parenL),this.type===F.semi)return this.parseFor(e,null);var t=this.isLet();if(this.type===F._var||this.type===F._const||t){var n=this.startNode(),r=t?"let":this.value;return this.next(),this.parseVar(n,!0,r),this.finishNode(n,"VariableDeclaration"),!(this.type===F._in||this.options.ecmaVersion>=6&&this.isContextual("of"))||1!==n.declarations.length||"var"!==r&&n.declarations[0].init?this.parseFor(e,n):this.parseForIn(e,n)}var i=new z,s=this.parseExpression(!0,i);return this.type===F._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.toAssignable(s),this.checkLVal(s),this.checkPatternErrors(i,!0),this.parseForIn(e,s)):(this.checkExpressionErrors(i,!0),this.parseFor(e,s))},q.parseFunctionStatement=function(e,t){return this.next(),this.parseFunction(e,!0,!1,t)},q.isFunction=function(){return this.type===F._function||this.isAsyncFunction()},q.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement(!this.strict&&this.isFunction()),e.alternate=this.eat(F._else)?this.parseStatement(!this.strict&&this.isFunction()):null,this.finishNode(e,"IfStatement")},q.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(F.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},q.parseSwitchStatement=function(e){var t=this;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(F.braceL),this.labels.push(H);for(var n,r=!1;this.type!=F.braceR;)if(t.type===F._case||t.type===F._default){var i=t.type===F._case;n&&t.finishNode(n,"SwitchCase"),e.cases.push(n=t.startNode()),n.consequent=[],t.next(),i?n.test=t.parseExpression():(r&&t.raiseRecoverable(t.lastTokStart,"Multiple default clauses"),r=!0,n.test=null),t.expect(F.colon)}else n||t.unexpected(),n.consequent.push(t.parseStatement(!0));return n&&this.finishNode(n,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},q.parseThrowStatement=function(e){return this.next(),L.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var W=[];q.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===F._catch){var t=this.startNode();this.next(),this.expect(F.parenL),t.param=this.parseBindingAtom(),this.checkLVal(t.param,!0),this.expect(F.parenR),t.body=this.parseBlock(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(F._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},q.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},q.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push($),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"WhileStatement")},q.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement(!1),this.finishNode(e,"WithStatement")},q.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},q.parseLabeledStatement=function(e,t,n){for(var r=this,i=0;i<this.labels.length;++i)r.labels[i].name===t&&r.raise(n.start,"Label '"+t+"' is already declared");for(var s=this.type.isLoop?"loop":this.type===F._switch?"switch":null,o=this.labels.length-1;o>=0;o--){var a=r.labels[o];if(a.statementStart!=e.start)break;a.statementStart=r.start,a.kind=s}return this.labels.push({name:t,kind:s,statementStart:this.start}),e.body=this.parseStatement(!0),("ClassDeclaration"==e.body.type||"VariableDeclaration"==e.body.type&&(this.strict||"var"!=e.body.kind)||"FunctionDeclaration"==e.body.type&&(this.strict||e.body.generator))&&this.raiseRecoverable(e.body.start,"Invalid labeled declaration"),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},q.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},q.parseBlock=function(){var e=this,t=this.startNode();for(t.body=[],this.expect(F.braceL);!this.eat(F.braceR);){var n=e.parseStatement(!0);t.body.push(n)}return this.finishNode(t,"BlockStatement")},q.parseFor=function(e,t){return e.init=t,this.expect(F.semi),e.test=this.type===F.semi?null:this.parseExpression(),this.expect(F.semi),e.update=this.type===F.parenR?null:this.parseExpression(),this.expect(F.parenR),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"ForStatement")},q.parseForIn=function(e,t){var n=this.type===F._in?"ForInStatement":"ForOfStatement";return this.next(),e.left=t,e.right=this.parseExpression(),this.expect(F.parenR),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,n)},q.parseVar=function(e,t,n){var r=this;for(e.declarations=[],e.kind=n;;){var i=r.startNode();if(r.parseVarId(i),r.eat(F.eq)?i.init=r.parseMaybeAssign(t):"const"!==n||r.type===F._in||r.options.ecmaVersion>=6&&r.isContextual("of")?"Identifier"==i.id.type||t&&(r.type===F._in||r.isContextual("of"))?i.init=null:r.raise(r.lastTokEnd,"Complex binding patterns require an initialization value"):r.unexpected(),e.declarations.push(r.finishNode(i,"VariableDeclarator")),!r.eat(F.comma))break}return e},q.parseVarId=function(e){e.id=this.parseBindingAtom(),this.checkLVal(e.id,!0)},q.parseFunction=function(e,t,n,r){this.initFunction(e),this.options.ecmaVersion>=6&&!r&&(e.generator=this.eat(F.star)),this.options.ecmaVersion>=8&&(e.async=!!r),null==t&&(t=this.type==F.name),t&&(e.id=this.parseIdent());var i=this.inGenerator,s=this.inAsync,o=this.yieldPos,a=this.awaitPos,u=this.inFunction;return this.inGenerator=e.generator,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,t||this.type!==F.name||(e.id=this.parseIdent()),this.parseFunctionParams(e),this.parseFunctionBody(e,n),this.inGenerator=i,this.inAsync=s,this.yieldPos=o,this.awaitPos=a,this.inFunction=u,this.finishNode(e,t?"FunctionDeclaration":"FunctionExpression")},q.parseFunctionParams=function(e){this.expect(F.parenL),e.params=this.parseBindingList(F.parenR,!1,this.options.ecmaVersion>=8,!0),this.checkYieldAwaitInDefaultParams()},q.parseClass=function(e,t){var n=this;this.next(),null==t&&(t=this.type===F.name),this.parseClassId(e,t),this.parseClassSuper(e);var r=this.startNode(),i=!1;for(r.body=[],this.expect(F.braceL);!this.eat(F.braceR);)if(!n.eat(F.semi)){var s=n.startNode(),o=n.eat(F.star),a=!1,u=n.type===F.name&&"static"===n.value;n.parsePropertyName(s),s.static=u&&n.type!==F.parenL,s.static&&(o&&n.unexpected(),o=n.eat(F.star),n.parsePropertyName(s)),n.options.ecmaVersion>=8&&!o&&!s.computed&&"Identifier"===s.key.type&&"async"===s.key.name&&n.type!==F.parenL&&!n.canInsertSemicolon()&&(a=!0,n.parsePropertyName(s)),s.kind="method";var c=!1;if(!s.computed){var l=s.key;o||a||"Identifier"!==l.type||n.type===F.parenL||"get"!==l.name&&"set"!==l.name||(c=!0,s.kind=l.name,l=n.parsePropertyName(s)),!s.static&&("Identifier"===l.type&&"constructor"===l.name||"Literal"===l.type&&"constructor"===l.value)&&(i&&n.raise(l.start,"Duplicate constructor in the same class"),c&&n.raise(l.start,"Constructor can't have get/set modifier"),o&&n.raise(l.start,"Constructor can't be a generator"),a&&n.raise(l.start,"Constructor can't be an async method"),s.kind="constructor",i=!0)}if(n.parseClassMethod(r,s,o,a),c){var h="get"===s.kind?0:1;if(s.value.params.length!==h){var p=s.value.start;"get"===s.kind?n.raiseRecoverable(p,"getter should have no params"):n.raiseRecoverable(p,"setter should have exactly one param")}else"set"===s.kind&&"RestElement"===s.value.params[0].type&&n.raiseRecoverable(s.value.params[0].start,"Setter cannot use rest params")}}return e.body=this.finishNode(r,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},q.parseClassMethod=function(e,t,n,r){t.value=this.parseMethod(n,r),e.body.push(this.finishNode(t,"MethodDefinition"))},q.parseClassId=function(e,t){e.id=this.type===F.name?this.parseIdent():t?this.unexpected():null},q.parseClassSuper=function(e){e.superClass=this.eat(F._extends)?this.parseExprSubscripts():null},q.parseExport=function(e,t){var n=this;if(this.next(),this.eat(F.star))return this.expectContextual("from"),e.source=this.type===F.string?this.parseExprAtom():this.unexpected(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(F._default)){this.checkExport(t,"default",this.lastTokStart);var r;if(this.type===F._function||(r=this.isAsyncFunction())){var i=this.startNode();this.next(),r&&this.next(),e.declaration=this.parseFunction(i,null,!1,r)}else if(this.type===F._class){var s=this.startNode();e.declaration=this.parseClass(s,null)}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(!0),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))e.source=this.type===F.string?this.parseExprAtom():this.unexpected();else{for(var o=0;o<e.specifiers.length;o++)(n.keywords.test(e.specifiers[o].local.name)||n.reservedWords.test(e.specifiers[o].local.name))&&n.unexpected(e.specifiers[o].local.start);e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},q.checkExport=function(e,t,n){e&&(Object.prototype.hasOwnProperty.call(e,t)&&this.raiseRecoverable(n,"Duplicate export '"+t+"'"),e[t]=!0)},q.checkPatternExport=function(e,t){var n=this,r=t.type;if("Identifier"==r)this.checkExport(e,t.name,t.start);else if("ObjectPattern"==r)for(var i=0;i<t.properties.length;++i)n.checkPatternExport(e,t.properties[i].value);else if("ArrayPattern"==r)for(var s=0;s<t.elements.length;++s){var o=t.elements[s];o&&n.checkPatternExport(e,o)}else"AssignmentPattern"==r?this.checkPatternExport(e,t.left):"ParenthesizedExpression"==r&&this.checkPatternExport(e,t.expression)},q.checkVariableExport=function(e,t){var n=this;if(e)for(var r=0;r<t.length;r++)n.checkPatternExport(e,t[r].id)},q.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||this.isAsyncFunction()},q.parseExportSpecifiers=function(e){var t=this,n=[],r=!0;for(this.expect(F.braceL);!this.eat(F.braceR);){if(r)r=!1;else if(t.expect(F.comma),t.afterTrailingComma(F.braceR))break;var i=t.startNode();i.local=t.parseIdent(!0),i.exported=t.eatContextual("as")?t.parseIdent(!0):i.local,t.checkExport(e,i.exported.name,i.exported.start),n.push(t.finishNode(i,"ExportSpecifier"))}return n},q.parseImport=function(e){return this.next(),this.type===F.string?(e.specifiers=W,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===F.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},q.parseImportSpecifiers=function(){var e=this,t=[],n=!0;if(this.type===F.name){var r=this.startNode();if(r.local=this.parseIdent(),this.checkLVal(r.local,!0),t.push(this.finishNode(r,"ImportDefaultSpecifier")),!this.eat(F.comma))return t}if(this.type===F.star){var i=this.startNode();return this.next(),this.expectContextual("as"),i.local=this.parseIdent(),this.checkLVal(i.local,!0),t.push(this.finishNode(i,"ImportNamespaceSpecifier")),t}for(this.expect(F.braceL);!this.eat(F.braceR);){if(n)n=!1;else if(e.expect(F.comma),e.afterTrailingComma(F.braceR))break;var s=e.startNode();s.imported=e.parseIdent(!0),e.eatContextual("as")?s.local=e.parseIdent():(s.local=s.imported,e.isKeyword(s.local.name)&&e.unexpected(s.local.start),e.reservedWordsStrict.test(s.local.name)&&e.raiseRecoverable(s.local.start,"The keyword '"+s.local.name+"' is reserved")),e.checkLVal(s.local,!0),t.push(e.finishNode(s,"ImportSpecifier"))}return t};var G=j.prototype;G.toAssignable=function(e,t){var n=this;if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Can not use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":break;case"ObjectExpression":e.type="ObjectPattern";for(var r=0;r<e.properties.length;r++){var i=e.properties[r];"init"!==i.kind&&n.raise(i.key.start,"Object pattern can't contain getter or setter"),n.toAssignable(i.value,t)}break;case"ArrayExpression":e.type="ArrayPattern",this.toAssignableList(e.elements,t);break;case"AssignmentExpression":if("="!==e.operator){this.raise(e.left.end,"Only '=' operator can be used for specifying default value.");break}e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);case"AssignmentPattern":break;case"ParenthesizedExpression":e.expression=this.toAssignable(e.expression,t);break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}return e},G.toAssignableList=function(e,t){var n=this,r=e.length;if(r){var i=e[r-1];if(i&&"RestElement"==i.type)--r;else if(i&&"SpreadElement"==i.type){i.type="RestElement";var s=i.argument;this.toAssignable(s,t),"Identifier"!==s.type&&"MemberExpression"!==s.type&&"ArrayPattern"!==s.type&&this.unexpected(s.start),--r}t&&i&&"RestElement"===i.type&&"Identifier"!==i.argument.type&&this.unexpected(i.argument.start)}for(var o=0;o<r;o++){var a=e[o];a&&n.toAssignable(a,t)}return e},G.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},G.parseRest=function(e){var t=this.startNode();return this.next(),t.argument=e?this.type===F.name?this.parseIdent():this.unexpected():this.type===F.name||this.type===F.bracketL?this.parseBindingAtom():this.unexpected(),this.finishNode(t,"RestElement")},G.parseBindingAtom=function(){if(this.options.ecmaVersion<6)return this.parseIdent();switch(this.type){case F.name:return this.parseIdent();case F.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(F.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case F.braceL:return this.parseObj(!0);default:this.unexpected()}},G.parseBindingList=function(e,t,n,r){for(var i=this,s=[],o=!0;!this.eat(e);)if(o?o=!1:i.expect(F.comma),t&&i.type===F.comma)s.push(null);else{if(n&&i.afterTrailingComma(e))break;if(i.type===F.ellipsis){var a=i.parseRest(r);i.parseBindingListItem(a),s.push(a),i.type===F.comma&&i.raise(i.start,"Comma is not permitted after the rest element"),i.expect(e);break}var u=i.parseMaybeDefault(i.start,i.startLoc);i.parseBindingListItem(u),s.push(u)}return s},G.parseBindingListItem=function(e){return e},G.parseMaybeDefault=function(e,t,n){if(n=n||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(F.eq))return n;var r=this.startNodeAt(e,t);return r.left=n,r.right=this.parseMaybeAssign(),this.finishNode(r,"AssignmentPattern")},G.checkLVal=function(e,t,n){var r=this;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(t?"Binding ":"Assigning to ")+e.name+" in strict mode"),n&&(c(n,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),n[e.name]=!0);break;case"MemberExpression":t&&this.raiseRecoverable(e.start,(t?"Binding":"Assigning to")+" member expression");break;case"ObjectPattern":for(var i=0;i<e.properties.length;i++)r.checkLVal(e.properties[i].value,t,n);break;case"ArrayPattern":for(var s=0;s<e.elements.length;s++){var o=e.elements[s];o&&r.checkLVal(o,t,n)}break;case"AssignmentPattern":this.checkLVal(e.left,t,n);break;case"RestElement":this.checkLVal(e.argument,t,n);break;case"ParenthesizedExpression":this.checkLVal(e.expression,t,n);break;default:this.raise(e.start,(t?"Binding":"Assigning to")+" rvalue")}};var Y=j.prototype;Y.checkPropClash=function(e,t){if(!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var n,r=e.key;switch(r.type){case"Identifier":n=r.name;break;case"Literal":n=String(r.value);break;default:return}var i=e.kind;if(this.options.ecmaVersion>=6)"__proto__"===n&&"init"===i&&(t.proto&&this.raiseRecoverable(r.start,"Redefinition of __proto__ property"),t.proto=!0);else{var s=t[n="$"+n];if(s){var o="init"!==i;(!this.strict&&!o||!s[i])&&o^s.init||this.raiseRecoverable(r.start,"Redefinition of property")}else s=t[n]={init:!1,get:!1,set:!1};s[i]=!0}}},Y.parseExpression=function(e,t){var n=this,r=this.start,i=this.startLoc,s=this.parseMaybeAssign(e,t);if(this.type===F.comma){var o=this.startNodeAt(r,i);for(o.expressions=[s];this.eat(F.comma);)o.expressions.push(n.parseMaybeAssign(e,t));return this.finishNode(o,"SequenceExpression")}return s},Y.parseMaybeAssign=function(e,t,n){if(this.inGenerator&&this.isContextual("yield"))return this.parseYield();var r=!1,i=-1;t?(i=t.parenthesizedAssign,t.parenthesizedAssign=-1):(t=new z,r=!0);var s=this.start,o=this.startLoc;this.type!=F.parenL&&this.type!=F.name||(this.potentialArrowAt=this.start);var a=this.parseMaybeConditional(e,t);if(n&&(a=n.call(this,a,s,o)),this.type.isAssign){this.checkPatternErrors(t,!0),r||z.call(t);var u=this.startNodeAt(s,o);return u.operator=this.value,u.left=this.type===F.eq?this.toAssignable(a):a,t.shorthandAssign=-1,this.checkLVal(a),this.next(),u.right=this.parseMaybeAssign(e),this.finishNode(u,"AssignmentExpression")}return r&&this.checkExpressionErrors(t,!0),i>-1&&(t.parenthesizedAssign=i),a},Y.parseMaybeConditional=function(e,t){var n=this.start,r=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(F.question)){var s=this.startNodeAt(n,r);return s.test=i,s.consequent=this.parseMaybeAssign(),this.expect(F.colon),s.alternate=this.parseMaybeAssign(e),this.finishNode(s,"ConditionalExpression")}return i},Y.parseExprOps=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)?i:this.parseExprOp(i,n,r,-1,e)},Y.parseExprOp=function(e,t,n,r,i){var s=this.type.binop;if(null!=s&&(!i||this.type!==F._in)&&s>r){var o=this.type===F.logicalOR||this.type===F.logicalAND,a=this.value;this.next();var u=this.start,c=this.startLoc,l=this.parseExprOp(this.parseMaybeUnary(null,!1),u,c,s,i),h=this.buildBinary(t,n,e,l,a,o);return this.parseExprOp(h,t,n,r,i)}return e},Y.buildBinary=function(e,t,n,r,i,s){var o=this.startNodeAt(e,t);return o.left=n,o.operator=i,o.right=r,this.finishNode(o,s?"LogicalExpression":"BinaryExpression")},Y.parseMaybeUnary=function(e,t){var n,r=this,i=this.start,s=this.startLoc;if(this.inAsync&&this.isContextual("await"))n=this.parseAwait(e),t=!0;else if(this.type.prefix){var o=this.startNode(),a=this.type===F.incDec;o.operator=this.value,o.prefix=!0,this.next(),o.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),a?this.checkLVal(o.argument):this.strict&&"delete"===o.operator&&"Identifier"===o.argument.type?this.raiseRecoverable(o.start,"Deleting local variable in strict mode"):t=!0,n=this.finishNode(o,a?"UpdateExpression":"UnaryExpression")}else{if(n=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var u=r.startNodeAt(i,s);u.operator=r.value,u.prefix=!1,u.argument=n,r.checkLVal(n),r.next(),n=r.finishNode(u,"UpdateExpression")}}return!t&&this.eat(F.starstar)?this.buildBinary(i,s,n,this.parseMaybeUnary(null,!1),"**",!1):n},Y.parseExprSubscripts=function(e){var t=this.start,n=this.startLoc,r=this.parseExprAtom(e),i="ArrowFunctionExpression"===r.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd);if(this.checkExpressionErrors(e)||i)return r;var s=this.parseSubscripts(r,t,n);return e&&"MemberExpression"===s.type&&(e.parenthesizedAssign>=s.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=s.start&&(e.parenthesizedBind=-1)),s},Y.parseSubscripts=function(e,t,n,r){for(var i,s=this,o=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd==e.end&&!this.canInsertSemicolon();;)if((i=s.eat(F.bracketL))||s.eat(F.dot)){var a=s.startNodeAt(t,n);a.object=e,a.property=i?s.parseExpression():s.parseIdent(!0),a.computed=!!i,i&&s.expect(F.bracketR),e=s.finishNode(a,"MemberExpression")}else if(!r&&s.eat(F.parenL)){var u=new z,c=s.yieldPos,l=s.awaitPos;s.yieldPos=0,s.awaitPos=0;var h=s.parseExprList(F.parenR,s.options.ecmaVersion>=8,!1,u);if(o&&!s.canInsertSemicolon()&&s.eat(F.arrow))return s.checkPatternErrors(u,!1),s.checkYieldAwaitInDefaultParams(),s.yieldPos=c,s.awaitPos=l,s.parseArrowExpression(s.startNodeAt(t,n),h,!0);s.checkExpressionErrors(u,!0),s.yieldPos=c||s.yieldPos,s.awaitPos=l||s.awaitPos;var p=s.startNodeAt(t,n);p.callee=e,p.arguments=h,e=s.finishNode(p,"CallExpression")}else{if(s.type!==F.backQuote)return e;var f=s.startNodeAt(t,n);f.tag=e,f.quasi=s.parseTemplate(),e=s.finishNode(f,"TaggedTemplateExpression")}},Y.parseExprAtom=function(e){var t,n=this.potentialArrowAt==this.start;switch(this.type){case F._super:this.inFunction||this.raise(this.start,"'super' outside of function or class");case F._this:var r=this.type===F._this?"ThisExpression":"Super";return t=this.startNode(),this.next(),this.finishNode(t,r);case F.name:var i=this.start,s=this.startLoc,o=this.parseIdent(this.type!==F.name);if(this.options.ecmaVersion>=8&&"async"===o.name&&!this.canInsertSemicolon()&&this.eat(F._function))return this.parseFunction(this.startNodeAt(i,s),!1,!1,!0);if(n&&!this.canInsertSemicolon()){if(this.eat(F.arrow))return this.parseArrowExpression(this.startNodeAt(i,s),[o],!1);if(this.options.ecmaVersion>=8&&"async"===o.name&&this.type===F.name)return o=this.parseIdent(),!this.canInsertSemicolon()&&this.eat(F.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(i,s),[o],!0)}return o;case F.regexp:var a=this.value;return t=this.parseLiteral(a.value),t.regex={pattern:a.pattern,flags:a.flags},t;case F.num:case F.string:return this.parseLiteral(this.value);case F._null:case F._true:case F._false:return t=this.startNode(),t.value=this.type===F._null?null:this.type===F._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case F.parenL:var u=this.start,c=this.parseParenAndDistinguishExpression(n);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(c)&&(e.parenthesizedAssign=u),e.parenthesizedBind<0&&(e.parenthesizedBind=u)),c;case F.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(F.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case F.braceL:return this.parseObj(!1,e);case F._function:return t=this.startNode(),this.next(),this.parseFunction(t,!1);case F._class:return this.parseClass(this.startNode(),!1);case F._new:return this.parseNew();case F.backQuote:return this.parseTemplate();default:this.unexpected()}},Y.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),this.next(),this.finishNode(t,"Literal")},Y.parseParenExpression=function(){this.expect(F.parenL);var e=this.parseExpression();return this.expect(F.parenR),e},Y.parseParenAndDistinguishExpression=function(e){var t,n=this,r=this.start,i=this.startLoc,s=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var o,a,u=this.start,c=this.startLoc,l=[],h=!0,p=!1,f=new z,d=this.yieldPos,m=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==F.parenR;){if(h?h=!1:n.expect(F.comma),s&&n.afterTrailingComma(F.parenR,!0)){p=!0;break}if(n.type===F.ellipsis){o=n.start,l.push(n.parseParenItem(n.parseRest())),n.type===F.comma&&n.raise(n.start,"Comma is not permitted after the rest element");break}n.type!==F.parenL||a||(a=n.start),l.push(n.parseMaybeAssign(!1,f,n.parseParenItem))}var g=this.start,v=this.startLoc;if(this.expect(F.parenR),e&&!this.canInsertSemicolon()&&this.eat(F.arrow))return this.checkPatternErrors(f,!1),this.checkYieldAwaitInDefaultParams(),a&&this.unexpected(a),this.yieldPos=d,this.awaitPos=m,this.parseParenArrowList(r,i,l);l.length&&!p||this.unexpected(this.lastTokStart),o&&this.unexpected(o),this.checkExpressionErrors(f,!0),this.yieldPos=d||this.yieldPos,this.awaitPos=m||this.awaitPos,l.length>1?((t=this.startNodeAt(u,c)).expressions=l,this.finishNodeAt(t,"SequenceExpression",g,v)):t=l[0]}else t=this.parseParenExpression();if(this.options.preserveParens){var y=this.startNodeAt(r,i);return y.expression=t,this.finishNode(y,"ParenthesizedExpression")}return t},Y.parseParenItem=function(e){return e},Y.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)};var X=[];Y.parseNew=function(){var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(F.dot))return e.meta=t,e.property=this.parseIdent(!0),"target"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is new.target"),this.inFunction||this.raiseRecoverable(e.start,"new.target can only be used in functions"),this.finishNode(e,"MetaProperty");var n=this.start,r=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(),n,r,!0),this.eat(F.parenL)?e.arguments=this.parseExprList(F.parenR,this.options.ecmaVersion>=8,!1):e.arguments=X,this.finishNode(e,"NewExpression")},Y.parseTemplateElement=function(){var e=this.startNode();return e.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),e.tail=this.type===F.backQuote,this.finishNode(e,"TemplateElement")},Y.parseTemplate=function(){var e=this,t=this.startNode();this.next(),t.expressions=[];var n=this.parseTemplateElement();for(t.quasis=[n];!n.tail;)e.expect(F.dollarBraceL),t.expressions.push(e.parseExpression()),e.expect(F.braceR),t.quasis.push(n=e.parseTemplateElement());return this.next(),this.finishNode(t,"TemplateLiteral")},Y.parseObj=function(e,t){var n=this,r=this.startNode(),i=!0,s={};for(r.properties=[],this.next();!this.eat(F.braceR);){if(i)i=!1;else if(n.expect(F.comma),n.afterTrailingComma(F.braceR))break;var o,a,u,c,l=n.startNode();n.options.ecmaVersion>=6&&(l.method=!1,l.shorthand=!1,(e||t)&&(u=n.start,c=n.startLoc),e||(o=n.eat(F.star))),n.parsePropertyName(l),e||!(n.options.ecmaVersion>=8)||o||l.computed||"Identifier"!==l.key.type||"async"!==l.key.name||n.type===F.parenL||n.type===F.colon||n.canInsertSemicolon()?a=!1:(a=!0,n.parsePropertyName(l,t)),n.parsePropertyValue(l,e,o,a,u,c,t),n.checkPropClash(l,s),r.properties.push(n.finishNode(l,"Property"))}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")},Y.parsePropertyValue=function(e,t,n,r,i,s,o){if((n||r)&&this.type===F.colon&&this.unexpected(),this.eat(F.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===F.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n,r);else if(this.options.ecmaVersion>=5&&!e.computed&&"Identifier"===e.key.type&&("get"===e.key.name||"set"===e.key.name)&&this.type!=F.comma&&this.type!=F.braceR){(n||r||t)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var a="get"===e.kind?0:1;if(e.value.params.length!==a){var u=e.value.start;"get"===e.kind?this.raiseRecoverable(u,"getter should have no params"):this.raiseRecoverable(u,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?((this.keywords.test(e.key.name)||(this.strict?this.reservedWordsStrict:this.reservedWords).test(e.key.name)||this.inGenerator&&"yield"==e.key.name||this.inAsync&&"await"==e.key.name)&&this.raiseRecoverable(e.key.start,"'"+e.key.name+"' can not be used as shorthand property"),e.kind="init",t?e.value=this.parseMaybeDefault(i,s,e.key):this.type===F.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,s,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected()},Y.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(F.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(F.bracketR),e.key;e.computed=!1}return e.key=this.type===F.num||this.type===F.string?this.parseExprAtom():this.parseIdent(!0)},Y.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=!1,e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},Y.parseMethod=function(e,t){var n=this.startNode(),r=this.inGenerator,i=this.inAsync,s=this.yieldPos,o=this.awaitPos,a=this.inFunction;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.inGenerator=n.generator,this.inAsync=n.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.expect(F.parenL),n.params=this.parseBindingList(F.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1),this.inGenerator=r,this.inAsync=i,this.yieldPos=s,this.awaitPos=o,this.inFunction=a,this.finishNode(n,"FunctionExpression")},Y.parseArrowExpression=function(e,t,n){var r=this.inGenerator,i=this.inAsync,s=this.yieldPos,o=this.awaitPos,a=this.inFunction;return this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.inGenerator=!1,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0),this.inGenerator=r,this.inAsync=i,this.yieldPos=s,this.awaitPos=o,this.inFunction=a,this.finishNode(e,"ArrowFunctionExpression")},Y.parseFunctionBody=function(e,t){var n=t&&this.type!==F.braceL,r=this.strict,i=!1;if(n)e.body=this.parseMaybeAssign(),e.expression=!0;else{var s=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);r&&!s||(i=this.strictDirective(this.end))&&s&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var o=this.labels;this.labels=[],i&&(this.strict=!0),e.body=this.parseBlock(!0),e.expression=!1,this.labels=o}r||i?(this.strict=!0,e.id&&this.checkLVal(e.id,!0),this.checkParams(e),this.strict=r):!t&&this.isSimpleParamList(e.params)||this.checkParams(e)},Y.isSimpleParamList=function(e){for(var t=0;t<e.length;t++)if("Identifier"!==e[t].type)return!1;return!0},Y.checkParams=function(e){for(var t=this,n={},r=0;r<e.params.length;r++)t.checkLVal(e.params[r],!0,n)},Y.parseExprList=function(e,t,n,r){for(var i=this,s=[],o=!0;!this.eat(e);){if(o)o=!1;else if(i.expect(F.comma),t&&i.afterTrailingComma(e))break;var a;n&&i.type===F.comma?a=null:i.type===F.ellipsis?(a=i.parseSpread(r),r&&i.type===F.comma&&r.trailingComma<0&&(r.trailingComma=i.start)):a=i.parseMaybeAssign(!1,r),s.push(a)}return s},Y.parseIdent=function(e){var t=this.startNode();return e&&"never"==this.options.allowReserved&&(e=!1),this.type===F.name?(!e&&(this.strict?this.reservedWordsStrict:this.reservedWords).test(this.value)&&(this.options.ecmaVersion>=6||-1==this.input.slice(this.start,this.end).indexOf("\\"))&&this.raiseRecoverable(this.start,"The keyword '"+this.value+"' is reserved"),this.inGenerator&&"yield"===this.value&&this.raiseRecoverable(this.start,"Can not use 'yield' as identifier inside a generator"),this.inAsync&&"await"===this.value&&this.raiseRecoverable(this.start,"Can not use 'await' as identifier inside an async function"),t.name=this.value):e&&this.type.keyword?t.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(t,"Identifier")},Y.parseYield=function(){this.yieldPos||(this.yieldPos=this.start);var e=this.startNode();return this.next(),this.type==F.semi||this.canInsertSemicolon()||this.type!=F.star&&!this.type.startsExpr?(e.delegate=!1,e.argument=null):(e.delegate=this.eat(F.star),e.argument=this.parseMaybeAssign()),this.finishNode(e,"YieldExpression")},Y.parseAwait=function(){this.awaitPos||(this.awaitPos=this.start);var e=this.startNode();return this.next(),e.argument=this.parseMaybeUnary(null,!0),this.finishNode(e,"AwaitExpression")};var K=j.prototype;K.raise=function(e,t){var n=l(this.input,e);t+=" ("+n.line+":"+n.column+")";var r=new SyntaxError(t);throw r.pos=e,r.loc=n,r.raisedAt=this.pos,r},K.raiseRecoverable=K.raise,K.curPosition=function(){if(this.options.locations)return new R(this.curLine,this.pos-this.lineStart)};var J=function(e,t,n){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new P(e,n)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},Q=j.prototype;Q.startNode=function(){return new J(this,this.start,this.startLoc)},Q.startNodeAt=function(e,t){return new J(this,e,t)},Q.finishNode=function(e,t){return d.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},Q.finishNodeAt=function(e,t,n,r){return d.call(this,e,t,n,r)};var Z=function(e,t,n,r){this.token=e,this.isExpr=!!t,this.preserveSpace=!!n,this.override=r},ee={b_stat:new Z("{",!1),b_expr:new Z("{",!0),b_tmpl:new Z("${",!0),p_stat:new Z("(",!1),p_expr:new Z("(",!0),q_tmpl:new Z("`",!0,!0,function(e){return e.readTmplToken()}),f_expr:new Z("function",!0)},te=j.prototype;te.initialContext=function(){return[ee.b_stat]},te.braceIsBlock=function(e){if(e===F.colon){var t=this.curContext();if(t===ee.b_stat||t===ee.b_expr)return!t.isExpr}return e===F._return?L.test(this.input.slice(this.lastTokEnd,this.start)):e===F._else||e===F.semi||e===F.eof||e===F.parenR||(e==F.braceL?this.curContext()===ee.b_stat:!this.exprAllowed)},te.updateContext=function(e){var t,n=this.type;n.keyword&&e==F.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},F.parenR.updateContext=F.braceR.updateContext=function(){if(1!=this.context.length){var e=this.context.pop();e===ee.b_stat&&this.curContext()===ee.f_expr?(this.context.pop(),this.exprAllowed=!1):this.exprAllowed=e===ee.b_tmpl||!e.isExpr}else this.exprAllowed=!0},F.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ee.b_stat:ee.b_expr),this.exprAllowed=!0},F.dollarBraceL.updateContext=function(){this.context.push(ee.b_tmpl),this.exprAllowed=!0},F.parenL.updateContext=function(e){var t=e===F._if||e===F._for||e===F._with||e===F._while;this.context.push(t?ee.p_stat:ee.p_expr),this.exprAllowed=!0},F.incDec.updateContext=function(){},F._function.updateContext=function(e){e.beforeExpr&&e!==F.semi&&e!==F._else&&(e!==F.colon&&e!==F.braceL||this.curContext()!==ee.b_stat)&&this.context.push(ee.f_expr),this.exprAllowed=!1},F.backQuote.updateContext=function(){this.curContext()===ee.q_tmpl?this.context.pop():this.context.push(ee.q_tmpl),this.exprAllowed=!1};var ne=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new P(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},re=j.prototype,ie="object"==("undefined"==typeof Packages?"undefined":r(Packages))&&"[object JavaPackage]"==Object.prototype.toString.call(Packages);re.next=function(){this.options.onToken&&this.options.onToken(new ne(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},re.getToken=function(){return this.next(),new ne(this)},"undefined"!=typeof Symbol&&(re[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===F.eof,value:t}}}}),re.curContext=function(){return this.context[this.context.length-1]},re.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(F.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},re.readToken=function(e){return n(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},re.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);return e<=55295||e>=57344?e:(e<<10)+this.input.charCodeAt(this.pos+1)-56613888},re.skipBlockComment=function(){var e=this,t=this.options.onComment&&this.curPosition(),n=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations){B.lastIndex=n;for(var i;(i=B.exec(this.input))&&i.index<this.pos;)++e.curLine,e.lineStart=i.index+i[0].length}this.options.onComment&&this.options.onComment(!0,this.input.slice(n+2,r),n,this.pos,t,this.curPosition())},re.skipLineComment=function(e){for(var t=this,n=this.pos,r=this.options.onComment&&this.curPosition(),i=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&10!==i&&13!==i&&8232!==i&&8233!==i;)++t.pos,i=t.input.charCodeAt(t.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(n+e,this.pos),n,this.pos,r,this.curPosition())},re.skipSpace=function(){var e=this;e:for(;this.pos<this.input.length;){var t=e.input.charCodeAt(e.pos);switch(t){case 32:case 160:++e.pos;break;case 13:10===e.input.charCodeAt(e.pos+1)&&++e.pos;case 10:case 8232:case 8233:++e.pos,e.options.locations&&(++e.curLine,e.lineStart=e.pos);break;case 47:switch(e.input.charCodeAt(e.pos+1)){case 42:e.skipBlockComment();break;case 47:e.skipLineComment(2);break;default:break e}break;default:if(!(t>8&&t<14||t>=5760&&D.test(String.fromCharCode(t))))break e;++e.pos}}},re.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},re.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(F.ellipsis)):(++this.pos,this.finishToken(F.dot))},re.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(F.assign,2):this.finishOp(F.slash,1)},re.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=42===e?F.star:F.modulo;return this.options.ecmaVersion>=7&&42===t&&(++n,r=F.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(F.assign,n+1):this.finishOp(r,n)},re.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.finishOp(124===e?F.logicalOR:F.logicalAND,2):61===t?this.finishOp(F.assign,2):this.finishOp(124===e?F.bitwiseOR:F.bitwiseAND,1)},re.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(F.assign,2):this.finishOp(F.bitwiseXOR,1)},re.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45==t&&62==this.input.charCodeAt(this.pos+2)&&L.test(this.input.slice(this.lastTokEnd,this.pos))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(F.incDec,2):61===t?this.finishOp(F.assign,2):this.finishOp(F.plusMin,1)},re.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+n)?this.finishOp(F.assign,n+1):this.finishOp(F.bitShift,n)):33==t&&60==e&&45==this.input.charCodeAt(this.pos+2)&&45==this.input.charCodeAt(this.pos+3)?(this.inModule&&this.unexpected(),this.skipLineComment(4),this.skipSpace(),this.nextToken()):(61===t&&(n=2),this.finishOp(F.relational,n))},re.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(F.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(F.arrow)):this.finishOp(61===e?F.eq:F.prefix,1)},re.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(F.parenL);case 41:return++this.pos,this.finishToken(F.parenR);case 59:return++this.pos,this.finishToken(F.semi);case 44:return++this.pos,this.finishToken(F.comma);case 91:return++this.pos,this.finishToken(F.bracketL);case 93:return++this.pos,this.finishToken(F.bracketR);case 123:return++this.pos,this.finishToken(F.braceL);case 125:return++this.pos,this.finishToken(F.braceR);case 58:return++this.pos,this.finishToken(F.colon);case 63:return++this.pos,this.finishToken(F.question);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(F.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 126:return this.finishOp(F.prefix,1)}this.raise(this.pos,"Unexpected character '"+g(e)+"'")},re.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)};var se=!!m("￿","u");re.readRegexp=function(){for(var e,t,n=this,r=this.pos;;){n.pos>=n.input.length&&n.raise(r,"Unterminated regular expression");var i=n.input.charAt(n.pos);if(L.test(i)&&n.raise(r,"Unterminated regular expression"),e)e=!1;else{if("["===i)t=!0;else if("]"===i&&t)t=!1;else if("/"===i&&!t)break;e="\\"===i}++n.pos}var s=this.input.slice(r,this.pos);++this.pos;var o=this.readWord1(),a=s,u="";if(o){var c=/^[gim]*$/;this.options.ecmaVersion>=6&&(c=/^[gimuy]*$/),c.test(o)||this.raise(r,"Invalid regular expression flag"),o.indexOf("u")>=0&&(se?u="u":(a=(a=a.replace(/\\u\{([0-9a-fA-F]+)\}/g,function(e,t,i){return(t=Number("0x"+t))>1114111&&n.raise(r+i+3,"Code point out of bounds"),"x"})).replace(/\\u([a-fA-F0-9]{4})|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"x"),u=u.replace("u","")))}var l=null;return ie||(m(a,u,r,this),l=m(s,o)),this.finishToken(F.regexp,{pattern:s,flags:o,value:l})},re.readInt=function(e,t){for(var n=this,r=this.pos,i=0,s=0,o=null==t?1/0:t;s<o;++s){var a,u=n.input.charCodeAt(n.pos);if((a=u>=97?u-97+10:u>=65?u-65+10:u>=48&&u<=57?u-48:1/0)>=e)break;++n.pos,i=i*e+a}return this.pos===r||null!=t&&this.pos-r!==t?null:i},re.readRadixNumber=function(e){this.pos+=2;var t=this.readInt(e);return null==t&&this.raise(this.start+2,"Expected number in radix "+e),n(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(F.num,t)},re.readNumber=function(e){var t=this.pos,r=!1,i=48===this.input.charCodeAt(this.pos);e||null!==this.readInt(10)||this.raise(t,"Invalid number"),i&&this.pos==t+1&&(i=!1);var s=this.input.charCodeAt(this.pos);46!==s||i||(++this.pos,this.readInt(10),r=!0,s=this.input.charCodeAt(this.pos)),69!==s&&101!==s||i||(43!==(s=this.input.charCodeAt(++this.pos))&&45!==s||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number"),r=!0),n(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var o,a=this.input.slice(t,this.pos);return r?o=parseFloat(a):i&&1!==a.length?/[89]/.test(a)||this.strict?this.raise(t,"Invalid number"):o=parseInt(a,8):o=parseInt(a,10),this.finishToken(F.num,o)},re.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.raise(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},re.readString=function(e){for(var t=this,n="",r=++this.pos;;){t.pos>=t.input.length&&t.raise(t.start,"Unterminated string constant");var i=t.input.charCodeAt(t.pos);if(i===e)break;92===i?(n+=t.input.slice(r,t.pos),n+=t.readEscapedChar(!1),r=t.pos):(a(i)&&t.raise(t.start,"Unterminated string constant"),++t.pos)}return n+=this.input.slice(r,this.pos++),this.finishToken(F.string,n)},re.readTmplToken=function(){for(var e=this,t="",n=this.pos;;){e.pos>=e.input.length&&e.raise(e.start,"Unterminated template");var r=e.input.charCodeAt(e.pos);if(96===r||36===r&&123===e.input.charCodeAt(e.pos+1))return e.pos===e.start&&e.type===F.template?36===r?(e.pos+=2,e.finishToken(F.dollarBraceL)):(++e.pos,e.finishToken(F.backQuote)):(t+=e.input.slice(n,e.pos),e.finishToken(F.template,t));if(92===r)t+=e.input.slice(n,e.pos),t+=e.readEscapedChar(!0),n=e.pos;else if(a(r)){switch(t+=e.input.slice(n,e.pos),++e.pos,r){case 13:10===e.input.charCodeAt(e.pos)&&++e.pos;case 10:t+="\n";break;default:t+=String.fromCharCode(r)}e.options.locations&&(++e.curLine,e.lineStart=e.pos),n=e.pos}else++e.pos}},re.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return g(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";default:if(t>=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],r=parseInt(n,8);return r>255&&(n=n.slice(0,-1),r=parseInt(n,8)),"0"!==n&&(this.strict||e)&&this.raise(this.pos-2,"Octal literal in strict mode"),this.pos+=n.length-1,String.fromCharCode(r)}return String.fromCharCode(t)}},re.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return null===n&&this.raise(t,"Bad character escape sequence"),n},re.readWord1=function(){var e=this;this.containsEsc=!1;for(var t="",r=!0,s=this.pos,o=this.options.ecmaVersion>=6;this.pos<this.input.length;){var a=e.fullCharCodeAtPos();if(i(a,o))e.pos+=a<=65535?1:2;else{if(92!==a)break;e.containsEsc=!0,t+=e.input.slice(s,e.pos);var u=e.pos;117!=e.input.charCodeAt(++e.pos)&&e.raise(e.pos,"Expecting Unicode escape sequence \\uXXXX"),++e.pos;var c=e.readCodePoint();(r?n:i)(c,o)||e.raise(u,"Invalid Unicode escape"),t+=g(c),s=e.pos}r=!1}return t+this.input.slice(s,this.pos)},re.readWord=function(){var e=this.readWord1(),t=F.name;return this.keywords.test(e)&&(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+e),t=O[e]),this.finishToken(t,e)};e.version="4.0.11",e.parse=function(e,t){return new j(t,e).parse()},e.parseExpressionAt=function(e,t,n){var r=new j(n,e,t);return r.nextToken(),r.parseExpression()},e.tokenizer=function(e,t){return new j(t,e)},e.addLooseExports=function(t,n,r){e.parse_dammit=t,e.LooseParser=n,e.pluginsLoose=r},e.Parser=j,e.plugins=I,e.defaultOptions=M,e.Position=R,e.SourceLocation=P,e.getLineInfo=l,e.Node=J,e.TokenType=C,e.tokTypes=F,e.keywordTypes=O,e.TokContext=Z,e.tokContexts=ee,e.isIdentifierChar=i,e.isIdentifierStart=n,e.Token=ne,e.isNewLine=a,e.lineBreak=L,e.lineBreakG=B,Object.defineProperty(e,"__esModule",{value:!0})})},{}],156:[function(e,t,n){"use strict";var r=e("acorn"),i=e("object-assign");t.exports=function(e,t){t=i({},s,t);try{var n=new r.Parser(t,e,0);t.strict&&(n.strict=!0),t.lineComment||(n.skipLineComment=function(e){this.raise(this.pos,"Line comments not allowed in an expression")}),n.nextToken(),n.parseExpression(),n.type!==r.tokTypes.eof&&n.unexpected()}catch(e){if(!t.throw)return!1;throw e}return!0};var s={throw:!1,strict:!1,lineComment:!1}},{acorn:155,"object-assign":126}],157:[function(e,t,n){"use strict";function r(){throw e("pug-error").apply(null,arguments)}function i(e){p("Block"===e.type,"The top level element should always be a block");var t=null;if(e.nodes.length){var n="Extends"===e.nodes[0].type;h(e,n),n&&(t=e.nodes.shift())}if(e=u(e),e.declaredBlocks=s(e),t){var o=[],c=[];e.nodes.forEach(function e(t){"NamedBlock"===t.type?c.push(t):"Block"===t.type?t.nodes.forEach(e):"Mixin"===t.type&&!1===t.call?o.push(t):r("UNEXPECTED_NODES_IN_EXTENDING_ROOT","Only named blocks and mixins can appear at the top level of an extending template",t)});var l=i(t.file.ast);a(l.declaredBlocks,e);var d=[];return f(l,function(e){"NamedBlock"===e.type&&d.push(e.name)}),c.forEach(function(e){-1===d.indexOf(e.name)&&r("UNEXPECTED_BLOCK","Unexpected block "+e.name,e)}),Object.keys(e.declaredBlocks).forEach(function(t){l.declaredBlocks[t]=e.declaredBlocks[t]}),l.nodes=o.concat(l.nodes),l.hasExtends=!0,l}return e}function s(e){var t={};return f(e,function(e){"NamedBlock"===e.type&&"replace"===e.mode&&(t[e.name]=t[e.name]||[],t[e.name].push(e))}),t}function o(e,t){return t=t||[],e.forEach(function(e){e.parents&&o(e.parents,t),t.push(e)}),t}function a(e,t){var n={};f(t,function(t){if("NamedBlock"===t.type){if(n[t.name]===t.name)return t.ignore=!0;n[t.name]=t.name;var r=e[t.name]?o(e[t.name]):[];r.length&&(t.parents=r,r.forEach(function(e){switch(t.mode){case"append":e.nodes=e.nodes.concat(t.nodes);break;case"prepend":e.nodes=t.nodes.concat(e.nodes);break;case"replace":e.nodes=t.nodes}}))}},function(e){"NamedBlock"!==e.type||e.ignore||delete n[e.name]})}function u(e,t){return f(e,function(e,t){"RawInclude"===e.type&&t({type:"Text",val:e.file.str.replace(/\r/g,"")})},function(e,t){if("Include"===e.type){var n=i(e.file.ast);n.hasExtends&&(n=c(n)),t(l(n,e.block))}})}function c(e){return f(e,function(e,t){"NamedBlock"===e.type&&t({type:"Block",nodes:e.nodes})})}function l(e,t){function n(e){for(var t=e,r=0;r<e.nodes.length;r++)e.nodes[r].textOnly||("Block"===e.nodes[r].type?t=n(e.nodes[r]):e.nodes[r].block&&e.nodes[r].block.nodes.length&&(t=n(e.nodes[r].block)));return t}if(!t||!t.nodes.length)return e;var r=!1;return e=f(e,null,function(e,n){"YieldBlock"===e.type&&(r=!0,e.type="Block",e.nodes=[t])}),r||n(e).nodes.push(t),e}function h(e,t){var n=!1;f(e,function(e){"Extends"===e.type&&(t&&!n?n=!0:r("EXTENDS_NOT_FIRST",'Declaration of template inheritance ("extends") should be the first thing in the file. There can only be one extends statement per file.',e))})}var p=e("assert"),f=e("pug-walk");t.exports=i},{assert:1,"pug-error":138,"pug-walk":168}],158:[function(e,t,n){"use strict";function r(e,t){return t=i(t),e=JSON.parse(JSON.stringify(e)),u(e,function(e){if(void 0===e.str&&("Include"===e.type||"RawInclude"===e.type||"Extends"===e.type)){var n=e.file;if("FileReference"!==n.type)throw new Error('Expected file.type to be "FileReference"');var i,s;try{i=t.resolve(n.path,n.filename,t),n.fullPath=i,s=t.read(i,t)}catch(t){throw t.message+="\n at "+e.filename+" line "+e.line,t}n.str=s,"Extends"!==e.type&&"Include"!==e.type||(n.ast=r.string(s,c({},t,{filename:i})))}})}function i(e){return r.validateOptions(e),c({resolve:r.resolve,read:r.read},e)}var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=e("fs"),a=e("path"),u=e("pug-walk"),c=e("object-assign");t.exports=r,r.string=function(e,t){var n=(t=c(i(t),{src:e})).lex(e,t);return r(t.parse(n,t),t)},r.file=function(e,t){var n=(t=c(i(t),{filename:e})).read(e);return r.string(n,t)},r.resolve=function(e,t,n){if("/"!==(e=e.trim())[0]&&!t)throw new Error('the "filename" option is required to use includes and extends with "relative" paths');if("/"===e[0]&&!n.basedir)throw new Error('the "basedir" option is required to use includes and extends with "absolute" paths');return e=a.join("/"===e[0]?n.basedir:a.dirname(t.trim()),e)},r.read=function(e,t){return o.readFileSync(e,"utf8")},r.validateOptions=function(e){if("object"!==(void 0===e?"undefined":s(e)))throw new TypeError("options must be an object");if("function"!=typeof e.lex)throw new TypeError("options.lex must be a function");if("function"!=typeof e.parse)throw new TypeError("options.parse must be a function");if(e.resolve&&"function"!=typeof e.resolve)throw new TypeError("options.resolve must be a function");if(e.read&&"function"!=typeof e.read)throw new TypeError("options.read must be a function")}},{fs:4,"object-assign":126,path:15,"pug-walk":168}],159:[function(e,t,n){"use strict";function r(e,t){if(t=t||{},!Array.isArray(e))throw new Error('Expected tokens to be an Array but got "'+(void 0===e?"undefined":i(e))+'"');if("object"!==(void 0===t?"undefined":i(t)))throw new Error('Expected "options" to be an object but got "'+(void 0===t?"undefined":i(t))+'"');this.tokens=new o(e),this.filename=t.filename,this.src=t.src,this.inMixin=0,this.plugins=t.plugins||[]}var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s=e("assert"),o=e("token-stream"),a=e("pug-error"),u=e("./lib/inline-tags");t.exports=function(e,t){var n=new r(e,t).parse();return JSON.parse(JSON.stringify(n))},t.exports.Parser=r,r.prototype={constructor:r,error:function(e,t,n){throw a(e,t,{line:n.line,column:n.col,filename:this.filename,src:this.src})},advance:function(){return this.tokens.advance()},peek:function(){return this.tokens.peek()},lookahead:function(e){return this.tokens.lookahead(e)},parse:function(){for(var e=this.emptyBlock(0);"eos"!=this.peek().type;)if("newline"==this.peek().type)this.advance();else if("text-html"==this.peek().type)e.nodes=e.nodes.concat(this.parseTextHtml());else{var t=this.parseExpr();t&&("Block"===t.type?e.nodes=e.nodes.concat(t.nodes):e.nodes.push(t))}return e},expect:function(e){if(this.peek().type===e)return this.advance();this.error("INVALID_TOKEN",'expected "'+e+'", but got "'+this.peek().type+'"',this.peek())},accept:function(e){if(this.peek().type===e)return this.advance()},initBlock:function(e,t){if((0|e)!==e)throw new Error("`line` is not an integer");if(!Array.isArray(t))throw new Error("`nodes` is not an array");return{type:"Block",nodes:t,line:e,filename:this.filename}},emptyBlock:function(e){return this.initBlock(e,[])},runPlugin:function(e,t){for(var n=[this],r=2;r<arguments.length;r++)n.push(arguments[r]);for(var i,r=0;r<this.plugins.length;r++){var s=this.plugins[r];if(s[e]&&s[e][t.type]){if(i)throw new Error("Multiple plugin handlers found for context "+JSON.stringify(e)+", token type "+JSON.stringify(t.type));i=s[e]}}if(i)return i[t.type].apply(i,n)},parseExpr:function(){switch(this.peek().type){case"tag":return this.parseTag();case"mixin":return this.parseMixin();case"block":return this.parseBlock();case"mixin-block":return this.parseMixinBlock();case"case":return this.parseCase();case"extends":return this.parseExtends();case"include":return this.parseInclude();case"doctype":return this.parseDoctype();case"filter":return this.parseFilter();case"comment":return this.parseComment();case"text":case"interpolated-code":case"start-pug-interpolation":return this.parseText({block:!0});case"text-html":return this.initBlock(this.peek().line,this.parseTextHtml());case"dot":return this.parseDot();case"each":return this.parseEach();case"code":return this.parseCode();case"blockcode":return this.parseBlockCode();case"if":return this.parseConditional();case"while":return this.parseWhile();case"call":return this.parseCall();case"interpolation":return this.parseInterpolation();case"yield":return this.parseYield();case"id":case"class":return this.tokens.defer({type:"tag",val:"div",line:this.peek().line,col:this.peek().col,filename:this.filename}),this.parseExpr();default:var e=this.runPlugin("expressionTokens",this.peek());if(e)return e;this.error("INVALID_TOKEN",'unexpected token "'+this.peek().type+'"',this.peek())}},parseDot:function(){return this.advance(),this.parseTextBlock()},parseText:function(e){var t=[],n=this.peek().line,r=this.peek();e:for(;;){switch(r.type){case"text":i=this.advance();t.push({type:"Text",val:i.val,line:i.line,column:i.col,filename:this.filename});break;case"interpolated-code":i=this.advance();t.push({type:"Code",val:i.val,buffer:i.buffer,mustEscape:!1!==i.mustEscape,isInline:!0,line:i.line,column:i.col,filename:this.filename});break;case"newline":if(!e||!e.block)break e;var i=this.advance(),s=this.peek().type;"text"!==s&&"interpolated-code"!==s||t.push({type:"Text",val:"\n",line:i.line,column:i.col,filename:this.filename});break;case"start-pug-interpolation":this.advance(),t.push(this.parseExpr()),this.expect("end-pug-interpolation");break;default:if(this.runPlugin("textTokens",r,t))break;break e}r=this.peek()}return 1===t.length?t[0]:this.initBlock(n,t)},parseTextHtml:function(){var e=[],t=null;e:for(;;)switch(this.peek().type){case"text-html":var n=this.advance();t?t.val+="\n"+n.val:(t={type:"Text",val:n.val,filename:this.filename,line:n.line,column:n.col,isHtml:!0},e.push(t));break;case"indent":this.block().nodes.forEach(function(n){n.isHtml?t?t.val+="\n"+n.val:(t=n,e.push(t)):(t=null,e.push(n))});break;case"code":t=null,e.push(this.parseCode(!0));break;case"newline":this.advance();break;default:break e}return e},parseBlockExpansion:function(){var e=this.accept(":");if(e){var t=this.parseExpr();return"Block"===t.type?t:this.initBlock(e.line,[t])}return this.block()},parseCase:function(){var e=this.expect("case"),t={type:"Case",expr:e.val,line:e.line,column:e.col,filename:this.filename},n=this.emptyBlock(e.line+1);for(this.expect("indent");"outdent"!=this.peek().type;)switch(this.peek().type){case"comment":case"newline":this.advance();break;case"when":n.nodes.push(this.parseWhen());break;case"default":n.nodes.push(this.parseDefault());break;default:if(this.runPlugin("caseTokens",this.peek(),n))break;this.error("INVALID_TOKEN",'Unexpected token "'+this.peek().type+'", expected "when", "default" or "newline"',this.peek())}return this.expect("outdent"),t.block=n,t},parseWhen:function(){var e=this.expect("when");return"newline"!==this.peek().type?{type:"When",expr:e.val,block:this.parseBlockExpansion(),debug:!1,line:e.line,column:e.col,filename:this.filename}:{type:"When",expr:e.val,debug:!1,line:e.line,column:e.col,filename:this.filename}},parseDefault:function(){var e=this.expect("default");return{type:"When",expr:"default",block:this.parseBlockExpansion(),debug:!1,line:e.line,column:e.col,filename:this.filename}},parseCode:function(e){var t=this.expect("code");s("boolean"==typeof t.mustEscape,"Please update to the newest version of pug-lexer.");var n={type:"Code",val:t.val,buffer:t.buffer,mustEscape:!1!==t.mustEscape,isInline:!!e,line:t.line,column:t.col,filename:this.filename};if(n.val.match(/^ *else/)&&(n.debug=!1),e)return n;return"indent"==this.peek().type&&(t.buffer&&this.error("BLOCK_IN_BUFFERED_CODE","Buffered code cannot have a block attached to it",this.peek()),n.block=this.block()),n},parseConditional:function(){var e=this.expect("if"),t={type:"Conditional",test:e.val,consequent:this.emptyBlock(e.line),alternate:null,line:e.line,column:e.col,filename:this.filename};"indent"==this.peek().type&&(t.consequent=this.block());for(var n=t;;)if("newline"===this.peek().type)this.expect("newline");else{if("else-if"!==this.peek().type){if("else"===this.peek().type){this.expect("else"),"indent"===this.peek().type&&(n.alternate=this.block());break}break}e=this.expect("else-if"),n=n.alternate={type:"Conditional",test:e.val,consequent:this.emptyBlock(e.line),alternate:null,line:e.line,column:e.col,filename:this.filename},"indent"==this.peek().type&&(n.consequent=this.block())}return t},parseWhile:function(){var e=this.expect("while"),t={type:"While",test:e.val,line:e.line,column:e.col,filename:this.filename};return"indent"==this.peek().type?t.block=this.block():t.block=this.emptyBlock(e.line),t},parseBlockCode:function(){var e=this.expect("blockcode"),t=e.line,n=e.col,r="";if("start-pipeless-text"===this.peek().type){for(this.advance();"end-pipeless-text"!==this.peek().type;)switch((e=this.advance()).type){case"text":r+=e.val;break;case"newline":r+="\n";break;default:var i=this.runPlugin("blockCodeTokens",e,e);if(i){r+=i;break}this.error("INVALID_TOKEN","Unexpected token type: "+e.type,e)}this.advance()}return{type:"Code",val:r,buffer:!1,mustEscape:!1,isInline:!1,line:t,column:n,filename:this.filename}},parseComment:function(){var e,t=this.expect("comment");return(e=this.parseTextBlock())?{type:"BlockComment",val:t.val,block:e,buffer:t.buffer,line:t.line,column:t.col,filename:this.filename}:{type:"Comment",val:t.val,buffer:t.buffer,line:t.line,column:t.col,filename:this.filename}},parseDoctype:function(){var e=this.expect("doctype");return{type:"Doctype",val:e.val,line:e.line,column:e.col,filename:this.filename}},parseIncludeFilter:function(){var e=this.expect("filter"),t=[];return"start-attributes"===this.peek().type&&(t=this.attrs()),{type:"IncludeFilter",name:e.val,attrs:t,line:e.line,column:e.col,filename:this.filename}},parseFilter:function(){var e,t=this.expect("filter"),n=[];if("start-attributes"===this.peek().type&&(n=this.attrs()),"text"===this.peek().type){var r=this.advance();e=this.initBlock(r.line,[{type:"Text",val:r.val,line:r.line,column:r.col,filename:this.filename}])}else e="filter"===this.peek().type?this.initBlock(t.line,[this.parseFilter()]):this.parseTextBlock()||this.emptyBlock(t.line);return{type:"Filter",name:t.val,block:e,attrs:n,line:t.line,column:t.col,filename:this.filename}},parseEach:function(){var e=this.expect("each"),t={type:"Each",obj:e.code,val:e.val,key:e.key,block:this.block(),line:e.line,column:e.col,filename:this.filename};return"else"==this.peek().type&&(this.advance(),t.alternate=this.block()),t},parseExtends:function(){var e=this.expect("extends"),t=this.expect("path");return{type:"Extends",file:{type:"FileReference",path:t.val.trim(),line:t.line,column:t.col,filename:this.filename},line:e.line,column:e.col,filename:this.filename}},parseBlock:function(){var e=this.expect("block"),t="indent"==this.peek().type?this.block():this.emptyBlock(e.line);return t.type="NamedBlock",t.name=e.val.trim(),t.mode=e.mode,t.line=e.line,t.column=e.col,t},parseMixinBlock:function(){var e=this.expect("mixin-block");return this.inMixin||this.error("BLOCK_OUTISDE_MIXIN","Anonymous blocks are not allowed unless they are part of a mixin.",e),{type:"MixinBlock",line:e.line,column:e.col,filename:this.filename}},parseYield:function(){var e=this.expect("yield");return{type:"YieldBlock",line:e.line,column:e.col,filename:this.filename}},parseInclude:function(){for(var e=this.expect("include"),t={type:"Include",file:{type:"FileReference",filename:this.filename},line:e.line,column:e.col,filename:this.filename},n=[];"filter"===this.peek().type;)n.push(this.parseIncludeFilter());var r=this.expect("path");return t.file.path=r.val.trim(),t.file.line=r.line,t.file.column=r.col,!/\.jade$/.test(t.file.path)&&!/\.pug$/.test(t.file.path)||n.length?(t.type="RawInclude",t.filters=n,"indent"===this.peek().type&&this.error("RAW_INCLUDE_BLOCK","Raw inclusion cannot contain a block",this.peek())):(t.block="indent"==this.peek().type?this.block():this.emptyBlock(e.line),/\.jade$/.test(t.file.path)&&console.warn(this.filename+", line "+e.line+':\nThe .jade extension is deprecated, use .pug for "'+t.file.path+'".')),t},parseCall:function(){var e=this.expect("call"),t={type:"Mixin",name:e.val,args:e.args,block:this.emptyBlock(e.line),call:!0,attrs:[],attributeBlocks:[],line:e.line,column:e.col,filename:this.filename};return this.tag(t),t.code&&(t.block.nodes.push(t.code),delete t.code),0===t.block.nodes.length&&(t.block=null),t},parseMixin:function(){var e=this.expect("mixin"),t=e.val,n=e.args;if("indent"==this.peek().type){this.inMixin++;var r={type:"Mixin",name:t,args:n,block:this.block(),call:!1,line:e.line,column:e.col,filename:this.filename};return this.inMixin--,r}this.error("MIXIN_WITHOUT_BODY","Mixin "+t+" declared without body",e)},parseTextBlock:function(){var e=this.accept("start-pipeless-text");if(e){for(var t=this.emptyBlock(e.line);"end-pipeless-text"!==this.peek().type;)switch((e=this.advance()).type){case"text":t.nodes.push({type:"Text",val:e.val,line:e.line,column:e.col,filename:this.filename});break;case"newline":t.nodes.push({type:"Text",val:"\n",line:e.line,column:e.col,filename:this.filename});break;case"start-pug-interpolation":t.nodes.push(this.parseExpr()),this.expect("end-pug-interpolation");break;case"interpolated-code":t.nodes.push({type:"Code",val:e.val,buffer:e.buffer,mustEscape:!1!==e.mustEscape,isInline:!0,line:e.line,column:e.col,filename:this.filename});break;default:if(this.runPlugin("textBlockTokens",e,t,e))break;this.error("INVALID_TOKEN","Unexpected token type: "+e.type,e)}return this.advance(),t}},block:function(){for(var e=this.expect("indent"),t=this.emptyBlock(e.line);"outdent"!=this.peek().type;)if("newline"==this.peek().type)this.advance();else if("text-html"==this.peek().type)t.nodes=t.nodes.concat(this.parseTextHtml());else{var n=this.parseExpr();"Block"===n.type?t.nodes=t.nodes.concat(n.nodes):t.nodes.push(n)}return this.expect("outdent"),t},parseInterpolation:function(){var e=this.advance(),t={type:"InterpolatedTag",expr:e.val,selfClosing:!1,block:this.emptyBlock(e.line),attrs:[],attributeBlocks:[],isInline:!1,line:e.line,column:e.col,filename:this.filename};return this.tag(t,{selfClosingAllowed:!0})},parseTag:function(){var e=this.advance(),t={type:"Tag",name:e.val,selfClosing:!1,block:this.emptyBlock(e.line),attrs:[],attributeBlocks:[],isInline:-1!==u.indexOf(e.val),line:e.line,column:e.col,filename:this.filename};return this.tag(t,{selfClosingAllowed:!0})},tag:function(e,t){var n=!1,r=[],i=t&&t.selfClosingAllowed;e:for(;;)switch(this.peek().type){case"id":case"class":"id"===(s=this.advance()).type&&(-1!==r.indexOf("id")&&this.error("DUPLICATE_ID",'Duplicate attribute "id" is not allowed.',s),r.push("id")),e.attrs.push({name:s.type,val:"'"+s.val+"'",line:s.line,column:s.col,filename:this.filename,mustEscape:!1});continue;case"start-attributes":n&&console.warn(this.filename+", line "+this.peek().line+":\nYou should not have pug tags with multiple attributes."),n=!0,e.attrs=e.attrs.concat(this.attrs(r));continue;case"&attributes":var s=this.advance();e.attributeBlocks.push({type:"AttributeBlock",val:s.val,line:s.line,column:s.col,filename:this.filename});break;default:if(u=this.runPlugin("tagAttributeTokens",this.peek(),e,r))break;break e}switch("dot"==this.peek().type&&(e.textOnly=!0,this.advance()),this.peek().type){case"text":case"interpolated-code":var o=this.parseText();"Block"===o.type?e.block.nodes.push.apply(e.block.nodes,o.nodes):e.block.nodes.push(o);break;case"code":e.block.nodes.push(this.parseCode(!0));break;case":":this.advance();var a=this.parseExpr();e.block="Block"===a.type?a:this.initBlock(e.line,[a]);break;case"newline":case"indent":case"outdent":case"eos":case"start-pipeless-text":case"end-pug-interpolation":break;case"slash":if(i){this.advance(),e.selfClosing=!0;break}default:var u=this.runPlugin("tagTokens",this.peek(),e,t);if(u)break;this.error("INVALID_TOKEN","Unexpected token `"+this.peek().type+"` expected `text`, `interpolated-code`, `code`, `:`"+(i?", `slash`":"")+", `newline` or `eos`",this.peek())}for(;"newline"==this.peek().type;)this.advance();if(e.textOnly)e.block=this.parseTextBlock()||this.emptyBlock(e.line);else if("indent"==this.peek().type)for(var c=this.block(),l=0,h=c.nodes.length;l<h;++l)e.block.nodes.push(c.nodes[l]);return e},attrs:function(e){this.expect("start-attributes");for(var t=[],n=this.advance();"attribute"===n.type;)"class"!==n.name&&e&&(-1!==e.indexOf(n.name)&&this.error("DUPLICATE_ATTRIBUTE",'Duplicate attribute "'+n.name+'" is not allowed.',n),e.push(n.name)),t.push({name:n.name,val:n.val,line:n.line,column:n.col,filename:this.filename,mustEscape:!1!==n.mustEscape}),n=this.advance();return this.tokens.defer(n),this.expect("end-attributes"),t}}},{"./lib/inline-tags":160,assert:1,"pug-error":138,"token-stream":187}],160:[function(e,t,n){"use strict";t.exports=["a","abbr","acronym","b","br","code","em","font","i","img","ins","kbd","map","samp","small","span","strong","sub","sup"]},{}],161:[function(e,t,n){"use strict";e("fs");var r=e("./lib/dependencies.js"),i=e("./lib/internals.js"),s=e("./lib/sources.js");t.exports=function(e){var t=[];e=e.filter(function(e){return!i[e]});for(var n=0;n<e.length;n++)-1===t.indexOf(e[n])&&(t.push(e[n]),e.push.apply(e,r[e[n]]));return t.sort().map(function(e){return s[e]}).join("\n")}},{"./lib/dependencies.js":163,"./lib/internals.js":164,"./lib/sources.js":165,fs:3}],162:[function(e,t,n){"use strict";function r(e,t){if(1===arguments.length){for(var n=e[0],i=1;i<e.length;i++)n=r(n,e[i]);return n}for(var s in t)if("class"===s){o=e[s]||[];e[s]=(Array.isArray(o)?o:[o]).concat(t[s]||[])}else if("style"===s){var o=a(e[s]),u=a(t[s]);e[s]=o+u}else e[s]=t[s];return e}function i(e,t){for(var n,r="",i="",s=Array.isArray(t),a=0;a<e.length;a++)(n=o(e[a]))&&(s&&t[a]&&(n=c(n)),r=r+i+n,i=" ");return r}function s(e){var t="",n="";for(var r in e)r&&e[r]&&p.call(e,r)&&(t=t+n+r,n=" ");return t}function o(e,t){return Array.isArray(e)?i(e,t):e&&"object"===(void 0===e?"undefined":h(e))?s(e):e||""}function a(e){if(!e)return"";if("object"===(void 0===e?"undefined":h(e))){var t="";for(var n in e)p.call(e,n)&&(t=t+n+":"+e[n]+";");return t}return";"!==(e+="")[e.length-1]?e+";":e}function u(e,t,n,r){return!1!==t&&null!=t&&(t||"class"!==e&&"style"!==e)?!0===t?" "+(r?e:e+'="'+e+'"'):("function"==typeof t.toJSON&&(t=t.toJSON()),"string"==typeof t||(t=JSON.stringify(t),n||-1===t.indexOf('"'))?(n&&(t=c(t))," "+e+'="'+t+'"'):" "+e+"='"+t.replace(/'/g,"&#39;")+"'"):""}function c(e){var t=""+e,n=f.exec(t);if(!n)return e;var r,i,s,o="";for(r=n.index,i=0;r<t.length;r++){switch(t.charCodeAt(r)){case 34:s="&quot;";break;case 38:s="&amp;";break;case 60:s="&lt;";break;case 62:s="&gt;";break;default:continue}i!==r&&(o+=t.substring(i,r)),i=r+1,o+=s}return i!==r?o+t.substring(i,r):o}function l(t,n,r,i){if(!(t instanceof Error))throw t;if(!("undefined"==typeof window&&n||i))throw t.message+=" on line "+r,t;try{i=i||e("fs").readFileSync(n,"utf8")}catch(e){l(t,null,r)}var s=3,o=i.split("\n"),a=Math.max(r-s,0),u=Math.min(o.length,r+s),s=o.slice(a,u).map(function(e,t){var n=t+a+1;return(n==r?" > ":" ")+n+"| "+e}).join("\n");throw t.path=n,t.message=(n||"Pug")+":"+r+"\n"+s+"\n\n"+t.message,t}var h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p=Object.prototype.hasOwnProperty;n.merge=r,n.classes=o,n.style=a,n.attr=u,n.attrs=function(e,t){var n="";for(var r in e)if(p.call(e,r)){var i=e[r];if("class"===r){n=u(r,i=o(i),!1,t)+n;continue}"style"===r&&(i=a(i)),n+=u(r,i,!1,t)}return n};var f=/["&<>]/;n.escape=c,n.rethrow=l},{fs:3}],163:[function(e,t,n){"use strict";t.exports={has_own_property:[],merge:["style"],classes_array:["classes","escape"],classes_object:["has_own_property"],classes:["classes_array","classes_object"],style:["has_own_property"],attr:["escape"],attrs:["attr","classes","has_own_property","style"],match_html:[],escape:["match_html"],rethrow:[]}},{}],164:[function(e,t,n){"use strict";t.exports={dependencies:!0,internals:!0,has_own_property:!0,classes_array:!0,classes_object:!0,match_html:!0}},{}],165:[function(e,t,n){"use strict";t.exports={has_own_property:"var pug_has_own_property=Object.prototype.hasOwnProperty;",merge:'function pug_merge(r,e){if(1===arguments.length){for(var t=r[0],a=1;a<r.length;a++)t=pug_merge(t,r[a]);return t}for(var g in e)if("class"===g){var l=r[g]||[];r[g]=(Array.isArray(l)?l:[l]).concat(e[g]||[])}else if("style"===g){var l=pug_style(r[g]),n=pug_style(e[g]);r[g]=l+n}else r[g]=e[g];return r}',classes_array:'function pug_classes_array(r,a){for(var s,e="",u="",c=Array.isArray(a),g=0;g<r.length;g++)s=pug_classes(r[g]),s&&(c&&a[g]&&(s=pug_escape(s)),e=e+u+s,u=" ");return e}',classes_object:'function pug_classes_object(r){var a="",n="";for(var o in r)o&&r[o]&&pug_has_own_property.call(r,o)&&(a=a+n+o,n=" ");return a}',classes:'function pug_classes(s,r){return Array.isArray(s)?pug_classes_array(s,r):s&&"object"==typeof s?pug_classes_object(s):s||""}',style:'function pug_style(r){if(!r)return"";if("object"==typeof r){var t="";for(var e in r)pug_has_own_property.call(r,e)&&(t=t+e+":"+r[e]+";");return t}return r+="",";"!==r[r.length-1]?r+";":r}',attr:'function pug_attr(t,e,n,f){return e!==!1&&null!=e&&(e||"class"!==t&&"style"!==t)?e===!0?" "+(f?t:t+\'="\'+t+\'"\'):("function"==typeof e.toJSON&&(e=e.toJSON()),"string"==typeof e||(e=JSON.stringify(e),n||e.indexOf(\'"\')===-1)?(n&&(e=pug_escape(e))," "+t+\'="\'+e+\'"\'):" "+t+"=\'"+e.replace(/\'/g,"&#39;")+"\'"):""}',attrs:'function pug_attrs(t,r){var a="";for(var s in t)if(pug_has_own_property.call(t,s)){var u=t[s];if("class"===s){u=pug_classes(u),a=pug_attr(s,u,!1,r)+a;continue}"style"===s&&(u=pug_style(u)),a+=pug_attr(s,u,!1,r)}return a}',match_html:'var pug_match_html=/["&<>]/;',escape:'function pug_escape(e){var a=""+e,t=pug_match_html.exec(a);if(!t)return e;var r,c,n,s="";for(r=t.index,c=0;r<a.length;r++){switch(a.charCodeAt(r)){case 34:n="&quot;";break;case 38:n="&amp;";break;case 60:n="&lt;";break;case 62:n="&gt;";break;default:continue}c!==r&&(s+=a.substring(c,r)),c=r+1,s+=n}return c!==r?s+a.substring(c,r):s}',rethrow:'function pug_rethrow(n,e,r,t){if(!(n instanceof Error))throw n;if(!("undefined"==typeof window&&e||t))throw n.message+=" on line "+r,n;try{t=t||require("fs").readFileSync(e,"utf8")}catch(e){pug_rethrow(n,null,r)}var i=3,a=t.split("\\n"),o=Math.max(r-i,0),h=Math.min(a.length,r+i),i=a.slice(o,h).map(function(n,e){var t=e+o+1;return(t==r?" > ":" ")+t+"| "+n}).join("\\n");throw n.path=e,n.message=(e||"Pug")+":"+r+"\\n"+i+"\\n\\n"+n.message,n}'}},{}],166:[function(e,t,n){"use strict";var r=e("./");t.exports=function(e,t){return t=t||"template",Function("pug",e+"\nreturn "+t+";")(r)}},{"./":162}],167:[function(e,t,n){"use strict";function r(e,t,n,r){throw i("UNEXPECTED_TOKEN","`"+e+"` encountered when "+t,{filename:n,line:r})}var i=e("pug-error");t.exports=function(e,t){var n=!1!==(t=t||{}).stripUnbuffered,i=!0===t.stripBuffered,s=t.filename,o=!1,a=!1;return e.filter(function(e){switch(e.type){case"comment":if(!o)return!(o=e.buffer?i:n);r("comment","already in a comment",s,e.line);case"start-pipeless-text":return!o||(a&&r("start-pipeless-text","already in pipeless text mode",s,e.line),a=!0,!1);case"end-pipeless-text":return!o||(a||r("end-pipeless-text","not in pipeless text mode",s,e.line),a=!1,o=!1,!1);case"text":return!o;default:return!a&&(o=!1,!0)}})}},{"pug-error":138}],168:[function(e,t,n){"use strict";function r(e,t,n,s){function o(e){return e.reduce(function(e,i){var o=r(i,t,n,s);return Array.isArray(o)?e.concat(o):e.concat([o])},[])}n&&"object"===(void 0===n?"undefined":i(n))&&void 0===s&&(s=n,n=null);var a=(s=s||{includeDependencies:!1}).parents=s.parents||[],u=function t(n){if(Array.isArray(n)&&!t.arrayAllowed)throw new Error("replace() can only be called with an array if the last parent is a Block or NamedBlock");e=n};if(u.arrayAllowed=a[0]&&(/^(Named)?Block$/.test(a[0].type)||"RawInclude"===a[0].type&&"IncludeFilter"===e.type),t){if(!1===t(e,u))return e;if(Array.isArray(e))return o(e)}switch(a.unshift(e),e.type){case"NamedBlock":case"Block":e.nodes=o(e.nodes);break;case"Case":case"Filter":case"Mixin":case"Tag":case"InterpolatedTag":case"When":case"Code":case"While":e.block&&(e.block=r(e.block,t,n,s));break;case"Each":e.block&&(e.block=r(e.block,t,n,s)),e.alternate&&(e.alternate=r(e.alternate,t,n,s));break;case"Conditional":e.consequent&&(e.consequent=r(e.consequent,t,n,s)),e.alternate&&(e.alternate=r(e.alternate,t,n,s));break;case"Include":r(e.block,t,n,s),r(e.file,t,n,s);break;case"Extends":r(e.file,t,n,s);break;case"RawInclude":e.filters=o(e.filters),r(e.file,t,n,s);break;case"Attrs":case"BlockComment":case"Comment":case"Doctype":case"IncludeFilter":case"MixinBlock":case"YieldBlock":case"Text":break;case"FileReference":s.includeDependencies&&e.ast&&r(e.ast,t,n,s);break;default:throw new Error("Unexpected node type "+e.type)}return a.shift(),n&&n(e,u),e}var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.exports=r},{}],169:[function(e,t,n){var r=e("./lib/core"),i=e("./lib/async");i.core=r,i.isCore=function(e){return r[e]},i.sync=e("./lib/sync"),t.exports=i},{"./lib/async":170,"./lib/core":173,"./lib/sync":175}],170:[function(e,t,n){(function(n){var r=e("./core"),i=e("fs"),s=e("path"),o=e("./caller.js"),a=e("./node-modules-paths.js");t.exports=function(e,t,u){function c(t,n,r){t?d(t):n?d(null,n,r):p(_,function(t,n,r){if(t)d(t);else if(n)d(null,n,r);else{var i=new Error("Cannot find module '"+e+"' from '"+x+"'");i.code="MODULE_NOT_FOUND",d(i)}})}function l(e,t,n){function r(e,t,n){function i(n,i,l){if(c=i,n)return o(n);if(l&&c&&m.pathFilter){var h=s.relative(l,u),p=h.slice(0,h.length-e[0].length),f=m.pathFilter(c,t,p);if(f)return r([""].concat(b.slice()),s.resolve(l,f),c)}v(u,a)}function a(n,i){return n?o(n):i?o(null,u,c):void r(e.slice(1),t,c)}if(0===e.length)return o(null,void 0,n);var u=t+e[0],c=n;c?i(null,c):h(s.dirname(u),i)}var i=t,o=n;"function"==typeof i&&(o=i,i=void 0),r([""].concat(b),e,i)}function h(e,t){if(""===e||"/"===e)return t(null);if("win32"===n.platform&&/^\w:[/\\]*$/.test(e))return t(null);if(/[/\\]node_modules[/\\]*$/.test(e))return t(null);var r=s.join(e,"package.json");v(r,function(n,i){if(!i)return h(s.dirname(e),t);y(r,function(n,i){n&&t(n);try{var s=JSON.parse(i)}catch(e){}s&&m.packageFilter&&(s=m.packageFilter(s,r)),t(null,s,e)})})}function p(e,t,n){var r=n,i=t;"function"==typeof i&&(r=i,i=m.package);var o=s.join(e,"package.json");v(o,function(t,n){return t?r(t):n?void y(o,function(t,n){if(t)return r(t);try{var i=JSON.parse(n)}catch(e){}if(m.packageFilter&&(i=m.packageFilter(i,o)),i.main)return"."!==i.main&&"./"!==i.main||(i.main="index"),void l(s.resolve(e,i.main),i,function(t,n,i){return t?r(t):n?r(null,n,i):i?void p(s.resolve(e,i.main),i,function(t,n,i){return t?r(t):n?r(null,n,i):void l(s.join(e,"index"),i,r)}):l(s.join(e,"index"),i,r)});l(s.join(e,"/index"),i,r)}):l(s.join(e,"index"),i,r)})}function f(t,n){function r(e,r,i){return e?t(e):r?t(null,r,i):void f(t,n.slice(1))}if(0===n.length)return t(null,void 0);var i=n[0];l(s.join(i,e),void 0,function(n,o,a){return n?t(n):o?t(null,o,a):void p(s.join(i,e),void 0,r)})}var d=u,m=t||{};if("function"==typeof m&&(d=m,m={}),"string"!=typeof e){var g=new TypeError("Path must be a string.");return n.nextTick(function(){d(g)})}var v=m.isFile||function(e,t){i.stat(e,function(e,n){return e?"ENOENT"===e.code||"ENOTDIR"===e.code?t(null,!1):t(e):t(null,n.isFile()||n.isFIFO())})},y=m.readFile||i.readFile,b=m.extensions||[".js"],x=m.basedir||s.dirname(o());if(m.paths=m.paths||[],/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(e)){var _=s.resolve(x,e);".."!==e&&"/"!==e.slice(-1)||(_+="/"),/\/$/.test(e)&&_===x?p(_,m.package,c):l(_,m.package,c)}else!function(e,t,n){f(n,a(t,m))}(0,x,function(t,n,i){if(t)d(t);else if(n)d(null,n,i);else{if(r[e])return d(null,e);var s=new Error("Cannot find module '"+e+"' from '"+x+"'");s.code="MODULE_NOT_FOUND",d(s)}})}}).call(this,e("_process"))},{"./caller.js":171,"./core":173,"./node-modules-paths.js":174,_process:17,fs:4,path:15}],171:[function(e,t,n){t.exports=function(){var e=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t};var t=(new Error).stack;return Error.prepareStackTrace=e,t[2].getFileName()}},{}],172:[function(e,t,n){t.exports={"*":["assert","buffer_ieee754","buffer","child_process","cluster","console","constants","crypto","_debugger","dgram","dns","domain","events","freelist","fs","http","https","_linklist","module","net","os","path","punycode","querystring","readline","repl","stream","string_decoder","sys","timers","tls","tty","url","util","vm","zlib"],.11:["_http_server"],"1.0":["process","v8"]}},{}],173:[function(e,t,n){(function(n){var r=n.versions&&n.versions.node&&n.versions.node.split(".")||[],i=e("./core.json"),s={};for(var o in i)if(Object.prototype.hasOwnProperty.call(i,o)&&function(e){if("*"===e)return!0;for(var t=e.split("."),n=0;n<3;++n)if((r[n]||0)>=(t[n]||0))return!0;return!1}(o))for(var a=0;a<i[o].length;++a)s[i[o][a]]=!0;t.exports=s}).call(this,e("_process"))},{"./core.json":172,_process:17}],174:[function(e,t,n){var r=e("path"),i=e("fs"),s=r.parse||e("path-parse");t.exports=function(e,t){var n=t&&t.moduleDirectory?[].concat(t.moduleDirectory):["node_modules"],o=r.resolve(e);if(t&&!1===t.preserveSymlinks)try{o=i.realpathSync(o)}catch(e){if("ENOENT"!==e.code)throw e}var a="/";/^([A-Za-z]:)/.test(o)?a="":/^\\\\/.test(o)&&(a="\\\\");for(var u=[o],c=s(o);c.dir!==u[u.length-1];)u.push(c.dir),c=s(c.dir);var l=u.reduce(function(e,t){return e.concat(n.map(function(e){return r.join(a,t,e)}))},[]);return t&&t.paths?l.concat(t.paths):l}},{fs:4,path:15,"path-parse":127}],175:[function(e,t,n){var r=e("./core"),i=e("fs"),s=e("path"),o=e("./caller.js"),a=e("./node-modules-paths.js");t.exports=function(e,t){function n(e){if(l(e))return e;for(var t=0;t<p.length;t++){var n=e+p[t];if(l(n))return n}}function u(e){var t=s.join(e,"/package.json");if(l(t))try{var r=h(t,"UTF8"),i=JSON.parse(r);if(c.packageFilter&&(i=c.packageFilter(i,e)),i.main){"."!==i.main&&"./"!==i.main||(i.main="index");var o=n(s.resolve(e,i.main));if(o)return o;var a=u(s.resolve(e,i.main));if(a)return a}}catch(e){}return n(s.join(e,"/index"))}if("string"!=typeof e)throw new TypeError("Path must be a string.");var c=t||{},l=c.isFile||function(e){try{var t=i.statSync(e)}catch(e){if(e&&("ENOENT"===e.code||"ENOTDIR"===e.code))return!1;throw e}return t.isFile()||t.isFIFO()},h=c.readFileSync||i.readFileSync,p=c.extensions||[".js"],f=c.basedir||s.dirname(o());if(c.paths=c.paths||[],/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(e)){var d=s.resolve(f,e);".."!==e&&"/"!==e.slice(-1)||(d+="/");var m=n(d)||u(d);if(m)return m}else{var g=function(e,t){for(var r=a(t,c),i=0;i<r.length;i++){var o=r[i],l=n(s.join(o,"/",e));if(l)return l;var h=u(s.join(o,"/",e));if(h)return h}}(e,f);if(g)return g}if(r[e])return e;var v=new Error("Cannot find module '"+e+"' from '"+f+"'");throw v.code="MODULE_NOT_FOUND",v}},{"./caller.js":171,"./core":173,"./node-modules-paths.js":174,fs:4,path:15}],176:[function(e,t,n){n.SourceMapGenerator=e("./source-map/source-map-generator").SourceMapGenerator,n.SourceMapConsumer=e("./source-map/source-map-consumer").SourceMapConsumer,n.SourceNode=e("./source-map/source-node").SourceNode},{"./source-map/source-map-consumer":183,"./source-map/source-map-generator":184,"./source-map/source-node":185}],177:[function(e,t,n){if("function"!=typeof r)var r=e("amdefine")(t,e);r(function(e,t,n){function r(){this._array=[],this._set={}}var i=e("./util");r.fromArray=function(e,t){for(var n=new r,i=0,s=e.length;i<s;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=this.has(e),r=this._array.length;n&&!t||this._array.push(e),n||(this._set[i.toSetString(e)]=r)},r.prototype.has=function(e){return Object.prototype.hasOwnProperty.call(this._set,i.toSetString(e))},r.prototype.indexOf=function(e){if(this.has(e))return this._set[i.toSetString(e)];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()},t.ArraySet=r})},{"./util":186,amdefine:51}],178:[function(e,t,n){if("function"!=typeof r)var r=e("amdefine")(t,e);r(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 s=e("./base64");t.encode=function(e){var t,n="",i=r(e);do{t=31&i,(i>>>=5)>0&&(t|=32),n+=s.encode(t)}while(i>0);return n},t.decode=function(e,t,n){var r,o,a=e.length,u=0,c=0;do{if(t>=a)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(o=s.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));r=!!(32&o),u+=(o&=31)<<c,c+=5}while(r);n.value=i(u),n.rest=t}})},{"./base64":179,amdefine:51}],179:[function(e,t,n){if("function"!=typeof r)var r=e("amdefine")(t,e);r(function(e,t,n){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e<r.length)return r[e];throw new TypeError("Must be between 0 and 63: "+aNumber)},t.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}})},{amdefine:51}],180:[function(e,t,n){if("function"!=typeof r)var r=e("amdefine")(t,e);r(function(e,t,n){function r(e,n,i,s,o,a){var u=Math.floor((n-e)/2)+e,c=o(i,s[u],!0);return 0===c?u:c>0?n-u>1?r(u,n,i,s,o,a):a==t.LEAST_UPPER_BOUND?n<s.length?n:-1:u:u-e>1?r(e,u,i,s,o,a):a==t.LEAST_UPPER_BOUND?u:e<0?-1:e}t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,n,i,s){if(0===n.length)return-1;var o=r(-1,n.length,e,n,i,s||t.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&0===i(n[o],n[o-1],!0);)--o;return o}})},{amdefine:51}],181:[function(e,t,n){if("function"!=typeof r)var r=e("amdefine")(t,e);r(function(e,t,n){function r(e,t){var n=e.generatedLine,r=t.generatedLine,i=e.generatedColumn,o=t.generatedColumn;return r>n||r==n&&o>=i||s.compareByGeneratedPositionsInflated(e,t)<=0}function i(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}var s=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(s.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.MappingList=i})},{"./util":186,amdefine:51}],182:[function(e,t,n){if("function"!=typeof r)var r=e("amdefine")(t,e);r(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 s(e,t,n,o){if(n<o){var a=n-1;r(e,i(n,o),o);for(var u=e[o],c=n;c<o;c++)t(e[c],u)<=0&&r(e,a+=1,c);r(e,a+1,c);var l=a+1;s(e,t,n,l-1),s(e,t,l+1,o)}}t.quickSort=function(e,t){s(e,t,0,e.length-1)}})},{amdefine:51}],183:[function(e,t,n){if("function"!=typeof r)var r=e("amdefine")(t,e);r(function(e,t,n){function r(e){var t=e;return"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,""))),null!=t.sections?new o(t):new i(t)}function i(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=a.getArg(t,"version"),r=a.getArg(t,"sources"),i=a.getArg(t,"names",[]),s=a.getArg(t,"sourceRoot",null),o=a.getArg(t,"sourcesContent",null),u=a.getArg(t,"mappings"),l=a.getArg(t,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);r=r.map(a.normalize),this._names=c.fromArray(i,!0),this._sources=c.fromArray(r,!0),this.sourceRoot=s,this.sourcesContent=o,this._mappings=u,this.file=l}function s(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function o(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=a.getArg(t,"version"),i=a.getArg(t,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new c,this._names=new c;var s={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=a.getArg(e,"offset"),n=a.getArg(t,"line"),i=a.getArg(t,"column");if(n<s.line||n===s.line&&i<s.column)throw new Error("Section offsets must be ordered and non-overlapping.");return s=t,{generatedOffset:{generatedLine:n+1,generatedColumn:i+1},consumer:new r(a.getArg(e,"map"))}})}var a=e("./util"),u=e("./binary-search"),c=e("./array-set").ArraySet,l=e("./base64-vlq"),h=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,s=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 o=this.sourceRoot;i.map(function(e){var t=null===e.source?null:this._sources.at(e.source);return null!=t&&null!=o&&(t=a.join(o,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,s)},r.prototype.allGeneratedPositionsFor=function(e){var t=a.getArg(e,"line"),n={source:a.getArg(e,"source"),originalLine:t,originalColumn:a.getArg(e,"column",0)};if(null!=this.sourceRoot&&(n.source=a.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",a.compareByOriginalPositions,u.LEAST_UPPER_BOUND);if(i>=0){var s=this._originalMappings[i];if(void 0===e.column)for(var o=s.originalLine;s&&s.originalLine===o;)r.push({line:a.getArg(s,"generatedLine",null),column:a.getArg(s,"generatedColumn",null),lastColumn:a.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++i];else for(var c=s.originalColumn;s&&s.originalLine===t&&s.originalColumn==c;)r.push({line:a.getArg(s,"generatedLine",null),column:a.getArg(s,"generatedColumn",null),lastColumn:a.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++i]}return r},t.SourceMapConsumer=r,(i.prototype=Object.create(r.prototype)).consumer=r,i.fromSourceMap=function(e){var t=Object.create(i.prototype),n=t._names=c.fromArray(e._names.toArray(),!0),r=t._sources=c.fromArray(e._sources.toArray(),!0);t.sourceRoot=e._sourceRoot,t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot),t.file=e._file;for(var o=e._mappings.toArray().slice(),u=t.__generatedMappings=[],l=t.__originalMappings=[],p=0,f=o.length;p<f;p++){var d=o[p],m=new s;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)),l.push(m)),u.push(m)}return h(t.__originalMappings,a.compareByOriginalPositions),t},i.prototype._version=3,Object.defineProperty(i.prototype,"sources",{get:function(){return this._sources.toArray().map(function(e){return null!=this.sourceRoot?a.join(this.sourceRoot,e):e},this)}}),i.prototype._parseMappings=function(e,t){for(var n,r,i,o,u,c=1,p=0,f=0,d=0,m=0,g=0,v=e.length,y=0,b={},x={},_=[],w=[];y<v;)if(";"===e.charAt(y))c++,y++,p=0;else if(","===e.charAt(y))y++;else{for((n=new s).generatedLine=c,o=y;o<v&&!this._charIsMappingSeparator(e,o);o++);if(r=e.slice(y,o),i=b[r])y+=r.length;else{for(i=[];y<o;)l.decode(e,y,x),u=x.value,y=x.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");b[r]=i}n.generatedColumn=p+i[0],p=n.generatedColumn,i.length>1&&(n.source=m+i[1],m+=i[1],n.originalLine=f+i[2],f=n.originalLine,n.originalLine+=1,n.originalColumn=d+i[3],d=n.originalColumn,i.length>4&&(n.name=g+i[4],g+=i[4])),w.push(n),"number"==typeof n.originalLine&&_.push(n)}h(w,a.compareByGeneratedPositionsDeflated),this.__generatedMappings=w,h(_,a.compareByOriginalPositions),this.__originalMappings=_},i.prototype._findMapping=function(e,t,n,r,i,s){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,s)},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:a.getArg(e,"line"),generatedColumn:a.getArg(e,"column")},n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",a.compareByGeneratedPositionsDeflated,a.getArg(e,"bias",r.GREATEST_LOWER_BOUND));if(n>=0){var i=this._generatedMappings[n];if(i.generatedLine===t.generatedLine){var s=a.getArg(i,"source",null);null!==s&&(s=this._sources.at(s),null!=this.sourceRoot&&(s=a.join(this.sourceRoot,s)));var o=a.getArg(i,"name",null);return null!==o&&(o=this._names.at(o)),{source:s,line:a.getArg(i,"originalLine",null),column:a.getArg(i,"originalColumn",null),name:o}}}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=a.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var n;if(null!=this.sourceRoot&&(n=a.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=a.getArg(e,"source");if(null!=this.sourceRoot&&(t=a.relative(this.sourceRoot,t)),!this._sources.has(t))return{line:null,column:null,lastColumn:null};var n={source:t=this._sources.indexOf(t),originalLine:a.getArg(e,"line"),originalColumn:a.getArg(e,"column")},i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",a.compareByOriginalPositions,a.getArg(e,"bias",r.GREATEST_LOWER_BOUND));if(i>=0){var s=this._originalMappings[i];if(s.source===n.source)return{line:a.getArg(s,"generatedLine",null),column:a.getArg(s,"generatedColumn",null),lastColumn:a.getArg(s,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},t.BasicSourceMapConsumer=i,(o.prototype=Object.create(r.prototype)).constructor=r,o.prototype._version=3,Object.defineProperty(o.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}}),o.prototype.originalPositionFor=function(e){var t={generatedLine:a.getArg(e,"line"),generatedColumn:a.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}},o.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},o.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.')},o.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var n=this._sections[t];if(-1!==n.consumer.sources.indexOf(a.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}},o.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,s=0;s<i.length;s++){var o=i[n],u=r.consumer._sources.at(o.source);null!==r.consumer.sourceRoot&&(u=a.join(r.consumer.sourceRoot,u)),this._sources.add(u),u=this._sources.indexOf(u);var c=r.consumer._names.at(o.name);this._names.add(c),c=this._names.indexOf(c);var l={source:u,generatedLine:o.generatedLine+(r.generatedOffset.generatedLine-1),generatedColumn:o.column+(r.generatedOffset.generatedLine===o.generatedLine)?r.generatedOffset.generatedColumn-1:0,originalLine:o.originalLine,originalColumn:o.originalColumn,name:c};this.__generatedMappings.push(l),"number"==typeof l.originalLine&&this.__originalMappings.push(l)}h(this.__generatedMappings,a.compareByGeneratedPositionsDeflated),h(this.__originalMappings,a.compareByOriginalPositions)},t.IndexedSourceMapConsumer=o})},{"./array-set":177,"./base64-vlq":178,"./binary-search":180,"./quick-sort":182,"./util":186,amdefine:51}],184:[function(e,t,n){if("function"!=typeof r)var r=e("amdefine")(t,e);r(function(e,t,n){function r(e){e||(e={}),this._file=s.getArg(e,"file",null),this._sourceRoot=s.getArg(e,"sourceRoot",null),this._skipValidation=s.getArg(e,"skipValidation",!1),this._sources=new o,this._names=new o,this._mappings=new a,this._sourcesContents=null}var i=e("./base64-vlq"),s=e("./util"),o=e("./array-set").ArraySet,a=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=s.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=s.getArg(e,"generated"),n=s.getArg(e,"original",null),r=s.getArg(e,"source",null),i=s.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,n,r,i),null==r||this._sources.has(r)||this._sources.add(r),null==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=s.relative(this._sourceRoot,n)),null!=t?(this._sourcesContents||(this._sourcesContents={}),this._sourcesContents[s.toSetString(n)]=t):this._sourcesContents&&(delete this._sourcesContents[s.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=s.relative(i,r));var a=new o,u=new o;this._mappings.unsortedForEach(function(t){if(t.source===r&&null!=t.originalLine){var o=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=o.source&&(t.source=o.source,null!=n&&(t.source=s.join(n,t.source)),null!=i&&(t.source=s.relative(i,t.source)),t.originalLine=o.line,t.originalColumn=o.column,null!=o.name&&(t.name=o.name))}var c=t.source;null==c||a.has(c)||a.add(c);var l=t.name;null==l||u.has(l)||u.add(l)},this),this._sources=a,this._names=u,e.sources.forEach(function(t){var r=e.sourceContentFor(t);null!=r&&(null!=n&&(t=s.join(n,t)),null!=i&&(t=s.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=0,n=1,r=0,o=0,a=0,u=0,c="",l=this._mappings.toArray(),h=0,p=l.length;h<p;h++){if((e=l[h]).generatedLine!==n)for(t=0;e.generatedLine!==n;)c+=";",n++;else if(h>0){if(!s.compareByGeneratedPositionsInflated(e,l[h-1]))continue;c+=","}c+=i.encode(e.generatedColumn-t),t=e.generatedColumn,null!=e.source&&(c+=i.encode(this._sources.indexOf(e.source)-u),u=this._sources.indexOf(e.source),c+=i.encode(e.originalLine-1-o),o=e.originalLine-1,c+=i.encode(e.originalColumn-r),r=e.originalColumn,null!=e.name&&(c+=i.encode(this._names.indexOf(e.name)-a),a=this._names.indexOf(e.name)))}return c},r.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;null!=t&&(e=s.relative(t,e));var n=s.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())},t.SourceMapGenerator=r})},{"./array-set":177,"./base64-vlq":178,"./mapping-list":181,"./util":186,amdefine:51}],185:[function(e,t,n){if("function"!=typeof r)var r=e("amdefine")(t,e);r(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[a]=!0,null!=r&&this.add(r)}var i=e("./source-map-generator").SourceMapGenerator,s=e("./util"),o=/(\r?\n)/,a="$$$isSourceNode$$$";r.fromStringWithSourceMap=function(e,t,n){function i(e,t){if(null===e||void 0===e.source)a.add(t);else{var i=n?s.join(n,e.source):e.source;a.add(new r(e.originalLine,e.originalColumn,i,t,e.name))}}var a=new r,u=e.split(o),c=function(){return u.shift()+(u.shift()||"")},l=1,h=0,p=null;return t.eachMapping(function(e){if(null!==p){if(!(l<e.generatedLine)){t=(n=u[0]).substr(0,e.generatedColumn-h);return u[0]=n.substr(e.generatedColumn-h),h=e.generatedColumn,i(p,t),void(p=e)}var t="";i(p,c()),l++,h=0}for(;l<e.generatedLine;)a.add(c()),l++;if(h<e.generatedColumn){var n=u[0];a.add(n.substr(0,e.generatedColumn)),u[0]=n.substr(e.generatedColumn),h=e.generatedColumn}p=e},this),u.length>0&&(p&&i(p,c()),a.add(u.join(""))),t.sources.forEach(function(e){var r=t.sourceContentFor(e);null!=r&&(null!=n&&(e=s.join(n,e)),a.setSourceContent(e,r))}),a},r.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else{if(!e[a]&&"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[a]&&"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])[a]?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[a]?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[s.toSetString(e)]=t},r.prototype.walkSourceContents=function(e){for(var t=0,n=this.children.length;t<n;t++)this.children[t][a]&&this.children[t].walkSourceContents(e);for(var r=Object.keys(this.sourceContents),t=0,n=r.length;t<n;t++)e(s.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,s=null,o=null,a=null,u=null;return this.walk(function(e,i){t.code+=e,null!==i.source&&null!==i.line&&null!==i.column?(s===i.source&&o===i.line&&a===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}),s=i.source,o=i.line,a=i.column,u=i.name,r=!0):r&&(n.addMapping({generated:{line:t.line,column:t.column}}),s=null,r=!1);for(var c=0,l=e.length;c<l;c++)10===e.charCodeAt(c)?(t.line++,t.column=0,c+1===l?(s=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}},t.SourceNode=r})},{"./source-map-generator":184,"./util":186,amdefine:51}],186:[function(e,t,n){if("function"!=typeof r)var r=e("amdefine")(t,e);r(function(e,t,n){function r(e){var t=e.match(a);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 s(e){var t=e,n=r(e);if(n){if(!n.path)return e;t=n.path}for(var s,o="/"===t.charAt(0),a=t.split(/\/+/),u=0,c=a.length-1;c>=0;c--)"."===(s=a[c])?a.splice(c,1):".."===s?u++:u>0&&(""===s?(a.splice(c+1,u),u=0):(a.splice(c,2),u--));return""===(t=a.join("/"))&&(t=o?"/":"."),n?(n.path=t,i(n)):t}function o(e,t){return e===t?0:e>t?1:-1}t.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 a=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,u=/^data:.+\,.+$/;t.urlParse=r,t.urlGenerate=i,t.normalize=s,t.join=function(e,t){""===e&&(e="."),""===t&&(t=".");var n=r(t),o=r(e);if(o&&(e=o.path||"/"),n&&!n.scheme)return o&&(n.scheme=o.scheme),i(n);if(n||t.match(u))return t;if(o&&!o.host&&!o.path)return o.host=t,i(o);var a="/"===t.charAt(0)?t:s(e.replace(/\/+$/,"")+"/"+t);return o?(o.path=a,i(o)):a},t.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)},t.toSetString=function(e){return"$"+e},t.fromSetString=function(e){return e.substr(1)},t.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},t.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},t.compareByGeneratedPositionsInflated=function(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n?n:0!=(n=e.generatedColumn-t.generatedColumn)?n:0!==(n=o(e.source,t.source))?n:0!=(n=e.originalLine-t.originalLine)?n:0!=(n=e.originalColumn-t.originalColumn)?n:o(e.name,t.name)}})},{amdefine:51}],187:[function(e,t,n){"use strict";function r(e){if(!Array.isArray(e))throw new TypeError("tokens must be passed to TokenStream as an array.");this._tokens=e}t.exports=r,r.prototype.lookahead=function(e){if(this._tokens.length<=e)throw new Error("Cannot read past the end of a stream");return this._tokens[e]},r.prototype.peek=function(){if(0===this._tokens.length)throw new Error("Cannot read past the end of a stream");return this._tokens[0]},r.prototype.advance=function(){if(0===this._tokens.length)throw new Error("Cannot read past the end of a stream");return this._tokens.shift()},r.prototype.defer=function(e){this._tokens.unshift(e)}},{}],188:[function(e,t,n){t.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,menuitem:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},{}],189:[function(e,t,n){"use strict";function r(e){return o.parse(e,{ecmaVersion:6,allowReturnOutsideFunction:!0})}function i(e,t){function n(t){return e.slice(t.start,t.end).join("")}function i(t,n){for(var r=t.start;r<t.end;r++)e[r]="";e[t.start]=n}var s,o=e,u=!1,c=r(e);if(e=e.split(""),1!==(s=c.body).length||"ExpressionStatement"!==(s=s[0]).type||"CallExpression"!==(s=s.expression).type||"MemberExpression"!==(s=s.callee).type||!1!==s.computed||"call"!==s.property.name||"FunctionExpression"!==(s=s.object).type)throw new Error("AST does not seem to represent a self-calling function");var l=s;return a.recursive(c,null,{Function:function(e,t,n){e===l&&n(e.body,t,"ScopeBody")},ReturnStatement:function(e){u=!0,i(e,"return {value: ("+(e.argument?n(e.argument):"undefined")+")};")}}),u?"var "+t+"="+e.join("")+";if ("+t+") return "+t+".value":o}var s=e("acorn-globals"),o=e("acorn"),a=e("acorn/dist/walk");t.exports=function(e,t,n){e+="",t+="",n=(n=n||[]).concat(s(e).map(function(e){return e.name}));var r=s(t).map(function(e){return e.name}).filter(function(e){return-1===n.indexOf(e)&&"undefined"!==e&&"this"!==e});if(0===r.length)return t;var o="",a="locals_for_with",u="result_of_with";if(/^[a-zA-Z0-9$_]+$/.test(e))a=e;else{for(;-1!=r.indexOf(a)||-1!=n.indexOf(a);)a+="_";o="var "+a+" = ("+e+")"}for(;-1!=r.indexOf(u)||-1!=n.indexOf(u);)u+="_";var c=r.map(function(e){return JSON.stringify(e)+" in "+a+"?"+a+"."+e+":typeof "+e+'!=="undefined"?'+e+":undefined"});return t="(function ("+r.join(", ")+") {"+t+"}.call(this"+c.map(function(e){return","+e}).join("")+"))",";"+o+";"+i(t,u)+";"}},{acorn:49,"acorn-globals":46,"acorn/dist/walk":50}]},{},[45])(45)});
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pug-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.rc2
4
+ version: 2.0.0.rc3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yaroslav Konoplov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-21 00:00:00.000000000 Z
11
+ date: 2017-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: execjs
@@ -181,31 +181,57 @@ files:
181
181
  - test/pug/index.pug
182
182
  - test/test-jade.rb
183
183
  - test/test-pug.rb
184
+ - vendor/jade-1.0.0-license
184
185
  - vendor/jade-1.0.0.min.js
186
+ - vendor/jade-1.0.1-license
185
187
  - vendor/jade-1.0.1.min.js
188
+ - vendor/jade-1.0.2-license
186
189
  - vendor/jade-1.0.2.min.js
190
+ - vendor/jade-1.1.0-license
187
191
  - vendor/jade-1.1.0.min.js
192
+ - vendor/jade-1.1.1-license
188
193
  - vendor/jade-1.1.1.min.js
194
+ - vendor/jade-1.1.2-license
189
195
  - vendor/jade-1.1.2.min.js
196
+ - vendor/jade-1.1.3-license
190
197
  - vendor/jade-1.1.3.min.js
198
+ - vendor/jade-1.1.4-license
191
199
  - vendor/jade-1.1.4.min.js
200
+ - vendor/jade-1.1.5-license
192
201
  - vendor/jade-1.1.5.min.js
202
+ - vendor/jade-1.10.0-license
193
203
  - vendor/jade-1.10.0.min.js
204
+ - vendor/jade-1.11.0-license
194
205
  - vendor/jade-1.11.0.min.js
206
+ - vendor/jade-1.2.0-license
195
207
  - vendor/jade-1.2.0.min.js
208
+ - vendor/jade-1.3.0-license
196
209
  - vendor/jade-1.3.0.min.js
210
+ - vendor/jade-1.3.1-license
197
211
  - vendor/jade-1.3.1.min.js
212
+ - vendor/jade-1.4.0-license
198
213
  - vendor/jade-1.4.0.min.js
214
+ - vendor/jade-1.4.1-license
199
215
  - vendor/jade-1.4.1.min.js
216
+ - vendor/jade-1.4.2-license
200
217
  - vendor/jade-1.4.2.min.js
218
+ - vendor/jade-1.5.0-license
201
219
  - vendor/jade-1.5.0.min.js
220
+ - vendor/jade-1.6.0-license
202
221
  - vendor/jade-1.6.0.min.js
222
+ - vendor/jade-1.7.0-license
203
223
  - vendor/jade-1.7.0.min.js
224
+ - vendor/jade-1.8.0-license
204
225
  - vendor/jade-1.8.0.min.js
226
+ - vendor/jade-1.8.1-license
205
227
  - vendor/jade-1.8.1.min.js
228
+ - vendor/jade-1.8.2-license
206
229
  - vendor/jade-1.8.2.min.js
230
+ - vendor/jade-1.9.0-license
207
231
  - vendor/jade-1.9.0.min.js
232
+ - vendor/jade-1.9.1-license
208
233
  - vendor/jade-1.9.1.min.js
234
+ - vendor/jade-1.9.2-license
209
235
  - vendor/jade-1.9.2.min.js
210
236
  - vendor/jade-runtime-1.0.0-license
211
237
  - vendor/jade-runtime-1.0.0.js
@@ -259,14 +285,14 @@ files:
259
285
  - vendor/jade-runtime-1.9.1.js
260
286
  - vendor/jade-runtime-1.9.2-license
261
287
  - vendor/jade-runtime-1.9.2.js
262
- - vendor/pug-2.0.0-beta.12-license
263
- - vendor/pug-2.0.0-beta.12.min.js
264
288
  - vendor/pug-2.0.0-beta1-license
265
289
  - vendor/pug-2.0.0-beta1.min.js
266
290
  - vendor/pug-2.0.0-beta10-license
267
291
  - vendor/pug-2.0.0-beta10.min.js
268
292
  - vendor/pug-2.0.0-beta11-license
269
293
  - vendor/pug-2.0.0-beta11.min.js
294
+ - vendor/pug-2.0.0-beta12-license
295
+ - vendor/pug-2.0.0-beta12.min.js
270
296
  - vendor/pug-2.0.0-beta2-license
271
297
  - vendor/pug-2.0.0-beta2.min.js
272
298
  - vendor/pug-2.0.0-beta3-license
@@ -289,6 +315,8 @@ files:
289
315
  - vendor/pug-2.0.0-rc.2.min.js
290
316
  - vendor/pug-2.0.0-rc.3-license
291
317
  - vendor/pug-2.0.0-rc.3.min.js
318
+ - vendor/pug-2.0.0-rc.4-license
319
+ - vendor/pug-2.0.0-rc.4.min.js
292
320
  - vendor/pug-runtime-2.0.0-license
293
321
  - vendor/pug-runtime-2.0.0.js
294
322
  - vendor/pug-runtime-2.0.1-license
@@ -315,7 +343,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
315
343
  version: 1.3.1
316
344
  requirements: []
317
345
  rubyforge_project:
318
- rubygems_version: 2.6.12
346
+ rubygems_version: 2.6.13
319
347
  signing_key:
320
348
  specification_version: 4
321
349
  summary: Ruby wrapper for the Jade / Pug template engine.