@repdf/preview 0.0.25 → 0.1.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/dist/index.js +42 -221
- package/dist/preview/.next/BUILD_ID +1 -1
- package/dist/preview/.next/build-manifest.json +20 -20
- package/dist/preview/.next/cache/.tsbuildinfo +1 -1
- package/dist/preview/.next/cache/webpack/client-production/0.pack +0 -0
- package/dist/preview/.next/cache/webpack/client-production/index.pack +0 -0
- package/dist/preview/.next/cache/webpack/edge-server-production/index.pack +0 -0
- package/dist/preview/.next/cache/webpack/server-production/0.pack +0 -0
- package/dist/preview/.next/cache/webpack/server-production/index.pack +0 -0
- package/dist/preview/.next/next-minimal-server.js.nft.json +1 -1
- package/dist/preview/.next/next-server.js.nft.json +1 -1
- package/dist/preview/.next/prerender-manifest.json +1 -1
- package/dist/preview/.next/react-loadable-manifest.json +2 -2
- package/dist/preview/.next/required-server-files.json +1 -1
- package/dist/preview/.next/routes-manifest.json +1 -1
- package/dist/preview/.next/server/chunks/204.js +1 -0
- package/dist/preview/.next/server/chunks/239.js +6 -0
- package/dist/preview/.next/server/chunks/370.js +1 -1
- package/dist/preview/.next/server/chunks/476.js +1 -1
- package/dist/preview/.next/server/chunks/81.js +1 -1
- package/dist/preview/.next/server/chunks/865.js +1 -0
- package/dist/preview/.next/server/chunks/975.js +4 -0
- package/dist/preview/.next/server/functions-config-manifest.json +1 -1
- package/dist/preview/.next/server/middleware-build-manifest.js +1 -1
- package/dist/preview/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/dist/preview/.next/server/pages/_app.js +1 -1
- package/dist/preview/.next/server/pages/_app.js.nft.json +1 -1
- package/dist/preview/.next/server/pages/_document.js +1 -1
- package/dist/preview/.next/server/pages/_document.js.nft.json +1 -1
- package/dist/preview/.next/server/pages/_error.js +1 -1
- package/dist/preview/.next/server/pages/_error.js.nft.json +1 -1
- package/dist/preview/.next/server/pages/api/component.js +2 -2
- package/dist/preview/.next/server/pages/api/component.js.nft.json +1 -1
- package/dist/preview/.next/server/pages/api/pdf.js +1 -1
- package/dist/preview/.next/server/pages/api/pdf.js.nft.json +1 -1
- package/dist/preview/.next/server/pages/api/trpc/[trpc].js +82 -2
- package/dist/preview/.next/server/pages/api/trpc/[trpc].js.nft.json +1 -1
- package/dist/preview/.next/server/pages/en/404.html +1 -1
- package/dist/preview/.next/server/pages/en/500.html +1 -1
- package/dist/preview/.next/server/pages/en/test.html +1 -1
- package/dist/preview/.next/server/pages/index.js +2 -2
- package/dist/preview/.next/server/pages/index.js.nft.json +1 -1
- package/dist/preview/.next/server/pages/preview/[...relTemplatePath].js +1 -1
- package/dist/preview/.next/server/pages/preview/[...relTemplatePath].js.nft.json +1 -1
- package/dist/preview/.next/server/pages/test.js.nft.json +1 -1
- package/dist/preview/.next/server/pages-manifest.json +1 -1
- package/dist/preview/.next/server/webpack-api-runtime.js +1 -1
- package/dist/preview/.next/static/3KzSbw8453o_mkesYso5R/_buildManifest.js +1 -0
- package/dist/preview/.next/static/chunks/64-33135d2a0b032c99.js +1 -0
- package/dist/preview/.next/static/chunks/main-32f0addb06a02100.js +1 -0
- package/dist/preview/.next/static/chunks/pages/_app-7207fb686c7ea292.js +184 -0
- package/dist/preview/.next/static/chunks/pages/_error-0577f827b4afb66a.js +1 -0
- package/dist/preview/.next/static/chunks/pages/{index-7e306d1513d09a1a.js → index-59cca326edb25e5b.js} +1 -1
- package/dist/preview/.next/static/chunks/pages/preview/[...relTemplatePath]-3e7bbb1e7746e61f.js +1 -0
- package/dist/preview/.next/static/chunks/pages/{test-6c9d6a5f356c21ea.js → test-1b0ec700afcdd64b.js} +1 -1
- package/dist/preview/.next/static/chunks/webpack-8fa1640cc84ba8fe.js +1 -0
- package/dist/preview/.next/static/css/3beae5d5e23b91e8.css +3 -0
- package/dist/preview/.next/trace +20 -16
- package/package.json +17 -19
- package/dist/preview/.next/cache/webpack/client-development/0.pack.gz +0 -0
- package/dist/preview/.next/cache/webpack/client-development/index.pack.gz +0 -0
- package/dist/preview/.next/server/chunks/515.js +0 -1
- package/dist/preview/.next/server/chunks/76.js +0 -6
- package/dist/preview/.next/server/chunks/787.js +0 -4
- package/dist/preview/.next/server/chunks/992.js +0 -1
- package/dist/preview/.next/static/chunks/138-c24eca17d1ad2527.js +0 -1
- package/dist/preview/.next/static/chunks/main-58cc12cfc6868a7a.js +0 -1
- package/dist/preview/.next/static/chunks/pages/_app-0f9241fc03d167e5.js +0 -8
- package/dist/preview/.next/static/chunks/pages/_error-4ad10ca9d415501b.js +0 -1
- package/dist/preview/.next/static/chunks/pages/preview/[...relTemplatePath]-54953a42a234e88f.js +0 -1
- package/dist/preview/.next/static/chunks/webpack-b8f8d6679aaa5f42.js +0 -1
- package/dist/preview/.next/static/css/e697c978240c2fce.css +0 -3
- package/dist/preview/.next/static/r14XpRGeqXRkqt8lq1z_x/_buildManifest.js +0 -1
- /package/dist/preview/.next/static/{r14XpRGeqXRkqt8lq1z_x → 3KzSbw8453o_mkesYso5R}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
exports.id=81,exports.ids=[81],exports.modules={81:(e,t,r)=>{"use strict";r.d(t,{default:()=>u});var n=r(4428),i=r.n(n),a=r(1012),s=r.n(a),o=r(2098),h=r.n(o);function l(e,t,r,n){return'<style data-emotion="'+e+" "+t+'"'+n+">"+r+"</style>"}function u(e){!0!==e.compat&&(e.compat=!0);var t=void 0!==e.nonce?' nonce="'+e.nonce+'"':"";return{extractCritical:function(t){for(var r,n=RegExp(e.key+"-([a-zA-Z0-9-_]+)","gm"),i={html:t,ids:[],css:""},a={};null!==(r=n.exec(t));)void 0===a[r[1]]&&(a[r[1]]=!0);return i.ids=Object.keys(e.inserted).filter(function(t){if((void 0!==a[t]||void 0===e.registered[e.key+"-"+t])&&!0!==e.inserted[t])return i.css+=e.inserted[t],!0}),i},extractCriticalToChunks:function(t){for(var r,n=RegExp(e.key+"-([a-zA-Z0-9-_]+)","gm"),i={html:t,styles:[]},a={};null!==(r=n.exec(t));)void 0===a[r[1]]&&(a[r[1]]=!0);var s=[],o="";return Object.keys(e.inserted).forEach(function(t){(void 0!==a[t]||void 0===e.registered[e.key+"-"+t])&&!0!==e.inserted[t]&&(e.registered[e.key+"-"+t]?(s.push(t),o+=e.inserted[t]):i.styles.push({key:e.key+"-global",ids:[t],css:e.inserted[t]}))}),i.styles.push({key:e.key,ids:s,css:o}),i},renderStylesToString:function(r){var n,i=e.inserted,a=e.key,s=e.registered,o=RegExp("<|"+a+"-([a-zA-Z0-9-_]+)","gm"),h={},u="",f="",d="";for(var c in i)if(i.hasOwnProperty(c)){var p=i[c],g=a+"-"+c;!0!==p&&void 0===s[g]&&(d+=p,f+=" "+c)}""!==d&&(u=l(a,f.substring(1),d,t));for(var b="",y="",v=0;null!==(n=o.exec(r));){if("<"===n[0]){""!==b&&(u+=l(a,b.substring(1),y,t),b="",y=""),u+=r.substring(v,n.index),v=n.index;continue}var w=n[1],m=i[w];!0===m||void 0===m||h[w]||(h[w]=!0,y+=m,b+=" "+w)}return u+r.substring(v)},renderStylesToNodeStream:function(){var r={},n=s()(),a=i()(function(n){var i=n[0],a=n[1];if("open"===i){for(var s,o="",h={},l=a.toString(),u=RegExp(e.key+"-([a-zA-Z0-9-_]+)","gm");null!==(s=u.exec(l));)null!==s&&void 0===r[s[1]]&&(h[s[1]]=!0);Object.keys(e.inserted).forEach(function(t){!0!==e.inserted[t]&&void 0===r[t]&&(!0===h[t]||void 0===e.registered[e.key+"-"+t]&&(h[t]=!0))&&(r[t]=!0,o+=e.inserted[t])}),""!==o&&this.queue('<style data-emotion="'+e.key+" "+Object.keys(h).join(" ")+'"'+t+">"+o+"</style>")}this.queue(a)},function(){this.queue(null)});return h()(n,a)},constructStyleTagsFromChunks:function(e){var r="";return e.styles.forEach(function(e){r+=l(e.key,e.ids.join(" "),e.css,t)}),r}}}},4927:e=>{var t=Object.prototype.toString,r="function"==typeof Buffer.alloc&&"function"==typeof Buffer.allocUnsafe&&"function"==typeof Buffer.from;e.exports=function(e,n,i){if("number"==typeof e)throw TypeError('"value" argument must not be a number');return"ArrayBuffer"===t.call(e).slice(8,-1)?function(e,t,n){t>>>=0;var i=e.byteLength-t;if(i<0)throw RangeError("'offset' is out of bounds");if(void 0===n)n=i;else if((n>>>=0)>i)throw RangeError("'length' is out of bounds");return r?Buffer.from(e.slice(t,t+n)):new Buffer(new Uint8Array(e.slice(t,t+n)))}(e,n,i):"string"==typeof e?function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!Buffer.isEncoding(t))throw TypeError('"encoding" must be a valid string encoding');return r?Buffer.from(e,t):new Buffer(e,t)}(e,n):r?Buffer.from(e):new Buffer(e)}},3877:(e,t,r)=>{function n(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===n(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===n(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===n(e)},t.isError=function(e){return"[object Error]"===n(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(8893).Buffer.isBuffer},6550:(e,t,r)=>{"use strict";var n=r(9783);function i(e,t,r){void 0===r&&(r=t,t=e,e=null),n.Duplex.call(this,e),"function"!=typeof r.read&&(r=new n.Readable(e).wrap(r)),this._writable=t,this._readable=r,this._waiting=!1;var i=this;t.once("finish",function(){i.end()}),this.once("finish",function(){t.end()}),r.on("readable",function(){i._waiting&&(i._waiting=!1,i._read())}),r.once("end",function(){i.push(null)}),(!e||void 0===e.bubbleErrors||e.bubbleErrors)&&(t.on("error",function(e){i.emit("error",e)}),r.on("error",function(e){i.emit("error",e)}))}i.prototype=Object.create(n.Duplex.prototype,{constructor:{value:i}}),i.prototype._write=function(e,t,r){this._writable.write(e,t,r)},i.prototype._read=function(){for(var e,t=0;null!==(e=this._readable.read());)this.push(e),t++;0===t&&(this._waiting=!0)},e.exports=function(e,t,r){return new i(e,t,r)},e.exports.DuplexWrapper=i},1012:(e,t,r)=>{var n=r(4927),i=r(3959).Transform;r(467)(h,i),e.exports=h;var a={lt:60,gt:62,slash:47,dquote:34,squote:39,equal:61},s={endScript:n("</script"),endStyle:n("</style"),endTitle:n("</title"),comment:n("<!--"),endComment:n("-->"),cdata:n("<![CDATA["),endCdata:n("]]>")},o={TagNameState:1,AttributeNameState:2,BeforeAttributeValueState:3,AttributeValueState:4};function h(){if(!(this instanceof h))return new h;i.call(this),this._readableState.objectMode=!0,this.state="text",this.tagState=null,this.quoteState=null,this.raw=null,this.buffers=[],this._last=[]}function l(e,t){if(e.length<t.length)return!1;for(var r=e.length-1,n=t.length-1;r>=0&&n>=0;r--,n--)if(u(e[r])!==u(t[n]))return!1;return!0}function u(e){return e>=65&&e<=90?e+32:e}function f(e){return 32===e||9===e||10===e||12===e||13===e}h.prototype._transform=function(e,t,r){var n=0,i=0;for(this._prev&&(e=Buffer.concat([this._prev,e]),n=this._prev.length-1,i=this._offset,this._prev=null,this._offset=0);n<e.length;n++){var h=e[n];if(this._last.push(h),this._last.length>9&&this._last.shift(),this.raw){var u=this._testRaw(e,i,n);u&&(this.push(["text",u[0]]),this.raw===s.endComment||this.raw===s.endCdata?(this.state="text",this.buffers=[],this.push(["close",u[1]])):(this.state="open",this.buffers=[u[1]]),this.raw=null,i=n+1)}else if("text"===this.state&&h===a.lt&&n===e.length-1)return this._prev=e,this._offset=i,r();else if("text"!==this.state||h!==a.lt||f(e[n+1])){if(this.tagState===o.TagNameState&&f(h))this.tagState=o.AttributeNameState;else if(this.tagState===o.AttributeNameState&&h===a.equal)this.tagState=o.BeforeAttributeValueState;else if(this.tagState===o.BeforeAttributeValueState&&f(h));else if(this.tagState===o.BeforeAttributeValueState&&h!==a.gt)this.tagState=o.AttributeValueState,h===a.dquote?this.quoteState="double":h===a.squote?this.quoteState="single":this.quoteState=null;else if(this.tagState===o.AttributeValueState&&!this.quoteState&&f(h))this.tagState=o.AttributeNameState;else if(this.tagState===o.AttributeValueState&&"double"===this.quoteState&&h===a.dquote)this.quoteState=null,this.tagState=o.AttributeNameState;else if(this.tagState===o.AttributeValueState&&"single"===this.quoteState&&h===a.squote)this.quoteState=null,this.tagState=o.AttributeNameState;else if("open"!==this.state||h!==a.gt||this.quoteState)"open"===this.state&&l(this._last,s.comment)?(this.buffers.push(e.slice(i,n+1)),i=n+1,this.state="text",this.raw=s.endComment,this._pushState("open")):"open"===this.state&&l(this._last,s.cdata)&&(this.buffers.push(e.slice(i,n+1)),i=n+1,this.state="text",this.raw=s.endCdata,this._pushState("open"));else if(this.buffers.push(e.slice(i,n+1)),i=n+1,this.state="text",this.tagState=null,this._getChar(1)===a.slash)this._pushState("close");else{var d=this._getTag();"script"===d&&(this.raw=s.endScript),"style"===d&&(this.raw=s.endStyle),"title"===d&&(this.raw=s.endTitle),this._pushState("open")}}else n>0&&n-i>0&&this.buffers.push(e.slice(i,n)),i=n,this.state="open",this.tagState=o.TagNameState,this._pushState("text")}i<e.length&&this.buffers.push(e.slice(i)),r()},h.prototype._flush=function(e){"text"===this.state&&this._pushState("text"),this.push(null),e()},h.prototype._pushState=function(e){if(0!==this.buffers.length){var t=Buffer.concat(this.buffers);this.buffers=[],this.push([e,t])}},h.prototype._getChar=function(e){for(var t=0,r=0;r<this.buffers.length;r++){var n=this.buffers[r];if(t+n.length>e)return n[e-t];t+=n}},h.prototype._getTag=function(){for(var e=0,t="",r=0;r<this.buffers.length;r++){for(var n=this.buffers[r],i=0;i<n.length;i++)if(0!==e||0!==i){var a=String.fromCharCode(n[i]);if(/[^\w-!\[\]]/.test(a))return t.toLowerCase();t+=a}e+=n.length}},h.prototype._testRaw=function(e,t,r){var n=this.raw;if(l(this._last,n)){this.buffers.push(e.slice(t,r+1));var e=Buffer.concat(this.buffers),i=e.length-n.length;return[e.slice(0,i),e.slice(i)]}}},467:(e,t,r)=>{try{var n=r(153);if("function"!=typeof n.inherits)throw"";e.exports=n.inherits}catch(t){e.exports=r(6947)}},6947:e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},2525:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},2455:e=>{var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},2098:(e,t,r)=>{var n=r(6550),i=r(6162).PassThrough,a=r(6162).PassThrough,s=r(8417),o=[].slice,h={bubbleErrors:!1,objectMode:!0};e.exports=function(e,t,r){Array.isArray(e)||(e=o.call(arguments),t=null,r=null);var l,u=e[e.length-1];"function"==typeof u&&(r=e.splice(-1)[0],u=e[e.length-1]),"object"==typeof u&&"function"!=typeof u.pipe&&(t=e.splice(-1)[0]);var f=e[0],d=e[e.length-1];if(t=s({},h,t),!f)return r&&process.nextTick(r),new i(t);if(l=f.writable&&d.readable?n(t,f,d):1==e.length?new a(t).wrap(e[0]):f.writable?f:d.readable?d:new i(t),e.forEach(function(t,r){var n=e[r+1];n&&t.pipe(n),t!=l&&t.on("error",l.emit.bind(l,"error"))}),r){var c=!1;function p(e){c||(c=!0,r(e))}l.on("error",p),d.on("finish",function(){p()}),d.on("close",function(){p()})}return l}},8417:e=>{"use strict";var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;e.exports=!function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==n.join(""))return!1;var i={};if("abcdefghijklmnopqrst".split("").forEach(function(e){i[e]=e}),"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},i)).join(""))return!1;return!0}catch(e){return!1}}()?function(e,i){for(var a,s,o=function(e){if(null==e)throw TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),h=1;h<arguments.length;h++){for(var l in a=Object(arguments[h]))r.call(a,l)&&(o[l]=a[l]);if(t){s=t(a);for(var u=0;u<s.length;u++)n.call(a,s[u])&&(o[s[u]]=a[s[u]])}}return o}:Object.assign},5959:e=>{"use strict";"undefined"!=typeof process&&process.version&&0!==process.version.indexOf("v0.")&&(0!==process.version.indexOf("v1.")||0===process.version.indexOf("v1.8."))?e.exports=process:e.exports={nextTick:function(e,t,r,n){if("function"!=typeof e)throw TypeError('"callback" argument must be a function');var i,a,s=arguments.length;switch(s){case 0:case 1:return process.nextTick(e);case 2:return process.nextTick(function(){e.call(null,t)});case 3:return process.nextTick(function(){e.call(null,t,r)});case 4:return process.nextTick(function(){e.call(null,t,r,n)});default:for(i=Array(s-1),a=0;a<i.length;)i[a++]=arguments[a];return process.nextTick(function(){e.apply(null,i)})}}}},6862:(e,t,r)=>{e.exports=o;var n=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t},i=r(3877);i.inherits=r(467);var a=r(7179),s=r(5901);function o(e){if(!(this instanceof o))return new o(e);a.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",h)}function h(){this.allowHalfOpen||this._writableState.ended||process.nextTick(this.end.bind(this))}i.inherits(o,a),function(e,t){for(var r=0,n=e.length;r<n;r++)t(e[r],r)}(n(s.prototype),function(e){o.prototype[e]||(o.prototype[e]=s.prototype[e])})},4683:(e,t,r)=>{e.exports=a;var n=r(1805),i=r(3877);function a(e){if(!(this instanceof a))return new a(e);n.call(this,e)}i.inherits=r(467),i.inherits(a,n),a.prototype._transform=function(e,t,r){r(null,e)}},7179:(e,t,r)=>{e.exports=u;var n,i=r(2525),a=r(8893).Buffer;u.ReadableState=l;var s=r(7702).EventEmitter;s.listenerCount||(s.listenerCount=function(e,t){return e.listeners(t).length});var o=r(6162),h=r(3877);function l(e,t){var i=(e=e||{}).highWaterMark;this.highWaterMark=i||0===i?i:16384,this.highWaterMark=~~this.highWaterMark,this.buffer=[],this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=!1,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.calledRead=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.objectMode=!!e.objectMode,this.defaultEncoding=e.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(n||(n=r(1038).s),this.decoder=new n(e.encoding),this.encoding=e.encoding)}function u(e){if(!(this instanceof u))return new u(e);this._readableState=new l(e,this),this.readable=!0,o.call(this)}function f(e,t,r,n,i){var s=(o=r,h=null,a.isBuffer(o)||"string"==typeof o||null==o||t.objectMode||(h=TypeError("Invalid non-string/buffer chunk")),h);if(s)e.emit("error",s);else if(null==r)t.reading=!1,t.ended||function(e,t){if(t.decoder&&!t.ended){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.length>0?c(e):w(e)}(e,t);else if(t.objectMode||r&&r.length>0){if(t.ended&&!i){var o,h,l=Error("stream.push() after EOF");e.emit("error",l)}else if(t.endEmitted&&i){var l=Error("stream.unshift() after end event");e.emit("error",l)}else!t.decoder||i||n||(r=t.decoder.write(r)),t.length+=t.objectMode?1:r.length,i?t.buffer.unshift(r):(t.reading=!1,t.buffer.push(r)),t.needReadable&&c(e),t.readingMore||(t.readingMore=!0,process.nextTick(function(){(function(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(e.read(0),r!==t.length);)r=t.length;t.readingMore=!1})(e,t)}))}else i||(t.reading=!1);return!t.ended&&(t.needReadable||t.length<t.highWaterMark||0===t.length)}function d(e,t){return 0===t.length&&t.ended?0:t.objectMode?0===e?0:1:null===e||isNaN(e)?t.flowing&&t.buffer.length?t.buffer[0].length:t.length:e<=0?0:(e>t.highWaterMark&&(t.highWaterMark=function(e){if(e>=8388608)e=8388608;else{e--;for(var t=1;t<32;t<<=1)e|=e>>t;e++}return e}(e)),e>t.length)?t.ended?t.length:(t.needReadable=!0,0):e}function c(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,t.sync?process.nextTick(function(){p(e)}):p(e))}function p(e){e.emit("readable")}function g(e){var t,r=e._readableState;function n(e,n,i){!1===e.write(t)&&r.awaitDrain++}for(r.awaitDrain=0;r.pipesCount&&null!==(t=e.read());)if(1===r.pipesCount?n(r.pipes,0,null):m(r.pipes,n),e.emit("data",t),r.awaitDrain>0)return;if(0===r.pipesCount){r.flowing=!1,s.listenerCount(e,"data")>0&&y(e);return}r.ranOut=!0}function b(){this._readableState.ranOut&&(this._readableState.ranOut=!1,g(this))}function y(e,t){if(e._readableState.flowing)throw Error("Cannot switch to old mode now.");var r=t||!1,n=!1;e.readable=!0,e.pipe=o.prototype.pipe,e.on=e.addListener=o.prototype.on,e.on("readable",function(){var t;for(n=!0;!r&&null!==(t=e.read());)e.emit("data",t);null===t&&(n=!1,e._readableState.needReadable=!0)}),e.pause=function(){r=!0,this.emit("pause")},e.resume=function(){r=!1,n?process.nextTick(function(){e.emit("readable")}):this.read(0),this.emit("resume")},e.emit("readable")}function v(e,t){var r,n=t.buffer,i=t.length,s=!!t.decoder,o=!!t.objectMode;if(0===n.length)return null;if(0===i)r=null;else if(o)r=n.shift();else if(!e||e>=i)r=s?n.join(""):a.concat(n,i),n.length=0;else if(e<n[0].length){var h=n[0];r=h.slice(0,e),n[0]=h.slice(e)}else if(e===n[0].length)r=n.shift();else{r=s?"":new a(e);for(var l=0,u=0,f=n.length;u<f&&l<e;u++){var h=n[0],d=Math.min(e-l,h.length);s?r+=h.slice(0,d):h.copy(r,l,0,d),d<h.length?n[0]=h.slice(d):n.shift(),l+=d}}return r}function w(e){var t=e._readableState;if(t.length>0)throw Error("endReadable called on non-empty stream");!t.endEmitted&&t.calledRead&&(t.ended=!0,process.nextTick(function(){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}))}function m(e,t){for(var r=0,n=e.length;r<n;r++)t(e[r],r)}h.inherits=r(467),h.inherits(u,o),u.prototype.push=function(e,t){var r=this._readableState;return"string"!=typeof e||r.objectMode||(t=t||r.defaultEncoding)===r.encoding||(e=new a(e,t),t=""),f(this,r,e,t,!1)},u.prototype.unshift=function(e){return f(this,this._readableState,e,"",!0)},u.prototype.setEncoding=function(e){n||(n=r(1038).s),this._readableState.decoder=new n(e),this._readableState.encoding=e},u.prototype.read=function(e){var t,r=this._readableState;r.calledRead=!0;var n=e;if(("number"!=typeof e||e>0)&&(r.emittedReadable=!1),0===e&&r.needReadable&&(r.length>=r.highWaterMark||r.ended))return c(this),null;if(0===(e=d(e,r))&&r.ended)return t=null,r.length>0&&r.decoder&&(t=v(e,r),r.length-=t.length),0===r.length&&w(this),t;var i=r.needReadable;return r.length-e<=r.highWaterMark&&(i=!0),(r.ended||r.reading)&&(i=!1),i&&(r.reading=!0,r.sync=!0,0===r.length&&(r.needReadable=!0),this._read(r.highWaterMark),r.sync=!1),i&&!r.reading&&(e=d(n,r)),null===(t=e>0?v(e,r):null)&&(r.needReadable=!0,e=0),r.length-=e,0!==r.length||r.ended||(r.needReadable=!0),r.ended&&!r.endEmitted&&0===r.length&&w(this),t},u.prototype._read=function(e){this.emit("error",Error("not implemented"))},u.prototype.pipe=function(e,t){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e)}n.pipesCount+=1;var a=t&&!1===t.end||e===process.stdout||e===process.stderr?u:h;function o(e){e===r&&u()}function h(){e.end()}n.endEmitted?process.nextTick(a):r.once("end",a),e.on("unpipe",o);var l=function(){var e=r._readableState;e.awaitDrain--,0===e.awaitDrain&&g(r)};function u(){e.removeListener("close",d),e.removeListener("finish",c),e.removeListener("drain",l),e.removeListener("error",f),e.removeListener("unpipe",o),r.removeListener("end",h),r.removeListener("end",u),(!e._writableState||e._writableState.needDrain)&&l()}function f(t){p(),e.removeListener("error",f),0===s.listenerCount(e,"error")&&e.emit("error",t)}function d(){e.removeListener("finish",c),p()}function c(){e.removeListener("close",d),p()}function p(){r.unpipe(e)}return e.on("drain",l),e._events&&e._events.error?i(e._events.error)?e._events.error.unshift(f):e._events.error=[f,e._events.error]:e.on("error",f),e.once("close",d),e.once("finish",c),e.emit("pipe",r),n.flowing||(this.on("readable",b),n.flowing=!0,process.nextTick(function(){g(r)})),e},u.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,this.removeListener("readable",b),t.flowing=!1,e&&e.emit("unpipe",this)),this;if(!e){var r=t.pipes,n=t.pipesCount;t.pipes=null,t.pipesCount=0,this.removeListener("readable",b),t.flowing=!1;for(var i=0;i<n;i++)r[i].emit("unpipe",this);return this}var i=function(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return -1}(t.pipes,e);return -1===i||(t.pipes.splice(i,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this)),this},u.prototype.on=function(e,t){var r=o.prototype.on.call(this,e,t);if("data"!==e||this._readableState.flowing||y(this),"readable"===e&&this.readable){var n=this._readableState;!n.readableListening&&(n.readableListening=!0,n.emittedReadable=!1,n.needReadable=!0,n.reading?n.length&&c(this,n):this.read(0))}return r},u.prototype.addListener=u.prototype.on,u.prototype.resume=function(){y(this),this.read(0),this.emit("resume")},u.prototype.pause=function(){y(this,!0),this.emit("pause")},u.prototype.wrap=function(e){var t=this._readableState,r=!1,n=this;for(var i in e.on("end",function(){if(t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&n.push(e)}n.push(null)}),e.on("data",function(i){t.decoder&&(i=t.decoder.write(i)),(!t.objectMode||null!=i)&&(t.objectMode||i&&i.length)&&(n.push(i)||(r=!0,e.pause()))}),e)"function"==typeof e[i]&&void 0===this[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));return m(["error","close","destroy","pause","resume"],function(t){e.on(t,n.emit.bind(n,t))}),n._read=function(t){r&&(r=!1,e.resume())},n},u._fromList=v},1805:(e,t,r)=>{e.exports=s;var n=r(6862),i=r(3877);function a(e,t){this.afterTransform=function(e,r){return function(e,t,r){var n=e._transformState;n.transforming=!1;var i=n.writecb;if(!i)return e.emit("error",Error("no writecb in Transform class"));n.writechunk=null,n.writecb=null,null!=r&&e.push(r),i&&i(t);var a=e._readableState;a.reading=!1,(a.needReadable||a.length<a.highWaterMark)&&e._read(a.highWaterMark)}(t,e,r)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null}function s(e){if(!(this instanceof s))return new s(e);n.call(this,e),this._transformState=new a(e,this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,this.once("finish",function(){"function"==typeof this._flush?this._flush(function(e){o(t,e)}):o(t)})}function o(e,t){if(t)return e.emit("error",t);var r=e._writableState;e._readableState;var n=e._transformState;if(r.length)throw Error("calling transform done when ws.length != 0");if(n.transforming)throw Error("calling transform done when still transforming");return e.push(null)}i.inherits=r(467),i.inherits(s,n),s.prototype.push=function(e,t){return this._transformState.needTransform=!1,n.prototype.push.call(this,e,t)},s.prototype._transform=function(e,t,r){throw Error("not implemented")},s.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},s.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0}},5901:(e,t,r)=>{e.exports=h;var n=r(8893).Buffer;h.WritableState=o;var i=r(3877);i.inherits=r(467);var a=r(6162);function s(e,t,r){this.chunk=e,this.encoding=t,this.callback=r}function o(e,t){var r=(e=e||{}).highWaterMark;this.highWaterMark=r||0===r?r:16384,this.objectMode=!!e.objectMode,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var n=!1===e.decodeStrings;this.decodeStrings=!n,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){(function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(r.writing=!1,r.writecb=null,r.length-=r.writelen,r.writelen=0,t)n?process.nextTick(function(){i(t)}):i(t),e._writableState.errorEmitted=!0,e.emit("error",t);else{var a=f(e,r);a||r.bufferProcessing||!r.buffer.length||function(e,t){t.bufferProcessing=!0;for(var r=0;r<t.buffer.length;r++){var n=t.buffer[r],i=n.chunk,a=n.encoding,s=n.callback,o=t.objectMode?1:i.length;if(l(e,t,o,i,a,s),t.writing){r++;break}}t.bufferProcessing=!1,r<t.buffer.length?t.buffer=t.buffer.slice(r):t.buffer.length=0}(e,r),n?process.nextTick(function(){u(e,r,a,i)}):u(e,r,a,i)}})(t,e)},this.writecb=null,this.writelen=0,this.buffer=[],this.errorEmitted=!1}function h(e){var t=r(6862);if(!(this instanceof h)&&!(this instanceof t))return new h(e);this._writableState=new o(e,this),this.writable=!0,a.call(this)}function l(e,t,r,n,i,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,e._write(n,i,t.onwrite),t.sync=!1}function u(e,t,r,n){r||0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain")),n(),r&&d(e,t)}function f(e,t){return t.ending&&0===t.length&&!t.finished&&!t.writing}function d(e,t){var r=f(e,t);return r&&(t.finished=!0,e.emit("finish")),r}i.inherits(h,a),h.prototype.pipe=function(){this.emit("error",Error("Cannot pipe. Not readable."))},h.prototype.write=function(e,t,r){var i,a,o,h,u,f,d,c,p,g,b,y=this._writableState,v=!1;return("function"==typeof t&&(r=t,t=null),n.isBuffer(e)?t="buffer":t||(t=y.defaultEncoding),"function"!=typeof r&&(r=function(){}),y.ended)?(g=r,b=Error("write after end"),this.emit("error",b),process.nextTick(function(){g(b)})):function(e,t,r,i){var a=!0;if(!n.isBuffer(r)&&"string"!=typeof r&&null!=r&&!t.objectMode){var s=TypeError("Invalid non-string/buffer chunk");e.emit("error",s),process.nextTick(function(){i(s)}),a=!1}return a}(this,y,e,r)&&(i=this,a=y,o=e,h=t,u=r,f=o,d=h,a.objectMode||!1===a.decodeStrings||"string"!=typeof f||(f=new n(f,d)),o=f,n.isBuffer(o)&&(h="buffer"),c=a.objectMode?1:o.length,a.length+=c,(p=a.length<a.highWaterMark)||(a.needDrain=!0),a.writing?a.buffer.push(new s(o,h,u)):l(i,a,c,o,h,u),v=p),v},h.prototype._write=function(e,t,r){r(Error("not implemented"))},h.prototype.end=function(e,t,r){var n,i=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),i.ending||i.finished||(n=r,i.ending=!0,d(this,i),n&&(i.finished?process.nextTick(n):this.once("finish",n)),i.ended=!0)}},3959:(e,t,r)=>{var n=r(6162);(t=e.exports=r(7179)).Stream=n,t.Readable=t,t.Writable=r(5901),t.Duplex=r(6862),t.Transform=r(1805),t.PassThrough=r(4683),"disable"===process.env.READABLE_STREAM&&(e.exports=r(6162))},8562:(e,t,r)=>{"use strict";var n=r(5959),i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=f;var a=Object.create(r(3877));a.inherits=r(467);var s=r(5505),o=r(9691);a.inherits(f,s);for(var h=i(o.prototype),l=0;l<h.length;l++){var u=h[l];f.prototype[u]||(f.prototype[u]=o.prototype[u])}function f(e){if(!(this instanceof f))return new f(e);s.call(this,e),o.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",d)}function d(){this.allowHalfOpen||this._writableState.ended||n.nextTick(c,this)}function c(e){e.end()}Object.defineProperty(f.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(f.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),f.prototype._destroy=function(e,t){this.push(null),this.end(),n.nextTick(t,e)}},360:(e,t,r)=>{"use strict";e.exports=a;var n=r(515),i=Object.create(r(3877));function a(e){if(!(this instanceof a))return new a(e);n.call(this,e)}i.inherits=r(467),i.inherits(a,n),a.prototype._transform=function(e,t,r){r(null,e)}},5505:(e,t,r)=>{"use strict";var n,i,a=r(5959);e.exports=v;var s=r(2455);v.ReadableState=y,r(7702).EventEmitter;var o=function(e,t){return e.listeners(t).length},h=r(4038),l=r(9565).Buffer,u=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},f=Object.create(r(3877));f.inherits=r(467);var d=r(153),c=void 0;c=d&&d.debuglog?d.debuglog("stream"):function(){};var p=r(6803),g=r(3981);f.inherits(v,h);var b=["error","close","destroy","pause","resume"];function y(e,t){n=n||r(8562),e=e||{};var a=t instanceof n;this.objectMode=!!e.objectMode,a&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var s=e.highWaterMark,o=e.readableHighWaterMark,h=this.objectMode?16:16384;s||0===s?this.highWaterMark=s:a&&(o||0===o)?this.highWaterMark=o:this.highWaterMark=h,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(i||(i=r(3625).s),this.decoder=new i(e.encoding),this.encoding=e.encoding)}function v(e){if(n=n||r(8562),!(this instanceof v))return new v(e);this._readableState=new y(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),h.call(this)}function w(e,t,r,n,i){var a,s,o,h,f,d=e._readableState;return null===t?(d.reading=!1,function(e,t){if(!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,_(e)}}(e,d)):(i||(a=d,s=t,l.isBuffer(s)||s instanceof u||"string"==typeof s||void 0===s||a.objectMode||(o=TypeError("Invalid non-string/buffer chunk")),f=o),f)?e.emit("error",f):d.objectMode||t&&t.length>0?("string"==typeof t||d.objectMode||Object.getPrototypeOf(t)===l.prototype||(h=t,t=l.from(h)),n?d.endEmitted?e.emit("error",Error("stream.unshift() after end event")):m(e,d,t,!0):d.ended?e.emit("error",Error("stream.push() after EOF")):(d.reading=!1,d.decoder&&!r?(t=d.decoder.write(t),d.objectMode||0!==t.length?m(e,d,t,!1):x(e,d)):m(e,d,t,!1))):n||(d.reading=!1),!d.ended&&(d.needReadable||d.length<d.highWaterMark||0===d.length)}function m(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&_(e)),x(e,t)}function S(e,t){if(e<=0||0===t.length&&t.ended)return 0;if(t.objectMode)return 1;if(e!=e)return t.flowing&&t.length?t.buffer.head.data.length:t.length;if(e>t.highWaterMark){var r;t.highWaterMark=((r=e)>=8388608?r=8388608:(r--,r|=r>>>1,r|=r>>>2,r|=r>>>4,r|=r>>>8,r|=r>>>16,r++),r)}return e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0)}function _(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(c("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?a.nextTick(k,e):k(e))}function k(e){c("emit readable"),e.emit("readable"),j(e)}function x(e,t){t.readingMore||(t.readingMore=!0,a.nextTick(E,e,t))}function E(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(c("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function M(e){c("readable nexttick read 0"),e.read(0)}function R(e,t){t.reading||(c("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),j(e),t.flowing&&!t.reading&&e.read(0)}function j(e){var t=e._readableState;for(c("flow",t.flowing);t.flowing&&null!==e.read(););}function T(e,t){var r,n,i,a;return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):(n=t.buffer,i=t.decoder,e<n.head.data.length?(a=n.head.data.slice(0,e),n.head.data=n.head.data.slice(e)):a=e===n.head.data.length?n.shift():i?function(e,t){var r=t.head,n=1,i=r.data;for(e-=i.length;r=r.next;){var a=r.data,s=e>a.length?a.length:e;if(s===a.length?i+=a:i+=a.slice(0,e),0==(e-=s)){s===a.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=a.slice(s));break}++n}return t.length-=n,i}(e,n):function(e,t){var r=l.allocUnsafe(e),n=t.head,i=1;for(n.data.copy(r),e-=n.data.length;n=n.next;){var a=n.data,s=e>a.length?a.length:e;if(a.copy(r,r.length-e,0,s),0==(e-=s)){s===a.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=a.slice(s));break}++i}return t.length-=i,r}(e,n),r=a),r)}function C(e){var t=e._readableState;if(t.length>0)throw Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,a.nextTick(O,t,e))}function O(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function L(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return -1}Object.defineProperty(v.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),v.prototype.destroy=g.destroy,v.prototype._undestroy=g.undestroy,v.prototype._destroy=function(e,t){this.push(null),t(e)},v.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=l.from(e,t),t=""),r=!0),w(this,e,t,!1,r)},v.prototype.unshift=function(e){return w(this,e,null,!0,!1)},v.prototype.isPaused=function(){return!1===this._readableState.flowing},v.prototype.setEncoding=function(e){return i||(i=r(3625).s),this._readableState.decoder=new i(e),this._readableState.encoding=e,this},v.prototype.read=function(e){c("read",e),e=parseInt(e,10);var t,r=this._readableState,n=e;if(0!==e&&(r.emittedReadable=!1),0===e&&r.needReadable&&(r.length>=r.highWaterMark||r.ended))return c("read: emitReadable",r.length,r.ended),0===r.length&&r.ended?C(this):_(this),null;if(0===(e=S(e,r))&&r.ended)return 0===r.length&&C(this),null;var i=r.needReadable;return c("need readable",i),(0===r.length||r.length-e<r.highWaterMark)&&c("length less than watermark",i=!0),r.ended||r.reading?c("reading or ended",i=!1):i&&(c("do read"),r.reading=!0,r.sync=!0,0===r.length&&(r.needReadable=!0),this._read(r.highWaterMark),r.sync=!1,r.reading||(e=S(n,r))),null===(t=e>0?T(e,r):null)?(r.needReadable=!0,e=0):r.length-=e,0===r.length&&(r.ended||(r.needReadable=!0),n!==e&&r.ended&&C(this)),null!==t&&this.emit("data",t),t},v.prototype._read=function(e){this.emit("error",Error("_read() is not implemented"))},v.prototype.pipe=function(e,t){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e)}n.pipesCount+=1,c("pipe count=%d opts=%j",n.pipesCount,t);var i=t&&!1===t.end||e===process.stdout||e===process.stderr?y:h;function h(){c("onend"),e.end()}n.endEmitted?a.nextTick(i):r.once("end",i),e.on("unpipe",function t(i,a){c("onunpipe"),i===r&&a&&!1===a.hasUnpiped&&(a.hasUnpiped=!0,c("cleanup"),e.removeListener("close",g),e.removeListener("finish",b),e.removeListener("drain",l),e.removeListener("error",p),e.removeListener("unpipe",t),r.removeListener("end",h),r.removeListener("end",y),r.removeListener("data",d),u=!0,n.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&l())});var l=function(){var e=r._readableState;c("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&o(r,"data")&&(e.flowing=!0,j(r))};e.on("drain",l);var u=!1,f=!1;function d(t){c("ondata"),f=!1,!1!==e.write(t)||f||((1===n.pipesCount&&n.pipes===e||n.pipesCount>1&&-1!==L(n.pipes,e))&&!u&&(c("false write response, pause",n.awaitDrain),n.awaitDrain++,f=!0),r.pause())}function p(t){c("onerror",t),y(),e.removeListener("error",p),0===o(e,"error")&&e.emit("error",t)}function g(){e.removeListener("finish",b),y()}function b(){c("onfinish"),e.removeListener("close",g),y()}function y(){c("unpipe"),r.unpipe(e)}return r.on("data",d),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?s(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",p),e.once("close",g),e.once("finish",b),e.emit("pipe",r),n.flowing||(c("pipe resume"),r.resume()),e},v.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)n[a].emit("unpipe",this,{hasUnpiped:!1});return this}var s=L(t.pipes,e);return -1===s||(t.pipes.splice(s,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},v.prototype.on=function(e,t){var r=h.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&_(this):a.nextTick(M,this))}return r},v.prototype.addListener=v.prototype.on,v.prototype.resume=function(){var e=this._readableState;return e.flowing||(c("resume"),e.flowing=!0,e.resumeScheduled||(e.resumeScheduled=!0,a.nextTick(R,this,e))),this},v.prototype.pause=function(){return c("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(c("pause"),this._readableState.flowing=!1,this.emit("pause")),this},v.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",function(){if(c("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(i){c("wrapped data"),r.decoder&&(i=r.decoder.write(i)),(!r.objectMode||null!=i)&&(r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause()))}),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var a=0;a<b.length;a++)e.on(b[a],this.emit.bind(this,b[a]));return this._read=function(t){c("wrapped _read",t),n&&(n=!1,e.resume())},this},Object.defineProperty(v.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),v._fromList=T},515:(e,t,r)=>{"use strict";e.exports=s;var n=r(8562),i=Object.create(r(3877));function a(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function s(e){if(!(this instanceof s))return new s(e);n.call(this,e),this._transformState={afterTransform:a.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",o)}function o(){var e=this;"function"==typeof this._flush?this._flush(function(t,r){h(e,t,r)}):h(this,null,null)}function h(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw Error("Calling transform done when still transforming");return e.push(null)}i.inherits=r(467),i.inherits(s,n),s.prototype.push=function(e,t){return this._transformState.needTransform=!1,n.prototype.push.call(this,e,t)},s.prototype._transform=function(e,t,r){throw Error("_transform() is not implemented")},s.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},s.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},s.prototype._destroy=function(e,t){var r=this;n.prototype._destroy.call(this,e,function(e){t(e),r.emit("close")})}},9691:(e,t,r)=>{"use strict";var n,i,a=r(5959);function s(e){var t=this;this.next=null,this.entry=null,this.finish=function(){(function(e,t,r){var n=e.entry;for(e.entry=null;n;){var i=n.callback;t.pendingcb--,i(void 0),n=n.next}t.corkedRequestsFree.next=e})(t,e)}}e.exports=b;var o=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:a.nextTick;b.WritableState=g;var h=Object.create(r(3877));h.inherits=r(467);var l={deprecate:r(4173)},u=r(4038),f=r(9565).Buffer,d=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},c=r(3981);function p(){}function g(e,t){n=n||r(8562),e=e||{};var i=t instanceof n;this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var h=e.highWaterMark,l=e.writableHighWaterMark,u=this.objectMode?16:16384;h||0===h?this.highWaterMark=h:i&&(l||0===l)?this.highWaterMark=l:this.highWaterMark=u,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var f=!1===e.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){(function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(r.writing=!1,r.writecb=null,r.length-=r.writelen,r.writelen=0,t)--r.pendingcb,n?(a.nextTick(i,t),a.nextTick(_,e,r),e._writableState.errorEmitted=!0,e.emit("error",t)):(i(t),e._writableState.errorEmitted=!0,e.emit("error",t),_(e,r));else{var s=m(r);s||r.corked||r.bufferProcessing||!r.bufferedRequest||w(e,r),n?o(v,e,r,s,i):v(e,r,s,i)}})(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new s(this)}function b(e){if(n=n||r(8562),!i.call(b,this)&&!(this instanceof n))return new b(e);this._writableState=new g(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),u.call(this)}function y(e,t,r,n,i,a,s){t.writelen=n,t.writecb=s,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function v(e,t,r,n){r||0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain")),t.pendingcb--,n(),_(e,t)}function w(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=Array(t.bufferedRequestCount),i=t.corkedRequestsFree;i.entry=r;for(var a=0,o=!0;r;)n[a]=r,r.isBuf||(o=!1),r=r.next,a+=1;n.allBuffers=o,y(e,t,!0,t.length,n,"",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new s(t),t.bufferedRequestCount=0}else{for(;r;){var h=r.chunk,l=r.encoding,u=r.callback,f=t.objectMode?1:h.length;if(y(e,t,!1,f,h,l,u),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function m(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function S(e,t){e._final(function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),_(e,t)})}function _(e,t){var r=m(t);return r&&(t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,a.nextTick(S,e,t)):(t.prefinished=!0,e.emit("prefinish"))),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}h.inherits(b,u),g.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(g.prototype,"buffer",{get:l.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(i=Function.prototype[Symbol.hasInstance],Object.defineProperty(b,Symbol.hasInstance,{value:function(e){return!!i.call(this,e)||this===b&&e&&e._writableState instanceof g}})):i=function(e){return e instanceof this},b.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))},b.prototype.write=function(e,t,r){var n,i,s,o,h,l,u,c,g=this._writableState,b=!1,v=!g.objectMode&&(n=e,f.isBuffer(n)||n instanceof d);return v&&!f.isBuffer(e)&&(i=e,e=f.from(i)),("function"==typeof t&&(r=t,t=null),v?t="buffer":t||(t=g.defaultEncoding),"function"!=typeof r&&(r=p),g.ended)?(s=r,o=Error("write after end"),this.emit("error",o),a.nextTick(s,o)):(v||(h=e,l=r,u=!0,c=!1,null===h?c=TypeError("May not write null values to stream"):"string"==typeof h||void 0===h||g.objectMode||(c=TypeError("Invalid non-string/buffer chunk")),c&&(this.emit("error",c),a.nextTick(l,c),u=!1),u))&&(g.pendingcb++,b=function(e,t,r,n,i,a){if(!r){var s,o,h=(s=n,o=i,t.objectMode||!1===t.decodeStrings||"string"!=typeof s||(s=f.from(s,o)),s);n!==h&&(r=!0,i="buffer",n=h)}var l=t.objectMode?1:n.length;t.length+=l;var u=t.length<t.highWaterMark;if(u||(t.needDrain=!0),t.writing||t.corked){var d=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:a,next:null},d?d.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else y(e,t,!1,l,n,i,a);return u}(this,g,v,e,t,r)),b},b.prototype.cork=function(){var e=this._writableState;e.corked++},b.prototype.uncork=function(){var e=this._writableState;!e.corked||(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||w(this,e))},b.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(b.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),b.prototype._write=function(e,t,r){r(Error("_write() is not implemented"))},b.prototype._writev=null,b.prototype.end=function(e,t,r){var n,i=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||(n=r,i.ending=!0,_(this,i),n&&(i.finished?a.nextTick(n):this.once("finish",n)),i.ended=!0,this.writable=!1)},Object.defineProperty(b.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),b.prototype.destroy=c.destroy,b.prototype._undestroy=c.undestroy,b.prototype._destroy=function(e,t){this.end(),t(e)}},6803:(e,t,r)=>{"use strict";var n=r(9565).Buffer,i=r(153);e.exports=function(){function e(){(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);for(var t=n.allocUnsafe(e>>>0),r=this.head,i=0;r;)(function(e,t,r){e.copy(t,r)})(r.data,t,i),i+=r.data.length,r=r.next;return t},e}(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},3981:(e,t,r)=>{"use strict";var n=r(5959);function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var r=this,a=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return a||s?t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(i,this,e)):n.nextTick(i,this,e)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?r._writableState?r._writableState.errorEmitted||(r._writableState.errorEmitted=!0,n.nextTick(i,r,e)):n.nextTick(i,r,e):t&&t(e)})),this},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},4038:(e,t,r)=>{e.exports=r(6162)},9783:(e,t,r)=>{var n=r(6162);"disable"===process.env.READABLE_STREAM&&n?(e.exports=n,(t=e.exports=n.Readable).Readable=n.Readable,t.Writable=n.Writable,t.Duplex=n.Duplex,t.Transform=n.Transform,t.PassThrough=n.PassThrough,t.Stream=n):((t=e.exports=r(5505)).Stream=n||t,t.Readable=t,t.Writable=r(9691),t.Duplex=r(8562),t.Transform=r(515),t.PassThrough=r(360))},9565:(e,t,r)=>{var n=r(8893),i=n.Buffer;function a(e,t){for(var r in e)t[r]=e[r]}function s(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(a(n,t),t.Buffer=s),a(i,s),s.from=function(e,t,r){if("number"==typeof e)throw TypeError("Argument must not be a number");return i(e,t,r)},s.alloc=function(e,t,r){if("number"!=typeof e)throw TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},s.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return i(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return n.SlowBuffer(e)}},1038:(e,t,r)=>{var n=r(8893).Buffer,i=n.isEncoding||function(e){switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},a=t.s=function(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),function(e){if(e&&!i(e))throw Error("Unknown encoding: "+e)}(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=o;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=h;break;default:this.write=s;return}this.charBuffer=new n(6),this.charReceived=0,this.charLength=0};function s(e){return e.toString(this.encoding)}function o(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function h(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}a.prototype.write=function(e){for(var t="";this.charLength;){var r=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,r),this.charReceived+=r,this.charReceived<this.charLength)return"";e=e.slice(r,e.length);var n=(t=this.charBuffer.slice(0,this.charLength).toString(this.encoding)).charCodeAt(t.length-1);if(n>=55296&&n<=56319){this.charLength+=this.surrogateSize,t="";continue}if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.detectIncompleteChar(e);var i=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,i),i-=this.charReceived);var i=(t+=e.toString(this.encoding,0,i)).length-1,n=t.charCodeAt(i);if(n>=55296&&n<=56319){var a=this.surrogateSize;return this.charLength+=a,this.charReceived+=a,this.charBuffer.copy(this.charBuffer,a,0,a),e.copy(this.charBuffer,0,0,a),t.substring(0,i)}return t},a.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var r=e[e.length-t];if(1==t&&r>>5==6){this.charLength=2;break}if(t<=2&&r>>4==14){this.charLength=3;break}if(t<=3&&r>>3==30){this.charLength=4;break}}this.charReceived=t},a.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var r=this.charReceived,n=this.charBuffer,i=this.encoding;t+=n.slice(0,r).toString(i)}return t}},3625:(e,t,r)=>{"use strict";var n=r(9565).Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function a(e){var t;switch(this.encoding=function(e){var t=function(e){var t;if(!e)return"utf8";for(;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===i||!i(e)))throw Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=h,this.end=l,t=4;break;case"utf8":this.fillLast=o,t=4;break;case"base64":this.text=u,this.end=f,t=3;break;default:this.write=d,this.end=c;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function s(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function o(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if((192&t[0])!=128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"�"}}(this,e,0);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function h(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function u(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function c(e){return e&&e.length?this.write(e):""}t.s=a,a.prototype.write=function(e){var t,r;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},a.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},a.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var i=s(t[n]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--n<r||-2===i?0:(i=s(t[n]))>=0?(i>0&&(e.lastNeed=i-2),i):--n<r||-2===i?0:(i=s(t[n]))>=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},a.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},4428:(e,t,r)=>{var n=r(6162);function i(e,t,r){e=e||function(e){this.queue(e)},t=t||function(){this.queue(null)};var i=!1,a=!1,s=[],o=!1,h=new n;function l(){for(;s.length&&!h.paused;){var e=s.shift();if(null===e)return h.emit("end");h.emit("data",e)}}return h.readable=h.writable=!0,h.paused=!1,h.autoDestroy=!(r&&!1===r.autoDestroy),h.write=function(t){return e.call(this,t),!h.paused},h.queue=h.push=function(e){return o||(null===e&&(o=!0),s.push(e),l()),h},h.on("end",function(){h.readable=!1,!h.writable&&h.autoDestroy&&process.nextTick(function(){h.destroy()})}),h.end=function(e){if(!i)return i=!0,arguments.length&&h.write(e),h.writable=!1,t.call(h),!h.readable&&h.autoDestroy&&h.destroy(),h},h.destroy=function(){if(!a)return a=!0,i=!0,s.length=0,h.writable=h.readable=!1,h.emit("close"),h},h.pause=function(){if(!h.paused)return h.paused=!0,h},h.resume=function(){return h.paused&&(h.paused=!1,h.emit("resume")),l(),h.paused||h.emit("drain"),h},h}t=e.exports=i,i.through=i}};
|
|
1
|
+
exports.id=81,exports.ids=[81],exports.modules={40081:(e,t,r)=>{"use strict";r.d(t,{default:()=>u});var n=r(34428),i=r.n(n),a=r(11012),s=r.n(a),o=r(52098),h=r.n(o);function l(e,t,r,n){return'<style data-emotion="'+e+" "+t+'"'+n+">"+r+"</style>"}function u(e){!0!==e.compat&&(e.compat=!0);var t=void 0!==e.nonce?' nonce="'+e.nonce+'"':"";return{extractCritical:function(t){for(var r,n=RegExp(e.key+"-([a-zA-Z0-9-_]+)","gm"),i={html:t,ids:[],css:""},a={};null!==(r=n.exec(t));)void 0===a[r[1]]&&(a[r[1]]=!0);return i.ids=Object.keys(e.inserted).filter(function(t){if((void 0!==a[t]||void 0===e.registered[e.key+"-"+t])&&!0!==e.inserted[t])return i.css+=e.inserted[t],!0}),i},extractCriticalToChunks:function(t){for(var r,n=RegExp(e.key+"-([a-zA-Z0-9-_]+)","gm"),i={html:t,styles:[]},a={};null!==(r=n.exec(t));)void 0===a[r[1]]&&(a[r[1]]=!0);var s=[],o="";return Object.keys(e.inserted).forEach(function(t){(void 0!==a[t]||void 0===e.registered[e.key+"-"+t])&&!0!==e.inserted[t]&&(e.registered[e.key+"-"+t]?(s.push(t),o+=e.inserted[t]):i.styles.push({key:e.key+"-global",ids:[t],css:e.inserted[t]}))}),i.styles.push({key:e.key,ids:s,css:o}),i},renderStylesToString:function(r){var n,i=e.inserted,a=e.key,s=e.registered,o=RegExp("<|"+a+"-([a-zA-Z0-9-_]+)","gm"),h={},u="",f="",d="";for(var c in i)if(i.hasOwnProperty(c)){var p=i[c],g=a+"-"+c;!0!==p&&void 0===s[g]&&(d+=p,f+=" "+c)}""!==d&&(u=l(a,f.substring(1),d,t));for(var b="",y="",v=0;null!==(n=o.exec(r));){if("<"===n[0]){""!==b&&(u+=l(a,b.substring(1),y,t),b="",y=""),u+=r.substring(v,n.index),v=n.index;continue}var w=n[1],m=i[w];!0===m||void 0===m||h[w]||(h[w]=!0,y+=m,b+=" "+w)}return u+r.substring(v)},renderStylesToNodeStream:function(){var r={},n=s()(),a=i()(function(n){var i=n[0],a=n[1];if("open"===i){for(var s,o="",h={},l=a.toString(),u=RegExp(e.key+"-([a-zA-Z0-9-_]+)","gm");null!==(s=u.exec(l));)null!==s&&void 0===r[s[1]]&&(h[s[1]]=!0);Object.keys(e.inserted).forEach(function(t){!0!==e.inserted[t]&&void 0===r[t]&&(!0===h[t]||void 0===e.registered[e.key+"-"+t]&&(h[t]=!0))&&(r[t]=!0,o+=e.inserted[t])}),""!==o&&this.queue('<style data-emotion="'+e.key+" "+Object.keys(h).join(" ")+'"'+t+">"+o+"</style>")}this.queue(a)},function(){this.queue(null)});return h()(n,a)},constructStyleTagsFromChunks:function(e){var r="";return e.styles.forEach(function(e){r+=l(e.key,e.ids.join(" "),e.css,t)}),r}}}},34927:e=>{var t=Object.prototype.toString,r="function"==typeof Buffer.alloc&&"function"==typeof Buffer.allocUnsafe&&"function"==typeof Buffer.from;e.exports=function(e,n,i){if("number"==typeof e)throw TypeError('"value" argument must not be a number');return"ArrayBuffer"===t.call(e).slice(8,-1)?function(e,t,n){t>>>=0;var i=e.byteLength-t;if(i<0)throw RangeError("'offset' is out of bounds");if(void 0===n)n=i;else if((n>>>=0)>i)throw RangeError("'length' is out of bounds");return r?Buffer.from(e.slice(t,t+n)):new Buffer(new Uint8Array(e.slice(t,t+n)))}(e,n,i):"string"==typeof e?function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!Buffer.isEncoding(t))throw TypeError('"encoding" must be a valid string encoding');return r?Buffer.from(e,t):new Buffer(e,t)}(e,n):r?Buffer.from(e):new Buffer(e)}},93877:(e,t,r)=>{function n(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===n(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===n(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===n(e)},t.isError=function(e){return"[object Error]"===n(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(78893).Buffer.isBuffer},46550:(e,t,r)=>{"use strict";var n=r(29783);function i(e,t,r){void 0===r&&(r=t,t=e,e=null),n.Duplex.call(this,e),"function"!=typeof r.read&&(r=new n.Readable(e).wrap(r)),this._writable=t,this._readable=r,this._waiting=!1;var i=this;t.once("finish",function(){i.end()}),this.once("finish",function(){t.end()}),r.on("readable",function(){i._waiting&&(i._waiting=!1,i._read())}),r.once("end",function(){i.push(null)}),(!e||void 0===e.bubbleErrors||e.bubbleErrors)&&(t.on("error",function(e){i.emit("error",e)}),r.on("error",function(e){i.emit("error",e)}))}i.prototype=Object.create(n.Duplex.prototype,{constructor:{value:i}}),i.prototype._write=function(e,t,r){this._writable.write(e,t,r)},i.prototype._read=function(){for(var e,t=0;null!==(e=this._readable.read());)this.push(e),t++;0===t&&(this._waiting=!0)},e.exports=function(e,t,r){return new i(e,t,r)},e.exports.DuplexWrapper=i},11012:(e,t,r)=>{var n=r(34927),i=r(53959).Transform;r(40467)(h,i),e.exports=h;var a={lt:60,gt:62,slash:47,dquote:34,squote:39,equal:61},s={endScript:n("</script"),endStyle:n("</style"),endTitle:n("</title"),comment:n("<!--"),endComment:n("-->"),cdata:n("<![CDATA["),endCdata:n("]]>")},o={TagNameState:1,AttributeNameState:2,BeforeAttributeValueState:3,AttributeValueState:4};function h(){if(!(this instanceof h))return new h;i.call(this),this._readableState.objectMode=!0,this.state="text",this.tagState=null,this.quoteState=null,this.raw=null,this.buffers=[],this._last=[]}function l(e,t){if(e.length<t.length)return!1;for(var r=e.length-1,n=t.length-1;r>=0&&n>=0;r--,n--)if(u(e[r])!==u(t[n]))return!1;return!0}function u(e){return e>=65&&e<=90?e+32:e}function f(e){return 32===e||9===e||10===e||12===e||13===e}h.prototype._transform=function(e,t,r){var n=0,i=0;for(this._prev&&(e=Buffer.concat([this._prev,e]),n=this._prev.length-1,i=this._offset,this._prev=null,this._offset=0);n<e.length;n++){var h=e[n];if(this._last.push(h),this._last.length>9&&this._last.shift(),this.raw){var u=this._testRaw(e,i,n);u&&(this.push(["text",u[0]]),this.raw===s.endComment||this.raw===s.endCdata?(this.state="text",this.buffers=[],this.push(["close",u[1]])):(this.state="open",this.buffers=[u[1]]),this.raw=null,i=n+1)}else if("text"===this.state&&h===a.lt&&n===e.length-1)return this._prev=e,this._offset=i,r();else if("text"!==this.state||h!==a.lt||f(e[n+1])){if(this.tagState===o.TagNameState&&f(h))this.tagState=o.AttributeNameState;else if(this.tagState===o.AttributeNameState&&h===a.equal)this.tagState=o.BeforeAttributeValueState;else if(this.tagState===o.BeforeAttributeValueState&&f(h));else if(this.tagState===o.BeforeAttributeValueState&&h!==a.gt)this.tagState=o.AttributeValueState,h===a.dquote?this.quoteState="double":h===a.squote?this.quoteState="single":this.quoteState=null;else if(this.tagState===o.AttributeValueState&&!this.quoteState&&f(h))this.tagState=o.AttributeNameState;else if(this.tagState===o.AttributeValueState&&"double"===this.quoteState&&h===a.dquote)this.quoteState=null,this.tagState=o.AttributeNameState;else if(this.tagState===o.AttributeValueState&&"single"===this.quoteState&&h===a.squote)this.quoteState=null,this.tagState=o.AttributeNameState;else if("open"!==this.state||h!==a.gt||this.quoteState)"open"===this.state&&l(this._last,s.comment)?(this.buffers.push(e.slice(i,n+1)),i=n+1,this.state="text",this.raw=s.endComment,this._pushState("open")):"open"===this.state&&l(this._last,s.cdata)&&(this.buffers.push(e.slice(i,n+1)),i=n+1,this.state="text",this.raw=s.endCdata,this._pushState("open"));else if(this.buffers.push(e.slice(i,n+1)),i=n+1,this.state="text",this.tagState=null,this._getChar(1)===a.slash)this._pushState("close");else{var d=this._getTag();"script"===d&&(this.raw=s.endScript),"style"===d&&(this.raw=s.endStyle),"title"===d&&(this.raw=s.endTitle),this._pushState("open")}}else n>0&&n-i>0&&this.buffers.push(e.slice(i,n)),i=n,this.state="open",this.tagState=o.TagNameState,this._pushState("text")}i<e.length&&this.buffers.push(e.slice(i)),r()},h.prototype._flush=function(e){"text"===this.state&&this._pushState("text"),this.push(null),e()},h.prototype._pushState=function(e){if(0!==this.buffers.length){var t=Buffer.concat(this.buffers);this.buffers=[],this.push([e,t])}},h.prototype._getChar=function(e){for(var t=0,r=0;r<this.buffers.length;r++){var n=this.buffers[r];if(t+n.length>e)return n[e-t];t+=n}},h.prototype._getTag=function(){for(var e=0,t="",r=0;r<this.buffers.length;r++){for(var n=this.buffers[r],i=0;i<n.length;i++)if(0!==e||0!==i){var a=String.fromCharCode(n[i]);if(/[^\w-!\[\]]/.test(a))return t.toLowerCase();t+=a}e+=n.length}},h.prototype._testRaw=function(e,t,r){var n=this.raw;if(l(this._last,n)){this.buffers.push(e.slice(t,r+1));var e=Buffer.concat(this.buffers),i=e.length-n.length;return[e.slice(0,i),e.slice(i)]}}},92525:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},72455:e=>{var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},52098:(e,t,r)=>{var n=r(46550),i=r(76162).PassThrough,a=r(76162).PassThrough,s=r(58417),o=[].slice,h={bubbleErrors:!1,objectMode:!0};e.exports=function(e,t,r){Array.isArray(e)||(e=o.call(arguments),t=null,r=null);var l,u=e[e.length-1];"function"==typeof u&&(r=e.splice(-1)[0],u=e[e.length-1]),"object"==typeof u&&"function"!=typeof u.pipe&&(t=e.splice(-1)[0]);var f=e[0],d=e[e.length-1];if(t=s({},h,t),!f)return r&&process.nextTick(r),new i(t);if(l=f.writable&&d.readable?n(t,f,d):1==e.length?new a(t).wrap(e[0]):f.writable?f:d.readable?d:new i(t),e.forEach(function(t,r){var n=e[r+1];n&&t.pipe(n),t!=l&&t.on("error",l.emit.bind(l,"error"))}),r){var c=!1;function p(e){c||(c=!0,r(e))}l.on("error",p),d.on("finish",function(){p()}),d.on("close",function(){p()})}return l}},58417:e=>{"use strict";var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;e.exports=!function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==n.join(""))return!1;var i={};if("abcdefghijklmnopqrst".split("").forEach(function(e){i[e]=e}),"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},i)).join(""))return!1;return!0}catch(e){return!1}}()?function(e,i){for(var a,s,o=function(e){if(null==e)throw TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),h=1;h<arguments.length;h++){for(var l in a=Object(arguments[h]))r.call(a,l)&&(o[l]=a[l]);if(t){s=t(a);for(var u=0;u<s.length;u++)n.call(a,s[u])&&(o[s[u]]=a[s[u]])}}return o}:Object.assign},35959:e=>{"use strict";"undefined"!=typeof process&&process.version&&0!==process.version.indexOf("v0.")&&(0!==process.version.indexOf("v1.")||0===process.version.indexOf("v1.8."))?e.exports=process:e.exports={nextTick:function(e,t,r,n){if("function"!=typeof e)throw TypeError('"callback" argument must be a function');var i,a,s=arguments.length;switch(s){case 0:case 1:return process.nextTick(e);case 2:return process.nextTick(function(){e.call(null,t)});case 3:return process.nextTick(function(){e.call(null,t,r)});case 4:return process.nextTick(function(){e.call(null,t,r,n)});default:for(i=Array(s-1),a=0;a<i.length;)i[a++]=arguments[a];return process.nextTick(function(){e.apply(null,i)})}}}},6862:(e,t,r)=>{e.exports=o;var n=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t},i=r(93877);i.inherits=r(40467);var a=r(17179),s=r(95901);function o(e){if(!(this instanceof o))return new o(e);a.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",h)}function h(){this.allowHalfOpen||this._writableState.ended||process.nextTick(this.end.bind(this))}i.inherits(o,a),function(e,t){for(var r=0,n=e.length;r<n;r++)t(e[r],r)}(n(s.prototype),function(e){o.prototype[e]||(o.prototype[e]=s.prototype[e])})},44683:(e,t,r)=>{e.exports=a;var n=r(31805),i=r(93877);function a(e){if(!(this instanceof a))return new a(e);n.call(this,e)}i.inherits=r(40467),i.inherits(a,n),a.prototype._transform=function(e,t,r){r(null,e)}},17179:(e,t,r)=>{e.exports=u;var n,i=r(92525),a=r(78893).Buffer;u.ReadableState=l;var s=r(17702).EventEmitter;s.listenerCount||(s.listenerCount=function(e,t){return e.listeners(t).length});var o=r(76162),h=r(93877);function l(e,t){var i=(e=e||{}).highWaterMark;this.highWaterMark=i||0===i?i:16384,this.highWaterMark=~~this.highWaterMark,this.buffer=[],this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=!1,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.calledRead=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.objectMode=!!e.objectMode,this.defaultEncoding=e.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(n||(n=r(41038).s),this.decoder=new n(e.encoding),this.encoding=e.encoding)}function u(e){if(!(this instanceof u))return new u(e);this._readableState=new l(e,this),this.readable=!0,o.call(this)}function f(e,t,r,n,i){var s=(o=r,h=null,a.isBuffer(o)||"string"==typeof o||null==o||t.objectMode||(h=TypeError("Invalid non-string/buffer chunk")),h);if(s)e.emit("error",s);else if(null==r)t.reading=!1,t.ended||function(e,t){if(t.decoder&&!t.ended){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.length>0?c(e):w(e)}(e,t);else if(t.objectMode||r&&r.length>0){if(t.ended&&!i){var o,h,l=Error("stream.push() after EOF");e.emit("error",l)}else if(t.endEmitted&&i){var l=Error("stream.unshift() after end event");e.emit("error",l)}else!t.decoder||i||n||(r=t.decoder.write(r)),t.length+=t.objectMode?1:r.length,i?t.buffer.unshift(r):(t.reading=!1,t.buffer.push(r)),t.needReadable&&c(e),t.readingMore||(t.readingMore=!0,process.nextTick(function(){(function(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(e.read(0),r!==t.length);)r=t.length;t.readingMore=!1})(e,t)}))}else i||(t.reading=!1);return!t.ended&&(t.needReadable||t.length<t.highWaterMark||0===t.length)}function d(e,t){return 0===t.length&&t.ended?0:t.objectMode?0===e?0:1:null===e||isNaN(e)?t.flowing&&t.buffer.length?t.buffer[0].length:t.length:e<=0?0:(e>t.highWaterMark&&(t.highWaterMark=function(e){if(e>=8388608)e=8388608;else{e--;for(var t=1;t<32;t<<=1)e|=e>>t;e++}return e}(e)),e>t.length)?t.ended?t.length:(t.needReadable=!0,0):e}function c(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,t.sync?process.nextTick(function(){p(e)}):p(e))}function p(e){e.emit("readable")}function g(e){var t,r=e._readableState;function n(e,n,i){!1===e.write(t)&&r.awaitDrain++}for(r.awaitDrain=0;r.pipesCount&&null!==(t=e.read());)if(1===r.pipesCount?n(r.pipes,0,null):m(r.pipes,n),e.emit("data",t),r.awaitDrain>0)return;if(0===r.pipesCount){r.flowing=!1,s.listenerCount(e,"data")>0&&y(e);return}r.ranOut=!0}function b(){this._readableState.ranOut&&(this._readableState.ranOut=!1,g(this))}function y(e,t){if(e._readableState.flowing)throw Error("Cannot switch to old mode now.");var r=t||!1,n=!1;e.readable=!0,e.pipe=o.prototype.pipe,e.on=e.addListener=o.prototype.on,e.on("readable",function(){var t;for(n=!0;!r&&null!==(t=e.read());)e.emit("data",t);null===t&&(n=!1,e._readableState.needReadable=!0)}),e.pause=function(){r=!0,this.emit("pause")},e.resume=function(){r=!1,n?process.nextTick(function(){e.emit("readable")}):this.read(0),this.emit("resume")},e.emit("readable")}function v(e,t){var r,n=t.buffer,i=t.length,s=!!t.decoder,o=!!t.objectMode;if(0===n.length)return null;if(0===i)r=null;else if(o)r=n.shift();else if(!e||e>=i)r=s?n.join(""):a.concat(n,i),n.length=0;else if(e<n[0].length){var h=n[0];r=h.slice(0,e),n[0]=h.slice(e)}else if(e===n[0].length)r=n.shift();else{r=s?"":new a(e);for(var l=0,u=0,f=n.length;u<f&&l<e;u++){var h=n[0],d=Math.min(e-l,h.length);s?r+=h.slice(0,d):h.copy(r,l,0,d),d<h.length?n[0]=h.slice(d):n.shift(),l+=d}}return r}function w(e){var t=e._readableState;if(t.length>0)throw Error("endReadable called on non-empty stream");!t.endEmitted&&t.calledRead&&(t.ended=!0,process.nextTick(function(){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}))}function m(e,t){for(var r=0,n=e.length;r<n;r++)t(e[r],r)}h.inherits=r(40467),h.inherits(u,o),u.prototype.push=function(e,t){var r=this._readableState;return"string"!=typeof e||r.objectMode||(t=t||r.defaultEncoding)===r.encoding||(e=new a(e,t),t=""),f(this,r,e,t,!1)},u.prototype.unshift=function(e){return f(this,this._readableState,e,"",!0)},u.prototype.setEncoding=function(e){n||(n=r(41038).s),this._readableState.decoder=new n(e),this._readableState.encoding=e},u.prototype.read=function(e){var t,r=this._readableState;r.calledRead=!0;var n=e;if(("number"!=typeof e||e>0)&&(r.emittedReadable=!1),0===e&&r.needReadable&&(r.length>=r.highWaterMark||r.ended))return c(this),null;if(0===(e=d(e,r))&&r.ended)return t=null,r.length>0&&r.decoder&&(t=v(e,r),r.length-=t.length),0===r.length&&w(this),t;var i=r.needReadable;return r.length-e<=r.highWaterMark&&(i=!0),(r.ended||r.reading)&&(i=!1),i&&(r.reading=!0,r.sync=!0,0===r.length&&(r.needReadable=!0),this._read(r.highWaterMark),r.sync=!1),i&&!r.reading&&(e=d(n,r)),null===(t=e>0?v(e,r):null)&&(r.needReadable=!0,e=0),r.length-=e,0!==r.length||r.ended||(r.needReadable=!0),r.ended&&!r.endEmitted&&0===r.length&&w(this),t},u.prototype._read=function(e){this.emit("error",Error("not implemented"))},u.prototype.pipe=function(e,t){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e)}n.pipesCount+=1;var a=t&&!1===t.end||e===process.stdout||e===process.stderr?u:h;function o(e){e===r&&u()}function h(){e.end()}n.endEmitted?process.nextTick(a):r.once("end",a),e.on("unpipe",o);var l=function(){var e=r._readableState;e.awaitDrain--,0===e.awaitDrain&&g(r)};function u(){e.removeListener("close",d),e.removeListener("finish",c),e.removeListener("drain",l),e.removeListener("error",f),e.removeListener("unpipe",o),r.removeListener("end",h),r.removeListener("end",u),(!e._writableState||e._writableState.needDrain)&&l()}function f(t){p(),e.removeListener("error",f),0===s.listenerCount(e,"error")&&e.emit("error",t)}function d(){e.removeListener("finish",c),p()}function c(){e.removeListener("close",d),p()}function p(){r.unpipe(e)}return e.on("drain",l),e._events&&e._events.error?i(e._events.error)?e._events.error.unshift(f):e._events.error=[f,e._events.error]:e.on("error",f),e.once("close",d),e.once("finish",c),e.emit("pipe",r),n.flowing||(this.on("readable",b),n.flowing=!0,process.nextTick(function(){g(r)})),e},u.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,this.removeListener("readable",b),t.flowing=!1,e&&e.emit("unpipe",this)),this;if(!e){var r=t.pipes,n=t.pipesCount;t.pipes=null,t.pipesCount=0,this.removeListener("readable",b),t.flowing=!1;for(var i=0;i<n;i++)r[i].emit("unpipe",this);return this}var i=function(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return -1}(t.pipes,e);return -1===i||(t.pipes.splice(i,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this)),this},u.prototype.on=function(e,t){var r=o.prototype.on.call(this,e,t);if("data"!==e||this._readableState.flowing||y(this),"readable"===e&&this.readable){var n=this._readableState;!n.readableListening&&(n.readableListening=!0,n.emittedReadable=!1,n.needReadable=!0,n.reading?n.length&&c(this,n):this.read(0))}return r},u.prototype.addListener=u.prototype.on,u.prototype.resume=function(){y(this),this.read(0),this.emit("resume")},u.prototype.pause=function(){y(this,!0),this.emit("pause")},u.prototype.wrap=function(e){var t=this._readableState,r=!1,n=this;for(var i in e.on("end",function(){if(t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&n.push(e)}n.push(null)}),e.on("data",function(i){t.decoder&&(i=t.decoder.write(i)),(!t.objectMode||null!=i)&&(t.objectMode||i&&i.length)&&(n.push(i)||(r=!0,e.pause()))}),e)"function"==typeof e[i]&&void 0===this[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));return m(["error","close","destroy","pause","resume"],function(t){e.on(t,n.emit.bind(n,t))}),n._read=function(t){r&&(r=!1,e.resume())},n},u._fromList=v},31805:(e,t,r)=>{e.exports=s;var n=r(6862),i=r(93877);function a(e,t){this.afterTransform=function(e,r){return function(e,t,r){var n=e._transformState;n.transforming=!1;var i=n.writecb;if(!i)return e.emit("error",Error("no writecb in Transform class"));n.writechunk=null,n.writecb=null,null!=r&&e.push(r),i&&i(t);var a=e._readableState;a.reading=!1,(a.needReadable||a.length<a.highWaterMark)&&e._read(a.highWaterMark)}(t,e,r)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null}function s(e){if(!(this instanceof s))return new s(e);n.call(this,e),this._transformState=new a(e,this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,this.once("finish",function(){"function"==typeof this._flush?this._flush(function(e){o(t,e)}):o(t)})}function o(e,t){if(t)return e.emit("error",t);var r=e._writableState;e._readableState;var n=e._transformState;if(r.length)throw Error("calling transform done when ws.length != 0");if(n.transforming)throw Error("calling transform done when still transforming");return e.push(null)}i.inherits=r(40467),i.inherits(s,n),s.prototype.push=function(e,t){return this._transformState.needTransform=!1,n.prototype.push.call(this,e,t)},s.prototype._transform=function(e,t,r){throw Error("not implemented")},s.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},s.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0}},95901:(e,t,r)=>{e.exports=h;var n=r(78893).Buffer;h.WritableState=o;var i=r(93877);i.inherits=r(40467);var a=r(76162);function s(e,t,r){this.chunk=e,this.encoding=t,this.callback=r}function o(e,t){var r=(e=e||{}).highWaterMark;this.highWaterMark=r||0===r?r:16384,this.objectMode=!!e.objectMode,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var n=!1===e.decodeStrings;this.decodeStrings=!n,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){(function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(r.writing=!1,r.writecb=null,r.length-=r.writelen,r.writelen=0,t)n?process.nextTick(function(){i(t)}):i(t),e._writableState.errorEmitted=!0,e.emit("error",t);else{var a=f(e,r);a||r.bufferProcessing||!r.buffer.length||function(e,t){t.bufferProcessing=!0;for(var r=0;r<t.buffer.length;r++){var n=t.buffer[r],i=n.chunk,a=n.encoding,s=n.callback,o=t.objectMode?1:i.length;if(l(e,t,o,i,a,s),t.writing){r++;break}}t.bufferProcessing=!1,r<t.buffer.length?t.buffer=t.buffer.slice(r):t.buffer.length=0}(e,r),n?process.nextTick(function(){u(e,r,a,i)}):u(e,r,a,i)}})(t,e)},this.writecb=null,this.writelen=0,this.buffer=[],this.errorEmitted=!1}function h(e){var t=r(6862);if(!(this instanceof h)&&!(this instanceof t))return new h(e);this._writableState=new o(e,this),this.writable=!0,a.call(this)}function l(e,t,r,n,i,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,e._write(n,i,t.onwrite),t.sync=!1}function u(e,t,r,n){r||0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain")),n(),r&&d(e,t)}function f(e,t){return t.ending&&0===t.length&&!t.finished&&!t.writing}function d(e,t){var r=f(e,t);return r&&(t.finished=!0,e.emit("finish")),r}i.inherits(h,a),h.prototype.pipe=function(){this.emit("error",Error("Cannot pipe. Not readable."))},h.prototype.write=function(e,t,r){var i,a,o,h,u,f,d,c,p,g,b,y=this._writableState,v=!1;return("function"==typeof t&&(r=t,t=null),n.isBuffer(e)?t="buffer":t||(t=y.defaultEncoding),"function"!=typeof r&&(r=function(){}),y.ended)?(g=r,b=Error("write after end"),this.emit("error",b),process.nextTick(function(){g(b)})):function(e,t,r,i){var a=!0;if(!n.isBuffer(r)&&"string"!=typeof r&&null!=r&&!t.objectMode){var s=TypeError("Invalid non-string/buffer chunk");e.emit("error",s),process.nextTick(function(){i(s)}),a=!1}return a}(this,y,e,r)&&(i=this,a=y,o=e,h=t,u=r,f=o,d=h,a.objectMode||!1===a.decodeStrings||"string"!=typeof f||(f=new n(f,d)),o=f,n.isBuffer(o)&&(h="buffer"),c=a.objectMode?1:o.length,a.length+=c,(p=a.length<a.highWaterMark)||(a.needDrain=!0),a.writing?a.buffer.push(new s(o,h,u)):l(i,a,c,o,h,u),v=p),v},h.prototype._write=function(e,t,r){r(Error("not implemented"))},h.prototype.end=function(e,t,r){var n,i=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),i.ending||i.finished||(n=r,i.ending=!0,d(this,i),n&&(i.finished?process.nextTick(n):this.once("finish",n)),i.ended=!0)}},53959:(e,t,r)=>{var n=r(76162);(t=e.exports=r(17179)).Stream=n,t.Readable=t,t.Writable=r(95901),t.Duplex=r(6862),t.Transform=r(31805),t.PassThrough=r(44683),"disable"===process.env.READABLE_STREAM&&(e.exports=r(76162))},98562:(e,t,r)=>{"use strict";var n=r(35959),i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=f;var a=Object.create(r(93877));a.inherits=r(40467);var s=r(35505),o=r(9691);a.inherits(f,s);for(var h=i(o.prototype),l=0;l<h.length;l++){var u=h[l];f.prototype[u]||(f.prototype[u]=o.prototype[u])}function f(e){if(!(this instanceof f))return new f(e);s.call(this,e),o.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",d)}function d(){this.allowHalfOpen||this._writableState.ended||n.nextTick(c,this)}function c(e){e.end()}Object.defineProperty(f.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(f.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),f.prototype._destroy=function(e,t){this.push(null),this.end(),n.nextTick(t,e)}},50360:(e,t,r)=>{"use strict";e.exports=a;var n=r(515),i=Object.create(r(93877));function a(e){if(!(this instanceof a))return new a(e);n.call(this,e)}i.inherits=r(40467),i.inherits(a,n),a.prototype._transform=function(e,t,r){r(null,e)}},35505:(e,t,r)=>{"use strict";var n,i,a=r(35959);e.exports=v;var s=r(72455);v.ReadableState=y,r(17702).EventEmitter;var o=function(e,t){return e.listeners(t).length},h=r(14038),l=r(69565).Buffer,u=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},f=Object.create(r(93877));f.inherits=r(40467);var d=r(21764),c=void 0;c=d&&d.debuglog?d.debuglog("stream"):function(){};var p=r(96803),g=r(93981);f.inherits(v,h);var b=["error","close","destroy","pause","resume"];function y(e,t){n=n||r(98562),e=e||{};var a=t instanceof n;this.objectMode=!!e.objectMode,a&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var s=e.highWaterMark,o=e.readableHighWaterMark,h=this.objectMode?16:16384;s||0===s?this.highWaterMark=s:a&&(o||0===o)?this.highWaterMark=o:this.highWaterMark=h,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(i||(i=r(63625).s),this.decoder=new i(e.encoding),this.encoding=e.encoding)}function v(e){if(n=n||r(98562),!(this instanceof v))return new v(e);this._readableState=new y(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),h.call(this)}function w(e,t,r,n,i){var a,s,o,h,f,d=e._readableState;return null===t?(d.reading=!1,function(e,t){if(!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,_(e)}}(e,d)):(i||(a=d,s=t,l.isBuffer(s)||s instanceof u||"string"==typeof s||void 0===s||a.objectMode||(o=TypeError("Invalid non-string/buffer chunk")),f=o),f)?e.emit("error",f):d.objectMode||t&&t.length>0?("string"==typeof t||d.objectMode||Object.getPrototypeOf(t)===l.prototype||(h=t,t=l.from(h)),n?d.endEmitted?e.emit("error",Error("stream.unshift() after end event")):m(e,d,t,!0):d.ended?e.emit("error",Error("stream.push() after EOF")):(d.reading=!1,d.decoder&&!r?(t=d.decoder.write(t),d.objectMode||0!==t.length?m(e,d,t,!1):x(e,d)):m(e,d,t,!1))):n||(d.reading=!1),!d.ended&&(d.needReadable||d.length<d.highWaterMark||0===d.length)}function m(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&_(e)),x(e,t)}function S(e,t){if(e<=0||0===t.length&&t.ended)return 0;if(t.objectMode)return 1;if(e!=e)return t.flowing&&t.length?t.buffer.head.data.length:t.length;if(e>t.highWaterMark){var r;t.highWaterMark=((r=e)>=8388608?r=8388608:(r--,r|=r>>>1,r|=r>>>2,r|=r>>>4,r|=r>>>8,r|=r>>>16,r++),r)}return e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0)}function _(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(c("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?a.nextTick(k,e):k(e))}function k(e){c("emit readable"),e.emit("readable"),j(e)}function x(e,t){t.readingMore||(t.readingMore=!0,a.nextTick(E,e,t))}function E(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(c("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function M(e){c("readable nexttick read 0"),e.read(0)}function R(e,t){t.reading||(c("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),j(e),t.flowing&&!t.reading&&e.read(0)}function j(e){var t=e._readableState;for(c("flow",t.flowing);t.flowing&&null!==e.read(););}function T(e,t){var r,n,i,a;return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):(n=t.buffer,i=t.decoder,e<n.head.data.length?(a=n.head.data.slice(0,e),n.head.data=n.head.data.slice(e)):a=e===n.head.data.length?n.shift():i?function(e,t){var r=t.head,n=1,i=r.data;for(e-=i.length;r=r.next;){var a=r.data,s=e>a.length?a.length:e;if(s===a.length?i+=a:i+=a.slice(0,e),0==(e-=s)){s===a.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=a.slice(s));break}++n}return t.length-=n,i}(e,n):function(e,t){var r=l.allocUnsafe(e),n=t.head,i=1;for(n.data.copy(r),e-=n.data.length;n=n.next;){var a=n.data,s=e>a.length?a.length:e;if(a.copy(r,r.length-e,0,s),0==(e-=s)){s===a.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=a.slice(s));break}++i}return t.length-=i,r}(e,n),r=a),r)}function C(e){var t=e._readableState;if(t.length>0)throw Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,a.nextTick(O,t,e))}function O(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function L(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return -1}Object.defineProperty(v.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),v.prototype.destroy=g.destroy,v.prototype._undestroy=g.undestroy,v.prototype._destroy=function(e,t){this.push(null),t(e)},v.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=l.from(e,t),t=""),r=!0),w(this,e,t,!1,r)},v.prototype.unshift=function(e){return w(this,e,null,!0,!1)},v.prototype.isPaused=function(){return!1===this._readableState.flowing},v.prototype.setEncoding=function(e){return i||(i=r(63625).s),this._readableState.decoder=new i(e),this._readableState.encoding=e,this},v.prototype.read=function(e){c("read",e),e=parseInt(e,10);var t,r=this._readableState,n=e;if(0!==e&&(r.emittedReadable=!1),0===e&&r.needReadable&&(r.length>=r.highWaterMark||r.ended))return c("read: emitReadable",r.length,r.ended),0===r.length&&r.ended?C(this):_(this),null;if(0===(e=S(e,r))&&r.ended)return 0===r.length&&C(this),null;var i=r.needReadable;return c("need readable",i),(0===r.length||r.length-e<r.highWaterMark)&&c("length less than watermark",i=!0),r.ended||r.reading?c("reading or ended",i=!1):i&&(c("do read"),r.reading=!0,r.sync=!0,0===r.length&&(r.needReadable=!0),this._read(r.highWaterMark),r.sync=!1,r.reading||(e=S(n,r))),null===(t=e>0?T(e,r):null)?(r.needReadable=!0,e=0):r.length-=e,0===r.length&&(r.ended||(r.needReadable=!0),n!==e&&r.ended&&C(this)),null!==t&&this.emit("data",t),t},v.prototype._read=function(e){this.emit("error",Error("_read() is not implemented"))},v.prototype.pipe=function(e,t){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e)}n.pipesCount+=1,c("pipe count=%d opts=%j",n.pipesCount,t);var i=t&&!1===t.end||e===process.stdout||e===process.stderr?y:h;function h(){c("onend"),e.end()}n.endEmitted?a.nextTick(i):r.once("end",i),e.on("unpipe",function t(i,a){c("onunpipe"),i===r&&a&&!1===a.hasUnpiped&&(a.hasUnpiped=!0,c("cleanup"),e.removeListener("close",g),e.removeListener("finish",b),e.removeListener("drain",l),e.removeListener("error",p),e.removeListener("unpipe",t),r.removeListener("end",h),r.removeListener("end",y),r.removeListener("data",d),u=!0,n.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&l())});var l=function(){var e=r._readableState;c("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&o(r,"data")&&(e.flowing=!0,j(r))};e.on("drain",l);var u=!1,f=!1;function d(t){c("ondata"),f=!1,!1!==e.write(t)||f||((1===n.pipesCount&&n.pipes===e||n.pipesCount>1&&-1!==L(n.pipes,e))&&!u&&(c("false write response, pause",n.awaitDrain),n.awaitDrain++,f=!0),r.pause())}function p(t){c("onerror",t),y(),e.removeListener("error",p),0===o(e,"error")&&e.emit("error",t)}function g(){e.removeListener("finish",b),y()}function b(){c("onfinish"),e.removeListener("close",g),y()}function y(){c("unpipe"),r.unpipe(e)}return r.on("data",d),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?s(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",p),e.once("close",g),e.once("finish",b),e.emit("pipe",r),n.flowing||(c("pipe resume"),r.resume()),e},v.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)n[a].emit("unpipe",this,{hasUnpiped:!1});return this}var s=L(t.pipes,e);return -1===s||(t.pipes.splice(s,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},v.prototype.on=function(e,t){var r=h.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&_(this):a.nextTick(M,this))}return r},v.prototype.addListener=v.prototype.on,v.prototype.resume=function(){var e=this._readableState;return e.flowing||(c("resume"),e.flowing=!0,e.resumeScheduled||(e.resumeScheduled=!0,a.nextTick(R,this,e))),this},v.prototype.pause=function(){return c("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(c("pause"),this._readableState.flowing=!1,this.emit("pause")),this},v.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",function(){if(c("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(i){c("wrapped data"),r.decoder&&(i=r.decoder.write(i)),(!r.objectMode||null!=i)&&(r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause()))}),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var a=0;a<b.length;a++)e.on(b[a],this.emit.bind(this,b[a]));return this._read=function(t){c("wrapped _read",t),n&&(n=!1,e.resume())},this},Object.defineProperty(v.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),v._fromList=T},515:(e,t,r)=>{"use strict";e.exports=s;var n=r(98562),i=Object.create(r(93877));function a(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function s(e){if(!(this instanceof s))return new s(e);n.call(this,e),this._transformState={afterTransform:a.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",o)}function o(){var e=this;"function"==typeof this._flush?this._flush(function(t,r){h(e,t,r)}):h(this,null,null)}function h(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw Error("Calling transform done when still transforming");return e.push(null)}i.inherits=r(40467),i.inherits(s,n),s.prototype.push=function(e,t){return this._transformState.needTransform=!1,n.prototype.push.call(this,e,t)},s.prototype._transform=function(e,t,r){throw Error("_transform() is not implemented")},s.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},s.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},s.prototype._destroy=function(e,t){var r=this;n.prototype._destroy.call(this,e,function(e){t(e),r.emit("close")})}},9691:(e,t,r)=>{"use strict";var n,i,a=r(35959);function s(e){var t=this;this.next=null,this.entry=null,this.finish=function(){(function(e,t,r){var n=e.entry;for(e.entry=null;n;){var i=n.callback;t.pendingcb--,i(void 0),n=n.next}t.corkedRequestsFree.next=e})(t,e)}}e.exports=b;var o=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:a.nextTick;b.WritableState=g;var h=Object.create(r(93877));h.inherits=r(40467);var l={deprecate:r(94173)},u=r(14038),f=r(69565).Buffer,d=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},c=r(93981);function p(){}function g(e,t){n=n||r(98562),e=e||{};var i=t instanceof n;this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var h=e.highWaterMark,l=e.writableHighWaterMark,u=this.objectMode?16:16384;h||0===h?this.highWaterMark=h:i&&(l||0===l)?this.highWaterMark=l:this.highWaterMark=u,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var f=!1===e.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){(function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(r.writing=!1,r.writecb=null,r.length-=r.writelen,r.writelen=0,t)--r.pendingcb,n?(a.nextTick(i,t),a.nextTick(_,e,r),e._writableState.errorEmitted=!0,e.emit("error",t)):(i(t),e._writableState.errorEmitted=!0,e.emit("error",t),_(e,r));else{var s=m(r);s||r.corked||r.bufferProcessing||!r.bufferedRequest||w(e,r),n?o(v,e,r,s,i):v(e,r,s,i)}})(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new s(this)}function b(e){if(n=n||r(98562),!i.call(b,this)&&!(this instanceof n))return new b(e);this._writableState=new g(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),u.call(this)}function y(e,t,r,n,i,a,s){t.writelen=n,t.writecb=s,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function v(e,t,r,n){r||0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain")),t.pendingcb--,n(),_(e,t)}function w(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=Array(t.bufferedRequestCount),i=t.corkedRequestsFree;i.entry=r;for(var a=0,o=!0;r;)n[a]=r,r.isBuf||(o=!1),r=r.next,a+=1;n.allBuffers=o,y(e,t,!0,t.length,n,"",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new s(t),t.bufferedRequestCount=0}else{for(;r;){var h=r.chunk,l=r.encoding,u=r.callback,f=t.objectMode?1:h.length;if(y(e,t,!1,f,h,l,u),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function m(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function S(e,t){e._final(function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),_(e,t)})}function _(e,t){var r=m(t);return r&&(t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,a.nextTick(S,e,t)):(t.prefinished=!0,e.emit("prefinish"))),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}h.inherits(b,u),g.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(g.prototype,"buffer",{get:l.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(i=Function.prototype[Symbol.hasInstance],Object.defineProperty(b,Symbol.hasInstance,{value:function(e){return!!i.call(this,e)||this===b&&e&&e._writableState instanceof g}})):i=function(e){return e instanceof this},b.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))},b.prototype.write=function(e,t,r){var n,i,s,o,h,l,u,c,g=this._writableState,b=!1,v=!g.objectMode&&(n=e,f.isBuffer(n)||n instanceof d);return v&&!f.isBuffer(e)&&(i=e,e=f.from(i)),("function"==typeof t&&(r=t,t=null),v?t="buffer":t||(t=g.defaultEncoding),"function"!=typeof r&&(r=p),g.ended)?(s=r,o=Error("write after end"),this.emit("error",o),a.nextTick(s,o)):(v||(h=e,l=r,u=!0,c=!1,null===h?c=TypeError("May not write null values to stream"):"string"==typeof h||void 0===h||g.objectMode||(c=TypeError("Invalid non-string/buffer chunk")),c&&(this.emit("error",c),a.nextTick(l,c),u=!1),u))&&(g.pendingcb++,b=function(e,t,r,n,i,a){if(!r){var s,o,h=(s=n,o=i,t.objectMode||!1===t.decodeStrings||"string"!=typeof s||(s=f.from(s,o)),s);n!==h&&(r=!0,i="buffer",n=h)}var l=t.objectMode?1:n.length;t.length+=l;var u=t.length<t.highWaterMark;if(u||(t.needDrain=!0),t.writing||t.corked){var d=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:a,next:null},d?d.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else y(e,t,!1,l,n,i,a);return u}(this,g,v,e,t,r)),b},b.prototype.cork=function(){var e=this._writableState;e.corked++},b.prototype.uncork=function(){var e=this._writableState;!e.corked||(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||w(this,e))},b.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(b.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),b.prototype._write=function(e,t,r){r(Error("_write() is not implemented"))},b.prototype._writev=null,b.prototype.end=function(e,t,r){var n,i=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||(n=r,i.ending=!0,_(this,i),n&&(i.finished?a.nextTick(n):this.once("finish",n)),i.ended=!0,this.writable=!1)},Object.defineProperty(b.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),b.prototype.destroy=c.destroy,b.prototype._undestroy=c.undestroy,b.prototype._destroy=function(e,t){this.end(),t(e)}},96803:(e,t,r)=>{"use strict";var n=r(69565).Buffer,i=r(21764);e.exports=function(){function e(){(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);for(var t=n.allocUnsafe(e>>>0),r=this.head,i=0;r;)(function(e,t,r){e.copy(t,r)})(r.data,t,i),i+=r.data.length,r=r.next;return t},e}(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},93981:(e,t,r)=>{"use strict";var n=r(35959);function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var r=this,a=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return a||s?t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(i,this,e)):n.nextTick(i,this,e)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?r._writableState?r._writableState.errorEmitted||(r._writableState.errorEmitted=!0,n.nextTick(i,r,e)):n.nextTick(i,r,e):t&&t(e)})),this},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},14038:(e,t,r)=>{e.exports=r(76162)},29783:(e,t,r)=>{var n=r(76162);"disable"===process.env.READABLE_STREAM&&n?(e.exports=n,(t=e.exports=n.Readable).Readable=n.Readable,t.Writable=n.Writable,t.Duplex=n.Duplex,t.Transform=n.Transform,t.PassThrough=n.PassThrough,t.Stream=n):((t=e.exports=r(35505)).Stream=n||t,t.Readable=t,t.Writable=r(9691),t.Duplex=r(98562),t.Transform=r(515),t.PassThrough=r(50360))},69565:(e,t,r)=>{var n=r(78893),i=n.Buffer;function a(e,t){for(var r in e)t[r]=e[r]}function s(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(a(n,t),t.Buffer=s),a(i,s),s.from=function(e,t,r){if("number"==typeof e)throw TypeError("Argument must not be a number");return i(e,t,r)},s.alloc=function(e,t,r){if("number"!=typeof e)throw TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},s.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return i(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return n.SlowBuffer(e)}},41038:(e,t,r)=>{var n=r(78893).Buffer,i=n.isEncoding||function(e){switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},a=t.s=function(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),function(e){if(e&&!i(e))throw Error("Unknown encoding: "+e)}(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=o;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=h;break;default:this.write=s;return}this.charBuffer=new n(6),this.charReceived=0,this.charLength=0};function s(e){return e.toString(this.encoding)}function o(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function h(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}a.prototype.write=function(e){for(var t="";this.charLength;){var r=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,r),this.charReceived+=r,this.charReceived<this.charLength)return"";e=e.slice(r,e.length);var n=(t=this.charBuffer.slice(0,this.charLength).toString(this.encoding)).charCodeAt(t.length-1);if(n>=55296&&n<=56319){this.charLength+=this.surrogateSize,t="";continue}if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.detectIncompleteChar(e);var i=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,i),i-=this.charReceived);var i=(t+=e.toString(this.encoding,0,i)).length-1,n=t.charCodeAt(i);if(n>=55296&&n<=56319){var a=this.surrogateSize;return this.charLength+=a,this.charReceived+=a,this.charBuffer.copy(this.charBuffer,a,0,a),e.copy(this.charBuffer,0,0,a),t.substring(0,i)}return t},a.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var r=e[e.length-t];if(1==t&&r>>5==6){this.charLength=2;break}if(t<=2&&r>>4==14){this.charLength=3;break}if(t<=3&&r>>3==30){this.charLength=4;break}}this.charReceived=t},a.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var r=this.charReceived,n=this.charBuffer,i=this.encoding;t+=n.slice(0,r).toString(i)}return t}},63625:(e,t,r)=>{"use strict";var n=r(69565).Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function a(e){var t;switch(this.encoding=function(e){var t=function(e){var t;if(!e)return"utf8";for(;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===i||!i(e)))throw Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=h,this.end=l,t=4;break;case"utf8":this.fillLast=o,t=4;break;case"base64":this.text=u,this.end=f,t=3;break;default:this.write=d,this.end=c;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function s(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function o(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if((192&t[0])!=128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"�"}}(this,e,0);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function h(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function u(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function c(e){return e&&e.length?this.write(e):""}t.s=a,a.prototype.write=function(e){var t,r;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},a.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},a.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var i=s(t[n]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--n<r||-2===i?0:(i=s(t[n]))>=0?(i>0&&(e.lastNeed=i-2),i):--n<r||-2===i?0:(i=s(t[n]))>=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},a.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},34428:(e,t,r)=>{var n=r(76162);function i(e,t,r){e=e||function(e){this.queue(e)},t=t||function(){this.queue(null)};var i=!1,a=!1,s=[],o=!1,h=new n;function l(){for(;s.length&&!h.paused;){var e=s.shift();if(null===e)return h.emit("end");h.emit("data",e)}}return h.readable=h.writable=!0,h.paused=!1,h.autoDestroy=!(r&&!1===r.autoDestroy),h.write=function(t){return e.call(this,t),!h.paused},h.queue=h.push=function(e){return o||(null===e&&(o=!0),s.push(e),l()),h},h.on("end",function(){h.readable=!1,!h.writable&&h.autoDestroy&&process.nextTick(function(){h.destroy()})}),h.end=function(e){if(!i)return i=!0,arguments.length&&h.write(e),h.writable=!1,t.call(h),!h.readable&&h.autoDestroy&&h.destroy(),h},h.destroy=function(){if(!a)return a=!0,i=!0,s.length=0,h.writable=h.readable=!1,h.emit("close"),h},h.pause=function(){if(!h.paused)return h.paused=!0,h},h.resume=function(){return h.paused&&(h.paused=!1,h.emit("resume")),l(),h.paused||h.emit("drain"),h},h}t=e.exports=i,i.through=i}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";exports.id=865,exports.ids=[865],exports.modules={95208:(e,t)=>{function r(e){return e.startsWith("/")?e:"/"+e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ensureLeadingSlash",{enumerable:!0,get:function(){return r}})},13409:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{normalizeAppPath:function(){return i},normalizeRscURL:function(){return s}});let n=r(95208),o=r(63019);function i(e){return(0,n.ensureLeadingSlash)(e.split("/").reduce((e,t,r,n)=>!t||(0,o.isGroupSegment)(t)||"@"===t[0]||("page"===t||"route"===t)&&r===n.length-1?e:e+"/"+t,""))}function s(e){return e.replace(/\.rsc($|\?)/,"$1")}},48251:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getSortedRoutes:function(){return n.getSortedRoutes},isDynamicRoute:function(){return o.isDynamicRoute}});let n=r(98969),o=r(75611)},75611:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return i}});let n=r(28791),o=/\/\[[^/]+?\](?=\/|$)/;function i(e){return(0,n.isInterceptionRouteAppPath)(e)&&(e=(0,n.extractInterceptionRouteInformation)(e).interceptedRoute),o.test(e)}},98969:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return n}});class r{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(e="/");let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let r=t.map(t=>this.children.get(t)._smoosh(""+e+t+"/")).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&r.push(...this.children.get("[]")._smoosh(e+"["+this.slugName+"]/")),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").');r.unshift(t)}return null!==this.restSlugName&&r.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&r.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),r}_insert(e,t,n){if(0===e.length){this.placeholder=!1;return}if(n)throw Error("Catch-all must be the last part of the URL.");let o=e[0];if(o.startsWith("[")&&o.endsWith("]")){let r=o.slice(1,-1),s=!1;if(r.startsWith("[")&&r.endsWith("]")&&(r=r.slice(1,-1),s=!0),r.startsWith("...")&&(r=r.substring(3),n=!0),r.startsWith("[")||r.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+r+"').");if(r.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+r+"').");function i(e,r){if(null!==e&&e!==r)throw Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+r+"').");t.forEach(e=>{if(e===r)throw Error('You cannot have the same slug name "'+r+'" repeat within a single dynamic path');if(e.replace(/\W/g,"")===o.replace(/\W/g,""))throw Error('You cannot have the slug names "'+e+'" and "'+r+'" differ only by non-word symbols within a single dynamic path')}),t.push(r)}if(n){if(s){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).');i(this.optionalRestSlugName,r),this.optionalRestSlugName=r,o="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+e[0]+'").');i(this.restSlugName,r),this.restSlugName=r,o="[...]"}}else{if(s)throw Error('Optional route parameters are not yet supported ("'+e[0]+'").');i(this.slugName,r),this.slugName=r,o="[]"}}this.children.has(o)||this.children.set(o,new r),this.children.get(o)._insert(e.slice(1),t,n)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function n(e){let t=new r;return e.forEach(e=>t.insert(e)),t.smoosh()}},63019:(e,t)=>{function r(e){return"("===e[0]&&e.endsWith(")")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DEFAULT_SEGMENT_KEY:function(){return o},PAGE_SEGMENT_KEY:function(){return n},isGroupSegment:function(){return r}});let n="__PAGE__",o="__DEFAULT__"},69974:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DecodeError:function(){return p},MiddlewareNotFoundError:function(){return _},MissingStaticPage:function(){return E},NormalizeError:function(){return m},PageNotFoundError:function(){return g},SP:function(){return f},ST:function(){return d},WEB_VITALS:function(){return r},execOnce:function(){return n},getDisplayName:function(){return a},getLocationOrigin:function(){return s},getURL:function(){return u},isAbsoluteUrl:function(){return i},isResSent:function(){return l},loadGetInitialProps:function(){return h},normalizeRepeatedSlashes:function(){return c},stringifyError:function(){return y}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return function(){for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return r||(r=!0,t=e(...o)),t}}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,i=e=>o.test(e);function s(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function u(){let{href:e}=window.location,t=s();return e.substring(t.length)}function a(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function l(e){return e.finished||e.headersSent}function c(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function h(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await h(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&l(r))return n;if(!n)throw Error('"'+a(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.');return n}let f="undefined"!=typeof performance,d=f&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class p extends Error{}class m extends Error{}class g extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class E extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class _ extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function y(e){return JSON.stringify({message:e.message,stack:e.stack})}},28791:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{INTERCEPTION_ROUTE_MARKERS:function(){return o},extractInterceptionRouteInformation:function(){return s},isInterceptionRouteAppPath:function(){return i}});let n=r(13409),o=["(..)(..)","(.)","(..)","(...)"];function i(e){return void 0!==e.split("/").find(e=>o.find(t=>e.startsWith(t)))}function s(e){let t,r,i;for(let n of e.split("/"))if(r=o.find(e=>n.startsWith(e))){[t,i]=e.split(r,2);break}if(!t||!r||!i)throw Error(`Invalid interception route: ${e}. Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>`);switch(t=(0,n.normalizeAppPath)(t),r){case"(.)":i="/"===t?`/${i}`:t+"/"+i;break;case"(..)":if("/"===t)throw Error(`Invalid interception route: ${e}. Cannot use (..) marker at the root level, use (.) instead.`);i=t.split("/").slice(0,-1).concat(i).join("/");break;case"(...)":i="/"+i;break;case"(..)(..)":let s=t.split("/");if(s.length<=2)throw Error(`Invalid interception route: ${e}. Cannot use (..)(..) marker at the root level or one level up.`);i=s.slice(0,-2).concat(i).join("/");break;default:throw Error("Invariant: unexpected marker")}return{interceptingRoute:t,interceptedRoute:i}}},90083:(e,t,r)=>{e.exports=r(62785)},55157:(e,t)=>{t._=t._interop_require_default=function(e){return e&&e.__esModule?e:{default:e}}}};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
exports.id=975,exports.ids=[975],exports.modules={34227:(e,t,r)=>{var a={".":41196,"./":41196,"./__snapshots__/get-email-component.spec.ts.snap":37969,"./close-ora-on-sigint":65423,"./close-ora-on-sigint.ts":65423,"./cn":28497,"./cn.ts":28497,"./constants":87506,"./constants.ts":87506,"./esbuild/escape-string-for-regex":13246,"./esbuild/escape-string-for-regex.ts":13246,"./esbuild/renderring-utilities-exporter":99584,"./esbuild/renderring-utilities-exporter.ts":99584,"./get-email-component":70164,"./get-email-component.ts":70164,"./improve-error-with-sourcemap":27744,"./improve-error-with-sourcemap.ts":27744,"./index":41196,"./index.ts":41196,"./language-map":19127,"./language-map.ts":19127,"./static-node-modules-for-vm":82894,"./static-node-modules-for-vm.ts":82894,"./testing/request-response-email":52461,"./testing/request-response-email.tsx":52461,"./types/as":21296,"./types/as.ts":21296,"./types/error-object":76208,"./types/error-object.ts":76208,"./types/hot-reload-change":54961,"./types/hot-reload-change.ts":54961,"./types/hot-reload-event":20221,"./types/hot-reload-event.ts":20221,"src/og":41196,"src/og/":41196,"src/og/__snapshots__/get-email-component.spec.ts.snap":37969,"src/og/close-ora-on-sigint":65423,"src/og/close-ora-on-sigint.ts":65423,"src/og/cn":28497,"src/og/cn.ts":28497,"src/og/constants":87506,"src/og/constants.ts":87506,"src/og/esbuild/escape-string-for-regex":13246,"src/og/esbuild/escape-string-for-regex.ts":13246,"src/og/esbuild/renderring-utilities-exporter":99584,"src/og/esbuild/renderring-utilities-exporter.ts":99584,"src/og/get-email-component":70164,"src/og/get-email-component.ts":70164,"src/og/improve-error-with-sourcemap":27744,"src/og/improve-error-with-sourcemap.ts":27744,"src/og/index":41196,"src/og/index.ts":41196,"src/og/language-map":19127,"src/og/language-map.ts":19127,"src/og/static-node-modules-for-vm":82894,"src/og/static-node-modules-for-vm.ts":82894,"src/og/testing/request-response-email":52461,"src/og/testing/request-response-email.tsx":52461,"src/og/types/as":21296,"src/og/types/as.ts":21296,"src/og/types/error-object":76208,"src/og/types/error-object.ts":76208,"src/og/types/hot-reload-change":54961,"src/og/types/hot-reload-change.ts":54961,"src/og/types/hot-reload-event":20221,"src/og/types/hot-reload-event.ts":20221};function o(e){return r(n(e))}function n(e){if(!r.o(a,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}o.keys=function(){return Object.keys(a)},o.resolve=n,e.exports=o,o.id=34227},86767:(e,t)=>{"use strict";Object.defineProperty(t,"l",{enumerable:!0,get:function(){return function e(t,r){return r in t?t[r]:"then"in t&&"function"==typeof t.then?t.then(t=>e(t,r)):"function"==typeof t&&"default"===r?t:void 0}}})},27871:(e,t,r)=>{"use strict";r.d(t,{$:()=>o,z:()=>a});let a=()=>{if(!process.env.RELATIVE_PATH_TO_PDF_FOLDER)throw Error("RELATIVE_PATH_TO_PDF_FOLDER is not set");return process.env.RELATIVE_PATH_TO_PDF_FOLDER},o=()=>{if(!process.env.ABSOLUTE_PATH_TO_PDF_FOLDER)throw Error("ABSOLUTE_PATH_TO_PDF_FOLDER is not set");return process.env.ABSOLUTE_PATH_TO_PDF_FOLDER}},65423:(e,t,r)=>{"use strict";r.r(t),r.d(t,{closeOraOnSIGNIT:()=>o});let a=new Set;process.on("SIGINT",()=>{a.forEach(e=>{e.isSpinning&&e.stop()})});let o=e=>{a.add(e)}},28497:(e,t,r)=>{"use strict";r.a(e,async(e,a)=>{try{r.r(t),r.d(t,{cn:()=>i});var o=r(16593),n=r(68097),s=e([o,n]);[o,n]=s.then?(await s)():s;let i=(...e)=>(0,n.twMerge)((0,o.clsx)(e));a()}catch(e){a(e)}})},87506:(e,t,r)=>{"use strict";r.r(t),r.d(t,{tabTransition:()=>a});let a={type:"spring",stiffness:2e3,damping:80,mass:1}},13246:(e,t,r)=>{"use strict";function a(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}r.r(t),r.d(t,{escapeStringForRegex:()=>a})},99584:(e,t,r)=>{"use strict";r.r(t),r.d(t,{renderingUtilitiesExporter:()=>i});var a=r(87561),o=r(49411),n=r.n(o),s=r(13246);let i=e=>({name:"rendering-utilities-exporter",setup:t=>{t.onLoad({filter:new RegExp(e.map(e=>(0,s.escapeStringForRegex)(e)).join("|"))},async({path:e})=>({contents:`${await a.promises.readFile(e,"utf8")};
|
|
2
|
+
export { render } from 'react-email-module-that-will-export-render'
|
|
3
|
+
export { createElement as reactEmailCreateReactElement } from 'react';
|
|
4
|
+
`,loader:n().extname(e).slice(1)})),t.onResolve({filter:/^react-email-module-that-will-export-render$/},async e=>{let r={kind:"import-statement",importer:e.importer,resolveDir:e.resolveDir,namespace:e.namespace},a=await t.resolve("@repdf/core",r);return 0===a.errors.length||0===(a=await t.resolve("@react-email/render",r)).errors.length||(a=await t.resolve("@react-email/components",r)).errors.length>0&&a.errors[0]&&(a.errors[0].text="Failed trying to import `render` from either `@react-email/render`, `@repdf/core` or `@react-email/components` to be able to render your email template.\n Maybe you don't have either of them installed?"),a})}})},70164:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getEmailComponent:()=>c});var a=r(49411),o=r.n(a),n=r(46019),s=r.n(n),i=r(19659),F=r(99584),l=r(27744),u=r(82894);let c=async e=>{let t;try{t=(await (0,i.build)({bundle:!0,entryPoints:[e],plugins:[(0,F.renderingUtilitiesExporter)([e])],platform:"node",write:!1,format:"cjs",jsx:"automatic",logLevel:"silent",loader:{".js":"jsx"},outdir:"stdout",sourcemap:"external"})).outputFiles}catch(e){return{error:{message:e.message,stack:e.stack,name:e.name,cause:e.cause}}}let a=t[0],n=t[1].text,c={...global,console,Buffer,AbortSignal,Event,EventTarget,TextDecoder,Request,Response,TextDecoderStream,TextEncoder,TextEncoderStream,ReadableStream,URL,URLSearchParams,Headers,module:{exports:{default:void 0,render:void 0,reactEmailCreateReactElement:void 0}},__filename:e,__dirname:o().dirname(e),require:e=>{let t=e;return(e.startsWith("node:")&&(t=t.split(":")[1]),t in u.staticNodeModulesForVM)?u.staticNodeModulesForVM[t]:r(34227)(`${e}`)},process},d=JSON.parse(a.text);d.sourceRoot=o().resolve(a.path,"../.."),d.sources=d.sources.map(e=>o().resolve(a.path,"..",e));try{s().runInNewContext(n,c,{filename:e})}catch(t){return t.stack&&=t.stack.split("at Script.runInContext (node:vm")[0],{error:(0,l.improveErrorWithSourceMap)(t,e,d)}}if(void 0===c.module.exports.default)return{error:(0,l.improveErrorWithSourceMap)(Error(`The email component at ${e} does not contain a default export`),e,d)};let p="PreviewSettings"in c.module.exports.default?c.module.exports.default:{};return{emailComponent:c.module.exports.default,render:c.module.exports.render,createElement:c.module.exports.reactEmailCreateReactElement,sourceMapToOriginalFile:d,previewSettings:p}}},27744:(e,t,r)=>{"use strict";r.r(t),r.d(t,{improveErrorWithSourceMap:()=>i});var a=r(49411),o=r.n(a),n=r(80483),s=r(64835);let i=(e,t,r)=>{let a;let i=r.sourceRoot??o().dirname(t),F=(e,t,r,a)=>{let n=a||r?`${r??""}${r&&a?":":""}${a??""}`:void 0,s=o().relative(i,t);return"<unknown>"===e?` at ${s}${n?`:${n}`:""}`:` at ${e} (${s}${n?`:${n}`:""})`};if(void 0!==e.stack){let o=s.parse(e.stack),i=new n.SourceMapConsumer(r),l=[];for(let e of o)if(e.file===t){if(e.column||e.lineNumber){let t=i.originalPositionFor({column:e.column??0,line:e.lineNumber??0});l.push(F(e.methodName,t.source??e.file,t.line,t.column))}else l.push(F(e.methodName,e.file,e.lineNumber,e.column))}else if(e.file){let t=F(e.methodName,e.file,e.lineNumber,e.column);l.push(t)}a=l.join("\n")}return{name:e.name,message:e.message,cause:e.cause,stack:a}}},41196:(e,t,r)=>{"use strict";r.a(e,async(e,a)=>{try{r.r(t),r.d(t,{cn:()=>o.cn});var o=r(28497);r(19127);var n=e([o]);o=(n.then?(await n)():n)[0],a()}catch(e){a(e)}})},19127:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});let a={jsx:"React",markup:"HTML",markdown:"Plain Text"}},82894:(e,t,r)=>{"use strict";r.r(t),r.d(t,{staticNodeModulesForVM:()=>eL});var a=r(98061),o=r.n(a),n=r(92761),s=r.n(n),i=r(72254),F=r.n(i),l=r(17718),u=r.n(l),c=r(48878),d=r.n(c),p=r(40027),x=r.n(p),m=r(7053),g=r.n(m),E=r(6005),h=r.n(E),f=r(11215),b=r.n(f),y=r(65714),v=r.n(y),w=r(30604),_=r.n(w),P=r(84158),T=r.n(P),S=r(15673),k=r.n(S),R=r(87561),A=r.n(R),O=r(93977),D=r.n(O),L=r(88849),$=r.n(L),j=r(42725),N=r.n(j),q=r(22286),C=r.n(q),I=r(85690),M=r.n(I),U=r(82033),H=r.n(U),V=r(87503),z=r.n(V),G=r(70612),B=r.n(G),W=r(49411),J=r.n(W),X=r(38846),Y=r.n(X),K=r(97742),Q=r.n(K),Z=r(73801),ee=r.n(Z),et=r(39630),er=r.n(et),ea=r(51747),eo=r.n(ea),en=r(83792),es=r.n(en),ei=r(84492),eF=r.n(ei),el=r(76915),eu=r.n(el),ec=r(92332),ed=r.n(ec),ep=r(99397),ex=r.n(ep),em=r(31764),eg=r.n(em),eE=r(25997),eh=r.n(eE),ef=r(41041),eb=r.n(ef),ey=r(47261),ev=r.n(ey),ew=r(93746),e_=r.n(ew),eP=r(83858),eT=r.n(eP),eS=r(46019),ek=r.n(eS),eR=r(24086),eA=r.n(eR),eO=r(65628),eD=r.n(eO);let eL={assert:o(),async_hooks:s(),buffer:F(),child_process:u(),cluster:d(),console:x(),constants:g(),crypto:h(),dgram:b(),diagnostics_channel:v(),dns:_(),domain:T(),events:k(),fs:A(),"fs/promises":D(),http:$(),http2:N(),https:C(),inspector:M(),module:H(),net:z(),os:B(),path:J(),perf_hooks:Y(),process:Q(),punycode:ee(),querystring:er(),readline:eo(),repl:es(),stream:eF(),string_decoder:eu(),timers:ed(),"timers/promises":ex(),tls:eg(),tty:eh(),url:eb(),util:ev(),"util/types":e_(),v8:eT(),vm:ek(),worker_threads:eA(),zlib:eD()}},52461:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var a=r(20997);new Request("https://react.email"),new Response("{}");let o=()=>a.jsx("div",{})},21296:(e,t,r)=>{"use strict";r.r(t)},76208:(e,t,r)=>{"use strict";r.r(t)},54961:(e,t,r)=>{"use strict";r.r(t)},20221:(e,t,r)=>{"use strict";r.r(t)},57213:(e,t)=>{"use strict";var r;Object.defineProperty(t,"x",{enumerable:!0,get:function(){return r}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE"}(r||(r={}))},57445:(e,t,r)=>{"use strict";e.exports=r(20145)},37969:(e,t)=>{t["getEmailComponent() > with a demo email template 1"]=`"<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html dir="ltr" lang="en"><head><link rel="preload" as="image" href="/static/vercel-logo.png"/><link rel="preload" as="image" href="/static/vercel-user.png"/><link rel="preload" as="image" href="/static/vercel-arrow.png"/><link rel="preload" as="image" href="/static/vercel-team.png"/><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/><meta name="x-apple-disable-message-reformatting"/><!--$--></head><div style="display:none;overflow:hidden;line-height:1px;opacity:0;max-height:0;max-width:0">Join Alan on Vercel<div>\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF\xa0\uFEFF</div></div><body style="background-color:rgb(255,255,255);margin-top:auto;margin-bottom:auto;margin-left:auto;margin-right:auto;font-family:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";padding-left:0.5rem;padding-right:0.5rem"><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="border-width:1px;border-style:solid;border-color:rgb(234,234,234);border-radius:0.25rem;margin-top:40px;margin-bottom:40px;margin-left:auto;margin-right:auto;padding:20px;max-width:465px"><tbody><tr style="width:100%"><td><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-top:32px"><tbody><tr><td><img alt="Vercel" height="37" src="/static/vercel-logo.png" style="margin-top:0px;margin-bottom:0px;margin-left:auto;margin-right:auto;display:block;outline:none;border:none;text-decoration:none" width="40"/></td></tr></tbody></table><h1 style="color:rgb(0,0,0);font-size:24px;font-weight:400;text-align:center;padding:0px;margin-top:30px;margin-bottom:30px;margin-left:0px;margin-right:0px">Join <strong>Enigma</strong> on <strong>Vercel</strong></h1><p style="color:rgb(0,0,0);font-size:14px;line-height:24px;margin:16px 0">Hello <!-- -->alanturing<!-- -->,</p><p style="color:rgb(0,0,0);font-size:14px;line-height:24px;margin:16px 0"><strong>Alan</strong> (<a href="mailto:alan.turing@example.com" style="color:rgb(37,99,235);text-decoration-line:none" target="_blank">alan.turing@example.com</a>) has invited you to the <strong>Enigma</strong> team on<!-- --> <strong>Vercel</strong>.</p><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation"><tbody><tr><td><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation"><tbody style="width:100%"><tr style="width:100%"><td align="right" data-id="__react-email-column"><img height="64" src="/static/vercel-user.png" style="border-radius:9999px;display:block;outline:none;border:none;text-decoration:none" width="64"/></td><td align="center" data-id="__react-email-column"><img alt="invited you to" height="9" src="/static/vercel-arrow.png" style="display:block;outline:none;border:none;text-decoration:none" width="12"/></td><td align="left" data-id="__react-email-column"><img height="64" src="/static/vercel-team.png" style="border-radius:9999px;display:block;outline:none;border:none;text-decoration:none" width="64"/></td></tr></tbody></table></td></tr></tbody></table><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:center;margin-top:32px;margin-bottom:32px"><tbody><tr><td><a href="https://vercel.com/teams/invite/foo" style="background-color:rgb(0,0,0);border-radius:0.25rem;color:rgb(255,255,255);font-size:12px;font-weight:600;text-decoration-line:none;text-align:center;padding-left:1.25rem;padding-right:1.25rem;padding-top:0.75rem;padding-bottom:0.75rem;line-height:100%;text-decoration:none;display:inline-block;max-width:100%;mso-padding-alt:0px;padding:12px 20px 12px 20px" target="_blank"><span><!--[if mso]><i style="mso-font-width:500%;mso-text-raise:18" hidden>  </i><![endif]--></span><span style="max-width:100%;display:inline-block;line-height:120%;mso-padding-alt:0px;mso-text-raise:9px">Join the team</span><span><!--[if mso]><i style="mso-font-width:500%" hidden>  ​</i><![endif]--></span></a></td></tr></tbody></table><p style="color:rgb(0,0,0);font-size:14px;line-height:24px;margin:16px 0">or copy and paste this URL into your browser:<!-- --> <a href="https://vercel.com/teams/invite/foo" style="color:rgb(37,99,235);text-decoration-line:none" target="_blank">https://vercel.com/teams/invite/foo</a></p><hr style="border-width:1px;border-style:solid;border-color:rgb(234,234,234);margin-top:26px;margin-bottom:26px;margin-left:0px;margin-right:0px;width:100%;border:none;border-top:1px solid #eaeaea"/><p style="color:rgb(102,102,102);font-size:12px;line-height:24px;margin:16px 0">This invitation was intended for<!-- --> <span style="color:rgb(0,0,0)">alanturing</span>. This invite was sent from <span style="color:rgb(0,0,0)">204.13.186.218</span> <!-- -->located in<!-- --> <span style="color:rgb(0,0,0)">S\xe3o Paulo, Brazil</span>. If you were not expecting this invitation, you can ignore this email. If you are concerned about your account's safety, please reply to this email to get in touch with us.</p></td></tr></tbody></table><!--/$--></body></html>"`}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":1,"functions":{"/api/pdf":{},"/":{},"/
|
|
1
|
+
{"version":1,"functions":{"/api/pdf":{},"/preview/[...relTemplatePath]":{},"/":{}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
self.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],ampDevFiles:[],lowPriorityFiles:[],rootMainFiles:[],pages:{"/":["static/chunks/webpack-
|
|
1
|
+
self.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],ampDevFiles:[],lowPriorityFiles:[],rootMainFiles:[],pages:{"/":["static/chunks/webpack-8fa1640cc84ba8fe.js","static/chunks/framework-e0f347a11a70369e.js","static/chunks/main-32f0addb06a02100.js","static/chunks/64-33135d2a0b032c99.js","static/chunks/pages/index-59cca326edb25e5b.js"],"/_app":["static/chunks/webpack-8fa1640cc84ba8fe.js","static/chunks/framework-e0f347a11a70369e.js","static/chunks/main-32f0addb06a02100.js","static/css/3beae5d5e23b91e8.css","static/chunks/pages/_app-7207fb686c7ea292.js"],"/_error":["static/chunks/webpack-8fa1640cc84ba8fe.js","static/chunks/framework-e0f347a11a70369e.js","static/chunks/main-32f0addb06a02100.js","static/chunks/pages/_error-0577f827b4afb66a.js"],"/preview/[...relTemplatePath]":["static/chunks/webpack-8fa1640cc84ba8fe.js","static/chunks/framework-e0f347a11a70369e.js","static/chunks/main-32f0addb06a02100.js","static/chunks/64-33135d2a0b032c99.js","static/chunks/pages/preview/[...relTemplatePath]-3e7bbb1e7746e61f.js"],"/test":["static/chunks/webpack-8fa1640cc84ba8fe.js","static/chunks/framework-e0f347a11a70369e.js","static/chunks/main-32f0addb06a02100.js","static/chunks/pages/test-1b0ec700afcdd64b.js"]},ampFirstPages:[]},self.__BUILD_MANIFEST.lowPriorityFiles=["/static/"+process.env.__NEXT_BUILD_ID+"/_buildManifest.js",,"/static/"+process.env.__NEXT_BUILD_ID+"/_ssgManifest.js"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
self.__REACT_LOADABLE_MANIFEST='{"../../../node_modules/.pnpm/@tanstack+query-devtools@5.
|
|
1
|
+
self.__REACT_LOADABLE_MANIFEST='{"../../../node_modules/.pnpm/@tanstack+query-devtools@5.59.20/node_modules/@tanstack/query-devtools/build/index.js -> ./DevtoolsComponent/BMGNQTAT.js":{"id":null,"files":[]},"../../../node_modules/.pnpm/@tanstack+query-devtools@5.59.20/node_modules/@tanstack/query-devtools/build/index.js -> ./DevtoolsPanelComponent/UODQIBEW.js":{"id":null,"files":[]}}';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var e={};e.id=888,e.ids=[888],e.modules={
|
|
1
|
+
(()=>{var e={};e.id=888,e.ids=[888],e.modules={76848:(e,t,s)=>{"use strict";s.a(e,async(e,r)=>{try{s.d(t,{Z:()=>l});var a=s(20997),i=s(1461),c=e([i]);function l({children:e}){return(0,a.jsxs)("div",{className:"grid grid-cols-12",children:[a.jsx("div",{className:"col-span-2",children:a.jsx(i.Y,{})}),a.jsx("div",{className:"col-span-10",children:e})]})}i=(c.then?(await c)():c)[0],r()}catch(e){r(e)}})},1461:(e,t,s)=>{"use strict";s.a(e,async(e,r)=>{try{s.d(t,{Y:()=>u});var a=s(20997),i=s(16593),c=s(49357),l=s(26370),n=s.n(l),o=s(89128),d=s(16689),p=e([i,o]);function u(){let{data:e}=o.h.core.pdfTemplates.useQuery();return(0,a.jsxs)("div",{className:"h-full min-h-screen border-r p-4 relative",children:[a.jsx(n(),{href:"/",children:a.jsx("h1",{className:"text-2xl font-bold",children:"rePDF"})}),(0,a.jsxs)("div",{className:"mt-5 flex flex-col gap-2",children:[e&&(0,a.jsxs)(a.Fragment,{children:[e.topLevel.map(e=>a.jsx(n(),{href:`/preview/${e.relTemplatePath}`,className:"text-sm hover:underline pl-1.5",children:e.fileName},e.fileName)),e.subFolders.map(e=>(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[a.jsx(c.Z,{className:"w-4 h-4"}),a.jsx("p",{className:"",children:e.name})]}),a.jsx("ul",{children:e.pdfTemplates.map(e=>a.jsx(n(),{href:`/preview/${e.relTemplatePath}`,className:"text-sm hover:underline pl-1.5",children:e.fileName},e.fileName))})]},e.name))]}),a.jsx("div",{className:"fixed bottom-4 left-0 p-4 text-sm",children:a.jsx(h,{})})]})]})}function h(){let e=o.h.useUtils(),[t,s]=(0,d.useState)(null),{data:r}=o.h.watcher.heartbeat.useSubscription(void 0,{onData:e=>{s(e.timestamp)}}),{data:c}=o.h.watcher.fileChange.useSubscription(void 0,{onData:t=>{e.core.invalidate()}});return a.jsx("div",{className:(0,i.default)("text-xs rounded-lg bg-gray-300 p-2 bg-opacity-30",{"bg-gray-500":!t,"bg-green-500":!!t}),children:"Live Preview"})}[i,o]=p.then?(await p)():p,r()}catch(e){r(e)}})},68417:(e,t,s)=>{"use strict";s.a(e,async(e,r)=>{try{s.r(t),s.d(t,{default:()=>d});var a=s(20997),i=s(19063),c=s(89128),l=s(86201);s(57531);var n=s(76848),o=e([i,c,l,n]);[i,c,l,n]=o.then?(await o)():o;let d=c.h.withTRPC(({Component:e,pageProps:t})=>(0,a.jsxs)(a.Fragment,{children:[a.jsx(n.Z,{children:a.jsx(e,{...t})}),a.jsx(l.Toaster,{}),a.jsx(i.ReactQueryDevtools,{initialIsOpen:!1})]}));r()}catch(e){r(e)}})},89128:(e,t,s)=>{"use strict";s.a(e,async(e,r)=>{try{s.d(t,{h:()=>o});var a=s(80272),i=s(77455),c=s(93020),l=e([a,i,c]);[a,i,c]=l.then?(await l)():l;let n=()=>`http://localhost:${process.env.PORT??3e3}`,o=(0,i.createTRPCNext)({config:()=>({links:[(0,a.loggerLink)({enabled:e=>"down"===e.direction&&e.result instanceof Error}),(0,a.splitLink)({condition:e=>"subscription"===e.type,true:(0,a.unstable_httpSubscriptionLink)({url:`${n()}/api/trpc`,transformer:c.default}),false:(0,a.httpBatchLink)({transformer:c.default,url:`${n()}/api/trpc`})})]}),ssr:!1,transformer:c.default});r()}catch(e){r(e)}})},57531:()=>{},62785:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},16689:e=>{"use strict";e.exports=require("react")},20997:e=>{"use strict";e.exports=require("react/jsx-runtime")},19063:e=>{"use strict";e.exports=import("@tanstack/react-query-devtools")},80272:e=>{"use strict";e.exports=import("@trpc/client")},77455:e=>{"use strict";e.exports=import("@trpc/next")},16593:e=>{"use strict";e.exports=import("clsx")},86201:e=>{"use strict";e.exports=import("react-hot-toast")},93020:e=>{"use strict";e.exports=import("superjson")}};var t=require("../webpack-runtime.js");t.C(e);var s=e=>t(t.s=e),r=t.X(0,[865,204],()=>s(68417));module.exports=r})();
|