diff --git a/dist/js2coffee.js b/dist/js2coffee.js index 02ea8773..b884cd25 100644 --- a/dist/js2coffee.js +++ b/dist/js2coffee.js @@ -4,4 +4,4 @@ }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 a=t.generatedColumn;return i>n||i==n&&a>=o||r.compareByGeneratedPositions(e,t)<=0}function o(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}o.prototype.unsortedForEach=function a(e,t){this._array.forEach(e,t)};o.prototype.add=function s(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 a=e("./base64-vlq");function s(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 a=r.getArg(t,"names",[]);var s=r.getArg(t,"sourceRoot",null);var u=r.getArg(t,"sourcesContent",null);var l=r.getArg(t,"mappings");var c=r.getArg(t,"file",null);if(n!=this._version){throw new Error("Unsupported version: "+n)}i=i.map(r.normalize);this._names=o.fromArray(a,true);this._sources=o.fromArray(i,true);this.sourceRoot=s;this.sourcesContent=u;this._mappings=l;this.file=c}s.fromSourceMap=function u(e){var t=Object.create(s.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};s.prototype._version=3;Object.defineProperty(s.prototype,"sources",{get:function(){return this._sources.toArray().map(function(e){return this.sourceRoot!=null?r.join(this.sourceRoot,e):e},this)}});s.prototype.__generatedMappings=null;Object.defineProperty(s.prototype,"_generatedMappings",{get:function(){if(!this.__generatedMappings){this.__generatedMappings=[];this.__originalMappings=[];this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});s.prototype.__originalMappings=null;Object.defineProperty(s.prototype,"_originalMappings",{get:function(){if(!this.__originalMappings){this.__generatedMappings=[];this.__originalMappings=[];this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});s.prototype._nextCharIsMappingSeparator=function l(e){var t=e.charAt(0);return t===";"||t===","};s.prototype._parseMappings=function c(e,t){var n=1;var i=0;var o=0;var s=0;var u=0;var l=0;var c=e;var f={};var p;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;a.decode(c,f);p.generatedColumn=i+f.value;i=p.generatedColumn;c=f.rest;if(c.length>0&&!this._nextCharIsMappingSeparator(c)){a.decode(c,f);p.source=this._sources.at(u+f.value);u+=f.value;c=f.rest;if(c.length===0||this._nextCharIsMappingSeparator(c)){throw new Error("Found a source, but no line and column")}a.decode(c,f);p.originalLine=o+f.value;o=p.originalLine;p.originalLine+=1;c=f.rest;if(c.length===0||this._nextCharIsMappingSeparator(c)){throw new Error("Found a source and line, but no column")}a.decode(c,f);p.originalColumn=s+f.value;s=p.originalColumn;c=f.rest;if(c.length>0&&!this._nextCharIsMappingSeparator(c)){a.decode(c,f);p.name=this._names.at(l+f.value);l+=f.value;c=f.rest}}this.__generatedMappings.push(p);if(typeof p.originalLine==="number"){this.__originalMappings.push(p)}}}this.__generatedMappings.sort(r.compareByGeneratedPositions);this.__originalMappings.sort(r.compareByOriginalPositions)};s.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)};s.prototype.computeColumnSpans=function p(){for(var e=0;e=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}};s.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.')};s.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}};s.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()};s.GENERATED_ORDER=1;s.ORIGINAL_ORDER=2;s.prototype.eachMapping=function y(e,t,n){var i=t||null;var o=n||s.GENERATED_ORDER;var a;switch(o){case s.GENERATED_ORDER:a=this._generatedMappings;break;case s.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var u=this.sourceRoot;a.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=s})},{"./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 a=e("./mapping-list").MappingList;function s(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 a;this._sourcesContents=null}s.prototype._version=3;s.fromSourceMap=function u(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 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})};s.prototype.setSourceContent=function c(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}}};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 a=this._sourceRoot;if(a!=null){r=i.relative(a,r)}var s=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(a!=null){t.source=i.relative(a,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&&!s.has(l)){s.add(l)}var c=t.name;if(c!=null&&!u.has(c)){u.add(c)}},this);this._sources=s;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(a!=null){t=i.relative(a,t)}this.setSourceContent(t,r)}},this)};s.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}))}};s.prototype._serializeMappings=function h(){var e=0;var t=1;var n=0;var o=0;var a=0;var s=0;var u="";var l;var c=this._mappings.toArray();for(var f=0,p=c.length;f0){if(!i.compareByGeneratedPositions(l,c[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)-s);s=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)-a);a=this._names.indexOf(l.name)}}}return u};s.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)};s.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};s.prototype.toString=function g(){return JSON.stringify(this)};t.SourceMapGenerator=s})},{"./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 a=10;var s="$$$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[s]=true;if(r!=null)this.add(r)}u.fromStringWithSourceMap=function l(e,t,n){var r=new u;var a=e.split(o);var s=function(){var e=a.shift();var t=a.shift()||"";return e+t};var l=1,c=0;var f=null;t.eachMapping(function(e){if(f!==null){if(l0){if(f){p(f,s())}r.add(a.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 c(e){if(Array.isArray(e)){e.forEach(function(e){this.add(e)},this)}else if(e[s]||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 f(e){if(Array.isArray(e)){for(var t=e.length-1;t>=0;t--){this.prepend(e[t])}}else if(e[s]||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;n0){t=[];for(n=0;n=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 s(n)}return t}t.normalize=u;function l(e,t){if(e===""){e="."}if(t===""){t="."}var n=a(t);var r=a(e);if(r){e=r.path||"/"}if(n&&!n.scheme){if(r){n.scheme=r.scheme}return s(n)}if(n||t.match(o)){return t}if(r&&!r.host&&!r.path){r.host=t;return s(r)}var i=t.charAt(0)==="/"?t:u(e.replace(/\/+$/,"")+"/"+t);if(r){r.path=i;return s(r)}return i}t.join=l;function c(e,t){if(e===""){e="."}e=e.replace(/\/$/,"");var n=a(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=c;function f(e){return"$"+e}t.toSetString=f;function p(e){return e.substr(1)}t.fromSetString=p;function h(e,t){var n=e||"";var r=t||"";return(n>r)-(n0){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("/"));f(n);e=n.join("/")}}return e}function h(e){return function(t){return p(t,e)}}function m(e){function t(t){a[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,a){if(typeof o==="string"){return c(e,t,r,o,i)}else{o=o.map(function(n){return c(e,t,r,n,i)});n.nextTick(function(){a.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,c,f,p;if(e){c=a[e]={};f={id:e,uri:r,exports:c};u=l(i,c,f,e)}else{if(s){throw new Error("amdefine with no module ID cannot be called more than once per file.")}s=true;c=t.exports;f=t;u=l(i,c,f,t.id)}if(n){n=n.map(function(e){return u(e)})}if(typeof o==="function"){p=o.apply(f.exports,n)}else{p=o}if(p!==undefined){f.exports=p;if(e){a[e]=f.exports}}}c=function(e,t,n,r,i){var s=r.indexOf("!"),u=r,f,g;if(s===-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(a.hasOwnProperty(r)){return a[r]}else if(o[r]){d.apply(null,o[r]);return a[r]}else{if(e){return e(u)}else{throw new Error("No module with ID: "+r)}}}else{f=r.substring(0,s);r=r.substring(s+1,r.length);g=c(e,t,n,f,i);if(g.normalize){r=g.normalize(r,h(i))}else{r=p(r,i)}if(a[r]){return a[r]}else{g.load(r,l(e,t,n,i),m(r),{});return a[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(a[e]){return a[e]}if(o[e]){d.apply(null,o[e]);return a[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,a,s,u,l,c,f,p,h,m,d,g,y,v,S,b;t={BooleanLiteral:1,EOF:2,Identifier:3,Keyword:4,NullLiteral:5,NumericLiteral:6,Punctuator:7,StringLiteral:8,RegularExpression:9,Template:10,XJSIdentifier:11,XJSText:12};n={};n[t.BooleanLiteral]="Boolean";n[t.EOF]="";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.XJSIdentifier]="XJSIdentifier";n[t.XJSText]="XJSText";n[t.RegularExpression]="RegularExpression";r=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="];i={ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AssignmentExpression:"AssignmentExpression",BinaryExpression:"BinaryExpression",BlockStatement:"BlockStatement",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ClassProperty:"ClassProperty",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportDeclaration:"ExportDeclaration",ExportBatchSpecifier:"ExportBatchSpecifier",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",ForStatement:"ForStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",LabeledStatement:"LabeledStatement",Literal:"Literal",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",ObjectTypeAnnotation:"ObjectTypeAnnotation",OptionalParameter:"OptionalParameter",ParametricTypeAnnotation:"ParametricTypeAnnotation",ParametricallyTypedIdentifier:"ParametricallyTypedIdentifier",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",SpreadProperty:"SpreadProperty",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",TypeAnnotatedIdentifier:"TypeAnnotatedIdentifier",TypeAnnotation:"TypeAnnotation",UnaryExpression:"UnaryExpression",UnionTypeAnnotation:"UnionTypeAnnotation",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",VoidTypeAnnotation:"VoidTypeAnnotation",WhileStatement:"WhileStatement",WithStatement:"WithStatement",XJSIdentifier:"XJSIdentifier",XJSNamespacedName:"XJSNamespacedName",XJSMemberExpression:"XJSMemberExpression",XJSEmptyExpression:"XJSEmptyExpression",XJSExpressionContainer:"XJSExpressionContainer",XJSElement:"XJSElement",XJSClosingElement:"XJSClosingElement",XJSOpeningElement:"XJSOpeningElement",XJSAttribute:"XJSAttribute",XJSSpreadAttribute:"XJSSpreadAttribute",XJSText:"XJSText",YieldExpression:"YieldExpression",AwaitExpression:"AwaitExpression"};o={Data:1,Get:2,Set:4};c={"static":"static",prototype:"prototype"};a={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",InvalidLHSInFormalsList:"Invalid left-hand side in formals list",InvalidLHSInForIn:"Invalid left-hand side in for-in",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",IllegalDuplicateClassProperty:"Illegal duplicate property in class definition",IllegalReturn:"Illegal return statement",IllegalSpread:"Illegal spread element",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",ParameterAfterRestParameter:"Rest parameter must be final parameter of an argument list",DefaultRestParameter:"Rest parameter can not have a default value",ElementAfterSpreadElement:"Spread must be the final element of an element list",PropertyAfterSpreadProperty:"A rest property must be the final property of an object literal",ObjectPatternAsRestParameter:"Invalid rest parameter",ObjectPatternAsSpread:"Invalid spread argument",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.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",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",MissingFromClause:"Missing from clause",NoAsAfterImportNamespace:"Missing as after import *",InvalidModuleSpecifier:"Invalid module specifier",NoUnintializedConst:"Const must be initialized",ComprehensionRequiresBlock:"Comprehension must have at least one block",ComprehensionError:"Comprehension Error",EachNotAllowed:"Each is not supported",InvalidXJSAttributeValue:"XJS value should be either an expression or a quoted XJS text",ExpectedXJSClosingTag:"Expected corresponding XJS closing tag for %0",AdjacentXJSElements:"Adjacent XJS elements must be wrapped in an enclosing tag"};s={NonAsciiIdentifierStart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),NonAsciiIdentifierPart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮ̀-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҃-҇Ҋ-ԧԱ-Ֆՙա-և֑-ׇֽֿׁׂׅׄא-תװ-ײؐ-ؚؠ-٩ٮ-ۓە-ۜ۟-۪ۨ-ۼۿܐ-݊ݍ-ޱ߀-ߵߺࠀ-࠭ࡀ-࡛ࢠࢢ-ࢬࣤ-ࣾऀ-ॣ०-९ॱ-ॷॹ-ॿঁ-ঃঅ-ঌএঐও-নপ-রলশ-হ়-ৄেৈো-ৎৗড়ঢ়য়-ৣ০-ৱਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹ਼ਾ-ੂੇੈੋ-੍ੑਖ਼-ੜਫ਼੦-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હ઼-ૅે-ૉો-્ૐૠ-ૣ૦-૯ଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହ଼-ୄେୈୋ-୍ୖୗଡ଼ଢ଼ୟ-ୣ୦-୯ୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-்ௐௗ௦-௯ఁ-ఃఅ-ఌఎ-ఐఒ-నప-ళవ-హఽ-ౄె-ైొ-్ౕౖౘౙౠ-ౣ౦-౯ಂಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ಼-ೄೆ-ೈೊ-್ೕೖೞೠ-ೣ೦-೯ೱೲംഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൎൗൠ-ൣ൦-൯ൺ-ൿංඃඅ-ඖක-නඳ-රලව-ෆ්ා-ුූෘ-ෟෲෳก-ฺเ-๎๐-๙ກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆ່-ໍ໐-໙ໜ-ໟༀ༘༙༠-༩༹༵༷༾-ཇཉ-ཬཱ-྄྆-ྗྙ-ྼ࿆က-၉ၐ-ႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፝-፟ᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-᜔ᜠ-᜴ᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-៓ៗៜ៝០-៩᠋-᠍᠐-᠙ᠠ-ᡷᢀ-ᢪᢰ-ᣵᤀ-ᤜᤠ-ᤫᤰ-᤻᥆-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉ᧐-᧙ᨀ-ᨛᨠ-ᩞ᩠-᩿᩼-᪉᪐-᪙ᪧᬀ-ᭋ᭐-᭙᭫-᭳ᮀ-᯳ᰀ-᰷᱀-᱉ᱍ-ᱽ᳐-᳔᳒-ᳶᴀ-ᷦ᷼-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‌‍‿⁀⁔ⁱⁿₐ-ₜ⃐-⃥⃜⃡-⃰ℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵿-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿⸯ々-〇〡-〯〱-〵〸-〼ぁ-ゖ゙゚ゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘫꙀ-꙯ꙴ-꙽ꙿ-ꚗꚟ-꛱ꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠧꡀ-ꡳꢀ-꣄꣐-꣙꣠-ꣷꣻ꤀-꤭ꤰ-꥓ꥠ-ꥼꦀ-꧀ꧏ-꧙ꨀ-ꨶꩀ-ꩍ꩐-꩙ꩠ-ꩶꩺꩻꪀ-ꫂꫛ-ꫝꫠ-ꫯꫲ-꫶ꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯪ꯬꯭꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻ︀-️︠-︦︳︴﹍-﹏ﹰ-ﹴﹶ-ﻼ0-9A-Z_a-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),LeadingZeros:new RegExp("^0+(?!$)")};function x(e,t){if(!e){throw new Error("ASSERT: "+t)}}function E(e){return e>=48&&e<=57}function w(e){return"0123456789abcdefABCDEF".indexOf(e)>=0 }function C(e){return"01234567".indexOf(e)>=0}function _(e){return e===32||e===9||e===11||e===12||e===160||e>=5760&&" ᠎              ".indexOf(String.fromCharCode(e))>0}function A(e){return e===10||e===13||e===8232||e===8233}function k(e){return e===36||e===95||e>=65&&e<=90||e>=97&&e<=122||e===92||e>=128&&s.NonAsciiIdentifierStart.test(String.fromCharCode(e))}function I(e){return e===36||e===95||e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===92||e>=128&&s.NonAsciiIdentifierPart.test(String.fromCharCode(e))}function L(e){switch(e){case"class":case"enum":case"export":case"extends":case"import":case"super":return true;default:return false}}function O(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return true;default:return false}}function P(e){return e==="eval"||e==="arguments"}function T(e){if(p&&O(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"||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==="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 j(){var e,t,n;t=false;n=false;while(h=g){ot({},a.UnexpectedToken,"ILLEGAL")}}}else{e=f.charCodeAt(h++);if(h>=g){ot({},a.UnexpectedToken,"ILLEGAL")}if(e===42){e=f.charCodeAt(h);if(e===47){++h;t=false}}}}else if(e===47){e=f.charCodeAt(h+1);if(e===47){h+=2;n=true}else if(e===42){h+=2;t=true;if(h>=g){ot({},a.UnexpectedToken,"ILLEGAL")}}else{break}}else if(_(e)){++h}else if(A(e)){++h;if(e===13&&f.charCodeAt(h)===10){++h}++m;d=h}else{break}}}function R(e){var t,n,r,i=0;n=e==="u"?4:2;for(t=0;t1114111||e!=="}"){ot({},a.UnexpectedToken,"ILLEGAL")}if(t<=65535){return String.fromCharCode(t)}n=(t-65536>>10)+55296;r=(t-65536&1023)+56320;return String.fromCharCode(n,r)}function M(){var e,t;e=f.charCodeAt(h++);t=String.fromCharCode(e);if(e===92){if(f.charCodeAt(h)!==117){ot({},a.UnexpectedToken,"ILLEGAL")}++h;e=R("u");if(!e||e==="\\"||!k(e.charCodeAt(0))){ot({},a.UnexpectedToken,"ILLEGAL")}t=e}while(h"&&o===">"&&s===">"){if(u==="="){h+=4;return{type:t.Punctuator,value:">>>=",lineNumber:m,lineStart:d,range:[e,h]}}}if(i===">"&&o===">"&&s===">"){h+=3;return{type:t.Punctuator,value:">>>",lineNumber:m,lineStart:d,range:[e,h]}}if(i==="<"&&o==="<"&&s==="="){h+=3;return{type:t.Punctuator,value:"<<=",lineNumber:m,lineStart:d,range:[e,h]}}if(i===">"&&o===">"&&s==="="){h+=3;return{type:t.Punctuator,value:">>=",lineNumber:m,lineStart:d,range:[e,h]}}if(i==="."&&o==="."&&s==="."){h+=3;return{type:t.Punctuator,value:"...",lineNumber:m,lineStart:d,range:[e,h]}}if(i===o&&"+-<>&|".indexOf(i)>=0){h+=2;return{type:t.Punctuator,value:i+o,lineNumber:m,lineStart:d,range:[e,h]}}if(i==="="&&o===">"){h+=2;return{type:t.Punctuator,value:"=>",lineNumber:m,lineStart:d,range:[e,h]}}if("<>=!+-*%&|^/".indexOf(i)>=0){++h;return{type:t.Punctuator,value:i,lineNumber:m,lineStart:d,range:[e,h]}}if(i==="."){++h;return{type:t.Punctuator,value:i,lineNumber:m,lineStart:d,range:[e,h]}}ot({},a.UnexpectedToken,"ILLEGAL")}function q(e){var n="";while(h=0&&h=0&&h=0){p=p.replace(/\\u\{([0-9a-fA-F]{5,6})\}/g,"x").replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"x")}try{s=new RegExp(p)}catch(y){ot({},a.InvalidRegExp)}try{s=new RegExp(i,o)}catch(S){s=null}Y();if(b.tokenize){return{type:t.RegularExpression,value:s,regex:{pattern:i,flags:o},lineNumber:m,lineStart:d,range:[r,h]}}return{literal:e,value:s,regex:{pattern:i,flags:o},range:[r,h]}}function V(e){return e.type===t.Identifier||e.type===t.Keyword||e.type===t.BooleanLiteral||e.type===t.NullLiteral}function K(){var e,t;e=b.tokens[b.tokens.length-1];if(!e){return W()}if(e.type==="Punctuator"){if(e.value===")"){t=b.tokens[b.openParenToken-1];if(t&&t.type==="Keyword"&&(t.value==="if"||t.value==="while"||t.value==="for"||t.value==="with")){return W()}return N()}if(e.value==="}"){if(b.tokens[b.openCurlyToken-3]&&b.tokens[b.openCurlyToken-3].type==="Keyword"){t=b.tokens[b.openCurlyToken-4];if(!t){return N()}}else if(b.tokens[b.openCurlyToken-4]&&b.tokens[b.openCurlyToken-4].type==="Keyword"){t=b.tokens[b.openCurlyToken-5];if(!t){return W()}}else{return N()}if(r.indexOf(t.value)>=0){return N()}return W()}return W()}if(e.type==="Keyword"){return W()}return N()}function $(){var e;if(!S.inXJSChild){j()}if(h>=g){return{type:t.EOF,lineNumber:m,lineStart:d,range:[h,h]}}if(S.inXJSChild){return mr()}e=f.charCodeAt(h);if(e===40||e===41||e===58){return N()}if(e===39||e===34){if(S.inXJSTag){return hr()}return X()}if(S.inXJSTag&&ur(e)){return cr()}if(e===96){return z()}if(k(e)){return F()}if(e===46){if(E(f.charCodeAt(h+1))){return U()}return N()}if(E(e)){return U()}if(b.tokenize&&e===47){return K()}return N()}function H(){var e;e=v;h=e.range[1];m=e.lineNumber;d=e.lineStart;v=$();h=e.range[1];m=e.lineNumber;d=e.lineStart;return e}function Y(){var e,t,n;e=h;t=m;n=d;v=$();h=e;m=t;d=n}function Z(){var e,t,n,r,i;e=typeof b.advance==="function"?b.advance:$;t=h;n=m;r=d;if(v===null){v=e()}h=v.range[1];m=v.lineNumber;d=v.lineStart;i=e();h=t;m=n;d=r;return i}function Q(e){h=e.range[0];m=e.lineNumber;d=e.lineStart;v=e}function et(){if(!b.loc&&!b.range){return undefined}j();return{offset:h,line:m,col:h-d}}function tt(){if(!b.loc&&!b.range){return undefined}return{offset:h,line:m,col:h-d}}function nt(e){var t,n,r=b.bottomRightStack,o=r[r.length-1];if(e.type===i.Program){if(e.body.length>0){return}}if(b.trailingComments.length>0){if(b.trailingComments[0].range[0]>=e.range[1]){n=b.trailingComments;b.trailingComments=[]}else{b.trailingComments.length=0}}else{if(o&&o.trailingComments&&o.trailingComments[0].range[0]>=e.range[1]){n=o.trailingComments;delete o.trailingComments}}if(o){while(o&&o.range[0]>=e.range[0]){t=o;o=r.pop()}}if(t){if(t.leadingComments&&t.leadingComments[t.leadingComments.length-1].range[1]<=e.range[0]){e.leadingComments=t.leadingComments;delete t.leadingComments}}else if(b.leadingComments.length>0&&b.leadingComments[b.leadingComments.length-1].range[1]<=e.range[0]){e.leadingComments=b.leadingComments;b.leadingComments=[]}if(n){e.trailingComments=n}r.push(e)}function rt(e,t){if(b.range){t.range=[e.offset,h]}if(b.loc){t.loc={start:{line:e.line,column:e.col},end:{line:m,column:h-d}};t=y.postProcess(t)}if(b.attachComment){nt(t)}return t}u={name:"SyntaxTree",postProcess:function(e){return e},createArrayExpression:function(e){return{type:i.ArrayExpression,elements:e}},createAssignmentExpression:function(e,t,n){return{type:i.AssignmentExpression,operator:e,left:t,right:n}},createBinaryExpression:function(e,t,n){var r=e==="||"||e==="&&"?i.LogicalExpression:i.BinaryExpression;return{type:r,operator:e,left:t,right:n}},createBlockStatement:function(e){return{type:i.BlockStatement,body:e}},createBreakStatement:function(e){return{type:i.BreakStatement,label:e}},createCallExpression:function(e,t){return{type:i.CallExpression,callee:e,arguments:t}},createCatchClause:function(e,t){return{type:i.CatchClause,param:e,body:t}},createConditionalExpression:function(e,t,n){return{type:i.ConditionalExpression,test:e,consequent:t,alternate:n}},createContinueStatement:function(e){return{type:i.ContinueStatement,label:e}},createDebuggerStatement:function(){return{type:i.DebuggerStatement}},createDoWhileStatement:function(e,t){return{type:i.DoWhileStatement,body:e,test:t}},createEmptyStatement:function(){return{type:i.EmptyStatement}},createExpressionStatement:function(e){return{type:i.ExpressionStatement,expression:e}},createForStatement:function(e,t,n,r){return{type:i.ForStatement,init:e,test:t,update:n,body:r}},createForInStatement:function(e,t,n){return{type:i.ForInStatement,left:e,right:t,body:n,each:false}},createForOfStatement:function(e,t,n){return{type:i.ForOfStatement,left:e,right:t,body:n}},createFunctionDeclaration:function(e,t,n,r,o,a,s,u,l,c){var f={type:i.FunctionDeclaration,id:e,params:t,defaults:n,body:r,rest:o,generator:a,expression:s,returnType:l,parametricType:c};if(u){f.async=true}return f},createFunctionExpression:function(e,t,n,r,o,a,s,u,l,c){var f={type:i.FunctionExpression,id:e,params:t,defaults:n,body:r,rest:o,generator:a,expression:s,returnType:l,parametricType:c};if(u){f.async=true}return f},createIdentifier:function(e){return{type:i.Identifier,name:e,typeAnnotation:undefined}},createTypeAnnotation:function(e,t,n,r,o){return{type:i.TypeAnnotation,id:e,parametricType:t,params:n,returnType:r,nullable:o}},createParametricTypeAnnotation:function(e){return{type:i.ParametricTypeAnnotation,params:e}},createVoidTypeAnnotation:function(){return{type:i.VoidTypeAnnotation}},createObjectTypeAnnotation:function(e,t){return{type:i.ObjectTypeAnnotation,properties:e,nullable:t}},createUnionTypeAnnotation:function(e){return{type:i.UnionTypeAnnotation,types:e}},createTypeAnnotatedIdentifier:function(e,t,n){return{type:i.TypeAnnotatedIdentifier,id:e,annotation:t}},createOptionalParameter:function(e){return{type:i.OptionalParameter,id:e}},createXJSAttribute:function(e,t){return{type:i.XJSAttribute,name:e,value:t||null}},createXJSSpreadAttribute:function(e){return{type:i.XJSSpreadAttribute,argument:e}},createXJSIdentifier:function(e){return{type:i.XJSIdentifier,name:e}},createXJSNamespacedName:function(e,t){return{type:i.XJSNamespacedName,namespace:e,name:t}},createXJSMemberExpression:function(e,t){return{type:i.XJSMemberExpression,object:e,property:t}},createXJSElement:function(e,t,n){return{type:i.XJSElement,openingElement:e,closingElement:t,children:n}},createXJSEmptyExpression:function(){return{type:i.XJSEmptyExpression}},createXJSExpressionContainer:function(e){return{type:i.XJSExpressionContainer,expression:e}},createXJSOpeningElement:function(e,t,n){return{type:i.XJSOpeningElement,name:e,selfClosing:n,attributes:t}},createXJSClosingElement:function(e){return{type:i.XJSClosingElement,name:e}},createIfStatement:function(e,t,n){return{type:i.IfStatement,test:e,consequent:t,alternate:n}},createLabeledStatement:function(e,t){return{type:i.LabeledStatement,label:e,body:t}},createLiteral:function(e){var t={type:i.Literal,value:e.value,raw:f.slice(e.range[0],e.range[1])};if(e.regex){t.regex=e.regex}return t},createMemberExpression:function(e,t,n){return{type:i.MemberExpression,computed:e==="[",object:t,property:n}},createNewExpression:function(e,t){return{type:i.NewExpression,callee:e,arguments:t}},createObjectExpression:function(e){return{type:i.ObjectExpression,properties:e}},createPostfixExpression:function(e,t){return{type:i.UpdateExpression,operator:e,argument:t,prefix:false}},createProgram:function(e){return{type:i.Program,body:e}},createProperty:function(e,t,n,r,o,a){return{type:i.Property,key:t,value:n,kind:e,method:r,shorthand:o,computed:a}},createReturnStatement:function(e){return{type:i.ReturnStatement,argument:e}},createSequenceExpression:function(e){return{type:i.SequenceExpression,expressions:e}},createSwitchCase:function(e,t){return{type:i.SwitchCase,test:e,consequent:t}},createSwitchStatement:function(e,t){return{type:i.SwitchStatement,discriminant:e,cases:t}},createThisExpression:function(){return{type:i.ThisExpression}},createThrowStatement:function(e){return{type:i.ThrowStatement,argument:e}},createTryStatement:function(e,t,n,r){return{type:i.TryStatement,block:e,guardedHandlers:t,handlers:n,finalizer:r}},createUnaryExpression:function(e,t){if(e==="++"||e==="--"){return{type:i.UpdateExpression,operator:e,argument:t,prefix:true}}return{type:i.UnaryExpression,operator:e,argument:t,prefix:true}},createVariableDeclaration:function(e,t){return{type:i.VariableDeclaration,declarations:e,kind:t}},createVariableDeclarator:function(e,t){return{type:i.VariableDeclarator,id:e,init:t}},createWhileStatement:function(e,t){return{type:i.WhileStatement,test:e,body:t}},createWithStatement:function(e,t){return{type:i.WithStatement,object:e,body:t}},createTemplateElement:function(e,t){return{type:i.TemplateElement,value:e,tail:t}},createTemplateLiteral:function(e,t){return{type:i.TemplateLiteral,quasis:e,expressions:t}},createSpreadElement:function(e){return{type:i.SpreadElement,argument:e}},createSpreadProperty:function(e){return{type:i.SpreadProperty,argument:e}},createTaggedTemplateExpression:function(e,t){return{type:i.TaggedTemplateExpression,tag:e,quasi:t}},createArrowFunctionExpression:function(e,t,n,r,o,a){var s={type:i.ArrowFunctionExpression,id:null,params:e,defaults:t,body:n,rest:r,generator:false,expression:o};if(a){s.async=true}return s},createMethodDefinition:function(e,t,n,r){return{type:i.MethodDefinition,key:n,value:r,kind:t,"static":e===c.static}},createClassProperty:function(e){return{type:i.ClassProperty,id:e}},createClassBody:function(e){return{type:i.ClassBody,body:e}},createClassExpression:function(e,t,n,r){return{type:i.ClassExpression,id:e,superClass:t,body:n,parametricType:r}},createClassDeclaration:function(e,t,n,r,o){return{type:i.ClassDeclaration,id:e,superClass:t,body:n,parametricType:r,superParametricType:o}},createModuleSpecifier:function(e){return{type:i.ModuleSpecifier,value:e.value,raw:f.slice(e.range[0],e.range[1])}},createExportSpecifier:function(e,t){return{type:i.ExportSpecifier,id:e,name:t}},createExportBatchSpecifier:function(){return{type:i.ExportBatchSpecifier}},createImportDefaultSpecifier:function(e){return{type:i.ImportDefaultSpecifier,id:e}},createImportNamespaceSpecifier:function(e){return{type:i.ImportNamespaceSpecifier,id:e}},createExportDeclaration:function(e,t,n,r){return{type:i.ExportDeclaration,"default":!!e,declaration:t,specifiers:n,source:r}},createImportSpecifier:function(e,t){return{type:i.ImportSpecifier,id:e,name:t}},createImportDeclaration:function(e,t){return{type:i.ImportDeclaration,specifiers:e,source:t}},createYieldExpression:function(e,t){return{type:i.YieldExpression,argument:e,delegate:t}},createAwaitExpression:function(e){return{type:i.AwaitExpression,argument:e}},createComprehensionExpression:function(e,t,n){return{type:i.ComprehensionExpression,filter:e,blocks:t,body:n}}};function it(){var e,t,n,r;e=h;t=m;n=d;j();r=m!==t;h=e;m=t;d=n;return r}function ot(e,t){var n,r=Array.prototype.slice.call(arguments,2),i=t.replace(/%(\d)/g,function(e,t){x(t>="||e===">>>="||e==="&="||e==="^="||e==="|="}function dt(){return S.yieldAllowed&&pt("yield",!p)}function gt(){var e=v,t=false;if(ht("async")){H();t=!it();Q(e)}return t}function yt(){return S.awaitAllowed&&ht("await")}function vt(){var e,n=h,r=m,i=d,o=v;if(f.charCodeAt(h)===59){H();return}e=m;j();if(m!==e){h=n;m=r;d=i;v=o;return}if(ft(";")){H();return}if(v.type!==t.EOF&&!ft("}")){st(v)}}function St(e){return e.type===i.Identifier||e.type===i.MemberExpression}function bt(e){return St(e)||e.type===i.ObjectPattern||e.type===i.ArrayPattern}function xt(){var e=[],n=[],r=null,o,s=true,u,l=et();ut("[");while(!ft("]")){if(v.value==="for"&&v.type===t.Keyword){if(!s){ot({},a.ComprehensionError)}pt("for");o=In({ignoreBody:true});o.of=o.type===i.ForOfStatement;o.type=i.ComprehensionBlock;if(o.left.kind){ot({},a.ComprehensionError)}n.push(o)}else if(v.value==="if"&&v.type===t.Keyword){if(!s){ot({},a.ComprehensionError)}lt("if");ut("(");r=Yt();ut(")")}else if(v.value===","&&v.type===t.Punctuator){s=false;H();e.push(null)}else{o=Rt();e.push(o);if(o&&o.type===i.SpreadElement){if(!ft("]")){ot({},a.ElementAfterSpreadElement)}}else if(!(ft("]")||pt("for")||pt("if"))){ut(",");s=false}}}ut("]");if(r&&!n.length){ot({},a.ComprehensionRequiresBlock)}if(n.length){if(e.length!==1){ot({},a.ComprehensionError)}return rt(l,y.createComprehensionExpression(r,n,e[0]))}return rt(l,y.createArrayExpression(e))}function Et(e){var t,n,r,o,s,u,l=et();t=p;n=S.yieldAllowed;S.yieldAllowed=e.generator;r=S.awaitAllowed;S.awaitAllowed=e.async;o=e.params||[];s=e.defaults||[];u=qn();if(e.name&&p&&P(o[0].name)){at(e.name,a.StrictParamName)}p=t;S.yieldAllowed=n;S.awaitAllowed=r;return rt(l,y.createFunctionExpression(null,o,s,u,e.rest||null,e.generator,u.type!==i.BlockStatement,e.async,e.returnType,e.parametricType))}function wt(e){var t,n,r;t=p;p=true;n=zn();if(n.stricted){at(n.stricted,n.message)}r=Et({params:n.params,defaults:n.defaults,rest:n.rest,generator:e.generator,async:e.async,returnType:n.returnType,parametricType:e.parametricType});p=t;return r}function Ct(){var e=et(),n=H(),r,i;if(n.type===t.StringLiteral||n.type===t.NumericLiteral){if(p&&n.octal){at(n,a.StrictOctalLiteral)}return rt(e,y.createLiteral(n))}if(n.type===t.Punctuator&&n.value==="["){e=et();r=Ht();i=rt(e,r);ut("]");return i}return rt(e,y.createIdentifier(n.value))}function _t(){var e,n,r,i,o,a,s,u=et();e=v;s=e.value==="[";if(e.type===t.Identifier||s||gt()){r=Ct();if(ft(":")){H();return rt(u,y.createProperty("init",r,Ht(),false,false,s))}if(ft("(")){return rt(u,y.createProperty("init",r,wt({generator:false,async:false}),true,false,s))}if(e.value==="get"){s=v.value==="[";n=Ct();ut("(");ut(")");return rt(u,y.createProperty("get",n,Et({generator:false,async:false}),false,false,s))}if(e.value==="set"){s=v.value==="[";n=Ct();ut("(");e=v;o=[un()];ut(")");return rt(u,y.createProperty("set",n,Et({params:o,generator:false,async:false,name:e}),false,false,s))}if(e.value==="async"){s=v.value==="[";n=Ct();return rt(u,y.createProperty("init",n,wt({generator:false,async:true}),true,false,s))}if(s){st(v)}return rt(u,y.createProperty("init",r,r,false,true,false))}if(e.type===t.EOF||e.type===t.Punctuator){if(!ft("*")){st(e)}H();s=v.type===t.Punctuator&&v.value==="[";r=Ct();if(!ft("(")){st(H())}return rt(u,y.createProperty("init",r,wt({generator:true}),true,false,s))}n=Ct();if(ft(":")){H();return rt(u,y.createProperty("init",n,Ht(),false,false,false))}if(ft("(")){return rt(u,y.createProperty("init",n,wt({generator:false}),true,false,false))}st(H())}function At(){var e=et();ut("...");return rt(e,y.createSpreadProperty(Ht()))}function kt(){var e=[],t,n,r,s,u={},l=String,c=et();ut("{");while(!ft("}")){if(ft("...")){t=At()}else{t=_t();if(t.key.type===i.Identifier){n=t.key.name}else{n=l(t.key.value)}s=t.kind==="init"?o.Data:t.kind==="get"?o.Get:o.Set;r="$"+n;if(Object.prototype.hasOwnProperty.call(u,r)){if(u[r]===o.Data){if(p&&s===o.Data){at({},a.StrictDuplicateProperty)}else if(s!==o.Data){at({},a.AccessorDataProperty)}}else{if(s===o.Data){at({},a.AccessorDataProperty)}else if(u[r]&s){at({},a.AccessorGetSet)}}u[r]|=s}else{u[r]=s}}e.push(t);if(!ft("}")){ut(",")}}ut("}");return rt(c,y.createObjectExpression(e))}function It(e){var t=et(),n=G(e);if(p&&n.octal){ot(n,a.StrictOctalLiteral)}return rt(t,y.createTemplateElement({raw:n.value.raw,cooked:n.value.cooked},n.tail))}function Lt(){var e,t,n,r=et();e=It({head:true});t=[e];n=[];while(!e.tail){n.push(Yt());e=It({head:false});t.push(e)}return rt(r,y.createTemplateLiteral(t,n))}function Ot(){var e;ut("(");++S.parenthesizedCount;e=Yt();ut(")");return e}function Pt(){var e;if(gt()){e=Z();if(e.type===t.Keyword&&e.value==="function"){return true}}return false}function Tt(){var e,n,r,i;n=v.type;if(n===t.Identifier){e=et();return rt(e,y.createIdentifier(H().value))}if(n===t.StringLiteral||n===t.NumericLiteral){if(p&&v.octal){at(v,a.StrictOctalLiteral)}e=et();return rt(e,y.createLiteral(H()))}if(n===t.Keyword){if(pt("this")){e=et();H();return rt(e,y.createThisExpression())}if(pt("function")){return Wn()}if(pt("class")){return Qn()}if(pt("super")){e=et();H();return rt(e,y.createIdentifier("super"))}}if(n===t.BooleanLiteral){e=et();r=H();r.value=r.value==="true";return rt(e,y.createLiteral(r))}if(n===t.NullLiteral){e=et();r=H();r.value=null;return rt(e,y.createLiteral(r))}if(ft("[")){return xt()}if(ft("{")){return kt()}if(ft("(")){return Ot()}if(ft("/")||ft("/=")){e=et();return rt(e,y.createLiteral(W()))}if(n===t.Template){return Lt()}if(ft("<")){return Ir()}st(H())}function jt(){var e=[],t;ut("(");if(!ft(")")){while(h":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}function zt(){var e,t,n,r,i,o,a,s,u,l,c;r=S.allowIn;S.allowIn=true;l=et();s=Ut();t=v;n=Xt(t,r);if(n===0){return s}t.prec=n;H();c=[l,et()];o=Ut();i=[s,t,o];while((n=Xt(v,r))>0){while(i.length>2&&n<=i[i.length-2].prec){o=i.pop();a=i.pop().value;s=i.pop();e=y.createBinaryExpression(a,s,o);c.pop();l=c.pop();rt(l,e);i.push(e);c.push(l)}t=H();t.prec=n;i.push(t);c.push(et());e=Ut();i.push(e)}S.allowIn=r;u=i.length-1;e=i[u];c.pop();while(u>1){e=y.createBinaryExpression(i[u-1].value,i[u-2],e);u-=2;l=c.pop();rt(l,e)}return e}function Gt(){var e,t,n,r,i=et();e=zt();if(ft("?")){H();t=S.allowIn;S.allowIn=true;n=Ht();S.allowIn=t;ut(":");r=Ht();e=rt(i,y.createConditionalExpression(e,n,r))}return e}function Wt(e){var t,n,r,o;if(e.type===i.ObjectExpression){e.type=i.ObjectPattern;for(t=0,n=e.properties.length;t");n=p;r=S.yieldAllowed;S.yieldAllowed=false;o=S.awaitAllowed;S.awaitAllowed=!!e.async;a=qn();if(p&&e.firstRestricted){ot(e.firstRestricted,e.message)}if(p&&e.stricted){at(e.stricted,e.message)}p=n;S.yieldAllowed=r;S.awaitAllowed=o;return rt(t,y.createArrowFunctionExpression(e.params,e.defaults,a,e.rest,a.type!==i.BlockStatement,!!e.async))}function Ht(){var e,n,r,o,s,u=v,l=false;if(dt()){return Vn()}if(yt()){return Kn()}s=S.parenthesizedCount;e=et();if(Pt()){return Wn()}if(gt()){l=true;H()}if(ft("(")){r=Z();if(r.type===t.Punctuator&&r.value===")"||r.value==="..."){o=zn();if(!ft("=>")){st(H())}o.async=l;return $t(o,e)}}r=v;if(l&&!ft("(")&&r.type!==t.Identifier){l=false;Q(u)}n=Gt();if(ft("=>")&&(S.parenthesizedCount===s||S.parenthesizedCount===s+1)){if(n.type===i.Identifier){o=Kt([n])}else if(n.type===i.SequenceExpression){o=Kt(n.expressions)}if(o){o.async=l;return $t(o,e)}}if(l){l=false;Q(u);n=Gt()}if(mt()){if(p&&n.type===i.Identifier&&P(n.name)){at(r,a.StrictLHSAssignment)}if(ft("=")&&(n.type===i.ObjectExpression||n.type===i.ArrayExpression)){Wt(n)}else if(!St(n)){ot({},a.InvalidLHSInAssignment)}n=rt(e,y.createAssignmentExpression(H().value,n,Ht()))}return n}function Yt(){var e,t,n,r,o,s,u;u=S.parenthesizedCount;e=et();t=Ht();n=[t];if(ft(",")){while(h")){if(S.parenthesizedCount===u||S.parenthesizedCount===u+1){t=t.type===i.SequenceExpression?t.expressions:n;o=Kt(t);if(o){return $t(o,e)}}st(H())}if(s&&Z().value!=="=>"){ot({},a.IllegalSpread)}return r||t}function Zt(){var e=[],t;while(h")){n.push(sn());if(!ft(">")){ut(",")}}ut(">");return rt(e,y.createParametricTypeAnnotation(n))}function rn(){var e=null,n=null,r=null,i=false,o=et(),a=null,s,u;if(ft("?")){H();i=true}if(ft("{")){return rt(o,en(i))}if(v.type===t.Identifier){e=sn();if(ft("<")){s=nn()}}else if(ft("(")){H();n=[];while(v.type===t.Identifier||ft("?")){n.push(un(true,true));if(!ft(")")){ut(",")}}ut(")");a=et();ut("=>");r=an(true)}else{if(!pt("void")){st(v)}else{return rt(o,tn())}}return rt(o,y.createTypeAnnotation(e,s,n,r,i))}function on(e){while(ft("|")){H();e.push(rn())}return y.createUnionTypeAnnotation(e)}function an(e){var t,n=et();if(!e){ut(":")}t=rn(n);if(ft("|")){t=on([t])}return rt(n,t)}function sn(){var e=et(),n=H();if(n.type!==t.Identifier){st(n)}return rt(e,y.createIdentifier(n.value))}function un(e,t){var n=et(),r=sn(),i=false;if(t&&ft("?")){ut("?");i=true}if(e||ft(":")){r=rt(n,y.createTypeAnnotatedIdentifier(r,an()))}if(i){r=rt(n,y.createOptionalParameter(r))}return r}function ln(e){var t,n=et(),r=null;if(ft("{")){t=kt();Wt(t)}else if(ft("[")){t=xt();Wt(t)}else{t=S.allowKeyword?Dt():un();if(p&&P(t.name)){at({},a.StrictVarName)}}if(e==="const"){if(!ft("=")){ot({},a.NoUnintializedConst)}ut("=");r=Ht()}else if(ft("=")){H();r=Ht()}return rt(n,y.createVariableDeclarator(t,r))}function cn(e){var t=[];do{t.push(ln(e));if(!ft(",")){break}H()}while(h=n){return}S.lastCommentStart=n;o={type:e,value:t};if(b.range){o.range=[n,r]}if(b.loc){o.loc=i}b.comments.push(o);if(b.attachComment){b.leadingComments.push(o);b.trailingComments.push(o)}}function ar(){var e,t,n,r,i,o;e="";i=false;o=false;while(h=g){o=false;e+=t;n.end={line:m,column:g-d};or("Line",e,r,g,n)}else{e+=t}}else if(i){if(A(t.charCodeAt(0))){if(t==="\r"){++h;e+="\r"}if(t!=="\r"||f[h]==="\n"){e+=f[h];++m;++h;d=h;if(h>=g){ot({},a.UnexpectedToken,"ILLEGAL")}}}else{t=f[h++];if(h>=g){ot({},a.UnexpectedToken,"ILLEGAL")}e+=t;if(t==="*"){t=f[h];if(t==="/"){e=e.substr(0,e.length-1);i=false;++h;n.end={line:m,column:h-d};or("Block",e,r,h,n);e=""}}}}else if(t==="/"){t=f[h+1];if(t==="/"){n={start:{line:m,column:h-d}};r=h;h+=2;o=true;if(h>=g){n.end={line:m,column:h-d};o=false;or("Line",e,r,h,n)}}else if(t==="*"){r=h;h+=2;i=true;n={start:{line:m,column:h-d-2}};if(h>=g){ot({},a.UnexpectedToken,"ILLEGAL")}}else{break}}else if(_(t.charCodeAt(0))){++h}else if(A(t.charCodeAt(0))){++h;if(t==="\r"&&f[h]==="\n"){++h}++m;d=h}else{break}}}l={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪","int":"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"};function sr(e){if(e.type===i.XJSIdentifier){return e.name}if(e.type===i.XJSNamespacedName){return e.namespace.name+":"+e.name.name}if(e.type===i.XJSMemberExpression){return sr(e.object)+"."+sr(e.property)}}function ur(e){return e!==92&&k(e)}function lr(e){return e!==92&&(e===45||I(e))}function cr(){var e,n,r="";n=h;while(h");return rt(r,y.createXJSClosingElement(e))}function kr(){var e,t,n=[],r=false,i,o,a=et();i=S.inXJSChild;o=S.inXJSTag;S.inXJSChild=false;S.inXJSTag=true;ut("<");e=vr();while(h"){n.push(Cr())}S.inXJSTag=o;if(v.value==="/"){ut("/");S.inXJSChild=i;ut(">");r=true}else{S.inXJSChild=true;ut(">")}return rt(a,y.createXJSOpeningElement(e,n,r))}function Ir(){var e,t=null,n=[],r,i,o=et();r=S.inXJSChild;i=S.inXJSTag;e=kr();if(!e.selfClosing){while(h0){r=b.tokens[b.tokens.length-1];if(r.range[0]===e&&r.type==="Punctuator"){if(r.value==="/"||r.value==="/="){b.tokens.pop()}}}b.tokens.push({type:"RegularExpression",value:n.literal,regex:n.regex,range:[e,h],loc:t})}return n}function Pr(){var e,t,n,r=[];for(e=0;e0?1:0;d=0;g=f.length;v=null;S={allowKeyword:true,allowIn:true,labelSet:{},inFunctionBody:false,inIteration:false,inSwitch:false,lastCommentStart:-1};b={};n=n||{};n.tokens=true;b.tokens=[];b.tokenize=true;b.openParenToken=-1;b.openCurlyToken=-1;b.range=typeof n.range==="boolean"&&n.range;b.loc=typeof n.loc==="boolean"&&n.loc;if(typeof n.comment==="boolean"&&n.comment){b.comments=[]}if(typeof n.tolerant==="boolean"&&n.tolerant){b.errors=[]}if(g>0){if(typeof f[0]==="undefined"){if(e instanceof String){f=e.valueOf()}}}Tr();try{Y();if(v.type===t.EOF){return b.tokens}i=H();while(v.type!==t.EOF){try{i=H()}catch(a){i=v;if(b.errors){b.errors.push(a);break}else{throw a}}}Pr();o=b.tokens;if(typeof b.comments!=="undefined"){o.comments=b.comments}if(typeof b.errors!=="undefined"){o.errors=b.errors}}catch(s){throw s}finally{jr();b={}}return o}function Mr(e,t){var n,r;r=String;if(typeof e!=="string"&&!(e instanceof String)){e=r(e)}y=u;f=e;h=0;m=f.length>0?1:0;d=0;g=f.length;v=null;S={allowKeyword:false,allowIn:true,labelSet:{},parenthesizedCount:0,inFunctionBody:false,inIteration:false,inSwitch:false,inXJSChild:false,inXJSTag:false,lastCommentStart:-1,yieldAllowed:false,awaitAllowed:false};b={};if(typeof t!=="undefined"){b.range=typeof t.range==="boolean"&&t.range;b.loc=typeof t.loc==="boolean"&&t.loc;b.attachComment=typeof t.attachComment==="boolean"&&t.attachComment;if(b.loc&&t.source!==null&&t.source!==undefined){y=Rr(y,{postProcess:function(e){e.loc.source=r(t.source);return e}})}if(typeof t.tokens==="boolean"&&t.tokens){b.tokens=[]}if(typeof t.comment==="boolean"&&t.comment){b.comments=[]}if(typeof t.tolerant==="boolean"&&t.tolerant){b.errors=[]}if(b.attachComment){b.range=true;b.comments=[];b.bottomRightStack=[];b.trailingComments=[];b.leadingComments=[]}}if(g>0){if(typeof f[0]==="undefined"){if(e instanceof String){f=e.valueOf()}}}Tr();try{n=ir();if(typeof b.comments!=="undefined"){n.comments=b.comments}if(typeof b.tokens!=="undefined"){Pr();n.tokens=b.tokens}if(typeof b.errors!=="undefined"){n.errors=b.errors}}catch(i){throw i}finally{jr();b={}}return n}e.version="7001.0001.0000-dev-harmony-fb";e.tokenize=Dr;e.parse=Mr;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,a,s,u,l,c;function f(){}n=Array.isArray;if(!n){n=function A(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}f(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}f(d);a=Object.create||function(){function e(){}return function(t){e.prototype=t;return new e}}();s=Object.keys||function(e){var t=[],n;for(n in e){t.push(n)}return t};function g(e,t){s(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={};c={};r={Break:u,Skip:l,Remove:c};function y(e,t){this.parent=e;this.key=t}y.prototype.replace=function k(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,a;function s(e,t){if(n(t)){for(r=0,i=t.length;r=0){p=d[h];g=a[p];if(!g){continue}if(n(g)){m=g.length;while((m-=1)>=0){if(!g[m]){continue}if(x(c,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 D(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=0){C=g[m];S=a[C];if(!S){continue}if(n(S)){d=S.length;while((d-=1)>=0){if(!S[d]){continue}if(x(f,g[m])){h=new v(S[d],[C,d],"Property",new y(S,d))}else if(b(S[d])){h=new v(S[d],[C,d],null,new y(S,d))}else{continue}i.push(h)}}else if(b(S)){i.push(new v(S,C,null,new y(a,C)))}}}return w.root};function E(e,t){var n=new S;return n.traverse(e,t)}function w(e,t){var n=new S;return n.replace(e,t)}function C(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 _(e,t,n){var i=[],o,a,s,u;if(!e.range){throw new Error("attachComments needs range information")}if(!n.length){if(t.length){for(s=0,a=t.length;se.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;E(e,{leave:function(e){var t;while(ue.range[1]){return r.Skip}}});return e}e.version="1.8.1-dev";e.Syntax=t;e.traverse=E;e.replace=w;e.attachComments=_;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<>1;return t?-n:n}t.encode=function c(e){var t="";var n;var o=u(e);do{n=o&a;o>>>=i;if(o>0){n|=s}t+=r.encode(n)}while(o>0);return t};t.decode=function f(e){var t=0;var n=e.length;var o=0;var u=0;var c,f;do{if(t>=n){throw new Error("Expected more digits in base 64 VLQ value.")}f=r.decode(e.charAt(t++));c=!!(f&s);f&=a;o=o+(f<0){if(t-a>1){return r(a,t,n,i,o)}return i[a]}else{if(a-e>1){return r(e,a,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 a=e("./base64-vlq");function s(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 a=r.getArg(t,"names",[]);var s=r.getArg(t,"sourceRoot",null);var u=r.getArg(t,"sourcesContent",null);var l=r.getArg(t,"mappings");var c=r.getArg(t,"file",null);if(n!=this._version){throw new Error("Unsupported version: "+n)}this._names=o.fromArray(a,true);this._sources=o.fromArray(i,true);this.sourceRoot=s;this.sourcesContent=u;this._mappings=l;this.file=c}s.fromSourceMap=function u(e){var t=Object.create(s.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.slice().sort(r.compareByGeneratedPositions);t.__originalMappings=e._mappings.slice().sort(r.compareByOriginalPositions);return t};s.prototype._version=3;Object.defineProperty(s.prototype,"sources",{get:function(){return this._sources.toArray().map(function(e){return this.sourceRoot!=null?r.join(this.sourceRoot,e):e},this)}});s.prototype.__generatedMappings=null;Object.defineProperty(s.prototype,"_generatedMappings",{get:function(){if(!this.__generatedMappings){this.__generatedMappings=[];this.__originalMappings=[];this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});s.prototype.__originalMappings=null;Object.defineProperty(s.prototype,"_originalMappings",{get:function(){if(!this.__originalMappings){this.__generatedMappings=[];this.__originalMappings=[];this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});s.prototype._parseMappings=function l(e,t){var n=1;var i=0;var o=0;var s=0;var u=0;var l=0;var c=/^[,;]/;var f=e;var p;var h;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;h=a.decode(f);p.generatedColumn=i+h.value;i=p.generatedColumn;f=h.rest;if(f.length>0&&!c.test(f.charAt(0))){h=a.decode(f);p.source=this._sources.at(u+h.value);u+=h.value;f=h.rest;if(f.length===0||c.test(f.charAt(0))){throw new Error("Found a source, but no line and column")}h=a.decode(f);p.originalLine=o+h.value;o=p.originalLine;p.originalLine+=1;f=h.rest;if(f.length===0||c.test(f.charAt(0))){throw new Error("Found a source and line, but no column")}h=a.decode(f);p.originalColumn=s+h.value;s=p.originalColumn;f=h.rest;if(f.length>0&&!c.test(f.charAt(0))){h=a.decode(f);p.name=this._names.at(l+h.value);l+=h.value;f=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)};s.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)};s.prototype.originalPositionFor=function f(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}};s.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.')};s.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}};s.GENERATED_ORDER=1;s.ORIGINAL_ORDER=2;s.prototype.eachMapping=function m(e,t,n){var i=t||null;var o=n||s.GENERATED_ORDER;var a;switch(o){case s.GENERATED_ORDER:a=this._generatedMappings;break;case s.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var u=this.sourceRoot;a.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=s})},{"./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 a(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}a.prototype._version=3;a.fromSourceMap=function s(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 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})};a.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}}};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 a=this._sourceRoot;if(a!=null){r=i.relative(a,r)}var s=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(a!=null){t.source=i.relative(a,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&&!s.has(l)){s.add(l)}var c=t.name;if(c!=null&&!u.has(c)){u.add(c)}},this);this._sources=s;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(a!=null){t=i.relative(a,t)}this.setSourceContent(t,r)}},this)};a.prototype._validateMapping=function f(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 p(){var e=0;var t=1;var n=0;var o=0;var a=0;var s=0;var u="";var l;this._mappings.sort(i.compareByGeneratedPositions);for(var c=0,f=this._mappings.length;c0){if(!i.compareByGeneratedPositions(l,this._mappings[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)-s);s=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)-a);a=this._names.indexOf(l.name)}}}return u};a.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)};a.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};a.prototype.toString=function d(){return JSON.stringify(this)};t.SourceMapGenerator=a})},{"./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 a=/\r\n|[\s\S]/g;function s(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)}s.fromStringWithSourceMap=function u(e,t,n){var r=new s;var a=e.split(o);var u=function(){var e=a.shift();var t=a.shift()||"";return e+t};var l=1,c=0;var f=null;t.eachMapping(function(e){if(f!==null){if(l0){if(f){p(f,u())}r.add(a.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 s(e.originalLine,e.originalColumn,o,t,e.name))}}};s.prototype.add=function l(e){if(Array.isArray(e)){e.forEach(function(e){this.add(e)},this)}else if(e instanceof s||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};s.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 instanceof s||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};s.prototype.walk=function f(e){var t;for(var n=0,r=this.children.length;n0){t=[];for(n=0;n0){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("/"));f(n);e=n.join("/")}}return e}function h(e){return function(t){return p(t,e)}}function m(e){function t(t){a[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,a){if(typeof o==="string"){return c(e,t,r,o,i)}else{o=o.map(function(n){return c(e,t,r,n,i)});n.nextTick(function(){a.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,c,f,p;if(e){c=a[e]={};f={id:e,uri:r,exports:c};u=l(i,c,f,e)}else{if(s){throw new Error("amdefine with no module ID cannot be called more than once per file.")}s=true;c=t.exports;f=t;u=l(i,c,f,t.id)}if(n){n=n.map(function(e){return u(e)})}if(typeof o==="function"){p=o.apply(f.exports,n)}else{p=o}if(p!==undefined){f.exports=p;if(e){a[e]=f.exports}}}c=function(e,t,n,r,i){var s=r.indexOf("!"),u=r,f,g;if(s===-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(a.hasOwnProperty(r)){return a[r]}else if(o[r]){d.apply(null,o[r]);return a[r]}else{if(e){return e(u)}else{throw new Error("No module with ID: "+r)}}}else{f=r.substring(0,s);r=r.substring(s+1,r.length);g=c(e,t,n,f,i);if(g.normalize){r=g.normalize(r,h(i))}else{r=p(r,i)}if(a[r]){return a[r]}else{g.load(r,l(e,t,n,i),m(r),{});return a[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(a[e]){return a[e]}if(o[e]){d.apply(null,o[e]);return a[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.0.0-0",description:"",homepage:"http://js2.coffee",main:"index.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 ",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-harmony":"^7001.1.0-dev-harmony-fb",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)}); \ No newline at end of file +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={};c={};r={Break:u,Skip:l,Remove:c};function y(e,t){this.parent=e;this.key=t}y.prototype.replace=function k(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,a;function s(e,t){if(n(t)){for(r=0,i=t.length;r=0){p=d[h];g=a[p];if(!g){continue}if(n(g)){m=g.length;while((m-=1)>=0){if(!g[m]){continue}if(x(c,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 D(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=0){C=g[m];S=a[C];if(!S){continue}if(n(S)){d=S.length;while((d-=1)>=0){if(!S[d]){continue}if(x(f,g[m])){h=new v(S[d],[C,d],"Property",new y(S,d))}else if(b(S[d])){h=new v(S[d],[C,d],null,new y(S,d))}else{continue}i.push(h)}}else if(b(S)){i.push(new v(S,C,null,new y(a,C)))}}}return w.root};function E(e,t){var n=new S;return n.traverse(e,t)}function w(e,t){var n=new S;return n.replace(e,t)}function C(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 _(e,t,n){var i=[],o,a,s,u;if(!e.range){throw new Error("attachComments needs range information")}if(!n.length){if(t.length){for(s=0,a=t.length;se.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;E(e,{leave:function(e){var t;while(ue.range[1]){return r.Skip}}});return e}e.version="1.8.1-dev";e.Syntax=t;e.traverse=E;e.replace=w;e.attachComments=_;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<>1;return t?-n:n}t.encode=function c(e){var t="";var n;var o=u(e);do{n=o&a;o>>>=i;if(o>0){n|=s}t+=r.encode(n)}while(o>0);return t};t.decode=function f(e){var t=0;var n=e.length;var o=0;var u=0;var c,f;do{if(t>=n){throw new Error("Expected more digits in base 64 VLQ value.")}f=r.decode(e.charAt(t++));c=!!(f&s);f&=a;o=o+(f<0){if(t-a>1){return r(a,t,n,i,o)}return i[a]}else{if(a-e>1){return r(e,a,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 a=e("./base64-vlq");function s(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 a=r.getArg(t,"names",[]);var s=r.getArg(t,"sourceRoot",null);var u=r.getArg(t,"sourcesContent",null);var l=r.getArg(t,"mappings");var c=r.getArg(t,"file",null);if(n!=this._version){throw new Error("Unsupported version: "+n)}this._names=o.fromArray(a,true);this._sources=o.fromArray(i,true);this.sourceRoot=s;this.sourcesContent=u;this._mappings=l;this.file=c}s.fromSourceMap=function u(e){var t=Object.create(s.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.slice().sort(r.compareByGeneratedPositions);t.__originalMappings=e._mappings.slice().sort(r.compareByOriginalPositions);return t};s.prototype._version=3;Object.defineProperty(s.prototype,"sources",{get:function(){return this._sources.toArray().map(function(e){return this.sourceRoot!=null?r.join(this.sourceRoot,e):e},this)}});s.prototype.__generatedMappings=null;Object.defineProperty(s.prototype,"_generatedMappings",{get:function(){if(!this.__generatedMappings){this.__generatedMappings=[];this.__originalMappings=[];this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});s.prototype.__originalMappings=null;Object.defineProperty(s.prototype,"_originalMappings",{get:function(){if(!this.__originalMappings){this.__generatedMappings=[];this.__originalMappings=[];this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});s.prototype._parseMappings=function l(e,t){var n=1;var i=0;var o=0;var s=0;var u=0;var l=0;var c=/^[,;]/;var f=e;var p;var h;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;h=a.decode(f);p.generatedColumn=i+h.value;i=p.generatedColumn;f=h.rest;if(f.length>0&&!c.test(f.charAt(0))){h=a.decode(f);p.source=this._sources.at(u+h.value);u+=h.value;f=h.rest;if(f.length===0||c.test(f.charAt(0))){throw new Error("Found a source, but no line and column")}h=a.decode(f);p.originalLine=o+h.value;o=p.originalLine;p.originalLine+=1;f=h.rest;if(f.length===0||c.test(f.charAt(0))){throw new Error("Found a source and line, but no column")}h=a.decode(f);p.originalColumn=s+h.value;s=p.originalColumn;f=h.rest;if(f.length>0&&!c.test(f.charAt(0))){h=a.decode(f);p.name=this._names.at(l+h.value);l+=h.value;f=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)};s.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)};s.prototype.originalPositionFor=function f(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}};s.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.')};s.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}};s.GENERATED_ORDER=1;s.ORIGINAL_ORDER=2;s.prototype.eachMapping=function m(e,t,n){var i=t||null;var o=n||s.GENERATED_ORDER;var a;switch(o){case s.GENERATED_ORDER:a=this._generatedMappings;break;case s.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var u=this.sourceRoot;a.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=s})},{"./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 a(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}a.prototype._version=3;a.fromSourceMap=function s(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 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})};a.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}}};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 a=this._sourceRoot;if(a!=null){r=i.relative(a,r)}var s=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(a!=null){t.source=i.relative(a,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&&!s.has(l)){s.add(l)}var c=t.name;if(c!=null&&!u.has(c)){u.add(c)}},this);this._sources=s;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(a!=null){t=i.relative(a,t)}this.setSourceContent(t,r)}},this)};a.prototype._validateMapping=function f(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 p(){var e=0;var t=1;var n=0;var o=0;var a=0;var s=0;var u="";var l;this._mappings.sort(i.compareByGeneratedPositions);for(var c=0,f=this._mappings.length;c0){if(!i.compareByGeneratedPositions(l,this._mappings[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)-s);s=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)-a);a=this._names.indexOf(l.name)}}}return u};a.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)};a.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};a.prototype.toString=function d(){return JSON.stringify(this)};t.SourceMapGenerator=a})},{"./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 a=/\r\n|[\s\S]/g;function s(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)}s.fromStringWithSourceMap=function u(e,t,n){var r=new s;var a=e.split(o);var u=function(){var e=a.shift();var t=a.shift()||"";return e+t};var l=1,c=0;var f=null;t.eachMapping(function(e){if(f!==null){if(l0){if(f){p(f,u())}r.add(a.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 s(e.originalLine,e.originalColumn,o,t,e.name))}}};s.prototype.add=function l(e){if(Array.isArray(e)){e.forEach(function(e){this.add(e)},this)}else if(e instanceof s||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};s.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 instanceof s||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};s.prototype.walk=function f(e){var t;for(var n=0,r=this.children.length;n0){t=[];for(n=0;n0){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("/"));f(n);e=n.join("/")}}return e}function h(e){return function(t){return p(t,e)}}function m(e){function t(t){a[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,a){if(typeof o==="string"){return c(e,t,r,o,i)}else{o=o.map(function(n){return c(e,t,r,n,i)});n.nextTick(function(){a.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,c,f,p;if(e){c=a[e]={};f={id:e,uri:r,exports:c};u=l(i,c,f,e)}else{if(s){throw new Error("amdefine with no module ID cannot be called more than once per file.")}s=true;c=t.exports;f=t;u=l(i,c,f,t.id)}if(n){n=n.map(function(e){return u(e)})}if(typeof o==="function"){p=o.apply(f.exports,n)}else{p=o}if(p!==undefined){f.exports=p;if(e){a[e]=f.exports}}}c=function(e,t,n,r,i){var s=r.indexOf("!"),u=r,f,g;if(s===-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(a.hasOwnProperty(r)){return a[r]}else if(o[r]){d.apply(null,o[r]);return a[r]}else{if(e){return e(u)}else{throw new Error("No module with ID: "+r)}}}else{f=r.substring(0,s);r=r.substring(s+1,r.length);g=c(e,t,n,f,i);if(g.normalize){r=g.normalize(r,h(i))}else{r=p(r,i)}if(a[r]){return a[r]}else{g.load(r,l(e,t,n,i),m(r),{});return a[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(a[e]){return a[e]}if(o[e]){d.apply(null,o[e]);return a[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.0.0",description:"JavaScript to CoffeeScript compiler",homepage:"http://js2.coffee",main:"index.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 ",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-harmony":"^7001.1.0-dev-harmony-fb",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)}); \ No newline at end of file