From e8d41764893fa4de0ef942620b42e8209fbfcb9a Mon Sep 17 00:00:00 2001 From: coderaiser Date: Sat, 24 Aug 2024 12:05:58 +0300 Subject: [PATCH] chore: @putout/bundle: v3.16.0 --- ChangeLog | 5 +++++ bundle/putout.js | 47 +++++++++++++++++++++++++++++--------------- bundle/putout.min.js | 2 +- package.json | 2 +- 4 files changed, 38 insertions(+), 18 deletions(-) diff --git a/ChangeLog b/ChangeLog index e197b6b..6c9b166 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2024.08.24, v3.16.0 + +feature: +- 22e95c2 @putout/bundle: putout v36.1.1 + 2024.08.01, v3.15.1 feature: diff --git a/bundle/putout.js b/bundle/putout.js index 0013a9a..fa16117 100644 --- a/bundle/putout.js +++ b/bundle/putout.js @@ -56871,7 +56871,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ -/* global Reflect, Promise, SuppressedError, Symbol */ +/* global Reflect, Promise, SuppressedError, Symbol, Iterator */ var extendStatics = function(d, b) { extendStatics = Object.setPrototypeOf || @@ -56978,8 +56978,8 @@ function __awaiter(thisArg, _arguments, P, generator) { } function __generator(thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -57083,7 +57083,7 @@ function __await(v) { function __asyncGenerator(thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -57180,17 +57180,22 @@ function __disposeResources(env) { env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e; env.hasError = true; } + var r, s = 0; function next() { - while (env.stack.length) { - var rec = env.stack.pop(); + while (r = env.stack.pop()) { try { - var result = rec.dispose && rec.dispose.call(rec.value); - if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); }); + if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next); + if (r.dispose) { + var result = r.dispose.call(r.value); + if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); }); + } + else s |= 1; } catch (e) { - fail(e); + fail(e); } } + if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve(); if (env.hasError) throw env.error; } return next(); @@ -124240,17 +124245,26 @@ const REPLACERS = [ [ // (a\ ) -> (a ) // (a ) -> (a) + // (a ) -> (a) // (a \ ) -> (a ) - /\\?\s+$/, - match => match.indexOf('\\') === 0 - ? SPACE - : EMPTY + /((?:\\\\)*?)(\\?\s+)$/, + (_, m1, m2) => m1 + ( + m2.indexOf('\\') === 0 + ? SPACE + : EMPTY + ) ], // replace (\ ) with ' ' + // (\ ) -> ' ' + // (\\ ) -> '\\ ' + // (\\\ ) -> '\\ ' [ - /\\\s/g, - () => SPACE + /(\\+?)\s/g, + (_, m1) => { + const {length} = m1; + return m1.slice(0, length - length % 2) + SPACE + } ], // Escape metacharacters @@ -124478,7 +124492,8 @@ const makeRegex = (pattern, ignoreCase) => { if (!source) { source = REPLACERS.reduce( - (prev, current) => prev.replace(current[0], current[1].bind(pattern)), + (prev, [matcher, replacer]) => + prev.replace(matcher, replacer.bind(pattern)), pattern ); regexCache[pattern] = source; diff --git a/bundle/putout.min.js b/bundle/putout.min.js index 65d3657..ae7987a 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){return A&&A.__esModule&&Object.prototype.hasOwnProperty.call(A,"default")?A.default:A}function t(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 r={exports:{}},i="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function n(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}var s=n,o=a;function g(A){if(s===setTimeout)return setTimeout(A,0);if((s===n||!s)&&setTimeout)return s=setTimeout,setTimeout(A,0);try{return s(A,0)}catch(e){try{return s.call(null,A,0)}catch(e){return s.call(this,A,0)}}}"function"==typeof i.setTimeout&&(s=setTimeout),"function"==typeof i.clearTimeout&&(o=clearTimeout);var I,C=[],u=!1,c=-1;function l(){u&&I&&(u=!1,I.length?C=I.concat(C):c=-1,C.length&&B())}function B(){if(!u){var A=g(l);u=!0;for(var e=C.length;e;){for(I=C,C=[];++c1)for(var t=1;t>18&63]+v[i>>12&63]+v[i>>6&63]+v[63&i]);return n.join("")}function R(A){var e;F||G();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+=v[e>>2],i+=v[e<<4&63],i+="=="):2===r&&(e=(A[t-2]<<8)+A[t-1],i+=v[e>>10],i+=v[e>>4&63],i+=v[e<<2&63],i+="="),n.push(i),n.join("")}function T(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 M(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 L={}.toString,U=Array.isArray||function(A){return"[object Array]"==L.call(A)};function P(){return K.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function J(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 q(A){return!(null==A||!A._isBuffer)}function V(A,e){if(q(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 W(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 CA(this,e,t);case"utf8":case"utf-8":return sA(this,e,t);case"ascii":return gA(this,e,t);case"latin1":case"binary":return IA(this,e,t);case"base64":return aA(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return uA(this,e,t);default:if(r)throw new TypeError("Unknown encoding: "+A);A=(A+"").toLowerCase(),r=!0}}function Z(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=K.from(e,r)),q(e))return 0===e.length?-1:$(A,e,t,r,i);if("number"==typeof e)return e&=255,K.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(A,e,t):Uint8Array.prototype.lastIndexOf.call(A,e,t):$(A,[e],t,r,i);throw new TypeError("val must be string, number or Buffer")}function $(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 aA(A,e,t){return 0===e&&t===A.length?R(A):R(A.slice(e,t))}function sA(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<=oA)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+=" ... ")),""},K.prototype.compare=function(A,e,t,r,i){if(!q(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 AA(this,A,e,t);case"utf8":case"utf-8":return eA(this,A,e,t);case"ascii":return tA(this,A,e,t);case"latin1":case"binary":return rA(this,A,e,t);case"base64":return iA(this,A,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return nA(this,A,e,t);default:if(n)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),n=!0}},K.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var oA=4096;function gA(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 lA(A,e,t,r,i,n){if(!q(A))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||eA.length)throw new RangeError("Index out of range")}function BA(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 EA(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 QA(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 hA(A,e,t,r,i){return i||QA(A,0,t,4),M(A,e,t,r,23,4),t+4}function pA(A,e,t,r,i){return i||QA(A,0,t,8),M(A,e,t,r,52,8),t+8}K.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},K.prototype.readUInt8=function(A,e){return e||cA(A,1,this.length),this[A]},K.prototype.readUInt16LE=function(A,e){return e||cA(A,2,this.length),this[A]|this[A+1]<<8},K.prototype.readUInt16BE=function(A,e){return e||cA(A,2,this.length),this[A]<<8|this[A+1]},K.prototype.readUInt32LE=function(A,e){return e||cA(A,4,this.length),(this[A]|this[A+1]<<8|this[A+2]<<16)+16777216*this[A+3]},K.prototype.readUInt32BE=function(A,e){return e||cA(A,4,this.length),16777216*this[A]+(this[A+1]<<16|this[A+2]<<8|this[A+3])},K.prototype.readIntLE=function(A,e,t){A|=0,e|=0,t||cA(A,e,this.length);for(var r=this[A],i=1,n=0;++n=(i*=128)&&(r-=Math.pow(2,8*e)),r},K.prototype.readIntBE=function(A,e,t){A|=0,e|=0,t||cA(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},K.prototype.readInt8=function(A,e){return e||cA(A,1,this.length),128&this[A]?-1*(255-this[A]+1):this[A]},K.prototype.readInt16LE=function(A,e){e||cA(A,2,this.length);var t=this[A]|this[A+1]<<8;return 32768&t?4294901760|t:t},K.prototype.readInt16BE=function(A,e){e||cA(A,2,this.length);var t=this[A+1]|this[A]<<8;return 32768&t?4294901760|t:t},K.prototype.readInt32LE=function(A,e){return e||cA(A,4,this.length),this[A]|this[A+1]<<8|this[A+2]<<16|this[A+3]<<24},K.prototype.readInt32BE=function(A,e){return e||cA(A,4,this.length),this[A]<<24|this[A+1]<<16|this[A+2]<<8|this[A+3]},K.prototype.readFloatLE=function(A,e){return e||cA(A,4,this.length),T(this,A,!0,23,4)},K.prototype.readFloatBE=function(A,e){return e||cA(A,4,this.length),T(this,A,!1,23,4)},K.prototype.readDoubleLE=function(A,e){return e||cA(A,8,this.length),T(this,A,!0,52,8)},K.prototype.readDoubleBE=function(A,e){return e||cA(A,8,this.length),T(this,A,!1,52,8)},K.prototype.writeUIntLE=function(A,e,t,r){(A=+A,e|=0,t|=0,r)||lA(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},K.prototype.writeUInt8=function(A,e,t){return A=+A,e|=0,t||lA(this,A,e,1,255,0),K.TYPED_ARRAY_SUPPORT||(A=Math.floor(A)),this[e]=255&A,e+1},K.prototype.writeUInt16LE=function(A,e,t){return A=+A,e|=0,t||lA(this,A,e,2,65535,0),K.TYPED_ARRAY_SUPPORT?(this[e]=255&A,this[e+1]=A>>>8):BA(this,A,e,!0),e+2},K.prototype.writeUInt16BE=function(A,e,t){return A=+A,e|=0,t||lA(this,A,e,2,65535,0),K.TYPED_ARRAY_SUPPORT?(this[e]=A>>>8,this[e+1]=255&A):BA(this,A,e,!1),e+2},K.prototype.writeUInt32LE=function(A,e,t){return A=+A,e|=0,t||lA(this,A,e,4,4294967295,0),K.TYPED_ARRAY_SUPPORT?(this[e+3]=A>>>24,this[e+2]=A>>>16,this[e+1]=A>>>8,this[e]=255&A):EA(this,A,e,!0),e+4},K.prototype.writeUInt32BE=function(A,e,t){return A=+A,e|=0,t||lA(this,A,e,4,4294967295,0),K.TYPED_ARRAY_SUPPORT?(this[e]=A>>>24,this[e+1]=A>>>16,this[e+2]=A>>>8,this[e+3]=255&A):EA(this,A,e,!1),e+4},K.prototype.writeIntLE=function(A,e,t,r){if(A=+A,e|=0,!r){var i=Math.pow(2,8*t-1);lA(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},K.prototype.writeInt8=function(A,e,t){return A=+A,e|=0,t||lA(this,A,e,1,127,-128),K.TYPED_ARRAY_SUPPORT||(A=Math.floor(A)),A<0&&(A=255+A+1),this[e]=255&A,e+1},K.prototype.writeInt16LE=function(A,e,t){return A=+A,e|=0,t||lA(this,A,e,2,32767,-32768),K.TYPED_ARRAY_SUPPORT?(this[e]=255&A,this[e+1]=A>>>8):BA(this,A,e,!0),e+2},K.prototype.writeInt16BE=function(A,e,t){return A=+A,e|=0,t||lA(this,A,e,2,32767,-32768),K.TYPED_ARRAY_SUPPORT?(this[e]=A>>>8,this[e+1]=255&A):BA(this,A,e,!1),e+2},K.prototype.writeInt32LE=function(A,e,t){return A=+A,e|=0,t||lA(this,A,e,4,2147483647,-2147483648),K.TYPED_ARRAY_SUPPORT?(this[e]=255&A,this[e+1]=A>>>8,this[e+2]=A>>>16,this[e+3]=A>>>24):EA(this,A,e,!0),e+4},K.prototype.writeInt32BE=function(A,e,t){return A=+A,e|=0,t||lA(this,A,e,4,2147483647,-2147483648),A<0&&(A=4294967295+A+1),K.TYPED_ARRAY_SUPPORT?(this[e]=A>>>24,this[e+1]=A>>>16,this[e+2]=A>>>8,this[e+3]=255&A):EA(this,A,e,!1),e+4},K.prototype.writeFloatLE=function(A,e,t){return hA(this,A,e,!0,t)},K.prototype.writeFloatBE=function(A,e,t){return hA(this,A,e,!1,t)},K.prototype.writeDoubleLE=function(A,e,t){return pA(this,A,e,!0,t)},K.prototype.writeDoubleBE=function(A,e,t){return pA(this,A,e,!1,t)},K.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||!K.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;F||G();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 b(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=x[A.charCodeAt(e)]<<2|x[A.charCodeAt(e+1)]>>4,a[o++]=255&i):1===n&&(i=x[A.charCodeAt(e)]<<10|x[A.charCodeAt(e+1)]<<4|x[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(A){throw new Error('Could not dynamically require "'+A+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}function NA(){return!1}function kA(){throw new Error("tty.ReadStream is not implemented")}function vA(){throw new Error("tty.ReadStream is not implemented")}var xA,bA={isatty:NA,ReadStream:kA,WriteStream:vA},FA=t(Object.freeze({__proto__:null,ReadStream:kA,WriteStream:vA,default:bA,isatty:NA}));function GA(){if(void 0===xA){var A=new ArrayBuffer(2),e=new Uint8Array(A),t=new Uint16Array(A);if(e[0]=1,e[1]=2,258===t[0])xA="BE";else{if(513!==t[0])throw new Error("unable to figure out endianess");xA="LE"}}return xA}function YA(){return void 0!==i.location?i.location.hostname:""}function RA(){return[]}function TA(){return 0}function MA(){return Number.MAX_VALUE}function LA(){return Number.MAX_VALUE}function UA(){return[]}function PA(){return"Browser"}function JA(){return void 0!==i.navigator?i.navigator.appVersion:""}function KA(){return{}}function HA(){return{}}function OA(){return"javascript"}function _A(){return"browser"}function jA(){return"/tmp"}var zA=jA;function qA(){return"$HOME"}var VA={homedir:qA,EOL:"\n",arch:OA,platform:_A,tmpdir:zA,tmpDir:jA,networkInterfaces:KA,getNetworkInterfaces:HA,release:JA,type:PA,cpus:UA,totalmem:LA,freemem:MA,uptime:TA,loadavg:RA,hostname:YA,endianness:GA},WA=t(Object.freeze({__proto__:null,EOL:"\n",arch:OA,cpus:UA,default:VA,endianness:GA,freemem:MA,getNetworkInterfaces:HA,homedir:qA,hostname:YA,loadavg:RA,networkInterfaces:KA,platform:_A,release:JA,tmpDir:jA,tmpdir:zA,totalmem:LA,type:PA,uptime:TA})),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},XA=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]),ue(e)?t.showHidden=e:e&&xe(t,e),he(t.showHidden)&&(t.showHidden=!1),he(t.depth)&&(t.depth=2),he(t.colors)&&(t.colors=!1),he(t.customInspect)&&(t.customInspect=!0),t.colors&&(t.stylize=ae),oe(t,A,t.depth)}function ae(A,e){var t=ne.styles[e];return t?"["+ne.colors[t][0]+"m"+A+"["+ne.colors[t][1]+"m":A}function se(A,e){return A}function oe(A,e,t){if(A.customInspect&&e&&me(e.inspect)&&e.inspect!==ne&&(!e.constructor||e.constructor.prototype!==e)){var r=e.inspect(t,A);return Ee(r)||(r=oe(A,r,t)),r}var i=function(A,e){if(he(e))return A.stylize("undefined","undefined");if(Ee(e)){var t="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return A.stylize(t,"string")}if(Be(e))return A.stylize(""+e,"number");if(ue(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)),ye(e)&&(n.indexOf("message")>=0||n.indexOf("description")>=0))return ge(e);if(0===n.length){if(me(e)){var s=e.name?": "+e.name:"";return A.stylize("[Function"+s+"]","special")}if(pe(e))return A.stylize(RegExp.prototype.toString.call(e),"regexp");if(fe(e))return A.stylize(Date.prototype.toString.call(e),"date");if(ye(e))return ge(e)}var o,g="",I=!1,C=["{","}"];(Ce(e)&&(I=!0,C=["[","]"]),me(e))&&(g=" [Function"+(e.name?": "+e.name:"")+"]");return pe(e)&&(g=" "+RegExp.prototype.toString.call(e)),fe(e)&&(g=" "+Date.prototype.toUTCString.call(e)),ye(e)&&(g=" "+ge(e)),0!==n.length||I&&0!=e.length?t<0?pe(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 ge(A){return"["+Error.prototype.toString.call(A)+"]"}function Ie(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")),be(r,i)||(a="["+i+"]"),s||(A.seen.indexOf(o.value)<0?(s=ce(t)?oe(A,o.value,null):oe(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")),he(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 Ce(A){return Array.isArray(A)}function ue(A){return"boolean"==typeof A}function ce(A){return null===A}function le(A){return null==A}function Be(A){return"number"==typeof A}function Ee(A){return"string"==typeof A}function Qe(A){return"symbol"==typeof A}function he(A){return void 0===A}function pe(A){return de(A)&&"[object RegExp]"===Se(A)}function de(A){return"object"==typeof A&&null!==A}function fe(A){return de(A)&&"[object Date]"===Se(A)}function ye(A){return de(A)&&("[object Error]"===Se(A)||A instanceof Error)}function me(A){return"function"==typeof A}function De(A){return null===A||"boolean"==typeof A||"number"==typeof A||"string"==typeof A||"symbol"==typeof A||void 0===A}function we(A){return K.isBuffer(A)}function Se(A){return Object.prototype.toString.call(A)}function Ne(A){return A<10?"0"+A.toString(10):A.toString(10)}ne.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]},ne.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var ke=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function ve(){var A,e;console.log("%s - %s",(A=new Date,e=[Ne(A.getHours()),Ne(A.getMinutes()),Ne(A.getSeconds())].join(":"),[A.getDate(),ke[A.getMonth()],e].join(" ")),Ae.apply(null,arguments))}function xe(A,e){if(!e||!de(e))return A;for(var t=Object.keys(e),r=t.length;r--;)A[t[r]]=e[t[r]];return A}function be(A,e){return Object.prototype.hasOwnProperty.call(A,e)}var Fe="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function Ge(A){if("function"!=typeof A)throw new TypeError('The "original" argument must be of type Function');if(Fe&&A[Fe]){var e;if("function"!=typeof(e=A[Fe]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,Fe,{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]|\\.{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"),p=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,h=/^(?:=>|[;\]){}]|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,G,Y,R,T=arguments;return et(this,(function(M){switch(M.label){case 0:e=(T.length>1&&void 0!==T[1]?T[1]:{}).jsx,f=void 0!==e&&e,N=A.length,w=0,S="",R=[{tag:"JS"}],y=[],F=0,G=!1,M.label=1;case 1:if(!(w":R.pop(),"/"===S||"JSXTagEnd"===v.tag?(b="?JSX",G=!0):R.push({tag:"JSXChildren"});break;case"{":R.push({tag:"InterpolationInJSX",nesting:y.length}),b="?InterpolationInJSX",G=!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",G=!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,G=!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])&&(G=!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,G=!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,G=!1,[4,{type:v.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:m}];case 61:return M.sent(),[3,1];case 62:return[2,void 0]}}))}}}),ft=lt({"node_modules/picocolors/picocolors.js":function(A,e){var t=k.argv||[],r={},i=!("NO_COLOR"in r||t.includes("--no-color"))&&("FORCE_COLOR"in r||t.includes("--color")||null!=SA&&FA.isatty(1)&&"dumb"!==r.TERM||"CI"in r),n=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+a(i,e,t,n)+e:A+i+e}},a=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)},s=function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,e=A?n: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("","")}};e.exports=s(),e.exports.createColors=s}}),yt=lt({"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},h=e&&e.json;h&&(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 p,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(h&&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 p=[],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&&(p=p.replace(/\$\{/g,"\\${")),e.isScriptContext&&(p=p.replace(/<\/(script|style)/gi,"<\\/$1").replace(/