next
Version:
The React Framework
1 lines • 1.34 MB
JavaScript
(()=>{var e={5179:e=>{function webpackEmptyAsyncContext(e){return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");t.code="MODULE_NOT_FOUND";throw t}))}webpackEmptyAsyncContext.keys=()=>[];webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext;webpackEmptyAsyncContext.id=5179;e.exports=webpackEmptyAsyncContext},3914:function(e,t,r){(function(t,n){true?e.exports=n(r(7385),r(5328)):0})(this,(function(e,t){"use strict";const r=SegmentObject("",-1,-1,"",null);const n=[];function SegmentObject(e,t,r,n,s){return{source:e,line:t,column:r,name:n,content:s}}function Source(e,t,r,n){return{map:e,sources:t,source:r,content:n}}function MapSource(e,t){return Source(e,t,"",null)}function OriginalSource(e,t){return Source(null,n,e,t)}function traceMappings(n){const s=new t.GenMapping({file:n.map.file});const{sources:i,map:a}=n;const o=a.names;const l=e.decodedMappings(a);for(let e=0;e<l.length;e++){const n=l[e];for(let a=0;a<n.length;a++){const l=n[a];const c=l[0];let u=r;if(l.length!==1){const e=i[l[1]];u=originalPositionFor(e,l[2],l[3],l.length===5?o[l[4]]:"");if(u==null)continue}const{column:p,line:f,name:d,content:h,source:m}=u;t.maybeAddSegment(s,e,c,m,f,p,d);if(m&&h!=null)t.setSourceContent(s,m,h)}}return s}function originalPositionFor(t,n,s,i){if(!t.map){return SegmentObject(t.source,n,s,i,t.content)}const a=e.traceSegment(t.map,n,s);if(a==null)return null;if(a.length===1)return r;return originalPositionFor(t.sources[a[1]],a[2],a[3],a.length===5?t.map.names[a[4]]:i)}function asArray(e){if(Array.isArray(e))return e;return[e]}function buildSourceMapTree(t,r){const n=asArray(t).map((t=>new e.TraceMap(t,"")));const s=n.pop();for(let e=0;e<n.length;e++){if(n[e].sources.length>1){throw new Error(`Transformation map ${e} must have exactly one source file.\n`+"Did you specify these with the most recent transformation maps first?")}}let i=build(s,r,"",0);for(let e=n.length-1;e>=0;e--){i=MapSource(n[e],[i])}return i}function build(t,r,n,s){const{resolvedSources:i,sourcesContent:a}=t;const o=s+1;const l=i.map(((t,s)=>{const i={importer:n,depth:o,source:t||"",content:undefined};const l=r(i.source,i);const{source:c,content:u}=i;if(l)return build(new e.TraceMap(l,c),r,c,o);const p=u!==undefined?u:a?a[s]:null;return OriginalSource(c,p)}));return MapSource(t,l)}class SourceMap{constructor(e,r){const n=r.decodedMappings?t.toDecodedMap(e):t.toEncodedMap(e);this.version=n.version;this.file=n.file;this.mappings=n.mappings;this.names=n.names;this.sourceRoot=n.sourceRoot;this.sources=n.sources;if(!r.excludeContent){this.sourcesContent=n.sourcesContent}}toString(){return JSON.stringify(this)}}function remapping(e,t,r){const n=typeof r==="object"?r:{excludeContent:!!r,decodedMappings:false};const s=buildSourceMapTree(e,t);return new SourceMap(traceMappings(s),n)}return remapping}))},5328:function(e,t,r){(function(e,n){true?n(t,r(7168),r(1575),r(4614)):0})(this,(function(e,t,r,n){"use strict";const s=0;const i=1;const a=2;const o=3;const l=4;const c=-1;e.addSegment=void 0;e.addMapping=void 0;e.maybeAddSegment=void 0;e.maybeAddMapping=void 0;e.setSourceContent=void 0;e.toDecodedMap=void 0;e.toEncodedMap=void 0;e.fromMap=void 0;e.allMappings=void 0;let u;class GenMapping{constructor({file:e,sourceRoot:r}={}){this._names=new t.SetArray;this._sources=new t.SetArray;this._sourcesContent=[];this._mappings=[];this.file=e;this.sourceRoot=r}}(()=>{e.addSegment=(e,t,r,n,s,i,a,o)=>u(false,e,t,r,n,s,i,a,o);e.maybeAddSegment=(e,t,r,n,s,i,a,o)=>u(true,e,t,r,n,s,i,a,o);e.addMapping=(e,t)=>addMappingInternal(false,e,t);e.maybeAddMapping=(e,t)=>addMappingInternal(true,e,t);e.setSourceContent=(e,r,n)=>{const{_sources:s,_sourcesContent:i}=e;i[t.put(s,r)]=n};e.toDecodedMap=e=>{const{file:t,sourceRoot:r,_mappings:n,_sources:s,_sourcesContent:i,_names:a}=e;removeEmptyFinalLines(n);return{version:3,file:t||undefined,names:a.array,sourceRoot:r||undefined,sources:s.array,sourcesContent:i,mappings:n}};e.toEncodedMap=t=>{const n=e.toDecodedMap(t);return Object.assign(Object.assign({},n),{mappings:r.encode(n.mappings)})};e.allMappings=e=>{const t=[];const{_mappings:r,_sources:n,_names:c}=e;for(let e=0;e<r.length;e++){const u=r[e];for(let r=0;r<u.length;r++){const p=u[r];const f={line:e+1,column:p[s]};let d=undefined;let h=undefined;let m=undefined;if(p.length!==1){d=n.array[p[i]];h={line:p[a]+1,column:p[o]};if(p.length===5)m=c.array[p[l]]}t.push({generated:f,source:d,original:h,name:m})}}return t};e.fromMap=e=>{const t=new n.TraceMap(e);const r=new GenMapping({file:t.file,sourceRoot:t.sourceRoot});putAll(r._names,t.names);putAll(r._sources,t.sources);r._sourcesContent=t.sourcesContent||t.sources.map((()=>null));r._mappings=n.decodedMappings(t);return r};u=(e,r,n,s,i,a,o,l,u)=>{const{_mappings:p,_sources:f,_sourcesContent:d,_names:h}=r;const m=getLine(p,n);const y=getColumnIndex(m,s);if(!i){if(e&&skipSourceless(m,y))return;return insert(m,y,[s])}const g=t.put(f,i);const b=l?t.put(h,l):c;if(g===d.length)d[g]=u!==null&&u!==void 0?u:null;if(e&&skipSource(m,y,g,a,o,b)){return}return insert(m,y,l?[s,g,a,o,b]:[s,g,a,o])}})();function getLine(e,t){for(let r=e.length;r<=t;r++){e[r]=[]}return e[t]}function getColumnIndex(e,t){let r=e.length;for(let n=r-1;n>=0;r=n--){const r=e[n];if(t>=r[s])break}return r}function insert(e,t,r){for(let r=e.length;r>t;r--){e[r]=e[r-1]}e[t]=r}function removeEmptyFinalLines(e){const{length:t}=e;let r=t;for(let t=r-1;t>=0;r=t,t--){if(e[t].length>0)break}if(r<t)e.length=r}function putAll(e,r){for(let n=0;n<r.length;n++)t.put(e,r[n])}function skipSourceless(e,t){if(t===0)return true;const r=e[t-1];return r.length===1}function skipSource(e,t,r,n,s,u){if(t===0)return false;const p=e[t-1];if(p.length===1)return false;return r===p[i]&&n===p[a]&&s===p[o]&&u===(p.length===5?p[l]:c)}function addMappingInternal(e,t,r){const{generated:n,source:s,original:i,name:a,content:o}=r;if(!s){return u(e,t,n.line-1,n.column,null,null,null,null,null)}const l=s;return u(e,t,n.line-1,n.column,l,i.line-1,i.column,a,o)}e.GenMapping=GenMapping;Object.defineProperty(e,"__esModule",{value:true})}))},2987:function(e,t,r){(function(e,n){true?n(t,r(7168),r(1575),r(7385)):0})(this,(function(e,t,r,n){"use strict";const s=0;const i=1;const a=2;const o=3;const l=4;const c=-1;e.addSegment=void 0;e.addMapping=void 0;e.maybeAddSegment=void 0;e.maybeAddMapping=void 0;e.setSourceContent=void 0;e.toDecodedMap=void 0;e.toEncodedMap=void 0;e.fromMap=void 0;e.allMappings=void 0;let u;class GenMapping{constructor({file:e,sourceRoot:r}={}){this._names=new t.SetArray;this._sources=new t.SetArray;this._sourcesContent=[];this._mappings=[];this.file=e;this.sourceRoot=r}}(()=>{e.addSegment=(e,t,r,n,s,i,a,o)=>u(false,e,t,r,n,s,i,a,o);e.maybeAddSegment=(e,t,r,n,s,i,a,o)=>u(true,e,t,r,n,s,i,a,o);e.addMapping=(e,t)=>addMappingInternal(false,e,t);e.maybeAddMapping=(e,t)=>addMappingInternal(true,e,t);e.setSourceContent=(e,r,n)=>{const{_sources:s,_sourcesContent:i}=e;i[t.put(s,r)]=n};e.toDecodedMap=e=>{const{file:t,sourceRoot:r,_mappings:n,_sources:s,_sourcesContent:i,_names:a}=e;removeEmptyFinalLines(n);return{version:3,file:t||undefined,names:a.array,sourceRoot:r||undefined,sources:s.array,sourcesContent:i,mappings:n}};e.toEncodedMap=t=>{const n=e.toDecodedMap(t);return Object.assign(Object.assign({},n),{mappings:r.encode(n.mappings)})};e.allMappings=e=>{const t=[];const{_mappings:r,_sources:n,_names:c}=e;for(let e=0;e<r.length;e++){const u=r[e];for(let r=0;r<u.length;r++){const p=u[r];const f={line:e+1,column:p[s]};let d=undefined;let h=undefined;let m=undefined;if(p.length!==1){d=n.array[p[i]];h={line:p[a]+1,column:p[o]};if(p.length===5)m=c.array[p[l]]}t.push({generated:f,source:d,original:h,name:m})}}return t};e.fromMap=e=>{const t=new n.TraceMap(e);const r=new GenMapping({file:t.file,sourceRoot:t.sourceRoot});putAll(r._names,t.names);putAll(r._sources,t.sources);r._sourcesContent=t.sourcesContent||t.sources.map((()=>null));r._mappings=n.decodedMappings(t);return r};u=(e,r,n,s,i,a,o,l,u)=>{const{_mappings:p,_sources:f,_sourcesContent:d,_names:h}=r;const m=getLine(p,n);const y=getColumnIndex(m,s);if(!i){if(e&&skipSourceless(m,y))return;return insert(m,y,[s])}const g=t.put(f,i);const b=l?t.put(h,l):c;if(g===d.length)d[g]=u!==null&&u!==void 0?u:null;if(e&&skipSource(m,y,g,a,o,b)){return}return insert(m,y,l?[s,g,a,o,b]:[s,g,a,o])}})();function getLine(e,t){for(let r=e.length;r<=t;r++){e[r]=[]}return e[t]}function getColumnIndex(e,t){let r=e.length;for(let n=r-1;n>=0;r=n--){const r=e[n];if(t>=r[s])break}return r}function insert(e,t,r){for(let r=e.length;r>t;r--){e[r]=e[r-1]}e[t]=r}function removeEmptyFinalLines(e){const{length:t}=e;let r=t;for(let t=r-1;t>=0;r=t,t--){if(e[t].length>0)break}if(r<t)e.length=r}function putAll(e,r){for(let n=0;n<r.length;n++)t.put(e,r[n])}function skipSourceless(e,t){if(t===0)return true;const r=e[t-1];return r.length===1}function skipSource(e,t,r,n,s,u){if(t===0)return false;const p=e[t-1];if(p.length===1)return false;return r===p[i]&&n===p[a]&&s===p[o]&&u===(p.length===5?p[l]:c)}function addMappingInternal(e,t,r){const{generated:n,source:s,original:i,name:a,content:o}=r;if(!s){return u(e,t,n.line-1,n.column,null,null,null,null,null)}const l=s;return u(e,t,n.line-1,n.column,l,i.line-1,i.column,a,o)}e.GenMapping=GenMapping;Object.defineProperty(e,"__esModule",{value:true})}))},6982:function(e){(function(t,r){true?e.exports=r():0})(this,(function(){"use strict";const e=/^[\w+.-]+:\/\//;const t=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/;const r=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;var n;(function(e){e[e["Empty"]=1]="Empty";e[e["Hash"]=2]="Hash";e[e["Query"]=3]="Query";e[e["RelativePath"]=4]="RelativePath";e[e["AbsolutePath"]=5]="AbsolutePath";e[e["SchemeRelative"]=6]="SchemeRelative";e[e["Absolute"]=7]="Absolute"})(n||(n={}));function isAbsoluteUrl(t){return e.test(t)}function isSchemeRelativeUrl(e){return e.startsWith("//")}function isAbsolutePath(e){return e.startsWith("/")}function isFileUrl(e){return e.startsWith("file:")}function isRelative(e){return/^[.?#]/.test(e)}function parseAbsoluteUrl(e){const r=t.exec(e);return makeUrl(r[1],r[2]||"",r[3],r[4]||"",r[5]||"/",r[6]||"",r[7]||"")}function parseFileUrl(e){const t=r.exec(e);const n=t[2];return makeUrl("file:","",t[1]||"","",isAbsolutePath(n)?n:"/"+n,t[3]||"",t[4]||"")}function makeUrl(e,t,r,s,i,a,o){return{scheme:e,user:t,host:r,port:s,path:i,query:a,hash:o,type:n.Absolute}}function parseUrl(e){if(isSchemeRelativeUrl(e)){const t=parseAbsoluteUrl("http:"+e);t.scheme="";t.type=n.SchemeRelative;return t}if(isAbsolutePath(e)){const t=parseAbsoluteUrl("http://foo.com"+e);t.scheme="";t.host="";t.type=n.AbsolutePath;return t}if(isFileUrl(e))return parseFileUrl(e);if(isAbsoluteUrl(e))return parseAbsoluteUrl(e);const t=parseAbsoluteUrl("http://foo.com/"+e);t.scheme="";t.host="";t.type=e?e.startsWith("?")?n.Query:e.startsWith("#")?n.Hash:n.RelativePath:n.Empty;return t}function stripPathFilename(e){if(e.endsWith("/.."))return e;const t=e.lastIndexOf("/");return e.slice(0,t+1)}function mergePaths(e,t){normalizePath(t,t.type);if(e.path==="/"){e.path=t.path}else{e.path=stripPathFilename(t.path)+e.path}}function normalizePath(e,t){const r=t<=n.RelativePath;const s=e.path.split("/");let i=1;let a=0;let o=false;for(let e=1;e<s.length;e++){const t=s[e];if(!t){o=true;continue}o=false;if(t===".")continue;if(t===".."){if(a){o=true;a--;i--}else if(r){s[i++]=t}continue}s[i++]=t;a++}let l="";for(let e=1;e<i;e++){l+="/"+s[e]}if(!l||o&&!l.endsWith("/..")){l+="/"}e.path=l}function resolve(e,t){if(!e&&!t)return"";const r=parseUrl(e);let s=r.type;if(t&&s!==n.Absolute){const e=parseUrl(t);const i=e.type;switch(s){case n.Empty:r.hash=e.hash;case n.Hash:r.query=e.query;case n.Query:case n.RelativePath:mergePaths(r,e);case n.AbsolutePath:r.user=e.user;r.host=e.host;r.port=e.port;case n.SchemeRelative:r.scheme=e.scheme}if(i>s)s=i}normalizePath(r,s);const i=r.query+r.hash;switch(s){case n.Hash:case n.Query:return i;case n.RelativePath:{const n=r.path.slice(1);if(!n)return i||".";if(isRelative(t||e)&&!isRelative(n)){return"./"+n+i}return n+i}case n.AbsolutePath:return r.path+i;default:return r.scheme+"//"+r.user+r.host+r.port+r.path+i}}return resolve}))},7168:function(e,t){(function(e,r){true?r(t):0})(this,(function(e){"use strict";e.get=void 0;e.put=void 0;e.pop=void 0;class SetArray{constructor(){this._indexes={__proto__:null};this.array=[]}}(()=>{e.get=(e,t)=>e._indexes[t];e.put=(t,r)=>{const n=e.get(t,r);if(n!==undefined)return n;const{array:s,_indexes:i}=t;return i[r]=s.push(r)-1};e.pop=e=>{const{array:t,_indexes:r}=e;if(t.length===0)return;const n=t.pop();r[n]=undefined}})();e.SetArray=SetArray;Object.defineProperty(e,"__esModule",{value:true})}))},1575:function(e,t){(function(e,r){true?r(t):0})(this,(function(e){"use strict";const t=",".charCodeAt(0);const r=";".charCodeAt(0);const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";const s=new Uint8Array(64);const i=new Uint8Array(128);for(let e=0;e<n.length;e++){const t=n.charCodeAt(e);s[e]=t;i[t]=e}const a=typeof TextDecoder!=="undefined"?new TextDecoder:typeof Buffer!=="undefined"?{decode(e){const t=Buffer.from(e.buffer,e.byteOffset,e.byteLength);return t.toString()}}:{decode(e){let t="";for(let r=0;r<e.length;r++){t+=String.fromCharCode(e[r])}return t}};function decode(e){const t=new Int32Array(5);const r=[];let n=0;do{const s=indexOf(e,n);const i=[];let a=true;let o=0;t[0]=0;for(let r=n;r<s;r++){let n;r=decodeInteger(e,r,t,0);const l=t[0];if(l<o)a=false;o=l;if(hasMoreVlq(e,r,s)){r=decodeInteger(e,r,t,1);r=decodeInteger(e,r,t,2);r=decodeInteger(e,r,t,3);if(hasMoreVlq(e,r,s)){r=decodeInteger(e,r,t,4);n=[l,t[1],t[2],t[3],t[4]]}else{n=[l,t[1],t[2],t[3]]}}else{n=[l]}i.push(n)}if(!a)sort(i);r.push(i);n=s+1}while(n<=e.length);return r}function indexOf(e,t){const r=e.indexOf(";",t);return r===-1?e.length:r}function decodeInteger(e,t,r,n){let s=0;let a=0;let o=0;do{const r=e.charCodeAt(t++);o=i[r];s|=(o&31)<<a;a+=5}while(o&32);const l=s&1;s>>>=1;if(l){s=-2147483648|-s}r[n]+=s;return t}function hasMoreVlq(e,r,n){if(r>=n)return false;return e.charCodeAt(r)!==t}function sort(e){e.sort(sortComparator)}function sortComparator(e,t){return e[0]-t[0]}function encode(e){const n=new Int32Array(5);const s=1024*16;const i=s-36;const o=new Uint8Array(s);const l=o.subarray(0,i);let c=0;let u="";for(let p=0;p<e.length;p++){const f=e[p];if(p>0){if(c===s){u+=a.decode(o);c=0}o[c++]=r}if(f.length===0)continue;n[0]=0;for(let e=0;e<f.length;e++){const r=f[e];if(c>i){u+=a.decode(l);o.copyWithin(0,i,c);c-=i}if(e>0)o[c++]=t;c=encodeInteger(o,c,n,r,0);if(r.length===1)continue;c=encodeInteger(o,c,n,r,1);c=encodeInteger(o,c,n,r,2);c=encodeInteger(o,c,n,r,3);if(r.length===4)continue;c=encodeInteger(o,c,n,r,4)}}return u+a.decode(o.subarray(0,c))}function encodeInteger(e,t,r,n,i){const a=n[i];let o=a-r[i];r[i]=a;o=o<0?-o<<1|1:o<<1;do{let r=o&31;o>>>=5;if(o>0)r|=32;e[t++]=s[r]}while(o>0);return t}e.decode=decode;e.encode=encode;Object.defineProperty(e,"__esModule",{value:true})}))},8918:function(e,t){(function(e,r){true?r(t):0})(this,(function(e){"use strict";const t=",".charCodeAt(0);const r=";".charCodeAt(0);const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";const s=new Uint8Array(64);const i=new Uint8Array(128);for(let e=0;e<n.length;e++){const t=n.charCodeAt(e);s[e]=t;i[t]=e}function decodeInteger(e,t){let r=0;let n=0;let s=0;do{const t=e.next();s=i[t];r|=(s&31)<<n;n+=5}while(s&32);const a=r&1;r>>>=1;if(a){r=-2147483648|-r}return t+r}function encodeInteger(e,t,r){let n=t-r;n=n<0?-n<<1|1:n<<1;do{let t=n&31;n>>>=5;if(n>0)t|=32;e.write(s[t])}while(n>0);return t}function hasMoreVlq(e,r){if(e.pos>=r)return false;return e.peek()!==t}const a=1024*16;const o=typeof TextDecoder!=="undefined"?new TextDecoder:typeof Buffer!=="undefined"?{decode(e){const t=Buffer.from(e.buffer,e.byteOffset,e.byteLength);return t.toString()}}:{decode(e){let t="";for(let r=0;r<e.length;r++){t+=String.fromCharCode(e[r])}return t}};class StringWriter{constructor(){this.pos=0;this.out="";this.buffer=new Uint8Array(a)}write(e){const{buffer:t}=this;t[this.pos++]=e;if(this.pos===a){this.out+=o.decode(t);this.pos=0}}flush(){const{buffer:e,out:t,pos:r}=this;return r>0?t+o.decode(e.subarray(0,r)):t}}class StringReader{constructor(e){this.pos=0;this.buffer=e}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(e){const{buffer:t,pos:r}=this;const n=t.indexOf(e,r);return n===-1?t.length:n}}const l=[];function decodeOriginalScopes(e){const{length:t}=e;const r=new StringReader(e);const n=[];const s=[];let i=0;for(;r.pos<t;r.pos++){i=decodeInteger(r,i);const e=decodeInteger(r,0);if(!hasMoreVlq(r,t)){const t=s.pop();t[2]=i;t[3]=e;continue}const a=decodeInteger(r,0);const o=decodeInteger(r,0);const c=o&1;const u=c?[i,e,0,0,a,decodeInteger(r,0)]:[i,e,0,0,a];let p=l;if(hasMoreVlq(r,t)){p=[];do{const e=decodeInteger(r,0);p.push(e)}while(hasMoreVlq(r,t))}u.vars=p;n.push(u);s.push(u)}return n}function encodeOriginalScopes(e){const t=new StringWriter;for(let r=0;r<e.length;){r=_encodeOriginalScopes(e,r,t,[0])}return t.flush()}function _encodeOriginalScopes(e,r,n,s){const i=e[r];const{0:a,1:o,2:l,3:c,4:u,vars:p}=i;if(r>0)n.write(t);s[0]=encodeInteger(n,a,s[0]);encodeInteger(n,o,0);encodeInteger(n,u,0);const f=i.length===6?1:0;encodeInteger(n,f,0);if(i.length===6)encodeInteger(n,i[5],0);for(const e of p){encodeInteger(n,e,0)}for(r++;r<e.length;){const t=e[r];const{0:i,1:a}=t;if(i>l||i===l&&a>=c){break}r=_encodeOriginalScopes(e,r,n,s)}n.write(t);s[0]=encodeInteger(n,l,s[0]);encodeInteger(n,c,0);return r}function decodeGeneratedRanges(e){const{length:t}=e;const r=new StringReader(e);const n=[];const s=[];let i=0;let a=0;let o=0;let c=0;let u=0;let p=0;let f=0;let d=0;do{const e=r.indexOf(";");let t=0;for(;r.pos<e;r.pos++){t=decodeInteger(r,t);if(!hasMoreVlq(r,e)){const e=s.pop();e[2]=i;e[3]=t;continue}const h=decodeInteger(r,0);const m=h&1;const y=h&2;const g=h&4;let b=null;let T=l;let S;if(m){const e=decodeInteger(r,a);o=decodeInteger(r,a===e?o:0);a=e;S=[i,t,0,0,e,o]}else{S=[i,t,0,0]}S.isScope=!!g;if(y){const e=c;const t=u;c=decodeInteger(r,c);const n=e===c;u=decodeInteger(r,n?u:0);p=decodeInteger(r,n&&t===u?p:0);b=[c,u,p]}S.callsite=b;if(hasMoreVlq(r,e)){T=[];do{f=i;d=t;const e=decodeInteger(r,0);let n;if(e<-1){n=[[decodeInteger(r,0)]];for(let t=-1;t>e;t--){const e=f;f=decodeInteger(r,f);d=decodeInteger(r,f===e?d:0);const t=decodeInteger(r,0);n.push([t,f,d])}}else{n=[[e]]}T.push(n)}while(hasMoreVlq(r,e))}S.bindings=T;n.push(S);s.push(S)}i++;r.pos=e+1}while(r.pos<t);return n}function encodeGeneratedRanges(e){if(e.length===0)return"";const t=new StringWriter;for(let r=0;r<e.length;){r=_encodeGeneratedRanges(e,r,t,[0,0,0,0,0,0,0])}return t.flush()}function _encodeGeneratedRanges(e,r,n,s){const i=e[r];const{0:a,1:o,2:l,3:c,isScope:u,callsite:p,bindings:f}=i;if(s[0]<a){catchupLine(n,s[0],a);s[0]=a;s[1]=0}else if(r>0){n.write(t)}s[1]=encodeInteger(n,i[1],s[1]);const d=(i.length===6?1:0)|(p?2:0)|(u?4:0);encodeInteger(n,d,0);if(i.length===6){const{4:e,5:t}=i;if(e!==s[2]){s[3]=0}s[2]=encodeInteger(n,e,s[2]);s[3]=encodeInteger(n,t,s[3])}if(p){const{0:e,1:t,2:r}=i.callsite;if(e!==s[4]){s[5]=0;s[6]=0}else if(t!==s[5]){s[6]=0}s[4]=encodeInteger(n,e,s[4]);s[5]=encodeInteger(n,t,s[5]);s[6]=encodeInteger(n,r,s[6])}if(f){for(const e of f){if(e.length>1)encodeInteger(n,-e.length,0);const t=e[0][0];encodeInteger(n,t,0);let r=a;let s=o;for(let t=1;t<e.length;t++){const i=e[t];r=encodeInteger(n,i[1],r);s=encodeInteger(n,i[2],s);encodeInteger(n,i[0],0)}}}for(r++;r<e.length;){const t=e[r];const{0:i,1:a}=t;if(i>l||i===l&&a>=c){break}r=_encodeGeneratedRanges(e,r,n,s)}if(s[0]<l){catchupLine(n,s[0],l);s[0]=l;s[1]=0}else{n.write(t)}s[1]=encodeInteger(n,c,s[1]);return r}function catchupLine(e,t,n){do{e.write(r)}while(++t<n)}function decode(e){const{length:t}=e;const r=new StringReader(e);const n=[];let s=0;let i=0;let a=0;let o=0;let l=0;do{const e=r.indexOf(";");const t=[];let c=true;let u=0;s=0;while(r.pos<e){let n;s=decodeInteger(r,s);if(s<u)c=false;u=s;if(hasMoreVlq(r,e)){i=decodeInteger(r,i);a=decodeInteger(r,a);o=decodeInteger(r,o);if(hasMoreVlq(r,e)){l=decodeInteger(r,l);n=[s,i,a,o,l]}else{n=[s,i,a,o]}}else{n=[s]}t.push(n);r.pos++}if(!c)sort(t);n.push(t);r.pos=e+1}while(r.pos<=t);return n}function sort(e){e.sort(sortComparator)}function sortComparator(e,t){return e[0]-t[0]}function encode(e){const n=new StringWriter;let s=0;let i=0;let a=0;let o=0;for(let l=0;l<e.length;l++){const c=e[l];if(l>0)n.write(r);if(c.length===0)continue;let u=0;for(let e=0;e<c.length;e++){const r=c[e];if(e>0)n.write(t);u=encodeInteger(n,r[0],u);if(r.length===1)continue;s=encodeInteger(n,r[1],s);i=encodeInteger(n,r[2],i);a=encodeInteger(n,r[3],a);if(r.length===4)continue;o=encodeInteger(n,r[4],o)}}return n.flush()}e.decode=decode;e.decodeGeneratedRanges=decodeGeneratedRanges;e.decodeOriginalScopes=decodeOriginalScopes;e.encode=encode;e.encodeGeneratedRanges=encodeGeneratedRanges;e.encodeOriginalScopes=encodeOriginalScopes;Object.defineProperty(e,"__esModule",{value:true})}))},4614:function(e,t,r){(function(e,n){true?n(t,r(1575),r(6982)):0})(this,(function(e,t,r){"use strict";function _interopDefaultLegacy(e){return e&&typeof e==="object"&&"default"in e?e:{default:e}}var n=_interopDefaultLegacy(r);function resolve(e,t){if(t&&!t.endsWith("/"))t+="/";return n["default"](e,t)}function stripFilename(e){if(!e)return"";const t=e.lastIndexOf("/");return e.slice(0,t+1)}const s=0;const i=1;const a=2;const o=3;const l=4;const c=1;const u=2;function maybeSort(e,t){const r=nextUnsortedSegmentLine(e,0);if(r===e.length)return e;if(!t)e=e.slice();for(let n=r;n<e.length;n=nextUnsortedSegmentLine(e,n+1)){e[n]=sortSegments(e[n],t)}return e}function nextUnsortedSegmentLine(e,t){for(let r=t;r<e.length;r++){if(!isSorted(e[r]))return r}return e.length}function isSorted(e){for(let t=1;t<e.length;t++){if(e[t][s]<e[t-1][s]){return false}}return true}function sortSegments(e,t){if(!t)e=e.slice();return e.sort(sortComparator)}function sortComparator(e,t){return e[s]-t[s]}let p=false;function binarySearch(e,t,r,n){while(r<=n){const i=r+(n-r>>1);const a=e[i][s]-t;if(a===0){p=true;return i}if(a<0){r=i+1}else{n=i-1}}p=false;return r-1}function upperBound(e,t,r){for(let n=r+1;n<e.length;r=n++){if(e[n][s]!==t)break}return r}function lowerBound(e,t,r){for(let n=r-1;n>=0;r=n--){if(e[n][s]!==t)break}return r}function memoizedState(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function memoizedBinarySearch(e,t,r,n){const{lastKey:i,lastNeedle:a,lastIndex:o}=r;let l=0;let c=e.length-1;if(n===i){if(t===a){p=o!==-1&&e[o][s]===t;return o}if(t>=a){l=o===-1?0:o}else{c=o}}r.lastKey=n;r.lastNeedle=t;return r.lastIndex=binarySearch(e,t,l,c)}function buildBySources(e,t){const r=t.map(buildNullArray);for(let n=0;n<e.length;n++){const l=e[n];for(let e=0;e<l.length;e++){const c=l[e];if(c.length===1)continue;const u=c[i];const p=c[a];const f=c[o];const d=r[u];const h=d[p]||(d[p]=[]);const m=t[u];const y=upperBound(h,f,memoizedBinarySearch(h,f,m,p));insert(h,m.lastIndex=y+1,[f,n,c[s]])}}return r}function insert(e,t,r){for(let r=e.length;r>t;r--){e[r]=e[r-1]}e[t]=r}function buildNullArray(){return{__proto__:null}}const AnyMap=function(t,r){const n=typeof t==="string"?JSON.parse(t):t;if(!("sections"in n))return new TraceMap(n,r);const s=[];const i=[];const a=[];const o=[];recurse(n,r,s,i,a,o,0,0,Infinity,Infinity);const l={version:3,file:n.file,names:o,sources:i,sourcesContent:a,mappings:s};return e.presortedDecodedMap(l)};function recurse(e,t,r,n,s,i,a,o,l,c){const{sections:u}=e;for(let e=0;e<u.length;e++){const{map:p,offset:f}=u[e];let d=l;let h=c;if(e+1<u.length){const t=u[e+1].offset;d=Math.min(l,a+t.line);if(d===l){h=Math.min(c,o+t.column)}else if(d<l){h=o+t.column}}addSection(p,t,r,n,s,i,a+f.line,o+f.column,d,h)}}function addSection(t,r,n,c,u,p,f,d,h,m){if("sections"in t)return recurse(...arguments);const y=new TraceMap(t,r);const g=c.length;const b=p.length;const T=e.decodedMappings(y);const{resolvedSources:S,sourcesContent:v}=y;append(c,S);append(p,y.names);if(v)append(u,v);else for(let e=0;e<S.length;e++)u.push(null);for(let e=0;e<T.length;e++){const t=f+e;if(t>h)return;const r=getLine(n,t);const c=e===0?d:0;const u=T[e];for(let e=0;e<u.length;e++){const n=u[e];const p=c+n[s];if(t===h&&p>=m)return;if(n.length===1){r.push([p]);continue}const f=g+n[i];const d=n[a];const y=n[o];r.push(n.length===4?[p,f,d,y]:[p,f,d,y,b+n[l]])}}}function append(e,t){for(let r=0;r<t.length;r++)e.push(t[r])}function getLine(e,t){for(let r=e.length;r<=t;r++)e[r]=[];return e[t]}const f="`line` must be greater than 0 (lines start at line 1)";const d="`column` must be greater than or equal to 0 (columns start at column 0)";const h=-1;const m=1;e.encodedMappings=void 0;e.decodedMappings=void 0;e.traceSegment=void 0;e.originalPositionFor=void 0;e.generatedPositionFor=void 0;e.allGeneratedPositionsFor=void 0;e.eachMapping=void 0;e.sourceContentFor=void 0;e.presortedDecodedMap=void 0;e.decodedMap=void 0;e.encodedMap=void 0;class TraceMap{constructor(e,t){const r=typeof e==="string";if(!r&&e._decodedMemo)return e;const n=r?JSON.parse(e):e;const{version:s,file:i,names:a,sourceRoot:o,sources:l,sourcesContent:c}=n;this.version=s;this.file=i;this.names=a;this.sourceRoot=o;this.sources=l;this.sourcesContent=c;const u=resolve(o||"",stripFilename(t));this.resolvedSources=l.map((e=>resolve(e||"",u)));const{mappings:p}=n;if(typeof p==="string"){this._encoded=p;this._decoded=undefined}else{this._encoded=undefined;this._decoded=maybeSort(p,r)}this._decodedMemo=memoizedState();this._bySources=undefined;this._bySourceMemos=undefined}}(()=>{e.encodedMappings=e=>{var r;return(r=e._encoded)!==null&&r!==void 0?r:e._encoded=t.encode(e._decoded)};e.decodedMappings=e=>e._decoded||(e._decoded=t.decode(e._encoded));e.traceSegment=(t,r,n)=>{const s=e.decodedMappings(t);if(r>=s.length)return null;const i=s[r];const a=traceSegmentInternal(i,t._decodedMemo,r,n,m);return a===-1?null:i[a]};e.originalPositionFor=(t,{line:r,column:n,bias:s})=>{r--;if(r<0)throw new Error(f);if(n<0)throw new Error(d);const c=e.decodedMappings(t);if(r>=c.length)return OMapping(null,null,null,null);const u=c[r];const p=traceSegmentInternal(u,t._decodedMemo,r,n,s||m);if(p===-1)return OMapping(null,null,null,null);const h=u[p];if(h.length===1)return OMapping(null,null,null,null);const{names:y,resolvedSources:g}=t;return OMapping(g[h[i]],h[a]+1,h[o],h.length===5?y[h[l]]:null)};e.allGeneratedPositionsFor=(e,{source:t,line:r,column:n,bias:s})=>generatedPosition(e,t,r,n,s||h,true);e.generatedPositionFor=(e,{source:t,line:r,column:n,bias:s})=>generatedPosition(e,t,r,n,s||m,false);e.eachMapping=(t,r)=>{const n=e.decodedMappings(t);const{names:s,resolvedSources:i}=t;for(let e=0;e<n.length;e++){const t=n[e];for(let n=0;n<t.length;n++){const a=t[n];const o=e+1;const l=a[0];let c=null;let u=null;let p=null;let f=null;if(a.length!==1){c=i[a[1]];u=a[2]+1;p=a[3]}if(a.length===5)f=s[a[4]];r({generatedLine:o,generatedColumn:l,source:c,originalLine:u,originalColumn:p,name:f})}}};e.sourceContentFor=(e,t)=>{const{sources:r,resolvedSources:n,sourcesContent:s}=e;if(s==null)return null;let i=r.indexOf(t);if(i===-1)i=n.indexOf(t);return i===-1?null:s[i]};e.presortedDecodedMap=(e,t)=>{const r=new TraceMap(clone(e,[]),t);r._decoded=e.mappings;return r};e.decodedMap=t=>clone(t,e.decodedMappings(t));e.encodedMap=t=>clone(t,e.encodedMappings(t));function generatedPosition(t,r,n,s,i,a){n--;if(n<0)throw new Error(f);if(s<0)throw new Error(d);const{sources:o,resolvedSources:l}=t;let p=o.indexOf(r);if(p===-1)p=l.indexOf(r);if(p===-1)return a?[]:GMapping(null,null);const h=t._bySources||(t._bySources=buildBySources(e.decodedMappings(t),t._bySourceMemos=o.map(memoizedState)));const m=h[p][n];if(m==null)return a?[]:GMapping(null,null);const y=t._bySourceMemos[p];if(a)return sliceGeneratedPositions(m,y,n,s,i);const g=traceSegmentInternal(m,y,n,s,i);if(g===-1)return GMapping(null,null);const b=m[g];return GMapping(b[c]+1,b[u])}})();function clone(e,t){return{version:e.version,file:e.file,names:e.names,sourceRoot:e.sourceRoot,sources:e.sources,sourcesContent:e.sourcesContent,mappings:t}}function OMapping(e,t,r,n){return{source:e,line:t,column:r,name:n}}function GMapping(e,t){return{line:e,column:t}}function traceSegmentInternal(e,t,r,n,s){let i=memoizedBinarySearch(e,n,t,r);if(p){i=(s===h?upperBound:lowerBound)(e,n,i)}else if(s===h)i++;if(i===-1||i===e.length)return-1;return i}function sliceGeneratedPositions(e,t,r,n,i){let a=traceSegmentInternal(e,t,r,n,m);if(!p&&i===h)a++;if(a===-1||a===e.length)return[];const o=p?n:e[a][s];if(!p)a=lowerBound(e,o,a);const l=upperBound(e,o,a);const f=[];for(;a<=l;a++){const t=e[a];f.push(GMapping(t[c]+1,t[u]))}return f}e.AnyMap=AnyMap;e.GREATEST_LOWER_BOUND=m;e.LEAST_UPPER_BOUND=h;e.TraceMap=TraceMap;Object.defineProperty(e,"__esModule",{value:true})}))},7385:function(e,t,r){(function(e,n){true?n(t,r(8918),r(6982)):0})(this,(function(e,t,r){"use strict";function resolve(e,t){if(t&&!t.endsWith("/"))t+="/";return r(e,t)}function stripFilename(e){if(!e)return"";const t=e.lastIndexOf("/");return e.slice(0,t+1)}const n=0;const s=1;const i=2;const a=3;const o=4;const l=1;const c=2;function maybeSort(e,t){const r=nextUnsortedSegmentLine(e,0);if(r===e.length)return e;if(!t)e=e.slice();for(let n=r;n<e.length;n=nextUnsortedSegmentLine(e,n+1)){e[n]=sortSegments(e[n],t)}return e}function nextUnsortedSegmentLine(e,t){for(let r=t;r<e.length;r++){if(!isSorted(e[r]))return r}return e.length}function isSorted(e){for(let t=1;t<e.length;t++){if(e[t][n]<e[t-1][n]){return false}}return true}function sortSegments(e,t){if(!t)e=e.slice();return e.sort(sortComparator)}function sortComparator(e,t){return e[n]-t[n]}let u=false;function binarySearch(e,t,r,s){while(r<=s){const i=r+(s-r>>1);const a=e[i][n]-t;if(a===0){u=true;return i}if(a<0){r=i+1}else{s=i-1}}u=false;return r-1}function upperBound(e,t,r){for(let s=r+1;s<e.length;r=s++){if(e[s][n]!==t)break}return r}function lowerBound(e,t,r){for(let s=r-1;s>=0;r=s--){if(e[s][n]!==t)break}return r}function memoizedState(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function memoizedBinarySearch(e,t,r,s){const{lastKey:i,lastNeedle:a,lastIndex:o}=r;let l=0;let c=e.length-1;if(s===i){if(t===a){u=o!==-1&&e[o][n]===t;return o}if(t>=a){l=o===-1?0:o}else{c=o}}r.lastKey=s;r.lastNeedle=t;return r.lastIndex=binarySearch(e,t,l,c)}function buildBySources(e,t){const r=t.map(buildNullArray);for(let o=0;o<e.length;o++){const l=e[o];for(let e=0;e<l.length;e++){const c=l[e];if(c.length===1)continue;const u=c[s];const p=c[i];const f=c[a];const d=r[u];const h=d[p]||(d[p]=[]);const m=t[u];const y=upperBound(h,f,memoizedBinarySearch(h,f,m,p));insert(h,m.lastIndex=y+1,[f,o,c[n]])}}return r}function insert(e,t,r){for(let r=e.length;r>t;r--){e[r]=e[r-1]}e[t]=r}function buildNullArray(){return{__proto__:null}}const AnyMap=function(t,r){const n=typeof t==="string"?JSON.parse(t):t;if(!("sections"in n))return new TraceMap(n,r);const s=[];const i=[];const a=[];const o=[];recurse(n,r,s,i,a,o,0,0,Infinity,Infinity);const l={version:3,file:n.file,names:o,sources:i,sourcesContent:a,mappings:s};return e.presortedDecodedMap(l)};function recurse(e,t,r,n,s,i,a,o,l,c){const{sections:u}=e;for(let e=0;e<u.length;e++){const{map:p,offset:f}=u[e];let d=l;let h=c;if(e+1<u.length){const t=u[e+1].offset;d=Math.min(l,a+t.line);if(d===l){h=Math.min(c,o+t.column)}else if(d<l){h=o+t.column}}addSection(p,t,r,n,s,i,a+f.line,o+f.column,d,h)}}function addSection(t,r,l,c,u,p,f,d,h,m){if("sections"in t)return recurse(...arguments);const y=new TraceMap(t,r);const g=c.length;const b=p.length;const T=e.decodedMappings(y);const{resolvedSources:S,sourcesContent:v}=y;append(c,S);append(p,y.names);if(v)append(u,v);else for(let e=0;e<S.length;e++)u.push(null);for(let e=0;e<T.length;e++){const t=f+e;if(t>h)return;const r=getLine(l,t);const c=e===0?d:0;const u=T[e];for(let e=0;e<u.length;e++){const l=u[e];const p=c+l[n];if(t===h&&p>=m)return;if(l.length===1){r.push([p]);continue}const f=g+l[s];const d=l[i];const y=l[a];r.push(l.length===4?[p,f,d,y]:[p,f,d,y,b+l[o]])}}}function append(e,t){for(let r=0;r<t.length;r++)e.push(t[r])}function getLine(e,t){for(let r=e.length;r<=t;r++)e[r]=[];return e[t]}const p="`line` must be greater than 0 (lines start at line 1)";const f="`column` must be greater than or equal to 0 (columns start at column 0)";const d=-1;const h=1;e.encodedMappings=void 0;e.decodedMappings=void 0;e.traceSegment=void 0;e.originalPositionFor=void 0;e.generatedPositionFor=void 0;e.allGeneratedPositionsFor=void 0;e.eachMapping=void 0;e.sourceContentFor=void 0;e.presortedDecodedMap=void 0;e.decodedMap=void 0;e.encodedMap=void 0;class TraceMap{constructor(e,t){const r=typeof e==="string";if(!r&&e._decodedMemo)return e;const n=r?JSON.parse(e):e;const{version:s,file:i,names:a,sourceRoot:o,sources:l,sourcesContent:c}=n;this.version=s;this.file=i;this.names=a||[];this.sourceRoot=o;this.sources=l;this.sourcesContent=c;const u=resolve(o||"",stripFilename(t));this.resolvedSources=l.map((e=>resolve(e||"",u)));const{mappings:p}=n;if(typeof p==="string"){this._encoded=p;this._decoded=undefined}else{this._encoded=undefined;this._decoded=maybeSort(p,r)}this._decodedMemo=memoizedState();this._bySources=undefined;this._bySourceMemos=undefined}}(()=>{e.encodedMappings=e=>{var r;return(r=e._encoded)!==null&&r!==void 0?r:e._encoded=t.encode(e._decoded)};e.decodedMappings=e=>e._decoded||(e._decoded=t.decode(e._encoded));e.traceSegment=(t,r,n)=>{const s=e.decodedMappings(t);if(r>=s.length)return null;const i=s[r];const a=traceSegmentInternal(i,t._decodedMemo,r,n,h);return a===-1?null:i[a]};e.originalPositionFor=(t,{line:r,column:n,bias:l})=>{r--;if(r<0)throw new Error(p);if(n<0)throw new Error(f);const c=e.decodedMappings(t);if(r>=c.length)return OMapping(null,null,null,null);const u=c[r];const d=traceSegmentInternal(u,t._decodedMemo,r,n,l||h);if(d===-1)return OMapping(null,null,null,null);const m=u[d];if(m.length===1)return OMapping(null,null,null,null);const{names:y,resolvedSources:g}=t;return OMapping(g[m[s]],m[i]+1,m[a],m.length===5?y[m[o]]:null)};e.allGeneratedPositionsFor=(e,{source:t,line:r,column:n,bias:s})=>generatedPosition(e,t,r,n,s||d,true);e.generatedPositionFor=(e,{source:t,line:r,column:n,bias:s})=>generatedPosition(e,t,r,n,s||h,false);e.eachMapping=(t,r)=>{const n=e.decodedMappings(t);const{names:s,resolvedSources:i}=t;for(let e=0;e<n.length;e++){const t=n[e];for(let n=0;n<t.length;n++){const a=t[n];const o=e+1;const l=a[0];let c=null;let u=null;let p=null;let f=null;if(a.length!==1){c=i[a[1]];u=a[2]+1;p=a[3]}if(a.length===5)f=s[a[4]];r({generatedLine:o,generatedColumn:l,source:c,originalLine:u,originalColumn:p,name:f})}}};e.sourceContentFor=(e,t)=>{const{sources:r,resolvedSources:n,sourcesContent:s}=e;if(s==null)return null;let i=r.indexOf(t);if(i===-1)i=n.indexOf(t);return i===-1?null:s[i]};e.presortedDecodedMap=(e,t)=>{const r=new TraceMap(clone(e,[]),t);r._decoded=e.mappings;return r};e.decodedMap=t=>clone(t,e.decodedMappings(t));e.encodedMap=t=>clone(t,e.encodedMappings(t));function generatedPosition(t,r,n,s,i,a){n--;if(n<0)throw new Error(p);if(s<0)throw new Error(f);const{sources:o,resolvedSources:u}=t;let d=o.indexOf(r);if(d===-1)d=u.indexOf(r);if(d===-1)return a?[]:GMapping(null,null);const h=t._bySources||(t._bySources=buildBySources(e.decodedMappings(t),t._bySourceMemos=o.map(memoizedState)));const m=h[d][n];if(m==null)return a?[]:GMapping(null,null);const y=t._bySourceMemos[d];if(a)return sliceGeneratedPositions(m,y,n,s,i);const g=traceSegmentInternal(m,y,n,s,i);if(g===-1)return GMapping(null,null);const b=m[g];return GMapping(b[l]+1,b[c])}})();function clone(e,t){return{version:e.version,file:e.file,names:e.names,sourceRoot:e.sourceRoot,sources:e.sources,sourcesContent:e.sourcesContent,mappings:t}}function OMapping(e,t,r,n){return{source:e,line:t,column:r,name:n}}function GMapping(e,t){return{line:e,column:t}}function traceSegmentInternal(e,t,r,n,s){let i=memoizedBinarySearch(e,n,t,r);if(u){i=(s===d?upperBound:lowerBound)(e,n,i)}else if(s===d)i++;if(i===-1||i===e.length)return-1;return i}function sliceGeneratedPositions(e,t,r,s,i){let a=traceSegmentInternal(e,t,r,s,h);if(!u&&i===d)a++;if(a===-1||a===e.length)return[];const o=u?s:e[a][n];if(!u)a=lowerBound(e,o,a);const p=upperBound(e,o,a);const f=[];for(;a<=p;a++){const t=e[a];f.push(GMapping(t[l]+1,t[c]))}return f}e.AnyMap=AnyMap;e.GREATEST_LOWER_BOUND=h;e.LEAST_UPPER_BOUND=d;e.TraceMap=TraceMap}))},8535:(e,t,r)=>{"use strict";e=r.nmd(e);const n=r(9054);const wrapAnsi16=(e,t)=>function(){const r=e.apply(n,arguments);return`[${r+t}m`};const wrapAnsi256=(e,t)=>function(){const r=e.apply(n,arguments);return`[${38+t};5;${r}m`};const wrapAnsi16m=(e,t)=>function(){const r=e.apply(n,arguments);return`[${38+t};2;${r[0]};${r[1]};${r[2]}m`};function assembleStyles(){const e=new Map;const t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.grey=t.color.gray;for(const r of Object.keys(t)){const n=t[r];for(const r of Object.keys(n)){const s=n[r];t[r]={open:`[${s[0]}m`,close:`[${s[1]}m`};n[r]=t[r];e.set(s[0],s[1])}Object.defineProperty(t,r,{value:n,enumerable:false});Object.defineProperty(t,"codes",{value:e,enumerable:false})}const ansi2ansi=e=>e;const rgb2rgb=(e,t,r)=>[e,t,r];t.color.close="[39m";t.bgColor.close="[49m";t.color.ansi={ansi:wrapAnsi16(ansi2ansi,0)};t.color.ansi256={ansi256:wrapAnsi256(ansi2ansi,0)};t.color.ansi16m={rgb:wrapAnsi16m(rgb2rgb,0)};t.bgColor.ansi={ansi:wrapAnsi16(ansi2ansi,10)};t.bgColor.ansi256={ansi256:wrapAnsi256(ansi2ansi,10)};t.bgColor.ansi16m={rgb:wrapAnsi16m(rgb2rgb,10)};for(let e of Object.keys(n)){if(typeof n[e]!=="object"){continue}const r=n[e];if(e==="ansi16"){e="ansi"}if("ansi16"in r){t.color.ansi[e]=wrapAnsi16(r.ansi16,0);t.bgColor.ansi[e]=wrapAnsi16(r.ansi16,10)}if("ansi256"in r){t.color.ansi256[e]=wrapAnsi256(r.ansi256,0);t.bgColor.ansi256[e]=wrapAnsi256(r.ansi256,10)}if("rgb"in r){t.color.ansi16m[e]=wrapAnsi16m(r.rgb,0);t.bgColor.ansi16m[e]=wrapAnsi16m(r.rgb,10)}}return t}Object.defineProperty(e,"exports",{enumerable:true,get:assembleStyles})},6148:(e,t,r)=>{"use strict";const n=r(7379);const s=r(8535);const i=r(7220).stdout;const a=r(5299);const o=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm");const l=["ansi","ansi","ansi256","ansi16m"];const c=new Set(["gray"]);const u=Object.create(null);function applyOptions(e,t){t=t||{};const r=i?i.level:0;e.level=t.level===undefined?r:t.level;e.enabled="enabled"in t?t.enabled:e.level>0}function Chalk(e){if(!this||!(this instanceof Chalk)||this.template){const t={};applyOptions(t,e);t.template=function(){const e=[].slice.call(arguments);return chalkTag.apply(null,[t.template].concat(e))};Object.setPrototypeOf(t,Chalk.prototype);Object.setPrototypeOf(t.template,t);t.template.constructor=Chalk;return t.template}applyOptions(this,e)}if(o){s.blue.open="[94m"}for(const e of Object.keys(s)){s[e].closeRe=new RegExp(n(s[e].close),"g");u[e]={get(){const t=s[e];return build.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}}}u.visible={get(){return build.call(this,this._styles||[],true,"visible")}};s.color.closeRe=new RegExp(n(s.color.close),"g");for(const e of Object.keys(s.color.ansi)){if(c.has(e)){continue}u[e]={get(){const t=this.level;return function(){const r=s.color[l[t]][e].apply(null,arguments);const n={open:r,close:s.color.close,closeRe:s.color.closeRe};return build.call(this,this._styles?this._styles.concat(n):[n],this._empty,e)}}}}s.bgColor.closeRe=new RegExp(n(s.bgColor.close),"g");for(const e of Object.keys(s.bgColor.ansi)){if(c.has(e)){continue}const t="bg"+e[0].toUpperCase()+e.slice(1);u[t]={get(){const t=this.level;return function(){const r=s.bgColor[l[t]][e].apply(null,arguments);const n={open:r,close:s.bgColor.close,closeRe:s.bgColor.closeRe};return build.call(this,this._styles?this._styles.concat(n):[n],this._empty,e)}}}}const p=Object.defineProperties((()=>{}),u);function build(e,t,r){const builder=function(){return applyStyle.apply(builder,arguments)};builder._styles=e;builder._empty=t;const n=this;Object.defineProperty(builder,"level",{enumerable:true,get(){return n.level},set(e){n.level=e}});Object.defineProperty(builder,"enabled",{enumerable:true,get(){return n.enabled},set(e){n.enabled=e}});builder.hasGrey=this.hasGrey||r==="gray"||r==="grey";builder.__proto__=p;return builder}function applyStyle(){const e=arguments;const t=e.length;let r=String(arguments[0]);if(t===0){return""}if(t>1){for(let n=1;n<t;n++){r+=" "+e[n]}}if(!this.enabled||this.level<=0||!r){return this._empty?"":r}const n=s.dim.open;if(o&&this.hasGrey){s.dim.open=""}for(const e of this._styles.slice().reverse()){r=e.open+r.replace(e.closeRe,e.open)+e.close;r=r.replace(/\r?\n/g,`${e.close}$&${e.open}`)}s.dim.open=n;return r}function chalkTag(e,t){if(!Array.isArray(t)){return[].slice.call(arguments,1).join(" ")}const r=[].slice.call(arguments,2);const n=[t.raw[0]];for(let e=1;e<t.length;e++){n.push(String(r[e-1]).replace(/[{}\\]/g,"\\$&"));n.push(String(t.raw[e]))}return a(e,n.join(""))}Object.defineProperties(Chalk.prototype,u);e.exports=Chalk();e.exports.supportsColor=i;e.exports["default"]=e.exports},5299:e=>{"use strict";const t=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;const r=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const n=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const s=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi;const i=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(e){if(e[0]==="u"&&e.length===5||e[0]==="x"&&e.length===3){return String.fromCharCode(parseInt(e.slice(1),16))}return i.get(e)||e}function parseArguments(e,t){const r=[];const i=t.trim().split(/\s*,\s*/g);let a;for(const t of i){if(!isNaN(t)){r.push(Number(t))}else if(a=t.match(n)){r.push(a[2].replace(s,((e,t,r)=>t?unescape(t):r)))}else{throw new Error(`Invalid Chalk template style argument: ${t} (in style '${e}')`)}}return r}function parseStyle(e){r.lastIndex=0;const t=[];let n;while((n=r.exec(e))!==null){const e=n[1];if(n[2]){const r=parseArguments(e,n[2]);t.push([e].concat(r))}else{t.push([e])}}return t}function buildStyle(e,t){const r={};for(const e of t){for(const t of e.styles){r[t[0]]=e.inverse?null:t.slice(1)}}let n=e;for(const e of Object.keys(r)){if(Array.isArray(r[e])){if(!(e in n)){throw new Error(`Unknown Chalk style: ${e}`)}if(r[e].length>0){n=n[e].apply(n,r[e])}else{n=n[e]}}}return n}e.exports=(e,r)=>{const n=[];const s=[];let i=[];r.replace(t,((t,r,a,o,l,c)=>{if(r){i.push(unescape(r))}else if(o){const t=i.join("");i=[];s.push(n.length===0?t:buildStyle(e,n)(t));n.push({inverse:a,styles:parseStyle(o)})}else if(l){if(n.length===0){throw new Error("Found extraneous } in Chalk template literal")}s.push(buildStyle(e,n)(i.join("")));i=[];n.pop()}else{i.push(c)}}));s.push(i.join(""));if(n.length>0){const e=`Chalk template literal is missing ${n.length} closing bracket${n.length===1?"":"s"} (\`}\`)`;throw new Error(e)}return s.join("")}},4117:(e,t,r)=>{var n=r(2251);var s={};for(var i in n){if(n.hasOwnProperty(i)){s[n[i]]=i}}var a=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var o in a){if(a.hasOwnProperty(o)){if(!("channels"in a[o])){throw new Error("missing channels property: "+o)}if(!("labels"in a[o])){throw new Error("missing channel labels property: "+o)}if(a[o].labels.length!==a[o].channels){throw new Error("channel and label counts mismatch: "+o)}var l=a[o].channels;var c=a[o].labels;delete a[o].channels;delete a[o].labels;Object.defineProperty(a[o],"channels",{value:l});Object.defineProperty(a[o],"labels",{value:c})}}a.rgb.hsl=function(e){var t=e[0]/255;var r=e[1]/255;var n=e[2]/255;var s=Math.min(t,r,n);var i=Math.max(t,r,n);var a=i-s;var o;var l;var c;if(i===s){o=0}else if(t===i){o=(r-n)/a}else if(r===i){o=2+(n-t)/a}else if(n===i){o=4+(t-r)/a}o=Math.min(o*60,360);if(o<0){o+=360}c=(s+i)/2;if(i===s){l=0}else if(c<=.5){l=a/(i+s)}else{l=a/(2-i-s)}return[o,l*100,c*100]};a.rgb.hsv=function(e){var t;var r;var n;var s;var i;var a=e[0]/255;var o=e[1]/255;var l=e[2]/255;var c=Math.max(a,o,l);var u=c-Math.min(a,o,l);var diffc=function(e){return(c-e)/6/u+1/2};if(u===0){s=i=0}else{i=u/c;t=diffc(a);r=diffc(o);n=diffc(l);if(a===c){s=n-r}else if(o===c){s=1/3+t-n}else if(l===c){s=2/3+r-t}if(s<0){s+=1}else if(s>1){s-=1}}return[s*360,i*100,c*100]};a.rgb.hwb=function(e){var t=e[0];var r=e[1];var n=e[2];var s=a.rgb.hsl(e)[0];var i=1/255*Math.min(t,Math.min(r,n));n=1-1/255*Math.max(t,Math.max(r,n));return[s,i*100,n*100]};a.rgb.cmyk=function(e){var t=e[0]/255;var r=e[1]/255;var n=e[2]/255;var s;var i;var a;var o;o=Math.min(1-t,1-r,1-n);s=(1-t-o)/(1-o)||0;i=(1-r-o)/(1-o)||0;a=(1-n-o)/(1-o)||0;return[s*100,i*100,a*100,o*100]};function comparativeDistance(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)+Math.pow(e[2]-t[2],2)}a.rgb.keyword=function(e){var t=s[e];if(t){return t}var r=Infinity;var i;for(var a in n){if(n.hasOwnProperty(a)){var o=n[a];var l=comparativeDistance(e,o);if(l<r){r=l;i=a}}}return i};a.keyword.rgb=function(e){return n[e]};a.rgb.xyz=function(e){var t=e[0]/255;var r=e[1]/255;var n=e[2]/255;t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92;r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92;n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92;var s=t*.4124+r*.3576+n*.1805;var i=t*.2126+r*.7152+n*.0722;var a=t*.0193+r*.1192+n*.9505;return[s*100,i*100,a*100]};a.rgb.lab=function(e){var t=a.rgb.xyz(e);var r=t[0];var n=t[1];var s=t[2];var i;var o;var l;r/=95.047;n/=100;s/=108.883;r=r>.008856?Math.pow(r,1/3):7.787*r+16/116;n=n>.008856?Math.pow(n,1/3):7.787*n+16/116;s=s>.008856?Math.pow(s,1/3):7.787*s+16/116;i=116*n-16;o=500*(r-n);l=200*(n-s);return[i,o,l]};a.hsl.rgb=function(e){var t=e[0]/360;var r=e[1]/100;var n=e[2]/100;var s;var i;var a;var o;var l;if(r===0){l=n*255;return[l,l,l]}if(n<.5){i=n*(1+r)}else{i=n+r-n*r}s=2*n-i;o=[0,0,0];for(var c=0;c<3;c++){a=t+1/3*-(c-1);if(a<0){a++}if(a>1){a--}if(6*a<1){l=s+(i-s)*6*a}else if(2*a<1){l=i}else if(3*a<2){l=s+(i-s)*(2/3-a)*6}else{l=s}o[c]=l*255}return o};a.hsl.hsv=function(e){var t=e[0];var r=e[1]/100;var n=e[2]/100;var s=r;var i=Math.max(n,.01);var a;var o;n*=2;r*=n<=1?n:2-n;s*=i<=1?i:2-i;o=(n+r)/2;a=n===0?2*s/(i+s):2*r/(n+r);return[t,a*100,o*100]};a.hsv.rgb=function(e){var t=e[0]/60;var r=e[1]/100;var n=e[2]/100;var s=Math.floor(t)%6;var i=t-Math.floor(t);var a=255*n*(1-r);var o=255*n*(1-r*i);var l=255*n*(1-r*(1-i));n*=255;switch(s){case 0:return[n,l,a];case 1:return[o,n,a];case 2:return[a,n,l];case 3:return[a,o,n];case 4:return[l,a,n];case 5:return[n,a,o]}};a.hsv.hsl=function(e){var t=e[0];var r=e[1]/100;var n=e[2]/100;var s=Math.max(n,.01);var i;var a;var o;o=(2-r)*n;i=(2-r)*s;a=r*s;a/=i<=1?i:2-i;a=a||0;o/=2;return[t,a*100,o*100]};a.hwb.rgb=function(e){var t=e[0]/360;var r=e[1]/100;var n=e[2]/100;var s=r+n;var i;var a;var o;var l;if(s>1){r/=s;n/=s}i=Math.floor(6*t);a=1-n;o=6*t-i;if((i&1)!==0){o=1-o}l=r+o*(a-r);var c;var u;var p;switch(i){default:case 6:case 0:c=a;u=l;p=r;break;case 1:c=l;u=a;p=r;break;case 2:c=r;u=a;p=l;break;case 3:c=r;u=l;p=a;break;case 4:c=l;u=r;p=a;break;case 5:c=a;u=r;p=l;break}return[c*255,u*255,p*255]};a.cmyk.rgb=function(e){var t=e[0]/100;var r=e[1]/100;var n=e[2]/100;var s=e[3]/100;var i;var a;var o;i=1-Math.min(1,t*(1-s)+s);a=1-Math.min(1,r*(1-s)+s);o=1-Math.min(1,n*(1-s)+s);return[i*255,a*255,o*255]};a.xyz.rgb=function(e){var t=e[0]/100;var r=e[1]/100;var n=e[2]/100;var s;var i;var a;s=t*3.2406+r*-1.5372+n*-.4986;i=t*-.9689+r*1.8758+n*.0415;a=t*.0557+r*-.204+n*1.057;s=s>.0031308?1.055*Math.pow(s,1/2.4)-.055:s*12.92;i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*12.92;a=a>.0031308?1.055*Math.pow(a,1/2.4)-.055:a*12.92;s=Math.min(Math.max(0,s),1);i=Math.min(Math.max(0,i),1);a=Math.min(Math.max(0,a),1);return[s*255,i*255,a*255]};a.xyz.lab=function(e){var t=e[0];var r=e[1];var n=e[2];var s;var i;var a;t/=95.047;r/=100;n/=108.883;t=t>.008856?Math.pow(t,1/3):7.787*t+16/116;r=r>.008856?Math.pow(r,1/3):7.787*r+16/116;n=n>.008856?Math.pow(n,1/3):7.787*n+16/116;s=116*r-16;i=500*(t-r);a=200*(r-n);return[s,i,a]};a.lab.xyz=function(e){var t=e[0];var r=e[1];var n=e[2];var s;var i;var a;i=(t+16)/116;s=r/500+i;a=i-n/200;var o=Math.pow(i,3);var l=Math.pow(s,3);var c=Math.pow(a,3);i=o>.008856?o:(i-16/116)/7.787;s=l>.008856?l:(s-16/116)/7.787;a=c>.008856?c:(a-16/116)/7.787;s*=95.047;i*=100;a*=108.883;return[s,i,a]};a.lab.lch=function(e){var t=e[0];var r=e[1];var n=e[2];var s;var i;var a;s=Math.atan2(n,r);i=s*360/2/Math.PI;if(i<0){i+=360}a=Math.sqrt(r*r+n*n);return[t,a,i]};a.lch.lab=function(e){var t=e[0];var r=e[1];var n=e[2];var s;var i;var a;a=n/360*2*Math.PI;s=r*Math.cos(a);i=r*Math.sin(a);return[t,s,i]};a.rgb.ansi16=function(e){var t=e[0];var r=e[