index.js
54.1 KB
module.exports=(()=>{var e={222:(e,r,n)=>{"use strict";const t=n(702).y;const o=n(702).P;class CodeNode{constructor(e){this.generatedCode=e}clone(){return new CodeNode(this.generatedCode)}getGeneratedCode(){return this.generatedCode}getMappings(e){const r=t(this.generatedCode);const n=Array(r+1).join(";");if(r>0){e.unfinishedGeneratedLine=o(this.generatedCode);if(e.unfinishedGeneratedLine>0){return n+"A"}else{return n}}else{const r=e.unfinishedGeneratedLine;e.unfinishedGeneratedLine+=o(this.generatedCode);if(r===0&&e.unfinishedGeneratedLine>0){return"A"}else{return""}}}addGeneratedCode(e){this.generatedCode+=e}mapGeneratedCode(e){const r=e(this.generatedCode);return new CodeNode(r)}getNormalizedNodes(){return[this]}merge(e){if(e instanceof CodeNode){this.generatedCode+=e.generatedCode;return this}return false}}e.exports=CodeNode},288:e=>{"use strict";class MappingsContext{constructor(){this.sourcesIndices=new Map;this.sourcesContent=new Map;this.hasSourceContent=false;this.currentOriginalLine=1;this.currentSource=0;this.unfinishedGeneratedLine=false}ensureSource(e,r){let n=this.sourcesIndices.get(e);if(typeof n==="number"){return n}n=this.sourcesIndices.size;this.sourcesIndices.set(e,n);this.sourcesContent.set(e,r);if(typeof r==="string")this.hasSourceContent=true;return n}getArrays(){const e=[];const r=[];for(const n of this.sourcesContent){e.push(n[0]);r.push(n[1])}return{sources:e,sourcesContent:r}}}e.exports=MappingsContext},420:(e,r,n)=>{"use strict";const t=n(278);const o=n(702).y;const i=n(702).P;const s=";AAAA";class SingleLineNode{constructor(e,r,n,t){this.generatedCode=e;this.originalSource=n;this.source=r;this.line=t||1;this._numberOfLines=o(this.generatedCode);this._endsWithNewLine=e[e.length-1]==="\n"}clone(){return new SingleLineNode(this.generatedCode,this.source,this.originalSource,this.line)}getGeneratedCode(){return this.generatedCode}getMappings(e){if(!this.generatedCode)return"";const r=this._numberOfLines;const n=e.ensureSource(this.source,this.originalSource);let o="A";if(e.unfinishedGeneratedLine)o=","+t.encode(e.unfinishedGeneratedLine);o+=t.encode(n-e.currentSource);o+=t.encode(this.line-e.currentOriginalLine);o+="A";e.currentSource=n;e.currentOriginalLine=this.line;const u=e.unfinishedGeneratedLine=i(this.generatedCode);o+=Array(r).join(s);if(u===0){o+=";"}else{if(r!==0)o+=s}return o}getNormalizedNodes(){return[this]}mapGeneratedCode(e){const r=e(this.generatedCode);return new SingleLineNode(r,this.source,this.originalSource,this.line)}merge(e){if(e instanceof SingleLineNode){return this.mergeSingleLineNode(e)}return false}mergeSingleLineNode(e){if(this.source===e.source&&this.originalSource===e.originalSource){if(this.line===e.line){this.generatedCode+=e.generatedCode;this._numberOfLines+=e._numberOfLines;this._endsWithNewLine=e._endsWithNewLine;return this}else if(this.line+1===e.line&&this._endsWithNewLine&&this._numberOfLines===1&&e._numberOfLines<=1){return new u(this.generatedCode+e.generatedCode,this.source,this.originalSource,this.line)}}return false}}e.exports=SingleLineNode;const u=n(785)},1:(e,r,n)=>{"use strict";const t=n(222);const o=n(785);const i=n(288);const s=n(702).y;class SourceListMap{constructor(e,r,n){if(Array.isArray(e)){this.children=e}else{this.children=[];if(e||r)this.add(e,r,n)}}add(e,r,n){if(typeof e==="string"){if(r){this.children.push(new o(e,r,n))}else if(this.children.length>0&&this.children[this.children.length-1]instanceof t){this.children[this.children.length-1].addGeneratedCode(e)}else{this.children.push(new t(e))}}else if(e.getMappings&&e.getGeneratedCode){this.children.push(e)}else if(e.children){e.children.forEach(function(e){this.children.push(e)},this)}else{throw new Error("Invalid arguments to SourceListMap.protfotype.add: Expected string, Node or SourceListMap")}}preprend(e,r,n){if(typeof e==="string"){if(r){this.children.unshift(new o(e,r,n))}else if(this.children.length>0&&this.children[this.children.length-1].preprendGeneratedCode){this.children[this.children.length-1].preprendGeneratedCode(e)}else{this.children.unshift(new t(e))}}else if(e.getMappings&&e.getGeneratedCode){this.children.unshift(e)}else if(e.children){e.children.slice().reverse().forEach(function(e){this.children.unshift(e)},this)}else{throw new Error("Invalid arguments to SourceListMap.protfotype.prerend: Expected string, Node or SourceListMap")}}mapGeneratedCode(e){const r=[];this.children.forEach(function(e){e.getNormalizedNodes().forEach(function(e){r.push(e)})});const n=[];r.forEach(function(r){r=r.mapGeneratedCode(e);if(n.length===0){n.push(r)}else{const e=n[n.length-1];const t=e.merge(r);if(t){n[n.length-1]=t}else{n.push(r)}}});return new SourceListMap(n)}toString(){return this.children.map(function(e){return e.getGeneratedCode()}).join("")}toStringWithSourceMap(e){const r=new i;const n=this.children.map(function(e){return e.getGeneratedCode()}).join("");const t=this.children.map(function(e){return e.getMappings(r)}).join("");const o=r.getArrays();return{source:n,map:{version:3,file:e&&e.file,sources:o.sources,sourcesContent:r.hasSourceContent?o.sourcesContent:undefined,mappings:t}}}}e.exports=SourceListMap},785:(e,r,n)=>{"use strict";const t=n(278);const o=n(702).y;const i=n(702).P;const s=";AACA";class SourceNode{constructor(e,r,n,t){this.generatedCode=e;this.originalSource=n;this.source=r;this.startingLine=t||1;this._numberOfLines=o(this.generatedCode);this._endsWithNewLine=e[e.length-1]==="\n"}clone(){return new SourceNode(this.generatedCode,this.source,this.originalSource,this.startingLine)}getGeneratedCode(){return this.generatedCode}addGeneratedCode(e){this.generatedCode+=e;this._numberOfLines+=o(e);this._endsWithNewLine=e[e.length-1]==="\n"}getMappings(e){if(!this.generatedCode)return"";const r=this._numberOfLines;const n=e.ensureSource(this.source,this.originalSource);let o="A";if(e.unfinishedGeneratedLine)o=","+t.encode(e.unfinishedGeneratedLine);o+=t.encode(n-e.currentSource);o+=t.encode(this.startingLine-e.currentOriginalLine);o+="A";e.currentSource=n;e.currentOriginalLine=this.startingLine+r-1;const u=e.unfinishedGeneratedLine=i(this.generatedCode);o+=Array(r).join(s);if(u===0){o+=";"}else{if(r!==0){o+=s}e.currentOriginalLine++}return o}mapGeneratedCode(e){throw new Error("Cannot map generated code on a SourceMap. Normalize to SingleLineNode first.")}getNormalizedNodes(){var e=[];var r=this.startingLine;var n=this.generatedCode;var t=0;var o=n.length;while(t<o){var i=n.indexOf("\n",t)+1;if(i===0)i=o;var s=n.substr(t,i-t);e.push(new u(s,this.source,this.originalSource,r));t=i;r++}return e}merge(e){if(e instanceof SourceNode){return this.mergeSourceNode(e)}else if(e instanceof u){return this.mergeSingleLineNode(e)}return false}mergeSourceNode(e){if(this.source===e.source&&this._endsWithNewLine&&this.startingLine+this._numberOfLines===e.startingLine){this.generatedCode+=e.generatedCode;this._numberOfLines+=e._numberOfLines;this._endsWithNewLine=e._endsWithNewLine;return this}return false}mergeSingleLineNode(e){if(this.source===e.source&&this._endsWithNewLine&&this.startingLine+this._numberOfLines===e.line&&e._numberOfLines<=1){this.addSingleLineNode(e);return this}return false}addSingleLineNode(e){this.generatedCode+=e.generatedCode;this._numberOfLines+=e._numberOfLines;this._endsWithNewLine=e._endsWithNewLine}}e.exports=SourceNode;const u=n(420)},278:(e,r)=>{var n={};var t={};"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("").forEach(function(e,r){n[e]=r;t[r]=e});var o={};o.encode=function base64_encode(e){if(e in t){return t[e]}throw new TypeError("Must be between 0 and 63: "+e)};o.decode=function base64_decode(e){if(e in n){return n[e]}throw new TypeError("Not a valid base 64 digit: "+e)};var i=5;var s=1<<i;var u=s-1;var a=s;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 t=toVLQSigned(e);do{n=t&u;t>>>=i;if(t>0){n|=a}r+=o.encode(n)}while(t>0);return r};r.decode=function base64VLQ_decode(e,r){var n=0;var t=e.length;var s=0;var c=0;var l,h;do{if(n>=t){throw new Error("Expected more digits in base 64 VLQ value.")}h=o.decode(e.charAt(n++));l=!!(h&a);h&=u;s=s+(h<<c);c+=i}while(l);r.value=fromVLQSigned(s);r.rest=e.slice(n)}},741:(e,r,n)=>{"use strict";const t=n(278);const o=n(785);const i=n(222);const s=n(1);e.exports=function fromStringWithSourceMap(e,r){const n=r.sources;const u=r.sourcesContent;const a=r.mappings.split(";");const c=e.split("\n");const l=[];let h=null;let f=1;let p=0;let d;function addCode(e){if(h&&h instanceof i){h.addGeneratedCode(e)}else if(h&&h instanceof o&&!e.trim()){h.addGeneratedCode(e);d++}else{h=new i(e);l.push(h)}}function addSource(e,r,n,t){if(h&&h instanceof o&&h.source===r&&d===t){h.addGeneratedCode(e);d++}else{h=new o(e,r,n,t);d=t+1;l.push(h)}}a.forEach(function(e,r){let n=c[r];if(typeof n==="undefined")return;if(r!==c.length-1)n+="\n";if(!e)return addCode(n);e={value:0,rest:e};let t=false;while(e.rest)t=processMapping(e,n,t)||t;if(!t)addCode(n)});if(a.length<c.length){let e=a.length;while(!c[e].trim()&&e<c.length-1){addCode(c[e]+"\n");e++}addCode(c.slice(e).join("\n"))}return new s(l);function processMapping(e,r,o){if(e.rest&&e.rest[0]!==","){t.decode(e.rest,e)}if(!e.rest)return false;if(e.rest[0]===","){e.rest=e.rest.substr(1);return false}t.decode(e.rest,e);const i=e.value+p;p=i;let s;if(e.rest&&e.rest[0]!==","){t.decode(e.rest,e);s=e.value+f;f=s}else{s=f}if(e.rest){const r=e.rest.indexOf(",");e.rest=r===-1?"":e.rest.substr(r)}if(!o){addSource(r,n?n[i]:null,u?u[i]:null,s);return true}}}},702:(e,r)=>{"use strict";r.y=function getNumberOfLines(e){let r=-1;let n=-1;do{r++;n=e.indexOf("\n",n+1)}while(n>=0);return r};r.P=function getUnfinishedLine(e){const r=e.lastIndexOf("\n");if(r===-1)return e.length;else return e.length-r-1}},748:(e,r,n)=>{r.SourceListMap=n(1);n(785);n(420);n(222);n(288);r.fromStringWithSourceMap=n(741)},375:(e,r,n)=>{var t=n(344);var o=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 t=0,o=e.length;t<o;t++){n.add(e[t],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:t.toSetString(e);var s=i?this.has(e):o.call(this._set,n);var u=this._array.length;if(!s||r){this._array.push(e)}if(!s){if(i){this._set.set(e,u)}else{this._set[n]=u}}};ArraySet.prototype.has=function ArraySet_has(e){if(i){return this._set.has(e)}else{var r=t.toSetString(e);return o.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=t.toSetString(e);if(o.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.I=ArraySet},975:(e,r,n)=>{var t=n(156);var o=5;var i=1<<o;var s=i-1;var u=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&s;i>>>=o;if(i>0){n|=u}r+=t.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,h;do{if(r>=i){throw new Error("Expected more digits in base 64 VLQ value.")}h=t.decode(e.charCodeAt(r++));if(h===-1){throw new Error("Invalid base64 digit: "+e.charAt(r-1))}l=!!(h&u);h&=s;a=a+(h<<c);c+=o}while(l);n.value=fromVLQSigned(a);n.rest=r}},156:(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 t=97;var o=122;var i=48;var s=57;var u=43;var a=47;var c=26;var l=52;if(r<=e&&e<=n){return e-r}if(t<=e&&e<=o){return e-t+c}if(i<=e&&e<=s){return e-i+l}if(e==u){return 62}if(e==a){return 63}return-1}},600:(e,r)=>{r.GREATEST_LOWER_BOUND=1;r.LEAST_UPPER_BOUND=2;function recursiveSearch(e,n,t,o,i,s){var u=Math.floor((n-e)/2)+e;var a=i(t,o[u],true);if(a===0){return u}else if(a>0){if(n-u>1){return recursiveSearch(u,n,t,o,i,s)}if(s==r.LEAST_UPPER_BOUND){return n<o.length?n:-1}else{return u}}else{if(u-e>1){return recursiveSearch(e,u,t,o,i,s)}if(s==r.LEAST_UPPER_BOUND){return u}else{return e<0?-1:e}}}r.search=function search(e,n,t,o){if(n.length===0){return-1}var i=recursiveSearch(-1,n.length,e,n,t,o||r.GREATEST_LOWER_BOUND);if(i<0){return-1}while(i-1>=0){if(t(n[i],n[i-1],true)!==0){break}--i}return i}},817:(e,r,n)=>{var t=n(344);function generatedPositionAfter(e,r){var n=e.generatedLine;var o=r.generatedLine;var i=e.generatedColumn;var s=r.generatedColumn;return o>n||o==n&&s>=i||t.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(t.compareByGeneratedPositionsInflated);this._sorted=true}return this._array};r.H=MappingList},254:(e,r)=>{function swap(e,r,n){var t=e[r];e[r]=e[n];e[n]=t}function randomIntInRange(e,r){return Math.round(e+Math.random()*(r-e))}function doQuickSort(e,r,n,t){if(n<t){var o=randomIntInRange(n,t);var i=n-1;swap(e,o,t);var s=e[t];for(var u=n;u<t;u++){if(r(e[u],s)<=0){i+=1;swap(e,i,u)}}swap(e,i+1,u);var a=i+1;doQuickSort(e,r,n,a-1);doQuickSort(e,r,a+1,t)}}r.U=function(e,r){doQuickSort(e,r,0,e.length-1)}},155:(e,r,n)=>{var t;var o=n(344);var i=n(600);var s=n(375).I;var u=n(975);var a=n(254).U;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 s;switch(i){case SourceMapConsumer.GENERATED_ORDER:s=this._generatedMappings;break;case SourceMapConsumer.ORIGINAL_ORDER:s=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var u=this.sourceRoot;s.map(function(e){var r=e.source===null?null:this._sources.at(e.source);r=o.computeSourceURL(u,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 t=[];var s=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",o.compareByOriginalPositions,i.LEAST_UPPER_BOUND);if(s>=0){var u=this._originalMappings[s];if(e.column===undefined){var a=u.originalLine;while(u&&u.originalLine===a){t.push({line:o.getArg(u,"generatedLine",null),column:o.getArg(u,"generatedColumn",null),lastColumn:o.getArg(u,"lastGeneratedColumn",null)});u=this._originalMappings[++s]}}else{var c=u.originalColumn;while(u&&u.originalLine===r&&u.originalColumn==c){t.push({line:o.getArg(u,"generatedLine",null),column:o.getArg(u,"generatedColumn",null),lastColumn:o.getArg(u,"lastGeneratedColumn",null)});u=this._originalMappings[++s]}}}return t};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 i=o.getArg(n,"sources");var u=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 h=o.getArg(n,"file",null);if(t!=this._version){throw new Error("Unsupported version: "+t)}if(a){a=o.normalize(a)}i=i.map(String).map(o.normalize).map(function(e){return a&&o.isAbsolute(a)&&o.isAbsolute(e)?o.relative(a,e):e});this._names=s.fromArray(u.map(String),true);this._sources=s.fromArray(i,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=h}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=s.fromArray(e._names.toArray(),true);var i=n._sources=s.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 u=e._mappings.toArray().slice();var c=n.__generatedMappings=[];var l=n.__originalMappings=[];for(var h=0,f=u.length;h<f;h++){var p=u[h];var d=new Mapping;d.generatedLine=p.generatedLine;d.generatedColumn=p.generatedColumn;if(p.source){d.source=i.indexOf(p.source);d.originalLine=p.originalLine;d.originalColumn=p.originalColumn;if(p.name){d.name=t.indexOf(p.name)}l.push(d)}c.push(d)}a(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 s=0;var c=0;var l=0;var h=e.length;var f=0;var p={};var d={};var g=[];var m=[];var v,_,S,M,C;while(f<h){if(e.charAt(f)===";"){n++;f++;t=0}else if(e.charAt(f)===","){f++}else{v=new Mapping;v.generatedLine=n;for(M=f;M<h;M++){if(this._charIsMappingSeparator(e,M)){break}}_=e.slice(f,M);S=p[_];if(S){f+=_.length}else{S=[];while(f<M){u.decode(e,f,d);C=d.value;f=d.rest;S.push(C)}if(S.length===2){throw new Error("Found a source, but no line and column")}if(S.length===3){throw new Error("Found a source and line, but no column")}p[_]=S}v.generatedColumn=t+S[0];t=v.generatedColumn;if(S.length>1){v.source=c+S[1];c+=S[1];v.originalLine=i+S[2];i=v.originalLine;v.originalLine+=1;v.originalColumn=s+S[3];s=v.originalColumn;if(S.length>4){v.name=l+S[4];l+=S[4]}}m.push(v);if(typeof v.originalLine==="number"){g.push(v)}}}a(m,o.compareByGeneratedPositionsDeflated);this.__generatedMappings=m;a(g,o.compareByOriginalPositions);this.__originalMappings=g};BasicSourceMapConsumer.prototype._findMapping=function SourceMapConsumer_findMapping(e,r,n,t,o,s){if(e[n]<=0){throw new TypeError("Line must be greater than or equal to 1, got "+e[n])}if(e[t]<0){throw new TypeError("Column must be greater than or equal to 0, got "+e[t])}return i.search(e,r,o,s)};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 s=o.getArg(t,"name",null);if(s!==null){s=this._names.at(s)}return{source:i,line:o.getArg(t,"originalLine",null),column:o.getArg(t,"originalColumn",null),name:s}}}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 s=t.replace(/^file:\/\//,"");if(i.scheme=="file"&&this._sources.has(s)){return this.sourcesContent[this._sources.indexOf(s)]}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}};t=BasicSourceMapConsumer;function IndexedSourceMapConsumer(e,r){var n=e;if(typeof e==="string"){n=o.parseSourceMapInput(e)}var t=o.getArg(n,"version");var i=o.getArg(n,"sections");if(t!=this._version){throw new Error("Unsupported version: "+t)}this._sources=new s;this._names=new s;var u={line:-1,column:0};this._sections=i.map(function(e){if(e.url){throw new Error("Support for url field in sections not implemented.")}var n=o.getArg(e,"offset");var t=o.getArg(n,"line");var i=o.getArg(n,"column");if(t<u.line||t===u.line&&i<u.column){throw new Error("Section offsets must be ordered and non-overlapping.")}u=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=i.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 t=this._sections[n];if(!t){return{source:null,line:null,column:null,name:null}}return t.consumer.originalPositionFor({line:r.generatedLine-(t.generatedOffset.generatedLine-1),column:r.generatedColumn-(t.generatedOffset.generatedLine===r.generatedLine?t.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 t=this._sections[n];var o=t.consumer.sourceContentFor(e,true);if(o){return o}}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 s=0;s<i.length;s++){var u=i[s];var c=t.consumer._sources.at(u.source);c=o.computeSourceURL(t.consumer.sourceRoot,c,this._sourceMapURL);this._sources.add(c);c=this._sources.indexOf(c);var l=null;if(u.name){l=t.consumer._names.at(u.name);this._names.add(l);l=this._names.indexOf(l)}var h={source:c,generatedLine:u.generatedLine+(t.generatedOffset.generatedLine-1),generatedColumn:u.generatedColumn+(t.generatedOffset.generatedLine===u.generatedLine?t.generatedOffset.generatedColumn-1:0),originalLine:u.originalLine,originalColumn:u.originalColumn,name:l};this.__generatedMappings.push(h);if(typeof h.originalLine==="number"){this.__originalMappings.push(h)}}}a(this.__generatedMappings,o.compareByGeneratedPositionsDeflated);a(this.__originalMappings,o.compareByOriginalPositions)};t=IndexedSourceMapConsumer},425:(e,r,n)=>{var t=n(975);var o=n(344);var i=n(375).I;var s=n(817).H;function SourceMapGenerator(e){if(!e){e={}}this._file=o.getArg(e,"file",null);this._sourceRoot=o.getArg(e,"sourceRoot",null);this._skipValidation=o.getArg(e,"skipValidation",false);this._sources=new i;this._names=new i;this._mappings=new s;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 t={generated:{line:e.generatedLine,column:e.generatedColumn}};if(e.source!=null){t.source=e.source;if(r!=null){t.source=o.relative(r,t.source)}t.original={line:e.originalLine,column:e.originalColumn};if(e.name!=null){t.name=e.name}}n.addMapping(t)});e.sources.forEach(function(t){var i=t;if(r!==null){i=o.relative(r,t)}if(!n._sources.has(i)){n._sources.add(i)}var s=e.sourceContentFor(t);if(s!=null){n.setSourceContent(t,s)}});return n};SourceMapGenerator.prototype.addMapping=function SourceMapGenerator_addMapping(e){var r=o.getArg(e,"generated");var n=o.getArg(e,"original",null);var t=o.getArg(e,"source",null);var i=o.getArg(e,"name",null);if(!this._skipValidation){this._validateMapping(r,n,t,i)}if(t!=null){t=String(t);if(!this._sources.has(t)){this._sources.add(t)}}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:t,name:i})};SourceMapGenerator.prototype.setSourceContent=function SourceMapGenerator_setSourceContent(e,r){var n=e;if(this._sourceRoot!=null){n=o.relative(this._sourceRoot,n)}if(r!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[o.toSetString(n)]=r}else if(this._sourcesContents){delete this._sourcesContents[o.toSetString(n)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}};SourceMapGenerator.prototype.applySourceMap=function SourceMapGenerator_applySourceMap(e,r,n){var t=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.')}t=e.file}var s=this._sourceRoot;if(s!=null){t=o.relative(s,t)}var u=new i;var a=new i;this._mappings.unsortedForEach(function(r){if(r.source===t&&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=o.join(n,r.source)}if(s!=null){r.source=o.relative(s,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&&!u.has(c)){u.add(c)}var l=r.name;if(l!=null&&!a.has(l)){a.add(l)}},this);this._sources=u;this._names=a;e.sources.forEach(function(r){var t=e.sourceContentFor(r);if(t!=null){if(n!=null){r=o.join(n,r)}if(s!=null){r=o.relative(s,r)}this.setSourceContent(r,t)}},this)};SourceMapGenerator.prototype._validateMapping=function SourceMapGenerator_validateMapping(e,r,n,t){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&&!t){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:t}))}};SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){var e=0;var r=1;var n=0;var i=0;var s=0;var u=0;var a="";var c;var l;var h;var f;var p=this._mappings.toArray();for(var d=0,g=p.length;d<g;d++){l=p[d];c="";if(l.generatedLine!==r){e=0;while(l.generatedLine!==r){c+=";";r++}}else{if(d>0){if(!o.compareByGeneratedPositionsInflated(l,p[d-1])){continue}c+=","}}c+=t.encode(l.generatedColumn-e);e=l.generatedColumn;if(l.source!=null){f=this._sources.indexOf(l.source);c+=t.encode(f-u);u=f;c+=t.encode(l.originalLine-1-i);i=l.originalLine-1;c+=t.encode(l.originalColumn-n);n=l.originalColumn;if(l.name!=null){h=this._names.indexOf(l.name);c+=t.encode(h-s);s=h}}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=o.relative(r,e)}var n=o.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},616:(e,r,n)=>{var t=n(425).SourceMapGenerator;var o=n(344);var i=/(\r?\n)/;var s=10;var u="$$$isSourceNode$$$";function SourceNode(e,r,n,t,o){this.children=[];this.sourceContents={};this.line=e==null?null:e;this.column=r==null?null:r;this.source=n==null?null:n;this.name=o==null?null:o;this[u]=true;if(t!=null)this.add(t)}SourceNode.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(e,r,n){var t=new SourceNode;var s=e.split(i);var u=0;var a=function(){var e=getNextLine();var r=getNextLine()||"";return e+r;function getNextLine(){return u<s.length?s[u++]:undefined}};var c=1,l=0;var h=null;r.eachMapping(function(e){if(h!==null){if(c<e.generatedLine){addMappingWithCode(h,a());c++;l=0}else{var r=s[u]||"";var n=r.substr(0,e.generatedColumn-l);s[u]=r.substr(e.generatedColumn-l);l=e.generatedColumn;addMappingWithCode(h,n);h=e;return}}while(c<e.generatedLine){t.add(a());c++}if(l<e.generatedColumn){var r=s[u]||"";t.add(r.substr(0,e.generatedColumn));s[u]=r.substr(e.generatedColumn);l=e.generatedColumn}h=e},this);if(u<s.length){if(h){addMappingWithCode(h,a())}t.add(s.splice(u).join(""))}r.sources.forEach(function(e){var i=r.sourceContentFor(e);if(i!=null){if(n!=null){e=o.join(n,e)}t.setSourceContent(e,i)}});return t;function addMappingWithCode(e,r){if(e===null||e.source===undefined){t.add(r)}else{var i=n?o.join(n,e.source):e.source;t.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[u]||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[u]||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,t=this.children.length;n<t;n++){r=this.children[n];if(r[u]){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 t=this.children.length;if(t>0){r=[];for(n=0;n<t-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[u]){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[o.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][u]){this.children[r].walkSourceContents(e)}}var t=Object.keys(this.sourceContents);for(var r=0,n=t.length;r<n;r++){e(o.fromSetString(t[r]),this.sourceContents[t[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 t(e);var o=false;var i=null;var u=null;var a=null;var c=null;this.walk(function(e,t){r.code+=e;if(t.source!==null&&t.line!==null&&t.column!==null){if(i!==t.source||u!==t.line||a!==t.column||c!==t.name){n.addMapping({source:t.source,original:{line:t.line,column:t.column},generated:{line:r.line,column:r.column},name:t.name})}i=t.source;u=t.line;a=t.column;c=t.name;o=true}else if(o){n.addMapping({generated:{line:r.line,column:r.column}});i=null;o=false}for(var l=0,h=e.length;l<h;l++){if(e.charCodeAt(l)===s){r.line++;r.column=0;if(l+1===h){i=null;o=false}else if(o){n.addMapping({source:t.source,original:{line:t.line,column:t.column},generated:{line:r.line,column:r.column},name:t.name})}}else{r.column++}}});this.walkSourceContents(function(e,r){n.setSourceContent(e,r)});return{code:r.code,map:n}};r.SourceNode=SourceNode},344:(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 t=/^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 t=urlParse(e);if(t){if(!t.path){return e}n=t.path}var o=r.isAbsolute(n);var i=n.split(/\/+/);for(var s,u=0,a=i.length-1;a>=0;a--){s=i[a];if(s==="."){i.splice(a,1)}else if(s===".."){u++}else if(u>0){if(s===""){i.splice(a+1,u);u=0}else{i.splice(a,2);u--}}}n=i.join("/");if(n===""){n=o?"/":"."}if(t){t.path=n;return urlGenerate(t)}return n}r.normalize=normalize;function join(e,r){if(e===""){e="."}if(r===""){r="."}var n=urlParse(r);var o=urlParse(e);if(o){e=o.path||"/"}if(n&&!n.scheme){if(o){n.scheme=o.scheme}return urlGenerate(n)}if(n||r.match(t)){return r}if(o&&!o.host&&!o.path){o.host=r;return urlGenerate(o)}var i=r.charAt(0)==="/"?r:normalize(e.replace(/\/+$/,"")+"/"+r);if(o){o.path=i;return urlGenerate(o)}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 t=e.lastIndexOf("/");if(t<0){return r}e=e.slice(0,t);if(e.match(/^([^\/]+:\/)?\/*$/)){return r}++n}return Array(n+1).join("../")+r.substr(e.length+1)}r.relative=relative;var o=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=o?identity:toSetString;function fromSetString(e){if(isProtoString(e)){return e.slice(1)}return e}r.fromSetString=o?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 t=strcmp(e.source,r.source);if(t!==0){return t}t=e.originalLine-r.originalLine;if(t!==0){return t}t=e.originalColumn-r.originalColumn;if(t!==0||n){return t}t=e.generatedColumn-r.generatedColumn;if(t!==0){return t}t=e.generatedLine-r.generatedLine;if(t!==0){return t}return strcmp(e.name,r.name)}r.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(e,r,n){var t=e.generatedLine-r.generatedLine;if(t!==0){return t}t=e.generatedColumn-r.generatedColumn;if(t!==0||n){return t}t=strcmp(e.source,r.source);if(t!==0){return t}t=e.originalLine-r.originalLine;if(t!==0){return t}t=e.originalColumn-r.originalColumn;if(t!==0){return t}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 t=urlParse(n);if(!t){throw new Error("sourceMapURL could not be parsed")}if(t.path){var o=t.path.lastIndexOf("/");if(o>=0){t.path=t.path.substring(0,o+1)}}r=join(urlGenerate(t),r)}return normalize(r)}r.computeSourceURL=computeSourceURL},594:(e,r,n)=>{r.SourceMapGenerator=n(425).SourceMapGenerator;r.SourceMapConsumer=n(155).SourceMapConsumer;r.SourceNode=n(616).SourceNode},615:(e,r,n)=>{"use strict";const t=n(485);class CachedSource extends t{constructor(e){super();this._source=e;this._cachedSource=undefined;this._cachedSize=undefined;this._cachedMaps={};if(e.node)this.node=function(e){return this._source.node(e)};if(e.listMap)this.listMap=function(e){return this._source.listMap(e)}}source(){if(typeof this._cachedSource!=="undefined")return this._cachedSource;return this._cachedSource=this._source.source()}size(){if(typeof this._cachedSize!=="undefined")return this._cachedSize;if(typeof this._cachedSource!=="undefined"){if(Buffer.from.length===1)return new Buffer(this._cachedSource).length;return this._cachedSize=Buffer.byteLength(this._cachedSource)}return this._cachedSize=this._source.size()}sourceAndMap(e){const r=JSON.stringify(e);if(typeof this._cachedSource!=="undefined"&&r in this._cachedMaps)return{source:this._cachedSource,map:this._cachedMaps[r]};else if(typeof this._cachedSource!=="undefined"){return{source:this._cachedSource,map:this._cachedMaps[r]=this._source.map(e)}}else if(r in this._cachedMaps){return{source:this._cachedSource=this._source.source(),map:this._cachedMaps[r]}}const n=this._source.sourceAndMap(e);this._cachedSource=n.source;this._cachedMaps[r]=n.map;return{source:this._cachedSource,map:this._cachedMaps[r]}}map(e){if(!e)e={};const r=JSON.stringify(e);if(r in this._cachedMaps)return this._cachedMaps[r];return this._cachedMaps[r]=this._source.map()}updateHash(e){this._source.updateHash(e)}}e.exports=CachedSource},533:(e,r,n)=>{"use strict";const t=n(594).SourceNode;const o=n(748).SourceListMap;const i=n(485);class ConcatSource extends i{constructor(){super();this.children=[];for(var e=0;e<arguments.length;e++){var r=arguments[e];if(r instanceof ConcatSource){var n=r.children;for(var t=0;t<n.length;t++)this.children.push(n[t])}else{this.children.push(r)}}}add(e){if(e instanceof ConcatSource){var r=e.children;for(var n=0;n<r.length;n++)this.children.push(r[n])}else{this.children.push(e)}}source(){let e="";const r=this.children;for(let n=0;n<r.length;n++){const t=r[n];e+=typeof t==="string"?t:t.source()}return e}size(){let e=0;const r=this.children;for(let n=0;n<r.length;n++){const t=r[n];e+=typeof t==="string"?t.length:t.size()}return e}node(e){const r=new t(null,null,null,this.children.map(function(r){return typeof r==="string"?r:r.node(e)}));return r}listMap(e){const r=new o;var n=this.children;for(var t=0;t<n.length;t++){var i=n[t];if(typeof i==="string")r.add(i);else r.add(i.listMap(e))}return r}updateHash(e){var r=this.children;for(var n=0;n<r.length;n++){var t=r[n];if(typeof t==="string")e.update(t);else t.updateHash(e)}}}n(558)(ConcatSource.prototype);e.exports=ConcatSource},955:(e,r,n)=>{"use strict";var t=n(594).SourceNode;var o=n(594).SourceMapConsumer;var i=n(748).SourceListMap;var s=n(485);class LineToLineMappedSource extends s{constructor(e,r,n){super();this._value=e;this._name=r;this._originalSource=n}source(){return this._value}node(e){var r=this._value;var n=this._name;var o=r.split("\n");var i=new t(null,null,null,o.map(function(e,r){return new t(r+1,0,n,e+(r!=o.length-1?"\n":""))}));i.setSourceContent(n,this._originalSource);return i}listMap(e){return new i(this._value,this._name,this._originalSource)}updateHash(e){e.update(this._value);e.update(this._originalSource)}}n(558)(LineToLineMappedSource.prototype);e.exports=LineToLineMappedSource},786:(e,r,n)=>{"use strict";var t=n(594).SourceNode;var o=n(594).SourceMapConsumer;var i=n(748).SourceListMap;var s=n(485);var u=/(?!$)[^\n\r;{}]*[\n\r;{}]*/g;function _splitCode(e){return e.match(u)||[]}class OriginalSource extends s{constructor(e,r){super();this._value=e;this._name=r}source(){return this._value}node(e){e=e||{};var r=this._sourceMap;var n=this._value;var o=this._name;var i=n.split("\n");var s=new t(null,null,null,i.map(function(r,n){var s=0;if(e.columns===false){var u=r+(n!=i.length-1?"\n":"");return new t(n+1,0,o,u)}return new t(null,null,null,_splitCode(r+(n!=i.length-1?"\n":"")).map(function(e){if(/^\s*$/.test(e)){s+=e.length;return e}var r=new t(n+1,s,o,e);s+=e.length;return r}))}));s.setSourceContent(o,n);return s}listMap(e){return new i(this._value,this._name,this._value)}updateHash(e){e.update(this._value)}}n(558)(OriginalSource.prototype);e.exports=OriginalSource},209:(e,r,n)=>{"use strict";var t=n(485);var o=n(594).SourceNode;var i=/\n(?=.|\s)/g;function cloneAndPrefix(e,r,n){if(typeof e==="string"){var t=e.replace(i,"\n"+r);if(n.length>0)t=n.pop()+t;if(/\n$/.test(e))n.push(r);return t}else{var s=new o(e.line,e.column,e.source,e.children.map(function(e){return cloneAndPrefix(e,r,n)}),e.name);s.sourceContents=e.sourceContents;return s}}class PrefixSource extends t{constructor(e,r){super();this._source=r;this._prefix=e}source(){var e=typeof this._source==="string"?this._source:this._source.source();var r=this._prefix;return r+e.replace(i,"\n"+r)}node(e){var r=this._source.node(e);var n=this._prefix;var t=[];var i=new o;r.walkSourceContents(function(e,r){i.setSourceContent(e,r)});var s=true;r.walk(function(e,r){var i=e.split(/(\n)/);for(var u=0;u<i.length;u+=2){var a=u+1<i.length;var c=i[u]+(a?"\n":"");if(c){if(s){t.push(n)}t.push(new o(r.line,r.column,r.source,c,r.name));s=a}}});i.add(t);return i}listMap(e){var r=this._prefix;var n=this._source.listMap(e);return n.mapGeneratedCode(function(e){return r+e.replace(i,"\n"+r)})}updateHash(e){if(typeof this._source==="string")e.update(this._source);else this._source.updateHash(e);if(typeof this._prefix==="string")e.update(this._prefix);else this._prefix.updateHash(e)}}n(558)(PrefixSource.prototype);e.exports=PrefixSource},391:(e,r,n)=>{"use strict";var t=n(485);var o=n(594).SourceNode;var i=n(748).SourceListMap;class RawSource extends t{constructor(e){super();this._value=e}source(){return this._value}map(e){return null}node(e){return new o(null,null,null,this._value)}listMap(e){return new i(this._value)}updateHash(e){e.update(this._value)}}e.exports=RawSource},106:(e,r,n)=>{"use strict";var t=n(485);var o=n(594).SourceNode;class Replacement{constructor(e,r,n,t,o){this.start=e;this.end=r;this.content=n;this.insertIndex=t;this.name=o}}class ReplaceSource extends t{constructor(e,r){super();this._source=e;this._name=r;this.replacements=[]}replace(e,r,n,t){if(typeof n!=="string")throw new Error("insertion must be a string, but is a "+typeof n);this.replacements.push(new Replacement(e,r,n,this.replacements.length,t))}insert(e,r,n){if(typeof r!=="string")throw new Error("insertion must be a string, but is a "+typeof r+": "+r);this.replacements.push(new Replacement(e,e-1,r,this.replacements.length,n))}source(e){return this._replaceString(this._source.source())}original(){return this._source}_sortReplacements(){this.replacements.sort(function(e,r){var n=r.end-e.end;if(n!==0)return n;n=r.start-e.start;if(n!==0)return n;return r.insertIndex-e.insertIndex})}_replaceString(e){if(typeof e!=="string")throw new Error("str must be a string, but is a "+typeof e+": "+e);this._sortReplacements();var r=[e];this.replacements.forEach(function(e){var n=r.pop();var t=this._splitString(n,Math.floor(e.end+1));var o=this._splitString(t[0],Math.floor(e.start));r.push(t[1],e.content,o[0])},this);let n="";for(let e=r.length-1;e>=0;--e){n+=r[e]}return n}node(e){var r=this._source.node(e);if(this.replacements.length===0){return r}this._sortReplacements();var n=new ReplacementEnumerator(this.replacements);var t=[];var i=0;var s=Object.create(null);var u=Object.create(null);var a=new o;r.walkSourceContents(function(e,r){a.setSourceContent(e,r);s["$"+e]=r});var c=this._replaceInStringNode.bind(this,t,n,function getOriginalSource(e){var r="$"+e.source;var n=u[r];if(!n){var t=s[r];if(!t)return null;n=t.split("\n").map(function(e){return e+"\n"});u[r]=n}if(e.line>n.length)return null;var o=n[e.line-1];return o.substr(e.column)});r.walk(function(e,r){i=c(e,i,r)});var l=n.footer();if(l){t.push(l)}a.add(t);return a}listMap(e){this._sortReplacements();var r=this._source.listMap(e);var n=0;var t=this.replacements;var o=t.length-1;var i=0;r=r.mapGeneratedCode(function(e){var r=n+e.length;if(i>e.length){i-=e.length;e=""}else{if(i>0){e=e.substr(i);n+=i;i=0}var s="";while(o>=0&&t[o].start<r){var u=t[o];var a=Math.floor(u.start);var c=Math.floor(u.end+1);var l=e.substr(0,Math.max(0,a-n));if(c<=r){var h=e.substr(Math.max(0,c-n));s+=l+u.content;e=h;n=Math.max(n,c)}else{s+=l+u.content;e="";i=c-r}o--}e=s+e}n=r;return e});var s="";while(o>=0){s+=t[o].content;o--}if(s){r.add(s)}return r}_splitString(e,r){return r<=0?["",e]:[e.substr(0,r),e.substr(r)]}_replaceInStringNode(e,r,n,t,i,s){var u=undefined;do{var a=r.position-i;if(a<0){a=0}if(a>=t.length||r.done){if(r.emit){var c=new o(s.line,s.column,s.source,t,s.name);e.push(c)}return i+t.length}var l=s.column;var h;if(a>0){h=t.slice(0,a);if(u===undefined){u=n(s)}if(u&&u.length>=a&&u.startsWith(h)){s.column+=a;u=u.substr(a)}}var f=r.next();if(!f){if(a>0){var p=new o(s.line,l,s.source,h,s.name);e.push(p)}if(r.value){e.push(new o(s.line,s.column,s.source,r.value,s.name||r.name))}}t=t.substr(a);i+=a}while(true)}}class ReplacementEnumerator{constructor(e){this.replacements=e||[];this.index=this.replacements.length;this.done=false;this.emit=false;this.next()}next(){if(this.done)return true;if(this.emit){var e=this.replacements[this.index];var r=Math.floor(e.end+1);this.position=r;this.value=e.content;this.name=e.name}else{this.index--;if(this.index<0){this.done=true}else{var n=this.replacements[this.index];var t=Math.floor(n.start);this.position=t}}if(this.position<0)this.position=0;this.emit=!this.emit;return this.emit}footer(){if(!this.done&&!this.emit)this.next();if(this.done){return[]}else{var e="";for(var r=this.index;r>=0;r--){var n=this.replacements[r];e+=n.content}return e}}}n(558)(ReplaceSource.prototype);e.exports=ReplaceSource},485:(e,r,n)=>{"use strict";var t=n(594).SourceNode;var o=n(594).SourceMapConsumer;class Source{source(){throw new Error("Abstract")}size(){if(Buffer.from.length===1)return new Buffer(this.source()).length;return Buffer.byteLength(this.source())}map(e){return null}sourceAndMap(e){return{source:this.source(),map:this.map()}}node(){throw new Error("Abstract")}listNode(){throw new Error("Abstract")}updateHash(e){var r=this.source();e.update(r||"")}}e.exports=Source},558:e=>{"use strict";e.exports=function mixinSourceAndMap(e){e.map=function(e){e=e||{};if(e.columns===false){return this.listMap(e).toStringWithSourceMap({file:"x"}).map}return this.node(e).toStringWithSourceMap({file:"x"}).map.toJSON()};e.sourceAndMap=function(e){e=e||{};if(e.columns===false){return this.listMap(e).toStringWithSourceMap({file:"x"})}var r=this.node(e).toStringWithSourceMap({file:"x"});return{source:r.code,map:r.map.toJSON()}}}},843:(e,r,n)=>{"use strict";var t=n(594).SourceNode;var o=n(594).SourceMapConsumer;var i=n(594).SourceMapGenerator;var s=n(748).SourceListMap;var u=n(748).fromStringWithSourceMap;var a=n(485);var c=n(871);class SourceMapSource extends a{constructor(e,r,n,t,o,i){super();this._value=e;this._name=r;this._sourceMap=n;this._originalSource=t;this._innerSourceMap=o;this._removeOriginalSource=i}source(){return this._value}node(e){var r=this._sourceMap;var n=t.fromStringWithSourceMap(this._value,new o(r));n.setSourceContent(this._name,this._originalSource);var i=this._innerSourceMap;if(i){n=c(n,new o(i),this._name,this._removeOriginalSource)}return n}listMap(e){e=e||{};if(e.module===false)return new s(this._value,this._name,this._value);return u(this._value,typeof this._sourceMap==="string"?JSON.parse(this._sourceMap):this._sourceMap)}updateHash(e){e.update(this._value);if(this._originalSource)e.update(this._originalSource)}}n(558)(SourceMapSource.prototype);e.exports=SourceMapSource},871:(e,r,n)=>{"use strict";var t=n(594).SourceNode;var o=n(594).SourceMapConsumer;var i=function(e,r,n,i){var s=new t;var u=[];var a={};var c={};var l={};var h={};r.eachMapping(function(e){(c[e.generatedLine]=c[e.generatedLine]||[]).push(e)},null,o.GENERATED_ORDER);e.walkSourceContents(function(e,r){a["$"+e]=r});var f=a["$"+n];var p=f?f.split("\n"):undefined;e.walk(function(e,o){var f;if(o.source===n&&o.line&&c[o.line]){var d;var g=c[o.line];for(var m=0;m<g.length;m++){if(g[m].generatedColumn<=o.column){d=g[m]}}if(d){var v=false;var _;var S;var M;var C=d.source;if(p&&C&&(_=p[d.generatedLine-1])&&((M=h[C])||(S=r.sourceContentFor(C,true)))){if(!M){M=h[C]=S.split("\n")}var y=M[d.originalLine-1];if(y){var w=o.column-d.generatedColumn;if(w>0){var L=_.slice(d.generatedColumn,o.column);var A=y.slice(d.originalColumn,d.originalColumn+w);if(L===A){d=Object.assign({},d,{originalColumn:d.originalColumn+w,generatedColumn:o.column})}}if(!d.name&&o.name){v=y.slice(d.originalColumn,d.originalColumn+o.name.length)===o.name}}}f=d.source;u.push(new t(d.originalLine,d.originalColumn,f,e,v?o.name:d.name));if(!("$"+f in l)){l["$"+f]=true;var b=r.sourceContentFor(f,true);if(b){s.setSourceContent(f,b)}}return}}if(i&&o.source===n||!o.source){u.push(e);return}f=o.source;u.push(new t(o.line,o.column,f,e,o.name));if("$"+f in a){if(!("$"+f in l)){s.setSourceContent(f,a["$"+f]);delete a["$"+f]}}});s.add(u);return s};e.exports=i},526:(e,r,n)=>{r.Source=n(485);r.RawSource=n(391);r.OriginalSource=n(786);r.SourceMapSource=n(843);r.LineToLineMappedSource=n(955);r.CachedSource=n(615);r.ConcatSource=n(533);r.ReplaceSource=n(106);r.PrefixSource=n(209)}};var r={};function __nccwpck_require__(n){if(r[n]){return r[n].exports}var t=r[n]={exports:{}};var o=true;try{e[n](t,t.exports,__nccwpck_require__);o=false}finally{if(o)delete r[n]}return t.exports}__nccwpck_require__.ab=__dirname+"/";return __nccwpck_require__(526)})();