js2coffee 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 8ba244187ed5299c6844b89beb8a70b5c23aed7f
4
+ data.tar.gz: 2fff3210bd4694faaac8eb1ade15dbbb25f1ecd7
5
+ SHA512:
6
+ metadata.gz: 15ea96f7bcfe1ccb55a84a69d6e4db4fec4d6f12a1453a141d39c8c520f833eb76f7f220cc606c41173a2b8d3f5b487a7c03e76266415dc1d8e5ae0d893d399d
7
+ data.tar.gz: 46ec4d39c45946e53c404f2ff0f4eea4d07589b98e0e386c1c9bc53018a53f8e50b77a5396301971573d589720e47df1653bfa6b59028778388570d3579878e6
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2014 Billy.Zheng
2
+
3
+ MIT License
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
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,92 @@
1
+ # js2coffee [![Build Status](https://travis-ci.org/zw963/js2coffee.svg?branch=master)](https://travis-ci.org/zw963/js2coffee) [![Gem Version](https://badge.fury.io/rb/js2coffee.svg)](http://badge.fury.io/rb/js2coffee)
2
+
3
+ Convert yours JavaScript to CoffeeScript, vice versa.
4
+
5
+ ## Philosophy
6
+
7
+ * Keep it simple, a command line with no more options.
8
+ * Pretty format output with [coderay](https://github.com/rubychan/coderay).
9
+ * Watch a directory, convert automaticly when file change.
10
+ * SourceMap generation automaticly, for debug with CoffeeScript in Firefox/Chrome.
11
+ * With Nodejs, just for Ruby on Rails developer.
12
+
13
+ ## Getting Started
14
+
15
+ Install via Rubygems
16
+
17
+ $ gem install js2coffee
18
+
19
+ ## Usage
20
+
21
+ Run `js2coffee` or `js2coffee` individually.
22
+
23
+ ### Compile script file to STDOUT.
24
+
25
+ $ coffee2js your_awesome.coffee
26
+
27
+ Or ...
28
+
29
+ $ coffee2js your_awesome.coffee
30
+
31
+ You can redirect STDOUT to a new file.
32
+
33
+ $ coffee2js your_awesome.coffee > you_awesome.js
34
+
35
+ ![File](http://zw963.github.io/snapshot12.png)
36
+
37
+ ### Watching one directory
38
+
39
+ $ coffee2js script_directory
40
+
41
+ This will create corresponding js(.js) and Source Map(.js.map) in same directory as coffee file live in.
42
+ map file will keep hide with leading dot, e.g. `awesome.js` will create `awesome.coffee and .awesome.js.map`
43
+
44
+ ![Monitor](http://zw963.github.io/snapshot11.png)
45
+
46
+ If one directory named `coffee` or named `js` in you project root, will create another directory
47
+ automaticly with cloned directory hierarchy, this will make js and coffee file saved seperately.
48
+
49
+ ![Monitor](http://zw963.github.io/snapshot14.png)
50
+
51
+ ### Compile script directly
52
+ You can run coffee script directly with: `-e` argments or pipe.
53
+
54
+ ![File](http://zw963.github.io/snapshot15.png)
55
+ ![File](http://zw963.github.io/snapshot16.png)
56
+
57
+ ## Environment variable
58
+
59
+ You can setting `JS2COFFEE_EXCLUDE_PATTERN` to specify the pattern to be skipped when watching one directory.
60
+
61
+ $ export JS2COFFEE_EXCLUDE_PATTERN='one_pattern|another_pattern'
62
+
63
+ js2coffee will always skip `node_modules` and `bower_components`.
64
+
65
+ ## Support
66
+
67
+ * MRI 1.9.3+
68
+ * Rubinius 2.2+
69
+
70
+ ## Compiler current used:
71
+
72
+ * [CoffeeScript 1.1.0](http://coffeescript.org), used for convert from CoffeeScript to JavaScript.
73
+ * [js2coffee 2.1.0](http://js2.coffee), used for convert JavaScript to CoffeeScript.
74
+
75
+ ## History
76
+
77
+ More update info, please See [CHANGELOG](https://github.com/zw963/js2coffee/blob/master/CHANGELOG) for details.
78
+
79
+ ## Contributing
80
+
81
+ * [Bug reports](https://github.com/zw963/js2coffee/issues)
82
+ * [Source](https://github.com/zw963/js2coffee)
83
+ * Patches:
84
+ * Fork on Github.
85
+ * Run `gem install --dev js2coffee` or `bundle`.
86
+ * Create your feature branch: `git checkout -b my-new-feature`.
87
+ * Commit your changes: `git commit -am 'Add some feature'`.
88
+ * Push to the branch: `git push origin my-new-feature`.
89
+ * Send a pull request :D.
90
+
91
+ ## license
92
+ Released under the MIT license, See [LICENSE](https://github.com/zw963/js2coffee/blob/master/LICENSE) for details.
@@ -0,0 +1,3 @@
1
+ #!/bin/sh
2
+
3
+ js2coffee -r "$@"
@@ -0,0 +1,60 @@
1
+ #!/usr/bin/env ruby
2
+ # -*- coding: utf-8 -*-
3
+
4
+ require 'js2coffee'
5
+ require 'optparse'
6
+
7
+ $script_extname = 'js'
8
+
9
+ opt = ARGV.options do |opts|
10
+ opts.banner = "compile js to coffee, vice versa.\n\n"
11
+
12
+ opts.on('-e', "--eval 'script'", 'compile inline javascript to coffee, pretty print to terminal.') do |script|
13
+ Js2coffee.compile(script, bare: true, sourceMap: true)
14
+ end
15
+
16
+ opts.on('-r', '--reverse', 'reverse, compile coffee to js.') do
17
+ $script_extname = 'coffee'
18
+ end
19
+
20
+ opts.on_tail('-v', '--version', 'print version information') do
21
+ puts Js2coffee::VERSION.to_s
22
+ end
23
+
24
+ opts.on_head(" #{File.basename($0)} path/to/<script_file>, pretty print to terminal, can be redirect to file.")
25
+ opts.on_head(" #{File.basename($0)} path/to/<script_directory>, Watching script changed/created in directory.")
26
+ end
27
+
28
+ begin
29
+ opt.abort(opt.help) if ARGV.empty?
30
+ filename = opt.parse!
31
+ rescue OptionParser::InvalidOption, OptionParser::MissingArgument
32
+ puts $!
33
+ opt.abort(opt.help)
34
+ end
35
+
36
+ if File.pipe?($stdin)
37
+ Js2coffee.compile($stdin.read)
38
+ exit
39
+ end
40
+
41
+ # no options, only file/directory argument
42
+ if filename.any?
43
+ dir = filename.first
44
+
45
+ if test 'd', dir
46
+ Dir.chdir(dir) do
47
+ Js2coffee.send_notify('Starting coffee2js compiler')
48
+ puts "Watching directory \`\033[0;33m#{File.expand_path(dir)}\033[0m' ..."
49
+ Js2coffee.watch!
50
+ end
51
+ else
52
+ filename.each do |file|
53
+ unless File.exist? file
54
+ puts "cannot open \`\033[0;33m#{file}\033[0m' for reading: No such file or directory, Skipping"
55
+ next
56
+ end
57
+ Js2coffee.compile_file(file, bare: true, sourceMap: true)
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,39 @@
1
+ #!/usr/bin/env ruby
2
+ # -*- coding: utf-8 -*-
3
+
4
+ require 'js2coffee/coffee_compiler'
5
+ require 'js2coffee/js_compiler'
6
+ require 'js2coffee/watcher'
7
+ require 'js2coffee/version'
8
+ require 'coderay'
9
+
10
+ module Js2coffee
11
+ def self.compile_file(file, options={})
12
+ output = $script_extname == 'coffee' ? CoffeeCompiler.compile_file(file, options) : JsCompiler.compile_file(file, options)
13
+ pretty_print(output.to_s)
14
+ end
15
+
16
+ def self.watch_file(file)
17
+ $script_extname == 'coffee' ? CoffeeCompiler.watch_file(file) : JsCompiler.watch_file(file)
18
+ end
19
+
20
+ def self.compile(coffee, options={})
21
+ output = $script_extname == 'coffee' ? CoffeeCompiler.compile(coffee, options) : JsCompiler.compile(coffee, options)
22
+ pretty_print(output.to_s)
23
+ end
24
+
25
+ def self.pretty_print(output)
26
+ unless output.empty?
27
+ token = CodeRay.scan(output, :js)
28
+ print $stdout.tty? ? token.terminal : token.text
29
+ end
30
+ end
31
+
32
+ def self.watch!
33
+ Watcher.instance
34
+ end
35
+
36
+ def self.send_notify(message)
37
+ `notify-send '#{message}' -t 1000` if system 'which notify-send &>/dev/null'
38
+ end
39
+ end
@@ -0,0 +1,54 @@
1
+ #!/usr/bin/env ruby
2
+ # -*- coding: utf-8 -*-
3
+
4
+ require 'execjs'
5
+ require 'pathname'
6
+ require 'js2coffee/path_helper'
7
+ require 'js2coffee/compiler'
8
+
9
+ module Js2coffee
10
+ class CoffeeCompiler < Compiler
11
+ self.source = 'coffee-script'
12
+
13
+ class << self
14
+ def wrapper
15
+ <<-WRAPPER
16
+ (function(script, options) {
17
+ try {
18
+ var result;
19
+ result = CoffeeScript.compile(script, options);
20
+ return {code: result.js, sourceMap: result.v3SourceMap};
21
+ } catch (err) {
22
+ if (err instanceof SyntaxError && err.location) {
23
+ throw new SyntaxError([options.filename, err.location.first_line + 1, err.location.first_column + 1].join(":") + ": " + err.message)
24
+ } else {
25
+ throw err;
26
+ }
27
+ }
28
+ })
29
+ WRAPPER
30
+ end
31
+
32
+ def watch_file(file)
33
+ file_path = Pathname(file)
34
+ source_code = file_path.read
35
+ target_file, target_map = Js2coffee::PathHelper.new(file_path).create_js_path!
36
+ # generate js and SourceMap.
37
+ result = compiler.call(wrapper, source_code, bare: false, sourceMap: true,
38
+ sourceFiles: [file_path.relative_path_from(target_file.dirname).to_s],
39
+ generatedFile: target_file.relative_path_from(target_file.dirname).to_s
40
+ )
41
+ target_file.write("#{ENV['JS_SHEBANG']}#{result['code']}
42
+ //# sourceMappingURL=#{target_map.relative_path_from(target_file.dirname)}")
43
+ target_map.write(result['sourceMap'])
44
+
45
+ puts "==> #{target_file}"
46
+ target_file
47
+ rescue ExecJS::RuntimeError
48
+ error_msg = "[#{file_path}]: #{$!.message}"
49
+ `notify-send "#{error_msg}" -t 5000` if system 'which notify-send &>/dev/null'
50
+ puts error_msg
51
+ end
52
+ end
53
+ end
54
+ end
@@ -0,0 +1,43 @@
1
+ #!/usr/bin/env ruby
2
+ # -*- coding: utf-8 -*-
3
+
4
+ require 'execjs'
5
+ require 'pathname'
6
+ require 'js2coffee/path_helper'
7
+
8
+ module Js2coffee
9
+ class Compiler
10
+ class << self
11
+ def source
12
+ @source or fail 'Specify compiler source first.'
13
+ end
14
+
15
+ def source=(new_source)
16
+ @source = File.read(File.expand_path("../compiler/#{new_source}.js", __FILE__))
17
+ end
18
+
19
+ def wrapper
20
+ fail NotImplementError, 'define wrapper in subclass!'
21
+ end
22
+
23
+ def compiler
24
+ @coffee ||= ExecJS.compile(source)
25
+ end
26
+
27
+ def compile(script, options={})
28
+ result = compiler.call(wrapper, script, options)
29
+ result['code']
30
+ rescue ExecJS::RuntimeError
31
+ puts $!.message
32
+ end
33
+
34
+ def compile_file(file, options={})
35
+ result = compiler.call(wrapper, Pathname(file).read, options)
36
+ puts "==> #{file}" if $stdout.tty?
37
+ result['code']
38
+ rescue ExecJS::RuntimeError
39
+ puts $!.message
40
+ end
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,12 @@
1
+ /**
2
+ * CoffeeScript Compiler v1.10.0
3
+ * http://coffeescript.org
4
+ *
5
+ * Copyright 2011, Jeremy Ashkenas
6
+ * Released under the MIT License
7
+ */
8
+ (function(root){var CoffeeScript=function(){function require(e){return require[e]}return require["./helpers"]=function(){var e={},t={exports:e};return function(){var t,n,i,r,s,o;e.starts=function(e,t,n){return t===e.substr(n,t.length)},e.ends=function(e,t,n){var i;return i=t.length,t===e.substr(e.length-i-(n||0),i)},e.repeat=s=function(e,t){var n;for(n="";t>0;)1&t&&(n+=e),t>>>=1,e+=e;return n},e.compact=function(e){var t,n,i,r;for(r=[],t=0,i=e.length;i>t;t++)n=e[t],n&&r.push(n);return r},e.count=function(e,t){var n,i;if(n=i=0,!t.length)return 1/0;for(;i=1+e.indexOf(t,i);)n++;return n},e.merge=function(e,t){return n(n({},e),t)},n=e.extend=function(e,t){var n,i;for(n in t)i=t[n],e[n]=i;return e},e.flatten=i=function(e){var t,n,r,s;for(n=[],r=0,s=e.length;s>r;r++)t=e[r],"[object Array]"===Object.prototype.toString.call(t)?n=n.concat(i(t)):n.push(t);return n},e.del=function(e,t){var n;return n=e[t],delete e[t],n},e.some=null!=(r=Array.prototype.some)?r:function(e){var t,n,i;for(n=0,i=this.length;i>n;n++)if(t=this[n],e(t))return!0;return!1},e.invertLiterate=function(e){var t,n,i;return i=!0,n=function(){var n,r,s,o;for(s=e.split("\n"),o=[],n=0,r=s.length;r>n;n++)t=s[n],i&&/^([ ]{4}|[ ]{0,3}\t)/.test(t)?o.push(t):(i=/^\s*$/.test(t))?o.push(t):o.push("# "+t);return o}(),n.join("\n")},t=function(e,t){return t?{first_line:e.first_line,first_column:e.first_column,last_line:t.last_line,last_column:t.last_column}:e},e.addLocationDataFn=function(e,n){return function(i){return"object"==typeof i&&i.updateLocationDataIfMissing&&i.updateLocationDataIfMissing(t(e,n)),i}},e.locationDataToString=function(e){var t;return"2"in e&&"first_line"in e[2]?t=e[2]:"first_line"in e&&(t=e),t?t.first_line+1+":"+(t.first_column+1)+"-"+(t.last_line+1+":"+(t.last_column+1)):"No location data"},e.baseFileName=function(e,t,n){var i,r;return null==t&&(t=!1),null==n&&(n=!1),r=n?/\\|\//:/\//,i=e.split(r),e=i[i.length-1],t&&e.indexOf(".")>=0?(i=e.split("."),i.pop(),"coffee"===i[i.length-1]&&i.length>1&&i.pop(),i.join(".")):e},e.isCoffee=function(e){return/\.((lit)?coffee|coffee\.md)$/.test(e)},e.isLiterate=function(e){return/\.(litcoffee|coffee\.md)$/.test(e)},e.throwSyntaxError=function(e,t){var n;throw n=new SyntaxError(e),n.location=t,n.toString=o,n.stack=""+n,n},e.updateSyntaxError=function(e,t,n){return e.toString===o&&(e.code||(e.code=t),e.filename||(e.filename=n),e.stack=""+e),e},o=function(){var e,t,n,i,r,o,a,c,l,h,u,p,d,f,m;return this.code&&this.location?(u=this.location,a=u.first_line,o=u.first_column,l=u.last_line,c=u.last_column,null==l&&(l=a),null==c&&(c=o),r=this.filename||"[stdin]",e=this.code.split("\n")[a],m=o,i=a===l?c+1:e.length,h=e.slice(0,m).replace(/[^\s]/g," ")+s("^",i-m),"undefined"!=typeof process&&null!==process&&(n=(null!=(p=process.stdout)?p.isTTY:void 0)&&!(null!=(d=process.env)?d.NODE_DISABLE_COLORS:void 0)),(null!=(f=this.colorful)?f:n)&&(t=function(e){return""+e+""},e=e.slice(0,m)+t(e.slice(m,i))+e.slice(i),h=t(h)),r+":"+(a+1)+":"+(o+1)+": error: "+this.message+"\n"+e+"\n"+h):Error.prototype.toString.call(this)},e.nameWhitespaceCharacter=function(e){switch(e){case" ":return"space";case"\n":return"newline";case"\r":return"carriage return";case" ":return"tab";default:return e}}}.call(this),t.exports}(),require["./rewriter"]=function(){var e={},t={exports:e};return function(){var t,n,i,r,s,o,a,c,l,h,u,p,d,f,m,g,v,b,y,k=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1},w=[].slice;for(f=function(e,t,n){var i;return i=[e,t],i.generated=!0,n&&(i.origin=n),i},e.Rewriter=function(){function e(){}return e.prototype.rewrite=function(e){return this.tokens=e,this.removeLeadingNewlines(),this.closeOpenCalls(),this.closeOpenIndexes(),this.normalizeLines(),this.tagPostfixConditionals(),this.addImplicitBracesAndParens(),this.addLocationDataToGeneratedTokens(),this.tokens},e.prototype.scanTokens=function(e){var t,n,i;for(i=this.tokens,t=0;n=i[t];)t+=e.call(this,n,t,i);return!0},e.prototype.detectEnd=function(e,t,n){var i,o,a,c,l;for(l=this.tokens,i=0;c=l[e];){if(0===i&&t.call(this,c,e))return n.call(this,c,e);if(!c||0>i)return n.call(this,c,e-1);o=c[0],k.call(s,o)>=0?i+=1:(a=c[0],k.call(r,a)>=0&&(i-=1)),e+=1}return e-1},e.prototype.removeLeadingNewlines=function(){var e,t,n,i,r;for(i=this.tokens,e=t=0,n=i.length;n>t&&(r=i[e][0],"TERMINATOR"===r);e=++t);return e?this.tokens.splice(0,e):void 0},e.prototype.closeOpenCalls=function(){var e,t;return t=function(e,t){var n;return")"===(n=e[0])||"CALL_END"===n||"OUTDENT"===e[0]&&")"===this.tag(t-1)},e=function(e,t){return this.tokens["OUTDENT"===e[0]?t-1:t][0]="CALL_END"},this.scanTokens(function(n,i){return"CALL_START"===n[0]&&this.detectEnd(i+1,t,e),1})},e.prototype.closeOpenIndexes=function(){var e,t;return t=function(e){var t;return"]"===(t=e[0])||"INDEX_END"===t},e=function(e){return e[0]="INDEX_END"},this.scanTokens(function(n,i){return"INDEX_START"===n[0]&&this.detectEnd(i+1,t,e),1})},e.prototype.indexOfTag=function(){var e,t,n,i,r,s,o;for(t=arguments[0],r=arguments.length>=2?w.call(arguments,1):[],e=0,n=i=0,s=r.length;s>=0?s>i:i>s;n=s>=0?++i:--i){for(;"HERECOMMENT"===this.tag(t+n+e);)e+=2;if(null!=r[n]&&("string"==typeof r[n]&&(r[n]=[r[n]]),o=this.tag(t+n+e),0>k.call(r[n],o)))return-1}return t+n+e-1},e.prototype.looksObjectish=function(e){var t,n;return this.indexOfTag(e,"@",null,":")>-1||this.indexOfTag(e,null,":")>-1?!0:(n=this.indexOfTag(e,s),n>-1&&(t=null,this.detectEnd(n+1,function(e){var t;return t=e[0],k.call(r,t)>=0},function(e,n){return t=n}),":"===this.tag(t+1))?!0:!1)},e.prototype.findTagsBackwards=function(e,t){var n,i,o,a,c,l,h;for(n=[];e>=0&&(n.length||(a=this.tag(e),0>k.call(t,a)&&(c=this.tag(e),0>k.call(s,c)||this.tokens[e].generated)&&(l=this.tag(e),0>k.call(u,l))));)i=this.tag(e),k.call(r,i)>=0&&n.push(this.tag(e)),o=this.tag(e),k.call(s,o)>=0&&n.length&&n.pop(),e-=1;return h=this.tag(e),k.call(t,h)>=0},e.prototype.addImplicitBracesAndParens=function(){var e,t;return e=[],t=null,this.scanTokens(function(i,h,p){var d,m,g,v,b,y,w,T,C,F,E,N,L,x,S,D,R,A,I,_,O,$,j,M,B,V,P,U;if(U=i[0],E=(N=h>0?p[h-1]:[])[0],C=(p.length-1>h?p[h+1]:[])[0],j=function(){return e[e.length-1]},M=h,g=function(e){return h-M+e},v=function(){var e,t;return null!=(e=j())?null!=(t=e[2])?t.ours:void 0:void 0},b=function(){var e;return v()&&"("===(null!=(e=j())?e[0]:void 0)},w=function(){var e;return v()&&"{"===(null!=(e=j())?e[0]:void 0)},y=function(){var e;return v&&"CONTROL"===(null!=(e=j())?e[0]:void 0)},B=function(t){var n;return n=null!=t?t:h,e.push(["(",n,{ours:!0}]),p.splice(n,0,f("CALL_START","(")),null==t?h+=1:void 0},d=function(){return e.pop(),p.splice(h,0,f("CALL_END",")",["","end of input",i[2]])),h+=1},V=function(t,n){var r,s;return null==n&&(n=!0),r=null!=t?t:h,e.push(["{",r,{sameLine:!0,startsLine:n,ours:!0}]),s=new String("{"),s.generated=!0,p.splice(r,0,f("{",s,i)),null==t?h+=1:void 0},m=function(t){return t=null!=t?t:h,e.pop(),p.splice(t,0,f("}","}",i)),h+=1},b()&&("IF"===U||"TRY"===U||"FINALLY"===U||"CATCH"===U||"CLASS"===U||"SWITCH"===U))return e.push(["CONTROL",h,{ours:!0}]),g(1);if("INDENT"===U&&v()){if("=>"!==E&&"->"!==E&&"["!==E&&"("!==E&&","!==E&&"{"!==E&&"TRY"!==E&&"ELSE"!==E&&"="!==E)for(;b();)d();return y()&&e.pop(),e.push([U,h]),g(1)}if(k.call(s,U)>=0)return e.push([U,h]),g(1);if(k.call(r,U)>=0){for(;v();)b()?d():w()?m():e.pop();t=e.pop()}if((k.call(c,U)>=0&&i.spaced||"?"===U&&h>0&&!p[h-1].spaced)&&(k.call(o,C)>=0||k.call(l,C)>=0&&!(null!=(L=p[h+1])?L.spaced:void 0)&&!(null!=(x=p[h+1])?x.newLine:void 0)))return"?"===U&&(U=i[0]="FUNC_EXIST"),B(h+1),g(2);if(k.call(c,U)>=0&&this.indexOfTag(h+1,"INDENT")>-1&&this.looksObjectish(h+2)&&!this.findTagsBackwards(h,["CLASS","EXTENDS","IF","CATCH","SWITCH","LEADING_WHEN","FOR","WHILE","UNTIL"]))return B(h+1),e.push(["INDENT",h+2]),g(3);if(":"===U){for(I=function(){var e;switch(!1){case e=this.tag(h-1),0>k.call(r,e):return t[1];case"@"!==this.tag(h-2):return h-2;default:return h-1}}.call(this);"HERECOMMENT"===this.tag(I-2);)I-=2;return this.insideForDeclaration="FOR"===C,P=0===I||(S=this.tag(I-1),k.call(u,S)>=0)||p[I-1].newLine,j()&&(D=j(),$=D[0],O=D[1],("{"===$||"INDENT"===$&&"{"===this.tag(O-1))&&(P||","===this.tag(I-1)||"{"===this.tag(I-1)))?g(1):(V(I,!!P),g(2))}if(w()&&k.call(u,U)>=0&&(j()[2].sameLine=!1),T="OUTDENT"===E||N.newLine,k.call(a,U)>=0||k.call(n,U)>=0&&T)for(;v();)if(R=j(),$=R[0],O=R[1],A=R[2],_=A.sameLine,P=A.startsLine,b()&&","!==E)d();else if(w()&&!this.insideForDeclaration&&_&&"TERMINATOR"!==U&&":"!==E)m();else{if(!w()||"TERMINATOR"!==U||","===E||P&&this.looksObjectish(h+1))break;if("HERECOMMENT"===C)return g(1);m()}if(!(","!==U||this.looksObjectish(h+1)||!w()||this.insideForDeclaration||"TERMINATOR"===C&&this.looksObjectish(h+2)))for(F="OUTDENT"===C?1:0;w();)m(h+F);return g(1)})},e.prototype.addLocationDataToGeneratedTokens=function(){return this.scanTokens(function(e,t,n){var i,r,s,o,a,c;return e[2]?1:e.generated||e.explicit?("{"===e[0]&&(s=null!=(a=n[t+1])?a[2]:void 0)?(r=s.first_line,i=s.first_column):(o=null!=(c=n[t-1])?c[2]:void 0)?(r=o.last_line,i=o.last_column):r=i=0,e[2]={first_line:r,first_column:i,last_line:r,last_column:i},1):1})},e.prototype.normalizeLines=function(){var e,t,r,s,o;return o=r=s=null,t=function(e,t){var r,s,a,c;return";"!==e[1]&&(r=e[0],k.call(p,r)>=0)&&!("TERMINATOR"===e[0]&&(s=this.tag(t+1),k.call(i,s)>=0))&&!("ELSE"===e[0]&&"THEN"!==o)&&!!("CATCH"!==(a=e[0])&&"FINALLY"!==a||"->"!==o&&"=>"!==o)||(c=e[0],k.call(n,c)>=0&&this.tokens[t-1].newLine)},e=function(e,t){return this.tokens.splice(","===this.tag(t-1)?t-1:t,0,s)},this.scanTokens(function(n,a,c){var l,h,u,p,f,m;if(m=n[0],"TERMINATOR"===m){if("ELSE"===this.tag(a+1)&&"OUTDENT"!==this.tag(a-1))return c.splice.apply(c,[a,1].concat(w.call(this.indentation()))),1;if(u=this.tag(a+1),k.call(i,u)>=0)return c.splice(a,1),0}if("CATCH"===m)for(l=h=1;2>=h;l=++h)if("OUTDENT"===(p=this.tag(a+l))||"TERMINATOR"===p||"FINALLY"===p)return c.splice.apply(c,[a+l,0].concat(w.call(this.indentation()))),2+l;return k.call(d,m)>=0&&"INDENT"!==this.tag(a+1)&&("ELSE"!==m||"IF"!==this.tag(a+1))?(o=m,f=this.indentation(c[a]),r=f[0],s=f[1],"THEN"===o&&(r.fromThen=!0),c.splice(a+1,0,r),this.detectEnd(a+2,t,e),"THEN"===m&&c.splice(a,1),1):1})},e.prototype.tagPostfixConditionals=function(){var e,t,n;return n=null,t=function(e,t){var n,i;return i=e[0],n=this.tokens[t-1][0],"TERMINATOR"===i||"INDENT"===i&&0>k.call(d,n)},e=function(e){return"INDENT"!==e[0]||e.generated&&!e.fromThen?n[0]="POST_"+n[0]:void 0},this.scanTokens(function(i,r){return"IF"!==i[0]?1:(n=i,this.detectEnd(r+1,t,e),1)})},e.prototype.indentation=function(e){var t,n;return t=["INDENT",2],n=["OUTDENT",2],e?(t.generated=n.generated=!0,t.origin=n.origin=e):t.explicit=n.explicit=!0,[t,n]},e.prototype.generate=f,e.prototype.tag=function(e){var t;return null!=(t=this.tokens[e])?t[0]:void 0},e}(),t=[["(",")"],["[","]"],["{","}"],["INDENT","OUTDENT"],["CALL_START","CALL_END"],["PARAM_START","PARAM_END"],["INDEX_START","INDEX_END"],["STRING_START","STRING_END"],["REGEX_START","REGEX_END"]],e.INVERSES=h={},s=[],r=[],m=0,v=t.length;v>m;m++)b=t[m],g=b[0],y=b[1],s.push(h[y]=g),r.push(h[g]=y);i=["CATCH","THEN","ELSE","FINALLY"].concat(r),c=["IDENTIFIER","SUPER",")","CALL_END","]","INDEX_END","@","THIS"],o=["IDENTIFIER","NUMBER","STRING","STRING_START","JS","REGEX","REGEX_START","NEW","PARAM_START","CLASS","IF","TRY","SWITCH","THIS","BOOL","NULL","UNDEFINED","UNARY","YIELD","UNARY_MATH","SUPER","THROW","@","->","=>","[","(","{","--","++"],l=["+","-"],a=["POST_IF","FOR","WHILE","UNTIL","WHEN","BY","LOOP","TERMINATOR"],d=["ELSE","->","=>","TRY","FINALLY","THEN"],p=["TERMINATOR","CATCH","FINALLY","ELSE","OUTDENT","LEADING_WHEN"],u=["TERMINATOR","INDENT","OUTDENT"],n=[".","?.","::","?::"]}.call(this),t.exports}(),require["./lexer"]=function(){var e={},t={exports:e};return function(){var t,n,i,r,s,o,a,c,l,h,u,p,d,f,m,g,v,b,y,k,w,T,C,F,E,N,L,x,S,D,R,A,I,_,O,$,j,M,B,V,P,U,G,H,q,X,W,Y,K,z,J,Q,Z,et,tt,nt,it,rt,st,ot,at,ct,lt,ht,ut=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1};ot=require("./rewriter"),P=ot.Rewriter,w=ot.INVERSES,at=require("./helpers"),nt=at.count,lt=at.starts,tt=at.compact,ct=at.repeat,it=at.invertLiterate,st=at.locationDataToString,ht=at.throwSyntaxError,e.Lexer=S=function(){function e(){}return e.prototype.tokenize=function(e,t){var n,i,r,s;for(null==t&&(t={}),this.literate=t.literate,this.indent=0,this.baseIndent=0,this.indebt=0,this.outdebt=0,this.indents=[],this.ends=[],this.tokens=[],this.seenFor=!1,this.chunkLine=t.line||0,this.chunkColumn=t.column||0,e=this.clean(e),r=0;this.chunk=e.slice(r);)if(n=this.identifierToken()||this.commentToken()||this.whitespaceToken()||this.lineToken()||this.stringToken()||this.numberToken()||this.regexToken()||this.jsToken()||this.literalToken(),s=this.getLineAndColumnFromChunk(n),this.chunkLine=s[0],this.chunkColumn=s[1],r+=n,t.untilBalanced&&0===this.ends.length)return{tokens:this.tokens,index:r};return this.closeIndentation(),(i=this.ends.pop())&&this.error("missing "+i.tag,i.origin[2]),t.rewrite===!1?this.tokens:(new P).rewrite(this.tokens)},e.prototype.clean=function(e){return e.charCodeAt(0)===t&&(e=e.slice(1)),e=e.replace(/\r/g,"").replace(z,""),et.test(e)&&(e="\n"+e,this.chunkLine--),this.literate&&(e=it(e)),e},e.prototype.identifierToken=function(){var e,t,n,i,r,c,l,h,u,p,d,f,m,g,b,y;return(h=v.exec(this.chunk))?(l=h[0],r=h[1],t=h[2],c=r.length,u=void 0,"own"===r&&"FOR"===this.tag()?(this.token("OWN",r),r.length):"from"===r&&"YIELD"===this.tag()?(this.token("FROM",r),r.length):(d=this.tokens,p=d[d.length-1],i=t||null!=p&&("."===(f=p[0])||"?."===f||"::"===f||"?::"===f||!p.spaced&&"@"===p[0]),b="IDENTIFIER",!i&&(ut.call(F,r)>=0||ut.call(a,r)>=0)&&(b=r.toUpperCase(),"WHEN"===b&&(m=this.tag(),ut.call(N,m)>=0)?b="LEADING_WHEN":"FOR"===b?this.seenFor=!0:"UNLESS"===b?b="IF":ut.call(J,b)>=0?b="UNARY":ut.call(B,b)>=0&&("INSTANCEOF"!==b&&this.seenFor?(b="FOR"+b,this.seenFor=!1):(b="RELATION","!"===this.value()&&(u=this.tokens.pop(),r="!"+r)))),ut.call(C,r)>=0&&(i?(b="IDENTIFIER",r=new String(r),r.reserved=!0):ut.call(V,r)>=0&&this.error("reserved word '"+r+"'",{length:r.length})),i||(ut.call(s,r)>=0&&(e=r,r=o[r]),b=function(){switch(r){case"!":return"UNARY";case"==":case"!=":return"COMPARE";case"&&":case"||":return"LOGIC";case"true":case"false":return"BOOL";case"break":case"continue":return"STATEMENT";default:return b}}()),y=this.token(b,r,0,c),e&&(y.origin=[b,e,y[2]]),y.variable=!i,u&&(g=[u[2].first_line,u[2].first_column],y[2].first_line=g[0],y[2].first_column=g[1]),t&&(n=l.lastIndexOf(":"),this.token(":",":",n,t.length)),l.length)):0},e.prototype.numberToken=function(){var e,t,n,i,r;return(n=I.exec(this.chunk))?(i=n[0],t=i.length,/^0[BOX]/.test(i)?this.error("radix prefix in '"+i+"' must be lowercase",{offset:1}):/E/.test(i)&&!/^0x/.test(i)?this.error("exponential notation in '"+i+"' must be indicated with a lowercase 'e'",{offset:i.indexOf("E")}):/^0\d*[89]/.test(i)?this.error("decimal literal '"+i+"' must not be prefixed with '0'",{length:t}):/^0\d+/.test(i)&&this.error("octal literal '"+i+"' must be prefixed with '0o'",{length:t}),(r=/^0o([0-7]+)/.exec(i))&&(i="0x"+parseInt(r[1],8).toString(16)),(e=/^0b([01]+)/.exec(i))&&(i="0x"+parseInt(e[1],2).toString(16)),this.token("NUMBER",i,0,t),t):0},e.prototype.stringToken=function(){var e,t,n,i,r,s,o,a,c,l,h,u,m,g,v,b;if(h=(Y.exec(this.chunk)||[])[0],!h)return 0;if(g=function(){switch(h){case"'":return W;case'"':return q;case"'''":return f;case'"""':return p}}(),s=3===h.length,u=this.matchWithInterpolations(g,h),b=u.tokens,r=u.index,e=b.length-1,n=h.charAt(0),s){for(a=null,i=function(){var e,t,n;for(n=[],o=e=0,t=b.length;t>e;o=++e)v=b[o],"NEOSTRING"===v[0]&&n.push(v[1]);return n}().join("#{}");l=d.exec(i);)t=l[1],(null===a||(m=t.length)>0&&a.length>m)&&(a=t);a&&(c=RegExp("^"+a,"gm")),this.mergeInterpolationTokens(b,{delimiter:n},function(t){return function(n,i){return n=t.formatString(n),0===i&&(n=n.replace(E,"")),i===e&&(n=n.replace(K,"")),c&&(n=n.replace(c,"")),n}}(this))}else this.mergeInterpolationTokens(b,{delimiter:n},function(t){return function(n,i){return n=t.formatString(n),n=n.replace(G,function(t,r){return 0===i&&0===r||i===e&&r+t.length===n.length?"":" "})}}(this));return r},e.prototype.commentToken=function(){var e,t,n;return(n=this.chunk.match(c))?(e=n[0],t=n[1],t&&((n=u.exec(e))&&this.error("block comments cannot contain "+n[0],{offset:n.index,length:n[0].length}),t.indexOf("\n")>=0&&(t=t.replace(RegExp("\\n"+ct(" ",this.indent),"g"),"\n")),this.token("HERECOMMENT",t,0,e.length)),e.length):0},e.prototype.jsToken=function(){var e,t;return"`"===this.chunk.charAt(0)&&(e=T.exec(this.chunk))?(this.token("JS",(t=e[0]).slice(1,-1),0,t.length),t.length):0},e.prototype.regexToken=function(){var e,t,n,r,s,o,a,c,l,h,u,p,d;switch(!1){case!(o=M.exec(this.chunk)):this.error("regular expressions cannot begin with "+o[2],{offset:o.index+o[1].length});break;case!(o=this.matchWithInterpolations(m,"///")):d=o.tokens,s=o.index;break;case!(o=$.exec(this.chunk)):if(p=o[0],e=o[1],t=o[2],this.validateEscapes(e,{isRegex:!0,offsetInChunk:1}),s=p.length,l=this.tokens,c=l[l.length-1],c)if(c.spaced&&(h=c[0],ut.call(i,h)>=0)){if(!t||O.test(p))return 0}else if(u=c[0],ut.call(A,u)>=0)return 0;t||this.error("missing / (unclosed regex)");break;default:return 0}switch(r=j.exec(this.chunk.slice(s))[0],n=s+r.length,a=this.makeToken("REGEX",null,0,n),!1){case!!Z.test(r):this.error("invalid regular expression flags "+r,{offset:s,length:r.length});break;case!(p||1===d.length):null==e&&(e=this.formatHeregex(d[0][1])),this.token("REGEX",""+this.makeDelimitedLiteral(e,{delimiter:"/"})+r,0,n,a);break;default:this.token("REGEX_START","(",0,0,a),this.token("IDENTIFIER","RegExp",0,0),this.token("CALL_START","(",0,0),this.mergeInterpolationTokens(d,{delimiter:'"',"double":!0},this.formatHeregex),r&&(this.token(",",",",s,0),this.token("STRING",'"'+r+'"',s,r.length)),this.token(")",")",n,0),this.token("REGEX_END",")",n,0)}return n},e.prototype.lineToken=function(){var e,t,n,i,r;if(!(n=R.exec(this.chunk)))return 0;if(t=n[0],this.seenFor=!1,r=t.length-1-t.lastIndexOf("\n"),i=this.unfinished(),r-this.indebt===this.indent)return i?this.suppressNewlines():this.newlineToken(0),t.length;if(r>this.indent){if(i)return this.indebt=r-this.indent,this.suppressNewlines(),t.length;if(!this.tokens.length)return this.baseIndent=this.indent=r,t.length;e=r-this.indent+this.outdebt,this.token("INDENT",e,t.length-r,r),this.indents.push(e),this.ends.push({tag:"OUTDENT"}),this.outdebt=this.indebt=0,this.indent=r}else this.baseIndent>r?this.error("missing indentation",{offset:t.length}):(this.indebt=0,this.outdentToken(this.indent-r,i,t.length));return t.length},e.prototype.outdentToken=function(e,t,n){var i,r,s,o;for(i=this.indent-e;e>0;)s=this.indents[this.indents.length-1],s?s===this.outdebt?(e-=this.outdebt,this.outdebt=0):this.outdebt>s?(this.outdebt-=s,e-=s):(r=this.indents.pop()+this.outdebt,n&&(o=this.chunk[n],ut.call(b,o)>=0)&&(i-=r-e,e=r),this.outdebt=0,this.pair("OUTDENT"),this.token("OUTDENT",e,0,n),e-=r):e=0;for(r&&(this.outdebt-=e);";"===this.value();)this.tokens.pop();return"TERMINATOR"===this.tag()||t||this.token("TERMINATOR","\n",n,0),this.indent=i,this},e.prototype.whitespaceToken=function(){var e,t,n,i;return(e=et.exec(this.chunk))||(t="\n"===this.chunk.charAt(0))?(i=this.tokens,n=i[i.length-1],n&&(n[e?"spaced":"newLine"]=!0),e?e[0].length:0):0},e.prototype.newlineToken=function(e){for(;";"===this.value();)this.tokens.pop();return"TERMINATOR"!==this.tag()&&this.token("TERMINATOR","\n",e,0),this},e.prototype.suppressNewlines=function(){return"\\"===this.value()&&this.tokens.pop(),this},e.prototype.literalToken=function(){var e,t,n,s,o,a,c,u,p,d;if((e=_.exec(this.chunk))?(d=e[0],r.test(d)&&this.tagParameters()):d=this.chunk.charAt(0),u=d,n=this.tokens,t=n[n.length-1],"="===d&&t&&(!t[1].reserved&&(s=t[1],ut.call(C,s)>=0)&&(t.origin&&(t=t.origin),this.error("reserved word '"+t[1]+"' can't be assigned",t[2])),"||"===(o=t[1])||"&&"===o))return t[0]="COMPOUND_ASSIGN",t[1]+="=",d.length;if(";"===d)this.seenFor=!1,u="TERMINATOR";else if(ut.call(D,d)>=0)u="MATH";else if(ut.call(l,d)>=0)u="COMPARE";else if(ut.call(h,d)>=0)u="COMPOUND_ASSIGN";else if(ut.call(J,d)>=0)u="UNARY";else if(ut.call(Q,d)>=0)u="UNARY_MATH";else if(ut.call(U,d)>=0)u="SHIFT";else if(ut.call(x,d)>=0||"?"===d&&(null!=t?t.spaced:void 0))u="LOGIC";else if(t&&!t.spaced)if("("===d&&(a=t[0],ut.call(i,a)>=0))"?"===t[0]&&(t[0]="FUNC_EXIST"),u="CALL_START";else if("["===d&&(c=t[0],ut.call(y,c)>=0))switch(u="INDEX_START",t[0]){case"?":t[0]="INDEX_SOAK"}switch(p=this.makeToken(u,d),d){case"(":case"{":case"[":this.ends.push({tag:w[d],origin:p});break;case")":case"}":case"]":this.pair(d)}return this.tokens.push(p),d.length},e.prototype.tagParameters=function(){var e,t,n,i;if(")"!==this.tag())return this;for(t=[],i=this.tokens,e=i.length,i[--e][0]="PARAM_END";n=i[--e];)switch(n[0]){case")":t.push(n);break;case"(":case"CALL_START":if(!t.length)return"("===n[0]?(n[0]="PARAM_START",this):this;t.pop()}return this},e.prototype.closeIndentation=function(){return this.outdentToken(this.indent)},e.prototype.matchWithInterpolations=function(t,n){var i,r,s,o,a,c,l,h,u,p,d,f,m,g,v;if(v=[],h=n.length,this.chunk.slice(0,h)!==n)return null;for(m=this.chunk.slice(h);;){if(g=t.exec(m)[0],this.validateEscapes(g,{isRegex:"/"===n.charAt(0),offsetInChunk:h}),v.push(this.makeToken("NEOSTRING",g,h)),m=m.slice(g.length),h+=g.length,"#{"!==m.slice(0,2))break;p=this.getLineAndColumnFromChunk(h+1),c=p[0],r=p[1],d=(new e).tokenize(m.slice(1),{line:c,column:r,untilBalanced:!0}),l=d.tokens,o=d.index,o+=1,u=l[0],i=l[l.length-1],u[0]=u[1]="(",i[0]=i[1]=")",i.origin=["","end of interpolation",i[2]],"TERMINATOR"===(null!=(f=l[1])?f[0]:void 0)&&l.splice(1,1),v.push(["TOKENS",l]),m=m.slice(o),h+=o}return m.slice(0,n.length)!==n&&this.error("missing "+n,{length:n.length}),s=v[0],a=v[v.length-1],s[2].first_column-=n.length,a[2].last_column+=n.length,0===a[1].length&&(a[2].last_column-=1),{tokens:v,index:h+n.length}},e.prototype.mergeInterpolationTokens=function(e,t,n){var i,r,s,o,a,c,l,h,u,p,d,f,m,g,v,b;for(e.length>1&&(u=this.token("STRING_START","(",0,0)),s=this.tokens.length,o=a=0,l=e.length;l>a;o=++a){switch(g=e[o],m=g[0],b=g[1],m){case"TOKENS":if(2===b.length)continue;h=b[0],v=b;break;case"NEOSTRING":if(i=n(g[1],o),0===i.length){if(0!==o)continue;r=this.tokens.length}2===o&&null!=r&&this.tokens.splice(r,2),g[0]="STRING",g[1]=this.makeDelimitedLiteral(i,t),h=g,v=[g]}this.tokens.length>s&&(p=this.token("+","+"),p[2]={first_line:h[2].first_line,first_column:h[2].first_column,last_line:h[2].first_line,last_column:h[2].first_column}),(d=this.tokens).push.apply(d,v)}return u?(c=e[e.length-1],u.origin=["STRING",null,{first_line:u[2].first_line,first_column:u[2].first_column,last_line:c[2].last_line,last_column:c[2].last_column}],f=this.token("STRING_END",")"),f[2]={first_line:c[2].last_line,first_column:c[2].last_column,last_line:c[2].last_line,last_column:c[2].last_column}):void 0},e.prototype.pair=function(e){var t,n,i,r,s;return i=this.ends,n=i[i.length-1],e!==(s=null!=n?n.tag:void 0)?("OUTDENT"!==s&&this.error("unmatched "+e),r=this.indents,t=r[r.length-1],this.outdentToken(t,!0),this.pair(e)):this.ends.pop()},e.prototype.getLineAndColumnFromChunk=function(e){var t,n,i,r,s;return 0===e?[this.chunkLine,this.chunkColumn]:(s=e>=this.chunk.length?this.chunk:this.chunk.slice(0,+(e-1)+1||9e9),i=nt(s,"\n"),t=this.chunkColumn,i>0?(r=s.split("\n"),n=r[r.length-1],t=n.length):t+=s.length,[this.chunkLine+i,t])},e.prototype.makeToken=function(e,t,n,i){var r,s,o,a,c;return null==n&&(n=0),null==i&&(i=t.length),s={},o=this.getLineAndColumnFromChunk(n),s.first_line=o[0],s.first_column=o[1],r=Math.max(0,i-1),a=this.getLineAndColumnFromChunk(n+r),s.last_line=a[0],s.last_column=a[1],c=[e,t,s]},e.prototype.token=function(e,t,n,i,r){var s;return s=this.makeToken(e,t,n,i),r&&(s.origin=r),this.tokens.push(s),s},e.prototype.tag=function(){var e,t;return e=this.tokens,t=e[e.length-1],null!=t?t[0]:void 0},e.prototype.value=function(){var e,t;return e=this.tokens,t=e[e.length-1],null!=t?t[1]:void 0},e.prototype.unfinished=function(){var e;return L.test(this.chunk)||"\\"===(e=this.tag())||"."===e||"?."===e||"?::"===e||"UNARY"===e||"MATH"===e||"UNARY_MATH"===e||"+"===e||"-"===e||"YIELD"===e||"**"===e||"SHIFT"===e||"RELATION"===e||"COMPARE"===e||"LOGIC"===e||"THROW"===e||"EXTENDS"===e},e.prototype.formatString=function(e){return e.replace(X,"$1")},e.prototype.formatHeregex=function(e){return e.replace(g,"$1$2")},e.prototype.validateEscapes=function(e,t){var n,i,r,s,o,a,c,l;return null==t&&(t={}),s=k.exec(e),!s||(s[0],n=s[1],a=s[2],i=s[3],l=s[4],t.isRegex&&a&&"0"!==a.charAt(0))?void 0:(o=a?"octal escape sequences are not allowed":"invalid escape sequence",r="\\"+(a||i||l),this.error(o+" "+r,{offset:(null!=(c=t.offsetInChunk)?c:0)+s.index+n.length,length:r.length}))},e.prototype.makeDelimitedLiteral=function(e,t){var n;return null==t&&(t={}),""===e&&"/"===t.delimiter&&(e="(?:)"),n=RegExp("(\\\\\\\\)|(\\\\0(?=[1-7]))|\\\\?("+t.delimiter+")|\\\\?(?:(\\n)|(\\r)|(\\u2028)|(\\u2029))|(\\\\.)","g"),e=e.replace(n,function(e,n,i,r,s,o,a,c,l){switch(!1){case!n:return t.double?n+n:n;case!i:return"\\x00";case!r:return"\\"+r;case!s:return"\\n";case!o:return"\\r";case!a:return"\\u2028";case!c:return"\\u2029";case!l:return t.double?"\\"+l:l}}),""+t.delimiter+e+t.delimiter},e.prototype.error=function(e,t){var n,i,r,s,o,a;return null==t&&(t={}),r="first_line"in t?t:(o=this.getLineAndColumnFromChunk(null!=(s=t.offset)?s:0),i=o[0],n=o[1],o,{first_line:i,first_column:n,last_column:n+(null!=(a=t.length)?a:1)-1}),ht(e,r)},e}(),F=["true","false","null","this","new","delete","typeof","in","instanceof","return","throw","break","continue","debugger","yield","if","else","switch","for","while","do","try","catch","finally","class","extends","super"],a=["undefined","then","unless","until","loop","of","by","when"],o={and:"&&",or:"||",is:"==",isnt:"!=",not:"!",yes:"true",no:"false",on:"true",off:"false"},s=function(){var e;e=[];for(rt in o)e.push(rt);return e}(),a=a.concat(s),V=["case","default","function","var","void","with","const","let","enum","export","import","native","implements","interface","package","private","protected","public","static"],H=["arguments","eval","yield*"],C=F.concat(V).concat(H),e.RESERVED=V.concat(F).concat(a).concat(H),e.STRICT_PROSCRIBED=H,t=65279,v=/^(?!\d)((?:(?!\s)[$\w\x7f-\uffff])+)([^\n\S]*:(?!:))?/,I=/^0b[01]+|^0o[0-7]+|^0x[\da-f]+|^\d*\.?\d+(?:e[+-]?\d+)?/i,_=/^(?:[-=]>|[-+*\/%<>&|^!?=]=|>>>=?|([-+:])\1|([&|<>*\/%])\2=?|\?(\.|::)|\.{2,3})/,et=/^[^\n\S]+/,c=/^###([^#][\s\S]*?)(?:###[^\n\S]*|###$)|^(?:\s*#(?!##[^#]).*)+/,r=/^[-=]>/,R=/^(?:\n[^\n\S]*)+/,T=/^`[^\\`]*(?:\\.[^\\`]*)*`/,Y=/^(?:'''|"""|'|")/,W=/^(?:[^\\']|\\[\s\S])*/,q=/^(?:[^\\"#]|\\[\s\S]|\#(?!\{))*/,f=/^(?:[^\\']|\\[\s\S]|'(?!''))*/,p=/^(?:[^\\"#]|\\[\s\S]|"(?!"")|\#(?!\{))*/,X=/((?:\\\\)+)|\\[^\S\n]*\n\s*/g,G=/\s*\n\s*/g,d=/\n+([^\n\S]*)(?=\S)/g,$=/^\/(?!\/)((?:[^[\/\n\\]|\\[^\n]|\[(?:\\[^\n]|[^\]\n\\])*\])*)(\/)?/,j=/^\w*/,Z=/^(?!.*(.).*\1)[imgy]*$/,m=/^(?:[^\\\/#]|\\[\s\S]|\/(?!\/\/)|\#(?!\{))*/,g=/((?:\\\\)+)|\\(\s)|\s+(?:#.*)?/g,M=/^(\/|\/{3}\s*)(\*)/,O=/^\/=?\s/,u=/\*\//,L=/^\s*(?:,|\??\.(?![.\d])|::)/,k=/((?:^|[^\\])(?:\\\\)*)\\(?:(0[0-7]|[1-7])|(x(?![\da-fA-F]{2}).{0,2})|(u(?![\da-fA-F]{4}).{0,4}))/,E=/^[^\n\S]*\n/,K=/\n[^\n\S]*$/,z=/\s+$/,h=["-=","+=","/=","*=","%=","||=","&&=","?=","<<=",">>=",">>>=","&=","^=","|=","**=","//=","%%="],J=["NEW","TYPEOF","DELETE","DO"],Q=["!","~"],x=["&&","||","&","|","^"],U=["<<",">>",">>>"],l=["==","!=","<",">","<=",">="],D=["*","/","%","//","%%"],B=["IN","OF","INSTANCEOF"],n=["TRUE","FALSE"],i=["IDENTIFIER",")","]","?","@","THIS","SUPER"],y=i.concat(["NUMBER","STRING","STRING_END","REGEX","REGEX_END","BOOL","NULL","UNDEFINED","}","::"]),A=y.concat(["++","--"]),N=["INDENT","OUTDENT","TERMINATOR"],b=[")","}","]"]}.call(this),t.exports}(),require["./parser"]=function(){var e={},t={exports:e},n=function(){function e(){this.yy={}}var t=function(e,t,n,i){for(n=n||{},i=e.length;i--;n[e[i]]=t);return n},n=[1,20],i=[1,75],r=[1,71],s=[1,76],o=[1,77],a=[1,73],c=[1,74],l=[1,50],h=[1,52],u=[1,53],p=[1,54],d=[1,55],f=[1,45],m=[1,46],g=[1,27],v=[1,60],b=[1,61],y=[1,70],k=[1,43],w=[1,26],T=[1,58],C=[1,59],F=[1,57],E=[1,38],N=[1,44],L=[1,56],x=[1,65],S=[1,66],D=[1,67],R=[1,68],A=[1,42],I=[1,64],_=[1,29],O=[1,30],$=[1,31],j=[1,32],M=[1,33],B=[1,34],V=[1,35],P=[1,78],U=[1,6,26,34,109],G=[1,88],H=[1,81],q=[1,80],X=[1,79],W=[1,82],Y=[1,83],K=[1,84],z=[1,85],J=[1,86],Q=[1,87],Z=[1,91],et=[1,6,25,26,34,56,61,64,80,85,93,98,100,109,111,112,113,117,118,133,136,137,142,143,144,145,146,147,148],tt=[1,97],nt=[1,98],it=[1,99],rt=[1,100],st=[1,102],ot=[1,103],at=[1,96],ct=[2,115],lt=[1,6,25,26,34,56,61,64,73,74,75,76,78,80,81,85,91,92,93,98,100,109,111,112,113,117,118,133,136,137,142,143,144,145,146,147,148],ht=[2,82],ut=[1,108],pt=[2,61],dt=[1,112],ft=[1,117],mt=[1,118],gt=[1,120],vt=[1,6,25,26,34,46,56,61,64,73,74,75,76,78,80,81,85,91,92,93,98,100,109,111,112,113,117,118,133,136,137,142,143,144,145,146,147,148],bt=[2,79],yt=[1,6,26,34,56,61,64,80,85,93,98,100,109,111,112,113,117,118,133,136,137,142,143,144,145,146,147,148],kt=[1,155],wt=[1,157],Tt=[1,152],Ct=[1,6,25,26,34,46,56,61,64,73,74,75,76,78,80,81,85,87,91,92,93,98,100,109,111,112,113,117,118,133,136,137,140,141,142,143,144,145,146,147,148,149],Ft=[2,98],Et=[1,6,25,26,34,49,56,61,64,73,74,75,76,78,80,81,85,91,92,93,98,100,109,111,112,113,117,118,133,136,137,142,143,144,145,146,147,148],Nt=[1,6,25,26,34,46,49,56,61,64,73,74,75,76,78,80,81,85,87,91,92,93,98,100,109,111,112,113,117,118,124,125,133,136,137,140,141,142,143,144,145,146,147,148,149],Lt=[1,207],xt=[1,206],St=[1,6,25,26,34,38,56,61,64,73,74,75,76,78,80,81,85,91,92,93,98,100,109,111,112,113,117,118,133,136,137,142,143,144,145,146,147,148],Dt=[2,59],Rt=[1,217],At=[6,25,26,56,61],It=[6,25,26,46,56,61,64],_t=[1,6,25,26,34,56,61,64,80,85,93,98,100,109,111,112,113,117,118,133,136,137,143,145,146,147,148],Ot=[1,6,25,26,34,56,61,64,80,85,93,98,100,109,111,112,113,117,118,133],$t=[73,74,75,76,78,81,91,92],jt=[1,236],Mt=[2,136],Bt=[1,6,25,26,34,46,56,61,64,73,74,75,76,78,80,81,85,91,92,93,98,100,109,111,112,113,117,118,124,125,133,136,137,142,143,144,145,146,147,148],Vt=[1,245],Pt=[6,25,26,61,93,98],Ut=[1,6,25,26,34,56,61,64,80,85,93,98,100,109,118,133],Gt=[1,6,25,26,34,56,61,64,80,85,93,98,100,109,112,118,133],Ht=[124,125],qt=[61,124,125],Xt=[1,256],Wt=[6,25,26,61,85],Yt=[6,25,26,49,61,85],Kt=[6,25,26,46,49,61,85],zt=[1,6,25,26,34,56,61,64,80,85,93,98,100,109,111,112,113,117,118,133,136,137,145,146,147,148],Jt=[11,28,30,32,33,36,37,40,41,42,43,44,52,53,54,58,59,80,83,86,90,95,96,97,103,107,108,111,113,115,117,126,132,134,135,136,137,138,140,141],Qt=[2,125],Zt=[6,25,26],en=[2,60],tn=[1,270],nn=[1,271],rn=[1,6,25,26,34,56,61,64,80,85,93,98,100,105,106,109,111,112,113,117,118,128,130,133,136,137,142,143,144,145,146,147,148],sn=[26,128,130],on=[1,6,26,34,56,61,64,80,85,93,98,100,109,112,118,133],an=[2,74],cn=[1,293],ln=[1,294],hn=[1,6,25,26,34,56,61,64,80,85,93,98,100,109,111,112,113,117,118,128,133,136,137,142,143,144,145,146,147,148],un=[1,6,25,26,34,56,61,64,80,85,93,98,100,109,111,113,117,118,133],pn=[1,305],dn=[1,306],fn=[6,25,26,61],mn=[1,6,25,26,34,56,61,64,80,85,93,98,100,105,109,111,112,113,117,118,133,136,137,142,143,144,145,146,147,148],gn=[25,61],vn={trace:function(){},yy:{},symbols_:{error:2,Root:3,Body:4,Line:5,TERMINATOR:6,Expression:7,Statement:8,Return:9,Comment:10,STATEMENT:11,Value:12,Invocation:13,Code:14,Operation:15,Assign:16,If:17,Try:18,While:19,For:20,Switch:21,Class:22,Throw:23,Block:24,INDENT:25,OUTDENT:26,Identifier:27,IDENTIFIER:28,AlphaNumeric:29,NUMBER:30,String:31,STRING:32,STRING_START:33,STRING_END:34,Regex:35,REGEX:36,REGEX_START:37,REGEX_END:38,Literal:39,JS:40,DEBUGGER:41,UNDEFINED:42,NULL:43,BOOL:44,Assignable:45,"=":46,AssignObj:47,ObjAssignable:48,":":49,SimpleObjAssignable:50,ThisProperty:51,RETURN:52,HERECOMMENT:53,PARAM_START:54,ParamList:55,PARAM_END:56,FuncGlyph:57,"->":58,"=>":59,OptComma:60,",":61,Param:62,ParamVar:63,"...":64,Array:65,Object:66,Splat:67,SimpleAssignable:68,Accessor:69,Parenthetical:70,Range:71,This:72,".":73,"?.":74,"::":75,"?::":76,Index:77,INDEX_START:78,IndexValue:79,INDEX_END:80,INDEX_SOAK:81,Slice:82,"{":83,AssignList:84,"}":85,CLASS:86,EXTENDS:87,OptFuncExist:88,Arguments:89,SUPER:90,FUNC_EXIST:91,CALL_START:92,CALL_END:93,ArgList:94,THIS:95,"@":96,"[":97,"]":98,RangeDots:99,"..":100,Arg:101,SimpleArgs:102,TRY:103,Catch:104,FINALLY:105,CATCH:106,THROW:107,"(":108,")":109,WhileSource:110,WHILE:111,WHEN:112,UNTIL:113,Loop:114,LOOP:115,ForBody:116,FOR:117,BY:118,ForStart:119,ForSource:120,ForVariables:121,OWN:122,ForValue:123,FORIN:124,FOROF:125,SWITCH:126,Whens:127,ELSE:128,When:129,LEADING_WHEN:130,IfBlock:131,IF:132,POST_IF:133,UNARY:134,UNARY_MATH:135,"-":136,"+":137,YIELD:138,FROM:139,"--":140,"++":141,"?":142,MATH:143,"**":144,SHIFT:145,COMPARE:146,LOGIC:147,RELATION:148,COMPOUND_ASSIGN:149,$accept:0,$end:1},terminals_:{2:"error",6:"TERMINATOR",11:"STATEMENT",25:"INDENT",26:"OUTDENT",28:"IDENTIFIER",30:"NUMBER",32:"STRING",33:"STRING_START",34:"STRING_END",36:"REGEX",37:"REGEX_START",38:"REGEX_END",40:"JS",41:"DEBUGGER",42:"UNDEFINED",43:"NULL",44:"BOOL",46:"=",49:":",52:"RETURN",53:"HERECOMMENT",54:"PARAM_START",56:"PARAM_END",58:"->",59:"=>",61:",",64:"...",73:".",74:"?.",75:"::",76:"?::",78:"INDEX_START",80:"INDEX_END",81:"INDEX_SOAK",83:"{",85:"}",86:"CLASS",87:"EXTENDS",90:"SUPER",91:"FUNC_EXIST",92:"CALL_START",93:"CALL_END",95:"THIS",96:"@",97:"[",98:"]",100:"..",103:"TRY",105:"FINALLY",106:"CATCH",107:"THROW",108:"(",109:")",111:"WHILE",112:"WHEN",113:"UNTIL",115:"LOOP",117:"FOR",118:"BY",122:"OWN",124:"FORIN",125:"FOROF",126:"SWITCH",128:"ELSE",130:"LEADING_WHEN",132:"IF",133:"POST_IF",134:"UNARY",135:"UNARY_MATH",136:"-",137:"+",138:"YIELD",139:"FROM",140:"--",141:"++",142:"?",143:"MATH",144:"**",145:"SHIFT",146:"COMPARE",147:"LOGIC",148:"RELATION",149:"COMPOUND_ASSIGN"},productions_:[0,[3,0],[3,1],[4,1],[4,3],[4,2],[5,1],[5,1],[8,1],[8,1],[8,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[24,2],[24,3],[27,1],[29,1],[29,1],[31,1],[31,3],[35,1],[35,3],[39,1],[39,1],[39,1],[39,1],[39,1],[39,1],[39,1],[16,3],[16,4],[16,5],[47,1],[47,3],[47,5],[47,3],[47,5],[47,1],[50,1],[50,1],[48,1],[48,1],[9,2],[9,1],[10,1],[14,5],[14,2],[57,1],[57,1],[60,0],[60,1],[55,0],[55,1],[55,3],[55,4],[55,6],[62,1],[62,2],[62,3],[62,1],[63,1],[63,1],[63,1],[63,1],[67,2],[68,1],[68,2],[68,2],[68,1],[45,1],[45,1],[45,1],[12,1],[12,1],[12,1],[12,1],[12,1],[69,2],[69,2],[69,2],[69,2],[69,1],[69,1],[77,3],[77,2],[79,1],[79,1],[66,4],[84,0],[84,1],[84,3],[84,4],[84,6],[22,1],[22,2],[22,3],[22,4],[22,2],[22,3],[22,4],[22,5],[13,3],[13,3],[13,1],[13,2],[88,0],[88,1],[89,2],[89,4],[72,1],[72,1],[51,2],[65,2],[65,4],[99,1],[99,1],[71,5],[82,3],[82,2],[82,2],[82,1],[94,1],[94,3],[94,4],[94,4],[94,6],[101,1],[101,1],[101,1],[102,1],[102,3],[18,2],[18,3],[18,4],[18,5],[104,3],[104,3],[104,2],[23,2],[70,3],[70,5],[110,2],[110,4],[110,2],[110,4],[19,2],[19,2],[19,2],[19,1],[114,2],[114,2],[20,2],[20,2],[20,2],[116,2],[116,4],[116,2],[119,2],[119,3],[123,1],[123,1],[123,1],[123,1],[121,1],[121,3],[120,2],[120,2],[120,4],[120,4],[120,4],[120,6],[120,6],[21,5],[21,7],[21,4],[21,6],[127,1],[127,2],[129,3],[129,4],[131,3],[131,5],[17,1],[17,3],[17,3],[17,3],[15,2],[15,2],[15,2],[15,2],[15,2],[15,2],[15,3],[15,2],[15,2],[15,2],[15,2],[15,2],[15,3],[15,3],[15,3],[15,3],[15,3],[15,3],[15,3],[15,3],[15,3],[15,5],[15,4],[15,3]],performAction:function(e,t,n,i,r,s,o){var a=s.length-1;
9
+ switch(r){case 1:return this.$=i.addLocationDataFn(o[a],o[a])(new i.Block);case 2:return this.$=s[a];case 3:this.$=i.addLocationDataFn(o[a],o[a])(i.Block.wrap([s[a]]));break;case 4:this.$=i.addLocationDataFn(o[a-2],o[a])(s[a-2].push(s[a]));break;case 5:this.$=s[a-1];break;case 6:case 7:case 8:case 9:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 27:case 32:case 34:case 47:case 48:case 49:case 50:case 51:case 59:case 60:case 70:case 71:case 72:case 73:case 78:case 79:case 82:case 86:case 92:case 136:case 137:case 139:case 169:case 170:case 186:case 192:this.$=s[a];break;case 10:case 25:case 26:case 28:case 30:case 33:case 35:this.$=i.addLocationDataFn(o[a],o[a])(new i.Literal(s[a]));break;case 23:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Block);break;case 24:case 31:case 93:this.$=i.addLocationDataFn(o[a-2],o[a])(s[a-1]);break;case 29:case 149:this.$=i.addLocationDataFn(o[a-2],o[a])(new i.Parens(s[a-1]));break;case 36:this.$=i.addLocationDataFn(o[a],o[a])(new i.Undefined);break;case 37:this.$=i.addLocationDataFn(o[a],o[a])(new i.Null);break;case 38:this.$=i.addLocationDataFn(o[a],o[a])(new i.Bool(s[a]));break;case 39:this.$=i.addLocationDataFn(o[a-2],o[a])(new i.Assign(s[a-2],s[a]));break;case 40:this.$=i.addLocationDataFn(o[a-3],o[a])(new i.Assign(s[a-3],s[a]));break;case 41:this.$=i.addLocationDataFn(o[a-4],o[a])(new i.Assign(s[a-4],s[a-1]));break;case 42:case 75:case 80:case 81:case 83:case 84:case 85:case 171:case 172:this.$=i.addLocationDataFn(o[a],o[a])(new i.Value(s[a]));break;case 43:this.$=i.addLocationDataFn(o[a-2],o[a])(new i.Assign(i.addLocationDataFn(o[a-2])(new i.Value(s[a-2])),s[a],"object",{operatorToken:i.addLocationDataFn(o[a-1])(new i.Literal(s[a-1]))}));break;case 44:this.$=i.addLocationDataFn(o[a-4],o[a])(new i.Assign(i.addLocationDataFn(o[a-4])(new i.Value(s[a-4])),s[a-1],"object",{operatorToken:i.addLocationDataFn(o[a-3])(new i.Literal(s[a-3]))}));break;case 45:this.$=i.addLocationDataFn(o[a-2],o[a])(new i.Assign(i.addLocationDataFn(o[a-2])(new i.Value(s[a-2])),s[a],null,{operatorToken:i.addLocationDataFn(o[a-1])(new i.Literal(s[a-1]))}));break;case 46:this.$=i.addLocationDataFn(o[a-4],o[a])(new i.Assign(i.addLocationDataFn(o[a-4])(new i.Value(s[a-4])),s[a-1],null,{operatorToken:i.addLocationDataFn(o[a-3])(new i.Literal(s[a-3]))}));break;case 52:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Return(s[a]));break;case 53:this.$=i.addLocationDataFn(o[a],o[a])(new i.Return);break;case 54:this.$=i.addLocationDataFn(o[a],o[a])(new i.Comment(s[a]));break;case 55:this.$=i.addLocationDataFn(o[a-4],o[a])(new i.Code(s[a-3],s[a],s[a-1]));break;case 56:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Code([],s[a],s[a-1]));break;case 57:this.$=i.addLocationDataFn(o[a],o[a])("func");break;case 58:this.$=i.addLocationDataFn(o[a],o[a])("boundfunc");break;case 61:case 98:this.$=i.addLocationDataFn(o[a],o[a])([]);break;case 62:case 99:case 131:case 173:this.$=i.addLocationDataFn(o[a],o[a])([s[a]]);break;case 63:case 100:case 132:this.$=i.addLocationDataFn(o[a-2],o[a])(s[a-2].concat(s[a]));break;case 64:case 101:case 133:this.$=i.addLocationDataFn(o[a-3],o[a])(s[a-3].concat(s[a]));break;case 65:case 102:case 135:this.$=i.addLocationDataFn(o[a-5],o[a])(s[a-5].concat(s[a-2]));break;case 66:this.$=i.addLocationDataFn(o[a],o[a])(new i.Param(s[a]));break;case 67:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Param(s[a-1],null,!0));break;case 68:this.$=i.addLocationDataFn(o[a-2],o[a])(new i.Param(s[a-2],s[a]));break;case 69:case 138:this.$=i.addLocationDataFn(o[a],o[a])(new i.Expansion);break;case 74:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Splat(s[a-1]));break;case 76:this.$=i.addLocationDataFn(o[a-1],o[a])(s[a-1].add(s[a]));break;case 77:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Value(s[a-1],[].concat(s[a])));break;case 87:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Access(s[a]));break;case 88:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Access(s[a],"soak"));break;case 89:this.$=i.addLocationDataFn(o[a-1],o[a])([i.addLocationDataFn(o[a-1])(new i.Access(new i.Literal("prototype"))),i.addLocationDataFn(o[a])(new i.Access(s[a]))]);break;case 90:this.$=i.addLocationDataFn(o[a-1],o[a])([i.addLocationDataFn(o[a-1])(new i.Access(new i.Literal("prototype"),"soak")),i.addLocationDataFn(o[a])(new i.Access(s[a]))]);break;case 91:this.$=i.addLocationDataFn(o[a],o[a])(new i.Access(new i.Literal("prototype")));break;case 94:this.$=i.addLocationDataFn(o[a-1],o[a])(i.extend(s[a],{soak:!0}));break;case 95:this.$=i.addLocationDataFn(o[a],o[a])(new i.Index(s[a]));break;case 96:this.$=i.addLocationDataFn(o[a],o[a])(new i.Slice(s[a]));break;case 97:this.$=i.addLocationDataFn(o[a-3],o[a])(new i.Obj(s[a-2],s[a-3].generated));break;case 103:this.$=i.addLocationDataFn(o[a],o[a])(new i.Class);break;case 104:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Class(null,null,s[a]));break;case 105:this.$=i.addLocationDataFn(o[a-2],o[a])(new i.Class(null,s[a]));break;case 106:this.$=i.addLocationDataFn(o[a-3],o[a])(new i.Class(null,s[a-1],s[a]));break;case 107:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Class(s[a]));break;case 108:this.$=i.addLocationDataFn(o[a-2],o[a])(new i.Class(s[a-1],null,s[a]));break;case 109:this.$=i.addLocationDataFn(o[a-3],o[a])(new i.Class(s[a-2],s[a]));break;case 110:this.$=i.addLocationDataFn(o[a-4],o[a])(new i.Class(s[a-3],s[a-1],s[a]));break;case 111:case 112:this.$=i.addLocationDataFn(o[a-2],o[a])(new i.Call(s[a-2],s[a],s[a-1]));break;case 113:this.$=i.addLocationDataFn(o[a],o[a])(new i.Call("super",[new i.Splat(new i.Literal("arguments"))]));break;case 114:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Call("super",s[a]));break;case 115:this.$=i.addLocationDataFn(o[a],o[a])(!1);break;case 116:this.$=i.addLocationDataFn(o[a],o[a])(!0);break;case 117:this.$=i.addLocationDataFn(o[a-1],o[a])([]);break;case 118:case 134:this.$=i.addLocationDataFn(o[a-3],o[a])(s[a-2]);break;case 119:case 120:this.$=i.addLocationDataFn(o[a],o[a])(new i.Value(new i.Literal("this")));break;case 121:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Value(i.addLocationDataFn(o[a-1])(new i.Literal("this")),[i.addLocationDataFn(o[a])(new i.Access(s[a]))],"this"));break;case 122:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Arr([]));break;case 123:this.$=i.addLocationDataFn(o[a-3],o[a])(new i.Arr(s[a-2]));break;case 124:this.$=i.addLocationDataFn(o[a],o[a])("inclusive");break;case 125:this.$=i.addLocationDataFn(o[a],o[a])("exclusive");break;case 126:this.$=i.addLocationDataFn(o[a-4],o[a])(new i.Range(s[a-3],s[a-1],s[a-2]));break;case 127:this.$=i.addLocationDataFn(o[a-2],o[a])(new i.Range(s[a-2],s[a],s[a-1]));break;case 128:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Range(s[a-1],null,s[a]));break;case 129:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Range(null,s[a],s[a-1]));break;case 130:this.$=i.addLocationDataFn(o[a],o[a])(new i.Range(null,null,s[a]));break;case 140:this.$=i.addLocationDataFn(o[a-2],o[a])([].concat(s[a-2],s[a]));break;case 141:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Try(s[a]));break;case 142:this.$=i.addLocationDataFn(o[a-2],o[a])(new i.Try(s[a-1],s[a][0],s[a][1]));break;case 143:this.$=i.addLocationDataFn(o[a-3],o[a])(new i.Try(s[a-2],null,null,s[a]));break;case 144:this.$=i.addLocationDataFn(o[a-4],o[a])(new i.Try(s[a-3],s[a-2][0],s[a-2][1],s[a]));break;case 145:this.$=i.addLocationDataFn(o[a-2],o[a])([s[a-1],s[a]]);break;case 146:this.$=i.addLocationDataFn(o[a-2],o[a])([i.addLocationDataFn(o[a-1])(new i.Value(s[a-1])),s[a]]);break;case 147:this.$=i.addLocationDataFn(o[a-1],o[a])([null,s[a]]);break;case 148:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Throw(s[a]));break;case 150:this.$=i.addLocationDataFn(o[a-4],o[a])(new i.Parens(s[a-2]));break;case 151:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.While(s[a]));break;case 152:this.$=i.addLocationDataFn(o[a-3],o[a])(new i.While(s[a-2],{guard:s[a]}));break;case 153:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.While(s[a],{invert:!0}));break;case 154:this.$=i.addLocationDataFn(o[a-3],o[a])(new i.While(s[a-2],{invert:!0,guard:s[a]}));break;case 155:this.$=i.addLocationDataFn(o[a-1],o[a])(s[a-1].addBody(s[a]));break;case 156:case 157:this.$=i.addLocationDataFn(o[a-1],o[a])(s[a].addBody(i.addLocationDataFn(o[a-1])(i.Block.wrap([s[a-1]]))));break;case 158:this.$=i.addLocationDataFn(o[a],o[a])(s[a]);break;case 159:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.While(i.addLocationDataFn(o[a-1])(new i.Literal("true"))).addBody(s[a]));break;case 160:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.While(i.addLocationDataFn(o[a-1])(new i.Literal("true"))).addBody(i.addLocationDataFn(o[a])(i.Block.wrap([s[a]]))));break;case 161:case 162:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.For(s[a-1],s[a]));break;case 163:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.For(s[a],s[a-1]));break;case 164:this.$=i.addLocationDataFn(o[a-1],o[a])({source:i.addLocationDataFn(o[a])(new i.Value(s[a]))});break;case 165:this.$=i.addLocationDataFn(o[a-3],o[a])({source:i.addLocationDataFn(o[a-2])(new i.Value(s[a-2])),step:s[a]});break;case 166:this.$=i.addLocationDataFn(o[a-1],o[a])(function(){return s[a].own=s[a-1].own,s[a].name=s[a-1][0],s[a].index=s[a-1][1],s[a]}());break;case 167:this.$=i.addLocationDataFn(o[a-1],o[a])(s[a]);break;case 168:this.$=i.addLocationDataFn(o[a-2],o[a])(function(){return s[a].own=!0,s[a]}());break;case 174:this.$=i.addLocationDataFn(o[a-2],o[a])([s[a-2],s[a]]);break;case 175:this.$=i.addLocationDataFn(o[a-1],o[a])({source:s[a]});break;case 176:this.$=i.addLocationDataFn(o[a-1],o[a])({source:s[a],object:!0});break;case 177:this.$=i.addLocationDataFn(o[a-3],o[a])({source:s[a-2],guard:s[a]});break;case 178:this.$=i.addLocationDataFn(o[a-3],o[a])({source:s[a-2],guard:s[a],object:!0});break;case 179:this.$=i.addLocationDataFn(o[a-3],o[a])({source:s[a-2],step:s[a]});break;case 180:this.$=i.addLocationDataFn(o[a-5],o[a])({source:s[a-4],guard:s[a-2],step:s[a]});break;case 181:this.$=i.addLocationDataFn(o[a-5],o[a])({source:s[a-4],step:s[a-2],guard:s[a]});break;case 182:this.$=i.addLocationDataFn(o[a-4],o[a])(new i.Switch(s[a-3],s[a-1]));break;case 183:this.$=i.addLocationDataFn(o[a-6],o[a])(new i.Switch(s[a-5],s[a-3],s[a-1]));break;case 184:this.$=i.addLocationDataFn(o[a-3],o[a])(new i.Switch(null,s[a-1]));break;case 185:this.$=i.addLocationDataFn(o[a-5],o[a])(new i.Switch(null,s[a-3],s[a-1]));break;case 187:this.$=i.addLocationDataFn(o[a-1],o[a])(s[a-1].concat(s[a]));break;case 188:this.$=i.addLocationDataFn(o[a-2],o[a])([[s[a-1],s[a]]]);break;case 189:this.$=i.addLocationDataFn(o[a-3],o[a])([[s[a-2],s[a-1]]]);break;case 190:this.$=i.addLocationDataFn(o[a-2],o[a])(new i.If(s[a-1],s[a],{type:s[a-2]}));break;case 191:this.$=i.addLocationDataFn(o[a-4],o[a])(s[a-4].addElse(i.addLocationDataFn(o[a-2],o[a])(new i.If(s[a-1],s[a],{type:s[a-2]}))));break;case 193:this.$=i.addLocationDataFn(o[a-2],o[a])(s[a-2].addElse(s[a]));break;case 194:case 195:this.$=i.addLocationDataFn(o[a-2],o[a])(new i.If(s[a],i.addLocationDataFn(o[a-2])(i.Block.wrap([s[a-2]])),{type:s[a-1],statement:!0}));break;case 196:case 197:case 200:case 201:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Op(s[a-1],s[a]));break;case 198:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Op("-",s[a]));break;case 199:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Op("+",s[a]));break;case 202:this.$=i.addLocationDataFn(o[a-2],o[a])(new i.Op(s[a-2].concat(s[a-1]),s[a]));break;case 203:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Op("--",s[a]));break;case 204:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Op("++",s[a]));break;case 205:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Op("--",s[a-1],null,!0));break;case 206:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Op("++",s[a-1],null,!0));break;case 207:this.$=i.addLocationDataFn(o[a-1],o[a])(new i.Existence(s[a-1]));break;case 208:this.$=i.addLocationDataFn(o[a-2],o[a])(new i.Op("+",s[a-2],s[a]));break;case 209:this.$=i.addLocationDataFn(o[a-2],o[a])(new i.Op("-",s[a-2],s[a]));break;case 210:case 211:case 212:case 213:case 214:this.$=i.addLocationDataFn(o[a-2],o[a])(new i.Op(s[a-1],s[a-2],s[a]));break;case 215:this.$=i.addLocationDataFn(o[a-2],o[a])(function(){return"!"===s[a-1].charAt(0)?new i.Op(s[a-1].slice(1),s[a-2],s[a]).invert():new i.Op(s[a-1],s[a-2],s[a])}());break;case 216:this.$=i.addLocationDataFn(o[a-2],o[a])(new i.Assign(s[a-2],s[a],s[a-1]));break;case 217:this.$=i.addLocationDataFn(o[a-4],o[a])(new i.Assign(s[a-4],s[a-1],s[a-3]));break;case 218:this.$=i.addLocationDataFn(o[a-3],o[a])(new i.Assign(s[a-3],s[a],s[a-2]));break;case 219:this.$=i.addLocationDataFn(o[a-2],o[a])(new i.Extends(s[a-2],s[a]))}},table:[{1:[2,1],3:1,4:2,5:3,7:4,8:5,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},{1:[3]},{1:[2,2],6:P},t(U,[2,3]),t(U,[2,6],{119:69,110:89,116:90,111:x,113:S,117:R,133:G,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q}),t(U,[2,7],{119:69,110:92,116:93,111:x,113:S,117:R,133:Z}),t(et,[2,11],{88:94,69:95,77:101,73:tt,74:nt,75:it,76:rt,78:st,81:ot,91:at,92:ct}),t(et,[2,12],{77:101,88:104,69:105,73:tt,74:nt,75:it,76:rt,78:st,81:ot,91:at,92:ct}),t(et,[2,13]),t(et,[2,14]),t(et,[2,15]),t(et,[2,16]),t(et,[2,17]),t(et,[2,18]),t(et,[2,19]),t(et,[2,20]),t(et,[2,21]),t(et,[2,22]),t(et,[2,8]),t(et,[2,9]),t(et,[2,10]),t(lt,ht,{46:[1,106]}),t(lt,[2,83]),t(lt,[2,84]),t(lt,[2,85]),t(lt,[2,86]),t([1,6,25,26,34,38,56,61,64,73,74,75,76,78,80,81,85,91,93,98,100,109,111,112,113,117,118,133,136,137,142,143,144,145,146,147,148],[2,113],{89:107,92:ut}),t([6,25,56,61],pt,{55:109,62:110,63:111,27:113,51:114,65:115,66:116,28:i,64:dt,83:y,96:ft,97:mt}),{24:119,25:gt},{7:121,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},{7:123,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},{7:124,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},{7:125,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},{7:127,8:126,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,139:[1,128],140:B,141:V},{12:130,13:131,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:132,51:63,65:47,66:48,68:129,70:23,71:24,72:25,83:y,90:w,95:T,96:C,97:F,108:L},{12:130,13:131,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:132,51:63,65:47,66:48,68:133,70:23,71:24,72:25,83:y,90:w,95:T,96:C,97:F,108:L},t(vt,bt,{87:[1,137],140:[1,134],141:[1,135],149:[1,136]}),t(et,[2,192],{128:[1,138]}),{24:139,25:gt},{24:140,25:gt},t(et,[2,158]),{24:141,25:gt},{7:142,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,25:[1,143],27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},t(yt,[2,103],{39:22,70:23,71:24,72:25,65:47,66:48,29:49,35:51,27:62,51:63,31:72,12:130,13:131,45:132,24:144,68:146,25:gt,28:i,30:r,32:s,33:o,36:a,37:c,40:l,41:h,42:u,43:p,44:d,83:y,87:[1,145],90:w,95:T,96:C,97:F,108:L}),{7:147,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},t([1,6,25,26,34,56,61,64,80,85,93,98,100,109,111,112,113,117,118,133,142,143,144,145,146,147,148],[2,53],{12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,9:18,10:19,45:21,39:22,70:23,71:24,72:25,57:28,68:36,131:37,110:39,114:40,116:41,65:47,66:48,29:49,35:51,27:62,51:63,119:69,31:72,8:122,7:148,11:n,28:i,30:r,32:s,33:o,36:a,37:c,40:l,41:h,42:u,43:p,44:d,52:f,53:m,54:g,58:v,59:b,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,115:D,126:A,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V}),t(et,[2,54]),t(vt,[2,80]),t(vt,[2,81]),t(lt,[2,32]),t(lt,[2,33]),t(lt,[2,34]),t(lt,[2,35]),t(lt,[2,36]),t(lt,[2,37]),t(lt,[2,38]),{4:149,5:3,7:4,8:5,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,25:[1,150],27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},{7:151,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,25:kt,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,64:wt,65:47,66:48,67:156,68:36,70:23,71:24,72:25,83:y,86:k,90:w,94:153,95:T,96:C,97:F,98:Tt,101:154,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},t(lt,[2,119]),t(lt,[2,120],{27:158,28:i}),{25:[2,57]},{25:[2,58]},t(Ct,[2,75]),t(Ct,[2,78]),{7:159,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},{7:160,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},{7:161,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},{7:163,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,24:162,25:gt,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},{27:168,28:i,51:169,65:170,66:171,71:164,83:y,96:ft,97:F,121:165,122:[1,166],123:167},{120:172,124:[1,173],125:[1,174]},t([6,25,61,85],Ft,{31:72,84:175,47:176,48:177,50:178,10:179,29:180,27:181,51:182,28:i,30:r,32:s,33:o,53:m,96:ft}),t(Et,[2,26]),t(Et,[2,27]),t(lt,[2,30]),{12:130,13:183,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:132,51:63,65:47,66:48,68:184,70:23,71:24,72:25,83:y,90:w,95:T,96:C,97:F,108:L},t(Nt,[2,25]),t(Et,[2,28]),{4:185,5:3,7:4,8:5,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},t(U,[2,5],{7:4,8:5,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,9:18,10:19,45:21,39:22,70:23,71:24,72:25,57:28,68:36,131:37,110:39,114:40,116:41,65:47,66:48,29:49,35:51,27:62,51:63,119:69,31:72,5:186,11:n,28:i,30:r,32:s,33:o,36:a,37:c,40:l,41:h,42:u,43:p,44:d,52:f,53:m,54:g,58:v,59:b,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,111:x,113:S,115:D,117:R,126:A,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V}),t(et,[2,207]),{7:187,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},{7:188,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},{7:189,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},{7:190,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},{7:191,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},{7:192,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},{7:193,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},{7:194,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},{7:195,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},t(et,[2,157]),t(et,[2,162]),{7:196,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},t(et,[2,156]),t(et,[2,161]),{89:197,92:ut},t(Ct,[2,76]),{92:[2,116]},{27:198,28:i},{27:199,28:i},t(Ct,[2,91],{27:200,28:i}),{27:201,28:i},t(Ct,[2,92]),{7:203,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,64:Lt,65:47,66:48,68:36,70:23,71:24,72:25,79:202,82:204,83:y,86:k,90:w,95:T,96:C,97:F,99:205,100:xt,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},{77:208,78:st,81:ot},{89:209,92:ut},t(Ct,[2,77]),{6:[1,211],7:210,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,25:[1,212],27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},t(St,[2,114]),{7:215,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,25:kt,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,64:wt,65:47,66:48,67:156,68:36,70:23,71:24,72:25,83:y,86:k,90:w,93:[1,213],94:214,95:T,96:C,97:F,101:154,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},t([6,25],Dt,{60:218,56:[1,216],61:Rt}),t(At,[2,62]),t(At,[2,66],{46:[1,220],64:[1,219]}),t(At,[2,69]),t(It,[2,70]),t(It,[2,71]),t(It,[2,72]),t(It,[2,73]),{27:158,28:i},{7:215,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,25:kt,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,64:wt,65:47,66:48,67:156,68:36,70:23,71:24,72:25,83:y,86:k,90:w,94:153,95:T,96:C,97:F,98:Tt,101:154,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},t(et,[2,56]),{4:222,5:3,7:4,8:5,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,26:[1,221],27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},t([1,6,25,26,34,56,61,64,80,85,93,98,100,109,111,112,113,117,118,133,136,137,143,144,145,146,147,148],[2,196],{119:69,110:89,116:90,142:X}),{110:92,111:x,113:S,116:93,117:R,119:69,133:Z},t(_t,[2,197],{119:69,110:89,116:90,142:X,144:Y}),t(_t,[2,198],{119:69,110:89,116:90,142:X,144:Y}),t(_t,[2,199],{119:69,110:89,116:90,142:X,144:Y}),t(et,[2,200],{119:69,110:92,116:93}),t(Ot,[2,201],{119:69,110:89,116:90,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q}),{7:223,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},t(et,[2,203],{73:bt,74:bt,75:bt,76:bt,78:bt,81:bt,91:bt,92:bt}),{69:95,73:tt,74:nt,75:it,76:rt,77:101,78:st,81:ot,88:94,91:at,92:ct},{69:105,73:tt,74:nt,75:it,76:rt,77:101,78:st,81:ot,88:104,91:at,92:ct},t($t,ht),t(et,[2,204],{73:bt,74:bt,75:bt,76:bt,78:bt,81:bt,91:bt,92:bt}),t(et,[2,205]),t(et,[2,206]),{6:[1,226],7:224,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,25:[1,225],27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},{7:227,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},{24:228,25:gt,132:[1,229]},t(et,[2,141],{104:230,105:[1,231],106:[1,232]}),t(et,[2,155]),t(et,[2,163]),{25:[1,233],110:89,111:x,113:S,116:90,117:R,119:69,133:G,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q},{127:234,129:235,130:jt},t(et,[2,104]),{7:237,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},t(yt,[2,107],{24:238,25:gt,73:bt,74:bt,75:bt,76:bt,78:bt,81:bt,91:bt,92:bt,87:[1,239]}),t(Ot,[2,148],{119:69,110:89,116:90,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q}),t(Ot,[2,52],{119:69,110:89,116:90,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q}),{6:P,109:[1,240]},{4:241,5:3,7:4,8:5,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},t([6,25,61,98],Mt,{119:69,110:89,116:90,99:242,64:[1,243],100:xt,111:x,113:S,117:R,133:G,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q}),t(Bt,[2,122]),t([6,25,98],Dt,{60:244,61:Vt}),t(Pt,[2,131]),{7:215,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,25:kt,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,64:wt,65:47,66:48,67:156,68:36,70:23,71:24,72:25,83:y,86:k,90:w,94:246,95:T,96:C,97:F,101:154,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},t(Pt,[2,137]),t(Pt,[2,138]),t(Nt,[2,121]),{24:247,25:gt,110:89,111:x,113:S,116:90,117:R,119:69,133:G,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q},t(Ut,[2,151],{119:69,110:89,116:90,111:x,112:[1,248],113:S,117:R,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q}),t(Ut,[2,153],{119:69,110:89,116:90,111:x,112:[1,249],113:S,117:R,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q}),t(et,[2,159]),t(Gt,[2,160],{119:69,110:89,116:90,111:x,113:S,117:R,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q}),t([1,6,25,26,34,56,61,64,80,85,93,98,100,109,111,112,113,117,133,136,137,142,143,144,145,146,147,148],[2,164],{118:[1,250]}),t(Ht,[2,167]),{27:168,28:i,51:169,65:170,66:171,83:y,96:ft,97:mt,121:251,123:167},t(Ht,[2,173],{61:[1,252]}),t(qt,[2,169]),t(qt,[2,170]),t(qt,[2,171]),t(qt,[2,172]),t(et,[2,166]),{7:253,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},{7:254,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},t([6,25,85],Dt,{60:255,61:Xt}),t(Wt,[2,99]),t(Wt,[2,42],{49:[1,257]}),t(Yt,[2,50],{46:[1,258]}),t(Wt,[2,47]),t(Yt,[2,51]),t(Kt,[2,48]),t(Kt,[2,49]),{38:[1,259],69:105,73:tt,74:nt,75:it,76:rt,77:101,78:st,81:ot,88:104,91:at,92:ct},t($t,bt),{6:P,34:[1,260]},t(U,[2,4]),t(zt,[2,208],{119:69,110:89,116:90,142:X,143:W,144:Y}),t(zt,[2,209],{119:69,110:89,116:90,142:X,143:W,144:Y}),t(_t,[2,210],{119:69,110:89,116:90,142:X,144:Y}),t(_t,[2,211],{119:69,110:89,116:90,142:X,144:Y}),t([1,6,25,26,34,56,61,64,80,85,93,98,100,109,111,112,113,117,118,133,145,146,147,148],[2,212],{119:69,110:89,116:90,136:H,137:q,142:X,143:W,144:Y}),t([1,6,25,26,34,56,61,64,80,85,93,98,100,109,111,112,113,117,118,133,146,147],[2,213],{119:69,110:89,116:90,136:H,137:q,142:X,143:W,144:Y,145:K,148:Q}),t([1,6,25,26,34,56,61,64,80,85,93,98,100,109,111,112,113,117,118,133,147],[2,214],{119:69,110:89,116:90,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,148:Q}),t([1,6,25,26,34,56,61,64,80,85,93,98,100,109,111,112,113,117,118,133,146,147,148],[2,215],{119:69,110:89,116:90,136:H,137:q,142:X,143:W,144:Y,145:K}),t(Gt,[2,195],{119:69,110:89,116:90,111:x,113:S,117:R,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q}),t(Gt,[2,194],{119:69,110:89,116:90,111:x,113:S,117:R,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q}),t(St,[2,111]),t(Ct,[2,87]),t(Ct,[2,88]),t(Ct,[2,89]),t(Ct,[2,90]),{80:[1,261]},{64:Lt,80:[2,95],99:262,100:xt,110:89,111:x,113:S,116:90,117:R,119:69,133:G,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q},{80:[2,96]},{7:263,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,80:[2,130],83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},t(Jt,[2,124]),t(Jt,Qt),t(Ct,[2,94]),t(St,[2,112]),t(Ot,[2,39],{119:69,110:89,116:90,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q}),{7:264,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},{7:265,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},t(St,[2,117]),t([6,25,93],Dt,{60:266,61:Vt}),t(Pt,Mt,{119:69,110:89,116:90,64:[1,267],111:x,113:S,117:R,133:G,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q}),{57:268,58:v,59:b},t(Zt,en,{63:111,27:113,51:114,65:115,66:116,62:269,28:i,64:dt,83:y,96:ft,97:mt}),{6:tn,25:nn},t(At,[2,67]),{7:272,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},t(rn,[2,23]),{6:P,26:[1,273]},t(Ot,[2,202],{119:69,110:89,116:90,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q}),t(Ot,[2,216],{119:69,110:89,116:90,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q}),{7:274,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},{7:275,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},t(Ot,[2,219],{119:69,110:89,116:90,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q}),t(et,[2,193]),{7:276,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},t(et,[2,142],{105:[1,277]}),{24:278,25:gt},{24:281,25:gt,27:279,28:i,66:280,83:y},{127:282,129:235,130:jt},{26:[1,283],128:[1,284],129:285,130:jt},t(sn,[2,186]),{7:287,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,102:286,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},t(on,[2,105],{119:69,110:89,116:90,24:288,25:gt,111:x,113:S,117:R,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q}),t(et,[2,108]),{7:289,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},t(lt,[2,149]),{6:P,26:[1,290]},{7:291,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},t([11,28,30,32,33,36,37,40,41,42,43,44,52,53,54,58,59,83,86,90,95,96,97,103,107,108,111,113,115,117,126,132,134,135,136,137,138,140,141],Qt,{6:an,25:an,61:an,98:an}),{6:cn,25:ln,98:[1,292]},t([6,25,26,93,98],en,{12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,9:18,10:19,45:21,39:22,70:23,71:24,72:25,57:28,68:36,131:37,110:39,114:40,116:41,65:47,66:48,29:49,35:51,27:62,51:63,119:69,31:72,8:122,67:156,7:215,101:295,11:n,28:i,30:r,32:s,33:o,36:a,37:c,40:l,41:h,42:u,43:p,44:d,52:f,53:m,54:g,58:v,59:b,64:wt,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,111:x,113:S,115:D,117:R,126:A,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V}),t(Zt,Dt,{60:296,61:Vt}),t(hn,[2,190]),{7:297,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},{7:298,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},{7:299,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},t(Ht,[2,168]),{27:168,28:i,51:169,65:170,66:171,83:y,96:ft,97:mt,123:300},t([1,6,25,26,34,56,61,64,80,85,93,98,100,109,111,113,117,133],[2,175],{119:69,110:89,116:90,112:[1,301],118:[1,302],136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q}),t(un,[2,176],{119:69,110:89,116:90,112:[1,303],136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q}),{6:pn,25:dn,85:[1,304]},t([6,25,26,85],en,{31:72,48:177,50:178,10:179,29:180,27:181,51:182,47:307,28:i,30:r,32:s,33:o,53:m,96:ft}),{7:308,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,25:[1,309],27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},{7:310,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,25:[1,311],27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},t(lt,[2,31]),t(Et,[2,29]),t(Ct,[2,93]),{7:312,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,80:[2,128],83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},{80:[2,129],110:89,111:x,113:S,116:90,117:R,119:69,133:G,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q},t(Ot,[2,40],{119:69,110:89,116:90,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q}),{26:[1,313],110:89,111:x,113:S,116:90,117:R,119:69,133:G,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q},{6:cn,25:ln,93:[1,314]},t(Pt,an),{24:315,25:gt},t(At,[2,63]),{27:113,28:i,51:114,62:316,63:111,64:dt,65:115,66:116,83:y,96:ft,97:mt},t(fn,pt,{62:110,63:111,27:113,51:114,65:115,66:116,55:317,28:i,64:dt,83:y,96:ft,97:mt}),t(At,[2,68],{119:69,110:89,116:90,111:x,113:S,117:R,133:G,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q}),t(rn,[2,24]),{26:[1,318],110:89,111:x,113:S,116:90,117:R,119:69,133:G,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q},t(Ot,[2,218],{119:69,110:89,116:90,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q}),{24:319,25:gt,110:89,111:x,113:S,116:90,117:R,119:69,133:G,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q},{24:320,25:gt},t(et,[2,143]),{24:321,25:gt},{24:322,25:gt},t(mn,[2,147]),{26:[1,323],128:[1,324],129:285,130:jt},t(et,[2,184]),{24:325,25:gt},t(sn,[2,187]),{24:326,25:gt,61:[1,327]},t(gn,[2,139],{119:69,110:89,116:90,111:x,113:S,117:R,133:G,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q}),t(et,[2,106]),t(on,[2,109],{119:69,110:89,116:90,24:328,25:gt,111:x,113:S,117:R,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q}),{109:[1,329]},{98:[1,330],110:89,111:x,113:S,116:90,117:R,119:69,133:G,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q},t(Bt,[2,123]),{7:215,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,64:wt,65:47,66:48,67:156,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,101:331,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},{7:215,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,25:kt,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,64:wt,65:47,66:48,67:156,68:36,70:23,71:24,72:25,83:y,86:k,90:w,94:332,95:T,96:C,97:F,101:154,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},t(Pt,[2,132]),{6:cn,25:ln,26:[1,333]},t(Gt,[2,152],{119:69,110:89,116:90,111:x,113:S,117:R,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q}),t(Gt,[2,154],{119:69,110:89,116:90,111:x,113:S,117:R,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q}),t(Gt,[2,165],{119:69,110:89,116:90,111:x,113:S,117:R,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q}),t(Ht,[2,174]),{7:334,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},{7:335,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},{7:336,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},t(Bt,[2,97]),{10:179,27:181,28:i,29:180,30:r,31:72,32:s,33:o,47:337,48:177,50:178,51:182,53:m,96:ft},t(fn,Ft,{31:72,47:176,48:177,50:178,10:179,29:180,27:181,51:182,84:338,28:i,30:r,32:s,33:o,53:m,96:ft}),t(Wt,[2,100]),t(Wt,[2,43],{119:69,110:89,116:90,111:x,113:S,117:R,133:G,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q}),{7:339,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},t(Wt,[2,45],{119:69,110:89,116:90,111:x,113:S,117:R,133:G,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q}),{7:340,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},{80:[2,127],110:89,111:x,113:S,116:90,117:R,119:69,133:G,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q},t(et,[2,41]),t(St,[2,118]),t(et,[2,55]),t(At,[2,64]),t(Zt,Dt,{60:341,61:Rt}),t(et,[2,217]),t(hn,[2,191]),t(et,[2,144]),t(mn,[2,145]),t(mn,[2,146]),t(et,[2,182]),{24:342,25:gt},{26:[1,343]},t(sn,[2,188],{6:[1,344]}),{7:345,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},t(et,[2,110]),t(lt,[2,150]),t(lt,[2,126]),t(Pt,[2,133]),t(Zt,Dt,{60:346,61:Vt}),t(Pt,[2,134]),t([1,6,25,26,34,56,61,64,80,85,93,98,100,109,111,112,113,117,133],[2,177],{119:69,110:89,116:90,118:[1,347],136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q}),t(un,[2,179],{119:69,110:89,116:90,112:[1,348],136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q}),t(Ot,[2,178],{119:69,110:89,116:90,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q}),t(Wt,[2,101]),t(Zt,Dt,{60:349,61:Xt}),{26:[1,350],110:89,111:x,113:S,116:90,117:R,119:69,133:G,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q},{26:[1,351],110:89,111:x,113:S,116:90,117:R,119:69,133:G,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q},{6:tn,25:nn,26:[1,352]},{26:[1,353]},t(et,[2,185]),t(sn,[2,189]),t(gn,[2,140],{119:69,110:89,116:90,111:x,113:S,117:R,133:G,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q}),{6:cn,25:ln,26:[1,354]},{7:355,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},{7:356,8:122,9:18,10:19,11:n,12:6,13:7,14:8,15:9,16:10,17:11,18:12,19:13,20:14,21:15,22:16,23:17,27:62,28:i,29:49,30:r,31:72,32:s,33:o,35:51,36:a,37:c,39:22,40:l,41:h,42:u,43:p,44:d,45:21,51:63,52:f,53:m,54:g,57:28,58:v,59:b,65:47,66:48,68:36,70:23,71:24,72:25,83:y,86:k,90:w,95:T,96:C,97:F,103:E,107:N,108:L,110:39,111:x,113:S,114:40,115:D,116:41,117:R,119:69,126:A,131:37,132:I,134:_,135:O,136:$,137:j,138:M,140:B,141:V},{6:pn,25:dn,26:[1,357]},t(Wt,[2,44]),t(Wt,[2,46]),t(At,[2,65]),t(et,[2,183]),t(Pt,[2,135]),t(Ot,[2,180],{119:69,110:89,116:90,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q}),t(Ot,[2,181],{119:69,110:89,116:90,136:H,137:q,142:X,143:W,144:Y,145:K,146:z,147:J,148:Q}),t(Wt,[2,102])],defaultActions:{60:[2,57],61:[2,58],96:[2,116],204:[2,96]},parseError:function(e,t){if(!t.recoverable)throw Error(e);
10
+ this.trace(e)},parse:function(e){function t(){var e;return e=f.lex()||p,"number"!=typeof e&&(e=n.symbols_[e]||e),e}var n=this,i=[0],r=[null],s=[],o=this.table,a="",c=0,l=0,h=0,u=2,p=1,d=s.slice.call(arguments,1),f=Object.create(this.lexer),m={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(m.yy[g]=this.yy[g]);f.setInput(e,m.yy),m.yy.lexer=f,m.yy.parser=this,f.yylloc===void 0&&(f.yylloc={});var v=f.yylloc;s.push(v);var b=f.options&&f.options.ranges;this.parseError="function"==typeof m.yy.parseError?m.yy.parseError:Object.getPrototypeOf(this).parseError;for(var y,k,w,T,C,F,E,N,L,x={};;){if(w=i[i.length-1],this.defaultActions[w]?T=this.defaultActions[w]:((null===y||y===void 0)&&(y=t()),T=o[w]&&o[w][y]),T===void 0||!T.length||!T[0]){var S="";L=[];for(F in o[w])this.terminals_[F]&&F>u&&L.push("'"+this.terminals_[F]+"'");S=f.showPosition?"Parse error on line "+(c+1)+":\n"+f.showPosition()+"\nExpecting "+L.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(c+1)+": Unexpected "+(y==p?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(S,{text:f.match,token:this.terminals_[y]||y,line:f.yylineno,loc:v,expected:L})}if(T[0]instanceof Array&&T.length>1)throw Error("Parse Error: multiple actions possible at state: "+w+", token: "+y);switch(T[0]){case 1:i.push(y),r.push(f.yytext),s.push(f.yylloc),i.push(T[1]),y=null,k?(y=k,k=null):(l=f.yyleng,a=f.yytext,c=f.yylineno,v=f.yylloc,h>0&&h--);break;case 2:if(E=this.productions_[T[1]][1],x.$=r[r.length-E],x._$={first_line:s[s.length-(E||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(E||1)].first_column,last_column:s[s.length-1].last_column},b&&(x._$.range=[s[s.length-(E||1)].range[0],s[s.length-1].range[1]]),C=this.performAction.apply(x,[a,l,c,m.yy,T[1],r,s].concat(d)),C!==void 0)return C;E&&(i=i.slice(0,2*-1*E),r=r.slice(0,-1*E),s=s.slice(0,-1*E)),i.push(this.productions_[T[1]][0]),r.push(x.$),s.push(x._$),N=o[i[i.length-2]][i[i.length-1]],i.push(N);break;case 3:return!0}}return!0}};return e.prototype=vn,vn.Parser=e,new e}();return require!==void 0&&e!==void 0&&(e.parser=n,e.Parser=n.Parser,e.parse=function(){return n.parse.apply(n,arguments)},e.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),process.exit(1));var n=require("fs").readFileSync(require("path").normalize(t[1]),"utf8");return e.parser.parse(n)},t!==void 0&&require.main===t&&e.main(process.argv.slice(1))),t.exports}(),require["./scope"]=function(){var e={},t={exports:e};return function(){var t,n=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1};e.Scope=t=function(){function e(e,t,n,i){var r,s;this.parent=e,this.expressions=t,this.method=n,this.referencedVars=i,this.variables=[{name:"arguments",type:"arguments"}],this.positions={},this.parent||(this.utilities={}),this.root=null!=(r=null!=(s=this.parent)?s.root:void 0)?r:this}return e.prototype.add=function(e,t,n){return this.shared&&!n?this.parent.add(e,t,n):Object.prototype.hasOwnProperty.call(this.positions,e)?this.variables[this.positions[e]].type=t:this.positions[e]=this.variables.push({name:e,type:t})-1},e.prototype.namedMethod=function(){var e;return(null!=(e=this.method)?e.name:void 0)||!this.parent?this.method:this.parent.namedMethod()},e.prototype.find=function(e){return this.check(e)?!0:(this.add(e,"var"),!1)},e.prototype.parameter=function(e){return this.shared&&this.parent.check(e,!0)?void 0:this.add(e,"param")},e.prototype.check=function(e){var t;return!!(this.type(e)||(null!=(t=this.parent)?t.check(e):void 0))},e.prototype.temporary=function(e,t,n){return null==n&&(n=!1),n?(t+parseInt(e,36)).toString(36).replace(/\d/g,"a"):e+(t||"")},e.prototype.type=function(e){var t,n,i,r;for(i=this.variables,t=0,n=i.length;n>t;t++)if(r=i[t],r.name===e)return r.type;return null},e.prototype.freeVariable=function(e,t){var i,r,s;for(null==t&&(t={}),i=0;;){if(s=this.temporary(e,i,t.single),!(this.check(s)||n.call(this.root.referencedVars,s)>=0))break;i++}return(null!=(r=t.reserve)?r:!0)&&this.add(s,"var",!0),s},e.prototype.assign=function(e,t){return this.add(e,{value:t,assigned:!0},!0),this.hasAssignments=!0},e.prototype.hasDeclarations=function(){return!!this.declaredVariables().length},e.prototype.declaredVariables=function(){var e;return function(){var t,n,i,r;for(i=this.variables,r=[],t=0,n=i.length;n>t;t++)e=i[t],"var"===e.type&&r.push(e.name);return r}.call(this).sort()},e.prototype.assignedVariables=function(){var e,t,n,i,r;for(n=this.variables,i=[],e=0,t=n.length;t>e;e++)r=n[e],r.type.assigned&&i.push(r.name+" = "+r.type.value);return i},e}()}.call(this),t.exports}(),require["./nodes"]=function(){var e={},t={exports:e};return function(){var t,n,i,r,s,o,a,c,l,h,u,p,d,f,m,g,v,b,y,k,w,T,C,F,E,N,L,x,S,D,R,A,I,_,O,$,j,M,B,V,P,U,G,H,q,X,W,Y,K,z,J,Q,Z,et,tt,nt,it,rt,st,ot,at,ct,lt,ht,ut,pt,dt,ft,mt,gt,vt,bt,yt,kt=function(e,t){function n(){this.constructor=e}for(var i in t)wt.call(t,i)&&(e[i]=t[i]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},wt={}.hasOwnProperty,Tt=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1},Ct=[].slice;Error.stackTraceLimit=1/0,P=require("./scope").Scope,dt=require("./lexer"),$=dt.RESERVED,V=dt.STRICT_PROSCRIBED,ft=require("./helpers"),et=ft.compact,rt=ft.flatten,it=ft.extend,ht=ft.merge,tt=ft.del,gt=ft.starts,nt=ft.ends,mt=ft.some,Z=ft.addLocationDataFn,lt=ft.locationDataToString,vt=ft.throwSyntaxError,e.extend=it,e.addLocationDataFn=Z,Q=function(){return!0},D=function(){return!1},X=function(){return this},S=function(){return this.negated=!this.negated,this},e.CodeFragment=l=function(){function e(e,t){var n;this.code=""+t,this.locationData=null!=e?e.locationData:void 0,this.type=(null!=e?null!=(n=e.constructor)?n.name:void 0:void 0)||"unknown"}return e.prototype.toString=function(){return""+this.code+(this.locationData?": "+lt(this.locationData):"")},e}(),st=function(e){var t;return function(){var n,i,r;for(r=[],n=0,i=e.length;i>n;n++)t=e[n],r.push(t.code);return r}().join("")},e.Base=r=function(){function e(){}return e.prototype.compile=function(e,t){return st(this.compileToFragments(e,t))},e.prototype.compileToFragments=function(e,t){var n;return e=it({},e),t&&(e.level=t),n=this.unfoldSoak(e)||this,n.tab=e.indent,e.level!==L&&n.isStatement(e)?n.compileClosure(e):n.compileNode(e)},e.prototype.compileClosure=function(e){var n,i,r,a,l,h,u;return(a=this.jumps())&&a.error("cannot use a pure statement in an expression"),e.sharedScope=!0,r=new c([],s.wrap([this])),n=[],((i=this.contains(at))||this.contains(ct))&&(n=[new x("this")],i?(l="apply",n.push(new x("arguments"))):l="call",r=new z(r,[new t(new x(l))])),h=new o(r,n).compileNode(e),(r.isGenerator||(null!=(u=r.base)?u.isGenerator:void 0))&&(h.unshift(this.makeCode("(yield* ")),h.push(this.makeCode(")"))),h},e.prototype.cache=function(e,t,n){var r,s,o;return r=null!=n?n(this):this.isComplex(),r?(s=new x(e.scope.freeVariable("ref")),o=new i(s,this),t?[o.compileToFragments(e,t),[this.makeCode(s.value)]]:[o,s]):(s=t?this.compileToFragments(e,t):this,[s,s])},e.prototype.cacheToCodeFragments=function(e){return[st(e[0]),st(e[1])]},e.prototype.makeReturn=function(e){var t;return t=this.unwrapAll(),e?new o(new x(e+".push"),[t]):new M(t)},e.prototype.contains=function(e){var t;return t=void 0,this.traverseChildren(!1,function(n){return e(n)?(t=n,!1):void 0}),t},e.prototype.lastNonComment=function(e){var t;for(t=e.length;t--;)if(!(e[t]instanceof h))return e[t];return null},e.prototype.toString=function(e,t){var n;return null==e&&(e=""),null==t&&(t=this.constructor.name),n="\n"+e+t,this.soak&&(n+="?"),this.eachChild(function(t){return n+=t.toString(e+q)}),n},e.prototype.eachChild=function(e){var t,n,i,r,s,o,a,c;if(!this.children)return this;for(a=this.children,i=0,s=a.length;s>i;i++)if(t=a[i],this[t])for(c=rt([this[t]]),r=0,o=c.length;o>r;r++)if(n=c[r],e(n)===!1)return this;return this},e.prototype.traverseChildren=function(e,t){return this.eachChild(function(n){var i;return i=t(n),i!==!1?n.traverseChildren(e,t):void 0})},e.prototype.invert=function(){return new I("!",this)},e.prototype.unwrapAll=function(){var e;for(e=this;e!==(e=e.unwrap()););return e},e.prototype.children=[],e.prototype.isStatement=D,e.prototype.jumps=D,e.prototype.isComplex=Q,e.prototype.isChainable=D,e.prototype.isAssignable=D,e.prototype.unwrap=X,e.prototype.unfoldSoak=D,e.prototype.assigns=D,e.prototype.updateLocationDataIfMissing=function(e){return this.locationData?this:(this.locationData=e,this.eachChild(function(t){return t.updateLocationDataIfMissing(e)}))},e.prototype.error=function(e){return vt(e,this.locationData)},e.prototype.makeCode=function(e){return new l(this,e)},e.prototype.wrapInBraces=function(e){return[].concat(this.makeCode("("),e,this.makeCode(")"))},e.prototype.joinFragmentArrays=function(e,t){var n,i,r,s,o;for(n=[],r=s=0,o=e.length;o>s;r=++s)i=e[r],r&&n.push(this.makeCode(t)),n=n.concat(i);return n},e}(),e.Block=s=function(e){function t(e){this.expressions=et(rt(e||[]))}return kt(t,e),t.prototype.children=["expressions"],t.prototype.push=function(e){return this.expressions.push(e),this},t.prototype.pop=function(){return this.expressions.pop()},t.prototype.unshift=function(e){return this.expressions.unshift(e),this},t.prototype.unwrap=function(){return 1===this.expressions.length?this.expressions[0]:this},t.prototype.isEmpty=function(){return!this.expressions.length},t.prototype.isStatement=function(e){var t,n,i,r;for(r=this.expressions,n=0,i=r.length;i>n;n++)if(t=r[n],t.isStatement(e))return!0;return!1},t.prototype.jumps=function(e){var t,n,i,r,s;for(s=this.expressions,n=0,r=s.length;r>n;n++)if(t=s[n],i=t.jumps(e))return i},t.prototype.makeReturn=function(e){var t,n;for(n=this.expressions.length;n--;)if(t=this.expressions[n],!(t instanceof h)){this.expressions[n]=t.makeReturn(e),t instanceof M&&!t.expression&&this.expressions.splice(n,1);break}return this},t.prototype.compileToFragments=function(e,n){return null==e&&(e={}),e.scope?t.__super__.compileToFragments.call(this,e,n):this.compileRoot(e)},t.prototype.compileNode=function(e){var n,i,r,s,o,a,c,l,h;for(this.tab=e.indent,h=e.level===L,i=[],l=this.expressions,s=o=0,a=l.length;a>o;s=++o)c=l[s],c=c.unwrapAll(),c=c.unfoldSoak(e)||c,c instanceof t?i.push(c.compileNode(e)):h?(c.front=!0,r=c.compileToFragments(e),c.isStatement(e)||(r.unshift(this.makeCode(""+this.tab)),r.push(this.makeCode(";"))),i.push(r)):i.push(c.compileToFragments(e,F));return h?this.spaced?[].concat(this.joinFragmentArrays(i,"\n\n"),this.makeCode("\n")):this.joinFragmentArrays(i,"\n"):(n=i.length?this.joinFragmentArrays(i,", "):[this.makeCode("void 0")],i.length>1&&e.level>=F?this.wrapInBraces(n):n)},t.prototype.compileRoot=function(e){var t,n,i,r,s,o,a,c,l,u,p;for(e.indent=e.bare?"":q,e.level=L,this.spaced=!0,e.scope=new P(null,this,null,null!=(l=e.referencedVars)?l:[]),u=e.locals||[],r=0,s=u.length;s>r;r++)o=u[r],e.scope.parameter(o);return a=[],e.bare||(c=function(){var e,n,r,s;for(r=this.expressions,s=[],i=e=0,n=r.length;n>e&&(t=r[i],t.unwrap()instanceof h);i=++e)s.push(t);return s}.call(this),p=this.expressions.slice(c.length),this.expressions=c,c.length&&(a=this.compileNode(ht(e,{indent:""})),a.push(this.makeCode("\n"))),this.expressions=p),n=this.compileWithDeclarations(e),e.bare?n:[].concat(a,this.makeCode("(function() {\n"),n,this.makeCode("\n}).call(this);\n"))},t.prototype.compileWithDeclarations=function(e){var t,n,i,r,s,o,a,c,l,u,p,d,f,m;for(r=[],c=[],l=this.expressions,s=o=0,a=l.length;a>o&&(i=l[s],i=i.unwrap(),i instanceof h||i instanceof x);s=++o);return e=ht(e,{level:L}),s&&(d=this.expressions.splice(s,9e9),u=[this.spaced,!1],m=u[0],this.spaced=u[1],p=[this.compileNode(e),m],r=p[0],this.spaced=p[1],this.expressions=d),c=this.compileNode(e),f=e.scope,f.expressions===this&&(n=e.scope.hasDeclarations(),t=f.hasAssignments,n||t?(s&&r.push(this.makeCode("\n")),r.push(this.makeCode(this.tab+"var ")),n&&r.push(this.makeCode(f.declaredVariables().join(", "))),t&&(n&&r.push(this.makeCode(",\n"+(this.tab+q))),r.push(this.makeCode(f.assignedVariables().join(",\n"+(this.tab+q))))),r.push(this.makeCode(";\n"+(this.spaced?"\n":"")))):r.length&&c.length&&r.push(this.makeCode("\n"))),r.concat(c)},t.wrap=function(e){return 1===e.length&&e[0]instanceof t?e[0]:new t(e)},t}(r),e.Literal=x=function(e){function t(e){this.value=e}return kt(t,e),t.prototype.makeReturn=function(){return this.isStatement()?this:t.__super__.makeReturn.apply(this,arguments)},t.prototype.isAssignable=function(){return g.test(this.value)},t.prototype.isStatement=function(){var e;return"break"===(e=this.value)||"continue"===e||"debugger"===e},t.prototype.isComplex=D,t.prototype.assigns=function(e){return e===this.value},t.prototype.jumps=function(e){return"break"!==this.value||(null!=e?e.loop:void 0)||(null!=e?e.block:void 0)?"continue"!==this.value||(null!=e?e.loop:void 0)?void 0:this:this},t.prototype.compileNode=function(e){var t,n,i;return n="this"===this.value?(null!=(i=e.scope.method)?i.bound:void 0)?e.scope.method.context:this.value:this.value.reserved?'"'+this.value+'"':this.value,t=this.isStatement()?""+this.tab+n+";":n,[this.makeCode(t)]},t.prototype.toString=function(){return' "'+this.value+'"'},t}(r),e.Undefined=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return kt(t,e),t.prototype.isAssignable=D,t.prototype.isComplex=D,t.prototype.compileNode=function(e){return[this.makeCode(e.level>=T?"(void 0)":"void 0")]},t}(r),e.Null=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return kt(t,e),t.prototype.isAssignable=D,t.prototype.isComplex=D,t.prototype.compileNode=function(){return[this.makeCode("null")]},t}(r),e.Bool=function(e){function t(e){this.val=e}return kt(t,e),t.prototype.isAssignable=D,t.prototype.isComplex=D,t.prototype.compileNode=function(){return[this.makeCode(this.val)]},t}(r),e.Return=M=function(e){function t(e){this.expression=e}return kt(t,e),t.prototype.children=["expression"],t.prototype.isStatement=Q,t.prototype.makeReturn=X,t.prototype.jumps=X,t.prototype.compileToFragments=function(e,n){var i,r;return i=null!=(r=this.expression)?r.makeReturn():void 0,!i||i instanceof t?t.__super__.compileToFragments.call(this,e,n):i.compileToFragments(e,n)},t.prototype.compileNode=function(e){var t,n,i;return t=[],n=null!=(i=this.expression)?"function"==typeof i.isYieldReturn?i.isYieldReturn():void 0:void 0,n||t.push(this.makeCode(this.tab+("return"+(this.expression?" ":"")))),this.expression&&(t=t.concat(this.expression.compileToFragments(e,N))),n||t.push(this.makeCode(";")),t},t}(r),e.Value=z=function(e){function t(e,n,i){return!n&&e instanceof t?e:(this.base=e,this.properties=n||[],i&&(this[i]=!0),this)}return kt(t,e),t.prototype.children=["base","properties"],t.prototype.add=function(e){return this.properties=this.properties.concat(e),this},t.prototype.hasProperties=function(){return!!this.properties.length},t.prototype.bareLiteral=function(e){return!this.properties.length&&this.base instanceof e},t.prototype.isArray=function(){return this.bareLiteral(n)},t.prototype.isRange=function(){return this.bareLiteral(j)},t.prototype.isComplex=function(){return this.hasProperties()||this.base.isComplex()},t.prototype.isAssignable=function(){return this.hasProperties()||this.base.isAssignable()},t.prototype.isSimpleNumber=function(){return this.bareLiteral(x)&&B.test(this.base.value)},t.prototype.isString=function(){return this.bareLiteral(x)&&b.test(this.base.value)},t.prototype.isRegex=function(){return this.bareLiteral(x)&&v.test(this.base.value)},t.prototype.isAtomic=function(){var e,t,n,i;for(i=this.properties.concat(this.base),e=0,t=i.length;t>e;e++)if(n=i[e],n.soak||n instanceof o)return!1;return!0},t.prototype.isNotCallable=function(){return this.isSimpleNumber()||this.isString()||this.isRegex()||this.isArray()||this.isRange()||this.isSplice()||this.isObject()},t.prototype.isStatement=function(e){return!this.properties.length&&this.base.isStatement(e)},t.prototype.assigns=function(e){return!this.properties.length&&this.base.assigns(e)},t.prototype.jumps=function(e){return!this.properties.length&&this.base.jumps(e)},t.prototype.isObject=function(e){return this.properties.length?!1:this.base instanceof A&&(!e||this.base.generated)},t.prototype.isSplice=function(){var e,t;return t=this.properties,e=t[t.length-1],e instanceof U},t.prototype.looksStatic=function(e){var t;return this.base.value===e&&1===this.properties.length&&"prototype"!==(null!=(t=this.properties[0].name)?t.value:void 0)},t.prototype.unwrap=function(){return this.properties.length?this:this.base},t.prototype.cacheReference=function(e){var n,r,s,o,a;return a=this.properties,s=a[a.length-1],2>this.properties.length&&!this.base.isComplex()&&!(null!=s?s.isComplex():void 0)?[this,this]:(n=new t(this.base,this.properties.slice(0,-1)),n.isComplex()&&(r=new x(e.scope.freeVariable("base")),n=new t(new O(new i(r,n)))),s?(s.isComplex()&&(o=new x(e.scope.freeVariable("name")),s=new w(new i(o,s.index)),o=new w(o)),[n.add(s),new t(r||n.base,[o||s])]):[n,r])},t.prototype.compileNode=function(e){var t,n,i,r,s;for(this.base.front=this.front,s=this.properties,t=this.base.compileToFragments(e,s.length?T:null),(this.base instanceof O||s.length)&&B.test(st(t))&&t.push(this.makeCode(".")),n=0,i=s.length;i>n;n++)r=s[n],t.push.apply(t,r.compileToFragments(e));return t},t.prototype.unfoldSoak=function(e){return null!=this.unfoldedSoak?this.unfoldedSoak:this.unfoldedSoak=function(n){return function(){var r,s,o,a,c,l,h,p,d,f;if(o=n.base.unfoldSoak(e))return(p=o.body.properties).push.apply(p,n.properties),o;for(d=n.properties,s=a=0,c=d.length;c>a;s=++a)if(l=d[s],l.soak)return l.soak=!1,r=new t(n.base,n.properties.slice(0,s)),f=new t(n.base,n.properties.slice(s)),r.isComplex()&&(h=new x(e.scope.freeVariable("ref")),r=new O(new i(h,r)),f.base=h),new y(new u(r),f,{soak:!0});return!1}}(this)()},t}(r),e.Comment=h=function(e){function t(e){this.comment=e}return kt(t,e),t.prototype.isStatement=Q,t.prototype.makeReturn=X,t.prototype.compileNode=function(e,t){var n,i;return i=this.comment.replace(/^(\s*)#(?=\s)/gm,"$1 *"),n="/*"+ut(i,this.tab)+(Tt.call(i,"\n")>=0?"\n"+this.tab:"")+" */",(t||e.level)===L&&(n=e.indent+n),[this.makeCode("\n"),this.makeCode(n)]},t}(r),e.Call=o=function(e){function n(e,t,n){this.args=null!=t?t:[],this.soak=n,this.isNew=!1,this.isSuper="super"===e,this.variable=this.isSuper?null:e,e instanceof z&&e.isNotCallable()&&e.error("literal is not a function")}return kt(n,e),n.prototype.children=["variable","args"],n.prototype.newInstance=function(){var e,t;return e=(null!=(t=this.variable)?t.base:void 0)||this.variable,e instanceof n&&!e.isNew?e.newInstance():this.isNew=!0,this},n.prototype.superReference=function(e){var n,r,s,o,a,c,l,h;return a=e.scope.namedMethod(),(null!=a?a.klass:void 0)?(o=a.klass,c=a.name,h=a.variable,o.isComplex()&&(s=new x(e.scope.parent.freeVariable("base")),r=new z(new O(new i(s,o))),h.base=r,h.properties.splice(0,o.properties.length)),(c.isComplex()||c instanceof w&&c.index.isAssignable())&&(l=new x(e.scope.parent.freeVariable("name")),c=new w(new i(l,c.index)),h.properties.pop(),h.properties.push(c)),n=[new t(new x("__super__"))],a["static"]&&n.push(new t(new x("constructor"))),n.push(null!=l?new w(l):c),new z(null!=s?s:o,n).compile(e)):(null!=a?a.ctor:void 0)?a.name+".__super__.constructor":this.error("cannot call super outside of an instance method.")},n.prototype.superThis=function(e){var t;return t=e.scope.method,t&&!t.klass&&t.context||"this"},n.prototype.unfoldSoak=function(e){var t,i,r,s,o,a,c,l,h;if(this.soak){if(this.variable){if(i=bt(e,this,"variable"))return i;c=new z(this.variable).cacheReference(e),s=c[0],h=c[1]}else s=new x(this.superReference(e)),h=new z(s);return h=new n(h,this.args),h.isNew=this.isNew,s=new x("typeof "+s.compile(e)+' === "function"'),new y(s,new z(h),{soak:!0})}for(t=this,a=[];;)if(t.variable instanceof n)a.push(t),t=t.variable;else{if(!(t.variable instanceof z))break;if(a.push(t),!((t=t.variable.base)instanceof n))break}for(l=a.reverse(),r=0,o=l.length;o>r;r++)t=l[r],i&&(t.variable instanceof n?t.variable=i:t.variable.base=i),i=bt(e,t,"variable");return i},n.prototype.compileNode=function(e){var t,n,i,r,s,o,a,c,l,h;if(null!=(l=this.variable)&&(l.front=this.front),r=G.compileSplattedArray(e,this.args,!0),r.length)return this.compileSplat(e,r);for(i=[],h=this.args,n=o=0,a=h.length;a>o;n=++o)t=h[n],n&&i.push(this.makeCode(", ")),i.push.apply(i,t.compileToFragments(e,F));return s=[],this.isSuper?(c=this.superReference(e)+(".call("+this.superThis(e)),i.length&&(c+=", "),s.push(this.makeCode(c))):(this.isNew&&s.push(this.makeCode("new ")),s.push.apply(s,this.variable.compileToFragments(e,T)),s.push(this.makeCode("("))),s.push.apply(s,i),s.push(this.makeCode(")")),s},n.prototype.compileSplat=function(e,t){var n,i,r,s,o,a;return this.isSuper?[].concat(this.makeCode(this.superReference(e)+".apply("+this.superThis(e)+", "),t,this.makeCode(")")):this.isNew?(s=this.tab+q,[].concat(this.makeCode("(function(func, args, ctor) {\n"+s+"ctor.prototype = func.prototype;\n"+s+"var child = new ctor, result = func.apply(child, args);\n"+s+"return Object(result) === result ? result : child;\n"+this.tab+"})("),this.variable.compileToFragments(e,F),this.makeCode(", "),t,this.makeCode(", function(){})"))):(n=[],i=new z(this.variable),(o=i.properties.pop())&&i.isComplex()?(a=e.scope.freeVariable("ref"),n=n.concat(this.makeCode("("+a+" = "),i.compileToFragments(e,F),this.makeCode(")"),o.compileToFragments(e))):(r=i.compileToFragments(e,T),B.test(st(r))&&(r=this.wrapInBraces(r)),o?(a=st(r),r.push.apply(r,o.compileToFragments(e))):a="null",n=n.concat(r)),n=n.concat(this.makeCode(".apply("+a+", "),t,this.makeCode(")")))},n}(r),e.Extends=d=function(e){function t(e,t){this.child=e,this.parent=t}return kt(t,e),t.prototype.children=["child","parent"],t.prototype.compileToFragments=function(e){return new o(new z(new x(yt("extend",e))),[this.child,this.parent]).compileToFragments(e)},t}(r),e.Access=t=function(e){function t(e,t){this.name=e,this.name.asKey=!0,this.soak="soak"===t}return kt(t,e),t.prototype.children=["name"],t.prototype.compileToFragments=function(e){var t;return t=this.name.compileToFragments(e),g.test(st(t))?t.unshift(this.makeCode(".")):(t.unshift(this.makeCode("[")),t.push(this.makeCode("]"))),t},t.prototype.isComplex=D,t}(r),e.Index=w=function(e){function t(e){this.index=e}return kt(t,e),t.prototype.children=["index"],t.prototype.compileToFragments=function(e){return[].concat(this.makeCode("["),this.index.compileToFragments(e,N),this.makeCode("]"))},t.prototype.isComplex=function(){return this.index.isComplex()},t}(r),e.Range=j=function(e){function t(e,t,n){this.from=e,this.to=t,this.exclusive="exclusive"===n,this.equals=this.exclusive?"":"="}return kt(t,e),t.prototype.children=["from","to"],t.prototype.compileVariables=function(e){var t,n,i,r,s,o;return e=ht(e,{top:!0}),t=tt(e,"isComplex"),n=this.cacheToCodeFragments(this.from.cache(e,F,t)),this.fromC=n[0],this.fromVar=n[1],i=this.cacheToCodeFragments(this.to.cache(e,F,t)),this.toC=i[0],this.toVar=i[1],(o=tt(e,"step"))&&(r=this.cacheToCodeFragments(o.cache(e,F,t)),this.step=r[0],this.stepVar=r[1]),s=[this.fromVar.match(R),this.toVar.match(R)],this.fromNum=s[0],this.toNum=s[1],this.stepVar?this.stepNum=this.stepVar.match(R):void 0},t.prototype.compileNode=function(e){var t,n,i,r,s,o,a,c,l,h,u,p,d,f;return this.fromVar||this.compileVariables(e),e.index?(a=this.fromNum&&this.toNum,s=tt(e,"index"),o=tt(e,"name"),l=o&&o!==s,f=s+" = "+this.fromC,this.toC!==this.toVar&&(f+=", "+this.toC),this.step!==this.stepVar&&(f+=", "+this.step),h=[s+" <"+this.equals,s+" >"+this.equals],c=h[0],r=h[1],n=this.stepNum?pt(this.stepNum[0])>0?c+" "+this.toVar:r+" "+this.toVar:a?(u=[pt(this.fromNum[0]),pt(this.toNum[0])],i=u[0],d=u[1],u,d>=i?c+" "+d:r+" "+d):(t=this.stepVar?this.stepVar+" > 0":this.fromVar+" <= "+this.toVar,t+" ? "+c+" "+this.toVar+" : "+r+" "+this.toVar),p=this.stepVar?s+" += "+this.stepVar:a?l?d>=i?"++"+s:"--"+s:d>=i?s+"++":s+"--":l?t+" ? ++"+s+" : --"+s:t+" ? "+s+"++ : "+s+"--",l&&(f=o+" = "+f),l&&(p=o+" = "+p),[this.makeCode(f+"; "+n+"; "+p)]):this.compileArray(e)},t.prototype.compileArray=function(e){var t,n,i,r,s,o,a,c,l,h,u,p,d;return this.fromNum&&this.toNum&&20>=Math.abs(this.fromNum-this.toNum)?(l=function(){p=[];for(var e=h=+this.fromNum,t=+this.toNum;t>=h?t>=e:e>=t;t>=h?e++:e--)p.push(e);return p}.apply(this),this.exclusive&&l.pop(),[this.makeCode("["+l.join(", ")+"]")]):(o=this.tab+q,s=e.scope.freeVariable("i",{single:!0}),u=e.scope.freeVariable("results"),c="\n"+o+u+" = [];",this.fromNum&&this.toNum?(e.index=s,n=st(this.compileNode(e))):(d=s+" = "+this.fromC+(this.toC!==this.toVar?", "+this.toC:""),i=this.fromVar+" <= "+this.toVar,n="var "+d+"; "+i+" ? "+s+" <"+this.equals+" "+this.toVar+" : "+s+" >"+this.equals+" "+this.toVar+"; "+i+" ? "+s+"++ : "+s+"--"),a="{ "+u+".push("+s+"); }\n"+o+"return "+u+";\n"+e.indent,r=function(e){return null!=e?e.contains(at):void 0},(r(this.from)||r(this.to))&&(t=", arguments"),[this.makeCode("(function() {"+c+"\n"+o+"for ("+n+")"+a+"}).apply(this"+(null!=t?t:"")+")")])},t}(r),e.Slice=U=function(e){function t(e){this.range=e,t.__super__.constructor.call(this)}return kt(t,e),t.prototype.children=["range"],t.prototype.compileNode=function(e){var t,n,i,r,s,o,a;return s=this.range,o=s.to,i=s.from,r=i&&i.compileToFragments(e,N)||[this.makeCode("0")],o&&(t=o.compileToFragments(e,N),n=st(t),(this.range.exclusive||-1!==+n)&&(a=", "+(this.range.exclusive?n:B.test(n)?""+(+n+1):(t=o.compileToFragments(e,T),"+"+st(t)+" + 1 || 9e9")))),[this.makeCode(".slice("+st(r)+(a||"")+")")]},t}(r),e.Obj=A=function(e){function n(e,t){this.generated=null!=t?t:!1,this.objects=this.properties=e||[]}return kt(n,e),n.prototype.children=["properties"],n.prototype.compileNode=function(e){var n,r,s,o,a,c,l,u,p,d,f,m,g,v,b,y,k,w,T,C,F;if(T=this.properties,this.generated)for(l=0,g=T.length;g>l;l++)y=T[l],y instanceof z&&y.error("cannot have an implicit value in an implicit object");for(r=p=0,v=T.length;v>p&&(w=T[r],!((w.variable||w).base instanceof O));r=++p);for(s=T.length>r,a=e.indent+=q,m=this.lastNonComment(this.properties),n=[],s&&(k=e.scope.freeVariable("obj"),n.push(this.makeCode("(\n"+a+k+" = "))),n.push(this.makeCode("{"+(0===T.length||0===r?"}":"\n"))),o=f=0,b=T.length;b>f;o=++f)w=T[o],o===r&&(0!==o&&n.push(this.makeCode("\n"+a+"}")),n.push(this.makeCode(",\n"))),u=o===T.length-1||o===r-1?"":w===m||w instanceof h?"\n":",\n",c=w instanceof h?"":a,s&&r>o&&(c+=q),w instanceof i&&("object"!==w.context&&w.operatorToken.error("unexpected "+w.operatorToken.value),w.variable instanceof z&&w.variable.hasProperties()&&w.variable.error("invalid object key")),w instanceof z&&w["this"]&&(w=new i(w.properties[0].name,w,"object")),w instanceof h||(r>o?(w instanceof i||(w=new i(w,w,"object")),(w.variable.base||w.variable).asKey=!0):(w instanceof i?(d=w.variable,F=w.value):(C=w.base.cache(e),d=C[0],F=C[1]),w=new i(new z(new x(k),[new t(d)]),F))),c&&n.push(this.makeCode(c)),n.push.apply(n,w.compileToFragments(e,L)),u&&n.push(this.makeCode(u));return s?n.push(this.makeCode(",\n"+a+k+"\n"+this.tab+")")):0!==T.length&&n.push(this.makeCode("\n"+this.tab+"}")),this.front&&!s?this.wrapInBraces(n):n},n.prototype.assigns=function(e){var t,n,i,r;for(r=this.properties,t=0,n=r.length;n>t;t++)if(i=r[t],i.assigns(e))return!0;return!1},n}(r),e.Arr=n=function(e){function t(e){this.objects=e||[]}return kt(t,e),t.prototype.children=["objects"],t.prototype.compileNode=function(e){var t,n,i,r,s,o,a;if(!this.objects.length)return[this.makeCode("[]")];if(e.indent+=q,t=G.compileSplattedArray(e,this.objects),t.length)return t;for(t=[],n=function(){var t,n,i,r;for(i=this.objects,r=[],t=0,n=i.length;n>t;t++)a=i[t],r.push(a.compileToFragments(e,F));return r}.call(this),r=s=0,o=n.length;o>s;r=++s)i=n[r],r&&t.push(this.makeCode(", ")),t.push.apply(t,i);return st(t).indexOf("\n")>=0?(t.unshift(this.makeCode("[\n"+e.indent)),t.push(this.makeCode("\n"+this.tab+"]"))):(t.unshift(this.makeCode("[")),t.push(this.makeCode("]"))),t},t.prototype.assigns=function(e){var t,n,i,r;for(r=this.objects,t=0,n=r.length;n>t;t++)if(i=r[t],i.assigns(e))return!0;return!1},t}(r),e.Class=a=function(e){function n(e,t,n){this.variable=e,this.parent=t,this.body=null!=n?n:new s,this.boundFuncs=[],this.body.classBody=!0}return kt(n,e),n.prototype.children=["variable","parent","body"],n.prototype.determineName=function(){var e,n,i;return this.variable?(n=this.variable.properties,i=n[n.length-1],e=i?i instanceof t&&i.name.value:this.variable.base.value,Tt.call(V,e)>=0&&this.variable.error("class variable name may not be "+e),e&&(e=g.test(e)&&e)):null},n.prototype.setContext=function(e){return this.body.traverseChildren(!1,function(t){return t.classBody?!1:t instanceof x&&"this"===t.value?t.value=e:t instanceof c&&t.bound?t.context=e:void 0})},n.prototype.addBoundFunctions=function(e){var n,i,r,s,o;for(o=this.boundFuncs,i=0,r=o.length;r>i;i++)n=o[i],s=new z(new x("this"),[new t(n)]).compile(e),this.ctor.body.unshift(new x(s+" = "+yt("bind",e)+"("+s+", this)"))},n.prototype.addProperties=function(e,n,r){var s,o,a,l,h,u;return u=e.base.properties.slice(0),l=function(){var e;for(e=[];o=u.shift();)o instanceof i&&(a=o.variable.base,delete o.context,h=o.value,"constructor"===a.value?(this.ctor&&o.error("cannot define more than one constructor in a class"),h.bound&&o.error("cannot define a constructor as a bound function"),h instanceof c?o=this.ctor=h:(this.externalCtor=r.classScope.freeVariable("class"),o=new i(new x(this.externalCtor),h))):o.variable["this"]?h["static"]=!0:(s=a.isComplex()?new w(a):new t(a),o.variable=new z(new x(n),[new t(new x("prototype")),s]),h instanceof c&&h.bound&&(this.boundFuncs.push(a),h.bound=!1))),e.push(o);return e}.call(this),et(l)},n.prototype.walkBody=function(e,t){return this.traverseChildren(!1,function(r){return function(o){var a,c,l,h,u,p,d;if(a=!0,o instanceof n)return!1;if(o instanceof s){for(d=c=o.expressions,l=h=0,u=d.length;u>h;l=++h)p=d[l],p instanceof i&&p.variable.looksStatic(e)?p.value["static"]=!0:p instanceof z&&p.isObject(!0)&&(a=!1,c[l]=r.addProperties(p,e,t));o.expressions=c=rt(c)}return a&&!(o instanceof n)}}(this))},n.prototype.hoistDirectivePrologue=function(){var e,t,n;for(t=0,e=this.body.expressions;(n=e[t])&&n instanceof h||n instanceof z&&n.isString();)++t;return this.directives=e.splice(0,t)},n.prototype.ensureConstructor=function(e){return this.ctor||(this.ctor=new c,this.externalCtor?this.ctor.body.push(new x(this.externalCtor+".apply(this, arguments)")):this.parent&&this.ctor.body.push(new x(e+".__super__.constructor.apply(this, arguments)")),this.ctor.body.makeReturn(),this.body.expressions.unshift(this.ctor)),this.ctor.ctor=this.ctor.name=e,this.ctor.klass=null,this.ctor.noReturn=!0},n.prototype.compileNode=function(e){var t,n,r,a,l,h,u,p,f;return(a=this.body.jumps())&&a.error("Class bodies cannot contain pure statements"),(n=this.body.contains(at))&&n.error("Class bodies shouldn't reference arguments"),u=this.determineName()||"_Class",u.reserved&&(u="_"+u),h=new x(u),r=new c([],s.wrap([this.body])),t=[],e.classScope=r.makeScope(e.scope),this.hoistDirectivePrologue(),this.setContext(u),this.walkBody(u,e),this.ensureConstructor(u),this.addBoundFunctions(e),this.body.spaced=!0,this.body.expressions.push(h),this.parent&&(f=new x(e.classScope.freeVariable("superClass",{reserve:!1})),this.body.expressions.unshift(new d(h,f)),r.params.push(new _(f)),t.push(this.parent)),(p=this.body.expressions).unshift.apply(p,this.directives),l=new O(new o(r,t)),this.variable&&(l=new i(this.variable,l)),l.compileToFragments(e)},n}(r),e.Assign=i=function(e){function n(e,t,n,i){var r,s,o;this.variable=e,this.value=t,this.context=n,null==i&&(i={}),this.param=i.param,this.subpattern=i.subpattern,this.operatorToken=i.operatorToken,o=s=this.variable.unwrapAll().value,r=Tt.call(V,o)>=0,r&&"object"!==this.context&&this.variable.error('variable name may not be "'+s+'"')
11
+ }return kt(n,e),n.prototype.children=["variable","value"],n.prototype.isStatement=function(e){return(null!=e?e.level:void 0)===L&&null!=this.context&&Tt.call(this.context,"?")>=0},n.prototype.assigns=function(e){return this["object"===this.context?"value":"variable"].assigns(e)},n.prototype.unfoldSoak=function(e){return bt(e,this,"variable")},n.prototype.compileNode=function(e){var t,n,i,r,s,o,a,l,h,u,p,d,f,m;if(i=this.variable instanceof z){if(this.variable.isArray()||this.variable.isObject())return this.compilePatternMatch(e);if(this.variable.isSplice())return this.compileSplice(e);if("||="===(l=this.context)||"&&="===l||"?="===l)return this.compileConditional(e);if("**="===(h=this.context)||"//="===h||"%%="===h)return this.compileSpecialMath(e)}return this.value instanceof c&&(this.value["static"]?(this.value.klass=this.variable.base,this.value.name=this.variable.properties[0],this.value.variable=this.variable):(null!=(u=this.variable.properties)?u.length:void 0)>=2&&(p=this.variable.properties,o=p.length>=3?Ct.call(p,0,r=p.length-2):(r=0,[]),a=p[r++],s=p[r++],"prototype"===(null!=(d=a.name)?d.value:void 0)&&(this.value.klass=new z(this.variable.base,o),this.value.name=s,this.value.variable=this.variable))),this.context||(m=this.variable.unwrapAll(),m.isAssignable()||this.variable.error('"'+this.variable.compile(e)+'" cannot be assigned'),("function"==typeof m.hasProperties?m.hasProperties():void 0)||(this.param?e.scope.add(m.value,"var"):e.scope.find(m.value))),f=this.value.compileToFragments(e,F),i&&this.variable.base instanceof A&&(this.variable.front=!0),n=this.variable.compileToFragments(e,F),"object"===this.context?n.concat(this.makeCode(": "),f):(t=n.concat(this.makeCode(" "+(this.context||"=")+" "),f),F>=e.level?t:this.wrapInBraces(t))},n.prototype.compilePatternMatch=function(e){var i,r,s,o,a,c,l,h,u,d,f,m,v,b,y,k,T,C,N,S,D,R,A,_,O,j,M,B;if(_=e.level===L,j=this.value,y=this.variable.base.objects,!(k=y.length))return s=j.compileToFragments(e),e.level>=E?this.wrapInBraces(s):s;if(b=y[0],1===k&&b instanceof p&&b.error("Destructuring assignment has no target"),u=this.variable.isObject(),_&&1===k&&!(b instanceof G))return o=null,b instanceof n&&"object"===b.context?(C=b,N=C.variable,h=N.base,b=C.value,b instanceof n&&(o=b.value,b=b.variable)):(b instanceof n&&(o=b.value,b=b.variable),h=u?b["this"]?b.properties[0].name:b:new x(0)),i=g.test(h.unwrap().value),j=new z(j),j.properties.push(new(i?t:w)(h)),S=b.unwrap().value,Tt.call($,S)>=0&&b.error("assignment to a reserved word: "+b.compile(e)),o&&(j=new I("?",j,o)),new n(b,j,null,{param:this.param}).compileToFragments(e,L);for(M=j.compileToFragments(e,F),B=st(M),r=[],a=!1,(!g.test(B)||this.variable.assigns(B))&&(r.push([this.makeCode((T=e.scope.freeVariable("ref"))+" = ")].concat(Ct.call(M))),M=[this.makeCode(T)],B=T),l=f=0,m=y.length;m>f;l=++f){if(b=y[l],h=l,!a&&b instanceof G)v=b.name.unwrap().value,b=b.unwrap(),O=k+" <= "+B+".length ? "+yt("slice",e)+".call("+B+", "+l,(A=k-l-1)?(d=e.scope.freeVariable("i",{single:!0}),O+=", "+d+" = "+B+".length - "+A+") : ("+d+" = "+l+", [])"):O+=") : []",O=new x(O),a=d+"++";else{if(!a&&b instanceof p){(A=k-l-1)&&(1===A?a=B+".length - 1":(d=e.scope.freeVariable("i",{single:!0}),O=new x(d+" = "+B+".length - "+A),a=d+"++",r.push(O.compileToFragments(e,F))));continue}(b instanceof G||b instanceof p)&&b.error("multiple splats/expansions are disallowed in an assignment"),o=null,b instanceof n&&"object"===b.context?(D=b,R=D.variable,h=R.base,b=D.value,b instanceof n&&(o=b.value,b=b.variable)):(b instanceof n&&(o=b.value,b=b.variable),h=u?b["this"]?b.properties[0].name:b:new x(a||h)),v=b.unwrap().value,i=g.test(h.unwrap().value),O=new z(new x(B),[new(i?t:w)(h)]),o&&(O=new I("?",O,o))}null!=v&&Tt.call($,v)>=0&&b.error("assignment to a reserved word: "+b.compile(e)),r.push(new n(b,O,null,{param:this.param,subpattern:!0}).compileToFragments(e,F))}return _||this.subpattern||r.push(M),c=this.joinFragmentArrays(r,", "),F>e.level?c:this.wrapInBraces(c)},n.prototype.compileConditional=function(e){var t,i,r,s;return r=this.variable.cacheReference(e),i=r[0],s=r[1],!i.properties.length&&i.base instanceof x&&"this"!==i.base.value&&!e.scope.check(i.base.value)&&this.variable.error('the variable "'+i.base.value+"\" can't be assigned with "+this.context+" because it has not been declared before"),Tt.call(this.context,"?")>=0?(e.isExistentialEquals=!0,new y(new u(i),s,{type:"if"}).addElse(new n(s,this.value,"=")).compileToFragments(e)):(t=new I(this.context.slice(0,-1),i,new n(s,this.value,"=")).compileToFragments(e),F>=e.level?t:this.wrapInBraces(t))},n.prototype.compileSpecialMath=function(e){var t,i,r;return i=this.variable.cacheReference(e),t=i[0],r=i[1],new n(t,new I(this.context.slice(0,-1),r,this.value)).compileToFragments(e)},n.prototype.compileSplice=function(e){var t,n,i,r,s,o,a,c,l,h,u,p;return a=this.variable.properties.pop().range,i=a.from,h=a.to,n=a.exclusive,o=this.variable.compile(e),i?(c=this.cacheToCodeFragments(i.cache(e,E)),r=c[0],s=c[1]):r=s="0",h?i instanceof z&&i.isSimpleNumber()&&h instanceof z&&h.isSimpleNumber()?(h=h.compile(e)-s,n||(h+=1)):(h=h.compile(e,T)+" - "+s,n||(h+=" + 1")):h="9e9",l=this.value.cache(e,F),u=l[0],p=l[1],t=[].concat(this.makeCode("[].splice.apply("+o+", ["+r+", "+h+"].concat("),u,this.makeCode(")), "),p),e.level>L?this.wrapInBraces(t):t},n}(r),e.Code=c=function(e){function t(e,t,n){this.params=e||[],this.body=t||new s,this.bound="boundfunc"===n,this.isGenerator=!!this.body.contains(function(e){var t;return e instanceof I&&("yield"===(t=e.operator)||"yield*"===t)})}return kt(t,e),t.prototype.children=["params","body"],t.prototype.isStatement=function(){return!!this.ctor},t.prototype.jumps=D,t.prototype.makeScope=function(e){return new P(e,this.body,this)},t.prototype.compileNode=function(e){var r,a,c,l,h,u,d,f,m,g,v,b,k,w,C,F,E,N,L,S,D,R,A,O,$,j,M,B,V,P,U,G,H;if(this.bound&&(null!=(A=e.scope.method)?A.bound:void 0)&&(this.context=e.scope.method.context),this.bound&&!this.context)return this.context="_this",H=new t([new _(new x(this.context))],new s([this])),a=new o(H,[new x("this")]),a.updateLocationDataIfMissing(this.locationData),a.compileNode(e);for(e.scope=tt(e,"classScope")||this.makeScope(e.scope),e.scope.shared=tt(e,"sharedScope"),e.indent+=q,delete e.bare,delete e.isExistentialEquals,L=[],l=[],O=this.params,u=0,m=O.length;m>u;u++)N=O[u],N instanceof p||e.scope.parameter(N.asReference(e));for($=this.params,d=0,g=$.length;g>d;d++)if(N=$[d],N.splat||N instanceof p){for(j=this.params,f=0,v=j.length;v>f;f++)E=j[f],E instanceof p||!E.name.value||e.scope.add(E.name.value,"var",!0);V=new i(new z(new n(function(){var t,n,i,r;for(i=this.params,r=[],n=0,t=i.length;t>n;n++)E=i[n],r.push(E.asReference(e));return r}.call(this))),new z(new x("arguments")));break}for(M=this.params,F=0,b=M.length;b>F;F++)N=M[F],N.isComplex()?(U=R=N.asReference(e),N.value&&(U=new I("?",R,N.value)),l.push(new i(new z(N.name),U,"=",{param:!0}))):(R=N,N.value&&(C=new x(R.name.value+" == null"),U=new i(new z(N.name),N.value,"="),l.push(new y(C,U)))),V||L.push(R);for(G=this.body.isEmpty(),V&&l.unshift(V),l.length&&(B=this.body.expressions).unshift.apply(B,l),h=S=0,k=L.length;k>S;h=++S)E=L[h],L[h]=E.compileToFragments(e),e.scope.parameter(st(L[h]));for(P=[],this.eachParamName(function(e,t){return Tt.call(P,e)>=0&&t.error("multiple parameters named "+e),P.push(e)}),G||this.noReturn||this.body.makeReturn(),c="function",this.isGenerator&&(c+="*"),this.ctor&&(c+=" "+this.name),c+="(",r=[this.makeCode(c)],h=D=0,w=L.length;w>D;h=++D)E=L[h],h&&r.push(this.makeCode(", ")),r.push.apply(r,E);return r.push(this.makeCode(") {")),this.body.isEmpty()||(r=r.concat(this.makeCode("\n"),this.body.compileWithDeclarations(e),this.makeCode("\n"+this.tab))),r.push(this.makeCode("}")),this.ctor?[this.makeCode(this.tab)].concat(Ct.call(r)):this.front||e.level>=T?this.wrapInBraces(r):r},t.prototype.eachParamName=function(e){var t,n,i,r,s;for(r=this.params,s=[],t=0,n=r.length;n>t;t++)i=r[t],s.push(i.eachName(e));return s},t.prototype.traverseChildren=function(e,n){return e?t.__super__.traverseChildren.call(this,e,n):void 0},t}(r),e.Param=_=function(e){function t(e,t,n){var i,r,s;this.name=e,this.value=t,this.splat=n,r=i=this.name.unwrapAll().value,Tt.call(V,r)>=0&&this.name.error('parameter name "'+i+'" is not allowed'),this.name instanceof A&&this.name.generated&&(s=this.name.objects[0].operatorToken,s.error("unexpected "+s.value))}return kt(t,e),t.prototype.children=["name","value"],t.prototype.compileToFragments=function(e){return this.name.compileToFragments(e,F)},t.prototype.asReference=function(e){var t,n;return this.reference?this.reference:(n=this.name,n["this"]?(t=n.properties[0].name.value,t.reserved&&(t="_"+t),n=new x(e.scope.freeVariable(t))):n.isComplex()&&(n=new x(e.scope.freeVariable("arg"))),n=new z(n),this.splat&&(n=new G(n)),n.updateLocationDataIfMissing(this.locationData),this.reference=n)},t.prototype.isComplex=function(){return this.name.isComplex()},t.prototype.eachName=function(e,t){var n,r,s,o,a,c;if(null==t&&(t=this.name),n=function(t){return e("@"+t.properties[0].name.value,t)},t instanceof x)return e(t.value,t);if(t instanceof z)return n(t);for(c=t.objects,r=0,s=c.length;s>r;r++)a=c[r],a instanceof i&&null==a.context&&(a=a.variable),a instanceof i?this.eachName(e,a.value.unwrap()):a instanceof G?(o=a.name.unwrap(),e(o.value,o)):a instanceof z?a.isArray()||a.isObject()?this.eachName(e,a.base):a["this"]?n(a):e(a.base.value,a.base):a instanceof p||a.error("illegal parameter "+a.compile())},t}(r),e.Splat=G=function(e){function t(e){this.name=e.compile?e:new x(e)}return kt(t,e),t.prototype.children=["name"],t.prototype.isAssignable=Q,t.prototype.assigns=function(e){return this.name.assigns(e)},t.prototype.compileToFragments=function(e){return this.name.compileToFragments(e)},t.prototype.unwrap=function(){return this.name},t.compileSplattedArray=function(e,n,i){var r,s,o,a,c,l,h,u,p,d,f;for(h=-1;(f=n[++h])&&!(f instanceof t););if(h>=n.length)return[];if(1===n.length)return f=n[0],c=f.compileToFragments(e,F),i?c:[].concat(f.makeCode(yt("slice",e)+".call("),c,f.makeCode(")"));for(r=n.slice(h),l=u=0,d=r.length;d>u;l=++u)f=r[l],o=f.compileToFragments(e,F),r[l]=f instanceof t?[].concat(f.makeCode(yt("slice",e)+".call("),o,f.makeCode(")")):[].concat(f.makeCode("["),o,f.makeCode("]"));return 0===h?(f=n[0],a=f.joinFragmentArrays(r.slice(1),", "),r[0].concat(f.makeCode(".concat("),a,f.makeCode(")"))):(s=function(){var t,i,r,s;for(r=n.slice(0,h),s=[],t=0,i=r.length;i>t;t++)f=r[t],s.push(f.compileToFragments(e,F));return s}(),s=n[0].joinFragmentArrays(s,", "),a=n[h].joinFragmentArrays(r,", "),p=n[n.length-1],[].concat(n[0].makeCode("["),s,n[h].makeCode("].concat("),a,p.makeCode(")")))},t}(r),e.Expansion=p=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return kt(t,e),t.prototype.isComplex=D,t.prototype.compileNode=function(){return this.error("Expansion must be used inside a destructuring assignment or parameter list")},t.prototype.asReference=function(){return this},t.prototype.eachName=function(){},t}(r),e.While=J=function(e){function t(e,t){this.condition=(null!=t?t.invert:void 0)?e.invert():e,this.guard=null!=t?t.guard:void 0}return kt(t,e),t.prototype.children=["condition","guard","body"],t.prototype.isStatement=Q,t.prototype.makeReturn=function(e){return e?t.__super__.makeReturn.apply(this,arguments):(this.returns=!this.jumps({loop:!0}),this)},t.prototype.addBody=function(e){return this.body=e,this},t.prototype.jumps=function(){var e,t,n,i,r;if(e=this.body.expressions,!e.length)return!1;for(t=0,i=e.length;i>t;t++)if(r=e[t],n=r.jumps({loop:!0}))return n;return!1},t.prototype.compileNode=function(e){var t,n,i,r;return e.indent+=q,r="",n=this.body,n.isEmpty()?n=this.makeCode(""):(this.returns&&(n.makeReturn(i=e.scope.freeVariable("results")),r=""+this.tab+i+" = [];\n"),this.guard&&(n.expressions.length>1?n.expressions.unshift(new y(new O(this.guard).invert(),new x("continue"))):this.guard&&(n=s.wrap([new y(this.guard,n)]))),n=[].concat(this.makeCode("\n"),n.compileToFragments(e,L),this.makeCode("\n"+this.tab))),t=[].concat(this.makeCode(r+this.tab+"while ("),this.condition.compileToFragments(e,N),this.makeCode(") {"),n,this.makeCode("}")),this.returns&&t.push(this.makeCode("\n"+this.tab+"return "+i+";")),t},t}(r),e.Op=I=function(e){function n(e,t,n,i){if("in"===e)return new k(t,n);if("do"===e)return this.generateDo(t);if("new"===e){if(t instanceof o&&!t["do"]&&!t.isNew)return t.newInstance();(t instanceof c&&t.bound||t["do"])&&(t=new O(t))}return this.operator=r[e]||e,this.first=t,this.second=n,this.flip=!!i,this}var r,s;return kt(n,e),r={"==":"===","!=":"!==",of:"in",yieldfrom:"yield*"},s={"!==":"===","===":"!=="},n.prototype.children=["first","second"],n.prototype.isSimpleNumber=D,n.prototype.isYield=function(){var e;return"yield"===(e=this.operator)||"yield*"===e},n.prototype.isYieldReturn=function(){return this.isYield()&&this.first instanceof M},n.prototype.isUnary=function(){return!this.second},n.prototype.isComplex=function(){var e;return!(this.isUnary()&&("+"===(e=this.operator)||"-"===e)&&this.first instanceof z&&this.first.isSimpleNumber())},n.prototype.isChainable=function(){var e;return"<"===(e=this.operator)||">"===e||">="===e||"<="===e||"==="===e||"!=="===e},n.prototype.invert=function(){var e,t,i,r,o;if(this.isChainable()&&this.first.isChainable()){for(e=!0,t=this;t&&t.operator;)e&&(e=t.operator in s),t=t.first;if(!e)return new O(this).invert();for(t=this;t&&t.operator;)t.invert=!t.invert,t.operator=s[t.operator],t=t.first;return this}return(r=s[this.operator])?(this.operator=r,this.first.unwrap()instanceof n&&this.first.invert(),this):this.second?new O(this).invert():"!"===this.operator&&(i=this.first.unwrap())instanceof n&&("!"===(o=i.operator)||"in"===o||"instanceof"===o)?i:new n("!",this)},n.prototype.unfoldSoak=function(e){var t;return("++"===(t=this.operator)||"--"===t||"delete"===t)&&bt(e,this,"first")},n.prototype.generateDo=function(e){var t,n,r,s,a,l,h,u;for(l=[],n=e instanceof i&&(h=e.value.unwrap())instanceof c?h:e,u=n.params||[],r=0,s=u.length;s>r;r++)a=u[r],a.value?(l.push(a.value),delete a.value):l.push(a);return t=new o(e,l),t["do"]=!0,t},n.prototype.compileNode=function(e){var t,n,i,r,s,o;if(n=this.isChainable()&&this.first.isChainable(),n||(this.first.front=this.front),"delete"===this.operator&&e.scope.check(this.first.unwrapAll().value)&&this.error("delete operand may not be argument or var"),("--"===(r=this.operator)||"++"===r)&&(s=this.first.unwrapAll().value,Tt.call(V,s)>=0)&&this.error('cannot increment/decrement "'+this.first.unwrapAll().value+'"'),this.isYield())return this.compileYield(e);if(this.isUnary())return this.compileUnary(e);if(n)return this.compileChain(e);switch(this.operator){case"?":return this.compileExistence(e);case"**":return this.compilePower(e);case"//":return this.compileFloorDivision(e);case"%%":return this.compileModulo(e);default:return i=this.first.compileToFragments(e,E),o=this.second.compileToFragments(e,E),t=[].concat(i,this.makeCode(" "+this.operator+" "),o),E>=e.level?t:this.wrapInBraces(t)}},n.prototype.compileChain=function(e){var t,n,i,r;return i=this.first.second.cache(e),this.first.second=i[0],r=i[1],n=this.first.compileToFragments(e,E),t=n.concat(this.makeCode(" "+(this.invert?"&&":"||")+" "),r.compileToFragments(e),this.makeCode(" "+this.operator+" "),this.second.compileToFragments(e,E)),this.wrapInBraces(t)},n.prototype.compileExistence=function(e){var t,n;return this.first.isComplex()?(n=new x(e.scope.freeVariable("ref")),t=new O(new i(n,this.first))):(t=this.first,n=t),new y(new u(t),n,{type:"if"}).addElse(this.second).compileToFragments(e)},n.prototype.compileUnary=function(e){var t,i,r;return i=[],t=this.operator,i.push([this.makeCode(t)]),"!"===t&&this.first instanceof u?(this.first.negated=!this.first.negated,this.first.compileToFragments(e)):e.level>=T?new O(this).compileToFragments(e):(r="+"===t||"-"===t,("new"===t||"typeof"===t||"delete"===t||r&&this.first instanceof n&&this.first.operator===t)&&i.push([this.makeCode(" ")]),(r&&this.first instanceof n||"new"===t&&this.first.isStatement(e))&&(this.first=new O(this.first)),i.push(this.first.compileToFragments(e,E)),this.flip&&i.reverse(),this.joinFragmentArrays(i,""))},n.prototype.compileYield=function(e){var t,n;return n=[],t=this.operator,null==e.scope.parent&&this.error("yield statements must occur within a function generator."),Tt.call(Object.keys(this.first),"expression")>=0&&!(this.first instanceof W)?this.isYieldReturn()?n.push(this.first.compileToFragments(e,L)):null!=this.first.expression&&n.push(this.first.expression.compileToFragments(e,E)):(n.push([this.makeCode("("+t+" ")]),n.push(this.first.compileToFragments(e,E)),n.push([this.makeCode(")")])),this.joinFragmentArrays(n,"")},n.prototype.compilePower=function(e){var n;return n=new z(new x("Math"),[new t(new x("pow"))]),new o(n,[this.first,this.second]).compileToFragments(e)},n.prototype.compileFloorDivision=function(e){var i,r;return r=new z(new x("Math"),[new t(new x("floor"))]),i=new n("/",this.first,this.second),new o(r,[i]).compileToFragments(e)},n.prototype.compileModulo=function(e){var t;return t=new z(new x(yt("modulo",e))),new o(t,[this.first,this.second]).compileToFragments(e)},n.prototype.toString=function(e){return n.__super__.toString.call(this,e,this.constructor.name+" "+this.operator)},n}(r),e.In=k=function(e){function t(e,t){this.object=e,this.array=t}return kt(t,e),t.prototype.children=["object","array"],t.prototype.invert=S,t.prototype.compileNode=function(e){var t,n,i,r,s;if(this.array instanceof z&&this.array.isArray()&&this.array.base.objects.length){for(s=this.array.base.objects,n=0,i=s.length;i>n;n++)if(r=s[n],r instanceof G){t=!0;break}if(!t)return this.compileOrTest(e)}return this.compileLoopTest(e)},t.prototype.compileOrTest=function(e){var t,n,i,r,s,o,a,c,l,h,u,p;for(c=this.object.cache(e,E),u=c[0],a=c[1],l=this.negated?[" !== "," && "]:[" === "," || "],t=l[0],n=l[1],p=[],h=this.array.base.objects,i=s=0,o=h.length;o>s;i=++s)r=h[i],i&&p.push(this.makeCode(n)),p=p.concat(i?a:u,this.makeCode(t),r.compileToFragments(e,T));return E>e.level?p:this.wrapInBraces(p)},t.prototype.compileLoopTest=function(e){var t,n,i,r;return i=this.object.cache(e,F),r=i[0],n=i[1],t=[].concat(this.makeCode(yt("indexOf",e)+".call("),this.array.compileToFragments(e,F),this.makeCode(", "),n,this.makeCode(") "+(this.negated?"< 0":">= 0"))),st(r)===st(n)?t:(t=r.concat(this.makeCode(", "),t),F>e.level?t:this.wrapInBraces(t))},t.prototype.toString=function(e){return t.__super__.toString.call(this,e,this.constructor.name+(this.negated?"!":""))},t}(r),e.Try=Y=function(e){function t(e,t,n,i){this.attempt=e,this.errorVariable=t,this.recovery=n,this.ensure=i}return kt(t,e),t.prototype.children=["attempt","recovery","ensure"],t.prototype.isStatement=Q,t.prototype.jumps=function(e){var t;return this.attempt.jumps(e)||(null!=(t=this.recovery)?t.jumps(e):void 0)},t.prototype.makeReturn=function(e){return this.attempt&&(this.attempt=this.attempt.makeReturn(e)),this.recovery&&(this.recovery=this.recovery.makeReturn(e)),this},t.prototype.compileNode=function(e){var t,n,r,s,o;return e.indent+=q,o=this.attempt.compileToFragments(e,L),t=this.recovery?(r=e.scope.freeVariable("error"),s=new x(r),this.errorVariable?this.recovery.unshift(new i(this.errorVariable,s)):void 0,[].concat(this.makeCode(" catch ("),s.compileToFragments(e),this.makeCode(") {\n"),this.recovery.compileToFragments(e,L),this.makeCode("\n"+this.tab+"}"))):this.ensure||this.recovery?[]:[this.makeCode(" catch ("+r+") {}")],n=this.ensure?[].concat(this.makeCode(" finally {\n"),this.ensure.compileToFragments(e,L),this.makeCode("\n"+this.tab+"}")):[],[].concat(this.makeCode(this.tab+"try {\n"),o,this.makeCode("\n"+this.tab+"}"),t,n)},t}(r),e.Throw=W=function(e){function t(e){this.expression=e}return kt(t,e),t.prototype.children=["expression"],t.prototype.isStatement=Q,t.prototype.jumps=D,t.prototype.makeReturn=X,t.prototype.compileNode=function(e){return[].concat(this.makeCode(this.tab+"throw "),this.expression.compileToFragments(e),this.makeCode(";"))},t}(r),e.Existence=u=function(e){function t(e){this.expression=e}return kt(t,e),t.prototype.children=["expression"],t.prototype.invert=S,t.prototype.compileNode=function(e){var t,n,i,r;return this.expression.front=this.front,i=this.expression.compile(e,E),g.test(i)&&!e.scope.check(i)?(r=this.negated?["===","||"]:["!==","&&"],t=r[0],n=r[1],i="typeof "+i+" "+t+' "undefined" '+n+" "+i+" "+t+" null"):i=i+" "+(this.negated?"==":"!=")+" null",[this.makeCode(C>=e.level?i:"("+i+")")]},t}(r),e.Parens=O=function(e){function t(e){this.body=e}return kt(t,e),t.prototype.children=["body"],t.prototype.unwrap=function(){return this.body},t.prototype.isComplex=function(){return this.body.isComplex()},t.prototype.compileNode=function(e){var t,n,i;return n=this.body.unwrap(),n instanceof z&&n.isAtomic()?(n.front=this.front,n.compileToFragments(e)):(i=n.compileToFragments(e,N),t=E>e.level&&(n instanceof I||n instanceof o||n instanceof f&&n.returns),t?i:this.wrapInBraces(i))},t}(r),e.For=f=function(e){function t(e,t){var n;this.source=t.source,this.guard=t.guard,this.step=t.step,this.name=t.name,this.index=t.index,this.body=s.wrap([e]),this.own=!!t.own,this.object=!!t.object,this.object&&(n=[this.index,this.name],this.name=n[0],this.index=n[1]),this.index instanceof z&&this.index.error("index cannot be a pattern matching expression"),this.range=this.source instanceof z&&this.source.base instanceof j&&!this.source.properties.length,this.pattern=this.name instanceof z,this.range&&this.index&&this.index.error("indexes do not apply to range loops"),this.range&&this.pattern&&this.name.error("cannot pattern match over range loops"),this.own&&!this.object&&this.name.error("cannot use own with for-in"),this.returns=!1}return kt(t,e),t.prototype.children=["body","source","guard","step"],t.prototype.compileNode=function(e){var t,n,r,o,a,c,l,h,u,p,d,f,m,v,b,k,w,T,C,E,N,S,D,A,I,_,$,j,B,V,P,U,G,H;return t=s.wrap([this.body]),D=t.expressions,T=D[D.length-1],(null!=T?T.jumps():void 0)instanceof M&&(this.returns=!1),B=this.range?this.source.base:this.source,j=e.scope,this.pattern||(E=this.name&&this.name.compile(e,F)),v=this.index&&this.index.compile(e,F),E&&!this.pattern&&j.find(E),v&&j.find(v),this.returns&&($=j.freeVariable("results")),b=this.object&&v||j.freeVariable("i",{single:!0}),k=this.range&&E||v||b,w=k!==b?k+" = ":"",this.step&&!this.range&&(A=this.cacheToCodeFragments(this.step.cache(e,F,ot)),V=A[0],U=A[1],P=U.match(R)),this.pattern&&(E=b),H="",d="",l="",f=this.tab+q,this.range?p=B.compileToFragments(ht(e,{index:b,name:E,step:this.step,isComplex:ot})):(G=this.source.compile(e,F),!E&&!this.own||g.test(G)||(l+=""+this.tab+(S=j.freeVariable("ref"))+" = "+G+";\n",G=S),E&&!this.pattern&&(N=E+" = "+G+"["+k+"]"),this.object||(V!==U&&(l+=""+this.tab+V+";\n"),this.step&&P&&(u=0>pt(P[0]))||(C=j.freeVariable("len")),a=""+w+b+" = 0, "+C+" = "+G+".length",c=""+w+b+" = "+G+".length - 1",r=b+" < "+C,o=b+" >= 0",this.step?(P?u&&(r=o,a=c):(r=U+" > 0 ? "+r+" : "+o,a="("+U+" > 0 ? ("+a+") : "+c+")"),m=b+" += "+U):m=""+(k!==b?"++"+b:b+"++"),p=[this.makeCode(a+"; "+r+"; "+w+m)])),this.returns&&(I=""+this.tab+$+" = [];\n",_="\n"+this.tab+"return "+$+";",t.makeReturn($)),this.guard&&(t.expressions.length>1?t.expressions.unshift(new y(new O(this.guard).invert(),new x("continue"))):this.guard&&(t=s.wrap([new y(this.guard,t)]))),this.pattern&&t.expressions.unshift(new i(this.name,new x(G+"["+k+"]"))),h=[].concat(this.makeCode(l),this.pluckDirectCall(e,t)),N&&(H="\n"+f+N+";"),this.object&&(p=[this.makeCode(k+" in "+G)],this.own&&(d="\n"+f+"if (!"+yt("hasProp",e)+".call("+G+", "+k+")) continue;")),n=t.compileToFragments(ht(e,{indent:f}),L),n&&n.length>0&&(n=[].concat(this.makeCode("\n"),n,this.makeCode("\n"))),[].concat(h,this.makeCode(""+(I||"")+this.tab+"for ("),p,this.makeCode(") {"+d+H),n,this.makeCode(this.tab+"}"+(_||"")))},t.prototype.pluckDirectCall=function(e,t){var n,r,s,a,l,h,u,p,d,f,m,g,v,b,y,k;for(r=[],d=t.expressions,l=h=0,u=d.length;u>h;l=++h)s=d[l],s=s.unwrapAll(),s instanceof o&&(k=null!=(f=s.variable)?f.unwrapAll():void 0,(k instanceof c||k instanceof z&&(null!=(m=k.base)?m.unwrapAll():void 0)instanceof c&&1===k.properties.length&&("call"===(g=null!=(v=k.properties[0].name)?v.value:void 0)||"apply"===g))&&(a=(null!=(b=k.base)?b.unwrapAll():void 0)||k,p=new x(e.scope.freeVariable("fn")),n=new z(p),k.base&&(y=[n,k],k.base=y[0],n=y[1]),t.expressions[l]=new o(n,s.args),r=r.concat(this.makeCode(this.tab),new i(p,a).compileToFragments(e,L),this.makeCode(";\n"))));return r},t}(J),e.Switch=H=function(e){function t(e,t,n){this.subject=e,this.cases=t,this.otherwise=n}return kt(t,e),t.prototype.children=["subject","cases","otherwise"],t.prototype.isStatement=Q,t.prototype.jumps=function(e){var t,n,i,r,s,o,a,c;for(null==e&&(e={block:!0}),o=this.cases,i=0,s=o.length;s>i;i++)if(a=o[i],n=a[0],t=a[1],r=t.jumps(e))return r;return null!=(c=this.otherwise)?c.jumps(e):void 0},t.prototype.makeReturn=function(e){var t,n,i,r,o;for(r=this.cases,t=0,n=r.length;n>t;t++)i=r[t],i[1].makeReturn(e);return e&&(this.otherwise||(this.otherwise=new s([new x("void 0")]))),null!=(o=this.otherwise)&&o.makeReturn(e),this},t.prototype.compileNode=function(e){var t,n,i,r,s,o,a,c,l,h,u,p,d,f,m,g;for(c=e.indent+q,l=e.indent=c+q,o=[].concat(this.makeCode(this.tab+"switch ("),this.subject?this.subject.compileToFragments(e,N):this.makeCode("false"),this.makeCode(") {\n")),f=this.cases,a=h=0,p=f.length;p>h;a=++h){for(m=f[a],r=m[0],t=m[1],g=rt([r]),u=0,d=g.length;d>u;u++)i=g[u],this.subject||(i=i.invert()),o=o.concat(this.makeCode(c+"case "),i.compileToFragments(e,N),this.makeCode(":\n"));if((n=t.compileToFragments(e,L)).length>0&&(o=o.concat(n,this.makeCode("\n"))),a===this.cases.length-1&&!this.otherwise)break;s=this.lastNonComment(t.expressions),s instanceof M||s instanceof x&&s.jumps()&&"debugger"!==s.value||o.push(i.makeCode(l+"break;\n"))}return this.otherwise&&this.otherwise.expressions.length&&o.push.apply(o,[this.makeCode(c+"default:\n")].concat(Ct.call(this.otherwise.compileToFragments(e,L)),[this.makeCode("\n")])),o.push(this.makeCode(this.tab+"}")),o},t}(r),e.If=y=function(e){function t(e,t,n){this.body=t,null==n&&(n={}),this.condition="unless"===n.type?e.invert():e,this.elseBody=null,this.isChain=!1,this.soak=n.soak}return kt(t,e),t.prototype.children=["condition","body","elseBody"],t.prototype.bodyNode=function(){var e;return null!=(e=this.body)?e.unwrap():void 0},t.prototype.elseBodyNode=function(){var e;return null!=(e=this.elseBody)?e.unwrap():void 0},t.prototype.addElse=function(e){return this.isChain?this.elseBodyNode().addElse(e):(this.isChain=e instanceof t,this.elseBody=this.ensureBlock(e),this.elseBody.updateLocationDataIfMissing(e.locationData)),this},t.prototype.isStatement=function(e){var t;return(null!=e?e.level:void 0)===L||this.bodyNode().isStatement(e)||(null!=(t=this.elseBodyNode())?t.isStatement(e):void 0)},t.prototype.jumps=function(e){var t;return this.body.jumps(e)||(null!=(t=this.elseBody)?t.jumps(e):void 0)},t.prototype.compileNode=function(e){return this.isStatement(e)?this.compileStatement(e):this.compileExpression(e)},t.prototype.makeReturn=function(e){return e&&(this.elseBody||(this.elseBody=new s([new x("void 0")]))),this.body&&(this.body=new s([this.body.makeReturn(e)])),this.elseBody&&(this.elseBody=new s([this.elseBody.makeReturn(e)])),this},t.prototype.ensureBlock=function(e){return e instanceof s?e:new s([e])},t.prototype.compileStatement=function(e){var n,i,r,s,o,a,c;return r=tt(e,"chainChild"),(o=tt(e,"isExistentialEquals"))?new t(this.condition.invert(),this.elseBodyNode(),{type:"if"}).compileToFragments(e):(c=e.indent+q,s=this.condition.compileToFragments(e,N),i=this.ensureBlock(this.body).compileToFragments(ht(e,{indent:c})),a=[].concat(this.makeCode("if ("),s,this.makeCode(") {\n"),i,this.makeCode("\n"+this.tab+"}")),r||a.unshift(this.makeCode(this.tab)),this.elseBody?(n=a.concat(this.makeCode(" else ")),this.isChain?(e.chainChild=!0,n=n.concat(this.elseBody.unwrap().compileToFragments(e,L))):n=n.concat(this.makeCode("{\n"),this.elseBody.compileToFragments(ht(e,{indent:c}),L),this.makeCode("\n"+this.tab+"}")),n):a)},t.prototype.compileExpression=function(e){var t,n,i,r;return i=this.condition.compileToFragments(e,C),n=this.bodyNode().compileToFragments(e,F),t=this.elseBodyNode()?this.elseBodyNode().compileToFragments(e,F):[this.makeCode("void 0")],r=i.concat(this.makeCode(" ? "),n,this.makeCode(" : "),t),e.level>=C?this.wrapInBraces(r):r},t.prototype.unfoldSoak=function(){return this.soak&&this},t}(r),K={extend:function(e){return"function(child, parent) { for (var key in parent) { if ("+yt("hasProp",e)+".call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }"},bind:function(){return"function(fn, me){ return function(){ return fn.apply(me, arguments); }; }"},indexOf:function(){return"[].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; }"},modulo:function(){return"function(a, b) { return (+a % (b = +b) + b) % b; }"},hasProp:function(){return"{}.hasOwnProperty"},slice:function(){return"[].slice"}},L=1,N=2,F=3,C=4,E=5,T=6,q=" ",g=/^(?!\d)[$\w\x7f-\uffff]+$/,B=/^[+-]?\d+$/,m=/^[+-]?0x[\da-f]+/i,R=/^[+-]?(?:0x[\da-f]+|\d*\.?\d+(?:e[+-]?\d+)?)$/i,b=/^['"]/,v=/^\//,yt=function(e,t){var n,i;return i=t.scope.root,e in i.utilities?i.utilities[e]:(n=i.freeVariable(e),i.assign(n,K[e](t)),i.utilities[e]=n)},ut=function(e,t){return e=e.replace(/\n/g,"$&"+t),e.replace(/\s+$/,"")},pt=function(e){return null==e?0:e.match(m)?parseInt(e,16):parseFloat(e)},at=function(e){return e instanceof x&&"arguments"===e.value&&!e.asKey},ct=function(e){return e instanceof x&&"this"===e.value&&!e.asKey||e instanceof c&&e.bound||e instanceof o&&e.isSuper},ot=function(e){return e.isComplex()||("function"==typeof e.isAssignable?e.isAssignable():void 0)},bt=function(e,t,n){var i;if(i=t[n].unfoldSoak(e))return t[n]=i.body,i.body=new z(t),i}}.call(this),t.exports}(),require["./sourcemap"]=function(){var e={},t={exports:e};return function(){var e,n;e=function(){function e(e){this.line=e,this.columns=[]}return e.prototype.add=function(e,t,n){var i,r;return r=t[0],i=t[1],null==n&&(n={}),this.columns[e]&&n.noReplace?void 0:this.columns[e]={line:this.line,column:e,sourceLine:r,sourceColumn:i}},e.prototype.sourceLocation=function(e){for(var t;!((t=this.columns[e])||0>=e);)e--;return t&&[t.sourceLine,t.sourceColumn]},e}(),n=function(){function t(){this.lines=[]}var n,i,r,s;return t.prototype.add=function(t,n,i){var r,s,o,a;return null==i&&(i={}),o=n[0],s=n[1],a=(r=this.lines)[o]||(r[o]=new e(o)),a.add(s,t,i)},t.prototype.sourceLocation=function(e){var t,n,i;for(n=e[0],t=e[1];!((i=this.lines[n])||0>=n);)n--;return i&&i.sourceLocation(t)},t.prototype.generate=function(e,t){var n,i,r,s,o,a,c,l,h,u,p,d,f,m,g,v;for(null==e&&(e={}),null==t&&(t=null),v=0,s=0,a=0,o=0,d=!1,n="",f=this.lines,u=i=0,c=f.length;c>i;u=++i)if(h=f[u])for(m=h.columns,r=0,l=m.length;l>r;r++)if(p=m[r]){for(;p.line>v;)s=0,d=!1,n+=";",v++;d&&(n+=",",d=!1),n+=this.encodeVlq(p.column-s),s=p.column,n+=this.encodeVlq(0),n+=this.encodeVlq(p.sourceLine-a),a=p.sourceLine,n+=this.encodeVlq(p.sourceColumn-o),o=p.sourceColumn,d=!0}return g={version:3,file:e.generatedFile||"",sourceRoot:e.sourceRoot||"",sources:e.sourceFiles||[""],names:[],mappings:n},e.inline&&(g.sourcesContent=[t]),JSON.stringify(g,null,2)},r=5,i=1<<r,s=i-1,t.prototype.encodeVlq=function(e){var t,n,o,a;for(t="",o=0>e?1:0,a=(Math.abs(e)<<1)+o;a||!t;)n=a&s,a>>=r,a&&(n|=i),t+=this.encodeBase64(n);return t},n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t.prototype.encodeBase64=function(e){return n[e]||function(){throw Error("Cannot Base64 encode value: "+e)
12
+ }()},t}(),t.exports=n}.call(this),t.exports}(),require["./coffee-script"]=function(){var e={},t={exports:e};return function(){var t,n,i,r,s,o,a,c,l,h,u,p,d,f,m,g,v,b,y={}.hasOwnProperty,k=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1};if(a=require("fs"),v=require("vm"),f=require("path"),t=require("./lexer").Lexer,d=require("./parser").parser,l=require("./helpers"),n=require("./sourcemap"),e.VERSION="1.10.0",e.FILE_EXTENSIONS=[".coffee",".litcoffee",".coffee.md"],e.helpers=l,b=function(e){return function(t,n){var i,r;null==n&&(n={});try{return e.call(this,t,n)}catch(r){if(i=r,"string"!=typeof t)throw i;throw l.updateSyntaxError(i,t,n.filename)}}},e.compile=r=b(function(e,t){var i,r,s,o,a,c,h,u,f,m,g,v,b,y,k;for(v=l.merge,o=l.extend,t=o({},t),t.sourceMap&&(g=new n),k=p.tokenize(e,t),t.referencedVars=function(){var e,t,n;for(n=[],e=0,t=k.length;t>e;e++)y=k[e],y.variable&&n.push(y[1]);return n}(),c=d.parse(k).compileToFragments(t),s=0,t.header&&(s+=1),t.shiftLine&&(s+=1),r=0,f="",u=0,m=c.length;m>u;u++)a=c[u],t.sourceMap&&(a.locationData&&!/^[;\s]*$/.test(a.code)&&g.add([a.locationData.first_line,a.locationData.first_column],[s,r],{noReplace:!0}),b=l.count(a.code,"\n"),s+=b,b?r=a.code.length-(a.code.lastIndexOf("\n")+1):r+=a.code.length),f+=a.code;return t.header&&(h="Generated by CoffeeScript "+this.VERSION,f="// "+h+"\n"+f),t.sourceMap?(i={js:f},i.sourceMap=g,i.v3SourceMap=g.generate(t,e),i):f}),e.tokens=b(function(e,t){return p.tokenize(e,t)}),e.nodes=b(function(e,t){return"string"==typeof e?d.parse(p.tokenize(e,t)):d.parse(e)}),e.run=function(e,t){var n,i,s,o;return null==t&&(t={}),s=require.main,s.filename=process.argv[1]=t.filename?a.realpathSync(t.filename):".",s.moduleCache&&(s.moduleCache={}),i=t.filename?f.dirname(a.realpathSync(t.filename)):a.realpathSync("."),s.paths=require("module")._nodeModulePaths(i),(!l.isCoffee(s.filename)||require.extensions)&&(n=r(e,t),e=null!=(o=n.js)?o:n),s._compile(e,s.filename)},e.eval=function(e,t){var n,i,s,o,a,c,l,h,u,p,d,m,g,b,k,w,T;if(null==t&&(t={}),e=e.trim()){if(o=null!=(m=v.Script.createContext)?m:v.createContext,c=null!=(g=v.isContext)?g:function(){return t.sandbox instanceof o().constructor},o){if(null!=t.sandbox){if(c(t.sandbox))w=t.sandbox;else{w=o(),b=t.sandbox;for(h in b)y.call(b,h)&&(T=b[h],w[h]=T)}w.global=w.root=w.GLOBAL=w}else w=global;if(w.__filename=t.filename||"eval",w.__dirname=f.dirname(w.__filename),w===global&&!w.module&&!w.require){for(n=require("module"),w.module=i=new n(t.modulename||"eval"),w.require=s=function(e){return n._load(e,i,!0)},i.filename=w.__filename,k=Object.getOwnPropertyNames(require),a=0,u=k.length;u>a;a++)d=k[a],"paths"!==d&&"arguments"!==d&&"caller"!==d&&(s[d]=require[d]);s.paths=i.paths=n._nodeModulePaths(process.cwd()),s.resolve=function(e){return n._resolveFilename(e,i)}}}p={};for(h in t)y.call(t,h)&&(T=t[h],p[h]=T);return p.bare=!0,l=r(e,p),w===global?v.runInThisContext(l):v.runInContext(l,w)}},e.register=function(){return require("./register")},require.extensions)for(m=this.FILE_EXTENSIONS,h=0,u=m.length;u>h;h++)s=m[h],null==(i=require.extensions)[s]&&(i[s]=function(){throw Error("Use CoffeeScript.register() or require the coffee-script/register module to require "+s+" files.")});e._compileFile=function(e,t){var n,i,s,o,c;null==t&&(t=!1),o=a.readFileSync(e,"utf8"),c=65279===o.charCodeAt(0)?o.substring(1):o;try{n=r(c,{filename:e,sourceMap:t,literate:l.isLiterate(e)})}catch(s){throw i=s,l.updateSyntaxError(i,c,e)}return n},p=new t,d.lexer={lex:function(){var e,t;return t=d.tokens[this.pos++],t?(e=t[0],this.yytext=t[1],this.yylloc=t[2],d.errorToken=t.origin||t,this.yylineno=this.yylloc.first_line):e="",e},setInput:function(e){return d.tokens=e,this.pos=0},upcomingInput:function(){return""}},d.yy=require("./nodes"),d.yy.parseError=function(e,t){var n,i,r,s,o,a;return o=t.token,s=d.errorToken,a=d.tokens,i=s[0],r=s[1],n=s[2],r=function(){switch(!1){case s!==a[a.length-1]:return"end of input";case"INDENT"!==i&&"OUTDENT"!==i:return"indentation";case"IDENTIFIER"!==i&&"NUMBER"!==i&&"STRING"!==i&&"STRING_START"!==i&&"REGEX"!==i&&"REGEX_START"!==i:return i.replace(/_START$/,"").toLowerCase();default:return l.nameWhitespaceCharacter(r)}}(),l.throwSyntaxError("unexpected "+r,n)},o=function(e,t){var n,i,r,s,o,a,c,l,h,u,p,d;return s=void 0,r="",e.isNative()?r="native":(e.isEval()?(s=e.getScriptNameOrSourceURL(),s||(r=e.getEvalOrigin()+", ")):s=e.getFileName(),s||(s="<anonymous>"),l=e.getLineNumber(),i=e.getColumnNumber(),u=t(s,l,i),r=u?s+":"+u[0]+":"+u[1]:s+":"+l+":"+i),o=e.getFunctionName(),a=e.isConstructor(),c=!(e.isToplevel()||a),c?(h=e.getMethodName(),d=e.getTypeName(),o?(p=n="",d&&o.indexOf(d)&&(p=d+"."),h&&o.indexOf("."+h)!==o.length-h.length-1&&(n=" [as "+h+"]"),""+p+o+n+" ("+r+")"):d+"."+(h||"<anonymous>")+" ("+r+")"):a?"new "+(o||"<anonymous>")+" ("+r+")":o?o+" ("+r+")":r},g={},c=function(t){var n,i;if(g[t])return g[t];if(i=null!=f?f.extname(t):void 0,!(0>k.call(e.FILE_EXTENSIONS,i)))return n=e._compileFile(t,!0),g[t]=n.sourceMap},Error.prepareStackTrace=function(t,n){var i,r,s;return s=function(e,t,n){var i,r;return r=c(e),r&&(i=r.sourceLocation([t-1,n-1])),i?[i[0]+1,i[1]+1]:null},r=function(){var t,r,a;for(a=[],t=0,r=n.length;r>t&&(i=n[t],i.getFunction()!==e.run);t++)a.push(" at "+o(i,s));return a}(),""+t+"\n"+r.join("\n")+"\n"}}.call(this),t.exports}(),require["./browser"]=function(){var exports={},module={exports:exports};return function(){var CoffeeScript,compile,runScripts,indexOf=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1};CoffeeScript=require("./coffee-script"),CoffeeScript.require=require,compile=CoffeeScript.compile,CoffeeScript.eval=function(code,options){return null==options&&(options={}),null==options.bare&&(options.bare=!0),eval(compile(code,options))},CoffeeScript.run=function(e,t){return null==t&&(t={}),t.bare=!0,t.shiftLine=!0,Function(compile(e,t))()},"undefined"!=typeof window&&null!==window&&("undefined"!=typeof btoa&&null!==btoa&&"undefined"!=typeof JSON&&null!==JSON&&"undefined"!=typeof unescape&&null!==unescape&&"undefined"!=typeof encodeURIComponent&&null!==encodeURIComponent&&(compile=function(e,t){var n,i,r;return null==t&&(t={}),t.sourceMap=!0,t.inline=!0,i=CoffeeScript.compile(e,t),n=i.js,r=i.v3SourceMap,n+"\n//# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(r)))+"\n//# sourceURL=coffeescript"}),CoffeeScript.load=function(e,t,n,i){var r;return null==n&&(n={}),null==i&&(i=!1),n.sourceFiles=[e],r=window.ActiveXObject?new window.ActiveXObject("Microsoft.XMLHTTP"):new window.XMLHttpRequest,r.open("GET",e,!0),"overrideMimeType"in r&&r.overrideMimeType("text/plain"),r.onreadystatechange=function(){var s,o;if(4===r.readyState){if(0!==(o=r.status)&&200!==o)throw Error("Could not load "+e);if(s=[r.responseText,n],i||CoffeeScript.run.apply(CoffeeScript,s),t)return t(s)}},r.send(null)},runScripts=function(){var e,t,n,i,r,s,o,a,c,l,h;for(h=window.document.getElementsByTagName("script"),t=["text/coffeescript","text/literate-coffeescript"],e=function(){var e,n,i,r;for(r=[],e=0,n=h.length;n>e;e++)c=h[e],i=c.type,indexOf.call(t,i)>=0&&r.push(c);return r}(),s=0,n=function(){var t;return t=e[s],t instanceof Array?(CoffeeScript.run.apply(CoffeeScript,t),s++,n()):void 0},i=function(i,r){var s,o;return s={literate:i.type===t[1]},o=i.src||i.getAttribute("data-src"),o?CoffeeScript.load(o,function(t){return e[r]=t,n()},s,!0):(s.sourceFiles=["embedded"],e[r]=[i.innerHTML,s])},r=o=0,a=e.length;a>o;r=++o)l=e[r],i(l,r);return n()},window.addEventListener?window.addEventListener("DOMContentLoaded",runScripts,!1):window.attachEvent("onload",runScripts))}.call(this),module.exports}(),require["./coffee-script"]}();"function"==typeof define&&define.amd?define(function(){return CoffeeScript}):root.CoffeeScript=CoffeeScript})(this);
@@ -0,0 +1,7 @@
1
+ !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.js2coffee=e()}}(function(){var e,t,n;return function r(e,t,n){function i(s,a){if(!t[s]){if(!e[s]){var u=typeof require=="function"&&require;if(!a&&u)return u(s,!0);if(o)return o(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var f=t[s]={exports:{}};e[s][0].call(f.exports,function(t){var n=e[s][1][t];return i(n?n:t)},f,f.exports,r,e,t,n)}return t[s].exports}var o=typeof require=="function"&&require;for(var s=0;s<n.length;s++)i(n[s]);return i}({1:[function(e,t,n){var r,i,o,s,a;o=e("./lib/transforms/base");i=e("./lib/builder/base");r=e("./lib/builder");s=e("./lib/helpers").buildError;t.exports=a=function(e,t){return a.build(e,t).code};a.build=function(e,t){var n,r,i,o,s,u;if(t==null){t={}}if(t.filename==null){t.filename="input.js"}if(t.indent==null){t.indent=2}t.source=e;n=a.parseJS(e,t);s=a.transform(n,t),n=s.ast,o=s.warnings;u=a.generate(n,t),r=u.code,i=u.map;return{code:r,ast:n,map:i,warnings:o}};a.parseJS=function(t,n){var r,i;if(n==null){n={}}try{r=e("esprima");return r.parse(t,{loc:true,range:true,comment:true})}catch(o){i=o;throw s(i,t,n.filename)}};a.transform=function(t,n){var r,i,s;if(n==null){n={}}i={};s=function(e){return o.run(t,n,e,i)};r=!(n.comments===false);if(r){s([e("./lib/transforms/comments")])}s([e("./lib/transforms/functions")]);s([e("./lib/transforms/exponents"),e("./lib/transforms/ifs"),e("./lib/transforms/iife"),e("./lib/transforms/literals"),e("./lib/transforms/loops"),e("./lib/transforms/members"),e("./lib/transforms/objects"),e("./lib/transforms/binary"),e("./lib/transforms/empty_statements"),e("./lib/transforms/others"),e("./lib/transforms/precedence"),e("./lib/transforms/returns"),e("./lib/transforms/switches"),e("./lib/transforms/unsupported")]);s([e("./lib/transforms/blocks")]);return{ast:t,warnings:i.warnings}};a.generate=function(e,t){if(t==null){t={}}return new r(e,t).get()};a.version=e("./package.json").version},{"./lib/builder":3,"./lib/builder/base":2,"./lib/helpers":5,"./lib/transforms/base":6,"./lib/transforms/binary":7,"./lib/transforms/blocks":8,"./lib/transforms/comments":9,"./lib/transforms/empty_statements":10,"./lib/transforms/exponents":11,"./lib/transforms/functions":12,"./lib/transforms/ifs":13,"./lib/transforms/iife":14,"./lib/transforms/literals":15,"./lib/transforms/loops":16,"./lib/transforms/members":17,"./lib/transforms/objects":18,"./lib/transforms/others":19,"./lib/transforms/precedence":20,"./lib/transforms/returns":21,"./lib/transforms/switches":22,"./lib/transforms/unsupported":23,"./package.json":58,esprima:46}],2:[function(e,t,n){var r,i,o=function(e,t){return function(){return e.apply(t,arguments)}};i=e("./strip_spaces");r=function(){function t(e,t){this.root=e;this.options=t!=null?t:{};this.walk=o(this.walk,this);this.path=[]}t.prototype.run=function(){return this.walk(this.root)};t.prototype.walk=function(e,t){var n,r,i;r=this.path.length;this.path.push(e);if(typeof t!=="string"){t=void 0}t||(t=e.type);this.ctx={path:this.path,type:t,parent:this.path[this.path.length-2]};n=this[t];if(n){i=n.call(this,e,this.ctx);if(this.decorator!=null){i=this.decorator(e,i)}}else{i=this.onUnknownNode(e,this.ctx)}this.path.splice(r);return i};t.prototype.get=function(){var e;e=this.run();e=i(e);return e.toStringWithSourceMap()};t.prototype.decorator=function(t,n){var r,i,o,s,a;r=e("source-map").SourceNode;return new r(t!=null?(i=t.loc)!=null?(o=i.start)!=null?o.line:void 0:void 0:void 0,t!=null?(s=t.loc)!=null?(a=s.start)!=null?a.column:void 0:void 0:void 0,this.options.filename,n)};return t}();t.exports=r},{"./strip_spaces":4,"source-map":48}],3:[function(e,t,n){var r,i,o,s,a,u,l,f,c,p,h,m,d=function(e,t){for(var n in t){if(g.call(t,n))e[n]=t[n]}function r(){this.constructor=e}r.prototype=t.prototype;e.prototype=new r;e.__super__=t.prototype;return e},g={}.hasOwnProperty;m=e("../helpers"),f=m.prependAll,c=m.quote,l=m.newline,p=m.space,a=m.delimit,s=m.commaDelimit,h=m.toIndent,u=m.joinLines;o=e("../transforms/base");i=e("./base");t.exports=r=function(e){d(t,e);function t(e,n){if(n==null){n={}}t.__super__.constructor.apply(this,arguments);this._indent=0}t.prototype.Program=function(e){this.comments=e.comments;return this.BlockStatement(e)};t.prototype.ExpressionStatement=function(e){return l(this.walk(e.expression))};t.prototype.AssignmentExpression=function(e){var t;t=this.paren(p([this.walk(e.left),e.operator,this.walk(e.right)]));if(e.right.type==="FunctionExpression"){t=["\n",this.indent(),t,"\n"]}return t};t.prototype.Identifier=function(e){return[e.name]};t.prototype.UnaryExpression=function(e){var t,n;t=function(){return e.argument.type==="UnaryExpression"};n=function(){return/^[a-z]+$/i.test(e.operator)};if(t()||n()){return this.paren([e.operator," ",this.walk(e.argument)])}else{return this.paren([e.operator,this.walk(e.argument)])}};t.prototype.BinaryExpression=function(e){var t;t=e.operator;if(t==="in"){t="of"}return this.paren(p([this.walk(e.left),t,this.walk(e.right)]))};t.prototype.Literal=function(e){if(typeof e.value==="string"){return[c(e.value)]}else{return[e.raw]}};t.prototype.MemberExpression=function(e){var t;t=e.computed?["[",this.walk(e.property),"]"]:e._prefixed?[this.walk(e.property)]:[".",this.walk(e.property)];return this.paren([this.walk(e.object),t])};t.prototype.LogicalExpression=function(e){var t,n;n={"||":"or","&&":"and"};t=n[e.operator];return this.paren([this.walk(e.left)," ",t," ",this.walk(e.right)])};t.prototype.ThisExpression=function(e){if(e._prefix){return["@"]}else{return["this"]}};t.prototype.CallExpression=function(e,t){var n,r,i;n=this.walk(e.callee);i=this.makeSequence(e["arguments"]);e._isStatement=t.parent.type==="ExpressionStatement";r=i.length>0;if(e._isStatement&&r){return p([n,i])}else{return[n,this.paren(i,true)]}};t.prototype.IfStatement=function(e){var t,n;t=e.alternate;if((t!=null?t.type:void 0)==="IfStatement"){n=this.indent(["else ",this.walk(e.alternate,"IfStatement")])}else if((t!=null?t.type:void 0)==="BlockStatement"){n=this.indent(function(t){return function(n){return[n,"else","\n",t.walk(e.alternate)]}}(this))}else if(t!=null){n=this.indent(function(t){return function(n){return[n,"else","\n",t.indent(t.walk(e.alternate))]}}(this))}else{n=[]}return this.indent(function(t){return function(r){var i,o,s;o=t.walk(e.test);i=t.walk(e.consequent);if(e.consequent.type!=="BlockStatement"){i=t.indent(i)}s=e._negative?"unless":"if";return[s," ",o,"\n",i,n]}}(this))};t.prototype.BlockStatement=function(e){return this.makeStatements(e,e.body)};t.prototype.makeStatements=function(e,t){return f(t.map(this.walk),this.indent())};t.prototype.LineComment=function(e){return["#",e.value,"\n"]};t.prototype.BlockComment=function(e){var t,n;t=("###"+e.value+"###").split("\n");n=[a(t,["\n",this.indent()]),"\n"];return["\n",this.indent(),n,"\n"]};t.prototype.ReturnStatement=function(e){if(e.argument){return p(["return",[this.walk(e.argument),"\n"]])}else{return["return","\n"]}};t.prototype.ArrayExpression=function(e){var t,n;n=e.elements.length;t=n===1;if(n===0){return["[]"]}else if(t){return p(["[",e.elements.map(this.walk),"]"])}else{return this.indent(function(t){return function(n){var r,i;i=e.elements.map(function(e){return l(t.walk(e))});r=f(i,t.indent());return["[","\n",r,n,"]"]}}(this))}};t.prototype.ObjectExpression=function(e,t){var n,r;r=e.properties.length;n=e._braced;if(r===0){return["{}"]}else if(r===1){r=e.properties.map(this.walk);if(n){return this.paren(p(["{",r,"}"]))}else{return this.paren([r])}}else if(e._last){r=e.properties.map(this.walk);return a(r,["\n",this.indent()])}else{r=this.indent(function(t){return function(){r=e.properties.map(t.walk);return["\n",u(r,t.indent())]}}(this));if(n){return this.paren(["{",r,"\n",this.indent(),"}"])}else{return this.paren([r])}}};t.prototype.Property=function(e){if(e.kind!=="init"){throw new Error("Property: not sure about kind "+e.kind)}return p([[this.walk(e.key),":"],this.walk(e.value)])};t.prototype.VariableDeclaration=function(e){var t;t=e.declarations.map(this.walk);return a(t,this.indent())};t.prototype.VariableDeclarator=function(e){var t;t=[this.walk(e.id)," = ",l(this.walk(e.init))];if(e.init.type==="FunctionExpression"){t=["\n",this.indent(),t,"\n"]}return t};t.prototype.FunctionExpression=function(e,t){var n,r;r=this.makeParams(e.params,e.defaults);n=this.indent(function(t){return function(n){return[r,"->","\n",t.walk(e.body)]}}(this));if(e._parenthesized){return["(",n,this.indent(),")"]}else{return n}};t.prototype.EmptyStatement=function(e){return[]};t.prototype.SequenceExpression=function(e){var t;t=e.expressions.map(function(e){return function(t){return[e.walk(t),"\n"]}}(this));return a(t,this.indent())};t.prototype.NewExpression=function(e){var t,n,r,i;n=((r=e.callee)!=null?r.type:void 0)==="Identifier"?[this.walk(e.callee)]:["(",this.walk(e.callee),")"];t=((i=e["arguments"])!=null?i.length:void 0)?["(",this.makeSequence(e["arguments"]),")"]:[];return this.paren(["new ",n,t])};t.prototype.WhileStatement=function(e){return["while ",this.walk(e.test),"\n",this.makeLoopBody(e.body)]};t.prototype.CoffeeLoopStatement=function(e){return["loop","\n",this.makeLoopBody(e.body)]};t.prototype.BreakStatement=function(e){return["break","\n"]};t.prototype.ContinueStatement=function(e){return["continue","\n"]};t.prototype.DebuggerStatement=function(e){return["debugger","\n"]};t.prototype.TryStatement=function(e){var t,n,r;r=this.indent(function(t){return function(){return["try","\n",t.walk(e.block)]}}(this));t=f(e.handlers.map(this.walk),this.indent());n=e.finalizer!=null?this.indent(function(t){return function(n){return[n,"finally","\n",t.walk(e.finalizer)]}}(this)):[];return[r,t,n]};t.prototype.CatchClause=function(e){return this.indent(function(t){return function(){return["catch ",t.walk(e.param),"\n",t.walk(e.body)]}}(this))};t.prototype.ThrowStatement=function(e){return["throw ",this.walk(e.argument),"\n"]};t.prototype.ConditionalExpression=function(e){return this.paren(p(["if",this.walk(e.test),"then",this.walk(e.consequent),"else",this.walk(e.alternate)]))};t.prototype.UpdateExpression=function(e){if(e.prefix){return[e.operator,this.walk(e.argument)]}else{return[this.walk(e.argument),e.operator]}};t.prototype.SwitchStatement=function(e){var t,n;t=this.indent(function(t){return function(){return t.makeStatements(e,e.cases)}}(this));n=this.walk(e.discriminant);if(e.discriminant.type==="ConditionalExpression"){n=["(",n,")"]}return["switch ",n,"\n",t]};t.prototype.CoffeeListExpression=function(e){return this.makeSequence(e.expressions)};t.prototype.SwitchCase=function(e){var t,n;t=e.test?["when ",this.walk(e.test)]:["else"];n=this.indent(function(t){return function(){return t.makeStatements(e,e.consequent)}}(this));return[t,"\n",n]};t.prototype.ForInStatement=function(e){var t,n,r;if(e.left.type!=="VariableDeclaration"){n=this.walk(e.left);r={type:"ExpressionStatement",expression:{type:"CoffeeEscapedExpression",raw:n+" = "+n}};e.body.body=[r].concat(e.body.body)}else{n=this.walk(e.left.declarations[0].id)}t=this.makeLoopBody(e.body);return["for ",n," of ",this.walk(e.right),"\n",t]};t.prototype.makeLoopBody=function(e){var t;t=(e!=null?e.type:void 0)==="BlockStatement";if(!e||t&&e.body.length===0){return this.indent(function(e){return function(){return[e.indent(),"continue","\n"]}}(this))}else if(t){return this.indent(function(t){return function(){return t.walk(e)}}(this))}else{return this.indent(function(t){return function(){return[t.indent(),t.walk(e)]}}(this))}};t.prototype.CoffeeEscapedExpression=function(e){if(e._parenthesized){return["(`",e.raw,"`)"]}else{return["`",e.raw,"`"]}};t.prototype.CoffeePrototypeExpression=function(e){if(e.computed){return[this.walk(e.object),"::[",this.walk(e.property),"]"]}else{return[this.walk(e.object),"::",this.walk(e.property)]}};t.prototype.CoffeeDoExpression=function(e){return p(["do",this.walk(e["function"])])};t.prototype.makeSequence=function(e){var t,n,r,i,o;for(n=i=0,o=e.length;i<o;n=++i){t=e[n];r=n===e.length-1;if(!r){if(t.type==="FunctionExpression"){t._parenthesized=true}else if(t.type==="ObjectExpression"){t._braced=true}}}return s(e.map(this.walk))};t.prototype.makeParams=function(e,t){var n,r,i,o,s,u;i=[];for(r=s=0,u=e.length;s<u;r=++s){o=e[r];if(t[r]){n=this.walk(t[r]);i.push([this.walk(o)," = ",n])}else{i.push(this.walk(o))}}if(e.length){return["(",a(i,", "),") "]}else{return[]}};t.prototype.parenthesizeArguments=function(e){var t,n,r,i,o,s,a;s=e["arguments"];a=[];for(n=i=0,o=s.length;i<o;n=++i){t=s[n];r=n===e["arguments"].length-1;if(t.type==="FunctionExpression"){if(!r){a.push(t._parenthesized=true)}else{a.push(void 0)}}else{a.push(void 0)}}return a};t.prototype.indent=function(e){var t,n,r;if(typeof e==="function"){t=this.indent();this._indent+=1;n=e(t);this._indent-=1;return n}else if(e){return[this.indent(),e]}else{r=h(this.options.indent);return Array(this._indent+1).join(r)}};t.prototype.paren=function(e,t){var n,r;if(t==null){t=(r=this.path[this.path.length-1])!=null?r._parenthesized:void 0}n=e.toString().match(/\n$/);if(t){if(n){return["(",e,this.indent(),")"]}else{return["(",e,")"]}}else{return e}};t.prototype.onUnknownNode=function(e,t){return this.syntaxError(e,e.type+" is not supported")};t.prototype.syntaxError=o.prototype.syntaxError;return t}(i)},{"../helpers":5,"../transforms/base":6,"./base":2}],4:[function(e,t,n){var r,i,o,s,a,u,l;r=/^\s*\n+\s*$/;l=function(e){e=u(e);e=a(e);e=s(e);e=o(e);return e};o=function(e){var t,n;n=0;t=null;return i(e,{},function(e){if(n===0||n===1&&e.match(r)){n=1;return e}else if(n===1&&e.match(/^[ \t]+$/)){t=e;n=2;return""}else if(n===2){n=1;if(e.match(r)){return e}else{return t+e}}else{n=0;return e}})};u=function(e){return i(e,{},function(e){if(e.match(r)){return""}else{this["break"]();return e}})};a=function(e){return i(e,{reverse:true},function(e){if(e.match(r)){return""}else{this["break"]();return e+"\n"}})};s=function(e){var t;t=0;return i(e,{},function(e){if(e==="\n"){t+=1}else if(e.match(/^\s*$/)){}else{t=0}if(t>=3){return""}else{return e}})};i=function(e,t,n){var r,i,o;if(t==null){t={}}r=false;i={"break":function(e){return r=true}};o=function(e,t,n){var s,a,u,l,f,c,p,h,m,d,g,y;if(t==null){t={}}l=t.reverse?function(){g=[];for(var t=m=e.children.length-1;m<=0?t<=0:t>=0;m<=0?t++:t--){g.push(t)}return g}.apply(this):function(){y=[];for(var t=0,n=e.children.length;0<=n?t<n:t>n;0<=n?t++:t--){y.push(t)}return y}.apply(this);for(p=0,h=l.length;p<h;p++){a=l[p];if(r){return e}s=e.children[a];if(!s){}else if(s.children){o(s,t,n)}else if(s!==""){u=n.call(i,s);e.children[a]=u}}return e};return o.call(i,e,t,n)};t.exports=l},{}],5:[function(e,t,n){n.delimit=function(e,t){var n,r,i,o,s;i=[];for(n=o=0,s=e.length;o<s;n=++o){r=e[n];if(n>0){i.push(t)}i.push(r)}return i};n.commaDelimit=function(e){var t,n,r,i,o;r=[];for(t=i=0,o=e.length;i<o;t=++i){n=e[t];if(t>0){if(/^\n/.test(n.toString())){r.push(",")}else{r.push(", ")}}r.push(n)}return r};n.prependAll=function(e,t){var n,r,i,o,s;i=[];for(n=o=0,s=e.length;o<s;n=++o){r=e[n];i.push(t);i.push(r)}return i};n.buildError=function(e,t,n){var r,i,o,s,a,u,l,f,c,p,h,m,d,g,y,v,S;if(n==null){n=""}if(e.js2coffee){return e}i=e.description;u=(d=(g=e.start)!=null?g.line:void 0)!=null?d:e.lineNumber;r=(y=(v=(S=e.start)!=null?S.column:void 0)!=null?v:e.column&&e.column-1)!=null?y:0;s=n+":"+u+":"+r+": "+i;l=t.split("\n");p=Math.max(u-3,0);f=u-1;o=f.toString().length;a=1;if(e.end){a=Math.max(e.end.column-e.start.column,1)}h=function(e){return Array(1+o-e.toString().length).join(" ")+e};t=l.slice(p,+f+1||9e9).map(function(e,t){return h(1+t+p)+" "+e});t.push(Array(o+3).join(" ")+Array(r+1).join(" ")+Array(a+1).join("^"));t=t.join("\n");c=s+"\n\n"+t;m=e;e=new Error(c);e.filename=n;e.description=m.description;e.start={line:u,column:r};e.end=m.end;e.sourcePreview=t;e.js2coffee=true;return e};n.space=function(e){return e.reduce(function(e,t,n){if(n===0){return e.concat([t])}else if(t.toString().substr(0,1)==="\n"){return e.concat([t])}else{return e.concat([" ",t])}},[])};n.newline=function(e){if(/\n$/.test(e.toString())){return e}else{return[e,"\n"]}};n.inspect=function(t){return"~~~~\n"+e("util").inspect(t,{depth:1e3,colors:true})+"\n~~~~"};n.replace=function(e,t){t.range=e.range;t.loc=e.loc;return t};n.clone=function(e){return JSON.parse(JSON.stringify(e))};n.quote=function(e){var t;if(typeof e==="string"){t=e.replace(/\\/g,"\\\\").replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/\n/g,"\\n").replace(/[\u0000-\u0019\u00ad\u200b\u2028\u2029\ufeff]/g,function(e){return"\\u"+e.charCodeAt(0).toString(16)});return"'"+t+"'"}else{return JSON.stringify(e)}};n.getPrecedence=function(e){var t,n,r,i;i=e.type;n=function(t){return t.indexOf(e.operator)>-1};t={"**":17,"*":14,"/":14,"%":14,"+":13,"-":13,"<<":12,">>":12,">>>":12,"<":11,">":11,"<=":11,">=":11,"in":11,"instanceof":11,"==":10,"===":10,"!=":10,"!==":10,"&":9,"^":8,"|":7};r={"&&":6,"||":5};switch(i){case"Literal":case"Identifier":return 99;case"MemberExpression":case"CallExpression":return 18;case"NewExpression":if(e["arguments"].length===0){return 17}else{return 18}break;case"UpdateExpression":if(e.prefix){return 15}else{return 16}break;case"UnaryExpression":return 15;case"BinaryExpression":return t[e.operator];case"LogicalExpression":return r[e.operator];case"ConditionalExpression":return 4;case"AssignmentExpression":return 3;case"SequenceExpression":return 0;default:return-1}};n.lastStatement=function(e){var t,r,i,o;for(t=i=o=e.length-1;o<=0?i<=0:i>=0;t=o<=0?++i:--i){r=e[t];if(!r){continue}if(!n.isComment(r)){return r}}};n.getReturnStatements=function(e){var t,r,i,o,s;i=n.getReturnStatements,o=n.lastStatement;if(!e){return}else if(e.length){s=o(e)}else{s=e}if(!s){return[]}else if(s.type==="ReturnStatement"){return[s]}else if(s.type==="BlockStatement"){return i(s.body)}else if(s.type==="IfStatement"&&s.consequent&&s.alternate){r=i(s.consequent);t=i(s.alternate);if(r.length>0&&t.length>0){return r.concat(t)}else{return[]}}else{return[]}};n.joinLines=function(e,t){var n,r,i,o,s,a;o=[];for(n=s=0,a=e.length;s<a;n=++s){i=e[n];o.push(t);o.push(i);r=n!==e.length-1;if(!i.toString().match(/\n$/)&&r){o.push("\n")}}return o};n.reserved={keywords:["then","unless","until","loop","of","by","when"],reserved:["case","default","function","var","void","with","const","let","enum","export","import","native","__hasProp","__extends","__slice","__bind","__indexOf","implements","interface","package","private","protected","public","static","yield"],aliases:["and","or","is","isnt","not","yes","no","on","off"]};n.reservedWords=n.reserved.keywords.concat(n.reserved.reserved.concat(n.reserved.aliases));n.nextUntil=function(e,t,n){var r,i,o,s,a,u;i=e.indexOf(t);for(r=s=a=i+1,u=e.length;a<=u?s<=u:s>=u;r=a<=u?++s:--s){o=e[r];if((o!=null?o.type:void 0)&&n(o)){return o}}};n.nextNonComment=function(e,t){return n.nextUntil(e,t,function(e){return e.type!=="BlockComment"&&e.type!=="LineComment"})};n.isLoop=function(e){return e.test==null||n.isTruthy(e.test)};n.isTruthy=function(e){return e.type==="Literal"&&e.value};n.escapeJs=function(t){return n.replace(t,{type:"CoffeeEscapedExpression",raw:e("escodegen").generate(t)})};n.nonComments=function(e){return e.filter(function(e){return!n.isComment(e)})};n.isComment=function(e){return e.type==="LineComment"||e.type==="BlockComment"};n.toIndent=function(e){if(e==="tab"||e==="t"){return" "}else if(typeof e==="string"&&""+ +e!==e){return e}else{return Array(+e+1).join(" ")}}},{escodegen:29,util:28}],6:[function(e,t,n){var r,i,o,s,a,u,l,f,c=function(e,t){for(var n in t){if(p.call(t,n))e[n]=t[n]}function r(){this.constructor=e}r.prototype=t.prototype;e.prototype=new r;e.__super__=t.prototype;return e},p={}.hasOwnProperty,h=[].slice;f=e("../helpers"),i=f.buildError,s=f.clone,a=f.replace,l=f.toIndent;t.exports=r=function(){t.run=function(e,n,r,i){var o,s,a;o=function(e){c(t,e);function t(){return t.__super__.constructor.apply(this,arguments)}return t}(t);u(o,r);a=new o(e,n);s=a.run();if(i.warnings==null){i.warnings=[]}i.warnings=i.warnings.concat(a.warnings);return s};function t(e,t){this.ast=e;this.options=t;this.scopes=[];this.ctx={vars:[]};this.warnings=[]}t.prototype.run=function(){return this.recurse(this.ast)};t.prototype.recurse=function(e){var t,n;n=this;this.depth=0;t=function(e){return function(t,n,r){var i,o,s,a;e.node=n;e.depth+=t==="Enter"?+1:-1;i=t==="Enter"?""+n.type:n.type+"Exit";if(typeof e[s="onBefore"+t]==="function"){e[s](n,r)}o=typeof e[i]==="function"?e[i](n,r):void 0;if(typeof e[a="on"+t]==="function"){e[a](n,r)}return o}}(this);this.estraverse().replace(e,{enter:function(e,r){n.controller=this;return t("Enter",e,r)},leave:function(e,n){return t("Exit",e,n)}});return e};t.prototype.skip=function(){var e;return(e=this.controller)!=null?e.skip():void 0};t.prototype.remove=function(){var e;return(e=this.controller)!=null?e.remove():void 0};t.prototype.estraverse=function(){return this._estraverse!=null?this._estraverse:this._estraverse=function(){var t;t=e("estraverse");t.VisitorKeys.CoffeeEscapedExpression=[];t.VisitorKeys.CoffeeListExpression=["test","body"];t.VisitorKeys.CoffeePrototypeExpression=["object","property","computed"];t.VisitorKeys.CoffeeLoopStatement=["body"];t.VisitorKeys.CoffeeDoExpression=["function"];t.VisitorKeys.BlockComment=[];t.VisitorKeys.LineComment=[];return t}()};t.prototype.pushStack=function(e){var t,n,r;r=[this.scope,this.ctx],n=r[0],t=r[1];this.scopes.push([e,this.ctx]);this.ctx=s(this.ctx);this.scope=e;return typeof this.onScopeEnter==="function"?this.onScopeEnter(this.scope,this.ctx,n,t):void 0};t.prototype.popStack=function(){var e,t,n,r;n=[this.scope,this.ctx],t=n[0],e=n[1];r=this.scopes.pop(),this.scope=r[0],this.ctx=r[1];return typeof this.onScopeExit==="function"?this.onScopeExit(this.scope,this.ctx,t,e):void 0};t.prototype.syntaxError=function(e,t){var n,r,o;n=i({start:(r=e.loc)!=null?r.start:void 0,end:(o=e.loc)!=null?o.end:void 0,description:t},this.options.source,this.options.filename);throw n};t.prototype.warn=function(e,t){var n,r;return this.warnings.push({start:(n=e.loc)!=null?n.start:void 0,end:(r=e.loc)!=null?r.end:void 0,filename:this.options.filename,description:t})};t.prototype.Program=function(e){this.pushStack(e);return e};t.prototype.ProgramExit=function(e){this.popStack();return e};t.prototype.FunctionExpression=function(e){this.pushStack(e.body);return e};t.prototype.FunctionExpressionExit=function(e){this.popStack();return e};t.prototype.escapeJs=function(t,n){if(n==null){n={}}return a(t,{type:"CoffeeEscapedExpression",_parenthesized:n.parenthesized,raw:e("escodegen").generate(t,{format:{indent:{style:l(this.options.indent)}}})})};return t}();u=function(e,t){var n;n={};t.forEach(function(t){var r,i,s,a;s=t.prototype;a=[];for(i in s){r=s[i];if(t.prototype.hasOwnProperty(i)){if(n[i]&&i!=="constructor"){e.prototype[i]=o(e.prototype[i],r)}else{e.prototype[i]=r}a.push(n[i]=true)}else{a.push(void 0)}}return a});return e};o=function(e,t){return function(){var n,r,i,o;r=arguments[0],n=2<=arguments.length?h.call(arguments,1):[];o=r.type;i=e.bind(this).apply(null,[r].concat(h.call(n)));if(i.type===o){i=t.bind(this).apply(null,[i].concat(h.call(n)))}return i}}},{"../helpers":5,escodegen:29,estraverse:47}],7:[function(e,t,n){var r,i=function(e,t){for(var n in t){if(o.call(t,n))e[n]=t[n]}function r(){this.constructor=e}r.prototype=t.prototype;e.prototype=new r;e.__super__=t.prototype;return e},o={}.hasOwnProperty;r=e("./base");t.exports=function(e){i(t,e);function t(){return t.__super__.constructor.apply(this,arguments)}t.prototype.BinaryExpression=function(e){this.warnAboutEquals(e);this.updateEquals(e);return this.escapeEqualsForCompatibility(e)};t.prototype.updateEquals=function(e){var t,n;t={"===":"==","!==":"!="};n=e.operator;if(t[n]){e.operator=t[n]}return e};t.prototype.escapeEqualsForCompatibility=function(e){var t;t=e.operator==="=="||e.operator==="!=";if(this.options.compat&&t){return this.escapeJs(e)}else{return e}};t.prototype.warnAboutEquals=function(e){var t,n,r;t=e.operator;r={"==":"===","!=":"!=="};if(t==="=="||t==="!="){n=r[t];this.warn(e,"Operator '"+t+"' is not supported in CoffeeScript, "+("use '"+n+"' instead"))}return e};return t}(r)},{"./base":6}],8:[function(e,t,n){var r,i,o=function(e,t){for(var n in t){if(s.call(t,n))e[n]=t[n]}function r(){this.constructor=e}r.prototype=t.prototype;e.prototype=new r;e.__super__=t.prototype;return e},s={}.hasOwnProperty,a=[].slice;i=e("./base");t.exports=r=function(e){o(t,e);function t(){return t.__super__.constructor.apply(this,arguments)}t.prototype.BlockStatement=function(e,t){return this.consolidateBlockIntoParent(e,t)};t.prototype.consolidateBlockIntoParent=function(e,t){var n,r;r=false;n=function(n){return function(n,i){var o,s,u;if(t.type===n&&((s=t[i])!=null?s.indexOf:void 0)){o=t[i].indexOf(e);if(t[i]&&~o){(u=t[i]).splice.apply(u,[o,1].concat(a.call(e.body)));r=true;return true}}}}(this);n("BlockStatement","body")||n("SwitchCase","consequent")||n("IfStatement","consequent")||n("IfStatement","alternate");if(r){return this.skip()}else{return e}};return t}(i)},{"./base":6}],9:[function(e,t,n){var r,i=function(e,t){for(var n in t){if(o.call(t,n))e[n]=t[n]}function r(){this.constructor=e}r.prototype=t.prototype;e.prototype=new r;e.__super__=t.prototype;return e},o={}.hasOwnProperty;r=e("./base");t.exports=function(e){i(t,e);function t(){return t.__super__.constructor.apply(this,arguments)}t.prototype.ProgramExit=null;t.prototype.FunctionExpression=null;t.prototype.FunctionExpressionExit=null;t.prototype.Program=function(e){this.comments=e.comments;this.updateCommentTypes();e.body=this.addCommentsToList([0,Infinity],e.body);return e};t.prototype.BlockStatement=function(e){return this.injectComments(e,"body")};t.prototype.SwitchStatement=function(e){return this.injectComments(e,"cases")};t.prototype.SwitchCase=function(e){return this.injectComments(e,"consequent")};t.prototype.BlockComment=function(e){return this.convertCommentPrefixes(e)};t.prototype.updateCommentTypes=function(){var e,t,n,r,i;r=this.comments;i=[];for(t=0,n=r.length;t<n;t++){e=r[t];switch(e.type){case"Block":i.push(e.type="BlockComment");break;case"Line":i.push(e.type="LineComment");break;default:i.push(void 0)}}return i};t.prototype.injectComments=function(e,t){if(t==null){t="body"}e[t]=this.addCommentsToList(e.range,e[t]);return e};t.prototype.addCommentsToList=function(e,t){var n,r,i,o,s,a,u,l,f;if(e==null){return t}s=[];o=e[0];u=e[1];n=function(e){return function(t,n){return e.comments.filter(function(e){return e.range[0]>=t&&e.range[1]<=n})}}(this);if(t.length>0){for(r=l=0,f=t.length;l<f;r=++l){i=t[r];if(i.range){a=n(o,i.range[0]);s=s.concat(a)}s.push(i);if(i.range){o=i.range[1]}}}a=n(o,u);s=s.concat(a);return s};t.prototype.convertCommentPrefixes=function(e){var t,n;n=e.value.split("\n");t=e.loc.start.column;n=n.map(function(e,r){var i,o,s;o=r===n.length-1&&e.match(/^\s*$/);i=r===0&&n.length===1;s=e.substr(0,t);if(s.match(/^\s+$/)){e=e.substr(t)}if(o){return""}else if(i){return e}else{e=e.replace(/^ \*/,"#");return e+"\n"}});e.value=n.join("");return e};return t}(r)},{"./base":6}],10:[function(e,t,n){var r,i=function(e,t){for(var n in t){if(o.call(t,n))e[n]=t[n]}function r(){this.constructor=e}r.prototype=t.prototype;e.prototype=new r;e.__super__=t.prototype;return e},o={}.hasOwnProperty;r=e("./base");t.exports=function(e){i(t,e);function t(){return t.__super__.constructor.apply(this,arguments)}t.prototype.BlockStatementExit=function(e){return this.removeEmptyStatementsFromBody(e)};t.prototype.SwitchCaseExit=function(e){return this.removeEmptyStatementsFromBody(e,"consequent")};t.prototype.SwitchStatementExit=function(e){return this.removeEmptyStatementsFromBody(e,"cases")};t.prototype.ProgramExit=function(e){return this.removeEmptyStatementsFromBody(e,"body")};t.prototype.removeEmptyStatementsFromBody=function(e,t){if(t==null){t="body"}e[t]=e[t].filter(function(e){return e.type!=="EmptyStatement"});return e};return t}(r)},{"./base":6}],11:[function(e,t,n){var r,i,o=function(e,t){for(var n in t){if(s.call(t,n))e[n]=t[n]}function r(){this.constructor=e}r.prototype=t.prototype;e.prototype=new r;e.__super__=t.prototype;return e},s={}.hasOwnProperty;i=e("../helpers").replace;r=e("./base");t.exports=function(e){o(t,e);function t(){return t.__super__.constructor.apply(this,arguments)}t.prototype.CallExpression=function(e){var t,n,r,o,s,a,u,l,f,c,p;t=((n=e.callee)!=null?n.type:void 0)==="MemberExpression"&&((r=e.callee)!=null?(o=r.object)!=null?o.type:void 0:void 0)==="Identifier"&&((s=e.callee)!=null?(a=s.object)!=null?a.name:void 0:void 0)==="Math"&&((u=e.callee)!=null?(l=u.property)!=null?l.type:void 0:void 0)==="Identifier"&&((f=e.callee)!=null?(c=f.property)!=null?c.name:void 0:void 0)==="pow"&&((p=e["arguments"])!=null?p.length:void 0)===2;if(!t){return e}return i(e,{type:"BinaryExpression",left:e["arguments"][0],operator:"**",right:e["arguments"][1]})};return t}(r)},{"../helpers":5,"./base":6}],12:[function(e,t,n){var r,i,o,s,a,u,l=function(e,t){for(var n in t){if(f.call(t,n))e[n]=t[n]}function r(){this.constructor=e}r.prototype=t.prototype;e.prototype=new r;e.__super__=t.prototype;return e},f={}.hasOwnProperty,c=[].slice;u=e("../helpers"),o=u.isComment,s=u.nextNonComment,a=u.replace;r=e("./base");t.exports=function(e){l(t,e);function t(){return t.__super__.constructor.apply(this,arguments)}t.prototype.onScopeEnter=function(e,t){return t.prebody=[]};t.prototype.onScopeExit=function(e,t,n,r){if(r.prebody.length){return this.prependIntoBody(e.body,r.prebody)}};t.prototype.prependIntoBody=function(e,t){var n;n=i(e);return e.splice.apply(e,[n,0].concat(c.call(t)))};t.prototype.FunctionDeclaration=function(e){this.ctx.prebody.push(this.buildFunctionDeclaration(e));this.pushStack(e.body)};t.prototype.FunctionDeclarationExit=function(e){this.popStack(e);return this.remove()};t.prototype.LineComment=function(e,t){return this.moveFunctionComments(e,t)};t.prototype.BlockComment=function(e,t){return this.moveFunctionComments(e,t)};t.prototype.FunctionExpression=function(e){this.pushStack(e.body)};t.prototype.FunctionExpressionExit=function(e){this.popStack();if(e.id){if(this.options.compat){return this.escapeJs(e,{parenthesized:true})}else{this.warn(e,"Named function expressions are not supported in CoffeeScript");return e}}else{return e}};t.prototype.moveFunctionComments=function(e,t){var n,r;if(!t.body){return}r=s(t.body,e);if(!r){return}n=r.type==="FunctionExpression"&&r.id;n||(n=r.type==="FunctionDeclaration");if(n){this.ctx.prebody.push(e);return this.remove()}};t.prototype.buildFunctionDeclaration=function(e){return a(e,{type:"VariableDeclaration",declarations:[{type:"VariableDeclarator",id:e.id,init:{type:"FunctionExpression",params:e.params,defaults:e.defaults,body:e.body}}]})};return t}(r);i=function(e){var t,n,r,i;t=0;for(t=r=0,i=e.length;r<i;t=++r){n=e[t];if(n.type!=="VariableDeclaration"&&!o(n)){return t}}return t}},{"../helpers":5,"./base":6}],13:[function(e,t,n){var r,i,o,s,a=function(e,t){for(var n in t){if(u.call(t,n))e[n]=t[n]}function r(){this.constructor=e}r.prototype=t.prototype;e.prototype=new r;e.__super__=t.prototype;return e},u={}.hasOwnProperty;s=e("../helpers").nonComments;r=e("./base");t.exports=function(e){a(t,e);function t(){return t.__super__.constructor.apply(this,arguments)}t.prototype.IfStatement=function(e){this.handleBlankIfs(e);this.parenthesizeConditionals(e.test);return e};t.prototype.ConditionalExpression=function(e,t){return this.parenthesizeFunctions(e,t)};t.prototype.parenthesizeFunctions=function(e,t){this.estraverse().traverse(e,{enter:function(e,t){var n;n=e.type==="FunctionDeclaration"||e.type==="FunctionExpression";if(n){return e._parenthesized=true}}});return e};t.prototype.parenthesizeConditionals=function(e){var t;t=["ConditionalExpression","FunctionExpression"];
2
+ return this.estraverse().traverse(e,{enter:function(e,n){if(~t.indexOf(e.type)){return e._parenthesized=true}}})};t.prototype.handleBlankIfs=function(e){if(o(e)||i(e)&&!e.alternate){e.alternate={type:"BlockStatement",body:[]}}return e};return t}(r);o=function(e){return!e.consequent};i=function(e){var t,n;t=e.consequent;return n=t&&t.type==="BlockStatement"&&s(t.body).length===0}},{"../helpers":5,"./base":6}],14:[function(e,t,n){var r,i,o,s,a,u=function(e,t){for(var n in t){if(l.call(t,n))e[n]=t[n]}function r(){this.constructor=e}r.prototype=t.prototype;e.prototype=new r;e.__super__=t.prototype;return e},l={}.hasOwnProperty;s=e("../helpers").replace;r=e("./base");t.exports=function(e){u(t,e);function t(){return t.__super__.constructor.apply(this,arguments)}t.prototype.CallExpression=function(e){var t;t=o(e)&&i(e["arguments"])&&a(e.callee.params,e["arguments"]);if(!t){return e}return s(e,{type:"CoffeeDoExpression","function":e.callee,arguments:e["arguments"]})};return t}(r);i=function(e){var t,n,r;for(n=0,r=e.length;n<r;n++){t=e[n];if(t.type!=="Identifier"){return false}}return true};o=function(e){var t,n;return((t=e.callee)!=null?t.type:void 0)==="FunctionExpression"&&((n=e.callee)!=null?n.id:void 0)===null};a=function(e,t){return e.map(function(e){return e.name}).join("/")===t.map(function(e){return e.name}).join("/")}},{"../helpers":5,"./base":6}],15:[function(e,t,n){var r,i,o,s,a=function(e,t){for(var n in t){if(u.call(t,n))e[n]=t[n]}function r(){this.constructor=e}r.prototype=t.prototype;e.prototype=new r;e.__super__=t.prototype;return e},u={}.hasOwnProperty;s=e("../helpers"),o=s.replace,i=s.quote;r=e("./base");t.exports=function(e){a(t,e);function t(){return t.__super__.constructor.apply(this,arguments)}t.prototype.Literal=function(e){return this.unpackRegexpIfNeeded(e)};t.prototype.unpackRegexpIfNeeded=function(e){var t;if(!(e.value instanceof RegExp)){return}t=e.value.toString().match(/^\/([\s\=].*)\/([a-z]*)$/);if(t){e=o(e,{type:"CallExpression",callee:{type:"Identifier",name:"RegExp"},arguments:[{type:"Literal",value:t[1],raw:i(t[1])}]});if(t[2]){e["arguments"].push({type:"Literal",value:t[2],raw:i(t[2])})}return e}};return t}(r)},{"../helpers":5,"./base":6}],16:[function(e,t,n){var r,i,o,s,a=function(e,t){for(var n in t){if(u.call(t,n))e[n]=t[n]}function r(){this.constructor=e}r.prototype=t.prototype;e.prototype=new r;e.__super__=t.prototype;return e},u={}.hasOwnProperty;s=e("../helpers"),o=s.replace,i=s.isLoop;r=e("./base");t.exports=function(e){a(t,e);function t(){return t.__super__.constructor.apply(this,arguments)}t.prototype.ForStatement=function(e){if(this._for==null){this._for=[]}this._for.push(e);this.injectUpdateIntoBody(e);return this.convertForToWhile(e)};t.prototype.ForStatementExit=function(e){var t;t=this._for.pop();delete t._update;return e};t.prototype.ForInStatement=function(e){return this.warnIfNoVar(e)};t.prototype.WhileStatement=function(e){return this.convertWhileToLoop(e)};t.prototype.DoWhileStatement=function(e){return this.convertDoWhileToLoop(e)};t.prototype.ContinueStatement=function(e,t){return this.injectUpdateIntoContinue(e,t)};t.prototype.injectUpdateIntoContinue=function(e,t){var n,r;n=(r=this._for)!=null?r[this._for.length-1]:void 0;if(!(n!=null?n._update:void 0)){return e}this.skip();return{type:"BlockStatement",body:[{type:"ExpressionStatement",expression:n._update},e]}};t.prototype.convertDoWhileToLoop=function(e){var t,n;t=e.body;n=t.body;n.push(o(e.test,{type:"IfStatement",_negative:true,test:e.test,consequent:{type:"BreakStatement"}}));return o(e,{type:"CoffeeLoopStatement",body:t})};t.prototype.warnIfNoVar=function(e){if(e.left.type!=="VariableDeclaration"){this.warn(e,"Using 'for..in' loops without "+"'var' can produce unexpected results")}return e};t.prototype.convertForToWhile=function(e){e.type=i(e)?"CoffeeLoopStatement":"WhileStatement";if(e.init!=null){return{type:"BlockStatement",body:[{type:"ExpressionStatement",expression:e.init},e]}}else{return e}};t.prototype.convertWhileToLoop=function(e){if(i(e)){return o(e,{type:"CoffeeLoopStatement",body:e.body})}else{return e}};t.prototype.injectUpdateIntoBody=function(e){var t,n;if(e.update){n={type:"ExpressionStatement",expression:e.update};if(e.body==null){if(e.body==null){e.body={type:"BlockStatement",body:[]}}}else if(e.body.type!=="BlockStatement"){t=e.body;e.body={type:"BlockStatement",body:[t]}}e.body.body=e.body.body.concat([n]);e._update=e.update;delete e.update}return e};return t}(r)},{"../helpers":5,"./base":6}],17:[function(e,t,n){var r,i,o=function(e,t){for(var n in t){if(s.call(t,n))e[n]=t[n]}function r(){this.constructor=e}r.prototype=t.prototype;e.prototype=new r;e.__super__=t.prototype;return e},s={}.hasOwnProperty;i=e("../helpers").replace;r=e("./base");t.exports=function(e){o(t,e);function t(){return t.__super__.constructor.apply(this,arguments)}t.prototype.MemberExpression=function(e){this.transformThisToAtSign(e);this.braceObjectOnLeft(e);return this.replaceWithPrototype(e)||this.parenthesizeObjectIfFunction(e)};t.prototype.CoffeePrototypeExpression=function(e){return this.transformThisToAtSign(e)};t.prototype.transformThisToAtSign=function(e){if(e.object.type==="ThisExpression"){e._prefixed=true;e.object._prefix=true}return e};t.prototype.braceObjectOnLeft=function(e){if(e.object.type==="ObjectExpression"){e.object._braced=true}};t.prototype.replaceWithPrototype=function(e){var t;t=e.computed===false&&e.object.type==="MemberExpression"&&e.object.property.type==="Identifier"&&e.object.property.name==="prototype";if(t){return this.recurse(i(e,{type:"CoffeePrototypeExpression",object:e.object.object,property:e.property}))}};t.prototype.parenthesizeObjectIfFunction=function(e){if(e.object.type==="FunctionExpression"){e.object._parenthesized=true}return e};return t}(r)},{"../helpers":5,"./base":6}],18:[function(e,t,n){var r,i,o=function(e,t){for(var n in t){if(s.call(t,n))e[n]=t[n]}function r(){this.constructor=e}r.prototype=t.prototype;e.prototype=new r;e.__super__=t.prototype;return e},s={}.hasOwnProperty;r=e("./base");t.exports=function(e){o(t,e);function t(){return t.__super__.constructor.apply(this,arguments)}t.prototype.ArrayExpression=function(e){this.braceObjectsInElements(e);return this.catchEmptyArraySlots(e)};t.prototype.ObjectExpression=function(e,t){return this.braceObjectInExpression(e,t)};t.prototype.braceObjectInExpression=function(e,t){var n,r,i;if(t.type==="ExpressionStatement"){n=((r=this.scope.body)!=null?r[((i=this.scope.body)!=null?i.length:void 0)-1]:void 0)===t;if(n){e._last=true}else{e._braced=true}}};t.prototype.braceObjectsInElements=function(e){var t,n,r,i;i=e.elements;for(n=0,r=i.length;n<r;n++){t=i[n];if((t!=null?t.type:void 0)==="ObjectExpression"){t._braced=true}}return e};t.prototype.catchEmptyArraySlots=function(e){if(i(e.elements)){if(this.options.compat){return this.escapeJs(e)}else{return this.syntaxError(e,"Empty array slots are not supported in CoffeeScript")}}};return t}(r);i=function(e){var t,n,r;for(n=0,r=e.length;n<r;n++){t=e[n];if(t===null){return true}}return false}},{"./base":6}],19:[function(e,t,n){var r,i,o,s,a,u=function(e,t){for(var n in t){if(l.call(t,n))e[n]=t[n]}function r(){this.constructor=e}r.prototype=t.prototype;e.prototype=new r;e.__super__=t.prototype;return e},l={}.hasOwnProperty;a=e("../helpers"),s=a.reservedWords,o=a.replace,i=a.quote;r=e("./base");t.exports=function(e){u(t,e);function t(){return t.__super__.constructor.apply(this,arguments)}t.prototype.FunctionExpression=function(e,n){t.__super__.FunctionExpression.call(this,e);e.params.forEach(function(e){return function(t){if(t.type==="Identifier"){e.ctx.vars.push(t.name)}return e.preventReservedWords(t)}}(this));this.preventReservedWords(e.id);return this.removeUndefinedParameter(e)};t.prototype.CallExpression=function(e){return this.parenthesizeCallee(e)};t.prototype.Identifier=function(e){return this.escapeUndefined(e)};t.prototype.UnaryExpression=function(e){this.braceObjectBesideUnary(e);return this.updateVoidToUndefined(e)};t.prototype.VariableDeclarator=function(e){this.preventReservedWords(e.id);this.addShadowingIfNeeded(e);return this.addExplicitUndefinedInitializer(e)};t.prototype.AssignmentExpression=function(e){if(this.isReservedIdentifier(e.left)){if(this.options.compat){return this.escapeJs(e)}else{return this.preventReservedWords(e.left)}}else if(e.left.type==="Identifier"&&this.ctx.vars.indexOf(e.left.name)===-1){if(this.options.compat){return this.escapeJs(e)}else{this.warn(e,"Assignment of global variable '"+e.left.name+"'");return e}}else{return e}};t.prototype.ReturnStatement=function(e){return this.parenthesizeObjectsInArgument(e)};t.prototype.braceObjectBesideUnary=function(e){if(e.argument.type==="ObjectExpression"){e.argument._braced=true}};t.prototype.preventReservedWords=function(e){if(this.isReservedIdentifier(e)){return this.syntaxError(e,"'"+e.name+"' is a reserved CoffeeScript keyword")}};t.prototype.isReservedIdentifier=function(e){var t;t=e!=null?e.name:void 0;return t&&~s.indexOf(t)};t.prototype.parenthesizeObjectsInArgument=function(e){if(e.argument){if(e.argument.type==="ObjectExpression"){e.argument._braced=true}}return e};t.prototype.addShadowingIfNeeded=function(e){var t,n;t=e.id.name;if(~this.ctx.vars.indexOf(t)){this.warn(e,"Variable shadowing ('"+t+"') is not fully supported in CoffeeScript");n=o(e,{type:"ExpressionStatement",expression:{type:"CoffeeEscapedExpression",raw:"var "+t}});return this.scope.body=[n].concat(this.scope.body)}else{return this.ctx.vars.push(t)}};t.prototype.addExplicitUndefinedInitializer=function(e){if(e.init==null){e.init={type:"Identifier",name:"undefined"};this.skip()}return e};t.prototype.updateVoidToUndefined=function(e){if(e.operator==="void"){return o(e,{type:"Identifier",name:"undefined"})}else{return e}};t.prototype.escapeUndefined=function(e){if(e.name==="undefined"&&this.options.compat){return o(e,{type:"CoffeeEscapedExpression",raw:"undefined"})}else{return e}};t.prototype.removeUndefinedParameter=function(e){var t,n,r,i,o,s,a;if(e.params){a=e.params;for(t=o=0,s=a.length;o<s;t=++o){i=a[t];n=t===e.params.length-1;r=i.type==="Identifier"&&i.name==="undefined";if(r){if(n){e.params.pop()}else{this.syntaxError(i,"'undefined' is not allowed in function parameters")}}}}return e};t.prototype.parenthesizeCallee=function(e){if(e.callee.type==="FunctionExpression"){e.callee._parenthesized=true;return e}};return t}(r)},{"../helpers":5,"./base":6}],20:[function(e,t,n){var r,i,o,s,a,u,l=function(e,t){for(var n in t){if(f.call(t,n))e[n]=t[n]}function r(){this.constructor=e}r.prototype=t.prototype;e.prototype=new r;e.__super__=t.prototype;return e},f={}.hasOwnProperty;i=e("../helpers").getPrecedence;r=e("./base");t.exports=function(e){l(t,e);function t(){return t.__super__.constructor.apply(this,arguments)}t.prototype.onEnter=function(e,t){var n,r,a;if(!t){return}a=t.type;if(a==="CallExpression"&&t["arguments"].indexOf(e)>-1){return}if(a==="NewExpression"&&t["arguments"].indexOf(e)>-1){return}if(a==="MemberExpression"&&t.property===e){return}r=i(e);if(r===-1){return}n=s(t,e)||o(t,e)||u(t,e)||r<i(t);if(n){return e._parenthesized=true}};return t}(r);s=function(e,t){return a(e,"-")&&e.right===t};o=function(e,t){return a(e,"/")&&(a(t,"/")||a(t,"*"))&&e.right===t};a=function(e,t){return e.type==="BinaryExpression"&&e.operator===t};u=function(e,t){return e.type==="ConditionalExpression"&&t.type==="ConditionalExpression"&&e.alternate!==t}},{"../helpers":5,"./base":6}],21:[function(e,t,n){var r,i,o=function(e,t){for(var n in t){if(s.call(t,n))e[n]=t[n]}function r(){this.constructor=e}r.prototype=t.prototype;e.prototype=new r;e.__super__=t.prototype;return e},s={}.hasOwnProperty;i=e("../helpers").getReturnStatements;r=e("./base");t.exports=function(e){o(t,e);function t(){return t.__super__.constructor.apply(this,arguments)}t.prototype.onScopeExit=function(e,t,n,r){return this.unreturnify(e)};t.prototype.unreturnify=function(e,t){var n;if(t==null){t="body"}if(e[t].length>0){n=i(e[t]);if(n.length===0){e[t].push({type:"ReturnStatement"})}else{n.forEach(function(e){if(e.argument){e.type="ExpressionStatement";return e.expression=e.argument}})}}};return t}(r)},{"../helpers":5,"./base":6}],22:[function(e,t,n){var r,i=function(e,t){for(var n in t){if(o.call(t,n))e[n]=t[n]}function r(){this.constructor=e}r.prototype=t.prototype;e.prototype=new r;e.__super__=t.prototype;return e},o={}.hasOwnProperty;r=e("./base.coffee");t.exports=function(e){i(t,e);function t(){return t.__super__.constructor.apply(this,arguments)}t.prototype.SwitchStatement=function(e){this.consolidateCases(e);return this.ensureLastCaseIsDefault(e)};t.prototype.SwitchCase=function(e){return this.removeBreaksFromConsequents(e)};t.prototype.ensureLastCaseIsDefault=function(e){var t,n,r,i,o,s,a,u;t=e.cases.filter(function(e){return e.type==="SwitchCase"});s=t.length;for(n=a=0,u=t.length;a<u;n=++a){o=t[n];i=n===s-1;r=o.test==null;if(r&&!i){this.syntaxError(o,"default cases only allowed at the end")}}return e};t.prototype.consolidateCases=function(e){var t,n,r,i,o,s,a;r=[];i=[];a=e.cases;for(t=o=0,s=a.length;o<s;t=++o){n=a[t];if(n.type==="SwitchCase"){if(n.test){i.push(n.test)}if(n.consequent.length>0){if(n.test){n.test={type:"CoffeeListExpression",expressions:i}}i=[];r.push(n)}}else{r.push(n)}}e.cases=r;return e};t.prototype.removeBreaksFromConsequents=function(e){var t,n;if(e.test){t=e.consequent.length-1;n=e.consequent[t];if((n!=null?n.type:void 0)==="BreakStatement"){delete e.consequent[t];e.consequent.length-=1}else if((n!=null?n.type:void 0)==="ContinueStatement"){}else if((n!=null?n.type:void 0)!=="ReturnStatement"){this.syntaxError(e,"No break or return statement found in a case")}return e}};return t}(r)},{"./base.coffee":6}],23:[function(e,t,n){var r,i=function(e,t){for(var n in t){if(o.call(t,n))e[n]=t[n]}function r(){this.constructor=e}r.prototype=t.prototype;e.prototype=new r;e.__super__=t.prototype;return e},o={}.hasOwnProperty;r=e("./base");t.exports=function(e){i(t,e);function t(){return t.__super__.constructor.apply(this,arguments)}t.prototype.LabeledStatement=function(e,t){return this.syntaxError(e,"Labeled statements are not supported in CoffeeScirpt")};t.prototype.WithStatement=function(e){return this.syntaxError(e,"'with' is not supported in CoffeeScript")};return t}(r)},{"./base":6}],24:[function(e,t,n){if(typeof Object.create==="function"){t.exports=function r(e,t){e.super_=t;e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}})}}else{t.exports=function i(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype;e.prototype=new n;e.prototype.constructor=e}}},{}],25:[function(e,t,n){(function(e){function t(e,t){var n=0;for(var r=e.length-1;r>=0;r--){var i=e[r];if(i==="."){e.splice(r,1)}else if(i===".."){e.splice(r,1);n++}else if(n){e.splice(r,1);n--}}if(t){for(;n--;n){e.unshift("..")}}return e}var r=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;var i=function(e){return r.exec(e).slice(1)};n.resolve=function(){var n="",r=false;for(var i=arguments.length-1;i>=-1&&!r;i--){var s=i>=0?arguments[i]:e.cwd();if(typeof s!=="string"){throw new TypeError("Arguments to path.resolve must be strings")}else if(!s){continue}n=s+"/"+n;r=s.charAt(0)==="/"}n=t(o(n.split("/"),function(e){return!!e}),!r).join("/");return(r?"/":"")+n||"."};n.normalize=function(e){var r=n.isAbsolute(e),i=s(e,-1)==="/";e=t(o(e.split("/"),function(e){return!!e}),!r).join("/");if(!e&&!r){e="."}if(e&&i){e+="/"}return(r?"/":"")+e};n.isAbsolute=function(e){return e.charAt(0)==="/"};n.join=function(){var e=Array.prototype.slice.call(arguments,0);return n.normalize(o(e,function(e,t){if(typeof e!=="string"){throw new TypeError("Arguments to path.join must be strings")}return e}).join("/"))};n.relative=function(e,t){e=n.resolve(e).substr(1);t=n.resolve(t).substr(1);function r(e){var t=0;for(;t<e.length;t++){if(e[t]!=="")break}var n=e.length-1;for(;n>=0;n--){if(e[n]!=="")break}if(t>n)return[];return e.slice(t,n-t+1)}var i=r(e.split("/"));var o=r(t.split("/"));var s=Math.min(i.length,o.length);var a=s;for(var u=0;u<s;u++){if(i[u]!==o[u]){a=u;break}}var l=[];for(var u=a;u<i.length;u++){l.push("..")}l=l.concat(o.slice(a));return l.join("/")};n.sep="/";n.delimiter=":";n.dirname=function(e){var t=i(e),n=t[0],r=t[1];if(!n&&!r){return"."}if(r){r=r.substr(0,r.length-1)}return n+r};n.basename=function(e,t){var n=i(e)[2];if(t&&n.substr(-1*t.length)===t){n=n.substr(0,n.length-t.length)}return n};n.extname=function(e){return i(e)[3]};function o(e,t){if(e.filter)return e.filter(t);var n=[];for(var r=0;r<e.length;r++){if(t(e[r],r,e))n.push(e[r])}return n}var s="ab".substr(-1)==="b"?function(e,t,n){return e.substr(t,n)}:function(e,t,n){if(t<0)t=e.length+t;return e.substr(t,n)}}).call(this,e("_process"))},{_process:26}],26:[function(e,t,n){var r=t.exports={};r.nextTick=function(){var e=typeof window!=="undefined"&&window.setImmediate;var t=typeof window!=="undefined"&&window.postMessage&&window.addEventListener;if(e){return function(e){return window.setImmediate(e)}}if(t){var n=[];window.addEventListener("message",function(e){var t=e.source;if((t===window||t===null)&&e.data==="process-tick"){e.stopPropagation();if(n.length>0){var r=n.shift();r()}}},true);return function r(e){n.push(e);window.postMessage("process-tick","*")}}return function i(e){setTimeout(e,0)}}();r.title="browser";r.browser=true;r.env={};r.argv=[];function i(){}r.on=i;r.addListener=i;r.once=i;r.off=i;r.removeListener=i;r.removeAllListeners=i;r.emit=i;r.binding=function(e){throw new Error("process.binding is not supported")};r.cwd=function(){return"/"};r.chdir=function(e){throw new Error("process.chdir is not supported")}},{}],27:[function(e,t,n){t.exports=function r(e){return e&&typeof e==="object"&&typeof e.copy==="function"&&typeof e.fill==="function"&&typeof e.readUInt8==="function"}},{}],28:[function(e,t,n){(function(t,r){var i=/%[sdj%]/g;n.format=function(e){if(!x(e)){var t=[];for(var n=0;n<arguments.length;n++){t.push(a(arguments[n]))}return t.join(" ")}var n=1;var r=arguments;var o=r.length;var s=String(e).replace(i,function(e){if(e==="%%")return"%";if(n>=o)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(t){return"[Circular]"}default:return e}});for(var u=r[n];n<o;u=r[++n]){if(S(u)||!k(u)){s+=" "+u}else{s+=" "+a(u)}}return s};n.deprecate=function(e,i){if(_(r.process)){return function(){return n.deprecate(e,i).apply(this,arguments)}}if(t.noDeprecation===true){return e}var o=false;function s(){if(!o){if(t.throwDeprecation){throw new Error(i)}else if(t.traceDeprecation){console.trace(i)}else{console.error(i)}o=true}return e.apply(this,arguments)}return s};var o={};var s;n.debuglog=function(e){if(_(s))s=t.env.NODE_DEBUG||"";e=e.toUpperCase();if(!o[e]){if(new RegExp("\\b"+e+"\\b","i").test(s)){var r=t.pid;o[e]=function(){var t=n.format.apply(n,arguments);console.error("%s %d: %s",e,r,t)}}else{o[e]=function(){}}}return o[e]};function a(e,t){var r={seen:[],stylize:l};if(arguments.length>=3)r.depth=arguments[2];if(arguments.length>=4)r.colors=arguments[3];if(v(t)){r.showHidden=t}else if(t){n._extend(r,t)}if(_(r.showHidden))r.showHidden=false;if(_(r.depth))r.depth=2;if(_(r.colors))r.colors=false;if(_(r.customInspect))r.customInspect=true;if(r.colors)r.stylize=u;return c(r,e,r.depth)}n.inspect=a;a.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]};a.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"};function u(e,t){var n=a.styles[t];if(n){return"["+a.colors[n][0]+"m"+e+"["+a.colors[n][1]+"m"}else{return e}}function l(e,t){return e}function f(e){var t={};e.forEach(function(e,n){t[e]=true});return t}function c(e,t,r){if(e.customInspect&&t&&L(t.inspect)&&t.inspect!==n.inspect&&!(t.constructor&&t.constructor.prototype===t)){var i=t.inspect(r,e);if(!x(i)){i=c(e,i,r)}return i}var o=p(e,t);if(o){return o}var s=Object.keys(t);var a=f(s);if(e.showHidden){s=Object.getOwnPropertyNames(t)}if(I(t)&&(s.indexOf("message")>=0||s.indexOf("description")>=0)){return h(t)}if(s.length===0){if(L(t)){var u=t.name?": "+t.name:"";return e.stylize("[Function"+u+"]","special")}if(C(t)){return e.stylize(RegExp.prototype.toString.call(t),"regexp")}if(A(t)){return e.stylize(Date.prototype.toString.call(t),"date")}if(I(t)){return h(t)}}var l="",v=false,S=["{","}"];if(y(t)){v=true;S=["[","]"]}if(L(t)){var b=t.name?": "+t.name:"";l=" [Function"+b+"]"}if(C(t)){l=" "+RegExp.prototype.toString.call(t)}if(A(t)){l=" "+Date.prototype.toUTCString.call(t)}if(I(t)){l=" "+h(t)}if(s.length===0&&(!v||t.length==0)){return S[0]+l+S[1]}if(r<0){if(C(t)){return e.stylize(RegExp.prototype.toString.call(t),"regexp")}else{return e.stylize("[Object]","special")}}e.seen.push(t);var w;if(v){w=m(e,t,r,a,s)}else{w=s.map(function(n){return d(e,t,r,a,n,v)})}e.seen.pop();return g(w,l,S)}function p(e,t){if(_(t))return e.stylize("undefined","undefined");if(x(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(w(t))return e.stylize(""+t,"number");if(v(t))return e.stylize(""+t,"boolean");if(S(t))return e.stylize("null","null")}function h(e){return"["+Error.prototype.toString.call(e)+"]"}function m(e,t,n,r,i){var o=[];for(var s=0,a=t.length;s<a;++s){if(B(t,String(s))){o.push(d(e,t,n,r,String(s),true))}else{o.push("")}}i.forEach(function(i){if(!i.match(/^\d+$/)){o.push(d(e,t,n,r,i,true))}});return o}function d(e,t,n,r,i,o){var s,a,u;u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]};if(u.get){if(u.set){a=e.stylize("[Getter/Setter]","special")}else{a=e.stylize("[Getter]","special")}}else{if(u.set){a=e.stylize("[Setter]","special")}}if(!B(r,i)){s="["+i+"]"}if(!a){if(e.seen.indexOf(u.value)<0){if(S(n)){a=c(e,u.value,null)}else{a=c(e,u.value,n-1)}if(a.indexOf("\n")>-1){if(o){a=a.split("\n").map(function(e){return" "+e}).join("\n").substr(2)}else{a="\n"+a.split("\n").map(function(e){return" "+e}).join("\n")}}}else{a=e.stylize("[Circular]","special")}}if(_(s)){if(o&&i.match(/^\d+$/)){return a}s=JSON.stringify(""+i);if(s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)){s=s.substr(1,s.length-2);s=e.stylize(s,"name")}else{s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'");s=e.stylize(s,"string")}}return s+": "+a}function g(e,t,n){var r=0;var i=e.reduce(function(e,t){r++;if(t.indexOf("\n")>=0)r++;return e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(i>60){return n[0]+(t===""?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]}return n[0]+t+" "+e.join(", ")+" "+n[1]}function y(e){return Array.isArray(e)}n.isArray=y;function v(e){return typeof e==="boolean"}n.isBoolean=v;function S(e){return e===null}n.isNull=S;function b(e){return e==null}n.isNullOrUndefined=b;function w(e){return typeof e==="number"}n.isNumber=w;function x(e){return typeof e==="string"}n.isString=x;function E(e){return typeof e==="symbol"}n.isSymbol=E;function _(e){return e===void 0}n.isUndefined=_;function C(e){return k(e)&&O(e)==="[object RegExp]"}n.isRegExp=C;function k(e){return typeof e==="object"&&e!==null}n.isObject=k;function A(e){return k(e)&&O(e)==="[object Date]"}n.isDate=A;function I(e){return k(e)&&(O(e)==="[object Error]"||e instanceof Error)}n.isError=I;function L(e){return typeof e==="function"}n.isFunction=L;function P(e){return e===null||typeof e==="boolean"||typeof e==="number"||typeof e==="string"||typeof e==="symbol"||typeof e==="undefined"}n.isPrimitive=P;n.isBuffer=e("./support/isBuffer");function O(e){return Object.prototype.toString.call(e)}function R(e){return e<10?"0"+e.toString(10):e.toString(10)}var D=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function j(){var e=new Date;var t=[R(e.getHours()),R(e.getMinutes()),R(e.getSeconds())].join(":");return[e.getDate(),D[e.getMonth()],t].join(" ")}n.log=function(){console.log("%s - %s",j(),n.format.apply(n,arguments))};n.inherits=e("inherits");n._extend=function(e,t){if(!t||!k(t))return e;var n=Object.keys(t);var r=n.length;while(r--){e[n[r]]=t[n[r]]}return e};function B(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}).call(this,e("_process"),typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"./support/isBuffer":27,_process:26,inherits:24}],29:[function(e,t,n){(function(t){(function(){"use strict";var r,i,o,s,a,u,l,f,c,p,h,m,d,g,y,v,S,b,w,x,E,_,C,k,A,I,L;a=e("estraverse");u=e("esutils");r=a.Syntax;function P(e){return xt.Expression.hasOwnProperty(e.type)}function O(e){return xt.Statement.hasOwnProperty(e.type)}i={Sequence:0,Yield:1,Await:1,Assignment:1,Conditional:2,ArrowFunction:2,LogicalOR:3,LogicalAND:4,BitwiseOR:5,BitwiseXOR:6,BitwiseAND:7,Equality:8,Relational:9,BitwiseSHIFT:10,Additive:11,Multiplicative:12,Unary:13,Postfix:14,Call:15,New:16,TaggedTemplate:17,Member:18,Primary:19};o={"||":i.LogicalOR,"&&":i.LogicalAND,"|":i.BitwiseOR,"^":i.BitwiseXOR,"&":i.BitwiseAND,"==":i.Equality,"!=":i.Equality,"===":i.Equality,"!==":i.Equality,is:i.Equality,isnt:i.Equality,"<":i.Relational,">":i.Relational,"<=":i.Relational,">=":i.Relational,"in":i.Relational,"instanceof":i.Relational,"<<":i.BitwiseSHIFT,">>":i.BitwiseSHIFT,">>>":i.BitwiseSHIFT,"+":i.Additive,"-":i.Additive,"*":i.Multiplicative,"%":i.Multiplicative,"/":i.Multiplicative};var R=1,D=1<<1,j=1<<2,B=1<<3,F=1<<4,M=1<<5;var T=D|j,N=R|D,q=R|D|j,U=R,z=j,W=R|j;var V=R,G=R|M,Y=0,K=R|F,$=R|B;function H(){return{indent:null,base:null,parse:null,comment:false,format:{indent:{style:" ",base:0,adjustMultilineComment:false},newline:"\n",space:" ",json:false,renumber:false,hexadecimal:false,quotes:"single",escapeless:false,compact:false,parentheses:true,semicolons:true,safeConcatenation:false,preserveBlankLines:false},moz:{comprehensionExpressionStartsWithAssignment:false,starlessGenerator:false},sourceMap:null,sourceMapRoot:null,sourceMapWithCode:false,directive:false,raw:true,verbatim:null,sourceCode:null}}function J(e,t){var n="";for(t|=0;t>0;t>>>=1,e+=e){if(t&1){n+=e}}return n}l=Array.isArray;if(!l){l=function Lt(e){return Object.prototype.toString.call(e)==="[object Array]"}}function X(e){return/[\r\n]/g.test(e)}function Q(e){var t=e.length;return t&&u.code.isLineTerminator(e.charCodeAt(t-1))}function Z(e,t){var n;for(n in t){if(t.hasOwnProperty(n)){e[n]=t[n]}}return e}function et(e,t){var n,r;function i(e){return typeof e==="object"&&e instanceof Object&&!(e instanceof RegExp)}for(n in t){if(t.hasOwnProperty(n)){r=t[n];if(i(r)){if(i(e[n])){et(e[n],r)}else{e[n]=et({},r)}}else{e[n]=r}}}return e}function tt(e){var t,n,r,i,o;if(e!==e){throw new Error("Numeric literal whose value is NaN")}if(e<0||e===0&&1/e<0){throw new Error("Numeric literal whose value is negative")}if(e===1/0){return p?"null":h?"1e400":"1e+400"}t=""+e;if(!h||t.length<3){return t}n=t.indexOf(".");if(!p&&t.charCodeAt(0)===48&&n===1){n=0;t=t.slice(1)}r=t;t=t.replace("e+","e");i=0;if((o=r.indexOf("e"))>0){i=+r.slice(o+1);r=r.slice(0,o)}if(n>=0){i-=r.length-n-1;r=+(r.slice(0,n)+r.slice(n+1))+""}o=0;while(r.charCodeAt(r.length+o-1)===48){--o}if(o!==0){i-=o;r=r.slice(0,o)}if(i!==0){r+="e"+i}if((r.length<t.length||m&&e>1e12&&Math.floor(e)===e&&(r="0x"+e.toString(16)).length<t.length)&&+r===e){t=r}return t}function nt(e,t){if((e&~1)===8232){return(t?"u":"\\u")+(e===8232?"2028":"2029")}else if(e===10||e===13){return(t?"":"\\")+(e===10?"n":"r")}return String.fromCharCode(e)}function rt(e){var t,n,r,i,o,s,a,u;n=e.toString();if(e.source){t=n.match(/\/([^\/]*)$/);if(!t){return n}r=t[1];n="";a=false;u=false;for(i=0,o=e.source.length;i<o;++i){s=e.source.charCodeAt(i);if(!u){if(a){if(s===93){a=false}}else{if(s===47){n+="\\"}else if(s===91){a=true}}n+=nt(s,u);u=s===92}else{n+=nt(s,u);u=false}}return"/"+n+"/"+r}return n}function it(e,t){var n;if(e===8){return"\\b"}if(e===12){return"\\f"}if(e===9){return"\\t"}n=e.toString(16).toUpperCase();if(p||e>255){return"\\u"+"0000".slice(n.length)+n}else if(e===0&&!u.code.isDecimalDigit(t)){return"\\0"}else if(e===11){return"\\x0B"}else{return"\\x"+"00".slice(n.length)+n}}function ot(e){if(e===92){return"\\\\"}if(e===10){return"\\n"}if(e===13){return"\\r"}if(e===8232){return"\\u2028"}if(e===8233){return"\\u2029"}throw new Error("Incorrectly classified character")}function st(e){var t,n,r,i;i=d==="double"?'"':"'";for(t=0,n=e.length;t<n;++t){r=e.charCodeAt(t);if(r===39){i='"';break}else if(r===34){i="'";break}else if(r===92){++t}}return i+e+i}function at(e){var t="",n,r,i,o=0,s=0,a,l;for(n=0,r=e.length;n<r;++n){i=e.charCodeAt(n);if(i===39){++o}else if(i===34){++s}else if(i===47&&p){t+="\\"}else if(u.code.isLineTerminator(i)||i===92){t+=ot(i);continue}else if(p&&i<32||!(p||g||i>=32&&i<=126)){t+=it(i,e.charCodeAt(n+1));continue}t+=String.fromCharCode(i)}a=!(d==="double"||d==="auto"&&s<o);l=a?"'":'"';if(!(a?o:s)){return l+t+l}e=t;t=l;for(n=0,r=e.length;n<r;++n){i=e.charCodeAt(n);if(i===39&&a||i===34&&!a){t+="\\"}t+=String.fromCharCode(i)}return t+l}function ut(e){var t,n,r,i="";for(t=0,n=e.length;t<n;++t){r=e[t];i+=l(r)?ut(r):r}return i}function lt(e,t){if(!C){if(l(e)){return ut(e)}else{return e}}if(t==null){if(e instanceof s){return e}else{t={}}}if(t.loc==null){return new s(null,null,C,e,t.name||null)}return new s(t.loc.start.line,t.loc.start.column,C===true?t.loc.source||null:C,e,t.name||null)}function ft(){return v?v:" "}function ct(e,t){var n,r,i,o;n=lt(e).toString();if(n.length===0){return[t]}r=lt(t).toString();if(r.length===0){return[e]}i=n.charCodeAt(n.length-1);o=r.charCodeAt(0);if((i===43||i===45)&&i===o||u.code.isIdentifierPart(i)&&u.code.isIdentifierPart(o)||i===47&&o===105){return[e,ft(),t]}else if(u.code.isWhiteSpace(i)||u.code.isLineTerminator(i)||u.code.isWhiteSpace(o)||u.code.isLineTerminator(o)){return[e,t]}return[e,v,t]}function pt(e){return[f,e]}function ht(e){var t;t=f;f+=c;e(f);f=t}function mt(e){var t;for(t=e.length-1;t>=0;--t){if(u.code.isLineTerminator(e.charCodeAt(t))){break}}return e.length-1-t}function dt(e,t){var n,r,i,o,s,a,l,c;n=e.split(/\r\n|[\r\n]/);a=Number.MAX_VALUE;for(r=1,i=n.length;r<i;++r){o=n[r];s=0;while(s<o.length&&u.code.isWhiteSpace(o.charCodeAt(s))){++s}if(a>s){a=s}}if(typeof t!=="undefined"){l=f;if(n[1][a]==="*"){t+=" "}f=t}else{if(a&1){--a}l=f}for(r=1,i=n.length;r<i;++r){c=lt(pt(n[r].slice(a)));n[r]=C?c.join(""):c}f=l;return n.join("\n")}function gt(e,t){if(e.type==="Line"){if(Q(e.value)){return"//"+e.value}else{var n="//"+e.value;if(!A){n+="\n"}return n}}if(E.format.indent.adjustMultilineComment&&/[\n\r]/.test(e.value)){return dt("/*"+e.value+"*/",t)}return"/*"+e.value+"*/"}function yt(e,t){var n,i,o,s,a,u,l,p,h,m,d,g,y,v;if(e.leadingComments&&e.leadingComments.length>0){s=t;if(A){o=e.leadingComments[0];t=[];p=o.extendedRange;h=o.range;d=k.substring(p[0],h[0]);v=(d.match(/\n/g)||[]).length;if(v>0){t.push(J("\n",v));t.push(pt(gt(o)))}else{t.push(d);t.push(gt(o))}m=h;for(n=1,i=e.leadingComments.length;n<i;n++){o=e.leadingComments[n];h=o.range;g=k.substring(m[1],h[0]);v=(g.match(/\n/g)||[]).length;t.push(J("\n",v));t.push(pt(gt(o)));m=h}y=k.substring(h[1],p[1]);v=(y.match(/\n/g)||[]).length;t.push(J("\n",v))}else{o=e.leadingComments[0];t=[];if(w&&e.type===r.Program&&e.body.length===0){t.push("\n")}t.push(gt(o));if(!Q(lt(t).toString())){t.push("\n")}for(n=1,i=e.leadingComments.length;n<i;++n){o=e.leadingComments[n];l=[gt(o)];if(!Q(lt(l).toString())){l.push("\n")}t.push(pt(l))}}t.push(pt(s))}if(e.trailingComments){if(A){o=e.trailingComments[0];p=o.extendedRange;h=o.range;d=k.substring(p[0],h[0]);v=(d.match(/\n/g)||[]).length;if(v>0){t.push(J("\n",v));t.push(pt(gt(o)))}else{t.push(d);t.push(gt(o))}}else{a=!Q(lt(t).toString());u=J(" ",mt(lt([f,t,c]).toString()));for(n=0,i=e.trailingComments.length;n<i;++n){o=e.trailingComments[n];if(a){if(n===0){t=[t,c]}else{t=[t,u]}t.push(gt(o,u))}else{t=[t,pt(gt(o))]}if(n!==i-1&&!Q(lt(t).toString())){t=[t,"\n"]}}}}return t
3
+ }function vt(e,t,n){var r,i=0;for(r=e;r<t;r++){if(k[r]==="\n"){i++}}for(r=1;r<i;r++){n.push(y)}}function St(e,t,n){if(t<n){return["(",e,")"]}return e}function bt(e){var t,n,r;r=e.split(/\r\n|\n/);for(t=1,n=r.length;t<n;t++){r[t]=y+f+r[t]}return r}function wt(e,t){var n,r,o;n=e[E.verbatim];if(typeof n==="string"){r=St(bt(n),i.Sequence,t)}else{r=bt(n.content);o=n.precedence!=null?n.precedence:i.Sequence;r=St(r,o,t)}return lt(r,e)}function xt(){}xt.prototype.maybeBlock=function(e,t){var n,i,o=this;i=!E.comment||!e.leadingComments;if(e.type===r.BlockStatement&&i){return[v,this.generateStatement(e,t)]}if(e.type===r.EmptyStatement&&i){return";"}ht(function(){n=[y,pt(o.generateStatement(e,t))]});return n};xt.prototype.maybeBlockSuffix=function(e,t){var n=Q(lt(t).toString());if(e.type===r.BlockStatement&&(!E.comment||!e.leadingComments)&&!n){return[t,v]}if(n){return[t,f]}return[t,y,f]};function Et(e){return lt(e.name,e)}function _t(e,t){return e.async?"async"+(t?ft():v):""}function Ct(e){var t=e.generator&&!E.moz.starlessGenerator;return t?"*"+v:""}function kt(e){var t=e.value;if(t.async){return _t(t,!e.computed)}else{return Ct(t)?"*":""}}xt.prototype.generatePattern=function(e,t,n){if(e.type===r.Identifier){return Et(e)}return this.generateExpression(e,t,n)};xt.prototype.generateFunctionParams=function(e){var t,n,o,s;s=false;if(e.type===r.ArrowFunctionExpression&&!e.rest&&(!e.defaults||e.defaults.length===0)&&e.params.length===1&&e.params[0].type===r.Identifier){o=[_t(e,true),Et(e.params[0])]}else{o=e.type===r.ArrowFunctionExpression?[_t(e,false)]:[];o.push("(");if(e.defaults){s=true}for(t=0,n=e.params.length;t<n;++t){if(s&&e.defaults[t]){o.push(this.generateAssignment(e.params[t],e.defaults[t],"=",i.Assignment,q))}else{o.push(this.generatePattern(e.params[t],i.Assignment,q))}if(t+1<n){o.push(","+v)}}if(e.rest){if(e.params.length){o.push(","+v)}o.push("...");o.push(Et(e.rest))}o.push(")")}return o};xt.prototype.generateFunctionBody=function(e){var t,n;t=this.generateFunctionParams(e);if(e.type===r.ArrowFunctionExpression){t.push(v);t.push("=>")}if(e.expression){t.push(v);n=this.generateExpression(e.body,i.Assignment,q);if(n.toString().charAt(0)==="{"){n=["(",n,")"]}t.push(n)}else{t.push(this.maybeBlock(e.body,$))}return t};xt.prototype.generateIterationForStatement=function(e,t,n){var o=["for"+v+"("],s=this;ht(function(){if(t.left.type===r.VariableDeclaration){ht(function(){o.push(t.left.kind+ft());o.push(s.generateStatement(t.left.declarations[0],Y))})}else{o.push(s.generateExpression(t.left,i.Call,q))}o=ct(o,e);o=[ct(o,s.generateExpression(t.right,i.Sequence,q)),")"]});o.push(this.maybeBlock(t.body,n));return o};xt.prototype.generatePropertyKey=function(e,t){var n=[];if(t){n.push("[")}n.push(this.generateExpression(e,i.Sequence,q));if(t){n.push("]")}return n};xt.prototype.generateAssignment=function(e,t,n,r,o){if(i.Assignment<r){o|=R}return St([this.generateExpression(e,i.Call,o),v+n+v,this.generateExpression(t,i.Assignment,o)],i.Assignment,r)};xt.prototype.semicolon=function(e){if(!b&&e&M){return""}return";"};xt.Statement={BlockStatement:function(e,t){var n,r,i=["{",y],o=this;ht(function(){if(e.body.length===0&&A){n=e.range;if(n[1]-n[0]>2){r=k.substring(n[0]+1,n[1]-1);if(r[0]==="\n"){i=["{"]}i.push(r)}}var s,a,u,l;l=V;if(t&B){l|=F}for(s=0,a=e.body.length;s<a;++s){if(A){if(s===0){if(e.body[0].leadingComments){n=e.body[0].leadingComments[0].extendedRange;r=k.substring(n[0],n[1]);if(r[0]==="\n"){i=["{"]}}if(!e.body[0].leadingComments){vt(e.range[0],e.body[0].range[0],i)}}if(s>0){if(!e.body[s-1].trailingComments&&!e.body[s].leadingComments){vt(e.body[s-1].range[1],e.body[s].range[0],i)}}}if(s===a-1){l|=M}if(e.body[s].leadingComments&&A){u=o.generateStatement(e.body[s],l)}else{u=pt(o.generateStatement(e.body[s],l))}i.push(u);if(!Q(lt(u).toString())){if(A&&s<a-1){if(!e.body[s+1].leadingComments){i.push(y)}}else{i.push(y)}}if(A){if(s===a-1){if(!e.body[s].trailingComments){vt(e.body[s].range[1],e.range[1],i)}}}}});i.push(pt("}"));return i},BreakStatement:function(e,t){if(e.label){return"break "+e.label.name+this.semicolon(t)}return"break"+this.semicolon(t)},ContinueStatement:function(e,t){if(e.label){return"continue "+e.label.name+this.semicolon(t)}return"continue"+this.semicolon(t)},ClassBody:function(e,t){var n=["{",y],r=this;ht(function(t){var o,s;for(o=0,s=e.body.length;o<s;++o){n.push(t);n.push(r.generateExpression(e.body[o],i.Sequence,q));if(o+1<s){n.push(y)}}});if(!Q(lt(n).toString())){n.push(y)}n.push(f);n.push("}");return n},ClassDeclaration:function(e,t){var n,r;n=["class "+e.id.name];if(e.superClass){r=ct("extends",this.generateExpression(e.superClass,i.Assignment,q));n=ct(n,r)}n.push(v);n.push(this.generateStatement(e.body,G));return n},DirectiveStatement:function(e,t){if(E.raw&&e.raw){return e.raw+this.semicolon(t)}return st(e.directive)+this.semicolon(t)},DoWhileStatement:function(e,t){var n=ct("do",this.maybeBlock(e.body,V));n=this.maybeBlockSuffix(e.body,n);return ct(n,["while"+v+"(",this.generateExpression(e.test,i.Sequence,q),")"+this.semicolon(t)])},CatchClause:function(e,t){var n,r=this;ht(function(){var t;n=["catch"+v+"(",r.generateExpression(e.param,i.Sequence,q),")"];if(e.guard){t=r.generateExpression(e.guard,i.Sequence,q);n.splice(2,0," if ",t)}});n.push(this.maybeBlock(e.body,V));return n},DebuggerStatement:function(e,t){return"debugger"+this.semicolon(t)},EmptyStatement:function(e,t){return";"},ExportDeclaration:function(e,t){var n=["export"],o,s=this;o=t&M?G:V;if(e["default"]){n=ct(n,"default");if(O(e.declaration)){n=ct(n,this.generateStatement(e.declaration,o))}else{n=ct(n,this.generateExpression(e.declaration,i.Assignment,q)+this.semicolon(t))}return n}if(e.declaration){return ct(n,this.generateStatement(e.declaration,o))}if(e.specifiers){if(e.specifiers.length===0){n=ct(n,"{"+v+"}")}else if(e.specifiers[0].type===r.ExportBatchSpecifier){n=ct(n,this.generateExpression(e.specifiers[0],i.Sequence,q))}else{n=ct(n,"{");ht(function(t){var r,o;n.push(y);for(r=0,o=e.specifiers.length;r<o;++r){n.push(t);n.push(s.generateExpression(e.specifiers[r],i.Sequence,q));if(r+1<o){n.push(","+y)}}});if(!Q(lt(n).toString())){n.push(y)}n.push(f+"}")}if(e.source){n=ct(n,["from"+v,this.generateExpression(e.source,i.Sequence,q),this.semicolon(t)])}else{n.push(this.semicolon(t))}}return n},ExpressionStatement:function(e,t){var n,o;n=[this.generateExpression(e.expression,i.Sequence,q)];o=lt(n).toString();if(o.charAt(0)==="{"||o.slice(0,5)==="class"&&" {".indexOf(o.charAt(5))>=0||o.slice(0,8)==="function"&&"* (".indexOf(o.charAt(8))>=0||x&&t&F&&e.expression.type===r.Literal&&typeof e.expression.value==="string"){n=["(",n,")"+this.semicolon(t)]}else{n.push(this.semicolon(t))}return n},ImportDeclaration:function(e,t){var n,o,s=this;if(e.specifiers.length===0){return["import",v,this.generateExpression(e.source,i.Sequence,q),this.semicolon(t)]}n=["import"];o=0;if(e.specifiers[o].type===r.ImportDefaultSpecifier){n=ct(n,[this.generateExpression(e.specifiers[o],i.Sequence,q)]);++o}if(e.specifiers[o]){if(o!==0){n.push(",")}if(e.specifiers[o].type===r.ImportNamespaceSpecifier){n=ct(n,[v,this.generateExpression(e.specifiers[o],i.Sequence,q)])}else{n.push(v+"{");if(e.specifiers.length-o===1){n.push(v);n.push(this.generateExpression(e.specifiers[o],i.Sequence,q));n.push(v+"}"+v)}else{ht(function(t){var r,a;n.push(y);for(r=o,a=e.specifiers.length;r<a;++r){n.push(t);n.push(s.generateExpression(e.specifiers[r],i.Sequence,q));if(r+1<a){n.push(","+y)}}});if(!Q(lt(n).toString())){n.push(y)}n.push(f+"}"+v)}}}n=ct(n,["from"+v,this.generateExpression(e.source,i.Sequence,q),this.semicolon(t)]);return n},VariableDeclarator:function(e,t){var n=t&R?q:T;if(e.init){return[this.generateExpression(e.id,i.Assignment,n),v,"=",v,this.generateExpression(e.init,i.Assignment,n)]}return this.generatePattern(e.id,i.Assignment,n)},VariableDeclaration:function(e,t){var n,r,i,o,s,a=this;n=[e.kind];s=t&R?V:Y;function u(){o=e.declarations[0];if(E.comment&&o.leadingComments){n.push("\n");n.push(pt(a.generateStatement(o,s)))}else{n.push(ft());n.push(a.generateStatement(o,s))}for(r=1,i=e.declarations.length;r<i;++r){o=e.declarations[r];if(E.comment&&o.leadingComments){n.push(","+y);n.push(pt(a.generateStatement(o,s)))}else{n.push(","+v);n.push(a.generateStatement(o,s))}}}if(e.declarations.length>1){ht(u)}else{u()}n.push(this.semicolon(t));return n},ThrowStatement:function(e,t){return[ct("throw",this.generateExpression(e.argument,i.Sequence,q)),this.semicolon(t)]},TryStatement:function(e,t){var n,r,i,o;n=["try",this.maybeBlock(e.block,V)];n=this.maybeBlockSuffix(e.block,n);if(e.handlers){for(r=0,i=e.handlers.length;r<i;++r){n=ct(n,this.generateStatement(e.handlers[r],V));if(e.finalizer||r+1!==i){n=this.maybeBlockSuffix(e.handlers[r].body,n)}}}else{o=e.guardedHandlers||[];for(r=0,i=o.length;r<i;++r){n=ct(n,this.generateStatement(o[r],V));if(e.finalizer||r+1!==i){n=this.maybeBlockSuffix(o[r].body,n)}}if(e.handler){if(l(e.handler)){for(r=0,i=e.handler.length;r<i;++r){n=ct(n,this.generateStatement(e.handler[r],V));if(e.finalizer||r+1!==i){n=this.maybeBlockSuffix(e.handler[r].body,n)}}}else{n=ct(n,this.generateStatement(e.handler,V));if(e.finalizer){n=this.maybeBlockSuffix(e.handler.body,n)}}}}if(e.finalizer){n=ct(n,["finally",this.maybeBlock(e.finalizer,V)])}return n},SwitchStatement:function(e,t){var n,r,o,s,a,u=this;ht(function(){n=["switch"+v+"(",u.generateExpression(e.discriminant,i.Sequence,q),")"+v+"{"+y]});if(e.cases){a=V;for(o=0,s=e.cases.length;o<s;++o){if(o===s-1){a|=M}r=pt(this.generateStatement(e.cases[o],a));n.push(r);if(!Q(lt(r).toString())){n.push(y)}}}n.push(pt("}"));return n},SwitchCase:function(e,t){var n,o,s,a,u,l=this;ht(function(){if(e.test){n=[ct("case",l.generateExpression(e.test,i.Sequence,q)),":"]}else{n=["default:"]}s=0;a=e.consequent.length;if(a&&e.consequent[0].type===r.BlockStatement){o=l.maybeBlock(e.consequent[0],V);n.push(o);s=1}if(s!==a&&!Q(lt(n).toString())){n.push(y)}u=V;for(;s<a;++s){if(s===a-1&&t&M){u|=M}o=pt(l.generateStatement(e.consequent[s],u));n.push(o);if(s+1!==a&&!Q(lt(o).toString())){n.push(y)}}});return n},IfStatement:function(e,t){var n,o,s,a=this;ht(function(){n=["if"+v+"(",a.generateExpression(e.test,i.Sequence,q),")"]});s=t&M;o=V;if(s){o|=M}if(e.alternate){n.push(this.maybeBlock(e.consequent,V));n=this.maybeBlockSuffix(e.consequent,n);if(e.alternate.type===r.IfStatement){n=ct(n,["else ",this.generateStatement(e.alternate,o)])}else{n=ct(n,ct("else",this.maybeBlock(e.alternate,o)))}}else{n.push(this.maybeBlock(e.consequent,o))}return n},ForStatement:function(e,t){var n,o=this;ht(function(){n=["for"+v+"("];if(e.init){if(e.init.type===r.VariableDeclaration){n.push(o.generateStatement(e.init,Y))}else{n.push(o.generateExpression(e.init,i.Sequence,T));n.push(";")}}else{n.push(";")}if(e.test){n.push(v);n.push(o.generateExpression(e.test,i.Sequence,q));n.push(";")}else{n.push(";")}if(e.update){n.push(v);n.push(o.generateExpression(e.update,i.Sequence,q));n.push(")")}else{n.push(")")}});n.push(this.maybeBlock(e.body,t&M?G:V));return n},ForInStatement:function(e,t){return this.generateIterationForStatement("in",e,t&M?G:V)},ForOfStatement:function(e,t){return this.generateIterationForStatement("of",e,t&M?G:V)},LabeledStatement:function(e,t){return[e.label.name+":",this.maybeBlock(e.body,t&M?G:V)]},Program:function(e,t){var n,r,i,o,s;o=e.body.length;n=[w&&o>0?"\n":""];s=K;for(i=0;i<o;++i){if(!w&&i===o-1){s|=M}if(A){if(i===0){if(!e.body[0].leadingComments){vt(e.range[0],e.body[i].range[0],n)}}if(i>0){if(!e.body[i-1].trailingComments&&!e.body[i].leadingComments){vt(e.body[i-1].range[1],e.body[i].range[0],n)}}}r=pt(this.generateStatement(e.body[i],s));n.push(r);if(i+1<o&&!Q(lt(r).toString())){if(A){if(!e.body[i+1].leadingComments){n.push(y)}}else{n.push(y)}}if(A){if(i===o-1){if(!e.body[i].trailingComments){vt(e.body[i].range[1],e.range[1],n)}}}}return n},FunctionDeclaration:function(e,t){return[_t(e,true),"function",Ct(e)||ft(),Et(e.id),this.generateFunctionBody(e)]},ReturnStatement:function(e,t){if(e.argument){return[ct("return",this.generateExpression(e.argument,i.Sequence,q)),this.semicolon(t)]}return["return"+this.semicolon(t)]},WhileStatement:function(e,t){var n,r=this;ht(function(){n=["while"+v+"(",r.generateExpression(e.test,i.Sequence,q),")"]});n.push(this.maybeBlock(e.body,t&M?G:V));return n},WithStatement:function(e,t){var n,r=this;ht(function(){n=["with"+v+"(",r.generateExpression(e.object,i.Sequence,q),")"]});n.push(this.maybeBlock(e.body,t&M?G:V));return n}};Z(xt.prototype,xt.Statement);xt.Expression={SequenceExpression:function(e,t,n){var r,o,s;if(i.Sequence<t){n|=R}r=[];for(o=0,s=e.expressions.length;o<s;++o){r.push(this.generateExpression(e.expressions[o],i.Assignment,n));if(o+1<s){r.push(","+v)}}return St(r,i.Sequence,t)},AssignmentExpression:function(e,t,n){return this.generateAssignment(e.left,e.right,e.operator,t,n)},ArrowFunctionExpression:function(e,t,n){return St(this.generateFunctionBody(e),i.ArrowFunction,t)},ConditionalExpression:function(e,t,n){if(i.Conditional<t){n|=R}return St([this.generateExpression(e.test,i.LogicalOR,n),v+"?"+v,this.generateExpression(e.consequent,i.Assignment,n),v+":"+v,this.generateExpression(e.alternate,i.Assignment,n)],i.Conditional,t)},LogicalExpression:function(e,t,n){return this.BinaryExpression(e,t,n)},BinaryExpression:function(e,t,n){var r,i,s,a;i=o[e.operator];if(i<t){n|=R}s=this.generateExpression(e.left,i,n);a=s.toString();if(a.charCodeAt(a.length-1)===47&&u.code.isIdentifierPart(e.operator.charCodeAt(0))){r=[s,ft(),e.operator]}else{r=ct(s,e.operator)}s=this.generateExpression(e.right,i+1,n);if(e.operator==="/"&&s.toString().charAt(0)==="/"||e.operator.slice(-1)==="<"&&s.toString().slice(0,3)==="!--"){r.push(ft());r.push(s)}else{r=ct(r,s)}if(e.operator==="in"&&!(n&R)){return["(",r,")"]}return St(r,i,t)},CallExpression:function(e,t,n){var r,o,s;r=[this.generateExpression(e.callee,i.Call,N)];r.push("(");for(o=0,s=e["arguments"].length;o<s;++o){r.push(this.generateExpression(e["arguments"][o],i.Assignment,q));if(o+1<s){r.push(","+v)}}r.push(")");if(!(n&D)){return["(",r,")"]}return St(r,i.Call,t)},NewExpression:function(e,t,n){var r,o,s,a,u;o=e["arguments"].length;u=n&j&&!S&&o===0?W:U;r=ct("new",this.generateExpression(e.callee,i.New,u));if(!(n&j)||S||o>0){r.push("(");for(s=0,a=o;s<a;++s){r.push(this.generateExpression(e["arguments"][s],i.Assignment,q));if(s+1<a){r.push(","+v)}}r.push(")")}return St(r,i.New,t)},MemberExpression:function(e,t,n){var o,s;o=[this.generateExpression(e.object,i.Call,n&D?N:U)];if(e.computed){o.push("[");o.push(this.generateExpression(e.property,i.Sequence,n&D?q:W));o.push("]")}else{if(e.object.type===r.Literal&&typeof e.object.value==="number"){s=lt(o).toString();if(s.indexOf(".")<0&&!/[eExX]/.test(s)&&u.code.isDecimalDigit(s.charCodeAt(s.length-1))&&!(s.length>=2&&s.charCodeAt(0)===48)){o.push(".")}}o.push(".");o.push(Et(e.property))}return St(o,i.Member,t)},UnaryExpression:function(e,t,n){var r,o,s,a,l;o=this.generateExpression(e.argument,i.Unary,q);if(v===""){r=ct(e.operator,o)}else{r=[e.operator];if(e.operator.length>2){r=ct(r,o)}else{a=lt(r).toString();l=a.charCodeAt(a.length-1);s=o.toString().charCodeAt(0);if((l===43||l===45)&&l===s||u.code.isIdentifierPart(l)&&u.code.isIdentifierPart(s)){r.push(ft());r.push(o)}else{r.push(o)}}}return St(r,i.Unary,t)},YieldExpression:function(e,t,n){var r;if(e.delegate){r="yield*"}else{r="yield"}if(e.argument){r=ct(r,this.generateExpression(e.argument,i.Yield,q))}return St(r,i.Yield,t)},AwaitExpression:function(e,t,n){var r=ct(e.delegate?"await*":"await",this.generateExpression(e.argument,i.Await,q));return St(r,i.Await,t)},UpdateExpression:function(e,t,n){if(e.prefix){return St([e.operator,this.generateExpression(e.argument,i.Unary,q)],i.Unary,t)}return St([this.generateExpression(e.argument,i.Postfix,q),e.operator],i.Postfix,t)},FunctionExpression:function(e,t,n){var r=[_t(e,true),"function"];if(e.id){r.push(Ct(e)||ft());r.push(Et(e.id))}else{r.push(Ct(e)||v)}r.push(this.generateFunctionBody(e));return r},ExportBatchSpecifier:function(e,t,n){return"*"},ArrayPattern:function(e,t,n){return this.ArrayExpression(e,t,n)},ArrayExpression:function(e,t,n){var r,o,s=this;if(!e.elements.length){return"[]"}o=e.elements.length>1;r=["[",o?y:""];ht(function(t){var n,a;for(n=0,a=e.elements.length;n<a;++n){if(!e.elements[n]){if(o){r.push(t)}if(n+1===a){r.push(",")}}else{r.push(o?t:"");r.push(s.generateExpression(e.elements[n],i.Assignment,q))}if(n+1<a){r.push(","+(o?y:v))}}});if(o&&!Q(lt(r).toString())){r.push(y)}r.push(o?f:"");r.push("]");return r},ClassExpression:function(e,t,n){var r,o;r=["class"];if(e.id){r=ct(r,this.generateExpression(e.id,i.Sequence,q))}if(e.superClass){o=ct("extends",this.generateExpression(e.superClass,i.Assignment,q));r=ct(r,o)}r.push(v);r.push(this.generateStatement(e.body,G));return r},MethodDefinition:function(e,t,n){var r,i;if(e["static"]){r=["static"+v]}else{r=[]}if(e.kind==="get"||e.kind==="set"){i=[ct(e.kind,this.generatePropertyKey(e.key,e.computed)),this.generateFunctionBody(e.value)]}else{i=[kt(e),this.generatePropertyKey(e.key,e.computed),this.generateFunctionBody(e.value)]}return ct(r,i)},Property:function(e,t,n){if(e.kind==="get"||e.kind==="set"){return[e.kind,ft(),this.generatePropertyKey(e.key,e.computed),this.generateFunctionBody(e.value)]}if(e.shorthand){return this.generatePropertyKey(e.key,e.computed)}if(e.method){return[kt(e),this.generatePropertyKey(e.key,e.computed),this.generateFunctionBody(e.value)]}return[this.generatePropertyKey(e.key,e.computed),":"+v,this.generateExpression(e.value,i.Assignment,q)]},ObjectExpression:function(e,t,n){var r,o,s,a=this;if(!e.properties.length){return"{}"}r=e.properties.length>1;ht(function(){s=a.generateExpression(e.properties[0],i.Sequence,q)});if(!r){if(!X(lt(s).toString())){return["{",v,s,v,"}"]}}ht(function(t){var n,u;o=["{",y,t,s];if(r){o.push(","+y);for(n=1,u=e.properties.length;n<u;++n){o.push(t);o.push(a.generateExpression(e.properties[n],i.Sequence,q));if(n+1<u){o.push(","+y)}}}});if(!Q(lt(o).toString())){o.push(y)}o.push(f);o.push("}");return o},ObjectPattern:function(e,t,n){var o,s,a,u,l,c=this;if(!e.properties.length){return"{}"}u=false;if(e.properties.length===1){l=e.properties[0];if(l.value.type!==r.Identifier){u=true}}else{for(s=0,a=e.properties.length;s<a;++s){l=e.properties[s];if(!l.shorthand){u=true;break}}}o=["{",u?y:""];ht(function(t){var n,r;for(n=0,r=e.properties.length;n<r;++n){o.push(u?t:"");o.push(c.generateExpression(e.properties[n],i.Sequence,q));if(n+1<r){o.push(","+(u?y:v))}}});if(u&&!Q(lt(o).toString())){o.push(y)}o.push(u?f:"");o.push("}");return o},ThisExpression:function(e,t,n){return"this"},Identifier:function(e,t,n){return Et(e)},ImportDefaultSpecifier:function(e,t,n){return Et(e.id)},ImportNamespaceSpecifier:function(e,t,n){var r=["*"];if(e.id){r.push(v+"as"+ft()+Et(e.id))}return r},ImportSpecifier:function(e,t,n){return this.ExportSpecifier(e,t,n)},ExportSpecifier:function(e,t,n){var r=[e.id.name];if(e.name){r.push(ft()+"as"+ft()+Et(e.name))}return r},Literal:function(e,t,n){var i;if(e.hasOwnProperty("raw")&&_&&E.raw){try{i=_(e.raw).body[0].expression;if(i.type===r.Literal){if(i.value===e.value){return e.raw}}}catch(o){}}if(e.value===null){return"null"}if(typeof e.value==="string"){return at(e.value)}if(typeof e.value==="number"){return tt(e.value)}if(typeof e.value==="boolean"){return e.value?"true":"false"}return rt(e.value)},GeneratorExpression:function(e,t,n){return this.ComprehensionExpression(e,t,n)},ComprehensionExpression:function(e,t,n){var o,s,a,u,l=this;o=e.type===r.GeneratorExpression?["("]:["["];if(E.moz.comprehensionExpressionStartsWithAssignment){u=this.generateExpression(e.body,i.Assignment,q);o.push(u)}if(e.blocks){ht(function(){for(s=0,a=e.blocks.length;s<a;++s){u=l.generateExpression(e.blocks[s],i.Sequence,q);if(s>0||E.moz.comprehensionExpressionStartsWithAssignment){o=ct(o,u)}else{o.push(u)}}})}if(e.filter){o=ct(o,"if"+v);u=this.generateExpression(e.filter,i.Sequence,q);o=ct(o,["(",u,")"])}if(!E.moz.comprehensionExpressionStartsWithAssignment){u=this.generateExpression(e.body,i.Assignment,q);o=ct(o,u)}o.push(e.type===r.GeneratorExpression?")":"]");return o},ComprehensionBlock:function(e,t,n){var o;if(e.left.type===r.VariableDeclaration){o=[e.left.kind,ft(),this.generateStatement(e.left.declarations[0],Y)]}else{o=this.generateExpression(e.left,i.Call,q)}o=ct(o,e.of?"of":"in");o=ct(o,this.generateExpression(e.right,i.Sequence,q));return["for"+v+"(",o,")"]},SpreadElement:function(e,t,n){return["...",this.generateExpression(e.argument,i.Assignment,q)]},TaggedTemplateExpression:function(e,t,n){var r=N;if(!(n&D)){r=U}var o=[this.generateExpression(e.tag,i.Call,r),this.generateExpression(e.quasi,i.Primary,z)];return St(o,i.TaggedTemplate,t)},TemplateElement:function(e,t,n){return e.value.raw},TemplateLiteral:function(e,t,n){var r,o,s;r=["`"];for(o=0,s=e.quasis.length;o<s;++o){r.push(this.generateExpression(e.quasis[o],i.Primary,q));if(o+1<s){r.push("${"+v);r.push(this.generateExpression(e.expressions[o],i.Sequence,q));r.push(v+"}")}}r.push("`");return r},ModuleSpecifier:function(e,t,n){return this.Literal(e,t,n)}};Z(xt.prototype,xt.Expression);xt.prototype.generateExpression=function(e,t,n){var i,o;o=e.type||r.Property;if(E.verbatim&&e.hasOwnProperty(E.verbatim)){return wt(e,t)}i=this[o](e,t,n);if(E.comment){i=yt(e,i)}return lt(i,e)};xt.prototype.generateStatement=function(e,t){var n,i;n=this[e.type](e,t);if(E.comment){n=yt(e,n)}i=lt(n).toString();if(e.type===r.Program&&!w&&y===""&&i.charAt(i.length-1)==="\n"){n=C?lt(n).replaceRight(/\s+$/,""):i.replace(/\s+$/,"")}return lt(n,e)};function At(e){var t;t=new xt;if(O(e)){return t.generateStatement(e,V)}if(P(e)){return t.generateExpression(e,i.Sequence,q)}throw new Error("Unknown node type: "+e.type)}function It(r,i){var o=H(),a,u;if(i!=null){if(typeof i.indent==="string"){o.format.indent.style=i.indent}if(typeof i.base==="number"){o.format.indent.base=i.base}i=et(o,i);c=i.format.indent.style;if(typeof i.base==="string"){f=i.base}else{f=J(c,i.format.indent.base)}}else{i=o;c=i.format.indent.style;f=J(c,i.format.indent.base)}p=i.format.json;h=i.format.renumber;m=p?false:i.format.hexadecimal;d=p?"double":i.format.quotes;g=i.format.escapeless;y=i.format.newline;v=i.format.space;if(i.format.compact){y=v=c=f=""}S=i.format.parentheses;b=i.format.semicolons;w=i.format.safeConcatenation;x=i.directive;_=p?null:i.parse;C=i.sourceMap;k=i.sourceCode;A=i.format.preserveBlankLines&&k!==null;E=i;if(C){if(!n.browser){s=e("source-map").SourceNode}else{s=t.sourceMap.SourceNode}}a=At(r);if(!C){u={code:a.toString(),map:null};return i.sourceMapWithCode?u:u.code}u=a.toStringWithSourceMap({file:i.file,sourceRoot:i.sourceMapRoot});if(i.sourceContent){u.map.setSourceContent(i.sourceMap,i.sourceContent)}if(i.sourceMapWithCode){return u}return u.map.toString()}I={indent:{style:"",base:0},renumber:true,hexadecimal:true,quotes:"auto",escapeless:true,compact:true,parentheses:false,semicolons:false};L=H().format;n.version=e("./package.json").version;n.generate=It;n.attachComments=a.attachComments;n.Precedence=et({},i);n.browser=false;n.FORMAT_MINIFY=I;n.FORMAT_DEFAULTS=L})()}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"./package.json":45,estraverse:47,esutils:33,"source-map":34}],30:[function(e,t,n){(function(){"use strict";function e(e){if(e==null){return false}switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return true}return false}function n(e){if(e==null){return false}switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return true}return false}function r(e){if(e==null){return false}switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return true}return false}function i(e){return r(e)||e!=null&&e.type==="FunctionDeclaration"}function o(e){switch(e.type){case"IfStatement":if(e.alternate!=null){return e.alternate}return e.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return e.body}return null}function s(e){var t;if(e.type!=="IfStatement"){return false}if(e.alternate==null){return false}t=e.consequent;do{if(t.type==="IfStatement"){if(t.alternate==null){return true}}t=o(t)}while(t);return false}t.exports={isExpression:e,isStatement:r,isIterationStatement:n,isSourceElement:i,isProblematicIfStatement:s,trailingStatement:o}})()},{}],31:[function(e,t,n){(function(){"use strict";var e,n;e={NonAsciiIdentifierStart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),NonAsciiIdentifierPart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮ̀-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҃-҇Ҋ-ԧԱ-Ֆՙա-և֑-ׇֽֿׁׂׅׄא-תװ-ײؐ-ؚؠ-٩ٮ-ۓە-ۜ۟-۪ۨ-ۼۿܐ-݊ݍ-ޱ߀-ߵߺࠀ-࠭ࡀ-࡛ࢠࢢ-ࢬࣤ-ࣾऀ-ॣ०-९ॱ-ॷॹ-ॿঁ-ঃঅ-ঌএঐও-নপ-রলশ-হ়-ৄেৈো-ৎৗড়ঢ়য়-ৣ০-ৱਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹ਼ਾ-ੂੇੈੋ-੍ੑਖ਼-ੜਫ਼੦-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હ઼-ૅે-ૉો-્ૐૠ-ૣ૦-૯ଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହ଼-ୄେୈୋ-୍ୖୗଡ଼ଢ଼ୟ-ୣ୦-୯ୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-்ௐௗ௦-௯ఁ-ఃఅ-ఌఎ-ఐఒ-నప-ళవ-హఽ-ౄె-ైొ-్ౕౖౘౙౠ-ౣ౦-౯ಂಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ಼-ೄೆ-ೈೊ-್ೕೖೞೠ-ೣ೦-೯ೱೲംഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൎൗൠ-ൣ൦-൯ൺ-ൿංඃඅ-ඖක-නඳ-රලව-ෆ්ා-ුූෘ-ෟෲෳก-ฺเ-๎๐-๙ກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆ່-ໍ໐-໙ໜ-ໟༀ༘༙༠-༩༹༵༷༾-ཇཉ-ཬཱ-྄྆-ྗྙ-ྼ࿆က-၉ၐ-ႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፝-፟ᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-᜔ᜠ-᜴ᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-៓ៗៜ៝០-៩᠋-᠍᠐-᠙ᠠ-ᡷᢀ-ᢪᢰ-ᣵᤀ-ᤜᤠ-ᤫᤰ-᤻᥆-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉ᧐-᧙ᨀ-ᨛᨠ-ᩞ᩠-᩿᩼-᪉᪐-᪙ᪧᬀ-ᭋ᭐-᭙᭫-᭳ᮀ-᯳ᰀ-᰷᱀-᱉ᱍ-ᱽ᳐-᳔᳒-ᳶᴀ-ᷦ᷼-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‌‍‿⁀⁔ⁱⁿₐ-ₜ⃐-⃥⃜⃡-⃰ℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵿-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿⸯ々-〇〡-〯〱-〵〸-〼ぁ-ゖ゙゚ゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘫꙀ-꙯ꙴ-꙽ꙿ-ꚗꚟ-꛱ꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠧꡀ-ꡳꢀ-꣄꣐-꣙꣠-ꣷꣻ꤀-꤭ꤰ-꥓ꥠ-ꥼꦀ-꧀ꧏ-꧙ꨀ-ꨶꩀ-ꩍ꩐-꩙ꩠ-ꩶꩺꩻꪀ-ꫂꫛ-ꫝꫠ-ꫯꫲ-꫶ꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯪ꯬꯭꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻ︀-️︠-︦︳︴﹍-﹏ﹰ-ﹴﹶ-ﻼ0-9A-Z_a-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]")};function r(e){return e>=48&&e<=57}function i(e){return r(e)||97<=e&&e<=102||65<=e&&e<=70}function o(e){return e>=48&&e<=55}n=[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function s(e){return e===32||e===9||e===11||e===12||e===160||e>=5760&&n.indexOf(e)>=0}function a(e){return e===10||e===13||e===8232||e===8233}function u(t){return t>=97&&t<=122||t>=65&&t<=90||t===36||t===95||t===92||t>=128&&e.NonAsciiIdentifierStart.test(String.fromCharCode(t))}function l(t){return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||t===36||t===95||t===92||t>=128&&e.NonAsciiIdentifierPart.test(String.fromCharCode(t))}t.exports={isDecimalDigit:r,isHexDigit:i,isOctalDigit:o,isWhiteSpace:s,isLineTerminator:a,isIdentifierStart:u,isIdentifierPart:l}})()},{}],32:[function(e,t,n){(function(){"use strict";var n=e("./code");function r(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return true;default:return false}}function i(e,t){if(!t&&e==="yield"){return false}return o(e,t)}function o(e,t){if(t&&r(e)){return true}switch(e.length){case 2:return e==="if"||e==="in"||e==="do";case 3:return e==="var"||e==="for"||e==="new"||e==="try";case 4:return e==="this"||e==="else"||e==="case"||e==="void"||e==="with"||e==="enum";case 5:return e==="while"||e==="break"||e==="catch"||e==="throw"||e==="const"||e==="yield"||e==="class"||e==="super";case 6:return e==="return"||e==="typeof"||e==="delete"||e==="switch"||e==="export"||e==="import";case 7:return e==="default"||e==="finally"||e==="extends";case 8:return e==="function"||e==="continue"||e==="debugger";case 10:return e==="instanceof";default:return false}}function s(e,t){return e==="null"||e==="true"||e==="false"||i(e,t)}function a(e,t){return e==="null"||e==="true"||e==="false"||o(e,t)}function u(e){return e==="eval"||e==="arguments"}function l(e){var t,r,i;if(e.length===0){return false}i=e.charCodeAt(0);if(!n.isIdentifierStart(i)||i===92){return false}for(t=1,r=e.length;t<r;++t){i=e.charCodeAt(t);if(!n.isIdentifierPart(i)||i===92){return false}}return true}function f(e,t){return l(e)&&!s(e,t)}function c(e,t){return l(e)&&!a(e,t)}t.exports={isKeywordES5:i,isKeywordES6:o,isReservedWordES5:s,isReservedWordES6:a,isRestrictedWord:u,isIdentifierName:l,isIdentifierES5:f,isIdentifierES6:c}})()},{"./code":31}],33:[function(e,t,n){(function(){"use strict";n.ast=e("./ast");n.code=e("./code");n.keyword=e("./keyword")})()},{"./ast":30,"./code":31,"./keyword":32}],34:[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":40,"./source-map/source-map-generator":41,"./source-map/source-node":42}],35:[function(e,t,n){if(typeof r!=="function"){var r=e("amdefine")(t,e)}r(function(e,t,n){var r=e("./util");function i(){this._array=[];this._set={}}i.fromArray=function o(e,t){var n=new i;for(var r=0,o=e.length;r<o;r++){n.add(e[r],t)}return n};i.prototype.add=function s(e,t){var n=this.has(e);var i=this._array.length;if(!n||t){this._array.push(e)}if(!n){this._set[r.toSetString(e)]=i}};i.prototype.has=function a(e){return Object.prototype.hasOwnProperty.call(this._set,r.toSetString(e))};i.prototype.indexOf=function u(e){if(this.has(e)){return this._set[r.toSetString(e)]}throw new Error('"'+e+'" is not in the set.')};i.prototype.at=function l(e){if(e>=0&&e<this._array.length){return this._array[e]}throw new Error("No element indexed by "+e)};i.prototype.toArray=function f(){return this._array.slice()};t.ArraySet=i})},{"./util":43,amdefine:44}],36:[function(e,t,n){if(typeof r!=="function"){var r=e("amdefine")(t,e)}r(function(e,t,n){var r=e("./base64");var i=5;var o=1<<i;var s=o-1;var a=o;function u(e){return e<0?(-e<<1)+1:(e<<1)+0}function l(e){var t=(e&1)===1;var n=e>>1;return t?-n:n}t.encode=function f(e){var t="";var n;var o=u(e);do{n=o&s;o>>>=i;if(o>0){n|=a}t+=r.encode(n)}while(o>0);return t};t.decode=function c(e,t){var n=0;var o=e.length;var u=0;var f=0;var c,p;do{if(n>=o){throw new Error("Expected more digits in base 64 VLQ value.")}p=r.decode(e.charAt(n++));c=!!(p&a);p&=s;u=u+(p<<f);f+=i}while(c);t.value=l(u);t.rest=e.slice(n)}})},{"./base64":37,amdefine:44}],37:[function(e,t,n){if(typeof r!=="function"){var r=e("amdefine")(t,e)}r(function(e,t,n){var r={};var i={};"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("").forEach(function(e,t){r[e]=t;i[t]=e});t.encode=function o(e){if(e in i){return i[e]}throw new TypeError("Must be between 0 and 63: "+e)};t.decode=function s(e){if(e in r){return r[e]}throw new TypeError("Not a valid base 64 digit: "+e)
4
+ }})},{amdefine:44}],38:[function(e,t,n){if(typeof r!=="function"){var r=e("amdefine")(t,e)}r(function(e,t,n){function r(e,t,n,i,o){var s=Math.floor((t-e)/2)+e;var a=o(n,i[s],true);if(a===0){return s}else if(a>0){if(t-s>1){return r(s,t,n,i,o)}return s}else{if(s-e>1){return r(e,s,n,i,o)}return e<0?-1:e}}t.search=function i(e,t,n){if(t.length===0){return-1}return r(-1,t.length,e,t,n)}})},{amdefine:44}],39:[function(e,t,n){if(typeof r!=="function"){var r=e("amdefine")(t,e)}r(function(e,t,n){var r=e("./util");function i(e,t){var n=e.generatedLine;var i=t.generatedLine;var o=e.generatedColumn;var s=t.generatedColumn;return i>n||i==n&&s>=o||r.compareByGeneratedPositions(e,t)<=0}function o(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}o.prototype.unsortedForEach=function s(e,t){this._array.forEach(e,t)};o.prototype.add=function a(e){var t;if(i(this._last,e)){this._last=e;this._array.push(e)}else{this._sorted=false;this._array.push(e)}};o.prototype.toArray=function u(){if(!this._sorted){this._array.sort(r.compareByGeneratedPositions);this._sorted=true}return this._array};t.MappingList=o})},{"./util":43,amdefine:44}],40:[function(e,t,n){if(typeof r!=="function"){var r=e("amdefine")(t,e)}r(function(e,t,n){var r=e("./util");var i=e("./binary-search");var o=e("./array-set").ArraySet;var s=e("./base64-vlq");function a(e){var t=e;if(typeof e==="string"){t=JSON.parse(e.replace(/^\)\]\}'/,""))}var n=r.getArg(t,"version");var i=r.getArg(t,"sources");var s=r.getArg(t,"names",[]);var a=r.getArg(t,"sourceRoot",null);var u=r.getArg(t,"sourcesContent",null);var l=r.getArg(t,"mappings");var f=r.getArg(t,"file",null);if(n!=this._version){throw new Error("Unsupported version: "+n)}i=i.map(r.normalize);this._names=o.fromArray(s,true);this._sources=o.fromArray(i,true);this.sourceRoot=a;this.sourcesContent=u;this._mappings=l;this.file=f}a.fromSourceMap=function u(e){var t=Object.create(a.prototype);t._names=o.fromArray(e._names.toArray(),true);t._sources=o.fromArray(e._sources.toArray(),true);t.sourceRoot=e._sourceRoot;t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot);t.file=e._file;t.__generatedMappings=e._mappings.toArray().slice();t.__originalMappings=e._mappings.toArray().slice().sort(r.compareByOriginalPositions);return t};a.prototype._version=3;Object.defineProperty(a.prototype,"sources",{get:function(){return this._sources.toArray().map(function(e){return this.sourceRoot!=null?r.join(this.sourceRoot,e):e},this)}});a.prototype.__generatedMappings=null;Object.defineProperty(a.prototype,"_generatedMappings",{get:function(){if(!this.__generatedMappings){this.__generatedMappings=[];this.__originalMappings=[];this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});a.prototype.__originalMappings=null;Object.defineProperty(a.prototype,"_originalMappings",{get:function(){if(!this.__originalMappings){this.__generatedMappings=[];this.__originalMappings=[];this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});a.prototype._nextCharIsMappingSeparator=function l(e){var t=e.charAt(0);return t===";"||t===","};a.prototype._parseMappings=function f(e,t){var n=1;var i=0;var o=0;var a=0;var u=0;var l=0;var f=e;var c={};var p;while(f.length>0){if(f.charAt(0)===";"){n++;f=f.slice(1);i=0}else if(f.charAt(0)===","){f=f.slice(1)}else{p={};p.generatedLine=n;s.decode(f,c);p.generatedColumn=i+c.value;i=p.generatedColumn;f=c.rest;if(f.length>0&&!this._nextCharIsMappingSeparator(f)){s.decode(f,c);p.source=this._sources.at(u+c.value);u+=c.value;f=c.rest;if(f.length===0||this._nextCharIsMappingSeparator(f)){throw new Error("Found a source, but no line and column")}s.decode(f,c);p.originalLine=o+c.value;o=p.originalLine;p.originalLine+=1;f=c.rest;if(f.length===0||this._nextCharIsMappingSeparator(f)){throw new Error("Found a source and line, but no column")}s.decode(f,c);p.originalColumn=a+c.value;a=p.originalColumn;f=c.rest;if(f.length>0&&!this._nextCharIsMappingSeparator(f)){s.decode(f,c);p.name=this._names.at(l+c.value);l+=c.value;f=c.rest}}this.__generatedMappings.push(p);if(typeof p.originalLine==="number"){this.__originalMappings.push(p)}}}this.__generatedMappings.sort(r.compareByGeneratedPositions);this.__originalMappings.sort(r.compareByOriginalPositions)};a.prototype._findMapping=function c(e,t,n,r,o){if(e[n]<=0){throw new TypeError("Line must be greater than or equal to 1, got "+e[n])}if(e[r]<0){throw new TypeError("Column must be greater than or equal to 0, got "+e[r])}return i.search(e,t,o)};a.prototype.computeColumnSpans=function p(){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=Infinity}};a.prototype.originalPositionFor=function h(e){var t={generatedLine:r.getArg(e,"line"),generatedColumn:r.getArg(e,"column")};var n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",r.compareByGeneratedPositions);if(n>=0){var i=this._generatedMappings[n];if(i.generatedLine===t.generatedLine){var o=r.getArg(i,"source",null);if(o!=null&&this.sourceRoot!=null){o=r.join(this.sourceRoot,o)}return{source:o,line:r.getArg(i,"originalLine",null),column:r.getArg(i,"originalColumn",null),name:r.getArg(i,"name",null)}}}return{source:null,line:null,column:null,name:null}};a.prototype.sourceContentFor=function m(e){if(!this.sourcesContent){return null}if(this.sourceRoot!=null){e=r.relative(this.sourceRoot,e)}if(this._sources.has(e)){return this.sourcesContent[this._sources.indexOf(e)]}var t;if(this.sourceRoot!=null&&(t=r.urlParse(this.sourceRoot))){var n=e.replace(/^file:\/\//,"");if(t.scheme=="file"&&this._sources.has(n)){return this.sourcesContent[this._sources.indexOf(n)]}if((!t.path||t.path=="/")&&this._sources.has("/"+e)){return this.sourcesContent[this._sources.indexOf("/"+e)]}}throw new Error('"'+e+'" is not in the SourceMap.')};a.prototype.generatedPositionFor=function d(e){var t={source:r.getArg(e,"source"),originalLine:r.getArg(e,"line"),originalColumn:r.getArg(e,"column")};if(this.sourceRoot!=null){t.source=r.relative(this.sourceRoot,t.source)}var n=this._findMapping(t,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions);if(n>=0){var i=this._originalMappings[n];return{line:r.getArg(i,"generatedLine",null),column:r.getArg(i,"generatedColumn",null),lastColumn:r.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};a.prototype.allGeneratedPositionsFor=function g(e){var t={source:r.getArg(e,"source"),originalLine:r.getArg(e,"line"),originalColumn:Infinity};if(this.sourceRoot!=null){t.source=r.relative(this.sourceRoot,t.source)}var n=[];var i=this._findMapping(t,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions);if(i>=0){var o=this._originalMappings[i];while(o&&o.originalLine===t.originalLine){n.push({line:r.getArg(o,"generatedLine",null),column:r.getArg(o,"generatedColumn",null),lastColumn:r.getArg(o,"lastGeneratedColumn",null)});o=this._originalMappings[--i]}}return n.reverse()};a.GENERATED_ORDER=1;a.ORIGINAL_ORDER=2;a.prototype.eachMapping=function y(e,t,n){var i=t||null;var o=n||a.GENERATED_ORDER;var s;switch(o){case a.GENERATED_ORDER:s=this._generatedMappings;break;case a.ORIGINAL_ORDER:s=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var u=this.sourceRoot;s.map(function(e){var t=e.source;if(t!=null&&u!=null){t=r.join(u,t)}return{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:e.name}}).forEach(e,i)};t.SourceMapConsumer=a})},{"./array-set":35,"./base64-vlq":36,"./binary-search":38,"./util":43,amdefine:44}],41:[function(e,t,n){if(typeof r!=="function"){var r=e("amdefine")(t,e)}r(function(e,t,n){var r=e("./base64-vlq");var i=e("./util");var o=e("./array-set").ArraySet;var s=e("./mapping-list").MappingList;function a(e){if(!e){e={}}this._file=i.getArg(e,"file",null);this._sourceRoot=i.getArg(e,"sourceRoot",null);this._skipValidation=i.getArg(e,"skipValidation",false);this._sources=new o;this._names=new o;this._mappings=new s;this._sourcesContents=null}a.prototype._version=3;a.fromSourceMap=function u(e){var t=e.sourceRoot;var n=new a({file:e.file,sourceRoot:t});e.eachMapping(function(e){var r={generated:{line:e.generatedLine,column:e.generatedColumn}};if(e.source!=null){r.source=e.source;if(t!=null){r.source=i.relative(t,r.source)}r.original={line:e.originalLine,column:e.originalColumn};if(e.name!=null){r.name=e.name}}n.addMapping(r)});e.sources.forEach(function(t){var r=e.sourceContentFor(t);if(r!=null){n.setSourceContent(t,r)}});return n};a.prototype.addMapping=function l(e){var t=i.getArg(e,"generated");var n=i.getArg(e,"original",null);var r=i.getArg(e,"source",null);var o=i.getArg(e,"name",null);if(!this._skipValidation){this._validateMapping(t,n,r,o)}if(r!=null&&!this._sources.has(r)){this._sources.add(r)}if(o!=null&&!this._names.has(o)){this._names.add(o)}this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:r,name:o})};a.prototype.setSourceContent=function f(e,t){var n=e;if(this._sourceRoot!=null){n=i.relative(this._sourceRoot,n)}if(t!=null){if(!this._sourcesContents){this._sourcesContents={}}this._sourcesContents[i.toSetString(n)]=t}else if(this._sourcesContents){delete this._sourcesContents[i.toSetString(n)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}};a.prototype.applySourceMap=function c(e,t,n){var r=t;if(t==null){if(e.file==null){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 s=this._sourceRoot;if(s!=null){r=i.relative(s,r)}var a=new o;var u=new o;this._mappings.unsortedForEach(function(t){if(t.source===r&&t.originalLine!=null){var o=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});if(o.source!=null){t.source=o.source;if(n!=null){t.source=i.join(n,t.source)}if(s!=null){t.source=i.relative(s,t.source)}t.originalLine=o.line;t.originalColumn=o.column;if(o.name!=null){t.name=o.name}}}var l=t.source;if(l!=null&&!a.has(l)){a.add(l)}var f=t.name;if(f!=null&&!u.has(f)){u.add(f)}},this);this._sources=a;this._names=u;e.sources.forEach(function(t){var r=e.sourceContentFor(t);if(r!=null){if(n!=null){t=i.join(n,t)}if(s!=null){t=i.relative(s,t)}this.setSourceContent(t,r)}},this)};a.prototype._validateMapping=function p(e,t,n,r){if(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!t&&!n&&!r){return}else if(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n){return}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))}};a.prototype._serializeMappings=function h(){var e=0;var t=1;var n=0;var o=0;var s=0;var a=0;var u="";var l;var f=this._mappings.toArray();for(var c=0,p=f.length;c<p;c++){l=f[c];if(l.generatedLine!==t){e=0;while(l.generatedLine!==t){u+=";";t++}}else{if(c>0){if(!i.compareByGeneratedPositions(l,f[c-1])){continue}u+=","}}u+=r.encode(l.generatedColumn-e);e=l.generatedColumn;if(l.source!=null){u+=r.encode(this._sources.indexOf(l.source)-a);a=this._sources.indexOf(l.source);u+=r.encode(l.originalLine-1-o);o=l.originalLine-1;u+=r.encode(l.originalColumn-n);n=l.originalColumn;if(l.name!=null){u+=r.encode(this._names.indexOf(l.name)-s);s=this._names.indexOf(l.name)}}}return u};a.prototype._generateSourcesContent=function m(e,t){return e.map(function(e){if(!this._sourcesContents){return null}if(t!=null){e=i.relative(t,e)}var n=i.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null},this)};a.prototype.toJSON=function d(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){e.file=this._file}if(this._sourceRoot!=null){e.sourceRoot=this._sourceRoot}if(this._sourcesContents){e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)}return e};a.prototype.toString=function g(){return JSON.stringify(this)};t.SourceMapGenerator=a})},{"./array-set":35,"./base64-vlq":36,"./mapping-list":39,"./util":43,amdefine:44}],42:[function(e,t,n){if(typeof r!=="function"){var r=e("amdefine")(t,e)}r(function(e,t,n){var r=e("./source-map-generator").SourceMapGenerator;var i=e("./util");var o=/(\r?\n)/;var s=10;var a="$$$isSourceNode$$$";function u(e,t,n,r,i){this.children=[];this.sourceContents={};this.line=e==null?null:e;this.column=t==null?null:t;this.source=n==null?null:n;this.name=i==null?null:i;this[a]=true;if(r!=null)this.add(r)}u.fromStringWithSourceMap=function l(e,t,n){var r=new u;var s=e.split(o);var a=function(){var e=s.shift();var t=s.shift()||"";return e+t};var l=1,f=0;var c=null;t.eachMapping(function(e){if(c!==null){if(l<e.generatedLine){var t="";p(c,a());l++;f=0}else{var n=s[0];var t=n.substr(0,e.generatedColumn-f);s[0]=n.substr(e.generatedColumn-f);f=e.generatedColumn;p(c,t);c=e;return}}while(l<e.generatedLine){r.add(a());l++}if(f<e.generatedColumn){var n=s[0];r.add(n.substr(0,e.generatedColumn));s[0]=n.substr(e.generatedColumn);f=e.generatedColumn}c=e},this);if(s.length>0){if(c){p(c,a())}r.add(s.join(""))}t.sources.forEach(function(e){var o=t.sourceContentFor(e);if(o!=null){if(n!=null){e=i.join(n,e)}r.setSourceContent(e,o)}});return r;function p(e,t){if(e===null||e.source===undefined){r.add(t)}else{var o=n?i.join(n,e.source):e.source;r.add(new u(e.originalLine,e.originalColumn,o,t,e.name))}}};u.prototype.add=function f(e){if(Array.isArray(e)){e.forEach(function(e){this.add(e)},this)}else if(e[a]||typeof e==="string"){if(e){this.children.push(e)}}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e)}return this};u.prototype.prepend=function c(e){if(Array.isArray(e)){for(var t=e.length-1;t>=0;t--){this.prepend(e[t])}}else if(e[a]||typeof e==="string"){this.children.unshift(e)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e)}return this};u.prototype.walk=function p(e){var t;for(var n=0,r=this.children.length;n<r;n++){t=this.children[n];if(t[a]){t.walk(e)}else{if(t!==""){e(t,{source:this.source,line:this.line,column:this.column,name:this.name})}}}};u.prototype.join=function h(e){var t;var n;var r=this.children.length;if(r>0){t=[];for(n=0;n<r-1;n++){t.push(this.children[n]);t.push(e)}t.push(this.children[n]);this.children=t}return this};u.prototype.replaceRight=function m(e,t){var n=this.children[this.children.length-1];if(n[a]){n.replaceRight(e,t)}else if(typeof n==="string"){this.children[this.children.length-1]=n.replace(e,t)}else{this.children.push("".replace(e,t))}return this};u.prototype.setSourceContent=function d(e,t){this.sourceContents[i.toSetString(e)]=t};u.prototype.walkSourceContents=function g(e){for(var t=0,n=this.children.length;t<n;t++){if(this.children[t][a]){this.children[t].walkSourceContents(e)}}var r=Object.keys(this.sourceContents);for(var t=0,n=r.length;t<n;t++){e(i.fromSetString(r[t]),this.sourceContents[r[t]])}};u.prototype.toString=function y(){var e="";this.walk(function(t){e+=t});return e};u.prototype.toStringWithSourceMap=function v(e){var t={code:"",line:1,column:0};var n=new r(e);var i=false;var o=null;var a=null;var u=null;var l=null;this.walk(function(e,r){t.code+=e;if(r.source!==null&&r.line!==null&&r.column!==null){if(o!==r.source||a!==r.line||u!==r.column||l!==r.name){n.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name})}o=r.source;a=r.line;u=r.column;l=r.name;i=true}else if(i){n.addMapping({generated:{line:t.line,column:t.column}});o=null;i=false}for(var f=0,c=e.length;f<c;f++){if(e.charCodeAt(f)===s){t.line++;t.column=0;if(f+1===c){o=null;i=false}else if(i){n.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name})}}else{t.column++}}});this.walkSourceContents(function(e,t){n.setSourceContent(e,t)});return{code:t.code,map:n}};t.SourceNode=u})},{"./source-map-generator":41,"./util":43,amdefine:44}],43:[function(e,t,n){if(typeof r!=="function"){var r=e("amdefine")(t,e)}r(function(e,t,n){function r(e,t,n){if(t in e){return e[t]}else if(arguments.length===3){return n}else{throw new Error('"'+t+'" is a required argument.')}}t.getArg=r;var i=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/;var o=/^data:.+\,.+$/;function s(e){var t=e.match(i);if(!t){return null}return{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}}t.urlParse=s;function a(e){var t="";if(e.scheme){t+=e.scheme+":"}t+="//";if(e.auth){t+=e.auth+"@"}if(e.host){t+=e.host}if(e.port){t+=":"+e.port}if(e.path){t+=e.path}return t}t.urlGenerate=a;function u(e){var t=e;var n=s(e);if(n){if(!n.path){return e}t=n.path}var r=t.charAt(0)==="/";var i=t.split(/\/+/);for(var o,u=0,l=i.length-1;l>=0;l--){o=i[l];if(o==="."){i.splice(l,1)}else if(o===".."){u++}else if(u>0){if(o===""){i.splice(l+1,u);u=0}else{i.splice(l,2);u--}}}t=i.join("/");if(t===""){t=r?"/":"."}if(n){n.path=t;return a(n)}return t}t.normalize=u;function l(e,t){if(e===""){e="."}if(t===""){t="."}var n=s(t);var r=s(e);if(r){e=r.path||"/"}if(n&&!n.scheme){if(r){n.scheme=r.scheme}return a(n)}if(n||t.match(o)){return t}if(r&&!r.host&&!r.path){r.host=t;return a(r)}var i=t.charAt(0)==="/"?t:u(e.replace(/\/+$/,"")+"/"+t);if(r){r.path=i;return a(r)}return i}t.join=l;function f(e,t){if(e===""){e="."}e=e.replace(/\/$/,"");var n=s(e);if(t.charAt(0)=="/"&&n&&n.path=="/"){return t.slice(1)}return t.indexOf(e+"/")===0?t.substr(e.length+1):t}t.relative=f;function c(e){return"$"+e}t.toSetString=c;function p(e){return e.substr(1)}t.fromSetString=p;function h(e,t){var n=e||"";var r=t||"";return(n>r)-(n<r)}function m(e,t,n){var r;r=h(e.source,t.source);if(r){return r}r=e.originalLine-t.originalLine;if(r){return r}r=e.originalColumn-t.originalColumn;if(r||n){return r}r=h(e.name,t.name);if(r){return r}r=e.generatedLine-t.generatedLine;if(r){return r}return e.generatedColumn-t.generatedColumn}t.compareByOriginalPositions=m;function d(e,t,n){var r;r=e.generatedLine-t.generatedLine;if(r){return r}r=e.generatedColumn-t.generatedColumn;if(r||n){return r}r=h(e.source,t.source);if(r){return r}r=e.originalLine-t.originalLine;if(r){return r}r=e.originalColumn-t.originalColumn;if(r){return r}return h(e.name,t.name)}t.compareByGeneratedPositions=d})},{amdefine:44}],44:[function(e,t,n){(function(n,r){"use strict";function i(t,i){"use strict";var o={},s={},a=false,u=e("path"),l,f;function c(e){var t,n;for(t=0;e[t];t+=1){n=e[t];if(n==="."){e.splice(t,1);t-=1}else if(n===".."){if(t===1&&(e[2]===".."||e[0]==="..")){break}else if(t>0){e.splice(t-1,2);t-=2}}}}function p(e,t){var n;if(e&&e.charAt(0)==="."){if(t){n=t.split("/");n=n.slice(0,n.length-1);n=n.concat(e.split("/"));c(n);e=n.join("/")}}return e}function h(e){return function(t){return p(t,e)}}function m(e){function t(t){s[e]=t}t.fromText=function(e,t){throw new Error("amdefine does not implement load.fromText")};return t}l=function(e,t,r,i){function o(o,s){if(typeof o==="string"){return f(e,t,r,o,i)}else{o=o.map(function(n){return f(e,t,r,n,i)});n.nextTick(function(){s.apply(null,o)})}}o.toUrl=function(e){if(e.indexOf(".")===0){return p(e,u.dirname(r.filename))}else{return e}};return o};i=i||function y(){return t.require.apply(t,arguments)};function d(e,n,o){var u,f,c,p;if(e){f=s[e]={};c={id:e,uri:r,exports:f};u=l(i,f,c,e)}else{if(a){throw new Error("amdefine with no module ID cannot be called more than once per file.")}a=true;f=t.exports;c=t;u=l(i,f,c,t.id)}if(n){n=n.map(function(e){return u(e)})}if(typeof o==="function"){p=o.apply(c.exports,n)}else{p=o}if(p!==undefined){c.exports=p;if(e){s[e]=c.exports}}}f=function(e,t,n,r,i){var a=r.indexOf("!"),u=r,c,g;if(a===-1){r=p(r,i);if(r==="require"){return l(e,t,n,i)}else if(r==="exports"){return t}else if(r==="module"){return n}else if(s.hasOwnProperty(r)){return s[r]}else if(o[r]){d.apply(null,o[r]);return s[r]}else{if(e){return e(u)}else{throw new Error("No module with ID: "+r)}}}else{c=r.substring(0,a);r=r.substring(a+1,r.length);g=f(e,t,n,c,i);if(g.normalize){r=g.normalize(r,h(i))}else{r=p(r,i)}if(s[r]){return s[r]}else{g.load(r,l(e,t,n,i),m(r),{});return s[r]}}};function g(e,t,n){if(Array.isArray(e)){n=t;t=e;e=undefined}else if(typeof e!=="string"){n=e;e=t=undefined}if(t&&!Array.isArray(t)){n=t;t=undefined}if(!t){t=["require","exports","module"]}if(e){o[e]=[e,t,n]}else{d(e,t,n)}}g.require=function(e){if(s[e]){return s[e]}if(o[e]){d.apply(null,o[e]);return s[e]}};g.amd={};return g}t.exports=i}).call(this,e("_process"),"/node_modules/escodegen/node_modules/source-map/node_modules/amdefine/amdefine.js")},{_process:26,path:25}],45:[function(e,t,n){t.exports={name:"escodegen",description:"ECMAScript code generator",homepage:"http://github.com/estools/escodegen",main:"escodegen.js",bin:{esgenerate:"./bin/esgenerate.js",escodegen:"./bin/escodegen.js"},files:["LICENSE.BSD","LICENSE.source-map","README.md","bin","escodegen.js","package.json"],version:"1.6.0",engines:{node:">=0.10.0"},maintainers:[{name:"constellation",email:"utatane.tea@gmail.com"}],repository:{type:"git",url:"http://github.com/estools/escodegen.git"},dependencies:{estraverse:"^1.9.1",esutils:"^1.1.6",esprima:"^1.2.2",optionator:"^0.5.0","source-map":"~0.1.40"},optionalDependencies:{"source-map":"~0.1.40"},devDependencies:{"esprima-moz":"*",semver:"^4.1.0",bluebird:"^2.3.11",chai:"^1.10.0","gulp-mocha":"^2.0.0","gulp-eslint":"^0.2.0",gulp:"^3.8.10","bower-registry-client":"^0.2.1","commonjs-everywhere":"^0.9.7"},licenses:[{type:"BSD",url:"http://github.com/estools/escodegen/raw/master/LICENSE.BSD"}],scripts:{test:"gulp travis","unit-test":"gulp test",lint:"gulp lint",release:"node tools/release.js","build-min":"cjsify -ma path: tools/entry-point.js > escodegen.browser.min.js",build:"cjsify -a path: tools/entry-point.js > escodegen.browser.js"},gitHead:"ef3a75be69a7a92daa5650bf81fbd1e4203083d2",bugs:{url:"https://github.com/estools/escodegen/issues"},_id:"escodegen@1.6.0",_shasum:"b7dbcbd6586915d9da977f74ba2650d2e82bccfb",_from:"escodegen@*",_npmVersion:"2.0.0-alpha-5",_npmUser:{name:"constellation",email:"utatane.tea@gmail.com"},dist:{shasum:"b7dbcbd6586915d9da977f74ba2650d2e82bccfb",tarball:"http://registry.npmjs.org/escodegen/-/escodegen-1.6.0.tgz"},directories:{},_resolved:"https://registry.npmjs.org/escodegen/-/escodegen-1.6.0.tgz",readme:"ERROR: No README data found!"}},{}],46:[function(t,n,r){(function(t,n){"use strict";if(typeof e==="function"&&e.amd){e(["exports"],n)}else if(typeof r!=="undefined"){n(r)}else{n(t.esprima={})}})(this,function(e){"use strict";var t,n,r,i,o,s,a,u,l,f,c,p,h,m,d,g,y,v,S,b,w,x,E,_,C,k,A,I;t={BooleanLiteral:1,EOF:2,Identifier:3,Keyword:4,NullLiteral:5,NumericLiteral:6,Punctuator:7,StringLiteral:8,RegularExpression:9,Template:10};n={};n[t.BooleanLiteral]="Boolean";n[t.EOF]="<end>";n[t.Identifier]="Identifier";n[t.Keyword]="Keyword";n[t.NullLiteral]="Null";n[t.NumericLiteral]="Numeric";n[t.Punctuator]="Punctuator";n[t.StringLiteral]="String";n[t.RegularExpression]="RegularExpression";n[t.Template]="Template";r=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="];i={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};o={ArrowParameterPlaceHolder:"ArrowParameterPlaceHolder"};s={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",IllegalYield:"Unexpected token yield",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",DefaultRestParameter:"Unexpected token =",ObjectPatternAsRestParameter:"Unexpected token {",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ConstructorSpecialMethod:"Class constructor may not be an accessor",DuplicateConstructor:"A class may only have one constructor",StaticPrototype:"Classes may not have static property named prototype",MissingFromClause:"Unexpected token",NoAsAfterImportNamespace:"Unexpected token",InvalidModuleSpecifier:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalExportDeclaration:"Unexpected token",DuplicateBinding:"Duplicate binding %0"};a={NonAsciiIdentifierStart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠ-ࢲऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞭꞰꞱꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭟꭤꭥꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),NonAsciiIdentifierPart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮ̀-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҃-҇Ҋ-ԯԱ-Ֆՙա-և֑-ׇֽֿׁׂׅׄא-תװ-ײؐ-ؚؠ-٩ٮ-ۓە-ۜ۟-۪ۨ-ۼۿܐ-݊ݍ-ޱ߀-ߵߺࠀ-࠭ࡀ-࡛ࢠ-ࢲࣤ-ॣ०-९ॱ-ঃঅ-ঌএঐও-নপ-রলশ-হ়-ৄেৈো-ৎৗড়ঢ়য়-ৣ০-ৱਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹ਼ਾ-ੂੇੈੋ-੍ੑਖ਼-ੜਫ਼੦-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હ઼-ૅે-ૉો-્ૐૠ-ૣ૦-૯ଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହ଼-ୄେୈୋ-୍ୖୗଡ଼ଢ଼ୟ-ୣ୦-୯ୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-்ௐௗ௦-௯ఀ-ఃఅ-ఌఎ-ఐఒ-నప-హఽ-ౄె-ైొ-్ౕౖౘౙౠ-ౣ౦-౯ಁ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ಼-ೄೆ-ೈೊ-್ೕೖೞೠ-ೣ೦-೯ೱೲഁ-ഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൎൗൠ-ൣ൦-൯ൺ-ൿංඃඅ-ඖක-නඳ-රලව-ෆ්ා-ුූෘ-ෟ෦-෯ෲෳก-ฺเ-๎๐-๙ກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆ່-ໍ໐-໙ໜ-ໟༀ༘༙༠-༩༹༵༷༾-ཇཉ-ཬཱ-྄྆-ྗྙ-ྼ࿆က-၉ၐ-ႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፝-፟ᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-᜔ᜠ-᜴ᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-៓ៗៜ៝០-៩᠋-᠍᠐-᠙ᠠ-ᡷᢀ-ᢪᢰ-ᣵᤀ-ᤞᤠ-ᤫᤰ-᤻᥆-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉ᧐-᧙ᨀ-ᨛᨠ-ᩞ᩠-᩿᩼-᪉᪐-᪙ᪧ᪰-᪽ᬀ-ᭋ᭐-᭙᭫-᭳ᮀ-᯳ᰀ-᰷᱀-᱉ᱍ-ᱽ᳐-᳔᳒-ᳶ᳸᳹ᴀ-᷵᷼-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‌‍‿⁀⁔ⁱⁿₐ-ₜ⃐-⃥⃜⃡-⃰ℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵿-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿⸯ々-〇〡-〯〱-〵〸-〼ぁ-ゖ゙゚ゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘫꙀ-꙯ꙴ-꙽ꙿ-ꚝꚟ-꛱ꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞭꞰꞱꟷ-ꠧꡀ-ꡳꢀ-꣄꣐-꣙꣠-ꣷꣻ꤀-꤭ꤰ-꥓ꥠ-ꥼꦀ-꧀ꧏ-꧙ꧠ-ꧾꨀ-ꨶꩀ-ꩍ꩐-꩙ꩠ-ꩶꩺ-ꫂꫛ-ꫝꫠ-ꫯꫲ-꫶ꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭟꭤꭥꯀ-ꯪ꯬꯭꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻ︀-️︠-︭︳︴﹍-﹏ﹰ-ﹴﹶ-ﻼ0-9A-Z_a-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]")};function L(e,t){if(!e){throw new Error("ASSERT: "+t)}}function P(e){return e>=48&&e<=57}function O(e){return"0123456789abcdefABCDEF".indexOf(e)>=0}function R(e){return"01234567".indexOf(e)>=0}function D(e){var t=e!=="0",n="01234567".indexOf(e);if(c<x&&R(u[c])){t=true;n=n*8+"01234567".indexOf(u[c++]);if("0123".indexOf(e)>=0&&c<x&&R(u[c])){n=n*8+"01234567".indexOf(u[c++])}}return{code:n,octal:t}}function j(e){return e===32||e===9||e===11||e===12||e===160||e>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(e)>=0}function B(e){return e===10||e===13||e===8232||e===8233}function F(e){return e===36||e===95||e>=65&&e<=90||e>=97&&e<=122||e===92||e>=128&&a.NonAsciiIdentifierStart.test(String.fromCharCode(e))}function M(e){return e===36||e===95||e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===92||e>=128&&a.NonAsciiIdentifierPart.test(String.fromCharCode(e))}function T(e){switch(e){case"enum":case"export":case"import":case"super":return true;default:return false}}function N(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return true;
5
+ default:return false}}function q(e){return e==="eval"||e==="arguments"}function U(e){switch(e.length){case 2:return e==="if"||e==="in"||e==="do";case 3:return e==="var"||e==="for"||e==="new"||e==="try"||e==="let";case 4:return e==="this"||e==="else"||e==="case"||e==="void"||e==="with"||e==="enum";case 5:return e==="while"||e==="break"||e==="catch"||e==="throw"||e==="const"||e==="yield"||e==="class"||e==="super";case 6:return e==="return"||e==="typeof"||e==="delete"||e==="switch"||e==="export"||e==="import";case 7:return e==="default"||e==="finally"||e==="extends";case 8:return e==="function"||e==="continue"||e==="debugger";case 10:return e==="instanceof";default:return false}}function z(e,t,n,r,i){var o;L(typeof n==="number","Comment must have valid position");_.lastCommentStart=n;o={type:e,value:t};if(C.range){o.range=[n,r]}if(C.loc){o.loc=i}C.comments.push(o);if(C.attachComment){C.leadingComments.push(o);C.trailingComments.push(o)}}function W(e){var t,n,r,i;t=c-e;n={start:{line:p,column:c-h-e}};while(c<x){r=u.charCodeAt(c);++c;if(B(r)){m=true;if(C.comments){i=u.slice(t+e,c-1);n.end={line:p,column:c-h-1};z("Line",i,t,c-1,n)}if(r===13&&u.charCodeAt(c)===10){++c}++p;h=c;return}}if(C.comments){i=u.slice(t+e,c);n.end={line:p,column:c-h};z("Line",i,t,c,n)}}function V(){var e,t,n,r;if(C.comments){e=c-2;t={start:{line:p,column:c-h-2}}}while(c<x){n=u.charCodeAt(c);if(B(n)){if(n===13&&u.charCodeAt(c+1)===10){++c}m=true;++p;++c;h=c}else if(n===42){if(u.charCodeAt(c+1)===47){++c;++c;if(C.comments){r=u.slice(e+2,c-2);t.end={line:p,column:c-h};z("Block",r,e,c,t)}return}++c}else{++c}}if(C.comments){t.end={line:p,column:c-h};r=u.slice(e+2,c);z("Block",r,e,c,t)}At()}function G(){var e,t;m=false;t=c===0;while(c<x){e=u.charCodeAt(c);if(j(e)){++c}else if(B(e)){m=true;++c;if(e===13&&u.charCodeAt(c)===10){++c}++p;h=c;t=true}else if(e===47){e=u.charCodeAt(c+1);if(e===47){++c;++c;W(2);t=true}else if(e===42){++c;++c;V()}else{break}}else if(t&&e===45){if(u.charCodeAt(c+1)===45&&u.charCodeAt(c+2)===62){c+=3;W(3)}else{break}}else if(e===60){if(u.slice(c+1,c+4)==="!--"){++c;++c;++c;++c;W(4)}else{break}}else{break}}}function Y(e){var t,n,r,i=0;n=e==="u"?4:2;for(t=0;t<n;++t){if(c<x&&O(u[c])){r=u[c++];i=i*16+"0123456789abcdef".indexOf(r.toLowerCase())}else{return""}}return String.fromCharCode(i)}function K(){var e,t,n,r;e=u[c];t=0;if(e==="}"){kt()}while(c<x){e=u[c++];if(!O(e)){break}t=t*16+"0123456789abcdef".indexOf(e.toLowerCase())}if(t>1114111||e!=="}"){kt()}if(t<=65535){return String.fromCharCode(t)}n=(t-65536>>10)+55296;r=(t-65536&1023)+56320;return String.fromCharCode(n,r)}function $(){var e,t;e=u.charCodeAt(c++);t=String.fromCharCode(e);if(e===92){if(u.charCodeAt(c)!==117){kt()}++c;e=Y("u");if(!e||e==="\\"||!F(e.charCodeAt(0))){kt()}t=e}while(c<x){e=u.charCodeAt(c);if(!M(e)){break}++c;t+=String.fromCharCode(e);if(e===92){t=t.substr(0,t.length-1);if(u.charCodeAt(c)!==117){kt()}++c;e=Y("u");if(!e||e==="\\"||!M(e.charCodeAt(0))){kt()}t+=e}}return t}function H(){var e,t;e=c++;while(c<x){t=u.charCodeAt(c);if(t===92){c=e;return $()}if(M(t)){++c}else{break}}return u.slice(e,c)}function J(){var e,n,r;e=c;n=u.charCodeAt(c)===92?$():H();if(n.length===1){r=t.Identifier}else if(U(n)){r=t.Keyword}else if(n==="null"){r=t.NullLiteral}else if(n==="true"||n==="false"){r=t.BooleanLiteral}else{r=t.Identifier}return{type:r,value:n,lineNumber:p,lineStart:h,start:e,end:c}}function X(){var e,n;e={type:t.Punctuator,value:"",lineNumber:p,lineStart:h,start:c,end:c};n=u[c];switch(n){case"(":if(C.tokenize){C.openParenToken=C.tokens.length}++c;break;case"{":if(C.tokenize){C.openCurlyToken=C.tokens.length}_.curlyStack.push("{");++c;break;case".":++c;if(u[c]==="."&&u[c+1]==="."){c+=2;n="..."}break;case"}":++c;_.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++c;break;default:n=u.substr(c,4);if(n===">>>="){c+=4}else{n=n.substr(0,3);if(n==="==="||n==="!=="||n===">>>"||n==="<<="||n===">>="){c+=3}else{n=n.substr(0,2);if(n==="&&"||n==="||"||n==="=="||n==="!="||n==="+="||n==="-="||n==="*="||n==="/="||n==="++"||n==="--"||n==="<<"||n===">>"||n==="&="||n==="|="||n==="^="||n==="%="||n==="<="||n===">="||n==="=>"){c+=2}else{n=u[c];if("<>=!+-*%&|^/".indexOf(n)>=0){++c}}}}}if(c===e.start){kt()}e.end=c;e.value=n;return e}function Q(e){var n="";while(c<x){if(!O(u[c])){break}n+=u[c++]}if(n.length===0){kt()}if(F(u.charCodeAt(c))){kt()}return{type:t.NumericLiteral,value:parseInt("0x"+n,16),lineNumber:p,lineStart:h,start:e,end:c}}function Z(e){var n,r;r="";while(c<x){n=u[c];if(n!=="0"&&n!=="1"){break}r+=u[c++]}if(r.length===0){kt()}if(c<x){n=u.charCodeAt(c);if(F(n)||P(n)){kt()}}return{type:t.NumericLiteral,value:parseInt(r,2),lineNumber:p,lineStart:h,start:e,end:c}}function et(e,n){var r,i;if(R(e)){i=true;r="0"+u[c++]}else{i=false;++c;r=""}while(c<x){if(!R(u[c])){break}r+=u[c++]}if(!i&&r.length===0){kt()}if(F(u.charCodeAt(c))||P(u.charCodeAt(c))){kt()}return{type:t.NumericLiteral,value:parseInt(r,8),octal:i,lineNumber:p,lineStart:h,start:n,end:c}}function tt(){var e,t;for(e=c+1;e<x;++e){t=u[e];if(t==="8"||t==="9"){return false}if(!R(t)){return true}}return true}function nt(){var e,n,r;r=u[c];L(P(r.charCodeAt(0))||r===".","Numeric literal must start with a decimal digit or a decimal point");n=c;e="";if(r!=="."){e=u[c++];r=u[c];if(e==="0"){if(r==="x"||r==="X"){++c;return Q(n)}if(r==="b"||r==="B"){++c;return Z(n)}if(r==="o"||r==="O"){return et(r,n)}if(R(r)){if(tt()){return et(r,n)}}}while(P(u.charCodeAt(c))){e+=u[c++]}r=u[c]}if(r==="."){e+=u[c++];while(P(u.charCodeAt(c))){e+=u[c++]}r=u[c]}if(r==="e"||r==="E"){e+=u[c++];r=u[c];if(r==="+"||r==="-"){e+=u[c++]}if(P(u.charCodeAt(c))){while(P(u.charCodeAt(c))){e+=u[c++]}}else{kt()}}if(F(u.charCodeAt(c))){kt()}return{type:t.NumericLiteral,value:parseFloat(e),lineNumber:p,lineStart:h,start:n,end:c}}function rt(){var e="",n,r,i,o,s,a=false;n=u[c];L(n==="'"||n==='"',"String literal must starts with a quote");r=c;++c;while(c<x){i=u[c++];if(i===n){n="";break}else if(i==="\\"){i=u[c++];if(!i||!B(i.charCodeAt(0))){switch(i){case"u":case"x":if(u[c]==="{"){++c;e+=K()}else{o=Y(i);if(!o){throw kt()}e+=o}break;case"n":e+="\n";break;case"r":e+="\r";break;case"t":e+=" ";break;case"b":e+="\b";break;case"f":e+="\f";break;case"v":e+=" ";break;case"8":case"9":throw kt();default:if(R(i)){s=D(i);a=s.octal||a;e+=String.fromCharCode(s.code)}else{e+=i}break}}else{++p;if(i==="\r"&&u[c]==="\n"){++c}h=c}}else if(B(i.charCodeAt(0))){break}else{e+=i}}if(n!==""){kt()}return{type:t.StringLiteral,value:e,octal:a,lineNumber:S,lineStart:b,start:r,end:c}}function it(){var e="",n,r,i,o,a,l,f,m;o=false;l=false;r=c;a=u[c]==="`";i=2;++c;while(c<x){n=u[c++];if(n==="`"){i=1;l=true;o=true;break}else if(n==="$"){if(u[c]==="{"){_.curlyStack.push("${");++c;o=true;break}e+=n}else if(n==="\\"){n=u[c++];if(!B(n.charCodeAt(0))){switch(n){case"n":e+="\n";break;case"r":e+="\r";break;case"t":e+=" ";break;case"u":case"x":if(u[c]==="{"){++c;e+=K()}else{f=c;m=Y(n);if(m){e+=m}else{c=f;e+=n}}break;case"b":e+="\b";break;case"f":e+="\f";break;case"v":e+=" ";break;default:if(n==="0"){if(P(u.charCodeAt(c))){Et(s.TemplateOctalLiteral)}e+="\x00"}else if(R(n)){Et(s.TemplateOctalLiteral)}else{e+=n}break}}else{++p;if(n==="\r"&&u[c]==="\n"){++c}h=c}}else if(B(n.charCodeAt(0))){++p;if(n==="\r"&&u[c]==="\n"){++c}h=c;e+="\n"}else{e+=n}}if(!o){kt()}if(!a){_.curlyStack.pop()}return{type:t.Template,value:{cooked:e,raw:u.slice(r+1,c-i)},head:a,tail:l,lineNumber:p,lineStart:h,start:r,end:c}}function ot(e,t){var n="￿",r=e;if(t.indexOf("u")>=0){r=r.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(e,t,r){var i=parseInt(t||r,16);if(i>1114111){kt(null,s.InvalidRegExp)}if(i<=65535){return String.fromCharCode(i)}return n}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,n)}try{RegExp(r)}catch(i){kt(null,s.InvalidRegExp)}try{return new RegExp(e,t)}catch(o){return null}}function st(){var e,t,n,r,i;e=u[c];L(e==="/","Regular expression literal must start with a slash");t=u[c++];n=false;r=false;while(c<x){e=u[c++];t+=e;if(e==="\\"){e=u[c++];if(B(e.charCodeAt(0))){kt(null,s.UnterminatedRegExp)}t+=e}else if(B(e.charCodeAt(0))){kt(null,s.UnterminatedRegExp)}else if(n){if(e==="]"){n=false}}else{if(e==="/"){r=true;break}else if(e==="["){n=true}}}if(!r){kt(null,s.UnterminatedRegExp)}i=t.substr(1,t.length-2);return{value:i,literal:t}}function at(){var e,t,n,r;t="";n="";while(c<x){e=u[c];if(!M(e.charCodeAt(0))){break}++c;if(e==="\\"&&c<x){e=u[c];if(e==="u"){++c;r=c;e=Y("u");if(e){n+=e;for(t+="\\u";r<c;++r){t+=u[r]}}else{c=r;n+="u";t+="\\u"}At()}else{t+="\\";At()}}else{n+=e;t+=e}}return{value:n,literal:t}}function ut(){w=true;var e,n,r,i;E=null;G();e=c;n=st();r=at();i=ot(n.value,r.value);w=false;if(C.tokenize){return{type:t.RegularExpression,value:i,regex:{pattern:n.value,flags:r.value},lineNumber:p,lineStart:h,start:e,end:c}}return{literal:n.literal+r.literal,value:i,regex:{pattern:n.value,flags:r.value},start:e,end:c}}function lt(){var e,t,n,r;G();e=c;t={start:{line:p,column:c-h}};n=ut();t.end={line:p,column:c-h};if(!C.tokenize){if(C.tokens.length>0){r=C.tokens[C.tokens.length-1];if(r.range[0]===e&&r.type==="Punctuator"){if(r.value==="/"||r.value==="/="){C.tokens.pop()}}}C.tokens.push({type:"RegularExpression",value:n.literal,regex:n.regex,range:[e,c],loc:t})}return n}function ft(e){return e.type===t.Identifier||e.type===t.Keyword||e.type===t.BooleanLiteral||e.type===t.NullLiteral}function ct(){var e,t;e=C.tokens[C.tokens.length-1];if(!e){return lt()}if(e.type==="Punctuator"){if(e.value==="]"){return X()}if(e.value===")"){t=C.tokens[C.openParenToken-1];if(t&&t.type==="Keyword"&&(t.value==="if"||t.value==="while"||t.value==="for"||t.value==="with")){return lt()}return X()}if(e.value==="}"){if(C.tokens[C.openCurlyToken-3]&&C.tokens[C.openCurlyToken-3].type==="Keyword"){t=C.tokens[C.openCurlyToken-4];if(!t){return X()}}else if(C.tokens[C.openCurlyToken-4]&&C.tokens[C.openCurlyToken-4].type==="Keyword"){t=C.tokens[C.openCurlyToken-5];if(!t){return lt()}}else{return X()}if(r.indexOf(t.value)>=0){return X()}return lt()}return lt()}if(e.type==="Keyword"&&e.value!=="this"){return lt()}return X()}function pt(){var e,n;if(c>=x){return{type:t.EOF,lineNumber:p,lineStart:h,start:c,end:c}}e=u.charCodeAt(c);if(F(e)){n=J();if(l&&N(n.value)){n.type=t.Keyword}return n}if(e===40||e===41||e===59){return X()}if(e===39||e===34){return rt()}if(e===46){if(P(u.charCodeAt(c+1))){return nt()}return X()}if(P(e)){return nt()}if(C.tokenize&&e===47){return ct()}if(e===96||e===125&&_.curlyStack[_.curlyStack.length-1]==="${"){return it()}return X()}function ht(){var e,r,i,o;e={start:{line:p,column:c-h}};r=pt();e.end={line:p,column:c-h};if(r.type!==t.EOF){i=u.slice(r.start,r.end);o={type:n[r.type],value:i,range:[r.start,r.end],loc:e};if(r.regex){o.regex={pattern:r.regex.pattern,flags:r.regex.flags}}C.tokens.push(o)}return r}function mt(){var e;w=true;d=c;g=p;y=h;G();e=E;v=c;S=p;b=h;E=typeof C.tokens!=="undefined"?ht():pt();w=false;return e}function dt(){w=true;G();d=c;g=p;y=h;v=c;S=p;b=h;E=typeof C.tokens!=="undefined"?ht():pt();w=false}function gt(){this.line=S;this.column=v-b}function yt(){this.start=new gt;this.end=null}function vt(e){this.start={line:e.lineNumber,column:e.start-e.lineStart};this.end=null}function St(){if(C.range){this.range=[v,0]}if(C.loc){this.loc=new yt}}function bt(e){if(C.range){this.range=[e.start,0]}if(C.loc){this.loc=new vt(e)}}bt.prototype=St.prototype={processComment:function(){var e,t,n,r=C.bottomRightStack,o,s,a=r[r.length-1];if(this.type===i.Program){if(this.body.length>0){return}}if(C.trailingComments.length>0){n=[];for(o=C.trailingComments.length-1;o>=0;--o){s=C.trailingComments[o];if(s.range[0]>=this.range[1]){n.unshift(s);C.trailingComments.splice(o,1)}}C.trailingComments=[]}else{if(a&&a.trailingComments&&a.trailingComments[0].range[0]>=this.range[1]){n=a.trailingComments;delete a.trailingComments}}while(a&&a.range[0]>=this.range[0]){e=r.pop();a=r[r.length-1]}if(e){if(e.leadingComments){t=[];for(o=e.leadingComments.length-1;o>=0;--o){s=e.leadingComments[o];if(s.range[1]<=this.range[0]){t.unshift(s);e.leadingComments.splice(o,1)}}if(!e.leadingComments.length){e.leadingComments=undefined}}}else if(C.leadingComments.length>0){t=[];for(o=C.leadingComments.length-1;o>=0;--o){s=C.leadingComments[o];if(s.range[1]<=this.range[0]){t.unshift(s);C.leadingComments.splice(o,1)}}}if(t&&t.length>0){this.leadingComments=t}if(n&&n.length>0){this.trailingComments=n}r.push(this)},finish:function(){if(C.range){this.range[1]=d}if(C.loc){this.loc.end={line:g,column:d-y};if(C.source){this.loc.source=C.source}}if(C.attachComment){this.processComment()}},finishArrayExpression:function(e){this.type=i.ArrayExpression;this.elements=e;this.finish();return this},finishArrayPattern:function(e){this.type=i.ArrayPattern;this.elements=e;this.finish();return this},finishArrowFunctionExpression:function(e,t,n,r){this.type=i.ArrowFunctionExpression;this.id=null;this.params=e;this.defaults=t;this.body=n;this.generator=false;this.expression=r;this.finish();return this},finishAssignmentExpression:function(e,t,n){this.type=i.AssignmentExpression;this.operator=e;this.left=t;this.right=n;this.finish();return this},finishAssignmentPattern:function(e,t){this.type=i.AssignmentPattern;this.left=e;this.right=t;this.finish();return this},finishBinaryExpression:function(e,t,n){this.type=e==="||"||e==="&&"?i.LogicalExpression:i.BinaryExpression;this.operator=e;this.left=t;this.right=n;this.finish();return this},finishBlockStatement:function(e){this.type=i.BlockStatement;this.body=e;this.finish();return this},finishBreakStatement:function(e){this.type=i.BreakStatement;this.label=e;this.finish();return this},finishCallExpression:function(e,t){this.type=i.CallExpression;this.callee=e;this.arguments=t;this.finish();return this},finishCatchClause:function(e,t){this.type=i.CatchClause;this.param=e;this.body=t;this.finish();return this},finishClassBody:function(e){this.type=i.ClassBody;this.body=e;this.finish();return this},finishClassDeclaration:function(e,t,n){this.type=i.ClassDeclaration;this.id=e;this.superClass=t;this.body=n;this.finish();return this},finishClassExpression:function(e,t,n){this.type=i.ClassExpression;this.id=e;this.superClass=t;this.body=n;this.finish();return this},finishConditionalExpression:function(e,t,n){this.type=i.ConditionalExpression;this.test=e;this.consequent=t;this.alternate=n;this.finish();return this},finishContinueStatement:function(e){this.type=i.ContinueStatement;this.label=e;this.finish();return this},finishDebuggerStatement:function(){this.type=i.DebuggerStatement;this.finish();return this},finishDoWhileStatement:function(e,t){this.type=i.DoWhileStatement;this.body=e;this.test=t;this.finish();return this},finishEmptyStatement:function(){this.type=i.EmptyStatement;this.finish();return this},finishExpressionStatement:function(e){this.type=i.ExpressionStatement;this.expression=e;this.finish();return this},finishForStatement:function(e,t,n,r){this.type=i.ForStatement;this.init=e;this.test=t;this.update=n;this.body=r;this.finish();return this},finishForOfStatement:function(e,t,n){this.type=i.ForOfStatement;this.left=e;this.right=t;this.body=n;this.finish();return this},finishForInStatement:function(e,t,n){this.type=i.ForInStatement;this.left=e;this.right=t;this.body=n;this.each=false;this.finish();return this},finishFunctionDeclaration:function(e,t,n,r,o){this.type=i.FunctionDeclaration;this.id=e;this.params=t;this.defaults=n;this.body=r;this.generator=o;this.expression=false;this.finish();return this},finishFunctionExpression:function(e,t,n,r,o){this.type=i.FunctionExpression;this.id=e;this.params=t;this.defaults=n;this.body=r;this.generator=o;this.expression=false;this.finish();return this},finishIdentifier:function(e){this.type=i.Identifier;this.name=e;this.finish();return this},finishIfStatement:function(e,t,n){this.type=i.IfStatement;this.test=e;this.consequent=t;this.alternate=n;this.finish();return this},finishLabeledStatement:function(e,t){this.type=i.LabeledStatement;this.label=e;this.body=t;this.finish();return this},finishLiteral:function(e){this.type=i.Literal;this.value=e.value;this.raw=u.slice(e.start,e.end);if(e.regex){this.regex=e.regex}this.finish();return this},finishMemberExpression:function(e,t,n){this.type=i.MemberExpression;this.computed=e==="[";this.object=t;this.property=n;this.finish();return this},finishNewExpression:function(e,t){this.type=i.NewExpression;this.callee=e;this.arguments=t;this.finish();return this},finishObjectExpression:function(e){this.type=i.ObjectExpression;this.properties=e;this.finish();return this},finishObjectPattern:function(e){this.type=i.ObjectPattern;this.properties=e;this.finish();return this},finishPostfixExpression:function(e,t){this.type=i.UpdateExpression;this.operator=e;this.argument=t;this.prefix=false;this.finish();return this},finishProgram:function(e){this.type=i.Program;this.body=e;if(f==="module"){this.sourceType=f}this.finish();return this},finishProperty:function(e,t,n,r,o,s){this.type=i.Property;this.key=t;this.computed=n;this.value=r;this.kind=e;this.method=o;this.shorthand=s;this.finish();return this},finishRestElement:function(e){this.type=i.RestElement;this.argument=e;this.finish();return this},finishReturnStatement:function(e){this.type=i.ReturnStatement;this.argument=e;this.finish();return this},finishSequenceExpression:function(e){this.type=i.SequenceExpression;this.expressions=e;this.finish();return this},finishSpreadElement:function(e){this.type=i.SpreadElement;this.argument=e;this.finish();return this},finishSwitchCase:function(e,t){this.type=i.SwitchCase;this.test=e;this.consequent=t;this.finish();return this},finishSuper:function(){this.type=i.Super;this.finish();return this},finishSwitchStatement:function(e,t){this.type=i.SwitchStatement;this.discriminant=e;this.cases=t;this.finish();return this},finishTaggedTemplateExpression:function(e,t){this.type=i.TaggedTemplateExpression;this.tag=e;this.quasi=t;this.finish();return this},finishTemplateElement:function(e,t){this.type=i.TemplateElement;this.value=e;this.tail=t;this.finish();return this},finishTemplateLiteral:function(e,t){this.type=i.TemplateLiteral;this.quasis=e;this.expressions=t;this.finish();return this},finishThisExpression:function(){this.type=i.ThisExpression;this.finish();return this},finishThrowStatement:function(e){this.type=i.ThrowStatement;this.argument=e;this.finish();return this},finishTryStatement:function(e,t,n){this.type=i.TryStatement;this.block=e;this.guardedHandlers=[];this.handlers=t?[t]:[];this.handler=t;this.finalizer=n;this.finish();return this},finishUnaryExpression:function(e,t){this.type=e==="++"||e==="--"?i.UpdateExpression:i.UnaryExpression;this.operator=e;this.argument=t;this.prefix=true;this.finish();return this},finishVariableDeclaration:function(e){this.type=i.VariableDeclaration;this.declarations=e;this.kind="var";this.finish();return this},finishLexicalDeclaration:function(e,t){this.type=i.VariableDeclaration;this.declarations=e;this.kind=t;this.finish();return this},finishVariableDeclarator:function(e,t){this.type=i.VariableDeclarator;this.id=e;this.init=t;this.finish();return this},finishWhileStatement:function(e,t){this.type=i.WhileStatement;this.test=e;this.body=t;this.finish();return this},finishWithStatement:function(e,t){this.type=i.WithStatement;this.object=e;this.body=t;this.finish();return this},finishExportSpecifier:function(e,t){this.type=i.ExportSpecifier;this.exported=t||e;this.local=e;this.finish();return this},finishImportDefaultSpecifier:function(e){this.type=i.ImportDefaultSpecifier;this.local=e;this.finish();return this},finishImportNamespaceSpecifier:function(e){this.type=i.ImportNamespaceSpecifier;this.local=e;this.finish();return this},finishExportNamedDeclaration:function(e,t,n){this.type=i.ExportNamedDeclaration;this.declaration=e;this.specifiers=t;this.source=n;this.finish();return this},finishExportDefaultDeclaration:function(e){this.type=i.ExportDefaultDeclaration;this.declaration=e;this.finish();return this},finishExportAllDeclaration:function(e){this.type=i.ExportAllDeclaration;this.source=e;this.finish();return this},finishImportSpecifier:function(e,t){this.type=i.ImportSpecifier;this.local=e||t;this.imported=t;this.finish();return this},finishImportDeclaration:function(e,t){this.type=i.ImportDeclaration;this.specifiers=e;this.source=t;this.finish();return this},finishYieldExpression:function(e,t){this.type=i.YieldExpression;this.argument=e;this.delegate=t;this.finish();return this}};function wt(e){var t,n;for(t=0;t<C.errors.length;t++){n=C.errors[t];if(n.index===e.index&&n.message===e.message){return}}C.errors.push(e)}function xt(e,t,n){var r=new Error("Line "+e+": "+n);r.index=t;r.lineNumber=e;r.column=t-(w?h:y)+1;r.description=n;return r}function Et(e){var t,n;t=Array.prototype.slice.call(arguments,1);n=e.replace(/%(\d)/g,function(e,n){L(n<t.length,"Message reference must be in range");return t[n]});throw xt(g,d,n)}function _t(e){var t,n,r;t=Array.prototype.slice.call(arguments,1);n=e.replace(/%(\d)/g,function(e,n){L(n<t.length,"Message reference must be in range");return t[n]});r=xt(p,d,n);if(C.errors){wt(r)}else{throw r}}function Ct(e,n){var r,i=n||s.UnexpectedToken;if(e){if(!n){i=e.type===t.EOF?s.UnexpectedEOS:e.type===t.Identifier?s.UnexpectedIdentifier:e.type===t.NumericLiteral?s.UnexpectedNumber:e.type===t.StringLiteral?s.UnexpectedString:e.type===t.Template?s.UnexpectedTemplate:s.UnexpectedToken;if(e.type===t.Keyword){if(T(e.value)){i=s.UnexpectedReserved}else if(l&&N(e.value)){i=s.StrictReservedWord}}}r=e.type===t.Template?e.value.raw:e.value}else{r="ILLEGAL"}i=i.replace("%0",r);return e&&typeof e.lineNumber==="number"?xt(e.lineNumber,e.start,i):xt(w?p:g,w?c:d,i)}function kt(e,t){throw Ct(e,t)}function At(e,t){var n=Ct(e,t);if(C.errors){wt(n)}else{throw n}}function It(e){var n=mt();if(n.type!==t.Punctuator||n.value!==e){kt(n)}}function Lt(){var e;if(C.errors){e=E;if(e.type===t.Punctuator&&e.value===","){mt()}else if(e.type===t.Punctuator&&e.value===";"){mt();At(e)}else{At(e,s.UnexpectedToken)}}else{It(",")}}function Pt(e){var n=mt();if(n.type!==t.Keyword||n.value!==e){kt(n)}}function Ot(e){return E.type===t.Punctuator&&E.value===e}function Rt(e){return E.type===t.Keyword&&E.value===e}function Dt(e){return E.type===t.Identifier&&E.value===e}function jt(){var e;if(E.type!==t.Punctuator){return false}e=E.value;return e==="="||e==="*="||e==="/="||e==="%="||e==="+="||e==="-="||e==="<<="||e===">>="||e===">>>="||e==="&="||e==="^="||e==="|="}function Bt(){if(u.charCodeAt(v)===59||Ot(";")){mt();return}if(m){return}d=v;g=S;y=b;if(E.type!==t.EOF&&!Ot("}")){kt(E)}}function Ft(e){var t=k,n=A,r=I,i;k=true;A=true;I=null;i=e();if(I!==null){kt(I)}k=t;A=n;I=r;return i}function Mt(e){var t=k,n=A,r=I,i;k=true;A=true;I=null;i=e();k=k&&t;A=A&&n;I=r||I;return i}function Tt(e){var t=new St,n=[],r,i;It("[");while(!Ot("]")){if(Ot(",")){mt();n.push(null)}else{if(Ot("...")){i=new St;mt();e.push(E);r=kn(e);n.push(i.finishRestElement(r));break}else{n.push(zt(e))}if(!Ot("]")){It(",")}}}It("]");return t.finishArrayPattern(n)}function Nt(e){var n=new St,r,i,o=Ot("["),s;if(E.type===t.Identifier){i=E;r=kn();if(Ot("=")){e.push(i);mt();s=wn();return n.finishProperty("init",r,false,new bt(i).finishAssignmentPattern(r,s),false,false)}else if(!Ot(":")){e.push(i);return n.finishProperty("init",r,false,r,false,true)}}else{r=Yt(e)}It(":");s=zt(e);return n.finishProperty("init",r,o,s,false,false)}function qt(e){var t=new St,n=[];It("{");while(!Ot("}")){n.push(Nt(e));if(!Ot("}")){It(",")}}mt();return t.finishObjectPattern(n)}function Ut(e){var n;if(E.type===t.Identifier){e.push(E);n=kn();return n}else if(Ot("[")){return Tt(e)}else if(Ot("{")){return qt(e)}kt(E)}function zt(e){var t=E,n,r;n=Ut(e);if(Ot("=")){mt();r=Ft(wn);n=new bt(t).finishAssignmentPattern(n,r)}return n}function Wt(){var e=[],t=new St,n;It("[");while(!Ot("]")){if(Ot(",")){mt();e.push(null)}else if(Ot("...")){n=new St;mt();n.finishSpreadElement(Mt(wn));if(!Ot("]")){A=k=false;It(",")}e.push(n)}else{e.push(Mt(wn));if(!Ot("]")){It(",")}}}mt();return t.finishArrayExpression(e)}function Vt(e,t,n){var r,i;A=k=false;r=l;i=Ft(Xn);if(l&&t.firstRestricted){At(t.firstRestricted,t.message)}if(l&&t.stricted){At(t.stricted,t.message)}l=r;return e.finishFunctionExpression(null,t.params,t.defaults,i,n)}function Gt(){var e,t,n=new St,r=_.allowYield;_.allowYield=false;e=er();_.allowYield=r;_.allowYield=false;t=Vt(n,e,false);_.allowYield=r;return t}function Yt(){var e,n=new St,r;e=mt();switch(e.type){case t.StringLiteral:case t.NumericLiteral:if(l&&e.octal){At(e,s.StrictOctalLiteral)}return n.finishLiteral(e);case t.Identifier:case t.BooleanLiteral:case t.NullLiteral:case t.Keyword:return n.finishIdentifier(e.value);case t.Punctuator:if(e.value==="["){r=Ft(wn);It("]");return r}break}kt(e)}function Kt(){switch(E.type){case t.Identifier:case t.StringLiteral:case t.BooleanLiteral:case t.NullLiteral:case t.NumericLiteral:case t.Keyword:return true;case t.Punctuator:return E.value==="["}return false}function $t(e,n,r,i){var o,s,a,u,l=_.allowYield;if(e.type===t.Identifier){if(e.value==="get"&&Kt()){r=Ot("[");n=Yt();a=new St;It("(");It(")");_.allowYield=false;o=Vt(a,{params:[],defaults:[],stricted:null,firstRestricted:null,message:null},false);_.allowYield=l;return i.finishProperty("get",n,r,o,false,false)}else if(e.value==="set"&&Kt()){r=Ot("[");n=Yt();a=new St;It("(");s={params:[],defaultCount:0,defaults:[],firstRestricted:null,paramSet:{}};if(Ot(")")){At(E)}else{_.allowYield=false;Zn(s);_.allowYield=l;if(s.defaultCount===0){s.defaults=[]}}It(")");_.allowYield=false;o=Vt(a,s,false);_.allowYield=l;return i.finishProperty("set",n,r,o,false,false)}}else if(e.type===t.Punctuator&&e.value==="*"&&Kt()){r=Ot("[");n=Yt();a=new St;_.allowYield=false;u=er();_.allowYield=l;_.allowYield=true;o=Vt(a,u,true);_.allowYield=l;return i.finishProperty("init",n,r,o,true,false)}if(n&&Ot("(")){o=Gt();return i.finishProperty("init",n,r,o,true,false)}return null}function Ht(e,t,n){if(t===false&&(e.type===i.Identifier&&e.name==="__proto__"||e.type===i.Literal&&e.value==="__proto__")){if(n.value){_t(s.DuplicateProtoProperty)}else{n.value=true}}}function Jt(e){var n=E,r=new St,i,o,s,a;i=Ot("[");if(Ot("*")){mt()}else{o=Yt()}s=$t(n,o,i,r);if(s){Ht(s.key,s.computed,e);return s}if(!o){kt(E)}Ht(o,i,e);if(Ot(":")){mt();a=Mt(wn);return r.finishProperty("init",o,i,a,false,false)}if(n.type===t.Identifier){if(Ot("=")){I=E;mt();a=Ft(wn);return r.finishProperty("init",o,i,new bt(n).finishAssignmentPattern(o,a),false,true)}return r.finishProperty("init",o,i,o,false,true)}kt(E)}function Xt(){var e=[],t={value:false},n=new St;It("{");while(!Ot("}")){e.push(Jt(t));if(!Ot("}")){Lt()}}It("}");return n.finishObjectExpression(e)}function Qt(e){var t;switch(e.type){case i.Identifier:case i.MemberExpression:case i.RestElement:case i.AssignmentPattern:break;case i.SpreadElement:e.type=i.RestElement;Qt(e.argument);break;case i.ArrayExpression:e.type=i.ArrayPattern;for(t=0;t<e.elements.length;t++){if(e.elements[t]!==null){Qt(e.elements[t])}}break;case i.ObjectExpression:e.type=i.ObjectPattern;for(t=0;t<e.properties.length;t++){Qt(e.properties[t].value)}break;case i.AssignmentExpression:e.type=i.AssignmentPattern;Qt(e.left);break;default:break}}function Zt(e){var n,r;if(E.type!==t.Template||e.head&&!E.head){kt()}n=new St;r=mt();return n.finishTemplateElement({raw:r.value.raw,cooked:r.value.cooked},r.tail)}function en(){var e,t,n,r=new St;e=Zt({head:true});t=[e];n=[];while(!e.tail){n.push(xn());e=Zt({head:false});t.push(e)}return r.finishTemplateLiteral(t,n)}function tn(){var e,t,n,r,s=[];It("(");if(Ot(")")){mt();if(!Ot("=>")){It("=>")}return{type:o.ArrowParameterPlaceHolder,params:[],rawParams:[]}}n=E;if(Ot("...")){e=Dn(s);It(")");if(!Ot("=>")){It("=>")}return{type:o.ArrowParameterPlaceHolder,params:[e]}}k=true;e=Mt(wn);if(Ot(",")){A=false;t=[e];while(v<x){if(!Ot(",")){break}mt();if(Ot("...")){if(!k){kt(E)}t.push(Dn(s));It(")");if(!Ot("=>")){It("=>")}k=false;for(r=0;r<t.length;r++){Qt(t[r])}return{type:o.ArrowParameterPlaceHolder,params:t}}t.push(Mt(wn))}e=new bt(n).finishSequenceExpression(t)}It(")");if(Ot("=>")){if(!k){kt(E)}if(e.type===i.SequenceExpression){for(r=0;r<e.expressions.length;r++){Qt(e.expressions[r])}}else{Qt(e)}e={type:o.ArrowParameterPlaceHolder,params:e.type===i.SequenceExpression?e.expressions:[e]}}k=false;return e}function nn(){var e,n,r,i;if(Ot("(")){k=false;return Mt(tn)}if(Ot("[")){return Mt(Wt)}if(Ot("{")){return Mt(Xt)}e=E.type;i=new St;if(e===t.Identifier){r=i.finishIdentifier(mt().value)}else if(e===t.StringLiteral||e===t.NumericLiteral){A=k=false;if(l&&E.octal){At(E,s.StrictOctalLiteral)}r=i.finishLiteral(mt())}else if(e===t.Keyword){A=k=false;if(Rt("function")){return nr()}if(Rt("this")){mt();return i.finishThisExpression()}if(Rt("class")){return or()}kt(mt())}else if(e===t.BooleanLiteral){A=k=false;n=mt();n.value=n.value==="true";r=i.finishLiteral(n)}else if(e===t.NullLiteral){A=k=false;n=mt();n.value=null;r=i.finishLiteral(n)}else if(Ot("/")||Ot("/=")){A=k=false;c=v;if(typeof C.tokens!=="undefined"){n=lt()}else{n=ut()}mt();r=i.finishLiteral(n)}else if(e===t.Template){r=en()}else{kt(mt())}return r}function rn(){var e=[],t;It("(");if(!Ot(")")){while(v<x){if(Ot("...")){t=new St;mt();t.finishSpreadElement(Ft(wn))}else{t=Ft(wn)}e.push(t);if(Ot(")")){break}Lt()}}It(")");return e}function on(){var e,t=new St;e=mt();if(!ft(e)){kt(e)}return t.finishIdentifier(e.value)}function sn(){It(".");return on()}function an(){var e;It("[");e=Ft(xn);It("]");return e}function un(){var e,t,n=new St;Pt("new");e=Ft(fn);t=Ot("(")?rn():[];A=k=false;return n.finishNewExpression(e,t)}function ln(){var e,n,r,i,o,s=_.allowIn;o=E;_.allowIn=true;if(Rt("super")&&_.inFunctionBody){n=new St;mt();n=n.finishSuper();if(!Ot("(")&&!Ot(".")&&!Ot("[")){kt(E)}}else{n=Mt(Rt("new")?un:nn)}for(;;){if(Ot(".")){k=false;A=true;i=sn();n=new bt(o).finishMemberExpression(".",n,i)}else if(Ot("(")){k=false;A=false;r=rn();n=new bt(o).finishCallExpression(n,r)}else if(Ot("[")){k=false;A=true;i=an();n=new bt(o).finishMemberExpression("[",n,i)}else if(E.type===t.Template&&E.head){e=en();n=new bt(o).finishTaggedTemplateExpression(n,e)}else{break}}_.allowIn=s;return n}function fn(){var e,n,r,i;L(_.allowIn,"callee of new expression always allow in keyword.");i=E;if(Rt("super")&&_.inFunctionBody){n=new St;mt();n=n.finishSuper();if(!Ot("[")&&!Ot(".")){kt(E)}}else{n=Mt(Rt("new")?un:nn)}for(;;){if(Ot("[")){k=false;A=true;r=an();n=new bt(i).finishMemberExpression("[",n,r)}else if(Ot(".")){k=false;A=true;r=sn();n=new bt(i).finishMemberExpression(".",n,r)}else if(E.type===t.Template&&E.head){e=en();n=new bt(i).finishTaggedTemplateExpression(n,e)}else{break}}return n}function cn(){var e,n,r=E;e=Mt(ln);if(!m&&E.type===t.Punctuator){if(Ot("++")||Ot("--")){if(l&&e.type===i.Identifier&&q(e.name)){_t(s.StrictLHSPostfix)}if(!A){_t(s.InvalidLHSInAssignment)}A=k=false;n=mt();e=new bt(r).finishPostfixExpression(n.value,e)}}return e}function pn(){var e,n,r;if(E.type!==t.Punctuator&&E.type!==t.Keyword){n=cn()}else if(Ot("++")||Ot("--")){r=E;e=mt();n=Mt(pn);if(l&&n.type===i.Identifier&&q(n.name)){_t(s.StrictLHSPrefix)}if(!A){_t(s.InvalidLHSInAssignment)}n=new bt(r).finishUnaryExpression(e.value,n);A=k=false}else if(Ot("+")||Ot("-")||Ot("~")||Ot("!")){r=E;e=mt();n=Mt(pn);n=new bt(r).finishUnaryExpression(e.value,n);A=k=false}else if(Rt("delete")||Rt("void")||Rt("typeof")){r=E;e=mt();n=Mt(pn);n=new bt(r).finishUnaryExpression(e.value,n);if(l&&n.operator==="delete"&&n.argument.type===i.Identifier){_t(s.StrictDelete)}A=k=false}else{n=cn()}return n}function hn(e,n){var r=0;if(e.type!==t.Punctuator&&e.type!==t.Keyword){return 0}switch(e.value){case"||":r=1;break;case"&&":r=2;break;case"|":r=3;break;case"^":r=4;break;case"&":r=5;break;case"==":case"!=":case"===":case"!==":r=6;break;case"<":case">":case"<=":case">=":case"instanceof":r=7;break;case"in":r=n?7:0;break;case"<<":case">>":case">>>":r=8;break;case"+":case"-":r=9;break;case"*":case"/":case"%":r=11;break;default:break}return r
6
+ }function mn(){var e,t,n,r,i,o,s,a,u,l;e=E;u=Mt(pn);r=E;i=hn(r,_.allowIn);if(i===0){return u}A=k=false;r.prec=i;mt();t=[e,E];s=Ft(pn);o=[u,r,s];while((i=hn(E,_.allowIn))>0){while(o.length>2&&i<=o[o.length-2].prec){s=o.pop();a=o.pop().value;u=o.pop();t.pop();n=new bt(t[t.length-1]).finishBinaryExpression(a,u,s);o.push(n)}r=mt();r.prec=i;o.push(r);t.push(E);n=Ft(pn);o.push(n)}l=o.length-1;n=o[l];t.pop();while(l>1){n=new bt(t.pop()).finishBinaryExpression(o[l-1].value,o[l-2],n);l-=2}return n}function dn(){var e,t,n,r,i;i=E;e=Mt(mn);if(Ot("?")){mt();t=_.allowIn;_.allowIn=true;n=Ft(wn);_.allowIn=t;It(":");r=Ft(wn);e=new bt(i).finishConditionalExpression(e,n,r);A=k=false}return e}function gn(){if(Ot("{")){return Xn()}return Ft(wn)}function yn(e,t){var n;switch(t.type){case i.Identifier:Qn(e,t,t.name);break;case i.RestElement:yn(e,t.argument);break;case i.AssignmentPattern:yn(e,t.left);break;case i.ArrayPattern:for(n=0;n<t.elements.length;n++){if(t.elements[n]!==null){yn(e,t.elements[n])}}break;default:L(t.type===i.ObjectPattern,"Invalid type");for(n=0;n<t.properties.length;n++){yn(e,t.properties[n].value)}break}}function vn(e){var t,n,r,a,u,f,c,p;u=[];f=0;a=[e];switch(e.type){case i.Identifier:break;case o.ArrowParameterPlaceHolder:a=e.params;break;default:return null}c={paramSet:{}};for(t=0,n=a.length;t<n;t+=1){r=a[t];switch(r.type){case i.AssignmentPattern:a[t]=r.left;u.push(r.right);++f;yn(c,r.left);break;default:yn(c,r);a[t]=r;u.push(null);break}}if(c.message===s.StrictParamDupe){p=l?c.stricted:c.firstRestricted;kt(p,c.message)}if(f===0){u=[]}return{params:a,defaults:u,stricted:c.stricted,firstRestricted:c.firstRestricted,message:c.message}}function Sn(e,t){var n,r;if(m){At(E)}It("=>");n=l;r=gn();if(l&&e.firstRestricted){kt(e.firstRestricted,e.message)}if(l&&e.stricted){At(e.stricted,e.message)}l=n;return t.finishArrowFunctionExpression(e.params,e.defaults,r,r.type!==i.BlockStatement)}function bn(){var e,n,r;n=new St;if(!_.allowYield){At(E,s.IllegalYield)}Pt("yield");if(!m){r=Ot("*");if(r){mt();e=xn()}else{if(!Ot(";")&&!Ot("}")&&E.type!==t.EOF){e=xn()}}}return n.finishYieldExpression(e,r)}function wn(){var e,t,n,r,a;a=E;e=E;if(Rt("yield")){return bn()}t=dn();if(t.type===o.ArrowParameterPlaceHolder||Ot("=>")){A=k=false;r=vn(t);if(r){I=null;return Sn(r,new bt(a))}return t}if(jt()){if(!A){_t(s.InvalidLHSInAssignment)}if(l&&t.type===i.Identifier&&q(t.name)){At(e,s.StrictLHSAssignment)}if(!Ot("=")){A=k=false}else{Qt(t)}e=mt();n=Ft(wn);t=new bt(a).finishAssignmentExpression(e.value,t,n);I=null}return t}function xn(){var e,t=E,n;e=Ft(wn);if(Ot(",")){n=[e];while(v<x){if(!Ot(",")){break}mt();n.push(Ft(wn))}e=new bt(t).finishSequenceExpression(n)}return e}function En(){if(E.type===t.Keyword){switch(E.value){case"export":if(f!=="module"){At(E,s.IllegalExportDeclaration)}return cr();case"import":if(f!=="module"){At(E,s.IllegalImportDeclaration)}return gr();case"const":case"let":return Rn({inFor:false});case"function":return tr(new St);case"class":return ir()}}return Jn()}function _n(){var e=[];while(v<x){if(Ot("}")){break}e.push(En())}return e}function Cn(){var e,t=new St;It("{");e=_n();It("}");return t.finishBlockStatement(e)}function kn(){var e,n=new St;e=mt();if(e.type!==t.Identifier){if(l&&e.type===t.Keyword&&N(e.value)){At(e,s.StrictReservedWord)}else{kt(e)}}return n.finishIdentifier(e.value)}function An(){var e=null,t,n=new St,r=[];t=Ut(r);if(l&&q(t.name)){_t(s.StrictVarName)}if(Ot("=")){mt();e=Ft(wn)}else if(t.type!==i.Identifier){It("=")}return n.finishVariableDeclarator(t,e)}function In(){var e=[];do{e.push(An());if(!Ot(",")){break}mt()}while(v<x);return e}function Ln(e){var t;Pt("var");t=In();Bt();return e.finishVariableDeclaration(t)}function Pn(e,t){var n=null,r,o=new St,a=[];r=Ut(a);if(l&&r.type===i.Identifier&&q(r.name)){_t(s.StrictVarName)}if(e==="const"){if(!Rt("in")&&!Dt("of")){It("=");n=Ft(wn)}}else if(!t.inFor&&r.type!==i.Identifier||Ot("=")){It("=");n=Ft(wn)}return o.finishVariableDeclarator(r,n)}function On(e,t){var n=[];do{n.push(Pn(e,t));if(!Ot(",")){break}mt()}while(v<x);return n}function Rn(e){var t,n,r=new St;t=mt().value;L(t==="let"||t==="const","Lexical declaration must be either let or const");n=On(t,e);Bt();return r.finishLexicalDeclaration(n,t)}function Dn(e){var t,n=new St;mt();if(Ot("{")){Et(s.ObjectPatternAsRestParameter)}e.push(E);t=kn();if(Ot("=")){Et(s.DefaultRestParameter)}if(!Ot(")")){Et(s.ParameterAfterRestParameter)}return n.finishRestElement(t)}function jn(e){It(";");return e.finishEmptyStatement()}function Bn(e){var t=xn();Bt();return e.finishExpressionStatement(t)}function Fn(e){var t,n,r;Pt("if");It("(");t=xn();It(")");n=Jn();if(Rt("else")){mt();r=Jn()}else{r=null}return e.finishIfStatement(t,n,r)}function Mn(e){var t,n,r;Pt("do");r=_.inIteration;_.inIteration=true;t=Jn();_.inIteration=r;Pt("while");It("(");n=xn();It(")");if(Ot(";")){mt()}return e.finishDoWhileStatement(t,n)}function Tn(e){var t,n,r;Pt("while");It("(");t=xn();It(")");r=_.inIteration;_.inIteration=true;n=Jn();_.inIteration=r;return e.finishWhileStatement(t,n)}function Nn(e){var t,n,r,i,o,a,u,l,f,c,p,h,m=_.allowIn;t=o=a=null;n=true;Pt("for");It("(");if(Ot(";")){mt()}else{if(Rt("var")){t=new St;mt();_.allowIn=false;t=t.finishVariableDeclaration(In());_.allowIn=m;if(t.declarations.length===1&&Rt("in")){mt();u=t;l=xn();t=null}else if(t.declarations.length===1&&t.declarations[0].init===null&&Dt("of")){mt();u=t;l=wn();t=null;n=false}else{It(";")}}else if(Rt("const")||Rt("let")){t=new St;f=mt().value;_.allowIn=false;c=On(f,{inFor:true});_.allowIn=m;if(c.length===1&&c[0].init===null&&Rt("in")){t=t.finishLexicalDeclaration(c,f);mt();u=t;l=xn();t=null}else if(c.length===1&&c[0].init===null&&Dt("of")){t=t.finishLexicalDeclaration(c,f);mt();u=t;l=wn();t=null;n=false}else{Bt();t=t.finishLexicalDeclaration(c,f)}}else{i=E;_.allowIn=false;t=Mt(wn);_.allowIn=m;if(Rt("in")){if(!A){_t(s.InvalidLHSInForIn)}mt();Qt(t);u=t;l=xn();t=null}else if(Dt("of")){if(!A){_t(s.InvalidLHSInForLoop)}mt();Qt(t);u=t;l=wn();t=null;n=false}else{if(Ot(",")){r=[t];while(Ot(",")){mt();r.push(Ft(wn))}t=new bt(i).finishSequenceExpression(r)}It(";")}}}if(typeof u==="undefined"){if(!Ot(";")){o=xn()}It(";");if(!Ot(")")){a=xn()}}It(")");h=_.inIteration;_.inIteration=true;p=Ft(Jn);_.inIteration=h;return typeof u==="undefined"?e.finishForStatement(t,o,a,p):n?e.finishForInStatement(u,l,p):e.finishForOfStatement(u,l,p)}function qn(e){var n=null,r;Pt("continue");if(u.charCodeAt(v)===59){mt();if(!_.inIteration){Et(s.IllegalContinue)}return e.finishContinueStatement(null)}if(m){if(!_.inIteration){Et(s.IllegalContinue)}return e.finishContinueStatement(null)}if(E.type===t.Identifier){n=kn();r="$"+n.name;if(!Object.prototype.hasOwnProperty.call(_.labelSet,r)){Et(s.UnknownLabel,n.name)}}Bt();if(n===null&&!_.inIteration){Et(s.IllegalContinue)}return e.finishContinueStatement(n)}function Un(e){var n=null,r;Pt("break");if(u.charCodeAt(d)===59){mt();if(!(_.inIteration||_.inSwitch)){Et(s.IllegalBreak)}return e.finishBreakStatement(null)}if(m){if(!(_.inIteration||_.inSwitch)){Et(s.IllegalBreak)}return e.finishBreakStatement(null)}if(E.type===t.Identifier){n=kn();r="$"+n.name;if(!Object.prototype.hasOwnProperty.call(_.labelSet,r)){Et(s.UnknownLabel,n.name)}}Bt();if(n===null&&!(_.inIteration||_.inSwitch)){Et(s.IllegalBreak)}return e.finishBreakStatement(n)}function zn(e){var n=null;Pt("return");if(!_.inFunctionBody){_t(s.IllegalReturn)}if(u.charCodeAt(d)===32){if(F(u.charCodeAt(d+1))){n=xn();Bt();return e.finishReturnStatement(n)}}if(m){return e.finishReturnStatement(null)}if(!Ot(";")){if(!Ot("}")&&E.type!==t.EOF){n=xn()}}Bt();return e.finishReturnStatement(n)}function Wn(e){var t,n;if(l){_t(s.StrictModeWith)}Pt("with");It("(");t=xn();It(")");n=Jn();return e.finishWithStatement(t,n)}function Vn(){var e,t=[],n,r=new St;if(Rt("default")){mt();e=null}else{Pt("case");e=xn()}It(":");while(v<x){if(Ot("}")||Rt("default")||Rt("case")){break}n=En();t.push(n)}return r.finishSwitchCase(e,t)}function Gn(e){var t,n,r,i,o;Pt("switch");It("(");t=xn();It(")");It("{");n=[];if(Ot("}")){mt();return e.finishSwitchStatement(t,n)}i=_.inSwitch;_.inSwitch=true;o=false;while(v<x){if(Ot("}")){break}r=Vn();if(r.test===null){if(o){Et(s.MultipleDefaultsInSwitch)}o=true}n.push(r)}_.inSwitch=i;It("}");return e.finishSwitchStatement(t,n)}function Yn(e){var t;Pt("throw");if(m){Et(s.NewlineAfterThrow)}t=xn();Bt();return e.finishThrowStatement(t)}function Kn(){var e,t=[],n={},r,i,o,a=new St;Pt("catch");It("(");if(Ot(")")){kt(E)}e=Ut(t);for(i=0;i<t.length;i++){r="$"+t[i].value;if(Object.prototype.hasOwnProperty.call(n,r)){_t(s.DuplicateBinding,t[i].value)}n[r]=true}if(l&&q(e.name)){_t(s.StrictCatchVariable)}It(")");o=Cn();return a.finishCatchClause(e,o)}function $n(e){var t,n=null,r=null;Pt("try");t=Cn();if(Rt("catch")){n=Kn()}if(Rt("finally")){mt();r=Cn()}if(!n&&!r){Et(s.NoCatchOrFinally)}return e.finishTryStatement(t,n,r)}function Hn(e){Pt("debugger");Bt();return e.finishDebuggerStatement()}function Jn(){var e=E.type,n,r,o,a;if(e===t.EOF){kt(E)}if(e===t.Punctuator&&E.value==="{"){return Cn()}A=k=true;a=new St;if(e===t.Punctuator){switch(E.value){case";":return jn(a);case"(":return Bn(a);default:break}}else if(e===t.Keyword){switch(E.value){case"break":return Un(a);case"continue":return qn(a);case"debugger":return Hn(a);case"do":return Mn(a);case"for":return Nn(a);case"function":return tr(a);case"if":return Fn(a);case"return":return zn(a);case"switch":return Gn(a);case"throw":return Yn(a);case"try":return $n(a);case"var":return Ln(a);case"while":return Tn(a);case"with":return Wn(a);default:break}}n=xn();if(n.type===i.Identifier&&Ot(":")){mt();o="$"+n.name;if(Object.prototype.hasOwnProperty.call(_.labelSet,o)){Et(s.Redeclaration,"Label",n.name)}_.labelSet[o]=true;r=Jn();delete _.labelSet[o];return a.finishLabeledStatement(n,r)}Bt();return a.finishExpressionStatement(n)}function Xn(){var e,n=[],r,o,a,f,c,p,h,m,d=new St;It("{");while(v<x){if(E.type!==t.StringLiteral){break}r=E;e=En();n.push(e);if(e.expression.type!==i.Literal){break}o=u.slice(r.start+1,r.end-1);if(o==="use strict"){l=true;if(a){At(a,s.StrictOctalLiteral)}}else{if(!a&&r.octal){a=r}}}f=_.labelSet;c=_.inIteration;p=_.inSwitch;h=_.inFunctionBody;m=_.parenthesizedCount;_.labelSet={};_.inIteration=false;_.inSwitch=false;_.inFunctionBody=true;_.parenthesizedCount=0;while(v<x){if(Ot("}")){break}n.push(En())}It("}");_.labelSet=f;_.inIteration=c;_.inSwitch=p;_.inFunctionBody=h;_.parenthesizedCount=m;return d.finishBlockStatement(n)}function Qn(e,t,n){var r="$"+n;if(l){if(q(n)){e.stricted=t;e.message=s.StrictParamName}if(Object.prototype.hasOwnProperty.call(e.paramSet,r)){e.stricted=t;e.message=s.StrictParamDupe}}else if(!e.firstRestricted){if(q(n)){e.firstRestricted=t;e.message=s.StrictParamName}else if(N(n)){e.firstRestricted=t;e.message=s.StrictReservedWord}else if(Object.prototype.hasOwnProperty.call(e.paramSet,r)){e.stricted=t;e.message=s.StrictParamDupe}}e.paramSet[r]=true}function Zn(e){var t,n,r=[],o,s;t=E;if(t.value==="..."){n=Dn(r);Qn(e,n.argument,n.argument.name);e.params.push(n);e.defaults.push(null);return false}n=zt(r);for(o=0;o<r.length;o++){Qn(e,r[o],r[o].value)}if(n.type===i.AssignmentPattern){s=n.right;n=n.left;++e.defaultCount}e.params.push(n);e.defaults.push(s);return!Ot(")")}function er(e){var t;t={params:[],defaultCount:0,defaults:[],firstRestricted:e};It("(");if(!Ot(")")){t.paramSet={};while(v<x){if(!Zn(t)){break}It(",")}}It(")");if(t.defaultCount===0){t.defaults=[]}return{params:t.params,defaults:t.defaults,stricted:t.stricted,firstRestricted:t.firstRestricted,message:t.message}}function tr(e,t){var n=null,r=[],i=[],o,a,u,f,c,p,h,m,d;Pt("function");m=Ot("*");if(m){mt()}if(!t||!Ot("(")){a=E;n=kn();if(l){if(q(a.value)){At(a,s.StrictFunctionName)}}else{if(q(a.value)){c=a;p=s.StrictFunctionName}else if(N(a.value)){c=a;p=s.StrictReservedWord}}}d=_.allowYield;_.allowYield=false;f=er(c);_.allowYield=d;r=f.params;i=f.defaults;u=f.stricted;c=f.firstRestricted;if(f.message){p=f.message}d=_.allowYield;h=l;_.allowYield=m;o=Xn();if(l&&c){kt(c,p)}if(l&&u){At(u,p)}l=h;_.allowYield=d;return e.finishFunctionDeclaration(n,r,i,o,m)}function nr(){var e,t=null,n,r,i,o,a=[],u=[],f,c,p=new St,h,m;Pt("function");h=Ot("*");if(h){mt()}if(!Ot("(")){e=E;t=kn();if(l){if(q(e.value)){At(e,s.StrictFunctionName)}}else{if(q(e.value)){r=e;i=s.StrictFunctionName}else if(N(e.value)){r=e;i=s.StrictReservedWord}}}m=_.allowYield;_.allowYield=false;o=er(r);_.allowYield=m;a=o.params;u=o.defaults;n=o.stricted;r=o.firstRestricted;if(o.message){i=o.message}c=l;m=_.allowYield;_.allowYield=h;f=Xn();if(l&&r){kt(r,i)}if(l&&n){At(n,i)}l=c;_.allowYield=m;return p.finishFunctionExpression(t,a,u,f,h)}function rr(){var e,t,n,r=false,o,a,u,l;e=new St;It("{");o=[];while(!Ot("}")){if(Ot(";")){mt()}else{a=new St;t=E;n=false;u=Ot("[");if(Ot("*")){mt()}else{l=Yt();if(l.name==="static"&&(Kt()||Ot("*"))){t=E;n=true;u=Ot("[");if(Ot("*")){mt()}else{l=Yt()}}}a=$t(t,l,u,a);if(a){a["static"]=n;if(a.kind==="init"){a.kind="method"}if(!n){if(!a.computed&&(a.key.name||a.key.value.toString())==="constructor"){if(a.kind!=="method"||!a.method||a.value.generator){kt(t,s.ConstructorSpecialMethod)}if(r){kt(t,s.DuplicateConstructor)}else{r=true}a.kind="constructor"}}else{if(!a.computed&&(a.key.name||a.key.value.toString())==="prototype"){kt(t,s.StaticPrototype)}}a.type=i.MethodDefinition;delete a.method;delete a.shorthand;o.push(a)}else{kt(E)}}}mt();return e.finishClassBody(o)}function ir(e){var n=null,r=null,i=new St,o,s=l;l=true;Pt("class");if(!e||E.type===t.Identifier){n=kn()}if(Rt("extends")){mt();r=Ft(ln)}o=rr();l=s;return i.finishClassDeclaration(n,r,o)}function or(){var e=null,n=null,r=new St,i,o=l;l=true;Pt("class");if(E.type===t.Identifier){e=kn()}if(Rt("extends")){mt();n=Ft(ln)}i=rr();l=o;return r.finishClassExpression(e,n,i)}function sr(){var e=new St;if(E.type!==t.StringLiteral){Et(s.InvalidModuleSpecifier)}return e.finishLiteral(mt())}function ar(){var e,t,n=new St,r;if(Rt("default")){r=new St;mt();t=r.finishIdentifier("default")}else{t=kn()}if(Dt("as")){mt();e=on()}return n.finishExportSpecifier(t,e)}function ur(e){var n=null,r,i=null,o=[];if(E.type===t.Keyword){switch(E.value){case"let":case"const":case"var":case"class":case"function":n=En();return e.finishExportNamedDeclaration(n,o,null)}}It("{");if(!Ot("}")){do{r=r||Rt("default");o.push(ar())}while(Ot(",")&&mt())}It("}");if(Dt("from")){mt();i=sr();Bt()}else if(r){Et(E.value?s.UnexpectedToken:s.MissingFromClause,E.value)}else{Bt()}return e.finishExportNamedDeclaration(n,o,i)}function lr(e){var t=null,n=null;Pt("default");if(Rt("function")){t=tr(new St,true);return e.finishExportDefaultDeclaration(t)}if(Rt("class")){t=ir(true);return e.finishExportDefaultDeclaration(t)}if(Dt("from")){Et(s.UnexpectedToken,E.value)}if(Ot("{")){n=Xt()}else if(Ot("[")){n=Wt()}else{n=wn()}Bt();return e.finishExportDefaultDeclaration(n)}function fr(e){var t;It("*");if(!Dt("from")){Et(E.value?s.UnexpectedToken:s.MissingFromClause,E.value)}mt();t=sr();Bt();return e.finishExportAllDeclaration(t)}function cr(){var e=new St;if(_.inFunctionBody){Et(s.IllegalExportDeclaration)}Pt("export");if(Rt("default")){return lr(e)}if(Ot("*")){return fr(e)}return ur(e)}function pr(){var e,t,n=new St;t=on();if(Dt("as")){mt();e=kn()}return n.finishImportSpecifier(e,t)}function hr(){var e=[];It("{");if(!Ot("}")){do{e.push(pr())}while(Ot(",")&&mt())}It("}");return e}function mr(){var e,t=new St;e=on();return t.finishImportDefaultSpecifier(e)}function dr(){var e,t=new St;It("*");if(!Dt("as")){Et(s.NoAsAfterImportNamespace)}mt();e=on();return t.finishImportNamespaceSpecifier(e)}function gr(){var e,n,r=new St;if(_.inFunctionBody){Et(s.IllegalImportDeclaration)}Pt("import");e=[];if(E.type===t.StringLiteral){n=sr();Bt();return r.finishImportDeclaration(e,n)}if(!Rt("default")&&ft(E)){e.push(mr());if(Ot(",")){mt()}}if(Ot("*")){e.push(dr())}else if(Ot("{")){e=e.concat(hr())}if(!Dt("from")){Et(E.value?s.UnexpectedToken:s.MissingFromClause,E.value)}mt();n=sr();Bt();return r.finishImportDeclaration(e,n)}function yr(){var e,n=[],r,o,a;while(v<x){r=E;if(r.type!==t.StringLiteral){break}e=En();n.push(e);if(e.expression.type!==i.Literal){break}o=u.slice(r.start+1,r.end-1);if(o==="use strict"){l=true;if(a){At(a,s.StrictOctalLiteral)}}else{if(!a&&r.octal){a=r}}}while(v<x){e=En();if(typeof e==="undefined"){break}n.push(e)}return n}function vr(){var e,t;dt();t=new St;e=yr();return t.finishProgram(e)}function Sr(){var e,t,n,r=[];for(e=0;e<C.tokens.length;++e){t=C.tokens[e];n={type:t.type,value:t.value};if(t.regex){n.regex={pattern:t.regex.pattern,flags:t.regex.flags}}if(C.range){n.range=t.range}if(C.loc){n.loc=t.loc}r.push(n)}C.tokens=r}function br(e,n){var r,i;r=String;if(typeof e!=="string"&&!(e instanceof String)){e=r(e)}u=e;c=0;p=u.length>0?1:0;h=0;v=c;S=p;b=h;x=u.length;E=null;_={allowIn:true,allowYield:false,labelSet:{},inFunctionBody:false,inIteration:false,inSwitch:false,lastCommentStart:-1,curlyStack:[]};C={};n=n||{};n.tokens=true;C.tokens=[];C.tokenize=true;C.openParenToken=-1;C.openCurlyToken=-1;C.range=typeof n.range==="boolean"&&n.range;C.loc=typeof n.loc==="boolean"&&n.loc;if(typeof n.comment==="boolean"&&n.comment){C.comments=[]}if(typeof n.tolerant==="boolean"&&n.tolerant){C.errors=[]}try{dt();if(E.type===t.EOF){return C.tokens}mt();while(E.type!==t.EOF){try{mt()}catch(o){if(C.errors){wt(o);break}else{throw o}}}Sr();i=C.tokens;if(typeof C.comments!=="undefined"){i.comments=C.comments}if(typeof C.errors!=="undefined"){i.errors=C.errors}}catch(s){throw s}finally{C={}}return i}function wr(e,t){var n,r;r=String;if(typeof e!=="string"&&!(e instanceof String)){e=r(e)}u=e;c=0;p=u.length>0?1:0;h=0;v=c;S=p;b=h;x=u.length;E=null;_={allowIn:true,allowYield:false,labelSet:{},inFunctionBody:false,inIteration:false,inSwitch:false,lastCommentStart:-1,curlyStack:[]};f="script";l=false;C={};if(typeof t!=="undefined"){C.range=typeof t.range==="boolean"&&t.range;C.loc=typeof t.loc==="boolean"&&t.loc;C.attachComment=typeof t.attachComment==="boolean"&&t.attachComment;if(C.loc&&t.source!==null&&t.source!==undefined){C.source=r(t.source)}if(typeof t.tokens==="boolean"&&t.tokens){C.tokens=[]}if(typeof t.comment==="boolean"&&t.comment){C.comments=[]}if(typeof t.tolerant==="boolean"&&t.tolerant){C.errors=[]}if(C.attachComment){C.range=true;C.comments=[];C.bottomRightStack=[];C.trailingComments=[];C.leadingComments=[]}if(t.sourceType==="module"){f=t.sourceType;l=true}}try{n=vr();if(typeof C.comments!=="undefined"){n.comments=C.comments}if(typeof C.tokens!=="undefined"){Sr();n.tokens=C.tokens}if(typeof C.errors!=="undefined"){n.errors=C.errors}}catch(i){throw i}finally{C={}}return n}e.version="2.4.1";e.tokenize=br;e.parse=wr;e.Syntax=function(){var e,t={};if(typeof Object.create==="function"){t=Object.create(null)}for(e in i){if(i.hasOwnProperty(e)){t[e]=i[e]}}if(typeof Object.freeze==="function"){Object.freeze(t)}return t}()})},{}],47:[function(t,n,r){(function(t,n){"use strict";if(typeof e==="function"&&e.amd){e(["exports"],n)}else if(typeof r!=="undefined"){n(r)}else{n(t.estraverse={})}})(this,function i(e){"use strict";var t,n,r,o,s,a,u,l,f;function c(){}n=Array.isArray;if(!n){n=function k(e){return Object.prototype.toString.call(e)==="[object Array]"}}function p(e){var t={},n,r;for(n in e){if(e.hasOwnProperty(n)){r=e[n];if(typeof r==="object"&&r!==null){t[n]=p(r)}else{t[n]=r}}}return t}function h(e){var t={},n;for(n in e){if(e.hasOwnProperty(n)){t[n]=e[n]}}return t}c(h);function m(e,t){var n,r,i,o;r=e.length;i=0;while(r){n=r>>>1;o=i+n;if(t(e[o])){r=n}else{i=o+1;r-=n+1}}return i}function d(e,t){var n,r,i,o;r=e.length;i=0;while(r){n=r>>>1;o=i+n;if(t(e[o])){i=o+1;r-=n+1}else{r=n}}return i}c(d);s=Object.create||function(){function e(){}return function(t){e.prototype=t;return new e}}();a=Object.keys||function(e){var t=[],n;for(n in e){t.push(n)}return t};function g(e,t){a(t).forEach(function(n){e[n]=t[n]});return e}t={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportBatchSpecifier:"ExportBatchSpecifier",ExportDeclaration:"ExportDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};o={AssignmentExpression:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","defaults","rest","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ClassBody:["body"],ClassDeclaration:["id","body","superClass"],ClassExpression:["id","body","superClass"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportBatchSpecifier:[],ExportDeclaration:["declaration","specifiers","source"],ExportSpecifier:["id","name"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","defaults","rest","body"],FunctionExpression:["id","params","defaults","rest","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["id"],ImportNamespaceSpecifier:["id"],ImportSpecifier:["id","name"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handlers","handler","guardedHandlers","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};u={};l={};f={};r={Break:u,Skip:l,Remove:f};function y(e,t){this.parent=e;this.key=t}y.prototype.replace=function A(e){this.parent[this.key]=e};y.prototype.remove=function I(){if(n(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function v(e,t,n,r){this.node=e;this.path=t;this.wrap=n;this.ref=r}function S(){}S.prototype.path=function L(){var e,t,r,i,o,s;function a(e,t){if(n(t)){for(r=0,i=t.length;r<i;++r){e.push(t[r])}}else{e.push(t)}}if(!this.__current.path){return null}o=[];for(e=2,t=this.__leavelist.length;e<t;++e){s=this.__leavelist[e];a(o,s.path)}a(o,this.__current.path);return o};S.prototype.type=function(){var e=this.current();return e.type||this.__current.wrap};S.prototype.parents=function P(){var e,t,n;n=[];for(e=1,t=this.__leavelist.length;e<t;++e){n.push(this.__leavelist[e].node)}return n};S.prototype.current=function O(){return this.__current.node};S.prototype.__execute=function R(e,t){var n,r;r=undefined;n=this.__current;this.__current=t;this.__state=null;if(e){r=e.call(this,t.node,this.__leavelist[this.__leavelist.length-1].node)}this.__current=n;return r};S.prototype.notify=function D(e){this.__state=e};S.prototype.skip=function(){this.notify(l)};S.prototype["break"]=function(){this.notify(u)};S.prototype.remove=function(){this.notify(f)};S.prototype.__initialize=function(e,t){this.visitor=t;this.root=e;this.__worklist=[];this.__leavelist=[];this.__current=null;this.__state=null;this.__fallback=t.fallback==="iteration";this.__keys=o;if(t.keys){this.__keys=g(s(this.__keys),t.keys)}};function b(e){if(e==null){return false}return typeof e==="object"&&typeof e.type==="string"}function w(e,n){return(e===t.ObjectExpression||e===t.ObjectPattern)&&"properties"===n}S.prototype.traverse=function j(e,t){var r,i,o,s,f,c,p,h,m,d,g,y;this.__initialize(e,t);y={};r=this.__worklist;i=this.__leavelist;r.push(new v(e,null,null,null));i.push(new v(null,null,null,null));while(r.length){o=r.pop();if(o===y){o=i.pop();c=this.__execute(t.leave,o);if(this.__state===u||c===u){return}continue}if(o.node){c=this.__execute(t.enter,o);if(this.__state===u||c===u){return}r.push(y);i.push(o);if(this.__state===l||c===l){continue}s=o.node;f=o.wrap||s.type;d=this.__keys[f];if(!d){if(this.__fallback){d=a(s)}else{throw new Error("Unknown node type "+f+".")}}h=d.length;while((h-=1)>=0){p=d[h];g=s[p];if(!g){continue}if(n(g)){m=g.length;while((m-=1)>=0){if(!g[m]){continue}if(w(f,d[h])){o=new v(g[m],[p,m],"Property",null)}else if(b(g[m])){o=new v(g[m],[p,m],null,null)}else{continue}r.push(o)}}else if(b(g)){r.push(new v(g,p,null,null))}}}}};S.prototype.replace=function B(e,t){function r(e){var t,n,r,o;if(e.ref.remove()){n=e.ref.key;o=e.ref.parent;t=i.length;while(t--){r=i[t];if(r.ref&&r.ref.parent===o){if(r.ref.key<n){break}--r.ref.key}}}}var i,o,s,c,p,h,m,d,g,S,x,E,_;this.__initialize(e,t);x={};i=this.__worklist;o=this.__leavelist;E={root:e};h=new v(e,null,null,new y(E,"root"));i.push(h);o.push(h);while(i.length){h=i.pop();if(h===x){h=o.pop();p=this.__execute(t.leave,h);if(p!==undefined&&p!==u&&p!==l&&p!==f){h.ref.replace(p)}if(this.__state===f||p===f){r(h)}if(this.__state===u||p===u){return E.root}continue}p=this.__execute(t.enter,h);if(p!==undefined&&p!==u&&p!==l&&p!==f){h.ref.replace(p);h.node=p}if(this.__state===f||p===f){r(h);h.node=null}if(this.__state===u||p===u){return E.root}s=h.node;if(!s){continue}i.push(x);o.push(h);if(this.__state===l||p===l){continue}c=h.wrap||s.type;g=this.__keys[c];if(!g){if(this.__fallback){g=a(s)}else{throw new Error("Unknown node type "+c+".")}}m=g.length;while((m-=1)>=0){_=g[m];S=s[_];if(!S){continue}if(n(S)){d=S.length;while((d-=1)>=0){if(!S[d]){continue}if(w(c,g[m])){h=new v(S[d],[_,d],"Property",new y(S,d))}else if(b(S[d])){h=new v(S[d],[_,d],null,new y(S,d))}else{continue}i.push(h)}}else if(b(S)){i.push(new v(S,_,null,new y(s,_)))}}}return E.root};function x(e,t){var n=new S;return n.traverse(e,t)}function E(e,t){var n=new S;return n.replace(e,t)}function _(e,t){var n;n=m(t,function r(t){return t.range[0]>e.range[0]});e.extendedRange=[e.range[0],e.range[1]];if(n!==t.length){e.extendedRange[1]=t[n].range[0]}n-=1;if(n>=0){e.extendedRange[0]=t[n].range[1]}return e}function C(e,t,n){var i=[],o,s,a,u;if(!e.range){throw new Error("attachComments needs range information")}if(!n.length){if(t.length){for(a=0,s=t.length;a<s;a+=1){o=p(t[a]);o.extendedRange=[0,e.range[0]];i.push(o)}e.leadingComments=i}return e}for(a=0,s=t.length;a<s;a+=1){i.push(_(p(t[a]),n))}u=0;x(e,{enter:function(e){var t;while(u<i.length){t=i[u];if(t.extendedRange[1]>e.range[0]){break}if(t.extendedRange[1]===e.range[0]){if(!e.leadingComments){e.leadingComments=[]}e.leadingComments.push(t);i.splice(u,1)}else{u+=1}}if(u===i.length){return r.Break}if(i[u].extendedRange[0]>e.range[1]){return r.Skip}}});u=0;x(e,{leave:function(e){var t;while(u<i.length){t=i[u];if(e.range[1]<t.extendedRange[0]){break}if(e.range[1]===t.extendedRange[0]){if(!e.trailingComments){e.trailingComments=[]}e.trailingComments.push(t);i.splice(u,1)}else{u+=1}}if(u===i.length){return r.Break}if(i[u].extendedRange[0]>e.range[1]){return r.Skip}}});return e}e.version="1.8.1-dev";e.Syntax=t;e.traverse=x;e.replace=E;e.attachComments=C;e.VisitorKeys=o;e.VisitorOption=r;e.Controller=S;e.cloneEnvironment=function(){return i({})};return e})},{}],48:[function(e,t,n){arguments[4][34][0].apply(n,arguments)},{"./source-map/source-map-consumer":53,"./source-map/source-map-generator":54,"./source-map/source-node":55}],49:[function(e,t,n){arguments[4][35][0].apply(n,arguments)},{"./util":56,amdefine:57}],50:[function(e,t,n){if(typeof r!=="function"){var r=e("amdefine")(t,e)}r(function(e,t,n){var r=e("./base64");var i=5;var o=1<<i;var s=o-1;var a=o;function u(e){return e<0?(-e<<1)+1:(e<<1)+0}function l(e){var t=(e&1)===1;var n=e>>1;return t?-n:n}t.encode=function f(e){var t="";var n;var o=u(e);do{n=o&s;o>>>=i;if(o>0){n|=a}t+=r.encode(n)}while(o>0);return t};t.decode=function c(e){var t=0;var n=e.length;var o=0;var u=0;var f,c;do{if(t>=n){throw new Error("Expected more digits in base 64 VLQ value.")}c=r.decode(e.charAt(t++));f=!!(c&a);c&=s;o=o+(c<<u);u+=i}while(f);return{value:l(o),rest:e.slice(t)}}})},{"./base64":51,amdefine:57}],51:[function(e,t,n){arguments[4][37][0].apply(n,arguments)},{amdefine:57}],52:[function(e,t,n){if(typeof r!=="function"){var r=e("amdefine")(t,e)}r(function(e,t,n){function r(e,t,n,i,o){var s=Math.floor((t-e)/2)+e;var a=o(n,i[s],true);if(a===0){return i[s]}else if(a>0){if(t-s>1){return r(s,t,n,i,o)}return i[s]}else{if(s-e>1){return r(e,s,n,i,o)}return e<0?null:i[e]}}t.search=function i(e,t,n){return t.length>0?r(-1,t.length,e,t,n):null}})},{amdefine:57}],53:[function(e,t,n){if(typeof r!=="function"){var r=e("amdefine")(t,e)}r(function(e,t,n){var r=e("./util");var i=e("./binary-search");var o=e("./array-set").ArraySet;var s=e("./base64-vlq");function a(e){var t=e;if(typeof e==="string"){t=JSON.parse(e.replace(/^\)\]\}'/,""))}var n=r.getArg(t,"version");var i=r.getArg(t,"sources");var s=r.getArg(t,"names",[]);var a=r.getArg(t,"sourceRoot",null);var u=r.getArg(t,"sourcesContent",null);var l=r.getArg(t,"mappings");var f=r.getArg(t,"file",null);if(n!=this._version){throw new Error("Unsupported version: "+n)}this._names=o.fromArray(s,true);this._sources=o.fromArray(i,true);this.sourceRoot=a;this.sourcesContent=u;this._mappings=l;this.file=f}a.fromSourceMap=function u(e){var t=Object.create(a.prototype);t._names=o.fromArray(e._names.toArray(),true);t._sources=o.fromArray(e._sources.toArray(),true);t.sourceRoot=e._sourceRoot;
7
+ t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot);t.file=e._file;t.__generatedMappings=e._mappings.slice().sort(r.compareByGeneratedPositions);t.__originalMappings=e._mappings.slice().sort(r.compareByOriginalPositions);return t};a.prototype._version=3;Object.defineProperty(a.prototype,"sources",{get:function(){return this._sources.toArray().map(function(e){return this.sourceRoot!=null?r.join(this.sourceRoot,e):e},this)}});a.prototype.__generatedMappings=null;Object.defineProperty(a.prototype,"_generatedMappings",{get:function(){if(!this.__generatedMappings){this.__generatedMappings=[];this.__originalMappings=[];this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});a.prototype.__originalMappings=null;Object.defineProperty(a.prototype,"_originalMappings",{get:function(){if(!this.__originalMappings){this.__generatedMappings=[];this.__originalMappings=[];this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});a.prototype._parseMappings=function l(e,t){var n=1;var i=0;var o=0;var a=0;var u=0;var l=0;var f=/^[,;]/;var c=e;var p;var h;while(c.length>0){if(c.charAt(0)===";"){n++;c=c.slice(1);i=0}else if(c.charAt(0)===","){c=c.slice(1)}else{p={};p.generatedLine=n;h=s.decode(c);p.generatedColumn=i+h.value;i=p.generatedColumn;c=h.rest;if(c.length>0&&!f.test(c.charAt(0))){h=s.decode(c);p.source=this._sources.at(u+h.value);u+=h.value;c=h.rest;if(c.length===0||f.test(c.charAt(0))){throw new Error("Found a source, but no line and column")}h=s.decode(c);p.originalLine=o+h.value;o=p.originalLine;p.originalLine+=1;c=h.rest;if(c.length===0||f.test(c.charAt(0))){throw new Error("Found a source and line, but no column")}h=s.decode(c);p.originalColumn=a+h.value;a=p.originalColumn;c=h.rest;if(c.length>0&&!f.test(c.charAt(0))){h=s.decode(c);p.name=this._names.at(l+h.value);l+=h.value;c=h.rest}}this.__generatedMappings.push(p);if(typeof p.originalLine==="number"){this.__originalMappings.push(p)}}}this.__generatedMappings.sort(r.compareByGeneratedPositions);this.__originalMappings.sort(r.compareByOriginalPositions)};a.prototype._findMapping=function f(e,t,n,r,o){if(e[n]<=0){throw new TypeError("Line must be greater than or equal to 1, got "+e[n])}if(e[r]<0){throw new TypeError("Column must be greater than or equal to 0, got "+e[r])}return i.search(e,t,o)};a.prototype.originalPositionFor=function c(e){var t={generatedLine:r.getArg(e,"line"),generatedColumn:r.getArg(e,"column")};var n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",r.compareByGeneratedPositions);if(n&&n.generatedLine===t.generatedLine){var i=r.getArg(n,"source",null);if(i!=null&&this.sourceRoot!=null){i=r.join(this.sourceRoot,i)}return{source:i,line:r.getArg(n,"originalLine",null),column:r.getArg(n,"originalColumn",null),name:r.getArg(n,"name",null)}}return{source:null,line:null,column:null,name:null}};a.prototype.sourceContentFor=function p(e){if(!this.sourcesContent){return null}if(this.sourceRoot!=null){e=r.relative(this.sourceRoot,e)}if(this._sources.has(e)){return this.sourcesContent[this._sources.indexOf(e)]}var t;if(this.sourceRoot!=null&&(t=r.urlParse(this.sourceRoot))){var n=e.replace(/^file:\/\//,"");if(t.scheme=="file"&&this._sources.has(n)){return this.sourcesContent[this._sources.indexOf(n)]}if((!t.path||t.path=="/")&&this._sources.has("/"+e)){return this.sourcesContent[this._sources.indexOf("/"+e)]}}throw new Error('"'+e+'" is not in the SourceMap.')};a.prototype.generatedPositionFor=function h(e){var t={source:r.getArg(e,"source"),originalLine:r.getArg(e,"line"),originalColumn:r.getArg(e,"column")};if(this.sourceRoot!=null){t.source=r.relative(this.sourceRoot,t.source)}var n=this._findMapping(t,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions);if(n){return{line:r.getArg(n,"generatedLine",null),column:r.getArg(n,"generatedColumn",null)}}return{line:null,column:null}};a.GENERATED_ORDER=1;a.ORIGINAL_ORDER=2;a.prototype.eachMapping=function m(e,t,n){var i=t||null;var o=n||a.GENERATED_ORDER;var s;switch(o){case a.GENERATED_ORDER:s=this._generatedMappings;break;case a.ORIGINAL_ORDER:s=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var u=this.sourceRoot;s.map(function(e){var t=e.source;if(t!=null&&u!=null){t=r.join(u,t)}return{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:e.name}}).forEach(e,i)};t.SourceMapConsumer=a})},{"./array-set":49,"./base64-vlq":50,"./binary-search":52,"./util":56,amdefine:57}],54:[function(e,t,n){if(typeof r!=="function"){var r=e("amdefine")(t,e)}r(function(e,t,n){var r=e("./base64-vlq");var i=e("./util");var o=e("./array-set").ArraySet;function s(e){if(!e){e={}}this._file=i.getArg(e,"file",null);this._sourceRoot=i.getArg(e,"sourceRoot",null);this._sources=new o;this._names=new o;this._mappings=[];this._sourcesContents=null}s.prototype._version=3;s.fromSourceMap=function a(e){var t=e.sourceRoot;var n=new s({file:e.file,sourceRoot:t});e.eachMapping(function(e){var r={generated:{line:e.generatedLine,column:e.generatedColumn}};if(e.source!=null){r.source=e.source;if(t!=null){r.source=i.relative(t,r.source)}r.original={line:e.originalLine,column:e.originalColumn};if(e.name!=null){r.name=e.name}}n.addMapping(r)});e.sources.forEach(function(t){var r=e.sourceContentFor(t);if(r!=null){n.setSourceContent(t,r)}});return n};s.prototype.addMapping=function u(e){var t=i.getArg(e,"generated");var n=i.getArg(e,"original",null);var r=i.getArg(e,"source",null);var o=i.getArg(e,"name",null);this._validateMapping(t,n,r,o);if(r!=null&&!this._sources.has(r)){this._sources.add(r)}if(o!=null&&!this._names.has(o)){this._names.add(o)}this._mappings.push({generatedLine:t.line,generatedColumn:t.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:r,name:o})};s.prototype.setSourceContent=function l(e,t){var n=e;if(this._sourceRoot!=null){n=i.relative(this._sourceRoot,n)}if(t!=null){if(!this._sourcesContents){this._sourcesContents={}}this._sourcesContents[i.toSetString(n)]=t}else{delete this._sourcesContents[i.toSetString(n)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}};s.prototype.applySourceMap=function f(e,t,n){var r=t;if(t==null){if(e.file==null){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 s=this._sourceRoot;if(s!=null){r=i.relative(s,r)}var a=new o;var u=new o;this._mappings.forEach(function(t){if(t.source===r&&t.originalLine!=null){var o=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});if(o.source!=null){t.source=o.source;if(n!=null){t.source=i.join(n,t.source)}if(s!=null){t.source=i.relative(s,t.source)}t.originalLine=o.line;t.originalColumn=o.column;if(o.name!=null&&t.name!=null){t.name=o.name}}}var l=t.source;if(l!=null&&!a.has(l)){a.add(l)}var f=t.name;if(f!=null&&!u.has(f)){u.add(f)}},this);this._sources=a;this._names=u;e.sources.forEach(function(t){var r=e.sourceContentFor(t);if(r!=null){if(n!=null){t=i.join(n,t)}if(s!=null){t=i.relative(s,t)}this.setSourceContent(t,r)}},this)};s.prototype._validateMapping=function c(e,t,n,r){if(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!t&&!n&&!r){return}else if(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n){return}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))}};s.prototype._serializeMappings=function p(){var e=0;var t=1;var n=0;var o=0;var s=0;var a=0;var u="";var l;this._mappings.sort(i.compareByGeneratedPositions);for(var f=0,c=this._mappings.length;f<c;f++){l=this._mappings[f];if(l.generatedLine!==t){e=0;while(l.generatedLine!==t){u+=";";t++}}else{if(f>0){if(!i.compareByGeneratedPositions(l,this._mappings[f-1])){continue}u+=","}}u+=r.encode(l.generatedColumn-e);e=l.generatedColumn;if(l.source!=null){u+=r.encode(this._sources.indexOf(l.source)-a);a=this._sources.indexOf(l.source);u+=r.encode(l.originalLine-1-o);o=l.originalLine-1;u+=r.encode(l.originalColumn-n);n=l.originalColumn;if(l.name!=null){u+=r.encode(this._names.indexOf(l.name)-s);s=this._names.indexOf(l.name)}}}return u};s.prototype._generateSourcesContent=function h(e,t){return e.map(function(e){if(!this._sourcesContents){return null}if(t!=null){e=i.relative(t,e)}var n=i.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null},this)};s.prototype.toJSON=function m(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){e.file=this._file}if(this._sourceRoot!=null){e.sourceRoot=this._sourceRoot}if(this._sourcesContents){e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)}return e};s.prototype.toString=function d(){return JSON.stringify(this)};t.SourceMapGenerator=s})},{"./array-set":49,"./base64-vlq":50,"./util":56,amdefine:57}],55:[function(e,t,n){if(typeof r!=="function"){var r=e("amdefine")(t,e)}r(function(e,t,n){var r=e("./source-map-generator").SourceMapGenerator;var i=e("./util");var o=/(\r?\n)/;var s=/\r\n|[\s\S]/g;function a(e,t,n,r,i){this.children=[];this.sourceContents={};this.line=e==null?null:e;this.column=t==null?null:t;this.source=n==null?null:n;this.name=i==null?null:i;if(r!=null)this.add(r)}a.fromStringWithSourceMap=function u(e,t,n){var r=new a;var s=e.split(o);var u=function(){var e=s.shift();var t=s.shift()||"";return e+t};var l=1,f=0;var c=null;t.eachMapping(function(e){if(c!==null){if(l<e.generatedLine){var t="";p(c,u());l++;f=0}else{var n=s[0];var t=n.substr(0,e.generatedColumn-f);s[0]=n.substr(e.generatedColumn-f);f=e.generatedColumn;p(c,t);c=e;return}}while(l<e.generatedLine){r.add(u());l++}if(f<e.generatedColumn){var n=s[0];r.add(n.substr(0,e.generatedColumn));s[0]=n.substr(e.generatedColumn);f=e.generatedColumn}c=e},this);if(s.length>0){if(c){p(c,u())}r.add(s.join(""))}t.sources.forEach(function(e){var o=t.sourceContentFor(e);if(o!=null){if(n!=null){e=i.join(n,e)}r.setSourceContent(e,o)}});return r;function p(e,t){if(e===null||e.source===undefined){r.add(t)}else{var o=n?i.join(n,e.source):e.source;r.add(new a(e.originalLine,e.originalColumn,o,t,e.name))}}};a.prototype.add=function l(e){if(Array.isArray(e)){e.forEach(function(e){this.add(e)},this)}else if(e instanceof a||typeof e==="string"){if(e){this.children.push(e)}}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e)}return this};a.prototype.prepend=function f(e){if(Array.isArray(e)){for(var t=e.length-1;t>=0;t--){this.prepend(e[t])}}else if(e instanceof a||typeof e==="string"){this.children.unshift(e)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e)}return this};a.prototype.walk=function c(e){var t;for(var n=0,r=this.children.length;n<r;n++){t=this.children[n];if(t instanceof a){t.walk(e)}else{if(t!==""){e(t,{source:this.source,line:this.line,column:this.column,name:this.name})}}}};a.prototype.join=function p(e){var t;var n;var r=this.children.length;if(r>0){t=[];for(n=0;n<r-1;n++){t.push(this.children[n]);t.push(e)}t.push(this.children[n]);this.children=t}return this};a.prototype.replaceRight=function h(e,t){var n=this.children[this.children.length-1];if(n instanceof a){n.replaceRight(e,t)}else if(typeof n==="string"){this.children[this.children.length-1]=n.replace(e,t)}else{this.children.push("".replace(e,t))}return this};a.prototype.setSourceContent=function m(e,t){this.sourceContents[i.toSetString(e)]=t};a.prototype.walkSourceContents=function d(e){for(var t=0,n=this.children.length;t<n;t++){if(this.children[t]instanceof a){this.children[t].walkSourceContents(e)}}var r=Object.keys(this.sourceContents);for(var t=0,n=r.length;t<n;t++){e(i.fromSetString(r[t]),this.sourceContents[r[t]])}};a.prototype.toString=function g(){var e="";this.walk(function(t){e+=t});return e};a.prototype.toStringWithSourceMap=function y(e){var t={code:"",line:1,column:0};var n=new r(e);var i=false;var a=null;var u=null;var l=null;var f=null;this.walk(function(e,r){t.code+=e;if(r.source!==null&&r.line!==null&&r.column!==null){if(a!==r.source||u!==r.line||l!==r.column||f!==r.name){n.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name})}a=r.source;u=r.line;l=r.column;f=r.name;i=true}else if(i){n.addMapping({generated:{line:t.line,column:t.column}});a=null;i=false}e.match(s).forEach(function(e,s,u){if(o.test(e)){t.line++;t.column=0;if(s+1===u.length){a=null;i=false}else if(i){n.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name})}}else{t.column+=e.length}})});this.walkSourceContents(function(e,t){n.setSourceContent(e,t)});return{code:t.code,map:n}};t.SourceNode=a})},{"./source-map-generator":54,"./util":56,amdefine:57}],56:[function(e,t,n){arguments[4][43][0].apply(n,arguments)},{amdefine:57}],57:[function(e,t,n){(function(n,r){"use strict";function i(t,i){"use strict";var o={},s={},a=false,u=e("path"),l,f;function c(e){var t,n;for(t=0;e[t];t+=1){n=e[t];if(n==="."){e.splice(t,1);t-=1}else if(n===".."){if(t===1&&(e[2]===".."||e[0]==="..")){break}else if(t>0){e.splice(t-1,2);t-=2}}}}function p(e,t){var n;if(e&&e.charAt(0)==="."){if(t){n=t.split("/");n=n.slice(0,n.length-1);n=n.concat(e.split("/"));c(n);e=n.join("/")}}return e}function h(e){return function(t){return p(t,e)}}function m(e){function t(t){s[e]=t}t.fromText=function(e,t){throw new Error("amdefine does not implement load.fromText")};return t}l=function(e,t,r,i){function o(o,s){if(typeof o==="string"){return f(e,t,r,o,i)}else{o=o.map(function(n){return f(e,t,r,n,i)});n.nextTick(function(){s.apply(null,o)})}}o.toUrl=function(e){if(e.indexOf(".")===0){return p(e,u.dirname(r.filename))}else{return e}};return o};i=i||function y(){return t.require.apply(t,arguments)};function d(e,n,o){var u,f,c,p;if(e){f=s[e]={};c={id:e,uri:r,exports:f};u=l(i,f,c,e)}else{if(a){throw new Error("amdefine with no module ID cannot be called more than once per file.")}a=true;f=t.exports;c=t;u=l(i,f,c,t.id)}if(n){n=n.map(function(e){return u(e)})}if(typeof o==="function"){p=o.apply(c.exports,n)}else{p=o}if(p!==undefined){c.exports=p;if(e){s[e]=c.exports}}}f=function(e,t,n,r,i){var a=r.indexOf("!"),u=r,c,g;if(a===-1){r=p(r,i);if(r==="require"){return l(e,t,n,i)}else if(r==="exports"){return t}else if(r==="module"){return n}else if(s.hasOwnProperty(r)){return s[r]}else if(o[r]){d.apply(null,o[r]);return s[r]}else{if(e){return e(u)}else{throw new Error("No module with ID: "+r)}}}else{c=r.substring(0,a);r=r.substring(a+1,r.length);g=f(e,t,n,c,i);if(g.normalize){r=g.normalize(r,h(i))}else{r=p(r,i)}if(s[r]){return s[r]}else{g.load(r,l(e,t,n,i),m(r),{});return s[r]}}};function g(e,t,n){if(Array.isArray(e)){n=t;t=e;e=undefined}else if(typeof e!=="string"){n=e;e=t=undefined}if(t&&!Array.isArray(t)){n=t;t=undefined}if(!t){t=["require","exports","module"]}if(e){o[e]=[e,t,n]}else{d(e,t,n)}}g.require=function(e){if(s[e]){return s[e]}if(o[e]){d.apply(null,o[e]);return s[e]}};g.amd={};return g}t.exports=i}).call(this,e("_process"),"/node_modules/source-map/node_modules/amdefine/amdefine.js")},{_process:26,path:25}],58:[function(e,t,n){t.exports={name:"js2coffee",version:"2.1.0",description:"JavaScript to CoffeeScript compiler",homepage:"http://js2.coffee",main:"dist/js2coffee.js",keywords:["javascript","coffeescript","language","compiler"],scripts:{test:"mocha",autotest:"mocha -R min -b --watch",prepublish:"mocha >/dev/null && make -B dist"},author:"Rico Sta. Cruz <hi@ricostacruz.com>",license:"MIT",bugs:{url:"https://github.com/js2coffee/js2coffee/issues"},repository:{type:"git",url:"https://github.com/js2coffee/js2coffee.git"},browser:"js2coffee.coffee",bin:{js2coffee:"./bin/js2coffee"},dependencies:{escodegen:"^1.6.0",esprima:"^2.4.0",estraverse:"^1.9.1",minimist:"^1.1.0","read-input":"^0.2.0","source-map":"^0.1.38"},devDependencies:{browserify:"^5.10.1",chai:"^1.9.1","coffee-script":"^1.8.0",coffeeify:"^1.0.0",coffeelint:"^1.6.0",glob:"^4.0.5","js-yaml":"^3.2.1",mocha:"^2.1.0","mocha-clean":"^0.4.0","uglify-js":"^2.4.16",underscore:"^1.7.0"}}},{}]},{},[1])(1)});
@@ -0,0 +1,49 @@
1
+ #!/usr/bin/env ruby
2
+ # -*- coding: utf-8 -*-
3
+
4
+ module Js2coffee
5
+ class JsCompiler < Compiler
6
+ self.source = 'js2coffee'
7
+
8
+ class << self
9
+ def wrapper
10
+ <<-WRAPPER
11
+ (function(script, options) {
12
+ try {
13
+ var result;
14
+ result = window.js2coffee.build(script, options);
15
+ return {code: result.code, sourceMap: result.map, warnings: result.warnings};
16
+ } catch (err) {
17
+ if (err instanceof SyntaxError && err.location) {
18
+ throw new SyntaxError([options.filename, err.location.first_line + 1, err.location.first_column + 1].join(":") + ": " + err.message)
19
+ } else {
20
+ throw err;
21
+ }
22
+ }
23
+ })
24
+ WRAPPER
25
+ end
26
+
27
+ def compiler
28
+ @coffee ||= ExecJS.compile("var window = {}; #{source}")
29
+ end
30
+
31
+ def watch_file(file)
32
+ file_path = Pathname(file)
33
+ source_code = file_path.read
34
+ target_file, target_map = Js2coffee::PathHelper.new(file_path).create_coffee_path!
35
+ # generate coffee and SourceMap.
36
+ result = compiler.call(wrapper, source_code)
37
+ target_file.write(result['code'])
38
+ target_map.write(result['sourceMap'])
39
+
40
+ puts "==> #{target_file}"
41
+ target_file
42
+ rescue ExecJS::RuntimeError
43
+ error_msg = "[#{file_path}]: #{$!.message}"
44
+ `notify-send "#{error_msg}" -t 5000` if system 'which notify-send &>/dev/null'
45
+ puts error_msg
46
+ end
47
+ end
48
+ end
49
+ end
@@ -0,0 +1,49 @@
1
+ module Js2coffee
2
+ class PathHelper
3
+ attr_reader :path
4
+
5
+ def initialize(path)
6
+ @path = Pathname(path)
7
+ end
8
+
9
+ def create_js_path!
10
+ # if find `coffee' in descend path, will create js directory at the same level.
11
+ path.descend do |x|
12
+ if x.basename.to_s == 'coffee'
13
+ js_path = path.sub('/coffee/', '/js/').sub_ext('.js')
14
+ map_path = path.sub('/coffee/', '/.map/').sub_ext('.js.map')
15
+
16
+ FileUtils.mkdir_p([js_path.dirname, map_path.dirname])
17
+
18
+ return [js_path, map_path]
19
+ end
20
+ end
21
+
22
+ # else, just save in the same path with new extname.
23
+ js_path = path.sub_ext('.js')
24
+ map_path = path.sub_ext('.js.map').sub(/\/([^\/]+)$/, '/.\1')
25
+ fail 'filename extension must .coffee!' if path == js_path
26
+
27
+ [js_path, map_path]
28
+ end
29
+
30
+ def create_coffee_path!
31
+ path.descend do |x|
32
+ if x.basename.to_s == 'js'
33
+ js_path = path.sub('/js/', '/coffee/').sub_ext('.coffee')
34
+ map_path = path.sub('/js/', '/.map/').sub_ext('.js.map')
35
+
36
+ FileUtils.mkdir_p([js_path.dirname, map_path.dirname])
37
+
38
+ return [js_path, map_path]
39
+ end
40
+ end
41
+
42
+ js_path = path.sub_ext('.coffee')
43
+ map_path = path.sub_ext('.js.map').sub(/\/([^\/]+)$/, '/.\1')
44
+ fail 'filename extension must .js!' if path == js_path
45
+
46
+ [js_path, map_path]
47
+ end
48
+ end
49
+ end