From 43f4ca2adc6f58df18ecb7d9903a928943ccbb9d Mon Sep 17 00:00:00 2001 From: coderiaser Date: Tue, 29 Oct 2024 13:20:09 +0200 Subject: [PATCH] chore: @putout/bundle: v3.18.3 --- ChangeLog | 5 +++++ bundle/putout.js | 27 +++++++++++++++------------ bundle/putout.min.js | 2 +- package.json | 2 +- 4 files changed, 22 insertions(+), 14 deletions(-) diff --git a/ChangeLog b/ChangeLog index a511f55..0c61fd2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2024.10.29, v3.18.3 + +feature: +- 4991d5a keyword: linter + 2024.10.28, v3.18.2 feature: diff --git a/bundle/putout.js b/bundle/putout.js index 8750446..030c50c 100644 --- a/bundle/putout.js +++ b/bundle/putout.js @@ -47186,7 +47186,7 @@ function Identifier$1$1(node, parent, tokenContext, _inForInit, getRawIdentifier await: false }); } -var parens$2 = /* @__PURE__ */ Object.freeze({ +var parens$1 = /* @__PURE__ */ Object.freeze({ __proto__: null, ArrowFunctionExpression: ConditionalExpression$1, AssignmentExpression: AssignmentExpression$1, @@ -47284,7 +47284,7 @@ function expandAliases(obj) { } return map; } -var expandedParens = expandAliases(parens$2); +var expandedParens = expandAliases(parens$1); var expandedWhitespaceNodes = expandAliases(nodes); function isOrHasCallExpression(node) { if (isCallExpression$1$1(node)) { @@ -79240,9 +79240,9 @@ function isOneArgArrow(path) { return param.type === 'Identifier'; } -var parens$1 = {}; +var maybeParens$8 = {}; -parens$1.maybeParens = (print) => ({ +maybeParens$8.maybeParens = (print) => ({ condition(path) { return path.node.extra?.parenthesized; }, @@ -79257,7 +79257,7 @@ parens$1.maybeParens = (print) => ({ const {exists: exists$e} = is$3; const {printParams: printParams$c} = params; -const {maybeParens: maybeParens$7} = parens$1; +const {maybeParens: maybeParens$7} = maybeParens$8; arrowFunctionExpression.ArrowFunctionExpression = maybeParens$7((path, printer, semantics) => { const { @@ -79515,7 +79515,7 @@ var functionExpression = {}; const {exists: exists$d} = is$3; const {printParams: printParams$8} = params; -const {maybeParens: maybeParens$6} = parens$1; +const {maybeParens: maybeParens$6} = maybeParens$8; functionExpression.FunctionExpression = maybeParens$6((path, printer, semantics) => { const { @@ -79567,7 +79567,7 @@ var unaryExpressions$1 = {}; const {isLast: isLast$b, isNext: isNext$m} = is$3; -const {maybeParens: maybeParens$5} = parens$1; +const {maybeParens: maybeParens$5} = maybeParens$8; const isWord = (a) => /^(delete|typeof|void|throw)$/.test(a); @@ -79919,7 +79919,7 @@ _class.ClassDeclaration = { var callExpression = {}; const {exists: exists$c} = is$3; -const {maybeParens: maybeParens$4} = parens$1; +const {maybeParens: maybeParens$4} = maybeParens$8; const {isArray: isArray$h} = Array; const parseArgs = (path) => { @@ -84327,7 +84327,7 @@ maybeGet.maybeDecorators = (path) => { }; const {maybeDecorators} = maybeGet; -const {maybeParens: maybeParens$3} = parens$1; +const {maybeParens: maybeParens$3} = maybeParens$8; const {maybeTypeAnnotation} = maybeTypeAnnotation$4; identifier.Identifier = maybeParens$3(maybeTypeAnnotation((path, printer) => { @@ -84479,6 +84479,9 @@ tsTypeLiteral.TSTypeLiteral = (path, {indent, traverse, write}) => { function isNewline(path) { const members = path.get('members'); + if (members.length === 1 && path.parentPath.isTSTypeParameterInstantiation()) + return false; + return members.length && members[0].node.typeAnnotation; } @@ -84804,7 +84807,7 @@ tsInterfaceDeclaration.TSInterfaceDeclaration = { var tsAsExpression = {}; -const {maybeParens: maybeParens$2} = parens$1; +const {maybeParens: maybeParens$2} = maybeParens$8; const { isVariableDeclarator, isObjectExpression: isObjectExpression$1, @@ -84938,7 +84941,7 @@ printReturnType$5.printReturnType = (path, {traverse}) => { const {printParams: printParams$5} = params; const {printReturnType: printReturnType$4} = printReturnType$5; -const {maybeParens: maybeParens$1} = parens$1; +const {maybeParens: maybeParens$1} = maybeParens$8; tsFunctionType.TSFunctionType = maybeParens$1((path, printer, semantics) => { const {print} = printer; @@ -85151,7 +85154,7 @@ tsTypeReference.TSTypeReference = (path, {print}) => { var tsInfertType = {}; -const {maybeParens} = parens$1; +const {maybeParens} = maybeParens$8; tsInfertType.TSInferType = maybeParens((path, {print}) => { print('infer '); diff --git a/bundle/putout.min.js b/bundle/putout.min.js index 93b8c9c..153ebcd 100644 --- a/bundle/putout.min.js +++ b/bundle/putout.min.js @@ -1 +1 @@ -var A="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(A){if(A.__esModule)return A;var e=A.default;if("function"==typeof e){var t=function A(){return this instanceof A?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(A).forEach((function(e){var r=Object.getOwnPropertyDescriptor(A,e);Object.defineProperty(t,e,r.get?r:{enumerable:!0,get:function(){return A[e]}})})),t}var t={exports:{}},r="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function i(){throw new Error("setTimeout has not been defined")}function n(){throw new Error("clearTimeout has not been defined")}var a=i,s=n;function o(A){if(a===setTimeout)return setTimeout(A,0);if((a===i||!a)&&setTimeout)return a=setTimeout,setTimeout(A,0);try{return a(A,0)}catch(e){try{return a.call(null,A,0)}catch(e){return a.call(this,A,0)}}}"function"==typeof r.setTimeout&&(a=setTimeout),"function"==typeof r.clearTimeout&&(s=clearTimeout);var g,I=[],C=!1,u=-1;function c(){C&&g&&(C=!1,g.length?I=g.concat(I):u=-1,I.length&&l())}function l(){if(!C){var A=o(c);C=!0;for(var e=I.length;e;){for(g=I,I=[];++u1)for(var t=1;t>18&63]+k[i>>12&63]+k[i>>6&63]+k[63&i]);return n.join("")}function T(A){var e;b||F();for(var t=A.length,r=t%3,i="",n=[],a=16383,s=0,o=t-r;so?o:s+a));return 1===r?(e=A[t-1],i+=k[e>>2],i+=k[e<<4&63],i+="=="):2===r&&(e=(A[t-2]<<8)+A[t-1],i+=k[e>>10],i+=k[e>>4&63],i+=k[e<<2&63],i+="="),n.push(i),n.join("")}function R(A,e,t,r,i){var n,a,s=8*i-r-1,o=(1<>1,I=-7,C=t?i-1:0,u=t?-1:1,c=A[e+C];for(C+=u,n=c&(1<<-I)-1,c>>=-I,I+=s;I>0;n=256*n+A[e+C],C+=u,I-=8);for(a=n&(1<<-I)-1,n>>=-I,I+=r;I>0;a=256*a+A[e+C],C+=u,I-=8);if(0===n)n=1-g;else{if(n===o)return a?NaN:1/0*(c?-1:1);a+=Math.pow(2,r),n-=g}return(c?-1:1)*a*Math.pow(2,n-r)}function G(A,e,t,r,i,n){var a,s,o,g=8*n-i-1,I=(1<>1,u=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,c=r?0:n-1,l=r?1:-1,B=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=I):(a=Math.floor(Math.log(e)/Math.LN2),e*(o=Math.pow(2,-a))<1&&(a--,o*=2),(e+=a+C>=1?u/o:u*Math.pow(2,1-C))*o>=2&&(a++,o/=2),a+C>=I?(s=0,a=I):a+C>=1?(s=(e*o-1)*Math.pow(2,i),a+=C):(s=e*Math.pow(2,C-1)*Math.pow(2,i),a=0));i>=8;A[t+c]=255&s,c+=l,s/=256,i-=8);for(a=a<0;A[t+c]=255&a,c+=l,a/=256,g-=8);A[t+c-l]|=128*B}var M={}.toString,L=Array.isArray||function(A){return"[object Array]"==M.call(A)};function P(){return J.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function U(A,e){if(P()=P())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+P().toString(16)+" bytes");return 0|A}function z(A){return!(null==A||!A._isBuffer)}function q(A,e){if(z(A))return A.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(A)||A instanceof ArrayBuffer))return A.byteLength;"string"!=typeof A&&(A=""+A);var t=A.length;if(0===t)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":case void 0:return yA(A).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*t;case"hex":return t>>>1;case"base64":return mA(A).length;default:if(r)return yA(A).length;e=(""+e).toLowerCase(),r=!0}}function V(A,e,t){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===t||t>this.length)&&(t=this.length),t<=0)return"";if((t>>>=0)<=(e>>>=0))return"";for(A||(A="utf8");;)switch(A){case"hex":return IA(this,e,t);case"utf8":case"utf-8":return aA(this,e,t);case"ascii":return oA(this,e,t);case"latin1":case"binary":return gA(this,e,t);case"base64":return nA(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return CA(this,e,t);default:if(r)throw new TypeError("Unknown encoding: "+A);A=(A+"").toLowerCase(),r=!0}}function W(A,e,t){var r=A[e];A[e]=A[t],A[t]=r}function X(A,e,t,r,i){if(0===A.length)return-1;if("string"==typeof t?(r=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,isNaN(t)&&(t=i?0:A.length-1),t<0&&(t=A.length+t),t>=A.length){if(i)return-1;t=A.length-1}else if(t<0){if(!i)return-1;t=0}if("string"==typeof e&&(e=J.from(e,r)),z(e))return 0===e.length?-1:Z(A,e,t,r,i);if("number"==typeof e)return e&=255,J.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(A,e,t):Uint8Array.prototype.lastIndexOf.call(A,e,t):Z(A,[e],t,r,i);throw new TypeError("val must be string, number or Buffer")}function Z(A,e,t,r,i){var n,a=1,s=A.length,o=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(A.length<2||e.length<2)return-1;a=2,s/=2,o/=2,t/=2}function g(A,e){return 1===a?A[e]:A.readUInt16BE(e*a)}if(i){var I=-1;for(n=t;ns&&(t=s-o),n=t;n>=0;n--){for(var C=!0,u=0;ui&&(r=i):r=i;var n=e.length;if(n%2!=0)throw new TypeError("Invalid hex string");r>n/2&&(r=n/2);for(var a=0;a>8,i=t%256,n.push(i),n.push(r);return n}(e,A.length-t),A,t,r)}function nA(A,e,t){return 0===e&&t===A.length?T(A):T(A.slice(e,t))}function aA(A,e,t){t=Math.min(A.length,t);for(var r=[],i=e;i239?4:g>223?3:g>191?2:1;if(i+C<=t)switch(C){case 1:g<128&&(I=g);break;case 2:128==(192&(n=A[i+1]))&&(o=(31&g)<<6|63&n)>127&&(I=o);break;case 3:n=A[i+1],a=A[i+2],128==(192&n)&&128==(192&a)&&(o=(15&g)<<12|(63&n)<<6|63&a)>2047&&(o<55296||o>57343)&&(I=o);break;case 4:n=A[i+1],a=A[i+2],s=A[i+3],128==(192&n)&&128==(192&a)&&128==(192&s)&&(o=(15&g)<<18|(63&n)<<12|(63&a)<<6|63&s)>65535&&o<1114112&&(I=o)}null===I?(I=65533,C=1):I>65535&&(I-=65536,r.push(I>>>10&1023|55296),I=56320|1023&I),r.push(I),i+=C}return function(A){var e=A.length;if(e<=sA)return String.fromCharCode.apply(String,A);var t="",r=0;for(;r0&&(A=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(A+=" ... ")),""},J.prototype.compare=function(A,e,t,r,i){if(!z(A))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===t&&(t=A?A.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||t>A.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=t)return 0;if(r>=i)return-1;if(e>=t)return 1;if(this===A)return 0;for(var n=(i>>>=0)-(r>>>=0),a=(t>>>=0)-(e>>>=0),s=Math.min(n,a),o=this.slice(r,i),g=A.slice(e,t),I=0;Ii)&&(t=i),A.length>0&&(t<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var n=!1;;)switch(r){case"hex":return $(this,A,e,t);case"utf8":case"utf-8":return AA(this,A,e,t);case"ascii":return eA(this,A,e,t);case"latin1":case"binary":return tA(this,A,e,t);case"base64":return rA(this,A,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return iA(this,A,e,t);default:if(n)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),n=!0}},J.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var sA=4096;function oA(A,e,t){var r="";t=Math.min(A.length,t);for(var i=e;ir)&&(t=r);for(var i="",n=e;nt)throw new RangeError("Trying to access beyond buffer length")}function cA(A,e,t,r,i,n){if(!z(A))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||eA.length)throw new RangeError("Index out of range")}function lA(A,e,t,r){e<0&&(e=65535+e+1);for(var i=0,n=Math.min(A.length-t,2);i>>8*(r?i:1-i)}function BA(A,e,t,r){e<0&&(e=4294967295+e+1);for(var i=0,n=Math.min(A.length-t,4);i>>8*(r?i:3-i)&255}function EA(A,e,t,r,i,n){if(t+r>A.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function QA(A,e,t,r,i){return i||EA(A,0,t,4),G(A,e,t,r,23,4),t+4}function pA(A,e,t,r,i){return i||EA(A,0,t,8),G(A,e,t,r,52,8),t+8}J.prototype.slice=function(A,e){var t,r=this.length;if((A=~~A)<0?(A+=r)<0&&(A=0):A>r&&(A=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e0&&(i*=256);)r+=this[A+--e]*i;return r},J.prototype.readUInt8=function(A,e){return e||uA(A,1,this.length),this[A]},J.prototype.readUInt16LE=function(A,e){return e||uA(A,2,this.length),this[A]|this[A+1]<<8},J.prototype.readUInt16BE=function(A,e){return e||uA(A,2,this.length),this[A]<<8|this[A+1]},J.prototype.readUInt32LE=function(A,e){return e||uA(A,4,this.length),(this[A]|this[A+1]<<8|this[A+2]<<16)+16777216*this[A+3]},J.prototype.readUInt32BE=function(A,e){return e||uA(A,4,this.length),16777216*this[A]+(this[A+1]<<16|this[A+2]<<8|this[A+3])},J.prototype.readIntLE=function(A,e,t){A|=0,e|=0,t||uA(A,e,this.length);for(var r=this[A],i=1,n=0;++n=(i*=128)&&(r-=Math.pow(2,8*e)),r},J.prototype.readIntBE=function(A,e,t){A|=0,e|=0,t||uA(A,e,this.length);for(var r=e,i=1,n=this[A+--r];r>0&&(i*=256);)n+=this[A+--r]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*e)),n},J.prototype.readInt8=function(A,e){return e||uA(A,1,this.length),128&this[A]?-1*(255-this[A]+1):this[A]},J.prototype.readInt16LE=function(A,e){e||uA(A,2,this.length);var t=this[A]|this[A+1]<<8;return 32768&t?4294901760|t:t},J.prototype.readInt16BE=function(A,e){e||uA(A,2,this.length);var t=this[A+1]|this[A]<<8;return 32768&t?4294901760|t:t},J.prototype.readInt32LE=function(A,e){return e||uA(A,4,this.length),this[A]|this[A+1]<<8|this[A+2]<<16|this[A+3]<<24},J.prototype.readInt32BE=function(A,e){return e||uA(A,4,this.length),this[A]<<24|this[A+1]<<16|this[A+2]<<8|this[A+3]},J.prototype.readFloatLE=function(A,e){return e||uA(A,4,this.length),R(this,A,!0,23,4)},J.prototype.readFloatBE=function(A,e){return e||uA(A,4,this.length),R(this,A,!1,23,4)},J.prototype.readDoubleLE=function(A,e){return e||uA(A,8,this.length),R(this,A,!0,52,8)},J.prototype.readDoubleBE=function(A,e){return e||uA(A,8,this.length),R(this,A,!1,52,8)},J.prototype.writeUIntLE=function(A,e,t,r){(A=+A,e|=0,t|=0,r)||cA(this,A,e,t,Math.pow(2,8*t)-1,0);var i=1,n=0;for(this[e]=255&A;++n=0&&(n*=256);)this[e+i]=A/n&255;return e+t},J.prototype.writeUInt8=function(A,e,t){return A=+A,e|=0,t||cA(this,A,e,1,255,0),J.TYPED_ARRAY_SUPPORT||(A=Math.floor(A)),this[e]=255&A,e+1},J.prototype.writeUInt16LE=function(A,e,t){return A=+A,e|=0,t||cA(this,A,e,2,65535,0),J.TYPED_ARRAY_SUPPORT?(this[e]=255&A,this[e+1]=A>>>8):lA(this,A,e,!0),e+2},J.prototype.writeUInt16BE=function(A,e,t){return A=+A,e|=0,t||cA(this,A,e,2,65535,0),J.TYPED_ARRAY_SUPPORT?(this[e]=A>>>8,this[e+1]=255&A):lA(this,A,e,!1),e+2},J.prototype.writeUInt32LE=function(A,e,t){return A=+A,e|=0,t||cA(this,A,e,4,4294967295,0),J.TYPED_ARRAY_SUPPORT?(this[e+3]=A>>>24,this[e+2]=A>>>16,this[e+1]=A>>>8,this[e]=255&A):BA(this,A,e,!0),e+4},J.prototype.writeUInt32BE=function(A,e,t){return A=+A,e|=0,t||cA(this,A,e,4,4294967295,0),J.TYPED_ARRAY_SUPPORT?(this[e]=A>>>24,this[e+1]=A>>>16,this[e+2]=A>>>8,this[e+3]=255&A):BA(this,A,e,!1),e+4},J.prototype.writeIntLE=function(A,e,t,r){if(A=+A,e|=0,!r){var i=Math.pow(2,8*t-1);cA(this,A,e,t,i-1,-i)}var n=0,a=1,s=0;for(this[e]=255&A;++n=0&&(a*=256);)A<0&&0===s&&0!==this[e+n+1]&&(s=1),this[e+n]=(A/a|0)-s&255;return e+t},J.prototype.writeInt8=function(A,e,t){return A=+A,e|=0,t||cA(this,A,e,1,127,-128),J.TYPED_ARRAY_SUPPORT||(A=Math.floor(A)),A<0&&(A=255+A+1),this[e]=255&A,e+1},J.prototype.writeInt16LE=function(A,e,t){return A=+A,e|=0,t||cA(this,A,e,2,32767,-32768),J.TYPED_ARRAY_SUPPORT?(this[e]=255&A,this[e+1]=A>>>8):lA(this,A,e,!0),e+2},J.prototype.writeInt16BE=function(A,e,t){return A=+A,e|=0,t||cA(this,A,e,2,32767,-32768),J.TYPED_ARRAY_SUPPORT?(this[e]=A>>>8,this[e+1]=255&A):lA(this,A,e,!1),e+2},J.prototype.writeInt32LE=function(A,e,t){return A=+A,e|=0,t||cA(this,A,e,4,2147483647,-2147483648),J.TYPED_ARRAY_SUPPORT?(this[e]=255&A,this[e+1]=A>>>8,this[e+2]=A>>>16,this[e+3]=A>>>24):BA(this,A,e,!0),e+4},J.prototype.writeInt32BE=function(A,e,t){return A=+A,e|=0,t||cA(this,A,e,4,2147483647,-2147483648),A<0&&(A=4294967295+A+1),J.TYPED_ARRAY_SUPPORT?(this[e]=A>>>24,this[e+1]=A>>>16,this[e+2]=A>>>8,this[e+3]=255&A):BA(this,A,e,!1),e+4},J.prototype.writeFloatLE=function(A,e,t){return QA(this,A,e,!0,t)},J.prototype.writeFloatBE=function(A,e,t){return QA(this,A,e,!1,t)},J.prototype.writeDoubleLE=function(A,e,t){return pA(this,A,e,!0,t)},J.prototype.writeDoubleBE=function(A,e,t){return pA(this,A,e,!1,t)},J.prototype.copy=function(A,e,t,r){if(t||(t=0),r||0===r||(r=this.length),e>=A.length&&(e=A.length),e||(e=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),A.length-e=0;--i)A[i+e]=this[i+t];else if(n<1e3||!J.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,t=void 0===t?this.length:t>>>0,A||(A=0),"number"==typeof A)for(n=e;n55295&&t<57344){if(!i){if(t>56319){(e-=3)>-1&&n.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&n.push(239,191,189);continue}i=t;continue}if(t<56320){(e-=3)>-1&&n.push(239,191,189),i=t;continue}t=65536+(i-55296<<10|t-56320)}else i&&(e-=3)>-1&&n.push(239,191,189);if(i=null,t<128){if((e-=1)<0)break;n.push(t)}else if(t<2048){if((e-=2)<0)break;n.push(t>>6|192,63&t|128)}else if(t<65536){if((e-=3)<0)break;n.push(t>>12|224,t>>6&63|128,63&t|128)}else{if(!(t<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;n.push(t>>18|240,t>>12&63|128,t>>6&63|128,63&t|128)}}return n}function mA(A){return function(A){var e,t,r,i,n,a;b||F();var s=A.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");n="="===A[s-2]?2:"="===A[s-1]?1:0,a=new x(3*s/4-n),r=n>0?s-4:s;var o=0;for(e=0,t=0;e>16&255,a[o++]=i>>8&255,a[o++]=255&i;return 2===n?(i=v[A.charCodeAt(e)]<<2|v[A.charCodeAt(e+1)]>>4,a[o++]=255&i):1===n&&(i=v[A.charCodeAt(e)]<<10|v[A.charCodeAt(e+1)]<<4|v[A.charCodeAt(e+2)]>>2,a[o++]=i>>8&255,a[o++]=255&i),a}(function(A){if((A=function(A){return A.trim?A.trim():A.replace(/^\s+|\s+$/g,"")}(A).replace(dA,"")).length<2)return"";for(;A.length%4!=0;)A+="=";return A}(A))}function DA(A,e,t,r){for(var i=0;i=e.length||i>=A.length);++i)e[i+t]=A[i];return i}function wA(A){return!!A.constructor&&"function"==typeof A.constructor.isBuffer&&A.constructor.isBuffer(A)}function SA(){if(void 0===hA){var A=new ArrayBuffer(2),e=new Uint8Array(A),t=new Uint16Array(A);if(e[0]=1,e[1]=2,258===t[0])hA="BE";else{if(513!==t[0])throw new Error("unable to figure out endianess");hA="LE"}}return hA}function NA(){return void 0!==r.location?r.location.hostname:""}function kA(){return[]}function vA(){return 0}function xA(){return Number.MAX_VALUE}function bA(){return Number.MAX_VALUE}function FA(){return[]}function YA(){return"Browser"}function TA(){return void 0!==r.navigator?r.navigator.appVersion:""}function RA(){return{}}function GA(){return{}}function MA(){return"javascript"}function LA(){return"browser"}function PA(){return"/tmp"}var UA=PA;function JA(){return"$HOME"}var KA={homedir:JA,EOL:"\n",arch:MA,platform:LA,tmpdir:UA,tmpDir:PA,networkInterfaces:RA,getNetworkInterfaces:GA,release:TA,type:YA,cpus:FA,totalmem:bA,freemem:xA,uptime:vA,loadavg:kA,hostname:NA,endianness:SA},HA=e(Object.freeze({__proto__:null,EOL:"\n",arch:MA,cpus:FA,default:KA,endianness:SA,freemem:xA,getNetworkInterfaces:GA,homedir:JA,hostname:NA,loadavg:kA,networkInterfaces:RA,platform:LA,release:TA,tmpDir:PA,tmpdir:UA,totalmem:bA,type:YA,uptime:vA}));function OA(){return!1}function _A(){throw new Error("tty.ReadStream is not implemented")}function jA(){throw new Error("tty.ReadStream is not implemented")}var zA,qA={isatty:OA,ReadStream:_A,WriteStream:jA},VA=e(Object.freeze({__proto__:null,ReadStream:_A,WriteStream:jA,default:qA,isatty:OA}));zA="function"==typeof Object.create?function(A,e){A.super_=e,A.prototype=Object.create(e.prototype,{constructor:{value:A,enumerable:!1,writable:!0,configurable:!0}})}:function(A,e){A.super_=e;var t=function(){};t.prototype=e.prototype,A.prototype=new t,A.prototype.constructor=A};var WA=Object.getOwnPropertyDescriptors||function(A){for(var e=Object.keys(A),t={},r=0;r=i)return A;switch(A){case"%s":return String(r[t++]);case"%d":return Number(r[t++]);case"%j":try{return JSON.stringify(r[t++])}catch(A){return"[Circular]"}default:return A}})),a=r[t];t=3&&(t.depth=arguments[2]),arguments.length>=4&&(t.colors=arguments[3]),Ie(e)?t.showHidden=e:e&&ke(t,e),Ee(t.showHidden)&&(t.showHidden=!1),Ee(t.depth)&&(t.depth=2),Ee(t.colors)&&(t.colors=!1),Ee(t.customInspect)&&(t.customInspect=!0),t.colors&&(t.stylize=ie),ae(t,A,t.depth)}function ie(A,e){var t=re.styles[e];return t?"["+re.colors[t][0]+"m"+A+"["+re.colors[t][1]+"m":A}function ne(A,e){return A}function ae(A,e,t){if(A.customInspect&&e&&fe(e.inspect)&&e.inspect!==re&&(!e.constructor||e.constructor.prototype!==e)){var r=e.inspect(t,A);return le(r)||(r=ae(A,r,t)),r}var i=function(A,e){if(Ee(e))return A.stylize("undefined","undefined");if(le(e)){var t="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return A.stylize(t,"string")}if(ce(e))return A.stylize(""+e,"number");if(Ie(e))return A.stylize(""+e,"boolean");if(Ce(e))return A.stylize("null","null")}(A,e);if(i)return i;var n=Object.keys(e),a=function(A){var e={};return A.forEach((function(A,t){e[A]=!0})),e}(n);if(A.showHidden&&(n=Object.getOwnPropertyNames(e)),de(e)&&(n.indexOf("message")>=0||n.indexOf("description")>=0))return se(e);if(0===n.length){if(fe(e)){var s=e.name?": "+e.name:"";return A.stylize("[Function"+s+"]","special")}if(Qe(e))return A.stylize(RegExp.prototype.toString.call(e),"regexp");if(he(e))return A.stylize(Date.prototype.toString.call(e),"date");if(de(e))return se(e)}var o,g="",I=!1,C=["{","}"];(ge(e)&&(I=!0,C=["[","]"]),fe(e))&&(g=" [Function"+(e.name?": "+e.name:"")+"]");return Qe(e)&&(g=" "+RegExp.prototype.toString.call(e)),he(e)&&(g=" "+Date.prototype.toUTCString.call(e)),de(e)&&(g=" "+se(e)),0!==n.length||I&&0!=e.length?t<0?Qe(e)?A.stylize(RegExp.prototype.toString.call(e),"regexp"):A.stylize("[Object]","special"):(A.seen.push(e),o=I?function(A,e,t,r,i){for(var n=[],a=0,s=e.length;a60)return t[0]+(""===e?"":e+"\n ")+" "+A.join(",\n ")+" "+t[1];return t[0]+e+" "+A.join(", ")+" "+t[1]}(o,g,C)):C[0]+g+C[1]}function se(A){return"["+Error.prototype.toString.call(A)+"]"}function oe(A,e,t,r,i,n){var a,s,o;if((o=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?s=o.set?A.stylize("[Getter/Setter]","special"):A.stylize("[Getter]","special"):o.set&&(s=A.stylize("[Setter]","special")),ve(r,i)||(a="["+i+"]"),s||(A.seen.indexOf(o.value)<0?(s=Ce(t)?ae(A,o.value,null):ae(A,o.value,t-1)).indexOf("\n")>-1&&(s=n?s.split("\n").map((function(A){return" "+A})).join("\n").substr(2):"\n"+s.split("\n").map((function(A){return" "+A})).join("\n")):s=A.stylize("[Circular]","special")),Ee(a)){if(n&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=A.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=A.stylize(a,"string"))}return a+": "+s}function ge(A){return Array.isArray(A)}function Ie(A){return"boolean"==typeof A}function Ce(A){return null===A}function ue(A){return null==A}function ce(A){return"number"==typeof A}function le(A){return"string"==typeof A}function Be(A){return"symbol"==typeof A}function Ee(A){return void 0===A}function Qe(A){return pe(A)&&"[object RegExp]"===De(A)}function pe(A){return"object"==typeof A&&null!==A}function he(A){return pe(A)&&"[object Date]"===De(A)}function de(A){return pe(A)&&("[object Error]"===De(A)||A instanceof Error)}function fe(A){return"function"==typeof A}function ye(A){return null===A||"boolean"==typeof A||"number"==typeof A||"string"==typeof A||"symbol"==typeof A||void 0===A}function me(A){return J.isBuffer(A)}function De(A){return Object.prototype.toString.call(A)}function we(A){return A<10?"0"+A.toString(10):A.toString(10)}re.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},re.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var Se=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Ne(){var A,e;console.log("%s - %s",(A=new Date,e=[we(A.getHours()),we(A.getMinutes()),we(A.getSeconds())].join(":"),[A.getDate(),Se[A.getMonth()],e].join(" ")),ZA.apply(null,arguments))}function ke(A,e){if(!e||!pe(e))return A;for(var t=Object.keys(e),r=t.length;r--;)A[t[r]]=e[t[r]];return A}function ve(A,e){return Object.prototype.hasOwnProperty.call(A,e)}var xe="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function be(A){if("function"!=typeof A)throw new TypeError('The "original" argument must be of type Function');if(xe&&A[xe]){var e;if("function"!=typeof(e=A[xe]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,xe,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,t,r=new Promise((function(A,r){e=A,t=r})),i=[],n=0;nA.length)&&(e=A.length);for(var t=0,r=new Array(e);t0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]=A.length&&(A=void 0),{value:A&&A[r++],done:!A}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function et(){var A=qe(["pipelineOperator"]);return et=function(){return A},A}function tt(){var A=qe(["flow"]);return tt=function(){return A},A}function rt(){var A=qe(["jsx"]);return rt=function(){return A},A}function it(){var A=qe(["typescript"]);return it=function(){return A},A}function nt(){var A=qe(["placeholders"]);return nt=function(){return A},A}function at(){var A=qe(["\n (function (",") {\n function ","(",") {\n return ",".apply(this, arguments);\n }\n\n ",".toString = function () {\n return ",".toString();\n }\n\n return ",";\n })(",")\n "]);return at=function(){return A},A}var st=Object.create,ot=Object.defineProperty,gt=Object.getOwnPropertyDescriptor,It=Object.getOwnPropertyNames,Ct=Object.getPrototypeOf,ut=Object.prototype.hasOwnProperty,ct=function(A,e){return function(){return e||(0,A[It(A)[0]])((e={exports:{}}).exports,e),e.exports}},lt=function(A,e){for(var t in e)ot(A,t,{get:e[t],enumerable:!0})},Bt=function(A,e,t,r){if(e&&"object"===(void 0===e?"undefined":We(e))||"function"==typeof e){var i=!0,n=!1,a=void 0;try{for(var s,o=function(){var i=s.value;ut.call(A,i)||i===t||ot(A,i,{get:function(){return e[i]},enumerable:!(r=gt(e,i))||r.enumerable})},g=It(e)[Symbol.iterator]();!(i=(s=g.next()).done);i=!0)o()}catch(A){n=!0,a=A}finally{try{i||null==g.return||g.return()}finally{if(n)throw a}}}return A},Et=function(A,e,t){return t=null!=A?st(Ct(A)):{},Bt(ot(t,"default",{value:A,enumerable:!0}),A)},Qt=function(A,e,t){return function(A,e,t){return e in A?ot(A,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):A[e]=t}(A,"symbol"!==(void 0===e?"undefined":We(e))?e+"":e,t)},pt=ct({"node_modules/picocolors/picocolors.js":function(A,e){var t=N||{},r=t.argv||[],i=t.env||{},n=!(i.NO_COLOR||r.includes("--no-color"))&&(!!i.FORCE_COLOR||r.includes("--color")||"win32"===t.platform||(t.stdout||{}).isTTY&&"dumb"!==i.TERM||!!i.CI),a=function(A,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:A;return function(r){var i=""+r,n=i.indexOf(e,A.length);return~n?A+s(i,e,t,n)+e:A+i+e}},s=function(A,e,t,r){var i="",n=0;do{i+=A.substring(n,r)+t,n=r+e.length,r=A.indexOf(e,n)}while(~r);return i+A.substring(n)},o=function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,e=A?a:function(){return String};return{isColorSupported:A,reset:e("",""),bold:e("","",""),dim:e("","",""),italic:e("",""),underline:e("",""),inverse:e("",""),hidden:e("",""),strikethrough:e("",""),black:e("",""),red:e("",""),green:e("",""),yellow:e("",""),blue:e("",""),magenta:e("",""),cyan:e("",""),white:e("",""),gray:e("",""),bgBlack:e("",""),bgRed:e("",""),bgGreen:e("",""),bgYellow:e("",""),bgBlue:e("",""),bgMagenta:e("",""),bgCyan:e("",""),bgWhite:e("",""),blackBright:e("",""),redBright:e("",""),greenBright:e("",""),yellowBright:e("",""),blueBright:e("",""),magentaBright:e("",""),cyanBright:e("",""),whiteBright:e("",""),bgBlackBright:e("",""),bgRedBright:e("",""),bgGreenBright:e("",""),bgYellowBright:e("",""),bgBlueBright:e("",""),bgMagentaBright:e("",""),bgCyanBright:e("",""),bgWhiteBright:e("","")}};e.exports=o(),e.exports.createColors=o}}),ht=ct({"node_modules/@babel/code-frame/node_modules/js-tokens/index.js":function(A,e){var t,r,i,n,a,s,o,g,I,C,u,c,l,B,E,Q,p,h,d;l=RegExp("\\/(?![*\\/])(?:\\[(?:[^\\]\\\\\\n\\r\\u2028\\u2029]+|\\\\.)*\\]|[^\\/\\\\\\n\\r\\u2028\\u2029]+|\\\\.)*(\\/[$_\\u200C\\u200D\\p{ID_Continue}]*|\\\\)?","yu"),c=RegExp("--|\\+\\+|=>|\\.{3}|\\??\\.(?!\\d)|(?:&&|\\|\\||\\?\\?|[+\\-%&|^]|\\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\\/(?![\\/*]))=?|[?~,:;[\\](){}]","y"),t=RegExp("(\\x23?)(?=[$_\\p{ID_Start}\\\\])(?:[$_\\u200C\\u200D\\p{ID_Continue}]+|\\\\u[\\da-fA-F]{4}|\\\\u\\{[\\da-fA-F]+\\})+","yu"),E=RegExp("(['\"])(?:[^'\"\\\\\\n\\r]+|(?!\\1)['\"]|\\\\(?:\\r\\n|[^]))*(\\1)?","y"),u=RegExp("(?:0[xX][\\da-fA-F](?:_?[\\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\\d)*n|(?:(?:0(?!\\d)|0\\d*[89]\\d*|[1-9](?:_?\\d)*)(?:\\.(?:\\d(?:_?\\d)*)?)?|\\.\\d(?:_?\\d)*)(?:[eE][+-]?\\d(?:_?\\d)*)?|0[0-7]+","y"),Q=RegExp("[`}](?:[^`\\\\$]+|\\\\[^]|\\$(?!\\{))*(`|\\$\\{)?","y"),d=RegExp("[\\t\\v\\f\\ufeff\\p{Zs}]+","yu"),g=RegExp("\\r?\\n|[\\r\\u2028\\u2029]","y"),I=RegExp("\\/\\*(?:[^*]+|\\*(?!\\/))*(\\*\\/)?","y"),B=RegExp("\\/\\/.*","y"),i=RegExp("[<>.:={}]|\\/(?![\\/*])","y"),r=RegExp("[$_\\p{ID_Start}][$_\\u200C\\u200D\\p{ID_Continue}-]*","yu"),n=RegExp("(['\"])(?:[^'\"]+|(?!\\1)['\"])*(\\1)?","y"),a=RegExp("[^<>{}]+","y"),h=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,p=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/,s=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/,o=/^(?:return|throw|yield)$/,C=RegExp(g.source),e.exports=function(A){var e,f,y,m,D,w,S,N,k,v,x,b,F,Y,T,R,G=arguments;return $e(this,(function(M){switch(M.label){case 0:e=(G.length>1&&void 0!==G[1]?G[1]:{}).jsx,f=void 0!==e&&e,N=A.length,w=0,S="",R=[{tag:"JS"}],y=[],F=0,Y=!1,M.label=1;case 1:if(!(w":R.pop(),"/"===S||"JSXTagEnd"===v.tag?(b="?JSX",Y=!0):R.push({tag:"JSXChildren"});break;case"{":R.push({tag:"InterpolationInJSX",nesting:y.length}),b="?InterpolationInJSX",Y=!1;break;case"/":"<"===S&&(R.pop(),"JSXChildren"===R[R.length-1].tag&&R.pop(),R.push({tag:"JSXTagEnd"}))}return S=b,[4,{type:"JSXPunctuator",value:k[0]}];case 39:return M.sent(),[3,1];case 40:return r.lastIndex=w,(k=r.exec(A))?(w=r.lastIndex,S=k[0],[4,{type:"JSXIdentifier",value:k[0]}]):[3,42];case 41:return M.sent(),[3,1];case 42:return n.lastIndex=w,(k=n.exec(A))?(w=n.lastIndex,S=k[0],[4,{type:"JSXString",value:k[0],closed:void 0!==k[2]}]):[3,44];case 43:return M.sent(),[3,1];case 44:return[3,52];case 45:return a.lastIndex=w,(k=a.exec(A))?(w=a.lastIndex,S=k[0],[4,{type:"JSXText",value:k[0]}]):[3,47];case 46:return M.sent(),[3,1];case 47:switch(A[w]){case"<":return[3,48];case"{":return[3,50]}return[3,52];case 48:return R.push({tag:"JSXTag"}),w++,S="<",[4,{type:"JSXPunctuator",value:"<"}];case 49:return M.sent(),[3,1];case 50:return R.push({tag:"InterpolationInJSX",nesting:y.length}),w++,S="?InterpolationInJSX",Y=!1,[4,{type:"JSXPunctuator",value:"{"}];case 51:return M.sent(),[3,1];case 52:return d.lastIndex=w,(k=d.exec(A))?(w=d.lastIndex,[4,{type:"WhiteSpace",value:k[0]}]):[3,54];case 53:return M.sent(),[3,1];case 54:return g.lastIndex=w,(k=g.exec(A))?(w=g.lastIndex,Y=!1,o.test(S)&&(S="?NoLineTerminatorHere"),[4,{type:"LineTerminatorSequence",value:k[0]}]):[3,56];case 55:return M.sent(),[3,1];case 56:return I.lastIndex=w,(k=I.exec(A))?(w=I.lastIndex,C.test(k[0])&&(Y=!1,o.test(S)&&(S="?NoLineTerminatorHere")),[4,{type:"MultiLineComment",value:k[0],closed:void 0!==k[1]}]):[3,58];case 57:return M.sent(),[3,1];case 58:return B.lastIndex=w,(k=B.exec(A))?(w=B.lastIndex,Y=!1,[4,{type:"SingleLineComment",value:k[0]}]):[3,60];case 59:return M.sent(),[3,1];case 60:return m=String.fromCodePoint(A.codePointAt(w)),w+=m.length,S=m,Y=!1,[4,{type:v.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:m}];case 61:return M.sent(),[3,1];case 62:return[2,void 0]}}))}}}),dt=ct({"node_modules/jsesc/jsesc.js":function(A,e){var t={},r=t.hasOwnProperty,i=function(A,e){for(var t in A)r.call(A,t)&&e(t,A[t])},n=function(A){return"\\u"+("0000"+A).slice(-4)},a=function(A,e){var t=A.toString(16);return e?t:t.toUpperCase()},s=t.toString,o=Array.isArray,g={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"},I=/[\\\b\f\n\r\t]/,C=/[0-9]/,u=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,c=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g,l=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g,B=function(A,e){var t,r,E=function(){D=m,++e.indentLevel,m=e.indent.repeat(e.indentLevel)},Q={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:"\t",indentLevel:0,__inline1__:!1,__inline2__:!1},p=e&&e.json;p&&(Q.quotes="double",Q.wrap=!0),t=Q,e=(r=e)?(i(r,(function(A,e){t[A]=e})),t):t,"single"!=e.quotes&&"double"!=e.quotes&&"backtick"!=e.quotes&&(e.quotes="single");var h,d="double"==e.quotes?'"':"backtick"==e.quotes?"`":"'",f=e.compact,y=e.lowercaseHex,m=e.indent.repeat(e.indentLevel),D="",w=e.__inline1__,S=e.__inline2__,N=f?"":"\n",k=!0,v="binary"==e.numbers,x="octal"==e.numbers,b="decimal"==e.numbers,F="hexadecimal"==e.numbers;if(p&&A&&"function"==typeof A.toJSON&&(A=A.toJSON()),!function(A){return"string"==typeof A||"[object String]"==s.call(A)}(A)){if(function(A){return"[object Map]"==s.call(A)}(A))return 0==A.size?"new Map()":(f||(e.__inline1__=!0,e.__inline2__=!1),"new Map("+B(Array.from(A),e)+")");if(function(A){return"[object Set]"==s.call(A)}(A))return 0==A.size?"new Set()":"new Set("+B(Array.from(A),e)+")";if(function(A){return Array.isArray(A)}(A))return 0==A.length?"Buffer.from([])":"Buffer.from("+B(Array.from(A),e)+")";if(o(A))return h=[],e.wrap=!0,w&&(e.__inline1__=!1,e.__inline2__=!0),S||E(),function(A,e){for(var t=A.length,r=-1;++r2?n(B):"\\x"+("00"+B).slice(-2)})),"`"==d&&(h=h.replace(/\$\{/g,"\\${")),e.isScriptContext&&(h=h.replace(/<\/(script|style)/gi,"<\\/$1").replace(/