rsnext/packages/next/compiled/source-map/source-map.js
JJ Kasper 84b89c8b24
Pre-ncc compiled packages to prevent re-nccing unnecessarily (#11569)
* Pre-ncc compiled packages to prevent re-nccing unnecessarily

* Add compiled files

* Re-run pre-ncc step

* Add check to workflow to ensure pre-compiled doesnt need updating

* Update check-pre-compiled script

* Add handling for lower case license while nccing

* bump

Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-04-07 09:42:16 -04:00

1 line
No EOL
32 KiB
JavaScript

module.exports=function(e,r){"use strict";var n={};function __webpack_require__(r){if(n[r]){return n[r].exports}var o=n[r]={i:r,l:false,exports:{}};e[r].call(o.exports,o,o.exports,__webpack_require__);o.l=true;return o.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(168)}return startup()}({46:function(e,r,n){var o=n(567);var t=Object.prototype.hasOwnProperty;var i=typeof Map!=="undefined";function ArraySet(){this._array=[];this._set=i?new Map:Object.create(null)}ArraySet.fromArray=function ArraySet_fromArray(e,r){var n=new ArraySet;for(var o=0,t=e.length;o<t;o++){n.add(e[o],r)}return n};ArraySet.prototype.size=function ArraySet_size(){return i?this._set.size:Object.getOwnPropertyNames(this._set).length};ArraySet.prototype.add=function ArraySet_add(e,r){var n=i?e:o.toSetString(e);var u=i?this.has(e):t.call(this._set,n);var s=this._array.length;if(!u||r){this._array.push(e)}if(!u){if(i){this._set.set(e,s)}else{this._set[n]=s}}};ArraySet.prototype.has=function ArraySet_has(e){if(i){return this._set.has(e)}else{var r=o.toSetString(e);return t.call(this._set,r)}};ArraySet.prototype.indexOf=function ArraySet_indexOf(e){if(i){var r=this._set.get(e);if(r>=0){return r}}else{var n=o.toSetString(e);if(t.call(this._set,n)){return this._set[n]}}throw new Error('"'+e+'" is not in the set.')};ArraySet.prototype.at=function ArraySet_at(e){if(e>=0&&e<this._array.length){return this._array[e]}throw new Error("No element indexed by "+e)};ArraySet.prototype.toArray=function ArraySet_toArray(){return this._array.slice()};r.ArraySet=ArraySet},116:function(e,r,n){var o=n(668);var t=n(567);var i=n(46).ArraySet;var u=n(245).MappingList;function SourceMapGenerator(e){if(!e){e={}}this._file=t.getArg(e,"file",null);this._sourceRoot=t.getArg(e,"sourceRoot",null);this._skipValidation=t.getArg(e,"skipValidation",false);this._sources=new i;this._names=new i;this._mappings=new u;this._sourcesContents=null}SourceMapGenerator.prototype._version=3;SourceMapGenerator.fromSourceMap=function SourceMapGenerator_fromSourceMap(e){var r=e.sourceRoot;var n=new SourceMapGenerator({file:e.file,sourceRoot:r});e.eachMapping(function(e){var o={generated:{line:e.generatedLine,column:e.generatedColumn}};if(e.source!=null){o.source=e.source;if(r!=null){o.source=t.relative(r,o.source)}o.original={line:e.originalLine,column:e.originalColumn};if(e.name!=null){o.name=e.name}}n.addMapping(o)});e.sources.forEach(function(o){var i=o;if(r!==null){i=t.relative(r,o)}if(!n._sources.has(i)){n._sources.add(i)}var u=e.sourceContentFor(o);if(u!=null){n.setSourceContent(o,u)}});return n};SourceMapGenerator.prototype.addMapping=function SourceMapGenerator_addMapping(e){var r=t.getArg(e,"generated");var n=t.getArg(e,"original",null);var o=t.getArg(e,"source",null);var i=t.getArg(e,"name",null);if(!this._skipValidation){this._validateMapping(r,n,o,i)}if(o!=null){o=String(o);if(!this._sources.has(o)){this._sources.add(o)}}if(i!=null){i=String(i);if(!this._names.has(i)){this._names.add(i)}}this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:o,name:i})};SourceMapGenerator.prototype.setSourceContent=function SourceMapGenerator_setSourceContent(e,r){var n=e;if(this._sourceRoot!=null){n=t.relative(this._sourceRoot,n)}if(r!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[t.toSetString(n)]=r}else if(this._sourcesContents){delete this._sourcesContents[t.toSetString(n)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}};SourceMapGenerator.prototype.applySourceMap=function SourceMapGenerator_applySourceMap(e,r,n){var o=r;if(r==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.')}o=e.file}var u=this._sourceRoot;if(u!=null){o=t.relative(u,o)}var s=new i;var a=new i;this._mappings.unsortedForEach(function(r){if(r.source===o&&r.originalLine!=null){var i=e.originalPositionFor({line:r.originalLine,column:r.originalColumn});if(i.source!=null){r.source=i.source;if(n!=null){r.source=t.join(n,r.source)}if(u!=null){r.source=t.relative(u,r.source)}r.originalLine=i.line;r.originalColumn=i.column;if(i.name!=null){r.name=i.name}}}var c=r.source;if(c!=null&&!s.has(c)){s.add(c)}var l=r.name;if(l!=null&&!a.has(l)){a.add(l)}},this);this._sources=s;this._names=a;e.sources.forEach(function(r){var o=e.sourceContentFor(r);if(o!=null){if(n!=null){r=t.join(n,r)}if(u!=null){r=t.relative(u,r)}this.setSourceContent(r,o)}},this)};SourceMapGenerator.prototype._validateMapping=function SourceMapGenerator_validateMapping(e,r,n,o){if(r&&typeof r.line!=="number"&&typeof r.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!r&&!n&&!o){return}else if(e&&"line"in e&&"column"in e&&r&&"line"in r&&"column"in r&&e.line>0&&e.column>=0&&r.line>0&&r.column>=0&&n){return}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:r,name:o}))}};SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){var e=0;var r=1;var n=0;var i=0;var u=0;var s=0;var a="";var c;var l;var p;var f;var h=this._mappings.toArray();for(var g=0,d=h.length;g<d;g++){l=h[g];c="";if(l.generatedLine!==r){e=0;while(l.generatedLine!==r){c+=";";r++}}else{if(g>0){if(!t.compareByGeneratedPositionsInflated(l,h[g-1])){continue}c+=","}}c+=o.encode(l.generatedColumn-e);e=l.generatedColumn;if(l.source!=null){f=this._sources.indexOf(l.source);c+=o.encode(f-s);s=f;c+=o.encode(l.originalLine-1-i);i=l.originalLine-1;c+=o.encode(l.originalColumn-n);n=l.originalColumn;if(l.name!=null){p=this._names.indexOf(l.name);c+=o.encode(p-u);u=p}}a+=c}return a};SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(e,r){return e.map(function(e){if(!this._sourcesContents){return null}if(r!=null){e=t.relative(r,e)}var n=t.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null},this)};SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){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};SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())};r.SourceMapGenerator=SourceMapGenerator},168:function(e,r,n){r.SourceMapGenerator=n(116).SourceMapGenerator;r.SourceMapConsumer=n(302).SourceMapConsumer;r.SourceNode=n(872).SourceNode},245:function(e,r,n){var o=n(567);function generatedPositionAfter(e,r){var n=e.generatedLine;var t=r.generatedLine;var i=e.generatedColumn;var u=r.generatedColumn;return t>n||t==n&&u>=i||o.compareByGeneratedPositionsInflated(e,r)<=0}function MappingList(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function MappingList_forEach(e,r){this._array.forEach(e,r)};MappingList.prototype.add=function MappingList_add(e){if(generatedPositionAfter(this._last,e)){this._last=e;this._array.push(e)}else{this._sorted=false;this._array.push(e)}};MappingList.prototype.toArray=function MappingList_toArray(){if(!this._sorted){this._array.sort(o.compareByGeneratedPositionsInflated);this._sorted=true}return this._array};r.MappingList=MappingList},285:function(e,r){r.GREATEST_LOWER_BOUND=1;r.LEAST_UPPER_BOUND=2;function recursiveSearch(e,n,o,t,i,u){var s=Math.floor((n-e)/2)+e;var a=i(o,t[s],true);if(a===0){return s}else if(a>0){if(n-s>1){return recursiveSearch(s,n,o,t,i,u)}if(u==r.LEAST_UPPER_BOUND){return n<t.length?n:-1}else{return s}}else{if(s-e>1){return recursiveSearch(e,s,o,t,i,u)}if(u==r.LEAST_UPPER_BOUND){return s}else{return e<0?-1:e}}}r.search=function search(e,n,o,t){if(n.length===0){return-1}var i=recursiveSearch(-1,n.length,e,n,o,t||r.GREATEST_LOWER_BOUND);if(i<0){return-1}while(i-1>=0){if(o(n[i],n[i-1],true)!==0){break}--i}return i}},302:function(e,r,n){var o=n(567);var t=n(285);var i=n(46).ArraySet;var u=n(668);var s=n(882).quickSort;function SourceMapConsumer(e,r){var n=e;if(typeof e==="string"){n=o.parseSourceMapInput(e)}return n.sections!=null?new IndexedSourceMapConsumer(n,r):new BasicSourceMapConsumer(n,r)}SourceMapConsumer.fromSourceMap=function(e,r){return BasicSourceMapConsumer.fromSourceMap(e,r)};SourceMapConsumer.prototype._version=3;SourceMapConsumer.prototype.__generatedMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_generatedMappings",{configurable:true,enumerable:true,get:function(){if(!this.__generatedMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});SourceMapConsumer.prototype.__originalMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_originalMappings",{configurable:true,enumerable:true,get:function(){if(!this.__originalMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});SourceMapConsumer.prototype._charIsMappingSeparator=function SourceMapConsumer_charIsMappingSeparator(e,r){var n=e.charAt(r);return n===";"||n===","};SourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(e,r){throw new Error("Subclasses must implement _parseMappings")};SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;SourceMapConsumer.prototype.eachMapping=function SourceMapConsumer_eachMapping(e,r,n){var t=r||null;var i=n||SourceMapConsumer.GENERATED_ORDER;var u;switch(i){case SourceMapConsumer.GENERATED_ORDER:u=this._generatedMappings;break;case SourceMapConsumer.ORIGINAL_ORDER:u=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var s=this.sourceRoot;u.map(function(e){var r=e.source===null?null:this._sources.at(e.source);r=o.computeSourceURL(s,r,this._sourceMapURL);return{source:r,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:e.name===null?null:this._names.at(e.name)}},this).forEach(e,t)};SourceMapConsumer.prototype.allGeneratedPositionsFor=function SourceMapConsumer_allGeneratedPositionsFor(e){var r=o.getArg(e,"line");var n={source:o.getArg(e,"source"),originalLine:r,originalColumn:o.getArg(e,"column",0)};n.source=this._findSourceIndex(n.source);if(n.source<0){return[]}var i=[];var u=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",o.compareByOriginalPositions,t.LEAST_UPPER_BOUND);if(u>=0){var s=this._originalMappings[u];if(e.column===undefined){var a=s.originalLine;while(s&&s.originalLine===a){i.push({line:o.getArg(s,"generatedLine",null),column:o.getArg(s,"generatedColumn",null),lastColumn:o.getArg(s,"lastGeneratedColumn",null)});s=this._originalMappings[++u]}}else{var c=s.originalColumn;while(s&&s.originalLine===r&&s.originalColumn==c){i.push({line:o.getArg(s,"generatedLine",null),column:o.getArg(s,"generatedColumn",null),lastColumn:o.getArg(s,"lastGeneratedColumn",null)});s=this._originalMappings[++u]}}}return i};r.SourceMapConsumer=SourceMapConsumer;function BasicSourceMapConsumer(e,r){var n=e;if(typeof e==="string"){n=o.parseSourceMapInput(e)}var t=o.getArg(n,"version");var u=o.getArg(n,"sources");var s=o.getArg(n,"names",[]);var a=o.getArg(n,"sourceRoot",null);var c=o.getArg(n,"sourcesContent",null);var l=o.getArg(n,"mappings");var p=o.getArg(n,"file",null);if(t!=this._version){throw new Error("Unsupported version: "+t)}if(a){a=o.normalize(a)}u=u.map(String).map(o.normalize).map(function(e){return a&&o.isAbsolute(a)&&o.isAbsolute(e)?o.relative(a,e):e});this._names=i.fromArray(s.map(String),true);this._sources=i.fromArray(u,true);this._absoluteSources=this._sources.toArray().map(function(e){return o.computeSourceURL(a,e,r)});this.sourceRoot=a;this.sourcesContent=c;this._mappings=l;this._sourceMapURL=r;this.file=p}BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;BasicSourceMapConsumer.prototype._findSourceIndex=function(e){var r=e;if(this.sourceRoot!=null){r=o.relative(this.sourceRoot,r)}if(this._sources.has(r)){return this._sources.indexOf(r)}var n;for(n=0;n<this._absoluteSources.length;++n){if(this._absoluteSources[n]==e){return n}}return-1};BasicSourceMapConsumer.fromSourceMap=function SourceMapConsumer_fromSourceMap(e,r){var n=Object.create(BasicSourceMapConsumer.prototype);var t=n._names=i.fromArray(e._names.toArray(),true);var u=n._sources=i.fromArray(e._sources.toArray(),true);n.sourceRoot=e._sourceRoot;n.sourcesContent=e._generateSourcesContent(n._sources.toArray(),n.sourceRoot);n.file=e._file;n._sourceMapURL=r;n._absoluteSources=n._sources.toArray().map(function(e){return o.computeSourceURL(n.sourceRoot,e,r)});var a=e._mappings.toArray().slice();var c=n.__generatedMappings=[];var l=n.__originalMappings=[];for(var p=0,f=a.length;p<f;p++){var h=a[p];var g=new Mapping;g.generatedLine=h.generatedLine;g.generatedColumn=h.generatedColumn;if(h.source){g.source=u.indexOf(h.source);g.originalLine=h.originalLine;g.originalColumn=h.originalColumn;if(h.name){g.name=t.indexOf(h.name)}l.push(g)}c.push(g)}s(n.__originalMappings,o.compareByOriginalPositions);return n};BasicSourceMapConsumer.prototype._version=3;Object.defineProperty(BasicSourceMapConsumer.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function Mapping(){this.generatedLine=0;this.generatedColumn=0;this.source=null;this.originalLine=null;this.originalColumn=null;this.name=null}BasicSourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(e,r){var n=1;var t=0;var i=0;var a=0;var c=0;var l=0;var p=e.length;var f=0;var h={};var g={};var d=[];var m=[];var _,S,v,C,M;while(f<p){if(e.charAt(f)===";"){n++;f++;t=0}else if(e.charAt(f)===","){f++}else{_=new Mapping;_.generatedLine=n;for(C=f;C<p;C++){if(this._charIsMappingSeparator(e,C)){break}}S=e.slice(f,C);v=h[S];if(v){f+=S.length}else{v=[];while(f<C){u.decode(e,f,g);M=g.value;f=g.rest;v.push(M)}if(v.length===2){throw new Error("Found a source, but no line and column")}if(v.length===3){throw new Error("Found a source and line, but no column")}h[S]=v}_.generatedColumn=t+v[0];t=_.generatedColumn;if(v.length>1){_.source=c+v[1];c+=v[1];_.originalLine=i+v[2];i=_.originalLine;_.originalLine+=1;_.originalColumn=a+v[3];a=_.originalColumn;if(v.length>4){_.name=l+v[4];l+=v[4]}}m.push(_);if(typeof _.originalLine==="number"){d.push(_)}}}s(m,o.compareByGeneratedPositionsDeflated);this.__generatedMappings=m;s(d,o.compareByOriginalPositions);this.__originalMappings=d};BasicSourceMapConsumer.prototype._findMapping=function SourceMapConsumer_findMapping(e,r,n,o,i,u){if(e[n]<=0){throw new TypeError("Line must be greater than or equal to 1, got "+e[n])}if(e[o]<0){throw new TypeError("Column must be greater than or equal to 0, got "+e[o])}return t.search(e,r,i,u)};BasicSourceMapConsumer.prototype.computeColumnSpans=function SourceMapConsumer_computeColumnSpans(){for(var e=0;e<this._generatedMappings.length;++e){var r=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(r.generatedLine===n.generatedLine){r.lastGeneratedColumn=n.generatedColumn-1;continue}}r.lastGeneratedColumn=Infinity}};BasicSourceMapConsumer.prototype.originalPositionFor=function SourceMapConsumer_originalPositionFor(e){var r={generatedLine:o.getArg(e,"line"),generatedColumn:o.getArg(e,"column")};var n=this._findMapping(r,this._generatedMappings,"generatedLine","generatedColumn",o.compareByGeneratedPositionsDeflated,o.getArg(e,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(n>=0){var t=this._generatedMappings[n];if(t.generatedLine===r.generatedLine){var i=o.getArg(t,"source",null);if(i!==null){i=this._sources.at(i);i=o.computeSourceURL(this.sourceRoot,i,this._sourceMapURL)}var u=o.getArg(t,"name",null);if(u!==null){u=this._names.at(u)}return{source:i,line:o.getArg(t,"originalLine",null),column:o.getArg(t,"originalColumn",null),name:u}}}return{source:null,line:null,column:null,name:null}};BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function BasicSourceMapConsumer_hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null})};BasicSourceMapConsumer.prototype.sourceContentFor=function SourceMapConsumer_sourceContentFor(e,r){if(!this.sourcesContent){return null}var n=this._findSourceIndex(e);if(n>=0){return this.sourcesContent[n]}var t=e;if(this.sourceRoot!=null){t=o.relative(this.sourceRoot,t)}var i;if(this.sourceRoot!=null&&(i=o.urlParse(this.sourceRoot))){var u=t.replace(/^file:\/\//,"");if(i.scheme=="file"&&this._sources.has(u)){return this.sourcesContent[this._sources.indexOf(u)]}if((!i.path||i.path=="/")&&this._sources.has("/"+t)){return this.sourcesContent[this._sources.indexOf("/"+t)]}}if(r){return null}else{throw new Error('"'+t+'" is not in the SourceMap.')}};BasicSourceMapConsumer.prototype.generatedPositionFor=function SourceMapConsumer_generatedPositionFor(e){var r=o.getArg(e,"source");r=this._findSourceIndex(r);if(r<0){return{line:null,column:null,lastColumn:null}}var n={source:r,originalLine:o.getArg(e,"line"),originalColumn:o.getArg(e,"column")};var t=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",o.compareByOriginalPositions,o.getArg(e,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(t>=0){var i=this._originalMappings[t];if(i.source===n.source){return{line:o.getArg(i,"generatedLine",null),column:o.getArg(i,"generatedColumn",null),lastColumn:o.getArg(i,"lastGeneratedColumn",null)}}}return{line:null,column:null,lastColumn:null}};r.BasicSourceMapConsumer=BasicSourceMapConsumer;function IndexedSourceMapConsumer(e,r){var n=e;if(typeof e==="string"){n=o.parseSourceMapInput(e)}var t=o.getArg(n,"version");var u=o.getArg(n,"sections");if(t!=this._version){throw new Error("Unsupported version: "+t)}this._sources=new i;this._names=new i;var s={line:-1,column:0};this._sections=u.map(function(e){if(e.url){throw new Error("Support for url field in sections not implemented.")}var n=o.getArg(e,"offset");var t=o.getArg(n,"line");var i=o.getArg(n,"column");if(t<s.line||t===s.line&&i<s.column){throw new Error("Section offsets must be ordered and non-overlapping.")}s=n;return{generatedOffset:{generatedLine:t+1,generatedColumn:i+1},consumer:new SourceMapConsumer(o.getArg(e,"map"),r)}})}IndexedSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);IndexedSourceMapConsumer.prototype.constructor=SourceMapConsumer;IndexedSourceMapConsumer.prototype._version=3;Object.defineProperty(IndexedSourceMapConsumer.prototype,"sources",{get:function(){var e=[];for(var r=0;r<this._sections.length;r++){for(var n=0;n<this._sections[r].consumer.sources.length;n++){e.push(this._sections[r].consumer.sources[n])}}return e}});IndexedSourceMapConsumer.prototype.originalPositionFor=function IndexedSourceMapConsumer_originalPositionFor(e){var r={generatedLine:o.getArg(e,"line"),generatedColumn:o.getArg(e,"column")};var n=t.search(r,this._sections,function(e,r){var n=e.generatedLine-r.generatedOffset.generatedLine;if(n){return n}return e.generatedColumn-r.generatedOffset.generatedColumn});var i=this._sections[n];if(!i){return{source:null,line:null,column:null,name:null}}return i.consumer.originalPositionFor({line:r.generatedLine-(i.generatedOffset.generatedLine-1),column:r.generatedColumn-(i.generatedOffset.generatedLine===r.generatedLine?i.generatedOffset.generatedColumn-1:0),bias:e.bias})};IndexedSourceMapConsumer.prototype.hasContentsOfAllSources=function IndexedSourceMapConsumer_hasContentsOfAllSources(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};IndexedSourceMapConsumer.prototype.sourceContentFor=function IndexedSourceMapConsumer_sourceContentFor(e,r){for(var n=0;n<this._sections.length;n++){var o=this._sections[n];var t=o.consumer.sourceContentFor(e,true);if(t){return t}}if(r){return null}else{throw new Error('"'+e+'" is not in the SourceMap.')}};IndexedSourceMapConsumer.prototype.generatedPositionFor=function IndexedSourceMapConsumer_generatedPositionFor(e){for(var r=0;r<this._sections.length;r++){var n=this._sections[r];if(n.consumer._findSourceIndex(o.getArg(e,"source"))===-1){continue}var t=n.consumer.generatedPositionFor(e);if(t){var i={line:t.line+(n.generatedOffset.generatedLine-1),column:t.column+(n.generatedOffset.generatedLine===t.line?n.generatedOffset.generatedColumn-1:0)};return i}}return{line:null,column:null}};IndexedSourceMapConsumer.prototype._parseMappings=function IndexedSourceMapConsumer_parseMappings(e,r){this.__generatedMappings=[];this.__originalMappings=[];for(var n=0;n<this._sections.length;n++){var t=this._sections[n];var i=t.consumer._generatedMappings;for(var u=0;u<i.length;u++){var a=i[u];var c=t.consumer._sources.at(a.source);c=o.computeSourceURL(t.consumer.sourceRoot,c,this._sourceMapURL);this._sources.add(c);c=this._sources.indexOf(c);var l=null;if(a.name){l=t.consumer._names.at(a.name);this._names.add(l);l=this._names.indexOf(l)}var p={source:c,generatedLine:a.generatedLine+(t.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(t.generatedOffset.generatedLine===a.generatedLine?t.generatedOffset.generatedColumn-1:0),originalLine:a.originalLine,originalColumn:a.originalColumn,name:l};this.__generatedMappings.push(p);if(typeof p.originalLine==="number"){this.__originalMappings.push(p)}}}s(this.__generatedMappings,o.compareByGeneratedPositionsDeflated);s(this.__originalMappings,o.compareByOriginalPositions)};r.IndexedSourceMapConsumer=IndexedSourceMapConsumer},567:function(e,r){function getArg(e,r,n){if(r in e){return e[r]}else if(arguments.length===3){return n}else{throw new Error('"'+r+'" is a required argument.')}}r.getArg=getArg;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;var o=/^data:.+\,.+$/;function urlParse(e){var r=e.match(n);if(!r){return null}return{scheme:r[1],auth:r[2],host:r[3],port:r[4],path:r[5]}}r.urlParse=urlParse;function urlGenerate(e){var r="";if(e.scheme){r+=e.scheme+":"}r+="//";if(e.auth){r+=e.auth+"@"}if(e.host){r+=e.host}if(e.port){r+=":"+e.port}if(e.path){r+=e.path}return r}r.urlGenerate=urlGenerate;function normalize(e){var n=e;var o=urlParse(e);if(o){if(!o.path){return e}n=o.path}var t=r.isAbsolute(n);var i=n.split(/\/+/);for(var u,s=0,a=i.length-1;a>=0;a--){u=i[a];if(u==="."){i.splice(a,1)}else if(u===".."){s++}else if(s>0){if(u===""){i.splice(a+1,s);s=0}else{i.splice(a,2);s--}}}n=i.join("/");if(n===""){n=t?"/":"."}if(o){o.path=n;return urlGenerate(o)}return n}r.normalize=normalize;function join(e,r){if(e===""){e="."}if(r===""){r="."}var n=urlParse(r);var t=urlParse(e);if(t){e=t.path||"/"}if(n&&!n.scheme){if(t){n.scheme=t.scheme}return urlGenerate(n)}if(n||r.match(o)){return r}if(t&&!t.host&&!t.path){t.host=r;return urlGenerate(t)}var i=r.charAt(0)==="/"?r:normalize(e.replace(/\/+$/,"")+"/"+r);if(t){t.path=i;return urlGenerate(t)}return i}r.join=join;r.isAbsolute=function(e){return e.charAt(0)==="/"||n.test(e)};function relative(e,r){if(e===""){e="."}e=e.replace(/\/$/,"");var n=0;while(r.indexOf(e+"/")!==0){var o=e.lastIndexOf("/");if(o<0){return r}e=e.slice(0,o);if(e.match(/^([^\/]+:\/)?\/*$/)){return r}++n}return Array(n+1).join("../")+r.substr(e.length+1)}r.relative=relative;var t=function(){var e=Object.create(null);return!("__proto__"in e)}();function identity(e){return e}function toSetString(e){if(isProtoString(e)){return"$"+e}return e}r.toSetString=t?identity:toSetString;function fromSetString(e){if(isProtoString(e)){return e.slice(1)}return e}r.fromSetString=t?identity:fromSetString;function isProtoString(e){if(!e){return false}var r=e.length;if(r<9){return false}if(e.charCodeAt(r-1)!==95||e.charCodeAt(r-2)!==95||e.charCodeAt(r-3)!==111||e.charCodeAt(r-4)!==116||e.charCodeAt(r-5)!==111||e.charCodeAt(r-6)!==114||e.charCodeAt(r-7)!==112||e.charCodeAt(r-8)!==95||e.charCodeAt(r-9)!==95){return false}for(var n=r-10;n>=0;n--){if(e.charCodeAt(n)!==36){return false}}return true}function compareByOriginalPositions(e,r,n){var o=strcmp(e.source,r.source);if(o!==0){return o}o=e.originalLine-r.originalLine;if(o!==0){return o}o=e.originalColumn-r.originalColumn;if(o!==0||n){return o}o=e.generatedColumn-r.generatedColumn;if(o!==0){return o}o=e.generatedLine-r.generatedLine;if(o!==0){return o}return strcmp(e.name,r.name)}r.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(e,r,n){var o=e.generatedLine-r.generatedLine;if(o!==0){return o}o=e.generatedColumn-r.generatedColumn;if(o!==0||n){return o}o=strcmp(e.source,r.source);if(o!==0){return o}o=e.originalLine-r.originalLine;if(o!==0){return o}o=e.originalColumn-r.originalColumn;if(o!==0){return o}return strcmp(e.name,r.name)}r.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(e,r){if(e===r){return 0}if(e===null){return 1}if(r===null){return-1}if(e>r){return 1}return-1}function compareByGeneratedPositionsInflated(e,r){var n=e.generatedLine-r.generatedLine;if(n!==0){return n}n=e.generatedColumn-r.generatedColumn;if(n!==0){return n}n=strcmp(e.source,r.source);if(n!==0){return n}n=e.originalLine-r.originalLine;if(n!==0){return n}n=e.originalColumn-r.originalColumn;if(n!==0){return n}return strcmp(e.name,r.name)}r.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))}r.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(e,r,n){r=r||"";if(e){if(e[e.length-1]!=="/"&&r[0]!=="/"){e+="/"}r=e+r}if(n){var o=urlParse(n);if(!o){throw new Error("sourceMapURL could not be parsed")}if(o.path){var t=o.path.lastIndexOf("/");if(t>=0){o.path=o.path.substring(0,t+1)}}r=join(urlGenerate(o),r)}return normalize(r)}r.computeSourceURL=computeSourceURL},668:function(e,r,n){var o=n(781);var t=5;var i=1<<t;var u=i-1;var s=i;function toVLQSigned(e){return e<0?(-e<<1)+1:(e<<1)+0}function fromVLQSigned(e){var r=(e&1)===1;var n=e>>1;return r?-n:n}r.encode=function base64VLQ_encode(e){var r="";var n;var i=toVLQSigned(e);do{n=i&u;i>>>=t;if(i>0){n|=s}r+=o.encode(n)}while(i>0);return r};r.decode=function base64VLQ_decode(e,r,n){var i=e.length;var a=0;var c=0;var l,p;do{if(r>=i){throw new Error("Expected more digits in base 64 VLQ value.")}p=o.decode(e.charCodeAt(r++));if(p===-1){throw new Error("Invalid base64 digit: "+e.charAt(r-1))}l=!!(p&s);p&=u;a=a+(p<<c);c+=t}while(l);n.value=fromVLQSigned(a);n.rest=r}},781:function(e,r){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");r.encode=function(e){if(0<=e&&e<n.length){return n[e]}throw new TypeError("Must be between 0 and 63: "+e)};r.decode=function(e){var r=65;var n=90;var o=97;var t=122;var i=48;var u=57;var s=43;var a=47;var c=26;var l=52;if(r<=e&&e<=n){return e-r}if(o<=e&&e<=t){return e-o+c}if(i<=e&&e<=u){return e-i+l}if(e==s){return 62}if(e==a){return 63}return-1}},872:function(e,r,n){var o=n(116).SourceMapGenerator;var t=n(567);var i=/(\r?\n)/;var u=10;var s="$$$isSourceNode$$$";function SourceNode(e,r,n,o,t){this.children=[];this.sourceContents={};this.line=e==null?null:e;this.column=r==null?null:r;this.source=n==null?null:n;this.name=t==null?null:t;this[s]=true;if(o!=null)this.add(o)}SourceNode.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(e,r,n){var o=new SourceNode;var u=e.split(i);var s=0;var a=function(){var e=getNextLine();var r=getNextLine()||"";return e+r;function getNextLine(){return s<u.length?u[s++]:undefined}};var c=1,l=0;var p=null;r.eachMapping(function(e){if(p!==null){if(c<e.generatedLine){addMappingWithCode(p,a());c++;l=0}else{var r=u[s]||"";var n=r.substr(0,e.generatedColumn-l);u[s]=r.substr(e.generatedColumn-l);l=e.generatedColumn;addMappingWithCode(p,n);p=e;return}}while(c<e.generatedLine){o.add(a());c++}if(l<e.generatedColumn){var r=u[s]||"";o.add(r.substr(0,e.generatedColumn));u[s]=r.substr(e.generatedColumn);l=e.generatedColumn}p=e},this);if(s<u.length){if(p){addMappingWithCode(p,a())}o.add(u.splice(s).join(""))}r.sources.forEach(function(e){var i=r.sourceContentFor(e);if(i!=null){if(n!=null){e=t.join(n,e)}o.setSourceContent(e,i)}});return o;function addMappingWithCode(e,r){if(e===null||e.source===undefined){o.add(r)}else{var i=n?t.join(n,e.source):e.source;o.add(new SourceNode(e.originalLine,e.originalColumn,i,r,e.name))}}};SourceNode.prototype.add=function SourceNode_add(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};SourceNode.prototype.prepend=function SourceNode_prepend(e){if(Array.isArray(e)){for(var r=e.length-1;r>=0;r--){this.prepend(e[r])}}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};SourceNode.prototype.walk=function SourceNode_walk(e){var r;for(var n=0,o=this.children.length;n<o;n++){r=this.children[n];if(r[s]){r.walk(e)}else{if(r!==""){e(r,{source:this.source,line:this.line,column:this.column,name:this.name})}}}};SourceNode.prototype.join=function SourceNode_join(e){var r;var n;var o=this.children.length;if(o>0){r=[];for(n=0;n<o-1;n++){r.push(this.children[n]);r.push(e)}r.push(this.children[n]);this.children=r}return this};SourceNode.prototype.replaceRight=function SourceNode_replaceRight(e,r){var n=this.children[this.children.length-1];if(n[s]){n.replaceRight(e,r)}else if(typeof n==="string"){this.children[this.children.length-1]=n.replace(e,r)}else{this.children.push("".replace(e,r))}return this};SourceNode.prototype.setSourceContent=function SourceNode_setSourceContent(e,r){this.sourceContents[t.toSetString(e)]=r};SourceNode.prototype.walkSourceContents=function SourceNode_walkSourceContents(e){for(var r=0,n=this.children.length;r<n;r++){if(this.children[r][s]){this.children[r].walkSourceContents(e)}}var o=Object.keys(this.sourceContents);for(var r=0,n=o.length;r<n;r++){e(t.fromSetString(o[r]),this.sourceContents[o[r]])}};SourceNode.prototype.toString=function SourceNode_toString(){var e="";this.walk(function(r){e+=r});return e};SourceNode.prototype.toStringWithSourceMap=function SourceNode_toStringWithSourceMap(e){var r={code:"",line:1,column:0};var n=new o(e);var t=false;var i=null;var s=null;var a=null;var c=null;this.walk(function(e,o){r.code+=e;if(o.source!==null&&o.line!==null&&o.column!==null){if(i!==o.source||s!==o.line||a!==o.column||c!==o.name){n.addMapping({source:o.source,original:{line:o.line,column:o.column},generated:{line:r.line,column:r.column},name:o.name})}i=o.source;s=o.line;a=o.column;c=o.name;t=true}else if(t){n.addMapping({generated:{line:r.line,column:r.column}});i=null;t=false}for(var l=0,p=e.length;l<p;l++){if(e.charCodeAt(l)===u){r.line++;r.column=0;if(l+1===p){i=null;t=false}else if(t){n.addMapping({source:o.source,original:{line:o.line,column:o.column},generated:{line:r.line,column:r.column},name:o.name})}}else{r.column++}}});this.walkSourceContents(function(e,r){n.setSourceContent(e,r)});return{code:r.code,map:n}};r.SourceNode=SourceNode},882:function(e,r){function swap(e,r,n){var o=e[r];e[r]=e[n];e[n]=o}function randomIntInRange(e,r){return Math.round(e+Math.random()*(r-e))}function doQuickSort(e,r,n,o){if(n<o){var t=randomIntInRange(n,o);var i=n-1;swap(e,t,o);var u=e[o];for(var s=n;s<o;s++){if(r(e[s],u)<=0){i+=1;swap(e,i,s)}}swap(e,i+1,s);var a=i+1;doQuickSort(e,r,n,a-1);doQuickSort(e,r,a+1,o)}}r.quickSort=function(e,r){doQuickSort(e,r,0,e.length-1)}}});