@seeka-labs/cli-apps 2.0.16-alpha.0 → 2.0.20-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +19 -19
- package/dist/index.js +2 -2
- package/dist/index.js.map +2 -2
- package/dist/init-template/.gitlab-ci.yml +46 -46
- package/dist/init-template/.yarnrc.yml +8 -0
- package/dist/init-template/README.md +6 -6
- package/dist/init-template/app/browser/jest.config.js +11 -11
- package/dist/init-template/app/browser/package.json +40 -40
- package/dist/init-template/app/browser/scripts/esbuild/build-browser-plugin.mjs +110 -110
- package/dist/init-template/app/browser/scripts/esbuild/plugins/importAsGlobals.mjs +38 -38
- package/dist/init-template/app/browser/src/browser.ts +12 -12
- package/dist/init-template/app/browser/src/plugin/index.test.ts +6 -6
- package/dist/init-template/app/browser/src/plugin/index.ts +47 -47
- package/dist/init-template/app/browser/tsconfig.json +34 -34
- package/dist/init-template/app/server-azure-function/.eslintrc.cjs +10 -10
- package/dist/init-template/app/server-azure-function/.funcignore +21 -21
- package/dist/init-template/app/server-azure-function/README.md +104 -104
- package/dist/init-template/app/server-azure-function/host.json +19 -19
- package/dist/init-template/app/server-azure-function/local.settings.example.json +25 -25
- package/dist/init-template/app/server-azure-function/package.json +52 -52
- package/dist/init-template/app/server-azure-function/scripts/ngrok.js +27 -27
- package/dist/init-template/app/server-azure-function/src/functions/healthCheck.ts +13 -13
- package/dist/init-template/app/server-azure-function/src/functions/pollingExample.ts +39 -39
- package/dist/init-template/app/server-azure-function/src/functions/queueExample.ts +66 -66
- package/dist/init-template/app/server-azure-function/src/functions/seekaAppWebhook.ts +235 -235
- package/dist/init-template/app/server-azure-function/src/lib/browser/index.ts +54 -54
- package/dist/init-template/app/server-azure-function/src/lib/jobs/index.ts +95 -95
- package/dist/init-template/app/server-azure-function/src/lib/logging/index.ts +92 -92
- package/dist/init-template/app/server-azure-function/src/lib/models/index.ts +6 -6
- package/dist/init-template/app/server-azure-function/src/lib/services/index.ts +40 -40
- package/dist/init-template/app/server-azure-function/src/lib/state/redis/index.ts +96 -96
- package/dist/init-template/app/server-azure-function/src/lib/state/seeka/installations.ts +64 -64
- package/dist/init-template/app/server-azure-function/tsconfig.json +17 -17
- package/dist/init-template/tsconfig.json +25 -25
- package/package.json +2 -2
package/LICENSE
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
5
|
-
in the Software without restriction, including without limitation the rights
|
|
6
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
7
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
8
|
-
furnished to do so, subject to the following conditions:
|
|
9
|
-
|
|
10
|
-
The above copyright notice and this permission notice shall be included in all
|
|
11
|
-
copies or substantial portions of the Software.
|
|
12
|
-
|
|
13
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
19
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
5
|
+
in the Software without restriction, including without limitation the rights
|
|
6
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
7
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
8
|
+
furnished to do so, subject to the following conditions:
|
|
9
|
+
|
|
10
|
+
The above copyright notice and this permission notice shall be included in all
|
|
11
|
+
copies or substantial portions of the Software.
|
|
12
|
+
|
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
19
|
+
SOFTWARE.
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#! /usr/bin/env node
|
|
2
|
-
"use strict";var cn=Object.create;var gt=Object.defineProperty;var pn=Object.getOwnPropertyDescriptor;var hn=Object.getOwnPropertyNames;var fn=Object.getPrototypeOf,dn=Object.prototype.hasOwnProperty;var g=(n,e)=>()=>(e||n((e={exports:{}}).exports,e),e.exports);var gn=(n,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of hn(e))!dn.call(n,i)&&i!==t&>(n,i,{get:()=>e[i],enumerable:!(r=pn(e,i))||r.enumerable});return n};var W=(n,e,t)=>(t=n!=null?cn(fn(n)):{},gn(e||!n||!n.__esModule?gt(t,"default",{value:n,enumerable:!0}):t,n));var vt=g(_e=>{var _t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");_e.encode=function(n){if(0<=n&&n<_t.length)return _t[n];throw new TypeError("Must be between 0 and 63: "+n)};_e.decode=function(n){var e=65,t=90,r=97,i=122,s=48,o=57,a=43,m=47,u=26,l=52;return e<=n&&n<=t?n-e:r<=n&&n<=i?n-r+u:s<=n&&n<=o?n-s+l:n==a?62:n==m?63:-1}});var Ce=g(ye=>{var yt=vt(),ve=5,Ct=1<<ve,St=Ct-1,wt=Ct;function _n(n){return n<0?(-n<<1)+1:(n<<1)+0}function vn(n){var e=(n&1)===1,t=n>>1;return e?-t:t}ye.encode=function(e){var t="",r,i=_n(e);do r=i&St,i>>>=ve,i>0&&(r|=wt),t+=yt.encode(r);while(i>0);return t};ye.decode=function(e,t,r){var i=e.length,s=0,o=0,a,m;do{if(t>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(m=yt.decode(e.charCodeAt(t++)),m===-1)throw new Error("Invalid base64 digit: "+e.charAt(t-1));a=!!(m&wt),m&=St,s=s+(m<<o),o+=ve}while(a);r.value=vn(s),r.rest=t}});var z=g(A=>{function yn(n,e,t){if(e in n)return n[e];if(arguments.length===3)return t;throw new Error('"'+e+'" is a required argument.')}A.getArg=yn;var Ot=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,Cn=/^data:.+\,.+$/;function X(n){var e=n.match(Ot);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}A.urlParse=X;function U(n){var e="";return n.scheme&&(e+=n.scheme+":"),e+="//",n.auth&&(e+=n.auth+"@"),n.host&&(e+=n.host),n.port&&(e+=":"+n.port),n.path&&(e+=n.path),e}A.urlGenerate=U;function Se(n){var e=n,t=X(n);if(t){if(!t.path)return n;e=t.path}for(var r=A.isAbsolute(e),i=e.split(/\/+/),s,o=0,a=i.length-1;a>=0;a--)s=i[a],s==="."?i.splice(a,1):s===".."?o++:o>0&&(s===""?(i.splice(a+1,o),o=0):(i.splice(a,2),o--));return e=i.join("/"),e===""&&(e=r?"/":"."),t?(t.path=e,U(t)):e}A.normalize=Se;function bt(n,e){n===""&&(n="."),e===""&&(e=".");var t=X(e),r=X(n);if(r&&(n=r.path||"/"),t&&!t.scheme)return r&&(t.scheme=r.scheme),U(t);if(t||e.match(Cn))return e;if(r&&!r.host&&!r.path)return r.host=e,U(r);var i=e.charAt(0)==="/"?e:Se(n.replace(/\/+$/,"")+"/"+e);return r?(r.path=i,U(r)):i}A.join=bt;A.isAbsolute=function(n){return n.charAt(0)==="/"||Ot.test(n)};function Sn(n,e){n===""&&(n="."),n=n.replace(/\/$/,"");for(var t=0;e.indexOf(n+"/")!==0;){var r=n.lastIndexOf("/");if(r<0||(n=n.slice(0,r),n.match(/^([^\/]+:\/)?\/*$/)))return e;++t}return Array(t+1).join("../")+e.substr(n.length+1)}A.relative=Sn;var At=function(){var n=Object.create(null);return!("__proto__"in n)}();function Et(n){return n}function wn(n){return xt(n)?"$"+n:n}A.toSetString=At?Et:wn;function On(n){return xt(n)?n.slice(1):n}A.fromSetString=At?Et:On;function xt(n){if(!n)return!1;var e=n.length;if(e<9||n.charCodeAt(e-1)!==95||n.charCodeAt(e-2)!==95||n.charCodeAt(e-3)!==111||n.charCodeAt(e-4)!==116||n.charCodeAt(e-5)!==111||n.charCodeAt(e-6)!==114||n.charCodeAt(e-7)!==112||n.charCodeAt(e-8)!==95||n.charCodeAt(e-9)!==95)return!1;for(var t=e-10;t>=0;t--)if(n.charCodeAt(t)!==36)return!1;return!0}function bn(n,e,t){var r=B(n.source,e.source);return r!==0||(r=n.originalLine-e.originalLine,r!==0)||(r=n.originalColumn-e.originalColumn,r!==0||t)||(r=n.generatedColumn-e.generatedColumn,r!==0)||(r=n.generatedLine-e.generatedLine,r!==0)?r:B(n.name,e.name)}A.compareByOriginalPositions=bn;function An(n,e,t){var r=n.generatedLine-e.generatedLine;return r!==0||(r=n.generatedColumn-e.generatedColumn,r!==0||t)||(r=B(n.source,e.source),r!==0)||(r=n.originalLine-e.originalLine,r!==0)||(r=n.originalColumn-e.originalColumn,r!==0)?r:B(n.name,e.name)}A.compareByGeneratedPositionsDeflated=An;function B(n,e){return n===e?0:n===null?1:e===null?-1:n>e?1:-1}function En(n,e){var t=n.generatedLine-e.generatedLine;return t!==0||(t=n.generatedColumn-e.generatedColumn,t!==0)||(t=B(n.source,e.source),t!==0)||(t=n.originalLine-e.originalLine,t!==0)||(t=n.originalColumn-e.originalColumn,t!==0)?t:B(n.name,e.name)}A.compareByGeneratedPositionsInflated=En;function xn(n){return JSON.parse(n.replace(/^\)]}'[^\n]*\n/,""))}A.parseSourceMapInput=xn;function kn(n,e,t){if(e=e||"",n&&(n[n.length-1]!=="/"&&e[0]!=="/"&&(n+="/"),e=n+e),t){var r=X(t);if(!r)throw new Error("sourceMapURL could not be parsed");if(r.path){var i=r.path.lastIndexOf("/");i>=0&&(r.path=r.path.substring(0,i+1))}e=bt(U(r),e)}return Se(e)}A.computeSourceURL=kn});var be=g(kt=>{var we=z(),Oe=Object.prototype.hasOwnProperty,R=typeof Map<"u";function N(){this._array=[],this._set=R?new Map:Object.create(null)}N.fromArray=function(e,t){for(var r=new N,i=0,s=e.length;i<s;i++)r.add(e[i],t);return r};N.prototype.size=function(){return R?this._set.size:Object.getOwnPropertyNames(this._set).length};N.prototype.add=function(e,t){var r=R?e:we.toSetString(e),i=R?this.has(e):Oe.call(this._set,r),s=this._array.length;(!i||t)&&this._array.push(e),i||(R?this._set.set(e,s):this._set[r]=s)};N.prototype.has=function(e){if(R)return this._set.has(e);var t=we.toSetString(e);return Oe.call(this._set,t)};N.prototype.indexOf=function(e){if(R){var t=this._set.get(e);if(t>=0)return t}else{var r=we.toSetString(e);if(Oe.call(this._set,r))return this._set[r]}throw new Error('"'+e+'" is not in the set.')};N.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};N.prototype.toArray=function(){return this._array.slice()};kt.ArraySet=N});var $t=g(Lt=>{var Mt=z();function Mn(n,e){var t=n.generatedLine,r=e.generatedLine,i=n.generatedColumn,s=e.generatedColumn;return r>t||r==t&&s>=i||Mt.compareByGeneratedPositionsInflated(n,e)<=0}function oe(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}oe.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)};oe.prototype.add=function(e){Mn(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};oe.prototype.toArray=function(){return this._sorted||(this._array.sort(Mt.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};Lt.MappingList=oe});var Ae=g(Nt=>{var Z=Ce(),w=z(),ae=be().ArraySet,Ln=$t().MappingList;function x(n){n||(n={}),this._file=w.getArg(n,"file",null),this._sourceRoot=w.getArg(n,"sourceRoot",null),this._skipValidation=w.getArg(n,"skipValidation",!1),this._sources=new ae,this._names=new ae,this._mappings=new Ln,this._sourcesContents=null}x.prototype._version=3;x.fromSourceMap=function(e){var t=e.sourceRoot,r=new x({file:e.file,sourceRoot:t});return e.eachMapping(function(i){var s={generated:{line:i.generatedLine,column:i.generatedColumn}};i.source!=null&&(s.source=i.source,t!=null&&(s.source=w.relative(t,s.source)),s.original={line:i.originalLine,column:i.originalColumn},i.name!=null&&(s.name=i.name)),r.addMapping(s)}),e.sources.forEach(function(i){var s=i;t!==null&&(s=w.relative(t,i)),r._sources.has(s)||r._sources.add(s);var o=e.sourceContentFor(i);o!=null&&r.setSourceContent(i,o)}),r};x.prototype.addMapping=function(e){var t=w.getArg(e,"generated"),r=w.getArg(e,"original",null),i=w.getArg(e,"source",null),s=w.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,r,i,s),i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),s!=null&&(s=String(s),this._names.has(s)||this._names.add(s)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:r!=null&&r.line,originalColumn:r!=null&&r.column,source:i,name:s})};x.prototype.setSourceContent=function(e,t){var r=e;this._sourceRoot!=null&&(r=w.relative(this._sourceRoot,r)),t!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[w.toSetString(r)]=t):this._sourcesContents&&(delete this._sourcesContents[w.toSetString(r)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};x.prototype.applySourceMap=function(e,t,r){var i=t;if(t==null){if(e.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);i=e.file}var s=this._sourceRoot;s!=null&&(i=w.relative(s,i));var o=new ae,a=new ae;this._mappings.unsortedForEach(function(m){if(m.source===i&&m.originalLine!=null){var u=e.originalPositionFor({line:m.originalLine,column:m.originalColumn});u.source!=null&&(m.source=u.source,r!=null&&(m.source=w.join(r,m.source)),s!=null&&(m.source=w.relative(s,m.source)),m.originalLine=u.line,m.originalColumn=u.column,u.name!=null&&(m.name=u.name))}var l=m.source;l!=null&&!o.has(l)&&o.add(l);var c=m.name;c!=null&&!a.has(c)&&a.add(c)},this),this._sources=o,this._names=a,e.sources.forEach(function(m){var u=e.sourceContentFor(m);u!=null&&(r!=null&&(m=w.join(r,m)),s!=null&&(m=w.relative(s,m)),this.setSourceContent(m,u))},this)};x.prototype._validateMapping=function(e,t,r,i){if(t&&typeof t.line!="number"&&typeof t.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&&!t&&!r&&!i)){if(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&r)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:r,original:t,name:i}))}};x.prototype._serializeMappings=function(){for(var e=0,t=1,r=0,i=0,s=0,o=0,a="",m,u,l,c,p=this._mappings.toArray(),f=0,_=p.length;f<_;f++){if(u=p[f],m="",u.generatedLine!==t)for(e=0;u.generatedLine!==t;)m+=";",t++;else if(f>0){if(!w.compareByGeneratedPositionsInflated(u,p[f-1]))continue;m+=","}m+=Z.encode(u.generatedColumn-e),e=u.generatedColumn,u.source!=null&&(c=this._sources.indexOf(u.source),m+=Z.encode(c-o),o=c,m+=Z.encode(u.originalLine-1-i),i=u.originalLine-1,m+=Z.encode(u.originalColumn-r),r=u.originalColumn,u.name!=null&&(l=this._names.indexOf(u.name),m+=Z.encode(l-s),s=l)),a+=m}return a};x.prototype._generateSourcesContent=function(e,t){return e.map(function(r){if(!this._sourcesContents)return null;t!=null&&(r=w.relative(t,r));var i=w.toSetString(r);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)};x.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e};x.prototype.toString=function(){return JSON.stringify(this.toJSON())};Nt.SourceMapGenerator=x});var Tt=g(V=>{V.GREATEST_LOWER_BOUND=1;V.LEAST_UPPER_BOUND=2;function Ee(n,e,t,r,i,s){var o=Math.floor((e-n)/2)+n,a=i(t,r[o],!0);return a===0?o:a>0?e-o>1?Ee(o,e,t,r,i,s):s==V.LEAST_UPPER_BOUND?e<r.length?e:-1:o:o-n>1?Ee(n,o,t,r,i,s):s==V.LEAST_UPPER_BOUND?o:n<0?-1:n}V.search=function(e,t,r,i){if(t.length===0)return-1;var s=Ee(-1,t.length,e,t,r,i||V.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&r(t[s],t[s-1],!0)===0;)--s;return s}});var Dt=g(Pt=>{function xe(n,e,t){var r=n[e];n[e]=n[t],n[t]=r}function $n(n,e){return Math.round(n+Math.random()*(e-n))}function ke(n,e,t,r){if(t<r){var i=$n(t,r),s=t-1;xe(n,i,r);for(var o=n[r],a=t;a<r;a++)e(n[a],o)<=0&&(s+=1,xe(n,s,a));xe(n,s+1,a);var m=s+1;ke(n,e,t,m-1),ke(n,e,m+1,r)}}Pt.quickSort=function(n,e){ke(n,e,0,n.length-1)}});var Rt=g(me=>{var h=z(),Me=Tt(),J=be().ArraySet,Nn=Ce(),ee=Dt().quickSort;function C(n,e){var t=n;return typeof n=="string"&&(t=h.parseSourceMapInput(n)),t.sections!=null?new M(t,e):new O(t,e)}C.fromSourceMap=function(n,e){return O.fromSourceMap(n,e)};C.prototype._version=3;C.prototype.__generatedMappings=null;Object.defineProperty(C.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});C.prototype.__originalMappings=null;Object.defineProperty(C.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});C.prototype._charIsMappingSeparator=function(e,t){var r=e.charAt(t);return r===";"||r===","};C.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")};C.GENERATED_ORDER=1;C.ORIGINAL_ORDER=2;C.GREATEST_LOWER_BOUND=1;C.LEAST_UPPER_BOUND=2;C.prototype.eachMapping=function(e,t,r){var i=t||null,s=r||C.GENERATED_ORDER,o;switch(s){case C.GENERATED_ORDER:o=this._generatedMappings;break;case C.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var a=this.sourceRoot;o.map(function(m){var u=m.source===null?null:this._sources.at(m.source);return u=h.computeSourceURL(a,u,this._sourceMapURL),{source:u,generatedLine:m.generatedLine,generatedColumn:m.generatedColumn,originalLine:m.originalLine,originalColumn:m.originalColumn,name:m.name===null?null:this._names.at(m.name)}},this).forEach(e,i)};C.prototype.allGeneratedPositionsFor=function(e){var t=h.getArg(e,"line"),r={source:h.getArg(e,"source"),originalLine:t,originalColumn:h.getArg(e,"column",0)};if(r.source=this._findSourceIndex(r.source),r.source<0)return[];var i=[],s=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",h.compareByOriginalPositions,Me.LEAST_UPPER_BOUND);if(s>=0){var o=this._originalMappings[s];if(e.column===void 0)for(var a=o.originalLine;o&&o.originalLine===a;)i.push({line:h.getArg(o,"generatedLine",null),column:h.getArg(o,"generatedColumn",null),lastColumn:h.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++s];else for(var m=o.originalColumn;o&&o.originalLine===t&&o.originalColumn==m;)i.push({line:h.getArg(o,"generatedLine",null),column:h.getArg(o,"generatedColumn",null),lastColumn:h.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++s]}return i};me.SourceMapConsumer=C;function O(n,e){var t=n;typeof n=="string"&&(t=h.parseSourceMapInput(n));var r=h.getArg(t,"version"),i=h.getArg(t,"sources"),s=h.getArg(t,"names",[]),o=h.getArg(t,"sourceRoot",null),a=h.getArg(t,"sourcesContent",null),m=h.getArg(t,"mappings"),u=h.getArg(t,"file",null);if(r!=this._version)throw new Error("Unsupported version: "+r);o&&(o=h.normalize(o)),i=i.map(String).map(h.normalize).map(function(l){return o&&h.isAbsolute(o)&&h.isAbsolute(l)?h.relative(o,l):l}),this._names=J.fromArray(s.map(String),!0),this._sources=J.fromArray(i,!0),this._absoluteSources=this._sources.toArray().map(function(l){return h.computeSourceURL(o,l,e)}),this.sourceRoot=o,this.sourcesContent=a,this._mappings=m,this._sourceMapURL=e,this.file=u}O.prototype=Object.create(C.prototype);O.prototype.consumer=C;O.prototype._findSourceIndex=function(n){var e=n;if(this.sourceRoot!=null&&(e=h.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var t;for(t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==n)return t;return-1};O.fromSourceMap=function(e,t){var r=Object.create(O.prototype),i=r._names=J.fromArray(e._names.toArray(),!0),s=r._sources=J.fromArray(e._sources.toArray(),!0);r.sourceRoot=e._sourceRoot,r.sourcesContent=e._generateSourcesContent(r._sources.toArray(),r.sourceRoot),r.file=e._file,r._sourceMapURL=t,r._absoluteSources=r._sources.toArray().map(function(f){return h.computeSourceURL(r.sourceRoot,f,t)});for(var o=e._mappings.toArray().slice(),a=r.__generatedMappings=[],m=r.__originalMappings=[],u=0,l=o.length;u<l;u++){var c=o[u],p=new It;p.generatedLine=c.generatedLine,p.generatedColumn=c.generatedColumn,c.source&&(p.source=s.indexOf(c.source),p.originalLine=c.originalLine,p.originalColumn=c.originalColumn,c.name&&(p.name=i.indexOf(c.name)),m.push(p)),a.push(p)}return ee(r.__originalMappings,h.compareByOriginalPositions),r};O.prototype._version=3;Object.defineProperty(O.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function It(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}O.prototype._parseMappings=function(e,t){for(var r=1,i=0,s=0,o=0,a=0,m=0,u=e.length,l=0,c={},p={},f=[],_=[],S,G,b,q,dt;l<u;)if(e.charAt(l)===";")r++,l++,i=0;else if(e.charAt(l)===",")l++;else{for(S=new It,S.generatedLine=r,q=l;q<u&&!this._charIsMappingSeparator(e,q);q++);if(G=e.slice(l,q),b=c[G],b)l+=G.length;else{for(b=[];l<q;)Nn.decode(e,l,p),dt=p.value,l=p.rest,b.push(dt);if(b.length===2)throw new Error("Found a source, but no line and column");if(b.length===3)throw new Error("Found a source and line, but no column");c[G]=b}S.generatedColumn=i+b[0],i=S.generatedColumn,b.length>1&&(S.source=a+b[1],a+=b[1],S.originalLine=s+b[2],s=S.originalLine,S.originalLine+=1,S.originalColumn=o+b[3],o=S.originalColumn,b.length>4&&(S.name=m+b[4],m+=b[4])),_.push(S),typeof S.originalLine=="number"&&f.push(S)}ee(_,h.compareByGeneratedPositionsDeflated),this.__generatedMappings=_,ee(f,h.compareByOriginalPositions),this.__originalMappings=f};O.prototype._findMapping=function(e,t,r,i,s,o){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[i]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[i]);return Me.search(e,t,s,o)};O.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var r=this._generatedMappings[e+1];if(t.generatedLine===r.generatedLine){t.lastGeneratedColumn=r.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}};O.prototype.originalPositionFor=function(e){var t={generatedLine:h.getArg(e,"line"),generatedColumn:h.getArg(e,"column")},r=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",h.compareByGeneratedPositionsDeflated,h.getArg(e,"bias",C.GREATEST_LOWER_BOUND));if(r>=0){var i=this._generatedMappings[r];if(i.generatedLine===t.generatedLine){var s=h.getArg(i,"source",null);s!==null&&(s=this._sources.at(s),s=h.computeSourceURL(this.sourceRoot,s,this._sourceMapURL));var o=h.getArg(i,"name",null);return o!==null&&(o=this._names.at(o)),{source:s,line:h.getArg(i,"originalLine",null),column:h.getArg(i,"originalColumn",null),name:o}}}return{source:null,line:null,column:null,name:null}};O.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};O.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var r=this._findSourceIndex(e);if(r>=0)return this.sourcesContent[r];var i=e;this.sourceRoot!=null&&(i=h.relative(this.sourceRoot,i));var s;if(this.sourceRoot!=null&&(s=h.urlParse(this.sourceRoot))){var o=i.replace(/^file:\/\//,"");if(s.scheme=="file"&&this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];if((!s.path||s.path=="/")&&this._sources.has("/"+i))return this.sourcesContent[this._sources.indexOf("/"+i)]}if(t)return null;throw new Error('"'+i+'" is not in the SourceMap.')};O.prototype.generatedPositionFor=function(e){var t=h.getArg(e,"source");if(t=this._findSourceIndex(t),t<0)return{line:null,column:null,lastColumn:null};var r={source:t,originalLine:h.getArg(e,"line"),originalColumn:h.getArg(e,"column")},i=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",h.compareByOriginalPositions,h.getArg(e,"bias",C.GREATEST_LOWER_BOUND));if(i>=0){var s=this._originalMappings[i];if(s.source===r.source)return{line:h.getArg(s,"generatedLine",null),column:h.getArg(s,"generatedColumn",null),lastColumn:h.getArg(s,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};me.BasicSourceMapConsumer=O;function M(n,e){var t=n;typeof n=="string"&&(t=h.parseSourceMapInput(n));var r=h.getArg(t,"version"),i=h.getArg(t,"sections");if(r!=this._version)throw new Error("Unsupported version: "+r);this._sources=new J,this._names=new J;var s={line:-1,column:0};this._sections=i.map(function(o){if(o.url)throw new Error("Support for url field in sections not implemented.");var a=h.getArg(o,"offset"),m=h.getArg(a,"line"),u=h.getArg(a,"column");if(m<s.line||m===s.line&&u<s.column)throw new Error("Section offsets must be ordered and non-overlapping.");return s=a,{generatedOffset:{generatedLine:m+1,generatedColumn:u+1},consumer:new C(h.getArg(o,"map"),e)}})}M.prototype=Object.create(C.prototype);M.prototype.constructor=C;M.prototype._version=3;Object.defineProperty(M.prototype,"sources",{get:function(){for(var n=[],e=0;e<this._sections.length;e++)for(var t=0;t<this._sections[e].consumer.sources.length;t++)n.push(this._sections[e].consumer.sources[t]);return n}});M.prototype.originalPositionFor=function(e){var t={generatedLine:h.getArg(e,"line"),generatedColumn:h.getArg(e,"column")},r=Me.search(t,this._sections,function(s,o){var a=s.generatedLine-o.generatedOffset.generatedLine;return a||s.generatedColumn-o.generatedOffset.generatedColumn}),i=this._sections[r];return i?i.consumer.originalPositionFor({line:t.generatedLine-(i.generatedOffset.generatedLine-1),column:t.generatedColumn-(i.generatedOffset.generatedLine===t.generatedLine?i.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}};M.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};M.prototype.sourceContentFor=function(e,t){for(var r=0;r<this._sections.length;r++){var i=this._sections[r],s=i.consumer.sourceContentFor(e,!0);if(s)return s}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')};M.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var r=this._sections[t];if(r.consumer._findSourceIndex(h.getArg(e,"source"))!==-1){var i=r.consumer.generatedPositionFor(e);if(i){var s={line:i.line+(r.generatedOffset.generatedLine-1),column:i.column+(r.generatedOffset.generatedLine===i.line?r.generatedOffset.generatedColumn-1:0)};return s}}}return{line:null,column:null}};M.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var i=this._sections[r],s=i.consumer._generatedMappings,o=0;o<s.length;o++){var a=s[o],m=i.consumer._sources.at(a.source);m=h.computeSourceURL(i.consumer.sourceRoot,m,this._sourceMapURL),this._sources.add(m),m=this._sources.indexOf(m);var u=null;a.name&&(u=i.consumer._names.at(a.name),this._names.add(u),u=this._names.indexOf(u));var l={source:m,generatedLine:a.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(i.generatedOffset.generatedLine===a.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:a.originalLine,originalColumn:a.originalColumn,name:u};this.__generatedMappings.push(l),typeof l.originalLine=="number"&&this.__originalMappings.push(l)}ee(this.__generatedMappings,h.compareByGeneratedPositionsDeflated),ee(this.__originalMappings,h.compareByOriginalPositions)};me.IndexedSourceMapConsumer=M});var jt=g(Vt=>{var Tn=Ae().SourceMapGenerator,ue=z(),Pn=/(\r?\n)/,Dn=10,K="$$$isSourceNode$$$";function E(n,e,t,r,i){this.children=[],this.sourceContents={},this.line=n??null,this.column=e??null,this.source=t??null,this.name=i??null,this[K]=!0,r!=null&&this.add(r)}E.fromStringWithSourceMap=function(e,t,r){var i=new E,s=e.split(Pn),o=0,a=function(){var p=_(),f=_()||"";return p+f;function _(){return o<s.length?s[o++]:void 0}},m=1,u=0,l=null;return t.eachMapping(function(p){if(l!==null)if(m<p.generatedLine)c(l,a()),m++,u=0;else{var f=s[o]||"",_=f.substr(0,p.generatedColumn-u);s[o]=f.substr(p.generatedColumn-u),u=p.generatedColumn,c(l,_),l=p;return}for(;m<p.generatedLine;)i.add(a()),m++;if(u<p.generatedColumn){var f=s[o]||"";i.add(f.substr(0,p.generatedColumn)),s[o]=f.substr(p.generatedColumn),u=p.generatedColumn}l=p},this),o<s.length&&(l&&c(l,a()),i.add(s.splice(o).join(""))),t.sources.forEach(function(p){var f=t.sourceContentFor(p);f!=null&&(r!=null&&(p=ue.join(r,p)),i.setSourceContent(p,f))}),i;function c(p,f){if(p===null||p.source===void 0)i.add(f);else{var _=r?ue.join(r,p.source):p.source;i.add(new E(p.originalLine,p.originalColumn,_,f,p.name))}}};E.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(t){this.add(t)},this);else if(e[K]||typeof e=="string")e&&this.children.push(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};E.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else if(e[K]||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};E.prototype.walk=function(e){for(var t,r=0,i=this.children.length;r<i;r++)t=this.children[r],t[K]?t.walk(e):t!==""&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})};E.prototype.join=function(e){var t,r,i=this.children.length;if(i>0){for(t=[],r=0;r<i-1;r++)t.push(this.children[r]),t.push(e);t.push(this.children[r]),this.children=t}return this};E.prototype.replaceRight=function(e,t){var r=this.children[this.children.length-1];return r[K]?r.replaceRight(e,t):typeof r=="string"?this.children[this.children.length-1]=r.replace(e,t):this.children.push("".replace(e,t)),this};E.prototype.setSourceContent=function(e,t){this.sourceContents[ue.toSetString(e)]=t};E.prototype.walkSourceContents=function(e){for(var t=0,r=this.children.length;t<r;t++)this.children[t][K]&&this.children[t].walkSourceContents(e);for(var i=Object.keys(this.sourceContents),t=0,r=i.length;t<r;t++)e(ue.fromSetString(i[t]),this.sourceContents[i[t]])};E.prototype.toString=function(){var e="";return this.walk(function(t){e+=t}),e};E.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},r=new Tn(e),i=!1,s=null,o=null,a=null,m=null;return this.walk(function(u,l){t.code+=u,l.source!==null&&l.line!==null&&l.column!==null?((s!==l.source||o!==l.line||a!==l.column||m!==l.name)&&r.addMapping({source:l.source,original:{line:l.line,column:l.column},generated:{line:t.line,column:t.column},name:l.name}),s=l.source,o=l.line,a=l.column,m=l.name,i=!0):i&&(r.addMapping({generated:{line:t.line,column:t.column}}),s=null,i=!1);for(var c=0,p=u.length;c<p;c++)u.charCodeAt(c)===Dn?(t.line++,t.column=0,c+1===p?(s=null,i=!1):i&&r.addMapping({source:l.source,original:{line:l.line,column:l.column},generated:{line:t.line,column:t.column},name:l.name})):t.column++}),this.walkSourceContents(function(u,l){r.setSourceContent(u,l)}),{code:t.code,map:r}};Vt.SourceNode=E});var Ht=g(le=>{le.SourceMapGenerator=Ae().SourceMapGenerator;le.SourceMapConsumer=Rt().SourceMapConsumer;le.SourceNode=jt().SourceNode});var Gt=g((us,Ft)=>{var In=Object.prototype.toString,Le=typeof Buffer<"u"&&typeof Buffer.alloc=="function"&&typeof Buffer.allocUnsafe=="function"&&typeof Buffer.from=="function";function Rn(n){return In.call(n).slice(8,-1)==="ArrayBuffer"}function Vn(n,e,t){e>>>=0;var r=n.byteLength-e;if(r<0)throw new RangeError("'offset' is out of bounds");if(t===void 0)t=r;else if(t>>>=0,t>r)throw new RangeError("'length' is out of bounds");return Le?Buffer.from(n.slice(e,e+t)):new Buffer(new Uint8Array(n.slice(e,e+t)))}function jn(n,e){if((typeof e!="string"||e==="")&&(e="utf8"),!Buffer.isEncoding(e))throw new TypeError('"encoding" must be a valid string encoding');return Le?Buffer.from(n,e):new Buffer(n,e)}function Hn(n,e,t){if(typeof n=="number")throw new TypeError('"value" argument must not be a number');return Rn(n)?Vn(n,e,t):typeof n=="string"?jn(n,e):Le?Buffer.from(n):new Buffer(n)}Ft.exports=Hn});var Qt=g((H,Pe)=>{var Fn=Ht().SourceMapConsumer,$e=require("path"),L;try{L=require("fs"),(!L.existsSync||!L.readFileSync)&&(L=null)}catch{}var Gn=Gt();function qt(n,e){return n.require(e)}var Wt=!1,Ut=!1,Ne=!1,te="auto",j={},re={},qn=/^data:application\/json[^,]+base64,/,D=[],I=[];function De(){return te==="browser"?!0:te==="node"?!1:typeof window<"u"&&typeof XMLHttpRequest=="function"&&!(window.require&&window.module&&window.process&&window.process.type==="renderer")}function Wn(){return typeof process=="object"&&process!==null&&typeof process.on=="function"}function Un(){return typeof process=="object"&&process!==null?process.version:""}function Bn(){if(typeof process=="object"&&process!==null)return process.stderr}function zn(n){if(typeof process=="object"&&process!==null&&typeof process.exit=="function")return process.exit(n)}function ce(n){return function(e){for(var t=0;t<n.length;t++){var r=n[t](e);if(r)return r}return null}}var Ie=ce(D);D.push(function(n){if(n=n.trim(),/^file:/.test(n)&&(n=n.replace(/file:\/\/\/(\w:)?/,function(r,i){return i?"":"/"})),n in j)return j[n];var e="";try{if(L)L.existsSync(n)&&(e=L.readFileSync(n,"utf8"));else{var t=new XMLHttpRequest;t.open("GET",n,!1),t.send(null),t.readyState===4&&t.status===200&&(e=t.responseText)}}catch{}return j[n]=e});function Te(n,e){if(!n)return e;var t=$e.dirname(n),r=/^\w+:\/\/[^\/]*/.exec(t),i=r?r[0]:"",s=t.slice(i.length);return i&&/^\/\w\:/.test(s)?(i+="/",i+$e.resolve(t.slice(i.length),e).replace(/\\/g,"/")):i+$e.resolve(t.slice(i.length),e)}function Jn(n){var e;if(De())try{var t=new XMLHttpRequest;t.open("GET",n,!1),t.send(null),e=t.readyState===4?t.responseText:null;var r=t.getResponseHeader("SourceMap")||t.getResponseHeader("X-SourceMap");if(r)return r}catch{}e=Ie(n);for(var i=/(?:\/\/[@#][\s]*sourceMappingURL=([^\s'"]+)[\s]*$)|(?:\/\*[@#][\s]*sourceMappingURL=([^\s*'"]+)[\s]*(?:\*\/)[\s]*$)/mg,s,o;o=i.exec(e);)s=o;return s?s[1]:null}var Re=ce(I);I.push(function(n){var e=Jn(n);if(!e)return null;var t;if(qn.test(e)){var r=e.slice(e.indexOf(",")+1);t=Gn(r,"base64").toString(),e=n}else e=Te(n,e),t=Ie(e);return t?{url:e,map:t}:null});function Ve(n){var e=re[n.source];if(!e){var t=Re(n.source);t?(e=re[n.source]={url:t.url,map:new Fn(t.map)},e.map.sourcesContent&&e.map.sources.forEach(function(i,s){var o=e.map.sourcesContent[s];if(o){var a=Te(e.url,i);j[a]=o}})):e=re[n.source]={url:null,map:null}}if(e&&e.map&&typeof e.map.originalPositionFor=="function"){var r=e.map.originalPositionFor(n);if(r.source!==null)return r.source=Te(e.url,r.source),r}return n}function zt(n){var e=/^eval at ([^(]+) \((.+):(\d+):(\d+)\)$/.exec(n);if(e){var t=Ve({source:e[2],line:+e[3],column:e[4]-1});return"eval at "+e[1]+" ("+t.source+":"+t.line+":"+(t.column+1)+")"}return e=/^eval at ([^(]+) \((.+)\)$/.exec(n),e?"eval at "+e[1]+" ("+zt(e[2])+")":n}function Kn(){var n,e="";if(this.isNative())e="native";else{n=this.getScriptNameOrSourceURL(),!n&&this.isEval()&&(e=this.getEvalOrigin(),e+=", "),n?e+=n:e+="<anonymous>";var t=this.getLineNumber();if(t!=null){e+=":"+t;var r=this.getColumnNumber();r&&(e+=":"+r)}}var i="",s=this.getFunctionName(),o=!0,a=this.isConstructor(),m=!(this.isToplevel()||a);if(m){var u=this.getTypeName();u==="[object Object]"&&(u="null");var l=this.getMethodName();s?(u&&s.indexOf(u)!=0&&(i+=u+"."),i+=s,l&&s.indexOf("."+l)!=s.length-l.length-1&&(i+=" [as "+l+"]")):i+=u+"."+(l||"<anonymous>")}else a?i+="new "+(s||"<anonymous>"):s?i+=s:(i+=e,o=!1);return o&&(i+=" ("+e+")"),i}function Bt(n){var e={};return Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach(function(t){e[t]=/^(?:is|get)/.test(t)?function(){return n[t].call(n)}:n[t]}),e.toString=Kn,e}function Jt(n,e){if(e===void 0&&(e={nextPosition:null,curPosition:null}),n.isNative())return e.curPosition=null,n;var t=n.getFileName()||n.getScriptNameOrSourceURL();if(t){var r=n.getLineNumber(),i=n.getColumnNumber()-1,s=/^v(10\.1[6-9]|10\.[2-9][0-9]|10\.[0-9]{3,}|1[2-9]\d*|[2-9]\d|\d{3,}|11\.11)/,o=s.test(Un())?0:62;r===1&&i>o&&!De()&&!n.isEval()&&(i-=o);var a=Ve({source:t,line:r,column:i});e.curPosition=a,n=Bt(n);var m=n.getFunctionName;return n.getFunctionName=function(){return e.nextPosition==null?m():e.nextPosition.name||m()},n.getFileName=function(){return a.source},n.getLineNumber=function(){return a.line},n.getColumnNumber=function(){return a.column+1},n.getScriptNameOrSourceURL=function(){return a.source},n}var u=n.isEval()&&n.getEvalOrigin();return u&&(u=zt(u),n=Bt(n),n.getEvalOrigin=function(){return u}),n}function Qn(n,e){Ne&&(j={},re={});for(var t=n.name||"Error",r=n.message||"",i=t+": "+r,s={nextPosition:null,curPosition:null},o=[],a=e.length-1;a>=0;a--)o.push(`
|
|
2
|
+
"use strict";var cn=Object.create;var gt=Object.defineProperty;var pn=Object.getOwnPropertyDescriptor;var hn=Object.getOwnPropertyNames;var fn=Object.getPrototypeOf,dn=Object.prototype.hasOwnProperty;var g=(n,e)=>()=>(e||n((e={exports:{}}).exports,e),e.exports);var gn=(n,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of hn(e))!dn.call(n,i)&&i!==t&>(n,i,{get:()=>e[i],enumerable:!(r=pn(e,i))||r.enumerable});return n};var W=(n,e,t)=>(t=n!=null?cn(fn(n)):{},gn(e||!n||!n.__esModule?gt(t,"default",{value:n,enumerable:!0}):t,n));var vt=g(_e=>{var _t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");_e.encode=function(n){if(0<=n&&n<_t.length)return _t[n];throw new TypeError("Must be between 0 and 63: "+n)};_e.decode=function(n){var e=65,t=90,r=97,i=122,s=48,o=57,a=43,m=47,u=26,l=52;return e<=n&&n<=t?n-e:r<=n&&n<=i?n-r+u:s<=n&&n<=o?n-s+l:n==a?62:n==m?63:-1}});var Ce=g(ye=>{var yt=vt(),ve=5,Ct=1<<ve,St=Ct-1,wt=Ct;function _n(n){return n<0?(-n<<1)+1:(n<<1)+0}function vn(n){var e=(n&1)===1,t=n>>1;return e?-t:t}ye.encode=function(e){var t="",r,i=_n(e);do r=i&St,i>>>=ve,i>0&&(r|=wt),t+=yt.encode(r);while(i>0);return t};ye.decode=function(e,t,r){var i=e.length,s=0,o=0,a,m;do{if(t>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(m=yt.decode(e.charCodeAt(t++)),m===-1)throw new Error("Invalid base64 digit: "+e.charAt(t-1));a=!!(m&wt),m&=St,s=s+(m<<o),o+=ve}while(a);r.value=vn(s),r.rest=t}});var z=g(b=>{function yn(n,e,t){if(e in n)return n[e];if(arguments.length===3)return t;throw new Error('"'+e+'" is a required argument.')}b.getArg=yn;var Ot=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,Cn=/^data:.+\,.+$/;function X(n){var e=n.match(Ot);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}b.urlParse=X;function U(n){var e="";return n.scheme&&(e+=n.scheme+":"),e+="//",n.auth&&(e+=n.auth+"@"),n.host&&(e+=n.host),n.port&&(e+=":"+n.port),n.path&&(e+=n.path),e}b.urlGenerate=U;function Se(n){var e=n,t=X(n);if(t){if(!t.path)return n;e=t.path}for(var r=b.isAbsolute(e),i=e.split(/\/+/),s,o=0,a=i.length-1;a>=0;a--)s=i[a],s==="."?i.splice(a,1):s===".."?o++:o>0&&(s===""?(i.splice(a+1,o),o=0):(i.splice(a,2),o--));return e=i.join("/"),e===""&&(e=r?"/":"."),t?(t.path=e,U(t)):e}b.normalize=Se;function At(n,e){n===""&&(n="."),e===""&&(e=".");var t=X(e),r=X(n);if(r&&(n=r.path||"/"),t&&!t.scheme)return r&&(t.scheme=r.scheme),U(t);if(t||e.match(Cn))return e;if(r&&!r.host&&!r.path)return r.host=e,U(r);var i=e.charAt(0)==="/"?e:Se(n.replace(/\/+$/,"")+"/"+e);return r?(r.path=i,U(r)):i}b.join=At;b.isAbsolute=function(n){return n.charAt(0)==="/"||Ot.test(n)};function Sn(n,e){n===""&&(n="."),n=n.replace(/\/$/,"");for(var t=0;e.indexOf(n+"/")!==0;){var r=n.lastIndexOf("/");if(r<0||(n=n.slice(0,r),n.match(/^([^\/]+:\/)?\/*$/)))return e;++t}return Array(t+1).join("../")+e.substr(n.length+1)}b.relative=Sn;var bt=function(){var n=Object.create(null);return!("__proto__"in n)}();function Et(n){return n}function wn(n){return xt(n)?"$"+n:n}b.toSetString=bt?Et:wn;function On(n){return xt(n)?n.slice(1):n}b.fromSetString=bt?Et:On;function xt(n){if(!n)return!1;var e=n.length;if(e<9||n.charCodeAt(e-1)!==95||n.charCodeAt(e-2)!==95||n.charCodeAt(e-3)!==111||n.charCodeAt(e-4)!==116||n.charCodeAt(e-5)!==111||n.charCodeAt(e-6)!==114||n.charCodeAt(e-7)!==112||n.charCodeAt(e-8)!==95||n.charCodeAt(e-9)!==95)return!1;for(var t=e-10;t>=0;t--)if(n.charCodeAt(t)!==36)return!1;return!0}function An(n,e,t){var r=B(n.source,e.source);return r!==0||(r=n.originalLine-e.originalLine,r!==0)||(r=n.originalColumn-e.originalColumn,r!==0||t)||(r=n.generatedColumn-e.generatedColumn,r!==0)||(r=n.generatedLine-e.generatedLine,r!==0)?r:B(n.name,e.name)}b.compareByOriginalPositions=An;function bn(n,e,t){var r=n.generatedLine-e.generatedLine;return r!==0||(r=n.generatedColumn-e.generatedColumn,r!==0||t)||(r=B(n.source,e.source),r!==0)||(r=n.originalLine-e.originalLine,r!==0)||(r=n.originalColumn-e.originalColumn,r!==0)?r:B(n.name,e.name)}b.compareByGeneratedPositionsDeflated=bn;function B(n,e){return n===e?0:n===null?1:e===null?-1:n>e?1:-1}function En(n,e){var t=n.generatedLine-e.generatedLine;return t!==0||(t=n.generatedColumn-e.generatedColumn,t!==0)||(t=B(n.source,e.source),t!==0)||(t=n.originalLine-e.originalLine,t!==0)||(t=n.originalColumn-e.originalColumn,t!==0)?t:B(n.name,e.name)}b.compareByGeneratedPositionsInflated=En;function xn(n){return JSON.parse(n.replace(/^\)]}'[^\n]*\n/,""))}b.parseSourceMapInput=xn;function kn(n,e,t){if(e=e||"",n&&(n[n.length-1]!=="/"&&e[0]!=="/"&&(n+="/"),e=n+e),t){var r=X(t);if(!r)throw new Error("sourceMapURL could not be parsed");if(r.path){var i=r.path.lastIndexOf("/");i>=0&&(r.path=r.path.substring(0,i+1))}e=At(U(r),e)}return Se(e)}b.computeSourceURL=kn});var Ae=g(kt=>{var we=z(),Oe=Object.prototype.hasOwnProperty,R=typeof Map<"u";function N(){this._array=[],this._set=R?new Map:Object.create(null)}N.fromArray=function(e,t){for(var r=new N,i=0,s=e.length;i<s;i++)r.add(e[i],t);return r};N.prototype.size=function(){return R?this._set.size:Object.getOwnPropertyNames(this._set).length};N.prototype.add=function(e,t){var r=R?e:we.toSetString(e),i=R?this.has(e):Oe.call(this._set,r),s=this._array.length;(!i||t)&&this._array.push(e),i||(R?this._set.set(e,s):this._set[r]=s)};N.prototype.has=function(e){if(R)return this._set.has(e);var t=we.toSetString(e);return Oe.call(this._set,t)};N.prototype.indexOf=function(e){if(R){var t=this._set.get(e);if(t>=0)return t}else{var r=we.toSetString(e);if(Oe.call(this._set,r))return this._set[r]}throw new Error('"'+e+'" is not in the set.')};N.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};N.prototype.toArray=function(){return this._array.slice()};kt.ArraySet=N});var $t=g(Lt=>{var Mt=z();function Mn(n,e){var t=n.generatedLine,r=e.generatedLine,i=n.generatedColumn,s=e.generatedColumn;return r>t||r==t&&s>=i||Mt.compareByGeneratedPositionsInflated(n,e)<=0}function oe(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}oe.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)};oe.prototype.add=function(e){Mn(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};oe.prototype.toArray=function(){return this._sorted||(this._array.sort(Mt.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};Lt.MappingList=oe});var be=g(Nt=>{var Z=Ce(),w=z(),ae=Ae().ArraySet,Ln=$t().MappingList;function x(n){n||(n={}),this._file=w.getArg(n,"file",null),this._sourceRoot=w.getArg(n,"sourceRoot",null),this._skipValidation=w.getArg(n,"skipValidation",!1),this._sources=new ae,this._names=new ae,this._mappings=new Ln,this._sourcesContents=null}x.prototype._version=3;x.fromSourceMap=function(e){var t=e.sourceRoot,r=new x({file:e.file,sourceRoot:t});return e.eachMapping(function(i){var s={generated:{line:i.generatedLine,column:i.generatedColumn}};i.source!=null&&(s.source=i.source,t!=null&&(s.source=w.relative(t,s.source)),s.original={line:i.originalLine,column:i.originalColumn},i.name!=null&&(s.name=i.name)),r.addMapping(s)}),e.sources.forEach(function(i){var s=i;t!==null&&(s=w.relative(t,i)),r._sources.has(s)||r._sources.add(s);var o=e.sourceContentFor(i);o!=null&&r.setSourceContent(i,o)}),r};x.prototype.addMapping=function(e){var t=w.getArg(e,"generated"),r=w.getArg(e,"original",null),i=w.getArg(e,"source",null),s=w.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,r,i,s),i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),s!=null&&(s=String(s),this._names.has(s)||this._names.add(s)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:r!=null&&r.line,originalColumn:r!=null&&r.column,source:i,name:s})};x.prototype.setSourceContent=function(e,t){var r=e;this._sourceRoot!=null&&(r=w.relative(this._sourceRoot,r)),t!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[w.toSetString(r)]=t):this._sourcesContents&&(delete this._sourcesContents[w.toSetString(r)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};x.prototype.applySourceMap=function(e,t,r){var i=t;if(t==null){if(e.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);i=e.file}var s=this._sourceRoot;s!=null&&(i=w.relative(s,i));var o=new ae,a=new ae;this._mappings.unsortedForEach(function(m){if(m.source===i&&m.originalLine!=null){var u=e.originalPositionFor({line:m.originalLine,column:m.originalColumn});u.source!=null&&(m.source=u.source,r!=null&&(m.source=w.join(r,m.source)),s!=null&&(m.source=w.relative(s,m.source)),m.originalLine=u.line,m.originalColumn=u.column,u.name!=null&&(m.name=u.name))}var l=m.source;l!=null&&!o.has(l)&&o.add(l);var c=m.name;c!=null&&!a.has(c)&&a.add(c)},this),this._sources=o,this._names=a,e.sources.forEach(function(m){var u=e.sourceContentFor(m);u!=null&&(r!=null&&(m=w.join(r,m)),s!=null&&(m=w.relative(s,m)),this.setSourceContent(m,u))},this)};x.prototype._validateMapping=function(e,t,r,i){if(t&&typeof t.line!="number"&&typeof t.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&&!t&&!r&&!i)){if(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&r)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:r,original:t,name:i}))}};x.prototype._serializeMappings=function(){for(var e=0,t=1,r=0,i=0,s=0,o=0,a="",m,u,l,c,p=this._mappings.toArray(),f=0,_=p.length;f<_;f++){if(u=p[f],m="",u.generatedLine!==t)for(e=0;u.generatedLine!==t;)m+=";",t++;else if(f>0){if(!w.compareByGeneratedPositionsInflated(u,p[f-1]))continue;m+=","}m+=Z.encode(u.generatedColumn-e),e=u.generatedColumn,u.source!=null&&(c=this._sources.indexOf(u.source),m+=Z.encode(c-o),o=c,m+=Z.encode(u.originalLine-1-i),i=u.originalLine-1,m+=Z.encode(u.originalColumn-r),r=u.originalColumn,u.name!=null&&(l=this._names.indexOf(u.name),m+=Z.encode(l-s),s=l)),a+=m}return a};x.prototype._generateSourcesContent=function(e,t){return e.map(function(r){if(!this._sourcesContents)return null;t!=null&&(r=w.relative(t,r));var i=w.toSetString(r);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)};x.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e};x.prototype.toString=function(){return JSON.stringify(this.toJSON())};Nt.SourceMapGenerator=x});var Tt=g(V=>{V.GREATEST_LOWER_BOUND=1;V.LEAST_UPPER_BOUND=2;function Ee(n,e,t,r,i,s){var o=Math.floor((e-n)/2)+n,a=i(t,r[o],!0);return a===0?o:a>0?e-o>1?Ee(o,e,t,r,i,s):s==V.LEAST_UPPER_BOUND?e<r.length?e:-1:o:o-n>1?Ee(n,o,t,r,i,s):s==V.LEAST_UPPER_BOUND?o:n<0?-1:n}V.search=function(e,t,r,i){if(t.length===0)return-1;var s=Ee(-1,t.length,e,t,r,i||V.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&r(t[s],t[s-1],!0)===0;)--s;return s}});var Dt=g(Pt=>{function xe(n,e,t){var r=n[e];n[e]=n[t],n[t]=r}function $n(n,e){return Math.round(n+Math.random()*(e-n))}function ke(n,e,t,r){if(t<r){var i=$n(t,r),s=t-1;xe(n,i,r);for(var o=n[r],a=t;a<r;a++)e(n[a],o)<=0&&(s+=1,xe(n,s,a));xe(n,s+1,a);var m=s+1;ke(n,e,t,m-1),ke(n,e,m+1,r)}}Pt.quickSort=function(n,e){ke(n,e,0,n.length-1)}});var Rt=g(me=>{var h=z(),Me=Tt(),J=Ae().ArraySet,Nn=Ce(),ee=Dt().quickSort;function C(n,e){var t=n;return typeof n=="string"&&(t=h.parseSourceMapInput(n)),t.sections!=null?new M(t,e):new O(t,e)}C.fromSourceMap=function(n,e){return O.fromSourceMap(n,e)};C.prototype._version=3;C.prototype.__generatedMappings=null;Object.defineProperty(C.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});C.prototype.__originalMappings=null;Object.defineProperty(C.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});C.prototype._charIsMappingSeparator=function(e,t){var r=e.charAt(t);return r===";"||r===","};C.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")};C.GENERATED_ORDER=1;C.ORIGINAL_ORDER=2;C.GREATEST_LOWER_BOUND=1;C.LEAST_UPPER_BOUND=2;C.prototype.eachMapping=function(e,t,r){var i=t||null,s=r||C.GENERATED_ORDER,o;switch(s){case C.GENERATED_ORDER:o=this._generatedMappings;break;case C.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var a=this.sourceRoot;o.map(function(m){var u=m.source===null?null:this._sources.at(m.source);return u=h.computeSourceURL(a,u,this._sourceMapURL),{source:u,generatedLine:m.generatedLine,generatedColumn:m.generatedColumn,originalLine:m.originalLine,originalColumn:m.originalColumn,name:m.name===null?null:this._names.at(m.name)}},this).forEach(e,i)};C.prototype.allGeneratedPositionsFor=function(e){var t=h.getArg(e,"line"),r={source:h.getArg(e,"source"),originalLine:t,originalColumn:h.getArg(e,"column",0)};if(r.source=this._findSourceIndex(r.source),r.source<0)return[];var i=[],s=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",h.compareByOriginalPositions,Me.LEAST_UPPER_BOUND);if(s>=0){var o=this._originalMappings[s];if(e.column===void 0)for(var a=o.originalLine;o&&o.originalLine===a;)i.push({line:h.getArg(o,"generatedLine",null),column:h.getArg(o,"generatedColumn",null),lastColumn:h.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++s];else for(var m=o.originalColumn;o&&o.originalLine===t&&o.originalColumn==m;)i.push({line:h.getArg(o,"generatedLine",null),column:h.getArg(o,"generatedColumn",null),lastColumn:h.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++s]}return i};me.SourceMapConsumer=C;function O(n,e){var t=n;typeof n=="string"&&(t=h.parseSourceMapInput(n));var r=h.getArg(t,"version"),i=h.getArg(t,"sources"),s=h.getArg(t,"names",[]),o=h.getArg(t,"sourceRoot",null),a=h.getArg(t,"sourcesContent",null),m=h.getArg(t,"mappings"),u=h.getArg(t,"file",null);if(r!=this._version)throw new Error("Unsupported version: "+r);o&&(o=h.normalize(o)),i=i.map(String).map(h.normalize).map(function(l){return o&&h.isAbsolute(o)&&h.isAbsolute(l)?h.relative(o,l):l}),this._names=J.fromArray(s.map(String),!0),this._sources=J.fromArray(i,!0),this._absoluteSources=this._sources.toArray().map(function(l){return h.computeSourceURL(o,l,e)}),this.sourceRoot=o,this.sourcesContent=a,this._mappings=m,this._sourceMapURL=e,this.file=u}O.prototype=Object.create(C.prototype);O.prototype.consumer=C;O.prototype._findSourceIndex=function(n){var e=n;if(this.sourceRoot!=null&&(e=h.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var t;for(t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==n)return t;return-1};O.fromSourceMap=function(e,t){var r=Object.create(O.prototype),i=r._names=J.fromArray(e._names.toArray(),!0),s=r._sources=J.fromArray(e._sources.toArray(),!0);r.sourceRoot=e._sourceRoot,r.sourcesContent=e._generateSourcesContent(r._sources.toArray(),r.sourceRoot),r.file=e._file,r._sourceMapURL=t,r._absoluteSources=r._sources.toArray().map(function(f){return h.computeSourceURL(r.sourceRoot,f,t)});for(var o=e._mappings.toArray().slice(),a=r.__generatedMappings=[],m=r.__originalMappings=[],u=0,l=o.length;u<l;u++){var c=o[u],p=new It;p.generatedLine=c.generatedLine,p.generatedColumn=c.generatedColumn,c.source&&(p.source=s.indexOf(c.source),p.originalLine=c.originalLine,p.originalColumn=c.originalColumn,c.name&&(p.name=i.indexOf(c.name)),m.push(p)),a.push(p)}return ee(r.__originalMappings,h.compareByOriginalPositions),r};O.prototype._version=3;Object.defineProperty(O.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function It(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}O.prototype._parseMappings=function(e,t){for(var r=1,i=0,s=0,o=0,a=0,m=0,u=e.length,l=0,c={},p={},f=[],_=[],S,G,A,q,dt;l<u;)if(e.charAt(l)===";")r++,l++,i=0;else if(e.charAt(l)===",")l++;else{for(S=new It,S.generatedLine=r,q=l;q<u&&!this._charIsMappingSeparator(e,q);q++);if(G=e.slice(l,q),A=c[G],A)l+=G.length;else{for(A=[];l<q;)Nn.decode(e,l,p),dt=p.value,l=p.rest,A.push(dt);if(A.length===2)throw new Error("Found a source, but no line and column");if(A.length===3)throw new Error("Found a source and line, but no column");c[G]=A}S.generatedColumn=i+A[0],i=S.generatedColumn,A.length>1&&(S.source=a+A[1],a+=A[1],S.originalLine=s+A[2],s=S.originalLine,S.originalLine+=1,S.originalColumn=o+A[3],o=S.originalColumn,A.length>4&&(S.name=m+A[4],m+=A[4])),_.push(S),typeof S.originalLine=="number"&&f.push(S)}ee(_,h.compareByGeneratedPositionsDeflated),this.__generatedMappings=_,ee(f,h.compareByOriginalPositions),this.__originalMappings=f};O.prototype._findMapping=function(e,t,r,i,s,o){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[i]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[i]);return Me.search(e,t,s,o)};O.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var r=this._generatedMappings[e+1];if(t.generatedLine===r.generatedLine){t.lastGeneratedColumn=r.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}};O.prototype.originalPositionFor=function(e){var t={generatedLine:h.getArg(e,"line"),generatedColumn:h.getArg(e,"column")},r=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",h.compareByGeneratedPositionsDeflated,h.getArg(e,"bias",C.GREATEST_LOWER_BOUND));if(r>=0){var i=this._generatedMappings[r];if(i.generatedLine===t.generatedLine){var s=h.getArg(i,"source",null);s!==null&&(s=this._sources.at(s),s=h.computeSourceURL(this.sourceRoot,s,this._sourceMapURL));var o=h.getArg(i,"name",null);return o!==null&&(o=this._names.at(o)),{source:s,line:h.getArg(i,"originalLine",null),column:h.getArg(i,"originalColumn",null),name:o}}}return{source:null,line:null,column:null,name:null}};O.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};O.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var r=this._findSourceIndex(e);if(r>=0)return this.sourcesContent[r];var i=e;this.sourceRoot!=null&&(i=h.relative(this.sourceRoot,i));var s;if(this.sourceRoot!=null&&(s=h.urlParse(this.sourceRoot))){var o=i.replace(/^file:\/\//,"");if(s.scheme=="file"&&this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];if((!s.path||s.path=="/")&&this._sources.has("/"+i))return this.sourcesContent[this._sources.indexOf("/"+i)]}if(t)return null;throw new Error('"'+i+'" is not in the SourceMap.')};O.prototype.generatedPositionFor=function(e){var t=h.getArg(e,"source");if(t=this._findSourceIndex(t),t<0)return{line:null,column:null,lastColumn:null};var r={source:t,originalLine:h.getArg(e,"line"),originalColumn:h.getArg(e,"column")},i=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",h.compareByOriginalPositions,h.getArg(e,"bias",C.GREATEST_LOWER_BOUND));if(i>=0){var s=this._originalMappings[i];if(s.source===r.source)return{line:h.getArg(s,"generatedLine",null),column:h.getArg(s,"generatedColumn",null),lastColumn:h.getArg(s,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};me.BasicSourceMapConsumer=O;function M(n,e){var t=n;typeof n=="string"&&(t=h.parseSourceMapInput(n));var r=h.getArg(t,"version"),i=h.getArg(t,"sections");if(r!=this._version)throw new Error("Unsupported version: "+r);this._sources=new J,this._names=new J;var s={line:-1,column:0};this._sections=i.map(function(o){if(o.url)throw new Error("Support for url field in sections not implemented.");var a=h.getArg(o,"offset"),m=h.getArg(a,"line"),u=h.getArg(a,"column");if(m<s.line||m===s.line&&u<s.column)throw new Error("Section offsets must be ordered and non-overlapping.");return s=a,{generatedOffset:{generatedLine:m+1,generatedColumn:u+1},consumer:new C(h.getArg(o,"map"),e)}})}M.prototype=Object.create(C.prototype);M.prototype.constructor=C;M.prototype._version=3;Object.defineProperty(M.prototype,"sources",{get:function(){for(var n=[],e=0;e<this._sections.length;e++)for(var t=0;t<this._sections[e].consumer.sources.length;t++)n.push(this._sections[e].consumer.sources[t]);return n}});M.prototype.originalPositionFor=function(e){var t={generatedLine:h.getArg(e,"line"),generatedColumn:h.getArg(e,"column")},r=Me.search(t,this._sections,function(s,o){var a=s.generatedLine-o.generatedOffset.generatedLine;return a||s.generatedColumn-o.generatedOffset.generatedColumn}),i=this._sections[r];return i?i.consumer.originalPositionFor({line:t.generatedLine-(i.generatedOffset.generatedLine-1),column:t.generatedColumn-(i.generatedOffset.generatedLine===t.generatedLine?i.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}};M.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};M.prototype.sourceContentFor=function(e,t){for(var r=0;r<this._sections.length;r++){var i=this._sections[r],s=i.consumer.sourceContentFor(e,!0);if(s)return s}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')};M.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var r=this._sections[t];if(r.consumer._findSourceIndex(h.getArg(e,"source"))!==-1){var i=r.consumer.generatedPositionFor(e);if(i){var s={line:i.line+(r.generatedOffset.generatedLine-1),column:i.column+(r.generatedOffset.generatedLine===i.line?r.generatedOffset.generatedColumn-1:0)};return s}}}return{line:null,column:null}};M.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var i=this._sections[r],s=i.consumer._generatedMappings,o=0;o<s.length;o++){var a=s[o],m=i.consumer._sources.at(a.source);m=h.computeSourceURL(i.consumer.sourceRoot,m,this._sourceMapURL),this._sources.add(m),m=this._sources.indexOf(m);var u=null;a.name&&(u=i.consumer._names.at(a.name),this._names.add(u),u=this._names.indexOf(u));var l={source:m,generatedLine:a.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(i.generatedOffset.generatedLine===a.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:a.originalLine,originalColumn:a.originalColumn,name:u};this.__generatedMappings.push(l),typeof l.originalLine=="number"&&this.__originalMappings.push(l)}ee(this.__generatedMappings,h.compareByGeneratedPositionsDeflated),ee(this.__originalMappings,h.compareByOriginalPositions)};me.IndexedSourceMapConsumer=M});var jt=g(Vt=>{var Tn=be().SourceMapGenerator,ue=z(),Pn=/(\r?\n)/,Dn=10,K="$$$isSourceNode$$$";function E(n,e,t,r,i){this.children=[],this.sourceContents={},this.line=n??null,this.column=e??null,this.source=t??null,this.name=i??null,this[K]=!0,r!=null&&this.add(r)}E.fromStringWithSourceMap=function(e,t,r){var i=new E,s=e.split(Pn),o=0,a=function(){var p=_(),f=_()||"";return p+f;function _(){return o<s.length?s[o++]:void 0}},m=1,u=0,l=null;return t.eachMapping(function(p){if(l!==null)if(m<p.generatedLine)c(l,a()),m++,u=0;else{var f=s[o]||"",_=f.substr(0,p.generatedColumn-u);s[o]=f.substr(p.generatedColumn-u),u=p.generatedColumn,c(l,_),l=p;return}for(;m<p.generatedLine;)i.add(a()),m++;if(u<p.generatedColumn){var f=s[o]||"";i.add(f.substr(0,p.generatedColumn)),s[o]=f.substr(p.generatedColumn),u=p.generatedColumn}l=p},this),o<s.length&&(l&&c(l,a()),i.add(s.splice(o).join(""))),t.sources.forEach(function(p){var f=t.sourceContentFor(p);f!=null&&(r!=null&&(p=ue.join(r,p)),i.setSourceContent(p,f))}),i;function c(p,f){if(p===null||p.source===void 0)i.add(f);else{var _=r?ue.join(r,p.source):p.source;i.add(new E(p.originalLine,p.originalColumn,_,f,p.name))}}};E.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(t){this.add(t)},this);else if(e[K]||typeof e=="string")e&&this.children.push(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};E.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else if(e[K]||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};E.prototype.walk=function(e){for(var t,r=0,i=this.children.length;r<i;r++)t=this.children[r],t[K]?t.walk(e):t!==""&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})};E.prototype.join=function(e){var t,r,i=this.children.length;if(i>0){for(t=[],r=0;r<i-1;r++)t.push(this.children[r]),t.push(e);t.push(this.children[r]),this.children=t}return this};E.prototype.replaceRight=function(e,t){var r=this.children[this.children.length-1];return r[K]?r.replaceRight(e,t):typeof r=="string"?this.children[this.children.length-1]=r.replace(e,t):this.children.push("".replace(e,t)),this};E.prototype.setSourceContent=function(e,t){this.sourceContents[ue.toSetString(e)]=t};E.prototype.walkSourceContents=function(e){for(var t=0,r=this.children.length;t<r;t++)this.children[t][K]&&this.children[t].walkSourceContents(e);for(var i=Object.keys(this.sourceContents),t=0,r=i.length;t<r;t++)e(ue.fromSetString(i[t]),this.sourceContents[i[t]])};E.prototype.toString=function(){var e="";return this.walk(function(t){e+=t}),e};E.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},r=new Tn(e),i=!1,s=null,o=null,a=null,m=null;return this.walk(function(u,l){t.code+=u,l.source!==null&&l.line!==null&&l.column!==null?((s!==l.source||o!==l.line||a!==l.column||m!==l.name)&&r.addMapping({source:l.source,original:{line:l.line,column:l.column},generated:{line:t.line,column:t.column},name:l.name}),s=l.source,o=l.line,a=l.column,m=l.name,i=!0):i&&(r.addMapping({generated:{line:t.line,column:t.column}}),s=null,i=!1);for(var c=0,p=u.length;c<p;c++)u.charCodeAt(c)===Dn?(t.line++,t.column=0,c+1===p?(s=null,i=!1):i&&r.addMapping({source:l.source,original:{line:l.line,column:l.column},generated:{line:t.line,column:t.column},name:l.name})):t.column++}),this.walkSourceContents(function(u,l){r.setSourceContent(u,l)}),{code:t.code,map:r}};Vt.SourceNode=E});var Ht=g(le=>{le.SourceMapGenerator=be().SourceMapGenerator;le.SourceMapConsumer=Rt().SourceMapConsumer;le.SourceNode=jt().SourceNode});var Gt=g((us,Ft)=>{var In=Object.prototype.toString,Le=typeof Buffer<"u"&&typeof Buffer.alloc=="function"&&typeof Buffer.allocUnsafe=="function"&&typeof Buffer.from=="function";function Rn(n){return In.call(n).slice(8,-1)==="ArrayBuffer"}function Vn(n,e,t){e>>>=0;var r=n.byteLength-e;if(r<0)throw new RangeError("'offset' is out of bounds");if(t===void 0)t=r;else if(t>>>=0,t>r)throw new RangeError("'length' is out of bounds");return Le?Buffer.from(n.slice(e,e+t)):new Buffer(new Uint8Array(n.slice(e,e+t)))}function jn(n,e){if((typeof e!="string"||e==="")&&(e="utf8"),!Buffer.isEncoding(e))throw new TypeError('"encoding" must be a valid string encoding');return Le?Buffer.from(n,e):new Buffer(n,e)}function Hn(n,e,t){if(typeof n=="number")throw new TypeError('"value" argument must not be a number');return Rn(n)?Vn(n,e,t):typeof n=="string"?jn(n,e):Le?Buffer.from(n):new Buffer(n)}Ft.exports=Hn});var Qt=g((H,Pe)=>{var Fn=Ht().SourceMapConsumer,$e=require("path"),L;try{L=require("fs"),(!L.existsSync||!L.readFileSync)&&(L=null)}catch{}var Gn=Gt();function qt(n,e){return n.require(e)}var Wt=!1,Ut=!1,Ne=!1,te="auto",j={},re={},qn=/^data:application\/json[^,]+base64,/,D=[],I=[];function De(){return te==="browser"?!0:te==="node"?!1:typeof window<"u"&&typeof XMLHttpRequest=="function"&&!(window.require&&window.module&&window.process&&window.process.type==="renderer")}function Wn(){return typeof process=="object"&&process!==null&&typeof process.on=="function"}function Un(){return typeof process=="object"&&process!==null?process.version:""}function Bn(){if(typeof process=="object"&&process!==null)return process.stderr}function zn(n){if(typeof process=="object"&&process!==null&&typeof process.exit=="function")return process.exit(n)}function ce(n){return function(e){for(var t=0;t<n.length;t++){var r=n[t](e);if(r)return r}return null}}var Ie=ce(D);D.push(function(n){if(n=n.trim(),/^file:/.test(n)&&(n=n.replace(/file:\/\/\/(\w:)?/,function(r,i){return i?"":"/"})),n in j)return j[n];var e="";try{if(L)L.existsSync(n)&&(e=L.readFileSync(n,"utf8"));else{var t=new XMLHttpRequest;t.open("GET",n,!1),t.send(null),t.readyState===4&&t.status===200&&(e=t.responseText)}}catch{}return j[n]=e});function Te(n,e){if(!n)return e;var t=$e.dirname(n),r=/^\w+:\/\/[^\/]*/.exec(t),i=r?r[0]:"",s=t.slice(i.length);return i&&/^\/\w\:/.test(s)?(i+="/",i+$e.resolve(t.slice(i.length),e).replace(/\\/g,"/")):i+$e.resolve(t.slice(i.length),e)}function Jn(n){var e;if(De())try{var t=new XMLHttpRequest;t.open("GET",n,!1),t.send(null),e=t.readyState===4?t.responseText:null;var r=t.getResponseHeader("SourceMap")||t.getResponseHeader("X-SourceMap");if(r)return r}catch{}e=Ie(n);for(var i=/(?:\/\/[@#][\s]*sourceMappingURL=([^\s'"]+)[\s]*$)|(?:\/\*[@#][\s]*sourceMappingURL=([^\s*'"]+)[\s]*(?:\*\/)[\s]*$)/mg,s,o;o=i.exec(e);)s=o;return s?s[1]:null}var Re=ce(I);I.push(function(n){var e=Jn(n);if(!e)return null;var t;if(qn.test(e)){var r=e.slice(e.indexOf(",")+1);t=Gn(r,"base64").toString(),e=n}else e=Te(n,e),t=Ie(e);return t?{url:e,map:t}:null});function Ve(n){var e=re[n.source];if(!e){var t=Re(n.source);t?(e=re[n.source]={url:t.url,map:new Fn(t.map)},e.map.sourcesContent&&e.map.sources.forEach(function(i,s){var o=e.map.sourcesContent[s];if(o){var a=Te(e.url,i);j[a]=o}})):e=re[n.source]={url:null,map:null}}if(e&&e.map&&typeof e.map.originalPositionFor=="function"){var r=e.map.originalPositionFor(n);if(r.source!==null)return r.source=Te(e.url,r.source),r}return n}function zt(n){var e=/^eval at ([^(]+) \((.+):(\d+):(\d+)\)$/.exec(n);if(e){var t=Ve({source:e[2],line:+e[3],column:e[4]-1});return"eval at "+e[1]+" ("+t.source+":"+t.line+":"+(t.column+1)+")"}return e=/^eval at ([^(]+) \((.+)\)$/.exec(n),e?"eval at "+e[1]+" ("+zt(e[2])+")":n}function Kn(){var n,e="";if(this.isNative())e="native";else{n=this.getScriptNameOrSourceURL(),!n&&this.isEval()&&(e=this.getEvalOrigin(),e+=", "),n?e+=n:e+="<anonymous>";var t=this.getLineNumber();if(t!=null){e+=":"+t;var r=this.getColumnNumber();r&&(e+=":"+r)}}var i="",s=this.getFunctionName(),o=!0,a=this.isConstructor(),m=!(this.isToplevel()||a);if(m){var u=this.getTypeName();u==="[object Object]"&&(u="null");var l=this.getMethodName();s?(u&&s.indexOf(u)!=0&&(i+=u+"."),i+=s,l&&s.indexOf("."+l)!=s.length-l.length-1&&(i+=" [as "+l+"]")):i+=u+"."+(l||"<anonymous>")}else a?i+="new "+(s||"<anonymous>"):s?i+=s:(i+=e,o=!1);return o&&(i+=" ("+e+")"),i}function Bt(n){var e={};return Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach(function(t){e[t]=/^(?:is|get)/.test(t)?function(){return n[t].call(n)}:n[t]}),e.toString=Kn,e}function Jt(n,e){if(e===void 0&&(e={nextPosition:null,curPosition:null}),n.isNative())return e.curPosition=null,n;var t=n.getFileName()||n.getScriptNameOrSourceURL();if(t){var r=n.getLineNumber(),i=n.getColumnNumber()-1,s=/^v(10\.1[6-9]|10\.[2-9][0-9]|10\.[0-9]{3,}|1[2-9]\d*|[2-9]\d|\d{3,}|11\.11)/,o=s.test(Un())?0:62;r===1&&i>o&&!De()&&!n.isEval()&&(i-=o);var a=Ve({source:t,line:r,column:i});e.curPosition=a,n=Bt(n);var m=n.getFunctionName;return n.getFunctionName=function(){return e.nextPosition==null?m():e.nextPosition.name||m()},n.getFileName=function(){return a.source},n.getLineNumber=function(){return a.line},n.getColumnNumber=function(){return a.column+1},n.getScriptNameOrSourceURL=function(){return a.source},n}var u=n.isEval()&&n.getEvalOrigin();return u&&(u=zt(u),n=Bt(n),n.getEvalOrigin=function(){return u}),n}function Qn(n,e){Ne&&(j={},re={});for(var t=n.name||"Error",r=n.message||"",i=t+": "+r,s={nextPosition:null,curPosition:null},o=[],a=e.length-1;a>=0;a--)o.push(`
|
|
3
3
|
at `+Jt(e[a],s)),s.nextPosition=s.curPosition;return s.curPosition=s.nextPosition=null,i+o.reverse().join("")}function Kt(n){var e=/\n at [^(]+ \((.*):(\d+):(\d+)\)/.exec(n.stack);if(e){var t=e[1],r=+e[2],i=+e[3],s=j[t];if(!s&&L&&L.existsSync(t))try{s=L.readFileSync(t,"utf8")}catch{s=""}if(s){var o=s.split(/(?:\r\n|\r|\n)/)[r-1];if(o)return t+":"+r+`
|
|
4
4
|
`+o+`
|
|
5
5
|
`+new Array(i).join(" ")+"^"}}return null}function Yn(n){var e=Kt(n),t=Bn();t&&t._handle&&t._handle.setBlocking&&t._handle.setBlocking(!0),e&&(console.error(),console.error(e)),console.error(n.stack),zn(1)}function Xn(){var n=process.emit;process.emit=function(e){if(e==="uncaughtException"){var t=arguments[1]&&arguments[1].stack,r=this.listeners(e).length>0;if(t&&!r)return Yn(arguments[1])}return n.apply(this,arguments)}}var Zn=D.slice(0),ei=I.slice(0);H.wrapCallSite=Jt;H.getErrorSource=Kt;H.mapSourcePosition=Ve;H.retrieveSourceMap=Re;H.install=function(n){if(n=n||{},n.environment&&(te=n.environment,["node","browser","auto"].indexOf(te)===-1))throw new Error("environment "+te+" was unknown. Available options are {auto, browser, node}");if(n.retrieveFile&&(n.overrideRetrieveFile&&(D.length=0),D.unshift(n.retrieveFile)),n.retrieveSourceMap&&(n.overrideRetrieveSourceMap&&(I.length=0),I.unshift(n.retrieveSourceMap)),n.hookRequire&&!De()){var e=qt(Pe,"module"),t=e.prototype._compile;t.__sourceMapSupport||(e.prototype._compile=function(s,o){return j[o]=s,re[o]=void 0,t.call(this,s,o)},e.prototype._compile.__sourceMapSupport=!0)}if(Ne||(Ne="emptyCacheBetweenOperations"in n?n.emptyCacheBetweenOperations:!1),Wt||(Wt=!0,Error.prepareStackTrace=Qn),!Ut){var r="handleUncaughtExceptions"in n?n.handleUncaughtExceptions:!0;try{var i=qt(Pe,"worker_threads");i.isMainThread===!1&&(r=!1)}catch{}r&&Wn()&&(Ut=!0,Xn())}};H.resetRetrieveHandlers=function(){D.length=0,I.length=0,D=Zn.slice(0),I=ei.slice(0),Re=ce(I),Ie=ce(D)}});var ne=g(He=>{var pe=class extends Error{constructor(e,t,r){super(r),Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.code=t,this.exitCode=e,this.nestedError=void 0}},je=class extends pe{constructor(e){super(1,"commander.invalidArgument",e),Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name}};He.CommanderError=pe;He.InvalidArgumentError=je});var he=g(Ge=>{var{InvalidArgumentError:ti}=ne(),Fe=class{constructor(e,t){switch(this.description=t||"",this.variadic=!1,this.parseArg=void 0,this.defaultValue=void 0,this.defaultValueDescription=void 0,this.argChoices=void 0,e[0]){case"<":this.required=!0,this._name=e.slice(1,-1);break;case"[":this.required=!1,this._name=e.slice(1,-1);break;default:this.required=!0,this._name=e;break}this._name.length>3&&this._name.slice(-3)==="..."&&(this.variadic=!0,this._name=this._name.slice(0,-3))}name(){return this._name}_concatValue(e,t){return t===this.defaultValue||!Array.isArray(t)?[e]:t.concat(e)}default(e,t){return this.defaultValue=e,this.defaultValueDescription=t,this}argParser(e){return this.parseArg=e,this}choices(e){return this.argChoices=e.slice(),this.parseArg=(t,r)=>{if(!this.argChoices.includes(t))throw new ti(`Allowed choices are ${this.argChoices.join(", ")}.`);return this.variadic?this._concatValue(t,r):t},this}argRequired(){return this.required=!0,this}argOptional(){return this.required=!1,this}};function ri(n){let e=n.name()+(n.variadic===!0?"...":"");return n.required?"<"+e+">":"["+e+"]"}Ge.Argument=Fe;Ge.humanReadableArgName=ri});var Ue=g(We=>{var{humanReadableArgName:ni}=he(),qe=class{constructor(){this.helpWidth=void 0,this.minWidthToWrap=40,this.sortSubcommands=!1,this.sortOptions=!1,this.showGlobalOptions=!1}prepareContext(e){this.helpWidth=this.helpWidth??e.helpWidth??80}visibleCommands(e){let t=e.commands.filter(i=>!i._hidden),r=e._getHelpCommand();return r&&!r._hidden&&t.push(r),this.sortSubcommands&&t.sort((i,s)=>i.name().localeCompare(s.name())),t}compareOptions(e,t){let r=i=>i.short?i.short.replace(/^-/,""):i.long.replace(/^--/,"");return r(e).localeCompare(r(t))}visibleOptions(e){let t=e.options.filter(i=>!i.hidden),r=e._getHelpOption();if(r&&!r.hidden){let i=r.short&&e._findOption(r.short),s=r.long&&e._findOption(r.long);!i&&!s?t.push(r):r.long&&!s?t.push(e.createOption(r.long,r.description)):r.short&&!i&&t.push(e.createOption(r.short,r.description))}return this.sortOptions&&t.sort(this.compareOptions),t}visibleGlobalOptions(e){if(!this.showGlobalOptions)return[];let t=[];for(let r=e.parent;r;r=r.parent){let i=r.options.filter(s=>!s.hidden);t.push(...i)}return this.sortOptions&&t.sort(this.compareOptions),t}visibleArguments(e){return e._argsDescription&&e.registeredArguments.forEach(t=>{t.description=t.description||e._argsDescription[t.name()]||""}),e.registeredArguments.find(t=>t.description)?e.registeredArguments:[]}subcommandTerm(e){let t=e.registeredArguments.map(r=>ni(r)).join(" ");return e._name+(e._aliases[0]?"|"+e._aliases[0]:"")+(e.options.length?" [options]":"")+(t?" "+t:"")}optionTerm(e){return e.flags}argumentTerm(e){return e.name()}longestSubcommandTermLength(e,t){return t.visibleCommands(e).reduce((r,i)=>Math.max(r,this.displayWidth(t.styleSubcommandTerm(t.subcommandTerm(i)))),0)}longestOptionTermLength(e,t){return t.visibleOptions(e).reduce((r,i)=>Math.max(r,this.displayWidth(t.styleOptionTerm(t.optionTerm(i)))),0)}longestGlobalOptionTermLength(e,t){return t.visibleGlobalOptions(e).reduce((r,i)=>Math.max(r,this.displayWidth(t.styleOptionTerm(t.optionTerm(i)))),0)}longestArgumentTermLength(e,t){return t.visibleArguments(e).reduce((r,i)=>Math.max(r,this.displayWidth(t.styleArgumentTerm(t.argumentTerm(i)))),0)}commandUsage(e){let t=e._name;e._aliases[0]&&(t=t+"|"+e._aliases[0]);let r="";for(let i=e.parent;i;i=i.parent)r=i.name()+" "+r;return r+t+" "+e.usage()}commandDescription(e){return e.description()}subcommandDescription(e){return e.summary()||e.description()}optionDescription(e){let t=[];if(e.argChoices&&t.push(`choices: ${e.argChoices.map(r=>JSON.stringify(r)).join(", ")}`),e.defaultValue!==void 0&&(e.required||e.optional||e.isBoolean()&&typeof e.defaultValue=="boolean")&&t.push(`default: ${e.defaultValueDescription||JSON.stringify(e.defaultValue)}`),e.presetArg!==void 0&&e.optional&&t.push(`preset: ${JSON.stringify(e.presetArg)}`),e.envVar!==void 0&&t.push(`env: ${e.envVar}`),t.length>0){let r=`(${t.join(", ")})`;return e.description?`${e.description} ${r}`:r}return e.description}argumentDescription(e){let t=[];if(e.argChoices&&t.push(`choices: ${e.argChoices.map(r=>JSON.stringify(r)).join(", ")}`),e.defaultValue!==void 0&&t.push(`default: ${e.defaultValueDescription||JSON.stringify(e.defaultValue)}`),t.length>0){let r=`(${t.join(", ")})`;return e.description?`${e.description} ${r}`:r}return e.description}formatItemList(e,t,r){return t.length===0?[]:[r.styleTitle(e),...t,""]}groupItems(e,t,r){let i=new Map;return e.forEach(s=>{let o=r(s);i.has(o)||i.set(o,[])}),t.forEach(s=>{let o=r(s);i.has(o)||i.set(o,[]),i.get(o).push(s)}),i}formatHelp(e,t){let r=t.padWidth(e,t),i=t.helpWidth??80;function s(c,p){return t.formatItem(c,r,p,t)}let o=[`${t.styleTitle("Usage:")} ${t.styleUsage(t.commandUsage(e))}`,""],a=t.commandDescription(e);a.length>0&&(o=o.concat([t.boxWrap(t.styleCommandDescription(a),i),""]));let m=t.visibleArguments(e).map(c=>s(t.styleArgumentTerm(t.argumentTerm(c)),t.styleArgumentDescription(t.argumentDescription(c))));if(o=o.concat(this.formatItemList("Arguments:",m,t)),this.groupItems(e.options,t.visibleOptions(e),c=>c.helpGroupHeading??"Options:").forEach((c,p)=>{let f=c.map(_=>s(t.styleOptionTerm(t.optionTerm(_)),t.styleOptionDescription(t.optionDescription(_))));o=o.concat(this.formatItemList(p,f,t))}),t.showGlobalOptions){let c=t.visibleGlobalOptions(e).map(p=>s(t.styleOptionTerm(t.optionTerm(p)),t.styleOptionDescription(t.optionDescription(p))));o=o.concat(this.formatItemList("Global Options:",c,t))}return this.groupItems(e.commands,t.visibleCommands(e),c=>c.helpGroup()||"Commands:").forEach((c,p)=>{let f=c.map(_=>s(t.styleSubcommandTerm(t.subcommandTerm(_)),t.styleSubcommandDescription(t.subcommandDescription(_))));o=o.concat(this.formatItemList(p,f,t))}),o.join(`
|
|
@@ -27,7 +27,7 @@ Expecting one of '${r.join("', '")}'`);return this._lifeCycleHooks[e]?this._life
|
|
|
27
27
|
`),this.outputHelp({error:!0}));let r=t||{},i=r.exitCode||1,s=r.code||"commander.error";this._exit(i,s,e)}_parseOptionsEnv(){this.options.forEach(e=>{if(e.envVar&&e.envVar in v.env){let t=e.attributeName();(this.getOptionValue(t)===void 0||["default","config","env"].includes(this.getOptionValueSource(t)))&&(e.required||e.optional?this.emit(`optionEnv:${e.name()}`,v.env[e.envVar]):this.emit(`optionEnv:${e.name()}`))}})}_parseOptionsImplied(){let e=new hi(this.options),t=r=>this.getOptionValue(r)!==void 0&&!["default","implied"].includes(this.getOptionValueSource(r));this.options.filter(r=>r.implied!==void 0&&t(r.attributeName())&&e.valueFromOption(this.getOptionValue(r.attributeName()),r)).forEach(r=>{Object.keys(r.implied).filter(i=>!t(i)).forEach(i=>{this.setOptionValueWithSource(i,r.implied[i],"implied")})})}missingArgument(e){let t=`error: missing required argument '${e}'`;this.error(t,{code:"commander.missingArgument"})}optionMissingArgument(e){let t=`error: option '${e.flags}' argument missing`;this.error(t,{code:"commander.optionMissingArgument"})}missingMandatoryOptionValue(e){let t=`error: required option '${e.flags}' not specified`;this.error(t,{code:"commander.missingMandatoryOptionValue"})}_conflictingOption(e,t){let r=o=>{let a=o.attributeName(),m=this.getOptionValue(a),u=this.options.find(c=>c.negate&&a===c.attributeName()),l=this.options.find(c=>!c.negate&&a===c.attributeName());return u&&(u.presetArg===void 0&&m===!1||u.presetArg!==void 0&&m===u.presetArg)?u:l||o},i=o=>{let a=r(o),m=a.attributeName();return this.getOptionValueSource(m)==="env"?`environment variable '${a.envVar}'`:`option '${a.flags}'`},s=`error: ${i(e)} cannot be used with ${i(t)}`;this.error(s,{code:"commander.conflictingOption"})}unknownOption(e){if(this._allowUnknownOption)return;let t="";if(e.startsWith("--")&&this._showSuggestionAfterError){let i=[],s=this;do{let o=s.createHelp().visibleOptions(s).filter(a=>a.long).map(a=>a.long);i=i.concat(o),s=s.parent}while(s&&!s._enablePositionalOptions);t=rr(e,i)}let r=`error: unknown option '${e}'${t}`;this.error(r,{code:"commander.unknownOption"})}_excessArguments(e){if(this._allowExcessArguments)return;let t=this.registeredArguments.length,r=t===1?"":"s",s=`error: too many arguments${this.parent?` for '${this.name()}'`:""}. Expected ${t} argument${r} but got ${e.length}.`;this.error(s,{code:"commander.excessArguments"})}unknownCommand(){let e=this.args[0],t="";if(this._showSuggestionAfterError){let i=[];this.createHelp().visibleCommands(this).forEach(s=>{i.push(s.name()),s.alias()&&i.push(s.alias())}),t=rr(e,i)}let r=`error: unknown command '${e}'${t}`;this.error(r,{code:"commander.unknownCommand"})}version(e,t,r){if(e===void 0)return this._version;this._version=e,t=t||"-V, --version",r=r||"output the version number";let i=this.createOption(t,r);return this._versionOptionName=i.attributeName(),this._registerOption(i),this.on("option:"+i.name(),()=>{this._outputConfiguration.writeOut(`${e}
|
|
28
28
|
`),this._exit(0,"commander.version",e)}),this}description(e,t){return e===void 0&&t===void 0?this._description:(this._description=e,t&&(this._argsDescription=t),this)}summary(e){return e===void 0?this._summary:(this._summary=e,this)}alias(e){if(e===void 0)return this._aliases[0];let t=this;if(this.commands.length!==0&&this.commands[this.commands.length-1]._executableHandler&&(t=this.commands[this.commands.length-1]),e===t._name)throw new Error("Command alias can't be the same as its name");let r=this.parent?._findCommand(e);if(r){let i=[r.name()].concat(r.aliases()).join("|");throw new Error(`cannot add alias '${e}' to command '${this.name()}' as already have command '${i}'`)}return t._aliases.push(e),this}aliases(e){return e===void 0?this._aliases:(e.forEach(t=>this.alias(t)),this)}usage(e){if(e===void 0){if(this._usage)return this._usage;let t=this.registeredArguments.map(r=>li(r));return[].concat(this.options.length||this._helpOption!==null?"[options]":[],this.commands.length?"[command]":[],this.registeredArguments.length?t:[]).join(" ")}return this._usage=e,this}name(e){return e===void 0?this._name:(this._name=e,this)}helpGroup(e){return e===void 0?this._helpGroupHeading??"":(this._helpGroupHeading=e,this)}commandsGroup(e){return e===void 0?this._defaultCommandGroup??"":(this._defaultCommandGroup=e,this)}optionsGroup(e){return e===void 0?this._defaultOptionGroup??"":(this._defaultOptionGroup=e,this)}_initOptionGroup(e){this._defaultOptionGroup&&!e.helpGroupHeading&&e.helpGroup(this._defaultOptionGroup)}_initCommandGroup(e){this._defaultCommandGroup&&!e.helpGroup()&&e.helpGroup(this._defaultCommandGroup)}nameFromFilename(e){return this._name=T.basename(e,T.extname(e)),this}executableDir(e){return e===void 0?this._executableDir:(this._executableDir=e,this)}helpInformation(e){let t=this.createHelp(),r=this._getOutputContext(e);t.prepareContext({error:r.error,helpWidth:r.helpWidth,outputHasColors:r.hasColors});let i=t.formatHelp(this,t);return r.hasColors?i:this._outputConfiguration.stripColor(i)}_getOutputContext(e){e=e||{};let t=!!e.error,r,i,s;return t?(r=a=>this._outputConfiguration.writeErr(a),i=this._outputConfiguration.getErrHasColors(),s=this._outputConfiguration.getErrHelpWidth()):(r=a=>this._outputConfiguration.writeOut(a),i=this._outputConfiguration.getOutHasColors(),s=this._outputConfiguration.getOutHelpWidth()),{error:t,write:a=>(i||(a=this._outputConfiguration.stripColor(a)),r(a)),hasColors:i,helpWidth:s}}outputHelp(e){let t;typeof e=="function"&&(t=e,e=void 0);let r=this._getOutputContext(e),i={error:r.error,write:r.write,command:this};this._getCommandAndAncestors().reverse().forEach(o=>o.emit("beforeAllHelp",i)),this.emit("beforeHelp",i);let s=this.helpInformation({error:r.error});if(t&&(s=t(s),typeof s!="string"&&!Buffer.isBuffer(s)))throw new Error("outputHelp callback must return a string or a Buffer");r.write(s),this._getHelpOption()?.long&&this.emit(this._getHelpOption().long),this.emit("afterHelp",i),this._getCommandAndAncestors().forEach(o=>o.emit("afterAllHelp",i))}helpOption(e,t){return typeof e=="boolean"?(e?(this._helpOption===null&&(this._helpOption=void 0),this._defaultOptionGroup&&this._initOptionGroup(this._getHelpOption())):this._helpOption=null,this):(this._helpOption=this.createOption(e??"-h, --help",t??"display help for command"),(e||t)&&this._initOptionGroup(this._helpOption),this)}_getHelpOption(){return this._helpOption===void 0&&this.helpOption(void 0,void 0),this._helpOption}addHelpOption(e){return this._helpOption=e,this._initOptionGroup(e),this}help(e){this.outputHelp(e);let t=Number(v.exitCode??0);t===0&&e&&typeof e!="function"&&e.error&&(t=1),this._exit(t,"commander.help","(outputHelp)")}addHelpText(e,t){let r=["beforeAll","before","after","afterAll"];if(!r.includes(e))throw new Error(`Unexpected value for position to addHelpText.
|
|
29
29
|
Expecting one of '${r.join("', '")}'`);let i=`${e}Help`;return this.on(i,s=>{let o;typeof t=="function"?o=t({error:s.error,command:s.command}):o=t,o&&s.write(`${o}
|
|
30
|
-
`)}),this}_outputHelpIfRequested(e){let t=this._getHelpOption();t&&e.find(i=>t.is(i))&&(this.outputHelp(),this._exit(0,"commander.helpDisplayed","(outputHelp)"))}};function nr(n){return n.map(e=>{if(!e.startsWith("--inspect"))return e;let t,r="127.0.0.1",i="9229",s;return(s=e.match(/^(--inspect(-brk)?)$/))!==null?t=s[1]:(s=e.match(/^(--inspect(-brk|-port)?)=([^:]+)$/))!==null?(t=s[1],/^\d+$/.test(s[3])?i=s[3]:r=s[3]):(s=e.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/))!==null&&(t=s[1],r=s[3],i=s[4]),t&&i!=="0"?`${t}=${r}:${parseInt(i)+1}`:e})}function Ze(){if(v.env.NO_COLOR||v.env.FORCE_COLOR==="0"||v.env.FORCE_COLOR==="false")return!1;if(v.env.FORCE_COLOR||v.env.CLICOLOR_FORCE!==void 0)return!0}et.Command=Xe;et.useColor=Ze});var mr=g(k=>{var{Argument:sr}=he(),{Command:tt}=ir(),{CommanderError:fi,InvalidArgumentError:or}=ne(),{Help:di}=Ue(),{Option:ar}=Ke();k.program=new tt;k.createCommand=n=>new tt(n);k.createOption=(n,e)=>new ar(n,e);k.createArgument=(n,e)=>new sr(n,e);k.Command=tt;k.Option=ar;k.Argument=sr;k.Help=di;k.CommanderError=fi;k.InvalidArgumentError=or;k.InvalidOptionArgumentError=or});var yr=g((ks,vr)=>{vr.exports=_r;_r.sync=Oi;var dr=require("fs");function wi(n,e){var t=e.pathExt!==void 0?e.pathExt:process.env.PATHEXT;if(!t||(t=t.split(";"),t.indexOf("")!==-1))return!0;for(var r=0;r<t.length;r++){var i=t[r].toLowerCase();if(i&&n.substr(-i.length).toLowerCase()===i)return!0}return!1}function gr(n,e,t){return!n.isSymbolicLink()&&!n.isFile()?!1:wi(e,t)}function _r(n,e,t){dr.stat(n,function(r,i){t(r,r?!1:gr(i,n,e))})}function Oi(n,e){return gr(dr.statSync(n),n,e)}});var
|
|
30
|
+
`)}),this}_outputHelpIfRequested(e){let t=this._getHelpOption();t&&e.find(i=>t.is(i))&&(this.outputHelp(),this._exit(0,"commander.helpDisplayed","(outputHelp)"))}};function nr(n){return n.map(e=>{if(!e.startsWith("--inspect"))return e;let t,r="127.0.0.1",i="9229",s;return(s=e.match(/^(--inspect(-brk)?)$/))!==null?t=s[1]:(s=e.match(/^(--inspect(-brk|-port)?)=([^:]+)$/))!==null?(t=s[1],/^\d+$/.test(s[3])?i=s[3]:r=s[3]):(s=e.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/))!==null&&(t=s[1],r=s[3],i=s[4]),t&&i!=="0"?`${t}=${r}:${parseInt(i)+1}`:e})}function Ze(){if(v.env.NO_COLOR||v.env.FORCE_COLOR==="0"||v.env.FORCE_COLOR==="false")return!1;if(v.env.FORCE_COLOR||v.env.CLICOLOR_FORCE!==void 0)return!0}et.Command=Xe;et.useColor=Ze});var mr=g(k=>{var{Argument:sr}=he(),{Command:tt}=ir(),{CommanderError:fi,InvalidArgumentError:or}=ne(),{Help:di}=Ue(),{Option:ar}=Ke();k.program=new tt;k.createCommand=n=>new tt(n);k.createOption=(n,e)=>new ar(n,e);k.createArgument=(n,e)=>new sr(n,e);k.Command=tt;k.Option=ar;k.Argument=sr;k.Help=di;k.CommanderError=fi;k.InvalidArgumentError=or;k.InvalidOptionArgumentError=or});var yr=g((ks,vr)=>{vr.exports=_r;_r.sync=Oi;var dr=require("fs");function wi(n,e){var t=e.pathExt!==void 0?e.pathExt:process.env.PATHEXT;if(!t||(t=t.split(";"),t.indexOf("")!==-1))return!0;for(var r=0;r<t.length;r++){var i=t[r].toLowerCase();if(i&&n.substr(-i.length).toLowerCase()===i)return!0}return!1}function gr(n,e,t){return!n.isSymbolicLink()&&!n.isFile()?!1:wi(e,t)}function _r(n,e,t){dr.stat(n,function(r,i){t(r,r?!1:gr(i,n,e))})}function Oi(n,e){return gr(dr.statSync(n),n,e)}});var Ar=g((Ms,Or)=>{Or.exports=Sr;Sr.sync=Ai;var Cr=require("fs");function Sr(n,e,t){Cr.stat(n,function(r,i){t(r,r?!1:wr(i,e))})}function Ai(n,e){return wr(Cr.statSync(n),e)}function wr(n,e){return n.isFile()&&bi(n,e)}function bi(n,e){var t=n.mode,r=n.uid,i=n.gid,s=e.uid!==void 0?e.uid:process.getuid&&process.getuid(),o=e.gid!==void 0?e.gid:process.getgid&&process.getgid(),a=parseInt("100",8),m=parseInt("010",8),u=parseInt("001",8),l=a|m,c=t&u||t&m&&i===o||t&a&&r===s||t&l&&s===0;return c}});var Er=g(($s,br)=>{var Ls=require("fs"),de;process.platform==="win32"||global.TESTING_WINDOWS?de=yr():de=Ar();br.exports=it;it.sync=Ei;function it(n,e,t){if(typeof e=="function"&&(t=e,e={}),!t){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(r,i){it(n,e||{},function(s,o){s?i(s):r(o)})})}de(n,e||{},function(r,i){r&&(r.code==="EACCES"||e&&e.ignoreErrors)&&(r=null,i=!1),t(r,i)})}function Ei(n,e){try{return de.sync(n,e||{})}catch(t){if(e&&e.ignoreErrors||t.code==="EACCES")return!1;throw t}}});var Tr=g((Ns,Nr)=>{var Q=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",xr=require("path"),xi=Q?";":":",kr=Er(),Mr=n=>Object.assign(new Error(`not found: ${n}`),{code:"ENOENT"}),Lr=(n,e)=>{let t=e.colon||xi,r=n.match(/\//)||Q&&n.match(/\\/)?[""]:[...Q?[process.cwd()]:[],...(e.path||process.env.PATH||"").split(t)],i=Q?e.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",s=Q?i.split(t):[""];return Q&&n.indexOf(".")!==-1&&s[0]!==""&&s.unshift(""),{pathEnv:r,pathExt:s,pathExtExe:i}},$r=(n,e,t)=>{typeof e=="function"&&(t=e,e={}),e||(e={});let{pathEnv:r,pathExt:i,pathExtExe:s}=Lr(n,e),o=[],a=u=>new Promise((l,c)=>{if(u===r.length)return e.all&&o.length?l(o):c(Mr(n));let p=r[u],f=/^".*"$/.test(p)?p.slice(1,-1):p,_=xr.join(f,n),S=!f&&/^\.[\\\/]/.test(n)?n.slice(0,2)+_:_;l(m(S,u,0))}),m=(u,l,c)=>new Promise((p,f)=>{if(c===i.length)return p(a(l+1));let _=i[c];kr(u+_,{pathExt:s},(S,G)=>{if(!S&&G)if(e.all)o.push(u+_);else return p(u+_);return p(m(u,l,c+1))})});return t?a(0).then(u=>t(null,u),t):a(0)},ki=(n,e)=>{e=e||{};let{pathEnv:t,pathExt:r,pathExtExe:i}=Lr(n,e),s=[];for(let o=0;o<t.length;o++){let a=t[o],m=/^".*"$/.test(a)?a.slice(1,-1):a,u=xr.join(m,n),l=!m&&/^\.[\\\/]/.test(n)?n.slice(0,2)+u:u;for(let c=0;c<r.length;c++){let p=l+r[c];try{if(kr.sync(p,{pathExt:i}))if(e.all)s.push(p);else return p}catch{}}}if(e.all&&s.length)return s;if(e.nothrow)return null;throw Mr(n)};Nr.exports=$r;$r.sync=ki});var Dr=g((Ts,st)=>{"use strict";var Pr=(n={})=>{let e=n.env||process.env;return(n.platform||process.platform)!=="win32"?"PATH":Object.keys(e).reverse().find(r=>r.toUpperCase()==="PATH")||"Path"};st.exports=Pr;st.exports.default=Pr});var jr=g((Ps,Vr)=>{"use strict";var Ir=require("path"),Mi=Tr(),Li=Dr();function Rr(n,e){let t=n.options.env||process.env,r=process.cwd(),i=n.options.cwd!=null,s=i&&process.chdir!==void 0&&!process.chdir.disabled;if(s)try{process.chdir(n.options.cwd)}catch{}let o;try{o=Mi.sync(n.command,{path:t[Li({env:t})],pathExt:e?Ir.delimiter:void 0})}catch{}finally{s&&process.chdir(r)}return o&&(o=Ir.resolve(i?n.options.cwd:"",o)),o}function $i(n){return Rr(n)||Rr(n,!0)}Vr.exports=$i});var Hr=g((Ds,at)=>{"use strict";var ot=/([()\][%!^"`<>&|;, *?])/g;function Ni(n){return n=n.replace(ot,"^$1"),n}function Ti(n,e){return n=`${n}`,n=n.replace(/(?=(\\+?)?)\1"/g,'$1$1\\"'),n=n.replace(/(?=(\\+?)?)\1$/,"$1$1"),n=`"${n}"`,n=n.replace(ot,"^$1"),e&&(n=n.replace(ot,"^$1")),n}at.exports.command=Ni;at.exports.argument=Ti});var Gr=g((Is,Fr)=>{"use strict";Fr.exports=/^#!(.*)/});var Wr=g((Rs,qr)=>{"use strict";var Pi=Gr();qr.exports=(n="")=>{let e=n.match(Pi);if(!e)return null;let[t,r]=e[0].replace(/#! ?/,"").split(" "),i=t.split("/").pop();return i==="env"?r:r?`${i} ${r}`:i}});var Br=g((Vs,Ur)=>{"use strict";var mt=require("fs"),Di=Wr();function Ii(n){let t=Buffer.alloc(150),r;try{r=mt.openSync(n,"r"),mt.readSync(r,t,0,150,0),mt.closeSync(r)}catch{}return Di(t.toString())}Ur.exports=Ii});var Qr=g((js,Kr)=>{"use strict";var Ri=require("path"),zr=jr(),Jr=Hr(),Vi=Br(),ji=process.platform==="win32",Hi=/\.(?:com|exe)$/i,Fi=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function Gi(n){n.file=zr(n);let e=n.file&&Vi(n.file);return e?(n.args.unshift(n.file),n.command=e,zr(n)):n.file}function qi(n){if(!ji)return n;let e=Gi(n),t=!Hi.test(e);if(n.options.forceShell||t){let r=Fi.test(e);n.command=Ri.normalize(n.command),n.command=Jr.command(n.command),n.args=n.args.map(s=>Jr.argument(s,r));let i=[n.command].concat(n.args).join(" ");n.args=["/d","/s","/c",`"${i}"`],n.command=process.env.comspec||"cmd.exe",n.options.windowsVerbatimArguments=!0}return n}function Wi(n,e,t){e&&!Array.isArray(e)&&(t=e,e=null),e=e?e.slice(0):[],t=Object.assign({},t);let r={command:n,args:e,options:t,file:void 0,original:{command:n,args:e}};return t.shell?r:qi(r)}Kr.exports=Wi});var Zr=g((Hs,Xr)=>{"use strict";var ut=process.platform==="win32";function lt(n,e){return Object.assign(new Error(`${e} ${n.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${e} ${n.command}`,path:n.command,spawnargs:n.args})}function Ui(n,e){if(!ut)return;let t=n.emit;n.emit=function(r,i){if(r==="exit"){let s=Yr(i,e);if(s)return t.call(n,"error",s)}return t.apply(n,arguments)}}function Yr(n,e){return ut&&n===1&&!e.file?lt(e.original,"spawn"):null}function Bi(n,e){return ut&&n===1&&!e.file?lt(e.original,"spawnSync"):null}Xr.exports={hookChildProcess:Ui,verifyENOENT:Yr,verifyENOENTSync:Bi,notFoundError:lt}});var rn=g((Fs,Y)=>{"use strict";var en=require("child_process"),ct=Qr(),pt=Zr();function tn(n,e,t){let r=ct(n,e,t),i=en.spawn(r.command,r.args,r.options);return pt.hookChildProcess(i,r),i}function zi(n,e,t){let r=ct(n,e,t),i=en.spawnSync(r.command,r.args,r.options);return i.error=i.error||pt.verifyENOENTSync(i.status,r),i}Y.exports=tn;Y.exports.spawn=tn;Y.exports.sync=zi;Y.exports._parse=ct;Y.exports._enoent=pt});Qt().install();var ur=W(mr(),1),{program:_s,createCommand:vs,createArgument:ys,createOption:Cs,CommanderError:Ss,InvalidArgumentError:ws,InvalidOptionArgumentError:Os,Command:lr,Argument:As,Option:P,Help:bs}=ur.default;var gi=/[\p{Lu}]/u,_i=/[\p{Ll}]/u,cr=/^[\p{Lu}](?![\p{Lu}])/gu,fr=/([\p{Alpha}\p{N}_]|$)/u,rt=/[_.\- ]+/,vi=new RegExp("^"+rt.source),pr=new RegExp(rt.source+fr.source,"gu"),hr=new RegExp("\\d+"+fr.source,"gu"),yi=(n,e,t,r)=>{let i=!1,s=!1,o=!1,a=!1;for(let m=0;m<n.length;m++){let u=n[m];a=m>2?n[m-3]==="-":!0,i&&gi.test(u)?(n=n.slice(0,m)+"-"+n.slice(m),i=!1,o=s,s=!0,m++):s&&o&&_i.test(u)&&(!a||r)?(n=n.slice(0,m-1)+"-"+n.slice(m-1),o=s,s=!1,i=!0):(i=e(u)===u&&t(u)!==u,o=s,s=t(u)===u&&e(u)!==u)}return n},Ci=(n,e)=>(cr.lastIndex=0,n.replaceAll(cr,t=>e(t))),Si=(n,e)=>(pr.lastIndex=0,hr.lastIndex=0,n.replaceAll(hr,(t,r,i)=>["_","-"].includes(n.charAt(i+t.length))?t:e(t)).replaceAll(pr,(t,r)=>e(r)));function nt(n,e){if(!(typeof n=="string"||Array.isArray(n)))throw new TypeError("Expected the input to be `string | string[]`");if(e={pascalCase:!1,preserveConsecutiveUppercase:!1,...e},Array.isArray(n)?n=n.map(s=>s.trim()).filter(s=>s.length).join("-"):n=n.trim(),n.length===0)return"";let t=e.locale===!1?s=>s.toLowerCase():s=>s.toLocaleLowerCase(e.locale),r=e.locale===!1?s=>s.toUpperCase():s=>s.toLocaleUpperCase(e.locale);return n.length===1?rt.test(n)?"":e.pascalCase?r(n):t(n):(n!==t(n)&&(n=yi(n,t,r,e.preserveConsecutiveUppercase)),n=n.replace(vi,""),n=e.preserveConsecutiveUppercase?Ci(n,t):t(n),e.pascalCase&&(n=r(n.charAt(0))+n.slice(1)),Si(n,r))}var F=W(rn()),y=W(require("fs")),un=W(require("os")),d=W(require("path"));var ie="2.0.20-alpha.0";var sn=()=>{se(),console.log(`
|
|
31
31
|
\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@
|
|
32
32
|
\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m \x1B[38;5;016m \x1B[38;5;016m \x1B[38;5;016m \x1B[38;5;016m \x1B[38;5;016m \x1B[38;5;016m \x1B[38;5;016m \x1B[38;5;016m \x1B[38;5;016m \x1B[38;5;016m \x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@
|
|
33
33
|
\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;016m \x1B[38;5;016m \x1B[38;5;016m \x1B[38;5;016m \x1B[38;5;016m \x1B[38;5;016m \x1B[38;5;016m \x1B[38;5;016m \x1B[38;5;016m \x1B[38;5;016m \x1B[38;5;016m \x1B[38;5;016m \x1B[38;5;016m \x1B[38;5;016m \x1B[38;5;016m \x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@\x1B[38;5;m@
|