@vercel/build-utils 14.23.0 → 15.0.1
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/CHANGELOG.md +24 -0
- package/dist/daemons.d.ts +20 -0
- package/dist/fs/node-version.js +0 -3
- package/dist/fs/stream-to-digest-async.d.ts +0 -1
- package/dist/fs/stream-to-digest-async.js +3 -8
- package/dist/index.d.ts +2 -29
- package/dist/index.js +11 -37
- package/dist/schedules.d.ts +4 -0
- package/dist/types.d.ts +5 -0
- package/package.json +3 -7
- package/dist/collect-build-result/file-to-build-output-file.d.ts +0 -26
- package/dist/collect-build-result/file-to-build-output-file.js +0 -54
- package/dist/collect-build-result/get-build-result-metadata.d.ts +0 -33
- package/dist/collect-build-result/get-build-result-metadata.js +0 -99
- package/dist/collect-build-result/get-content-type.d.ts +0 -1
- package/dist/collect-build-result/get-content-type.js +0 -45
- package/dist/collect-build-result/get-lambda-by-output-path.d.ts +0 -13
- package/dist/collect-build-result/get-lambda-by-output-path.js +0 -31
- package/dist/collect-build-result/get-prerender-chain.d.ts +0 -8
- package/dist/collect-build-result/get-prerender-chain.js +0 -44
- package/dist/collect-build-result/is-route-middleware.d.ts +0 -4
- package/dist/collect-build-result/is-route-middleware.js +0 -30
- package/dist/collect-build-result/prerender-to-build-output-file.d.ts +0 -23
- package/dist/collect-build-result/prerender-to-build-output-file.js +0 -85
- package/dist/collect-build-result/stream-with-extended-payload.d.ts +0 -5
- package/dist/collect-build-result/stream-with-extended-payload.js +0 -49
- package/dist/collect-build-result/validate-build-result.d.ts +0 -19
- package/dist/collect-build-result/validate-build-result.js +0 -139
- package/dist/collect-build-result/validate-prerender.d.ts +0 -8
- package/dist/collect-build-result/validate-prerender.js +0 -32
- package/dist/collect-build-result/validate-regular-file.d.ts +0 -8
- package/dist/collect-build-result/validate-regular-file.js +0 -42
- package/dist/collect-uncompressed-size.d.ts +0 -6
- package/dist/collect-uncompressed-size.js +0 -59
- package/dist/deserialize/create-functions-iterator.d.ts +0 -8
- package/dist/deserialize/create-functions-iterator.js +0 -52
- package/dist/deserialize/deserialize-build-output-types.d.ts +0 -56
- package/dist/deserialize/deserialize-build-output-types.js +0 -16
- package/dist/deserialize/deserialize-build-output.d.ts +0 -4
- package/dist/deserialize/deserialize-build-output.js +0 -296
- package/dist/deserialize/deserialize-edge-function.d.ts +0 -5
- package/dist/deserialize/deserialize-edge-function.js +0 -47
- package/dist/deserialize/deserialize-lambda.d.ts +0 -22
- package/dist/deserialize/deserialize-lambda.js +0 -56
- package/dist/deserialize/hydrate-files-map.d.ts +0 -3
- package/dist/deserialize/hydrate-files-map.js +0 -55
- package/dist/deserialize/maybe-read-json.d.ts +0 -5
- package/dist/deserialize/maybe-read-json.js +0 -37
- package/dist/deserialize/serialized-types.d.ts +0 -32
- package/dist/deserialize/serialized-types.js +0 -16
- package/dist/deserialize/validate-framework-version.d.ts +0 -6
- package/dist/deserialize/validate-framework-version.js +0 -63
- package/dist/finalize-lambda.d.ts +0 -77
- package/dist/finalize-lambda.js +0 -117
- package/dist/process-serverless/get-encrypted-env-file.d.ts +0 -11
- package/dist/process-serverless/get-encrypted-env-file.js +0 -47
- package/dist/process-serverless/get-lambda-environment.d.ts +0 -19
- package/dist/process-serverless/get-lambda-environment.js +0 -53
- package/dist/process-serverless/get-lambda-preload-scripts.d.ts +0 -22
- package/dist/process-serverless/get-lambda-preload-scripts.js +0 -43
- package/dist/process-serverless/get-lambda-supports-streaming.d.ts +0 -22
- package/dist/process-serverless/get-lambda-supports-streaming.js +0 -42
- package/dist/validate-lambda-size.d.ts +0 -45
- package/dist/validate-lambda-size.js +0 -117
package/dist/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
"use strict";var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __defNormalProp=(obj,key,value)=>key in obj?__defProp(obj,key,{enumerable:!0,configurable:!0,writable:!0,value}):obj[key]=value;var __esm=(fn,res)=>function(){return fn&&(res=(0,fn[__getOwnPropNames(fn)[0]])(fn=0)),res};var __commonJS=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports};var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0})},__copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod)),__toCommonJS=mod=>__copyProps(__defProp({},"__esModule",{value:!0}),mod);var __publicField=(obj,key,value)=>(__defNormalProp(obj,typeof key!="symbol"?key+"":key,value),value),__accessCheck=(obj,member,msg)=>{if(!member.has(obj))throw TypeError("Cannot "+msg)};var __privateGet=(obj,member,getter)=>(__accessCheck(obj,member,"read from private field"),getter?getter.call(obj):member.get(obj)),__privateAdd=(obj,member,value)=>{if(member.has(obj))throw TypeError("Cannot add the same private member more than once");member instanceof WeakSet?member.add(obj):member.set(obj,value)},__privateSet=(obj,member,value,setter)=>(__accessCheck(obj,member,"write to private field"),setter?setter.call(obj,value):member.set(obj,value),value);var require_process_nextick_args=__commonJS({"../../node_modules/.pnpm/process-nextick-args@2.0.1/node_modules/process-nextick-args/index.js"(exports2,module2){"use strict";typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0?module2.exports={nextTick}:module2.exports=process;function nextTick(fn,arg1,arg2,arg3){if(typeof fn!="function")throw new TypeError('"callback" argument must be a function');var len=arguments.length,args,i;switch(len){case 0:case 1:return process.nextTick(fn);case 2:return process.nextTick(function(){fn.call(null,arg1)});case 3:return process.nextTick(function(){fn.call(null,arg1,arg2)});case 4:return process.nextTick(function(){fn.call(null,arg1,arg2,arg3)});default:for(args=new Array(len-1),i=0;i<args.length;)args[i++]=arguments[i];return process.nextTick(function(){fn.apply(null,args)})}}}});var require_isarray=__commonJS({"../../node_modules/.pnpm/isarray@1.0.0/node_modules/isarray/index.js"(exports2,module2){var toString={}.toString;module2.exports=Array.isArray||function(arr){return toString.call(arr)=="[object Array]"}}});var require_stream=__commonJS({"../../node_modules/.pnpm/readable-stream@2.3.8/node_modules/readable-stream/lib/internal/streams/stream.js"(exports2,module2){module2.exports=require("stream")}});var require_safe_buffer=__commonJS({"../../node_modules/.pnpm/safe-buffer@5.1.2/node_modules/safe-buffer/index.js"(exports2,module2){var buffer=require("buffer"),Buffer2=buffer.Buffer;function copyProps(src,dst){for(var key in src)dst[key]=src[key]}Buffer2.from&&Buffer2.alloc&&Buffer2.allocUnsafe&&Buffer2.allocUnsafeSlow?module2.exports=buffer:(copyProps(buffer,exports2),exports2.Buffer=SafeBuffer);function SafeBuffer(arg,encodingOrOffset,length){return Buffer2(arg,encodingOrOffset,length)}copyProps(Buffer2,SafeBuffer);SafeBuffer.from=function(arg,encodingOrOffset,length){if(typeof arg=="number")throw new TypeError("Argument must not be a number");return Buffer2(arg,encodingOrOffset,length)};SafeBuffer.alloc=function(size,fill,encoding){if(typeof size!="number")throw new TypeError("Argument must be a number");var buf=Buffer2(size);return fill!==void 0?typeof encoding=="string"?buf.fill(fill,encoding):buf.fill(fill):buf.fill(0),buf};SafeBuffer.allocUnsafe=function(size){if(typeof size!="number")throw new TypeError("Argument must be a number");return Buffer2(size)};SafeBuffer.allocUnsafeSlow=function(size){if(typeof size!="number")throw new TypeError("Argument must be a number");return buffer.SlowBuffer(size)}}});var require_util=__commonJS({"../../node_modules/.pnpm/core-util-is@1.0.3/node_modules/core-util-is/lib/util.js"(exports2){function isArray(arg){return Array.isArray?Array.isArray(arg):objectToString(arg)==="[object Array]"}exports2.isArray=isArray;function isBoolean(arg){return typeof arg=="boolean"}exports2.isBoolean=isBoolean;function isNull(arg){return arg===null}exports2.isNull=isNull;function isNullOrUndefined(arg){return arg==null}exports2.isNullOrUndefined=isNullOrUndefined;function isNumber(arg){return typeof arg=="number"}exports2.isNumber=isNumber;function isString(arg){return typeof arg=="string"}exports2.isString=isString;function isSymbol(arg){return typeof arg=="symbol"}exports2.isSymbol=isSymbol;function isUndefined(arg){return arg===void 0}exports2.isUndefined=isUndefined;function isRegExp(re){return objectToString(re)==="[object RegExp]"}exports2.isRegExp=isRegExp;function isObject(arg){return typeof arg=="object"&&arg!==null}exports2.isObject=isObject;function isDate(d){return objectToString(d)==="[object Date]"}exports2.isDate=isDate;function isError(e){return objectToString(e)==="[object Error]"||e instanceof Error}exports2.isError=isError;function isFunction(arg){return typeof arg=="function"}exports2.isFunction=isFunction;function isPrimitive(arg){return arg===null||typeof arg=="boolean"||typeof arg=="number"||typeof arg=="string"||typeof arg=="symbol"||typeof arg>"u"}exports2.isPrimitive=isPrimitive;exports2.isBuffer=require("buffer").Buffer.isBuffer;function objectToString(o){return Object.prototype.toString.call(o)}}});var require_inherits_browser=__commonJS({"../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js"(exports2,module2){typeof Object.create=="function"?module2.exports=function(ctor,superCtor){superCtor&&(ctor.super_=superCtor,ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:!1,writable:!0,configurable:!0}}))}:module2.exports=function(ctor,superCtor){if(superCtor){ctor.super_=superCtor;var TempCtor=function(){};TempCtor.prototype=superCtor.prototype,ctor.prototype=new TempCtor,ctor.prototype.constructor=ctor}}}});var require_inherits=__commonJS({"../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits.js"(exports2,module2){try{if(util=require("util"),typeof util.inherits!="function")throw"";module2.exports=util.inherits}catch{module2.exports=require_inherits_browser()}var util}});var require_BufferList=__commonJS({"../../node_modules/.pnpm/readable-stream@2.3.8/node_modules/readable-stream/lib/internal/streams/BufferList.js"(exports2,module2){"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var Buffer2=require_safe_buffer().Buffer,util=require("util");function copyBuffer(src,target,offset){src.copy(target,offset)}module2.exports=function(){function BufferList(){_classCallCheck(this,BufferList),this.head=null,this.tail=null,this.length=0}return BufferList.prototype.push=function(v){var entry={data:v,next:null};this.length>0?this.tail.next=entry:this.head=entry,this.tail=entry,++this.length},BufferList.prototype.unshift=function(v){var entry={data:v,next:this.head};this.length===0&&(this.tail=entry),this.head=entry,++this.length},BufferList.prototype.shift=function(){if(this.length!==0){var ret=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,ret}},BufferList.prototype.clear=function(){this.head=this.tail=null,this.length=0},BufferList.prototype.join=function(s){if(this.length===0)return"";for(var p=this.head,ret=""+p.data;p=p.next;)ret+=s+p.data;return ret},BufferList.prototype.concat=function(n){if(this.length===0)return Buffer2.alloc(0);for(var ret=Buffer2.allocUnsafe(n>>>0),p=this.head,i=0;p;)copyBuffer(p.data,ret,i),i+=p.data.length,p=p.next;return ret},BufferList}();util&&util.inspect&&util.inspect.custom&&(module2.exports.prototype[util.inspect.custom]=function(){var obj=util.inspect({length:this.length});return this.constructor.name+" "+obj})}});var require_destroy=__commonJS({"../../node_modules/.pnpm/readable-stream@2.3.8/node_modules/readable-stream/lib/internal/streams/destroy.js"(exports2,module2){"use strict";var pna=require_process_nextick_args();function destroy(err,cb){var _this=this,readableDestroyed=this._readableState&&this._readableState.destroyed,writableDestroyed=this._writableState&&this._writableState.destroyed;return readableDestroyed||writableDestroyed?(cb?cb(err):err&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,pna.nextTick(emitErrorNT,this,err)):pna.nextTick(emitErrorNT,this,err)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(err||null,function(err2){!cb&&err2?_this._writableState?_this._writableState.errorEmitted||(_this._writableState.errorEmitted=!0,pna.nextTick(emitErrorNT,_this,err2)):pna.nextTick(emitErrorNT,_this,err2):cb&&cb(err2)}),this)}function undestroy(){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)}function emitErrorNT(self2,err){self2.emit("error",err)}module2.exports={destroy,undestroy}}});var require_node=__commonJS({"../../node_modules/.pnpm/util-deprecate@1.0.2/node_modules/util-deprecate/node.js"(exports2,module2){module2.exports=require("util").deprecate}});var require_stream_writable=__commonJS({"../../node_modules/.pnpm/readable-stream@2.3.8/node_modules/readable-stream/lib/_stream_writable.js"(exports2,module2){"use strict";var pna=require_process_nextick_args();module2.exports=Writable;function CorkedRequest(state){var _this=this;this.next=null,this.entry=null,this.finish=function(){onCorkedFinish(_this,state)}}var asyncWrite=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:pna.nextTick,Duplex;Writable.WritableState=WritableState;var util=Object.create(require_util());util.inherits=require_inherits();var internalUtil={deprecate:require_node()},Stream=require_stream(),Buffer2=require_safe_buffer().Buffer,OurUint8Array=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function _uint8ArrayToBuffer(chunk){return Buffer2.from(chunk)}function _isUint8Array(obj){return Buffer2.isBuffer(obj)||obj instanceof OurUint8Array}var destroyImpl=require_destroy();util.inherits(Writable,Stream);function nop(){}function WritableState(options,stream){Duplex=Duplex||require_stream_duplex(),options=options||{};var isDuplex=stream instanceof Duplex;this.objectMode=!!options.objectMode,isDuplex&&(this.objectMode=this.objectMode||!!options.writableObjectMode);var hwm=options.highWaterMark,writableHwm=options.writableHighWaterMark,defaultHwm=this.objectMode?16:16*1024;hwm||hwm===0?this.highWaterMark=hwm:isDuplex&&(writableHwm||writableHwm===0)?this.highWaterMark=writableHwm:this.highWaterMark=defaultHwm,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 noDecode=options.decodeStrings===!1;this.decodeStrings=!noDecode,this.defaultEncoding=options.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(er){onwrite(stream,er)},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 CorkedRequest(this)}WritableState.prototype.getBuffer=function(){for(var current=this.bufferedRequest,out=[];current;)out.push(current),current=current.next;return out};(function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:internalUtil.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var realHasInstance;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(realHasInstance=Function.prototype[Symbol.hasInstance],Object.defineProperty(Writable,Symbol.hasInstance,{value:function(object){return realHasInstance.call(this,object)?!0:this!==Writable?!1:object&&object._writableState instanceof WritableState}})):realHasInstance=function(object){return object instanceof this};function Writable(options){if(Duplex=Duplex||require_stream_duplex(),!realHasInstance.call(Writable,this)&&!(this instanceof Duplex))return new Writable(options);this._writableState=new WritableState(options,this),this.writable=!0,options&&(typeof options.write=="function"&&(this._write=options.write),typeof options.writev=="function"&&(this._writev=options.writev),typeof options.destroy=="function"&&(this._destroy=options.destroy),typeof options.final=="function"&&(this._final=options.final)),Stream.call(this)}Writable.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function writeAfterEnd(stream,cb){var er=new Error("write after end");stream.emit("error",er),pna.nextTick(cb,er)}function validChunk(stream,state,chunk,cb){var valid=!0,er=!1;return chunk===null?er=new TypeError("May not write null values to stream"):typeof chunk!="string"&&chunk!==void 0&&!state.objectMode&&(er=new TypeError("Invalid non-string/buffer chunk")),er&&(stream.emit("error",er),pna.nextTick(cb,er),valid=!1),valid}Writable.prototype.write=function(chunk,encoding,cb){var state=this._writableState,ret=!1,isBuf=!state.objectMode&&_isUint8Array(chunk);return isBuf&&!Buffer2.isBuffer(chunk)&&(chunk=_uint8ArrayToBuffer(chunk)),typeof encoding=="function"&&(cb=encoding,encoding=null),isBuf?encoding="buffer":encoding||(encoding=state.defaultEncoding),typeof cb!="function"&&(cb=nop),state.ended?writeAfterEnd(this,cb):(isBuf||validChunk(this,state,chunk,cb))&&(state.pendingcb++,ret=writeOrBuffer(this,state,isBuf,chunk,encoding,cb)),ret};Writable.prototype.cork=function(){var state=this._writableState;state.corked++};Writable.prototype.uncork=function(){var state=this._writableState;state.corked&&(state.corked--,!state.writing&&!state.corked&&!state.bufferProcessing&&state.bufferedRequest&&clearBuffer(this,state))};Writable.prototype.setDefaultEncoding=function(encoding){if(typeof encoding=="string"&&(encoding=encoding.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((encoding+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+encoding);return this._writableState.defaultEncoding=encoding,this};function decodeChunk(state,chunk,encoding){return!state.objectMode&&state.decodeStrings!==!1&&typeof chunk=="string"&&(chunk=Buffer2.from(chunk,encoding)),chunk}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function writeOrBuffer(stream,state,isBuf,chunk,encoding,cb){if(!isBuf){var newChunk=decodeChunk(state,chunk,encoding);chunk!==newChunk&&(isBuf=!0,encoding="buffer",chunk=newChunk)}var len=state.objectMode?1:chunk.length;state.length+=len;var ret=state.length<state.highWaterMark;if(ret||(state.needDrain=!0),state.writing||state.corked){var last=state.lastBufferedRequest;state.lastBufferedRequest={chunk,encoding,isBuf,callback:cb,next:null},last?last.next=state.lastBufferedRequest:state.bufferedRequest=state.lastBufferedRequest,state.bufferedRequestCount+=1}else doWrite(stream,state,!1,len,chunk,encoding,cb);return ret}function doWrite(stream,state,writev,len,chunk,encoding,cb){state.writelen=len,state.writecb=cb,state.writing=!0,state.sync=!0,writev?stream._writev(chunk,state.onwrite):stream._write(chunk,encoding,state.onwrite),state.sync=!1}function onwriteError(stream,state,sync,er,cb){--state.pendingcb,sync?(pna.nextTick(cb,er),pna.nextTick(finishMaybe,stream,state),stream._writableState.errorEmitted=!0,stream.emit("error",er)):(cb(er),stream._writableState.errorEmitted=!0,stream.emit("error",er),finishMaybe(stream,state))}function onwriteStateUpdate(state){state.writing=!1,state.writecb=null,state.length-=state.writelen,state.writelen=0}function onwrite(stream,er){var state=stream._writableState,sync=state.sync,cb=state.writecb;if(onwriteStateUpdate(state),er)onwriteError(stream,state,sync,er,cb);else{var finished=needFinish(state);!finished&&!state.corked&&!state.bufferProcessing&&state.bufferedRequest&&clearBuffer(stream,state),sync?asyncWrite(afterWrite,stream,state,finished,cb):afterWrite(stream,state,finished,cb)}}function afterWrite(stream,state,finished,cb){finished||onwriteDrain(stream,state),state.pendingcb--,cb(),finishMaybe(stream,state)}function onwriteDrain(stream,state){state.length===0&&state.needDrain&&(state.needDrain=!1,stream.emit("drain"))}function clearBuffer(stream,state){state.bufferProcessing=!0;var entry=state.bufferedRequest;if(stream._writev&&entry&&entry.next){var l=state.bufferedRequestCount,buffer=new Array(l),holder=state.corkedRequestsFree;holder.entry=entry;for(var count=0,allBuffers=!0;entry;)buffer[count]=entry,entry.isBuf||(allBuffers=!1),entry=entry.next,count+=1;buffer.allBuffers=allBuffers,doWrite(stream,state,!0,state.length,buffer,"",holder.finish),state.pendingcb++,state.lastBufferedRequest=null,holder.next?(state.corkedRequestsFree=holder.next,holder.next=null):state.corkedRequestsFree=new CorkedRequest(state),state.bufferedRequestCount=0}else{for(;entry;){var chunk=entry.chunk,encoding=entry.encoding,cb=entry.callback,len=state.objectMode?1:chunk.length;if(doWrite(stream,state,!1,len,chunk,encoding,cb),entry=entry.next,state.bufferedRequestCount--,state.writing)break}entry===null&&(state.lastBufferedRequest=null)}state.bufferedRequest=entry,state.bufferProcessing=!1}Writable.prototype._write=function(chunk,encoding,cb){cb(new Error("_write() is not implemented"))};Writable.prototype._writev=null;Writable.prototype.end=function(chunk,encoding,cb){var state=this._writableState;typeof chunk=="function"?(cb=chunk,chunk=null,encoding=null):typeof encoding=="function"&&(cb=encoding,encoding=null),chunk!=null&&this.write(chunk,encoding),state.corked&&(state.corked=1,this.uncork()),state.ending||endWritable(this,state,cb)};function needFinish(state){return state.ending&&state.length===0&&state.bufferedRequest===null&&!state.finished&&!state.writing}function callFinal(stream,state){stream._final(function(err){state.pendingcb--,err&&stream.emit("error",err),state.prefinished=!0,stream.emit("prefinish"),finishMaybe(stream,state)})}function prefinish(stream,state){!state.prefinished&&!state.finalCalled&&(typeof stream._final=="function"?(state.pendingcb++,state.finalCalled=!0,pna.nextTick(callFinal,stream,state)):(state.prefinished=!0,stream.emit("prefinish")))}function finishMaybe(stream,state){var need=needFinish(state);return need&&(prefinish(stream,state),state.pendingcb===0&&(state.finished=!0,stream.emit("finish"))),need}function endWritable(stream,state,cb){state.ending=!0,finishMaybe(stream,state),cb&&(state.finished?pna.nextTick(cb):stream.once("finish",cb)),state.ended=!0,stream.writable=!1}function onCorkedFinish(corkReq,state,err){var entry=corkReq.entry;for(corkReq.entry=null;entry;){var cb=entry.callback;state.pendingcb--,cb(err),entry=entry.next}state.corkedRequestsFree.next=corkReq}Object.defineProperty(Writable.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(value){this._writableState&&(this._writableState.destroyed=value)}});Writable.prototype.destroy=destroyImpl.destroy;Writable.prototype._undestroy=destroyImpl.undestroy;Writable.prototype._destroy=function(err,cb){this.end(),cb(err)}}});var require_stream_duplex=__commonJS({"../../node_modules/.pnpm/readable-stream@2.3.8/node_modules/readable-stream/lib/_stream_duplex.js"(exports2,module2){"use strict";var pna=require_process_nextick_args(),objectKeys=Object.keys||function(obj){var keys2=[];for(var key in obj)keys2.push(key);return keys2};module2.exports=Duplex;var util=Object.create(require_util());util.inherits=require_inherits();var Readable3=require_stream_readable(),Writable=require_stream_writable();util.inherits(Duplex,Readable3);for(keys=objectKeys(Writable.prototype),v=0;v<keys.length;v++)method=keys[v],Duplex.prototype[method]||(Duplex.prototype[method]=Writable.prototype[method]);var keys,method,v;function Duplex(options){if(!(this instanceof Duplex))return new Duplex(options);Readable3.call(this,options),Writable.call(this,options),options&&options.readable===!1&&(this.readable=!1),options&&options.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,options&&options.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",onend)}Object.defineProperty(Duplex.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function onend(){this.allowHalfOpen||this._writableState.ended||pna.nextTick(onEndNT,this)}function onEndNT(self2){self2.end()}Object.defineProperty(Duplex.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(value){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=value,this._writableState.destroyed=value)}});Duplex.prototype._destroy=function(err,cb){this.push(null),this.end(),pna.nextTick(cb,err)}}});var require_string_decoder=__commonJS({"../../node_modules/.pnpm/string_decoder@1.1.1/node_modules/string_decoder/lib/string_decoder.js"(exports2){"use strict";var Buffer2=require_safe_buffer().Buffer,isEncoding=Buffer2.isEncoding||function(encoding){switch(encoding=""+encoding,encoding&&encoding.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 _normalizeEncoding(enc){if(!enc)return"utf8";for(var retried;;)switch(enc){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 enc;default:if(retried)return;enc=(""+enc).toLowerCase(),retried=!0}}function normalizeEncoding(enc){var nenc=_normalizeEncoding(enc);if(typeof nenc!="string"&&(Buffer2.isEncoding===isEncoding||!isEncoding(enc)))throw new Error("Unknown encoding: "+enc);return nenc||enc}exports2.StringDecoder=StringDecoder;function StringDecoder(encoding){this.encoding=normalizeEncoding(encoding);var nb;switch(this.encoding){case"utf16le":this.text=utf16Text,this.end=utf16End,nb=4;break;case"utf8":this.fillLast=utf8FillLast,nb=4;break;case"base64":this.text=base64Text,this.end=base64End,nb=3;break;default:this.write=simpleWrite,this.end=simpleEnd;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Buffer2.allocUnsafe(nb)}StringDecoder.prototype.write=function(buf){if(buf.length===0)return"";var r,i;if(this.lastNeed){if(r=this.fillLast(buf),r===void 0)return"";i=this.lastNeed,this.lastNeed=0}else i=0;return i<buf.length?r?r+this.text(buf,i):this.text(buf,i):r||""};StringDecoder.prototype.end=utf8End;StringDecoder.prototype.text=utf8Text;StringDecoder.prototype.fillLast=function(buf){if(this.lastNeed<=buf.length)return buf.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);buf.copy(this.lastChar,this.lastTotal-this.lastNeed,0,buf.length),this.lastNeed-=buf.length};function utf8CheckByte(byte){return byte<=127?0:byte>>5===6?2:byte>>4===14?3:byte>>3===30?4:byte>>6===2?-1:-2}function utf8CheckIncomplete(self2,buf,i){var j=buf.length-1;if(j<i)return 0;var nb=utf8CheckByte(buf[j]);return nb>=0?(nb>0&&(self2.lastNeed=nb-1),nb):--j<i||nb===-2?0:(nb=utf8CheckByte(buf[j]),nb>=0?(nb>0&&(self2.lastNeed=nb-2),nb):--j<i||nb===-2?0:(nb=utf8CheckByte(buf[j]),nb>=0?(nb>0&&(nb===2?nb=0:self2.lastNeed=nb-3),nb):0))}function utf8CheckExtraBytes(self2,buf,p){if((buf[0]&192)!==128)return self2.lastNeed=0,"\uFFFD";if(self2.lastNeed>1&&buf.length>1){if((buf[1]&192)!==128)return self2.lastNeed=1,"\uFFFD";if(self2.lastNeed>2&&buf.length>2&&(buf[2]&192)!==128)return self2.lastNeed=2,"\uFFFD"}}function utf8FillLast(buf){var p=this.lastTotal-this.lastNeed,r=utf8CheckExtraBytes(this,buf,p);if(r!==void 0)return r;if(this.lastNeed<=buf.length)return buf.copy(this.lastChar,p,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);buf.copy(this.lastChar,p,0,buf.length),this.lastNeed-=buf.length}function utf8Text(buf,i){var total=utf8CheckIncomplete(this,buf,i);if(!this.lastNeed)return buf.toString("utf8",i);this.lastTotal=total;var end=buf.length-(total-this.lastNeed);return buf.copy(this.lastChar,0,end),buf.toString("utf8",i,end)}function utf8End(buf){var r=buf&&buf.length?this.write(buf):"";return this.lastNeed?r+"\uFFFD":r}function utf16Text(buf,i){if((buf.length-i)%2===0){var r=buf.toString("utf16le",i);if(r){var c=r.charCodeAt(r.length-1);if(c>=55296&&c<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=buf[buf.length-2],this.lastChar[1]=buf[buf.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=buf[buf.length-1],buf.toString("utf16le",i,buf.length-1)}function utf16End(buf){var r=buf&&buf.length?this.write(buf):"";if(this.lastNeed){var end=this.lastTotal-this.lastNeed;return r+this.lastChar.toString("utf16le",0,end)}return r}function base64Text(buf,i){var n=(buf.length-i)%3;return n===0?buf.toString("base64",i):(this.lastNeed=3-n,this.lastTotal=3,n===1?this.lastChar[0]=buf[buf.length-1]:(this.lastChar[0]=buf[buf.length-2],this.lastChar[1]=buf[buf.length-1]),buf.toString("base64",i,buf.length-n))}function base64End(buf){var r=buf&&buf.length?this.write(buf):"";return this.lastNeed?r+this.lastChar.toString("base64",0,3-this.lastNeed):r}function simpleWrite(buf){return buf.toString(this.encoding)}function simpleEnd(buf){return buf&&buf.length?this.write(buf):""}}});var require_stream_readable=__commonJS({"../../node_modules/.pnpm/readable-stream@2.3.8/node_modules/readable-stream/lib/_stream_readable.js"(exports2,module2){"use strict";var pna=require_process_nextick_args();module2.exports=Readable3;var isArray=require_isarray(),Duplex;Readable3.ReadableState=ReadableState;var EE=require("events").EventEmitter,EElistenerCount=function(emitter,type){return emitter.listeners(type).length},Stream=require_stream(),Buffer2=require_safe_buffer().Buffer,OurUint8Array=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function _uint8ArrayToBuffer(chunk){return Buffer2.from(chunk)}function _isUint8Array(obj){return Buffer2.isBuffer(obj)||obj instanceof OurUint8Array}var util=Object.create(require_util());util.inherits=require_inherits();var debugUtil=require("util"),debug2=void 0;debugUtil&&debugUtil.debuglog?debug2=debugUtil.debuglog("stream"):debug2=function(){};var BufferList=require_BufferList(),destroyImpl=require_destroy(),StringDecoder;util.inherits(Readable3,Stream);var kProxyEvents=["error","close","destroy","pause","resume"];function prependListener(emitter,event,fn){if(typeof emitter.prependListener=="function")return emitter.prependListener(event,fn);!emitter._events||!emitter._events[event]?emitter.on(event,fn):isArray(emitter._events[event])?emitter._events[event].unshift(fn):emitter._events[event]=[fn,emitter._events[event]]}function ReadableState(options,stream){Duplex=Duplex||require_stream_duplex(),options=options||{};var isDuplex=stream instanceof Duplex;this.objectMode=!!options.objectMode,isDuplex&&(this.objectMode=this.objectMode||!!options.readableObjectMode);var hwm=options.highWaterMark,readableHwm=options.readableHighWaterMark,defaultHwm=this.objectMode?16:16*1024;hwm||hwm===0?this.highWaterMark=hwm:isDuplex&&(readableHwm||readableHwm===0)?this.highWaterMark=readableHwm:this.highWaterMark=defaultHwm,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new BufferList,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=options.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,options.encoding&&(StringDecoder||(StringDecoder=require_string_decoder().StringDecoder),this.decoder=new StringDecoder(options.encoding),this.encoding=options.encoding)}function Readable3(options){if(Duplex=Duplex||require_stream_duplex(),!(this instanceof Readable3))return new Readable3(options);this._readableState=new ReadableState(options,this),this.readable=!0,options&&(typeof options.read=="function"&&(this._read=options.read),typeof options.destroy=="function"&&(this._destroy=options.destroy)),Stream.call(this)}Object.defineProperty(Readable3.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(value){this._readableState&&(this._readableState.destroyed=value)}});Readable3.prototype.destroy=destroyImpl.destroy;Readable3.prototype._undestroy=destroyImpl.undestroy;Readable3.prototype._destroy=function(err,cb){this.push(null),cb(err)};Readable3.prototype.push=function(chunk,encoding){var state=this._readableState,skipChunkCheck;return state.objectMode?skipChunkCheck=!0:typeof chunk=="string"&&(encoding=encoding||state.defaultEncoding,encoding!==state.encoding&&(chunk=Buffer2.from(chunk,encoding),encoding=""),skipChunkCheck=!0),readableAddChunk(this,chunk,encoding,!1,skipChunkCheck)};Readable3.prototype.unshift=function(chunk){return readableAddChunk(this,chunk,null,!0,!1)};function readableAddChunk(stream,chunk,encoding,addToFront,skipChunkCheck){var state=stream._readableState;if(chunk===null)state.reading=!1,onEofChunk(stream,state);else{var er;skipChunkCheck||(er=chunkInvalid(state,chunk)),er?stream.emit("error",er):state.objectMode||chunk&&chunk.length>0?(typeof chunk!="string"&&!state.objectMode&&Object.getPrototypeOf(chunk)!==Buffer2.prototype&&(chunk=_uint8ArrayToBuffer(chunk)),addToFront?state.endEmitted?stream.emit("error",new Error("stream.unshift() after end event")):addChunk(stream,state,chunk,!0):state.ended?stream.emit("error",new Error("stream.push() after EOF")):(state.reading=!1,state.decoder&&!encoding?(chunk=state.decoder.write(chunk),state.objectMode||chunk.length!==0?addChunk(stream,state,chunk,!1):maybeReadMore(stream,state)):addChunk(stream,state,chunk,!1))):addToFront||(state.reading=!1)}return needMoreData(state)}function addChunk(stream,state,chunk,addToFront){state.flowing&&state.length===0&&!state.sync?(stream.emit("data",chunk),stream.read(0)):(state.length+=state.objectMode?1:chunk.length,addToFront?state.buffer.unshift(chunk):state.buffer.push(chunk),state.needReadable&&emitReadable(stream)),maybeReadMore(stream,state)}function chunkInvalid(state,chunk){var er;return!_isUint8Array(chunk)&&typeof chunk!="string"&&chunk!==void 0&&!state.objectMode&&(er=new TypeError("Invalid non-string/buffer chunk")),er}function needMoreData(state){return!state.ended&&(state.needReadable||state.length<state.highWaterMark||state.length===0)}Readable3.prototype.isPaused=function(){return this._readableState.flowing===!1};Readable3.prototype.setEncoding=function(enc){return StringDecoder||(StringDecoder=require_string_decoder().StringDecoder),this._readableState.decoder=new StringDecoder(enc),this._readableState.encoding=enc,this};var MAX_HWM=8388608;function computeNewHighWaterMark(n){return n>=MAX_HWM?n=MAX_HWM:(n--,n|=n>>>1,n|=n>>>2,n|=n>>>4,n|=n>>>8,n|=n>>>16,n++),n}function howMuchToRead(n,state){return n<=0||state.length===0&&state.ended?0:state.objectMode?1:n!==n?state.flowing&&state.length?state.buffer.head.data.length:state.length:(n>state.highWaterMark&&(state.highWaterMark=computeNewHighWaterMark(n)),n<=state.length?n:state.ended?state.length:(state.needReadable=!0,0))}Readable3.prototype.read=function(n){debug2("read",n),n=parseInt(n,10);var state=this._readableState,nOrig=n;if(n!==0&&(state.emittedReadable=!1),n===0&&state.needReadable&&(state.length>=state.highWaterMark||state.ended))return debug2("read: emitReadable",state.length,state.ended),state.length===0&&state.ended?endReadable(this):emitReadable(this),null;if(n=howMuchToRead(n,state),n===0&&state.ended)return state.length===0&&endReadable(this),null;var doRead=state.needReadable;debug2("need readable",doRead),(state.length===0||state.length-n<state.highWaterMark)&&(doRead=!0,debug2("length less than watermark",doRead)),state.ended||state.reading?(doRead=!1,debug2("reading or ended",doRead)):doRead&&(debug2("do read"),state.reading=!0,state.sync=!0,state.length===0&&(state.needReadable=!0),this._read(state.highWaterMark),state.sync=!1,state.reading||(n=howMuchToRead(nOrig,state)));var ret;return n>0?ret=fromList(n,state):ret=null,ret===null?(state.needReadable=!0,n=0):state.length-=n,state.length===0&&(state.ended||(state.needReadable=!0),nOrig!==n&&state.ended&&endReadable(this)),ret!==null&&this.emit("data",ret),ret};function onEofChunk(stream,state){if(!state.ended){if(state.decoder){var chunk=state.decoder.end();chunk&&chunk.length&&(state.buffer.push(chunk),state.length+=state.objectMode?1:chunk.length)}state.ended=!0,emitReadable(stream)}}function emitReadable(stream){var state=stream._readableState;state.needReadable=!1,state.emittedReadable||(debug2("emitReadable",state.flowing),state.emittedReadable=!0,state.sync?pna.nextTick(emitReadable_,stream):emitReadable_(stream))}function emitReadable_(stream){debug2("emit readable"),stream.emit("readable"),flow(stream)}function maybeReadMore(stream,state){state.readingMore||(state.readingMore=!0,pna.nextTick(maybeReadMore_,stream,state))}function maybeReadMore_(stream,state){for(var len=state.length;!state.reading&&!state.flowing&&!state.ended&&state.length<state.highWaterMark&&(debug2("maybeReadMore read 0"),stream.read(0),len!==state.length);)len=state.length;state.readingMore=!1}Readable3.prototype._read=function(n){this.emit("error",new Error("_read() is not implemented"))};Readable3.prototype.pipe=function(dest,pipeOpts){var src=this,state=this._readableState;switch(state.pipesCount){case 0:state.pipes=dest;break;case 1:state.pipes=[state.pipes,dest];break;default:state.pipes.push(dest);break}state.pipesCount+=1,debug2("pipe count=%d opts=%j",state.pipesCount,pipeOpts);var doEnd=(!pipeOpts||pipeOpts.end!==!1)&&dest!==process.stdout&&dest!==process.stderr,endFn=doEnd?onend:unpipe;state.endEmitted?pna.nextTick(endFn):src.once("end",endFn),dest.on("unpipe",onunpipe);function onunpipe(readable,unpipeInfo){debug2("onunpipe"),readable===src&&unpipeInfo&&unpipeInfo.hasUnpiped===!1&&(unpipeInfo.hasUnpiped=!0,cleanup())}function onend(){debug2("onend"),dest.end()}var ondrain=pipeOnDrain(src);dest.on("drain",ondrain);var cleanedUp=!1;function cleanup(){debug2("cleanup"),dest.removeListener("close",onclose),dest.removeListener("finish",onfinish),dest.removeListener("drain",ondrain),dest.removeListener("error",onerror),dest.removeListener("unpipe",onunpipe),src.removeListener("end",onend),src.removeListener("end",unpipe),src.removeListener("data",ondata),cleanedUp=!0,state.awaitDrain&&(!dest._writableState||dest._writableState.needDrain)&&ondrain()}var increasedAwaitDrain=!1;src.on("data",ondata);function ondata(chunk){debug2("ondata"),increasedAwaitDrain=!1;var ret=dest.write(chunk);ret===!1&&!increasedAwaitDrain&&((state.pipesCount===1&&state.pipes===dest||state.pipesCount>1&&indexOf(state.pipes,dest)!==-1)&&!cleanedUp&&(debug2("false write response, pause",state.awaitDrain),state.awaitDrain++,increasedAwaitDrain=!0),src.pause())}function onerror(er){debug2("onerror",er),unpipe(),dest.removeListener("error",onerror),EElistenerCount(dest,"error")===0&&dest.emit("error",er)}prependListener(dest,"error",onerror);function onclose(){dest.removeListener("finish",onfinish),unpipe()}dest.once("close",onclose);function onfinish(){debug2("onfinish"),dest.removeListener("close",onclose),unpipe()}dest.once("finish",onfinish);function unpipe(){debug2("unpipe"),src.unpipe(dest)}return dest.emit("pipe",src),state.flowing||(debug2("pipe resume"),src.resume()),dest};function pipeOnDrain(src){return function(){var state=src._readableState;debug2("pipeOnDrain",state.awaitDrain),state.awaitDrain&&state.awaitDrain--,state.awaitDrain===0&&EElistenerCount(src,"data")&&(state.flowing=!0,flow(src))}}Readable3.prototype.unpipe=function(dest){var state=this._readableState,unpipeInfo={hasUnpiped:!1};if(state.pipesCount===0)return this;if(state.pipesCount===1)return dest&&dest!==state.pipes?this:(dest||(dest=state.pipes),state.pipes=null,state.pipesCount=0,state.flowing=!1,dest&&dest.emit("unpipe",this,unpipeInfo),this);if(!dest){var dests=state.pipes,len=state.pipesCount;state.pipes=null,state.pipesCount=0,state.flowing=!1;for(var i=0;i<len;i++)dests[i].emit("unpipe",this,{hasUnpiped:!1});return this}var index=indexOf(state.pipes,dest);return index===-1?this:(state.pipes.splice(index,1),state.pipesCount-=1,state.pipesCount===1&&(state.pipes=state.pipes[0]),dest.emit("unpipe",this,unpipeInfo),this)};Readable3.prototype.on=function(ev,fn){var res=Stream.prototype.on.call(this,ev,fn);if(ev==="data")this._readableState.flowing!==!1&&this.resume();else if(ev==="readable"){var state=this._readableState;!state.endEmitted&&!state.readableListening&&(state.readableListening=state.needReadable=!0,state.emittedReadable=!1,state.reading?state.length&&emitReadable(this):pna.nextTick(nReadingNextTick,this))}return res};Readable3.prototype.addListener=Readable3.prototype.on;function nReadingNextTick(self2){debug2("readable nexttick read 0"),self2.read(0)}Readable3.prototype.resume=function(){var state=this._readableState;return state.flowing||(debug2("resume"),state.flowing=!0,resume(this,state)),this};function resume(stream,state){state.resumeScheduled||(state.resumeScheduled=!0,pna.nextTick(resume_,stream,state))}function resume_(stream,state){state.reading||(debug2("resume read 0"),stream.read(0)),state.resumeScheduled=!1,state.awaitDrain=0,stream.emit("resume"),flow(stream),state.flowing&&!state.reading&&stream.read(0)}Readable3.prototype.pause=function(){return debug2("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(debug2("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function flow(stream){var state=stream._readableState;for(debug2("flow",state.flowing);state.flowing&&stream.read()!==null;);}Readable3.prototype.wrap=function(stream){var _this=this,state=this._readableState,paused=!1;stream.on("end",function(){if(debug2("wrapped end"),state.decoder&&!state.ended){var chunk=state.decoder.end();chunk&&chunk.length&&_this.push(chunk)}_this.push(null)}),stream.on("data",function(chunk){if(debug2("wrapped data"),state.decoder&&(chunk=state.decoder.write(chunk)),!(state.objectMode&&chunk==null)&&!(!state.objectMode&&(!chunk||!chunk.length))){var ret=_this.push(chunk);ret||(paused=!0,stream.pause())}});for(var i in stream)this[i]===void 0&&typeof stream[i]=="function"&&(this[i]=function(method){return function(){return stream[method].apply(stream,arguments)}}(i));for(var n=0;n<kProxyEvents.length;n++)stream.on(kProxyEvents[n],this.emit.bind(this,kProxyEvents[n]));return this._read=function(n2){debug2("wrapped _read",n2),paused&&(paused=!1,stream.resume())},this};Object.defineProperty(Readable3.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Readable3._fromList=fromList;function fromList(n,state){if(state.length===0)return null;var ret;return state.objectMode?ret=state.buffer.shift():!n||n>=state.length?(state.decoder?ret=state.buffer.join(""):state.buffer.length===1?ret=state.buffer.head.data:ret=state.buffer.concat(state.length),state.buffer.clear()):ret=fromListPartial(n,state.buffer,state.decoder),ret}function fromListPartial(n,list,hasStrings){var ret;return n<list.head.data.length?(ret=list.head.data.slice(0,n),list.head.data=list.head.data.slice(n)):n===list.head.data.length?ret=list.shift():ret=hasStrings?copyFromBufferString(n,list):copyFromBuffer(n,list),ret}function copyFromBufferString(n,list){var p=list.head,c=1,ret=p.data;for(n-=ret.length;p=p.next;){var str=p.data,nb=n>str.length?str.length:n;if(nb===str.length?ret+=str:ret+=str.slice(0,n),n-=nb,n===0){nb===str.length?(++c,p.next?list.head=p.next:list.head=list.tail=null):(list.head=p,p.data=str.slice(nb));break}++c}return list.length-=c,ret}function copyFromBuffer(n,list){var ret=Buffer2.allocUnsafe(n),p=list.head,c=1;for(p.data.copy(ret),n-=p.data.length;p=p.next;){var buf=p.data,nb=n>buf.length?buf.length:n;if(buf.copy(ret,ret.length-n,0,nb),n-=nb,n===0){nb===buf.length?(++c,p.next?list.head=p.next:list.head=list.tail=null):(list.head=p,p.data=buf.slice(nb));break}++c}return list.length-=c,ret}function endReadable(stream){var state=stream._readableState;if(state.length>0)throw new Error('"endReadable()" called on non-empty stream');state.endEmitted||(state.ended=!0,pna.nextTick(endReadableNT,state,stream))}function endReadableNT(state,stream){!state.endEmitted&&state.length===0&&(state.endEmitted=!0,stream.readable=!1,stream.emit("end"))}function indexOf(xs,x){for(var i=0,l=xs.length;i<l;i++)if(xs[i]===x)return i;return-1}}});var require_stream_transform=__commonJS({"../../node_modules/.pnpm/readable-stream@2.3.8/node_modules/readable-stream/lib/_stream_transform.js"(exports2,module2){"use strict";module2.exports=Transform;var Duplex=require_stream_duplex(),util=Object.create(require_util());util.inherits=require_inherits();util.inherits(Transform,Duplex);function afterTransform(er,data){var ts=this._transformState;ts.transforming=!1;var cb=ts.writecb;if(!cb)return this.emit("error",new Error("write callback called multiple times"));ts.writechunk=null,ts.writecb=null,data!=null&&this.push(data),cb(er);var rs=this._readableState;rs.reading=!1,(rs.needReadable||rs.length<rs.highWaterMark)&&this._read(rs.highWaterMark)}function Transform(options){if(!(this instanceof Transform))return new Transform(options);Duplex.call(this,options),this._transformState={afterTransform:afterTransform.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,options&&(typeof options.transform=="function"&&(this._transform=options.transform),typeof options.flush=="function"&&(this._flush=options.flush)),this.on("prefinish",prefinish)}function prefinish(){var _this=this;typeof this._flush=="function"?this._flush(function(er,data){done(_this,er,data)}):done(this,null,null)}Transform.prototype.push=function(chunk,encoding){return this._transformState.needTransform=!1,Duplex.prototype.push.call(this,chunk,encoding)};Transform.prototype._transform=function(chunk,encoding,cb){throw new Error("_transform() is not implemented")};Transform.prototype._write=function(chunk,encoding,cb){var ts=this._transformState;if(ts.writecb=cb,ts.writechunk=chunk,ts.writeencoding=encoding,!ts.transforming){var rs=this._readableState;(ts.needTransform||rs.needReadable||rs.length<rs.highWaterMark)&&this._read(rs.highWaterMark)}};Transform.prototype._read=function(n){var ts=this._transformState;ts.writechunk!==null&&ts.writecb&&!ts.transforming?(ts.transforming=!0,this._transform(ts.writechunk,ts.writeencoding,ts.afterTransform)):ts.needTransform=!0};Transform.prototype._destroy=function(err,cb){var _this2=this;Duplex.prototype._destroy.call(this,err,function(err2){cb(err2),_this2.emit("close")})};function done(stream,er,data){if(er)return stream.emit("error",er);if(data!=null&&stream.push(data),stream._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(stream._transformState.transforming)throw new Error("Calling transform done when still transforming");return stream.push(null)}}});var require_stream_passthrough=__commonJS({"../../node_modules/.pnpm/readable-stream@2.3.8/node_modules/readable-stream/lib/_stream_passthrough.js"(exports2,module2){"use strict";module2.exports=PassThrough;var Transform=require_stream_transform(),util=Object.create(require_util());util.inherits=require_inherits();util.inherits(PassThrough,Transform);function PassThrough(options){if(!(this instanceof PassThrough))return new PassThrough(options);Transform.call(this,options)}PassThrough.prototype._transform=function(chunk,encoding,cb){cb(null,chunk)}}});var require_readable=__commonJS({"../../node_modules/.pnpm/readable-stream@2.3.8/node_modules/readable-stream/readable.js"(exports2,module2){var Stream=require("stream");process.env.READABLE_STREAM==="disable"&&Stream?(module2.exports=Stream,exports2=module2.exports=Stream.Readable,exports2.Readable=Stream.Readable,exports2.Writable=Stream.Writable,exports2.Duplex=Stream.Duplex,exports2.Transform=Stream.Transform,exports2.PassThrough=Stream.PassThrough,exports2.Stream=Stream):(exports2=module2.exports=require_stream_readable(),exports2.Stream=Stream||exports2,exports2.Readable=exports2,exports2.Writable=require_stream_writable(),exports2.Duplex=require_stream_duplex(),exports2.Transform=require_stream_transform(),exports2.PassThrough=require_stream_passthrough())}});var require_from2=__commonJS({"../../node_modules/.pnpm/from2@2.3.0/node_modules/from2/index.js"(exports2,module2){var Readable3=require_readable().Readable,inherits=require_inherits();module2.exports=from2;from2.ctor=ctor;from2.obj=obj;var Proto=ctor();function toFunction(list){return list=list.slice(),function(_,cb){var err=null,item=list.length?list.shift():null;item instanceof Error&&(err=item,item=null),cb(err,item)}}function from2(opts,read){(typeof opts!="object"||Array.isArray(opts))&&(read=opts,opts={});var rs=new Proto(opts);return rs._from=Array.isArray(read)?toFunction(read):read||noop,rs}function ctor(opts,read){typeof opts=="function"&&(read=opts,opts={}),opts=defaults(opts),inherits(Class,Readable3);function Class(override){if(!(this instanceof Class))return new Class(override);this._reading=!1,this._callback=check,this.destroyed=!1,Readable3.call(this,override||opts);var self2=this,hwm=this._readableState.highWaterMark;function check(err,data){if(!self2.destroyed){if(err)return self2.destroy(err);if(data===null)return self2.push(null);self2._reading=!1,self2.push(data)&&self2._read(hwm)}}}return Class.prototype._from=read||noop,Class.prototype._read=function(size){this._reading||this.destroyed||(this._reading=!0,this._from(size,this._callback))},Class.prototype.destroy=function(err){if(!this.destroyed){this.destroyed=!0;var self2=this;process.nextTick(function(){err&&self2.emit("error",err),self2.emit("close")})}},Class}function obj(opts,read){return(typeof opts=="function"||Array.isArray(opts))&&(read=opts,opts={}),opts=defaults(opts),opts.objectMode=!0,opts.highWaterMark=16,from2(opts,read)}function noop(){}function defaults(opts){return opts=opts||{},opts}}});var require_p_is_promise=__commonJS({"../../node_modules/.pnpm/p-is-promise@2.1.0/node_modules/p-is-promise/index.js"(exports2,module2){"use strict";var isPromise=input=>input instanceof Promise||input!==null&&typeof input=="object"&&typeof input.then=="function"&&typeof input.catch=="function";module2.exports=isPromise;module2.exports.default=isPromise}});var require_into_stream=__commonJS({"../../node_modules/.pnpm/into-stream@5.0.0/node_modules/into-stream/index.js"(exports2,module2){"use strict";var from=require_from2(),pIsPromise=require_p_is_promise(),intoStream2=input=>{Array.isArray(input)&&(input=input.slice());let promise,iterator;prepare(input);function prepare(value){input=value,(input instanceof ArrayBuffer||ArrayBuffer.isView(input)&&!Buffer.isBuffer(input))&&(input=Buffer.from(input)),promise=pIsPromise(input)?input:null,iterator=!promise&&input[Symbol.iterator]&&typeof input!="string"&&!Buffer.isBuffer(input)?input[Symbol.iterator]():null}return from(function reader(size,callback){if(promise){(async()=>{try{await prepare(await promise),reader.call(this,size,callback)}catch(error){callback(error)}})();return}if(iterator){let object=iterator.next();setImmediate(callback,null,object.done?null:object.value);return}if(input.length===0){setImmediate(callback,null,null);return}let chunk=input.slice(0,size);input=input.slice(size),setImmediate(callback,null,chunk)})};module2.exports=intoStream2;module2.exports.default=intoStream2;module2.exports.object=input=>{Array.isArray(input)&&(input=input.slice());let promise,iterator;prepare(input);function prepare(value){input=value,promise=pIsPromise(input)?input:null,iterator=!promise&&input[Symbol.iterator]?input[Symbol.iterator]():null}return from.obj(function reader(size,callback){if(promise){(async()=>{try{await prepare(await promise),reader.call(this,size,callback)}catch(error){callback(error)}})();return}if(iterator){let object=iterator.next();setImmediate(callback,null,object.done?null:object.value);return}this.push(input),setImmediate(callback,null,null)})}}});var file_blob_exports={};__export(file_blob_exports,{default:()=>FileBlob});var import_assert,import_into_stream,FileBlob,init_file_blob=__esm({"src/file-blob.ts"(){"use strict";import_assert=__toESM(require("assert")),import_into_stream=__toESM(require_into_stream()),FileBlob=class _FileBlob{constructor({mode=33188,contentType,data}){(0,import_assert.default)(typeof mode=="number"),(0,import_assert.default)(typeof data=="string"||Buffer.isBuffer(data)),this.type="FileBlob",this.mode=mode,this.contentType=contentType,this.data=data}static async fromStream({mode=33188,contentType,stream}){(0,import_assert.default)(typeof mode=="number"),(0,import_assert.default)(typeof stream.pipe=="function");let chunks=[];await new Promise((resolve4,reject)=>{stream.on("data",chunk=>chunks.push(Uint8Array.from(Buffer.isBuffer(chunk)?chunk:Buffer.from(chunk)))),stream.on("error",error=>reject(error)),stream.on("end",()=>resolve4())});let data=Buffer.concat(chunks);return new _FileBlob({mode,contentType,data})}async toStreamAsync(){return this.toStream()}toStream(){let data=typeof this.data=="string"?Buffer.from(this.data,"utf8"):this.data;return(0,import_into_stream.default)(data)}}}});var require_universalify=__commonJS({"../../node_modules/.pnpm/universalify@2.0.1/node_modules/universalify/index.js"(exports2){"use strict";exports2.fromCallback=function(fn){return Object.defineProperty(function(...args){if(typeof args[args.length-1]=="function")fn.apply(this,args);else return new Promise((resolve4,reject)=>{args.push((err,res)=>err!=null?reject(err):resolve4(res)),fn.apply(this,args)})},"name",{value:fn.name})};exports2.fromPromise=function(fn){return Object.defineProperty(function(...args){let cb=args[args.length-1];if(typeof cb!="function")return fn.apply(this,args);args.pop(),fn.apply(this,args).then(r=>cb(null,r),cb)},"name",{value:fn.name})}}});var require_polyfills=__commonJS({"../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/polyfills.js"(exports2,module2){var constants2=require("constants"),origCwd=process.cwd,cwd=null,platform=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return cwd||(cwd=origCwd.call(process)),cwd};try{process.cwd()}catch{}typeof process.chdir=="function"&&(chdir=process.chdir,process.chdir=function(d){cwd=null,chdir.call(process,d)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,chdir));var chdir;module2.exports=patch;function patch(fs15){constants2.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&patchLchmod(fs15),fs15.lutimes||patchLutimes(fs15),fs15.chown=chownFix(fs15.chown),fs15.fchown=chownFix(fs15.fchown),fs15.lchown=chownFix(fs15.lchown),fs15.chmod=chmodFix(fs15.chmod),fs15.fchmod=chmodFix(fs15.fchmod),fs15.lchmod=chmodFix(fs15.lchmod),fs15.chownSync=chownFixSync(fs15.chownSync),fs15.fchownSync=chownFixSync(fs15.fchownSync),fs15.lchownSync=chownFixSync(fs15.lchownSync),fs15.chmodSync=chmodFixSync(fs15.chmodSync),fs15.fchmodSync=chmodFixSync(fs15.fchmodSync),fs15.lchmodSync=chmodFixSync(fs15.lchmodSync),fs15.stat=statFix(fs15.stat),fs15.fstat=statFix(fs15.fstat),fs15.lstat=statFix(fs15.lstat),fs15.statSync=statFixSync(fs15.statSync),fs15.fstatSync=statFixSync(fs15.fstatSync),fs15.lstatSync=statFixSync(fs15.lstatSync),fs15.chmod&&!fs15.lchmod&&(fs15.lchmod=function(path9,mode,cb){cb&&process.nextTick(cb)},fs15.lchmodSync=function(){}),fs15.chown&&!fs15.lchown&&(fs15.lchown=function(path9,uid,gid,cb){cb&&process.nextTick(cb)},fs15.lchownSync=function(){}),platform==="win32"&&(fs15.rename=typeof fs15.rename!="function"?fs15.rename:function(fs$rename){function rename2(from,to,cb){var start=Date.now(),backoff=0;fs$rename(from,to,function CB(er){if(er&&(er.code==="EACCES"||er.code==="EPERM"||er.code==="EBUSY")&&Date.now()-start<6e4){setTimeout(function(){fs15.stat(to,function(stater,st){stater&&stater.code==="ENOENT"?fs$rename(from,to,CB):cb(er)})},backoff),backoff<100&&(backoff+=10);return}cb&&cb(er)})}return Object.setPrototypeOf&&Object.setPrototypeOf(rename2,fs$rename),rename2}(fs15.rename)),fs15.read=typeof fs15.read!="function"?fs15.read:function(fs$read){function read(fd,buffer,offset,length,position,callback_){var callback;if(callback_&&typeof callback_=="function"){var eagCounter=0;callback=function(er,_,__){if(er&&er.code==="EAGAIN"&&eagCounter<10)return eagCounter++,fs$read.call(fs15,fd,buffer,offset,length,position,callback);callback_.apply(this,arguments)}}return fs$read.call(fs15,fd,buffer,offset,length,position,callback)}return Object.setPrototypeOf&&Object.setPrototypeOf(read,fs$read),read}(fs15.read),fs15.readSync=typeof fs15.readSync!="function"?fs15.readSync:function(fs$readSync){return function(fd,buffer,offset,length,position){for(var eagCounter=0;;)try{return fs$readSync.call(fs15,fd,buffer,offset,length,position)}catch(er){if(er.code==="EAGAIN"&&eagCounter<10){eagCounter++;continue}throw er}}}(fs15.readSync);function patchLchmod(fs16){fs16.lchmod=function(path9,mode,callback){fs16.open(path9,constants2.O_WRONLY|constants2.O_SYMLINK,mode,function(err,fd){if(err){callback&&callback(err);return}fs16.fchmod(fd,mode,function(err2){fs16.close(fd,function(err22){callback&&callback(err2||err22)})})})},fs16.lchmodSync=function(path9,mode){var fd=fs16.openSync(path9,constants2.O_WRONLY|constants2.O_SYMLINK,mode),threw=!0,ret;try{ret=fs16.fchmodSync(fd,mode),threw=!1}finally{if(threw)try{fs16.closeSync(fd)}catch{}else fs16.closeSync(fd)}return ret}}function patchLutimes(fs16){constants2.hasOwnProperty("O_SYMLINK")&&fs16.futimes?(fs16.lutimes=function(path9,at,mt,cb){fs16.open(path9,constants2.O_SYMLINK,function(er,fd){if(er){cb&&cb(er);return}fs16.futimes(fd,at,mt,function(er2){fs16.close(fd,function(er22){cb&&cb(er2||er22)})})})},fs16.lutimesSync=function(path9,at,mt){var fd=fs16.openSync(path9,constants2.O_SYMLINK),ret,threw=!0;try{ret=fs16.futimesSync(fd,at,mt),threw=!1}finally{if(threw)try{fs16.closeSync(fd)}catch{}else fs16.closeSync(fd)}return ret}):fs16.futimes&&(fs16.lutimes=function(_a,_b,_c,cb){cb&&process.nextTick(cb)},fs16.lutimesSync=function(){})}function chmodFix(orig){return orig&&function(target,mode,cb){return orig.call(fs15,target,mode,function(er){chownErOk(er)&&(er=null),cb&&cb.apply(this,arguments)})}}function chmodFixSync(orig){return orig&&function(target,mode){try{return orig.call(fs15,target,mode)}catch(er){if(!chownErOk(er))throw er}}}function chownFix(orig){return orig&&function(target,uid,gid,cb){return orig.call(fs15,target,uid,gid,function(er){chownErOk(er)&&(er=null),cb&&cb.apply(this,arguments)})}}function chownFixSync(orig){return orig&&function(target,uid,gid){try{return orig.call(fs15,target,uid,gid)}catch(er){if(!chownErOk(er))throw er}}}function statFix(orig){return orig&&function(target,options,cb){typeof options=="function"&&(cb=options,options=null);function callback(er,stats){stats&&(stats.uid<0&&(stats.uid+=4294967296),stats.gid<0&&(stats.gid+=4294967296)),cb&&cb.apply(this,arguments)}return options?orig.call(fs15,target,options,callback):orig.call(fs15,target,callback)}}function statFixSync(orig){return orig&&function(target,options){var stats=options?orig.call(fs15,target,options):orig.call(fs15,target);return stats&&(stats.uid<0&&(stats.uid+=4294967296),stats.gid<0&&(stats.gid+=4294967296)),stats}}function chownErOk(er){if(!er||er.code==="ENOSYS")return!0;var nonroot=!process.getuid||process.getuid()!==0;return!!(nonroot&&(er.code==="EINVAL"||er.code==="EPERM"))}}}});var require_legacy_streams=__commonJS({"../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/legacy-streams.js"(exports2,module2){var Stream=require("stream").Stream;module2.exports=legacy;function legacy(fs15){return{ReadStream,WriteStream};function ReadStream(path9,options){if(!(this instanceof ReadStream))return new ReadStream(path9,options);Stream.call(this);var self2=this;this.path=path9,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=64*1024,options=options||{};for(var keys=Object.keys(options),index=0,length=keys.length;index<length;index++){var key=keys[index];this[key]=options[key]}if(this.encoding&&this.setEncoding(this.encoding),this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.end===void 0)this.end=1/0;else if(typeof this.end!="number")throw TypeError("end must be a Number");if(this.start>this.end)throw new Error("start must be <= end");this.pos=this.start}if(this.fd!==null){process.nextTick(function(){self2._read()});return}fs15.open(this.path,this.flags,this.mode,function(err,fd){if(err){self2.emit("error",err),self2.readable=!1;return}self2.fd=fd,self2.emit("open",fd),self2._read()})}function WriteStream(path9,options){if(!(this instanceof WriteStream))return new WriteStream(path9,options);Stream.call(this),this.path=path9,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,options=options||{};for(var keys=Object.keys(options),index=0,length=keys.length;index<length;index++){var key=keys[index];this[key]=options[key]}if(this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.start<0)throw new Error("start must be >= zero");this.pos=this.start}this.busy=!1,this._queue=[],this.fd===null&&(this._open=fs15.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}}});var require_clone=__commonJS({"../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/clone.js"(exports2,module2){"use strict";module2.exports=clone;var getPrototypeOf=Object.getPrototypeOf||function(obj){return obj.__proto__};function clone(obj){if(obj===null||typeof obj!="object")return obj;if(obj instanceof Object)var copy={__proto__:getPrototypeOf(obj)};else var copy=Object.create(null);return Object.getOwnPropertyNames(obj).forEach(function(key){Object.defineProperty(copy,key,Object.getOwnPropertyDescriptor(obj,key))}),copy}}});var require_graceful_fs=__commonJS({"../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/graceful-fs.js"(exports2,module2){var fs15=require("fs"),polyfills=require_polyfills(),legacy=require_legacy_streams(),clone=require_clone(),util=require("util"),gracefulQueue,previousSymbol;typeof Symbol=="function"&&typeof Symbol.for=="function"?(gracefulQueue=Symbol.for("graceful-fs.queue"),previousSymbol=Symbol.for("graceful-fs.previous")):(gracefulQueue="___graceful-fs.queue",previousSymbol="___graceful-fs.previous");function noop(){}function publishQueue(context,queue2){Object.defineProperty(context,gracefulQueue,{get:function(){return queue2}})}var debug2=noop;util.debuglog?debug2=util.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(debug2=function(){var m=util.format.apply(util,arguments);m="GFS4: "+m.split(/\n/).join(`
|
|
2
|
-
GFS4: `),console.error(m)});fs15[gracefulQueue]||(queue=global[gracefulQueue]||[],publishQueue(fs15,queue),fs15.close=function(fs$close){function close(fd,cb){return fs$close.call(fs15,fd,function(err){err||resetQueue(),typeof cb=="function"&&cb.apply(this,arguments)})}return Object.defineProperty(close,previousSymbol,{value:fs$close}),close}(fs15.close),fs15.closeSync=function(fs$closeSync){function closeSync(fd){fs$closeSync.apply(fs15,arguments),resetQueue()}return Object.defineProperty(closeSync,previousSymbol,{value:fs$closeSync}),closeSync}(fs15.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",function(){debug2(fs15[gracefulQueue]),require("assert").equal(fs15[gracefulQueue].length,0)}));var queue;global[gracefulQueue]||publishQueue(global,fs15[gracefulQueue]);module2.exports=patch(clone(fs15));process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!fs15.__patched&&(module2.exports=patch(fs15),fs15.__patched=!0);function patch(fs16){polyfills(fs16),fs16.gracefulify=patch,fs16.createReadStream=createReadStream,fs16.createWriteStream=createWriteStream;var fs$readFile=fs16.readFile;fs16.readFile=readFile4;function readFile4(path9,options,cb){return typeof options=="function"&&(cb=options,options=null),go$readFile(path9,options,cb);function go$readFile(path10,options2,cb2,startTime){return fs$readFile(path10,options2,function(err){err&&(err.code==="EMFILE"||err.code==="ENFILE")?enqueue([go$readFile,[path10,options2,cb2],err,startTime||Date.now(),Date.now()]):typeof cb2=="function"&&cb2.apply(this,arguments)})}}var fs$writeFile=fs16.writeFile;fs16.writeFile=writeFile;function writeFile(path9,data,options,cb){return typeof options=="function"&&(cb=options,options=null),go$writeFile(path9,data,options,cb);function go$writeFile(path10,data2,options2,cb2,startTime){return fs$writeFile(path10,data2,options2,function(err){err&&(err.code==="EMFILE"||err.code==="ENFILE")?enqueue([go$writeFile,[path10,data2,options2,cb2],err,startTime||Date.now(),Date.now()]):typeof cb2=="function"&&cb2.apply(this,arguments)})}}var fs$appendFile=fs16.appendFile;fs$appendFile&&(fs16.appendFile=appendFile);function appendFile(path9,data,options,cb){return typeof options=="function"&&(cb=options,options=null),go$appendFile(path9,data,options,cb);function go$appendFile(path10,data2,options2,cb2,startTime){return fs$appendFile(path10,data2,options2,function(err){err&&(err.code==="EMFILE"||err.code==="ENFILE")?enqueue([go$appendFile,[path10,data2,options2,cb2],err,startTime||Date.now(),Date.now()]):typeof cb2=="function"&&cb2.apply(this,arguments)})}}var fs$copyFile=fs16.copyFile;fs$copyFile&&(fs16.copyFile=copyFile);function copyFile(src,dest,flags,cb){return typeof flags=="function"&&(cb=flags,flags=0),go$copyFile(src,dest,flags,cb);function go$copyFile(src2,dest2,flags2,cb2,startTime){return fs$copyFile(src2,dest2,flags2,function(err){err&&(err.code==="EMFILE"||err.code==="ENFILE")?enqueue([go$copyFile,[src2,dest2,flags2,cb2],err,startTime||Date.now(),Date.now()]):typeof cb2=="function"&&cb2.apply(this,arguments)})}}var fs$readdir=fs16.readdir;fs16.readdir=readdir2;var noReaddirOptionVersions=/^v[0-5]\./;function readdir2(path9,options,cb){typeof options=="function"&&(cb=options,options=null);var go$readdir=noReaddirOptionVersions.test(process.version)?function(path10,options2,cb2,startTime){return fs$readdir(path10,fs$readdirCallback(path10,options2,cb2,startTime))}:function(path10,options2,cb2,startTime){return fs$readdir(path10,options2,fs$readdirCallback(path10,options2,cb2,startTime))};return go$readdir(path9,options,cb);function fs$readdirCallback(path10,options2,cb2,startTime){return function(err,files){err&&(err.code==="EMFILE"||err.code==="ENFILE")?enqueue([go$readdir,[path10,options2,cb2],err,startTime||Date.now(),Date.now()]):(files&&files.sort&&files.sort(),typeof cb2=="function"&&cb2.call(this,err,files))}}}if(process.version.substr(0,4)==="v0.8"){var legStreams=legacy(fs16);ReadStream=legStreams.ReadStream,WriteStream=legStreams.WriteStream}var fs$ReadStream=fs16.ReadStream;fs$ReadStream&&(ReadStream.prototype=Object.create(fs$ReadStream.prototype),ReadStream.prototype.open=ReadStream$open);var fs$WriteStream=fs16.WriteStream;fs$WriteStream&&(WriteStream.prototype=Object.create(fs$WriteStream.prototype),WriteStream.prototype.open=WriteStream$open),Object.defineProperty(fs16,"ReadStream",{get:function(){return ReadStream},set:function(val){ReadStream=val},enumerable:!0,configurable:!0}),Object.defineProperty(fs16,"WriteStream",{get:function(){return WriteStream},set:function(val){WriteStream=val},enumerable:!0,configurable:!0});var FileReadStream=ReadStream;Object.defineProperty(fs16,"FileReadStream",{get:function(){return FileReadStream},set:function(val){FileReadStream=val},enumerable:!0,configurable:!0});var FileWriteStream=WriteStream;Object.defineProperty(fs16,"FileWriteStream",{get:function(){return FileWriteStream},set:function(val){FileWriteStream=val},enumerable:!0,configurable:!0});function ReadStream(path9,options){return this instanceof ReadStream?(fs$ReadStream.apply(this,arguments),this):ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var that=this;open(that.path,that.flags,that.mode,function(err,fd){err?(that.autoClose&&that.destroy(),that.emit("error",err)):(that.fd=fd,that.emit("open",fd),that.read())})}function WriteStream(path9,options){return this instanceof WriteStream?(fs$WriteStream.apply(this,arguments),this):WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var that=this;open(that.path,that.flags,that.mode,function(err,fd){err?(that.destroy(),that.emit("error",err)):(that.fd=fd,that.emit("open",fd))})}function createReadStream(path9,options){return new fs16.ReadStream(path9,options)}function createWriteStream(path9,options){return new fs16.WriteStream(path9,options)}var fs$open=fs16.open;fs16.open=open;function open(path9,flags,mode,cb){return typeof mode=="function"&&(cb=mode,mode=null),go$open(path9,flags,mode,cb);function go$open(path10,flags2,mode2,cb2,startTime){return fs$open(path10,flags2,mode2,function(err,fd){err&&(err.code==="EMFILE"||err.code==="ENFILE")?enqueue([go$open,[path10,flags2,mode2,cb2],err,startTime||Date.now(),Date.now()]):typeof cb2=="function"&&cb2.apply(this,arguments)})}}return fs16}function enqueue(elem){debug2("ENQUEUE",elem[0].name,elem[1]),fs15[gracefulQueue].push(elem),retry2()}var retryTimer;function resetQueue(){for(var now=Date.now(),i=0;i<fs15[gracefulQueue].length;++i)fs15[gracefulQueue][i].length>2&&(fs15[gracefulQueue][i][3]=now,fs15[gracefulQueue][i][4]=now);retry2()}function retry2(){if(clearTimeout(retryTimer),retryTimer=void 0,fs15[gracefulQueue].length!==0){var elem=fs15[gracefulQueue].shift(),fn=elem[0],args=elem[1],err=elem[2],startTime=elem[3],lastTime=elem[4];if(startTime===void 0)debug2("RETRY",fn.name,args),fn.apply(null,args);else if(Date.now()-startTime>=6e4){debug2("TIMEOUT",fn.name,args);var cb=args.pop();typeof cb=="function"&&cb.call(null,err)}else{var sinceAttempt=Date.now()-lastTime,sinceStart=Math.max(lastTime-startTime,1),desiredDelay=Math.min(sinceStart*1.2,100);sinceAttempt>=desiredDelay?(debug2("RETRY",fn.name,args),fn.apply(null,args.concat([startTime]))):fs15[gracefulQueue].push(elem)}retryTimer===void 0&&(retryTimer=setTimeout(retry2,0))}}}});var require_fs=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/fs/index.js"(exports2){"use strict";var u=require_universalify().fromCallback,fs15=require_graceful_fs(),api=["access","appendFile","chmod","chown","close","copyFile","fchmod","fchown","fdatasync","fstat","fsync","ftruncate","futimes","lchmod","lchown","link","lstat","mkdir","mkdtemp","open","opendir","readdir","readFile","readlink","realpath","rename","rm","rmdir","stat","symlink","truncate","unlink","utimes","writeFile"].filter(key=>typeof fs15[key]=="function");Object.assign(exports2,fs15);api.forEach(method=>{exports2[method]=u(fs15[method])});exports2.realpath.native=u(fs15.realpath.native);exports2.exists=function(filename,callback){return typeof callback=="function"?fs15.exists(filename,callback):new Promise(resolve4=>fs15.exists(filename,resolve4))};exports2.read=function(fd,buffer,offset,length,position,callback){return typeof callback=="function"?fs15.read(fd,buffer,offset,length,position,callback):new Promise((resolve4,reject)=>{fs15.read(fd,buffer,offset,length,position,(err,bytesRead,buffer2)=>{if(err)return reject(err);resolve4({bytesRead,buffer:buffer2})})})};exports2.write=function(fd,buffer,...args){return typeof args[args.length-1]=="function"?fs15.write(fd,buffer,...args):new Promise((resolve4,reject)=>{fs15.write(fd,buffer,...args,(err,bytesWritten,buffer2)=>{if(err)return reject(err);resolve4({bytesWritten,buffer:buffer2})})})};typeof fs15.writev=="function"&&(exports2.writev=function(fd,buffers,...args){return typeof args[args.length-1]=="function"?fs15.writev(fd,buffers,...args):new Promise((resolve4,reject)=>{fs15.writev(fd,buffers,...args,(err,bytesWritten,buffers2)=>{if(err)return reject(err);resolve4({bytesWritten,buffers:buffers2})})})})}});var require_utils=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/mkdirs/utils.js"(exports2,module2){"use strict";var path9=require("path");module2.exports.checkPath=function(pth){if(process.platform==="win32"&&/[<>:"|?*]/.test(pth.replace(path9.parse(pth).root,""))){let error=new Error(`Path contains invalid characters: ${pth}`);throw error.code="EINVAL",error}}}});var require_make_dir=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/mkdirs/make-dir.js"(exports2,module2){"use strict";var fs15=require_fs(),{checkPath}=require_utils(),getMode=options=>{let defaults={mode:511};return typeof options=="number"?options:{...defaults,...options}.mode};module2.exports.makeDir=async(dir,options)=>(checkPath(dir),fs15.mkdir(dir,{mode:getMode(options),recursive:!0}));module2.exports.makeDirSync=(dir,options)=>(checkPath(dir),fs15.mkdirSync(dir,{mode:getMode(options),recursive:!0}))}});var require_mkdirs=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/mkdirs/index.js"(exports2,module2){"use strict";var u=require_universalify().fromPromise,{makeDir:_makeDir,makeDirSync}=require_make_dir(),makeDir=u(_makeDir);module2.exports={mkdirs:makeDir,mkdirsSync:makeDirSync,mkdirp:makeDir,mkdirpSync:makeDirSync,ensureDir:makeDir,ensureDirSync:makeDirSync}}});var require_utimes=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/util/utimes.js"(exports2,module2){"use strict";var fs15=require_graceful_fs();function utimesMillis(path9,atime,mtime2,callback){fs15.open(path9,"r+",(err,fd)=>{if(err)return callback(err);fs15.futimes(fd,atime,mtime2,futimesErr=>{fs15.close(fd,closeErr=>{callback&&callback(futimesErr||closeErr)})})})}function utimesMillisSync(path9,atime,mtime2){let fd=fs15.openSync(path9,"r+");return fs15.futimesSync(fd,atime,mtime2),fs15.closeSync(fd)}module2.exports={utimesMillis,utimesMillisSync}}});var require_stat=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/util/stat.js"(exports2,module2){"use strict";var fs15=require_fs(),path9=require("path"),util=require("util");function getStats(src,dest,opts){let statFunc=opts.dereference?file=>fs15.stat(file,{bigint:!0}):file=>fs15.lstat(file,{bigint:!0});return Promise.all([statFunc(src),statFunc(dest).catch(err=>{if(err.code==="ENOENT")return null;throw err})]).then(([srcStat,destStat])=>({srcStat,destStat}))}function getStatsSync(src,dest,opts){let destStat,statFunc=opts.dereference?file=>fs15.statSync(file,{bigint:!0}):file=>fs15.lstatSync(file,{bigint:!0}),srcStat=statFunc(src);try{destStat=statFunc(dest)}catch(err){if(err.code==="ENOENT")return{srcStat,destStat:null};throw err}return{srcStat,destStat}}function checkPaths(src,dest,funcName,opts,cb){util.callbackify(getStats)(src,dest,opts,(err,stats)=>{if(err)return cb(err);let{srcStat,destStat}=stats;if(destStat){if(areIdentical(srcStat,destStat)){let srcBaseName=path9.basename(src),destBaseName=path9.basename(dest);return funcName==="move"&&srcBaseName!==destBaseName&&srcBaseName.toLowerCase()===destBaseName.toLowerCase()?cb(null,{srcStat,destStat,isChangingCase:!0}):cb(new Error("Source and destination must not be the same."))}if(srcStat.isDirectory()&&!destStat.isDirectory())return cb(new Error(`Cannot overwrite non-directory '${dest}' with directory '${src}'.`));if(!srcStat.isDirectory()&&destStat.isDirectory())return cb(new Error(`Cannot overwrite directory '${dest}' with non-directory '${src}'.`))}return srcStat.isDirectory()&&isSrcSubdir(src,dest)?cb(new Error(errMsg(src,dest,funcName))):cb(null,{srcStat,destStat})})}function checkPathsSync(src,dest,funcName,opts){let{srcStat,destStat}=getStatsSync(src,dest,opts);if(destStat){if(areIdentical(srcStat,destStat)){let srcBaseName=path9.basename(src),destBaseName=path9.basename(dest);if(funcName==="move"&&srcBaseName!==destBaseName&&srcBaseName.toLowerCase()===destBaseName.toLowerCase())return{srcStat,destStat,isChangingCase:!0};throw new Error("Source and destination must not be the same.")}if(srcStat.isDirectory()&&!destStat.isDirectory())throw new Error(`Cannot overwrite non-directory '${dest}' with directory '${src}'.`);if(!srcStat.isDirectory()&&destStat.isDirectory())throw new Error(`Cannot overwrite directory '${dest}' with non-directory '${src}'.`)}if(srcStat.isDirectory()&&isSrcSubdir(src,dest))throw new Error(errMsg(src,dest,funcName));return{srcStat,destStat}}function checkParentPaths(src,srcStat,dest,funcName,cb){let srcParent=path9.resolve(path9.dirname(src)),destParent=path9.resolve(path9.dirname(dest));if(destParent===srcParent||destParent===path9.parse(destParent).root)return cb();fs15.stat(destParent,{bigint:!0},(err,destStat)=>err?err.code==="ENOENT"?cb():cb(err):areIdentical(srcStat,destStat)?cb(new Error(errMsg(src,dest,funcName))):checkParentPaths(src,srcStat,destParent,funcName,cb))}function checkParentPathsSync(src,srcStat,dest,funcName){let srcParent=path9.resolve(path9.dirname(src)),destParent=path9.resolve(path9.dirname(dest));if(destParent===srcParent||destParent===path9.parse(destParent).root)return;let destStat;try{destStat=fs15.statSync(destParent,{bigint:!0})}catch(err){if(err.code==="ENOENT")return;throw err}if(areIdentical(srcStat,destStat))throw new Error(errMsg(src,dest,funcName));return checkParentPathsSync(src,srcStat,destParent,funcName)}function areIdentical(srcStat,destStat){return destStat.ino&&destStat.dev&&destStat.ino===srcStat.ino&&destStat.dev===srcStat.dev}function isSrcSubdir(src,dest){let srcArr=path9.resolve(src).split(path9.sep).filter(i=>i),destArr=path9.resolve(dest).split(path9.sep).filter(i=>i);return srcArr.reduce((acc,cur,i)=>acc&&destArr[i]===cur,!0)}function errMsg(src,dest,funcName){return`Cannot ${funcName} '${src}' to a subdirectory of itself, '${dest}'.`}module2.exports={checkPaths,checkPathsSync,checkParentPaths,checkParentPathsSync,isSrcSubdir,areIdentical}}});var require_copy_sync=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/copy-sync/copy-sync.js"(exports2,module2){"use strict";var fs15=require_graceful_fs(),path9=require("path"),mkdirsSync=require_mkdirs().mkdirsSync,utimesMillisSync=require_utimes().utimesMillisSync,stat2=require_stat();function copySync(src,dest,opts){typeof opts=="function"&&(opts={filter:opts}),opts=opts||{},opts.clobber="clobber"in opts?!!opts.clobber:!0,opts.overwrite="overwrite"in opts?!!opts.overwrite:opts.clobber,opts.preserveTimestamps&&process.arch==="ia32"&&console.warn(`fs-extra: Using the preserveTimestamps option in 32-bit node is not recommended;
|
|
1
|
+
"use strict";var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __defNormalProp=(obj,key,value)=>key in obj?__defProp(obj,key,{enumerable:!0,configurable:!0,writable:!0,value}):obj[key]=value;var __esm=(fn,res)=>function(){return fn&&(res=(0,fn[__getOwnPropNames(fn)[0]])(fn=0)),res};var __commonJS=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports};var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0})},__copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod)),__toCommonJS=mod=>__copyProps(__defProp({},"__esModule",{value:!0}),mod);var __publicField=(obj,key,value)=>(__defNormalProp(obj,typeof key!="symbol"?key+"":key,value),value),__accessCheck=(obj,member,msg)=>{if(!member.has(obj))throw TypeError("Cannot "+msg)};var __privateGet=(obj,member,getter)=>(__accessCheck(obj,member,"read from private field"),getter?getter.call(obj):member.get(obj)),__privateAdd=(obj,member,value)=>{if(member.has(obj))throw TypeError("Cannot add the same private member more than once");member instanceof WeakSet?member.add(obj):member.set(obj,value)},__privateSet=(obj,member,value,setter)=>(__accessCheck(obj,member,"write to private field"),setter?setter.call(obj,value):member.set(obj,value),value);var require_process_nextick_args=__commonJS({"../../node_modules/.pnpm/process-nextick-args@2.0.1/node_modules/process-nextick-args/index.js"(exports2,module2){"use strict";typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0?module2.exports={nextTick}:module2.exports=process;function nextTick(fn,arg1,arg2,arg3){if(typeof fn!="function")throw new TypeError('"callback" argument must be a function');var len=arguments.length,args,i;switch(len){case 0:case 1:return process.nextTick(fn);case 2:return process.nextTick(function(){fn.call(null,arg1)});case 3:return process.nextTick(function(){fn.call(null,arg1,arg2)});case 4:return process.nextTick(function(){fn.call(null,arg1,arg2,arg3)});default:for(args=new Array(len-1),i=0;i<args.length;)args[i++]=arguments[i];return process.nextTick(function(){fn.apply(null,args)})}}}});var require_isarray=__commonJS({"../../node_modules/.pnpm/isarray@1.0.0/node_modules/isarray/index.js"(exports2,module2){var toString={}.toString;module2.exports=Array.isArray||function(arr){return toString.call(arr)=="[object Array]"}}});var require_stream=__commonJS({"../../node_modules/.pnpm/readable-stream@2.3.8/node_modules/readable-stream/lib/internal/streams/stream.js"(exports2,module2){module2.exports=require("stream")}});var require_safe_buffer=__commonJS({"../../node_modules/.pnpm/safe-buffer@5.1.2/node_modules/safe-buffer/index.js"(exports2,module2){var buffer=require("buffer"),Buffer2=buffer.Buffer;function copyProps(src,dst){for(var key in src)dst[key]=src[key]}Buffer2.from&&Buffer2.alloc&&Buffer2.allocUnsafe&&Buffer2.allocUnsafeSlow?module2.exports=buffer:(copyProps(buffer,exports2),exports2.Buffer=SafeBuffer);function SafeBuffer(arg,encodingOrOffset,length){return Buffer2(arg,encodingOrOffset,length)}copyProps(Buffer2,SafeBuffer);SafeBuffer.from=function(arg,encodingOrOffset,length){if(typeof arg=="number")throw new TypeError("Argument must not be a number");return Buffer2(arg,encodingOrOffset,length)};SafeBuffer.alloc=function(size,fill,encoding){if(typeof size!="number")throw new TypeError("Argument must be a number");var buf=Buffer2(size);return fill!==void 0?typeof encoding=="string"?buf.fill(fill,encoding):buf.fill(fill):buf.fill(0),buf};SafeBuffer.allocUnsafe=function(size){if(typeof size!="number")throw new TypeError("Argument must be a number");return Buffer2(size)};SafeBuffer.allocUnsafeSlow=function(size){if(typeof size!="number")throw new TypeError("Argument must be a number");return buffer.SlowBuffer(size)}}});var require_util=__commonJS({"../../node_modules/.pnpm/core-util-is@1.0.3/node_modules/core-util-is/lib/util.js"(exports2){function isArray(arg){return Array.isArray?Array.isArray(arg):objectToString(arg)==="[object Array]"}exports2.isArray=isArray;function isBoolean(arg){return typeof arg=="boolean"}exports2.isBoolean=isBoolean;function isNull(arg){return arg===null}exports2.isNull=isNull;function isNullOrUndefined(arg){return arg==null}exports2.isNullOrUndefined=isNullOrUndefined;function isNumber(arg){return typeof arg=="number"}exports2.isNumber=isNumber;function isString(arg){return typeof arg=="string"}exports2.isString=isString;function isSymbol(arg){return typeof arg=="symbol"}exports2.isSymbol=isSymbol;function isUndefined(arg){return arg===void 0}exports2.isUndefined=isUndefined;function isRegExp(re){return objectToString(re)==="[object RegExp]"}exports2.isRegExp=isRegExp;function isObject(arg){return typeof arg=="object"&&arg!==null}exports2.isObject=isObject;function isDate(d){return objectToString(d)==="[object Date]"}exports2.isDate=isDate;function isError(e){return objectToString(e)==="[object Error]"||e instanceof Error}exports2.isError=isError;function isFunction(arg){return typeof arg=="function"}exports2.isFunction=isFunction;function isPrimitive(arg){return arg===null||typeof arg=="boolean"||typeof arg=="number"||typeof arg=="string"||typeof arg=="symbol"||typeof arg>"u"}exports2.isPrimitive=isPrimitive;exports2.isBuffer=require("buffer").Buffer.isBuffer;function objectToString(o){return Object.prototype.toString.call(o)}}});var require_inherits_browser=__commonJS({"../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js"(exports2,module2){typeof Object.create=="function"?module2.exports=function(ctor,superCtor){superCtor&&(ctor.super_=superCtor,ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:!1,writable:!0,configurable:!0}}))}:module2.exports=function(ctor,superCtor){if(superCtor){ctor.super_=superCtor;var TempCtor=function(){};TempCtor.prototype=superCtor.prototype,ctor.prototype=new TempCtor,ctor.prototype.constructor=ctor}}}});var require_inherits=__commonJS({"../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits.js"(exports2,module2){try{if(util=require("util"),typeof util.inherits!="function")throw"";module2.exports=util.inherits}catch{module2.exports=require_inherits_browser()}var util}});var require_BufferList=__commonJS({"../../node_modules/.pnpm/readable-stream@2.3.8/node_modules/readable-stream/lib/internal/streams/BufferList.js"(exports2,module2){"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var Buffer2=require_safe_buffer().Buffer,util=require("util");function copyBuffer(src,target,offset){src.copy(target,offset)}module2.exports=function(){function BufferList(){_classCallCheck(this,BufferList),this.head=null,this.tail=null,this.length=0}return BufferList.prototype.push=function(v){var entry={data:v,next:null};this.length>0?this.tail.next=entry:this.head=entry,this.tail=entry,++this.length},BufferList.prototype.unshift=function(v){var entry={data:v,next:this.head};this.length===0&&(this.tail=entry),this.head=entry,++this.length},BufferList.prototype.shift=function(){if(this.length!==0){var ret=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,ret}},BufferList.prototype.clear=function(){this.head=this.tail=null,this.length=0},BufferList.prototype.join=function(s){if(this.length===0)return"";for(var p=this.head,ret=""+p.data;p=p.next;)ret+=s+p.data;return ret},BufferList.prototype.concat=function(n){if(this.length===0)return Buffer2.alloc(0);for(var ret=Buffer2.allocUnsafe(n>>>0),p=this.head,i=0;p;)copyBuffer(p.data,ret,i),i+=p.data.length,p=p.next;return ret},BufferList}();util&&util.inspect&&util.inspect.custom&&(module2.exports.prototype[util.inspect.custom]=function(){var obj=util.inspect({length:this.length});return this.constructor.name+" "+obj})}});var require_destroy=__commonJS({"../../node_modules/.pnpm/readable-stream@2.3.8/node_modules/readable-stream/lib/internal/streams/destroy.js"(exports2,module2){"use strict";var pna=require_process_nextick_args();function destroy(err,cb){var _this=this,readableDestroyed=this._readableState&&this._readableState.destroyed,writableDestroyed=this._writableState&&this._writableState.destroyed;return readableDestroyed||writableDestroyed?(cb?cb(err):err&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,pna.nextTick(emitErrorNT,this,err)):pna.nextTick(emitErrorNT,this,err)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(err||null,function(err2){!cb&&err2?_this._writableState?_this._writableState.errorEmitted||(_this._writableState.errorEmitted=!0,pna.nextTick(emitErrorNT,_this,err2)):pna.nextTick(emitErrorNT,_this,err2):cb&&cb(err2)}),this)}function undestroy(){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)}function emitErrorNT(self2,err){self2.emit("error",err)}module2.exports={destroy,undestroy}}});var require_node=__commonJS({"../../node_modules/.pnpm/util-deprecate@1.0.2/node_modules/util-deprecate/node.js"(exports2,module2){module2.exports=require("util").deprecate}});var require_stream_writable=__commonJS({"../../node_modules/.pnpm/readable-stream@2.3.8/node_modules/readable-stream/lib/_stream_writable.js"(exports2,module2){"use strict";var pna=require_process_nextick_args();module2.exports=Writable;function CorkedRequest(state){var _this=this;this.next=null,this.entry=null,this.finish=function(){onCorkedFinish(_this,state)}}var asyncWrite=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:pna.nextTick,Duplex;Writable.WritableState=WritableState;var util=Object.create(require_util());util.inherits=require_inherits();var internalUtil={deprecate:require_node()},Stream=require_stream(),Buffer2=require_safe_buffer().Buffer,OurUint8Array=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function _uint8ArrayToBuffer(chunk){return Buffer2.from(chunk)}function _isUint8Array(obj){return Buffer2.isBuffer(obj)||obj instanceof OurUint8Array}var destroyImpl=require_destroy();util.inherits(Writable,Stream);function nop(){}function WritableState(options,stream){Duplex=Duplex||require_stream_duplex(),options=options||{};var isDuplex=stream instanceof Duplex;this.objectMode=!!options.objectMode,isDuplex&&(this.objectMode=this.objectMode||!!options.writableObjectMode);var hwm=options.highWaterMark,writableHwm=options.writableHighWaterMark,defaultHwm=this.objectMode?16:16*1024;hwm||hwm===0?this.highWaterMark=hwm:isDuplex&&(writableHwm||writableHwm===0)?this.highWaterMark=writableHwm:this.highWaterMark=defaultHwm,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 noDecode=options.decodeStrings===!1;this.decodeStrings=!noDecode,this.defaultEncoding=options.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(er){onwrite(stream,er)},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 CorkedRequest(this)}WritableState.prototype.getBuffer=function(){for(var current=this.bufferedRequest,out=[];current;)out.push(current),current=current.next;return out};(function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:internalUtil.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var realHasInstance;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(realHasInstance=Function.prototype[Symbol.hasInstance],Object.defineProperty(Writable,Symbol.hasInstance,{value:function(object){return realHasInstance.call(this,object)?!0:this!==Writable?!1:object&&object._writableState instanceof WritableState}})):realHasInstance=function(object){return object instanceof this};function Writable(options){if(Duplex=Duplex||require_stream_duplex(),!realHasInstance.call(Writable,this)&&!(this instanceof Duplex))return new Writable(options);this._writableState=new WritableState(options,this),this.writable=!0,options&&(typeof options.write=="function"&&(this._write=options.write),typeof options.writev=="function"&&(this._writev=options.writev),typeof options.destroy=="function"&&(this._destroy=options.destroy),typeof options.final=="function"&&(this._final=options.final)),Stream.call(this)}Writable.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function writeAfterEnd(stream,cb){var er=new Error("write after end");stream.emit("error",er),pna.nextTick(cb,er)}function validChunk(stream,state,chunk,cb){var valid=!0,er=!1;return chunk===null?er=new TypeError("May not write null values to stream"):typeof chunk!="string"&&chunk!==void 0&&!state.objectMode&&(er=new TypeError("Invalid non-string/buffer chunk")),er&&(stream.emit("error",er),pna.nextTick(cb,er),valid=!1),valid}Writable.prototype.write=function(chunk,encoding,cb){var state=this._writableState,ret=!1,isBuf=!state.objectMode&&_isUint8Array(chunk);return isBuf&&!Buffer2.isBuffer(chunk)&&(chunk=_uint8ArrayToBuffer(chunk)),typeof encoding=="function"&&(cb=encoding,encoding=null),isBuf?encoding="buffer":encoding||(encoding=state.defaultEncoding),typeof cb!="function"&&(cb=nop),state.ended?writeAfterEnd(this,cb):(isBuf||validChunk(this,state,chunk,cb))&&(state.pendingcb++,ret=writeOrBuffer(this,state,isBuf,chunk,encoding,cb)),ret};Writable.prototype.cork=function(){var state=this._writableState;state.corked++};Writable.prototype.uncork=function(){var state=this._writableState;state.corked&&(state.corked--,!state.writing&&!state.corked&&!state.bufferProcessing&&state.bufferedRequest&&clearBuffer(this,state))};Writable.prototype.setDefaultEncoding=function(encoding){if(typeof encoding=="string"&&(encoding=encoding.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((encoding+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+encoding);return this._writableState.defaultEncoding=encoding,this};function decodeChunk(state,chunk,encoding){return!state.objectMode&&state.decodeStrings!==!1&&typeof chunk=="string"&&(chunk=Buffer2.from(chunk,encoding)),chunk}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function writeOrBuffer(stream,state,isBuf,chunk,encoding,cb){if(!isBuf){var newChunk=decodeChunk(state,chunk,encoding);chunk!==newChunk&&(isBuf=!0,encoding="buffer",chunk=newChunk)}var len=state.objectMode?1:chunk.length;state.length+=len;var ret=state.length<state.highWaterMark;if(ret||(state.needDrain=!0),state.writing||state.corked){var last=state.lastBufferedRequest;state.lastBufferedRequest={chunk,encoding,isBuf,callback:cb,next:null},last?last.next=state.lastBufferedRequest:state.bufferedRequest=state.lastBufferedRequest,state.bufferedRequestCount+=1}else doWrite(stream,state,!1,len,chunk,encoding,cb);return ret}function doWrite(stream,state,writev,len,chunk,encoding,cb){state.writelen=len,state.writecb=cb,state.writing=!0,state.sync=!0,writev?stream._writev(chunk,state.onwrite):stream._write(chunk,encoding,state.onwrite),state.sync=!1}function onwriteError(stream,state,sync,er,cb){--state.pendingcb,sync?(pna.nextTick(cb,er),pna.nextTick(finishMaybe,stream,state),stream._writableState.errorEmitted=!0,stream.emit("error",er)):(cb(er),stream._writableState.errorEmitted=!0,stream.emit("error",er),finishMaybe(stream,state))}function onwriteStateUpdate(state){state.writing=!1,state.writecb=null,state.length-=state.writelen,state.writelen=0}function onwrite(stream,er){var state=stream._writableState,sync=state.sync,cb=state.writecb;if(onwriteStateUpdate(state),er)onwriteError(stream,state,sync,er,cb);else{var finished=needFinish(state);!finished&&!state.corked&&!state.bufferProcessing&&state.bufferedRequest&&clearBuffer(stream,state),sync?asyncWrite(afterWrite,stream,state,finished,cb):afterWrite(stream,state,finished,cb)}}function afterWrite(stream,state,finished,cb){finished||onwriteDrain(stream,state),state.pendingcb--,cb(),finishMaybe(stream,state)}function onwriteDrain(stream,state){state.length===0&&state.needDrain&&(state.needDrain=!1,stream.emit("drain"))}function clearBuffer(stream,state){state.bufferProcessing=!0;var entry=state.bufferedRequest;if(stream._writev&&entry&&entry.next){var l=state.bufferedRequestCount,buffer=new Array(l),holder=state.corkedRequestsFree;holder.entry=entry;for(var count=0,allBuffers=!0;entry;)buffer[count]=entry,entry.isBuf||(allBuffers=!1),entry=entry.next,count+=1;buffer.allBuffers=allBuffers,doWrite(stream,state,!0,state.length,buffer,"",holder.finish),state.pendingcb++,state.lastBufferedRequest=null,holder.next?(state.corkedRequestsFree=holder.next,holder.next=null):state.corkedRequestsFree=new CorkedRequest(state),state.bufferedRequestCount=0}else{for(;entry;){var chunk=entry.chunk,encoding=entry.encoding,cb=entry.callback,len=state.objectMode?1:chunk.length;if(doWrite(stream,state,!1,len,chunk,encoding,cb),entry=entry.next,state.bufferedRequestCount--,state.writing)break}entry===null&&(state.lastBufferedRequest=null)}state.bufferedRequest=entry,state.bufferProcessing=!1}Writable.prototype._write=function(chunk,encoding,cb){cb(new Error("_write() is not implemented"))};Writable.prototype._writev=null;Writable.prototype.end=function(chunk,encoding,cb){var state=this._writableState;typeof chunk=="function"?(cb=chunk,chunk=null,encoding=null):typeof encoding=="function"&&(cb=encoding,encoding=null),chunk!=null&&this.write(chunk,encoding),state.corked&&(state.corked=1,this.uncork()),state.ending||endWritable(this,state,cb)};function needFinish(state){return state.ending&&state.length===0&&state.bufferedRequest===null&&!state.finished&&!state.writing}function callFinal(stream,state){stream._final(function(err){state.pendingcb--,err&&stream.emit("error",err),state.prefinished=!0,stream.emit("prefinish"),finishMaybe(stream,state)})}function prefinish(stream,state){!state.prefinished&&!state.finalCalled&&(typeof stream._final=="function"?(state.pendingcb++,state.finalCalled=!0,pna.nextTick(callFinal,stream,state)):(state.prefinished=!0,stream.emit("prefinish")))}function finishMaybe(stream,state){var need=needFinish(state);return need&&(prefinish(stream,state),state.pendingcb===0&&(state.finished=!0,stream.emit("finish"))),need}function endWritable(stream,state,cb){state.ending=!0,finishMaybe(stream,state),cb&&(state.finished?pna.nextTick(cb):stream.once("finish",cb)),state.ended=!0,stream.writable=!1}function onCorkedFinish(corkReq,state,err){var entry=corkReq.entry;for(corkReq.entry=null;entry;){var cb=entry.callback;state.pendingcb--,cb(err),entry=entry.next}state.corkedRequestsFree.next=corkReq}Object.defineProperty(Writable.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(value){this._writableState&&(this._writableState.destroyed=value)}});Writable.prototype.destroy=destroyImpl.destroy;Writable.prototype._undestroy=destroyImpl.undestroy;Writable.prototype._destroy=function(err,cb){this.end(),cb(err)}}});var require_stream_duplex=__commonJS({"../../node_modules/.pnpm/readable-stream@2.3.8/node_modules/readable-stream/lib/_stream_duplex.js"(exports2,module2){"use strict";var pna=require_process_nextick_args(),objectKeys=Object.keys||function(obj){var keys2=[];for(var key in obj)keys2.push(key);return keys2};module2.exports=Duplex;var util=Object.create(require_util());util.inherits=require_inherits();var Readable2=require_stream_readable(),Writable=require_stream_writable();util.inherits(Duplex,Readable2);for(keys=objectKeys(Writable.prototype),v=0;v<keys.length;v++)method=keys[v],Duplex.prototype[method]||(Duplex.prototype[method]=Writable.prototype[method]);var keys,method,v;function Duplex(options){if(!(this instanceof Duplex))return new Duplex(options);Readable2.call(this,options),Writable.call(this,options),options&&options.readable===!1&&(this.readable=!1),options&&options.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,options&&options.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",onend)}Object.defineProperty(Duplex.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function onend(){this.allowHalfOpen||this._writableState.ended||pna.nextTick(onEndNT,this)}function onEndNT(self2){self2.end()}Object.defineProperty(Duplex.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(value){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=value,this._writableState.destroyed=value)}});Duplex.prototype._destroy=function(err,cb){this.push(null),this.end(),pna.nextTick(cb,err)}}});var require_string_decoder=__commonJS({"../../node_modules/.pnpm/string_decoder@1.1.1/node_modules/string_decoder/lib/string_decoder.js"(exports2){"use strict";var Buffer2=require_safe_buffer().Buffer,isEncoding=Buffer2.isEncoding||function(encoding){switch(encoding=""+encoding,encoding&&encoding.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 _normalizeEncoding(enc){if(!enc)return"utf8";for(var retried;;)switch(enc){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 enc;default:if(retried)return;enc=(""+enc).toLowerCase(),retried=!0}}function normalizeEncoding(enc){var nenc=_normalizeEncoding(enc);if(typeof nenc!="string"&&(Buffer2.isEncoding===isEncoding||!isEncoding(enc)))throw new Error("Unknown encoding: "+enc);return nenc||enc}exports2.StringDecoder=StringDecoder;function StringDecoder(encoding){this.encoding=normalizeEncoding(encoding);var nb;switch(this.encoding){case"utf16le":this.text=utf16Text,this.end=utf16End,nb=4;break;case"utf8":this.fillLast=utf8FillLast,nb=4;break;case"base64":this.text=base64Text,this.end=base64End,nb=3;break;default:this.write=simpleWrite,this.end=simpleEnd;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Buffer2.allocUnsafe(nb)}StringDecoder.prototype.write=function(buf){if(buf.length===0)return"";var r,i;if(this.lastNeed){if(r=this.fillLast(buf),r===void 0)return"";i=this.lastNeed,this.lastNeed=0}else i=0;return i<buf.length?r?r+this.text(buf,i):this.text(buf,i):r||""};StringDecoder.prototype.end=utf8End;StringDecoder.prototype.text=utf8Text;StringDecoder.prototype.fillLast=function(buf){if(this.lastNeed<=buf.length)return buf.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);buf.copy(this.lastChar,this.lastTotal-this.lastNeed,0,buf.length),this.lastNeed-=buf.length};function utf8CheckByte(byte){return byte<=127?0:byte>>5===6?2:byte>>4===14?3:byte>>3===30?4:byte>>6===2?-1:-2}function utf8CheckIncomplete(self2,buf,i){var j=buf.length-1;if(j<i)return 0;var nb=utf8CheckByte(buf[j]);return nb>=0?(nb>0&&(self2.lastNeed=nb-1),nb):--j<i||nb===-2?0:(nb=utf8CheckByte(buf[j]),nb>=0?(nb>0&&(self2.lastNeed=nb-2),nb):--j<i||nb===-2?0:(nb=utf8CheckByte(buf[j]),nb>=0?(nb>0&&(nb===2?nb=0:self2.lastNeed=nb-3),nb):0))}function utf8CheckExtraBytes(self2,buf,p){if((buf[0]&192)!==128)return self2.lastNeed=0,"\uFFFD";if(self2.lastNeed>1&&buf.length>1){if((buf[1]&192)!==128)return self2.lastNeed=1,"\uFFFD";if(self2.lastNeed>2&&buf.length>2&&(buf[2]&192)!==128)return self2.lastNeed=2,"\uFFFD"}}function utf8FillLast(buf){var p=this.lastTotal-this.lastNeed,r=utf8CheckExtraBytes(this,buf,p);if(r!==void 0)return r;if(this.lastNeed<=buf.length)return buf.copy(this.lastChar,p,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);buf.copy(this.lastChar,p,0,buf.length),this.lastNeed-=buf.length}function utf8Text(buf,i){var total=utf8CheckIncomplete(this,buf,i);if(!this.lastNeed)return buf.toString("utf8",i);this.lastTotal=total;var end=buf.length-(total-this.lastNeed);return buf.copy(this.lastChar,0,end),buf.toString("utf8",i,end)}function utf8End(buf){var r=buf&&buf.length?this.write(buf):"";return this.lastNeed?r+"\uFFFD":r}function utf16Text(buf,i){if((buf.length-i)%2===0){var r=buf.toString("utf16le",i);if(r){var c=r.charCodeAt(r.length-1);if(c>=55296&&c<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=buf[buf.length-2],this.lastChar[1]=buf[buf.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=buf[buf.length-1],buf.toString("utf16le",i,buf.length-1)}function utf16End(buf){var r=buf&&buf.length?this.write(buf):"";if(this.lastNeed){var end=this.lastTotal-this.lastNeed;return r+this.lastChar.toString("utf16le",0,end)}return r}function base64Text(buf,i){var n=(buf.length-i)%3;return n===0?buf.toString("base64",i):(this.lastNeed=3-n,this.lastTotal=3,n===1?this.lastChar[0]=buf[buf.length-1]:(this.lastChar[0]=buf[buf.length-2],this.lastChar[1]=buf[buf.length-1]),buf.toString("base64",i,buf.length-n))}function base64End(buf){var r=buf&&buf.length?this.write(buf):"";return this.lastNeed?r+this.lastChar.toString("base64",0,3-this.lastNeed):r}function simpleWrite(buf){return buf.toString(this.encoding)}function simpleEnd(buf){return buf&&buf.length?this.write(buf):""}}});var require_stream_readable=__commonJS({"../../node_modules/.pnpm/readable-stream@2.3.8/node_modules/readable-stream/lib/_stream_readable.js"(exports2,module2){"use strict";var pna=require_process_nextick_args();module2.exports=Readable2;var isArray=require_isarray(),Duplex;Readable2.ReadableState=ReadableState;var EE=require("events").EventEmitter,EElistenerCount=function(emitter,type){return emitter.listeners(type).length},Stream=require_stream(),Buffer2=require_safe_buffer().Buffer,OurUint8Array=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function _uint8ArrayToBuffer(chunk){return Buffer2.from(chunk)}function _isUint8Array(obj){return Buffer2.isBuffer(obj)||obj instanceof OurUint8Array}var util=Object.create(require_util());util.inherits=require_inherits();var debugUtil=require("util"),debug2=void 0;debugUtil&&debugUtil.debuglog?debug2=debugUtil.debuglog("stream"):debug2=function(){};var BufferList=require_BufferList(),destroyImpl=require_destroy(),StringDecoder;util.inherits(Readable2,Stream);var kProxyEvents=["error","close","destroy","pause","resume"];function prependListener(emitter,event,fn){if(typeof emitter.prependListener=="function")return emitter.prependListener(event,fn);!emitter._events||!emitter._events[event]?emitter.on(event,fn):isArray(emitter._events[event])?emitter._events[event].unshift(fn):emitter._events[event]=[fn,emitter._events[event]]}function ReadableState(options,stream){Duplex=Duplex||require_stream_duplex(),options=options||{};var isDuplex=stream instanceof Duplex;this.objectMode=!!options.objectMode,isDuplex&&(this.objectMode=this.objectMode||!!options.readableObjectMode);var hwm=options.highWaterMark,readableHwm=options.readableHighWaterMark,defaultHwm=this.objectMode?16:16*1024;hwm||hwm===0?this.highWaterMark=hwm:isDuplex&&(readableHwm||readableHwm===0)?this.highWaterMark=readableHwm:this.highWaterMark=defaultHwm,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new BufferList,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=options.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,options.encoding&&(StringDecoder||(StringDecoder=require_string_decoder().StringDecoder),this.decoder=new StringDecoder(options.encoding),this.encoding=options.encoding)}function Readable2(options){if(Duplex=Duplex||require_stream_duplex(),!(this instanceof Readable2))return new Readable2(options);this._readableState=new ReadableState(options,this),this.readable=!0,options&&(typeof options.read=="function"&&(this._read=options.read),typeof options.destroy=="function"&&(this._destroy=options.destroy)),Stream.call(this)}Object.defineProperty(Readable2.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(value){this._readableState&&(this._readableState.destroyed=value)}});Readable2.prototype.destroy=destroyImpl.destroy;Readable2.prototype._undestroy=destroyImpl.undestroy;Readable2.prototype._destroy=function(err,cb){this.push(null),cb(err)};Readable2.prototype.push=function(chunk,encoding){var state=this._readableState,skipChunkCheck;return state.objectMode?skipChunkCheck=!0:typeof chunk=="string"&&(encoding=encoding||state.defaultEncoding,encoding!==state.encoding&&(chunk=Buffer2.from(chunk,encoding),encoding=""),skipChunkCheck=!0),readableAddChunk(this,chunk,encoding,!1,skipChunkCheck)};Readable2.prototype.unshift=function(chunk){return readableAddChunk(this,chunk,null,!0,!1)};function readableAddChunk(stream,chunk,encoding,addToFront,skipChunkCheck){var state=stream._readableState;if(chunk===null)state.reading=!1,onEofChunk(stream,state);else{var er;skipChunkCheck||(er=chunkInvalid(state,chunk)),er?stream.emit("error",er):state.objectMode||chunk&&chunk.length>0?(typeof chunk!="string"&&!state.objectMode&&Object.getPrototypeOf(chunk)!==Buffer2.prototype&&(chunk=_uint8ArrayToBuffer(chunk)),addToFront?state.endEmitted?stream.emit("error",new Error("stream.unshift() after end event")):addChunk(stream,state,chunk,!0):state.ended?stream.emit("error",new Error("stream.push() after EOF")):(state.reading=!1,state.decoder&&!encoding?(chunk=state.decoder.write(chunk),state.objectMode||chunk.length!==0?addChunk(stream,state,chunk,!1):maybeReadMore(stream,state)):addChunk(stream,state,chunk,!1))):addToFront||(state.reading=!1)}return needMoreData(state)}function addChunk(stream,state,chunk,addToFront){state.flowing&&state.length===0&&!state.sync?(stream.emit("data",chunk),stream.read(0)):(state.length+=state.objectMode?1:chunk.length,addToFront?state.buffer.unshift(chunk):state.buffer.push(chunk),state.needReadable&&emitReadable(stream)),maybeReadMore(stream,state)}function chunkInvalid(state,chunk){var er;return!_isUint8Array(chunk)&&typeof chunk!="string"&&chunk!==void 0&&!state.objectMode&&(er=new TypeError("Invalid non-string/buffer chunk")),er}function needMoreData(state){return!state.ended&&(state.needReadable||state.length<state.highWaterMark||state.length===0)}Readable2.prototype.isPaused=function(){return this._readableState.flowing===!1};Readable2.prototype.setEncoding=function(enc){return StringDecoder||(StringDecoder=require_string_decoder().StringDecoder),this._readableState.decoder=new StringDecoder(enc),this._readableState.encoding=enc,this};var MAX_HWM=8388608;function computeNewHighWaterMark(n){return n>=MAX_HWM?n=MAX_HWM:(n--,n|=n>>>1,n|=n>>>2,n|=n>>>4,n|=n>>>8,n|=n>>>16,n++),n}function howMuchToRead(n,state){return n<=0||state.length===0&&state.ended?0:state.objectMode?1:n!==n?state.flowing&&state.length?state.buffer.head.data.length:state.length:(n>state.highWaterMark&&(state.highWaterMark=computeNewHighWaterMark(n)),n<=state.length?n:state.ended?state.length:(state.needReadable=!0,0))}Readable2.prototype.read=function(n){debug2("read",n),n=parseInt(n,10);var state=this._readableState,nOrig=n;if(n!==0&&(state.emittedReadable=!1),n===0&&state.needReadable&&(state.length>=state.highWaterMark||state.ended))return debug2("read: emitReadable",state.length,state.ended),state.length===0&&state.ended?endReadable(this):emitReadable(this),null;if(n=howMuchToRead(n,state),n===0&&state.ended)return state.length===0&&endReadable(this),null;var doRead=state.needReadable;debug2("need readable",doRead),(state.length===0||state.length-n<state.highWaterMark)&&(doRead=!0,debug2("length less than watermark",doRead)),state.ended||state.reading?(doRead=!1,debug2("reading or ended",doRead)):doRead&&(debug2("do read"),state.reading=!0,state.sync=!0,state.length===0&&(state.needReadable=!0),this._read(state.highWaterMark),state.sync=!1,state.reading||(n=howMuchToRead(nOrig,state)));var ret;return n>0?ret=fromList(n,state):ret=null,ret===null?(state.needReadable=!0,n=0):state.length-=n,state.length===0&&(state.ended||(state.needReadable=!0),nOrig!==n&&state.ended&&endReadable(this)),ret!==null&&this.emit("data",ret),ret};function onEofChunk(stream,state){if(!state.ended){if(state.decoder){var chunk=state.decoder.end();chunk&&chunk.length&&(state.buffer.push(chunk),state.length+=state.objectMode?1:chunk.length)}state.ended=!0,emitReadable(stream)}}function emitReadable(stream){var state=stream._readableState;state.needReadable=!1,state.emittedReadable||(debug2("emitReadable",state.flowing),state.emittedReadable=!0,state.sync?pna.nextTick(emitReadable_,stream):emitReadable_(stream))}function emitReadable_(stream){debug2("emit readable"),stream.emit("readable"),flow(stream)}function maybeReadMore(stream,state){state.readingMore||(state.readingMore=!0,pna.nextTick(maybeReadMore_,stream,state))}function maybeReadMore_(stream,state){for(var len=state.length;!state.reading&&!state.flowing&&!state.ended&&state.length<state.highWaterMark&&(debug2("maybeReadMore read 0"),stream.read(0),len!==state.length);)len=state.length;state.readingMore=!1}Readable2.prototype._read=function(n){this.emit("error",new Error("_read() is not implemented"))};Readable2.prototype.pipe=function(dest,pipeOpts){var src=this,state=this._readableState;switch(state.pipesCount){case 0:state.pipes=dest;break;case 1:state.pipes=[state.pipes,dest];break;default:state.pipes.push(dest);break}state.pipesCount+=1,debug2("pipe count=%d opts=%j",state.pipesCount,pipeOpts);var doEnd=(!pipeOpts||pipeOpts.end!==!1)&&dest!==process.stdout&&dest!==process.stderr,endFn=doEnd?onend:unpipe;state.endEmitted?pna.nextTick(endFn):src.once("end",endFn),dest.on("unpipe",onunpipe);function onunpipe(readable,unpipeInfo){debug2("onunpipe"),readable===src&&unpipeInfo&&unpipeInfo.hasUnpiped===!1&&(unpipeInfo.hasUnpiped=!0,cleanup())}function onend(){debug2("onend"),dest.end()}var ondrain=pipeOnDrain(src);dest.on("drain",ondrain);var cleanedUp=!1;function cleanup(){debug2("cleanup"),dest.removeListener("close",onclose),dest.removeListener("finish",onfinish),dest.removeListener("drain",ondrain),dest.removeListener("error",onerror),dest.removeListener("unpipe",onunpipe),src.removeListener("end",onend),src.removeListener("end",unpipe),src.removeListener("data",ondata),cleanedUp=!0,state.awaitDrain&&(!dest._writableState||dest._writableState.needDrain)&&ondrain()}var increasedAwaitDrain=!1;src.on("data",ondata);function ondata(chunk){debug2("ondata"),increasedAwaitDrain=!1;var ret=dest.write(chunk);ret===!1&&!increasedAwaitDrain&&((state.pipesCount===1&&state.pipes===dest||state.pipesCount>1&&indexOf(state.pipes,dest)!==-1)&&!cleanedUp&&(debug2("false write response, pause",state.awaitDrain),state.awaitDrain++,increasedAwaitDrain=!0),src.pause())}function onerror(er){debug2("onerror",er),unpipe(),dest.removeListener("error",onerror),EElistenerCount(dest,"error")===0&&dest.emit("error",er)}prependListener(dest,"error",onerror);function onclose(){dest.removeListener("finish",onfinish),unpipe()}dest.once("close",onclose);function onfinish(){debug2("onfinish"),dest.removeListener("close",onclose),unpipe()}dest.once("finish",onfinish);function unpipe(){debug2("unpipe"),src.unpipe(dest)}return dest.emit("pipe",src),state.flowing||(debug2("pipe resume"),src.resume()),dest};function pipeOnDrain(src){return function(){var state=src._readableState;debug2("pipeOnDrain",state.awaitDrain),state.awaitDrain&&state.awaitDrain--,state.awaitDrain===0&&EElistenerCount(src,"data")&&(state.flowing=!0,flow(src))}}Readable2.prototype.unpipe=function(dest){var state=this._readableState,unpipeInfo={hasUnpiped:!1};if(state.pipesCount===0)return this;if(state.pipesCount===1)return dest&&dest!==state.pipes?this:(dest||(dest=state.pipes),state.pipes=null,state.pipesCount=0,state.flowing=!1,dest&&dest.emit("unpipe",this,unpipeInfo),this);if(!dest){var dests=state.pipes,len=state.pipesCount;state.pipes=null,state.pipesCount=0,state.flowing=!1;for(var i=0;i<len;i++)dests[i].emit("unpipe",this,{hasUnpiped:!1});return this}var index=indexOf(state.pipes,dest);return index===-1?this:(state.pipes.splice(index,1),state.pipesCount-=1,state.pipesCount===1&&(state.pipes=state.pipes[0]),dest.emit("unpipe",this,unpipeInfo),this)};Readable2.prototype.on=function(ev,fn){var res=Stream.prototype.on.call(this,ev,fn);if(ev==="data")this._readableState.flowing!==!1&&this.resume();else if(ev==="readable"){var state=this._readableState;!state.endEmitted&&!state.readableListening&&(state.readableListening=state.needReadable=!0,state.emittedReadable=!1,state.reading?state.length&&emitReadable(this):pna.nextTick(nReadingNextTick,this))}return res};Readable2.prototype.addListener=Readable2.prototype.on;function nReadingNextTick(self2){debug2("readable nexttick read 0"),self2.read(0)}Readable2.prototype.resume=function(){var state=this._readableState;return state.flowing||(debug2("resume"),state.flowing=!0,resume(this,state)),this};function resume(stream,state){state.resumeScheduled||(state.resumeScheduled=!0,pna.nextTick(resume_,stream,state))}function resume_(stream,state){state.reading||(debug2("resume read 0"),stream.read(0)),state.resumeScheduled=!1,state.awaitDrain=0,stream.emit("resume"),flow(stream),state.flowing&&!state.reading&&stream.read(0)}Readable2.prototype.pause=function(){return debug2("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(debug2("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function flow(stream){var state=stream._readableState;for(debug2("flow",state.flowing);state.flowing&&stream.read()!==null;);}Readable2.prototype.wrap=function(stream){var _this=this,state=this._readableState,paused=!1;stream.on("end",function(){if(debug2("wrapped end"),state.decoder&&!state.ended){var chunk=state.decoder.end();chunk&&chunk.length&&_this.push(chunk)}_this.push(null)}),stream.on("data",function(chunk){if(debug2("wrapped data"),state.decoder&&(chunk=state.decoder.write(chunk)),!(state.objectMode&&chunk==null)&&!(!state.objectMode&&(!chunk||!chunk.length))){var ret=_this.push(chunk);ret||(paused=!0,stream.pause())}});for(var i in stream)this[i]===void 0&&typeof stream[i]=="function"&&(this[i]=function(method){return function(){return stream[method].apply(stream,arguments)}}(i));for(var n=0;n<kProxyEvents.length;n++)stream.on(kProxyEvents[n],this.emit.bind(this,kProxyEvents[n]));return this._read=function(n2){debug2("wrapped _read",n2),paused&&(paused=!1,stream.resume())},this};Object.defineProperty(Readable2.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Readable2._fromList=fromList;function fromList(n,state){if(state.length===0)return null;var ret;return state.objectMode?ret=state.buffer.shift():!n||n>=state.length?(state.decoder?ret=state.buffer.join(""):state.buffer.length===1?ret=state.buffer.head.data:ret=state.buffer.concat(state.length),state.buffer.clear()):ret=fromListPartial(n,state.buffer,state.decoder),ret}function fromListPartial(n,list,hasStrings){var ret;return n<list.head.data.length?(ret=list.head.data.slice(0,n),list.head.data=list.head.data.slice(n)):n===list.head.data.length?ret=list.shift():ret=hasStrings?copyFromBufferString(n,list):copyFromBuffer(n,list),ret}function copyFromBufferString(n,list){var p=list.head,c=1,ret=p.data;for(n-=ret.length;p=p.next;){var str=p.data,nb=n>str.length?str.length:n;if(nb===str.length?ret+=str:ret+=str.slice(0,n),n-=nb,n===0){nb===str.length?(++c,p.next?list.head=p.next:list.head=list.tail=null):(list.head=p,p.data=str.slice(nb));break}++c}return list.length-=c,ret}function copyFromBuffer(n,list){var ret=Buffer2.allocUnsafe(n),p=list.head,c=1;for(p.data.copy(ret),n-=p.data.length;p=p.next;){var buf=p.data,nb=n>buf.length?buf.length:n;if(buf.copy(ret,ret.length-n,0,nb),n-=nb,n===0){nb===buf.length?(++c,p.next?list.head=p.next:list.head=list.tail=null):(list.head=p,p.data=buf.slice(nb));break}++c}return list.length-=c,ret}function endReadable(stream){var state=stream._readableState;if(state.length>0)throw new Error('"endReadable()" called on non-empty stream');state.endEmitted||(state.ended=!0,pna.nextTick(endReadableNT,state,stream))}function endReadableNT(state,stream){!state.endEmitted&&state.length===0&&(state.endEmitted=!0,stream.readable=!1,stream.emit("end"))}function indexOf(xs,x){for(var i=0,l=xs.length;i<l;i++)if(xs[i]===x)return i;return-1}}});var require_stream_transform=__commonJS({"../../node_modules/.pnpm/readable-stream@2.3.8/node_modules/readable-stream/lib/_stream_transform.js"(exports2,module2){"use strict";module2.exports=Transform;var Duplex=require_stream_duplex(),util=Object.create(require_util());util.inherits=require_inherits();util.inherits(Transform,Duplex);function afterTransform(er,data){var ts=this._transformState;ts.transforming=!1;var cb=ts.writecb;if(!cb)return this.emit("error",new Error("write callback called multiple times"));ts.writechunk=null,ts.writecb=null,data!=null&&this.push(data),cb(er);var rs=this._readableState;rs.reading=!1,(rs.needReadable||rs.length<rs.highWaterMark)&&this._read(rs.highWaterMark)}function Transform(options){if(!(this instanceof Transform))return new Transform(options);Duplex.call(this,options),this._transformState={afterTransform:afterTransform.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,options&&(typeof options.transform=="function"&&(this._transform=options.transform),typeof options.flush=="function"&&(this._flush=options.flush)),this.on("prefinish",prefinish)}function prefinish(){var _this=this;typeof this._flush=="function"?this._flush(function(er,data){done(_this,er,data)}):done(this,null,null)}Transform.prototype.push=function(chunk,encoding){return this._transformState.needTransform=!1,Duplex.prototype.push.call(this,chunk,encoding)};Transform.prototype._transform=function(chunk,encoding,cb){throw new Error("_transform() is not implemented")};Transform.prototype._write=function(chunk,encoding,cb){var ts=this._transformState;if(ts.writecb=cb,ts.writechunk=chunk,ts.writeencoding=encoding,!ts.transforming){var rs=this._readableState;(ts.needTransform||rs.needReadable||rs.length<rs.highWaterMark)&&this._read(rs.highWaterMark)}};Transform.prototype._read=function(n){var ts=this._transformState;ts.writechunk!==null&&ts.writecb&&!ts.transforming?(ts.transforming=!0,this._transform(ts.writechunk,ts.writeencoding,ts.afterTransform)):ts.needTransform=!0};Transform.prototype._destroy=function(err,cb){var _this2=this;Duplex.prototype._destroy.call(this,err,function(err2){cb(err2),_this2.emit("close")})};function done(stream,er,data){if(er)return stream.emit("error",er);if(data!=null&&stream.push(data),stream._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(stream._transformState.transforming)throw new Error("Calling transform done when still transforming");return stream.push(null)}}});var require_stream_passthrough=__commonJS({"../../node_modules/.pnpm/readable-stream@2.3.8/node_modules/readable-stream/lib/_stream_passthrough.js"(exports2,module2){"use strict";module2.exports=PassThrough;var Transform=require_stream_transform(),util=Object.create(require_util());util.inherits=require_inherits();util.inherits(PassThrough,Transform);function PassThrough(options){if(!(this instanceof PassThrough))return new PassThrough(options);Transform.call(this,options)}PassThrough.prototype._transform=function(chunk,encoding,cb){cb(null,chunk)}}});var require_readable=__commonJS({"../../node_modules/.pnpm/readable-stream@2.3.8/node_modules/readable-stream/readable.js"(exports2,module2){var Stream=require("stream");process.env.READABLE_STREAM==="disable"&&Stream?(module2.exports=Stream,exports2=module2.exports=Stream.Readable,exports2.Readable=Stream.Readable,exports2.Writable=Stream.Writable,exports2.Duplex=Stream.Duplex,exports2.Transform=Stream.Transform,exports2.PassThrough=Stream.PassThrough,exports2.Stream=Stream):(exports2=module2.exports=require_stream_readable(),exports2.Stream=Stream||exports2,exports2.Readable=exports2,exports2.Writable=require_stream_writable(),exports2.Duplex=require_stream_duplex(),exports2.Transform=require_stream_transform(),exports2.PassThrough=require_stream_passthrough())}});var require_from2=__commonJS({"../../node_modules/.pnpm/from2@2.3.0/node_modules/from2/index.js"(exports2,module2){var Readable2=require_readable().Readable,inherits=require_inherits();module2.exports=from2;from2.ctor=ctor;from2.obj=obj;var Proto=ctor();function toFunction(list){return list=list.slice(),function(_,cb){var err=null,item=list.length?list.shift():null;item instanceof Error&&(err=item,item=null),cb(err,item)}}function from2(opts,read){(typeof opts!="object"||Array.isArray(opts))&&(read=opts,opts={});var rs=new Proto(opts);return rs._from=Array.isArray(read)?toFunction(read):read||noop,rs}function ctor(opts,read){typeof opts=="function"&&(read=opts,opts={}),opts=defaults(opts),inherits(Class,Readable2);function Class(override){if(!(this instanceof Class))return new Class(override);this._reading=!1,this._callback=check,this.destroyed=!1,Readable2.call(this,override||opts);var self2=this,hwm=this._readableState.highWaterMark;function check(err,data){if(!self2.destroyed){if(err)return self2.destroy(err);if(data===null)return self2.push(null);self2._reading=!1,self2.push(data)&&self2._read(hwm)}}}return Class.prototype._from=read||noop,Class.prototype._read=function(size){this._reading||this.destroyed||(this._reading=!0,this._from(size,this._callback))},Class.prototype.destroy=function(err){if(!this.destroyed){this.destroyed=!0;var self2=this;process.nextTick(function(){err&&self2.emit("error",err),self2.emit("close")})}},Class}function obj(opts,read){return(typeof opts=="function"||Array.isArray(opts))&&(read=opts,opts={}),opts=defaults(opts),opts.objectMode=!0,opts.highWaterMark=16,from2(opts,read)}function noop(){}function defaults(opts){return opts=opts||{},opts}}});var require_p_is_promise=__commonJS({"../../node_modules/.pnpm/p-is-promise@2.1.0/node_modules/p-is-promise/index.js"(exports2,module2){"use strict";var isPromise=input=>input instanceof Promise||input!==null&&typeof input=="object"&&typeof input.then=="function"&&typeof input.catch=="function";module2.exports=isPromise;module2.exports.default=isPromise}});var require_into_stream=__commonJS({"../../node_modules/.pnpm/into-stream@5.0.0/node_modules/into-stream/index.js"(exports2,module2){"use strict";var from=require_from2(),pIsPromise=require_p_is_promise(),intoStream2=input=>{Array.isArray(input)&&(input=input.slice());let promise,iterator;prepare(input);function prepare(value){input=value,(input instanceof ArrayBuffer||ArrayBuffer.isView(input)&&!Buffer.isBuffer(input))&&(input=Buffer.from(input)),promise=pIsPromise(input)?input:null,iterator=!promise&&input[Symbol.iterator]&&typeof input!="string"&&!Buffer.isBuffer(input)?input[Symbol.iterator]():null}return from(function reader(size,callback){if(promise){(async()=>{try{await prepare(await promise),reader.call(this,size,callback)}catch(error){callback(error)}})();return}if(iterator){let object=iterator.next();setImmediate(callback,null,object.done?null:object.value);return}if(input.length===0){setImmediate(callback,null,null);return}let chunk=input.slice(0,size);input=input.slice(size),setImmediate(callback,null,chunk)})};module2.exports=intoStream2;module2.exports.default=intoStream2;module2.exports.object=input=>{Array.isArray(input)&&(input=input.slice());let promise,iterator;prepare(input);function prepare(value){input=value,promise=pIsPromise(input)?input:null,iterator=!promise&&input[Symbol.iterator]?input[Symbol.iterator]():null}return from.obj(function reader(size,callback){if(promise){(async()=>{try{await prepare(await promise),reader.call(this,size,callback)}catch(error){callback(error)}})();return}if(iterator){let object=iterator.next();setImmediate(callback,null,object.done?null:object.value);return}this.push(input),setImmediate(callback,null,null)})}}});var file_blob_exports={};__export(file_blob_exports,{default:()=>FileBlob});var import_assert,import_into_stream,FileBlob,init_file_blob=__esm({"src/file-blob.ts"(){"use strict";import_assert=__toESM(require("assert")),import_into_stream=__toESM(require_into_stream()),FileBlob=class _FileBlob{constructor({mode=33188,contentType,data}){(0,import_assert.default)(typeof mode=="number"),(0,import_assert.default)(typeof data=="string"||Buffer.isBuffer(data)),this.type="FileBlob",this.mode=mode,this.contentType=contentType,this.data=data}static async fromStream({mode=33188,contentType,stream}){(0,import_assert.default)(typeof mode=="number"),(0,import_assert.default)(typeof stream.pipe=="function");let chunks=[];await new Promise((resolve4,reject)=>{stream.on("data",chunk=>chunks.push(Uint8Array.from(Buffer.isBuffer(chunk)?chunk:Buffer.from(chunk)))),stream.on("error",error=>reject(error)),stream.on("end",()=>resolve4())});let data=Buffer.concat(chunks);return new _FileBlob({mode,contentType,data})}async toStreamAsync(){return this.toStream()}toStream(){let data=typeof this.data=="string"?Buffer.from(this.data,"utf8"):this.data;return(0,import_into_stream.default)(data)}}}});var require_universalify=__commonJS({"../../node_modules/.pnpm/universalify@2.0.1/node_modules/universalify/index.js"(exports2){"use strict";exports2.fromCallback=function(fn){return Object.defineProperty(function(...args){if(typeof args[args.length-1]=="function")fn.apply(this,args);else return new Promise((resolve4,reject)=>{args.push((err,res)=>err!=null?reject(err):resolve4(res)),fn.apply(this,args)})},"name",{value:fn.name})};exports2.fromPromise=function(fn){return Object.defineProperty(function(...args){let cb=args[args.length-1];if(typeof cb!="function")return fn.apply(this,args);args.pop(),fn.apply(this,args).then(r=>cb(null,r),cb)},"name",{value:fn.name})}}});var require_polyfills=__commonJS({"../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/polyfills.js"(exports2,module2){var constants2=require("constants"),origCwd=process.cwd,cwd=null,platform=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return cwd||(cwd=origCwd.call(process)),cwd};try{process.cwd()}catch{}typeof process.chdir=="function"&&(chdir=process.chdir,process.chdir=function(d){cwd=null,chdir.call(process,d)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,chdir));var chdir;module2.exports=patch;function patch(fs14){constants2.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&patchLchmod(fs14),fs14.lutimes||patchLutimes(fs14),fs14.chown=chownFix(fs14.chown),fs14.fchown=chownFix(fs14.fchown),fs14.lchown=chownFix(fs14.lchown),fs14.chmod=chmodFix(fs14.chmod),fs14.fchmod=chmodFix(fs14.fchmod),fs14.lchmod=chmodFix(fs14.lchmod),fs14.chownSync=chownFixSync(fs14.chownSync),fs14.fchownSync=chownFixSync(fs14.fchownSync),fs14.lchownSync=chownFixSync(fs14.lchownSync),fs14.chmodSync=chmodFixSync(fs14.chmodSync),fs14.fchmodSync=chmodFixSync(fs14.fchmodSync),fs14.lchmodSync=chmodFixSync(fs14.lchmodSync),fs14.stat=statFix(fs14.stat),fs14.fstat=statFix(fs14.fstat),fs14.lstat=statFix(fs14.lstat),fs14.statSync=statFixSync(fs14.statSync),fs14.fstatSync=statFixSync(fs14.fstatSync),fs14.lstatSync=statFixSync(fs14.lstatSync),fs14.chmod&&!fs14.lchmod&&(fs14.lchmod=function(path9,mode,cb){cb&&process.nextTick(cb)},fs14.lchmodSync=function(){}),fs14.chown&&!fs14.lchown&&(fs14.lchown=function(path9,uid,gid,cb){cb&&process.nextTick(cb)},fs14.lchownSync=function(){}),platform==="win32"&&(fs14.rename=typeof fs14.rename!="function"?fs14.rename:function(fs$rename){function rename2(from,to,cb){var start=Date.now(),backoff=0;fs$rename(from,to,function CB(er){if(er&&(er.code==="EACCES"||er.code==="EPERM"||er.code==="EBUSY")&&Date.now()-start<6e4){setTimeout(function(){fs14.stat(to,function(stater,st){stater&&stater.code==="ENOENT"?fs$rename(from,to,CB):cb(er)})},backoff),backoff<100&&(backoff+=10);return}cb&&cb(er)})}return Object.setPrototypeOf&&Object.setPrototypeOf(rename2,fs$rename),rename2}(fs14.rename)),fs14.read=typeof fs14.read!="function"?fs14.read:function(fs$read){function read(fd,buffer,offset,length,position,callback_){var callback;if(callback_&&typeof callback_=="function"){var eagCounter=0;callback=function(er,_,__){if(er&&er.code==="EAGAIN"&&eagCounter<10)return eagCounter++,fs$read.call(fs14,fd,buffer,offset,length,position,callback);callback_.apply(this,arguments)}}return fs$read.call(fs14,fd,buffer,offset,length,position,callback)}return Object.setPrototypeOf&&Object.setPrototypeOf(read,fs$read),read}(fs14.read),fs14.readSync=typeof fs14.readSync!="function"?fs14.readSync:function(fs$readSync){return function(fd,buffer,offset,length,position){for(var eagCounter=0;;)try{return fs$readSync.call(fs14,fd,buffer,offset,length,position)}catch(er){if(er.code==="EAGAIN"&&eagCounter<10){eagCounter++;continue}throw er}}}(fs14.readSync);function patchLchmod(fs15){fs15.lchmod=function(path9,mode,callback){fs15.open(path9,constants2.O_WRONLY|constants2.O_SYMLINK,mode,function(err,fd){if(err){callback&&callback(err);return}fs15.fchmod(fd,mode,function(err2){fs15.close(fd,function(err22){callback&&callback(err2||err22)})})})},fs15.lchmodSync=function(path9,mode){var fd=fs15.openSync(path9,constants2.O_WRONLY|constants2.O_SYMLINK,mode),threw=!0,ret;try{ret=fs15.fchmodSync(fd,mode),threw=!1}finally{if(threw)try{fs15.closeSync(fd)}catch{}else fs15.closeSync(fd)}return ret}}function patchLutimes(fs15){constants2.hasOwnProperty("O_SYMLINK")&&fs15.futimes?(fs15.lutimes=function(path9,at,mt,cb){fs15.open(path9,constants2.O_SYMLINK,function(er,fd){if(er){cb&&cb(er);return}fs15.futimes(fd,at,mt,function(er2){fs15.close(fd,function(er22){cb&&cb(er2||er22)})})})},fs15.lutimesSync=function(path9,at,mt){var fd=fs15.openSync(path9,constants2.O_SYMLINK),ret,threw=!0;try{ret=fs15.futimesSync(fd,at,mt),threw=!1}finally{if(threw)try{fs15.closeSync(fd)}catch{}else fs15.closeSync(fd)}return ret}):fs15.futimes&&(fs15.lutimes=function(_a,_b,_c,cb){cb&&process.nextTick(cb)},fs15.lutimesSync=function(){})}function chmodFix(orig){return orig&&function(target,mode,cb){return orig.call(fs14,target,mode,function(er){chownErOk(er)&&(er=null),cb&&cb.apply(this,arguments)})}}function chmodFixSync(orig){return orig&&function(target,mode){try{return orig.call(fs14,target,mode)}catch(er){if(!chownErOk(er))throw er}}}function chownFix(orig){return orig&&function(target,uid,gid,cb){return orig.call(fs14,target,uid,gid,function(er){chownErOk(er)&&(er=null),cb&&cb.apply(this,arguments)})}}function chownFixSync(orig){return orig&&function(target,uid,gid){try{return orig.call(fs14,target,uid,gid)}catch(er){if(!chownErOk(er))throw er}}}function statFix(orig){return orig&&function(target,options,cb){typeof options=="function"&&(cb=options,options=null);function callback(er,stats){stats&&(stats.uid<0&&(stats.uid+=4294967296),stats.gid<0&&(stats.gid+=4294967296)),cb&&cb.apply(this,arguments)}return options?orig.call(fs14,target,options,callback):orig.call(fs14,target,callback)}}function statFixSync(orig){return orig&&function(target,options){var stats=options?orig.call(fs14,target,options):orig.call(fs14,target);return stats&&(stats.uid<0&&(stats.uid+=4294967296),stats.gid<0&&(stats.gid+=4294967296)),stats}}function chownErOk(er){if(!er||er.code==="ENOSYS")return!0;var nonroot=!process.getuid||process.getuid()!==0;return!!(nonroot&&(er.code==="EINVAL"||er.code==="EPERM"))}}}});var require_legacy_streams=__commonJS({"../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/legacy-streams.js"(exports2,module2){var Stream=require("stream").Stream;module2.exports=legacy;function legacy(fs14){return{ReadStream,WriteStream};function ReadStream(path9,options){if(!(this instanceof ReadStream))return new ReadStream(path9,options);Stream.call(this);var self2=this;this.path=path9,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=64*1024,options=options||{};for(var keys=Object.keys(options),index=0,length=keys.length;index<length;index++){var key=keys[index];this[key]=options[key]}if(this.encoding&&this.setEncoding(this.encoding),this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.end===void 0)this.end=1/0;else if(typeof this.end!="number")throw TypeError("end must be a Number");if(this.start>this.end)throw new Error("start must be <= end");this.pos=this.start}if(this.fd!==null){process.nextTick(function(){self2._read()});return}fs14.open(this.path,this.flags,this.mode,function(err,fd){if(err){self2.emit("error",err),self2.readable=!1;return}self2.fd=fd,self2.emit("open",fd),self2._read()})}function WriteStream(path9,options){if(!(this instanceof WriteStream))return new WriteStream(path9,options);Stream.call(this),this.path=path9,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,options=options||{};for(var keys=Object.keys(options),index=0,length=keys.length;index<length;index++){var key=keys[index];this[key]=options[key]}if(this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.start<0)throw new Error("start must be >= zero");this.pos=this.start}this.busy=!1,this._queue=[],this.fd===null&&(this._open=fs14.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}}});var require_clone=__commonJS({"../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/clone.js"(exports2,module2){"use strict";module2.exports=clone;var getPrototypeOf=Object.getPrototypeOf||function(obj){return obj.__proto__};function clone(obj){if(obj===null||typeof obj!="object")return obj;if(obj instanceof Object)var copy={__proto__:getPrototypeOf(obj)};else var copy=Object.create(null);return Object.getOwnPropertyNames(obj).forEach(function(key){Object.defineProperty(copy,key,Object.getOwnPropertyDescriptor(obj,key))}),copy}}});var require_graceful_fs=__commonJS({"../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/graceful-fs.js"(exports2,module2){var fs14=require("fs"),polyfills=require_polyfills(),legacy=require_legacy_streams(),clone=require_clone(),util=require("util"),gracefulQueue,previousSymbol;typeof Symbol=="function"&&typeof Symbol.for=="function"?(gracefulQueue=Symbol.for("graceful-fs.queue"),previousSymbol=Symbol.for("graceful-fs.previous")):(gracefulQueue="___graceful-fs.queue",previousSymbol="___graceful-fs.previous");function noop(){}function publishQueue(context,queue2){Object.defineProperty(context,gracefulQueue,{get:function(){return queue2}})}var debug2=noop;util.debuglog?debug2=util.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(debug2=function(){var m=util.format.apply(util,arguments);m="GFS4: "+m.split(/\n/).join(`
|
|
2
|
+
GFS4: `),console.error(m)});fs14[gracefulQueue]||(queue=global[gracefulQueue]||[],publishQueue(fs14,queue),fs14.close=function(fs$close){function close(fd,cb){return fs$close.call(fs14,fd,function(err){err||resetQueue(),typeof cb=="function"&&cb.apply(this,arguments)})}return Object.defineProperty(close,previousSymbol,{value:fs$close}),close}(fs14.close),fs14.closeSync=function(fs$closeSync){function closeSync(fd){fs$closeSync.apply(fs14,arguments),resetQueue()}return Object.defineProperty(closeSync,previousSymbol,{value:fs$closeSync}),closeSync}(fs14.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",function(){debug2(fs14[gracefulQueue]),require("assert").equal(fs14[gracefulQueue].length,0)}));var queue;global[gracefulQueue]||publishQueue(global,fs14[gracefulQueue]);module2.exports=patch(clone(fs14));process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!fs14.__patched&&(module2.exports=patch(fs14),fs14.__patched=!0);function patch(fs15){polyfills(fs15),fs15.gracefulify=patch,fs15.createReadStream=createReadStream,fs15.createWriteStream=createWriteStream;var fs$readFile=fs15.readFile;fs15.readFile=readFile4;function readFile4(path9,options,cb){return typeof options=="function"&&(cb=options,options=null),go$readFile(path9,options,cb);function go$readFile(path10,options2,cb2,startTime){return fs$readFile(path10,options2,function(err){err&&(err.code==="EMFILE"||err.code==="ENFILE")?enqueue([go$readFile,[path10,options2,cb2],err,startTime||Date.now(),Date.now()]):typeof cb2=="function"&&cb2.apply(this,arguments)})}}var fs$writeFile=fs15.writeFile;fs15.writeFile=writeFile;function writeFile(path9,data,options,cb){return typeof options=="function"&&(cb=options,options=null),go$writeFile(path9,data,options,cb);function go$writeFile(path10,data2,options2,cb2,startTime){return fs$writeFile(path10,data2,options2,function(err){err&&(err.code==="EMFILE"||err.code==="ENFILE")?enqueue([go$writeFile,[path10,data2,options2,cb2],err,startTime||Date.now(),Date.now()]):typeof cb2=="function"&&cb2.apply(this,arguments)})}}var fs$appendFile=fs15.appendFile;fs$appendFile&&(fs15.appendFile=appendFile);function appendFile(path9,data,options,cb){return typeof options=="function"&&(cb=options,options=null),go$appendFile(path9,data,options,cb);function go$appendFile(path10,data2,options2,cb2,startTime){return fs$appendFile(path10,data2,options2,function(err){err&&(err.code==="EMFILE"||err.code==="ENFILE")?enqueue([go$appendFile,[path10,data2,options2,cb2],err,startTime||Date.now(),Date.now()]):typeof cb2=="function"&&cb2.apply(this,arguments)})}}var fs$copyFile=fs15.copyFile;fs$copyFile&&(fs15.copyFile=copyFile);function copyFile(src,dest,flags,cb){return typeof flags=="function"&&(cb=flags,flags=0),go$copyFile(src,dest,flags,cb);function go$copyFile(src2,dest2,flags2,cb2,startTime){return fs$copyFile(src2,dest2,flags2,function(err){err&&(err.code==="EMFILE"||err.code==="ENFILE")?enqueue([go$copyFile,[src2,dest2,flags2,cb2],err,startTime||Date.now(),Date.now()]):typeof cb2=="function"&&cb2.apply(this,arguments)})}}var fs$readdir=fs15.readdir;fs15.readdir=readdir;var noReaddirOptionVersions=/^v[0-5]\./;function readdir(path9,options,cb){typeof options=="function"&&(cb=options,options=null);var go$readdir=noReaddirOptionVersions.test(process.version)?function(path10,options2,cb2,startTime){return fs$readdir(path10,fs$readdirCallback(path10,options2,cb2,startTime))}:function(path10,options2,cb2,startTime){return fs$readdir(path10,options2,fs$readdirCallback(path10,options2,cb2,startTime))};return go$readdir(path9,options,cb);function fs$readdirCallback(path10,options2,cb2,startTime){return function(err,files){err&&(err.code==="EMFILE"||err.code==="ENFILE")?enqueue([go$readdir,[path10,options2,cb2],err,startTime||Date.now(),Date.now()]):(files&&files.sort&&files.sort(),typeof cb2=="function"&&cb2.call(this,err,files))}}}if(process.version.substr(0,4)==="v0.8"){var legStreams=legacy(fs15);ReadStream=legStreams.ReadStream,WriteStream=legStreams.WriteStream}var fs$ReadStream=fs15.ReadStream;fs$ReadStream&&(ReadStream.prototype=Object.create(fs$ReadStream.prototype),ReadStream.prototype.open=ReadStream$open);var fs$WriteStream=fs15.WriteStream;fs$WriteStream&&(WriteStream.prototype=Object.create(fs$WriteStream.prototype),WriteStream.prototype.open=WriteStream$open),Object.defineProperty(fs15,"ReadStream",{get:function(){return ReadStream},set:function(val){ReadStream=val},enumerable:!0,configurable:!0}),Object.defineProperty(fs15,"WriteStream",{get:function(){return WriteStream},set:function(val){WriteStream=val},enumerable:!0,configurable:!0});var FileReadStream=ReadStream;Object.defineProperty(fs15,"FileReadStream",{get:function(){return FileReadStream},set:function(val){FileReadStream=val},enumerable:!0,configurable:!0});var FileWriteStream=WriteStream;Object.defineProperty(fs15,"FileWriteStream",{get:function(){return FileWriteStream},set:function(val){FileWriteStream=val},enumerable:!0,configurable:!0});function ReadStream(path9,options){return this instanceof ReadStream?(fs$ReadStream.apply(this,arguments),this):ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var that=this;open(that.path,that.flags,that.mode,function(err,fd){err?(that.autoClose&&that.destroy(),that.emit("error",err)):(that.fd=fd,that.emit("open",fd),that.read())})}function WriteStream(path9,options){return this instanceof WriteStream?(fs$WriteStream.apply(this,arguments),this):WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var that=this;open(that.path,that.flags,that.mode,function(err,fd){err?(that.destroy(),that.emit("error",err)):(that.fd=fd,that.emit("open",fd))})}function createReadStream(path9,options){return new fs15.ReadStream(path9,options)}function createWriteStream(path9,options){return new fs15.WriteStream(path9,options)}var fs$open=fs15.open;fs15.open=open;function open(path9,flags,mode,cb){return typeof mode=="function"&&(cb=mode,mode=null),go$open(path9,flags,mode,cb);function go$open(path10,flags2,mode2,cb2,startTime){return fs$open(path10,flags2,mode2,function(err,fd){err&&(err.code==="EMFILE"||err.code==="ENFILE")?enqueue([go$open,[path10,flags2,mode2,cb2],err,startTime||Date.now(),Date.now()]):typeof cb2=="function"&&cb2.apply(this,arguments)})}}return fs15}function enqueue(elem){debug2("ENQUEUE",elem[0].name,elem[1]),fs14[gracefulQueue].push(elem),retry2()}var retryTimer;function resetQueue(){for(var now=Date.now(),i=0;i<fs14[gracefulQueue].length;++i)fs14[gracefulQueue][i].length>2&&(fs14[gracefulQueue][i][3]=now,fs14[gracefulQueue][i][4]=now);retry2()}function retry2(){if(clearTimeout(retryTimer),retryTimer=void 0,fs14[gracefulQueue].length!==0){var elem=fs14[gracefulQueue].shift(),fn=elem[0],args=elem[1],err=elem[2],startTime=elem[3],lastTime=elem[4];if(startTime===void 0)debug2("RETRY",fn.name,args),fn.apply(null,args);else if(Date.now()-startTime>=6e4){debug2("TIMEOUT",fn.name,args);var cb=args.pop();typeof cb=="function"&&cb.call(null,err)}else{var sinceAttempt=Date.now()-lastTime,sinceStart=Math.max(lastTime-startTime,1),desiredDelay=Math.min(sinceStart*1.2,100);sinceAttempt>=desiredDelay?(debug2("RETRY",fn.name,args),fn.apply(null,args.concat([startTime]))):fs14[gracefulQueue].push(elem)}retryTimer===void 0&&(retryTimer=setTimeout(retry2,0))}}}});var require_fs=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/fs/index.js"(exports2){"use strict";var u=require_universalify().fromCallback,fs14=require_graceful_fs(),api=["access","appendFile","chmod","chown","close","copyFile","fchmod","fchown","fdatasync","fstat","fsync","ftruncate","futimes","lchmod","lchown","link","lstat","mkdir","mkdtemp","open","opendir","readdir","readFile","readlink","realpath","rename","rm","rmdir","stat","symlink","truncate","unlink","utimes","writeFile"].filter(key=>typeof fs14[key]=="function");Object.assign(exports2,fs14);api.forEach(method=>{exports2[method]=u(fs14[method])});exports2.realpath.native=u(fs14.realpath.native);exports2.exists=function(filename,callback){return typeof callback=="function"?fs14.exists(filename,callback):new Promise(resolve4=>fs14.exists(filename,resolve4))};exports2.read=function(fd,buffer,offset,length,position,callback){return typeof callback=="function"?fs14.read(fd,buffer,offset,length,position,callback):new Promise((resolve4,reject)=>{fs14.read(fd,buffer,offset,length,position,(err,bytesRead,buffer2)=>{if(err)return reject(err);resolve4({bytesRead,buffer:buffer2})})})};exports2.write=function(fd,buffer,...args){return typeof args[args.length-1]=="function"?fs14.write(fd,buffer,...args):new Promise((resolve4,reject)=>{fs14.write(fd,buffer,...args,(err,bytesWritten,buffer2)=>{if(err)return reject(err);resolve4({bytesWritten,buffer:buffer2})})})};typeof fs14.writev=="function"&&(exports2.writev=function(fd,buffers,...args){return typeof args[args.length-1]=="function"?fs14.writev(fd,buffers,...args):new Promise((resolve4,reject)=>{fs14.writev(fd,buffers,...args,(err,bytesWritten,buffers2)=>{if(err)return reject(err);resolve4({bytesWritten,buffers:buffers2})})})})}});var require_utils=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/mkdirs/utils.js"(exports2,module2){"use strict";var path9=require("path");module2.exports.checkPath=function(pth){if(process.platform==="win32"&&/[<>:"|?*]/.test(pth.replace(path9.parse(pth).root,""))){let error=new Error(`Path contains invalid characters: ${pth}`);throw error.code="EINVAL",error}}}});var require_make_dir=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/mkdirs/make-dir.js"(exports2,module2){"use strict";var fs14=require_fs(),{checkPath}=require_utils(),getMode=options=>{let defaults={mode:511};return typeof options=="number"?options:{...defaults,...options}.mode};module2.exports.makeDir=async(dir,options)=>(checkPath(dir),fs14.mkdir(dir,{mode:getMode(options),recursive:!0}));module2.exports.makeDirSync=(dir,options)=>(checkPath(dir),fs14.mkdirSync(dir,{mode:getMode(options),recursive:!0}))}});var require_mkdirs=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/mkdirs/index.js"(exports2,module2){"use strict";var u=require_universalify().fromPromise,{makeDir:_makeDir,makeDirSync}=require_make_dir(),makeDir=u(_makeDir);module2.exports={mkdirs:makeDir,mkdirsSync:makeDirSync,mkdirp:makeDir,mkdirpSync:makeDirSync,ensureDir:makeDir,ensureDirSync:makeDirSync}}});var require_utimes=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/util/utimes.js"(exports2,module2){"use strict";var fs14=require_graceful_fs();function utimesMillis(path9,atime,mtime2,callback){fs14.open(path9,"r+",(err,fd)=>{if(err)return callback(err);fs14.futimes(fd,atime,mtime2,futimesErr=>{fs14.close(fd,closeErr=>{callback&&callback(futimesErr||closeErr)})})})}function utimesMillisSync(path9,atime,mtime2){let fd=fs14.openSync(path9,"r+");return fs14.futimesSync(fd,atime,mtime2),fs14.closeSync(fd)}module2.exports={utimesMillis,utimesMillisSync}}});var require_stat=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/util/stat.js"(exports2,module2){"use strict";var fs14=require_fs(),path9=require("path"),util=require("util");function getStats(src,dest,opts){let statFunc=opts.dereference?file=>fs14.stat(file,{bigint:!0}):file=>fs14.lstat(file,{bigint:!0});return Promise.all([statFunc(src),statFunc(dest).catch(err=>{if(err.code==="ENOENT")return null;throw err})]).then(([srcStat,destStat])=>({srcStat,destStat}))}function getStatsSync(src,dest,opts){let destStat,statFunc=opts.dereference?file=>fs14.statSync(file,{bigint:!0}):file=>fs14.lstatSync(file,{bigint:!0}),srcStat=statFunc(src);try{destStat=statFunc(dest)}catch(err){if(err.code==="ENOENT")return{srcStat,destStat:null};throw err}return{srcStat,destStat}}function checkPaths(src,dest,funcName,opts,cb){util.callbackify(getStats)(src,dest,opts,(err,stats)=>{if(err)return cb(err);let{srcStat,destStat}=stats;if(destStat){if(areIdentical(srcStat,destStat)){let srcBaseName=path9.basename(src),destBaseName=path9.basename(dest);return funcName==="move"&&srcBaseName!==destBaseName&&srcBaseName.toLowerCase()===destBaseName.toLowerCase()?cb(null,{srcStat,destStat,isChangingCase:!0}):cb(new Error("Source and destination must not be the same."))}if(srcStat.isDirectory()&&!destStat.isDirectory())return cb(new Error(`Cannot overwrite non-directory '${dest}' with directory '${src}'.`));if(!srcStat.isDirectory()&&destStat.isDirectory())return cb(new Error(`Cannot overwrite directory '${dest}' with non-directory '${src}'.`))}return srcStat.isDirectory()&&isSrcSubdir(src,dest)?cb(new Error(errMsg(src,dest,funcName))):cb(null,{srcStat,destStat})})}function checkPathsSync(src,dest,funcName,opts){let{srcStat,destStat}=getStatsSync(src,dest,opts);if(destStat){if(areIdentical(srcStat,destStat)){let srcBaseName=path9.basename(src),destBaseName=path9.basename(dest);if(funcName==="move"&&srcBaseName!==destBaseName&&srcBaseName.toLowerCase()===destBaseName.toLowerCase())return{srcStat,destStat,isChangingCase:!0};throw new Error("Source and destination must not be the same.")}if(srcStat.isDirectory()&&!destStat.isDirectory())throw new Error(`Cannot overwrite non-directory '${dest}' with directory '${src}'.`);if(!srcStat.isDirectory()&&destStat.isDirectory())throw new Error(`Cannot overwrite directory '${dest}' with non-directory '${src}'.`)}if(srcStat.isDirectory()&&isSrcSubdir(src,dest))throw new Error(errMsg(src,dest,funcName));return{srcStat,destStat}}function checkParentPaths(src,srcStat,dest,funcName,cb){let srcParent=path9.resolve(path9.dirname(src)),destParent=path9.resolve(path9.dirname(dest));if(destParent===srcParent||destParent===path9.parse(destParent).root)return cb();fs14.stat(destParent,{bigint:!0},(err,destStat)=>err?err.code==="ENOENT"?cb():cb(err):areIdentical(srcStat,destStat)?cb(new Error(errMsg(src,dest,funcName))):checkParentPaths(src,srcStat,destParent,funcName,cb))}function checkParentPathsSync(src,srcStat,dest,funcName){let srcParent=path9.resolve(path9.dirname(src)),destParent=path9.resolve(path9.dirname(dest));if(destParent===srcParent||destParent===path9.parse(destParent).root)return;let destStat;try{destStat=fs14.statSync(destParent,{bigint:!0})}catch(err){if(err.code==="ENOENT")return;throw err}if(areIdentical(srcStat,destStat))throw new Error(errMsg(src,dest,funcName));return checkParentPathsSync(src,srcStat,destParent,funcName)}function areIdentical(srcStat,destStat){return destStat.ino&&destStat.dev&&destStat.ino===srcStat.ino&&destStat.dev===srcStat.dev}function isSrcSubdir(src,dest){let srcArr=path9.resolve(src).split(path9.sep).filter(i=>i),destArr=path9.resolve(dest).split(path9.sep).filter(i=>i);return srcArr.reduce((acc,cur,i)=>acc&&destArr[i]===cur,!0)}function errMsg(src,dest,funcName){return`Cannot ${funcName} '${src}' to a subdirectory of itself, '${dest}'.`}module2.exports={checkPaths,checkPathsSync,checkParentPaths,checkParentPathsSync,isSrcSubdir,areIdentical}}});var require_copy_sync=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/copy-sync/copy-sync.js"(exports2,module2){"use strict";var fs14=require_graceful_fs(),path9=require("path"),mkdirsSync=require_mkdirs().mkdirsSync,utimesMillisSync=require_utimes().utimesMillisSync,stat=require_stat();function copySync(src,dest,opts){typeof opts=="function"&&(opts={filter:opts}),opts=opts||{},opts.clobber="clobber"in opts?!!opts.clobber:!0,opts.overwrite="overwrite"in opts?!!opts.overwrite:opts.clobber,opts.preserveTimestamps&&process.arch==="ia32"&&console.warn(`fs-extra: Using the preserveTimestamps option in 32-bit node is not recommended;
|
|
3
3
|
|
|
4
|
-
see https://github.com/jprichardson/node-fs-extra/issues/269`);let{srcStat,destStat}=
|
|
4
|
+
see https://github.com/jprichardson/node-fs-extra/issues/269`);let{srcStat,destStat}=stat.checkPathsSync(src,dest,"copy",opts);return stat.checkParentPathsSync(src,srcStat,dest,"copy"),handleFilterAndCopy(destStat,src,dest,opts)}function handleFilterAndCopy(destStat,src,dest,opts){if(opts.filter&&!opts.filter(src,dest))return;let destParent=path9.dirname(dest);return fs14.existsSync(destParent)||mkdirsSync(destParent),getStats(destStat,src,dest,opts)}function startCopy(destStat,src,dest,opts){if(!(opts.filter&&!opts.filter(src,dest)))return getStats(destStat,src,dest,opts)}function getStats(destStat,src,dest,opts){let srcStat=(opts.dereference?fs14.statSync:fs14.lstatSync)(src);if(srcStat.isDirectory())return onDir(srcStat,destStat,src,dest,opts);if(srcStat.isFile()||srcStat.isCharacterDevice()||srcStat.isBlockDevice())return onFile(srcStat,destStat,src,dest,opts);if(srcStat.isSymbolicLink())return onLink(destStat,src,dest,opts);throw srcStat.isSocket()?new Error(`Cannot copy a socket file: ${src}`):srcStat.isFIFO()?new Error(`Cannot copy a FIFO pipe: ${src}`):new Error(`Unknown file: ${src}`)}function onFile(srcStat,destStat,src,dest,opts){return destStat?mayCopyFile(srcStat,src,dest,opts):copyFile(srcStat,src,dest,opts)}function mayCopyFile(srcStat,src,dest,opts){if(opts.overwrite)return fs14.unlinkSync(dest),copyFile(srcStat,src,dest,opts);if(opts.errorOnExist)throw new Error(`'${dest}' already exists`)}function copyFile(srcStat,src,dest,opts){return fs14.copyFileSync(src,dest),opts.preserveTimestamps&&handleTimestamps(srcStat.mode,src,dest),setDestMode(dest,srcStat.mode)}function handleTimestamps(srcMode,src,dest){return fileIsNotWritable(srcMode)&&makeFileWritable(dest,srcMode),setDestTimestamps(src,dest)}function fileIsNotWritable(srcMode){return(srcMode&128)===0}function makeFileWritable(dest,srcMode){return setDestMode(dest,srcMode|128)}function setDestMode(dest,srcMode){return fs14.chmodSync(dest,srcMode)}function setDestTimestamps(src,dest){let updatedSrcStat=fs14.statSync(src);return utimesMillisSync(dest,updatedSrcStat.atime,updatedSrcStat.mtime)}function onDir(srcStat,destStat,src,dest,opts){return destStat?copyDir(src,dest,opts):mkDirAndCopy(srcStat.mode,src,dest,opts)}function mkDirAndCopy(srcMode,src,dest,opts){return fs14.mkdirSync(dest),copyDir(src,dest,opts),setDestMode(dest,srcMode)}function copyDir(src,dest,opts){fs14.readdirSync(src).forEach(item=>copyDirItem(item,src,dest,opts))}function copyDirItem(item,src,dest,opts){let srcItem=path9.join(src,item),destItem=path9.join(dest,item),{destStat}=stat.checkPathsSync(srcItem,destItem,"copy",opts);return startCopy(destStat,srcItem,destItem,opts)}function onLink(destStat,src,dest,opts){let resolvedSrc=fs14.readlinkSync(src);if(opts.dereference&&(resolvedSrc=path9.resolve(process.cwd(),resolvedSrc)),destStat){let resolvedDest;try{resolvedDest=fs14.readlinkSync(dest)}catch(err){if(err.code==="EINVAL"||err.code==="UNKNOWN")return fs14.symlinkSync(resolvedSrc,dest);throw err}if(opts.dereference&&(resolvedDest=path9.resolve(process.cwd(),resolvedDest)),stat.isSrcSubdir(resolvedSrc,resolvedDest))throw new Error(`Cannot copy '${resolvedSrc}' to a subdirectory of itself, '${resolvedDest}'.`);if(fs14.statSync(dest).isDirectory()&&stat.isSrcSubdir(resolvedDest,resolvedSrc))throw new Error(`Cannot overwrite '${resolvedDest}' with '${resolvedSrc}'.`);return copyLink(resolvedSrc,dest)}else return fs14.symlinkSync(resolvedSrc,dest)}function copyLink(resolvedSrc,dest){return fs14.unlinkSync(dest),fs14.symlinkSync(resolvedSrc,dest)}module2.exports=copySync}});var require_copy_sync2=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/copy-sync/index.js"(exports2,module2){"use strict";module2.exports={copySync:require_copy_sync()}}});var require_path_exists=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/path-exists/index.js"(exports2,module2){"use strict";var u=require_universalify().fromPromise,fs14=require_fs();function pathExists(path9){return fs14.access(path9).then(()=>!0).catch(()=>!1)}module2.exports={pathExists:u(pathExists),pathExistsSync:fs14.existsSync}}});var require_copy=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/copy/copy.js"(exports2,module2){"use strict";var fs14=require_graceful_fs(),path9=require("path"),mkdirs=require_mkdirs().mkdirs,pathExists=require_path_exists().pathExists,utimesMillis=require_utimes().utimesMillis,stat=require_stat();function copy(src,dest,opts,cb){typeof opts=="function"&&!cb?(cb=opts,opts={}):typeof opts=="function"&&(opts={filter:opts}),cb=cb||function(){},opts=opts||{},opts.clobber="clobber"in opts?!!opts.clobber:!0,opts.overwrite="overwrite"in opts?!!opts.overwrite:opts.clobber,opts.preserveTimestamps&&process.arch==="ia32"&&console.warn(`fs-extra: Using the preserveTimestamps option in 32-bit node is not recommended;
|
|
5
5
|
|
|
6
|
-
see https://github.com/jprichardson/node-fs-extra/issues/269`),stat2.checkPaths(src,dest,"copy",opts,(err,stats)=>{if(err)return cb(err);let{srcStat,destStat}=stats;stat2.checkParentPaths(src,srcStat,dest,"copy",err2=>err2?cb(err2):opts.filter?handleFilter(checkParentDir,destStat,src,dest,opts,cb):checkParentDir(destStat,src,dest,opts,cb))})}function checkParentDir(destStat,src,dest,opts,cb){let destParent=path9.dirname(dest);pathExists(destParent,(err,dirExists)=>{if(err)return cb(err);if(dirExists)return getStats(destStat,src,dest,opts,cb);mkdirs(destParent,err2=>err2?cb(err2):getStats(destStat,src,dest,opts,cb))})}function handleFilter(onInclude,destStat,src,dest,opts,cb){Promise.resolve(opts.filter(src,dest)).then(include=>include?onInclude(destStat,src,dest,opts,cb):cb(),error=>cb(error))}function startCopy(destStat,src,dest,opts,cb){return opts.filter?handleFilter(getStats,destStat,src,dest,opts,cb):getStats(destStat,src,dest,opts,cb)}function getStats(destStat,src,dest,opts,cb){(opts.dereference?fs15.stat:fs15.lstat)(src,(err,srcStat)=>err?cb(err):srcStat.isDirectory()?onDir(srcStat,destStat,src,dest,opts,cb):srcStat.isFile()||srcStat.isCharacterDevice()||srcStat.isBlockDevice()?onFile(srcStat,destStat,src,dest,opts,cb):srcStat.isSymbolicLink()?onLink(destStat,src,dest,opts,cb):srcStat.isSocket()?cb(new Error(`Cannot copy a socket file: ${src}`)):srcStat.isFIFO()?cb(new Error(`Cannot copy a FIFO pipe: ${src}`)):cb(new Error(`Unknown file: ${src}`)))}function onFile(srcStat,destStat,src,dest,opts,cb){return destStat?mayCopyFile(srcStat,src,dest,opts,cb):copyFile(srcStat,src,dest,opts,cb)}function mayCopyFile(srcStat,src,dest,opts,cb){if(opts.overwrite)fs15.unlink(dest,err=>err?cb(err):copyFile(srcStat,src,dest,opts,cb));else return opts.errorOnExist?cb(new Error(`'${dest}' already exists`)):cb()}function copyFile(srcStat,src,dest,opts,cb){fs15.copyFile(src,dest,err=>err?cb(err):opts.preserveTimestamps?handleTimestampsAndMode(srcStat.mode,src,dest,cb):setDestMode(dest,srcStat.mode,cb))}function handleTimestampsAndMode(srcMode,src,dest,cb){return fileIsNotWritable(srcMode)?makeFileWritable(dest,srcMode,err=>err?cb(err):setDestTimestampsAndMode(srcMode,src,dest,cb)):setDestTimestampsAndMode(srcMode,src,dest,cb)}function fileIsNotWritable(srcMode){return(srcMode&128)===0}function makeFileWritable(dest,srcMode,cb){return setDestMode(dest,srcMode|128,cb)}function setDestTimestampsAndMode(srcMode,src,dest,cb){setDestTimestamps(src,dest,err=>err?cb(err):setDestMode(dest,srcMode,cb))}function setDestMode(dest,srcMode,cb){return fs15.chmod(dest,srcMode,cb)}function setDestTimestamps(src,dest,cb){fs15.stat(src,(err,updatedSrcStat)=>err?cb(err):utimesMillis(dest,updatedSrcStat.atime,updatedSrcStat.mtime,cb))}function onDir(srcStat,destStat,src,dest,opts,cb){return destStat?copyDir(src,dest,opts,cb):mkDirAndCopy(srcStat.mode,src,dest,opts,cb)}function mkDirAndCopy(srcMode,src,dest,opts,cb){fs15.mkdir(dest,err=>{if(err)return cb(err);copyDir(src,dest,opts,err2=>err2?cb(err2):setDestMode(dest,srcMode,cb))})}function copyDir(src,dest,opts,cb){fs15.readdir(src,(err,items)=>err?cb(err):copyDirItems(items,src,dest,opts,cb))}function copyDirItems(items,src,dest,opts,cb){let item=items.pop();return item?copyDirItem(items,item,src,dest,opts,cb):cb()}function copyDirItem(items,item,src,dest,opts,cb){let srcItem=path9.join(src,item),destItem=path9.join(dest,item);stat2.checkPaths(srcItem,destItem,"copy",opts,(err,stats)=>{if(err)return cb(err);let{destStat}=stats;startCopy(destStat,srcItem,destItem,opts,err2=>err2?cb(err2):copyDirItems(items,src,dest,opts,cb))})}function onLink(destStat,src,dest,opts,cb){fs15.readlink(src,(err,resolvedSrc)=>{if(err)return cb(err);if(opts.dereference&&(resolvedSrc=path9.resolve(process.cwd(),resolvedSrc)),destStat)fs15.readlink(dest,(err2,resolvedDest)=>err2?err2.code==="EINVAL"||err2.code==="UNKNOWN"?fs15.symlink(resolvedSrc,dest,cb):cb(err2):(opts.dereference&&(resolvedDest=path9.resolve(process.cwd(),resolvedDest)),stat2.isSrcSubdir(resolvedSrc,resolvedDest)?cb(new Error(`Cannot copy '${resolvedSrc}' to a subdirectory of itself, '${resolvedDest}'.`)):destStat.isDirectory()&&stat2.isSrcSubdir(resolvedDest,resolvedSrc)?cb(new Error(`Cannot overwrite '${resolvedDest}' with '${resolvedSrc}'.`)):copyLink(resolvedSrc,dest,cb)));else return fs15.symlink(resolvedSrc,dest,cb)})}function copyLink(resolvedSrc,dest,cb){fs15.unlink(dest,err=>err?cb(err):fs15.symlink(resolvedSrc,dest,cb))}module2.exports=copy}});var require_copy2=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/copy/index.js"(exports2,module2){"use strict";var u=require_universalify().fromCallback;module2.exports={copy:u(require_copy())}}});var require_rimraf=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/remove/rimraf.js"(exports2,module2){"use strict";var fs15=require_graceful_fs(),path9=require("path"),assert9=require("assert"),isWindows=process.platform==="win32";function defaults(options){["unlink","chmod","stat","lstat","rmdir","readdir"].forEach(m=>{options[m]=options[m]||fs15[m],m=m+"Sync",options[m]=options[m]||fs15[m]}),options.maxBusyTries=options.maxBusyTries||3}function rimraf(p,options,cb){let busyTries=0;typeof options=="function"&&(cb=options,options={}),assert9(p,"rimraf: missing path"),assert9.strictEqual(typeof p,"string","rimraf: path should be a string"),assert9.strictEqual(typeof cb,"function","rimraf: callback function required"),assert9(options,"rimraf: invalid options argument provided"),assert9.strictEqual(typeof options,"object","rimraf: options should be object"),defaults(options),rimraf_(p,options,function CB(er){if(er){if((er.code==="EBUSY"||er.code==="ENOTEMPTY"||er.code==="EPERM")&&busyTries<options.maxBusyTries){busyTries++;let time=busyTries*100;return setTimeout(()=>rimraf_(p,options,CB),time)}er.code==="ENOENT"&&(er=null)}cb(er)})}function rimraf_(p,options,cb){assert9(p),assert9(options),assert9(typeof cb=="function"),options.lstat(p,(er,st)=>{if(er&&er.code==="ENOENT")return cb(null);if(er&&er.code==="EPERM"&&isWindows)return fixWinEPERM(p,options,er,cb);if(st&&st.isDirectory())return rmdir(p,options,er,cb);options.unlink(p,er2=>{if(er2){if(er2.code==="ENOENT")return cb(null);if(er2.code==="EPERM")return isWindows?fixWinEPERM(p,options,er2,cb):rmdir(p,options,er2,cb);if(er2.code==="EISDIR")return rmdir(p,options,er2,cb)}return cb(er2)})})}function fixWinEPERM(p,options,er,cb){assert9(p),assert9(options),assert9(typeof cb=="function"),options.chmod(p,438,er2=>{er2?cb(er2.code==="ENOENT"?null:er):options.stat(p,(er3,stats)=>{er3?cb(er3.code==="ENOENT"?null:er):stats.isDirectory()?rmdir(p,options,er,cb):options.unlink(p,cb)})})}function fixWinEPERMSync(p,options,er){let stats;assert9(p),assert9(options);try{options.chmodSync(p,438)}catch(er2){if(er2.code==="ENOENT")return;throw er}try{stats=options.statSync(p)}catch(er3){if(er3.code==="ENOENT")return;throw er}stats.isDirectory()?rmdirSync(p,options,er):options.unlinkSync(p)}function rmdir(p,options,originalEr,cb){assert9(p),assert9(options),assert9(typeof cb=="function"),options.rmdir(p,er=>{er&&(er.code==="ENOTEMPTY"||er.code==="EEXIST"||er.code==="EPERM")?rmkids(p,options,cb):er&&er.code==="ENOTDIR"?cb(originalEr):cb(er)})}function rmkids(p,options,cb){assert9(p),assert9(options),assert9(typeof cb=="function"),options.readdir(p,(er,files)=>{if(er)return cb(er);let n=files.length,errState;if(n===0)return options.rmdir(p,cb);files.forEach(f=>{rimraf(path9.join(p,f),options,er2=>{if(!errState){if(er2)return cb(errState=er2);--n===0&&options.rmdir(p,cb)}})})})}function rimrafSync(p,options){let st;options=options||{},defaults(options),assert9(p,"rimraf: missing path"),assert9.strictEqual(typeof p,"string","rimraf: path should be a string"),assert9(options,"rimraf: missing options"),assert9.strictEqual(typeof options,"object","rimraf: options should be object");try{st=options.lstatSync(p)}catch(er){if(er.code==="ENOENT")return;er.code==="EPERM"&&isWindows&&fixWinEPERMSync(p,options,er)}try{st&&st.isDirectory()?rmdirSync(p,options,null):options.unlinkSync(p)}catch(er){if(er.code==="ENOENT")return;if(er.code==="EPERM")return isWindows?fixWinEPERMSync(p,options,er):rmdirSync(p,options,er);if(er.code!=="EISDIR")throw er;rmdirSync(p,options,er)}}function rmdirSync(p,options,originalEr){assert9(p),assert9(options);try{options.rmdirSync(p)}catch(er){if(er.code==="ENOTDIR")throw originalEr;if(er.code==="ENOTEMPTY"||er.code==="EEXIST"||er.code==="EPERM")rmkidsSync(p,options);else if(er.code!=="ENOENT")throw er}}function rmkidsSync(p,options){if(assert9(p),assert9(options),options.readdirSync(p).forEach(f=>rimrafSync(path9.join(p,f),options)),isWindows){let startTime=Date.now();do try{return options.rmdirSync(p,options)}catch{}while(Date.now()-startTime<500)}else return options.rmdirSync(p,options)}module2.exports=rimraf;rimraf.sync=rimrafSync}});var require_remove=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/remove/index.js"(exports2,module2){"use strict";var fs15=require_graceful_fs(),u=require_universalify().fromCallback,rimraf=require_rimraf();function remove2(path9,callback){if(fs15.rm)return fs15.rm(path9,{recursive:!0,force:!0},callback);rimraf(path9,callback)}function removeSync(path9){if(fs15.rmSync)return fs15.rmSync(path9,{recursive:!0,force:!0});rimraf.sync(path9)}module2.exports={remove:u(remove2),removeSync}}});var require_empty=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/empty/index.js"(exports2,module2){"use strict";var u=require_universalify().fromPromise,fs15=require_fs(),path9=require("path"),mkdir=require_mkdirs(),remove2=require_remove(),emptyDir=u(async function(dir){let items;try{items=await fs15.readdir(dir)}catch{return mkdir.mkdirs(dir)}return Promise.all(items.map(item=>remove2.remove(path9.join(dir,item))))});function emptyDirSync(dir){let items;try{items=fs15.readdirSync(dir)}catch{return mkdir.mkdirsSync(dir)}items.forEach(item=>{item=path9.join(dir,item),remove2.removeSync(item)})}module2.exports={emptyDirSync,emptydirSync:emptyDirSync,emptyDir,emptydir:emptyDir}}});var require_file=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/ensure/file.js"(exports2,module2){"use strict";var u=require_universalify().fromCallback,path9=require("path"),fs15=require_graceful_fs(),mkdir=require_mkdirs();function createFile(file,callback){function makeFile(){fs15.writeFile(file,"",err=>{if(err)return callback(err);callback()})}fs15.stat(file,(err,stats)=>{if(!err&&stats.isFile())return callback();let dir=path9.dirname(file);fs15.stat(dir,(err2,stats2)=>{if(err2)return err2.code==="ENOENT"?mkdir.mkdirs(dir,err3=>{if(err3)return callback(err3);makeFile()}):callback(err2);stats2.isDirectory()?makeFile():fs15.readdir(dir,err3=>{if(err3)return callback(err3)})})})}function createFileSync(file){let stats;try{stats=fs15.statSync(file)}catch{}if(stats&&stats.isFile())return;let dir=path9.dirname(file);try{fs15.statSync(dir).isDirectory()||fs15.readdirSync(dir)}catch(err){if(err&&err.code==="ENOENT")mkdir.mkdirsSync(dir);else throw err}fs15.writeFileSync(file,"")}module2.exports={createFile:u(createFile),createFileSync}}});var require_link=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/ensure/link.js"(exports2,module2){"use strict";var u=require_universalify().fromCallback,path9=require("path"),fs15=require_graceful_fs(),mkdir=require_mkdirs(),pathExists=require_path_exists().pathExists,{areIdentical}=require_stat();function createLink(srcpath,dstpath,callback){function makeLink(srcpath2,dstpath2){fs15.link(srcpath2,dstpath2,err=>{if(err)return callback(err);callback(null)})}fs15.lstat(dstpath,(_,dstStat)=>{fs15.lstat(srcpath,(err,srcStat)=>{if(err)return err.message=err.message.replace("lstat","ensureLink"),callback(err);if(dstStat&&areIdentical(srcStat,dstStat))return callback(null);let dir=path9.dirname(dstpath);pathExists(dir,(err2,dirExists)=>{if(err2)return callback(err2);if(dirExists)return makeLink(srcpath,dstpath);mkdir.mkdirs(dir,err3=>{if(err3)return callback(err3);makeLink(srcpath,dstpath)})})})})}function createLinkSync(srcpath,dstpath){let dstStat;try{dstStat=fs15.lstatSync(dstpath)}catch{}try{let srcStat=fs15.lstatSync(srcpath);if(dstStat&&areIdentical(srcStat,dstStat))return}catch(err){throw err.message=err.message.replace("lstat","ensureLink"),err}let dir=path9.dirname(dstpath);return fs15.existsSync(dir)||mkdir.mkdirsSync(dir),fs15.linkSync(srcpath,dstpath)}module2.exports={createLink:u(createLink),createLinkSync}}});var require_symlink_paths=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/ensure/symlink-paths.js"(exports2,module2){"use strict";var path9=require("path"),fs15=require_graceful_fs(),pathExists=require_path_exists().pathExists;function symlinkPaths(srcpath,dstpath,callback){if(path9.isAbsolute(srcpath))return fs15.lstat(srcpath,err=>err?(err.message=err.message.replace("lstat","ensureSymlink"),callback(err)):callback(null,{toCwd:srcpath,toDst:srcpath}));{let dstdir=path9.dirname(dstpath),relativeToDst=path9.join(dstdir,srcpath);return pathExists(relativeToDst,(err,exists)=>err?callback(err):exists?callback(null,{toCwd:relativeToDst,toDst:srcpath}):fs15.lstat(srcpath,err2=>err2?(err2.message=err2.message.replace("lstat","ensureSymlink"),callback(err2)):callback(null,{toCwd:srcpath,toDst:path9.relative(dstdir,srcpath)})))}}function symlinkPathsSync(srcpath,dstpath){let exists;if(path9.isAbsolute(srcpath)){if(exists=fs15.existsSync(srcpath),!exists)throw new Error("absolute srcpath does not exist");return{toCwd:srcpath,toDst:srcpath}}else{let dstdir=path9.dirname(dstpath),relativeToDst=path9.join(dstdir,srcpath);if(exists=fs15.existsSync(relativeToDst),exists)return{toCwd:relativeToDst,toDst:srcpath};if(exists=fs15.existsSync(srcpath),!exists)throw new Error("relative srcpath does not exist");return{toCwd:srcpath,toDst:path9.relative(dstdir,srcpath)}}}module2.exports={symlinkPaths,symlinkPathsSync}}});var require_symlink_type=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/ensure/symlink-type.js"(exports2,module2){"use strict";var fs15=require_graceful_fs();function symlinkType(srcpath,type,callback){if(callback=typeof type=="function"?type:callback,type=typeof type=="function"?!1:type,type)return callback(null,type);fs15.lstat(srcpath,(err,stats)=>{if(err)return callback(null,"file");type=stats&&stats.isDirectory()?"dir":"file",callback(null,type)})}function symlinkTypeSync(srcpath,type){let stats;if(type)return type;try{stats=fs15.lstatSync(srcpath)}catch{return"file"}return stats&&stats.isDirectory()?"dir":"file"}module2.exports={symlinkType,symlinkTypeSync}}});var require_symlink=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/ensure/symlink.js"(exports2,module2){"use strict";var u=require_universalify().fromCallback,path9=require("path"),fs15=require_fs(),_mkdirs=require_mkdirs(),mkdirs=_mkdirs.mkdirs,mkdirsSync=_mkdirs.mkdirsSync,_symlinkPaths=require_symlink_paths(),symlinkPaths=_symlinkPaths.symlinkPaths,symlinkPathsSync=_symlinkPaths.symlinkPathsSync,_symlinkType=require_symlink_type(),symlinkType=_symlinkType.symlinkType,symlinkTypeSync=_symlinkType.symlinkTypeSync,pathExists=require_path_exists().pathExists,{areIdentical}=require_stat();function createSymlink(srcpath,dstpath,type,callback){callback=typeof type=="function"?type:callback,type=typeof type=="function"?!1:type,fs15.lstat(dstpath,(err,stats)=>{!err&&stats.isSymbolicLink()?Promise.all([fs15.stat(srcpath),fs15.stat(dstpath)]).then(([srcStat,dstStat])=>{if(areIdentical(srcStat,dstStat))return callback(null);_createSymlink(srcpath,dstpath,type,callback)}):_createSymlink(srcpath,dstpath,type,callback)})}function _createSymlink(srcpath,dstpath,type,callback){symlinkPaths(srcpath,dstpath,(err,relative5)=>{if(err)return callback(err);srcpath=relative5.toDst,symlinkType(relative5.toCwd,type,(err2,type2)=>{if(err2)return callback(err2);let dir=path9.dirname(dstpath);pathExists(dir,(err3,dirExists)=>{if(err3)return callback(err3);if(dirExists)return fs15.symlink(srcpath,dstpath,type2,callback);mkdirs(dir,err4=>{if(err4)return callback(err4);fs15.symlink(srcpath,dstpath,type2,callback)})})})})}function createSymlinkSync(srcpath,dstpath,type){let stats;try{stats=fs15.lstatSync(dstpath)}catch{}if(stats&&stats.isSymbolicLink()){let srcStat=fs15.statSync(srcpath),dstStat=fs15.statSync(dstpath);if(areIdentical(srcStat,dstStat))return}let relative5=symlinkPathsSync(srcpath,dstpath);srcpath=relative5.toDst,type=symlinkTypeSync(relative5.toCwd,type);let dir=path9.dirname(dstpath);return fs15.existsSync(dir)||mkdirsSync(dir),fs15.symlinkSync(srcpath,dstpath,type)}module2.exports={createSymlink:u(createSymlink),createSymlinkSync}}});var require_ensure=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/ensure/index.js"(exports2,module2){"use strict";var file=require_file(),link=require_link(),symlink2=require_symlink();module2.exports={createFile:file.createFile,createFileSync:file.createFileSync,ensureFile:file.createFile,ensureFileSync:file.createFileSync,createLink:link.createLink,createLinkSync:link.createLinkSync,ensureLink:link.createLink,ensureLinkSync:link.createLinkSync,createSymlink:symlink2.createSymlink,createSymlinkSync:symlink2.createSymlinkSync,ensureSymlink:symlink2.createSymlink,ensureSymlinkSync:symlink2.createSymlinkSync}}});var require_utils2=__commonJS({"../../node_modules/.pnpm/jsonfile@6.2.1/node_modules/jsonfile/utils.js"(exports2,module2){function stringify2(obj,{EOL=`
|
|
7
|
-
`,finalEOL=!0,replacer=null,spaces}={}){let EOF=finalEOL?EOL:"",str=JSON.stringify(obj,replacer,spaces);if(str===void 0)throw new TypeError(`Converting ${typeof obj} value to JSON is not supported`);return str.replace(/\n/g,EOL)+EOF}function stripBom(content){return Buffer.isBuffer(content)&&(content=content.toString("utf8")),content.replace(/^\uFEFF/,"")}module2.exports={stringify:stringify2,stripBom}}});var require_jsonfile=__commonJS({"../../node_modules/.pnpm/jsonfile@6.2.1/node_modules/jsonfile/index.js"(exports2,module2){var _fs;try{_fs=require_graceful_fs()}catch{_fs=require("fs")}var universalify=require_universalify(),{stringify:stringify2,stripBom}=require_utils2();async function _readFile(file,options={}){typeof options=="string"&&(options={encoding:options});let fs15=options.fs||_fs,shouldThrow="throws"in options?options.throws:!0,data=await universalify.fromCallback(fs15.readFile)(file,options);data=stripBom(data);let obj;try{obj=JSON.parse(data,options?options.reviver:null)}catch(err){if(shouldThrow)throw err.message=`${file}: ${err.message}`,err;return null}return obj}var readFile4=universalify.fromPromise(_readFile);function readFileSync(file,options={}){typeof options=="string"&&(options={encoding:options});let fs15=options.fs||_fs,shouldThrow="throws"in options?options.throws:!0;try{let content=fs15.readFileSync(file,options);return content=stripBom(content),JSON.parse(content,options.reviver)}catch(err){if(shouldThrow)throw err.message=`${file}: ${err.message}`,err;return null}}async function _writeFile(file,obj,options={}){let fs15=options.fs||_fs,str=stringify2(obj,options);await universalify.fromCallback(fs15.writeFile)(file,str,options)}var writeFile=universalify.fromPromise(_writeFile);function writeFileSync(file,obj,options={}){let fs15=options.fs||_fs,str=stringify2(obj,options);return fs15.writeFileSync(file,str,options)}module2.exports={readFile:readFile4,readFileSync,writeFile,writeFileSync}}});var require_jsonfile2=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/json/jsonfile.js"(exports2,module2){"use strict";var jsonFile=require_jsonfile();module2.exports={readJson:jsonFile.readFile,readJsonSync:jsonFile.readFileSync,writeJson:jsonFile.writeFile,writeJsonSync:jsonFile.writeFileSync}}});var require_output=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/output/index.js"(exports2,module2){"use strict";var u=require_universalify().fromCallback,fs15=require_graceful_fs(),path9=require("path"),mkdir=require_mkdirs(),pathExists=require_path_exists().pathExists;function outputFile(file,data,encoding,callback){typeof encoding=="function"&&(callback=encoding,encoding="utf8");let dir=path9.dirname(file);pathExists(dir,(err,itDoes)=>{if(err)return callback(err);if(itDoes)return fs15.writeFile(file,data,encoding,callback);mkdir.mkdirs(dir,err2=>{if(err2)return callback(err2);fs15.writeFile(file,data,encoding,callback)})})}function outputFileSync(file,...args){let dir=path9.dirname(file);if(fs15.existsSync(dir))return fs15.writeFileSync(file,...args);mkdir.mkdirsSync(dir),fs15.writeFileSync(file,...args)}module2.exports={outputFile:u(outputFile),outputFileSync}}});var require_output_json=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/json/output-json.js"(exports2,module2){"use strict";var{stringify:stringify2}=require_utils2(),{outputFile}=require_output();async function outputJson(file,data,options={}){let str=stringify2(data,options);await outputFile(file,str,options)}module2.exports=outputJson}});var require_output_json_sync=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/json/output-json-sync.js"(exports2,module2){"use strict";var{stringify:stringify2}=require_utils2(),{outputFileSync}=require_output();function outputJsonSync(file,data,options){let str=stringify2(data,options);outputFileSync(file,str,options)}module2.exports=outputJsonSync}});var require_json=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/json/index.js"(exports2,module2){"use strict";var u=require_universalify().fromPromise,jsonFile=require_jsonfile2();jsonFile.outputJson=u(require_output_json());jsonFile.outputJsonSync=require_output_json_sync();jsonFile.outputJSON=jsonFile.outputJson;jsonFile.outputJSONSync=jsonFile.outputJsonSync;jsonFile.writeJSON=jsonFile.writeJson;jsonFile.writeJSONSync=jsonFile.writeJsonSync;jsonFile.readJSON=jsonFile.readJson;jsonFile.readJSONSync=jsonFile.readJsonSync;module2.exports=jsonFile}});var require_move_sync=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/move-sync/move-sync.js"(exports2,module2){"use strict";var fs15=require_graceful_fs(),path9=require("path"),copySync=require_copy_sync2().copySync,removeSync=require_remove().removeSync,mkdirpSync=require_mkdirs().mkdirpSync,stat2=require_stat();function moveSync(src,dest,opts){opts=opts||{};let overwrite=opts.overwrite||opts.clobber||!1,{srcStat,isChangingCase=!1}=stat2.checkPathsSync(src,dest,"move",opts);return stat2.checkParentPathsSync(src,srcStat,dest,"move"),isParentRoot(dest)||mkdirpSync(path9.dirname(dest)),doRename(src,dest,overwrite,isChangingCase)}function isParentRoot(dest){let parent=path9.dirname(dest);return path9.parse(parent).root===parent}function doRename(src,dest,overwrite,isChangingCase){if(isChangingCase)return rename2(src,dest,overwrite);if(overwrite)return removeSync(dest),rename2(src,dest,overwrite);if(fs15.existsSync(dest))throw new Error("dest already exists.");return rename2(src,dest,overwrite)}function rename2(src,dest,overwrite){try{fs15.renameSync(src,dest)}catch(err){if(err.code!=="EXDEV")throw err;return moveAcrossDevice(src,dest,overwrite)}}function moveAcrossDevice(src,dest,overwrite){return copySync(src,dest,{overwrite,errorOnExist:!0}),removeSync(src)}module2.exports=moveSync}});var require_move_sync2=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/move-sync/index.js"(exports2,module2){"use strict";module2.exports={moveSync:require_move_sync()}}});var require_move=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/move/move.js"(exports2,module2){"use strict";var fs15=require_graceful_fs(),path9=require("path"),copy=require_copy2().copy,remove2=require_remove().remove,mkdirp3=require_mkdirs().mkdirp,pathExists=require_path_exists().pathExists,stat2=require_stat();function move(src,dest,opts,cb){typeof opts=="function"&&(cb=opts,opts={});let overwrite=opts.overwrite||opts.clobber||!1;stat2.checkPaths(src,dest,"move",opts,(err,stats)=>{if(err)return cb(err);let{srcStat,isChangingCase=!1}=stats;stat2.checkParentPaths(src,srcStat,dest,"move",err2=>{if(err2)return cb(err2);if(isParentRoot(dest))return doRename(src,dest,overwrite,isChangingCase,cb);mkdirp3(path9.dirname(dest),err3=>err3?cb(err3):doRename(src,dest,overwrite,isChangingCase,cb))})})}function isParentRoot(dest){let parent=path9.dirname(dest);return path9.parse(parent).root===parent}function doRename(src,dest,overwrite,isChangingCase,cb){if(isChangingCase)return rename2(src,dest,overwrite,cb);if(overwrite)return remove2(dest,err=>err?cb(err):rename2(src,dest,overwrite,cb));pathExists(dest,(err,destExists)=>err?cb(err):destExists?cb(new Error("dest already exists.")):rename2(src,dest,overwrite,cb))}function rename2(src,dest,overwrite,cb){fs15.rename(src,dest,err=>err?err.code!=="EXDEV"?cb(err):moveAcrossDevice(src,dest,overwrite,cb):cb())}function moveAcrossDevice(src,dest,overwrite,cb){copy(src,dest,{overwrite,errorOnExist:!0},err=>err?cb(err):remove2(src,cb))}module2.exports=move}});var require_move2=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/move/index.js"(exports2,module2){"use strict";var u=require_universalify().fromCallback;module2.exports={move:u(require_move())}}});var require_lib=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/index.js"(exports2,module2){"use strict";module2.exports={...require_fs(),...require_copy_sync2(),...require_copy2(),...require_empty(),...require_ensure(),...require_json(),...require_mkdirs(),...require_move_sync2(),...require_move2(),...require_output(),...require_path_exists(),...require_remove()}}});var require_multistream=__commonJS({"../../node_modules/.pnpm/multistream@2.1.1/node_modules/multistream/index.js"(exports2,module2){module2.exports=MultiStream;var inherits=require_inherits(),stream=require_readable();inherits(MultiStream,stream.Readable);function MultiStream(streams,opts){var self2=this;if(!(self2 instanceof MultiStream))return new MultiStream(streams,opts);stream.Readable.call(self2,opts),self2.destroyed=!1,self2._drained=!1,self2._forwarding=!1,self2._current=null,self2._toStreams2=opts&&opts.objectMode?toStreams2Obj:toStreams2Buf,typeof streams=="function"?self2._queue=streams:(self2._queue=streams.map(self2._toStreams2),self2._queue.forEach(function(stream2){typeof stream2!="function"&&self2._attachErrorListener(stream2)})),self2._next()}MultiStream.obj=function(streams){return new MultiStream(streams,{objectMode:!0,highWaterMark:16})};MultiStream.prototype._read=function(){this._drained=!0,this._forward()};MultiStream.prototype._forward=function(){if(!(this._forwarding||!this._drained||!this._current)){this._forwarding=!0;for(var chunk;(chunk=this._current.read())!==null;)this._drained=this.push(chunk);this._forwarding=!1}};MultiStream.prototype.destroy=function(err){this.destroyed||(this.destroyed=!0,this._current&&this._current.destroy&&this._current.destroy(),typeof this._queue!="function"&&this._queue.forEach(function(stream2){stream2.destroy&&stream2.destroy()}),err&&this.emit("error",err),this.emit("close"))};MultiStream.prototype._next=function(){var self2=this;if(self2._current=null,typeof self2._queue=="function")self2._queue(function(err,stream3){if(err)return self2.destroy(err);stream3=self2._toStreams2(stream3),self2._attachErrorListener(stream3),self2._gotNextStream(stream3)});else{var stream2=self2._queue.shift();typeof stream2=="function"&&(stream2=self2._toStreams2(stream2()),self2._attachErrorListener(stream2)),self2._gotNextStream(stream2)}};MultiStream.prototype._gotNextStream=function(stream2){var self2=this;if(!stream2){self2.push(null),self2.destroy();return}self2._current=stream2,self2._forward(),stream2.on("readable",onReadable),stream2.once("end",onEnd),stream2.once("close",onClose);function onReadable(){self2._forward()}function onClose(){stream2._readableState.ended||self2.destroy()}function onEnd(){self2._current=null,stream2.removeListener("readable",onReadable),stream2.removeListener("end",onEnd),stream2.removeListener("close",onClose),self2._next()}};MultiStream.prototype._attachErrorListener=function(stream2){var self2=this;if(!stream2)return;stream2.once("error",onError);function onError(err){stream2.removeListener("error",onError),self2.destroy(err)}};function toStreams2Obj(s){return toStreams2(s,{objectMode:!0,highWaterMark:16})}function toStreams2Buf(s){return toStreams2(s)}function toStreams2(s,opts){if(!s||typeof s=="function"||s._readableState)return s;var wrap=new stream.Readable(opts).wrap(s);return s.destroy&&(wrap.destroy=s.destroy.bind(s)),wrap}}});var require_deque=__commonJS({"../../node_modules/.pnpm/double-ended-queue@2.1.0-0/node_modules/double-ended-queue/js/deque.js"(exports2,module2){"use strict";function Deque(capacity){if(this._capacity=getCapacity(capacity),this._length=0,this._front=0,isArray(capacity)){for(var len=capacity.length,i=0;i<len;++i)this[i]=capacity[i];this._length=len}}Deque.prototype.toArray=function(){for(var len=this._length,ret=new Array(len),front=this._front,capacity=this._capacity,j=0;j<len;++j)ret[j]=this[front+j&capacity-1];return ret};Deque.prototype.push=function(item){var argsLength=arguments.length,length=this._length;if(argsLength>1){var capacity=this._capacity;if(length+argsLength>capacity){for(var i=0;i<argsLength;++i){this._checkCapacity(length+1);var j=this._front+length&this._capacity-1;this[j]=arguments[i],length++,this._length=length}return length}else{for(var j=this._front,i=0;i<argsLength;++i)this[j+length&capacity-1]=arguments[i],j++;return this._length=length+argsLength,length+argsLength}}if(argsLength===0)return length;this._checkCapacity(length+1);var i=this._front+length&this._capacity-1;return this[i]=item,this._length=length+1,length+1};Deque.prototype.pop=function(){var length=this._length;if(length!==0){var i=this._front+length-1&this._capacity-1,ret=this[i];return this[i]=void 0,this._length=length-1,ret}};Deque.prototype.shift=function(){var length=this._length;if(length!==0){var front=this._front,ret=this[front];return this[front]=void 0,this._front=front+1&this._capacity-1,this._length=length-1,ret}};Deque.prototype.unshift=function(item){var length=this._length,argsLength=arguments.length;if(argsLength>1){var capacity=this._capacity;if(length+argsLength>capacity){for(var i=argsLength-1;i>=0;i--){this._checkCapacity(length+1);var capacity=this._capacity,j=(this._front-1&capacity-1^capacity)-capacity;this[j]=arguments[i],length++,this._length=length,this._front=j}return length}else{for(var front=this._front,i=argsLength-1;i>=0;i--){var j=(front-1&capacity-1^capacity)-capacity;this[j]=arguments[i],front=j}return this._front=front,this._length=length+argsLength,length+argsLength}}if(argsLength===0)return length;this._checkCapacity(length+1);var capacity=this._capacity,i=(this._front-1&capacity-1^capacity)-capacity;return this[i]=item,this._length=length+1,this._front=i,length+1};Deque.prototype.peekBack=function(){var length=this._length;if(length!==0){var index=this._front+length-1&this._capacity-1;return this[index]}};Deque.prototype.peekFront=function(){if(this._length!==0)return this[this._front]};Deque.prototype.get=function(index){var i=index;if(i===(i|0)){var len=this._length;if(i<0&&(i=i+len),!(i<0||i>=len))return this[this._front+i&this._capacity-1]}};Deque.prototype.isEmpty=function(){return this._length===0};Deque.prototype.clear=function(){for(var len=this._length,front=this._front,capacity=this._capacity,j=0;j<len;++j)this[front+j&capacity-1]=void 0;this._length=0,this._front=0};Deque.prototype.toString=function(){return this.toArray().toString()};Deque.prototype.valueOf=Deque.prototype.toString;Deque.prototype.removeFront=Deque.prototype.shift;Deque.prototype.removeBack=Deque.prototype.pop;Deque.prototype.insertFront=Deque.prototype.unshift;Deque.prototype.insertBack=Deque.prototype.push;Deque.prototype.enqueue=Deque.prototype.push;Deque.prototype.dequeue=Deque.prototype.shift;Deque.prototype.toJSON=Deque.prototype.toArray;Object.defineProperty(Deque.prototype,"length",{get:function(){return this._length},set:function(){throw new RangeError("")}});Deque.prototype._checkCapacity=function(size){this._capacity<size&&this._resizeTo(getCapacity(this._capacity*1.5+16))};Deque.prototype._resizeTo=function(capacity){var oldCapacity=this._capacity;this._capacity=capacity;var front=this._front,length=this._length;if(front+length>oldCapacity){var moveItemsCount=front+length&oldCapacity-1;arrayMove(this,0,this,oldCapacity,moveItemsCount)}};var isArray=Array.isArray;function arrayMove(src,srcIndex,dst,dstIndex,len){for(var j=0;j<len;++j)dst[j+dstIndex]=src[j+srcIndex],src[j+srcIndex]=void 0}function pow2AtLeast(n){return n=n>>>0,n=n-1,n=n|n>>1,n=n|n>>2,n=n|n>>4,n=n|n>>8,n=n|n>>16,n+1}function getCapacity(capacity){if(typeof capacity!="number")if(isArray(capacity))capacity=capacity.length;else return 16;return pow2AtLeast(Math.min(Math.max(16,capacity),1073741824))}module2.exports=Deque}});var require_async_sema=__commonJS({"../../node_modules/.pnpm/async-sema@2.1.4/node_modules/async-sema/index.js"(exports2,module2){var EventEmitter=require("events"),util=require("util"),Deque=require_deque(),ReleaseEmitter=class extends EventEmitter{};function isFn(x){return typeof x=="function"}function defaultInit(){return"1"}var Sema5=class{constructor(nr,{initFn=defaultInit,pauseFn,resumeFn,capacity=10}={}){if(isFn(pauseFn)^isFn(resumeFn))throw new Error("pauseFn and resumeFn must be both set for pausing");this.nrTokens=nr,this.free=new Deque(nr),this.waiting=new Deque(capacity),this.releaseEmitter=new ReleaseEmitter,this.noTokens=initFn===defaultInit,this.pauseFn=pauseFn,this.resumeFn=resumeFn,this.releaseEmitter.on("release",token=>{let p=this.waiting.shift();p?p.resolve(token):(this.resumeFn&&this.paused&&(this.paused=!1,this.resumeFn()),this.free.push(token))});for(let i=0;i<nr;i++)this.free.push(initFn())}async acquire(){let token=this.free.pop();return token||new Promise((resolve4,reject)=>{this.pauseFn&&!this.paused&&(this.paused=!0,this.pauseFn()),this.waiting.push({resolve:resolve4,reject})})}async v(){return this.acquire()}release(token){this.releaseEmitter.emit("release",this.noTokens?"1":token)}p(token){return this.release(token)}drain(){let a=new Array(this.nrTokens);for(let i=0;i<this.nrTokens;i++)a[i]=this.acquire();return Promise.all(a)}nrWaiting(){return this.waiting.length}};Sema5.prototype.v=util.deprecate(Sema5.prototype.v,"`v()` is deperecated; use `acquire()` instead");Sema5.prototype.p=util.deprecate(Sema5.prototype.p,"`p()` is deprecated; use `release()` instead");module2.exports=Sema5}});var file_fs_ref_exports={};__export(file_fs_ref_exports,{default:()=>file_fs_ref_default});var import_assert2,import_fs_extra,import_multistream,import_path,import_async_sema,semaToPreventEMFILE,FileFsRef,file_fs_ref_default,init_file_fs_ref=__esm({"src/file-fs-ref.ts"(){"use strict";import_assert2=__toESM(require("assert")),import_fs_extra=__toESM(require_lib()),import_multistream=__toESM(require_multistream()),import_path=__toESM(require("path")),import_async_sema=__toESM(require_async_sema()),semaToPreventEMFILE=new import_async_sema.default(20),FileFsRef=class _FileFsRef{constructor({mode=33188,contentType,fsPath,size}){(0,import_assert2.default)(typeof mode=="number"),(0,import_assert2.default)(typeof fsPath=="string"),this.type="FileFsRef",this.mode=mode,this.contentType=contentType,this.fsPath=fsPath,this.size=size}static async fromFsPath({mode,contentType,fsPath,size}){let m=mode,s=size;if(!m||typeof s>"u"){let stat2=await import_fs_extra.default.lstat(fsPath);m=stat2.mode,s=stat2.size}return new _FileFsRef({mode:m,contentType,fsPath,size:s})}static async fromStream({mode=33188,contentType,stream,fsPath}){return(0,import_assert2.default)(typeof mode=="number"),(0,import_assert2.default)(typeof stream.pipe=="function"),(0,import_assert2.default)(typeof fsPath=="string"),await import_fs_extra.default.mkdirp(import_path.default.dirname(fsPath)),await new Promise((resolve4,reject)=>{let dest=import_fs_extra.default.createWriteStream(fsPath,{mode:mode&511});stream.pipe(dest),stream.on("error",reject),dest.on("finish",resolve4),dest.on("error",reject)}),_FileFsRef.fromFsPath({mode,contentType,fsPath})}async toStreamAsync(){await semaToPreventEMFILE.acquire();let release=()=>semaToPreventEMFILE.release(),stream=import_fs_extra.default.createReadStream(this.fsPath);return stream.on("close",release),stream.on("error",release),stream}toStream(){let flag=!1;return(0,import_multistream.default)(cb=>{if(flag)return cb(null,null);flag=!0,this.toStreamAsync().then(stream=>{cb(null,stream)}).catch(error=>{cb(error,null)})})}},file_fs_ref_default=FileFsRef}});var require_retry_operation=__commonJS({"../../node_modules/.pnpm/retry@0.12.0/node_modules/retry/lib/retry_operation.js"(exports2,module2){function RetryOperation(timeouts,options){typeof options=="boolean"&&(options={forever:options}),this._originalTimeouts=JSON.parse(JSON.stringify(timeouts)),this._timeouts=timeouts,this._options=options||{},this._maxRetryTime=options&&options.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}module2.exports=RetryOperation;RetryOperation.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts};RetryOperation.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timeouts=[],this._cachedTimeouts=null};RetryOperation.prototype.retry=function(err){if(this._timeout&&clearTimeout(this._timeout),!err)return!1;var currentTime=new Date().getTime();if(err&¤tTime-this._operationStart>=this._maxRetryTime)return this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(err);var timeout=this._timeouts.shift();if(timeout===void 0)if(this._cachedTimeouts)this._errors.splice(this._errors.length-1,this._errors.length),this._timeouts=this._cachedTimeouts.slice(0),timeout=this._timeouts.shift();else return!1;var self2=this,timer=setTimeout(function(){self2._attempts++,self2._operationTimeoutCb&&(self2._timeout=setTimeout(function(){self2._operationTimeoutCb(self2._attempts)},self2._operationTimeout),self2._options.unref&&self2._timeout.unref()),self2._fn(self2._attempts)},timeout);return this._options.unref&&timer.unref(),!0};RetryOperation.prototype.attempt=function(fn,timeoutOps){this._fn=fn,timeoutOps&&(timeoutOps.timeout&&(this._operationTimeout=timeoutOps.timeout),timeoutOps.cb&&(this._operationTimeoutCb=timeoutOps.cb));var self2=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){self2._operationTimeoutCb()},self2._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)};RetryOperation.prototype.try=function(fn){console.log("Using RetryOperation.try() is deprecated"),this.attempt(fn)};RetryOperation.prototype.start=function(fn){console.log("Using RetryOperation.start() is deprecated"),this.attempt(fn)};RetryOperation.prototype.start=RetryOperation.prototype.try;RetryOperation.prototype.errors=function(){return this._errors};RetryOperation.prototype.attempts=function(){return this._attempts};RetryOperation.prototype.mainError=function(){if(this._errors.length===0)return null;for(var counts={},mainError=null,mainErrorCount=0,i=0;i<this._errors.length;i++){var error=this._errors[i],message=error.message,count=(counts[message]||0)+1;counts[message]=count,count>=mainErrorCount&&(mainError=error,mainErrorCount=count)}return mainError}}});var require_retry=__commonJS({"../../node_modules/.pnpm/retry@0.12.0/node_modules/retry/lib/retry.js"(exports2){var RetryOperation=require_retry_operation();exports2.operation=function(options){var timeouts=exports2.timeouts(options);return new RetryOperation(timeouts,{forever:options&&options.forever,unref:options&&options.unref,maxRetryTime:options&&options.maxRetryTime})};exports2.timeouts=function(options){if(options instanceof Array)return[].concat(options);var opts={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var key in options)opts[key]=options[key];if(opts.minTimeout>opts.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var timeouts=[],i=0;i<opts.retries;i++)timeouts.push(this.createTimeout(i,opts));return options&&options.forever&&!timeouts.length&&timeouts.push(this.createTimeout(i,opts)),timeouts.sort(function(a,b){return a-b}),timeouts};exports2.createTimeout=function(attempt,opts){var random=opts.randomize?Math.random()+1:1,timeout=Math.round(random*opts.minTimeout*Math.pow(opts.factor,attempt));return timeout=Math.min(timeout,opts.maxTimeout),timeout};exports2.wrap=function(obj,options,methods){if(options instanceof Array&&(methods=options,options=null),!methods){methods=[];for(var key in obj)typeof obj[key]=="function"&&methods.push(key)}for(var i=0;i<methods.length;i++){var method=methods[i],original=obj[method];obj[method]=function(original2){var op=exports2.operation(options),args=Array.prototype.slice.call(arguments,1),callback=args.pop();args.push(function(err){op.retry(err)||(err&&(arguments[0]=op.mainError()),callback.apply(this,arguments))}),op.attempt(function(){original2.apply(obj,args)})}.bind(obj,original),obj[method].options=options}}}});var require_retry2=__commonJS({"../../node_modules/.pnpm/retry@0.12.0/node_modules/retry/index.js"(exports2,module2){module2.exports=require_retry()}});var require_lib2=__commonJS({"../../node_modules/.pnpm/async-retry@1.2.3/node_modules/async-retry/lib/index.js"(exports2,module2){var retrier=require_retry2();function retry2(fn,opts){function run(resolve4,reject){var options=opts||{},op=retrier.operation(options);function bail(err){reject(err||new Error("Aborted"))}function onError(err,num){if(err.bail){bail(err);return}op.retry(err)?options.onRetry&&options.onRetry(err,num):reject(op.mainError())}function runAttempt(num){var val;try{val=fn(bail,num)}catch(err){onError(err,num);return}Promise.resolve(val).then(resolve4).catch(function(err){onError(err,num)})}op.attempt(runAttempt)}return new Promise(run)}module2.exports=retry2}});var file_ref_exports={};__export(file_ref_exports,{default:()=>FileRef});function getEnvAsUrlOrThrow(key){let value=process.env[key];if(value!==void 0)try{return new URL(value),value}catch(e){throw e instanceof TypeError&&"code"in e&&e.code==="ERR_INVALID_URL"?new Error(`A non-URL value was supplied to the ${key} environment variable`):e}}var import_assert3,import_stream,import_multistream2,import_async_retry,import_async_sema2,semaToDownloadFromS3,BailableError,FileRef,init_file_ref=__esm({"src/file-ref.ts"(){"use strict";import_assert3=__toESM(require("assert")),import_stream=require("stream"),import_multistream2=__toESM(require_multistream()),import_async_retry=__toESM(require_lib2()),import_async_sema2=__toESM(require_async_sema()),semaToDownloadFromS3=new import_async_sema2.default(5),BailableError=class extends Error{constructor(...args){super(...args);this.bail=!1}},FileRef=class{constructor({mode=33188,digest,contentType,mutable=!1}){(0,import_assert3.default)(typeof mode=="number"),(0,import_assert3.default)(typeof digest=="string"),this.type="FileRef",this.mode=mode,this.digest=digest,this.contentType=contentType,this.mutable=mutable}getNowFilesCloudfrontUrl(){return getEnvAsUrlOrThrow("NOW_FILES_CLOUDFRONT_URL")||"https://dmmcy0pwk6bqi.cloudfront.net"}getNowEphemeralFilesS3Url(){return getEnvAsUrlOrThrow("NOW_EPHEMERAL_FILES_S3_URL")||"https://now-ephemeral-files.s3.amazonaws.com"}getNowFilesS3Url(){return getEnvAsUrlOrThrow("NOW_FILES_S3_URL")||"https://now-files.s3.amazonaws.com"}async toStreamAsync(){let url="",[digestType,digestHash]=this.digest.split(":");if(digestType==="sha")url=this.mutable?`${this.getNowFilesS3Url()}/${digestHash}`:`${this.getNowFilesCloudfrontUrl()}/${digestHash}`;else if(digestType==="sha+ephemeral")url=`${this.getNowEphemeralFilesS3Url()}/${digestHash}`;else throw new Error("Expected digest to be sha");await semaToDownloadFromS3.acquire();try{return await(0,import_async_retry.default)(async()=>{let resp=await fetch(url);if(!resp.ok||!resp.body){let error=new BailableError(`download: ${resp.status} ${resp.statusText} for ${url}`);throw resp.status===403&&(error.bail=!0),await resp.body?.cancel().catch(()=>{}),error}return import_stream.Readable.fromWeb(resp.body)},{factor:1,retries:3})}finally{semaToDownloadFromS3.release()}}toStream(){let flag=!1;return(0,import_multistream2.default)(cb=>{if(flag)return cb(null,null);flag=!0,this.toStreamAsync().then(stream=>{cb(null,stream)}).catch(error=>{cb(error,null)})})}}}});function validateMaxConcurrency(value){value!==void 0&&(0,import_assert4.default)(Number.isInteger(value)&&value>=1&&value<=MAX_CONCURRENCY,'"maxConcurrency" must be an integer from 1 to 8192')}var import_assert4,MAX_CONCURRENCY,init_max_concurrency=__esm({"src/max-concurrency.ts"(){"use strict";import_assert4=__toESM(require("assert")),MAX_CONCURRENCY=8192}});var require_buffer_crc32=__commonJS({"../../node_modules/.pnpm/buffer-crc32@0.2.13/node_modules/buffer-crc32/index.js"(exports2,module2){var Buffer2=require("buffer").Buffer,CRC_TABLE=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];typeof Int32Array<"u"&&(CRC_TABLE=new Int32Array(CRC_TABLE));function ensureBuffer(input){if(Buffer2.isBuffer(input))return input;var hasNewBufferAPI=typeof Buffer2.alloc=="function"&&typeof Buffer2.from=="function";if(typeof input=="number")return hasNewBufferAPI?Buffer2.alloc(input):new Buffer2(input);if(typeof input=="string")return hasNewBufferAPI?Buffer2.from(input):new Buffer2(input);throw new Error("input must be buffer, number, or string, received "+typeof input)}function bufferizeInt(num){var tmp=ensureBuffer(4);return tmp.writeInt32BE(num,0),tmp}function _crc32(buf,previous){buf=ensureBuffer(buf),Buffer2.isBuffer(previous)&&(previous=previous.readUInt32BE(0));for(var crc=~~previous^-1,n=0;n<buf.length;n++)crc=CRC_TABLE[(crc^buf[n])&255]^crc>>>8;return crc^-1}function crc32(){return bufferizeInt(_crc32.apply(null,arguments))}crc32.signed=function(){return _crc32.apply(null,arguments)};crc32.unsigned=function(){return _crc32.apply(null,arguments)>>>0};module2.exports=crc32}});var require_yazl=__commonJS({"../../node_modules/.pnpm/yazl@2.5.1/node_modules/yazl/index.js"(exports2){var fs15=require("fs"),Transform=require("stream").Transform,PassThrough=require("stream").PassThrough,zlib=require("zlib"),util=require("util"),EventEmitter=require("events").EventEmitter,crc32=require_buffer_crc32();exports2.ZipFile=ZipFile2;exports2.dateToDosDateTime=dateToDosDateTime;util.inherits(ZipFile2,EventEmitter);function ZipFile2(){this.outputStream=new PassThrough,this.entries=[],this.outputStreamCursor=0,this.ended=!1,this.allDone=!1,this.forceZip64Eocd=!1}ZipFile2.prototype.addFile=function(realPath,metadataPath,options){var self2=this;metadataPath=validateMetadataPath(metadataPath,!1),options==null&&(options={});var entry=new Entry(metadataPath,!1,options);self2.entries.push(entry),fs15.stat(realPath,function(err,stats){if(err)return self2.emit("error",err);if(!stats.isFile())return self2.emit("error",new Error("not a file: "+realPath));entry.uncompressedSize=stats.size,options.mtime==null&&entry.setLastModDate(stats.mtime),options.mode==null&&entry.setFileAttributesMode(stats.mode),entry.setFileDataPumpFunction(function(){var readStream=fs15.createReadStream(realPath);entry.state=Entry.FILE_DATA_IN_PROGRESS,readStream.on("error",function(err2){self2.emit("error",err2)}),pumpFileDataReadStream(self2,entry,readStream)}),pumpEntries(self2)})};ZipFile2.prototype.addReadStream=function(readStream,metadataPath,options){var self2=this;metadataPath=validateMetadataPath(metadataPath,!1),options==null&&(options={});var entry=new Entry(metadataPath,!1,options);self2.entries.push(entry),entry.setFileDataPumpFunction(function(){entry.state=Entry.FILE_DATA_IN_PROGRESS,pumpFileDataReadStream(self2,entry,readStream)}),pumpEntries(self2)};ZipFile2.prototype.addBuffer=function(buffer,metadataPath,options){var self2=this;if(metadataPath=validateMetadataPath(metadataPath,!1),buffer.length>1073741823)throw new Error("buffer too large: "+buffer.length+" > 1073741823");if(options==null&&(options={}),options.size!=null)throw new Error("options.size not allowed");var entry=new Entry(metadataPath,!1,options);entry.uncompressedSize=buffer.length,entry.crc32=crc32.unsigned(buffer),entry.crcAndFileSizeKnown=!0,self2.entries.push(entry),entry.compress?zlib.deflateRaw(buffer,function(err,compressedBuffer){setCompressedBuffer(compressedBuffer)}):setCompressedBuffer(buffer);function setCompressedBuffer(compressedBuffer){entry.compressedSize=compressedBuffer.length,entry.setFileDataPumpFunction(function(){writeToOutputStream(self2,compressedBuffer),writeToOutputStream(self2,entry.getDataDescriptor()),entry.state=Entry.FILE_DATA_DONE,setImmediate(function(){pumpEntries(self2)})}),pumpEntries(self2)}};ZipFile2.prototype.addEmptyDirectory=function(metadataPath,options){var self2=this;if(metadataPath=validateMetadataPath(metadataPath,!0),options==null&&(options={}),options.size!=null)throw new Error("options.size not allowed");if(options.compress!=null)throw new Error("options.compress not allowed");var entry=new Entry(metadataPath,!0,options);self2.entries.push(entry),entry.setFileDataPumpFunction(function(){writeToOutputStream(self2,entry.getDataDescriptor()),entry.state=Entry.FILE_DATA_DONE,pumpEntries(self2)}),pumpEntries(self2)};var eocdrSignatureBuffer=bufferFrom([80,75,5,6]);ZipFile2.prototype.end=function(options,finalSizeCallback){if(typeof options=="function"&&(finalSizeCallback=options,options=null),options==null&&(options={}),!this.ended){if(this.ended=!0,this.finalSizeCallback=finalSizeCallback,this.forceZip64Eocd=!!options.forceZip64Format,options.comment){if(typeof options.comment=="string"?this.comment=encodeCp437(options.comment):this.comment=options.comment,this.comment.length>65535)throw new Error("comment is too large");if(bufferIncludes(this.comment,eocdrSignatureBuffer))throw new Error("comment contains end of central directory record signature")}else this.comment=EMPTY_BUFFER;pumpEntries(this)}};function writeToOutputStream(self2,buffer){self2.outputStream.write(buffer),self2.outputStreamCursor+=buffer.length}function pumpFileDataReadStream(self2,entry,readStream){var crc32Watcher=new Crc32Watcher,uncompressedSizeCounter=new ByteCounter,compressor=entry.compress?new zlib.DeflateRaw:new PassThrough,compressedSizeCounter=new ByteCounter;readStream.pipe(crc32Watcher).pipe(uncompressedSizeCounter).pipe(compressor).pipe(compressedSizeCounter).pipe(self2.outputStream,{end:!1}),compressedSizeCounter.on("end",function(){if(entry.crc32=crc32Watcher.crc32,entry.uncompressedSize==null)entry.uncompressedSize=uncompressedSizeCounter.byteCount;else if(entry.uncompressedSize!==uncompressedSizeCounter.byteCount)return self2.emit("error",new Error("file data stream has unexpected number of bytes"));entry.compressedSize=compressedSizeCounter.byteCount,self2.outputStreamCursor+=entry.compressedSize,writeToOutputStream(self2,entry.getDataDescriptor()),entry.state=Entry.FILE_DATA_DONE,pumpEntries(self2)})}function pumpEntries(self2){if(self2.allDone)return;if(self2.ended&&self2.finalSizeCallback!=null){var finalSize=calculateFinalSize(self2);finalSize!=null&&(self2.finalSizeCallback(finalSize),self2.finalSizeCallback=null)}var entry=getFirstNotDoneEntry();function getFirstNotDoneEntry(){for(var i=0;i<self2.entries.length;i++){var entry2=self2.entries[i];if(entry2.state<Entry.FILE_DATA_DONE)return entry2}return null}if(entry!=null){if(entry.state<Entry.READY_TO_PUMP_FILE_DATA||entry.state===Entry.FILE_DATA_IN_PROGRESS)return;entry.relativeOffsetOfLocalHeader=self2.outputStreamCursor;var localFileHeader=entry.getLocalFileHeader();writeToOutputStream(self2,localFileHeader),entry.doFileDataPump()}else self2.ended&&(self2.offsetOfStartOfCentralDirectory=self2.outputStreamCursor,self2.entries.forEach(function(entry2){var centralDirectoryRecord=entry2.getCentralDirectoryRecord();writeToOutputStream(self2,centralDirectoryRecord)}),writeToOutputStream(self2,getEndOfCentralDirectoryRecord(self2)),self2.outputStream.end(),self2.allDone=!0)}function calculateFinalSize(self2){for(var pretendOutputCursor=0,centralDirectorySize=0,i=0;i<self2.entries.length;i++){var entry=self2.entries[i];if(entry.compress)return-1;if(entry.state>=Entry.READY_TO_PUMP_FILE_DATA){if(entry.uncompressedSize==null)return-1}else if(entry.uncompressedSize==null)return null;entry.relativeOffsetOfLocalHeader=pretendOutputCursor;var useZip64Format=entry.useZip64Format();pretendOutputCursor+=LOCAL_FILE_HEADER_FIXED_SIZE+entry.utf8FileName.length,pretendOutputCursor+=entry.uncompressedSize,entry.crcAndFileSizeKnown||(useZip64Format?pretendOutputCursor+=ZIP64_DATA_DESCRIPTOR_SIZE:pretendOutputCursor+=DATA_DESCRIPTOR_SIZE),centralDirectorySize+=CENTRAL_DIRECTORY_RECORD_FIXED_SIZE+entry.utf8FileName.length+entry.fileComment.length,useZip64Format&&(centralDirectorySize+=ZIP64_EXTENDED_INFORMATION_EXTRA_FIELD_SIZE)}var endOfCentralDirectorySize=0;return(self2.forceZip64Eocd||self2.entries.length>=65535||centralDirectorySize>=65535||pretendOutputCursor>=4294967295)&&(endOfCentralDirectorySize+=ZIP64_END_OF_CENTRAL_DIRECTORY_RECORD_SIZE+ZIP64_END_OF_CENTRAL_DIRECTORY_LOCATOR_SIZE),endOfCentralDirectorySize+=END_OF_CENTRAL_DIRECTORY_RECORD_SIZE+self2.comment.length,pretendOutputCursor+centralDirectorySize+endOfCentralDirectorySize}var ZIP64_END_OF_CENTRAL_DIRECTORY_RECORD_SIZE=56,ZIP64_END_OF_CENTRAL_DIRECTORY_LOCATOR_SIZE=20,END_OF_CENTRAL_DIRECTORY_RECORD_SIZE=22;function getEndOfCentralDirectoryRecord(self2,actuallyJustTellMeHowLongItWouldBe){var needZip64Format=!1,normalEntriesLength=self2.entries.length;(self2.forceZip64Eocd||self2.entries.length>=65535)&&(normalEntriesLength=65535,needZip64Format=!0);var sizeOfCentralDirectory=self2.outputStreamCursor-self2.offsetOfStartOfCentralDirectory,normalSizeOfCentralDirectory=sizeOfCentralDirectory;(self2.forceZip64Eocd||sizeOfCentralDirectory>=4294967295)&&(normalSizeOfCentralDirectory=4294967295,needZip64Format=!0);var normalOffsetOfStartOfCentralDirectory=self2.offsetOfStartOfCentralDirectory;if((self2.forceZip64Eocd||self2.offsetOfStartOfCentralDirectory>=4294967295)&&(normalOffsetOfStartOfCentralDirectory=4294967295,needZip64Format=!0),actuallyJustTellMeHowLongItWouldBe)return needZip64Format?ZIP64_END_OF_CENTRAL_DIRECTORY_RECORD_SIZE+ZIP64_END_OF_CENTRAL_DIRECTORY_LOCATOR_SIZE+END_OF_CENTRAL_DIRECTORY_RECORD_SIZE:END_OF_CENTRAL_DIRECTORY_RECORD_SIZE;var eocdrBuffer=bufferAlloc(END_OF_CENTRAL_DIRECTORY_RECORD_SIZE+self2.comment.length);if(eocdrBuffer.writeUInt32LE(101010256,0),eocdrBuffer.writeUInt16LE(0,4),eocdrBuffer.writeUInt16LE(0,6),eocdrBuffer.writeUInt16LE(normalEntriesLength,8),eocdrBuffer.writeUInt16LE(normalEntriesLength,10),eocdrBuffer.writeUInt32LE(normalSizeOfCentralDirectory,12),eocdrBuffer.writeUInt32LE(normalOffsetOfStartOfCentralDirectory,16),eocdrBuffer.writeUInt16LE(self2.comment.length,20),self2.comment.copy(eocdrBuffer,22),!needZip64Format)return eocdrBuffer;var zip64EocdrBuffer=bufferAlloc(ZIP64_END_OF_CENTRAL_DIRECTORY_RECORD_SIZE);zip64EocdrBuffer.writeUInt32LE(101075792,0),writeUInt64LE(zip64EocdrBuffer,ZIP64_END_OF_CENTRAL_DIRECTORY_RECORD_SIZE-12,4),zip64EocdrBuffer.writeUInt16LE(VERSION_MADE_BY,12),zip64EocdrBuffer.writeUInt16LE(VERSION_NEEDED_TO_EXTRACT_ZIP64,14),zip64EocdrBuffer.writeUInt32LE(0,16),zip64EocdrBuffer.writeUInt32LE(0,20),writeUInt64LE(zip64EocdrBuffer,self2.entries.length,24),writeUInt64LE(zip64EocdrBuffer,self2.entries.length,32),writeUInt64LE(zip64EocdrBuffer,sizeOfCentralDirectory,40),writeUInt64LE(zip64EocdrBuffer,self2.offsetOfStartOfCentralDirectory,48);var zip64EocdlBuffer=bufferAlloc(ZIP64_END_OF_CENTRAL_DIRECTORY_LOCATOR_SIZE);return zip64EocdlBuffer.writeUInt32LE(117853008,0),zip64EocdlBuffer.writeUInt32LE(0,4),writeUInt64LE(zip64EocdlBuffer,self2.outputStreamCursor,8),zip64EocdlBuffer.writeUInt32LE(1,16),Buffer.concat([zip64EocdrBuffer,zip64EocdlBuffer,eocdrBuffer])}function validateMetadataPath(metadataPath,isDirectory2){if(metadataPath==="")throw new Error("empty metadataPath");if(metadataPath=metadataPath.replace(/\\/g,"/"),/^[a-zA-Z]:/.test(metadataPath)||/^\//.test(metadataPath))throw new Error("absolute path: "+metadataPath);if(metadataPath.split("/").indexOf("..")!==-1)throw new Error("invalid relative path: "+metadataPath);var looksLikeDirectory=/\/$/.test(metadataPath);if(isDirectory2)looksLikeDirectory||(metadataPath+="/");else if(looksLikeDirectory)throw new Error("file path cannot end with '/': "+metadataPath);return metadataPath}var EMPTY_BUFFER=bufferAlloc(0);function Entry(metadataPath,isDirectory2,options){if(this.utf8FileName=bufferFrom(metadataPath),this.utf8FileName.length>65535)throw new Error("utf8 file name too long. "+utf8FileName.length+" > 65535");if(this.isDirectory=isDirectory2,this.state=Entry.WAITING_FOR_METADATA,this.setLastModDate(options.mtime!=null?options.mtime:new Date),options.mode!=null?this.setFileAttributesMode(options.mode):this.setFileAttributesMode(isDirectory2?16893:33204),isDirectory2?(this.crcAndFileSizeKnown=!0,this.crc32=0,this.uncompressedSize=0,this.compressedSize=0):(this.crcAndFileSizeKnown=!1,this.crc32=null,this.uncompressedSize=null,this.compressedSize=null,options.size!=null&&(this.uncompressedSize=options.size)),isDirectory2?this.compress=!1:(this.compress=!0,options.compress!=null&&(this.compress=!!options.compress)),this.forceZip64Format=!!options.forceZip64Format,options.fileComment){if(typeof options.fileComment=="string"?this.fileComment=bufferFrom(options.fileComment,"utf-8"):this.fileComment=options.fileComment,this.fileComment.length>65535)throw new Error("fileComment is too large")}else this.fileComment=EMPTY_BUFFER}Entry.WAITING_FOR_METADATA=0;Entry.READY_TO_PUMP_FILE_DATA=1;Entry.FILE_DATA_IN_PROGRESS=2;Entry.FILE_DATA_DONE=3;Entry.prototype.setLastModDate=function(date){var dosDateTime=dateToDosDateTime(date);this.lastModFileTime=dosDateTime.time,this.lastModFileDate=dosDateTime.date};Entry.prototype.setFileAttributesMode=function(mode){if((mode&65535)!==mode)throw new Error("invalid mode. expected: 0 <= "+mode+" <= 65535");this.externalFileAttributes=mode<<16>>>0};Entry.prototype.setFileDataPumpFunction=function(doFileDataPump){this.doFileDataPump=doFileDataPump,this.state=Entry.READY_TO_PUMP_FILE_DATA};Entry.prototype.useZip64Format=function(){return this.forceZip64Format||this.uncompressedSize!=null&&this.uncompressedSize>4294967294||this.compressedSize!=null&&this.compressedSize>4294967294||this.relativeOffsetOfLocalHeader!=null&&this.relativeOffsetOfLocalHeader>4294967294};var LOCAL_FILE_HEADER_FIXED_SIZE=30,VERSION_NEEDED_TO_EXTRACT_UTF8=20,VERSION_NEEDED_TO_EXTRACT_ZIP64=45,VERSION_MADE_BY=831,FILE_NAME_IS_UTF8=2048,UNKNOWN_CRC32_AND_FILE_SIZES=8;Entry.prototype.getLocalFileHeader=function(){var crc322=0,compressedSize=0,uncompressedSize=0;this.crcAndFileSizeKnown&&(crc322=this.crc32,compressedSize=this.compressedSize,uncompressedSize=this.uncompressedSize);var fixedSizeStuff=bufferAlloc(LOCAL_FILE_HEADER_FIXED_SIZE),generalPurposeBitFlag=FILE_NAME_IS_UTF8;return this.crcAndFileSizeKnown||(generalPurposeBitFlag|=UNKNOWN_CRC32_AND_FILE_SIZES),fixedSizeStuff.writeUInt32LE(67324752,0),fixedSizeStuff.writeUInt16LE(VERSION_NEEDED_TO_EXTRACT_UTF8,4),fixedSizeStuff.writeUInt16LE(generalPurposeBitFlag,6),fixedSizeStuff.writeUInt16LE(this.getCompressionMethod(),8),fixedSizeStuff.writeUInt16LE(this.lastModFileTime,10),fixedSizeStuff.writeUInt16LE(this.lastModFileDate,12),fixedSizeStuff.writeUInt32LE(crc322,14),fixedSizeStuff.writeUInt32LE(compressedSize,18),fixedSizeStuff.writeUInt32LE(uncompressedSize,22),fixedSizeStuff.writeUInt16LE(this.utf8FileName.length,26),fixedSizeStuff.writeUInt16LE(0,28),Buffer.concat([fixedSizeStuff,this.utf8FileName])};var DATA_DESCRIPTOR_SIZE=16,ZIP64_DATA_DESCRIPTOR_SIZE=24;Entry.prototype.getDataDescriptor=function(){if(this.crcAndFileSizeKnown)return EMPTY_BUFFER;if(this.useZip64Format()){var buffer=bufferAlloc(ZIP64_DATA_DESCRIPTOR_SIZE);return buffer.writeUInt32LE(134695760,0),buffer.writeUInt32LE(this.crc32,4),writeUInt64LE(buffer,this.compressedSize,8),writeUInt64LE(buffer,this.uncompressedSize,16),buffer}else{var buffer=bufferAlloc(DATA_DESCRIPTOR_SIZE);return buffer.writeUInt32LE(134695760,0),buffer.writeUInt32LE(this.crc32,4),buffer.writeUInt32LE(this.compressedSize,8),buffer.writeUInt32LE(this.uncompressedSize,12),buffer}};var CENTRAL_DIRECTORY_RECORD_FIXED_SIZE=46,ZIP64_EXTENDED_INFORMATION_EXTRA_FIELD_SIZE=28;Entry.prototype.getCentralDirectoryRecord=function(){var fixedSizeStuff=bufferAlloc(CENTRAL_DIRECTORY_RECORD_FIXED_SIZE),generalPurposeBitFlag=FILE_NAME_IS_UTF8;this.crcAndFileSizeKnown||(generalPurposeBitFlag|=UNKNOWN_CRC32_AND_FILE_SIZES);var normalCompressedSize=this.compressedSize,normalUncompressedSize=this.uncompressedSize,normalRelativeOffsetOfLocalHeader=this.relativeOffsetOfLocalHeader,versionNeededToExtract,zeiefBuffer;return this.useZip64Format()?(normalCompressedSize=4294967295,normalUncompressedSize=4294967295,normalRelativeOffsetOfLocalHeader=4294967295,versionNeededToExtract=VERSION_NEEDED_TO_EXTRACT_ZIP64,zeiefBuffer=bufferAlloc(ZIP64_EXTENDED_INFORMATION_EXTRA_FIELD_SIZE),zeiefBuffer.writeUInt16LE(1,0),zeiefBuffer.writeUInt16LE(ZIP64_EXTENDED_INFORMATION_EXTRA_FIELD_SIZE-4,2),writeUInt64LE(zeiefBuffer,this.uncompressedSize,4),writeUInt64LE(zeiefBuffer,this.compressedSize,12),writeUInt64LE(zeiefBuffer,this.relativeOffsetOfLocalHeader,20)):(versionNeededToExtract=VERSION_NEEDED_TO_EXTRACT_UTF8,zeiefBuffer=EMPTY_BUFFER),fixedSizeStuff.writeUInt32LE(33639248,0),fixedSizeStuff.writeUInt16LE(VERSION_MADE_BY,4),fixedSizeStuff.writeUInt16LE(versionNeededToExtract,6),fixedSizeStuff.writeUInt16LE(generalPurposeBitFlag,8),fixedSizeStuff.writeUInt16LE(this.getCompressionMethod(),10),fixedSizeStuff.writeUInt16LE(this.lastModFileTime,12),fixedSizeStuff.writeUInt16LE(this.lastModFileDate,14),fixedSizeStuff.writeUInt32LE(this.crc32,16),fixedSizeStuff.writeUInt32LE(normalCompressedSize,20),fixedSizeStuff.writeUInt32LE(normalUncompressedSize,24),fixedSizeStuff.writeUInt16LE(this.utf8FileName.length,28),fixedSizeStuff.writeUInt16LE(zeiefBuffer.length,30),fixedSizeStuff.writeUInt16LE(this.fileComment.length,32),fixedSizeStuff.writeUInt16LE(0,34),fixedSizeStuff.writeUInt16LE(0,36),fixedSizeStuff.writeUInt32LE(this.externalFileAttributes,38),fixedSizeStuff.writeUInt32LE(normalRelativeOffsetOfLocalHeader,42),Buffer.concat([fixedSizeStuff,this.utf8FileName,zeiefBuffer,this.fileComment])};Entry.prototype.getCompressionMethod=function(){var NO_COMPRESSION=0,DEFLATE_COMPRESSION=8;return this.compress?DEFLATE_COMPRESSION:NO_COMPRESSION};function dateToDosDateTime(jsDate){var date=0;date|=jsDate.getDate()&31,date|=(jsDate.getMonth()+1&15)<<5,date|=(jsDate.getFullYear()-1980&127)<<9;var time=0;return time|=Math.floor(jsDate.getSeconds()/2),time|=(jsDate.getMinutes()&63)<<5,time|=(jsDate.getHours()&31)<<11,{date,time}}function writeUInt64LE(buffer,n,offset){var high=Math.floor(n/4294967296),low=n%4294967296;buffer.writeUInt32LE(low,offset),buffer.writeUInt32LE(high,offset+4)}util.inherits(ByteCounter,Transform);function ByteCounter(options){Transform.call(this,options),this.byteCount=0}ByteCounter.prototype._transform=function(chunk,encoding,cb){this.byteCount+=chunk.length,cb(null,chunk)};util.inherits(Crc32Watcher,Transform);function Crc32Watcher(options){Transform.call(this,options),this.crc32=0}Crc32Watcher.prototype._transform=function(chunk,encoding,cb){this.crc32=crc32.unsigned(chunk,this.crc32),cb(null,chunk)};var cp437="\0\u263A\u263B\u2665\u2666\u2663\u2660\u2022\u25D8\u25CB\u25D9\u2642\u2640\u266A\u266B\u263C\u25BA\u25C4\u2195\u203C\xB6\xA7\u25AC\u21A8\u2191\u2193\u2192\u2190\u221F\u2194\u25B2\u25BC !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\u2302\xC7\xFC\xE9\xE2\xE4\xE0\xE5\xE7\xEA\xEB\xE8\xEF\xEE\xEC\xC4\xC5\xC9\xE6\xC6\xF4\xF6\xF2\xFB\xF9\xFF\xD6\xDC\xA2\xA3\xA5\u20A7\u0192\xE1\xED\xF3\xFA\xF1\xD1\xAA\xBA\xBF\u2310\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0";if(cp437.length!==256)throw new Error("assertion failure");var reverseCp437=null;function encodeCp437(string){if(/^[\x20-\x7e]*$/.test(string))return bufferFrom(string,"utf-8");if(reverseCp437==null){reverseCp437={};for(var i=0;i<cp437.length;i++)reverseCp437[cp437[i]]=i}for(var result=bufferAlloc(string.length),i=0;i<string.length;i++){var b=reverseCp437[string[i]];if(b==null)throw new Error("character not encodable in CP437: "+JSON.stringify(string[i]));result[i]=b}return result}function bufferAlloc(size){bufferAlloc=modern;try{return bufferAlloc(size)}catch{return bufferAlloc=legacy,bufferAlloc(size)}function modern(size2){return Buffer.allocUnsafe(size2)}function legacy(size2){return new Buffer(size2)}}function bufferFrom(something,encoding){bufferFrom=modern;try{return bufferFrom(something,encoding)}catch{return bufferFrom=legacy,bufferFrom(something,encoding)}function modern(something2,encoding2){return Buffer.from(something2,encoding2)}function legacy(something2,encoding2){return new Buffer(something2,encoding2)}}function bufferIncludes(buffer,content){bufferIncludes=modern;try{return bufferIncludes(buffer,content)}catch{return bufferIncludes=legacy,bufferIncludes(buffer,content)}function modern(buffer2,content2){return buffer2.includes(content2)}function legacy(buffer2,content2){for(var i=0;i<=buffer2.length-content2.length;i++)for(var j=0;;j++){if(j===content2.length)return!0;if(buffer2[i+j]!==content2[j])break}return!1}}}});var require_concat_map=__commonJS({"../../node_modules/.pnpm/concat-map@0.0.1/node_modules/concat-map/index.js"(exports2,module2){module2.exports=function(xs,fn){for(var res=[],i=0;i<xs.length;i++){var x=fn(xs[i],i);isArray(x)?res.push.apply(res,x):res.push(x)}return res};var isArray=Array.isArray||function(xs){return Object.prototype.toString.call(xs)==="[object Array]"}}});var require_balanced_match=__commonJS({"../../node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.js"(exports2,module2){"use strict";module2.exports=balanced;function balanced(a,b,str){a instanceof RegExp&&(a=maybeMatch(a,str)),b instanceof RegExp&&(b=maybeMatch(b,str));var r=range(a,b,str);return r&&{start:r[0],end:r[1],pre:str.slice(0,r[0]),body:str.slice(r[0]+a.length,r[1]),post:str.slice(r[1]+b.length)}}function maybeMatch(reg,str){var m=str.match(reg);return m?m[0]:null}balanced.range=range;function range(a,b,str){var begs,beg,left,right,result,ai=str.indexOf(a),bi=str.indexOf(b,ai+1),i=ai;if(ai>=0&&bi>0){if(a===b)return[ai,bi];for(begs=[],left=str.length;i>=0&&!result;)i==ai?(begs.push(i),ai=str.indexOf(a,i+1)):begs.length==1?result=[begs.pop(),bi]:(beg=begs.pop(),beg<left&&(left=beg,right=bi),bi=str.indexOf(b,i+1)),i=ai<bi&&ai>=0?ai:bi;begs.length&&(result=[left,right])}return result}}});var require_brace_expansion=__commonJS({"../../node_modules/.pnpm/brace-expansion@1.1.15/node_modules/brace-expansion/index.js"(exports2,module2){var concatMap=require_concat_map(),balanced=require_balanced_match();module2.exports=expandTop;var escSlash="\0SLASH"+Math.random()+"\0",escOpen="\0OPEN"+Math.random()+"\0",escClose="\0CLOSE"+Math.random()+"\0",escComma="\0COMMA"+Math.random()+"\0",escPeriod="\0PERIOD"+Math.random()+"\0";function numeric(str){return parseInt(str,10)==str?parseInt(str,10):str.charCodeAt(0)}function escapeBraces(str){return str.split("\\\\").join(escSlash).split("\\{").join(escOpen).split("\\}").join(escClose).split("\\,").join(escComma).split("\\.").join(escPeriod)}function unescapeBraces(str){return str.split(escSlash).join("\\").split(escOpen).join("{").split(escClose).join("}").split(escComma).join(",").split(escPeriod).join(".")}function parseCommaParts(str){if(!str)return[""];var parts=[],m=balanced("{","}",str);if(!m)return str.split(",");var pre=m.pre,body=m.body,post=m.post,p=pre.split(",");p[p.length-1]+="{"+body+"}";var postParts=parseCommaParts(post);return post.length&&(p[p.length-1]+=postParts.shift(),p.push.apply(p,postParts)),parts.push.apply(parts,p),parts}function expandTop(str,options){if(!str)return[];options=options||{};var max=options.max==null?1/0:options.max;return str.substr(0,2)==="{}"&&(str="\\{\\}"+str.substr(2)),expand(escapeBraces(str),max,!0).map(unescapeBraces)}function embrace(str){return"{"+str+"}"}function isPadded(el){return/^-?0\d/.test(el)}function lte(i,y){return i<=y}function gte2(i,y){return i>=y}function expand(str,max,isTop){var expansions=[],m=balanced("{","}",str);if(!m||/\$$/.test(m.pre))return[str];var isNumericSequence=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body),isAlphaSequence=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body),isSequence=isNumericSequence||isAlphaSequence,isOptions=m.body.indexOf(",")>=0;if(!isSequence&&!isOptions)return m.post.match(/,(?!,).*\}/)?(str=m.pre+"{"+m.body+escClose+m.post,expand(str,max,!0)):[str];var n;if(isSequence)n=m.body.split(/\.\./);else if(n=parseCommaParts(m.body),n.length===1&&(n=expand(n[0],max,!1).map(embrace),n.length===1)){var post=m.post.length?expand(m.post,max,!1):[""];return post.map(function(p){return m.pre+n[0]+p})}var pre=m.pre,post=m.post.length?expand(m.post,max,!1):[""],N;if(isSequence){var x=numeric(n[0]),y=numeric(n[1]),width=Math.max(n[0].length,n[1].length),incr=n.length==3?Math.max(Math.abs(numeric(n[2])),1):1,test=lte,reverse=y<x;reverse&&(incr*=-1,test=gte2);var pad=n.some(isPadded);N=[];for(var i=x;test(i,y)&&N.length<max;i+=incr){var c;if(isAlphaSequence)c=String.fromCharCode(i),c==="\\"&&(c="");else if(c=String(i),pad){var need=width-c.length;if(need>0){var z=new Array(need+1).join("0");i<0?c="-"+z+c.slice(1):c=z+c}}N.push(c)}}else N=concatMap(n,function(el){return expand(el,max,!1)});for(var j=0;j<N.length;j++)for(var k=0;k<post.length&&expansions.length<max;k++){var expansion=pre+N[j]+post[k];(!isTop||isSequence||expansion)&&expansions.push(expansion)}return expansions}}});var require_minimatch=__commonJS({"../../node_modules/.pnpm/minimatch@3.1.2/node_modules/minimatch/minimatch.js"(exports2,module2){module2.exports=minimatch3;minimatch3.Minimatch=Minimatch;var path9=function(){try{return require("path")}catch{}}()||{sep:"/"};minimatch3.sep=path9.sep;var GLOBSTAR=minimatch3.GLOBSTAR=Minimatch.GLOBSTAR={},expand=require_brace_expansion(),plTypes={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},qmark="[^/]",star=qmark+"*?",twoStarDot="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",twoStarNoDot="(?:(?!(?:\\/|^)\\.).)*?",reSpecials=charSet("().*{}+?[]^$\\!");function charSet(s){return s.split("").reduce(function(set,c){return set[c]=!0,set},{})}var slashSplit=/\/+/;minimatch3.filter=filter;function filter(pattern,options){return options=options||{},function(p,i,list){return minimatch3(p,pattern,options)}}function ext(a,b){b=b||{};var t={};return Object.keys(a).forEach(function(k){t[k]=a[k]}),Object.keys(b).forEach(function(k){t[k]=b[k]}),t}minimatch3.defaults=function(def){if(!def||typeof def!="object"||!Object.keys(def).length)return minimatch3;var orig=minimatch3,m=function(p,pattern,options){return orig(p,pattern,ext(def,options))};return m.Minimatch=function(pattern,options){return new orig.Minimatch(pattern,ext(def,options))},m.Minimatch.defaults=function(options){return orig.defaults(ext(def,options)).Minimatch},m.filter=function(pattern,options){return orig.filter(pattern,ext(def,options))},m.defaults=function(options){return orig.defaults(ext(def,options))},m.makeRe=function(pattern,options){return orig.makeRe(pattern,ext(def,options))},m.braceExpand=function(pattern,options){return orig.braceExpand(pattern,ext(def,options))},m.match=function(list,pattern,options){return orig.match(list,pattern,ext(def,options))},m};Minimatch.defaults=function(def){return minimatch3.defaults(def).Minimatch};function minimatch3(p,pattern,options){return assertValidPattern(pattern),options||(options={}),!options.nocomment&&pattern.charAt(0)==="#"?!1:new Minimatch(pattern,options).match(p)}function Minimatch(pattern,options){if(!(this instanceof Minimatch))return new Minimatch(pattern,options);assertValidPattern(pattern),options||(options={}),pattern=pattern.trim(),!options.allowWindowsEscape&&path9.sep!=="/"&&(pattern=pattern.split(path9.sep).join("/")),this.options=options,this.set=[],this.pattern=pattern,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!options.partial,this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){var pattern=this.pattern,options=this.options;if(!options.nocomment&&pattern.charAt(0)==="#"){this.comment=!0;return}if(!pattern){this.empty=!0;return}this.parseNegate();var set=this.globSet=this.braceExpand();options.debug&&(this.debug=function(){console.error.apply(console,arguments)}),this.debug(this.pattern,set),set=this.globParts=set.map(function(s){return s.split(slashSplit)}),this.debug(this.pattern,set),set=set.map(function(s,si,set2){return s.map(this.parse,this)},this),this.debug(this.pattern,set),set=set.filter(function(s){return s.indexOf(!1)===-1}),this.debug(this.pattern,set),this.set=set}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var pattern=this.pattern,negate=!1,options=this.options,negateOffset=0;if(!options.nonegate){for(var i=0,l=pattern.length;i<l&&pattern.charAt(i)==="!";i++)negate=!negate,negateOffset++;negateOffset&&(this.pattern=pattern.substr(negateOffset)),this.negate=negate}}minimatch3.braceExpand=function(pattern,options){return braceExpand(pattern,options)};Minimatch.prototype.braceExpand=braceExpand;function braceExpand(pattern,options){return options||(this instanceof Minimatch?options=this.options:options={}),pattern=typeof pattern>"u"?this.pattern:pattern,assertValidPattern(pattern),options.nobrace||!/\{(?:(?!\{).)*\}/.test(pattern)?[pattern]:expand(pattern)}var MAX_PATTERN_LENGTH=1024*64,assertValidPattern=function(pattern){if(typeof pattern!="string")throw new TypeError("invalid pattern");if(pattern.length>MAX_PATTERN_LENGTH)throw new TypeError("pattern is too long")};Minimatch.prototype.parse=parse6;var SUBPARSE={};function parse6(pattern,isSub){assertValidPattern(pattern);var options=this.options;if(pattern==="**")if(options.noglobstar)pattern="*";else return GLOBSTAR;if(pattern==="")return"";var re="",hasMagic=!!options.nocase,escaping=!1,patternListStack=[],negativeLists=[],stateChar,inClass=!1,reClassStart=-1,classStart=-1,patternStart=pattern.charAt(0)==="."?"":options.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",self2=this;function clearStateChar(){if(stateChar){switch(stateChar){case"*":re+=star,hasMagic=!0;break;case"?":re+=qmark,hasMagic=!0;break;default:re+="\\"+stateChar;break}self2.debug("clearStateChar %j %j",stateChar,re),stateChar=!1}}for(var i=0,len=pattern.length,c;i<len&&(c=pattern.charAt(i));i++){if(this.debug("%s %s %s %j",pattern,i,re,c),escaping&&reSpecials[c]){re+="\\"+c,escaping=!1;continue}switch(c){case"/":return!1;case"\\":clearStateChar(),escaping=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",pattern,i,re,c),inClass){this.debug(" in class"),c==="!"&&i===classStart+1&&(c="^"),re+=c;continue}self2.debug("call clearStateChar %j",stateChar),clearStateChar(),stateChar=c,options.noext&&clearStateChar();continue;case"(":if(inClass){re+="(";continue}if(!stateChar){re+="\\(";continue}patternListStack.push({type:stateChar,start:i-1,reStart:re.length,open:plTypes[stateChar].open,close:plTypes[stateChar].close}),re+=stateChar==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",stateChar,re),stateChar=!1;continue;case")":if(inClass||!patternListStack.length){re+="\\)";continue}clearStateChar(),hasMagic=!0;var pl=patternListStack.pop();re+=pl.close,pl.type==="!"&&negativeLists.push(pl),pl.reEnd=re.length;continue;case"|":if(inClass||!patternListStack.length||escaping){re+="\\|",escaping=!1;continue}clearStateChar(),re+="|";continue;case"[":if(clearStateChar(),inClass){re+="\\"+c;continue}inClass=!0,classStart=i,reClassStart=re.length,re+=c;continue;case"]":if(i===classStart+1||!inClass){re+="\\"+c,escaping=!1;continue}var cs=pattern.substring(classStart+1,i);try{RegExp("["+cs+"]")}catch{var sp=this.parse(cs,SUBPARSE);re=re.substr(0,reClassStart)+"\\["+sp[0]+"\\]",hasMagic=hasMagic||sp[1],inClass=!1;continue}hasMagic=!0,inClass=!1,re+=c;continue;default:clearStateChar(),escaping?escaping=!1:reSpecials[c]&&!(c==="^"&&inClass)&&(re+="\\"),re+=c}}for(inClass&&(cs=pattern.substr(classStart+1),sp=this.parse(cs,SUBPARSE),re=re.substr(0,reClassStart)+"\\["+sp[0],hasMagic=hasMagic||sp[1]),pl=patternListStack.pop();pl;pl=patternListStack.pop()){var tail=re.slice(pl.reStart+pl.open.length);this.debug("setting tail",re,pl),tail=tail.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(_,$1,$2){return $2||($2="\\"),$1+$1+$2+"|"}),this.debug(`tail=%j
|
|
8
|
-
%s`,tail,tail,pl,re);var t=pl.type==="*"?star:pl.type==="?"?qmark:"\\"+pl.type;hasMagic=!0,re=re.slice(0,pl.reStart)+t+"\\("+tail}clearStateChar(),escaping&&(re+="\\\\");var addPatternStart=!1;switch(re.charAt(0)){case"[":case".":case"(":addPatternStart=!0}for(var n=negativeLists.length-1;n>-1;n--){var nl=negativeLists[n],nlBefore=re.slice(0,nl.reStart),nlFirst=re.slice(nl.reStart,nl.reEnd-8),nlLast=re.slice(nl.reEnd-8,nl.reEnd),nlAfter=re.slice(nl.reEnd);nlLast+=nlAfter;var openParensBefore=nlBefore.split("(").length-1,cleanAfter=nlAfter;for(i=0;i<openParensBefore;i++)cleanAfter=cleanAfter.replace(/\)[+*?]?/,"");nlAfter=cleanAfter;var dollar="";nlAfter===""&&isSub!==SUBPARSE&&(dollar="$");var newRe=nlBefore+nlFirst+nlAfter+dollar+nlLast;re=newRe}if(re!==""&&hasMagic&&(re="(?=.)"+re),addPatternStart&&(re=patternStart+re),isSub===SUBPARSE)return[re,hasMagic];if(!hasMagic)return globUnescape(pattern);var flags=options.nocase?"i":"";try{var regExp=new RegExp("^"+re+"$",flags)}catch{return new RegExp("$.")}return regExp._glob=pattern,regExp._src=re,regExp}
|
|
6
|
+
see https://github.com/jprichardson/node-fs-extra/issues/269`),stat.checkPaths(src,dest,"copy",opts,(err,stats)=>{if(err)return cb(err);let{srcStat,destStat}=stats;stat.checkParentPaths(src,srcStat,dest,"copy",err2=>err2?cb(err2):opts.filter?handleFilter(checkParentDir,destStat,src,dest,opts,cb):checkParentDir(destStat,src,dest,opts,cb))})}function checkParentDir(destStat,src,dest,opts,cb){let destParent=path9.dirname(dest);pathExists(destParent,(err,dirExists)=>{if(err)return cb(err);if(dirExists)return getStats(destStat,src,dest,opts,cb);mkdirs(destParent,err2=>err2?cb(err2):getStats(destStat,src,dest,opts,cb))})}function handleFilter(onInclude,destStat,src,dest,opts,cb){Promise.resolve(opts.filter(src,dest)).then(include=>include?onInclude(destStat,src,dest,opts,cb):cb(),error=>cb(error))}function startCopy(destStat,src,dest,opts,cb){return opts.filter?handleFilter(getStats,destStat,src,dest,opts,cb):getStats(destStat,src,dest,opts,cb)}function getStats(destStat,src,dest,opts,cb){(opts.dereference?fs14.stat:fs14.lstat)(src,(err,srcStat)=>err?cb(err):srcStat.isDirectory()?onDir(srcStat,destStat,src,dest,opts,cb):srcStat.isFile()||srcStat.isCharacterDevice()||srcStat.isBlockDevice()?onFile(srcStat,destStat,src,dest,opts,cb):srcStat.isSymbolicLink()?onLink(destStat,src,dest,opts,cb):srcStat.isSocket()?cb(new Error(`Cannot copy a socket file: ${src}`)):srcStat.isFIFO()?cb(new Error(`Cannot copy a FIFO pipe: ${src}`)):cb(new Error(`Unknown file: ${src}`)))}function onFile(srcStat,destStat,src,dest,opts,cb){return destStat?mayCopyFile(srcStat,src,dest,opts,cb):copyFile(srcStat,src,dest,opts,cb)}function mayCopyFile(srcStat,src,dest,opts,cb){if(opts.overwrite)fs14.unlink(dest,err=>err?cb(err):copyFile(srcStat,src,dest,opts,cb));else return opts.errorOnExist?cb(new Error(`'${dest}' already exists`)):cb()}function copyFile(srcStat,src,dest,opts,cb){fs14.copyFile(src,dest,err=>err?cb(err):opts.preserveTimestamps?handleTimestampsAndMode(srcStat.mode,src,dest,cb):setDestMode(dest,srcStat.mode,cb))}function handleTimestampsAndMode(srcMode,src,dest,cb){return fileIsNotWritable(srcMode)?makeFileWritable(dest,srcMode,err=>err?cb(err):setDestTimestampsAndMode(srcMode,src,dest,cb)):setDestTimestampsAndMode(srcMode,src,dest,cb)}function fileIsNotWritable(srcMode){return(srcMode&128)===0}function makeFileWritable(dest,srcMode,cb){return setDestMode(dest,srcMode|128,cb)}function setDestTimestampsAndMode(srcMode,src,dest,cb){setDestTimestamps(src,dest,err=>err?cb(err):setDestMode(dest,srcMode,cb))}function setDestMode(dest,srcMode,cb){return fs14.chmod(dest,srcMode,cb)}function setDestTimestamps(src,dest,cb){fs14.stat(src,(err,updatedSrcStat)=>err?cb(err):utimesMillis(dest,updatedSrcStat.atime,updatedSrcStat.mtime,cb))}function onDir(srcStat,destStat,src,dest,opts,cb){return destStat?copyDir(src,dest,opts,cb):mkDirAndCopy(srcStat.mode,src,dest,opts,cb)}function mkDirAndCopy(srcMode,src,dest,opts,cb){fs14.mkdir(dest,err=>{if(err)return cb(err);copyDir(src,dest,opts,err2=>err2?cb(err2):setDestMode(dest,srcMode,cb))})}function copyDir(src,dest,opts,cb){fs14.readdir(src,(err,items)=>err?cb(err):copyDirItems(items,src,dest,opts,cb))}function copyDirItems(items,src,dest,opts,cb){let item=items.pop();return item?copyDirItem(items,item,src,dest,opts,cb):cb()}function copyDirItem(items,item,src,dest,opts,cb){let srcItem=path9.join(src,item),destItem=path9.join(dest,item);stat.checkPaths(srcItem,destItem,"copy",opts,(err,stats)=>{if(err)return cb(err);let{destStat}=stats;startCopy(destStat,srcItem,destItem,opts,err2=>err2?cb(err2):copyDirItems(items,src,dest,opts,cb))})}function onLink(destStat,src,dest,opts,cb){fs14.readlink(src,(err,resolvedSrc)=>{if(err)return cb(err);if(opts.dereference&&(resolvedSrc=path9.resolve(process.cwd(),resolvedSrc)),destStat)fs14.readlink(dest,(err2,resolvedDest)=>err2?err2.code==="EINVAL"||err2.code==="UNKNOWN"?fs14.symlink(resolvedSrc,dest,cb):cb(err2):(opts.dereference&&(resolvedDest=path9.resolve(process.cwd(),resolvedDest)),stat.isSrcSubdir(resolvedSrc,resolvedDest)?cb(new Error(`Cannot copy '${resolvedSrc}' to a subdirectory of itself, '${resolvedDest}'.`)):destStat.isDirectory()&&stat.isSrcSubdir(resolvedDest,resolvedSrc)?cb(new Error(`Cannot overwrite '${resolvedDest}' with '${resolvedSrc}'.`)):copyLink(resolvedSrc,dest,cb)));else return fs14.symlink(resolvedSrc,dest,cb)})}function copyLink(resolvedSrc,dest,cb){fs14.unlink(dest,err=>err?cb(err):fs14.symlink(resolvedSrc,dest,cb))}module2.exports=copy}});var require_copy2=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/copy/index.js"(exports2,module2){"use strict";var u=require_universalify().fromCallback;module2.exports={copy:u(require_copy())}}});var require_rimraf=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/remove/rimraf.js"(exports2,module2){"use strict";var fs14=require_graceful_fs(),path9=require("path"),assert9=require("assert"),isWindows=process.platform==="win32";function defaults(options){["unlink","chmod","stat","lstat","rmdir","readdir"].forEach(m=>{options[m]=options[m]||fs14[m],m=m+"Sync",options[m]=options[m]||fs14[m]}),options.maxBusyTries=options.maxBusyTries||3}function rimraf(p,options,cb){let busyTries=0;typeof options=="function"&&(cb=options,options={}),assert9(p,"rimraf: missing path"),assert9.strictEqual(typeof p,"string","rimraf: path should be a string"),assert9.strictEqual(typeof cb,"function","rimraf: callback function required"),assert9(options,"rimraf: invalid options argument provided"),assert9.strictEqual(typeof options,"object","rimraf: options should be object"),defaults(options),rimraf_(p,options,function CB(er){if(er){if((er.code==="EBUSY"||er.code==="ENOTEMPTY"||er.code==="EPERM")&&busyTries<options.maxBusyTries){busyTries++;let time=busyTries*100;return setTimeout(()=>rimraf_(p,options,CB),time)}er.code==="ENOENT"&&(er=null)}cb(er)})}function rimraf_(p,options,cb){assert9(p),assert9(options),assert9(typeof cb=="function"),options.lstat(p,(er,st)=>{if(er&&er.code==="ENOENT")return cb(null);if(er&&er.code==="EPERM"&&isWindows)return fixWinEPERM(p,options,er,cb);if(st&&st.isDirectory())return rmdir(p,options,er,cb);options.unlink(p,er2=>{if(er2){if(er2.code==="ENOENT")return cb(null);if(er2.code==="EPERM")return isWindows?fixWinEPERM(p,options,er2,cb):rmdir(p,options,er2,cb);if(er2.code==="EISDIR")return rmdir(p,options,er2,cb)}return cb(er2)})})}function fixWinEPERM(p,options,er,cb){assert9(p),assert9(options),assert9(typeof cb=="function"),options.chmod(p,438,er2=>{er2?cb(er2.code==="ENOENT"?null:er):options.stat(p,(er3,stats)=>{er3?cb(er3.code==="ENOENT"?null:er):stats.isDirectory()?rmdir(p,options,er,cb):options.unlink(p,cb)})})}function fixWinEPERMSync(p,options,er){let stats;assert9(p),assert9(options);try{options.chmodSync(p,438)}catch(er2){if(er2.code==="ENOENT")return;throw er}try{stats=options.statSync(p)}catch(er3){if(er3.code==="ENOENT")return;throw er}stats.isDirectory()?rmdirSync(p,options,er):options.unlinkSync(p)}function rmdir(p,options,originalEr,cb){assert9(p),assert9(options),assert9(typeof cb=="function"),options.rmdir(p,er=>{er&&(er.code==="ENOTEMPTY"||er.code==="EEXIST"||er.code==="EPERM")?rmkids(p,options,cb):er&&er.code==="ENOTDIR"?cb(originalEr):cb(er)})}function rmkids(p,options,cb){assert9(p),assert9(options),assert9(typeof cb=="function"),options.readdir(p,(er,files)=>{if(er)return cb(er);let n=files.length,errState;if(n===0)return options.rmdir(p,cb);files.forEach(f=>{rimraf(path9.join(p,f),options,er2=>{if(!errState){if(er2)return cb(errState=er2);--n===0&&options.rmdir(p,cb)}})})})}function rimrafSync(p,options){let st;options=options||{},defaults(options),assert9(p,"rimraf: missing path"),assert9.strictEqual(typeof p,"string","rimraf: path should be a string"),assert9(options,"rimraf: missing options"),assert9.strictEqual(typeof options,"object","rimraf: options should be object");try{st=options.lstatSync(p)}catch(er){if(er.code==="ENOENT")return;er.code==="EPERM"&&isWindows&&fixWinEPERMSync(p,options,er)}try{st&&st.isDirectory()?rmdirSync(p,options,null):options.unlinkSync(p)}catch(er){if(er.code==="ENOENT")return;if(er.code==="EPERM")return isWindows?fixWinEPERMSync(p,options,er):rmdirSync(p,options,er);if(er.code!=="EISDIR")throw er;rmdirSync(p,options,er)}}function rmdirSync(p,options,originalEr){assert9(p),assert9(options);try{options.rmdirSync(p)}catch(er){if(er.code==="ENOTDIR")throw originalEr;if(er.code==="ENOTEMPTY"||er.code==="EEXIST"||er.code==="EPERM")rmkidsSync(p,options);else if(er.code!=="ENOENT")throw er}}function rmkidsSync(p,options){if(assert9(p),assert9(options),options.readdirSync(p).forEach(f=>rimrafSync(path9.join(p,f),options)),isWindows){let startTime=Date.now();do try{return options.rmdirSync(p,options)}catch{}while(Date.now()-startTime<500)}else return options.rmdirSync(p,options)}module2.exports=rimraf;rimraf.sync=rimrafSync}});var require_remove=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/remove/index.js"(exports2,module2){"use strict";var fs14=require_graceful_fs(),u=require_universalify().fromCallback,rimraf=require_rimraf();function remove2(path9,callback){if(fs14.rm)return fs14.rm(path9,{recursive:!0,force:!0},callback);rimraf(path9,callback)}function removeSync(path9){if(fs14.rmSync)return fs14.rmSync(path9,{recursive:!0,force:!0});rimraf.sync(path9)}module2.exports={remove:u(remove2),removeSync}}});var require_empty=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/empty/index.js"(exports2,module2){"use strict";var u=require_universalify().fromPromise,fs14=require_fs(),path9=require("path"),mkdir=require_mkdirs(),remove2=require_remove(),emptyDir=u(async function(dir){let items;try{items=await fs14.readdir(dir)}catch{return mkdir.mkdirs(dir)}return Promise.all(items.map(item=>remove2.remove(path9.join(dir,item))))});function emptyDirSync(dir){let items;try{items=fs14.readdirSync(dir)}catch{return mkdir.mkdirsSync(dir)}items.forEach(item=>{item=path9.join(dir,item),remove2.removeSync(item)})}module2.exports={emptyDirSync,emptydirSync:emptyDirSync,emptyDir,emptydir:emptyDir}}});var require_file=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/ensure/file.js"(exports2,module2){"use strict";var u=require_universalify().fromCallback,path9=require("path"),fs14=require_graceful_fs(),mkdir=require_mkdirs();function createFile(file,callback){function makeFile(){fs14.writeFile(file,"",err=>{if(err)return callback(err);callback()})}fs14.stat(file,(err,stats)=>{if(!err&&stats.isFile())return callback();let dir=path9.dirname(file);fs14.stat(dir,(err2,stats2)=>{if(err2)return err2.code==="ENOENT"?mkdir.mkdirs(dir,err3=>{if(err3)return callback(err3);makeFile()}):callback(err2);stats2.isDirectory()?makeFile():fs14.readdir(dir,err3=>{if(err3)return callback(err3)})})})}function createFileSync(file){let stats;try{stats=fs14.statSync(file)}catch{}if(stats&&stats.isFile())return;let dir=path9.dirname(file);try{fs14.statSync(dir).isDirectory()||fs14.readdirSync(dir)}catch(err){if(err&&err.code==="ENOENT")mkdir.mkdirsSync(dir);else throw err}fs14.writeFileSync(file,"")}module2.exports={createFile:u(createFile),createFileSync}}});var require_link=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/ensure/link.js"(exports2,module2){"use strict";var u=require_universalify().fromCallback,path9=require("path"),fs14=require_graceful_fs(),mkdir=require_mkdirs(),pathExists=require_path_exists().pathExists,{areIdentical}=require_stat();function createLink(srcpath,dstpath,callback){function makeLink(srcpath2,dstpath2){fs14.link(srcpath2,dstpath2,err=>{if(err)return callback(err);callback(null)})}fs14.lstat(dstpath,(_,dstStat)=>{fs14.lstat(srcpath,(err,srcStat)=>{if(err)return err.message=err.message.replace("lstat","ensureLink"),callback(err);if(dstStat&&areIdentical(srcStat,dstStat))return callback(null);let dir=path9.dirname(dstpath);pathExists(dir,(err2,dirExists)=>{if(err2)return callback(err2);if(dirExists)return makeLink(srcpath,dstpath);mkdir.mkdirs(dir,err3=>{if(err3)return callback(err3);makeLink(srcpath,dstpath)})})})})}function createLinkSync(srcpath,dstpath){let dstStat;try{dstStat=fs14.lstatSync(dstpath)}catch{}try{let srcStat=fs14.lstatSync(srcpath);if(dstStat&&areIdentical(srcStat,dstStat))return}catch(err){throw err.message=err.message.replace("lstat","ensureLink"),err}let dir=path9.dirname(dstpath);return fs14.existsSync(dir)||mkdir.mkdirsSync(dir),fs14.linkSync(srcpath,dstpath)}module2.exports={createLink:u(createLink),createLinkSync}}});var require_symlink_paths=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/ensure/symlink-paths.js"(exports2,module2){"use strict";var path9=require("path"),fs14=require_graceful_fs(),pathExists=require_path_exists().pathExists;function symlinkPaths(srcpath,dstpath,callback){if(path9.isAbsolute(srcpath))return fs14.lstat(srcpath,err=>err?(err.message=err.message.replace("lstat","ensureSymlink"),callback(err)):callback(null,{toCwd:srcpath,toDst:srcpath}));{let dstdir=path9.dirname(dstpath),relativeToDst=path9.join(dstdir,srcpath);return pathExists(relativeToDst,(err,exists)=>err?callback(err):exists?callback(null,{toCwd:relativeToDst,toDst:srcpath}):fs14.lstat(srcpath,err2=>err2?(err2.message=err2.message.replace("lstat","ensureSymlink"),callback(err2)):callback(null,{toCwd:srcpath,toDst:path9.relative(dstdir,srcpath)})))}}function symlinkPathsSync(srcpath,dstpath){let exists;if(path9.isAbsolute(srcpath)){if(exists=fs14.existsSync(srcpath),!exists)throw new Error("absolute srcpath does not exist");return{toCwd:srcpath,toDst:srcpath}}else{let dstdir=path9.dirname(dstpath),relativeToDst=path9.join(dstdir,srcpath);if(exists=fs14.existsSync(relativeToDst),exists)return{toCwd:relativeToDst,toDst:srcpath};if(exists=fs14.existsSync(srcpath),!exists)throw new Error("relative srcpath does not exist");return{toCwd:srcpath,toDst:path9.relative(dstdir,srcpath)}}}module2.exports={symlinkPaths,symlinkPathsSync}}});var require_symlink_type=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/ensure/symlink-type.js"(exports2,module2){"use strict";var fs14=require_graceful_fs();function symlinkType(srcpath,type,callback){if(callback=typeof type=="function"?type:callback,type=typeof type=="function"?!1:type,type)return callback(null,type);fs14.lstat(srcpath,(err,stats)=>{if(err)return callback(null,"file");type=stats&&stats.isDirectory()?"dir":"file",callback(null,type)})}function symlinkTypeSync(srcpath,type){let stats;if(type)return type;try{stats=fs14.lstatSync(srcpath)}catch{return"file"}return stats&&stats.isDirectory()?"dir":"file"}module2.exports={symlinkType,symlinkTypeSync}}});var require_symlink=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/ensure/symlink.js"(exports2,module2){"use strict";var u=require_universalify().fromCallback,path9=require("path"),fs14=require_fs(),_mkdirs=require_mkdirs(),mkdirs=_mkdirs.mkdirs,mkdirsSync=_mkdirs.mkdirsSync,_symlinkPaths=require_symlink_paths(),symlinkPaths=_symlinkPaths.symlinkPaths,symlinkPathsSync=_symlinkPaths.symlinkPathsSync,_symlinkType=require_symlink_type(),symlinkType=_symlinkType.symlinkType,symlinkTypeSync=_symlinkType.symlinkTypeSync,pathExists=require_path_exists().pathExists,{areIdentical}=require_stat();function createSymlink(srcpath,dstpath,type,callback){callback=typeof type=="function"?type:callback,type=typeof type=="function"?!1:type,fs14.lstat(dstpath,(err,stats)=>{!err&&stats.isSymbolicLink()?Promise.all([fs14.stat(srcpath),fs14.stat(dstpath)]).then(([srcStat,dstStat])=>{if(areIdentical(srcStat,dstStat))return callback(null);_createSymlink(srcpath,dstpath,type,callback)}):_createSymlink(srcpath,dstpath,type,callback)})}function _createSymlink(srcpath,dstpath,type,callback){symlinkPaths(srcpath,dstpath,(err,relative4)=>{if(err)return callback(err);srcpath=relative4.toDst,symlinkType(relative4.toCwd,type,(err2,type2)=>{if(err2)return callback(err2);let dir=path9.dirname(dstpath);pathExists(dir,(err3,dirExists)=>{if(err3)return callback(err3);if(dirExists)return fs14.symlink(srcpath,dstpath,type2,callback);mkdirs(dir,err4=>{if(err4)return callback(err4);fs14.symlink(srcpath,dstpath,type2,callback)})})})})}function createSymlinkSync(srcpath,dstpath,type){let stats;try{stats=fs14.lstatSync(dstpath)}catch{}if(stats&&stats.isSymbolicLink()){let srcStat=fs14.statSync(srcpath),dstStat=fs14.statSync(dstpath);if(areIdentical(srcStat,dstStat))return}let relative4=symlinkPathsSync(srcpath,dstpath);srcpath=relative4.toDst,type=symlinkTypeSync(relative4.toCwd,type);let dir=path9.dirname(dstpath);return fs14.existsSync(dir)||mkdirsSync(dir),fs14.symlinkSync(srcpath,dstpath,type)}module2.exports={createSymlink:u(createSymlink),createSymlinkSync}}});var require_ensure=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/ensure/index.js"(exports2,module2){"use strict";var file=require_file(),link=require_link(),symlink2=require_symlink();module2.exports={createFile:file.createFile,createFileSync:file.createFileSync,ensureFile:file.createFile,ensureFileSync:file.createFileSync,createLink:link.createLink,createLinkSync:link.createLinkSync,ensureLink:link.createLink,ensureLinkSync:link.createLinkSync,createSymlink:symlink2.createSymlink,createSymlinkSync:symlink2.createSymlinkSync,ensureSymlink:symlink2.createSymlink,ensureSymlinkSync:symlink2.createSymlinkSync}}});var require_utils2=__commonJS({"../../node_modules/.pnpm/jsonfile@6.2.1/node_modules/jsonfile/utils.js"(exports2,module2){function stringify2(obj,{EOL=`
|
|
7
|
+
`,finalEOL=!0,replacer=null,spaces}={}){let EOF=finalEOL?EOL:"",str=JSON.stringify(obj,replacer,spaces);if(str===void 0)throw new TypeError(`Converting ${typeof obj} value to JSON is not supported`);return str.replace(/\n/g,EOL)+EOF}function stripBom(content){return Buffer.isBuffer(content)&&(content=content.toString("utf8")),content.replace(/^\uFEFF/,"")}module2.exports={stringify:stringify2,stripBom}}});var require_jsonfile=__commonJS({"../../node_modules/.pnpm/jsonfile@6.2.1/node_modules/jsonfile/index.js"(exports2,module2){var _fs;try{_fs=require_graceful_fs()}catch{_fs=require("fs")}var universalify=require_universalify(),{stringify:stringify2,stripBom}=require_utils2();async function _readFile(file,options={}){typeof options=="string"&&(options={encoding:options});let fs14=options.fs||_fs,shouldThrow="throws"in options?options.throws:!0,data=await universalify.fromCallback(fs14.readFile)(file,options);data=stripBom(data);let obj;try{obj=JSON.parse(data,options?options.reviver:null)}catch(err){if(shouldThrow)throw err.message=`${file}: ${err.message}`,err;return null}return obj}var readFile4=universalify.fromPromise(_readFile);function readFileSync(file,options={}){typeof options=="string"&&(options={encoding:options});let fs14=options.fs||_fs,shouldThrow="throws"in options?options.throws:!0;try{let content=fs14.readFileSync(file,options);return content=stripBom(content),JSON.parse(content,options.reviver)}catch(err){if(shouldThrow)throw err.message=`${file}: ${err.message}`,err;return null}}async function _writeFile(file,obj,options={}){let fs14=options.fs||_fs,str=stringify2(obj,options);await universalify.fromCallback(fs14.writeFile)(file,str,options)}var writeFile=universalify.fromPromise(_writeFile);function writeFileSync(file,obj,options={}){let fs14=options.fs||_fs,str=stringify2(obj,options);return fs14.writeFileSync(file,str,options)}module2.exports={readFile:readFile4,readFileSync,writeFile,writeFileSync}}});var require_jsonfile2=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/json/jsonfile.js"(exports2,module2){"use strict";var jsonFile=require_jsonfile();module2.exports={readJson:jsonFile.readFile,readJsonSync:jsonFile.readFileSync,writeJson:jsonFile.writeFile,writeJsonSync:jsonFile.writeFileSync}}});var require_output=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/output/index.js"(exports2,module2){"use strict";var u=require_universalify().fromCallback,fs14=require_graceful_fs(),path9=require("path"),mkdir=require_mkdirs(),pathExists=require_path_exists().pathExists;function outputFile(file,data,encoding,callback){typeof encoding=="function"&&(callback=encoding,encoding="utf8");let dir=path9.dirname(file);pathExists(dir,(err,itDoes)=>{if(err)return callback(err);if(itDoes)return fs14.writeFile(file,data,encoding,callback);mkdir.mkdirs(dir,err2=>{if(err2)return callback(err2);fs14.writeFile(file,data,encoding,callback)})})}function outputFileSync(file,...args){let dir=path9.dirname(file);if(fs14.existsSync(dir))return fs14.writeFileSync(file,...args);mkdir.mkdirsSync(dir),fs14.writeFileSync(file,...args)}module2.exports={outputFile:u(outputFile),outputFileSync}}});var require_output_json=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/json/output-json.js"(exports2,module2){"use strict";var{stringify:stringify2}=require_utils2(),{outputFile}=require_output();async function outputJson(file,data,options={}){let str=stringify2(data,options);await outputFile(file,str,options)}module2.exports=outputJson}});var require_output_json_sync=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/json/output-json-sync.js"(exports2,module2){"use strict";var{stringify:stringify2}=require_utils2(),{outputFileSync}=require_output();function outputJsonSync(file,data,options){let str=stringify2(data,options);outputFileSync(file,str,options)}module2.exports=outputJsonSync}});var require_json=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/json/index.js"(exports2,module2){"use strict";var u=require_universalify().fromPromise,jsonFile=require_jsonfile2();jsonFile.outputJson=u(require_output_json());jsonFile.outputJsonSync=require_output_json_sync();jsonFile.outputJSON=jsonFile.outputJson;jsonFile.outputJSONSync=jsonFile.outputJsonSync;jsonFile.writeJSON=jsonFile.writeJson;jsonFile.writeJSONSync=jsonFile.writeJsonSync;jsonFile.readJSON=jsonFile.readJson;jsonFile.readJSONSync=jsonFile.readJsonSync;module2.exports=jsonFile}});var require_move_sync=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/move-sync/move-sync.js"(exports2,module2){"use strict";var fs14=require_graceful_fs(),path9=require("path"),copySync=require_copy_sync2().copySync,removeSync=require_remove().removeSync,mkdirpSync=require_mkdirs().mkdirpSync,stat=require_stat();function moveSync(src,dest,opts){opts=opts||{};let overwrite=opts.overwrite||opts.clobber||!1,{srcStat,isChangingCase=!1}=stat.checkPathsSync(src,dest,"move",opts);return stat.checkParentPathsSync(src,srcStat,dest,"move"),isParentRoot(dest)||mkdirpSync(path9.dirname(dest)),doRename(src,dest,overwrite,isChangingCase)}function isParentRoot(dest){let parent=path9.dirname(dest);return path9.parse(parent).root===parent}function doRename(src,dest,overwrite,isChangingCase){if(isChangingCase)return rename2(src,dest,overwrite);if(overwrite)return removeSync(dest),rename2(src,dest,overwrite);if(fs14.existsSync(dest))throw new Error("dest already exists.");return rename2(src,dest,overwrite)}function rename2(src,dest,overwrite){try{fs14.renameSync(src,dest)}catch(err){if(err.code!=="EXDEV")throw err;return moveAcrossDevice(src,dest,overwrite)}}function moveAcrossDevice(src,dest,overwrite){return copySync(src,dest,{overwrite,errorOnExist:!0}),removeSync(src)}module2.exports=moveSync}});var require_move_sync2=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/move-sync/index.js"(exports2,module2){"use strict";module2.exports={moveSync:require_move_sync()}}});var require_move=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/move/move.js"(exports2,module2){"use strict";var fs14=require_graceful_fs(),path9=require("path"),copy=require_copy2().copy,remove2=require_remove().remove,mkdirp3=require_mkdirs().mkdirp,pathExists=require_path_exists().pathExists,stat=require_stat();function move(src,dest,opts,cb){typeof opts=="function"&&(cb=opts,opts={});let overwrite=opts.overwrite||opts.clobber||!1;stat.checkPaths(src,dest,"move",opts,(err,stats)=>{if(err)return cb(err);let{srcStat,isChangingCase=!1}=stats;stat.checkParentPaths(src,srcStat,dest,"move",err2=>{if(err2)return cb(err2);if(isParentRoot(dest))return doRename(src,dest,overwrite,isChangingCase,cb);mkdirp3(path9.dirname(dest),err3=>err3?cb(err3):doRename(src,dest,overwrite,isChangingCase,cb))})})}function isParentRoot(dest){let parent=path9.dirname(dest);return path9.parse(parent).root===parent}function doRename(src,dest,overwrite,isChangingCase,cb){if(isChangingCase)return rename2(src,dest,overwrite,cb);if(overwrite)return remove2(dest,err=>err?cb(err):rename2(src,dest,overwrite,cb));pathExists(dest,(err,destExists)=>err?cb(err):destExists?cb(new Error("dest already exists.")):rename2(src,dest,overwrite,cb))}function rename2(src,dest,overwrite,cb){fs14.rename(src,dest,err=>err?err.code!=="EXDEV"?cb(err):moveAcrossDevice(src,dest,overwrite,cb):cb())}function moveAcrossDevice(src,dest,overwrite,cb){copy(src,dest,{overwrite,errorOnExist:!0},err=>err?cb(err):remove2(src,cb))}module2.exports=move}});var require_move2=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/move/index.js"(exports2,module2){"use strict";var u=require_universalify().fromCallback;module2.exports={move:u(require_move())}}});var require_lib=__commonJS({"../../node_modules/.pnpm/fs-extra@10.0.0/node_modules/fs-extra/lib/index.js"(exports2,module2){"use strict";module2.exports={...require_fs(),...require_copy_sync2(),...require_copy2(),...require_empty(),...require_ensure(),...require_json(),...require_mkdirs(),...require_move_sync2(),...require_move2(),...require_output(),...require_path_exists(),...require_remove()}}});var require_multistream=__commonJS({"../../node_modules/.pnpm/multistream@2.1.1/node_modules/multistream/index.js"(exports2,module2){module2.exports=MultiStream;var inherits=require_inherits(),stream=require_readable();inherits(MultiStream,stream.Readable);function MultiStream(streams,opts){var self2=this;if(!(self2 instanceof MultiStream))return new MultiStream(streams,opts);stream.Readable.call(self2,opts),self2.destroyed=!1,self2._drained=!1,self2._forwarding=!1,self2._current=null,self2._toStreams2=opts&&opts.objectMode?toStreams2Obj:toStreams2Buf,typeof streams=="function"?self2._queue=streams:(self2._queue=streams.map(self2._toStreams2),self2._queue.forEach(function(stream2){typeof stream2!="function"&&self2._attachErrorListener(stream2)})),self2._next()}MultiStream.obj=function(streams){return new MultiStream(streams,{objectMode:!0,highWaterMark:16})};MultiStream.prototype._read=function(){this._drained=!0,this._forward()};MultiStream.prototype._forward=function(){if(!(this._forwarding||!this._drained||!this._current)){this._forwarding=!0;for(var chunk;(chunk=this._current.read())!==null;)this._drained=this.push(chunk);this._forwarding=!1}};MultiStream.prototype.destroy=function(err){this.destroyed||(this.destroyed=!0,this._current&&this._current.destroy&&this._current.destroy(),typeof this._queue!="function"&&this._queue.forEach(function(stream2){stream2.destroy&&stream2.destroy()}),err&&this.emit("error",err),this.emit("close"))};MultiStream.prototype._next=function(){var self2=this;if(self2._current=null,typeof self2._queue=="function")self2._queue(function(err,stream3){if(err)return self2.destroy(err);stream3=self2._toStreams2(stream3),self2._attachErrorListener(stream3),self2._gotNextStream(stream3)});else{var stream2=self2._queue.shift();typeof stream2=="function"&&(stream2=self2._toStreams2(stream2()),self2._attachErrorListener(stream2)),self2._gotNextStream(stream2)}};MultiStream.prototype._gotNextStream=function(stream2){var self2=this;if(!stream2){self2.push(null),self2.destroy();return}self2._current=stream2,self2._forward(),stream2.on("readable",onReadable),stream2.once("end",onEnd),stream2.once("close",onClose);function onReadable(){self2._forward()}function onClose(){stream2._readableState.ended||self2.destroy()}function onEnd(){self2._current=null,stream2.removeListener("readable",onReadable),stream2.removeListener("end",onEnd),stream2.removeListener("close",onClose),self2._next()}};MultiStream.prototype._attachErrorListener=function(stream2){var self2=this;if(!stream2)return;stream2.once("error",onError);function onError(err){stream2.removeListener("error",onError),self2.destroy(err)}};function toStreams2Obj(s){return toStreams2(s,{objectMode:!0,highWaterMark:16})}function toStreams2Buf(s){return toStreams2(s)}function toStreams2(s,opts){if(!s||typeof s=="function"||s._readableState)return s;var wrap=new stream.Readable(opts).wrap(s);return s.destroy&&(wrap.destroy=s.destroy.bind(s)),wrap}}});var require_deque=__commonJS({"../../node_modules/.pnpm/double-ended-queue@2.1.0-0/node_modules/double-ended-queue/js/deque.js"(exports2,module2){"use strict";function Deque(capacity){if(this._capacity=getCapacity(capacity),this._length=0,this._front=0,isArray(capacity)){for(var len=capacity.length,i=0;i<len;++i)this[i]=capacity[i];this._length=len}}Deque.prototype.toArray=function(){for(var len=this._length,ret=new Array(len),front=this._front,capacity=this._capacity,j=0;j<len;++j)ret[j]=this[front+j&capacity-1];return ret};Deque.prototype.push=function(item){var argsLength=arguments.length,length=this._length;if(argsLength>1){var capacity=this._capacity;if(length+argsLength>capacity){for(var i=0;i<argsLength;++i){this._checkCapacity(length+1);var j=this._front+length&this._capacity-1;this[j]=arguments[i],length++,this._length=length}return length}else{for(var j=this._front,i=0;i<argsLength;++i)this[j+length&capacity-1]=arguments[i],j++;return this._length=length+argsLength,length+argsLength}}if(argsLength===0)return length;this._checkCapacity(length+1);var i=this._front+length&this._capacity-1;return this[i]=item,this._length=length+1,length+1};Deque.prototype.pop=function(){var length=this._length;if(length!==0){var i=this._front+length-1&this._capacity-1,ret=this[i];return this[i]=void 0,this._length=length-1,ret}};Deque.prototype.shift=function(){var length=this._length;if(length!==0){var front=this._front,ret=this[front];return this[front]=void 0,this._front=front+1&this._capacity-1,this._length=length-1,ret}};Deque.prototype.unshift=function(item){var length=this._length,argsLength=arguments.length;if(argsLength>1){var capacity=this._capacity;if(length+argsLength>capacity){for(var i=argsLength-1;i>=0;i--){this._checkCapacity(length+1);var capacity=this._capacity,j=(this._front-1&capacity-1^capacity)-capacity;this[j]=arguments[i],length++,this._length=length,this._front=j}return length}else{for(var front=this._front,i=argsLength-1;i>=0;i--){var j=(front-1&capacity-1^capacity)-capacity;this[j]=arguments[i],front=j}return this._front=front,this._length=length+argsLength,length+argsLength}}if(argsLength===0)return length;this._checkCapacity(length+1);var capacity=this._capacity,i=(this._front-1&capacity-1^capacity)-capacity;return this[i]=item,this._length=length+1,this._front=i,length+1};Deque.prototype.peekBack=function(){var length=this._length;if(length!==0){var index=this._front+length-1&this._capacity-1;return this[index]}};Deque.prototype.peekFront=function(){if(this._length!==0)return this[this._front]};Deque.prototype.get=function(index){var i=index;if(i===(i|0)){var len=this._length;if(i<0&&(i=i+len),!(i<0||i>=len))return this[this._front+i&this._capacity-1]}};Deque.prototype.isEmpty=function(){return this._length===0};Deque.prototype.clear=function(){for(var len=this._length,front=this._front,capacity=this._capacity,j=0;j<len;++j)this[front+j&capacity-1]=void 0;this._length=0,this._front=0};Deque.prototype.toString=function(){return this.toArray().toString()};Deque.prototype.valueOf=Deque.prototype.toString;Deque.prototype.removeFront=Deque.prototype.shift;Deque.prototype.removeBack=Deque.prototype.pop;Deque.prototype.insertFront=Deque.prototype.unshift;Deque.prototype.insertBack=Deque.prototype.push;Deque.prototype.enqueue=Deque.prototype.push;Deque.prototype.dequeue=Deque.prototype.shift;Deque.prototype.toJSON=Deque.prototype.toArray;Object.defineProperty(Deque.prototype,"length",{get:function(){return this._length},set:function(){throw new RangeError("")}});Deque.prototype._checkCapacity=function(size){this._capacity<size&&this._resizeTo(getCapacity(this._capacity*1.5+16))};Deque.prototype._resizeTo=function(capacity){var oldCapacity=this._capacity;this._capacity=capacity;var front=this._front,length=this._length;if(front+length>oldCapacity){var moveItemsCount=front+length&oldCapacity-1;arrayMove(this,0,this,oldCapacity,moveItemsCount)}};var isArray=Array.isArray;function arrayMove(src,srcIndex,dst,dstIndex,len){for(var j=0;j<len;++j)dst[j+dstIndex]=src[j+srcIndex],src[j+srcIndex]=void 0}function pow2AtLeast(n){return n=n>>>0,n=n-1,n=n|n>>1,n=n|n>>2,n=n|n>>4,n=n|n>>8,n=n|n>>16,n+1}function getCapacity(capacity){if(typeof capacity!="number")if(isArray(capacity))capacity=capacity.length;else return 16;return pow2AtLeast(Math.min(Math.max(16,capacity),1073741824))}module2.exports=Deque}});var require_async_sema=__commonJS({"../../node_modules/.pnpm/async-sema@2.1.4/node_modules/async-sema/index.js"(exports2,module2){var EventEmitter=require("events"),util=require("util"),Deque=require_deque(),ReleaseEmitter=class extends EventEmitter{};function isFn(x){return typeof x=="function"}function defaultInit(){return"1"}var Sema5=class{constructor(nr,{initFn=defaultInit,pauseFn,resumeFn,capacity=10}={}){if(isFn(pauseFn)^isFn(resumeFn))throw new Error("pauseFn and resumeFn must be both set for pausing");this.nrTokens=nr,this.free=new Deque(nr),this.waiting=new Deque(capacity),this.releaseEmitter=new ReleaseEmitter,this.noTokens=initFn===defaultInit,this.pauseFn=pauseFn,this.resumeFn=resumeFn,this.releaseEmitter.on("release",token=>{let p=this.waiting.shift();p?p.resolve(token):(this.resumeFn&&this.paused&&(this.paused=!1,this.resumeFn()),this.free.push(token))});for(let i=0;i<nr;i++)this.free.push(initFn())}async acquire(){let token=this.free.pop();return token||new Promise((resolve4,reject)=>{this.pauseFn&&!this.paused&&(this.paused=!0,this.pauseFn()),this.waiting.push({resolve:resolve4,reject})})}async v(){return this.acquire()}release(token){this.releaseEmitter.emit("release",this.noTokens?"1":token)}p(token){return this.release(token)}drain(){let a=new Array(this.nrTokens);for(let i=0;i<this.nrTokens;i++)a[i]=this.acquire();return Promise.all(a)}nrWaiting(){return this.waiting.length}};Sema5.prototype.v=util.deprecate(Sema5.prototype.v,"`v()` is deperecated; use `acquire()` instead");Sema5.prototype.p=util.deprecate(Sema5.prototype.p,"`p()` is deprecated; use `release()` instead");module2.exports=Sema5}});var file_fs_ref_exports={};__export(file_fs_ref_exports,{default:()=>file_fs_ref_default});var import_assert2,import_fs_extra,import_multistream,import_path,import_async_sema,semaToPreventEMFILE,FileFsRef,file_fs_ref_default,init_file_fs_ref=__esm({"src/file-fs-ref.ts"(){"use strict";import_assert2=__toESM(require("assert")),import_fs_extra=__toESM(require_lib()),import_multistream=__toESM(require_multistream()),import_path=__toESM(require("path")),import_async_sema=__toESM(require_async_sema()),semaToPreventEMFILE=new import_async_sema.default(20),FileFsRef=class _FileFsRef{constructor({mode=33188,contentType,fsPath,size}){(0,import_assert2.default)(typeof mode=="number"),(0,import_assert2.default)(typeof fsPath=="string"),this.type="FileFsRef",this.mode=mode,this.contentType=contentType,this.fsPath=fsPath,this.size=size}static async fromFsPath({mode,contentType,fsPath,size}){let m=mode,s=size;if(!m||typeof s>"u"){let stat=await import_fs_extra.default.lstat(fsPath);m=stat.mode,s=stat.size}return new _FileFsRef({mode:m,contentType,fsPath,size:s})}static async fromStream({mode=33188,contentType,stream,fsPath}){return(0,import_assert2.default)(typeof mode=="number"),(0,import_assert2.default)(typeof stream.pipe=="function"),(0,import_assert2.default)(typeof fsPath=="string"),await import_fs_extra.default.mkdirp(import_path.default.dirname(fsPath)),await new Promise((resolve4,reject)=>{let dest=import_fs_extra.default.createWriteStream(fsPath,{mode:mode&511});stream.pipe(dest),stream.on("error",reject),dest.on("finish",resolve4),dest.on("error",reject)}),_FileFsRef.fromFsPath({mode,contentType,fsPath})}async toStreamAsync(){await semaToPreventEMFILE.acquire();let release=()=>semaToPreventEMFILE.release(),stream=import_fs_extra.default.createReadStream(this.fsPath);return stream.on("close",release),stream.on("error",release),stream}toStream(){let flag=!1;return(0,import_multistream.default)(cb=>{if(flag)return cb(null,null);flag=!0,this.toStreamAsync().then(stream=>{cb(null,stream)}).catch(error=>{cb(error,null)})})}},file_fs_ref_default=FileFsRef}});var require_retry_operation=__commonJS({"../../node_modules/.pnpm/retry@0.12.0/node_modules/retry/lib/retry_operation.js"(exports2,module2){function RetryOperation(timeouts,options){typeof options=="boolean"&&(options={forever:options}),this._originalTimeouts=JSON.parse(JSON.stringify(timeouts)),this._timeouts=timeouts,this._options=options||{},this._maxRetryTime=options&&options.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}module2.exports=RetryOperation;RetryOperation.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts};RetryOperation.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timeouts=[],this._cachedTimeouts=null};RetryOperation.prototype.retry=function(err){if(this._timeout&&clearTimeout(this._timeout),!err)return!1;var currentTime=new Date().getTime();if(err&¤tTime-this._operationStart>=this._maxRetryTime)return this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(err);var timeout=this._timeouts.shift();if(timeout===void 0)if(this._cachedTimeouts)this._errors.splice(this._errors.length-1,this._errors.length),this._timeouts=this._cachedTimeouts.slice(0),timeout=this._timeouts.shift();else return!1;var self2=this,timer=setTimeout(function(){self2._attempts++,self2._operationTimeoutCb&&(self2._timeout=setTimeout(function(){self2._operationTimeoutCb(self2._attempts)},self2._operationTimeout),self2._options.unref&&self2._timeout.unref()),self2._fn(self2._attempts)},timeout);return this._options.unref&&timer.unref(),!0};RetryOperation.prototype.attempt=function(fn,timeoutOps){this._fn=fn,timeoutOps&&(timeoutOps.timeout&&(this._operationTimeout=timeoutOps.timeout),timeoutOps.cb&&(this._operationTimeoutCb=timeoutOps.cb));var self2=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){self2._operationTimeoutCb()},self2._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)};RetryOperation.prototype.try=function(fn){console.log("Using RetryOperation.try() is deprecated"),this.attempt(fn)};RetryOperation.prototype.start=function(fn){console.log("Using RetryOperation.start() is deprecated"),this.attempt(fn)};RetryOperation.prototype.start=RetryOperation.prototype.try;RetryOperation.prototype.errors=function(){return this._errors};RetryOperation.prototype.attempts=function(){return this._attempts};RetryOperation.prototype.mainError=function(){if(this._errors.length===0)return null;for(var counts={},mainError=null,mainErrorCount=0,i=0;i<this._errors.length;i++){var error=this._errors[i],message=error.message,count=(counts[message]||0)+1;counts[message]=count,count>=mainErrorCount&&(mainError=error,mainErrorCount=count)}return mainError}}});var require_retry=__commonJS({"../../node_modules/.pnpm/retry@0.12.0/node_modules/retry/lib/retry.js"(exports2){var RetryOperation=require_retry_operation();exports2.operation=function(options){var timeouts=exports2.timeouts(options);return new RetryOperation(timeouts,{forever:options&&options.forever,unref:options&&options.unref,maxRetryTime:options&&options.maxRetryTime})};exports2.timeouts=function(options){if(options instanceof Array)return[].concat(options);var opts={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var key in options)opts[key]=options[key];if(opts.minTimeout>opts.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var timeouts=[],i=0;i<opts.retries;i++)timeouts.push(this.createTimeout(i,opts));return options&&options.forever&&!timeouts.length&&timeouts.push(this.createTimeout(i,opts)),timeouts.sort(function(a,b){return a-b}),timeouts};exports2.createTimeout=function(attempt,opts){var random=opts.randomize?Math.random()+1:1,timeout=Math.round(random*opts.minTimeout*Math.pow(opts.factor,attempt));return timeout=Math.min(timeout,opts.maxTimeout),timeout};exports2.wrap=function(obj,options,methods){if(options instanceof Array&&(methods=options,options=null),!methods){methods=[];for(var key in obj)typeof obj[key]=="function"&&methods.push(key)}for(var i=0;i<methods.length;i++){var method=methods[i],original=obj[method];obj[method]=function(original2){var op=exports2.operation(options),args=Array.prototype.slice.call(arguments,1),callback=args.pop();args.push(function(err){op.retry(err)||(err&&(arguments[0]=op.mainError()),callback.apply(this,arguments))}),op.attempt(function(){original2.apply(obj,args)})}.bind(obj,original),obj[method].options=options}}}});var require_retry2=__commonJS({"../../node_modules/.pnpm/retry@0.12.0/node_modules/retry/index.js"(exports2,module2){module2.exports=require_retry()}});var require_lib2=__commonJS({"../../node_modules/.pnpm/async-retry@1.2.3/node_modules/async-retry/lib/index.js"(exports2,module2){var retrier=require_retry2();function retry2(fn,opts){function run(resolve4,reject){var options=opts||{},op=retrier.operation(options);function bail(err){reject(err||new Error("Aborted"))}function onError(err,num){if(err.bail){bail(err);return}op.retry(err)?options.onRetry&&options.onRetry(err,num):reject(op.mainError())}function runAttempt(num){var val;try{val=fn(bail,num)}catch(err){onError(err,num);return}Promise.resolve(val).then(resolve4).catch(function(err){onError(err,num)})}op.attempt(runAttempt)}return new Promise(run)}module2.exports=retry2}});var file_ref_exports={};__export(file_ref_exports,{default:()=>FileRef});function getEnvAsUrlOrThrow(key){let value=process.env[key];if(value!==void 0)try{return new URL(value),value}catch(e){throw e instanceof TypeError&&"code"in e&&e.code==="ERR_INVALID_URL"?new Error(`A non-URL value was supplied to the ${key} environment variable`):e}}var import_assert3,import_stream,import_multistream2,import_async_retry,import_async_sema2,semaToDownloadFromS3,BailableError,FileRef,init_file_ref=__esm({"src/file-ref.ts"(){"use strict";import_assert3=__toESM(require("assert")),import_stream=require("stream"),import_multistream2=__toESM(require_multistream()),import_async_retry=__toESM(require_lib2()),import_async_sema2=__toESM(require_async_sema()),semaToDownloadFromS3=new import_async_sema2.default(5),BailableError=class extends Error{constructor(...args){super(...args);this.bail=!1}},FileRef=class{constructor({mode=33188,digest,contentType,mutable=!1}){(0,import_assert3.default)(typeof mode=="number"),(0,import_assert3.default)(typeof digest=="string"),this.type="FileRef",this.mode=mode,this.digest=digest,this.contentType=contentType,this.mutable=mutable}getNowFilesCloudfrontUrl(){return getEnvAsUrlOrThrow("NOW_FILES_CLOUDFRONT_URL")||"https://dmmcy0pwk6bqi.cloudfront.net"}getNowEphemeralFilesS3Url(){return getEnvAsUrlOrThrow("NOW_EPHEMERAL_FILES_S3_URL")||"https://now-ephemeral-files.s3.amazonaws.com"}getNowFilesS3Url(){return getEnvAsUrlOrThrow("NOW_FILES_S3_URL")||"https://now-files.s3.amazonaws.com"}async toStreamAsync(){let url="",[digestType,digestHash]=this.digest.split(":");if(digestType==="sha")url=this.mutable?`${this.getNowFilesS3Url()}/${digestHash}`:`${this.getNowFilesCloudfrontUrl()}/${digestHash}`;else if(digestType==="sha+ephemeral")url=`${this.getNowEphemeralFilesS3Url()}/${digestHash}`;else throw new Error("Expected digest to be sha");await semaToDownloadFromS3.acquire();try{return await(0,import_async_retry.default)(async()=>{let resp=await fetch(url);if(!resp.ok||!resp.body){let error=new BailableError(`download: ${resp.status} ${resp.statusText} for ${url}`);throw resp.status===403&&(error.bail=!0),await resp.body?.cancel().catch(()=>{}),error}return import_stream.Readable.fromWeb(resp.body)},{factor:1,retries:3})}finally{semaToDownloadFromS3.release()}}toStream(){let flag=!1;return(0,import_multistream2.default)(cb=>{if(flag)return cb(null,null);flag=!0,this.toStreamAsync().then(stream=>{cb(null,stream)}).catch(error=>{cb(error,null)})})}}}});function validateMaxConcurrency(value){value!==void 0&&(0,import_assert4.default)(Number.isInteger(value)&&value>=1&&value<=MAX_CONCURRENCY,'"maxConcurrency" must be an integer from 1 to 8192')}var import_assert4,MAX_CONCURRENCY,init_max_concurrency=__esm({"src/max-concurrency.ts"(){"use strict";import_assert4=__toESM(require("assert")),MAX_CONCURRENCY=8192}});var require_buffer_crc32=__commonJS({"../../node_modules/.pnpm/buffer-crc32@0.2.13/node_modules/buffer-crc32/index.js"(exports2,module2){var Buffer2=require("buffer").Buffer,CRC_TABLE=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];typeof Int32Array<"u"&&(CRC_TABLE=new Int32Array(CRC_TABLE));function ensureBuffer(input){if(Buffer2.isBuffer(input))return input;var hasNewBufferAPI=typeof Buffer2.alloc=="function"&&typeof Buffer2.from=="function";if(typeof input=="number")return hasNewBufferAPI?Buffer2.alloc(input):new Buffer2(input);if(typeof input=="string")return hasNewBufferAPI?Buffer2.from(input):new Buffer2(input);throw new Error("input must be buffer, number, or string, received "+typeof input)}function bufferizeInt(num){var tmp=ensureBuffer(4);return tmp.writeInt32BE(num,0),tmp}function _crc32(buf,previous){buf=ensureBuffer(buf),Buffer2.isBuffer(previous)&&(previous=previous.readUInt32BE(0));for(var crc=~~previous^-1,n=0;n<buf.length;n++)crc=CRC_TABLE[(crc^buf[n])&255]^crc>>>8;return crc^-1}function crc32(){return bufferizeInt(_crc32.apply(null,arguments))}crc32.signed=function(){return _crc32.apply(null,arguments)};crc32.unsigned=function(){return _crc32.apply(null,arguments)>>>0};module2.exports=crc32}});var require_yazl=__commonJS({"../../node_modules/.pnpm/yazl@2.5.1/node_modules/yazl/index.js"(exports2){var fs14=require("fs"),Transform=require("stream").Transform,PassThrough=require("stream").PassThrough,zlib=require("zlib"),util=require("util"),EventEmitter=require("events").EventEmitter,crc32=require_buffer_crc32();exports2.ZipFile=ZipFile2;exports2.dateToDosDateTime=dateToDosDateTime;util.inherits(ZipFile2,EventEmitter);function ZipFile2(){this.outputStream=new PassThrough,this.entries=[],this.outputStreamCursor=0,this.ended=!1,this.allDone=!1,this.forceZip64Eocd=!1}ZipFile2.prototype.addFile=function(realPath,metadataPath,options){var self2=this;metadataPath=validateMetadataPath(metadataPath,!1),options==null&&(options={});var entry=new Entry(metadataPath,!1,options);self2.entries.push(entry),fs14.stat(realPath,function(err,stats){if(err)return self2.emit("error",err);if(!stats.isFile())return self2.emit("error",new Error("not a file: "+realPath));entry.uncompressedSize=stats.size,options.mtime==null&&entry.setLastModDate(stats.mtime),options.mode==null&&entry.setFileAttributesMode(stats.mode),entry.setFileDataPumpFunction(function(){var readStream=fs14.createReadStream(realPath);entry.state=Entry.FILE_DATA_IN_PROGRESS,readStream.on("error",function(err2){self2.emit("error",err2)}),pumpFileDataReadStream(self2,entry,readStream)}),pumpEntries(self2)})};ZipFile2.prototype.addReadStream=function(readStream,metadataPath,options){var self2=this;metadataPath=validateMetadataPath(metadataPath,!1),options==null&&(options={});var entry=new Entry(metadataPath,!1,options);self2.entries.push(entry),entry.setFileDataPumpFunction(function(){entry.state=Entry.FILE_DATA_IN_PROGRESS,pumpFileDataReadStream(self2,entry,readStream)}),pumpEntries(self2)};ZipFile2.prototype.addBuffer=function(buffer,metadataPath,options){var self2=this;if(metadataPath=validateMetadataPath(metadataPath,!1),buffer.length>1073741823)throw new Error("buffer too large: "+buffer.length+" > 1073741823");if(options==null&&(options={}),options.size!=null)throw new Error("options.size not allowed");var entry=new Entry(metadataPath,!1,options);entry.uncompressedSize=buffer.length,entry.crc32=crc32.unsigned(buffer),entry.crcAndFileSizeKnown=!0,self2.entries.push(entry),entry.compress?zlib.deflateRaw(buffer,function(err,compressedBuffer){setCompressedBuffer(compressedBuffer)}):setCompressedBuffer(buffer);function setCompressedBuffer(compressedBuffer){entry.compressedSize=compressedBuffer.length,entry.setFileDataPumpFunction(function(){writeToOutputStream(self2,compressedBuffer),writeToOutputStream(self2,entry.getDataDescriptor()),entry.state=Entry.FILE_DATA_DONE,setImmediate(function(){pumpEntries(self2)})}),pumpEntries(self2)}};ZipFile2.prototype.addEmptyDirectory=function(metadataPath,options){var self2=this;if(metadataPath=validateMetadataPath(metadataPath,!0),options==null&&(options={}),options.size!=null)throw new Error("options.size not allowed");if(options.compress!=null)throw new Error("options.compress not allowed");var entry=new Entry(metadataPath,!0,options);self2.entries.push(entry),entry.setFileDataPumpFunction(function(){writeToOutputStream(self2,entry.getDataDescriptor()),entry.state=Entry.FILE_DATA_DONE,pumpEntries(self2)}),pumpEntries(self2)};var eocdrSignatureBuffer=bufferFrom([80,75,5,6]);ZipFile2.prototype.end=function(options,finalSizeCallback){if(typeof options=="function"&&(finalSizeCallback=options,options=null),options==null&&(options={}),!this.ended){if(this.ended=!0,this.finalSizeCallback=finalSizeCallback,this.forceZip64Eocd=!!options.forceZip64Format,options.comment){if(typeof options.comment=="string"?this.comment=encodeCp437(options.comment):this.comment=options.comment,this.comment.length>65535)throw new Error("comment is too large");if(bufferIncludes(this.comment,eocdrSignatureBuffer))throw new Error("comment contains end of central directory record signature")}else this.comment=EMPTY_BUFFER;pumpEntries(this)}};function writeToOutputStream(self2,buffer){self2.outputStream.write(buffer),self2.outputStreamCursor+=buffer.length}function pumpFileDataReadStream(self2,entry,readStream){var crc32Watcher=new Crc32Watcher,uncompressedSizeCounter=new ByteCounter,compressor=entry.compress?new zlib.DeflateRaw:new PassThrough,compressedSizeCounter=new ByteCounter;readStream.pipe(crc32Watcher).pipe(uncompressedSizeCounter).pipe(compressor).pipe(compressedSizeCounter).pipe(self2.outputStream,{end:!1}),compressedSizeCounter.on("end",function(){if(entry.crc32=crc32Watcher.crc32,entry.uncompressedSize==null)entry.uncompressedSize=uncompressedSizeCounter.byteCount;else if(entry.uncompressedSize!==uncompressedSizeCounter.byteCount)return self2.emit("error",new Error("file data stream has unexpected number of bytes"));entry.compressedSize=compressedSizeCounter.byteCount,self2.outputStreamCursor+=entry.compressedSize,writeToOutputStream(self2,entry.getDataDescriptor()),entry.state=Entry.FILE_DATA_DONE,pumpEntries(self2)})}function pumpEntries(self2){if(self2.allDone)return;if(self2.ended&&self2.finalSizeCallback!=null){var finalSize=calculateFinalSize(self2);finalSize!=null&&(self2.finalSizeCallback(finalSize),self2.finalSizeCallback=null)}var entry=getFirstNotDoneEntry();function getFirstNotDoneEntry(){for(var i=0;i<self2.entries.length;i++){var entry2=self2.entries[i];if(entry2.state<Entry.FILE_DATA_DONE)return entry2}return null}if(entry!=null){if(entry.state<Entry.READY_TO_PUMP_FILE_DATA||entry.state===Entry.FILE_DATA_IN_PROGRESS)return;entry.relativeOffsetOfLocalHeader=self2.outputStreamCursor;var localFileHeader=entry.getLocalFileHeader();writeToOutputStream(self2,localFileHeader),entry.doFileDataPump()}else self2.ended&&(self2.offsetOfStartOfCentralDirectory=self2.outputStreamCursor,self2.entries.forEach(function(entry2){var centralDirectoryRecord=entry2.getCentralDirectoryRecord();writeToOutputStream(self2,centralDirectoryRecord)}),writeToOutputStream(self2,getEndOfCentralDirectoryRecord(self2)),self2.outputStream.end(),self2.allDone=!0)}function calculateFinalSize(self2){for(var pretendOutputCursor=0,centralDirectorySize=0,i=0;i<self2.entries.length;i++){var entry=self2.entries[i];if(entry.compress)return-1;if(entry.state>=Entry.READY_TO_PUMP_FILE_DATA){if(entry.uncompressedSize==null)return-1}else if(entry.uncompressedSize==null)return null;entry.relativeOffsetOfLocalHeader=pretendOutputCursor;var useZip64Format=entry.useZip64Format();pretendOutputCursor+=LOCAL_FILE_HEADER_FIXED_SIZE+entry.utf8FileName.length,pretendOutputCursor+=entry.uncompressedSize,entry.crcAndFileSizeKnown||(useZip64Format?pretendOutputCursor+=ZIP64_DATA_DESCRIPTOR_SIZE:pretendOutputCursor+=DATA_DESCRIPTOR_SIZE),centralDirectorySize+=CENTRAL_DIRECTORY_RECORD_FIXED_SIZE+entry.utf8FileName.length+entry.fileComment.length,useZip64Format&&(centralDirectorySize+=ZIP64_EXTENDED_INFORMATION_EXTRA_FIELD_SIZE)}var endOfCentralDirectorySize=0;return(self2.forceZip64Eocd||self2.entries.length>=65535||centralDirectorySize>=65535||pretendOutputCursor>=4294967295)&&(endOfCentralDirectorySize+=ZIP64_END_OF_CENTRAL_DIRECTORY_RECORD_SIZE+ZIP64_END_OF_CENTRAL_DIRECTORY_LOCATOR_SIZE),endOfCentralDirectorySize+=END_OF_CENTRAL_DIRECTORY_RECORD_SIZE+self2.comment.length,pretendOutputCursor+centralDirectorySize+endOfCentralDirectorySize}var ZIP64_END_OF_CENTRAL_DIRECTORY_RECORD_SIZE=56,ZIP64_END_OF_CENTRAL_DIRECTORY_LOCATOR_SIZE=20,END_OF_CENTRAL_DIRECTORY_RECORD_SIZE=22;function getEndOfCentralDirectoryRecord(self2,actuallyJustTellMeHowLongItWouldBe){var needZip64Format=!1,normalEntriesLength=self2.entries.length;(self2.forceZip64Eocd||self2.entries.length>=65535)&&(normalEntriesLength=65535,needZip64Format=!0);var sizeOfCentralDirectory=self2.outputStreamCursor-self2.offsetOfStartOfCentralDirectory,normalSizeOfCentralDirectory=sizeOfCentralDirectory;(self2.forceZip64Eocd||sizeOfCentralDirectory>=4294967295)&&(normalSizeOfCentralDirectory=4294967295,needZip64Format=!0);var normalOffsetOfStartOfCentralDirectory=self2.offsetOfStartOfCentralDirectory;if((self2.forceZip64Eocd||self2.offsetOfStartOfCentralDirectory>=4294967295)&&(normalOffsetOfStartOfCentralDirectory=4294967295,needZip64Format=!0),actuallyJustTellMeHowLongItWouldBe)return needZip64Format?ZIP64_END_OF_CENTRAL_DIRECTORY_RECORD_SIZE+ZIP64_END_OF_CENTRAL_DIRECTORY_LOCATOR_SIZE+END_OF_CENTRAL_DIRECTORY_RECORD_SIZE:END_OF_CENTRAL_DIRECTORY_RECORD_SIZE;var eocdrBuffer=bufferAlloc(END_OF_CENTRAL_DIRECTORY_RECORD_SIZE+self2.comment.length);if(eocdrBuffer.writeUInt32LE(101010256,0),eocdrBuffer.writeUInt16LE(0,4),eocdrBuffer.writeUInt16LE(0,6),eocdrBuffer.writeUInt16LE(normalEntriesLength,8),eocdrBuffer.writeUInt16LE(normalEntriesLength,10),eocdrBuffer.writeUInt32LE(normalSizeOfCentralDirectory,12),eocdrBuffer.writeUInt32LE(normalOffsetOfStartOfCentralDirectory,16),eocdrBuffer.writeUInt16LE(self2.comment.length,20),self2.comment.copy(eocdrBuffer,22),!needZip64Format)return eocdrBuffer;var zip64EocdrBuffer=bufferAlloc(ZIP64_END_OF_CENTRAL_DIRECTORY_RECORD_SIZE);zip64EocdrBuffer.writeUInt32LE(101075792,0),writeUInt64LE(zip64EocdrBuffer,ZIP64_END_OF_CENTRAL_DIRECTORY_RECORD_SIZE-12,4),zip64EocdrBuffer.writeUInt16LE(VERSION_MADE_BY,12),zip64EocdrBuffer.writeUInt16LE(VERSION_NEEDED_TO_EXTRACT_ZIP64,14),zip64EocdrBuffer.writeUInt32LE(0,16),zip64EocdrBuffer.writeUInt32LE(0,20),writeUInt64LE(zip64EocdrBuffer,self2.entries.length,24),writeUInt64LE(zip64EocdrBuffer,self2.entries.length,32),writeUInt64LE(zip64EocdrBuffer,sizeOfCentralDirectory,40),writeUInt64LE(zip64EocdrBuffer,self2.offsetOfStartOfCentralDirectory,48);var zip64EocdlBuffer=bufferAlloc(ZIP64_END_OF_CENTRAL_DIRECTORY_LOCATOR_SIZE);return zip64EocdlBuffer.writeUInt32LE(117853008,0),zip64EocdlBuffer.writeUInt32LE(0,4),writeUInt64LE(zip64EocdlBuffer,self2.outputStreamCursor,8),zip64EocdlBuffer.writeUInt32LE(1,16),Buffer.concat([zip64EocdrBuffer,zip64EocdlBuffer,eocdrBuffer])}function validateMetadataPath(metadataPath,isDirectory2){if(metadataPath==="")throw new Error("empty metadataPath");if(metadataPath=metadataPath.replace(/\\/g,"/"),/^[a-zA-Z]:/.test(metadataPath)||/^\//.test(metadataPath))throw new Error("absolute path: "+metadataPath);if(metadataPath.split("/").indexOf("..")!==-1)throw new Error("invalid relative path: "+metadataPath);var looksLikeDirectory=/\/$/.test(metadataPath);if(isDirectory2)looksLikeDirectory||(metadataPath+="/");else if(looksLikeDirectory)throw new Error("file path cannot end with '/': "+metadataPath);return metadataPath}var EMPTY_BUFFER=bufferAlloc(0);function Entry(metadataPath,isDirectory2,options){if(this.utf8FileName=bufferFrom(metadataPath),this.utf8FileName.length>65535)throw new Error("utf8 file name too long. "+utf8FileName.length+" > 65535");if(this.isDirectory=isDirectory2,this.state=Entry.WAITING_FOR_METADATA,this.setLastModDate(options.mtime!=null?options.mtime:new Date),options.mode!=null?this.setFileAttributesMode(options.mode):this.setFileAttributesMode(isDirectory2?16893:33204),isDirectory2?(this.crcAndFileSizeKnown=!0,this.crc32=0,this.uncompressedSize=0,this.compressedSize=0):(this.crcAndFileSizeKnown=!1,this.crc32=null,this.uncompressedSize=null,this.compressedSize=null,options.size!=null&&(this.uncompressedSize=options.size)),isDirectory2?this.compress=!1:(this.compress=!0,options.compress!=null&&(this.compress=!!options.compress)),this.forceZip64Format=!!options.forceZip64Format,options.fileComment){if(typeof options.fileComment=="string"?this.fileComment=bufferFrom(options.fileComment,"utf-8"):this.fileComment=options.fileComment,this.fileComment.length>65535)throw new Error("fileComment is too large")}else this.fileComment=EMPTY_BUFFER}Entry.WAITING_FOR_METADATA=0;Entry.READY_TO_PUMP_FILE_DATA=1;Entry.FILE_DATA_IN_PROGRESS=2;Entry.FILE_DATA_DONE=3;Entry.prototype.setLastModDate=function(date){var dosDateTime=dateToDosDateTime(date);this.lastModFileTime=dosDateTime.time,this.lastModFileDate=dosDateTime.date};Entry.prototype.setFileAttributesMode=function(mode){if((mode&65535)!==mode)throw new Error("invalid mode. expected: 0 <= "+mode+" <= 65535");this.externalFileAttributes=mode<<16>>>0};Entry.prototype.setFileDataPumpFunction=function(doFileDataPump){this.doFileDataPump=doFileDataPump,this.state=Entry.READY_TO_PUMP_FILE_DATA};Entry.prototype.useZip64Format=function(){return this.forceZip64Format||this.uncompressedSize!=null&&this.uncompressedSize>4294967294||this.compressedSize!=null&&this.compressedSize>4294967294||this.relativeOffsetOfLocalHeader!=null&&this.relativeOffsetOfLocalHeader>4294967294};var LOCAL_FILE_HEADER_FIXED_SIZE=30,VERSION_NEEDED_TO_EXTRACT_UTF8=20,VERSION_NEEDED_TO_EXTRACT_ZIP64=45,VERSION_MADE_BY=831,FILE_NAME_IS_UTF8=2048,UNKNOWN_CRC32_AND_FILE_SIZES=8;Entry.prototype.getLocalFileHeader=function(){var crc322=0,compressedSize=0,uncompressedSize=0;this.crcAndFileSizeKnown&&(crc322=this.crc32,compressedSize=this.compressedSize,uncompressedSize=this.uncompressedSize);var fixedSizeStuff=bufferAlloc(LOCAL_FILE_HEADER_FIXED_SIZE),generalPurposeBitFlag=FILE_NAME_IS_UTF8;return this.crcAndFileSizeKnown||(generalPurposeBitFlag|=UNKNOWN_CRC32_AND_FILE_SIZES),fixedSizeStuff.writeUInt32LE(67324752,0),fixedSizeStuff.writeUInt16LE(VERSION_NEEDED_TO_EXTRACT_UTF8,4),fixedSizeStuff.writeUInt16LE(generalPurposeBitFlag,6),fixedSizeStuff.writeUInt16LE(this.getCompressionMethod(),8),fixedSizeStuff.writeUInt16LE(this.lastModFileTime,10),fixedSizeStuff.writeUInt16LE(this.lastModFileDate,12),fixedSizeStuff.writeUInt32LE(crc322,14),fixedSizeStuff.writeUInt32LE(compressedSize,18),fixedSizeStuff.writeUInt32LE(uncompressedSize,22),fixedSizeStuff.writeUInt16LE(this.utf8FileName.length,26),fixedSizeStuff.writeUInt16LE(0,28),Buffer.concat([fixedSizeStuff,this.utf8FileName])};var DATA_DESCRIPTOR_SIZE=16,ZIP64_DATA_DESCRIPTOR_SIZE=24;Entry.prototype.getDataDescriptor=function(){if(this.crcAndFileSizeKnown)return EMPTY_BUFFER;if(this.useZip64Format()){var buffer=bufferAlloc(ZIP64_DATA_DESCRIPTOR_SIZE);return buffer.writeUInt32LE(134695760,0),buffer.writeUInt32LE(this.crc32,4),writeUInt64LE(buffer,this.compressedSize,8),writeUInt64LE(buffer,this.uncompressedSize,16),buffer}else{var buffer=bufferAlloc(DATA_DESCRIPTOR_SIZE);return buffer.writeUInt32LE(134695760,0),buffer.writeUInt32LE(this.crc32,4),buffer.writeUInt32LE(this.compressedSize,8),buffer.writeUInt32LE(this.uncompressedSize,12),buffer}};var CENTRAL_DIRECTORY_RECORD_FIXED_SIZE=46,ZIP64_EXTENDED_INFORMATION_EXTRA_FIELD_SIZE=28;Entry.prototype.getCentralDirectoryRecord=function(){var fixedSizeStuff=bufferAlloc(CENTRAL_DIRECTORY_RECORD_FIXED_SIZE),generalPurposeBitFlag=FILE_NAME_IS_UTF8;this.crcAndFileSizeKnown||(generalPurposeBitFlag|=UNKNOWN_CRC32_AND_FILE_SIZES);var normalCompressedSize=this.compressedSize,normalUncompressedSize=this.uncompressedSize,normalRelativeOffsetOfLocalHeader=this.relativeOffsetOfLocalHeader,versionNeededToExtract,zeiefBuffer;return this.useZip64Format()?(normalCompressedSize=4294967295,normalUncompressedSize=4294967295,normalRelativeOffsetOfLocalHeader=4294967295,versionNeededToExtract=VERSION_NEEDED_TO_EXTRACT_ZIP64,zeiefBuffer=bufferAlloc(ZIP64_EXTENDED_INFORMATION_EXTRA_FIELD_SIZE),zeiefBuffer.writeUInt16LE(1,0),zeiefBuffer.writeUInt16LE(ZIP64_EXTENDED_INFORMATION_EXTRA_FIELD_SIZE-4,2),writeUInt64LE(zeiefBuffer,this.uncompressedSize,4),writeUInt64LE(zeiefBuffer,this.compressedSize,12),writeUInt64LE(zeiefBuffer,this.relativeOffsetOfLocalHeader,20)):(versionNeededToExtract=VERSION_NEEDED_TO_EXTRACT_UTF8,zeiefBuffer=EMPTY_BUFFER),fixedSizeStuff.writeUInt32LE(33639248,0),fixedSizeStuff.writeUInt16LE(VERSION_MADE_BY,4),fixedSizeStuff.writeUInt16LE(versionNeededToExtract,6),fixedSizeStuff.writeUInt16LE(generalPurposeBitFlag,8),fixedSizeStuff.writeUInt16LE(this.getCompressionMethod(),10),fixedSizeStuff.writeUInt16LE(this.lastModFileTime,12),fixedSizeStuff.writeUInt16LE(this.lastModFileDate,14),fixedSizeStuff.writeUInt32LE(this.crc32,16),fixedSizeStuff.writeUInt32LE(normalCompressedSize,20),fixedSizeStuff.writeUInt32LE(normalUncompressedSize,24),fixedSizeStuff.writeUInt16LE(this.utf8FileName.length,28),fixedSizeStuff.writeUInt16LE(zeiefBuffer.length,30),fixedSizeStuff.writeUInt16LE(this.fileComment.length,32),fixedSizeStuff.writeUInt16LE(0,34),fixedSizeStuff.writeUInt16LE(0,36),fixedSizeStuff.writeUInt32LE(this.externalFileAttributes,38),fixedSizeStuff.writeUInt32LE(normalRelativeOffsetOfLocalHeader,42),Buffer.concat([fixedSizeStuff,this.utf8FileName,zeiefBuffer,this.fileComment])};Entry.prototype.getCompressionMethod=function(){var NO_COMPRESSION=0,DEFLATE_COMPRESSION=8;return this.compress?DEFLATE_COMPRESSION:NO_COMPRESSION};function dateToDosDateTime(jsDate){var date=0;date|=jsDate.getDate()&31,date|=(jsDate.getMonth()+1&15)<<5,date|=(jsDate.getFullYear()-1980&127)<<9;var time=0;return time|=Math.floor(jsDate.getSeconds()/2),time|=(jsDate.getMinutes()&63)<<5,time|=(jsDate.getHours()&31)<<11,{date,time}}function writeUInt64LE(buffer,n,offset){var high=Math.floor(n/4294967296),low=n%4294967296;buffer.writeUInt32LE(low,offset),buffer.writeUInt32LE(high,offset+4)}util.inherits(ByteCounter,Transform);function ByteCounter(options){Transform.call(this,options),this.byteCount=0}ByteCounter.prototype._transform=function(chunk,encoding,cb){this.byteCount+=chunk.length,cb(null,chunk)};util.inherits(Crc32Watcher,Transform);function Crc32Watcher(options){Transform.call(this,options),this.crc32=0}Crc32Watcher.prototype._transform=function(chunk,encoding,cb){this.crc32=crc32.unsigned(chunk,this.crc32),cb(null,chunk)};var cp437="\0\u263A\u263B\u2665\u2666\u2663\u2660\u2022\u25D8\u25CB\u25D9\u2642\u2640\u266A\u266B\u263C\u25BA\u25C4\u2195\u203C\xB6\xA7\u25AC\u21A8\u2191\u2193\u2192\u2190\u221F\u2194\u25B2\u25BC !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\u2302\xC7\xFC\xE9\xE2\xE4\xE0\xE5\xE7\xEA\xEB\xE8\xEF\xEE\xEC\xC4\xC5\xC9\xE6\xC6\xF4\xF6\xF2\xFB\xF9\xFF\xD6\xDC\xA2\xA3\xA5\u20A7\u0192\xE1\xED\xF3\xFA\xF1\xD1\xAA\xBA\xBF\u2310\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0";if(cp437.length!==256)throw new Error("assertion failure");var reverseCp437=null;function encodeCp437(string){if(/^[\x20-\x7e]*$/.test(string))return bufferFrom(string,"utf-8");if(reverseCp437==null){reverseCp437={};for(var i=0;i<cp437.length;i++)reverseCp437[cp437[i]]=i}for(var result=bufferAlloc(string.length),i=0;i<string.length;i++){var b=reverseCp437[string[i]];if(b==null)throw new Error("character not encodable in CP437: "+JSON.stringify(string[i]));result[i]=b}return result}function bufferAlloc(size){bufferAlloc=modern;try{return bufferAlloc(size)}catch{return bufferAlloc=legacy,bufferAlloc(size)}function modern(size2){return Buffer.allocUnsafe(size2)}function legacy(size2){return new Buffer(size2)}}function bufferFrom(something,encoding){bufferFrom=modern;try{return bufferFrom(something,encoding)}catch{return bufferFrom=legacy,bufferFrom(something,encoding)}function modern(something2,encoding2){return Buffer.from(something2,encoding2)}function legacy(something2,encoding2){return new Buffer(something2,encoding2)}}function bufferIncludes(buffer,content){bufferIncludes=modern;try{return bufferIncludes(buffer,content)}catch{return bufferIncludes=legacy,bufferIncludes(buffer,content)}function modern(buffer2,content2){return buffer2.includes(content2)}function legacy(buffer2,content2){for(var i=0;i<=buffer2.length-content2.length;i++)for(var j=0;;j++){if(j===content2.length)return!0;if(buffer2[i+j]!==content2[j])break}return!1}}}});var require_concat_map=__commonJS({"../../node_modules/.pnpm/concat-map@0.0.1/node_modules/concat-map/index.js"(exports2,module2){module2.exports=function(xs,fn){for(var res=[],i=0;i<xs.length;i++){var x=fn(xs[i],i);isArray(x)?res.push.apply(res,x):res.push(x)}return res};var isArray=Array.isArray||function(xs){return Object.prototype.toString.call(xs)==="[object Array]"}}});var require_balanced_match=__commonJS({"../../node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.js"(exports2,module2){"use strict";module2.exports=balanced;function balanced(a,b,str){a instanceof RegExp&&(a=maybeMatch(a,str)),b instanceof RegExp&&(b=maybeMatch(b,str));var r=range(a,b,str);return r&&{start:r[0],end:r[1],pre:str.slice(0,r[0]),body:str.slice(r[0]+a.length,r[1]),post:str.slice(r[1]+b.length)}}function maybeMatch(reg,str){var m=str.match(reg);return m?m[0]:null}balanced.range=range;function range(a,b,str){var begs,beg,left,right,result,ai=str.indexOf(a),bi=str.indexOf(b,ai+1),i=ai;if(ai>=0&&bi>0){if(a===b)return[ai,bi];for(begs=[],left=str.length;i>=0&&!result;)i==ai?(begs.push(i),ai=str.indexOf(a,i+1)):begs.length==1?result=[begs.pop(),bi]:(beg=begs.pop(),beg<left&&(left=beg,right=bi),bi=str.indexOf(b,i+1)),i=ai<bi&&ai>=0?ai:bi;begs.length&&(result=[left,right])}return result}}});var require_brace_expansion=__commonJS({"../../node_modules/.pnpm/brace-expansion@1.1.15/node_modules/brace-expansion/index.js"(exports2,module2){var concatMap=require_concat_map(),balanced=require_balanced_match();module2.exports=expandTop;var escSlash="\0SLASH"+Math.random()+"\0",escOpen="\0OPEN"+Math.random()+"\0",escClose="\0CLOSE"+Math.random()+"\0",escComma="\0COMMA"+Math.random()+"\0",escPeriod="\0PERIOD"+Math.random()+"\0";function numeric(str){return parseInt(str,10)==str?parseInt(str,10):str.charCodeAt(0)}function escapeBraces(str){return str.split("\\\\").join(escSlash).split("\\{").join(escOpen).split("\\}").join(escClose).split("\\,").join(escComma).split("\\.").join(escPeriod)}function unescapeBraces(str){return str.split(escSlash).join("\\").split(escOpen).join("{").split(escClose).join("}").split(escComma).join(",").split(escPeriod).join(".")}function parseCommaParts(str){if(!str)return[""];var parts=[],m=balanced("{","}",str);if(!m)return str.split(",");var pre=m.pre,body=m.body,post=m.post,p=pre.split(",");p[p.length-1]+="{"+body+"}";var postParts=parseCommaParts(post);return post.length&&(p[p.length-1]+=postParts.shift(),p.push.apply(p,postParts)),parts.push.apply(parts,p),parts}function expandTop(str,options){if(!str)return[];options=options||{};var max=options.max==null?1/0:options.max;return str.substr(0,2)==="{}"&&(str="\\{\\}"+str.substr(2)),expand(escapeBraces(str),max,!0).map(unescapeBraces)}function embrace(str){return"{"+str+"}"}function isPadded(el){return/^-?0\d/.test(el)}function lte(i,y){return i<=y}function gte2(i,y){return i>=y}function expand(str,max,isTop){var expansions=[],m=balanced("{","}",str);if(!m||/\$$/.test(m.pre))return[str];var isNumericSequence=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body),isAlphaSequence=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body),isSequence=isNumericSequence||isAlphaSequence,isOptions=m.body.indexOf(",")>=0;if(!isSequence&&!isOptions)return m.post.match(/,(?!,).*\}/)?(str=m.pre+"{"+m.body+escClose+m.post,expand(str,max,!0)):[str];var n;if(isSequence)n=m.body.split(/\.\./);else if(n=parseCommaParts(m.body),n.length===1&&(n=expand(n[0],max,!1).map(embrace),n.length===1)){var post=m.post.length?expand(m.post,max,!1):[""];return post.map(function(p){return m.pre+n[0]+p})}var pre=m.pre,post=m.post.length?expand(m.post,max,!1):[""],N;if(isSequence){var x=numeric(n[0]),y=numeric(n[1]),width=Math.max(n[0].length,n[1].length),incr=n.length==3?Math.max(Math.abs(numeric(n[2])),1):1,test=lte,reverse=y<x;reverse&&(incr*=-1,test=gte2);var pad=n.some(isPadded);N=[];for(var i=x;test(i,y)&&N.length<max;i+=incr){var c;if(isAlphaSequence)c=String.fromCharCode(i),c==="\\"&&(c="");else if(c=String(i),pad){var need=width-c.length;if(need>0){var z=new Array(need+1).join("0");i<0?c="-"+z+c.slice(1):c=z+c}}N.push(c)}}else N=concatMap(n,function(el){return expand(el,max,!1)});for(var j=0;j<N.length;j++)for(var k=0;k<post.length&&expansions.length<max;k++){var expansion=pre+N[j]+post[k];(!isTop||isSequence||expansion)&&expansions.push(expansion)}return expansions}}});var require_minimatch=__commonJS({"../../node_modules/.pnpm/minimatch@3.1.2/node_modules/minimatch/minimatch.js"(exports2,module2){module2.exports=minimatch2;minimatch2.Minimatch=Minimatch;var path9=function(){try{return require("path")}catch{}}()||{sep:"/"};minimatch2.sep=path9.sep;var GLOBSTAR=minimatch2.GLOBSTAR=Minimatch.GLOBSTAR={},expand=require_brace_expansion(),plTypes={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},qmark="[^/]",star=qmark+"*?",twoStarDot="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",twoStarNoDot="(?:(?!(?:\\/|^)\\.).)*?",reSpecials=charSet("().*{}+?[]^$\\!");function charSet(s){return s.split("").reduce(function(set,c){return set[c]=!0,set},{})}var slashSplit=/\/+/;minimatch2.filter=filter;function filter(pattern,options){return options=options||{},function(p,i,list){return minimatch2(p,pattern,options)}}function ext(a,b){b=b||{};var t={};return Object.keys(a).forEach(function(k){t[k]=a[k]}),Object.keys(b).forEach(function(k){t[k]=b[k]}),t}minimatch2.defaults=function(def){if(!def||typeof def!="object"||!Object.keys(def).length)return minimatch2;var orig=minimatch2,m=function(p,pattern,options){return orig(p,pattern,ext(def,options))};return m.Minimatch=function(pattern,options){return new orig.Minimatch(pattern,ext(def,options))},m.Minimatch.defaults=function(options){return orig.defaults(ext(def,options)).Minimatch},m.filter=function(pattern,options){return orig.filter(pattern,ext(def,options))},m.defaults=function(options){return orig.defaults(ext(def,options))},m.makeRe=function(pattern,options){return orig.makeRe(pattern,ext(def,options))},m.braceExpand=function(pattern,options){return orig.braceExpand(pattern,ext(def,options))},m.match=function(list,pattern,options){return orig.match(list,pattern,ext(def,options))},m};Minimatch.defaults=function(def){return minimatch2.defaults(def).Minimatch};function minimatch2(p,pattern,options){return assertValidPattern(pattern),options||(options={}),!options.nocomment&&pattern.charAt(0)==="#"?!1:new Minimatch(pattern,options).match(p)}function Minimatch(pattern,options){if(!(this instanceof Minimatch))return new Minimatch(pattern,options);assertValidPattern(pattern),options||(options={}),pattern=pattern.trim(),!options.allowWindowsEscape&&path9.sep!=="/"&&(pattern=pattern.split(path9.sep).join("/")),this.options=options,this.set=[],this.pattern=pattern,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!options.partial,this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){var pattern=this.pattern,options=this.options;if(!options.nocomment&&pattern.charAt(0)==="#"){this.comment=!0;return}if(!pattern){this.empty=!0;return}this.parseNegate();var set=this.globSet=this.braceExpand();options.debug&&(this.debug=function(){console.error.apply(console,arguments)}),this.debug(this.pattern,set),set=this.globParts=set.map(function(s){return s.split(slashSplit)}),this.debug(this.pattern,set),set=set.map(function(s,si,set2){return s.map(this.parse,this)},this),this.debug(this.pattern,set),set=set.filter(function(s){return s.indexOf(!1)===-1}),this.debug(this.pattern,set),this.set=set}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var pattern=this.pattern,negate=!1,options=this.options,negateOffset=0;if(!options.nonegate){for(var i=0,l=pattern.length;i<l&&pattern.charAt(i)==="!";i++)negate=!negate,negateOffset++;negateOffset&&(this.pattern=pattern.substr(negateOffset)),this.negate=negate}}minimatch2.braceExpand=function(pattern,options){return braceExpand(pattern,options)};Minimatch.prototype.braceExpand=braceExpand;function braceExpand(pattern,options){return options||(this instanceof Minimatch?options=this.options:options={}),pattern=typeof pattern>"u"?this.pattern:pattern,assertValidPattern(pattern),options.nobrace||!/\{(?:(?!\{).)*\}/.test(pattern)?[pattern]:expand(pattern)}var MAX_PATTERN_LENGTH=1024*64,assertValidPattern=function(pattern){if(typeof pattern!="string")throw new TypeError("invalid pattern");if(pattern.length>MAX_PATTERN_LENGTH)throw new TypeError("pattern is too long")};Minimatch.prototype.parse=parse6;var SUBPARSE={};function parse6(pattern,isSub){assertValidPattern(pattern);var options=this.options;if(pattern==="**")if(options.noglobstar)pattern="*";else return GLOBSTAR;if(pattern==="")return"";var re="",hasMagic=!!options.nocase,escaping=!1,patternListStack=[],negativeLists=[],stateChar,inClass=!1,reClassStart=-1,classStart=-1,patternStart=pattern.charAt(0)==="."?"":options.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",self2=this;function clearStateChar(){if(stateChar){switch(stateChar){case"*":re+=star,hasMagic=!0;break;case"?":re+=qmark,hasMagic=!0;break;default:re+="\\"+stateChar;break}self2.debug("clearStateChar %j %j",stateChar,re),stateChar=!1}}for(var i=0,len=pattern.length,c;i<len&&(c=pattern.charAt(i));i++){if(this.debug("%s %s %s %j",pattern,i,re,c),escaping&&reSpecials[c]){re+="\\"+c,escaping=!1;continue}switch(c){case"/":return!1;case"\\":clearStateChar(),escaping=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",pattern,i,re,c),inClass){this.debug(" in class"),c==="!"&&i===classStart+1&&(c="^"),re+=c;continue}self2.debug("call clearStateChar %j",stateChar),clearStateChar(),stateChar=c,options.noext&&clearStateChar();continue;case"(":if(inClass){re+="(";continue}if(!stateChar){re+="\\(";continue}patternListStack.push({type:stateChar,start:i-1,reStart:re.length,open:plTypes[stateChar].open,close:plTypes[stateChar].close}),re+=stateChar==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",stateChar,re),stateChar=!1;continue;case")":if(inClass||!patternListStack.length){re+="\\)";continue}clearStateChar(),hasMagic=!0;var pl=patternListStack.pop();re+=pl.close,pl.type==="!"&&negativeLists.push(pl),pl.reEnd=re.length;continue;case"|":if(inClass||!patternListStack.length||escaping){re+="\\|",escaping=!1;continue}clearStateChar(),re+="|";continue;case"[":if(clearStateChar(),inClass){re+="\\"+c;continue}inClass=!0,classStart=i,reClassStart=re.length,re+=c;continue;case"]":if(i===classStart+1||!inClass){re+="\\"+c,escaping=!1;continue}var cs=pattern.substring(classStart+1,i);try{RegExp("["+cs+"]")}catch{var sp=this.parse(cs,SUBPARSE);re=re.substr(0,reClassStart)+"\\["+sp[0]+"\\]",hasMagic=hasMagic||sp[1],inClass=!1;continue}hasMagic=!0,inClass=!1,re+=c;continue;default:clearStateChar(),escaping?escaping=!1:reSpecials[c]&&!(c==="^"&&inClass)&&(re+="\\"),re+=c}}for(inClass&&(cs=pattern.substr(classStart+1),sp=this.parse(cs,SUBPARSE),re=re.substr(0,reClassStart)+"\\["+sp[0],hasMagic=hasMagic||sp[1]),pl=patternListStack.pop();pl;pl=patternListStack.pop()){var tail=re.slice(pl.reStart+pl.open.length);this.debug("setting tail",re,pl),tail=tail.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(_,$1,$2){return $2||($2="\\"),$1+$1+$2+"|"}),this.debug(`tail=%j
|
|
8
|
+
%s`,tail,tail,pl,re);var t=pl.type==="*"?star:pl.type==="?"?qmark:"\\"+pl.type;hasMagic=!0,re=re.slice(0,pl.reStart)+t+"\\("+tail}clearStateChar(),escaping&&(re+="\\\\");var addPatternStart=!1;switch(re.charAt(0)){case"[":case".":case"(":addPatternStart=!0}for(var n=negativeLists.length-1;n>-1;n--){var nl=negativeLists[n],nlBefore=re.slice(0,nl.reStart),nlFirst=re.slice(nl.reStart,nl.reEnd-8),nlLast=re.slice(nl.reEnd-8,nl.reEnd),nlAfter=re.slice(nl.reEnd);nlLast+=nlAfter;var openParensBefore=nlBefore.split("(").length-1,cleanAfter=nlAfter;for(i=0;i<openParensBefore;i++)cleanAfter=cleanAfter.replace(/\)[+*?]?/,"");nlAfter=cleanAfter;var dollar="";nlAfter===""&&isSub!==SUBPARSE&&(dollar="$");var newRe=nlBefore+nlFirst+nlAfter+dollar+nlLast;re=newRe}if(re!==""&&hasMagic&&(re="(?=.)"+re),addPatternStart&&(re=patternStart+re),isSub===SUBPARSE)return[re,hasMagic];if(!hasMagic)return globUnescape(pattern);var flags=options.nocase?"i":"";try{var regExp=new RegExp("^"+re+"$",flags)}catch{return new RegExp("$.")}return regExp._glob=pattern,regExp._src=re,regExp}minimatch2.makeRe=function(pattern,options){return new Minimatch(pattern,options||{}).makeRe()};Minimatch.prototype.makeRe=makeRe;function makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;var set=this.set;if(!set.length)return this.regexp=!1,this.regexp;var options=this.options,twoStar=options.noglobstar?star:options.dot?twoStarDot:twoStarNoDot,flags=options.nocase?"i":"",re=set.map(function(pattern){return pattern.map(function(p){return p===GLOBSTAR?twoStar:typeof p=="string"?regExpEscape(p):p._src}).join("\\/")}).join("|");re="^(?:"+re+")$",this.negate&&(re="^(?!"+re+").*$");try{this.regexp=new RegExp(re,flags)}catch{this.regexp=!1}return this.regexp}minimatch2.match=function(list,pattern,options){options=options||{};var mm=new Minimatch(pattern,options);return list=list.filter(function(f){return mm.match(f)}),mm.options.nonull&&!list.length&&list.push(pattern),list};Minimatch.prototype.match=function(f,partial){if(typeof partial>"u"&&(partial=this.partial),this.debug("match",f,this.pattern),this.comment)return!1;if(this.empty)return f==="";if(f==="/"&&partial)return!0;var options=this.options;path9.sep!=="/"&&(f=f.split(path9.sep).join("/")),f=f.split(slashSplit),this.debug(this.pattern,"split",f);var set=this.set;this.debug(this.pattern,"set",set);var filename,i;for(i=f.length-1;i>=0&&(filename=f[i],!filename);i--);for(i=0;i<set.length;i++){var pattern=set[i],file=f;options.matchBase&&pattern.length===1&&(file=[filename]);var hit=this.matchOne(file,pattern,partial);if(hit)return options.flipNegate?!0:!this.negate}return options.flipNegate?!1:this.negate};Minimatch.prototype.matchOne=function(file,pattern,partial){var options=this.options;this.debug("matchOne",{this:this,file,pattern}),this.debug("matchOne",file.length,pattern.length);for(var fi=0,pi=0,fl=file.length,pl=pattern.length;fi<fl&&pi<pl;fi++,pi++){this.debug("matchOne loop");var p=pattern[pi],f=file[fi];if(this.debug(pattern,p,f),p===!1)return!1;if(p===GLOBSTAR){this.debug("GLOBSTAR",[pattern,p,f]);var fr=fi,pr=pi+1;if(pr===pl){for(this.debug("** at the end");fi<fl;fi++)if(file[fi]==="."||file[fi]===".."||!options.dot&&file[fi].charAt(0)===".")return!1;return!0}for(;fr<fl;){var swallowee=file[fr];if(this.debug(`
|
|
9
9
|
globstar while`,file,fr,pattern,pr,swallowee),this.matchOne(file.slice(fr),pattern.slice(pr),partial))return this.debug("globstar found match!",fr,fl,swallowee),!0;if(swallowee==="."||swallowee===".."||!options.dot&&swallowee.charAt(0)==="."){this.debug("dot detected!",file,fr,pattern,pr);break}this.debug("globstar swallow a segment, and continue"),fr++}return!!(partial&&(this.debug(`
|
|
10
|
-
>>> no match, partial?`,file,fr,pattern,pr),fr===fl))}var hit;if(typeof p=="string"?(hit=f===p,this.debug("string match",p,f,hit)):(hit=f.match(p),this.debug("pattern match",p,f,hit)),!hit)return!1}if(fi===fl&&pi===pl)return!0;if(fi===fl)return partial;if(pi===pl)return fi===fl-1&&file[fi]==="";throw new Error("wtf?")};function globUnescape(s){return s.replace(/\\(.)/g,"$1")}function regExpEscape(s){return s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}}});var errors_exports={};__export(errors_exports,{NowBuildError:()=>NowBuildError,getPrettyError:()=>getPrettyError});function getPrettyError(obj){let docsUrl="https://vercel.com/docs/concepts/projects/project-configuration";try{let{dataPath,params,message:ajvMessage}=obj,prop=getTopLevelPropertyName(dataPath),message=dataPath&&dataPath.startsWith(".")?`\`${dataPath.slice(1)}\` `:"";if(params&&typeof params.additionalProperty=="string"){let suggestion=getSuggestion(prop,params.additionalProperty);message+=`should NOT have additional property \`${params.additionalProperty}\`. ${suggestion}`}else params&&typeof params.missingProperty=="string"?message+=`missing required property \`${params.missingProperty.replace(/^\./,"")}\`.`:message+=`${ajvMessage}.`;return new NowBuildError({code:"INVALID_VERCEL_CONFIG",message,link:prop?`${docsUrl}#${prop.toLowerCase()}`:docsUrl,action:"View Documentation"})}catch{return new NowBuildError({code:"INVALID_VERCEL_CONFIG",message:"Failed to validate configuration.",link:docsUrl,action:"View Documentation"})}}function getTopLevelPropertyName(dataPath){if(dataPath&&dataPath.startsWith(".")){let lastIndex=dataPath.indexOf("[");return lastIndex>-1?dataPath.slice(1,lastIndex):dataPath.slice(1)}return""}function getSuggestion(topLevelProp,additionalProperty){let choices=mapTypoToSuggestion[topLevelProp],choice=choices?choices[additionalProperty]:void 0;return choice?`Did you mean \`${choice}\`?`:"Please remove it."}var NowBuildError,mapTypoToSuggestion,init_errors=__esm({"src/errors.ts"(){"use strict";NowBuildError=class extends Error{constructor({message,code,link,action}){super(message);this.hideStackTrace=!0;this.code=code,this.link=link,this.action=action}};mapTypoToSuggestion={"":{builder:"builds","build.env":'{ "build": { "env": {"name": "value"} } }',"builds.env":'{ "build": { "env": {"name": "value"} } }'},rewrites:{src:"source",dest:"destination"},redirects:{src:"source",dest:"destination",status:"statusCode"},headers:{src:"source",header:"headers"},routes:{header:"headers",method:"methods"}}}});var get_platform_env_exports={};__export(get_platform_env_exports,{getPlatformEnv:()=>getPlatformEnv});var getPlatformEnv,init_get_platform_env=__esm({"src/get-platform-env.ts"(){"use strict";init_errors();getPlatformEnv=name=>{let vName=`VERCEL_${name}`,nName=`NOW_${name}`,v=process.env[vName],n=process.env[nName];if(typeof v=="string"){if(typeof n=="string")throw new NowBuildError({code:"CONFLICTING_ENV_VAR_NAMES",message:`Both "${vName}" and "${nName}" env vars are defined. Please only define the "${vName}" env var.`,link:"https://vercel.link/combining-old-and-new-config"});return v}return n}}});var debug_exports={};__export(debug_exports,{default:()=>debug});function debug(message,...additional){getPlatformEnv("BUILDER_DEBUG")?console.log(message,...additional):process.env.VERCEL_DEBUG_PREFIX&&console.log(`${process.env.VERCEL_DEBUG_PREFIX}${message}`,...additional)}var init_debug=__esm({"src/debug.ts"(){"use strict";init_get_platform_env()}});var require_wrappy=__commonJS({"../../node_modules/.pnpm/wrappy@1.0.2/node_modules/wrappy/wrappy.js"(exports2,module2){module2.exports=wrappy;function wrappy(fn,cb){if(fn&&cb)return wrappy(fn)(cb);if(typeof fn!="function")throw new TypeError("need wrapper function");return Object.keys(fn).forEach(function(k){wrapper[k]=fn[k]}),wrapper;function wrapper(){for(var args=new Array(arguments.length),i=0;i<args.length;i++)args[i]=arguments[i];var ret=fn.apply(this,args),cb2=args[args.length-1];return typeof ret=="function"&&ret!==cb2&&Object.keys(cb2).forEach(function(k){ret[k]=cb2[k]}),ret}}}});var require_once=__commonJS({"../../node_modules/.pnpm/once@1.4.0/node_modules/once/once.js"(exports2,module2){var wrappy=require_wrappy();module2.exports=wrappy(once);module2.exports.strict=wrappy(onceStrict);once.proto=once(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return once(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return onceStrict(this)},configurable:!0})});function once(fn){var f=function(){return f.called?f.value:(f.called=!0,f.value=fn.apply(this,arguments))};return f.called=!1,f}function onceStrict(fn){var f=function(){if(f.called)throw new Error(f.onceError);return f.called=!0,f.value=fn.apply(this,arguments)},name=fn.name||"Function wrapped with `once`";return f.onceError=name+" shouldn't be called more than once",f.called=!1,f}}});var require_end_of_stream=__commonJS({"../../node_modules/.pnpm/end-of-stream@1.4.1/node_modules/end-of-stream/index.js"(exports2,module2){var once=require_once(),noop=function(){},isRequest=function(stream){return stream.setHeader&&typeof stream.abort=="function"},isChildProcess=function(stream){return stream.stdio&&Array.isArray(stream.stdio)&&stream.stdio.length===3},eos2=function(stream,opts,callback){if(typeof opts=="function")return eos2(stream,null,opts);opts||(opts={}),callback=once(callback||noop);var ws=stream._writableState,rs=stream._readableState,readable=opts.readable||opts.readable!==!1&&stream.readable,writable=opts.writable||opts.writable!==!1&&stream.writable,onlegacyfinish=function(){stream.writable||onfinish()},onfinish=function(){writable=!1,readable||callback.call(stream)},onend=function(){readable=!1,writable||callback.call(stream)},onexit=function(exitCode){callback.call(stream,exitCode?new Error("exited with error code: "+exitCode):null)},onerror=function(err){callback.call(stream,err)},onclose=function(){if(readable&&!(rs&&rs.ended))return callback.call(stream,new Error("premature close"));if(writable&&!(ws&&ws.ended))return callback.call(stream,new Error("premature close"))},onrequest=function(){stream.req.on("finish",onfinish)};return isRequest(stream)?(stream.on("complete",onfinish),stream.on("abort",onclose),stream.req?onrequest():stream.on("request",onrequest)):writable&&!ws&&(stream.on("end",onlegacyfinish),stream.on("close",onlegacyfinish)),isChildProcess(stream)&&stream.on("exit",onexit),stream.on("end",onend),stream.on("finish",onfinish),opts.error!==!1&&stream.on("error",onerror),stream.on("close",onclose),function(){stream.removeListener("complete",onfinish),stream.removeListener("abort",onclose),stream.removeListener("request",onrequest),stream.req&&stream.req.removeListener("finish",onfinish),stream.removeListener("end",onlegacyfinish),stream.removeListener("close",onlegacyfinish),stream.removeListener("finish",onfinish),stream.removeListener("exit",onexit),stream.removeListener("end",onend),stream.removeListener("error",onerror),stream.removeListener("close",onclose)}};module2.exports=eos2}});var stream_to_buffer_exports={};__export(stream_to_buffer_exports,{default:()=>streamToBuffer,streamToBufferChunks:()=>streamToBufferChunks});function streamToBuffer(stream){return new Promise((resolve4,reject)=>{let buffers=[];stream.on("data",chunk=>{let buffer=Buffer.isBuffer(chunk)?chunk:Buffer.from(chunk);buffers.push(Uint8Array.from(buffer))}),(0,import_end_of_stream.default)(stream,err=>{if(err){reject(err);return}try{switch(buffers.length){case 0:resolve4(Buffer.allocUnsafe(0));break;case 1:resolve4(Buffer.from(buffers[0]));break;default:resolve4(Buffer.concat(buffers))}}catch(concatErr){reject(concatErr)}})})}async function streamToBufferChunks(stream,chunkSize=100*MB){let chunks=[],currentChunk=[],currentSize=0;for await(let chunk of stream){let buffer=Buffer.isBuffer(chunk)?chunk:Buffer.from(chunk),offset=0;for(;offset<buffer.length;){let remainingSpace=chunkSize-currentSize,sliceSize=Math.min(remainingSpace,buffer.length-offset);currentChunk.push(Uint8Array.from(buffer.subarray(offset,offset+sliceSize))),currentSize+=sliceSize,offset+=sliceSize,currentSize>=chunkSize&&(chunks.push(Buffer.concat(currentChunk)),currentChunk=[],currentSize=0)}}return currentChunk.length>0&&chunks.push(Buffer.concat(currentChunk)),chunks}var import_end_of_stream,MB,init_stream_to_buffer=__esm({"src/fs/stream-to-buffer.ts"(){"use strict";import_end_of_stream=__toESM(require_end_of_stream());MB=1024*1024}});var download_exports={};__export(download_exports,{default:()=>download,downloadFile:()=>downloadFile,getSymlinkTarget:()=>getSymlinkTarget,isDirectory:()=>isDirectory,isExternalSymlink:()=>isExternalSymlink,isExternalSymlinkTarget:()=>isExternalSymlinkTarget,isSymbolicLink:()=>isSymbolicLink});function isDirectory(mode){return(mode&S_IFMT)===S_IFDIR}function isSymbolicLink(mode){return(mode&S_IFMT)===S_IFLNK}function isExternalSymlinkTarget(target){return target.startsWith("../")||target.startsWith("..\\")||import_path2.default.isAbsolute(target)}function getSymlinkTarget(file){if(!isSymbolicLink(file.mode))return null;if(file.type==="FileFsRef")try{return(0,import_fs_extra2.readlinkSync)(file.fsPath)}catch{return null}if(file.type==="FileBlob"){let{data}=file;return typeof data=="string"?data:data.toString("utf8")}return null}function isExternalSymlink(file){let target=getSymlinkTarget(file);return target!==null&&isExternalSymlinkTarget(target)}async function prepareSymlinkTarget(file,fsPath){let mkdirPromise=(0,import_fs_extra2.mkdirp)(import_path2.default.dirname(fsPath));if(file.type==="FileFsRef"){let[target]=await Promise.all([(0,import_fs_extra2.readlink)(file.fsPath),mkdirPromise]);return target}if(file.type==="FileRef"||file.type==="FileBlob"){let targetPathBufferPromise=streamToBuffer(await file.toStreamAsync()),[targetPathBuffer]=await Promise.all([targetPathBufferPromise,mkdirPromise]);return targetPathBuffer.toString("utf8")}throw new Error(`file.type "${file.type}" not supported for symlink`)}async function downloadFile(file,fsPath){let{mode}=file;if(isDirectory(mode))return await(0,import_fs_extra2.mkdirp)(fsPath),await(0,import_fs_extra2.chmod)(fsPath,mode),file_fs_ref_default.fromFsPath({mode,fsPath});if(isSymbolicLink(mode)){let target=await prepareSymlinkTarget(file,fsPath);try{await(0,import_fs_extra2.symlink)(target,fsPath)}catch(err){if(err.code==="EEXIST")await(0,import_fs_extra2.readlink)(fsPath)!==target&&(await(0,import_fs_extra2.remove)(fsPath),await(0,import_fs_extra2.symlink)(target,fsPath));else throw err}return file_fs_ref_default.fromFsPath({mode,fsPath})}let stream=file.toStream();return file_fs_ref_default.fromStream({mode,stream,fsPath})}async function removeFile(basePath,fileMatched){let file=import_path2.default.join(basePath,fileMatched);await(0,import_fs_extra2.remove)(file)}async function download(files,basePath,meta){let{isDev=!1,skipDownload=!1,filesChanged=null,filesRemoved=null}=meta||{};if(isDev||skipDownload)return files;debug("Downloading deployment source files...");let start=Date.now(),files2={},filenames=Object.keys(files);await Promise.all(filenames.map(async name=>{if(Array.isArray(filesRemoved)&&filesRemoved.includes(name)){await removeFile(basePath,name);return}if(Array.isArray(filesChanged)&&!filesChanged.includes(name))return;let parts=name.split("/");for(let i=1;i<parts.length;i++){let dir=parts.slice(0,i).join("/"),parent=files[dir];if(parent&&isSymbolicLink(parent.mode)&&!isExternalSymlink(parent)){console.warn(`Warning: file "${name}" is within a symlinked directory "${dir}" and will be ignored`);return}}let file=files[name],fsPath=import_path2.default.join(basePath,name);files2[name]=await downloadFile(file,fsPath)}));let duration=Date.now()-start;return debug(`Downloaded ${filenames.length} source files: ${duration}ms`),files2}var import_path2,import_fs_extra2,S_IFDIR,S_IFLNK,S_IFMT,init_download=__esm({"src/fs/download.ts"(){"use strict";import_path2=__toESM(require("path"));init_debug();init_file_fs_ref();import_fs_extra2=__toESM(require_lib());init_stream_to_buffer();S_IFDIR=16384,S_IFLNK=40960,S_IFMT=61440}});var lambda_exports={};__export(lambda_exports,{Lambda:()=>Lambda,createLambda:()=>createLambda,createZip:()=>createZip,findMatchingFunction:()=>findMatchingFunction,getLambdaOptionsFromFunction:()=>getLambdaOptionsFromFunction,sanitizeConsumerName:()=>sanitizeConsumerName});function sanitizeConsumerName(functionPath){let result="";for(let char of functionPath)char==="_"?result+="__":char==="/"?result+="_S":char==="."?result+="_D":/[A-Za-z0-9-]/.test(char)?result+=char:result+="_"+char.charCodeAt(0).toString(16).toUpperCase().padStart(2,"0");return result}function getDefaultLambdaArchitecture(architecture){if(architecture)return architecture;switch(process.arch){case"arm":case"arm64":return"arm64";default:return"x86_64"}}async function createLambda(opts){let lambda=new Lambda(opts);return lambda.zipBuffer=await lambda.createZip(),lambda}async function createZip(files){let names=Object.keys(files).sort(),symlinkTargets=new Map;for(let name of names){let file=files[name];if(file.mode&&isSymbolicLink(file.mode)&&file.type==="FileFsRef"){let symlinkTarget=await(0,import_fs_extra3.readlink)(file.fsPath);symlinkTargets.set(name,symlinkTarget)}}let zipFile=new import_yazl.ZipFile;return await new Promise((resolve4,reject)=>{for(let name of names){let file=files[name],opts={mode:file.mode,mtime},symlinkTarget=symlinkTargets.get(name);if(typeof symlinkTarget=="string")zipFile.addBuffer(Buffer.from(symlinkTarget,"utf8"),name,opts);else if(file.mode&&isDirectory(file.mode))zipFile.addEmptyDirectory(name,opts);else{let stream=file.toStream();stream.on("error",reject),zipFile.addReadStream(stream,name,opts)}}zipFile.end(),streamToBuffer(zipFile.outputStream).then(resolve4).catch(reject)})}function findMatchingFunction(functions,candidates){if(functions){for(let sourceFile of candidates)for(let[pattern,functionConfig]of Object.entries(functions))if(sourceFile===pattern||(0,import_minimatch.default)(sourceFile,pattern))return{sourceFile,pattern,functionConfig}}}async function getLambdaOptionsFromFunction({sourceFile,config,isScheduleEntrypoint=!1}){let match=findMatchingFunction(config?.functions,[sourceFile]);if(match){let{pattern,functionConfig:fn}=match,serviceName=typeof config?.serviceName=="string"&&config.serviceName!==""?config.serviceName:void 0,consumer=sanitizeConsumerName(serviceName?`${serviceName}~${pattern}`:pattern),experimentalTriggers=fn.experimentalTriggers?.map(trigger=>trigger.type==="queue/v2beta"?{...trigger,consumer}:trigger);if(experimentalTriggers&&experimentalTriggers.length>1&&experimentalTriggers.some(t=>t.type==="queue/v2beta"))throw new Error(`functions["${pattern}"].experimentalTriggers can only have one item for queue/v2beta`);if(isScheduleEntrypoint&&experimentalTriggers!==void 0&&!(experimentalTriggers.length===1&&experimentalTriggers[0]?.type==="schedule/v1beta"))throw new Error(`functions["${pattern}"].experimentalTriggers conflicts with the schedule entrypoint trigger`);return{architecture:fn.architecture,memory:fn.memory,maxDuration:fn.maxDuration,affinity:fn.affinity,maxConcurrency:fn.maxConcurrency,regions:fn.regions,functionFailoverRegions:fn.functionFailoverRegions,experimentalTriggers:isScheduleEntrypoint?[{type:"schedule/v1beta"}]:experimentalTriggers,supportsCancellation:fn.supportsCancellation}}return isScheduleEntrypoint?{experimentalTriggers:[{type:"schedule/v1beta"}]}:{}}var import_assert5,import_async_sema3,import_yazl,import_minimatch,import_fs_extra3,Lambda,sema,mtime,init_lambda=__esm({"src/lambda.ts"(){"use strict";import_assert5=__toESM(require("assert"));init_max_concurrency();import_async_sema3=__toESM(require_async_sema()),import_yazl=__toESM(require_yazl()),import_minimatch=__toESM(require_minimatch()),import_fs_extra3=__toESM(require_lib());init_download();init_stream_to_buffer();Lambda=class{constructor(opts){let{handler,runtime,runtimeLanguage,maxDuration,affinity,maxConcurrency,architecture,memory,environment={},allowQuery,regions,functionFailoverRegions,supportsMultiPayloads,supportsWrapper,supportsResponseStreaming,experimentalResponseStreaming,operationType,framework,experimentalTriggers,supportsCancellation,shouldDisableAutomaticFetchInstrumentation}=opts;if("files"in opts&&(0,import_assert5.default)(typeof opts.files=="object",'"files" must be an object'),"zipBuffer"in opts&&(0,import_assert5.default)(Buffer.isBuffer(opts.zipBuffer),'"zipBuffer" must be a Buffer'),(0,import_assert5.default)(typeof handler=="string",'"handler" is not a string'),(0,import_assert5.default)(typeof runtime=="string",'"runtime" is not a string'),(0,import_assert5.default)(typeof environment=="object",'"environment" is not an object'),architecture!==void 0&&(0,import_assert5.default)(architecture==="x86_64"||architecture==="arm64",'"architecture" must be either "x86_64" or "arm64"'),runtimeLanguage!==void 0&&(0,import_assert5.default)(runtimeLanguage==="rust"||runtimeLanguage==="go",'"runtimeLanguage" is invalid. Valid options: "rust", "go"'),"experimentalAllowBundling"in opts&&opts.experimentalAllowBundling!==void 0&&(0,import_assert5.default)(typeof opts.experimentalAllowBundling=="boolean",'"experimentalAllowBundling" is not a boolean'),memory!==void 0&&(0,import_assert5.default)(typeof memory=="number",'"memory" is not a number'),maxDuration!==void 0&&(0,import_assert5.default)(typeof maxDuration=="number"||maxDuration==="max",'"maxDuration" is not a number or "max"'),affinity!==void 0&&(0,import_assert5.default)(typeof affinity=="object"&&affinity!==null&&affinity.mode==="strict"&&Object.keys(affinity).length===1,'"affinity" must be an object with only `mode: "strict"`'),validateMaxConcurrency(maxConcurrency),allowQuery!==void 0&&((0,import_assert5.default)(Array.isArray(allowQuery),'"allowQuery" is not an Array'),(0,import_assert5.default)(allowQuery.every(q=>typeof q=="string"),'"allowQuery" is not a string Array')),supportsMultiPayloads!==void 0&&(0,import_assert5.default)(typeof supportsMultiPayloads=="boolean",'"supportsMultiPayloads" is not a boolean'),supportsWrapper!==void 0&&(0,import_assert5.default)(typeof supportsWrapper=="boolean",'"supportsWrapper" is not a boolean'),regions!==void 0&&((0,import_assert5.default)(Array.isArray(regions),'"regions" is not an Array'),(0,import_assert5.default)(regions.every(r=>typeof r=="string"),'"regions" is not a string Array')),functionFailoverRegions!==void 0&&((0,import_assert5.default)(Array.isArray(functionFailoverRegions),'"functionFailoverRegions" is not an Array'),(0,import_assert5.default)(functionFailoverRegions.every(r=>typeof r=="string"),'"functionFailoverRegions" is not a string Array')),framework!==void 0&&((0,import_assert5.default)(typeof framework=="object",'"framework" is not an object'),(0,import_assert5.default)(typeof framework.slug=="string",'"framework.slug" is not a string'),framework.version!==void 0&&(0,import_assert5.default)(typeof framework.version=="string",'"framework.version" is not a string')),experimentalTriggers!==void 0){(0,import_assert5.default)(Array.isArray(experimentalTriggers),'"experimentalTriggers" is not an Array');for(let i=0;i<experimentalTriggers.length;i++){let trigger=experimentalTriggers[i],prefix=`"experimentalTriggers[${i}]"`;(0,import_assert5.default)(typeof trigger=="object"&&trigger!==null,`${prefix} is not an object`),(0,import_assert5.default)(trigger.type==="queue/v1beta"||trigger.type==="queue/v2beta"||trigger.type==="schedule/v1beta",`${prefix}.type must be "queue/v1beta", "queue/v2beta", or "schedule/v1beta"`),(trigger.type==="queue/v1beta"||trigger.type==="queue/v2beta")&&((0,import_assert5.default)(typeof trigger.topic=="string",`${prefix}.topic is required and must be a string`),(0,import_assert5.default)(trigger.topic.length>0,`${prefix}.topic cannot be empty`),(0,import_assert5.default)(typeof trigger.consumer=="string",`${prefix}.consumer is required and must be a string`),(0,import_assert5.default)(trigger.consumer.length>0,`${prefix}.consumer cannot be empty`),trigger.maxDeliveries!==void 0&&((0,import_assert5.default)(typeof trigger.maxDeliveries=="number",`${prefix}.maxDeliveries must be a number`),(0,import_assert5.default)(Number.isInteger(trigger.maxDeliveries)&&trigger.maxDeliveries>=1,`${prefix}.maxDeliveries must be at least 1`)),trigger.retryAfterSeconds!==void 0&&((0,import_assert5.default)(typeof trigger.retryAfterSeconds=="number",`${prefix}.retryAfterSeconds must be a number`),(0,import_assert5.default)(trigger.retryAfterSeconds>0,`${prefix}.retryAfterSeconds must be a positive number`)),trigger.initialDelaySeconds!==void 0&&((0,import_assert5.default)(typeof trigger.initialDelaySeconds=="number",`${prefix}.initialDelaySeconds must be a number`),(0,import_assert5.default)(trigger.initialDelaySeconds>=0,`${prefix}.initialDelaySeconds must be a non-negative number`)),trigger.maxConcurrency!==void 0&&((0,import_assert5.default)(typeof trigger.maxConcurrency=="number",`${prefix}.maxConcurrency must be a number`),(0,import_assert5.default)(Number.isInteger(trigger.maxConcurrency)&&trigger.maxConcurrency>=1,`${prefix}.maxConcurrency must be at least 1`)))}}supportsCancellation!==void 0&&(0,import_assert5.default)(typeof supportsCancellation=="boolean",'"supportsCancellation" is not a boolean'),this.type="Lambda",this.operationType=operationType,this.files="files"in opts?opts.files:void 0,this.handler=handler,this.runtime=runtime,this.runtimeLanguage=runtimeLanguage,this.architecture=getDefaultLambdaArchitecture(architecture),this.memory=memory,this.maxDuration=maxDuration,this.affinity=affinity,this.maxConcurrency=maxConcurrency,this.environment=environment,this.allowQuery=allowQuery,this.regions=regions,this.functionFailoverRegions=functionFailoverRegions,this.zipBuffer="zipBuffer"in opts?opts.zipBuffer:void 0,this.supportsMultiPayloads=supportsMultiPayloads,this.supportsWrapper=supportsWrapper,this.supportsResponseStreaming=supportsResponseStreaming??experimentalResponseStreaming,this.framework=framework,this.experimentalAllowBundling="experimentalAllowBundling"in opts?opts.experimentalAllowBundling:void 0,this.experimentalTriggers=experimentalTriggers,this.supportsCancellation=supportsCancellation,this.shouldDisableAutomaticFetchInstrumentation=shouldDisableAutomaticFetchInstrumentation}async createZip(){let{zipBuffer}=this;if(!zipBuffer){if(!this.files)throw new Error("`files` is not defined");await sema.acquire();try{zipBuffer=await createZip(this.files)}finally{sema.release()}}return zipBuffer}get experimentalResponseStreaming(){return this.supportsResponseStreaming}set experimentalResponseStreaming(v){this.supportsResponseStreaming=v}},sema=new import_async_sema3.default(10),mtime=new Date(154e10)}});var nodejs_lambda_exports={};__export(nodejs_lambda_exports,{NodejsLambda:()=>NodejsLambda});var NodejsLambda,init_nodejs_lambda=__esm({"src/nodejs-lambda.ts"(){"use strict";init_lambda();NodejsLambda=class extends Lambda{constructor({shouldAddHelpers,shouldAddSourcemapSupport,awsLambdaHandler,useWebApi,...opts}){super(opts);this.launcherType="Nodejs",this.shouldAddHelpers=shouldAddHelpers,this.shouldAddSourcemapSupport=shouldAddSourcemapSupport,this.awsLambdaHandler=awsLambdaHandler,this.useWebApi=useWebApi}}}});var prerender_exports={};__export(prerender_exports,{Prerender:()=>Prerender});var Prerender,init_prerender=__esm({"src/prerender.ts"(){"use strict";Prerender=class{constructor({expiration,staleExpiration,lambda,fallback,group,bypassToken,allowQuery,allowHeader,initialHeaders,initialStatus,passQuery,sourcePath,experimentalBypassFor,experimentalStreamingLambdaPath,chain,exposeErrBody,partialFallback,initialMetadata,onMiss}){if(this.type="Prerender",this.expiration=expiration,this.staleExpiration=staleExpiration,this.sourcePath=sourcePath,this.initialMetadata=initialMetadata,this.onMiss=onMiss,this.lambda=lambda,this.lambda&&(this.lambda.operationType=this.lambda.operationType||"ISR"),typeof group<"u"&&(group<=0||!Number.isInteger(group)))throw new Error("The `group` argument for `Prerender` needs to be a natural number.");if(this.group=group,passQuery===!0)this.passQuery=!0;else if(typeof passQuery!="boolean"&&typeof passQuery<"u")throw new Error("The `passQuery` argument for `Prerender` must be a boolean.");if(bypassToken==null)this.bypassToken=null;else if(typeof bypassToken=="string"){if(bypassToken.length<32)throw new Error("The `bypassToken` argument for `Prerender` must be 32 characters or more.");this.bypassToken=bypassToken}else throw new Error("The `bypassToken` argument for `Prerender` must be a `string`.");if(experimentalBypassFor!==void 0){if(!Array.isArray(experimentalBypassFor)||experimentalBypassFor.some(field=>typeof field!="object"||typeof field.type!="string"||field.type==="host"&&"key"in field||field.type!=="host"&&typeof field.key!="string"||field.value!==void 0&&typeof field.value!="string"&&(typeof field.value!="object"||field.value===null||Array.isArray(field.value))))throw new Error("The `experimentalBypassFor` argument for `Prerender` must be Array of objects with fields `type`, `key` and optionally `value`.");this.experimentalBypassFor=experimentalBypassFor}if(typeof fallback>"u")throw new Error("The `fallback` argument for `Prerender` needs to be a `FileBlob`, `FileFsRef`, `FileRef`, or null.");if(this.fallback=fallback,initialHeaders!==void 0){if(!initialHeaders||typeof initialHeaders!="object"||Object.entries(initialHeaders).some(([key,value])=>typeof key!="string"||typeof value!="string"))throw new Error("The `initialHeaders` argument for `Prerender` must be an object with string key/values");this.initialHeaders=initialHeaders}if(initialStatus!==void 0){if(initialStatus<=0||!Number.isInteger(initialStatus))throw new Error("The `initialStatus` argument for `Prerender` must be a natural number.");this.initialStatus=initialStatus}if(allowQuery!==void 0){if(!Array.isArray(allowQuery))throw new Error("The `allowQuery` argument for `Prerender` must be Array.");if(!allowQuery.every(q=>typeof q=="string"))throw new Error("The `allowQuery` argument for `Prerender` must be Array of strings.");this.allowQuery=allowQuery}if(allowHeader!==void 0){if(!Array.isArray(allowHeader))throw new Error("The `allowHeader` argument for `Prerender` must be Array.");if(!allowHeader.every(q=>typeof q=="string"))throw new Error("The `allowHeader` argument for `Prerender` must be Array of strings.");this.allowHeader=allowHeader}if(experimentalStreamingLambdaPath!==void 0){if(typeof experimentalStreamingLambdaPath!="string")throw new Error("The `experimentalStreamingLambdaPath` argument for `Prerender` must be a string.");this.experimentalStreamingLambdaPath=experimentalStreamingLambdaPath}if(chain!==void 0){if(typeof chain!="object")throw new Error("The `chain` argument for `Prerender` must be an object.");if(!chain.headers||typeof chain.headers!="object"||Object.entries(chain.headers).some(([key,value])=>typeof key!="string"||typeof value!="string"))throw new Error("The `chain.headers` argument for `Prerender` must be an object with string key/values");if(!chain.outputPath||typeof chain.outputPath!="string")throw new Error("The `chain.outputPath` argument for `Prerender` must be a string.");this.chain=chain}if(exposeErrBody===!0)this.exposeErrBody=!0;else if(typeof exposeErrBody!="boolean"&&typeof exposeErrBody<"u")throw new Error("The `exposeErrBody` argument for `Prerender` must be a boolean.");if(partialFallback===!0)this.partialFallback=!0;else if(typeof partialFallback!="boolean"&&typeof partialFallback<"u")throw new Error("The `partialFallback` argument for `Prerender` must be a boolean.")}}}});var get_writable_directory_exports={};__export(get_writable_directory_exports,{default:()=>getWritableDirectory});async function getWritableDirectory(){let name=Math.floor(Math.random()*2147483647).toString(16),directory=(0,import_path3.join)((0,import_os.tmpdir)(),name);return await(0,import_fs_extra4.mkdirp)(directory),directory}var import_path3,import_os,import_fs_extra4,init_get_writable_directory=__esm({"src/fs/get-writable-directory.ts"(){"use strict";import_path3=require("path"),import_os=require("os"),import_fs_extra4=__toESM(require_lib())}});var require_old=__commonJS({"../../node_modules/.pnpm/fs.realpath@1.0.0/node_modules/fs.realpath/old.js"(exports2){var pathModule=require("path"),isWindows=process.platform==="win32",fs15=require("fs"),DEBUG=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function rethrow(){var callback;if(DEBUG){var backtrace=new Error;callback=debugCallback}else callback=missingCallback;return callback;function debugCallback(err){err&&(backtrace.message=err.message,err=backtrace,missingCallback(err))}function missingCallback(err){if(err){if(process.throwDeprecation)throw err;if(!process.noDeprecation){var msg="fs: missing callback "+(err.stack||err.message);process.traceDeprecation?console.trace(msg):console.error(msg)}}}}function maybeCallback(cb){return typeof cb=="function"?cb:rethrow()}var normalize=pathModule.normalize;isWindows?nextPartRe=/(.*?)(?:[\/\\]+|$)/g:nextPartRe=/(.*?)(?:[\/]+|$)/g;var nextPartRe;isWindows?splitRootRe=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/:splitRootRe=/^[\/]*/;var splitRootRe;exports2.realpathSync=function(p,cache){if(p=pathModule.resolve(p),cache&&Object.prototype.hasOwnProperty.call(cache,p))return cache[p];var original=p,seenLinks={},knownHard={},pos,current,base,previous;start();function start(){var m=splitRootRe.exec(p);pos=m[0].length,current=m[0],base=m[0],previous="",isWindows&&!knownHard[base]&&(fs15.lstatSync(base),knownHard[base]=!0)}for(;pos<p.length;){nextPartRe.lastIndex=pos;var result=nextPartRe.exec(p);if(previous=current,current+=result[0],base=previous+result[1],pos=nextPartRe.lastIndex,!(knownHard[base]||cache&&cache[base]===base)){var resolvedLink;if(cache&&Object.prototype.hasOwnProperty.call(cache,base))resolvedLink=cache[base];else{var stat2=fs15.lstatSync(base);if(!stat2.isSymbolicLink()){knownHard[base]=!0,cache&&(cache[base]=base);continue}var linkTarget=null;if(!isWindows){var id=stat2.dev.toString(32)+":"+stat2.ino.toString(32);seenLinks.hasOwnProperty(id)&&(linkTarget=seenLinks[id])}linkTarget===null&&(fs15.statSync(base),linkTarget=fs15.readlinkSync(base)),resolvedLink=pathModule.resolve(previous,linkTarget),cache&&(cache[base]=resolvedLink),isWindows||(seenLinks[id]=linkTarget)}p=pathModule.resolve(resolvedLink,p.slice(pos)),start()}}return cache&&(cache[original]=p),p};exports2.realpath=function(p,cache,cb){if(typeof cb!="function"&&(cb=maybeCallback(cache),cache=null),p=pathModule.resolve(p),cache&&Object.prototype.hasOwnProperty.call(cache,p))return process.nextTick(cb.bind(null,null,cache[p]));var original=p,seenLinks={},knownHard={},pos,current,base,previous;start();function start(){var m=splitRootRe.exec(p);pos=m[0].length,current=m[0],base=m[0],previous="",isWindows&&!knownHard[base]?fs15.lstat(base,function(err){if(err)return cb(err);knownHard[base]=!0,LOOP()}):process.nextTick(LOOP)}function LOOP(){if(pos>=p.length)return cache&&(cache[original]=p),cb(null,p);nextPartRe.lastIndex=pos;var result=nextPartRe.exec(p);return previous=current,current+=result[0],base=previous+result[1],pos=nextPartRe.lastIndex,knownHard[base]||cache&&cache[base]===base?process.nextTick(LOOP):cache&&Object.prototype.hasOwnProperty.call(cache,base)?gotResolvedLink(cache[base]):fs15.lstat(base,gotStat)}function gotStat(err,stat2){if(err)return cb(err);if(!stat2.isSymbolicLink())return knownHard[base]=!0,cache&&(cache[base]=base),process.nextTick(LOOP);if(!isWindows){var id=stat2.dev.toString(32)+":"+stat2.ino.toString(32);if(seenLinks.hasOwnProperty(id))return gotTarget(null,seenLinks[id],base)}fs15.stat(base,function(err2){if(err2)return cb(err2);fs15.readlink(base,function(err3,target){isWindows||(seenLinks[id]=target),gotTarget(err3,target)})})}function gotTarget(err,target,base2){if(err)return cb(err);var resolvedLink=pathModule.resolve(previous,target);cache&&(cache[base2]=resolvedLink),gotResolvedLink(resolvedLink)}function gotResolvedLink(resolvedLink){p=pathModule.resolve(resolvedLink,p.slice(pos)),start()}}}});var require_fs2=__commonJS({"../../node_modules/.pnpm/fs.realpath@1.0.0/node_modules/fs.realpath/index.js"(exports2,module2){module2.exports=realpath2;realpath2.realpath=realpath2;realpath2.sync=realpathSync2;realpath2.realpathSync=realpathSync2;realpath2.monkeypatch=monkeypatch;realpath2.unmonkeypatch=unmonkeypatch;var fs15=require("fs"),origRealpath=fs15.realpath,origRealpathSync=fs15.realpathSync,version=process.version,ok=/^v[0-5]\./.test(version),old=require_old();function newError(er){return er&&er.syscall==="realpath"&&(er.code==="ELOOP"||er.code==="ENOMEM"||er.code==="ENAMETOOLONG")}function realpath2(p,cache,cb){if(ok)return origRealpath(p,cache,cb);typeof cache=="function"&&(cb=cache,cache=null),origRealpath(p,cache,function(er,result){newError(er)?old.realpath(p,cache,cb):cb(er,result)})}function realpathSync2(p,cache){if(ok)return origRealpathSync(p,cache);try{return origRealpathSync(p,cache)}catch(er){if(newError(er))return old.realpathSync(p,cache);throw er}}function monkeypatch(){fs15.realpath=realpath2,fs15.realpathSync=realpathSync2}function unmonkeypatch(){fs15.realpath=origRealpath,fs15.realpathSync=origRealpathSync}}});var require_path=__commonJS({"../../node_modules/.pnpm/minimatch@5.0.1/node_modules/minimatch/lib/path.js"(exports2,module2){var isWindows=typeof process=="object"&&process&&process.platform==="win32";module2.exports=isWindows?{sep:"\\"}:{sep:"/"}}});var require_brace_expansion2=__commonJS({"../../node_modules/.pnpm/brace-expansion@2.1.1/node_modules/brace-expansion/index.js"(exports2,module2){var balanced=require_balanced_match();module2.exports=expandTop;var escSlash="\0SLASH"+Math.random()+"\0",escOpen="\0OPEN"+Math.random()+"\0",escClose="\0CLOSE"+Math.random()+"\0",escComma="\0COMMA"+Math.random()+"\0",escPeriod="\0PERIOD"+Math.random()+"\0";function numeric(str){return parseInt(str,10)==str?parseInt(str,10):str.charCodeAt(0)}function escapeBraces(str){return str.split("\\\\").join(escSlash).split("\\{").join(escOpen).split("\\}").join(escClose).split("\\,").join(escComma).split("\\.").join(escPeriod)}function unescapeBraces(str){return str.split(escSlash).join("\\").split(escOpen).join("{").split(escClose).join("}").split(escComma).join(",").split(escPeriod).join(".")}function parseCommaParts(str){if(!str)return[""];var parts=[],m=balanced("{","}",str);if(!m)return str.split(",");var pre=m.pre,body=m.body,post=m.post,p=pre.split(",");p[p.length-1]+="{"+body+"}";var postParts=parseCommaParts(post);return post.length&&(p[p.length-1]+=postParts.shift(),p.push.apply(p,postParts)),parts.push.apply(parts,p),parts}function expandTop(str,options){if(!str)return[];options=options||{};var max=options.max==null?1/0:options.max;return str.substr(0,2)==="{}"&&(str="\\{\\}"+str.substr(2)),expand(escapeBraces(str),max,!0).map(unescapeBraces)}function embrace(str){return"{"+str+"}"}function isPadded(el){return/^-?0\d/.test(el)}function lte(i,y){return i<=y}function gte2(i,y){return i>=y}function expand(str,max,isTop){var expansions=[],m=balanced("{","}",str);if(!m)return[str];var pre=m.pre,post=m.post.length?expand(m.post,max,!1):[""];if(/\$$/.test(m.pre))for(var k=0;k<post.length&&k<max;k++){var expansion=pre+"{"+m.body+"}"+post[k];expansions.push(expansion)}else{var isNumericSequence=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body),isAlphaSequence=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body),isSequence=isNumericSequence||isAlphaSequence,isOptions=m.body.indexOf(",")>=0;if(!isSequence&&!isOptions)return m.post.match(/,(?!,).*\}/)?(str=m.pre+"{"+m.body+escClose+m.post,expand(str,max,!0)):[str];var n;if(isSequence)n=m.body.split(/\.\./);else if(n=parseCommaParts(m.body),n.length===1&&(n=expand(n[0],max,!1).map(embrace),n.length===1))return post.map(function(p){return m.pre+n[0]+p});var N;if(isSequence){var x=numeric(n[0]),y=numeric(n[1]),width=Math.max(n[0].length,n[1].length),incr=n.length==3?Math.max(Math.abs(numeric(n[2])),1):1,test=lte,reverse=y<x;reverse&&(incr*=-1,test=gte2);var pad=n.some(isPadded);N=[];for(var i=x;test(i,y)&&N.length<max;i+=incr){var c;if(isAlphaSequence)c=String.fromCharCode(i),c==="\\"&&(c="");else if(c=String(i),pad){var need=width-c.length;if(need>0){var z=new Array(need+1).join("0");i<0?c="-"+z+c.slice(1):c=z+c}}N.push(c)}}else{N=[];for(var j=0;j<n.length;j++)N.push.apply(N,expand(n[j],max,!1))}for(var j=0;j<N.length;j++)for(var k=0;k<post.length&&expansions.length<max;k++){var expansion=pre+N[j]+post[k];(!isTop||isSequence||expansion)&&expansions.push(expansion)}}return expansions}}});var require_minimatch2=__commonJS({"../../node_modules/.pnpm/minimatch@5.0.1/node_modules/minimatch/minimatch.js"(exports2,module2){var minimatch3=module2.exports=(p,pattern,options={})=>(assertValidPattern(pattern),!options.nocomment&&pattern.charAt(0)==="#"?!1:new Minimatch(pattern,options).match(p));module2.exports=minimatch3;var path9=require_path();minimatch3.sep=path9.sep;var GLOBSTAR=Symbol("globstar **");minimatch3.GLOBSTAR=GLOBSTAR;var expand=require_brace_expansion2(),plTypes={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},qmark="[^/]",star=qmark+"*?",twoStarDot="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",twoStarNoDot="(?:(?!(?:\\/|^)\\.).)*?",charSet=s=>s.split("").reduce((set,c)=>(set[c]=!0,set),{}),reSpecials=charSet("().*{}+?[]^$\\!"),addPatternStartSet=charSet("[.("),slashSplit=/\/+/;minimatch3.filter=(pattern,options={})=>(p,i,list)=>minimatch3(p,pattern,options);var ext=(a,b={})=>{let t={};return Object.keys(a).forEach(k=>t[k]=a[k]),Object.keys(b).forEach(k=>t[k]=b[k]),t};minimatch3.defaults=def=>{if(!def||typeof def!="object"||!Object.keys(def).length)return minimatch3;let orig=minimatch3,m=(p,pattern,options)=>orig(p,pattern,ext(def,options));return m.Minimatch=class extends orig.Minimatch{constructor(pattern,options){super(pattern,ext(def,options))}},m.Minimatch.defaults=options=>orig.defaults(ext(def,options)).Minimatch,m.filter=(pattern,options)=>orig.filter(pattern,ext(def,options)),m.defaults=options=>orig.defaults(ext(def,options)),m.makeRe=(pattern,options)=>orig.makeRe(pattern,ext(def,options)),m.braceExpand=(pattern,options)=>orig.braceExpand(pattern,ext(def,options)),m.match=(list,pattern,options)=>orig.match(list,pattern,ext(def,options)),m};minimatch3.braceExpand=(pattern,options)=>braceExpand(pattern,options);var braceExpand=(pattern,options={})=>(assertValidPattern(pattern),options.nobrace||!/\{(?:(?!\{).)*\}/.test(pattern)?[pattern]:expand(pattern)),MAX_PATTERN_LENGTH=1024*64,assertValidPattern=pattern=>{if(typeof pattern!="string")throw new TypeError("invalid pattern");if(pattern.length>MAX_PATTERN_LENGTH)throw new TypeError("pattern is too long")},SUBPARSE=Symbol("subparse");minimatch3.makeRe=(pattern,options)=>new Minimatch(pattern,options||{}).makeRe();minimatch3.match=(list,pattern,options={})=>{let mm=new Minimatch(pattern,options);return list=list.filter(f=>mm.match(f)),mm.options.nonull&&!list.length&&list.push(pattern),list};var globUnescape=s=>s.replace(/\\(.)/g,"$1"),regExpEscape=s=>s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Minimatch=class{constructor(pattern,options){assertValidPattern(pattern),options||(options={}),this.options=options,this.set=[],this.pattern=pattern,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!options.partial,this.make()}debug(){}make(){let pattern=this.pattern,options=this.options;if(!options.nocomment&&pattern.charAt(0)==="#"){this.comment=!0;return}if(!pattern){this.empty=!0;return}this.parseNegate();let set=this.globSet=this.braceExpand();options.debug&&(this.debug=(...args)=>console.error(...args)),this.debug(this.pattern,set),set=this.globParts=set.map(s=>s.split(slashSplit)),this.debug(this.pattern,set),set=set.map((s,si,set2)=>s.map(this.parse,this)),this.debug(this.pattern,set),set=set.filter(s=>s.indexOf(!1)===-1),this.debug(this.pattern,set),this.set=set}parseNegate(){if(this.options.nonegate)return;let pattern=this.pattern,negate=!1,negateOffset=0;for(let i=0;i<pattern.length&&pattern.charAt(i)==="!";i++)negate=!negate,negateOffset++;negateOffset&&(this.pattern=pattern.substr(negateOffset)),this.negate=negate}matchOne(file,pattern,partial){var options=this.options;this.debug("matchOne",{this:this,file,pattern}),this.debug("matchOne",file.length,pattern.length);for(var fi=0,pi=0,fl=file.length,pl=pattern.length;fi<fl&&pi<pl;fi++,pi++){this.debug("matchOne loop");var p=pattern[pi],f=file[fi];if(this.debug(pattern,p,f),p===!1)return!1;if(p===GLOBSTAR){this.debug("GLOBSTAR",[pattern,p,f]);var fr=fi,pr=pi+1;if(pr===pl){for(this.debug("** at the end");fi<fl;fi++)if(file[fi]==="."||file[fi]===".."||!options.dot&&file[fi].charAt(0)===".")return!1;return!0}for(;fr<fl;){var swallowee=file[fr];if(this.debug(`
|
|
10
|
+
>>> no match, partial?`,file,fr,pattern,pr),fr===fl))}var hit;if(typeof p=="string"?(hit=f===p,this.debug("string match",p,f,hit)):(hit=f.match(p),this.debug("pattern match",p,f,hit)),!hit)return!1}if(fi===fl&&pi===pl)return!0;if(fi===fl)return partial;if(pi===pl)return fi===fl-1&&file[fi]==="";throw new Error("wtf?")};function globUnescape(s){return s.replace(/\\(.)/g,"$1")}function regExpEscape(s){return s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}}});var errors_exports={};__export(errors_exports,{NowBuildError:()=>NowBuildError,getPrettyError:()=>getPrettyError});function getPrettyError(obj){let docsUrl="https://vercel.com/docs/concepts/projects/project-configuration";try{let{dataPath,params,message:ajvMessage}=obj,prop=getTopLevelPropertyName(dataPath),message=dataPath&&dataPath.startsWith(".")?`\`${dataPath.slice(1)}\` `:"";if(params&&typeof params.additionalProperty=="string"){let suggestion=getSuggestion(prop,params.additionalProperty);message+=`should NOT have additional property \`${params.additionalProperty}\`. ${suggestion}`}else params&&typeof params.missingProperty=="string"?message+=`missing required property \`${params.missingProperty.replace(/^\./,"")}\`.`:message+=`${ajvMessage}.`;return new NowBuildError({code:"INVALID_VERCEL_CONFIG",message,link:prop?`${docsUrl}#${prop.toLowerCase()}`:docsUrl,action:"View Documentation"})}catch{return new NowBuildError({code:"INVALID_VERCEL_CONFIG",message:"Failed to validate configuration.",link:docsUrl,action:"View Documentation"})}}function getTopLevelPropertyName(dataPath){if(dataPath&&dataPath.startsWith(".")){let lastIndex=dataPath.indexOf("[");return lastIndex>-1?dataPath.slice(1,lastIndex):dataPath.slice(1)}return""}function getSuggestion(topLevelProp,additionalProperty){let choices=mapTypoToSuggestion[topLevelProp],choice=choices?choices[additionalProperty]:void 0;return choice?`Did you mean \`${choice}\`?`:"Please remove it."}var NowBuildError,mapTypoToSuggestion,init_errors=__esm({"src/errors.ts"(){"use strict";NowBuildError=class extends Error{constructor({message,code,link,action}){super(message);this.hideStackTrace=!0;this.code=code,this.link=link,this.action=action}};mapTypoToSuggestion={"":{builder:"builds","build.env":'{ "build": { "env": {"name": "value"} } }',"builds.env":'{ "build": { "env": {"name": "value"} } }'},rewrites:{src:"source",dest:"destination"},redirects:{src:"source",dest:"destination",status:"statusCode"},headers:{src:"source",header:"headers"},routes:{header:"headers",method:"methods"}}}});var get_platform_env_exports={};__export(get_platform_env_exports,{getPlatformEnv:()=>getPlatformEnv});var getPlatformEnv,init_get_platform_env=__esm({"src/get-platform-env.ts"(){"use strict";init_errors();getPlatformEnv=name=>{let vName=`VERCEL_${name}`,nName=`NOW_${name}`,v=process.env[vName],n=process.env[nName];if(typeof v=="string"){if(typeof n=="string")throw new NowBuildError({code:"CONFLICTING_ENV_VAR_NAMES",message:`Both "${vName}" and "${nName}" env vars are defined. Please only define the "${vName}" env var.`,link:"https://vercel.link/combining-old-and-new-config"});return v}return n}}});var debug_exports={};__export(debug_exports,{default:()=>debug});function debug(message,...additional){getPlatformEnv("BUILDER_DEBUG")?console.log(message,...additional):process.env.VERCEL_DEBUG_PREFIX&&console.log(`${process.env.VERCEL_DEBUG_PREFIX}${message}`,...additional)}var init_debug=__esm({"src/debug.ts"(){"use strict";init_get_platform_env()}});var require_wrappy=__commonJS({"../../node_modules/.pnpm/wrappy@1.0.2/node_modules/wrappy/wrappy.js"(exports2,module2){module2.exports=wrappy;function wrappy(fn,cb){if(fn&&cb)return wrappy(fn)(cb);if(typeof fn!="function")throw new TypeError("need wrapper function");return Object.keys(fn).forEach(function(k){wrapper[k]=fn[k]}),wrapper;function wrapper(){for(var args=new Array(arguments.length),i=0;i<args.length;i++)args[i]=arguments[i];var ret=fn.apply(this,args),cb2=args[args.length-1];return typeof ret=="function"&&ret!==cb2&&Object.keys(cb2).forEach(function(k){ret[k]=cb2[k]}),ret}}}});var require_once=__commonJS({"../../node_modules/.pnpm/once@1.4.0/node_modules/once/once.js"(exports2,module2){var wrappy=require_wrappy();module2.exports=wrappy(once);module2.exports.strict=wrappy(onceStrict);once.proto=once(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return once(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return onceStrict(this)},configurable:!0})});function once(fn){var f=function(){return f.called?f.value:(f.called=!0,f.value=fn.apply(this,arguments))};return f.called=!1,f}function onceStrict(fn){var f=function(){if(f.called)throw new Error(f.onceError);return f.called=!0,f.value=fn.apply(this,arguments)},name=fn.name||"Function wrapped with `once`";return f.onceError=name+" shouldn't be called more than once",f.called=!1,f}}});var require_end_of_stream=__commonJS({"../../node_modules/.pnpm/end-of-stream@1.4.1/node_modules/end-of-stream/index.js"(exports2,module2){var once=require_once(),noop=function(){},isRequest=function(stream){return stream.setHeader&&typeof stream.abort=="function"},isChildProcess=function(stream){return stream.stdio&&Array.isArray(stream.stdio)&&stream.stdio.length===3},eos2=function(stream,opts,callback){if(typeof opts=="function")return eos2(stream,null,opts);opts||(opts={}),callback=once(callback||noop);var ws=stream._writableState,rs=stream._readableState,readable=opts.readable||opts.readable!==!1&&stream.readable,writable=opts.writable||opts.writable!==!1&&stream.writable,onlegacyfinish=function(){stream.writable||onfinish()},onfinish=function(){writable=!1,readable||callback.call(stream)},onend=function(){readable=!1,writable||callback.call(stream)},onexit=function(exitCode){callback.call(stream,exitCode?new Error("exited with error code: "+exitCode):null)},onerror=function(err){callback.call(stream,err)},onclose=function(){if(readable&&!(rs&&rs.ended))return callback.call(stream,new Error("premature close"));if(writable&&!(ws&&ws.ended))return callback.call(stream,new Error("premature close"))},onrequest=function(){stream.req.on("finish",onfinish)};return isRequest(stream)?(stream.on("complete",onfinish),stream.on("abort",onclose),stream.req?onrequest():stream.on("request",onrequest)):writable&&!ws&&(stream.on("end",onlegacyfinish),stream.on("close",onlegacyfinish)),isChildProcess(stream)&&stream.on("exit",onexit),stream.on("end",onend),stream.on("finish",onfinish),opts.error!==!1&&stream.on("error",onerror),stream.on("close",onclose),function(){stream.removeListener("complete",onfinish),stream.removeListener("abort",onclose),stream.removeListener("request",onrequest),stream.req&&stream.req.removeListener("finish",onfinish),stream.removeListener("end",onlegacyfinish),stream.removeListener("close",onlegacyfinish),stream.removeListener("finish",onfinish),stream.removeListener("exit",onexit),stream.removeListener("end",onend),stream.removeListener("error",onerror),stream.removeListener("close",onclose)}};module2.exports=eos2}});var stream_to_buffer_exports={};__export(stream_to_buffer_exports,{default:()=>streamToBuffer,streamToBufferChunks:()=>streamToBufferChunks});function streamToBuffer(stream){return new Promise((resolve4,reject)=>{let buffers=[];stream.on("data",chunk=>{let buffer=Buffer.isBuffer(chunk)?chunk:Buffer.from(chunk);buffers.push(Uint8Array.from(buffer))}),(0,import_end_of_stream.default)(stream,err=>{if(err){reject(err);return}try{switch(buffers.length){case 0:resolve4(Buffer.allocUnsafe(0));break;case 1:resolve4(Buffer.from(buffers[0]));break;default:resolve4(Buffer.concat(buffers))}}catch(concatErr){reject(concatErr)}})})}async function streamToBufferChunks(stream,chunkSize=100*MB){let chunks=[],currentChunk=[],currentSize=0;for await(let chunk of stream){let buffer=Buffer.isBuffer(chunk)?chunk:Buffer.from(chunk),offset=0;for(;offset<buffer.length;){let remainingSpace=chunkSize-currentSize,sliceSize=Math.min(remainingSpace,buffer.length-offset);currentChunk.push(Uint8Array.from(buffer.subarray(offset,offset+sliceSize))),currentSize+=sliceSize,offset+=sliceSize,currentSize>=chunkSize&&(chunks.push(Buffer.concat(currentChunk)),currentChunk=[],currentSize=0)}}return currentChunk.length>0&&chunks.push(Buffer.concat(currentChunk)),chunks}var import_end_of_stream,MB,init_stream_to_buffer=__esm({"src/fs/stream-to-buffer.ts"(){"use strict";import_end_of_stream=__toESM(require_end_of_stream());MB=1024*1024}});var download_exports={};__export(download_exports,{default:()=>download,downloadFile:()=>downloadFile,getSymlinkTarget:()=>getSymlinkTarget,isDirectory:()=>isDirectory,isExternalSymlink:()=>isExternalSymlink,isExternalSymlinkTarget:()=>isExternalSymlinkTarget,isSymbolicLink:()=>isSymbolicLink});function isDirectory(mode){return(mode&S_IFMT)===S_IFDIR}function isSymbolicLink(mode){return(mode&S_IFMT)===S_IFLNK}function isExternalSymlinkTarget(target){return target.startsWith("../")||target.startsWith("..\\")||import_path2.default.isAbsolute(target)}function getSymlinkTarget(file){if(!isSymbolicLink(file.mode))return null;if(file.type==="FileFsRef")try{return(0,import_fs_extra2.readlinkSync)(file.fsPath)}catch{return null}if(file.type==="FileBlob"){let{data}=file;return typeof data=="string"?data:data.toString("utf8")}return null}function isExternalSymlink(file){let target=getSymlinkTarget(file);return target!==null&&isExternalSymlinkTarget(target)}async function prepareSymlinkTarget(file,fsPath){let mkdirPromise=(0,import_fs_extra2.mkdirp)(import_path2.default.dirname(fsPath));if(file.type==="FileFsRef"){let[target]=await Promise.all([(0,import_fs_extra2.readlink)(file.fsPath),mkdirPromise]);return target}if(file.type==="FileRef"||file.type==="FileBlob"){let targetPathBufferPromise=streamToBuffer(await file.toStreamAsync()),[targetPathBuffer]=await Promise.all([targetPathBufferPromise,mkdirPromise]);return targetPathBuffer.toString("utf8")}throw new Error(`file.type "${file.type}" not supported for symlink`)}async function downloadFile(file,fsPath){let{mode}=file;if(isDirectory(mode))return await(0,import_fs_extra2.mkdirp)(fsPath),await(0,import_fs_extra2.chmod)(fsPath,mode),file_fs_ref_default.fromFsPath({mode,fsPath});if(isSymbolicLink(mode)){let target=await prepareSymlinkTarget(file,fsPath);try{await(0,import_fs_extra2.symlink)(target,fsPath)}catch(err){if(err.code==="EEXIST")await(0,import_fs_extra2.readlink)(fsPath)!==target&&(await(0,import_fs_extra2.remove)(fsPath),await(0,import_fs_extra2.symlink)(target,fsPath));else throw err}return file_fs_ref_default.fromFsPath({mode,fsPath})}let stream=file.toStream();return file_fs_ref_default.fromStream({mode,stream,fsPath})}async function removeFile(basePath,fileMatched){let file=import_path2.default.join(basePath,fileMatched);await(0,import_fs_extra2.remove)(file)}async function download(files,basePath,meta){let{isDev=!1,skipDownload=!1,filesChanged=null,filesRemoved=null}=meta||{};if(isDev||skipDownload)return files;debug("Downloading deployment source files...");let start=Date.now(),files2={},filenames=Object.keys(files);await Promise.all(filenames.map(async name=>{if(Array.isArray(filesRemoved)&&filesRemoved.includes(name)){await removeFile(basePath,name);return}if(Array.isArray(filesChanged)&&!filesChanged.includes(name))return;let parts=name.split("/");for(let i=1;i<parts.length;i++){let dir=parts.slice(0,i).join("/"),parent=files[dir];if(parent&&isSymbolicLink(parent.mode)&&!isExternalSymlink(parent)){console.warn(`Warning: file "${name}" is within a symlinked directory "${dir}" and will be ignored`);return}}let file=files[name],fsPath=import_path2.default.join(basePath,name);files2[name]=await downloadFile(file,fsPath)}));let duration=Date.now()-start;return debug(`Downloaded ${filenames.length} source files: ${duration}ms`),files2}var import_path2,import_fs_extra2,S_IFDIR,S_IFLNK,S_IFMT,init_download=__esm({"src/fs/download.ts"(){"use strict";import_path2=__toESM(require("path"));init_debug();init_file_fs_ref();import_fs_extra2=__toESM(require_lib());init_stream_to_buffer();S_IFDIR=16384,S_IFLNK=40960,S_IFMT=61440}});var lambda_exports={};__export(lambda_exports,{Lambda:()=>Lambda,createLambda:()=>createLambda,createZip:()=>createZip,findMatchingFunction:()=>findMatchingFunction,getLambdaOptionsFromFunction:()=>getLambdaOptionsFromFunction,sanitizeConsumerName:()=>sanitizeConsumerName});function sanitizeConsumerName(functionPath){let result="";for(let char of functionPath)char==="_"?result+="__":char==="/"?result+="_S":char==="."?result+="_D":/[A-Za-z0-9-]/.test(char)?result+=char:result+="_"+char.charCodeAt(0).toString(16).toUpperCase().padStart(2,"0");return result}function getDefaultLambdaArchitecture(architecture){if(architecture)return architecture;switch(process.arch){case"arm":case"arm64":return"arm64";default:return"x86_64"}}async function createLambda(opts){let lambda=new Lambda(opts);return lambda.zipBuffer=await lambda.createZip(),lambda}async function createZip(files){let names=Object.keys(files).sort(),symlinkTargets=new Map;for(let name of names){let file=files[name];if(file.mode&&isSymbolicLink(file.mode)&&file.type==="FileFsRef"){let symlinkTarget=await(0,import_fs_extra3.readlink)(file.fsPath);symlinkTargets.set(name,symlinkTarget)}}let zipFile=new import_yazl.ZipFile;return await new Promise((resolve4,reject)=>{for(let name of names){let file=files[name],opts={mode:file.mode,mtime},symlinkTarget=symlinkTargets.get(name);if(typeof symlinkTarget=="string")zipFile.addBuffer(Buffer.from(symlinkTarget,"utf8"),name,opts);else if(file.mode&&isDirectory(file.mode))zipFile.addEmptyDirectory(name,opts);else{let stream=file.toStream();stream.on("error",reject),zipFile.addReadStream(stream,name,opts)}}zipFile.end(),streamToBuffer(zipFile.outputStream).then(resolve4).catch(reject)})}function findMatchingFunction(functions,candidates){if(functions){for(let sourceFile of candidates)for(let[pattern,functionConfig]of Object.entries(functions))if(sourceFile===pattern||(0,import_minimatch.default)(sourceFile,pattern))return{sourceFile,pattern,functionConfig}}}async function getLambdaOptionsFromFunction({sourceFile,config,isScheduleEntrypoint=!1}){let match=findMatchingFunction(config?.functions,[sourceFile]);if(match){let{pattern,functionConfig:fn}=match,serviceName=typeof config?.serviceName=="string"&&config.serviceName!==""?config.serviceName:void 0,consumer=sanitizeConsumerName(serviceName?`${serviceName}~${pattern}`:pattern),experimentalTriggers=fn.experimentalTriggers?.map(trigger=>trigger.type==="queue/v2beta"?{...trigger,consumer}:trigger);if(experimentalTriggers&&experimentalTriggers.length>1&&experimentalTriggers.some(t=>t.type==="queue/v2beta"))throw new Error(`functions["${pattern}"].experimentalTriggers can only have one item for queue/v2beta`);if(isScheduleEntrypoint&&experimentalTriggers!==void 0&&!(experimentalTriggers.length===1&&experimentalTriggers[0]?.type==="schedule/v1beta"))throw new Error(`functions["${pattern}"].experimentalTriggers conflicts with the schedule entrypoint trigger`);return{architecture:fn.architecture,memory:fn.memory,maxDuration:fn.maxDuration,affinity:fn.affinity,maxConcurrency:fn.maxConcurrency,regions:fn.regions,functionFailoverRegions:fn.functionFailoverRegions,experimentalTriggers:isScheduleEntrypoint?[{type:"schedule/v1beta"}]:experimentalTriggers,supportsCancellation:fn.supportsCancellation}}return isScheduleEntrypoint?{experimentalTriggers:[{type:"schedule/v1beta"}]}:{}}var import_assert5,import_async_sema3,import_yazl,import_minimatch,import_fs_extra3,Lambda,sema,mtime,init_lambda=__esm({"src/lambda.ts"(){"use strict";import_assert5=__toESM(require("assert"));init_max_concurrency();import_async_sema3=__toESM(require_async_sema()),import_yazl=__toESM(require_yazl()),import_minimatch=__toESM(require_minimatch()),import_fs_extra3=__toESM(require_lib());init_download();init_stream_to_buffer();Lambda=class{constructor(opts){let{handler,runtime,runtimeLanguage,maxDuration,affinity,maxConcurrency,architecture,memory,environment={},allowQuery,regions,functionFailoverRegions,supportsMultiPayloads,supportsWrapper,supportsResponseStreaming,experimentalResponseStreaming,operationType,framework,experimentalTriggers,supportsCancellation,shouldDisableAutomaticFetchInstrumentation}=opts;if("files"in opts&&(0,import_assert5.default)(typeof opts.files=="object",'"files" must be an object'),"zipBuffer"in opts&&(0,import_assert5.default)(Buffer.isBuffer(opts.zipBuffer),'"zipBuffer" must be a Buffer'),(0,import_assert5.default)(typeof handler=="string",'"handler" is not a string'),(0,import_assert5.default)(typeof runtime=="string",'"runtime" is not a string'),(0,import_assert5.default)(typeof environment=="object",'"environment" is not an object'),architecture!==void 0&&(0,import_assert5.default)(architecture==="x86_64"||architecture==="arm64",'"architecture" must be either "x86_64" or "arm64"'),runtimeLanguage!==void 0&&(0,import_assert5.default)(runtimeLanguage==="rust"||runtimeLanguage==="go",'"runtimeLanguage" is invalid. Valid options: "rust", "go"'),"experimentalAllowBundling"in opts&&opts.experimentalAllowBundling!==void 0&&(0,import_assert5.default)(typeof opts.experimentalAllowBundling=="boolean",'"experimentalAllowBundling" is not a boolean'),memory!==void 0&&(0,import_assert5.default)(typeof memory=="number",'"memory" is not a number'),maxDuration!==void 0&&(0,import_assert5.default)(typeof maxDuration=="number"||maxDuration==="max",'"maxDuration" is not a number or "max"'),affinity!==void 0&&(0,import_assert5.default)(typeof affinity=="object"&&affinity!==null&&affinity.mode==="strict"&&Object.keys(affinity).length===1,'"affinity" must be an object with only `mode: "strict"`'),validateMaxConcurrency(maxConcurrency),allowQuery!==void 0&&((0,import_assert5.default)(Array.isArray(allowQuery),'"allowQuery" is not an Array'),(0,import_assert5.default)(allowQuery.every(q=>typeof q=="string"),'"allowQuery" is not a string Array')),supportsMultiPayloads!==void 0&&(0,import_assert5.default)(typeof supportsMultiPayloads=="boolean",'"supportsMultiPayloads" is not a boolean'),supportsWrapper!==void 0&&(0,import_assert5.default)(typeof supportsWrapper=="boolean",'"supportsWrapper" is not a boolean'),regions!==void 0&&((0,import_assert5.default)(Array.isArray(regions),'"regions" is not an Array'),(0,import_assert5.default)(regions.every(r=>typeof r=="string"),'"regions" is not a string Array')),functionFailoverRegions!==void 0&&((0,import_assert5.default)(Array.isArray(functionFailoverRegions),'"functionFailoverRegions" is not an Array'),(0,import_assert5.default)(functionFailoverRegions.every(r=>typeof r=="string"),'"functionFailoverRegions" is not a string Array')),framework!==void 0&&((0,import_assert5.default)(typeof framework=="object",'"framework" is not an object'),(0,import_assert5.default)(typeof framework.slug=="string",'"framework.slug" is not a string'),framework.version!==void 0&&(0,import_assert5.default)(typeof framework.version=="string",'"framework.version" is not a string')),experimentalTriggers!==void 0){(0,import_assert5.default)(Array.isArray(experimentalTriggers),'"experimentalTriggers" is not an Array');for(let i=0;i<experimentalTriggers.length;i++){let trigger=experimentalTriggers[i],prefix=`"experimentalTriggers[${i}]"`;(0,import_assert5.default)(typeof trigger=="object"&&trigger!==null,`${prefix} is not an object`),(0,import_assert5.default)(trigger.type==="queue/v1beta"||trigger.type==="queue/v2beta"||trigger.type==="schedule/v1beta",`${prefix}.type must be "queue/v1beta", "queue/v2beta", or "schedule/v1beta"`),(trigger.type==="queue/v1beta"||trigger.type==="queue/v2beta")&&((0,import_assert5.default)(typeof trigger.topic=="string",`${prefix}.topic is required and must be a string`),(0,import_assert5.default)(trigger.topic.length>0,`${prefix}.topic cannot be empty`),(0,import_assert5.default)(typeof trigger.consumer=="string",`${prefix}.consumer is required and must be a string`),(0,import_assert5.default)(trigger.consumer.length>0,`${prefix}.consumer cannot be empty`),trigger.maxDeliveries!==void 0&&((0,import_assert5.default)(typeof trigger.maxDeliveries=="number",`${prefix}.maxDeliveries must be a number`),(0,import_assert5.default)(Number.isInteger(trigger.maxDeliveries)&&trigger.maxDeliveries>=1,`${prefix}.maxDeliveries must be at least 1`)),trigger.retryAfterSeconds!==void 0&&((0,import_assert5.default)(typeof trigger.retryAfterSeconds=="number",`${prefix}.retryAfterSeconds must be a number`),(0,import_assert5.default)(trigger.retryAfterSeconds>0,`${prefix}.retryAfterSeconds must be a positive number`)),trigger.initialDelaySeconds!==void 0&&((0,import_assert5.default)(typeof trigger.initialDelaySeconds=="number",`${prefix}.initialDelaySeconds must be a number`),(0,import_assert5.default)(trigger.initialDelaySeconds>=0,`${prefix}.initialDelaySeconds must be a non-negative number`)),trigger.maxConcurrency!==void 0&&((0,import_assert5.default)(typeof trigger.maxConcurrency=="number",`${prefix}.maxConcurrency must be a number`),(0,import_assert5.default)(Number.isInteger(trigger.maxConcurrency)&&trigger.maxConcurrency>=1,`${prefix}.maxConcurrency must be at least 1`)))}}supportsCancellation!==void 0&&(0,import_assert5.default)(typeof supportsCancellation=="boolean",'"supportsCancellation" is not a boolean'),this.type="Lambda",this.operationType=operationType,this.files="files"in opts?opts.files:void 0,this.handler=handler,this.runtime=runtime,this.runtimeLanguage=runtimeLanguage,this.architecture=getDefaultLambdaArchitecture(architecture),this.memory=memory,this.maxDuration=maxDuration,this.affinity=affinity,this.maxConcurrency=maxConcurrency,this.environment=environment,this.allowQuery=allowQuery,this.regions=regions,this.functionFailoverRegions=functionFailoverRegions,this.zipBuffer="zipBuffer"in opts?opts.zipBuffer:void 0,this.supportsMultiPayloads=supportsMultiPayloads,this.supportsWrapper=supportsWrapper,this.supportsResponseStreaming=supportsResponseStreaming??experimentalResponseStreaming,this.framework=framework,this.experimentalAllowBundling="experimentalAllowBundling"in opts?opts.experimentalAllowBundling:void 0,this.experimentalTriggers=experimentalTriggers,this.supportsCancellation=supportsCancellation,this.shouldDisableAutomaticFetchInstrumentation=shouldDisableAutomaticFetchInstrumentation}async createZip(){let{zipBuffer}=this;if(!zipBuffer){if(!this.files)throw new Error("`files` is not defined");await sema.acquire();try{zipBuffer=await createZip(this.files)}finally{sema.release()}}return zipBuffer}get experimentalResponseStreaming(){return this.supportsResponseStreaming}set experimentalResponseStreaming(v){this.supportsResponseStreaming=v}},sema=new import_async_sema3.default(10),mtime=new Date(154e10)}});var nodejs_lambda_exports={};__export(nodejs_lambda_exports,{NodejsLambda:()=>NodejsLambda});var NodejsLambda,init_nodejs_lambda=__esm({"src/nodejs-lambda.ts"(){"use strict";init_lambda();NodejsLambda=class extends Lambda{constructor({shouldAddHelpers,shouldAddSourcemapSupport,awsLambdaHandler,useWebApi,...opts}){super(opts);this.launcherType="Nodejs",this.shouldAddHelpers=shouldAddHelpers,this.shouldAddSourcemapSupport=shouldAddSourcemapSupport,this.awsLambdaHandler=awsLambdaHandler,this.useWebApi=useWebApi}}}});var prerender_exports={};__export(prerender_exports,{Prerender:()=>Prerender});var Prerender,init_prerender=__esm({"src/prerender.ts"(){"use strict";Prerender=class{constructor({expiration,staleExpiration,lambda,fallback,group,bypassToken,allowQuery,allowHeader,initialHeaders,initialStatus,passQuery,sourcePath,experimentalBypassFor,experimentalStreamingLambdaPath,chain,exposeErrBody,partialFallback,initialMetadata,onMiss}){if(this.type="Prerender",this.expiration=expiration,this.staleExpiration=staleExpiration,this.sourcePath=sourcePath,this.initialMetadata=initialMetadata,this.onMiss=onMiss,this.lambda=lambda,this.lambda&&(this.lambda.operationType=this.lambda.operationType||"ISR"),typeof group<"u"&&(group<=0||!Number.isInteger(group)))throw new Error("The `group` argument for `Prerender` needs to be a natural number.");if(this.group=group,passQuery===!0)this.passQuery=!0;else if(typeof passQuery!="boolean"&&typeof passQuery<"u")throw new Error("The `passQuery` argument for `Prerender` must be a boolean.");if(bypassToken==null)this.bypassToken=null;else if(typeof bypassToken=="string"){if(bypassToken.length<32)throw new Error("The `bypassToken` argument for `Prerender` must be 32 characters or more.");this.bypassToken=bypassToken}else throw new Error("The `bypassToken` argument for `Prerender` must be a `string`.");if(experimentalBypassFor!==void 0){if(!Array.isArray(experimentalBypassFor)||experimentalBypassFor.some(field=>typeof field!="object"||typeof field.type!="string"||field.type==="host"&&"key"in field||field.type!=="host"&&typeof field.key!="string"||field.value!==void 0&&typeof field.value!="string"&&(typeof field.value!="object"||field.value===null||Array.isArray(field.value))))throw new Error("The `experimentalBypassFor` argument for `Prerender` must be Array of objects with fields `type`, `key` and optionally `value`.");this.experimentalBypassFor=experimentalBypassFor}if(typeof fallback>"u")throw new Error("The `fallback` argument for `Prerender` needs to be a `FileBlob`, `FileFsRef`, `FileRef`, or null.");if(this.fallback=fallback,initialHeaders!==void 0){if(!initialHeaders||typeof initialHeaders!="object"||Object.entries(initialHeaders).some(([key,value])=>typeof key!="string"||typeof value!="string"))throw new Error("The `initialHeaders` argument for `Prerender` must be an object with string key/values");this.initialHeaders=initialHeaders}if(initialStatus!==void 0){if(initialStatus<=0||!Number.isInteger(initialStatus))throw new Error("The `initialStatus` argument for `Prerender` must be a natural number.");this.initialStatus=initialStatus}if(allowQuery!==void 0){if(!Array.isArray(allowQuery))throw new Error("The `allowQuery` argument for `Prerender` must be Array.");if(!allowQuery.every(q=>typeof q=="string"))throw new Error("The `allowQuery` argument for `Prerender` must be Array of strings.");this.allowQuery=allowQuery}if(allowHeader!==void 0){if(!Array.isArray(allowHeader))throw new Error("The `allowHeader` argument for `Prerender` must be Array.");if(!allowHeader.every(q=>typeof q=="string"))throw new Error("The `allowHeader` argument for `Prerender` must be Array of strings.");this.allowHeader=allowHeader}if(experimentalStreamingLambdaPath!==void 0){if(typeof experimentalStreamingLambdaPath!="string")throw new Error("The `experimentalStreamingLambdaPath` argument for `Prerender` must be a string.");this.experimentalStreamingLambdaPath=experimentalStreamingLambdaPath}if(chain!==void 0){if(typeof chain!="object")throw new Error("The `chain` argument for `Prerender` must be an object.");if(!chain.headers||typeof chain.headers!="object"||Object.entries(chain.headers).some(([key,value])=>typeof key!="string"||typeof value!="string"))throw new Error("The `chain.headers` argument for `Prerender` must be an object with string key/values");if(!chain.outputPath||typeof chain.outputPath!="string")throw new Error("The `chain.outputPath` argument for `Prerender` must be a string.");this.chain=chain}if(exposeErrBody===!0)this.exposeErrBody=!0;else if(typeof exposeErrBody!="boolean"&&typeof exposeErrBody<"u")throw new Error("The `exposeErrBody` argument for `Prerender` must be a boolean.");if(partialFallback===!0)this.partialFallback=!0;else if(typeof partialFallback!="boolean"&&typeof partialFallback<"u")throw new Error("The `partialFallback` argument for `Prerender` must be a boolean.")}}}});var get_writable_directory_exports={};__export(get_writable_directory_exports,{default:()=>getWritableDirectory});async function getWritableDirectory(){let name=Math.floor(Math.random()*2147483647).toString(16),directory=(0,import_path3.join)((0,import_os.tmpdir)(),name);return await(0,import_fs_extra4.mkdirp)(directory),directory}var import_path3,import_os,import_fs_extra4,init_get_writable_directory=__esm({"src/fs/get-writable-directory.ts"(){"use strict";import_path3=require("path"),import_os=require("os"),import_fs_extra4=__toESM(require_lib())}});var require_old=__commonJS({"../../node_modules/.pnpm/fs.realpath@1.0.0/node_modules/fs.realpath/old.js"(exports2){var pathModule=require("path"),isWindows=process.platform==="win32",fs14=require("fs"),DEBUG=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function rethrow(){var callback;if(DEBUG){var backtrace=new Error;callback=debugCallback}else callback=missingCallback;return callback;function debugCallback(err){err&&(backtrace.message=err.message,err=backtrace,missingCallback(err))}function missingCallback(err){if(err){if(process.throwDeprecation)throw err;if(!process.noDeprecation){var msg="fs: missing callback "+(err.stack||err.message);process.traceDeprecation?console.trace(msg):console.error(msg)}}}}function maybeCallback(cb){return typeof cb=="function"?cb:rethrow()}var normalize=pathModule.normalize;isWindows?nextPartRe=/(.*?)(?:[\/\\]+|$)/g:nextPartRe=/(.*?)(?:[\/]+|$)/g;var nextPartRe;isWindows?splitRootRe=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/:splitRootRe=/^[\/]*/;var splitRootRe;exports2.realpathSync=function(p,cache){if(p=pathModule.resolve(p),cache&&Object.prototype.hasOwnProperty.call(cache,p))return cache[p];var original=p,seenLinks={},knownHard={},pos,current,base,previous;start();function start(){var m=splitRootRe.exec(p);pos=m[0].length,current=m[0],base=m[0],previous="",isWindows&&!knownHard[base]&&(fs14.lstatSync(base),knownHard[base]=!0)}for(;pos<p.length;){nextPartRe.lastIndex=pos;var result=nextPartRe.exec(p);if(previous=current,current+=result[0],base=previous+result[1],pos=nextPartRe.lastIndex,!(knownHard[base]||cache&&cache[base]===base)){var resolvedLink;if(cache&&Object.prototype.hasOwnProperty.call(cache,base))resolvedLink=cache[base];else{var stat=fs14.lstatSync(base);if(!stat.isSymbolicLink()){knownHard[base]=!0,cache&&(cache[base]=base);continue}var linkTarget=null;if(!isWindows){var id=stat.dev.toString(32)+":"+stat.ino.toString(32);seenLinks.hasOwnProperty(id)&&(linkTarget=seenLinks[id])}linkTarget===null&&(fs14.statSync(base),linkTarget=fs14.readlinkSync(base)),resolvedLink=pathModule.resolve(previous,linkTarget),cache&&(cache[base]=resolvedLink),isWindows||(seenLinks[id]=linkTarget)}p=pathModule.resolve(resolvedLink,p.slice(pos)),start()}}return cache&&(cache[original]=p),p};exports2.realpath=function(p,cache,cb){if(typeof cb!="function"&&(cb=maybeCallback(cache),cache=null),p=pathModule.resolve(p),cache&&Object.prototype.hasOwnProperty.call(cache,p))return process.nextTick(cb.bind(null,null,cache[p]));var original=p,seenLinks={},knownHard={},pos,current,base,previous;start();function start(){var m=splitRootRe.exec(p);pos=m[0].length,current=m[0],base=m[0],previous="",isWindows&&!knownHard[base]?fs14.lstat(base,function(err){if(err)return cb(err);knownHard[base]=!0,LOOP()}):process.nextTick(LOOP)}function LOOP(){if(pos>=p.length)return cache&&(cache[original]=p),cb(null,p);nextPartRe.lastIndex=pos;var result=nextPartRe.exec(p);return previous=current,current+=result[0],base=previous+result[1],pos=nextPartRe.lastIndex,knownHard[base]||cache&&cache[base]===base?process.nextTick(LOOP):cache&&Object.prototype.hasOwnProperty.call(cache,base)?gotResolvedLink(cache[base]):fs14.lstat(base,gotStat)}function gotStat(err,stat){if(err)return cb(err);if(!stat.isSymbolicLink())return knownHard[base]=!0,cache&&(cache[base]=base),process.nextTick(LOOP);if(!isWindows){var id=stat.dev.toString(32)+":"+stat.ino.toString(32);if(seenLinks.hasOwnProperty(id))return gotTarget(null,seenLinks[id],base)}fs14.stat(base,function(err2){if(err2)return cb(err2);fs14.readlink(base,function(err3,target){isWindows||(seenLinks[id]=target),gotTarget(err3,target)})})}function gotTarget(err,target,base2){if(err)return cb(err);var resolvedLink=pathModule.resolve(previous,target);cache&&(cache[base2]=resolvedLink),gotResolvedLink(resolvedLink)}function gotResolvedLink(resolvedLink){p=pathModule.resolve(resolvedLink,p.slice(pos)),start()}}}});var require_fs2=__commonJS({"../../node_modules/.pnpm/fs.realpath@1.0.0/node_modules/fs.realpath/index.js"(exports2,module2){module2.exports=realpath2;realpath2.realpath=realpath2;realpath2.sync=realpathSync2;realpath2.realpathSync=realpathSync2;realpath2.monkeypatch=monkeypatch;realpath2.unmonkeypatch=unmonkeypatch;var fs14=require("fs"),origRealpath=fs14.realpath,origRealpathSync=fs14.realpathSync,version=process.version,ok=/^v[0-5]\./.test(version),old=require_old();function newError(er){return er&&er.syscall==="realpath"&&(er.code==="ELOOP"||er.code==="ENOMEM"||er.code==="ENAMETOOLONG")}function realpath2(p,cache,cb){if(ok)return origRealpath(p,cache,cb);typeof cache=="function"&&(cb=cache,cache=null),origRealpath(p,cache,function(er,result){newError(er)?old.realpath(p,cache,cb):cb(er,result)})}function realpathSync2(p,cache){if(ok)return origRealpathSync(p,cache);try{return origRealpathSync(p,cache)}catch(er){if(newError(er))return old.realpathSync(p,cache);throw er}}function monkeypatch(){fs14.realpath=realpath2,fs14.realpathSync=realpathSync2}function unmonkeypatch(){fs14.realpath=origRealpath,fs14.realpathSync=origRealpathSync}}});var require_path=__commonJS({"../../node_modules/.pnpm/minimatch@5.0.1/node_modules/minimatch/lib/path.js"(exports2,module2){var isWindows=typeof process=="object"&&process&&process.platform==="win32";module2.exports=isWindows?{sep:"\\"}:{sep:"/"}}});var require_brace_expansion2=__commonJS({"../../node_modules/.pnpm/brace-expansion@2.1.1/node_modules/brace-expansion/index.js"(exports2,module2){var balanced=require_balanced_match();module2.exports=expandTop;var escSlash="\0SLASH"+Math.random()+"\0",escOpen="\0OPEN"+Math.random()+"\0",escClose="\0CLOSE"+Math.random()+"\0",escComma="\0COMMA"+Math.random()+"\0",escPeriod="\0PERIOD"+Math.random()+"\0";function numeric(str){return parseInt(str,10)==str?parseInt(str,10):str.charCodeAt(0)}function escapeBraces(str){return str.split("\\\\").join(escSlash).split("\\{").join(escOpen).split("\\}").join(escClose).split("\\,").join(escComma).split("\\.").join(escPeriod)}function unescapeBraces(str){return str.split(escSlash).join("\\").split(escOpen).join("{").split(escClose).join("}").split(escComma).join(",").split(escPeriod).join(".")}function parseCommaParts(str){if(!str)return[""];var parts=[],m=balanced("{","}",str);if(!m)return str.split(",");var pre=m.pre,body=m.body,post=m.post,p=pre.split(",");p[p.length-1]+="{"+body+"}";var postParts=parseCommaParts(post);return post.length&&(p[p.length-1]+=postParts.shift(),p.push.apply(p,postParts)),parts.push.apply(parts,p),parts}function expandTop(str,options){if(!str)return[];options=options||{};var max=options.max==null?1/0:options.max;return str.substr(0,2)==="{}"&&(str="\\{\\}"+str.substr(2)),expand(escapeBraces(str),max,!0).map(unescapeBraces)}function embrace(str){return"{"+str+"}"}function isPadded(el){return/^-?0\d/.test(el)}function lte(i,y){return i<=y}function gte2(i,y){return i>=y}function expand(str,max,isTop){var expansions=[],m=balanced("{","}",str);if(!m)return[str];var pre=m.pre,post=m.post.length?expand(m.post,max,!1):[""];if(/\$$/.test(m.pre))for(var k=0;k<post.length&&k<max;k++){var expansion=pre+"{"+m.body+"}"+post[k];expansions.push(expansion)}else{var isNumericSequence=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body),isAlphaSequence=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body),isSequence=isNumericSequence||isAlphaSequence,isOptions=m.body.indexOf(",")>=0;if(!isSequence&&!isOptions)return m.post.match(/,(?!,).*\}/)?(str=m.pre+"{"+m.body+escClose+m.post,expand(str,max,!0)):[str];var n;if(isSequence)n=m.body.split(/\.\./);else if(n=parseCommaParts(m.body),n.length===1&&(n=expand(n[0],max,!1).map(embrace),n.length===1))return post.map(function(p){return m.pre+n[0]+p});var N;if(isSequence){var x=numeric(n[0]),y=numeric(n[1]),width=Math.max(n[0].length,n[1].length),incr=n.length==3?Math.max(Math.abs(numeric(n[2])),1):1,test=lte,reverse=y<x;reverse&&(incr*=-1,test=gte2);var pad=n.some(isPadded);N=[];for(var i=x;test(i,y)&&N.length<max;i+=incr){var c;if(isAlphaSequence)c=String.fromCharCode(i),c==="\\"&&(c="");else if(c=String(i),pad){var need=width-c.length;if(need>0){var z=new Array(need+1).join("0");i<0?c="-"+z+c.slice(1):c=z+c}}N.push(c)}}else{N=[];for(var j=0;j<n.length;j++)N.push.apply(N,expand(n[j],max,!1))}for(var j=0;j<N.length;j++)for(var k=0;k<post.length&&expansions.length<max;k++){var expansion=pre+N[j]+post[k];(!isTop||isSequence||expansion)&&expansions.push(expansion)}}return expansions}}});var require_minimatch2=__commonJS({"../../node_modules/.pnpm/minimatch@5.0.1/node_modules/minimatch/minimatch.js"(exports2,module2){var minimatch2=module2.exports=(p,pattern,options={})=>(assertValidPattern(pattern),!options.nocomment&&pattern.charAt(0)==="#"?!1:new Minimatch(pattern,options).match(p));module2.exports=minimatch2;var path9=require_path();minimatch2.sep=path9.sep;var GLOBSTAR=Symbol("globstar **");minimatch2.GLOBSTAR=GLOBSTAR;var expand=require_brace_expansion2(),plTypes={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},qmark="[^/]",star=qmark+"*?",twoStarDot="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",twoStarNoDot="(?:(?!(?:\\/|^)\\.).)*?",charSet=s=>s.split("").reduce((set,c)=>(set[c]=!0,set),{}),reSpecials=charSet("().*{}+?[]^$\\!"),addPatternStartSet=charSet("[.("),slashSplit=/\/+/;minimatch2.filter=(pattern,options={})=>(p,i,list)=>minimatch2(p,pattern,options);var ext=(a,b={})=>{let t={};return Object.keys(a).forEach(k=>t[k]=a[k]),Object.keys(b).forEach(k=>t[k]=b[k]),t};minimatch2.defaults=def=>{if(!def||typeof def!="object"||!Object.keys(def).length)return minimatch2;let orig=minimatch2,m=(p,pattern,options)=>orig(p,pattern,ext(def,options));return m.Minimatch=class extends orig.Minimatch{constructor(pattern,options){super(pattern,ext(def,options))}},m.Minimatch.defaults=options=>orig.defaults(ext(def,options)).Minimatch,m.filter=(pattern,options)=>orig.filter(pattern,ext(def,options)),m.defaults=options=>orig.defaults(ext(def,options)),m.makeRe=(pattern,options)=>orig.makeRe(pattern,ext(def,options)),m.braceExpand=(pattern,options)=>orig.braceExpand(pattern,ext(def,options)),m.match=(list,pattern,options)=>orig.match(list,pattern,ext(def,options)),m};minimatch2.braceExpand=(pattern,options)=>braceExpand(pattern,options);var braceExpand=(pattern,options={})=>(assertValidPattern(pattern),options.nobrace||!/\{(?:(?!\{).)*\}/.test(pattern)?[pattern]:expand(pattern)),MAX_PATTERN_LENGTH=1024*64,assertValidPattern=pattern=>{if(typeof pattern!="string")throw new TypeError("invalid pattern");if(pattern.length>MAX_PATTERN_LENGTH)throw new TypeError("pattern is too long")},SUBPARSE=Symbol("subparse");minimatch2.makeRe=(pattern,options)=>new Minimatch(pattern,options||{}).makeRe();minimatch2.match=(list,pattern,options={})=>{let mm=new Minimatch(pattern,options);return list=list.filter(f=>mm.match(f)),mm.options.nonull&&!list.length&&list.push(pattern),list};var globUnescape=s=>s.replace(/\\(.)/g,"$1"),regExpEscape=s=>s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Minimatch=class{constructor(pattern,options){assertValidPattern(pattern),options||(options={}),this.options=options,this.set=[],this.pattern=pattern,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!options.partial,this.make()}debug(){}make(){let pattern=this.pattern,options=this.options;if(!options.nocomment&&pattern.charAt(0)==="#"){this.comment=!0;return}if(!pattern){this.empty=!0;return}this.parseNegate();let set=this.globSet=this.braceExpand();options.debug&&(this.debug=(...args)=>console.error(...args)),this.debug(this.pattern,set),set=this.globParts=set.map(s=>s.split(slashSplit)),this.debug(this.pattern,set),set=set.map((s,si,set2)=>s.map(this.parse,this)),this.debug(this.pattern,set),set=set.filter(s=>s.indexOf(!1)===-1),this.debug(this.pattern,set),this.set=set}parseNegate(){if(this.options.nonegate)return;let pattern=this.pattern,negate=!1,negateOffset=0;for(let i=0;i<pattern.length&&pattern.charAt(i)==="!";i++)negate=!negate,negateOffset++;negateOffset&&(this.pattern=pattern.substr(negateOffset)),this.negate=negate}matchOne(file,pattern,partial){var options=this.options;this.debug("matchOne",{this:this,file,pattern}),this.debug("matchOne",file.length,pattern.length);for(var fi=0,pi=0,fl=file.length,pl=pattern.length;fi<fl&&pi<pl;fi++,pi++){this.debug("matchOne loop");var p=pattern[pi],f=file[fi];if(this.debug(pattern,p,f),p===!1)return!1;if(p===GLOBSTAR){this.debug("GLOBSTAR",[pattern,p,f]);var fr=fi,pr=pi+1;if(pr===pl){for(this.debug("** at the end");fi<fl;fi++)if(file[fi]==="."||file[fi]===".."||!options.dot&&file[fi].charAt(0)===".")return!1;return!0}for(;fr<fl;){var swallowee=file[fr];if(this.debug(`
|
|
11
11
|
globstar while`,file,fr,pattern,pr,swallowee),this.matchOne(file.slice(fr),pattern.slice(pr),partial))return this.debug("globstar found match!",fr,fl,swallowee),!0;if(swallowee==="."||swallowee===".."||!options.dot&&swallowee.charAt(0)==="."){this.debug("dot detected!",file,fr,pattern,pr);break}this.debug("globstar swallow a segment, and continue"),fr++}return!!(partial&&(this.debug(`
|
|
12
12
|
>>> no match, partial?`,file,fr,pattern,pr),fr===fl))}var hit;if(typeof p=="string"?(hit=f===p,this.debug("string match",p,f,hit)):(hit=f.match(p),this.debug("pattern match",p,f,hit)),!hit)return!1}if(fi===fl&&pi===pl)return!0;if(fi===fl)return partial;if(pi===pl)return fi===fl-1&&file[fi]==="";throw new Error("wtf?")}braceExpand(){return braceExpand(this.pattern,this.options)}parse(pattern,isSub){assertValidPattern(pattern);let options=this.options;if(pattern==="**")if(options.noglobstar)pattern="*";else return GLOBSTAR;if(pattern==="")return"";let re="",hasMagic=!!options.nocase,escaping=!1,patternListStack=[],negativeLists=[],stateChar,inClass=!1,reClassStart=-1,classStart=-1,cs,pl,sp,patternStart=pattern.charAt(0)==="."?"":options.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",clearStateChar=()=>{if(stateChar){switch(stateChar){case"*":re+=star,hasMagic=!0;break;case"?":re+=qmark,hasMagic=!0;break;default:re+="\\"+stateChar;break}this.debug("clearStateChar %j %j",stateChar,re),stateChar=!1}};for(let i=0,c;i<pattern.length&&(c=pattern.charAt(i));i++){if(this.debug("%s %s %s %j",pattern,i,re,c),escaping){if(c==="/")return!1;reSpecials[c]&&(re+="\\"),re+=c,escaping=!1;continue}switch(c){case"/":return!1;case"\\":clearStateChar(),escaping=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",pattern,i,re,c),inClass){this.debug(" in class"),c==="!"&&i===classStart+1&&(c="^"),re+=c;continue}this.debug("call clearStateChar %j",stateChar),clearStateChar(),stateChar=c,options.noext&&clearStateChar();continue;case"(":if(inClass){re+="(";continue}if(!stateChar){re+="\\(";continue}patternListStack.push({type:stateChar,start:i-1,reStart:re.length,open:plTypes[stateChar].open,close:plTypes[stateChar].close}),re+=stateChar==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",stateChar,re),stateChar=!1;continue;case")":if(inClass||!patternListStack.length){re+="\\)";continue}clearStateChar(),hasMagic=!0,pl=patternListStack.pop(),re+=pl.close,pl.type==="!"&&negativeLists.push(pl),pl.reEnd=re.length;continue;case"|":if(inClass||!patternListStack.length){re+="\\|";continue}clearStateChar(),re+="|";continue;case"[":if(clearStateChar(),inClass){re+="\\"+c;continue}inClass=!0,classStart=i,reClassStart=re.length,re+=c;continue;case"]":if(i===classStart+1||!inClass){re+="\\"+c;continue}cs=pattern.substring(classStart+1,i);try{RegExp("["+cs+"]")}catch{sp=this.parse(cs,SUBPARSE),re=re.substr(0,reClassStart)+"\\["+sp[0]+"\\]",hasMagic=hasMagic||sp[1],inClass=!1;continue}hasMagic=!0,inClass=!1,re+=c;continue;default:clearStateChar(),reSpecials[c]&&!(c==="^"&&inClass)&&(re+="\\"),re+=c;break}}for(inClass&&(cs=pattern.substr(classStart+1),sp=this.parse(cs,SUBPARSE),re=re.substr(0,reClassStart)+"\\["+sp[0],hasMagic=hasMagic||sp[1]),pl=patternListStack.pop();pl;pl=patternListStack.pop()){let tail;tail=re.slice(pl.reStart+pl.open.length),this.debug("setting tail",re,pl),tail=tail.replace(/((?:\\{2}){0,64})(\\?)\|/g,(_,$1,$2)=>($2||($2="\\"),$1+$1+$2+"|")),this.debug(`tail=%j
|
|
13
|
-
%s`,tail,tail,pl,re);let t=pl.type==="*"?star:pl.type==="?"?qmark:"\\"+pl.type;hasMagic=!0,re=re.slice(0,pl.reStart)+t+"\\("+tail}clearStateChar(),escaping&&(re+="\\\\");let addPatternStart=addPatternStartSet[re.charAt(0)];for(let n=negativeLists.length-1;n>-1;n--){let nl=negativeLists[n],nlBefore=re.slice(0,nl.reStart),nlFirst=re.slice(nl.reStart,nl.reEnd-8),nlAfter=re.slice(nl.reEnd),nlLast=re.slice(nl.reEnd-8,nl.reEnd)+nlAfter,openParensBefore=nlBefore.split("(").length-1,cleanAfter=nlAfter;for(let i=0;i<openParensBefore;i++)cleanAfter=cleanAfter.replace(/\)[+*?]?/,"");nlAfter=cleanAfter;let dollar=nlAfter===""&&isSub!==SUBPARSE?"$":"";re=nlBefore+nlFirst+nlAfter+dollar+nlLast}if(re!==""&&hasMagic&&(re="(?=.)"+re),addPatternStart&&(re=patternStart+re),isSub===SUBPARSE)return[re,hasMagic];if(!hasMagic)return globUnescape(pattern);let flags=options.nocase?"i":"";try{return Object.assign(new RegExp("^"+re+"$",flags),{_glob:pattern,_src:re})}catch{return new RegExp("$.")}}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let set=this.set;if(!set.length)return this.regexp=!1,this.regexp;let options=this.options,twoStar=options.noglobstar?star:options.dot?twoStarDot:twoStarNoDot,flags=options.nocase?"i":"",re=set.map(pattern=>(pattern=pattern.map(p=>typeof p=="string"?regExpEscape(p):p===GLOBSTAR?GLOBSTAR:p._src).reduce((set2,p)=>(set2[set2.length-1]===GLOBSTAR&&p===GLOBSTAR||set2.push(p),set2),[]),pattern.forEach((p,i)=>{p!==GLOBSTAR||pattern[i-1]===GLOBSTAR||(i===0?pattern.length>1?pattern[i+1]="(?:\\/|"+twoStar+"\\/)?"+pattern[i+1]:pattern[i]=twoStar:i===pattern.length-1?pattern[i-1]+="(?:\\/|"+twoStar+")?":(pattern[i-1]+="(?:\\/|\\/"+twoStar+"\\/)"+pattern[i+1],pattern[i+1]=GLOBSTAR))}),pattern.filter(p=>p!==GLOBSTAR).join("/"))).join("|");re="^(?:"+re+")$",this.negate&&(re="^(?!"+re+").*$");try{this.regexp=new RegExp(re,flags)}catch{this.regexp=!1}return this.regexp}match(f,partial=this.partial){if(this.debug("match",f,this.pattern),this.comment)return!1;if(this.empty)return f==="";if(f==="/"&&partial)return!0;let options=this.options;path9.sep!=="/"&&(f=f.split(path9.sep).join("/")),f=f.split(slashSplit),this.debug(this.pattern,"split",f);let set=this.set;this.debug(this.pattern,"set",set);let filename;for(let i=f.length-1;i>=0&&(filename=f[i],!filename);i--);for(let i=0;i<set.length;i++){let pattern=set[i],file=f;if(options.matchBase&&pattern.length===1&&(file=[filename]),this.matchOne(file,pattern,partial))return options.flipNegate?!0:!this.negate}return options.flipNegate?!1:this.negate}static defaults(def){return
|
|
13
|
+
%s`,tail,tail,pl,re);let t=pl.type==="*"?star:pl.type==="?"?qmark:"\\"+pl.type;hasMagic=!0,re=re.slice(0,pl.reStart)+t+"\\("+tail}clearStateChar(),escaping&&(re+="\\\\");let addPatternStart=addPatternStartSet[re.charAt(0)];for(let n=negativeLists.length-1;n>-1;n--){let nl=negativeLists[n],nlBefore=re.slice(0,nl.reStart),nlFirst=re.slice(nl.reStart,nl.reEnd-8),nlAfter=re.slice(nl.reEnd),nlLast=re.slice(nl.reEnd-8,nl.reEnd)+nlAfter,openParensBefore=nlBefore.split("(").length-1,cleanAfter=nlAfter;for(let i=0;i<openParensBefore;i++)cleanAfter=cleanAfter.replace(/\)[+*?]?/,"");nlAfter=cleanAfter;let dollar=nlAfter===""&&isSub!==SUBPARSE?"$":"";re=nlBefore+nlFirst+nlAfter+dollar+nlLast}if(re!==""&&hasMagic&&(re="(?=.)"+re),addPatternStart&&(re=patternStart+re),isSub===SUBPARSE)return[re,hasMagic];if(!hasMagic)return globUnescape(pattern);let flags=options.nocase?"i":"";try{return Object.assign(new RegExp("^"+re+"$",flags),{_glob:pattern,_src:re})}catch{return new RegExp("$.")}}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let set=this.set;if(!set.length)return this.regexp=!1,this.regexp;let options=this.options,twoStar=options.noglobstar?star:options.dot?twoStarDot:twoStarNoDot,flags=options.nocase?"i":"",re=set.map(pattern=>(pattern=pattern.map(p=>typeof p=="string"?regExpEscape(p):p===GLOBSTAR?GLOBSTAR:p._src).reduce((set2,p)=>(set2[set2.length-1]===GLOBSTAR&&p===GLOBSTAR||set2.push(p),set2),[]),pattern.forEach((p,i)=>{p!==GLOBSTAR||pattern[i-1]===GLOBSTAR||(i===0?pattern.length>1?pattern[i+1]="(?:\\/|"+twoStar+"\\/)?"+pattern[i+1]:pattern[i]=twoStar:i===pattern.length-1?pattern[i-1]+="(?:\\/|"+twoStar+")?":(pattern[i-1]+="(?:\\/|\\/"+twoStar+"\\/)"+pattern[i+1],pattern[i+1]=GLOBSTAR))}),pattern.filter(p=>p!==GLOBSTAR).join("/"))).join("|");re="^(?:"+re+")$",this.negate&&(re="^(?!"+re+").*$");try{this.regexp=new RegExp(re,flags)}catch{this.regexp=!1}return this.regexp}match(f,partial=this.partial){if(this.debug("match",f,this.pattern),this.comment)return!1;if(this.empty)return f==="";if(f==="/"&&partial)return!0;let options=this.options;path9.sep!=="/"&&(f=f.split(path9.sep).join("/")),f=f.split(slashSplit),this.debug(this.pattern,"split",f);let set=this.set;this.debug(this.pattern,"set",set);let filename;for(let i=f.length-1;i>=0&&(filename=f[i],!filename);i--);for(let i=0;i<set.length;i++){let pattern=set[i],file=f;if(options.matchBase&&pattern.length===1&&(file=[filename]),this.matchOne(file,pattern,partial))return options.flipNegate?!0:!this.negate}return options.flipNegate?!1:this.negate}static defaults(def){return minimatch2.defaults(def).Minimatch}};minimatch2.Minimatch=Minimatch}});var require_common=__commonJS({"../../node_modules/.pnpm/glob@8.0.3/node_modules/glob/common.js"(exports2){exports2.setopts=setopts;exports2.ownProp=ownProp;exports2.makeAbs=makeAbs;exports2.finish=finish;exports2.mark=mark;exports2.isIgnored=isIgnored;exports2.childrenIgnored=childrenIgnored;function ownProp(obj,field){return Object.prototype.hasOwnProperty.call(obj,field)}var fs14=require("fs"),path9=require("path"),minimatch2=require_minimatch2(),isAbsolute3=require("path").isAbsolute,Minimatch=minimatch2.Minimatch;function alphasort(a,b){return a.localeCompare(b,"en")}function setupIgnores(self2,options){self2.ignore=options.ignore||[],Array.isArray(self2.ignore)||(self2.ignore=[self2.ignore]),self2.ignore.length&&(self2.ignore=self2.ignore.map(ignoreMap))}function ignoreMap(pattern){var gmatcher=null;if(pattern.slice(-3)==="/**"){var gpattern=pattern.replace(/(\/\*\*)+$/,"");gmatcher=new Minimatch(gpattern,{dot:!0})}return{matcher:new Minimatch(pattern,{dot:!0}),gmatcher}}function setopts(self2,pattern,options){if(options||(options={}),options.matchBase&&pattern.indexOf("/")===-1){if(options.noglobstar)throw new Error("base matching requires globstar");pattern="**/"+pattern}self2.silent=!!options.silent,self2.pattern=pattern,self2.strict=options.strict!==!1,self2.realpath=!!options.realpath,self2.realpathCache=options.realpathCache||Object.create(null),self2.follow=!!options.follow,self2.dot=!!options.dot,self2.mark=!!options.mark,self2.nodir=!!options.nodir,self2.nodir&&(self2.mark=!0),self2.sync=!!options.sync,self2.nounique=!!options.nounique,self2.nonull=!!options.nonull,self2.nosort=!!options.nosort,self2.nocase=!!options.nocase,self2.stat=!!options.stat,self2.noprocess=!!options.noprocess,self2.absolute=!!options.absolute,self2.fs=options.fs||fs14,self2.maxLength=options.maxLength||1/0,self2.cache=options.cache||Object.create(null),self2.statCache=options.statCache||Object.create(null),self2.symlinks=options.symlinks||Object.create(null),setupIgnores(self2,options),self2.changedCwd=!1;var cwd=process.cwd();ownProp(options,"cwd")?(self2.cwd=path9.resolve(options.cwd),self2.changedCwd=self2.cwd!==cwd):self2.cwd=path9.resolve(cwd),self2.root=options.root||path9.resolve(self2.cwd,"/"),self2.root=path9.resolve(self2.root),self2.cwdAbs=isAbsolute3(self2.cwd)?self2.cwd:makeAbs(self2,self2.cwd),self2.nomount=!!options.nomount,process.platform==="win32"&&(self2.root=self2.root.replace(/\\/g,"/"),self2.cwd=self2.cwd.replace(/\\/g,"/"),self2.cwdAbs=self2.cwdAbs.replace(/\\/g,"/")),options.nonegate=!0,options.nocomment=!0,options.allowWindowsEscape=!0,self2.minimatch=new Minimatch(pattern,options),self2.options=self2.minimatch.options}function finish(self2){for(var nou=self2.nounique,all=nou?[]:Object.create(null),i=0,l=self2.matches.length;i<l;i++){var matches=self2.matches[i];if(!matches||Object.keys(matches).length===0){if(self2.nonull){var literal=self2.minimatch.globSet[i];nou?all.push(literal):all[literal]=!0}}else{var m=Object.keys(matches);nou?all.push.apply(all,m):m.forEach(function(m2){all[m2]=!0})}}if(nou||(all=Object.keys(all)),self2.nosort||(all=all.sort(alphasort)),self2.mark){for(var i=0;i<all.length;i++)all[i]=self2._mark(all[i]);self2.nodir&&(all=all.filter(function(e){var notDir=!/\/$/.test(e),c=self2.cache[e]||self2.cache[makeAbs(self2,e)];return notDir&&c&&(notDir=c!=="DIR"&&!Array.isArray(c)),notDir}))}self2.ignore.length&&(all=all.filter(function(m2){return!isIgnored(self2,m2)})),self2.found=all}function mark(self2,p){var abs=makeAbs(self2,p),c=self2.cache[abs],m=p;if(c){var isDir=c==="DIR"||Array.isArray(c),slash=p.slice(-1)==="/";if(isDir&&!slash?m+="/":!isDir&&slash&&(m=m.slice(0,-1)),m!==p){var mabs=makeAbs(self2,m);self2.statCache[mabs]=self2.statCache[abs],self2.cache[mabs]=self2.cache[abs]}}return m}function makeAbs(self2,f){var abs=f;return f.charAt(0)==="/"?abs=path9.join(self2.root,f):isAbsolute3(f)||f===""?abs=f:self2.changedCwd?abs=path9.resolve(self2.cwd,f):abs=path9.resolve(f),process.platform==="win32"&&(abs=abs.replace(/\\/g,"/")),abs}function isIgnored(self2,path10){return self2.ignore.length?self2.ignore.some(function(item){return item.matcher.match(path10)||!!(item.gmatcher&&item.gmatcher.match(path10))}):!1}function childrenIgnored(self2,path10){return self2.ignore.length?self2.ignore.some(function(item){return!!(item.gmatcher&&item.gmatcher.match(path10))}):!1}}});var require_sync=__commonJS({"../../node_modules/.pnpm/glob@8.0.3/node_modules/glob/sync.js"(exports2,module2){module2.exports=globSync;globSync.GlobSync=GlobSync;var rp=require_fs2(),minimatch2=require_minimatch2(),Minimatch=minimatch2.Minimatch,Glob=require_glob().Glob,util=require("util"),path9=require("path"),assert9=require("assert"),isAbsolute3=require("path").isAbsolute,common=require_common(),setopts=common.setopts,ownProp=common.ownProp,childrenIgnored=common.childrenIgnored,isIgnored=common.isIgnored;function globSync(pattern,options){if(typeof options=="function"||arguments.length===3)throw new TypeError(`callback provided to sync glob
|
|
14
14
|
See: https://github.com/isaacs/node-glob/issues/167`);return new GlobSync(pattern,options).found}function GlobSync(pattern,options){if(!pattern)throw new Error("must provide pattern");if(typeof options=="function"||arguments.length===3)throw new TypeError(`callback provided to sync glob
|
|
15
|
-
See: https://github.com/isaacs/node-glob/issues/167`);if(!(this instanceof GlobSync))return new GlobSync(pattern,options);if(setopts(this,pattern,options),this.noprocess)return this;var n=this.minimatch.set.length;this.matches=new Array(n);for(var i=0;i<n;i++)this._process(this.minimatch.set[i],i,!1);this._finish()}GlobSync.prototype._finish=function(){if(assert9.ok(this instanceof GlobSync),this.realpath){var self2=this;this.matches.forEach(function(matchset,index){var set=self2.matches[index]=Object.create(null);for(var p in matchset)try{p=self2._makeAbs(p);var real=rp.realpathSync(p,self2.realpathCache);set[real]=!0}catch(er){if(er.syscall==="stat")set[self2._makeAbs(p)]=!0;else throw er}})}common.finish(this)};GlobSync.prototype._process=function(pattern,index,inGlobStar){assert9.ok(this instanceof GlobSync);for(var n=0;typeof pattern[n]=="string";)n++;var prefix;switch(n){case pattern.length:this._processSimple(pattern.join("/"),index);return;case 0:prefix=null;break;default:prefix=pattern.slice(0,n).join("/");break}var remain=pattern.slice(n),read;prefix===null?read=".":((isAbsolute3(prefix)||isAbsolute3(pattern.map(function(p){return typeof p=="string"?p:"[*]"}).join("/")))&&(!prefix||!isAbsolute3(prefix))&&(prefix="/"+prefix),read=prefix);var abs=this._makeAbs(read);if(!childrenIgnored(this,read)){var isGlobStar=remain[0]===minimatch3.GLOBSTAR;isGlobStar?this._processGlobStar(prefix,read,abs,remain,index,inGlobStar):this._processReaddir(prefix,read,abs,remain,index,inGlobStar)}};GlobSync.prototype._processReaddir=function(prefix,read,abs,remain,index,inGlobStar){var entries=this._readdir(abs,inGlobStar);if(entries){for(var pn=remain[0],negate=!!this.minimatch.negate,rawGlob=pn._glob,dotOk=this.dot||rawGlob.charAt(0)===".",matchedEntries=[],i=0;i<entries.length;i++){var e=entries[i];if(e.charAt(0)!=="."||dotOk){var m;negate&&!prefix?m=!e.match(pn):m=e.match(pn),m&&matchedEntries.push(e)}}var len=matchedEntries.length;if(len!==0){if(remain.length===1&&!this.mark&&!this.stat){this.matches[index]||(this.matches[index]=Object.create(null));for(var i=0;i<len;i++){var e=matchedEntries[i];prefix&&(prefix.slice(-1)!=="/"?e=prefix+"/"+e:e=prefix+e),e.charAt(0)==="/"&&!this.nomount&&(e=path9.join(this.root,e)),this._emitMatch(index,e)}return}remain.shift();for(var i=0;i<len;i++){var e=matchedEntries[i],newPattern;prefix?newPattern=[prefix,e]:newPattern=[e],this._process(newPattern.concat(remain),index,inGlobStar)}}}};GlobSync.prototype._emitMatch=function(index,e){if(!isIgnored(this,e)){var abs=this._makeAbs(e);if(this.mark&&(e=this._mark(e)),this.absolute&&(e=abs),!this.matches[index][e]){if(this.nodir){var c=this.cache[abs];if(c==="DIR"||Array.isArray(c))return}this.matches[index][e]=!0,this.stat&&this._stat(e)}}};GlobSync.prototype._readdirInGlobStar=function(abs){if(this.follow)return this._readdir(abs,!1);var entries,lstat4,stat2;try{lstat4=this.fs.lstatSync(abs)}catch(er){if(er.code==="ENOENT")return null}var isSym=lstat4&&lstat4.isSymbolicLink();return this.symlinks[abs]=isSym,!isSym&&lstat4&&!lstat4.isDirectory()?this.cache[abs]="FILE":entries=this._readdir(abs,!1),entries};GlobSync.prototype._readdir=function(abs,inGlobStar){var entries;if(inGlobStar&&!ownProp(this.symlinks,abs))return this._readdirInGlobStar(abs);if(ownProp(this.cache,abs)){var c=this.cache[abs];if(!c||c==="FILE")return null;if(Array.isArray(c))return c}try{return this._readdirEntries(abs,this.fs.readdirSync(abs))}catch(er){return this._readdirError(abs,er),null}};GlobSync.prototype._readdirEntries=function(abs,entries){if(!this.mark&&!this.stat)for(var i=0;i<entries.length;i++){var e=entries[i];abs==="/"?e=abs+e:e=abs+"/"+e,this.cache[e]=!0}return this.cache[abs]=entries,entries};GlobSync.prototype._readdirError=function(f,er){switch(er.code){case"ENOTSUP":case"ENOTDIR":var abs=this._makeAbs(f);if(this.cache[abs]="FILE",abs===this.cwdAbs){var error=new Error(er.code+" invalid cwd "+this.cwd);throw error.path=this.cwd,error.code=er.code,error}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(f)]=!1;break;default:if(this.cache[this._makeAbs(f)]=!1,this.strict)throw er;this.silent||console.error("glob error",er);break}};GlobSync.prototype._processGlobStar=function(prefix,read,abs,remain,index,inGlobStar){var entries=this._readdir(abs,inGlobStar);if(entries){var remainWithoutGlobStar=remain.slice(1),gspref=prefix?[prefix]:[],noGlobStar=gspref.concat(remainWithoutGlobStar);this._process(noGlobStar,index,!1);var len=entries.length,isSym=this.symlinks[abs];if(!(isSym&&inGlobStar))for(var i=0;i<len;i++){var e=entries[i];if(!(e.charAt(0)==="."&&!this.dot)){var instead=gspref.concat(entries[i],remainWithoutGlobStar);this._process(instead,index,!0);var below=gspref.concat(entries[i],remain);this._process(below,index,!0)}}}};GlobSync.prototype._processSimple=function(prefix,index){var exists=this._stat(prefix);if(this.matches[index]||(this.matches[index]=Object.create(null)),!!exists){if(prefix&&isAbsolute3(prefix)&&!this.nomount){var trail=/[\/\\]$/.test(prefix);prefix.charAt(0)==="/"?prefix=path9.join(this.root,prefix):(prefix=path9.resolve(this.root,prefix),trail&&(prefix+="/"))}process.platform==="win32"&&(prefix=prefix.replace(/\\/g,"/")),this._emitMatch(index,prefix)}};GlobSync.prototype._stat=function(f){var abs=this._makeAbs(f),needDir=f.slice(-1)==="/";if(f.length>this.maxLength)return!1;if(!this.stat&&ownProp(this.cache,abs)){var c=this.cache[abs];if(Array.isArray(c)&&(c="DIR"),!needDir||c==="DIR")return c;if(needDir&&c==="FILE")return!1}var exists,stat2=this.statCache[abs];if(!stat2){var lstat4;try{lstat4=this.fs.lstatSync(abs)}catch(er){if(er&&(er.code==="ENOENT"||er.code==="ENOTDIR"))return this.statCache[abs]=!1,!1}if(lstat4&&lstat4.isSymbolicLink())try{stat2=this.fs.statSync(abs)}catch{stat2=lstat4}else stat2=lstat4}this.statCache[abs]=stat2;var c=!0;return stat2&&(c=stat2.isDirectory()?"DIR":"FILE"),this.cache[abs]=this.cache[abs]||c,needDir&&c==="FILE"?!1:c};GlobSync.prototype._mark=function(p){return common.mark(this,p)};GlobSync.prototype._makeAbs=function(f){return common.makeAbs(this,f)}}});var require_inflight=__commonJS({"../../node_modules/.pnpm/inflight@1.0.6/node_modules/inflight/inflight.js"(exports2,module2){var wrappy=require_wrappy(),reqs=Object.create(null),once=require_once();module2.exports=wrappy(inflight);function inflight(key,cb){return reqs[key]?(reqs[key].push(cb),null):(reqs[key]=[cb],makeres(key))}function makeres(key){return once(function RES(){var cbs=reqs[key],len=cbs.length,args=slice(arguments);try{for(var i=0;i<len;i++)cbs[i].apply(null,args)}finally{cbs.length>len?(cbs.splice(0,len),process.nextTick(function(){RES.apply(null,args)})):delete reqs[key]}})}function slice(args){for(var length=args.length,array=[],i=0;i<length;i++)array[i]=args[i];return array}}});var require_glob=__commonJS({"../../node_modules/.pnpm/glob@8.0.3/node_modules/glob/glob.js"(exports2,module2){module2.exports=glob2;var rp=require_fs2(),minimatch3=require_minimatch2(),Minimatch=minimatch3.Minimatch,inherits=require_inherits(),EE=require("events").EventEmitter,path9=require("path"),assert9=require("assert"),isAbsolute3=require("path").isAbsolute,globSync=require_sync(),common=require_common(),setopts=common.setopts,ownProp=common.ownProp,inflight=require_inflight(),util=require("util"),childrenIgnored=common.childrenIgnored,isIgnored=common.isIgnored,once=require_once();function glob2(pattern,options,cb){if(typeof options=="function"&&(cb=options,options={}),options||(options={}),options.sync){if(cb)throw new TypeError("callback provided to sync glob");return globSync(pattern,options)}return new Glob(pattern,options,cb)}glob2.sync=globSync;var GlobSync=glob2.GlobSync=globSync.GlobSync;glob2.glob=glob2;function extend(origin,add){if(add===null||typeof add!="object")return origin;for(var keys=Object.keys(add),i=keys.length;i--;)origin[keys[i]]=add[keys[i]];return origin}glob2.hasMagic=function(pattern,options_){var options=extend({},options_);options.noprocess=!0;var g2=new Glob(pattern,options),set=g2.minimatch.set;if(!pattern)return!1;if(set.length>1)return!0;for(var j=0;j<set[0].length;j++)if(typeof set[0][j]!="string")return!0;return!1};glob2.Glob=Glob;inherits(Glob,EE);function Glob(pattern,options,cb){if(typeof options=="function"&&(cb=options,options=null),options&&options.sync){if(cb)throw new TypeError("callback provided to sync glob");return new GlobSync(pattern,options)}if(!(this instanceof Glob))return new Glob(pattern,options,cb);setopts(this,pattern,options),this._didRealPath=!1;var n=this.minimatch.set.length;this.matches=new Array(n),typeof cb=="function"&&(cb=once(cb),this.on("error",cb),this.on("end",function(matches){cb(null,matches)}));var self2=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(n===0)return done();for(var sync=!0,i=0;i<n;i++)this._process(this.minimatch.set[i],i,!1,done);sync=!1;function done(){--self2._processing,self2._processing<=0&&(sync?process.nextTick(function(){self2._finish()}):self2._finish())}}Glob.prototype._finish=function(){if(assert9(this instanceof Glob),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();common.finish(this),this.emit("end",this.found)}};Glob.prototype._realpath=function(){if(this._didRealpath)return;this._didRealpath=!0;var n=this.matches.length;if(n===0)return this._finish();for(var self2=this,i=0;i<this.matches.length;i++)this._realpathSet(i,next);function next(){--n===0&&self2._finish()}};Glob.prototype._realpathSet=function(index,cb){var matchset=this.matches[index];if(!matchset)return cb();var found=Object.keys(matchset),self2=this,n=found.length;if(n===0)return cb();var set=this.matches[index]=Object.create(null);found.forEach(function(p,i){p=self2._makeAbs(p),rp.realpath(p,self2.realpathCache,function(er,real){er?er.syscall==="stat"?set[p]=!0:self2.emit("error",er):set[real]=!0,--n===0&&(self2.matches[index]=set,cb())})})};Glob.prototype._mark=function(p){return common.mark(this,p)};Glob.prototype._makeAbs=function(f){return common.makeAbs(this,f)};Glob.prototype.abort=function(){this.aborted=!0,this.emit("abort")};Glob.prototype.pause=function(){this.paused||(this.paused=!0,this.emit("pause"))};Glob.prototype.resume=function(){if(this.paused){if(this.emit("resume"),this.paused=!1,this._emitQueue.length){var eq=this._emitQueue.slice(0);this._emitQueue.length=0;for(var i=0;i<eq.length;i++){var e=eq[i];this._emitMatch(e[0],e[1])}}if(this._processQueue.length){var pq=this._processQueue.slice(0);this._processQueue.length=0;for(var i=0;i<pq.length;i++){var p=pq[i];this._processing--,this._process(p[0],p[1],p[2],p[3])}}}};Glob.prototype._process=function(pattern,index,inGlobStar,cb){if(assert9(this instanceof Glob),assert9(typeof cb=="function"),!this.aborted){if(this._processing++,this.paused){this._processQueue.push([pattern,index,inGlobStar,cb]);return}for(var n=0;typeof pattern[n]=="string";)n++;var prefix;switch(n){case pattern.length:this._processSimple(pattern.join("/"),index,cb);return;case 0:prefix=null;break;default:prefix=pattern.slice(0,n).join("/");break}var remain=pattern.slice(n),read;prefix===null?read=".":((isAbsolute3(prefix)||isAbsolute3(pattern.map(function(p){return typeof p=="string"?p:"[*]"}).join("/")))&&(!prefix||!isAbsolute3(prefix))&&(prefix="/"+prefix),read=prefix);var abs=this._makeAbs(read);if(childrenIgnored(this,read))return cb();var isGlobStar=remain[0]===minimatch3.GLOBSTAR;isGlobStar?this._processGlobStar(prefix,read,abs,remain,index,inGlobStar,cb):this._processReaddir(prefix,read,abs,remain,index,inGlobStar,cb)}};Glob.prototype._processReaddir=function(prefix,read,abs,remain,index,inGlobStar,cb){var self2=this;this._readdir(abs,inGlobStar,function(er,entries){return self2._processReaddir2(prefix,read,abs,remain,index,inGlobStar,entries,cb)})};Glob.prototype._processReaddir2=function(prefix,read,abs,remain,index,inGlobStar,entries,cb){if(!entries)return cb();for(var pn=remain[0],negate=!!this.minimatch.negate,rawGlob=pn._glob,dotOk=this.dot||rawGlob.charAt(0)===".",matchedEntries=[],i=0;i<entries.length;i++){var e=entries[i];if(e.charAt(0)!=="."||dotOk){var m;negate&&!prefix?m=!e.match(pn):m=e.match(pn),m&&matchedEntries.push(e)}}var len=matchedEntries.length;if(len===0)return cb();if(remain.length===1&&!this.mark&&!this.stat){this.matches[index]||(this.matches[index]=Object.create(null));for(var i=0;i<len;i++){var e=matchedEntries[i];prefix&&(prefix!=="/"?e=prefix+"/"+e:e=prefix+e),e.charAt(0)==="/"&&!this.nomount&&(e=path9.join(this.root,e)),this._emitMatch(index,e)}return cb()}remain.shift();for(var i=0;i<len;i++){var e=matchedEntries[i],newPattern;prefix&&(prefix!=="/"?e=prefix+"/"+e:e=prefix+e),this._process([e].concat(remain),index,inGlobStar,cb)}cb()};Glob.prototype._emitMatch=function(index,e){if(!this.aborted&&!isIgnored(this,e)){if(this.paused){this._emitQueue.push([index,e]);return}var abs=isAbsolute3(e)?e:this._makeAbs(e);if(this.mark&&(e=this._mark(e)),this.absolute&&(e=abs),!this.matches[index][e]){if(this.nodir){var c=this.cache[abs];if(c==="DIR"||Array.isArray(c))return}this.matches[index][e]=!0;var st=this.statCache[abs];st&&this.emit("stat",e,st),this.emit("match",e)}}};Glob.prototype._readdirInGlobStar=function(abs,cb){if(this.aborted)return;if(this.follow)return this._readdir(abs,!1,cb);var lstatkey="lstat\0"+abs,self2=this,lstatcb=inflight(lstatkey,lstatcb_);lstatcb&&self2.fs.lstat(abs,lstatcb);function lstatcb_(er,lstat4){if(er&&er.code==="ENOENT")return cb();var isSym=lstat4&&lstat4.isSymbolicLink();self2.symlinks[abs]=isSym,!isSym&&lstat4&&!lstat4.isDirectory()?(self2.cache[abs]="FILE",cb()):self2._readdir(abs,!1,cb)}};Glob.prototype._readdir=function(abs,inGlobStar,cb){if(!this.aborted&&(cb=inflight("readdir\0"+abs+"\0"+inGlobStar,cb),!!cb)){if(inGlobStar&&!ownProp(this.symlinks,abs))return this._readdirInGlobStar(abs,cb);if(ownProp(this.cache,abs)){var c=this.cache[abs];if(!c||c==="FILE")return cb();if(Array.isArray(c))return cb(null,c)}var self2=this;self2.fs.readdir(abs,readdirCb(this,abs,cb))}};function readdirCb(self2,abs,cb){return function(er,entries){er?self2._readdirError(abs,er,cb):self2._readdirEntries(abs,entries,cb)}}Glob.prototype._readdirEntries=function(abs,entries,cb){if(!this.aborted){if(!this.mark&&!this.stat)for(var i=0;i<entries.length;i++){var e=entries[i];abs==="/"?e=abs+e:e=abs+"/"+e,this.cache[e]=!0}return this.cache[abs]=entries,cb(null,entries)}};Glob.prototype._readdirError=function(f,er,cb){if(!this.aborted){switch(er.code){case"ENOTSUP":case"ENOTDIR":var abs=this._makeAbs(f);if(this.cache[abs]="FILE",abs===this.cwdAbs){var error=new Error(er.code+" invalid cwd "+this.cwd);error.path=this.cwd,error.code=er.code,this.emit("error",error),this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(f)]=!1;break;default:this.cache[this._makeAbs(f)]=!1,this.strict&&(this.emit("error",er),this.abort()),this.silent||console.error("glob error",er);break}return cb()}};Glob.prototype._processGlobStar=function(prefix,read,abs,remain,index,inGlobStar,cb){var self2=this;this._readdir(abs,inGlobStar,function(er,entries){self2._processGlobStar2(prefix,read,abs,remain,index,inGlobStar,entries,cb)})};Glob.prototype._processGlobStar2=function(prefix,read,abs,remain,index,inGlobStar,entries,cb){if(!entries)return cb();var remainWithoutGlobStar=remain.slice(1),gspref=prefix?[prefix]:[],noGlobStar=gspref.concat(remainWithoutGlobStar);this._process(noGlobStar,index,!1,cb);var isSym=this.symlinks[abs],len=entries.length;if(isSym&&inGlobStar)return cb();for(var i=0;i<len;i++){var e=entries[i];if(!(e.charAt(0)==="."&&!this.dot)){var instead=gspref.concat(entries[i],remainWithoutGlobStar);this._process(instead,index,!0,cb);var below=gspref.concat(entries[i],remain);this._process(below,index,!0,cb)}}cb()};Glob.prototype._processSimple=function(prefix,index,cb){var self2=this;this._stat(prefix,function(er,exists){self2._processSimple2(prefix,index,er,exists,cb)})};Glob.prototype._processSimple2=function(prefix,index,er,exists,cb){if(this.matches[index]||(this.matches[index]=Object.create(null)),!exists)return cb();if(prefix&&isAbsolute3(prefix)&&!this.nomount){var trail=/[\/\\]$/.test(prefix);prefix.charAt(0)==="/"?prefix=path9.join(this.root,prefix):(prefix=path9.resolve(this.root,prefix),trail&&(prefix+="/"))}process.platform==="win32"&&(prefix=prefix.replace(/\\/g,"/")),this._emitMatch(index,prefix),cb()};Glob.prototype._stat=function(f,cb){var abs=this._makeAbs(f),needDir=f.slice(-1)==="/";if(f.length>this.maxLength)return cb();if(!this.stat&&ownProp(this.cache,abs)){var c=this.cache[abs];if(Array.isArray(c)&&(c="DIR"),!needDir||c==="DIR")return cb(null,c);if(needDir&&c==="FILE")return cb()}var exists,stat2=this.statCache[abs];if(stat2!==void 0){if(stat2===!1)return cb(null,stat2);var type=stat2.isDirectory()?"DIR":"FILE";return needDir&&type==="FILE"?cb():cb(null,type,stat2)}var self2=this,statcb=inflight("stat\0"+abs,lstatcb_);statcb&&self2.fs.lstat(abs,statcb);function lstatcb_(er,lstat4){if(lstat4&&lstat4.isSymbolicLink())return self2.fs.stat(abs,function(er2,stat3){er2?self2._stat2(f,abs,null,lstat4,cb):self2._stat2(f,abs,er2,stat3,cb)});self2._stat2(f,abs,er,lstat4,cb)}};Glob.prototype._stat2=function(f,abs,er,stat2,cb){if(er&&(er.code==="ENOENT"||er.code==="ENOTDIR"))return this.statCache[abs]=!1,cb();var needDir=f.slice(-1)==="/";if(this.statCache[abs]=stat2,abs.slice(-1)==="/"&&stat2&&!stat2.isDirectory())return cb(null,!1,stat2);var c=!0;return stat2&&(c=stat2.isDirectory()?"DIR":"FILE"),this.cache[abs]=this.cache[abs]||c,needDir&&c==="FILE"?cb():cb(null,c,stat2)}}});var normalize_path_exports={};__export(normalize_path_exports,{normalizePath:()=>normalizePath});function normalizePath(p){return isWin?p.replace(/\\/g,"/"):p}var isWin,init_normalize_path=__esm({"src/fs/normalize-path.ts"(){"use strict";isWin=process.platform==="win32"}});var glob_exports={};__export(glob_exports,{default:()=>glob});async function glob(pattern,opts,mountpoint){let options=typeof opts=="string"?{cwd:opts}:opts;if(!options.cwd)throw new Error("Second argument (basePath) must be specified for names of resulting files");if(!import_path4.default.isAbsolute(options.cwd))throw new Error(`basePath/cwd must be an absolute path (${options.cwd})`);let results={},statCache={},symlinks={},files=await vanillaGlob(pattern,{...options,symlinks,statCache,stat:!0,dot:!0}),dirs=new Set,dirsWithEntries=new Set;for(let relativePath of files){let absPath=import_path4.default.join(options.cwd,relativePath),fsPath=normalizePath(absPath),stat2=statCache[fsPath];(0,import_assert6.default)(stat2,`statCache does not contain value for ${relativePath} (resolved to ${fsPath})`);let isSymlink=symlinks[fsPath];if(options.follow&&(isSymlink||(await(0,import_fs_extra5.lstat)(fsPath)).isSymbolicLink())){let target=await(0,import_fs_extra5.readlink)(absPath),absTarget=import_path4.default.resolve(import_path4.default.dirname(absPath),target);if(import_path4.default.relative(options.cwd,absTarget).startsWith(`..${import_path4.default.sep}`))continue}if(isSymlink||stat2.isFile()||stat2.isDirectory()){isSymlink&&(stat2=await(0,import_fs_extra5.lstat)(absPath));let dirname3=import_path4.default.dirname(relativePath);if(dirsWithEntries.add(dirname3),stat2.isDirectory()){dirs.add(relativePath);continue}let finalPath=relativePath;mountpoint&&(finalPath=import_path4.default.join(mountpoint,finalPath)),results[finalPath]=new file_fs_ref_default({mode:stat2.mode,fsPath})}}if(options.includeDirectories)for(let relativePath of dirs){if(dirsWithEntries.has(relativePath))continue;let finalPath=relativePath;mountpoint&&(finalPath=import_path4.default.join(mountpoint,finalPath));let fsPath=normalizePath(import_path4.default.join(options.cwd,relativePath)),stat2=statCache[fsPath];results[finalPath]=new file_fs_ref_default({mode:stat2.mode,fsPath})}return results}var import_path4,import_assert6,import_glob,import_util,import_fs_extra5,vanillaGlob,init_glob=__esm({"src/fs/glob.ts"(){"use strict";import_path4=__toESM(require("path")),import_assert6=__toESM(require("assert")),import_glob=__toESM(require_glob()),import_util=require("util"),import_fs_extra5=__toESM(require_lib());init_normalize_path();init_file_fs_ref();vanillaGlob=(0,import_util.promisify)(import_glob.default)}});var rename_exports={};__export(rename_exports,{default:()=>rename});function rename(files,delegate){let result={};for(let[name,file]of Object.entries(files))result[delegate(name)]=file;return result}var init_rename=__esm({"src/fs/rename.ts"(){"use strict"}});var find_package_json_exports={};__export(find_package_json_exports,{findPackageJson:()=>findPackageJson,traverseUpDirectories:()=>traverseUpDirectories,walkParentDirs:()=>walkParentDirs});function*traverseUpDirectories({start,base}){let current=import_path5.default.normalize(start),normalizedRoot=base?import_path5.default.normalize(base):void 0;for(;current&&(yield current,current!==normalizedRoot);){let next=import_path5.default.join(current,"..");current=next===current?void 0:next}}async function findPackageJson(destPath,readPackageJson2=!1,base="/"){(0,import_assert7.default)(import_path5.default.isAbsolute(destPath));let pkgJsonPath=await walkParentDirs({base,start:destPath,filename:"package.json"}),packageJson;if(readPackageJson2&&pkgJsonPath)try{packageJson=JSON.parse(await import_fs_extra6.default.readFile(pkgJsonPath,"utf8"))}catch(err){throw new Error(`Could not read ${pkgJsonPath}: ${err.message}.`)}return{packageJsonPath:pkgJsonPath||void 0,packageJson}}async function walkParentDirs({base,start,filename}){(0,import_assert7.default)(import_path5.default.isAbsolute(base),'Expected "base" to be absolute path'),(0,import_assert7.default)(import_path5.default.isAbsolute(start),'Expected "start" to be absolute path');for(let dir of traverseUpDirectories({start,base})){let fullPath=import_path5.default.join(dir,filename);if(await import_fs_extra6.default.pathExists(fullPath))return fullPath}return null}var import_assert7,import_fs_extra6,import_path5,init_find_package_json=__esm({"src/fs/find-package-json.ts"(){"use strict";import_assert7=__toESM(require("assert")),import_fs_extra6=__toESM(require_lib()),import_path5=__toESM(require("path"))}});var require_src=__commonJS({"../../node_modules/.pnpm/nice-try@1.0.5/node_modules/nice-try/src/index.js"(exports2,module2){"use strict";module2.exports=function(fn){try{return fn()}catch{}}}});var require_windows=__commonJS({"../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js"(exports2,module2){module2.exports=isexe;isexe.sync=sync;var fs15=require("fs");function checkPathExt(path9,options){var pathext=options.pathExt!==void 0?options.pathExt:process.env.PATHEXT;if(!pathext||(pathext=pathext.split(";"),pathext.indexOf("")!==-1))return!0;for(var i=0;i<pathext.length;i++){var p=pathext[i].toLowerCase();if(p&&path9.substr(-p.length).toLowerCase()===p)return!0}return!1}function checkStat(stat2,path9,options){return!stat2.isSymbolicLink()&&!stat2.isFile()?!1:checkPathExt(path9,options)}function isexe(path9,options,cb){fs15.stat(path9,function(er,stat2){cb(er,er?!1:checkStat(stat2,path9,options))})}function sync(path9,options){return checkStat(fs15.statSync(path9),path9,options)}}});var require_mode=__commonJS({"../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js"(exports2,module2){module2.exports=isexe;isexe.sync=sync;var fs15=require("fs");function isexe(path9,options,cb){fs15.stat(path9,function(er,stat2){cb(er,er?!1:checkStat(stat2,options))})}function sync(path9,options){return checkStat(fs15.statSync(path9),options)}function checkStat(stat2,options){return stat2.isFile()&&checkMode(stat2,options)}function checkMode(stat2,options){var mod=stat2.mode,uid=stat2.uid,gid=stat2.gid,myUid=options.uid!==void 0?options.uid:process.getuid&&process.getuid(),myGid=options.gid!==void 0?options.gid:process.getgid&&process.getgid(),u=parseInt("100",8),g2=parseInt("010",8),o=parseInt("001",8),ug=u|g2,ret=mod&o||mod&g2&&gid===myGid||mod&u&&uid===myUid||mod&ug&&myUid===0;return ret}}});var require_isexe=__commonJS({"../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js"(exports2,module2){var fs15=require("fs"),core;process.platform==="win32"||global.TESTING_WINDOWS?core=require_windows():core=require_mode();module2.exports=isexe;isexe.sync=sync;function isexe(path9,options,cb){if(typeof options=="function"&&(cb=options,options={}),!cb){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(resolve4,reject){isexe(path9,options||{},function(er,is){er?reject(er):resolve4(is)})})}core(path9,options||{},function(er,is){er&&(er.code==="EACCES"||options&&options.ignoreErrors)&&(er=null,is=!1),cb(er,is)})}function sync(path9,options){try{return core.sync(path9,options||{})}catch(er){if(options&&options.ignoreErrors||er.code==="EACCES")return!1;throw er}}}});var require_which=__commonJS({"../../node_modules/.pnpm/which@1.3.1/node_modules/which/which.js"(exports2,module2){module2.exports=which;which.sync=whichSync;var isWindows=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",path9=require("path"),COLON=isWindows?";":":",isexe=require_isexe();function getNotFoundError(cmd){var er=new Error("not found: "+cmd);return er.code="ENOENT",er}function getPathInfo(cmd,opt){var colon=opt.colon||COLON,pathEnv=opt.path||process.env.PATH||"",pathExt=[""];pathEnv=pathEnv.split(colon);var pathExtExe="";return isWindows&&(pathEnv.unshift(process.cwd()),pathExtExe=opt.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM",pathExt=pathExtExe.split(colon),cmd.indexOf(".")!==-1&&pathExt[0]!==""&&pathExt.unshift("")),(cmd.match(/\//)||isWindows&&cmd.match(/\\/))&&(pathEnv=[""]),{env:pathEnv,ext:pathExt,extExe:pathExtExe}}function which(cmd,opt,cb){typeof opt=="function"&&(cb=opt,opt={});var info=getPathInfo(cmd,opt),pathEnv=info.env,pathExt=info.ext,pathExtExe=info.extExe,found=[];(function F(i,l){if(i===l)return opt.all&&found.length?cb(null,found):cb(getNotFoundError(cmd));var pathPart=pathEnv[i];pathPart.charAt(0)==='"'&&pathPart.slice(-1)==='"'&&(pathPart=pathPart.slice(1,-1));var p=path9.join(pathPart,cmd);!pathPart&&/^\.[\\\/]/.test(cmd)&&(p=cmd.slice(0,2)+p),function E3(ii,ll){if(ii===ll)return F(i+1,l);var ext=pathExt[ii];isexe(p+ext,{pathExt:pathExtExe},function(er,is){if(!er&&is)if(opt.all)found.push(p+ext);else return cb(null,p+ext);return E3(ii+1,ll)})}(0,pathExt.length)})(0,pathEnv.length)}function whichSync(cmd,opt){opt=opt||{};for(var info=getPathInfo(cmd,opt),pathEnv=info.env,pathExt=info.ext,pathExtExe=info.extExe,found=[],i=0,l=pathEnv.length;i<l;i++){var pathPart=pathEnv[i];pathPart.charAt(0)==='"'&&pathPart.slice(-1)==='"'&&(pathPart=pathPart.slice(1,-1));var p=path9.join(pathPart,cmd);!pathPart&&/^\.[\\\/]/.test(cmd)&&(p=cmd.slice(0,2)+p);for(var j=0,ll=pathExt.length;j<ll;j++){var cur=p+pathExt[j],is;try{if(is=isexe.sync(cur,{pathExt:pathExtExe}),is)if(opt.all)found.push(cur);else return cur}catch{}}}if(opt.all&&found.length)return found;if(opt.nothrow)return null;throw getNotFoundError(cmd)}}});var require_path_key=__commonJS({"../../node_modules/.pnpm/path-key@2.0.1/node_modules/path-key/index.js"(exports2,module2){"use strict";module2.exports=opts=>{opts=opts||{};let env=opts.env||process.env;return(opts.platform||process.platform)!=="win32"?"PATH":Object.keys(env).find(x=>x.toUpperCase()==="PATH")||"Path"}}});var require_resolveCommand=__commonJS({"../../node_modules/.pnpm/cross-spawn@6.0.5/node_modules/cross-spawn/lib/util/resolveCommand.js"(exports2,module2){"use strict";var path9=require("path"),which=require_which(),pathKey=require_path_key()();function resolveCommandAttempt(parsed,withoutPathExt){let cwd=process.cwd(),hasCustomCwd=parsed.options.cwd!=null;if(hasCustomCwd)try{process.chdir(parsed.options.cwd)}catch{}let resolved;try{resolved=which.sync(parsed.command,{path:(parsed.options.env||process.env)[pathKey],pathExt:withoutPathExt?path9.delimiter:void 0})}catch{}finally{process.chdir(cwd)}return resolved&&(resolved=path9.resolve(hasCustomCwd?parsed.options.cwd:"",resolved)),resolved}function resolveCommand(parsed){return resolveCommandAttempt(parsed)||resolveCommandAttempt(parsed,!0)}module2.exports=resolveCommand}});var require_escape=__commonJS({"../../node_modules/.pnpm/cross-spawn@6.0.5/node_modules/cross-spawn/lib/util/escape.js"(exports2,module2){"use strict";var metaCharsRegExp=/([()\][%!^"`<>&|;, *?])/g;function escapeCommand(arg){return arg=arg.replace(metaCharsRegExp,"^$1"),arg}function escapeArgument(arg,doubleEscapeMetaChars){return arg=`${arg}`,arg=arg.replace(/(\\*)"/g,'$1$1\\"'),arg=arg.replace(/(\\*)$/,"$1$1"),arg=`"${arg}"`,arg=arg.replace(metaCharsRegExp,"^$1"),doubleEscapeMetaChars&&(arg=arg.replace(metaCharsRegExp,"^$1")),arg}module2.exports.command=escapeCommand;module2.exports.argument=escapeArgument}});var require_shebang_regex=__commonJS({"../../node_modules/.pnpm/shebang-regex@1.0.0/node_modules/shebang-regex/index.js"(exports2,module2){"use strict";module2.exports=/^#!.*/}});var require_shebang_command=__commonJS({"../../node_modules/.pnpm/shebang-command@1.2.0/node_modules/shebang-command/index.js"(exports2,module2){"use strict";var shebangRegex=require_shebang_regex();module2.exports=function(str){var match=str.match(shebangRegex);if(!match)return null;var arr=match[0].replace(/#! ?/,"").split(" "),bin=arr[0].split("/").pop(),arg=arr[1];return bin==="env"?arg:bin+(arg?" "+arg:"")}}});var require_readShebang=__commonJS({"../../node_modules/.pnpm/cross-spawn@6.0.5/node_modules/cross-spawn/lib/util/readShebang.js"(exports2,module2){"use strict";var fs15=require("fs"),shebangCommand=require_shebang_command();function readShebang(command){let buffer;Buffer.alloc?buffer=Buffer.alloc(150):(buffer=new Buffer(150),buffer.fill(0));let fd;try{fd=fs15.openSync(command,"r"),fs15.readSync(fd,buffer,0,150,0),fs15.closeSync(fd)}catch{}return shebangCommand(buffer.toString())}module2.exports=readShebang}});var require_semver=__commonJS({"../../node_modules/.pnpm/semver@5.7.2/node_modules/semver/semver.js"(exports2,module2){exports2=module2.exports=SemVer2;var debug2;typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?debug2=function(){var args=Array.prototype.slice.call(arguments,0);args.unshift("SEMVER"),console.log.apply(console,args)}:debug2=function(){};exports2.SEMVER_SPEC_VERSION="2.0.0";var MAX_LENGTH=256,MAX_SAFE_INTEGER=Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH=16,MAX_SAFE_BUILD_LENGTH=MAX_LENGTH-6,re=exports2.re=[],safeRe=exports2.safeRe=[],src=exports2.src=[],R=0,LETTERDASHNUMBER="[a-zA-Z0-9-]",safeRegexReplacements=[["\\s",1],["\\d",MAX_LENGTH],[LETTERDASHNUMBER,MAX_SAFE_BUILD_LENGTH]];function makeSafeRe(value){for(var i2=0;i2<safeRegexReplacements.length;i2++){var token=safeRegexReplacements[i2][0],max=safeRegexReplacements[i2][1];value=value.split(token+"*").join(token+"{0,"+max+"}").split(token+"+").join(token+"{1,"+max+"}")}return value}var NUMERICIDENTIFIER=R++;src[NUMERICIDENTIFIER]="0|[1-9]\\d*";var NUMERICIDENTIFIERLOOSE=R++;src[NUMERICIDENTIFIERLOOSE]="\\d+";var NONNUMERICIDENTIFIER=R++;src[NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+LETTERDASHNUMBER+"*";var MAINVERSION=R++;src[MAINVERSION]="("+src[NUMERICIDENTIFIER]+")\\.("+src[NUMERICIDENTIFIER]+")\\.("+src[NUMERICIDENTIFIER]+")";var MAINVERSIONLOOSE=R++;src[MAINVERSIONLOOSE]="("+src[NUMERICIDENTIFIERLOOSE]+")\\.("+src[NUMERICIDENTIFIERLOOSE]+")\\.("+src[NUMERICIDENTIFIERLOOSE]+")";var PRERELEASEIDENTIFIER=R++;src[PRERELEASEIDENTIFIER]="(?:"+src[NUMERICIDENTIFIER]+"|"+src[NONNUMERICIDENTIFIER]+")";var PRERELEASEIDENTIFIERLOOSE=R++;src[PRERELEASEIDENTIFIERLOOSE]="(?:"+src[NUMERICIDENTIFIERLOOSE]+"|"+src[NONNUMERICIDENTIFIER]+")";var PRERELEASE=R++;src[PRERELEASE]="(?:-("+src[PRERELEASEIDENTIFIER]+"(?:\\."+src[PRERELEASEIDENTIFIER]+")*))";var PRERELEASELOOSE=R++;src[PRERELEASELOOSE]="(?:-?("+src[PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+src[PRERELEASEIDENTIFIERLOOSE]+")*))";var BUILDIDENTIFIER=R++;src[BUILDIDENTIFIER]=LETTERDASHNUMBER+"+";var BUILD=R++;src[BUILD]="(?:\\+("+src[BUILDIDENTIFIER]+"(?:\\."+src[BUILDIDENTIFIER]+")*))";var FULL=R++,FULLPLAIN="v?"+src[MAINVERSION]+src[PRERELEASE]+"?"+src[BUILD]+"?";src[FULL]="^"+FULLPLAIN+"$";var LOOSEPLAIN="[v=\\s]*"+src[MAINVERSIONLOOSE]+src[PRERELEASELOOSE]+"?"+src[BUILD]+"?",LOOSE=R++;src[LOOSE]="^"+LOOSEPLAIN+"$";var GTLT=R++;src[GTLT]="((?:<|>)?=?)";var XRANGEIDENTIFIERLOOSE=R++;src[XRANGEIDENTIFIERLOOSE]=src[NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";var XRANGEIDENTIFIER=R++;src[XRANGEIDENTIFIER]=src[NUMERICIDENTIFIER]+"|x|X|\\*";var XRANGEPLAIN=R++;src[XRANGEPLAIN]="[v=\\s]*("+src[XRANGEIDENTIFIER]+")(?:\\.("+src[XRANGEIDENTIFIER]+")(?:\\.("+src[XRANGEIDENTIFIER]+")(?:"+src[PRERELEASE]+")?"+src[BUILD]+"?)?)?";var XRANGEPLAINLOOSE=R++;src[XRANGEPLAINLOOSE]="[v=\\s]*("+src[XRANGEIDENTIFIERLOOSE]+")(?:\\.("+src[XRANGEIDENTIFIERLOOSE]+")(?:\\.("+src[XRANGEIDENTIFIERLOOSE]+")(?:"+src[PRERELEASELOOSE]+")?"+src[BUILD]+"?)?)?";var XRANGE=R++;src[XRANGE]="^"+src[GTLT]+"\\s*"+src[XRANGEPLAIN]+"$";var XRANGELOOSE=R++;src[XRANGELOOSE]="^"+src[GTLT]+"\\s*"+src[XRANGEPLAINLOOSE]+"$";var COERCE=R++;src[COERCE]="(?:^|[^\\d])(\\d{1,"+MAX_SAFE_COMPONENT_LENGTH+"})(?:\\.(\\d{1,"+MAX_SAFE_COMPONENT_LENGTH+"}))?(?:\\.(\\d{1,"+MAX_SAFE_COMPONENT_LENGTH+"}))?(?:$|[^\\d])";var LONETILDE=R++;src[LONETILDE]="(?:~>?)";var TILDETRIM=R++;src[TILDETRIM]="(\\s*)"+src[LONETILDE]+"\\s+";re[TILDETRIM]=new RegExp(src[TILDETRIM],"g");safeRe[TILDETRIM]=new RegExp(makeSafeRe(src[TILDETRIM]),"g");var tildeTrimReplace="$1~",TILDE=R++;src[TILDE]="^"+src[LONETILDE]+src[XRANGEPLAIN]+"$";var TILDELOOSE=R++;src[TILDELOOSE]="^"+src[LONETILDE]+src[XRANGEPLAINLOOSE]+"$";var LONECARET=R++;src[LONECARET]="(?:\\^)";var CARETTRIM=R++;src[CARETTRIM]="(\\s*)"+src[LONECARET]+"\\s+";re[CARETTRIM]=new RegExp(src[CARETTRIM],"g");safeRe[CARETTRIM]=new RegExp(makeSafeRe(src[CARETTRIM]),"g");var caretTrimReplace="$1^",CARET=R++;src[CARET]="^"+src[LONECARET]+src[XRANGEPLAIN]+"$";var CARETLOOSE=R++;src[CARETLOOSE]="^"+src[LONECARET]+src[XRANGEPLAINLOOSE]+"$";var COMPARATORLOOSE=R++;src[COMPARATORLOOSE]="^"+src[GTLT]+"\\s*("+LOOSEPLAIN+")$|^$";var COMPARATOR=R++;src[COMPARATOR]="^"+src[GTLT]+"\\s*("+FULLPLAIN+")$|^$";var COMPARATORTRIM=R++;src[COMPARATORTRIM]="(\\s*)"+src[GTLT]+"\\s*("+LOOSEPLAIN+"|"+src[XRANGEPLAIN]+")";re[COMPARATORTRIM]=new RegExp(src[COMPARATORTRIM],"g");safeRe[COMPARATORTRIM]=new RegExp(makeSafeRe(src[COMPARATORTRIM]),"g");var comparatorTrimReplace="$1$2$3",HYPHENRANGE=R++;src[HYPHENRANGE]="^\\s*("+src[XRANGEPLAIN]+")\\s+-\\s+("+src[XRANGEPLAIN]+")\\s*$";var HYPHENRANGELOOSE=R++;src[HYPHENRANGELOOSE]="^\\s*("+src[XRANGEPLAINLOOSE]+")\\s+-\\s+("+src[XRANGEPLAINLOOSE]+")\\s*$";var STAR=R++;src[STAR]="(<|>)?=?\\s*\\*";for(i=0;i<R;i++)debug2(i,src[i]),re[i]||(re[i]=new RegExp(src[i]),safeRe[i]=new RegExp(makeSafeRe(src[i])));var i;exports2.parse=parse6;function parse6(version,options){if((!options||typeof options!="object")&&(options={loose:!!options,includePrerelease:!1}),version instanceof SemVer2)return version;if(typeof version!="string"||version.length>MAX_LENGTH)return null;var r=options.loose?safeRe[LOOSE]:safeRe[FULL];if(!r.test(version))return null;try{return new SemVer2(version,options)}catch{return null}}exports2.valid=valid;function valid(version,options){var v=parse6(version,options);return v?v.version:null}exports2.clean=clean;function clean(version,options){var s=parse6(version.trim().replace(/^[=v]+/,""),options);return s?s.version:null}exports2.SemVer=SemVer2;function SemVer2(version,options){if((!options||typeof options!="object")&&(options={loose:!!options,includePrerelease:!1}),version instanceof SemVer2){if(version.loose===options.loose)return version;version=version.version}else if(typeof version!="string")throw new TypeError("Invalid Version: "+version);if(version.length>MAX_LENGTH)throw new TypeError("version is longer than "+MAX_LENGTH+" characters");if(!(this instanceof SemVer2))return new SemVer2(version,options);debug2("SemVer",version,options),this.options=options,this.loose=!!options.loose;var m=version.trim().match(options.loose?safeRe[LOOSE]:safeRe[FULL]);if(!m)throw new TypeError("Invalid Version: "+version);if(this.raw=version,this.major=+m[1],this.minor=+m[2],this.patch=+m[3],this.major>MAX_SAFE_INTEGER||this.major<0)throw new TypeError("Invalid major version");if(this.minor>MAX_SAFE_INTEGER||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>MAX_SAFE_INTEGER||this.patch<0)throw new TypeError("Invalid patch version");m[4]?this.prerelease=m[4].split(".").map(function(id){if(/^[0-9]+$/.test(id)){var num=+id;if(num>=0&&num<MAX_SAFE_INTEGER)return num}return id}):this.prerelease=[],this.build=m[5]?m[5].split("."):[],this.format()}SemVer2.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version};SemVer2.prototype.toString=function(){return this.version};SemVer2.prototype.compare=function(other){return debug2("SemVer.compare",this.version,this.options,other),other instanceof SemVer2||(other=new SemVer2(other,this.options)),this.compareMain(other)||this.comparePre(other)};SemVer2.prototype.compareMain=function(other){return other instanceof SemVer2||(other=new SemVer2(other,this.options)),compareIdentifiers(this.major,other.major)||compareIdentifiers(this.minor,other.minor)||compareIdentifiers(this.patch,other.patch)};SemVer2.prototype.comparePre=function(other){if(other instanceof SemVer2||(other=new SemVer2(other,this.options)),this.prerelease.length&&!other.prerelease.length)return-1;if(!this.prerelease.length&&other.prerelease.length)return 1;if(!this.prerelease.length&&!other.prerelease.length)return 0;var i2=0;do{var a=this.prerelease[i2],b=other.prerelease[i2];if(debug2("prerelease compare",i2,a,b),a===void 0&&b===void 0)return 0;if(b===void 0)return 1;if(a===void 0)return-1;if(a===b)continue;return compareIdentifiers(a,b)}while(++i2)};SemVer2.prototype.inc=function(release,identifier){switch(release){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",identifier);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",identifier);break;case"prepatch":this.prerelease.length=0,this.inc("patch",identifier),this.inc("pre",identifier);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",identifier),this.inc("pre",identifier);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{for(var i2=this.prerelease.length;--i2>=0;)typeof this.prerelease[i2]=="number"&&(this.prerelease[i2]++,i2=-2);i2===-1&&this.prerelease.push(0)}identifier&&(this.prerelease[0]===identifier?isNaN(this.prerelease[1])&&(this.prerelease=[identifier,0]):this.prerelease=[identifier,0]);break;default:throw new Error("invalid increment argument: "+release)}return this.format(),this.raw=this.version,this};exports2.inc=inc;function inc(version,release,loose,identifier){typeof loose=="string"&&(identifier=loose,loose=void 0);try{return new SemVer2(version,loose).inc(release,identifier).version}catch{return null}}exports2.diff=diff;function diff(version1,version2){if(eq(version1,version2))return null;var v1=parse6(version1),v2=parse6(version2),prefix="";if(v1.prerelease.length||v2.prerelease.length){prefix="pre";var defaultResult="prerelease"}for(var key in v1)if((key==="major"||key==="minor"||key==="patch")&&v1[key]!==v2[key])return prefix+key;return defaultResult}exports2.compareIdentifiers=compareIdentifiers;var numeric=/^[0-9]+$/;function compareIdentifiers(a,b){var anum=numeric.test(a),bnum=numeric.test(b);return anum&&bnum&&(a=+a,b=+b),a===b?0:anum&&!bnum?-1:bnum&&!anum?1:a<b?-1:1}exports2.rcompareIdentifiers=rcompareIdentifiers;function rcompareIdentifiers(a,b){return compareIdentifiers(b,a)}exports2.major=major;function major(a,loose){return new SemVer2(a,loose).major}exports2.minor=minor;function minor(a,loose){return new SemVer2(a,loose).minor}exports2.patch=patch;function patch(a,loose){return new SemVer2(a,loose).patch}exports2.compare=compare;function compare(a,b,loose){return new SemVer2(a,loose).compare(new SemVer2(b,loose))}exports2.compareLoose=compareLoose;function compareLoose(a,b){return compare(a,b,!0)}exports2.rcompare=rcompare;function rcompare(a,b,loose){return compare(b,a,loose)}exports2.sort=sort;function sort(list,loose){return list.sort(function(a,b){return exports2.compare(a,b,loose)})}exports2.rsort=rsort;function rsort(list,loose){return list.sort(function(a,b){return exports2.rcompare(a,b,loose)})}exports2.gt=gt;function gt(a,b,loose){return compare(a,b,loose)>0}exports2.lt=lt;function lt(a,b,loose){return compare(a,b,loose)<0}exports2.eq=eq;function eq(a,b,loose){return compare(a,b,loose)===0}exports2.neq=neq;function neq(a,b,loose){return compare(a,b,loose)!==0}exports2.gte=gte2;function gte2(a,b,loose){return compare(a,b,loose)>=0}exports2.lte=lte;function lte(a,b,loose){return compare(a,b,loose)<=0}exports2.cmp=cmp;function cmp(a,op,b,loose){switch(op){case"===":return typeof a=="object"&&(a=a.version),typeof b=="object"&&(b=b.version),a===b;case"!==":return typeof a=="object"&&(a=a.version),typeof b=="object"&&(b=b.version),a!==b;case"":case"=":case"==":return eq(a,b,loose);case"!=":return neq(a,b,loose);case">":return gt(a,b,loose);case">=":return gte2(a,b,loose);case"<":return lt(a,b,loose);case"<=":return lte(a,b,loose);default:throw new TypeError("Invalid operator: "+op)}}exports2.Comparator=Comparator;function Comparator(comp,options){if((!options||typeof options!="object")&&(options={loose:!!options,includePrerelease:!1}),comp instanceof Comparator){if(comp.loose===!!options.loose)return comp;comp=comp.value}if(!(this instanceof Comparator))return new Comparator(comp,options);comp=comp.trim().split(/\s+/).join(" "),debug2("comparator",comp,options),this.options=options,this.loose=!!options.loose,this.parse(comp),this.semver===ANY?this.value="":this.value=this.operator+this.semver.version,debug2("comp",this)}var ANY={};Comparator.prototype.parse=function(comp){var r=this.options.loose?safeRe[COMPARATORLOOSE]:safeRe[COMPARATOR],m=comp.match(r);if(!m)throw new TypeError("Invalid comparator: "+comp);this.operator=m[1],this.operator==="="&&(this.operator=""),m[2]?this.semver=new SemVer2(m[2],this.options.loose):this.semver=ANY};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(version){return debug2("Comparator.test",version,this.options.loose),this.semver===ANY?!0:(typeof version=="string"&&(version=new SemVer2(version,this.options)),cmp(version,this.operator,this.semver,this.options))};Comparator.prototype.intersects=function(comp,options){if(!(comp instanceof Comparator))throw new TypeError("a Comparator is required");(!options||typeof options!="object")&&(options={loose:!!options,includePrerelease:!1});var rangeTmp;if(this.operator==="")return rangeTmp=new Range(comp.value,options),satisfies2(this.value,rangeTmp,options);if(comp.operator==="")return rangeTmp=new Range(this.value,options),satisfies2(comp.semver,rangeTmp,options);var sameDirectionIncreasing=(this.operator===">="||this.operator===">")&&(comp.operator===">="||comp.operator===">"),sameDirectionDecreasing=(this.operator==="<="||this.operator==="<")&&(comp.operator==="<="||comp.operator==="<"),sameSemVer=this.semver.version===comp.semver.version,differentDirectionsInclusive=(this.operator===">="||this.operator==="<=")&&(comp.operator===">="||comp.operator==="<="),oppositeDirectionsLessThan=cmp(this.semver,"<",comp.semver,options)&&(this.operator===">="||this.operator===">")&&(comp.operator==="<="||comp.operator==="<"),oppositeDirectionsGreaterThan=cmp(this.semver,">",comp.semver,options)&&(this.operator==="<="||this.operator==="<")&&(comp.operator===">="||comp.operator===">");return sameDirectionIncreasing||sameDirectionDecreasing||sameSemVer&&differentDirectionsInclusive||oppositeDirectionsLessThan||oppositeDirectionsGreaterThan};exports2.Range=Range;function Range(range,options){if((!options||typeof options!="object")&&(options={loose:!!options,includePrerelease:!1}),range instanceof Range)return range.loose===!!options.loose&&range.includePrerelease===!!options.includePrerelease?range:new Range(range.raw,options);if(range instanceof Comparator)return new Range(range.value,options);if(!(this instanceof Range))return new Range(range,options);if(this.options=options,this.loose=!!options.loose,this.includePrerelease=!!options.includePrerelease,this.raw=range.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(range2){return this.parseRange(range2.trim())},this).filter(function(c){return c.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format()}Range.prototype.format=function(){return this.range=this.set.map(function(comps){return comps.join(" ").trim()}).join("||").trim(),this.range};Range.prototype.toString=function(){return this.range};Range.prototype.parseRange=function(range){var loose=this.options.loose,hr=loose?safeRe[HYPHENRANGELOOSE]:safeRe[HYPHENRANGE];range=range.replace(hr,hyphenReplace),debug2("hyphen replace",range),range=range.replace(safeRe[COMPARATORTRIM],comparatorTrimReplace),debug2("comparator trim",range,safeRe[COMPARATORTRIM]),range=range.replace(safeRe[TILDETRIM],tildeTrimReplace),range=range.replace(safeRe[CARETTRIM],caretTrimReplace);var compRe=loose?safeRe[COMPARATORLOOSE]:safeRe[COMPARATOR],set=range.split(" ").map(function(comp){return parseComparator(comp,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(set=set.filter(function(comp){return!!comp.match(compRe)})),set=set.map(function(comp){return new Comparator(comp,this.options)},this),set};Range.prototype.intersects=function(range,options){if(!(range instanceof Range))throw new TypeError("a Range is required");return this.set.some(function(thisComparators){return thisComparators.every(function(thisComparator){return range.set.some(function(rangeComparators){return rangeComparators.every(function(rangeComparator){return thisComparator.intersects(rangeComparator,options)})})})})};exports2.toComparators=toComparators;function toComparators(range,options){return new Range(range,options).set.map(function(comp){return comp.map(function(c){return c.value}).join(" ").trim().split(" ")})}function parseComparator(comp,options){return debug2("comp",comp,options),comp=replaceCarets(comp,options),debug2("caret",comp),comp=replaceTildes(comp,options),debug2("tildes",comp),comp=replaceXRanges(comp,options),debug2("xrange",comp),comp=replaceStars(comp,options),debug2("stars",comp),comp}function isX(id){return!id||id.toLowerCase()==="x"||id==="*"}function replaceTildes(comp,options){return comp.trim().split(/\s+/).map(function(comp2){return replaceTilde(comp2,options)}).join(" ")}function replaceTilde(comp,options){var r=options.loose?safeRe[TILDELOOSE]:safeRe[TILDE];return comp.replace(r,function(_,M,m,p,pr){debug2("tilde",comp,_,M,m,p,pr);var ret;return isX(M)?ret="":isX(m)?ret=">="+M+".0.0 <"+(+M+1)+".0.0":isX(p)?ret=">="+M+"."+m+".0 <"+M+"."+(+m+1)+".0":pr?(debug2("replaceTilde pr",pr),ret=">="+M+"."+m+"."+p+"-"+pr+" <"+M+"."+(+m+1)+".0"):ret=">="+M+"."+m+"."+p+" <"+M+"."+(+m+1)+".0",debug2("tilde return",ret),ret})}function replaceCarets(comp,options){return comp.trim().split(/\s+/).map(function(comp2){return replaceCaret(comp2,options)}).join(" ")}function replaceCaret(comp,options){debug2("caret",comp,options);var r=options.loose?safeRe[CARETLOOSE]:safeRe[CARET];return comp.replace(r,function(_,M,m,p,pr){debug2("caret",comp,_,M,m,p,pr);var ret;return isX(M)?ret="":isX(m)?ret=">="+M+".0.0 <"+(+M+1)+".0.0":isX(p)?M==="0"?ret=">="+M+"."+m+".0 <"+M+"."+(+m+1)+".0":ret=">="+M+"."+m+".0 <"+(+M+1)+".0.0":pr?(debug2("replaceCaret pr",pr),M==="0"?m==="0"?ret=">="+M+"."+m+"."+p+"-"+pr+" <"+M+"."+m+"."+(+p+1):ret=">="+M+"."+m+"."+p+"-"+pr+" <"+M+"."+(+m+1)+".0":ret=">="+M+"."+m+"."+p+"-"+pr+" <"+(+M+1)+".0.0"):(debug2("no pr"),M==="0"?m==="0"?ret=">="+M+"."+m+"."+p+" <"+M+"."+m+"."+(+p+1):ret=">="+M+"."+m+"."+p+" <"+M+"."+(+m+1)+".0":ret=">="+M+"."+m+"."+p+" <"+(+M+1)+".0.0"),debug2("caret return",ret),ret})}function replaceXRanges(comp,options){return debug2("replaceXRanges",comp,options),comp.split(/\s+/).map(function(comp2){return replaceXRange(comp2,options)}).join(" ")}function replaceXRange(comp,options){comp=comp.trim();var r=options.loose?safeRe[XRANGELOOSE]:safeRe[XRANGE];return comp.replace(r,function(ret,gtlt,M,m,p,pr){debug2("xRange",comp,ret,gtlt,M,m,p,pr);var xM=isX(M),xm=xM||isX(m),xp=xm||isX(p),anyX=xp;return gtlt==="="&&anyX&&(gtlt=""),xM?gtlt===">"||gtlt==="<"?ret="<0.0.0":ret="*":gtlt&&anyX?(xm&&(m=0),p=0,gtlt===">"?(gtlt=">=",xm?(M=+M+1,m=0,p=0):(m=+m+1,p=0)):gtlt==="<="&&(gtlt="<",xm?M=+M+1:m=+m+1),ret=gtlt+M+"."+m+"."+p):xm?ret=">="+M+".0.0 <"+(+M+1)+".0.0":xp&&(ret=">="+M+"."+m+".0 <"+M+"."+(+m+1)+".0"),debug2("xRange return",ret),ret})}function replaceStars(comp,options){return debug2("replaceStars",comp,options),comp.trim().replace(safeRe[STAR],"")}function hyphenReplace($0,from,fM,fm,fp,fpr,fb,to,tM,tm,tp,tpr,tb){return isX(fM)?from="":isX(fm)?from=">="+fM+".0.0":isX(fp)?from=">="+fM+"."+fm+".0":from=">="+from,isX(tM)?to="":isX(tm)?to="<"+(+tM+1)+".0.0":isX(tp)?to="<"+tM+"."+(+tm+1)+".0":tpr?to="<="+tM+"."+tm+"."+tp+"-"+tpr:to="<="+to,(from+" "+to).trim()}Range.prototype.test=function(version){if(!version)return!1;typeof version=="string"&&(version=new SemVer2(version,this.options));for(var i2=0;i2<this.set.length;i2++)if(testSet(this.set[i2],version,this.options))return!0;return!1};function testSet(set,version,options){for(var i2=0;i2<set.length;i2++)if(!set[i2].test(version))return!1;if(version.prerelease.length&&!options.includePrerelease){for(i2=0;i2<set.length;i2++)if(debug2(set[i2].semver),set[i2].semver!==ANY&&set[i2].semver.prerelease.length>0){var allowed=set[i2].semver;if(allowed.major===version.major&&allowed.minor===version.minor&&allowed.patch===version.patch)return!0}return!1}return!0}exports2.satisfies=satisfies2;function satisfies2(version,range,options){try{range=new Range(range,options)}catch{return!1}return range.test(version)}exports2.maxSatisfying=maxSatisfying;function maxSatisfying(versions,range,options){var max=null,maxSV=null;try{var rangeObj=new Range(range,options)}catch{return null}return versions.forEach(function(v){rangeObj.test(v)&&(!max||maxSV.compare(v)===-1)&&(max=v,maxSV=new SemVer2(max,options))}),max}exports2.minSatisfying=minSatisfying;function minSatisfying(versions,range,options){var min=null,minSV=null;try{var rangeObj=new Range(range,options)}catch{return null}return versions.forEach(function(v){rangeObj.test(v)&&(!min||minSV.compare(v)===1)&&(min=v,minSV=new SemVer2(min,options))}),min}exports2.minVersion=minVersion2;function minVersion2(range,loose){range=new Range(range,loose);var minver=new SemVer2("0.0.0");if(range.test(minver)||(minver=new SemVer2("0.0.0-0"),range.test(minver)))return minver;minver=null;for(var i2=0;i2<range.set.length;++i2){var comparators=range.set[i2];comparators.forEach(function(comparator){var compver=new SemVer2(comparator.semver.version);switch(comparator.operator){case">":compver.prerelease.length===0?compver.patch++:compver.prerelease.push(0),compver.raw=compver.format();case"":case">=":(!minver||gt(minver,compver))&&(minver=compver);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+comparator.operator)}})}return minver&&range.test(minver)?minver:null}exports2.validRange=validRange3;function validRange3(range,options){try{return new Range(range,options).range||"*"}catch{return null}}exports2.ltr=ltr;function ltr(version,range,options){return outside(version,range,"<",options)}exports2.gtr=gtr;function gtr(version,range,options){return outside(version,range,">",options)}exports2.outside=outside;function outside(version,range,hilo,options){version=new SemVer2(version,options),range=new Range(range,options);var gtfn,ltefn,ltfn,comp,ecomp;switch(hilo){case">":gtfn=gt,ltefn=lte,ltfn=lt,comp=">",ecomp=">=";break;case"<":gtfn=lt,ltefn=gte2,ltfn=gt,comp="<",ecomp="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies2(version,range,options))return!1;for(var i2=0;i2<range.set.length;++i2){var comparators=range.set[i2],high=null,low=null;if(comparators.forEach(function(comparator){comparator.semver===ANY&&(comparator=new Comparator(">=0.0.0")),high=high||comparator,low=low||comparator,gtfn(comparator.semver,high.semver,options)?high=comparator:ltfn(comparator.semver,low.semver,options)&&(low=comparator)}),high.operator===comp||high.operator===ecomp||(!low.operator||low.operator===comp)&<efn(version,low.semver))return!1;if(low.operator===ecomp&<fn(version,low.semver))return!1}return!0}exports2.prerelease=prerelease;function prerelease(version,options){var parsed=parse6(version,options);return parsed&&parsed.prerelease.length?parsed.prerelease:null}exports2.intersects=intersects3;function intersects3(r1,r2,options){return r1=new Range(r1,options),r2=new Range(r2,options),r1.intersects(r2)}exports2.coerce=coerce2;function coerce2(version){if(version instanceof SemVer2)return version;if(typeof version!="string")return null;var match=version.match(safeRe[COERCE]);return match==null?null:parse6(match[1]+"."+(match[2]||"0")+"."+(match[3]||"0"))}}});var require_parse=__commonJS({"../../node_modules/.pnpm/cross-spawn@6.0.5/node_modules/cross-spawn/lib/parse.js"(exports2,module2){"use strict";var path9=require("path"),niceTry=require_src(),resolveCommand=require_resolveCommand(),escape=require_escape(),readShebang=require_readShebang(),semver=require_semver(),isWin2=process.platform==="win32",isExecutableRegExp=/\.(?:com|exe)$/i,isCmdShimRegExp=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i,supportsShellOption=niceTry(()=>semver.satisfies(process.version,"^4.8.0 || ^5.7.0 || >= 6.0.0",!0))||!1;function detectShebang(parsed){parsed.file=resolveCommand(parsed);let shebang=parsed.file&&readShebang(parsed.file);return shebang?(parsed.args.unshift(parsed.file),parsed.command=shebang,resolveCommand(parsed)):parsed.file}function parseNonShell(parsed){if(!isWin2)return parsed;let commandFile=detectShebang(parsed),needsShell=!isExecutableRegExp.test(commandFile);if(parsed.options.forceShell||needsShell){let needsDoubleEscapeMetaChars=isCmdShimRegExp.test(commandFile);parsed.command=path9.normalize(parsed.command),parsed.command=escape.command(parsed.command),parsed.args=parsed.args.map(arg=>escape.argument(arg,needsDoubleEscapeMetaChars));let shellCommand=[parsed.command].concat(parsed.args).join(" ");parsed.args=["/d","/s","/c",`"${shellCommand}"`],parsed.command=process.env.comspec||"cmd.exe",parsed.options.windowsVerbatimArguments=!0}return parsed}function parseShell(parsed){if(supportsShellOption)return parsed;let shellCommand=[parsed.command].concat(parsed.args).join(" ");return isWin2?(parsed.command=typeof parsed.options.shell=="string"?parsed.options.shell:process.env.comspec||"cmd.exe",parsed.args=["/d","/s","/c",`"${shellCommand}"`],parsed.options.windowsVerbatimArguments=!0):(typeof parsed.options.shell=="string"?parsed.command=parsed.options.shell:process.platform==="android"?parsed.command="/system/bin/sh":parsed.command="/bin/sh",parsed.args=["-c",shellCommand]),parsed}function parse6(command,args,options){args&&!Array.isArray(args)&&(options=args,args=null),args=args?args.slice(0):[],options=Object.assign({},options);let parsed={command,args,options,file:void 0,original:{command,args}};return options.shell?parseShell(parsed):parseNonShell(parsed)}module2.exports=parse6}});var require_enoent=__commonJS({"../../node_modules/.pnpm/cross-spawn@6.0.5/node_modules/cross-spawn/lib/enoent.js"(exports2,module2){"use strict";var isWin2=process.platform==="win32";function notFoundError(original,syscall){return Object.assign(new Error(`${syscall} ${original.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${syscall} ${original.command}`,path:original.command,spawnargs:original.args})}function hookChildProcess(cp,parsed){if(!isWin2)return;let originalEmit=cp.emit;cp.emit=function(name,arg1){if(name==="exit"){let err=verifyENOENT(arg1,parsed,"spawn");if(err)return originalEmit.call(cp,"error",err)}return originalEmit.apply(cp,arguments)}}function verifyENOENT(status,parsed){return isWin2&&status===1&&!parsed.file?notFoundError(parsed.original,"spawn"):null}function verifyENOENTSync(status,parsed){return isWin2&&status===1&&!parsed.file?notFoundError(parsed.original,"spawnSync"):null}module2.exports={hookChildProcess,verifyENOENT,verifyENOENTSync,notFoundError}}});var require_cross_spawn=__commonJS({"../../node_modules/.pnpm/cross-spawn@6.0.5/node_modules/cross-spawn/index.js"(exports2,module2){"use strict";var cp=require("child_process"),parse6=require_parse(),enoent=require_enoent();function spawn3(command,args,options){let parsed=parse6(command,args,options),spawned=cp.spawn(parsed.command,parsed.args,parsed.options);return enoent.hookChildProcess(spawned,parsed),spawned}function spawnSync(command,args,options){let parsed=parse6(command,args,options),result=cp.spawnSync(parsed.command,parsed.args,parsed.options);return result.error=result.error||enoent.verifyENOENTSync(result.status,parsed),result}module2.exports=spawn3;module2.exports.spawn=spawn3;module2.exports.sync=spawnSync;module2.exports._parse=parse6;module2.exports._enoent=enoent}});var require_semver2=__commonJS({"../../node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js"(exports2,module2){exports2=module2.exports=SemVer2;var debug2;typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?debug2=function(){var args=Array.prototype.slice.call(arguments,0);args.unshift("SEMVER"),console.log.apply(console,args)}:debug2=function(){};exports2.SEMVER_SPEC_VERSION="2.0.0";var MAX_LENGTH=256,MAX_SAFE_INTEGER=Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH=16,MAX_SAFE_BUILD_LENGTH=MAX_LENGTH-6,re=exports2.re=[],safeRe=exports2.safeRe=[],src=exports2.src=[],t=exports2.tokens={},R=0;function tok(n){t[n]=R++}var LETTERDASHNUMBER="[a-zA-Z0-9-]",safeRegexReplacements=[["\\s",1],["\\d",MAX_LENGTH],[LETTERDASHNUMBER,MAX_SAFE_BUILD_LENGTH]];function makeSafeRe(value){for(var i2=0;i2<safeRegexReplacements.length;i2++){var token=safeRegexReplacements[i2][0],max=safeRegexReplacements[i2][1];value=value.split(token+"*").join(token+"{0,"+max+"}").split(token+"+").join(token+"{1,"+max+"}")}return value}tok("NUMERICIDENTIFIER");src[t.NUMERICIDENTIFIER]="0|[1-9]\\d*";tok("NUMERICIDENTIFIERLOOSE");src[t.NUMERICIDENTIFIERLOOSE]="\\d+";tok("NONNUMERICIDENTIFIER");src[t.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+LETTERDASHNUMBER+"*";tok("MAINVERSION");src[t.MAINVERSION]="("+src[t.NUMERICIDENTIFIER]+")\\.("+src[t.NUMERICIDENTIFIER]+")\\.("+src[t.NUMERICIDENTIFIER]+")";tok("MAINVERSIONLOOSE");src[t.MAINVERSIONLOOSE]="("+src[t.NUMERICIDENTIFIERLOOSE]+")\\.("+src[t.NUMERICIDENTIFIERLOOSE]+")\\.("+src[t.NUMERICIDENTIFIERLOOSE]+")";tok("PRERELEASEIDENTIFIER");src[t.PRERELEASEIDENTIFIER]="(?:"+src[t.NUMERICIDENTIFIER]+"|"+src[t.NONNUMERICIDENTIFIER]+")";tok("PRERELEASEIDENTIFIERLOOSE");src[t.PRERELEASEIDENTIFIERLOOSE]="(?:"+src[t.NUMERICIDENTIFIERLOOSE]+"|"+src[t.NONNUMERICIDENTIFIER]+")";tok("PRERELEASE");src[t.PRERELEASE]="(?:-("+src[t.PRERELEASEIDENTIFIER]+"(?:\\."+src[t.PRERELEASEIDENTIFIER]+")*))";tok("PRERELEASELOOSE");src[t.PRERELEASELOOSE]="(?:-?("+src[t.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+src[t.PRERELEASEIDENTIFIERLOOSE]+")*))";tok("BUILDIDENTIFIER");src[t.BUILDIDENTIFIER]=LETTERDASHNUMBER+"+";tok("BUILD");src[t.BUILD]="(?:\\+("+src[t.BUILDIDENTIFIER]+"(?:\\."+src[t.BUILDIDENTIFIER]+")*))";tok("FULL");tok("FULLPLAIN");src[t.FULLPLAIN]="v?"+src[t.MAINVERSION]+src[t.PRERELEASE]+"?"+src[t.BUILD]+"?";src[t.FULL]="^"+src[t.FULLPLAIN]+"$";tok("LOOSEPLAIN");src[t.LOOSEPLAIN]="[v=\\s]*"+src[t.MAINVERSIONLOOSE]+src[t.PRERELEASELOOSE]+"?"+src[t.BUILD]+"?";tok("LOOSE");src[t.LOOSE]="^"+src[t.LOOSEPLAIN]+"$";tok("GTLT");src[t.GTLT]="((?:<|>)?=?)";tok("XRANGEIDENTIFIERLOOSE");src[t.XRANGEIDENTIFIERLOOSE]=src[t.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";tok("XRANGEIDENTIFIER");src[t.XRANGEIDENTIFIER]=src[t.NUMERICIDENTIFIER]+"|x|X|\\*";tok("XRANGEPLAIN");src[t.XRANGEPLAIN]="[v=\\s]*("+src[t.XRANGEIDENTIFIER]+")(?:\\.("+src[t.XRANGEIDENTIFIER]+")(?:\\.("+src[t.XRANGEIDENTIFIER]+")(?:"+src[t.PRERELEASE]+")?"+src[t.BUILD]+"?)?)?";tok("XRANGEPLAINLOOSE");src[t.XRANGEPLAINLOOSE]="[v=\\s]*("+src[t.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+src[t.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+src[t.XRANGEIDENTIFIERLOOSE]+")(?:"+src[t.PRERELEASELOOSE]+")?"+src[t.BUILD]+"?)?)?";tok("XRANGE");src[t.XRANGE]="^"+src[t.GTLT]+"\\s*"+src[t.XRANGEPLAIN]+"$";tok("XRANGELOOSE");src[t.XRANGELOOSE]="^"+src[t.GTLT]+"\\s*"+src[t.XRANGEPLAINLOOSE]+"$";tok("COERCE");src[t.COERCE]="(^|[^\\d])(\\d{1,"+MAX_SAFE_COMPONENT_LENGTH+"})(?:\\.(\\d{1,"+MAX_SAFE_COMPONENT_LENGTH+"}))?(?:\\.(\\d{1,"+MAX_SAFE_COMPONENT_LENGTH+"}))?(?:$|[^\\d])";tok("COERCERTL");re[t.COERCERTL]=new RegExp(src[t.COERCE],"g");safeRe[t.COERCERTL]=new RegExp(makeSafeRe(src[t.COERCE]),"g");tok("LONETILDE");src[t.LONETILDE]="(?:~>?)";tok("TILDETRIM");src[t.TILDETRIM]="(\\s*)"+src[t.LONETILDE]+"\\s+";re[t.TILDETRIM]=new RegExp(src[t.TILDETRIM],"g");safeRe[t.TILDETRIM]=new RegExp(makeSafeRe(src[t.TILDETRIM]),"g");var tildeTrimReplace="$1~";tok("TILDE");src[t.TILDE]="^"+src[t.LONETILDE]+src[t.XRANGEPLAIN]+"$";tok("TILDELOOSE");src[t.TILDELOOSE]="^"+src[t.LONETILDE]+src[t.XRANGEPLAINLOOSE]+"$";tok("LONECARET");src[t.LONECARET]="(?:\\^)";tok("CARETTRIM");src[t.CARETTRIM]="(\\s*)"+src[t.LONECARET]+"\\s+";re[t.CARETTRIM]=new RegExp(src[t.CARETTRIM],"g");safeRe[t.CARETTRIM]=new RegExp(makeSafeRe(src[t.CARETTRIM]),"g");var caretTrimReplace="$1^";tok("CARET");src[t.CARET]="^"+src[t.LONECARET]+src[t.XRANGEPLAIN]+"$";tok("CARETLOOSE");src[t.CARETLOOSE]="^"+src[t.LONECARET]+src[t.XRANGEPLAINLOOSE]+"$";tok("COMPARATORLOOSE");src[t.COMPARATORLOOSE]="^"+src[t.GTLT]+"\\s*("+src[t.LOOSEPLAIN]+")$|^$";tok("COMPARATOR");src[t.COMPARATOR]="^"+src[t.GTLT]+"\\s*("+src[t.FULLPLAIN]+")$|^$";tok("COMPARATORTRIM");src[t.COMPARATORTRIM]="(\\s*)"+src[t.GTLT]+"\\s*("+src[t.LOOSEPLAIN]+"|"+src[t.XRANGEPLAIN]+")";re[t.COMPARATORTRIM]=new RegExp(src[t.COMPARATORTRIM],"g");safeRe[t.COMPARATORTRIM]=new RegExp(makeSafeRe(src[t.COMPARATORTRIM]),"g");var comparatorTrimReplace="$1$2$3";tok("HYPHENRANGE");src[t.HYPHENRANGE]="^\\s*("+src[t.XRANGEPLAIN]+")\\s+-\\s+("+src[t.XRANGEPLAIN]+")\\s*$";tok("HYPHENRANGELOOSE");src[t.HYPHENRANGELOOSE]="^\\s*("+src[t.XRANGEPLAINLOOSE]+")\\s+-\\s+("+src[t.XRANGEPLAINLOOSE]+")\\s*$";tok("STAR");src[t.STAR]="(<|>)?=?\\s*\\*";for(i=0;i<R;i++)debug2(i,src[i]),re[i]||(re[i]=new RegExp(src[i]),safeRe[i]=new RegExp(makeSafeRe(src[i])));var i;exports2.parse=parse6;function parse6(version,options){if((!options||typeof options!="object")&&(options={loose:!!options,includePrerelease:!1}),version instanceof SemVer2)return version;if(typeof version!="string"||version.length>MAX_LENGTH)return null;var r=options.loose?safeRe[t.LOOSE]:safeRe[t.FULL];if(!r.test(version))return null;try{return new SemVer2(version,options)}catch{return null}}exports2.valid=valid;function valid(version,options){var v=parse6(version,options);return v?v.version:null}exports2.clean=clean;function clean(version,options){var s=parse6(version.trim().replace(/^[=v]+/,""),options);return s?s.version:null}exports2.SemVer=SemVer2;function SemVer2(version,options){if((!options||typeof options!="object")&&(options={loose:!!options,includePrerelease:!1}),version instanceof SemVer2){if(version.loose===options.loose)return version;version=version.version}else if(typeof version!="string")throw new TypeError("Invalid Version: "+version);if(version.length>MAX_LENGTH)throw new TypeError("version is longer than "+MAX_LENGTH+" characters");if(!(this instanceof SemVer2))return new SemVer2(version,options);debug2("SemVer",version,options),this.options=options,this.loose=!!options.loose;var m=version.trim().match(options.loose?safeRe[t.LOOSE]:safeRe[t.FULL]);if(!m)throw new TypeError("Invalid Version: "+version);if(this.raw=version,this.major=+m[1],this.minor=+m[2],this.patch=+m[3],this.major>MAX_SAFE_INTEGER||this.major<0)throw new TypeError("Invalid major version");if(this.minor>MAX_SAFE_INTEGER||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>MAX_SAFE_INTEGER||this.patch<0)throw new TypeError("Invalid patch version");m[4]?this.prerelease=m[4].split(".").map(function(id){if(/^[0-9]+$/.test(id)){var num=+id;if(num>=0&&num<MAX_SAFE_INTEGER)return num}return id}):this.prerelease=[],this.build=m[5]?m[5].split("."):[],this.format()}SemVer2.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version};SemVer2.prototype.toString=function(){return this.version};SemVer2.prototype.compare=function(other){return debug2("SemVer.compare",this.version,this.options,other),other instanceof SemVer2||(other=new SemVer2(other,this.options)),this.compareMain(other)||this.comparePre(other)};SemVer2.prototype.compareMain=function(other){return other instanceof SemVer2||(other=new SemVer2(other,this.options)),compareIdentifiers(this.major,other.major)||compareIdentifiers(this.minor,other.minor)||compareIdentifiers(this.patch,other.patch)};SemVer2.prototype.comparePre=function(other){if(other instanceof SemVer2||(other=new SemVer2(other,this.options)),this.prerelease.length&&!other.prerelease.length)return-1;if(!this.prerelease.length&&other.prerelease.length)return 1;if(!this.prerelease.length&&!other.prerelease.length)return 0;var i2=0;do{var a=this.prerelease[i2],b=other.prerelease[i2];if(debug2("prerelease compare",i2,a,b),a===void 0&&b===void 0)return 0;if(b===void 0)return 1;if(a===void 0)return-1;if(a===b)continue;return compareIdentifiers(a,b)}while(++i2)};SemVer2.prototype.compareBuild=function(other){other instanceof SemVer2||(other=new SemVer2(other,this.options));var i2=0;do{var a=this.build[i2],b=other.build[i2];if(debug2("prerelease compare",i2,a,b),a===void 0&&b===void 0)return 0;if(b===void 0)return 1;if(a===void 0)return-1;if(a===b)continue;return compareIdentifiers(a,b)}while(++i2)};SemVer2.prototype.inc=function(release,identifier){switch(release){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",identifier);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",identifier);break;case"prepatch":this.prerelease.length=0,this.inc("patch",identifier),this.inc("pre",identifier);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",identifier),this.inc("pre",identifier);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{for(var i2=this.prerelease.length;--i2>=0;)typeof this.prerelease[i2]=="number"&&(this.prerelease[i2]++,i2=-2);i2===-1&&this.prerelease.push(0)}identifier&&(this.prerelease[0]===identifier?isNaN(this.prerelease[1])&&(this.prerelease=[identifier,0]):this.prerelease=[identifier,0]);break;default:throw new Error("invalid increment argument: "+release)}return this.format(),this.raw=this.version,this};exports2.inc=inc;function inc(version,release,loose,identifier){typeof loose=="string"&&(identifier=loose,loose=void 0);try{return new SemVer2(version,loose).inc(release,identifier).version}catch{return null}}exports2.diff=diff;function diff(version1,version2){if(eq(version1,version2))return null;var v1=parse6(version1),v2=parse6(version2),prefix="";if(v1.prerelease.length||v2.prerelease.length){prefix="pre";var defaultResult="prerelease"}for(var key in v1)if((key==="major"||key==="minor"||key==="patch")&&v1[key]!==v2[key])return prefix+key;return defaultResult}exports2.compareIdentifiers=compareIdentifiers;var numeric=/^[0-9]+$/;function compareIdentifiers(a,b){var anum=numeric.test(a),bnum=numeric.test(b);return anum&&bnum&&(a=+a,b=+b),a===b?0:anum&&!bnum?-1:bnum&&!anum?1:a<b?-1:1}exports2.rcompareIdentifiers=rcompareIdentifiers;function rcompareIdentifiers(a,b){return compareIdentifiers(b,a)}exports2.major=major;function major(a,loose){return new SemVer2(a,loose).major}exports2.minor=minor;function minor(a,loose){return new SemVer2(a,loose).minor}exports2.patch=patch;function patch(a,loose){return new SemVer2(a,loose).patch}exports2.compare=compare;function compare(a,b,loose){return new SemVer2(a,loose).compare(new SemVer2(b,loose))}exports2.compareLoose=compareLoose;function compareLoose(a,b){return compare(a,b,!0)}exports2.compareBuild=compareBuild;function compareBuild(a,b,loose){var versionA=new SemVer2(a,loose),versionB=new SemVer2(b,loose);return versionA.compare(versionB)||versionA.compareBuild(versionB)}exports2.rcompare=rcompare;function rcompare(a,b,loose){return compare(b,a,loose)}exports2.sort=sort;function sort(list,loose){return list.sort(function(a,b){return exports2.compareBuild(a,b,loose)})}exports2.rsort=rsort;function rsort(list,loose){return list.sort(function(a,b){return exports2.compareBuild(b,a,loose)})}exports2.gt=gt;function gt(a,b,loose){return compare(a,b,loose)>0}exports2.lt=lt;function lt(a,b,loose){return compare(a,b,loose)<0}exports2.eq=eq;function eq(a,b,loose){return compare(a,b,loose)===0}exports2.neq=neq;function neq(a,b,loose){return compare(a,b,loose)!==0}exports2.gte=gte2;function gte2(a,b,loose){return compare(a,b,loose)>=0}exports2.lte=lte;function lte(a,b,loose){return compare(a,b,loose)<=0}exports2.cmp=cmp;function cmp(a,op,b,loose){switch(op){case"===":return typeof a=="object"&&(a=a.version),typeof b=="object"&&(b=b.version),a===b;case"!==":return typeof a=="object"&&(a=a.version),typeof b=="object"&&(b=b.version),a!==b;case"":case"=":case"==":return eq(a,b,loose);case"!=":return neq(a,b,loose);case">":return gt(a,b,loose);case">=":return gte2(a,b,loose);case"<":return lt(a,b,loose);case"<=":return lte(a,b,loose);default:throw new TypeError("Invalid operator: "+op)}}exports2.Comparator=Comparator;function Comparator(comp,options){if((!options||typeof options!="object")&&(options={loose:!!options,includePrerelease:!1}),comp instanceof Comparator){if(comp.loose===!!options.loose)return comp;comp=comp.value}if(!(this instanceof Comparator))return new Comparator(comp,options);comp=comp.trim().split(/\s+/).join(" "),debug2("comparator",comp,options),this.options=options,this.loose=!!options.loose,this.parse(comp),this.semver===ANY?this.value="":this.value=this.operator+this.semver.version,debug2("comp",this)}var ANY={};Comparator.prototype.parse=function(comp){var r=this.options.loose?safeRe[t.COMPARATORLOOSE]:safeRe[t.COMPARATOR],m=comp.match(r);if(!m)throw new TypeError("Invalid comparator: "+comp);this.operator=m[1]!==void 0?m[1]:"",this.operator==="="&&(this.operator=""),m[2]?this.semver=new SemVer2(m[2],this.options.loose):this.semver=ANY};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(version){if(debug2("Comparator.test",version,this.options.loose),this.semver===ANY||version===ANY)return!0;if(typeof version=="string")try{version=new SemVer2(version,this.options)}catch{return!1}return cmp(version,this.operator,this.semver,this.options)};Comparator.prototype.intersects=function(comp,options){if(!(comp instanceof Comparator))throw new TypeError("a Comparator is required");(!options||typeof options!="object")&&(options={loose:!!options,includePrerelease:!1});var rangeTmp;if(this.operator==="")return this.value===""?!0:(rangeTmp=new Range(comp.value,options),satisfies2(this.value,rangeTmp,options));if(comp.operator==="")return comp.value===""?!0:(rangeTmp=new Range(this.value,options),satisfies2(comp.semver,rangeTmp,options));var sameDirectionIncreasing=(this.operator===">="||this.operator===">")&&(comp.operator===">="||comp.operator===">"),sameDirectionDecreasing=(this.operator==="<="||this.operator==="<")&&(comp.operator==="<="||comp.operator==="<"),sameSemVer=this.semver.version===comp.semver.version,differentDirectionsInclusive=(this.operator===">="||this.operator==="<=")&&(comp.operator===">="||comp.operator==="<="),oppositeDirectionsLessThan=cmp(this.semver,"<",comp.semver,options)&&(this.operator===">="||this.operator===">")&&(comp.operator==="<="||comp.operator==="<"),oppositeDirectionsGreaterThan=cmp(this.semver,">",comp.semver,options)&&(this.operator==="<="||this.operator==="<")&&(comp.operator===">="||comp.operator===">");return sameDirectionIncreasing||sameDirectionDecreasing||sameSemVer&&differentDirectionsInclusive||oppositeDirectionsLessThan||oppositeDirectionsGreaterThan};exports2.Range=Range;function Range(range,options){if((!options||typeof options!="object")&&(options={loose:!!options,includePrerelease:!1}),range instanceof Range)return range.loose===!!options.loose&&range.includePrerelease===!!options.includePrerelease?range:new Range(range.raw,options);if(range instanceof Comparator)return new Range(range.value,options);if(!(this instanceof Range))return new Range(range,options);if(this.options=options,this.loose=!!options.loose,this.includePrerelease=!!options.includePrerelease,this.raw=range.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(range2){return this.parseRange(range2.trim())},this).filter(function(c){return c.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format()}Range.prototype.format=function(){return this.range=this.set.map(function(comps){return comps.join(" ").trim()}).join("||").trim(),this.range};Range.prototype.toString=function(){return this.range};Range.prototype.parseRange=function(range){var loose=this.options.loose,hr=loose?safeRe[t.HYPHENRANGELOOSE]:safeRe[t.HYPHENRANGE];range=range.replace(hr,hyphenReplace),debug2("hyphen replace",range),range=range.replace(safeRe[t.COMPARATORTRIM],comparatorTrimReplace),debug2("comparator trim",range,safeRe[t.COMPARATORTRIM]),range=range.replace(safeRe[t.TILDETRIM],tildeTrimReplace),range=range.replace(safeRe[t.CARETTRIM],caretTrimReplace),range=range.split(/\s+/).join(" ");var compRe=loose?safeRe[t.COMPARATORLOOSE]:safeRe[t.COMPARATOR],set=range.split(" ").map(function(comp){return parseComparator(comp,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(set=set.filter(function(comp){return!!comp.match(compRe)})),set=set.map(function(comp){return new Comparator(comp,this.options)},this),set};Range.prototype.intersects=function(range,options){if(!(range instanceof Range))throw new TypeError("a Range is required");return this.set.some(function(thisComparators){return isSatisfiable(thisComparators,options)&&range.set.some(function(rangeComparators){return isSatisfiable(rangeComparators,options)&&thisComparators.every(function(thisComparator){return rangeComparators.every(function(rangeComparator){return thisComparator.intersects(rangeComparator,options)})})})})};function isSatisfiable(comparators,options){for(var result=!0,remainingComparators=comparators.slice(),testComparator=remainingComparators.pop();result&&remainingComparators.length;)result=remainingComparators.every(function(otherComparator){return testComparator.intersects(otherComparator,options)}),testComparator=remainingComparators.pop();return result}exports2.toComparators=toComparators;function toComparators(range,options){return new Range(range,options).set.map(function(comp){return comp.map(function(c){return c.value}).join(" ").trim().split(" ")})}function parseComparator(comp,options){return debug2("comp",comp,options),comp=replaceCarets(comp,options),debug2("caret",comp),comp=replaceTildes(comp,options),debug2("tildes",comp),comp=replaceXRanges(comp,options),debug2("xrange",comp),comp=replaceStars(comp,options),debug2("stars",comp),comp}function isX(id){return!id||id.toLowerCase()==="x"||id==="*"}function replaceTildes(comp,options){return comp.trim().split(/\s+/).map(function(comp2){return replaceTilde(comp2,options)}).join(" ")}function replaceTilde(comp,options){var r=options.loose?safeRe[t.TILDELOOSE]:safeRe[t.TILDE];return comp.replace(r,function(_,M,m,p,pr){debug2("tilde",comp,_,M,m,p,pr);var ret;return isX(M)?ret="":isX(m)?ret=">="+M+".0.0 <"+(+M+1)+".0.0":isX(p)?ret=">="+M+"."+m+".0 <"+M+"."+(+m+1)+".0":pr?(debug2("replaceTilde pr",pr),ret=">="+M+"."+m+"."+p+"-"+pr+" <"+M+"."+(+m+1)+".0"):ret=">="+M+"."+m+"."+p+" <"+M+"."+(+m+1)+".0",debug2("tilde return",ret),ret})}function replaceCarets(comp,options){return comp.trim().split(/\s+/).map(function(comp2){return replaceCaret(comp2,options)}).join(" ")}function replaceCaret(comp,options){debug2("caret",comp,options);var r=options.loose?safeRe[t.CARETLOOSE]:safeRe[t.CARET];return comp.replace(r,function(_,M,m,p,pr){debug2("caret",comp,_,M,m,p,pr);var ret;return isX(M)?ret="":isX(m)?ret=">="+M+".0.0 <"+(+M+1)+".0.0":isX(p)?M==="0"?ret=">="+M+"."+m+".0 <"+M+"."+(+m+1)+".0":ret=">="+M+"."+m+".0 <"+(+M+1)+".0.0":pr?(debug2("replaceCaret pr",pr),M==="0"?m==="0"?ret=">="+M+"."+m+"."+p+"-"+pr+" <"+M+"."+m+"."+(+p+1):ret=">="+M+"."+m+"."+p+"-"+pr+" <"+M+"."+(+m+1)+".0":ret=">="+M+"."+m+"."+p+"-"+pr+" <"+(+M+1)+".0.0"):(debug2("no pr"),M==="0"?m==="0"?ret=">="+M+"."+m+"."+p+" <"+M+"."+m+"."+(+p+1):ret=">="+M+"."+m+"."+p+" <"+M+"."+(+m+1)+".0":ret=">="+M+"."+m+"."+p+" <"+(+M+1)+".0.0"),debug2("caret return",ret),ret})}function replaceXRanges(comp,options){return debug2("replaceXRanges",comp,options),comp.split(/\s+/).map(function(comp2){return replaceXRange(comp2,options)}).join(" ")}function replaceXRange(comp,options){comp=comp.trim();var r=options.loose?safeRe[t.XRANGELOOSE]:safeRe[t.XRANGE];return comp.replace(r,function(ret,gtlt,M,m,p,pr){debug2("xRange",comp,ret,gtlt,M,m,p,pr);var xM=isX(M),xm=xM||isX(m),xp=xm||isX(p),anyX=xp;return gtlt==="="&&anyX&&(gtlt=""),pr=options.includePrerelease?"-0":"",xM?gtlt===">"||gtlt==="<"?ret="<0.0.0-0":ret="*":gtlt&&anyX?(xm&&(m=0),p=0,gtlt===">"?(gtlt=">=",xm?(M=+M+1,m=0,p=0):(m=+m+1,p=0)):gtlt==="<="&&(gtlt="<",xm?M=+M+1:m=+m+1),ret=gtlt+M+"."+m+"."+p+pr):xm?ret=">="+M+".0.0"+pr+" <"+(+M+1)+".0.0"+pr:xp&&(ret=">="+M+"."+m+".0"+pr+" <"+M+"."+(+m+1)+".0"+pr),debug2("xRange return",ret),ret})}function replaceStars(comp,options){return debug2("replaceStars",comp,options),comp.trim().replace(safeRe[t.STAR],"")}function hyphenReplace($0,from,fM,fm,fp,fpr,fb,to,tM,tm,tp,tpr,tb){return isX(fM)?from="":isX(fm)?from=">="+fM+".0.0":isX(fp)?from=">="+fM+"."+fm+".0":from=">="+from,isX(tM)?to="":isX(tm)?to="<"+(+tM+1)+".0.0":isX(tp)?to="<"+tM+"."+(+tm+1)+".0":tpr?to="<="+tM+"."+tm+"."+tp+"-"+tpr:to="<="+to,(from+" "+to).trim()}Range.prototype.test=function(version){if(!version)return!1;if(typeof version=="string")try{version=new SemVer2(version,this.options)}catch{return!1}for(var i2=0;i2<this.set.length;i2++)if(testSet(this.set[i2],version,this.options))return!0;return!1};function testSet(set,version,options){for(var i2=0;i2<set.length;i2++)if(!set[i2].test(version))return!1;if(version.prerelease.length&&!options.includePrerelease){for(i2=0;i2<set.length;i2++)if(debug2(set[i2].semver),set[i2].semver!==ANY&&set[i2].semver.prerelease.length>0){var allowed=set[i2].semver;if(allowed.major===version.major&&allowed.minor===version.minor&&allowed.patch===version.patch)return!0}return!1}return!0}exports2.satisfies=satisfies2;function satisfies2(version,range,options){try{range=new Range(range,options)}catch{return!1}return range.test(version)}exports2.maxSatisfying=maxSatisfying;function maxSatisfying(versions,range,options){var max=null,maxSV=null;try{var rangeObj=new Range(range,options)}catch{return null}return versions.forEach(function(v){rangeObj.test(v)&&(!max||maxSV.compare(v)===-1)&&(max=v,maxSV=new SemVer2(max,options))}),max}exports2.minSatisfying=minSatisfying;function minSatisfying(versions,range,options){var min=null,minSV=null;try{var rangeObj=new Range(range,options)}catch{return null}return versions.forEach(function(v){rangeObj.test(v)&&(!min||minSV.compare(v)===1)&&(min=v,minSV=new SemVer2(min,options))}),min}exports2.minVersion=minVersion2;function minVersion2(range,loose){range=new Range(range,loose);var minver=new SemVer2("0.0.0");if(range.test(minver)||(minver=new SemVer2("0.0.0-0"),range.test(minver)))return minver;minver=null;for(var i2=0;i2<range.set.length;++i2){var comparators=range.set[i2];comparators.forEach(function(comparator){var compver=new SemVer2(comparator.semver.version);switch(comparator.operator){case">":compver.prerelease.length===0?compver.patch++:compver.prerelease.push(0),compver.raw=compver.format();case"":case">=":(!minver||gt(minver,compver))&&(minver=compver);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+comparator.operator)}})}return minver&&range.test(minver)?minver:null}exports2.validRange=validRange3;function validRange3(range,options){try{return new Range(range,options).range||"*"}catch{return null}}exports2.ltr=ltr;function ltr(version,range,options){return outside(version,range,"<",options)}exports2.gtr=gtr;function gtr(version,range,options){return outside(version,range,">",options)}exports2.outside=outside;function outside(version,range,hilo,options){version=new SemVer2(version,options),range=new Range(range,options);var gtfn,ltefn,ltfn,comp,ecomp;switch(hilo){case">":gtfn=gt,ltefn=lte,ltfn=lt,comp=">",ecomp=">=";break;case"<":gtfn=lt,ltefn=gte2,ltfn=gt,comp="<",ecomp="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies2(version,range,options))return!1;for(var i2=0;i2<range.set.length;++i2){var comparators=range.set[i2],high=null,low=null;if(comparators.forEach(function(comparator){comparator.semver===ANY&&(comparator=new Comparator(">=0.0.0")),high=high||comparator,low=low||comparator,gtfn(comparator.semver,high.semver,options)?high=comparator:ltfn(comparator.semver,low.semver,options)&&(low=comparator)}),high.operator===comp||high.operator===ecomp||(!low.operator||low.operator===comp)&<efn(version,low.semver))return!1;if(low.operator===ecomp&<fn(version,low.semver))return!1}return!0}exports2.prerelease=prerelease;function prerelease(version,options){var parsed=parse6(version,options);return parsed&&parsed.prerelease.length?parsed.prerelease:null}exports2.intersects=intersects3;function intersects3(r1,r2,options){return r1=new Range(r1,options),r2=new Range(r2,options),r1.intersects(r2)}exports2.coerce=coerce2;function coerce2(version,options){if(version instanceof SemVer2)return version;if(typeof version=="number"&&(version=String(version)),typeof version!="string")return null;options=options||{};var match=null;if(!options.rtl)match=version.match(safeRe[t.COERCE]);else{for(var next;(next=safeRe[t.COERCERTL].exec(version))&&(!match||match.index+match[0].length!==version.length);)(!match||next.index+next[0].length!==match.index+match[0].length)&&(match=next),safeRe[t.COERCERTL].lastIndex=next.index+next[1].length+next[2].length;safeRe[t.COERCERTL].lastIndex=-1}return match===null?null:parse6(match[2]+"."+(match[3]||"0")+"."+(match[4]||"0"),options)}}});var types_exports={};__export(types_exports,{BunVersion:()=>BunVersion,JOB_TRIGGERS:()=>JOB_TRIGGERS,NodeVersion:()=>NodeVersion,Version:()=>Version,getReportedServiceType:()=>getReportedServiceType,getServiceQueueTopicConfigs:()=>getServiceQueueTopicConfigs,getServiceQueueTopics:()=>getServiceQueueTopics,isExperimentalService:()=>isExperimentalService,isExperimentalServiceV2:()=>isExperimentalServiceV2,isQueueBackedService:()=>isQueueBackedService,isQueueTriggeredService:()=>isQueueTriggeredService,isScheduleTriggeredService:()=>isScheduleTriggeredService,isWorkflowTriggeredService:()=>isWorkflowTriggeredService});function isExperimentalService(service){return service.schema==="experimentalServices"}function isExperimentalServiceV2(service){return service.schema==="experimentalServicesV2"}function getServiceQueueTopicConfigs(config){return Array.isArray(config.topics)&&config.topics.length>0?typeof config.topics[0]=="string"?config.topics.map(topic=>({topic})):config.topics:config.type==="worker"?[{topic:"default"}]:[]}function getServiceQueueTopics(config){return getServiceQueueTopicConfigs(config).map(topic=>topic.topic)}function isQueueTriggeredService(service){return service.type==="worker"||service.type==="job"&&service.trigger==="queue"}function isScheduleTriggeredService(service){return service.type==="cron"||service.type==="job"&&service.trigger==="schedule"}function isWorkflowTriggeredService(service){return service.type==="job"&&service.trigger==="workflow"}function isQueueBackedService(service){return isQueueTriggeredService(service)||isWorkflowTriggeredService(service)}function getReportedServiceType(service){switch(service.type){case"web":return"web";case"cron":return"schedule";case"worker":return"queue";case"job":return service.trigger==="schedule"?"schedule":service.trigger==="queue"?"queue":service.trigger==="workflow"?"workflow":void 0;default:return}}var Version,NodeVersion,BunVersion,JOB_TRIGGERS,init_types=__esm({"src/types.ts"(){"use strict";Version=class{constructor(version){this.major=version.major,this.minor=version.minor,this.range=version.range,this.runtime=version.runtime,this.discontinueDate=version.discontinueDate}get state(){return this.discontinueDate&&this.discontinueDate.getTime()<=Date.now()?"discontinued":this.discontinueDate?"deprecated":"active"}get formattedDate(){return this.discontinueDate&&this.discontinueDate.toISOString().split("T")[0]}},NodeVersion=class extends Version{},BunVersion=class extends Version{},JOB_TRIGGERS=["queue","schedule","workflow"]}});var node_version_exports={};__export(node_version_exports,{BUN_VERSIONS:()=>BUN_VERSIONS,NODE_VERSIONS:()=>NODE_VERSIONS,getAvailableNodeVersions:()=>getAvailableNodeVersions,getDiscontinuedNodeVersions:()=>getDiscontinuedNodeVersions,getLatestNodeVersion:()=>getLatestNodeVersion,getNodeVersionByMajor:()=>getNodeVersionByMajor,getSupportedBunVersion:()=>getSupportedBunVersion,getSupportedNodeVersion:()=>getSupportedNodeVersion,isBunVersion:()=>isBunVersion});function getNodeVersionByMajor(major){return getOptions().find(v=>v.major===major)}function getOptions(){let versions=NODE_VERSIONS;return process.env.VERCEL_ALLOW_NODEJS_26!=="1"&&(versions=versions.filter(version=>version.major!==26)),process.env.VERCEL_ALLOW_DISCONTINUED_NODEJS20==="1"&&(versions=versions.map(version=>version.major===20?new NodeVersion({...version,discontinueDate:new Date("2026-11-01")}):version)),versions}function isNodeVersionAvailable(version){return(0,import_fs.statSync)(`/node${version.major}`,{throwIfNoEntry:!1})?.isDirectory()??!1}function getAvailableNodeVersions(){return getOptions().filter(v=>v.major>=18).filter(isNodeVersionAvailable).map(n=>n.major)}function getHint(isAuto=!1,availableVersions){let{major,range}=getLatestNodeVersion(availableVersions);return isAuto?`Please set Node.js Version to ${range} in your Project Settings to use Node.js ${major}.`:`Please set "engines": { "node": "${range}" } in your \`package.json\` file to use Node.js ${major}.`}function getLatestNodeVersion(availableVersions){let all=getOptions().filter(version=>version.major!==26||process.env.VERCEL_DEFAULT_NODE_26==="1");if(availableVersions){for(let version of all)for(let major of availableVersions)if(version.major===major)return version}return all[0]}function getDiscontinuedNodeVersions(){return getOptions().filter(version=>version.state==="discontinued")}async function getSupportedNodeVersion(engineRange,isAuto=!1,availableVersions,configuredNodeVersion){let selection;if(engineRange&&!((0,import_semver.validRange)(engineRange)&&getOptions().some(o=>(selection=o,(o.major!==26||process.env.VERCEL_DEFAULT_NODE_26==="1"||configuredNodeVersion==="26.x"||!(0,import_semver.intersects)(engineRange,"<26.0.0"))&&(0,import_semver.intersects)(o.range,engineRange)&&(availableVersions?.length?availableVersions.includes(o.major):!0)))))throw new NowBuildError({code:"BUILD_UTILS_NODE_VERSION_INVALID",link:"https://vercel.link/node-version",message:`Found invalid or discontinued Node.js Version: "${engineRange}". ${getHint(isAuto,availableVersions)}`});if(selection||(selection=getLatestNodeVersion(availableVersions)),selection.state==="discontinued"){let intro=`Node.js Version "${selection.range}" is discontinued and must be upgraded.`;throw new NowBuildError({code:"BUILD_UTILS_NODE_VERSION_DISCONTINUED",link:"https://vercel.link/node-version",message:`${intro} ${getHint(isAuto)}`})}if(debug(`Selected Node.js ${selection.range}`),selection.state==="deprecated"){let d=selection.formattedDate;console.warn(d?`Error: Node.js version ${selection.range} is deprecated. Deployments created on or after ${d} will fail to build. ${getHint(isAuto)}`:`Error: Node.js version ${selection.range} is deprecated. ${getHint(isAuto)}`)}return selection}function getSupportedBunVersion(engineRange){if((0,import_semver.validRange)(engineRange)){let selected=BUN_VERSIONS.find(version=>(0,import_semver.intersects)(version.range,engineRange)?version.minor===void 0?!0:!(0,import_semver.intersects)(`<${version.major}.${version.minor}.0`,engineRange):!1);if(selected)return new BunVersion({major:selected.major,minor:selected.minor,range:selected.range,runtime:selected.runtime})}throw new NowBuildError({message:`Found invalid Bun Version: "${engineRange}".`,code:"BUILD_UTILS_BUN_VERSION_INVALID"})}function isBunVersion(version){return version.runtime.startsWith("bun")}var import_fs,import_semver,NODE_VERSIONS,BUN_VERSIONS,init_node_version=__esm({"src/fs/node-version.ts"(){"use strict";import_fs=require("fs"),import_semver=__toESM(require_semver2());init_types();init_errors();init_debug();NODE_VERSIONS=[new NodeVersion({major:26,range:"26.x",runtime:"nodejs26.x"}),new NodeVersion({major:24,range:"24.x",runtime:"nodejs24.x"}),new NodeVersion({major:22,range:"22.x",runtime:"nodejs22.x"}),new NodeVersion({major:20,range:"20.x",runtime:"nodejs20.x",discontinueDate:new Date("2026-10-01")}),new NodeVersion({major:18,range:"18.x",runtime:"nodejs18.x",discontinueDate:new Date("2025-09-01")}),new NodeVersion({major:16,range:"16.x",runtime:"nodejs16.x",discontinueDate:new Date("2025-02-03")}),new NodeVersion({major:14,range:"14.x",runtime:"nodejs14.x",discontinueDate:new Date("2023-08-15")}),new NodeVersion({major:12,range:"12.x",runtime:"nodejs12.x",discontinueDate:new Date("2022-10-03")}),new NodeVersion({major:10,range:"10.x",runtime:"nodejs10.x",discontinueDate:new Date("2021-04-20")}),new NodeVersion({major:8,range:"8.10.x",runtime:"nodejs8.10",discontinueDate:new Date("2020-01-06")})],BUN_VERSIONS=[new BunVersion({major:1,minor:4,range:"1.4.x",runtime:"bun1.4.x"}),new BunVersion({major:1,range:"1.x",runtime:"bun1.x"})]}});var require_common2=__commonJS({"../../node_modules/.pnpm/js-yaml@3.13.1/node_modules/js-yaml/lib/js-yaml/common.js"(exports2,module2){"use strict";function isNothing(subject){return typeof subject>"u"||subject===null}function isObject(subject){return typeof subject=="object"&&subject!==null}function toArray(sequence){return Array.isArray(sequence)?sequence:isNothing(sequence)?[]:[sequence]}function extend(target,source){var index,length,key,sourceKeys;if(source)for(sourceKeys=Object.keys(source),index=0,length=sourceKeys.length;index<length;index+=1)key=sourceKeys[index],target[key]=source[key];return target}function repeat(string,count){var result="",cycle;for(cycle=0;cycle<count;cycle+=1)result+=string;return result}function isNegativeZero(number){return number===0&&Number.NEGATIVE_INFINITY===1/number}module2.exports.isNothing=isNothing;module2.exports.isObject=isObject;module2.exports.toArray=toArray;module2.exports.repeat=repeat;module2.exports.isNegativeZero=isNegativeZero;module2.exports.extend=extend}});var require_exception=__commonJS({"../../node_modules/.pnpm/js-yaml@3.13.1/node_modules/js-yaml/lib/js-yaml/exception.js"(exports2,module2){"use strict";function YAMLException(reason,mark){Error.call(this),this.name="YAMLException",this.reason=reason,this.mark=mark,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():""),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}YAMLException.prototype=Object.create(Error.prototype);YAMLException.prototype.constructor=YAMLException;YAMLException.prototype.toString=function(compact){var result=this.name+": ";return result+=this.reason||"(unknown reason)",!compact&&this.mark&&(result+=" "+this.mark.toString()),result};module2.exports=YAMLException}});var require_mark=__commonJS({"../../node_modules/.pnpm/js-yaml@3.13.1/node_modules/js-yaml/lib/js-yaml/mark.js"(exports2,module2){"use strict";var common=require_common2();function Mark(name,buffer,position,line,column){this.name=name,this.buffer=buffer,this.position=position,this.line=line,this.column=column}Mark.prototype.getSnippet=function(indent,maxLength){var head,start,tail,end,snippet;if(!this.buffer)return null;for(indent=indent||4,maxLength=maxLength||75,head="",start=this.position;start>0&&`\0\r
|
|
15
|
+
See: https://github.com/isaacs/node-glob/issues/167`);if(!(this instanceof GlobSync))return new GlobSync(pattern,options);if(setopts(this,pattern,options),this.noprocess)return this;var n=this.minimatch.set.length;this.matches=new Array(n);for(var i=0;i<n;i++)this._process(this.minimatch.set[i],i,!1);this._finish()}GlobSync.prototype._finish=function(){if(assert9.ok(this instanceof GlobSync),this.realpath){var self2=this;this.matches.forEach(function(matchset,index){var set=self2.matches[index]=Object.create(null);for(var p in matchset)try{p=self2._makeAbs(p);var real=rp.realpathSync(p,self2.realpathCache);set[real]=!0}catch(er){if(er.syscall==="stat")set[self2._makeAbs(p)]=!0;else throw er}})}common.finish(this)};GlobSync.prototype._process=function(pattern,index,inGlobStar){assert9.ok(this instanceof GlobSync);for(var n=0;typeof pattern[n]=="string";)n++;var prefix;switch(n){case pattern.length:this._processSimple(pattern.join("/"),index);return;case 0:prefix=null;break;default:prefix=pattern.slice(0,n).join("/");break}var remain=pattern.slice(n),read;prefix===null?read=".":((isAbsolute3(prefix)||isAbsolute3(pattern.map(function(p){return typeof p=="string"?p:"[*]"}).join("/")))&&(!prefix||!isAbsolute3(prefix))&&(prefix="/"+prefix),read=prefix);var abs=this._makeAbs(read);if(!childrenIgnored(this,read)){var isGlobStar=remain[0]===minimatch2.GLOBSTAR;isGlobStar?this._processGlobStar(prefix,read,abs,remain,index,inGlobStar):this._processReaddir(prefix,read,abs,remain,index,inGlobStar)}};GlobSync.prototype._processReaddir=function(prefix,read,abs,remain,index,inGlobStar){var entries=this._readdir(abs,inGlobStar);if(entries){for(var pn=remain[0],negate=!!this.minimatch.negate,rawGlob=pn._glob,dotOk=this.dot||rawGlob.charAt(0)===".",matchedEntries=[],i=0;i<entries.length;i++){var e=entries[i];if(e.charAt(0)!=="."||dotOk){var m;negate&&!prefix?m=!e.match(pn):m=e.match(pn),m&&matchedEntries.push(e)}}var len=matchedEntries.length;if(len!==0){if(remain.length===1&&!this.mark&&!this.stat){this.matches[index]||(this.matches[index]=Object.create(null));for(var i=0;i<len;i++){var e=matchedEntries[i];prefix&&(prefix.slice(-1)!=="/"?e=prefix+"/"+e:e=prefix+e),e.charAt(0)==="/"&&!this.nomount&&(e=path9.join(this.root,e)),this._emitMatch(index,e)}return}remain.shift();for(var i=0;i<len;i++){var e=matchedEntries[i],newPattern;prefix?newPattern=[prefix,e]:newPattern=[e],this._process(newPattern.concat(remain),index,inGlobStar)}}}};GlobSync.prototype._emitMatch=function(index,e){if(!isIgnored(this,e)){var abs=this._makeAbs(e);if(this.mark&&(e=this._mark(e)),this.absolute&&(e=abs),!this.matches[index][e]){if(this.nodir){var c=this.cache[abs];if(c==="DIR"||Array.isArray(c))return}this.matches[index][e]=!0,this.stat&&this._stat(e)}}};GlobSync.prototype._readdirInGlobStar=function(abs){if(this.follow)return this._readdir(abs,!1);var entries,lstat2,stat;try{lstat2=this.fs.lstatSync(abs)}catch(er){if(er.code==="ENOENT")return null}var isSym=lstat2&&lstat2.isSymbolicLink();return this.symlinks[abs]=isSym,!isSym&&lstat2&&!lstat2.isDirectory()?this.cache[abs]="FILE":entries=this._readdir(abs,!1),entries};GlobSync.prototype._readdir=function(abs,inGlobStar){var entries;if(inGlobStar&&!ownProp(this.symlinks,abs))return this._readdirInGlobStar(abs);if(ownProp(this.cache,abs)){var c=this.cache[abs];if(!c||c==="FILE")return null;if(Array.isArray(c))return c}try{return this._readdirEntries(abs,this.fs.readdirSync(abs))}catch(er){return this._readdirError(abs,er),null}};GlobSync.prototype._readdirEntries=function(abs,entries){if(!this.mark&&!this.stat)for(var i=0;i<entries.length;i++){var e=entries[i];abs==="/"?e=abs+e:e=abs+"/"+e,this.cache[e]=!0}return this.cache[abs]=entries,entries};GlobSync.prototype._readdirError=function(f,er){switch(er.code){case"ENOTSUP":case"ENOTDIR":var abs=this._makeAbs(f);if(this.cache[abs]="FILE",abs===this.cwdAbs){var error=new Error(er.code+" invalid cwd "+this.cwd);throw error.path=this.cwd,error.code=er.code,error}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(f)]=!1;break;default:if(this.cache[this._makeAbs(f)]=!1,this.strict)throw er;this.silent||console.error("glob error",er);break}};GlobSync.prototype._processGlobStar=function(prefix,read,abs,remain,index,inGlobStar){var entries=this._readdir(abs,inGlobStar);if(entries){var remainWithoutGlobStar=remain.slice(1),gspref=prefix?[prefix]:[],noGlobStar=gspref.concat(remainWithoutGlobStar);this._process(noGlobStar,index,!1);var len=entries.length,isSym=this.symlinks[abs];if(!(isSym&&inGlobStar))for(var i=0;i<len;i++){var e=entries[i];if(!(e.charAt(0)==="."&&!this.dot)){var instead=gspref.concat(entries[i],remainWithoutGlobStar);this._process(instead,index,!0);var below=gspref.concat(entries[i],remain);this._process(below,index,!0)}}}};GlobSync.prototype._processSimple=function(prefix,index){var exists=this._stat(prefix);if(this.matches[index]||(this.matches[index]=Object.create(null)),!!exists){if(prefix&&isAbsolute3(prefix)&&!this.nomount){var trail=/[\/\\]$/.test(prefix);prefix.charAt(0)==="/"?prefix=path9.join(this.root,prefix):(prefix=path9.resolve(this.root,prefix),trail&&(prefix+="/"))}process.platform==="win32"&&(prefix=prefix.replace(/\\/g,"/")),this._emitMatch(index,prefix)}};GlobSync.prototype._stat=function(f){var abs=this._makeAbs(f),needDir=f.slice(-1)==="/";if(f.length>this.maxLength)return!1;if(!this.stat&&ownProp(this.cache,abs)){var c=this.cache[abs];if(Array.isArray(c)&&(c="DIR"),!needDir||c==="DIR")return c;if(needDir&&c==="FILE")return!1}var exists,stat=this.statCache[abs];if(!stat){var lstat2;try{lstat2=this.fs.lstatSync(abs)}catch(er){if(er&&(er.code==="ENOENT"||er.code==="ENOTDIR"))return this.statCache[abs]=!1,!1}if(lstat2&&lstat2.isSymbolicLink())try{stat=this.fs.statSync(abs)}catch{stat=lstat2}else stat=lstat2}this.statCache[abs]=stat;var c=!0;return stat&&(c=stat.isDirectory()?"DIR":"FILE"),this.cache[abs]=this.cache[abs]||c,needDir&&c==="FILE"?!1:c};GlobSync.prototype._mark=function(p){return common.mark(this,p)};GlobSync.prototype._makeAbs=function(f){return common.makeAbs(this,f)}}});var require_inflight=__commonJS({"../../node_modules/.pnpm/inflight@1.0.6/node_modules/inflight/inflight.js"(exports2,module2){var wrappy=require_wrappy(),reqs=Object.create(null),once=require_once();module2.exports=wrappy(inflight);function inflight(key,cb){return reqs[key]?(reqs[key].push(cb),null):(reqs[key]=[cb],makeres(key))}function makeres(key){return once(function RES(){var cbs=reqs[key],len=cbs.length,args=slice(arguments);try{for(var i=0;i<len;i++)cbs[i].apply(null,args)}finally{cbs.length>len?(cbs.splice(0,len),process.nextTick(function(){RES.apply(null,args)})):delete reqs[key]}})}function slice(args){for(var length=args.length,array=[],i=0;i<length;i++)array[i]=args[i];return array}}});var require_glob=__commonJS({"../../node_modules/.pnpm/glob@8.0.3/node_modules/glob/glob.js"(exports2,module2){module2.exports=glob2;var rp=require_fs2(),minimatch2=require_minimatch2(),Minimatch=minimatch2.Minimatch,inherits=require_inherits(),EE=require("events").EventEmitter,path9=require("path"),assert9=require("assert"),isAbsolute3=require("path").isAbsolute,globSync=require_sync(),common=require_common(),setopts=common.setopts,ownProp=common.ownProp,inflight=require_inflight(),util=require("util"),childrenIgnored=common.childrenIgnored,isIgnored=common.isIgnored,once=require_once();function glob2(pattern,options,cb){if(typeof options=="function"&&(cb=options,options={}),options||(options={}),options.sync){if(cb)throw new TypeError("callback provided to sync glob");return globSync(pattern,options)}return new Glob(pattern,options,cb)}glob2.sync=globSync;var GlobSync=glob2.GlobSync=globSync.GlobSync;glob2.glob=glob2;function extend(origin,add){if(add===null||typeof add!="object")return origin;for(var keys=Object.keys(add),i=keys.length;i--;)origin[keys[i]]=add[keys[i]];return origin}glob2.hasMagic=function(pattern,options_){var options=extend({},options_);options.noprocess=!0;var g2=new Glob(pattern,options),set=g2.minimatch.set;if(!pattern)return!1;if(set.length>1)return!0;for(var j=0;j<set[0].length;j++)if(typeof set[0][j]!="string")return!0;return!1};glob2.Glob=Glob;inherits(Glob,EE);function Glob(pattern,options,cb){if(typeof options=="function"&&(cb=options,options=null),options&&options.sync){if(cb)throw new TypeError("callback provided to sync glob");return new GlobSync(pattern,options)}if(!(this instanceof Glob))return new Glob(pattern,options,cb);setopts(this,pattern,options),this._didRealPath=!1;var n=this.minimatch.set.length;this.matches=new Array(n),typeof cb=="function"&&(cb=once(cb),this.on("error",cb),this.on("end",function(matches){cb(null,matches)}));var self2=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(n===0)return done();for(var sync=!0,i=0;i<n;i++)this._process(this.minimatch.set[i],i,!1,done);sync=!1;function done(){--self2._processing,self2._processing<=0&&(sync?process.nextTick(function(){self2._finish()}):self2._finish())}}Glob.prototype._finish=function(){if(assert9(this instanceof Glob),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();common.finish(this),this.emit("end",this.found)}};Glob.prototype._realpath=function(){if(this._didRealpath)return;this._didRealpath=!0;var n=this.matches.length;if(n===0)return this._finish();for(var self2=this,i=0;i<this.matches.length;i++)this._realpathSet(i,next);function next(){--n===0&&self2._finish()}};Glob.prototype._realpathSet=function(index,cb){var matchset=this.matches[index];if(!matchset)return cb();var found=Object.keys(matchset),self2=this,n=found.length;if(n===0)return cb();var set=this.matches[index]=Object.create(null);found.forEach(function(p,i){p=self2._makeAbs(p),rp.realpath(p,self2.realpathCache,function(er,real){er?er.syscall==="stat"?set[p]=!0:self2.emit("error",er):set[real]=!0,--n===0&&(self2.matches[index]=set,cb())})})};Glob.prototype._mark=function(p){return common.mark(this,p)};Glob.prototype._makeAbs=function(f){return common.makeAbs(this,f)};Glob.prototype.abort=function(){this.aborted=!0,this.emit("abort")};Glob.prototype.pause=function(){this.paused||(this.paused=!0,this.emit("pause"))};Glob.prototype.resume=function(){if(this.paused){if(this.emit("resume"),this.paused=!1,this._emitQueue.length){var eq=this._emitQueue.slice(0);this._emitQueue.length=0;for(var i=0;i<eq.length;i++){var e=eq[i];this._emitMatch(e[0],e[1])}}if(this._processQueue.length){var pq=this._processQueue.slice(0);this._processQueue.length=0;for(var i=0;i<pq.length;i++){var p=pq[i];this._processing--,this._process(p[0],p[1],p[2],p[3])}}}};Glob.prototype._process=function(pattern,index,inGlobStar,cb){if(assert9(this instanceof Glob),assert9(typeof cb=="function"),!this.aborted){if(this._processing++,this.paused){this._processQueue.push([pattern,index,inGlobStar,cb]);return}for(var n=0;typeof pattern[n]=="string";)n++;var prefix;switch(n){case pattern.length:this._processSimple(pattern.join("/"),index,cb);return;case 0:prefix=null;break;default:prefix=pattern.slice(0,n).join("/");break}var remain=pattern.slice(n),read;prefix===null?read=".":((isAbsolute3(prefix)||isAbsolute3(pattern.map(function(p){return typeof p=="string"?p:"[*]"}).join("/")))&&(!prefix||!isAbsolute3(prefix))&&(prefix="/"+prefix),read=prefix);var abs=this._makeAbs(read);if(childrenIgnored(this,read))return cb();var isGlobStar=remain[0]===minimatch2.GLOBSTAR;isGlobStar?this._processGlobStar(prefix,read,abs,remain,index,inGlobStar,cb):this._processReaddir(prefix,read,abs,remain,index,inGlobStar,cb)}};Glob.prototype._processReaddir=function(prefix,read,abs,remain,index,inGlobStar,cb){var self2=this;this._readdir(abs,inGlobStar,function(er,entries){return self2._processReaddir2(prefix,read,abs,remain,index,inGlobStar,entries,cb)})};Glob.prototype._processReaddir2=function(prefix,read,abs,remain,index,inGlobStar,entries,cb){if(!entries)return cb();for(var pn=remain[0],negate=!!this.minimatch.negate,rawGlob=pn._glob,dotOk=this.dot||rawGlob.charAt(0)===".",matchedEntries=[],i=0;i<entries.length;i++){var e=entries[i];if(e.charAt(0)!=="."||dotOk){var m;negate&&!prefix?m=!e.match(pn):m=e.match(pn),m&&matchedEntries.push(e)}}var len=matchedEntries.length;if(len===0)return cb();if(remain.length===1&&!this.mark&&!this.stat){this.matches[index]||(this.matches[index]=Object.create(null));for(var i=0;i<len;i++){var e=matchedEntries[i];prefix&&(prefix!=="/"?e=prefix+"/"+e:e=prefix+e),e.charAt(0)==="/"&&!this.nomount&&(e=path9.join(this.root,e)),this._emitMatch(index,e)}return cb()}remain.shift();for(var i=0;i<len;i++){var e=matchedEntries[i],newPattern;prefix&&(prefix!=="/"?e=prefix+"/"+e:e=prefix+e),this._process([e].concat(remain),index,inGlobStar,cb)}cb()};Glob.prototype._emitMatch=function(index,e){if(!this.aborted&&!isIgnored(this,e)){if(this.paused){this._emitQueue.push([index,e]);return}var abs=isAbsolute3(e)?e:this._makeAbs(e);if(this.mark&&(e=this._mark(e)),this.absolute&&(e=abs),!this.matches[index][e]){if(this.nodir){var c=this.cache[abs];if(c==="DIR"||Array.isArray(c))return}this.matches[index][e]=!0;var st=this.statCache[abs];st&&this.emit("stat",e,st),this.emit("match",e)}}};Glob.prototype._readdirInGlobStar=function(abs,cb){if(this.aborted)return;if(this.follow)return this._readdir(abs,!1,cb);var lstatkey="lstat\0"+abs,self2=this,lstatcb=inflight(lstatkey,lstatcb_);lstatcb&&self2.fs.lstat(abs,lstatcb);function lstatcb_(er,lstat2){if(er&&er.code==="ENOENT")return cb();var isSym=lstat2&&lstat2.isSymbolicLink();self2.symlinks[abs]=isSym,!isSym&&lstat2&&!lstat2.isDirectory()?(self2.cache[abs]="FILE",cb()):self2._readdir(abs,!1,cb)}};Glob.prototype._readdir=function(abs,inGlobStar,cb){if(!this.aborted&&(cb=inflight("readdir\0"+abs+"\0"+inGlobStar,cb),!!cb)){if(inGlobStar&&!ownProp(this.symlinks,abs))return this._readdirInGlobStar(abs,cb);if(ownProp(this.cache,abs)){var c=this.cache[abs];if(!c||c==="FILE")return cb();if(Array.isArray(c))return cb(null,c)}var self2=this;self2.fs.readdir(abs,readdirCb(this,abs,cb))}};function readdirCb(self2,abs,cb){return function(er,entries){er?self2._readdirError(abs,er,cb):self2._readdirEntries(abs,entries,cb)}}Glob.prototype._readdirEntries=function(abs,entries,cb){if(!this.aborted){if(!this.mark&&!this.stat)for(var i=0;i<entries.length;i++){var e=entries[i];abs==="/"?e=abs+e:e=abs+"/"+e,this.cache[e]=!0}return this.cache[abs]=entries,cb(null,entries)}};Glob.prototype._readdirError=function(f,er,cb){if(!this.aborted){switch(er.code){case"ENOTSUP":case"ENOTDIR":var abs=this._makeAbs(f);if(this.cache[abs]="FILE",abs===this.cwdAbs){var error=new Error(er.code+" invalid cwd "+this.cwd);error.path=this.cwd,error.code=er.code,this.emit("error",error),this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(f)]=!1;break;default:this.cache[this._makeAbs(f)]=!1,this.strict&&(this.emit("error",er),this.abort()),this.silent||console.error("glob error",er);break}return cb()}};Glob.prototype._processGlobStar=function(prefix,read,abs,remain,index,inGlobStar,cb){var self2=this;this._readdir(abs,inGlobStar,function(er,entries){self2._processGlobStar2(prefix,read,abs,remain,index,inGlobStar,entries,cb)})};Glob.prototype._processGlobStar2=function(prefix,read,abs,remain,index,inGlobStar,entries,cb){if(!entries)return cb();var remainWithoutGlobStar=remain.slice(1),gspref=prefix?[prefix]:[],noGlobStar=gspref.concat(remainWithoutGlobStar);this._process(noGlobStar,index,!1,cb);var isSym=this.symlinks[abs],len=entries.length;if(isSym&&inGlobStar)return cb();for(var i=0;i<len;i++){var e=entries[i];if(!(e.charAt(0)==="."&&!this.dot)){var instead=gspref.concat(entries[i],remainWithoutGlobStar);this._process(instead,index,!0,cb);var below=gspref.concat(entries[i],remain);this._process(below,index,!0,cb)}}cb()};Glob.prototype._processSimple=function(prefix,index,cb){var self2=this;this._stat(prefix,function(er,exists){self2._processSimple2(prefix,index,er,exists,cb)})};Glob.prototype._processSimple2=function(prefix,index,er,exists,cb){if(this.matches[index]||(this.matches[index]=Object.create(null)),!exists)return cb();if(prefix&&isAbsolute3(prefix)&&!this.nomount){var trail=/[\/\\]$/.test(prefix);prefix.charAt(0)==="/"?prefix=path9.join(this.root,prefix):(prefix=path9.resolve(this.root,prefix),trail&&(prefix+="/"))}process.platform==="win32"&&(prefix=prefix.replace(/\\/g,"/")),this._emitMatch(index,prefix),cb()};Glob.prototype._stat=function(f,cb){var abs=this._makeAbs(f),needDir=f.slice(-1)==="/";if(f.length>this.maxLength)return cb();if(!this.stat&&ownProp(this.cache,abs)){var c=this.cache[abs];if(Array.isArray(c)&&(c="DIR"),!needDir||c==="DIR")return cb(null,c);if(needDir&&c==="FILE")return cb()}var exists,stat=this.statCache[abs];if(stat!==void 0){if(stat===!1)return cb(null,stat);var type=stat.isDirectory()?"DIR":"FILE";return needDir&&type==="FILE"?cb():cb(null,type,stat)}var self2=this,statcb=inflight("stat\0"+abs,lstatcb_);statcb&&self2.fs.lstat(abs,statcb);function lstatcb_(er,lstat2){if(lstat2&&lstat2.isSymbolicLink())return self2.fs.stat(abs,function(er2,stat2){er2?self2._stat2(f,abs,null,lstat2,cb):self2._stat2(f,abs,er2,stat2,cb)});self2._stat2(f,abs,er,lstat2,cb)}};Glob.prototype._stat2=function(f,abs,er,stat,cb){if(er&&(er.code==="ENOENT"||er.code==="ENOTDIR"))return this.statCache[abs]=!1,cb();var needDir=f.slice(-1)==="/";if(this.statCache[abs]=stat,abs.slice(-1)==="/"&&stat&&!stat.isDirectory())return cb(null,!1,stat);var c=!0;return stat&&(c=stat.isDirectory()?"DIR":"FILE"),this.cache[abs]=this.cache[abs]||c,needDir&&c==="FILE"?cb():cb(null,c,stat)}}});var normalize_path_exports={};__export(normalize_path_exports,{normalizePath:()=>normalizePath});function normalizePath(p){return isWin?p.replace(/\\/g,"/"):p}var isWin,init_normalize_path=__esm({"src/fs/normalize-path.ts"(){"use strict";isWin=process.platform==="win32"}});var glob_exports={};__export(glob_exports,{default:()=>glob});async function glob(pattern,opts,mountpoint){let options=typeof opts=="string"?{cwd:opts}:opts;if(!options.cwd)throw new Error("Second argument (basePath) must be specified for names of resulting files");if(!import_path4.default.isAbsolute(options.cwd))throw new Error(`basePath/cwd must be an absolute path (${options.cwd})`);let results={},statCache={},symlinks={},files=await vanillaGlob(pattern,{...options,symlinks,statCache,stat:!0,dot:!0}),dirs=new Set,dirsWithEntries=new Set;for(let relativePath of files){let absPath=import_path4.default.join(options.cwd,relativePath),fsPath=normalizePath(absPath),stat=statCache[fsPath];(0,import_assert6.default)(stat,`statCache does not contain value for ${relativePath} (resolved to ${fsPath})`);let isSymlink=symlinks[fsPath];if(options.follow&&(isSymlink||(await(0,import_fs_extra5.lstat)(fsPath)).isSymbolicLink())){let target=await(0,import_fs_extra5.readlink)(absPath),absTarget=import_path4.default.resolve(import_path4.default.dirname(absPath),target);if(import_path4.default.relative(options.cwd,absTarget).startsWith(`..${import_path4.default.sep}`))continue}if(isSymlink||stat.isFile()||stat.isDirectory()){isSymlink&&(stat=await(0,import_fs_extra5.lstat)(absPath));let dirname2=import_path4.default.dirname(relativePath);if(dirsWithEntries.add(dirname2),stat.isDirectory()){dirs.add(relativePath);continue}let finalPath=relativePath;mountpoint&&(finalPath=import_path4.default.join(mountpoint,finalPath)),results[finalPath]=new file_fs_ref_default({mode:stat.mode,fsPath})}}if(options.includeDirectories)for(let relativePath of dirs){if(dirsWithEntries.has(relativePath))continue;let finalPath=relativePath;mountpoint&&(finalPath=import_path4.default.join(mountpoint,finalPath));let fsPath=normalizePath(import_path4.default.join(options.cwd,relativePath)),stat=statCache[fsPath];results[finalPath]=new file_fs_ref_default({mode:stat.mode,fsPath})}return results}var import_path4,import_assert6,import_glob,import_util,import_fs_extra5,vanillaGlob,init_glob=__esm({"src/fs/glob.ts"(){"use strict";import_path4=__toESM(require("path")),import_assert6=__toESM(require("assert")),import_glob=__toESM(require_glob()),import_util=require("util"),import_fs_extra5=__toESM(require_lib());init_normalize_path();init_file_fs_ref();vanillaGlob=(0,import_util.promisify)(import_glob.default)}});var rename_exports={};__export(rename_exports,{default:()=>rename});function rename(files,delegate){let result={};for(let[name,file]of Object.entries(files))result[delegate(name)]=file;return result}var init_rename=__esm({"src/fs/rename.ts"(){"use strict"}});var find_package_json_exports={};__export(find_package_json_exports,{findPackageJson:()=>findPackageJson,traverseUpDirectories:()=>traverseUpDirectories,walkParentDirs:()=>walkParentDirs});function*traverseUpDirectories({start,base}){let current=import_path5.default.normalize(start),normalizedRoot=base?import_path5.default.normalize(base):void 0;for(;current&&(yield current,current!==normalizedRoot);){let next=import_path5.default.join(current,"..");current=next===current?void 0:next}}async function findPackageJson(destPath,readPackageJson2=!1,base="/"){(0,import_assert7.default)(import_path5.default.isAbsolute(destPath));let pkgJsonPath=await walkParentDirs({base,start:destPath,filename:"package.json"}),packageJson;if(readPackageJson2&&pkgJsonPath)try{packageJson=JSON.parse(await import_fs_extra6.default.readFile(pkgJsonPath,"utf8"))}catch(err){throw new Error(`Could not read ${pkgJsonPath}: ${err.message}.`)}return{packageJsonPath:pkgJsonPath||void 0,packageJson}}async function walkParentDirs({base,start,filename}){(0,import_assert7.default)(import_path5.default.isAbsolute(base),'Expected "base" to be absolute path'),(0,import_assert7.default)(import_path5.default.isAbsolute(start),'Expected "start" to be absolute path');for(let dir of traverseUpDirectories({start,base})){let fullPath=import_path5.default.join(dir,filename);if(await import_fs_extra6.default.pathExists(fullPath))return fullPath}return null}var import_assert7,import_fs_extra6,import_path5,init_find_package_json=__esm({"src/fs/find-package-json.ts"(){"use strict";import_assert7=__toESM(require("assert")),import_fs_extra6=__toESM(require_lib()),import_path5=__toESM(require("path"))}});var require_src=__commonJS({"../../node_modules/.pnpm/nice-try@1.0.5/node_modules/nice-try/src/index.js"(exports2,module2){"use strict";module2.exports=function(fn){try{return fn()}catch{}}}});var require_windows=__commonJS({"../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js"(exports2,module2){module2.exports=isexe;isexe.sync=sync;var fs14=require("fs");function checkPathExt(path9,options){var pathext=options.pathExt!==void 0?options.pathExt:process.env.PATHEXT;if(!pathext||(pathext=pathext.split(";"),pathext.indexOf("")!==-1))return!0;for(var i=0;i<pathext.length;i++){var p=pathext[i].toLowerCase();if(p&&path9.substr(-p.length).toLowerCase()===p)return!0}return!1}function checkStat(stat,path9,options){return!stat.isSymbolicLink()&&!stat.isFile()?!1:checkPathExt(path9,options)}function isexe(path9,options,cb){fs14.stat(path9,function(er,stat){cb(er,er?!1:checkStat(stat,path9,options))})}function sync(path9,options){return checkStat(fs14.statSync(path9),path9,options)}}});var require_mode=__commonJS({"../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js"(exports2,module2){module2.exports=isexe;isexe.sync=sync;var fs14=require("fs");function isexe(path9,options,cb){fs14.stat(path9,function(er,stat){cb(er,er?!1:checkStat(stat,options))})}function sync(path9,options){return checkStat(fs14.statSync(path9),options)}function checkStat(stat,options){return stat.isFile()&&checkMode(stat,options)}function checkMode(stat,options){var mod=stat.mode,uid=stat.uid,gid=stat.gid,myUid=options.uid!==void 0?options.uid:process.getuid&&process.getuid(),myGid=options.gid!==void 0?options.gid:process.getgid&&process.getgid(),u=parseInt("100",8),g2=parseInt("010",8),o=parseInt("001",8),ug=u|g2,ret=mod&o||mod&g2&&gid===myGid||mod&u&&uid===myUid||mod&ug&&myUid===0;return ret}}});var require_isexe=__commonJS({"../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js"(exports2,module2){var fs14=require("fs"),core;process.platform==="win32"||global.TESTING_WINDOWS?core=require_windows():core=require_mode();module2.exports=isexe;isexe.sync=sync;function isexe(path9,options,cb){if(typeof options=="function"&&(cb=options,options={}),!cb){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(resolve4,reject){isexe(path9,options||{},function(er,is){er?reject(er):resolve4(is)})})}core(path9,options||{},function(er,is){er&&(er.code==="EACCES"||options&&options.ignoreErrors)&&(er=null,is=!1),cb(er,is)})}function sync(path9,options){try{return core.sync(path9,options||{})}catch(er){if(options&&options.ignoreErrors||er.code==="EACCES")return!1;throw er}}}});var require_which=__commonJS({"../../node_modules/.pnpm/which@1.3.1/node_modules/which/which.js"(exports2,module2){module2.exports=which;which.sync=whichSync;var isWindows=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",path9=require("path"),COLON=isWindows?";":":",isexe=require_isexe();function getNotFoundError(cmd){var er=new Error("not found: "+cmd);return er.code="ENOENT",er}function getPathInfo(cmd,opt){var colon=opt.colon||COLON,pathEnv=opt.path||process.env.PATH||"",pathExt=[""];pathEnv=pathEnv.split(colon);var pathExtExe="";return isWindows&&(pathEnv.unshift(process.cwd()),pathExtExe=opt.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM",pathExt=pathExtExe.split(colon),cmd.indexOf(".")!==-1&&pathExt[0]!==""&&pathExt.unshift("")),(cmd.match(/\//)||isWindows&&cmd.match(/\\/))&&(pathEnv=[""]),{env:pathEnv,ext:pathExt,extExe:pathExtExe}}function which(cmd,opt,cb){typeof opt=="function"&&(cb=opt,opt={});var info=getPathInfo(cmd,opt),pathEnv=info.env,pathExt=info.ext,pathExtExe=info.extExe,found=[];(function F(i,l){if(i===l)return opt.all&&found.length?cb(null,found):cb(getNotFoundError(cmd));var pathPart=pathEnv[i];pathPart.charAt(0)==='"'&&pathPart.slice(-1)==='"'&&(pathPart=pathPart.slice(1,-1));var p=path9.join(pathPart,cmd);!pathPart&&/^\.[\\\/]/.test(cmd)&&(p=cmd.slice(0,2)+p),function E3(ii,ll){if(ii===ll)return F(i+1,l);var ext=pathExt[ii];isexe(p+ext,{pathExt:pathExtExe},function(er,is){if(!er&&is)if(opt.all)found.push(p+ext);else return cb(null,p+ext);return E3(ii+1,ll)})}(0,pathExt.length)})(0,pathEnv.length)}function whichSync(cmd,opt){opt=opt||{};for(var info=getPathInfo(cmd,opt),pathEnv=info.env,pathExt=info.ext,pathExtExe=info.extExe,found=[],i=0,l=pathEnv.length;i<l;i++){var pathPart=pathEnv[i];pathPart.charAt(0)==='"'&&pathPart.slice(-1)==='"'&&(pathPart=pathPart.slice(1,-1));var p=path9.join(pathPart,cmd);!pathPart&&/^\.[\\\/]/.test(cmd)&&(p=cmd.slice(0,2)+p);for(var j=0,ll=pathExt.length;j<ll;j++){var cur=p+pathExt[j],is;try{if(is=isexe.sync(cur,{pathExt:pathExtExe}),is)if(opt.all)found.push(cur);else return cur}catch{}}}if(opt.all&&found.length)return found;if(opt.nothrow)return null;throw getNotFoundError(cmd)}}});var require_path_key=__commonJS({"../../node_modules/.pnpm/path-key@2.0.1/node_modules/path-key/index.js"(exports2,module2){"use strict";module2.exports=opts=>{opts=opts||{};let env=opts.env||process.env;return(opts.platform||process.platform)!=="win32"?"PATH":Object.keys(env).find(x=>x.toUpperCase()==="PATH")||"Path"}}});var require_resolveCommand=__commonJS({"../../node_modules/.pnpm/cross-spawn@6.0.5/node_modules/cross-spawn/lib/util/resolveCommand.js"(exports2,module2){"use strict";var path9=require("path"),which=require_which(),pathKey=require_path_key()();function resolveCommandAttempt(parsed,withoutPathExt){let cwd=process.cwd(),hasCustomCwd=parsed.options.cwd!=null;if(hasCustomCwd)try{process.chdir(parsed.options.cwd)}catch{}let resolved;try{resolved=which.sync(parsed.command,{path:(parsed.options.env||process.env)[pathKey],pathExt:withoutPathExt?path9.delimiter:void 0})}catch{}finally{process.chdir(cwd)}return resolved&&(resolved=path9.resolve(hasCustomCwd?parsed.options.cwd:"",resolved)),resolved}function resolveCommand(parsed){return resolveCommandAttempt(parsed)||resolveCommandAttempt(parsed,!0)}module2.exports=resolveCommand}});var require_escape=__commonJS({"../../node_modules/.pnpm/cross-spawn@6.0.5/node_modules/cross-spawn/lib/util/escape.js"(exports2,module2){"use strict";var metaCharsRegExp=/([()\][%!^"`<>&|;, *?])/g;function escapeCommand(arg){return arg=arg.replace(metaCharsRegExp,"^$1"),arg}function escapeArgument(arg,doubleEscapeMetaChars){return arg=`${arg}`,arg=arg.replace(/(\\*)"/g,'$1$1\\"'),arg=arg.replace(/(\\*)$/,"$1$1"),arg=`"${arg}"`,arg=arg.replace(metaCharsRegExp,"^$1"),doubleEscapeMetaChars&&(arg=arg.replace(metaCharsRegExp,"^$1")),arg}module2.exports.command=escapeCommand;module2.exports.argument=escapeArgument}});var require_shebang_regex=__commonJS({"../../node_modules/.pnpm/shebang-regex@1.0.0/node_modules/shebang-regex/index.js"(exports2,module2){"use strict";module2.exports=/^#!.*/}});var require_shebang_command=__commonJS({"../../node_modules/.pnpm/shebang-command@1.2.0/node_modules/shebang-command/index.js"(exports2,module2){"use strict";var shebangRegex=require_shebang_regex();module2.exports=function(str){var match=str.match(shebangRegex);if(!match)return null;var arr=match[0].replace(/#! ?/,"").split(" "),bin=arr[0].split("/").pop(),arg=arr[1];return bin==="env"?arg:bin+(arg?" "+arg:"")}}});var require_readShebang=__commonJS({"../../node_modules/.pnpm/cross-spawn@6.0.5/node_modules/cross-spawn/lib/util/readShebang.js"(exports2,module2){"use strict";var fs14=require("fs"),shebangCommand=require_shebang_command();function readShebang(command){let buffer;Buffer.alloc?buffer=Buffer.alloc(150):(buffer=new Buffer(150),buffer.fill(0));let fd;try{fd=fs14.openSync(command,"r"),fs14.readSync(fd,buffer,0,150,0),fs14.closeSync(fd)}catch{}return shebangCommand(buffer.toString())}module2.exports=readShebang}});var require_semver=__commonJS({"../../node_modules/.pnpm/semver@5.7.2/node_modules/semver/semver.js"(exports2,module2){exports2=module2.exports=SemVer2;var debug2;typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?debug2=function(){var args=Array.prototype.slice.call(arguments,0);args.unshift("SEMVER"),console.log.apply(console,args)}:debug2=function(){};exports2.SEMVER_SPEC_VERSION="2.0.0";var MAX_LENGTH=256,MAX_SAFE_INTEGER=Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH=16,MAX_SAFE_BUILD_LENGTH=MAX_LENGTH-6,re=exports2.re=[],safeRe=exports2.safeRe=[],src=exports2.src=[],R=0,LETTERDASHNUMBER="[a-zA-Z0-9-]",safeRegexReplacements=[["\\s",1],["\\d",MAX_LENGTH],[LETTERDASHNUMBER,MAX_SAFE_BUILD_LENGTH]];function makeSafeRe(value){for(var i2=0;i2<safeRegexReplacements.length;i2++){var token=safeRegexReplacements[i2][0],max=safeRegexReplacements[i2][1];value=value.split(token+"*").join(token+"{0,"+max+"}").split(token+"+").join(token+"{1,"+max+"}")}return value}var NUMERICIDENTIFIER=R++;src[NUMERICIDENTIFIER]="0|[1-9]\\d*";var NUMERICIDENTIFIERLOOSE=R++;src[NUMERICIDENTIFIERLOOSE]="\\d+";var NONNUMERICIDENTIFIER=R++;src[NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+LETTERDASHNUMBER+"*";var MAINVERSION=R++;src[MAINVERSION]="("+src[NUMERICIDENTIFIER]+")\\.("+src[NUMERICIDENTIFIER]+")\\.("+src[NUMERICIDENTIFIER]+")";var MAINVERSIONLOOSE=R++;src[MAINVERSIONLOOSE]="("+src[NUMERICIDENTIFIERLOOSE]+")\\.("+src[NUMERICIDENTIFIERLOOSE]+")\\.("+src[NUMERICIDENTIFIERLOOSE]+")";var PRERELEASEIDENTIFIER=R++;src[PRERELEASEIDENTIFIER]="(?:"+src[NUMERICIDENTIFIER]+"|"+src[NONNUMERICIDENTIFIER]+")";var PRERELEASEIDENTIFIERLOOSE=R++;src[PRERELEASEIDENTIFIERLOOSE]="(?:"+src[NUMERICIDENTIFIERLOOSE]+"|"+src[NONNUMERICIDENTIFIER]+")";var PRERELEASE=R++;src[PRERELEASE]="(?:-("+src[PRERELEASEIDENTIFIER]+"(?:\\."+src[PRERELEASEIDENTIFIER]+")*))";var PRERELEASELOOSE=R++;src[PRERELEASELOOSE]="(?:-?("+src[PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+src[PRERELEASEIDENTIFIERLOOSE]+")*))";var BUILDIDENTIFIER=R++;src[BUILDIDENTIFIER]=LETTERDASHNUMBER+"+";var BUILD=R++;src[BUILD]="(?:\\+("+src[BUILDIDENTIFIER]+"(?:\\."+src[BUILDIDENTIFIER]+")*))";var FULL=R++,FULLPLAIN="v?"+src[MAINVERSION]+src[PRERELEASE]+"?"+src[BUILD]+"?";src[FULL]="^"+FULLPLAIN+"$";var LOOSEPLAIN="[v=\\s]*"+src[MAINVERSIONLOOSE]+src[PRERELEASELOOSE]+"?"+src[BUILD]+"?",LOOSE=R++;src[LOOSE]="^"+LOOSEPLAIN+"$";var GTLT=R++;src[GTLT]="((?:<|>)?=?)";var XRANGEIDENTIFIERLOOSE=R++;src[XRANGEIDENTIFIERLOOSE]=src[NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";var XRANGEIDENTIFIER=R++;src[XRANGEIDENTIFIER]=src[NUMERICIDENTIFIER]+"|x|X|\\*";var XRANGEPLAIN=R++;src[XRANGEPLAIN]="[v=\\s]*("+src[XRANGEIDENTIFIER]+")(?:\\.("+src[XRANGEIDENTIFIER]+")(?:\\.("+src[XRANGEIDENTIFIER]+")(?:"+src[PRERELEASE]+")?"+src[BUILD]+"?)?)?";var XRANGEPLAINLOOSE=R++;src[XRANGEPLAINLOOSE]="[v=\\s]*("+src[XRANGEIDENTIFIERLOOSE]+")(?:\\.("+src[XRANGEIDENTIFIERLOOSE]+")(?:\\.("+src[XRANGEIDENTIFIERLOOSE]+")(?:"+src[PRERELEASELOOSE]+")?"+src[BUILD]+"?)?)?";var XRANGE=R++;src[XRANGE]="^"+src[GTLT]+"\\s*"+src[XRANGEPLAIN]+"$";var XRANGELOOSE=R++;src[XRANGELOOSE]="^"+src[GTLT]+"\\s*"+src[XRANGEPLAINLOOSE]+"$";var COERCE=R++;src[COERCE]="(?:^|[^\\d])(\\d{1,"+MAX_SAFE_COMPONENT_LENGTH+"})(?:\\.(\\d{1,"+MAX_SAFE_COMPONENT_LENGTH+"}))?(?:\\.(\\d{1,"+MAX_SAFE_COMPONENT_LENGTH+"}))?(?:$|[^\\d])";var LONETILDE=R++;src[LONETILDE]="(?:~>?)";var TILDETRIM=R++;src[TILDETRIM]="(\\s*)"+src[LONETILDE]+"\\s+";re[TILDETRIM]=new RegExp(src[TILDETRIM],"g");safeRe[TILDETRIM]=new RegExp(makeSafeRe(src[TILDETRIM]),"g");var tildeTrimReplace="$1~",TILDE=R++;src[TILDE]="^"+src[LONETILDE]+src[XRANGEPLAIN]+"$";var TILDELOOSE=R++;src[TILDELOOSE]="^"+src[LONETILDE]+src[XRANGEPLAINLOOSE]+"$";var LONECARET=R++;src[LONECARET]="(?:\\^)";var CARETTRIM=R++;src[CARETTRIM]="(\\s*)"+src[LONECARET]+"\\s+";re[CARETTRIM]=new RegExp(src[CARETTRIM],"g");safeRe[CARETTRIM]=new RegExp(makeSafeRe(src[CARETTRIM]),"g");var caretTrimReplace="$1^",CARET=R++;src[CARET]="^"+src[LONECARET]+src[XRANGEPLAIN]+"$";var CARETLOOSE=R++;src[CARETLOOSE]="^"+src[LONECARET]+src[XRANGEPLAINLOOSE]+"$";var COMPARATORLOOSE=R++;src[COMPARATORLOOSE]="^"+src[GTLT]+"\\s*("+LOOSEPLAIN+")$|^$";var COMPARATOR=R++;src[COMPARATOR]="^"+src[GTLT]+"\\s*("+FULLPLAIN+")$|^$";var COMPARATORTRIM=R++;src[COMPARATORTRIM]="(\\s*)"+src[GTLT]+"\\s*("+LOOSEPLAIN+"|"+src[XRANGEPLAIN]+")";re[COMPARATORTRIM]=new RegExp(src[COMPARATORTRIM],"g");safeRe[COMPARATORTRIM]=new RegExp(makeSafeRe(src[COMPARATORTRIM]),"g");var comparatorTrimReplace="$1$2$3",HYPHENRANGE=R++;src[HYPHENRANGE]="^\\s*("+src[XRANGEPLAIN]+")\\s+-\\s+("+src[XRANGEPLAIN]+")\\s*$";var HYPHENRANGELOOSE=R++;src[HYPHENRANGELOOSE]="^\\s*("+src[XRANGEPLAINLOOSE]+")\\s+-\\s+("+src[XRANGEPLAINLOOSE]+")\\s*$";var STAR=R++;src[STAR]="(<|>)?=?\\s*\\*";for(i=0;i<R;i++)debug2(i,src[i]),re[i]||(re[i]=new RegExp(src[i]),safeRe[i]=new RegExp(makeSafeRe(src[i])));var i;exports2.parse=parse6;function parse6(version,options){if((!options||typeof options!="object")&&(options={loose:!!options,includePrerelease:!1}),version instanceof SemVer2)return version;if(typeof version!="string"||version.length>MAX_LENGTH)return null;var r=options.loose?safeRe[LOOSE]:safeRe[FULL];if(!r.test(version))return null;try{return new SemVer2(version,options)}catch{return null}}exports2.valid=valid;function valid(version,options){var v=parse6(version,options);return v?v.version:null}exports2.clean=clean;function clean(version,options){var s=parse6(version.trim().replace(/^[=v]+/,""),options);return s?s.version:null}exports2.SemVer=SemVer2;function SemVer2(version,options){if((!options||typeof options!="object")&&(options={loose:!!options,includePrerelease:!1}),version instanceof SemVer2){if(version.loose===options.loose)return version;version=version.version}else if(typeof version!="string")throw new TypeError("Invalid Version: "+version);if(version.length>MAX_LENGTH)throw new TypeError("version is longer than "+MAX_LENGTH+" characters");if(!(this instanceof SemVer2))return new SemVer2(version,options);debug2("SemVer",version,options),this.options=options,this.loose=!!options.loose;var m=version.trim().match(options.loose?safeRe[LOOSE]:safeRe[FULL]);if(!m)throw new TypeError("Invalid Version: "+version);if(this.raw=version,this.major=+m[1],this.minor=+m[2],this.patch=+m[3],this.major>MAX_SAFE_INTEGER||this.major<0)throw new TypeError("Invalid major version");if(this.minor>MAX_SAFE_INTEGER||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>MAX_SAFE_INTEGER||this.patch<0)throw new TypeError("Invalid patch version");m[4]?this.prerelease=m[4].split(".").map(function(id){if(/^[0-9]+$/.test(id)){var num=+id;if(num>=0&&num<MAX_SAFE_INTEGER)return num}return id}):this.prerelease=[],this.build=m[5]?m[5].split("."):[],this.format()}SemVer2.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version};SemVer2.prototype.toString=function(){return this.version};SemVer2.prototype.compare=function(other){return debug2("SemVer.compare",this.version,this.options,other),other instanceof SemVer2||(other=new SemVer2(other,this.options)),this.compareMain(other)||this.comparePre(other)};SemVer2.prototype.compareMain=function(other){return other instanceof SemVer2||(other=new SemVer2(other,this.options)),compareIdentifiers(this.major,other.major)||compareIdentifiers(this.minor,other.minor)||compareIdentifiers(this.patch,other.patch)};SemVer2.prototype.comparePre=function(other){if(other instanceof SemVer2||(other=new SemVer2(other,this.options)),this.prerelease.length&&!other.prerelease.length)return-1;if(!this.prerelease.length&&other.prerelease.length)return 1;if(!this.prerelease.length&&!other.prerelease.length)return 0;var i2=0;do{var a=this.prerelease[i2],b=other.prerelease[i2];if(debug2("prerelease compare",i2,a,b),a===void 0&&b===void 0)return 0;if(b===void 0)return 1;if(a===void 0)return-1;if(a===b)continue;return compareIdentifiers(a,b)}while(++i2)};SemVer2.prototype.inc=function(release,identifier){switch(release){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",identifier);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",identifier);break;case"prepatch":this.prerelease.length=0,this.inc("patch",identifier),this.inc("pre",identifier);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",identifier),this.inc("pre",identifier);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{for(var i2=this.prerelease.length;--i2>=0;)typeof this.prerelease[i2]=="number"&&(this.prerelease[i2]++,i2=-2);i2===-1&&this.prerelease.push(0)}identifier&&(this.prerelease[0]===identifier?isNaN(this.prerelease[1])&&(this.prerelease=[identifier,0]):this.prerelease=[identifier,0]);break;default:throw new Error("invalid increment argument: "+release)}return this.format(),this.raw=this.version,this};exports2.inc=inc;function inc(version,release,loose,identifier){typeof loose=="string"&&(identifier=loose,loose=void 0);try{return new SemVer2(version,loose).inc(release,identifier).version}catch{return null}}exports2.diff=diff;function diff(version1,version2){if(eq(version1,version2))return null;var v1=parse6(version1),v2=parse6(version2),prefix="";if(v1.prerelease.length||v2.prerelease.length){prefix="pre";var defaultResult="prerelease"}for(var key in v1)if((key==="major"||key==="minor"||key==="patch")&&v1[key]!==v2[key])return prefix+key;return defaultResult}exports2.compareIdentifiers=compareIdentifiers;var numeric=/^[0-9]+$/;function compareIdentifiers(a,b){var anum=numeric.test(a),bnum=numeric.test(b);return anum&&bnum&&(a=+a,b=+b),a===b?0:anum&&!bnum?-1:bnum&&!anum?1:a<b?-1:1}exports2.rcompareIdentifiers=rcompareIdentifiers;function rcompareIdentifiers(a,b){return compareIdentifiers(b,a)}exports2.major=major;function major(a,loose){return new SemVer2(a,loose).major}exports2.minor=minor;function minor(a,loose){return new SemVer2(a,loose).minor}exports2.patch=patch;function patch(a,loose){return new SemVer2(a,loose).patch}exports2.compare=compare;function compare(a,b,loose){return new SemVer2(a,loose).compare(new SemVer2(b,loose))}exports2.compareLoose=compareLoose;function compareLoose(a,b){return compare(a,b,!0)}exports2.rcompare=rcompare;function rcompare(a,b,loose){return compare(b,a,loose)}exports2.sort=sort;function sort(list,loose){return list.sort(function(a,b){return exports2.compare(a,b,loose)})}exports2.rsort=rsort;function rsort(list,loose){return list.sort(function(a,b){return exports2.rcompare(a,b,loose)})}exports2.gt=gt;function gt(a,b,loose){return compare(a,b,loose)>0}exports2.lt=lt;function lt(a,b,loose){return compare(a,b,loose)<0}exports2.eq=eq;function eq(a,b,loose){return compare(a,b,loose)===0}exports2.neq=neq;function neq(a,b,loose){return compare(a,b,loose)!==0}exports2.gte=gte2;function gte2(a,b,loose){return compare(a,b,loose)>=0}exports2.lte=lte;function lte(a,b,loose){return compare(a,b,loose)<=0}exports2.cmp=cmp;function cmp(a,op,b,loose){switch(op){case"===":return typeof a=="object"&&(a=a.version),typeof b=="object"&&(b=b.version),a===b;case"!==":return typeof a=="object"&&(a=a.version),typeof b=="object"&&(b=b.version),a!==b;case"":case"=":case"==":return eq(a,b,loose);case"!=":return neq(a,b,loose);case">":return gt(a,b,loose);case">=":return gte2(a,b,loose);case"<":return lt(a,b,loose);case"<=":return lte(a,b,loose);default:throw new TypeError("Invalid operator: "+op)}}exports2.Comparator=Comparator;function Comparator(comp,options){if((!options||typeof options!="object")&&(options={loose:!!options,includePrerelease:!1}),comp instanceof Comparator){if(comp.loose===!!options.loose)return comp;comp=comp.value}if(!(this instanceof Comparator))return new Comparator(comp,options);comp=comp.trim().split(/\s+/).join(" "),debug2("comparator",comp,options),this.options=options,this.loose=!!options.loose,this.parse(comp),this.semver===ANY?this.value="":this.value=this.operator+this.semver.version,debug2("comp",this)}var ANY={};Comparator.prototype.parse=function(comp){var r=this.options.loose?safeRe[COMPARATORLOOSE]:safeRe[COMPARATOR],m=comp.match(r);if(!m)throw new TypeError("Invalid comparator: "+comp);this.operator=m[1],this.operator==="="&&(this.operator=""),m[2]?this.semver=new SemVer2(m[2],this.options.loose):this.semver=ANY};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(version){return debug2("Comparator.test",version,this.options.loose),this.semver===ANY?!0:(typeof version=="string"&&(version=new SemVer2(version,this.options)),cmp(version,this.operator,this.semver,this.options))};Comparator.prototype.intersects=function(comp,options){if(!(comp instanceof Comparator))throw new TypeError("a Comparator is required");(!options||typeof options!="object")&&(options={loose:!!options,includePrerelease:!1});var rangeTmp;if(this.operator==="")return rangeTmp=new Range(comp.value,options),satisfies2(this.value,rangeTmp,options);if(comp.operator==="")return rangeTmp=new Range(this.value,options),satisfies2(comp.semver,rangeTmp,options);var sameDirectionIncreasing=(this.operator===">="||this.operator===">")&&(comp.operator===">="||comp.operator===">"),sameDirectionDecreasing=(this.operator==="<="||this.operator==="<")&&(comp.operator==="<="||comp.operator==="<"),sameSemVer=this.semver.version===comp.semver.version,differentDirectionsInclusive=(this.operator===">="||this.operator==="<=")&&(comp.operator===">="||comp.operator==="<="),oppositeDirectionsLessThan=cmp(this.semver,"<",comp.semver,options)&&(this.operator===">="||this.operator===">")&&(comp.operator==="<="||comp.operator==="<"),oppositeDirectionsGreaterThan=cmp(this.semver,">",comp.semver,options)&&(this.operator==="<="||this.operator==="<")&&(comp.operator===">="||comp.operator===">");return sameDirectionIncreasing||sameDirectionDecreasing||sameSemVer&&differentDirectionsInclusive||oppositeDirectionsLessThan||oppositeDirectionsGreaterThan};exports2.Range=Range;function Range(range,options){if((!options||typeof options!="object")&&(options={loose:!!options,includePrerelease:!1}),range instanceof Range)return range.loose===!!options.loose&&range.includePrerelease===!!options.includePrerelease?range:new Range(range.raw,options);if(range instanceof Comparator)return new Range(range.value,options);if(!(this instanceof Range))return new Range(range,options);if(this.options=options,this.loose=!!options.loose,this.includePrerelease=!!options.includePrerelease,this.raw=range.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(range2){return this.parseRange(range2.trim())},this).filter(function(c){return c.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format()}Range.prototype.format=function(){return this.range=this.set.map(function(comps){return comps.join(" ").trim()}).join("||").trim(),this.range};Range.prototype.toString=function(){return this.range};Range.prototype.parseRange=function(range){var loose=this.options.loose,hr=loose?safeRe[HYPHENRANGELOOSE]:safeRe[HYPHENRANGE];range=range.replace(hr,hyphenReplace),debug2("hyphen replace",range),range=range.replace(safeRe[COMPARATORTRIM],comparatorTrimReplace),debug2("comparator trim",range,safeRe[COMPARATORTRIM]),range=range.replace(safeRe[TILDETRIM],tildeTrimReplace),range=range.replace(safeRe[CARETTRIM],caretTrimReplace);var compRe=loose?safeRe[COMPARATORLOOSE]:safeRe[COMPARATOR],set=range.split(" ").map(function(comp){return parseComparator(comp,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(set=set.filter(function(comp){return!!comp.match(compRe)})),set=set.map(function(comp){return new Comparator(comp,this.options)},this),set};Range.prototype.intersects=function(range,options){if(!(range instanceof Range))throw new TypeError("a Range is required");return this.set.some(function(thisComparators){return thisComparators.every(function(thisComparator){return range.set.some(function(rangeComparators){return rangeComparators.every(function(rangeComparator){return thisComparator.intersects(rangeComparator,options)})})})})};exports2.toComparators=toComparators;function toComparators(range,options){return new Range(range,options).set.map(function(comp){return comp.map(function(c){return c.value}).join(" ").trim().split(" ")})}function parseComparator(comp,options){return debug2("comp",comp,options),comp=replaceCarets(comp,options),debug2("caret",comp),comp=replaceTildes(comp,options),debug2("tildes",comp),comp=replaceXRanges(comp,options),debug2("xrange",comp),comp=replaceStars(comp,options),debug2("stars",comp),comp}function isX(id){return!id||id.toLowerCase()==="x"||id==="*"}function replaceTildes(comp,options){return comp.trim().split(/\s+/).map(function(comp2){return replaceTilde(comp2,options)}).join(" ")}function replaceTilde(comp,options){var r=options.loose?safeRe[TILDELOOSE]:safeRe[TILDE];return comp.replace(r,function(_,M,m,p,pr){debug2("tilde",comp,_,M,m,p,pr);var ret;return isX(M)?ret="":isX(m)?ret=">="+M+".0.0 <"+(+M+1)+".0.0":isX(p)?ret=">="+M+"."+m+".0 <"+M+"."+(+m+1)+".0":pr?(debug2("replaceTilde pr",pr),ret=">="+M+"."+m+"."+p+"-"+pr+" <"+M+"."+(+m+1)+".0"):ret=">="+M+"."+m+"."+p+" <"+M+"."+(+m+1)+".0",debug2("tilde return",ret),ret})}function replaceCarets(comp,options){return comp.trim().split(/\s+/).map(function(comp2){return replaceCaret(comp2,options)}).join(" ")}function replaceCaret(comp,options){debug2("caret",comp,options);var r=options.loose?safeRe[CARETLOOSE]:safeRe[CARET];return comp.replace(r,function(_,M,m,p,pr){debug2("caret",comp,_,M,m,p,pr);var ret;return isX(M)?ret="":isX(m)?ret=">="+M+".0.0 <"+(+M+1)+".0.0":isX(p)?M==="0"?ret=">="+M+"."+m+".0 <"+M+"."+(+m+1)+".0":ret=">="+M+"."+m+".0 <"+(+M+1)+".0.0":pr?(debug2("replaceCaret pr",pr),M==="0"?m==="0"?ret=">="+M+"."+m+"."+p+"-"+pr+" <"+M+"."+m+"."+(+p+1):ret=">="+M+"."+m+"."+p+"-"+pr+" <"+M+"."+(+m+1)+".0":ret=">="+M+"."+m+"."+p+"-"+pr+" <"+(+M+1)+".0.0"):(debug2("no pr"),M==="0"?m==="0"?ret=">="+M+"."+m+"."+p+" <"+M+"."+m+"."+(+p+1):ret=">="+M+"."+m+"."+p+" <"+M+"."+(+m+1)+".0":ret=">="+M+"."+m+"."+p+" <"+(+M+1)+".0.0"),debug2("caret return",ret),ret})}function replaceXRanges(comp,options){return debug2("replaceXRanges",comp,options),comp.split(/\s+/).map(function(comp2){return replaceXRange(comp2,options)}).join(" ")}function replaceXRange(comp,options){comp=comp.trim();var r=options.loose?safeRe[XRANGELOOSE]:safeRe[XRANGE];return comp.replace(r,function(ret,gtlt,M,m,p,pr){debug2("xRange",comp,ret,gtlt,M,m,p,pr);var xM=isX(M),xm=xM||isX(m),xp=xm||isX(p),anyX=xp;return gtlt==="="&&anyX&&(gtlt=""),xM?gtlt===">"||gtlt==="<"?ret="<0.0.0":ret="*":gtlt&&anyX?(xm&&(m=0),p=0,gtlt===">"?(gtlt=">=",xm?(M=+M+1,m=0,p=0):(m=+m+1,p=0)):gtlt==="<="&&(gtlt="<",xm?M=+M+1:m=+m+1),ret=gtlt+M+"."+m+"."+p):xm?ret=">="+M+".0.0 <"+(+M+1)+".0.0":xp&&(ret=">="+M+"."+m+".0 <"+M+"."+(+m+1)+".0"),debug2("xRange return",ret),ret})}function replaceStars(comp,options){return debug2("replaceStars",comp,options),comp.trim().replace(safeRe[STAR],"")}function hyphenReplace($0,from,fM,fm,fp,fpr,fb,to,tM,tm,tp,tpr,tb){return isX(fM)?from="":isX(fm)?from=">="+fM+".0.0":isX(fp)?from=">="+fM+"."+fm+".0":from=">="+from,isX(tM)?to="":isX(tm)?to="<"+(+tM+1)+".0.0":isX(tp)?to="<"+tM+"."+(+tm+1)+".0":tpr?to="<="+tM+"."+tm+"."+tp+"-"+tpr:to="<="+to,(from+" "+to).trim()}Range.prototype.test=function(version){if(!version)return!1;typeof version=="string"&&(version=new SemVer2(version,this.options));for(var i2=0;i2<this.set.length;i2++)if(testSet(this.set[i2],version,this.options))return!0;return!1};function testSet(set,version,options){for(var i2=0;i2<set.length;i2++)if(!set[i2].test(version))return!1;if(version.prerelease.length&&!options.includePrerelease){for(i2=0;i2<set.length;i2++)if(debug2(set[i2].semver),set[i2].semver!==ANY&&set[i2].semver.prerelease.length>0){var allowed=set[i2].semver;if(allowed.major===version.major&&allowed.minor===version.minor&&allowed.patch===version.patch)return!0}return!1}return!0}exports2.satisfies=satisfies2;function satisfies2(version,range,options){try{range=new Range(range,options)}catch{return!1}return range.test(version)}exports2.maxSatisfying=maxSatisfying;function maxSatisfying(versions,range,options){var max=null,maxSV=null;try{var rangeObj=new Range(range,options)}catch{return null}return versions.forEach(function(v){rangeObj.test(v)&&(!max||maxSV.compare(v)===-1)&&(max=v,maxSV=new SemVer2(max,options))}),max}exports2.minSatisfying=minSatisfying;function minSatisfying(versions,range,options){var min=null,minSV=null;try{var rangeObj=new Range(range,options)}catch{return null}return versions.forEach(function(v){rangeObj.test(v)&&(!min||minSV.compare(v)===1)&&(min=v,minSV=new SemVer2(min,options))}),min}exports2.minVersion=minVersion2;function minVersion2(range,loose){range=new Range(range,loose);var minver=new SemVer2("0.0.0");if(range.test(minver)||(minver=new SemVer2("0.0.0-0"),range.test(minver)))return minver;minver=null;for(var i2=0;i2<range.set.length;++i2){var comparators=range.set[i2];comparators.forEach(function(comparator){var compver=new SemVer2(comparator.semver.version);switch(comparator.operator){case">":compver.prerelease.length===0?compver.patch++:compver.prerelease.push(0),compver.raw=compver.format();case"":case">=":(!minver||gt(minver,compver))&&(minver=compver);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+comparator.operator)}})}return minver&&range.test(minver)?minver:null}exports2.validRange=validRange3;function validRange3(range,options){try{return new Range(range,options).range||"*"}catch{return null}}exports2.ltr=ltr;function ltr(version,range,options){return outside(version,range,"<",options)}exports2.gtr=gtr;function gtr(version,range,options){return outside(version,range,">",options)}exports2.outside=outside;function outside(version,range,hilo,options){version=new SemVer2(version,options),range=new Range(range,options);var gtfn,ltefn,ltfn,comp,ecomp;switch(hilo){case">":gtfn=gt,ltefn=lte,ltfn=lt,comp=">",ecomp=">=";break;case"<":gtfn=lt,ltefn=gte2,ltfn=gt,comp="<",ecomp="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies2(version,range,options))return!1;for(var i2=0;i2<range.set.length;++i2){var comparators=range.set[i2],high=null,low=null;if(comparators.forEach(function(comparator){comparator.semver===ANY&&(comparator=new Comparator(">=0.0.0")),high=high||comparator,low=low||comparator,gtfn(comparator.semver,high.semver,options)?high=comparator:ltfn(comparator.semver,low.semver,options)&&(low=comparator)}),high.operator===comp||high.operator===ecomp||(!low.operator||low.operator===comp)&<efn(version,low.semver))return!1;if(low.operator===ecomp&<fn(version,low.semver))return!1}return!0}exports2.prerelease=prerelease;function prerelease(version,options){var parsed=parse6(version,options);return parsed&&parsed.prerelease.length?parsed.prerelease:null}exports2.intersects=intersects3;function intersects3(r1,r2,options){return r1=new Range(r1,options),r2=new Range(r2,options),r1.intersects(r2)}exports2.coerce=coerce2;function coerce2(version){if(version instanceof SemVer2)return version;if(typeof version!="string")return null;var match=version.match(safeRe[COERCE]);return match==null?null:parse6(match[1]+"."+(match[2]||"0")+"."+(match[3]||"0"))}}});var require_parse=__commonJS({"../../node_modules/.pnpm/cross-spawn@6.0.5/node_modules/cross-spawn/lib/parse.js"(exports2,module2){"use strict";var path9=require("path"),niceTry=require_src(),resolveCommand=require_resolveCommand(),escape=require_escape(),readShebang=require_readShebang(),semver=require_semver(),isWin2=process.platform==="win32",isExecutableRegExp=/\.(?:com|exe)$/i,isCmdShimRegExp=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i,supportsShellOption=niceTry(()=>semver.satisfies(process.version,"^4.8.0 || ^5.7.0 || >= 6.0.0",!0))||!1;function detectShebang(parsed){parsed.file=resolveCommand(parsed);let shebang=parsed.file&&readShebang(parsed.file);return shebang?(parsed.args.unshift(parsed.file),parsed.command=shebang,resolveCommand(parsed)):parsed.file}function parseNonShell(parsed){if(!isWin2)return parsed;let commandFile=detectShebang(parsed),needsShell=!isExecutableRegExp.test(commandFile);if(parsed.options.forceShell||needsShell){let needsDoubleEscapeMetaChars=isCmdShimRegExp.test(commandFile);parsed.command=path9.normalize(parsed.command),parsed.command=escape.command(parsed.command),parsed.args=parsed.args.map(arg=>escape.argument(arg,needsDoubleEscapeMetaChars));let shellCommand=[parsed.command].concat(parsed.args).join(" ");parsed.args=["/d","/s","/c",`"${shellCommand}"`],parsed.command=process.env.comspec||"cmd.exe",parsed.options.windowsVerbatimArguments=!0}return parsed}function parseShell(parsed){if(supportsShellOption)return parsed;let shellCommand=[parsed.command].concat(parsed.args).join(" ");return isWin2?(parsed.command=typeof parsed.options.shell=="string"?parsed.options.shell:process.env.comspec||"cmd.exe",parsed.args=["/d","/s","/c",`"${shellCommand}"`],parsed.options.windowsVerbatimArguments=!0):(typeof parsed.options.shell=="string"?parsed.command=parsed.options.shell:process.platform==="android"?parsed.command="/system/bin/sh":parsed.command="/bin/sh",parsed.args=["-c",shellCommand]),parsed}function parse6(command,args,options){args&&!Array.isArray(args)&&(options=args,args=null),args=args?args.slice(0):[],options=Object.assign({},options);let parsed={command,args,options,file:void 0,original:{command,args}};return options.shell?parseShell(parsed):parseNonShell(parsed)}module2.exports=parse6}});var require_enoent=__commonJS({"../../node_modules/.pnpm/cross-spawn@6.0.5/node_modules/cross-spawn/lib/enoent.js"(exports2,module2){"use strict";var isWin2=process.platform==="win32";function notFoundError(original,syscall){return Object.assign(new Error(`${syscall} ${original.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${syscall} ${original.command}`,path:original.command,spawnargs:original.args})}function hookChildProcess(cp,parsed){if(!isWin2)return;let originalEmit=cp.emit;cp.emit=function(name,arg1){if(name==="exit"){let err=verifyENOENT(arg1,parsed,"spawn");if(err)return originalEmit.call(cp,"error",err)}return originalEmit.apply(cp,arguments)}}function verifyENOENT(status,parsed){return isWin2&&status===1&&!parsed.file?notFoundError(parsed.original,"spawn"):null}function verifyENOENTSync(status,parsed){return isWin2&&status===1&&!parsed.file?notFoundError(parsed.original,"spawnSync"):null}module2.exports={hookChildProcess,verifyENOENT,verifyENOENTSync,notFoundError}}});var require_cross_spawn=__commonJS({"../../node_modules/.pnpm/cross-spawn@6.0.5/node_modules/cross-spawn/index.js"(exports2,module2){"use strict";var cp=require("child_process"),parse6=require_parse(),enoent=require_enoent();function spawn3(command,args,options){let parsed=parse6(command,args,options),spawned=cp.spawn(parsed.command,parsed.args,parsed.options);return enoent.hookChildProcess(spawned,parsed),spawned}function spawnSync(command,args,options){let parsed=parse6(command,args,options),result=cp.spawnSync(parsed.command,parsed.args,parsed.options);return result.error=result.error||enoent.verifyENOENTSync(result.status,parsed),result}module2.exports=spawn3;module2.exports.spawn=spawn3;module2.exports.sync=spawnSync;module2.exports._parse=parse6;module2.exports._enoent=enoent}});var require_semver2=__commonJS({"../../node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js"(exports2,module2){exports2=module2.exports=SemVer2;var debug2;typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?debug2=function(){var args=Array.prototype.slice.call(arguments,0);args.unshift("SEMVER"),console.log.apply(console,args)}:debug2=function(){};exports2.SEMVER_SPEC_VERSION="2.0.0";var MAX_LENGTH=256,MAX_SAFE_INTEGER=Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH=16,MAX_SAFE_BUILD_LENGTH=MAX_LENGTH-6,re=exports2.re=[],safeRe=exports2.safeRe=[],src=exports2.src=[],t=exports2.tokens={},R=0;function tok(n){t[n]=R++}var LETTERDASHNUMBER="[a-zA-Z0-9-]",safeRegexReplacements=[["\\s",1],["\\d",MAX_LENGTH],[LETTERDASHNUMBER,MAX_SAFE_BUILD_LENGTH]];function makeSafeRe(value){for(var i2=0;i2<safeRegexReplacements.length;i2++){var token=safeRegexReplacements[i2][0],max=safeRegexReplacements[i2][1];value=value.split(token+"*").join(token+"{0,"+max+"}").split(token+"+").join(token+"{1,"+max+"}")}return value}tok("NUMERICIDENTIFIER");src[t.NUMERICIDENTIFIER]="0|[1-9]\\d*";tok("NUMERICIDENTIFIERLOOSE");src[t.NUMERICIDENTIFIERLOOSE]="\\d+";tok("NONNUMERICIDENTIFIER");src[t.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+LETTERDASHNUMBER+"*";tok("MAINVERSION");src[t.MAINVERSION]="("+src[t.NUMERICIDENTIFIER]+")\\.("+src[t.NUMERICIDENTIFIER]+")\\.("+src[t.NUMERICIDENTIFIER]+")";tok("MAINVERSIONLOOSE");src[t.MAINVERSIONLOOSE]="("+src[t.NUMERICIDENTIFIERLOOSE]+")\\.("+src[t.NUMERICIDENTIFIERLOOSE]+")\\.("+src[t.NUMERICIDENTIFIERLOOSE]+")";tok("PRERELEASEIDENTIFIER");src[t.PRERELEASEIDENTIFIER]="(?:"+src[t.NUMERICIDENTIFIER]+"|"+src[t.NONNUMERICIDENTIFIER]+")";tok("PRERELEASEIDENTIFIERLOOSE");src[t.PRERELEASEIDENTIFIERLOOSE]="(?:"+src[t.NUMERICIDENTIFIERLOOSE]+"|"+src[t.NONNUMERICIDENTIFIER]+")";tok("PRERELEASE");src[t.PRERELEASE]="(?:-("+src[t.PRERELEASEIDENTIFIER]+"(?:\\."+src[t.PRERELEASEIDENTIFIER]+")*))";tok("PRERELEASELOOSE");src[t.PRERELEASELOOSE]="(?:-?("+src[t.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+src[t.PRERELEASEIDENTIFIERLOOSE]+")*))";tok("BUILDIDENTIFIER");src[t.BUILDIDENTIFIER]=LETTERDASHNUMBER+"+";tok("BUILD");src[t.BUILD]="(?:\\+("+src[t.BUILDIDENTIFIER]+"(?:\\."+src[t.BUILDIDENTIFIER]+")*))";tok("FULL");tok("FULLPLAIN");src[t.FULLPLAIN]="v?"+src[t.MAINVERSION]+src[t.PRERELEASE]+"?"+src[t.BUILD]+"?";src[t.FULL]="^"+src[t.FULLPLAIN]+"$";tok("LOOSEPLAIN");src[t.LOOSEPLAIN]="[v=\\s]*"+src[t.MAINVERSIONLOOSE]+src[t.PRERELEASELOOSE]+"?"+src[t.BUILD]+"?";tok("LOOSE");src[t.LOOSE]="^"+src[t.LOOSEPLAIN]+"$";tok("GTLT");src[t.GTLT]="((?:<|>)?=?)";tok("XRANGEIDENTIFIERLOOSE");src[t.XRANGEIDENTIFIERLOOSE]=src[t.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";tok("XRANGEIDENTIFIER");src[t.XRANGEIDENTIFIER]=src[t.NUMERICIDENTIFIER]+"|x|X|\\*";tok("XRANGEPLAIN");src[t.XRANGEPLAIN]="[v=\\s]*("+src[t.XRANGEIDENTIFIER]+")(?:\\.("+src[t.XRANGEIDENTIFIER]+")(?:\\.("+src[t.XRANGEIDENTIFIER]+")(?:"+src[t.PRERELEASE]+")?"+src[t.BUILD]+"?)?)?";tok("XRANGEPLAINLOOSE");src[t.XRANGEPLAINLOOSE]="[v=\\s]*("+src[t.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+src[t.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+src[t.XRANGEIDENTIFIERLOOSE]+")(?:"+src[t.PRERELEASELOOSE]+")?"+src[t.BUILD]+"?)?)?";tok("XRANGE");src[t.XRANGE]="^"+src[t.GTLT]+"\\s*"+src[t.XRANGEPLAIN]+"$";tok("XRANGELOOSE");src[t.XRANGELOOSE]="^"+src[t.GTLT]+"\\s*"+src[t.XRANGEPLAINLOOSE]+"$";tok("COERCE");src[t.COERCE]="(^|[^\\d])(\\d{1,"+MAX_SAFE_COMPONENT_LENGTH+"})(?:\\.(\\d{1,"+MAX_SAFE_COMPONENT_LENGTH+"}))?(?:\\.(\\d{1,"+MAX_SAFE_COMPONENT_LENGTH+"}))?(?:$|[^\\d])";tok("COERCERTL");re[t.COERCERTL]=new RegExp(src[t.COERCE],"g");safeRe[t.COERCERTL]=new RegExp(makeSafeRe(src[t.COERCE]),"g");tok("LONETILDE");src[t.LONETILDE]="(?:~>?)";tok("TILDETRIM");src[t.TILDETRIM]="(\\s*)"+src[t.LONETILDE]+"\\s+";re[t.TILDETRIM]=new RegExp(src[t.TILDETRIM],"g");safeRe[t.TILDETRIM]=new RegExp(makeSafeRe(src[t.TILDETRIM]),"g");var tildeTrimReplace="$1~";tok("TILDE");src[t.TILDE]="^"+src[t.LONETILDE]+src[t.XRANGEPLAIN]+"$";tok("TILDELOOSE");src[t.TILDELOOSE]="^"+src[t.LONETILDE]+src[t.XRANGEPLAINLOOSE]+"$";tok("LONECARET");src[t.LONECARET]="(?:\\^)";tok("CARETTRIM");src[t.CARETTRIM]="(\\s*)"+src[t.LONECARET]+"\\s+";re[t.CARETTRIM]=new RegExp(src[t.CARETTRIM],"g");safeRe[t.CARETTRIM]=new RegExp(makeSafeRe(src[t.CARETTRIM]),"g");var caretTrimReplace="$1^";tok("CARET");src[t.CARET]="^"+src[t.LONECARET]+src[t.XRANGEPLAIN]+"$";tok("CARETLOOSE");src[t.CARETLOOSE]="^"+src[t.LONECARET]+src[t.XRANGEPLAINLOOSE]+"$";tok("COMPARATORLOOSE");src[t.COMPARATORLOOSE]="^"+src[t.GTLT]+"\\s*("+src[t.LOOSEPLAIN]+")$|^$";tok("COMPARATOR");src[t.COMPARATOR]="^"+src[t.GTLT]+"\\s*("+src[t.FULLPLAIN]+")$|^$";tok("COMPARATORTRIM");src[t.COMPARATORTRIM]="(\\s*)"+src[t.GTLT]+"\\s*("+src[t.LOOSEPLAIN]+"|"+src[t.XRANGEPLAIN]+")";re[t.COMPARATORTRIM]=new RegExp(src[t.COMPARATORTRIM],"g");safeRe[t.COMPARATORTRIM]=new RegExp(makeSafeRe(src[t.COMPARATORTRIM]),"g");var comparatorTrimReplace="$1$2$3";tok("HYPHENRANGE");src[t.HYPHENRANGE]="^\\s*("+src[t.XRANGEPLAIN]+")\\s+-\\s+("+src[t.XRANGEPLAIN]+")\\s*$";tok("HYPHENRANGELOOSE");src[t.HYPHENRANGELOOSE]="^\\s*("+src[t.XRANGEPLAINLOOSE]+")\\s+-\\s+("+src[t.XRANGEPLAINLOOSE]+")\\s*$";tok("STAR");src[t.STAR]="(<|>)?=?\\s*\\*";for(i=0;i<R;i++)debug2(i,src[i]),re[i]||(re[i]=new RegExp(src[i]),safeRe[i]=new RegExp(makeSafeRe(src[i])));var i;exports2.parse=parse6;function parse6(version,options){if((!options||typeof options!="object")&&(options={loose:!!options,includePrerelease:!1}),version instanceof SemVer2)return version;if(typeof version!="string"||version.length>MAX_LENGTH)return null;var r=options.loose?safeRe[t.LOOSE]:safeRe[t.FULL];if(!r.test(version))return null;try{return new SemVer2(version,options)}catch{return null}}exports2.valid=valid;function valid(version,options){var v=parse6(version,options);return v?v.version:null}exports2.clean=clean;function clean(version,options){var s=parse6(version.trim().replace(/^[=v]+/,""),options);return s?s.version:null}exports2.SemVer=SemVer2;function SemVer2(version,options){if((!options||typeof options!="object")&&(options={loose:!!options,includePrerelease:!1}),version instanceof SemVer2){if(version.loose===options.loose)return version;version=version.version}else if(typeof version!="string")throw new TypeError("Invalid Version: "+version);if(version.length>MAX_LENGTH)throw new TypeError("version is longer than "+MAX_LENGTH+" characters");if(!(this instanceof SemVer2))return new SemVer2(version,options);debug2("SemVer",version,options),this.options=options,this.loose=!!options.loose;var m=version.trim().match(options.loose?safeRe[t.LOOSE]:safeRe[t.FULL]);if(!m)throw new TypeError("Invalid Version: "+version);if(this.raw=version,this.major=+m[1],this.minor=+m[2],this.patch=+m[3],this.major>MAX_SAFE_INTEGER||this.major<0)throw new TypeError("Invalid major version");if(this.minor>MAX_SAFE_INTEGER||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>MAX_SAFE_INTEGER||this.patch<0)throw new TypeError("Invalid patch version");m[4]?this.prerelease=m[4].split(".").map(function(id){if(/^[0-9]+$/.test(id)){var num=+id;if(num>=0&&num<MAX_SAFE_INTEGER)return num}return id}):this.prerelease=[],this.build=m[5]?m[5].split("."):[],this.format()}SemVer2.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version};SemVer2.prototype.toString=function(){return this.version};SemVer2.prototype.compare=function(other){return debug2("SemVer.compare",this.version,this.options,other),other instanceof SemVer2||(other=new SemVer2(other,this.options)),this.compareMain(other)||this.comparePre(other)};SemVer2.prototype.compareMain=function(other){return other instanceof SemVer2||(other=new SemVer2(other,this.options)),compareIdentifiers(this.major,other.major)||compareIdentifiers(this.minor,other.minor)||compareIdentifiers(this.patch,other.patch)};SemVer2.prototype.comparePre=function(other){if(other instanceof SemVer2||(other=new SemVer2(other,this.options)),this.prerelease.length&&!other.prerelease.length)return-1;if(!this.prerelease.length&&other.prerelease.length)return 1;if(!this.prerelease.length&&!other.prerelease.length)return 0;var i2=0;do{var a=this.prerelease[i2],b=other.prerelease[i2];if(debug2("prerelease compare",i2,a,b),a===void 0&&b===void 0)return 0;if(b===void 0)return 1;if(a===void 0)return-1;if(a===b)continue;return compareIdentifiers(a,b)}while(++i2)};SemVer2.prototype.compareBuild=function(other){other instanceof SemVer2||(other=new SemVer2(other,this.options));var i2=0;do{var a=this.build[i2],b=other.build[i2];if(debug2("prerelease compare",i2,a,b),a===void 0&&b===void 0)return 0;if(b===void 0)return 1;if(a===void 0)return-1;if(a===b)continue;return compareIdentifiers(a,b)}while(++i2)};SemVer2.prototype.inc=function(release,identifier){switch(release){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",identifier);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",identifier);break;case"prepatch":this.prerelease.length=0,this.inc("patch",identifier),this.inc("pre",identifier);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",identifier),this.inc("pre",identifier);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{for(var i2=this.prerelease.length;--i2>=0;)typeof this.prerelease[i2]=="number"&&(this.prerelease[i2]++,i2=-2);i2===-1&&this.prerelease.push(0)}identifier&&(this.prerelease[0]===identifier?isNaN(this.prerelease[1])&&(this.prerelease=[identifier,0]):this.prerelease=[identifier,0]);break;default:throw new Error("invalid increment argument: "+release)}return this.format(),this.raw=this.version,this};exports2.inc=inc;function inc(version,release,loose,identifier){typeof loose=="string"&&(identifier=loose,loose=void 0);try{return new SemVer2(version,loose).inc(release,identifier).version}catch{return null}}exports2.diff=diff;function diff(version1,version2){if(eq(version1,version2))return null;var v1=parse6(version1),v2=parse6(version2),prefix="";if(v1.prerelease.length||v2.prerelease.length){prefix="pre";var defaultResult="prerelease"}for(var key in v1)if((key==="major"||key==="minor"||key==="patch")&&v1[key]!==v2[key])return prefix+key;return defaultResult}exports2.compareIdentifiers=compareIdentifiers;var numeric=/^[0-9]+$/;function compareIdentifiers(a,b){var anum=numeric.test(a),bnum=numeric.test(b);return anum&&bnum&&(a=+a,b=+b),a===b?0:anum&&!bnum?-1:bnum&&!anum?1:a<b?-1:1}exports2.rcompareIdentifiers=rcompareIdentifiers;function rcompareIdentifiers(a,b){return compareIdentifiers(b,a)}exports2.major=major;function major(a,loose){return new SemVer2(a,loose).major}exports2.minor=minor;function minor(a,loose){return new SemVer2(a,loose).minor}exports2.patch=patch;function patch(a,loose){return new SemVer2(a,loose).patch}exports2.compare=compare;function compare(a,b,loose){return new SemVer2(a,loose).compare(new SemVer2(b,loose))}exports2.compareLoose=compareLoose;function compareLoose(a,b){return compare(a,b,!0)}exports2.compareBuild=compareBuild;function compareBuild(a,b,loose){var versionA=new SemVer2(a,loose),versionB=new SemVer2(b,loose);return versionA.compare(versionB)||versionA.compareBuild(versionB)}exports2.rcompare=rcompare;function rcompare(a,b,loose){return compare(b,a,loose)}exports2.sort=sort;function sort(list,loose){return list.sort(function(a,b){return exports2.compareBuild(a,b,loose)})}exports2.rsort=rsort;function rsort(list,loose){return list.sort(function(a,b){return exports2.compareBuild(b,a,loose)})}exports2.gt=gt;function gt(a,b,loose){return compare(a,b,loose)>0}exports2.lt=lt;function lt(a,b,loose){return compare(a,b,loose)<0}exports2.eq=eq;function eq(a,b,loose){return compare(a,b,loose)===0}exports2.neq=neq;function neq(a,b,loose){return compare(a,b,loose)!==0}exports2.gte=gte2;function gte2(a,b,loose){return compare(a,b,loose)>=0}exports2.lte=lte;function lte(a,b,loose){return compare(a,b,loose)<=0}exports2.cmp=cmp;function cmp(a,op,b,loose){switch(op){case"===":return typeof a=="object"&&(a=a.version),typeof b=="object"&&(b=b.version),a===b;case"!==":return typeof a=="object"&&(a=a.version),typeof b=="object"&&(b=b.version),a!==b;case"":case"=":case"==":return eq(a,b,loose);case"!=":return neq(a,b,loose);case">":return gt(a,b,loose);case">=":return gte2(a,b,loose);case"<":return lt(a,b,loose);case"<=":return lte(a,b,loose);default:throw new TypeError("Invalid operator: "+op)}}exports2.Comparator=Comparator;function Comparator(comp,options){if((!options||typeof options!="object")&&(options={loose:!!options,includePrerelease:!1}),comp instanceof Comparator){if(comp.loose===!!options.loose)return comp;comp=comp.value}if(!(this instanceof Comparator))return new Comparator(comp,options);comp=comp.trim().split(/\s+/).join(" "),debug2("comparator",comp,options),this.options=options,this.loose=!!options.loose,this.parse(comp),this.semver===ANY?this.value="":this.value=this.operator+this.semver.version,debug2("comp",this)}var ANY={};Comparator.prototype.parse=function(comp){var r=this.options.loose?safeRe[t.COMPARATORLOOSE]:safeRe[t.COMPARATOR],m=comp.match(r);if(!m)throw new TypeError("Invalid comparator: "+comp);this.operator=m[1]!==void 0?m[1]:"",this.operator==="="&&(this.operator=""),m[2]?this.semver=new SemVer2(m[2],this.options.loose):this.semver=ANY};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(version){if(debug2("Comparator.test",version,this.options.loose),this.semver===ANY||version===ANY)return!0;if(typeof version=="string")try{version=new SemVer2(version,this.options)}catch{return!1}return cmp(version,this.operator,this.semver,this.options)};Comparator.prototype.intersects=function(comp,options){if(!(comp instanceof Comparator))throw new TypeError("a Comparator is required");(!options||typeof options!="object")&&(options={loose:!!options,includePrerelease:!1});var rangeTmp;if(this.operator==="")return this.value===""?!0:(rangeTmp=new Range(comp.value,options),satisfies2(this.value,rangeTmp,options));if(comp.operator==="")return comp.value===""?!0:(rangeTmp=new Range(this.value,options),satisfies2(comp.semver,rangeTmp,options));var sameDirectionIncreasing=(this.operator===">="||this.operator===">")&&(comp.operator===">="||comp.operator===">"),sameDirectionDecreasing=(this.operator==="<="||this.operator==="<")&&(comp.operator==="<="||comp.operator==="<"),sameSemVer=this.semver.version===comp.semver.version,differentDirectionsInclusive=(this.operator===">="||this.operator==="<=")&&(comp.operator===">="||comp.operator==="<="),oppositeDirectionsLessThan=cmp(this.semver,"<",comp.semver,options)&&(this.operator===">="||this.operator===">")&&(comp.operator==="<="||comp.operator==="<"),oppositeDirectionsGreaterThan=cmp(this.semver,">",comp.semver,options)&&(this.operator==="<="||this.operator==="<")&&(comp.operator===">="||comp.operator===">");return sameDirectionIncreasing||sameDirectionDecreasing||sameSemVer&&differentDirectionsInclusive||oppositeDirectionsLessThan||oppositeDirectionsGreaterThan};exports2.Range=Range;function Range(range,options){if((!options||typeof options!="object")&&(options={loose:!!options,includePrerelease:!1}),range instanceof Range)return range.loose===!!options.loose&&range.includePrerelease===!!options.includePrerelease?range:new Range(range.raw,options);if(range instanceof Comparator)return new Range(range.value,options);if(!(this instanceof Range))return new Range(range,options);if(this.options=options,this.loose=!!options.loose,this.includePrerelease=!!options.includePrerelease,this.raw=range.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(range2){return this.parseRange(range2.trim())},this).filter(function(c){return c.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format()}Range.prototype.format=function(){return this.range=this.set.map(function(comps){return comps.join(" ").trim()}).join("||").trim(),this.range};Range.prototype.toString=function(){return this.range};Range.prototype.parseRange=function(range){var loose=this.options.loose,hr=loose?safeRe[t.HYPHENRANGELOOSE]:safeRe[t.HYPHENRANGE];range=range.replace(hr,hyphenReplace),debug2("hyphen replace",range),range=range.replace(safeRe[t.COMPARATORTRIM],comparatorTrimReplace),debug2("comparator trim",range,safeRe[t.COMPARATORTRIM]),range=range.replace(safeRe[t.TILDETRIM],tildeTrimReplace),range=range.replace(safeRe[t.CARETTRIM],caretTrimReplace),range=range.split(/\s+/).join(" ");var compRe=loose?safeRe[t.COMPARATORLOOSE]:safeRe[t.COMPARATOR],set=range.split(" ").map(function(comp){return parseComparator(comp,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(set=set.filter(function(comp){return!!comp.match(compRe)})),set=set.map(function(comp){return new Comparator(comp,this.options)},this),set};Range.prototype.intersects=function(range,options){if(!(range instanceof Range))throw new TypeError("a Range is required");return this.set.some(function(thisComparators){return isSatisfiable(thisComparators,options)&&range.set.some(function(rangeComparators){return isSatisfiable(rangeComparators,options)&&thisComparators.every(function(thisComparator){return rangeComparators.every(function(rangeComparator){return thisComparator.intersects(rangeComparator,options)})})})})};function isSatisfiable(comparators,options){for(var result=!0,remainingComparators=comparators.slice(),testComparator=remainingComparators.pop();result&&remainingComparators.length;)result=remainingComparators.every(function(otherComparator){return testComparator.intersects(otherComparator,options)}),testComparator=remainingComparators.pop();return result}exports2.toComparators=toComparators;function toComparators(range,options){return new Range(range,options).set.map(function(comp){return comp.map(function(c){return c.value}).join(" ").trim().split(" ")})}function parseComparator(comp,options){return debug2("comp",comp,options),comp=replaceCarets(comp,options),debug2("caret",comp),comp=replaceTildes(comp,options),debug2("tildes",comp),comp=replaceXRanges(comp,options),debug2("xrange",comp),comp=replaceStars(comp,options),debug2("stars",comp),comp}function isX(id){return!id||id.toLowerCase()==="x"||id==="*"}function replaceTildes(comp,options){return comp.trim().split(/\s+/).map(function(comp2){return replaceTilde(comp2,options)}).join(" ")}function replaceTilde(comp,options){var r=options.loose?safeRe[t.TILDELOOSE]:safeRe[t.TILDE];return comp.replace(r,function(_,M,m,p,pr){debug2("tilde",comp,_,M,m,p,pr);var ret;return isX(M)?ret="":isX(m)?ret=">="+M+".0.0 <"+(+M+1)+".0.0":isX(p)?ret=">="+M+"."+m+".0 <"+M+"."+(+m+1)+".0":pr?(debug2("replaceTilde pr",pr),ret=">="+M+"."+m+"."+p+"-"+pr+" <"+M+"."+(+m+1)+".0"):ret=">="+M+"."+m+"."+p+" <"+M+"."+(+m+1)+".0",debug2("tilde return",ret),ret})}function replaceCarets(comp,options){return comp.trim().split(/\s+/).map(function(comp2){return replaceCaret(comp2,options)}).join(" ")}function replaceCaret(comp,options){debug2("caret",comp,options);var r=options.loose?safeRe[t.CARETLOOSE]:safeRe[t.CARET];return comp.replace(r,function(_,M,m,p,pr){debug2("caret",comp,_,M,m,p,pr);var ret;return isX(M)?ret="":isX(m)?ret=">="+M+".0.0 <"+(+M+1)+".0.0":isX(p)?M==="0"?ret=">="+M+"."+m+".0 <"+M+"."+(+m+1)+".0":ret=">="+M+"."+m+".0 <"+(+M+1)+".0.0":pr?(debug2("replaceCaret pr",pr),M==="0"?m==="0"?ret=">="+M+"."+m+"."+p+"-"+pr+" <"+M+"."+m+"."+(+p+1):ret=">="+M+"."+m+"."+p+"-"+pr+" <"+M+"."+(+m+1)+".0":ret=">="+M+"."+m+"."+p+"-"+pr+" <"+(+M+1)+".0.0"):(debug2("no pr"),M==="0"?m==="0"?ret=">="+M+"."+m+"."+p+" <"+M+"."+m+"."+(+p+1):ret=">="+M+"."+m+"."+p+" <"+M+"."+(+m+1)+".0":ret=">="+M+"."+m+"."+p+" <"+(+M+1)+".0.0"),debug2("caret return",ret),ret})}function replaceXRanges(comp,options){return debug2("replaceXRanges",comp,options),comp.split(/\s+/).map(function(comp2){return replaceXRange(comp2,options)}).join(" ")}function replaceXRange(comp,options){comp=comp.trim();var r=options.loose?safeRe[t.XRANGELOOSE]:safeRe[t.XRANGE];return comp.replace(r,function(ret,gtlt,M,m,p,pr){debug2("xRange",comp,ret,gtlt,M,m,p,pr);var xM=isX(M),xm=xM||isX(m),xp=xm||isX(p),anyX=xp;return gtlt==="="&&anyX&&(gtlt=""),pr=options.includePrerelease?"-0":"",xM?gtlt===">"||gtlt==="<"?ret="<0.0.0-0":ret="*":gtlt&&anyX?(xm&&(m=0),p=0,gtlt===">"?(gtlt=">=",xm?(M=+M+1,m=0,p=0):(m=+m+1,p=0)):gtlt==="<="&&(gtlt="<",xm?M=+M+1:m=+m+1),ret=gtlt+M+"."+m+"."+p+pr):xm?ret=">="+M+".0.0"+pr+" <"+(+M+1)+".0.0"+pr:xp&&(ret=">="+M+"."+m+".0"+pr+" <"+M+"."+(+m+1)+".0"+pr),debug2("xRange return",ret),ret})}function replaceStars(comp,options){return debug2("replaceStars",comp,options),comp.trim().replace(safeRe[t.STAR],"")}function hyphenReplace($0,from,fM,fm,fp,fpr,fb,to,tM,tm,tp,tpr,tb){return isX(fM)?from="":isX(fm)?from=">="+fM+".0.0":isX(fp)?from=">="+fM+"."+fm+".0":from=">="+from,isX(tM)?to="":isX(tm)?to="<"+(+tM+1)+".0.0":isX(tp)?to="<"+tM+"."+(+tm+1)+".0":tpr?to="<="+tM+"."+tm+"."+tp+"-"+tpr:to="<="+to,(from+" "+to).trim()}Range.prototype.test=function(version){if(!version)return!1;if(typeof version=="string")try{version=new SemVer2(version,this.options)}catch{return!1}for(var i2=0;i2<this.set.length;i2++)if(testSet(this.set[i2],version,this.options))return!0;return!1};function testSet(set,version,options){for(var i2=0;i2<set.length;i2++)if(!set[i2].test(version))return!1;if(version.prerelease.length&&!options.includePrerelease){for(i2=0;i2<set.length;i2++)if(debug2(set[i2].semver),set[i2].semver!==ANY&&set[i2].semver.prerelease.length>0){var allowed=set[i2].semver;if(allowed.major===version.major&&allowed.minor===version.minor&&allowed.patch===version.patch)return!0}return!1}return!0}exports2.satisfies=satisfies2;function satisfies2(version,range,options){try{range=new Range(range,options)}catch{return!1}return range.test(version)}exports2.maxSatisfying=maxSatisfying;function maxSatisfying(versions,range,options){var max=null,maxSV=null;try{var rangeObj=new Range(range,options)}catch{return null}return versions.forEach(function(v){rangeObj.test(v)&&(!max||maxSV.compare(v)===-1)&&(max=v,maxSV=new SemVer2(max,options))}),max}exports2.minSatisfying=minSatisfying;function minSatisfying(versions,range,options){var min=null,minSV=null;try{var rangeObj=new Range(range,options)}catch{return null}return versions.forEach(function(v){rangeObj.test(v)&&(!min||minSV.compare(v)===1)&&(min=v,minSV=new SemVer2(min,options))}),min}exports2.minVersion=minVersion2;function minVersion2(range,loose){range=new Range(range,loose);var minver=new SemVer2("0.0.0");if(range.test(minver)||(minver=new SemVer2("0.0.0-0"),range.test(minver)))return minver;minver=null;for(var i2=0;i2<range.set.length;++i2){var comparators=range.set[i2];comparators.forEach(function(comparator){var compver=new SemVer2(comparator.semver.version);switch(comparator.operator){case">":compver.prerelease.length===0?compver.patch++:compver.prerelease.push(0),compver.raw=compver.format();case"":case">=":(!minver||gt(minver,compver))&&(minver=compver);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+comparator.operator)}})}return minver&&range.test(minver)?minver:null}exports2.validRange=validRange3;function validRange3(range,options){try{return new Range(range,options).range||"*"}catch{return null}}exports2.ltr=ltr;function ltr(version,range,options){return outside(version,range,"<",options)}exports2.gtr=gtr;function gtr(version,range,options){return outside(version,range,">",options)}exports2.outside=outside;function outside(version,range,hilo,options){version=new SemVer2(version,options),range=new Range(range,options);var gtfn,ltefn,ltfn,comp,ecomp;switch(hilo){case">":gtfn=gt,ltefn=lte,ltfn=lt,comp=">",ecomp=">=";break;case"<":gtfn=lt,ltefn=gte2,ltfn=gt,comp="<",ecomp="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies2(version,range,options))return!1;for(var i2=0;i2<range.set.length;++i2){var comparators=range.set[i2],high=null,low=null;if(comparators.forEach(function(comparator){comparator.semver===ANY&&(comparator=new Comparator(">=0.0.0")),high=high||comparator,low=low||comparator,gtfn(comparator.semver,high.semver,options)?high=comparator:ltfn(comparator.semver,low.semver,options)&&(low=comparator)}),high.operator===comp||high.operator===ecomp||(!low.operator||low.operator===comp)&<efn(version,low.semver))return!1;if(low.operator===ecomp&<fn(version,low.semver))return!1}return!0}exports2.prerelease=prerelease;function prerelease(version,options){var parsed=parse6(version,options);return parsed&&parsed.prerelease.length?parsed.prerelease:null}exports2.intersects=intersects3;function intersects3(r1,r2,options){return r1=new Range(r1,options),r2=new Range(r2,options),r1.intersects(r2)}exports2.coerce=coerce2;function coerce2(version,options){if(version instanceof SemVer2)return version;if(typeof version=="number"&&(version=String(version)),typeof version!="string")return null;options=options||{};var match=null;if(!options.rtl)match=version.match(safeRe[t.COERCE]);else{for(var next;(next=safeRe[t.COERCERTL].exec(version))&&(!match||match.index+match[0].length!==version.length);)(!match||next.index+next[0].length!==match.index+match[0].length)&&(match=next),safeRe[t.COERCERTL].lastIndex=next.index+next[1].length+next[2].length;safeRe[t.COERCERTL].lastIndex=-1}return match===null?null:parse6(match[2]+"."+(match[3]||"0")+"."+(match[4]||"0"),options)}}});var types_exports={};__export(types_exports,{BunVersion:()=>BunVersion,JOB_TRIGGERS:()=>JOB_TRIGGERS,NodeVersion:()=>NodeVersion,Version:()=>Version,getReportedServiceType:()=>getReportedServiceType,getServiceQueueTopicConfigs:()=>getServiceQueueTopicConfigs,getServiceQueueTopics:()=>getServiceQueueTopics,isExperimentalService:()=>isExperimentalService,isExperimentalServiceV2:()=>isExperimentalServiceV2,isQueueBackedService:()=>isQueueBackedService,isQueueTriggeredService:()=>isQueueTriggeredService,isScheduleTriggeredService:()=>isScheduleTriggeredService,isWorkflowTriggeredService:()=>isWorkflowTriggeredService});function isExperimentalService(service){return service.schema==="experimentalServices"}function isExperimentalServiceV2(service){return service.schema==="experimentalServicesV2"}function getServiceQueueTopicConfigs(config){return Array.isArray(config.topics)&&config.topics.length>0?typeof config.topics[0]=="string"?config.topics.map(topic=>({topic})):config.topics:config.type==="worker"?[{topic:"default"}]:[]}function getServiceQueueTopics(config){return getServiceQueueTopicConfigs(config).map(topic=>topic.topic)}function isQueueTriggeredService(service){return service.type==="worker"||service.type==="job"&&service.trigger==="queue"}function isScheduleTriggeredService(service){return service.type==="cron"||service.type==="job"&&service.trigger==="schedule"}function isWorkflowTriggeredService(service){return service.type==="job"&&service.trigger==="workflow"}function isQueueBackedService(service){return isQueueTriggeredService(service)||isWorkflowTriggeredService(service)}function getReportedServiceType(service){switch(service.type){case"web":return"web";case"cron":return"schedule";case"worker":return"queue";case"job":return service.trigger==="schedule"?"schedule":service.trigger==="queue"?"queue":service.trigger==="workflow"?"workflow":void 0;default:return}}var Version,NodeVersion,BunVersion,JOB_TRIGGERS,init_types=__esm({"src/types.ts"(){"use strict";Version=class{constructor(version){this.major=version.major,this.minor=version.minor,this.range=version.range,this.runtime=version.runtime,this.discontinueDate=version.discontinueDate}get state(){return this.discontinueDate&&this.discontinueDate.getTime()<=Date.now()?"discontinued":this.discontinueDate?"deprecated":"active"}get formattedDate(){return this.discontinueDate&&this.discontinueDate.toISOString().split("T")[0]}},NodeVersion=class extends Version{},BunVersion=class extends Version{},JOB_TRIGGERS=["queue","schedule","workflow"]}});var node_version_exports={};__export(node_version_exports,{BUN_VERSIONS:()=>BUN_VERSIONS,NODE_VERSIONS:()=>NODE_VERSIONS,getAvailableNodeVersions:()=>getAvailableNodeVersions,getDiscontinuedNodeVersions:()=>getDiscontinuedNodeVersions,getLatestNodeVersion:()=>getLatestNodeVersion,getNodeVersionByMajor:()=>getNodeVersionByMajor,getSupportedBunVersion:()=>getSupportedBunVersion,getSupportedNodeVersion:()=>getSupportedNodeVersion,isBunVersion:()=>isBunVersion});function getNodeVersionByMajor(major){return getOptions().find(v=>v.major===major)}function getOptions(){let versions=NODE_VERSIONS;return process.env.VERCEL_ALLOW_DISCONTINUED_NODEJS20==="1"&&(versions=versions.map(version=>version.major===20?new NodeVersion({...version,discontinueDate:new Date("2026-11-01")}):version)),versions}function isNodeVersionAvailable(version){return(0,import_fs.statSync)(`/node${version.major}`,{throwIfNoEntry:!1})?.isDirectory()??!1}function getAvailableNodeVersions(){return getOptions().filter(v=>v.major>=18).filter(isNodeVersionAvailable).map(n=>n.major)}function getHint(isAuto=!1,availableVersions){let{major,range}=getLatestNodeVersion(availableVersions);return isAuto?`Please set Node.js Version to ${range} in your Project Settings to use Node.js ${major}.`:`Please set "engines": { "node": "${range}" } in your \`package.json\` file to use Node.js ${major}.`}function getLatestNodeVersion(availableVersions){let all=getOptions().filter(version=>version.major!==26||process.env.VERCEL_DEFAULT_NODE_26==="1");if(availableVersions){for(let version of all)for(let major of availableVersions)if(version.major===major)return version}return all[0]}function getDiscontinuedNodeVersions(){return getOptions().filter(version=>version.state==="discontinued")}async function getSupportedNodeVersion(engineRange,isAuto=!1,availableVersions,configuredNodeVersion){let selection;if(engineRange&&!((0,import_semver.validRange)(engineRange)&&getOptions().some(o=>(selection=o,(o.major!==26||process.env.VERCEL_DEFAULT_NODE_26==="1"||configuredNodeVersion==="26.x"||!(0,import_semver.intersects)(engineRange,"<26.0.0"))&&(0,import_semver.intersects)(o.range,engineRange)&&(availableVersions?.length?availableVersions.includes(o.major):!0)))))throw new NowBuildError({code:"BUILD_UTILS_NODE_VERSION_INVALID",link:"https://vercel.link/node-version",message:`Found invalid or discontinued Node.js Version: "${engineRange}". ${getHint(isAuto,availableVersions)}`});if(selection||(selection=getLatestNodeVersion(availableVersions)),selection.state==="discontinued"){let intro=`Node.js Version "${selection.range}" is discontinued and must be upgraded.`;throw new NowBuildError({code:"BUILD_UTILS_NODE_VERSION_DISCONTINUED",link:"https://vercel.link/node-version",message:`${intro} ${getHint(isAuto)}`})}if(debug(`Selected Node.js ${selection.range}`),selection.state==="deprecated"){let d=selection.formattedDate;console.warn(d?`Error: Node.js version ${selection.range} is deprecated. Deployments created on or after ${d} will fail to build. ${getHint(isAuto)}`:`Error: Node.js version ${selection.range} is deprecated. ${getHint(isAuto)}`)}return selection}function getSupportedBunVersion(engineRange){if((0,import_semver.validRange)(engineRange)){let selected=BUN_VERSIONS.find(version=>(0,import_semver.intersects)(version.range,engineRange)?version.minor===void 0?!0:!(0,import_semver.intersects)(`<${version.major}.${version.minor}.0`,engineRange):!1);if(selected)return new BunVersion({major:selected.major,minor:selected.minor,range:selected.range,runtime:selected.runtime})}throw new NowBuildError({message:`Found invalid Bun Version: "${engineRange}".`,code:"BUILD_UTILS_BUN_VERSION_INVALID"})}function isBunVersion(version){return version.runtime.startsWith("bun")}var import_fs,import_semver,NODE_VERSIONS,BUN_VERSIONS,init_node_version=__esm({"src/fs/node-version.ts"(){"use strict";import_fs=require("fs"),import_semver=__toESM(require_semver2());init_types();init_errors();init_debug();NODE_VERSIONS=[new NodeVersion({major:26,range:"26.x",runtime:"nodejs26.x"}),new NodeVersion({major:24,range:"24.x",runtime:"nodejs24.x"}),new NodeVersion({major:22,range:"22.x",runtime:"nodejs22.x"}),new NodeVersion({major:20,range:"20.x",runtime:"nodejs20.x",discontinueDate:new Date("2026-10-01")}),new NodeVersion({major:18,range:"18.x",runtime:"nodejs18.x",discontinueDate:new Date("2025-09-01")}),new NodeVersion({major:16,range:"16.x",runtime:"nodejs16.x",discontinueDate:new Date("2025-02-03")}),new NodeVersion({major:14,range:"14.x",runtime:"nodejs14.x",discontinueDate:new Date("2023-08-15")}),new NodeVersion({major:12,range:"12.x",runtime:"nodejs12.x",discontinueDate:new Date("2022-10-03")}),new NodeVersion({major:10,range:"10.x",runtime:"nodejs10.x",discontinueDate:new Date("2021-04-20")}),new NodeVersion({major:8,range:"8.10.x",runtime:"nodejs8.10",discontinueDate:new Date("2020-01-06")})],BUN_VERSIONS=[new BunVersion({major:1,minor:4,range:"1.4.x",runtime:"bun1.4.x"}),new BunVersion({major:1,range:"1.x",runtime:"bun1.x"})]}});var require_common2=__commonJS({"../../node_modules/.pnpm/js-yaml@3.13.1/node_modules/js-yaml/lib/js-yaml/common.js"(exports2,module2){"use strict";function isNothing(subject){return typeof subject>"u"||subject===null}function isObject(subject){return typeof subject=="object"&&subject!==null}function toArray(sequence){return Array.isArray(sequence)?sequence:isNothing(sequence)?[]:[sequence]}function extend(target,source){var index,length,key,sourceKeys;if(source)for(sourceKeys=Object.keys(source),index=0,length=sourceKeys.length;index<length;index+=1)key=sourceKeys[index],target[key]=source[key];return target}function repeat(string,count){var result="",cycle;for(cycle=0;cycle<count;cycle+=1)result+=string;return result}function isNegativeZero(number){return number===0&&Number.NEGATIVE_INFINITY===1/number}module2.exports.isNothing=isNothing;module2.exports.isObject=isObject;module2.exports.toArray=toArray;module2.exports.repeat=repeat;module2.exports.isNegativeZero=isNegativeZero;module2.exports.extend=extend}});var require_exception=__commonJS({"../../node_modules/.pnpm/js-yaml@3.13.1/node_modules/js-yaml/lib/js-yaml/exception.js"(exports2,module2){"use strict";function YAMLException(reason,mark){Error.call(this),this.name="YAMLException",this.reason=reason,this.mark=mark,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():""),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}YAMLException.prototype=Object.create(Error.prototype);YAMLException.prototype.constructor=YAMLException;YAMLException.prototype.toString=function(compact){var result=this.name+": ";return result+=this.reason||"(unknown reason)",!compact&&this.mark&&(result+=" "+this.mark.toString()),result};module2.exports=YAMLException}});var require_mark=__commonJS({"../../node_modules/.pnpm/js-yaml@3.13.1/node_modules/js-yaml/lib/js-yaml/mark.js"(exports2,module2){"use strict";var common=require_common2();function Mark(name,buffer,position,line,column){this.name=name,this.buffer=buffer,this.position=position,this.line=line,this.column=column}Mark.prototype.getSnippet=function(indent,maxLength){var head,start,tail,end,snippet;if(!this.buffer)return null;for(indent=indent||4,maxLength=maxLength||75,head="",start=this.position;start>0&&`\0\r
|
|
16
16
|
\x85\u2028\u2029`.indexOf(this.buffer.charAt(start-1))===-1;)if(start-=1,this.position-start>maxLength/2-1){head=" ... ",start+=5;break}for(tail="",end=this.position;end<this.buffer.length&&`\0\r
|
|
17
17
|
\x85\u2028\u2029`.indexOf(this.buffer.charAt(end))===-1;)if(end+=1,end-this.position>maxLength/2-1){tail=" ... ",end-=5;break}return snippet=this.buffer.slice(start,end),common.repeat(" ",indent)+head+snippet+tail+`
|
|
18
18
|
`+common.repeat(" ",indent+this.position-start+head.length)+"^"};Mark.prototype.toString=function(compact){var snippet,where="";return this.name&&(where+='in "'+this.name+'" '),where+="at line "+(this.line+1)+", column "+(this.column+1),compact||(snippet=this.getSnippet(),snippet&&(where+=`:
|
|
@@ -113,10 +113,7 @@ ${entrypointsForMessage}`)};function pluralize(word,count){return count===1?word
|
|
|
113
113
|
`).length}:${C.e()-E3.lastIndexOf(`
|
|
114
114
|
`,C.e()-1)}`),{idx:C.e()});let o=[],K=[];for(;C.ri();){let A3=C.is(),Q3=C.ie(),B3=C.it(),g3=C.ai(),I2=C.id(),w2=C.ss(),D2=C.se(),K2;C.ip()&&(K2=k(E3.slice(I2===-1?A3-1:A3,I2===-1?Q3+1:Q3))),o.push({n:K2,t:B3,s:A3,e:Q3,ss:w2,se:D2,d:I2,a:g3})}for(;C.re();){let A3=C.es(),Q3=C.ee(),B3=C.els(),g3=C.ele(),I2=E3.slice(A3,Q3),w2=I2[0],D2=B3<0?void 0:E3.slice(B3,g3),o2=D2?D2[0]:"";K.push({s:A3,e:Q3,ls:B3,le:g3,n:w2==='"'||w2==="'"?k(I2):I2,ln:o2==='"'||o2==="'"?k(D2):D2})}function k(A3){try{return(0,eval)(A3)}catch{}}return[o,K,!!C.f(),!!C.ms()]}function Q(A3,Q3){let B3=A3.length,C3=0;for(;C3<B3;){let B4=A3.charCodeAt(C3);Q3[C3++]=(255&B4)<<8|B4>>>8}}function B(A3,Q3){let B3=A3.length,C3=0;for(;C3<B3;)Q3[C3]=A3.charCodeAt(C3++)}var ImportType,A,C,init,E,init_lexer=__esm({"../../node_modules/.pnpm/es-module-lexer@1.5.0/node_modules/es-module-lexer/dist/lexer.js"(){(function(A3){A3[A3.Static=1]="Static",A3[A3.Dynamic=2]="Dynamic",A3[A3.ImportMeta=3]="ImportMeta",A3[A3.StaticSourcePhase=4]="StaticSourcePhase",A3[A3.DynamicSourcePhase=5]="DynamicSourcePhase"})(ImportType||(ImportType={}));A=new Uint8Array(new Uint16Array([1]).buffer)[0]===1;init=WebAssembly.compile((E="AGFzbQEAAAABKwhgAX8Bf2AEf39/fwBgAAF/YAAAYAF/AGADf39/AX9gAn9/AX9gA39/fwADMTAAAQECAgICAgICAgICAgICAgICAgIAAwMDBAQAAAAAAAAAAwMDAAUGAAAABwAGAgUEBQFwAQEBBQMBAAEGDwJ/AUHA8gALfwBBwPIACwd6FQZtZW1vcnkCAAJzYQAAAWUAAwJpcwAEAmllAAUCc3MABgJzZQAHAml0AAgCYWkACQJpZAAKAmlwAAsCZXMADAJlZQANA2VscwAOA2VsZQAPAnJpABACcmUAEQFmABICbXMAE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BwAG8AcgB0AGUAdABhAG8AdQByAGMAZQByAG8AbQB1AG4AYwB0AGkAbwBuAHMAcwBlAHIAdAB2AG8AeQBpAGUAZABlAGwAZQBjAG8AbgB0AGkAbgBpAG4AcwB0AGEAbgB0AHkAYgByAGUAYQByAGUAdAB1AHIAZABlAGIAdQBnAGcAZQBhAHcAYQBpAHQAaAByAHcAaABpAGwAZQBmAG8AcgBpAGYAYwBhAHQAYwBmAGkAbgBhAGwAbABlAGwAcwAAQdAJCxABAAAAAgAAAAAEAABAOQAA",typeof Buffer<"u"?Buffer.from(E,"base64"):Uint8Array.from(atob(E),A3=>A3.charCodeAt(0)))).then(WebAssembly.instantiate).then(({exports:A3})=>{C=A3})}});function parse5(g2,I="@"){if(!A2)throw new Error("Not initialized");let D=g2.length+1,N=(A2.__heap_base.value||A2.__heap_base)+4*D-A2.memory.buffer.byteLength;N>0&&A2.memory.grow(Math.ceil(N/65536));let k=A2.sa(D);if((Q2?C2:E2)(g2,new Uint16Array(A2.memory.buffer,k,D)),!A2.parseCJS(k,g2.length,0,0,0))throw Object.assign(new Error(`Parse error ${I}${A2.e()}:${g2.slice(0,A2.e()).split(`
|
|
115
115
|
`).length}:${A2.e()-g2.lastIndexOf(`
|
|
116
|
-
`,A2.e()-1)}`),{idx:A2.e()});let w=new Set,o=new Set,J=new Set;for(;A2.rre();){let Q3=B2(g2.slice(A2.res(),A2.ree()));Q3&&o.add(Q3)}for(;A2.ru();)J.add(B2(g2.slice(A2.us(),A2.ue())));for(;A2.re();){let Q3=B2(g2.slice(A2.es(),A2.ee()));Q3===void 0||J.has(Q3)||w.add(Q3)}return{exports:[...w],reexports:[...o]}}function B2(A3){if(A3[0]!=='"'&&A3[0]!=="'")return A3;try{let Q3=(0,eval)(A3);for(let A4=0;A4<Q3.length;A4++){let B3=64512&Q3.charCodeAt(A4);if(!(B3<55296)&&(B3!==55296||(64512&Q3.charCodeAt(++A4))!=56320))return}return Q3}catch{}}function E2(A3,Q3){let B3=A3.length,E3=0;for(;E3<B3;){let B4=A3.charCodeAt(E3);Q3[E3++]=(255&B4)<<8|B4>>>8}}function C2(A3,Q3){let B3=A3.length,E3=0;for(;E3<B3;)Q3[E3]=A3.charCodeAt(E3++)}function init2(){return g||(g=(async()=>{let Q3=await WebAssembly.compile((B3="AGFzbQEAAAABrAERYAJ/fwBgAABgAX8Bf2AAAX9gBn9/f39/fwF/YAF/AGAXf39/f39/f39/f39/f39/f39/f39/f38Bf2AIf39/f39/f38Bf2AHf39/f39/fwF/YAN/f38Bf2AFf39/f38Bf2AOf39/f39/f39/f39/f38Bf2AKf39/f39/f39/fwF/YAt/f39/f39/f39/fwF/YAJ/fwF/YAR/f39/AX9gCX9/f39/f39/fwF/A0NCAgMDAwMDAwMDAwMAAAABBAICBQQFAQECAgICAQUBAQUBAQYHAQIIAwICAgkKAgELAgwNDgQPCA4HAgICAhACAgMJBAUBcAEFBQUDAQABBg8CfwFB0JgCC38AQdCYAgsHXA4GbWVtb3J5AgACc2EAAAFlAAECZXMAAgJlZQADA3JlcwAEA3JlZQAFAnVzAAYCdWUABwJyZQAIA3JyZQAJAnJ1AAoIcGFyc2VDSlMADwtfX2hlYXBfYmFzZQMBCQoBAEEBCwQLDA0OCtOhAUJ4AQF/QQAoApgfIgEgAEEBdGoiAEEAOwEAQQAgAEECaiIANgLkH0EAIAA2AugfQQBBADYCwB9BAEEANgLIH0EAQQA2AsQfQQBBADYCzB9BAEEANgLUH0EAQQA2AtAfQQBBADYC2B9BAEEANgLgH0EAQQA2AtwfIAELCABBACgC7B8LFQBBACgCxB8oAgBBACgCmB9rQQF1CxUAQQAoAsQfKAIEQQAoApgfa0EBdQsVAEEAKALQHygCAEEAKAKYH2tBAXULFQBBACgC0B8oAgRBACgCmB9rQQF1CxUAQQAoAtwfKAIAQQAoApgfa0EBdQsVAEEAKALcHygCBEEAKAKYH2tBAXULJQEBf0EAQQAoAsQfIgBBCGpBwB8gABsoAgAiADYCxB8gAEEARwslAQF/QQBBACgC0B8iAE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AALwEEQfkARw0BIAAvAQZB8wBHDQEgAEEGaiEBQQAgAEEIajYCvKABECdBKEcNAUEAQQAoArygAUECajYCvKABECchAEEAKAK8oAEhAiAAEC1FDQFBACgCvKABIQAQJ0EpRw0BQQBBACgCvKABIgFBAmo2ArygARAnQS5HDQFBAEEAKAK8oAFBAmo2ArygARAnQeYARw0BQQAoArygASIDQQJqQe8AQfIAQcUAQeEAQeMAQegAECZFDQFBACADQQ5qNgK8oAEQJyEDQQAoArygASIEQX5qIQEgA0EoRw0BQQAgBEECajYCvKABECdB5gBHDQFBACgCvKABIgNBAmpB9QBB7gBB4wBB9ABB6QBB7wBB7gAQI0UNAUEAIANBEGo2ArygARAnQShHDQFBAEEAKAK8oAFBAmo2ArygARAnIQNBACgCvKABIQQgAxAtRQ0BQQAoArygASEDECdBKUcNAUEAQQAoArygAUECajYCvKABECdB+wBHDQFBAEEAKAK8oAFBAmo2ArygARAnQekARw0BQQAoArygASIFLwECQeYARw0BQQAgBUEEajYCvKABECdBKEcNAUEAQQAoArygAUECajYCvKABECcaQQAoArygASIFIAQgAyAEayIDEEENASAAIAJrIgZBAXUhB0EAIAUgA0EBdSIIQQF0ajYCvKABAkACQAJAECciAEEhRg0AIABBPUcNBEEAKAK8oAEiAC8BAkE9Rw0EIAAvAQRBPUcNBEEAIABBBmo2ArygAQJAECciAEEnRg0AIABBIkcNBQtBACgCvKABIgVBAmpB5ABB5QBB5gBB4QBB9QBB7ABB9AAQI0UNBEEAIAVBEGo2ArygARAnIABHDQRBAEEAKAK8oAFBAmo2ArygARAnQfwARw0EQQAoArygASIALwECQfwARw0EQQAgAEEEajYCvKABECcaQQAoArygASIAIAQgAxBBDQRBACAAIAhBAXRqNgK8oAEQJ0E9Rw0EQQAoArygASIALwECQT1HDQQgAC8BBEE9Rw0EQQAgAEEGajYCvKABAkAQJyIAQSdGDQAgAEEiRw0FC0EAKAK8oAEiBUECakHfAEHfAEHlAEHzAEHNAEHvAEHkAEH1AEHsAEHlABAyRQ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AIABBDGo2ArygARAnQS5HDQNBAEEAKAK8oAFBAmo2ArygARAnQeQARw0DQQAoArygASIAQQJqQeUAQeYAQekAQe4AQeUAQdAAQfIAQe8AQfAAQeUAQfIAQfQAQfkAEC9FDQNBACAAQRxqNgK8oAEQJ0EoRw0DQQBBACgCvKABQQJqNgK8oAEQJxAwRQ0DECdBLEcNA0EAQQAoArygAUECajYCvKABECcaQQAoArygASIAIAQgAxBBDQNBACAAIAhBAXRqNgK8oAEQJ0EsRw0DQQBBACgCvKABQQJqNgK8oAEQJ0H7AEcNA0EAQQAoArygAUECajYCvKABECdB5QBHDQNBACgCvKABIgBBAmpB7gBB9QBB7QBB5QBB8gBB4QBB4gBB7ABB5QAQMUUNA0EAIABBFGo2ArygARAnQTpHDQNBAEEAKAK8oAFBAmo2ArygARAnIQVBACgCvKABIQACQCAFQfQARg0AIAAvAQJB8gBHDQQgAC8BBEH1AEcNBCAALwEGQeUARw0EC0EAIABBCGo2ArygARAnQSxHDQNBAEEAKAK8oAFBAmo2ArygARAnQecARw0DQQAoArygASIALwECQeUARw0DIAAvAQRB9ABHDQNBACAAQQZqNgK8oAECQBAnIgBBOkcNAEEAQQAoArygAUECajYCvKABECdB5gBHDQRBACgCvKABIgBBAmpB9QBB7gBB4wBB9ABB6QBB7wBB7gAQI0UNBEEAIABBEGoiADYCvKABAkAQJyIFQShGDQAgAEEAKAK8oAFGDQUgBRAtRQ0FCxAnIQALIABBKEcNA0EAQQAoArygAUECajYCvKABECdBKUcNA0EAQQAoArygAUECajYCvKABECdB+wBHDQNBAEEAKAK8oAFBAmo2ArygARAnQfIARw0DQQAoArygASIAQQJqQeUAQfQAQfUAQfIAQe4AEBNFDQNBACAAQQxqNgK8oAEQJxpBACgCvKABIgAgAiAGEEENA0EAIAAgB0EBdGo2ArygARAnQdsARw0DQQBBACgCvKABQQJqNgK8oAEQJxpBACgCvKABIgAgBCADEEENA0EAIAAgCEEBdGo2ArygARAnQd0ARw0DQQBBACgCvKABQQJqNgK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ARAdDwtBACABNgK8oAELOAEBf0EAQQE6APAfQQAoArygASEAQQBBACgCwKABQQJqNgK8oAFBACAAQQAoApgfa0EBdTYC7B8LzgEBBX9BACgCvKABIQBBACgCwKABIQEDQCAAIgJBAmohAAJAAkAgAiABTw0AIAAvAQAiA0Gkf2oiBEEETQ0BIANBJEcNAiACLwEEQfsARw0CQQBBAC8BhEAiAEEBajsBhEBBACgCoGAgAEEBdGpBAC8BiEA7AQBBACACQQRqNgK8oAFBAEEALwGGQEEBaiIAOwGIQEEAIAA7AYZADwtBACAANgK8oAEQHQ8LAkACQCAEDgUBAgICAAELQQAgADYCvKABDwsgAkEEaiEADAALC7YCAQJ/QQBBACgCvKABIgFBDmo2ArygAQJAAkACQBAnIgJB2wBGDQAgAkE9Rg0BIAJBLkcNAkEAQQAoArygAUECajYCvKABECchAkEAKAK8oAEhACACEC1FDQJBACgCvKABIQIQJ0E9Rw0CIAAgAkEAKAKcHxEAAA8LQQBBACgCvKABQQJqNgK8oAECQBAnIgJBJ0YNACACQSJHDQILQQAoArygASEAIAIQHEEAQQAoArygAUECaiICNgK8oAEQJ0HdAEcNAUEAQQAoArygAUECajYCvKABECdBPUcNASAAIAJBACgCnB8RAAAMAQsgAEUNAEEAKAKoHxEBAEEAQQAoArygAUECajYCvKABAkAQJyICQfIARg0AIAJB+wBHDQEQLg8LQQEQEBoLQQAgAUEMajYCvKABCzYBAn9BAEEAKAK8oAFBDGoiADYCvKABECchAQJAAkBBACgCvKABIABHDQAgARA/RQ0BCxAdCwtsAQF/QQBBACgCvKABIgBBDGo2ArygAQJAECdBLkcNAEEAQQAoArygAUECajYCvKABECdB5QBHDQBBACgCvKABQQJqQfgAQfAAQe8AQfIAQfQAQfMAECZFDQBBARAfDwtBACAAQQpqNgK8oAEL6QEBAX9BACEXAkAgAC8BACABRw0AIAAvAQIgAkcNACAALwEEIANHDQAgAC8BBiAERw0AIAAvAQggBUcNACAALwEKIAZHDQAgAC8BDCAHRw0AIAAvAQ4gCEcN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AgAANgAAAAUAAAAxAAAACQAAAAAAAAAPAAAAAAAAABcAAAAEAAAAAgAAAA4AAABRBQAABgAAAAIAAAAQAAAAAwAAAAYAAAACAAAAAQAAAAIAAAAEAAAABgEAAAYAAAAKAAAACQAAAKMBAAANAAAA1wUAAAYAAABuAAAABgAAAAYAAAAJAAAAlxIAAAkAAAAHBQwA7wAAAABBmB8LHFCMAAABAAAAAgAAAAMAAAAEAAAAAAQAAPAfAAA=",typeof window<"u"&&typeof atob=="function"?Uint8Array.from(atob(B3),A3=>A3.charCodeAt(0)):Buffer.from(B3,"base64")));var B3;let{exports:E3}=await WebAssembly.instantiate(Q3);A2=E3})())}var A2,Q2,g,init_lexer2=__esm({"../../node_modules/.pnpm/cjs-module-lexer@1.2.3/node_modules/cjs-module-lexer/dist/lexer.mjs"(){Q2=new Uint8Array(new Uint16Array([1]).buffer)[0]===1}});function stripCommentsAndLiterals(content){return content.replace(COMMENT_OR_LITERAL," ")}var BLOCK_COMMENT,LINE_COMMENT,DOUBLE_QUOTED,SINGLE_QUOTED,TEMPLATE_LITERAL,COMMENT_OR_LITERAL,init_strip_comments_and_literals=__esm({"src/strip-comments-and-literals.ts"(){"use strict";BLOCK_COMMENT=/\/\*[\s\S]*?(?:\*\/|$)/,LINE_COMMENT=/\/\/[^\n]*/,DOUBLE_QUOTED=/"(?:\\[\s\S]|[^"\\])*"?/,SINGLE_QUOTED=/'(?:\\[\s\S]|[^'\\])*'?/,TEMPLATE_LITERAL=/`(?:\\[\s\S]|[^`\\])*`?/,COMMENT_OR_LITERAL=new RegExp([BLOCK_COMMENT,LINE_COMMENT,DOUBLE_QUOTED,SINGLE_QUOTED,TEMPLATE_LITERAL].map(pattern=>pattern.source).join("|"),"g")}});var node_entrypoint_exports={};__export(node_entrypoint_exports,{isNodeEntrypoint:()=>isNodeEntrypoint});async function getHandlerExportNames(content){let names=new Set,esmUnparsed=!1;await init;try{let[,exports2]=parse4(content);for(let{n}of exports2)n&&names.add(n)}catch{esmUnparsed=!0}await init2();try{for(let name of parse5(content).exports)names.add(name)}catch{}return{names,esmUnparsed}}async function isNodeEntrypoint(file){try{let fsPath=file.fsPath;if(!fsPath)return!0;let content=await import_fs6.default.promises.readFile(fsPath,"utf-8");if(!content.trim())return!1;let{names,esmUnparsed}=await getHandlerExportNames(content);for(let name of names)if(HANDLER_EXPORTS.has(name))return!0;if(esmUnparsed)return!0;let code=stripCommentsAndLiterals(content);return EXTRA_HANDLER_PATTERNS.some(pattern=>pattern.test(code))}catch(err){return debug(`Failed to check Node.js entrypoint: ${err}`),!0}}var import_fs6,HANDLER_EXPORTS,EXTRA_HANDLER_PATTERNS,init_node_entrypoint=__esm({"src/node-entrypoint.ts"(){"use strict";import_fs6=__toESM(require("fs"));init_lexer();init_lexer2();init_debug();init_strip_comments_and_literals();HANDLER_EXPORTS=new Set(["GET","HEAD","OPTIONS","POST","PUT","DELETE","PATCH","fetch","default"]),EXTRA_HANDLER_PATTERNS=[/\bmodule\.exports\s*=(?!=)/,/\.listen\s*\(/,/\bexport\s*=(?!=)/,/\bexport\s*\*\s*from\b/]}});var service_path_utils_exports={};__export(service_path_utils_exports,{INTERNAL_SERVICE_PREFIX:()=>INTERNAL_SERVICE_PREFIX,SERVICE_NAME_PATTERN:()=>SERVICE_NAME_PATTERN,getInternalServiceCronPath:()=>getInternalServiceCronPath,getInternalServiceCronPathPrefix:()=>getInternalServiceCronPathPrefix,getInternalServiceFunctionPath:()=>getInternalServiceFunctionPath,getInternalServiceWorkerPath:()=>getInternalServiceWorkerPath,getInternalServiceWorkerPathPrefix:()=>getInternalServiceWorkerPathPrefix});function normalizeInternalServiceEntrypoint(entrypoint){return entrypoint.replace(/\\/g,"/").replace(/^\/+/,"").replace(/\.[^/.]+$/,"")||"index"}function getInternalServiceFunctionPath(serviceName){return`${INTERNAL_SERVICE_PREFIX}/${serviceName}/index`}function getInternalServiceCronPathPrefix(serviceName){return`${INTERNAL_SERVICE_PREFIX}/${serviceName}/crons`}function getInternalServiceCronPath(serviceName,entrypoint,handler="cron"){let normalizedEntrypoint=normalizeInternalServiceEntrypoint(entrypoint);return`${getInternalServiceCronPathPrefix(serviceName)}/${normalizedEntrypoint}/${handler}`}function getInternalServiceWorkerPathPrefix(serviceName){return`${INTERNAL_SERVICE_PREFIX}/${serviceName}/workers`}function getInternalServiceWorkerPath(serviceName,entrypoint,handler="worker"){let normalizedEntrypoint=normalizeInternalServiceEntrypoint(entrypoint);return`${getInternalServiceWorkerPathPrefix(serviceName)}/${normalizedEntrypoint}/${handler}`}var INTERNAL_SERVICE_PREFIX,SERVICE_NAME_PATTERN,init_service_path_utils=__esm({"src/service-path-utils.ts"(){"use strict";INTERNAL_SERVICE_PREFIX="/_svc",SERVICE_NAME_PATTERN="^[a-z]([a-z_-]*[a-z])?$"}});var schedule_path_utils_exports={};__export(schedule_path_utils_exports,{SCHEDULE_FUNCTION_PREFIX:()=>SCHEDULE_FUNCTION_PREFIX,getScheduleFunctionPath:()=>getScheduleFunctionPath});function getScheduleFunctionPath(entrypointSegments){if(entrypointSegments.length===0||entrypointSegments.some(segment=>!segment||segment==="."||segment===".."||segment.includes("/")||segment.includes("\\")))throw new Error("Schedule function paths require safe, non-empty segments");return[SCHEDULE_FUNCTION_PREFIX,...entrypointSegments].join("/")}var SCHEDULE_FUNCTION_PREFIX,init_schedule_path_utils=__esm({"src/schedule-path-utils.ts"(){"use strict";SCHEDULE_FUNCTION_PREFIX="_vercel/schedules"}});var schedules_exports={};__export(schedules_exports,{getNamedSchedules:()=>getNamedSchedules,getSchedulesArrayDeprecationWarning:()=>getSchedulesArrayDeprecationWarning,toScheduleRecord:()=>toScheduleRecord});function getNamedSchedules(schedules){return schedules===void 0?[]:Array.isArray(schedules)?[...schedules]:Object.entries(schedules).map(([name,schedule])=>({name,...schedule}))}function toScheduleRecord(schedules){return Object.fromEntries(schedules.map(({name,...schedule})=>[name,schedule]))}function getSchedulesArrayDeprecationWarning(source){return`Listing \`schedules\` as an array in ${source} is deprecated. Key each schedule by its name instead, like \`"schedules": { "nightly": { "schedule": "0 0 * * *", "path": "/api/cron" } }\`.`}var init_schedules=__esm({"src/schedules.ts"(){"use strict"}});var daemons_exports={};__export(daemons_exports,{DAEMON_NAME_PATTERN:()=>DAEMON_NAME_PATTERN,getDaemonImageRepository:()=>getDaemonImageRepository,getDaemonNames:()=>getDaemonNames});function getDaemonNames(config){let daemons=config?.daemons;return typeof daemons!="object"||daemons===null||Array.isArray(daemons)?[]:Object.keys(daemons)}function getDaemonImageRepository(name){return`daemon.${name.replace(/-+/g,"-")}`}var DAEMON_NAME_PATTERN,init_daemons=__esm({"src/daemons.ts"(){"use strict";DAEMON_NAME_PATTERN="^[a-z]+(?:(?:_|__|-+)[a-z]+)*$"}});var get_encrypted_env_file_exports={};__export(get_encrypted_env_file_exports,{getEncryptedEnv:()=>getEncryptedEnv});function getEncryptedEnv(envFilename,envContent){if(!(!envFilename||!envContent))return[envFilename,new FileBlob({data:Buffer.from(envContent,"base64")})]}var init_get_encrypted_env_file=__esm({"src/process-serverless/get-encrypted-env-file.ts"(){"use strict";init_file_blob()}});var get_lambda_preload_scripts_exports={};__export(get_lambda_preload_scripts_exports,{getLambdaPreloadScripts:()=>getLambdaPreloadScripts});function getLambdaPreloadScripts(lambda,buffer,options){let scripts=[];lambda.shouldAddSourcemapSupport&&scripts.push("/opt/rust/source-map-support.js");let BYTECODE_MIN_SIZE_BYTES=(Number.parseInt(options.bytecodeCachingThreshold||"",10)||400)*1024;return options.vercelEnv==="production"&&options.useBytecodeCaching==="1"&&["nodejs20.x","nodejs22.x","nodejs24.x"].includes(lambda.runtime)&&buffer.byteLength>=BYTECODE_MIN_SIZE_BYTES&&scripts.push(["nodejs22.x","nodejs24.x"].includes(lambda.runtime)&&options.useNativeBytecodeCaching==="1"?"/opt/rust/bytecode-native.js":"/opt/rust/bytecode.js"),lambda.framework?.slug==="nextjs"&&scripts.push("/opt/rust/next-data.js"),scripts}var init_get_lambda_preload_scripts=__esm({"src/process-serverless/get-lambda-preload-scripts.ts"(){"use strict"}});var get_lambda_environment_exports={};__export(get_lambda_environment_exports,{getLambdaEnvironment:()=>getLambdaEnvironment});function getLambdaEnvironment(lambda,buffer,options){let environment={};if("launcherType"in lambda&&lambda.launcherType==="Nodejs"){lambda.awsLambdaHandler&&(environment.AWS_LAMBDA_HANDLER=lambda.awsLambdaHandler),lambda.shouldAddHelpers&&(environment.VERCEL_SHOULD_ADD_HELPERS="1"),lambda.useWebApi===!0&&(environment.VERCEL_USE_WEB_API="1"),lambda.shouldAddSourcemapSupport&&(environment.VERCEL_SOURCE_MAP="1"),lambda.shouldDisableAutomaticFetchInstrumentation&&(environment.VERCEL_TRACING_DISABLE_AUTOMATIC_FETCH_INSTRUMENTATION="1");let scripts=getLambdaPreloadScripts(lambda,buffer,options);scripts.length>0&&(environment.VERCEL_NODE_PRELOAD_SCRIPTS=scripts.join(","))}return environment}var init_get_lambda_environment=__esm({"src/process-serverless/get-lambda-environment.ts"(){"use strict";init_get_lambda_preload_scripts()}});var get_lambda_supports_streaming_exports={};__export(get_lambda_supports_streaming_exports,{getLambdaSupportsStreaming:()=>getLambdaSupportsStreaming});function getLambdaSupportsStreaming(lambda,forceStreamingRuntime){if(lambda.awsLambdaHandler)return!1;if(forceStreamingRuntime)return!0;if(typeof lambda.supportsResponseStreaming=="boolean")return lambda.supportsResponseStreaming;if("launcherType"in lambda&&lambda.launcherType==="Nodejs")return!0}var init_get_lambda_supports_streaming=__esm({"src/process-serverless/get-lambda-supports-streaming.ts"(){"use strict"}});var stream_to_digest_async_exports={};__export(stream_to_digest_async_exports,{md5:()=>md5,sha256:()=>sha256,streamToDigestAsync:()=>streamToDigestAsync});async function streamToDigestAsync(stream){return await new Promise((resolve4,reject)=>{stream.once("error",reject);let count=0,sha2562=(0,import_crypto.createHash)("sha256"),md52=(0,import_crypto.createHash)("md5");stream.on("end",()=>{let res={sha256:sha2562.digest("hex"),md5:md52.digest("hex"),size:count};resolve4(res)}),stream.on("readable",()=>{let chunk;for(;(chunk=stream.read())!==null;){let buffer=Buffer.isBuffer(chunk)?Uint8Array.from(chunk):Uint8Array.from(Buffer.from(chunk));md52.update(buffer),sha2562.update(buffer),count+=chunk.length}})})}function sha256(value){return(0,import_crypto.createHash)("sha256").update(value).digest("hex")}function md5(value){return(0,import_crypto.createHash)("md5").update(Uint8Array.from(value)).digest("hex")}var import_crypto,init_stream_to_digest_async=__esm({"src/fs/stream-to-digest-async.ts"(){"use strict";import_crypto=require("crypto")}});var get_lambda_by_output_path_exports={};__export(get_lambda_by_output_path_exports,{getLambdaByOutputPath:()=>getLambdaByOutputPath});function getLambdaByOutputPath(params){let output=params.buildOutputMap[params.outputPath];return output?.type==="Lambda"?output:output?.type==="Prerender"?output.lambda:void 0}var init_get_lambda_by_output_path=__esm({"src/collect-build-result/get-lambda-by-output-path.ts"(){"use strict"}});var get_prerender_chain_exports={};__export(get_prerender_chain_exports,{getPrerenderChain:()=>getPrerenderChain});function getPrerenderChain(prerender){if(prerender.chain)return{outputPath:prerender.chain.outputPath,headers:prerender.chain.headers};if(prerender.experimentalStreamingLambdaPath)return{outputPath:prerender.experimentalStreamingLambdaPath,headers:{"x-matched-path":prerender.experimentalStreamingLambdaPath}}}var init_get_prerender_chain=__esm({"src/collect-build-result/get-prerender-chain.ts"(){"use strict"}});var is_route_middleware_exports={};__export(is_route_middleware_exports,{isRouteMiddleware:()=>isRouteMiddleware});function isRouteMiddleware(route){return"middlewarePath"in route&&typeof route.middlewarePath=="string"}var init_is_route_middleware=__esm({"src/collect-build-result/is-route-middleware.ts"(){"use strict"}});var get_build_result_metadata_exports={};__export(get_build_result_metadata_exports,{getBuildResultMetadata:()=>getBuildResultMetadata});function getBuildResultMetadata(params){return{middleware:getMiddlewareMetadata(params),ppr:new Map(Object.entries(params.buildOutputMap).flatMap(([_outputPath,output])=>{if(output.type==="Prerender"){let chain=getPrerenderChain(output);if(chain&&getLambdaByOutputPath({buildOutputMap:params.buildOutputMap,outputPath:chain.outputPath}))return[[chain.outputPath,!0]]}return[]}))}}function getMiddlewareMetadata(params){let deduped=new Map(params.routes.filter(isRouteMiddleware).map(route=>toMiddlewareTuple({buildOutputMap:params.buildOutputMap,middlewarePath:route.middlewarePath})));return new Map(Array.from(deduped,([outputPath,metadata],index)=>[outputPath,{...metadata,index}]))}function toMiddlewareTuple(params){let keys=[params.middlewarePath,params.middlewarePath.replace(/^\//,"")],[outputPath,output]=Object.entries(params.buildOutputMap).find(entry=>keys.includes(entry[0])&&(entry[1].type==="EdgeFunction"||entry[1].type==="Lambda"))??[];if(!outputPath||!output)throw new NowBuildError({message:`Mapping ${params.middlewarePath} not found. Maybe you provided a wrong middlewarePath?`,code:"middleware_path_not_found"});return[outputPath,output.type==="EdgeFunction"?{edgeFunction:output,match:new Set(keys),middlewarePath:params.middlewarePath,outputPath,type:"middleware"}:{match:new Set(keys),middlewarePath:params.middlewarePath,outputPath,type:"middleware-lambda"}]}var init_get_build_result_metadata=__esm({"src/collect-build-result/get-build-result-metadata.ts"(){"use strict";init_errors();init_get_lambda_by_output_path();init_get_prerender_chain();init_is_route_middleware()}});var validate_build_result_exports={};__export(validate_build_result_exports,{SUPPORTED_AL2023_RUNTIMES:()=>SUPPORTED_AL2023_RUNTIMES,validateBuildResult:()=>validateBuildResult});function isSupportedAl2023Runtime(runtime){return SUPPORTED_AL2023_RUNTIMES.some(supported=>supported===runtime)}async function validateBuildResult({allowInvalidRuntime=!1,buildConfig,buildResponse,vercelBaseUrl}){if(!("output"in buildResponse))throw new NowBuildError({code:"NOW_SANDBOX_WORKER_BUILDER_ERROR",message:'The result of "builder.build" must include an `output` property for "@vercel/vc-build".'});if(!buildResponse.output||typeof buildResponse.output!="object")throw new NowBuildError({code:"NOW_SANDBOX_WORKER_BUILDER_ERROR",message:'The result of "builder.build" must be an object'});let buildOutputMap=getAndVerifyOutputLambdasOrEdgeFuncs(buildResponse),invalidRuntimes=[];for(let[name,entry]of Object.entries(buildOutputMap)){let lambda;entry.type==="Prerender"?lambda=entry.lambda:entry.type==="Lambda"&&(lambda=entry),lambda&&(isSupportedAl2023Runtime(lambda.runtime)||invalidRuntimes.push({name,lambda}))}if(invalidRuntimes.length>0&&!allowInvalidRuntime)throw new NowBuildError({code:"NOW_SANDBOX_WORKER_INVALID_RUNTIME",message:`The following Serverless Functions contain an invalid "runtime":
|
|
117
|
-
${invalidRuntimes.map(({name,lambda})=>` - ${name} (${lambda.runtime})`).join(`
|
|
118
|
-
`)}`,link:getVercelUrl("/docs/functions/runtimes#official-runtimes",vercelBaseUrl)});let customFunctionConfiguration=getCustomFunctionConfigMaybe(buildConfig);if(customFunctionConfiguration?.runtime)throw new NowBuildError({code:"NOW_SANDBOX_WORKER_FUNCTION_RUNTIME_VERSION",message:`The Community Runtime ${customFunctionConfiguration.runtime} is not using version 3 of the Runtime API. If you are the Runtime author, see the docs by clicking "View Details" above.`,link:DEVELOPING_A_RUNTIME_URL});return{buildOutputMap,customFunctionConfiguration}}function getCustomFunctionConfigMaybe(buildConfig){let functions=buildConfig?.functions??buildConfig?.vercelConfig?.functions;if(functions){for(let[funcPath,config]of Object.entries(functions))if(funcPath===DEFAULT_ENTRYPOINT||(0,import_minimatch2.default)(DEFAULT_ENTRYPOINT,funcPath))return config}}function getVercelUrl(path9,vercelBaseUrl="https://vercel.com"){let url=new URL(path9,vercelBaseUrl);return url.pathname==="/"?url.href.slice(0,-1):url.href}function getAndVerifyOutputLambdasOrEdgeFuncs(buildResponse){return buildResponse.output}var import_minimatch2,SUPPORTED_AL2023_RUNTIMES,DEFAULT_ENTRYPOINT,DEVELOPING_A_RUNTIME_URL,init_validate_build_result=__esm({"src/collect-build-result/validate-build-result.ts"(){"use strict";import_minimatch2=__toESM(require_minimatch());init_errors();SUPPORTED_AL2023_RUNTIMES=["nodejs20.x","nodejs22.x","nodejs24.x","nodejs26.x","provided.al2023","python3.12","python3.13","python3.14","ruby3.3","bun1.4.x","bun1.x","executable"],DEFAULT_ENTRYPOINT=".",DEVELOPING_A_RUNTIME_URL="https://github.com/vercel/vercel/blob/master/DEVELOPING_A_RUNTIME.md"}});var stream_with_extended_payload_exports={};__export(stream_with_extended_payload_exports,{streamWithExtendedPayload:()=>streamWithExtendedPayload});function streamWithExtendedPayload(stream,data){return data?new MultipartContentStream(stream,data):stream}var import_stream2,MultipartContentStream,init_stream_with_extended_payload=__esm({"src/collect-build-result/stream-with-extended-payload.ts"(){"use strict";import_stream2=require("stream");MultipartContentStream=class extends import_stream2.Readable{constructor(stream,data){super(),stream.on("error",err=>{this.emit("error",err)}),stream.on("end",()=>{this.push(data.suffix),this.push(null)}),this.push(data.prefix),stream.on("data",chunk=>{this.push(chunk)})}_read(){}}}});var collect_uncompressed_size_exports={};__export(collect_uncompressed_size_exports,{collectUncompressedSize:()=>collectUncompressedSize});var import_promises4,fileSizeCache,getFileSize,collectUncompressedSize,init_collect_uncompressed_size=__esm({"src/collect-uncompressed-size.ts"(){"use strict";import_promises4=require("fs/promises"),fileSizeCache=new Map,getFileSize=path9=>{if(!path9)return Promise.resolve(0);let cached=fileSizeCache.get(path9);if(cached)return cached;let promise=(0,import_promises4.lstat)(path9).then(stats=>stats.size);return fileSizeCache.set(path9,promise),promise},collectUncompressedSize=async(files,ignoreFn)=>{let size=0;return await Promise.all(Object.keys(files).map(async fileKey=>{if(ignoreFn?.(fileKey))return;let file=files[fileKey];if(file.type==="FileBlob")size+=file.data.length;else if(file.type==="FileFsRef"){let fsRef=file,curSize=fsRef.size??await getFileSize(fsRef.fsPath);size+=curSize}})),size}}});var finalize_lambda_exports={};__export(finalize_lambda_exports,{finalizeLambda:()=>finalizeLambda});async function finalizeLambda(params){let{lambda,encryptedEnvFilename,encryptedEnvContent,bytecodeCachingOptions,forceStreamingRuntime,enableUncompressedLambdaSizeCheck,trace=defaultTrace,createZip:createZipOverride,validateZip}=params,encryptedEnv=getEncryptedEnv(encryptedEnvFilename,encryptedEnvContent);if(encryptedEnv){let[envFilename,envFile]=encryptedEnv;lambda.zipBuffer=void 0,lambda.files={...lambda.files,[envFilename]:envFile}}let uncompressedBytes=0;enableUncompressedLambdaSizeCheck&&lambda.files&&(uncompressedBytes=await trace("collectUncompressedSize",()=>collectUncompressedSize(lambda.files??{})));let zipTags={fileCount:String(Object.keys(lambda.files??{}).length),uncompressedBytes:String(uncompressedBytes)},zipResult;if(createZipOverride)zipResult=await trace("createZip",()=>createZipOverride(lambda),zipTags);else{let buffer=lambda.zipBuffer||await trace("createZip",()=>lambda.createZip(),zipTags);zipResult={buffer,digest:"",size:buffer.byteLength}}validateZip&&validateZip({buffer:zipResult.buffer,zipPath:zipResult.zipPath,size:zipResult.size}),!createZipOverride&&zipResult.buffer&&(zipResult.digest=sha256(zipResult.buffer)),lambda.environment={...lambda.environment,...getLambdaEnvironment(lambda,zipResult.buffer??{byteLength:zipResult.size},bytecodeCachingOptions)};let streamingResult=getLambdaSupportsStreaming(lambda,forceStreamingRuntime);return lambda.supportsResponseStreaming=streamingResult,{buffer:zipResult.buffer,zipPath:zipResult.zipPath??null,digest:zipResult.digest,size:zipResult.size,uncompressedBytes}}var defaultTrace,init_finalize_lambda=__esm({"src/finalize-lambda.ts"(){"use strict";init_get_encrypted_env_file();init_get_lambda_environment();init_get_lambda_supports_streaming();init_stream_to_digest_async();init_collect_uncompressed_size();defaultTrace=(_name,fn)=>fn()}});var require_bytes=__commonJS({"../../node_modules/.pnpm/bytes@3.1.2/node_modules/bytes/index.js"(exports2,module2){"use strict";module2.exports=bytes2;module2.exports.format=format;module2.exports.parse=parse6;var formatThousandsRegExp=/\B(?=(\d{3})+(?!\d))/g,formatDecimalsRegExp=/(?:\.0*|(\.[^0]+)0+)$/,map={b:1,kb:1024,mb:1<<20,gb:1<<30,tb:Math.pow(1024,4),pb:Math.pow(1024,5)},parseRegExp=/^((-|\+)?(\d+(?:\.\d+)?)) *(kb|mb|gb|tb|pb)$/i;function bytes2(value,options){return typeof value=="string"?parse6(value):typeof value=="number"?format(value,options):null}function format(value,options){if(!Number.isFinite(value))return null;var mag=Math.abs(value),thousandsSeparator=options&&options.thousandsSeparator||"",unitSeparator=options&&options.unitSeparator||"",decimalPlaces=options&&options.decimalPlaces!==void 0?options.decimalPlaces:2,fixedDecimals=!!(options&&options.fixedDecimals),unit=options&&options.unit||"";(!unit||!map[unit.toLowerCase()])&&(mag>=map.pb?unit="PB":mag>=map.tb?unit="TB":mag>=map.gb?unit="GB":mag>=map.mb?unit="MB":mag>=map.kb?unit="KB":unit="B");var val=value/map[unit.toLowerCase()],str=val.toFixed(decimalPlaces);return fixedDecimals||(str=str.replace(formatDecimalsRegExp,"$1")),thousandsSeparator&&(str=str.split(".").map(function(s,i){return i===0?s.replace(formatThousandsRegExp,thousandsSeparator):s}).join(".")),str+unitSeparator+unit}function parse6(val){if(typeof val=="number"&&!isNaN(val))return val;if(typeof val!="string")return null;var results=parseRegExp.exec(val),floatValue,unit="b";return results?(floatValue=parseFloat(results[1]),unit=results[4].toLowerCase()):(floatValue=parseInt(val,10),unit="b"),isNaN(floatValue)?null:Math.floor(map[unit]*floatValue)}}});var validate_lambda_size_exports={};__export(validate_lambda_size_exports,{ENV_WRAPPER_SUPPORTED_FAMILIES:()=>ENV_WRAPPER_SUPPORTED_FAMILIES,FunctionSizeError:()=>FunctionSizeError,MAX_LAMBDA_SIZE:()=>MAX_LAMBDA_SIZE,MAX_LAMBDA_UNCOMPRESSED_SIZE:()=>MAX_LAMBDA_UNCOMPRESSED_SIZE,validateEnvWrapperSupport:()=>validateEnvWrapperSupport,validateLambdaSize:()=>validateLambdaSize,validateUncompressedLambdaSize:()=>validateUncompressedLambdaSize});function validateLambdaSize(outputPath,runtime,size){if(!runtime.startsWith("python")&&size>MAX_LAMBDA_SIZE)throw new FunctionSizeError(outputPath,size)}function validateUncompressedLambdaSize(outputPath,uncompressedBytes){if(uncompressedBytes>=MAX_LAMBDA_UNCOMPRESSED_SIZE)throw new NowBuildError({code:"NOW_SANDBOX_WORKER_MAX_UNCOMPRESSED_LAMBDA_SIZE",message:`The Vercel Function "${outputPath}" is ${(0,import_bytes.default)(uncompressedBytes).toLowerCase()} uncompressed which exceeds the maximum uncompressed size limit of ${(0,import_bytes.default)(MAX_LAMBDA_UNCOMPRESSED_SIZE).toLowerCase()}.`,link:"https://vercel.link/serverless-function-size",action:"Learn More"})}function validateEnvWrapperSupport(encryptedEnvFilename,encryptedEnvContent,lambda){if(!(!encryptedEnvFilename||!encryptedEnvContent)){if(!lambda.supportsWrapper&&!ENV_WRAPPER_SUPPORTED_FAMILIES.some(family=>lambda.runtime.startsWith(family)))throw new Error(`Serverless Function runtime ${lambda.runtime} does not support more than 4KB for environment variables`);if(typeof lambda.createZip!="function")throw new Error(`Serverless Function with runtime ${lambda.runtime} has no createZip function`)}}var import_bytes,MAX_LAMBDA_SIZE,MAX_LAMBDA_UNCOMPRESSED_SIZE,FunctionSizeError,ENV_WRAPPER_SUPPORTED_FAMILIES,init_validate_lambda_size=__esm({"src/validate-lambda-size.ts"(){"use strict";init_errors();import_bytes=__toESM(require_bytes()),MAX_LAMBDA_SIZE=(0,import_bytes.default)("300mb"),MAX_LAMBDA_UNCOMPRESSED_SIZE=250*1024*1024,FunctionSizeError=class extends NowBuildError{constructor(outputPath,size){super({code:"NOW_SANDBOX_WORKER_MAX_LAMBDA_SIZE",message:`The Vercel Function "${outputPath}" is ${(0,import_bytes.default)(size).toLowerCase()} which exceeds the maximum size limit of ${(0,import_bytes.default)(MAX_LAMBDA_SIZE).toLowerCase()}.`,link:"https://vercel.link/serverless-function-size",action:"Learn More"});this.size=size,this.maxSize=MAX_LAMBDA_SIZE}};ENV_WRAPPER_SUPPORTED_FAMILIES=["nodejs","python","ruby","java","dotnetcore","bun","executable"]}});var validate_framework_version_exports={};__export(validate_framework_version_exports,{validateFrameworkVersion:()=>validateFrameworkVersion});function validateFrameworkVersion(framework){if(!framework)return;let{slug,version}=framework;if(typeof slug=="string"){if(typeof version!="string")throw new NowBuildError({message:`Invalid config.json: "version" type "${typeof version}" should be "string"`,code:"VC_BUILD_INVALID_CONFIG_JSON_FRAMEWORK_VERSION_TYPE"});if(slug.length>MAX_SLUG_LENGTH){let trimmedFrameworkSlug=slug.slice(0,MAX_SLUG_LENGTH);throw new NowBuildError({message:`Invalid config.json: "framework.slug" length ${slug.length} > ${MAX_SLUG_LENGTH}. "${trimmedFrameworkSlug}..."`,code:"VC_BUILD_INVALID_CONFIG_JSON_FRAMEWORK_SLUG_LENGTH"})}if(version.length>MAX_FRAMEWORK_VERSION_LENGTH){let trimmedFrameworkVersion=version.slice(0,MAX_FRAMEWORK_VERSION_LENGTH);throw new NowBuildError({message:`Invalid config.json: "framework.version" length ${version.length} > ${MAX_FRAMEWORK_VERSION_LENGTH}. "${trimmedFrameworkVersion}..."`,code:"VC_BUILD_INVALID_CONFIG_JSON_FRAMEWORK_VERSION_LENGTH"})}return framework}}var MAX_SLUG_LENGTH,MAX_FRAMEWORK_VERSION_LENGTH,init_validate_framework_version=__esm({"src/deserialize/validate-framework-version.ts"(){"use strict";init_errors();MAX_SLUG_LENGTH=50,MAX_FRAMEWORK_VERSION_LENGTH=50}});var hydrate_files_map_exports={};__export(hydrate_files_map_exports,{hydrateFilesMap:()=>hydrateFilesMap});async function hydrateFilesMap(files,filesMap,repoRootPath,fileFsRefsCache){for(let[funcPath,projectPath]of Object.entries(filesMap))files[funcPath]=await fileFsRefCached((0,import_path16.join)(repoRootPath,projectPath),fileFsRefsCache)}async function fileFsRefCached(fsPath,cache){let file=cache.get(fsPath);return file||(file=await file_fs_ref_default.fromFsPath({fsPath}),cache.set(fsPath,file)),file}var import_path16,init_hydrate_files_map=__esm({"src/deserialize/hydrate-files-map.ts"(){"use strict";init_file_fs_ref();import_path16=require("path")}});var create_functions_iterator_exports={};__export(create_functions_iterator_exports,{createFunctionsIterator:()=>createFunctionsIterator});async function*createFunctionsIterator(dir,root=dir){let paths;try{paths=await(0,import_fs_extra10.readdir)(dir)}catch(err){if(err.code!=="ENOENT"&&err.code!=="ENOTDIR")throw err;paths=[]}for(let path9 of paths){let abs=(0,import_path17.join)(dir,path9);(await(0,import_fs_extra10.stat)(abs)).isDirectory()&&(path9.endsWith(SUFFIX)?yield(0,import_path17.relative)(root,abs.substring(0,abs.length-SUFFIX.length)):yield*createFunctionsIterator(abs,root))}}var import_path17,import_fs_extra10,SUFFIX,init_create_functions_iterator=__esm({"src/deserialize/create-functions-iterator.ts"(){"use strict";import_path17=require("path"),import_fs_extra10=__toESM(require_lib()),SUFFIX=".func"}});var maybe_read_json_exports={};__export(maybe_read_json_exports,{maybeReadJSON:()=>maybeReadJSON});async function maybeReadJSON(path9){try{return await(0,import_fs_extra11.readJSON)(path9)}catch(err){if(err.code!=="ENOENT")throw err}}var import_fs_extra11,init_maybe_read_json=__esm({"src/deserialize/maybe-read-json.ts"(){"use strict";import_fs_extra11=__toESM(require_lib())}});var deserialize_edge_function_exports={};__export(deserialize_edge_function_exports,{deserializeEdgeFunction:()=>deserializeEdgeFunction});async function deserializeEdgeFunction(files,config,repoRootPath,fileFsRefsCache){return config.filePathMap&&await hydrateFilesMap(files,config.filePathMap,repoRootPath,fileFsRefsCache),new EdgeFunction({deploymentTarget:"v8-worker",...config,files})}var init_deserialize_edge_function=__esm({"src/deserialize/deserialize-edge-function.ts"(){"use strict";init_edge_function();init_hydrate_files_map()}});var deserialize_build_output_exports={};__export(deserialize_build_output_exports,{deserializeBuildOutput:()=>deserializeBuildOutput,validateDeploymentId:()=>validateDeploymentId});function validateDeploymentId(deploymentId){if(deploymentId&&deploymentId.length>MAX_DEPLOYMENT_ID_LENGTH)throw new NowBuildError({message:`The configured deploymentId "${deploymentId}" exceeds the maximum length of ${MAX_DEPLOYMENT_ID_LENGTH} characters. Please use a shorter deploymentId.`,code:"VC_BUILD_INVALID_DEPLOYMENT_ID_LENGTH"});if(deploymentId&&!VALID_DEPLOYMENT_ID_PATTERN.test(deploymentId))throw new NowBuildError({message:`The configured deploymentId "${deploymentId}" contains invalid characters. Only alphanumeric characters (a-z, A-Z, 0-9), hyphens (-), and underscores (_) are allowed.`,code:"VC_BUILD_INVALID_DEPLOYMENT_ID_CHARACTERS"})}function applyOutputOverrides(output,overrides,warn){for(let[name,override]of Object.entries(overrides||{})){let entry=output[name];entry?(override.contentType&&(entry.contentType=override.contentType),override.mode&&(entry.mode=override.mode),override.path&&(output[override.path]=entry,delete output[name])):warn?.(`Warning: Override path "${name}" was not detected as an output path`)}}async function deserializePrerenderFallback(prerenderConfigPath,fallbackConfig){return typeof fallbackConfig=="string"?file_fs_ref_default.fromFsPath({fsPath:(0,import_path18.join)((0,import_path18.dirname)(prerenderConfigPath),fallbackConfig)}):fallbackConfig?file_fs_ref_default.fromFsPath({mode:fallbackConfig.mode,contentType:fallbackConfig.contentType,fsPath:(0,import_path18.join)((0,import_path18.dirname)(prerenderConfigPath),fallbackConfig.fsPath)}):null}function applyFunctionSymlinks(output,prerenders,functionSymlinks){for(let[path9,target]of functionSymlinks.entries()){let targetOutput=prerenders.get(target)||output[target],targetFunction;if(targetOutput?.type==="Prerender"?targetFunction=targetOutput.lambda:(targetOutput?.type==="Lambda"||targetOutput?.type==="EdgeFunction")&&(targetFunction=targetOutput),!targetFunction)throw new Error(`Could not find target "${target}" Lambda or EdgeFunction for path "${path9}"`);let srcOutput=prerenders.get(path9);if(srcOutput)if(srcOutput.type==="Prerender")if(targetFunction.type==="Lambda")srcOutput.lambda=targetFunction;else throw new Error(`Unexpected function type "${targetFunction.type}" at path "${path9}"`);else throw new Error(`Unexpected output type "${srcOutput.type}" at path "${path9}"`);else output[path9]=targetFunction}}function appendSortedPrerenders(output,prerenders){let sortedPrerenders=Array.from(prerenders.entries()).sort((a,b)=>(a[1].group??0)-(b[1].group??0)).reduce((o,[path9,prerender])=>(o[path9]=prerender,o),{});Object.assign(output,sortedPrerenders)}function getBundleableLambdas(output){let bundleableLambdas={};for(let[outputName,curOutput]of Object.entries(output))curOutput.type==="Lambda"&&curOutput.experimentalAllowBundling?bundleableLambdas[outputName]=curOutput:curOutput.type==="Prerender"&&curOutput.lambda&&curOutput.lambda.experimentalAllowBundling&&(bundleableLambdas[outputName]=curOutput.lambda);return bundleableLambdas}function applyGroupedLambdas(output,groupedLambdas){for(let outputName of Object.keys(groupedLambdas)){let groupedLambda=groupedLambdas[outputName],origOutput=output[outputName];origOutput.type==="Lambda"?output[outputName]=groupedLambda:origOutput.type==="Prerender"&&origOutput.lambda&&(origOutput.lambda=groupedLambda)}}async function deserializeBuildOutput(options){let{outputDir,repoRootPath,maxBundleSizeMb,debugGroupLambdas,useOnlyStreamingLambda,forceNodejsStreaming,deserializeLambda:deserializeLambda2,groupLambdas,inspectSerializedLambda,warn,includeDeploymentId,getMeta}=options,hasServerActions=!1,configPath=(0,import_path18.join)(outputDir,"config.json"),config=await maybeReadJSON(configPath);if(!config)throw new Error(`Config file was not found at "${configPath}"`);if(config.version!==3)throw new Error(`Expected \`version: 3\` in "${configPath}" file (received \`${config.version}\`)`);validateDeploymentId(config.deploymentId);let flags=await maybeReadJSON((0,import_path18.join)(outputDir,"flags.json")),staticDir=(0,import_path18.join)(outputDir,"static"),output=await glob("**",{cwd:staticDir,follow:!0});applyOutputOverrides(output,config.overrides,warn);let fileFsRefsCache=new Map,prerenders=new Map,functionsDir=(0,import_path18.join)(outputDir,"functions"),functionSymlinks=new Map;for await(let path9 of createFunctionsIterator(functionsDir)){let lambda,fnDir=(0,import_path18.join)(functionsDir,`${path9}.func`);try{let link=await fs11.readlink(fnDir),target=(0,import_path18.join)((0,import_path18.dirname)(path9),link).slice(0,-5);functionSymlinks.set(path9,target)}catch(err){if(err.code!=="EINVAL")throw err;let funcConfigPath=(0,import_path18.join)(fnDir,".vc-config.json"),funcConfig=await maybeReadJSON(funcConfigPath);if(!funcConfig)throw new Error(`Could not load function config: "${funcConfigPath}"`);let files=await glob("**",{cwd:fnDir,includeDirectories:!0});if(delete files[".vc-config.json"],funcConfig.type==="EdgeFunction"||funcConfig.runtime==="edge"){output[path9]=await deserializeEdgeFunction(files,funcConfig,repoRootPath,fileFsRefsCache);continue}lambda=await deserializeLambda2(files,funcConfig,repoRootPath,fileFsRefsCache,{useOnlyStreamingLambda,forceNodejsStreaming}),inspectSerializedLambda&&(hasServerActions=await inspectSerializedLambda(path9,funcConfig,repoRootPath,hasServerActions))}let prerenderConfigPath=(0,import_path18.join)(functionsDir,`${path9}.prerender-config.json`),prerenderConfig=await maybeReadJSON(prerenderConfigPath);if(prerenderConfig){let fallback=await deserializePrerenderFallback(prerenderConfigPath,prerenderConfig.fallback),prerender=new Prerender({...prerenderConfig,lambda,fallback});prerenders.set(path9,prerender)}else lambda&&(output[path9]=lambda)}applyFunctionSymlinks(output,prerenders,functionSymlinks),appendSortedPrerenders(output,prerenders);let groupedLambdas=await groupLambdas(getBundleableLambdas(output),{force:void 0,maxBundleSizeMb,debug:debugGroupLambdas});applyGroupedLambdas(output,groupedLambdas);let framework=validateFrameworkVersion(config?.framework),meta=getMeta?.(hasServerActions);return{wildcard:config.wildcard,images:config.images,crons:config.crons,flags:flags||config.flags,routes:config.routes,afterCacheBypass:config.afterCacheBypass,output,framework,...includeDeploymentId?{deploymentId:config.deploymentId}:{},...meta!==void 0?{meta}:{}}}var fs11,import_path18,MAX_DEPLOYMENT_ID_LENGTH,VALID_DEPLOYMENT_ID_PATTERN,init_deserialize_build_output=__esm({"src/deserialize/deserialize-build-output.ts"(){"use strict";fs11=__toESM(require_lib()),import_path18=require("path");init_errors();init_file_fs_ref();init_glob();init_prerender();init_create_functions_iterator();init_deserialize_edge_function();init_maybe_read_json();init_validate_framework_version();MAX_DEPLOYMENT_ID_LENGTH=32,VALID_DEPLOYMENT_ID_PATTERN=/^[a-zA-Z0-9_-]+$/}});var deserialize_lambda_exports={};__export(deserialize_lambda_exports,{deserializeLambda:()=>deserializeLambda});async function deserializeLambda(files,config,repoRootPath,fileFsRefsCache,options){let LambdaCtor=options?.LambdaClass??Lambda,NodejsLambdaCtor=options?.NodejsLambdaClass??NodejsLambda;config.filePathMap&&await hydrateFilesMap(files,config.filePathMap,repoRootPath,fileFsRefsCache);let supportsResponseStreaming=config.supportsResponseStreaming??config.experimentalResponseStreaming;if("launcherType"in config&&config.launcherType==="Nodejs"){let overrideResponseStreaming=(options?.useOnlyStreamingLambda||options?.forceNodejsStreaming)&&(config.awsLambdaHandler===void 0||config.awsLambdaHandler==="");return new NodejsLambdaCtor({...config,supportsResponseStreaming:overrideResponseStreaming||supportsResponseStreaming,files})}return new LambdaCtor({...config,supportsResponseStreaming,files})}var init_deserialize_lambda=__esm({"src/deserialize/deserialize-lambda.ts"(){"use strict";init_lambda();init_nodejs_lambda();init_hydrate_files_map()}});var validate_regular_file_exports={};__export(validate_regular_file_exports,{validateRegularFile:()=>validateRegularFile});async function validateRegularFile(file){if("fsPath"in file&&typeof file.fsPath=="string"){let stat2=await(0,import_fs_extra12.lstat)(file.fsPath);if(!stat2.isFile()&&!stat2.isDirectory()&&!stat2.isSymbolicLink())throw new NowBuildError({message:`Output file path is actually not a (regular) file: \`${file.fsPath}\``,code:"OUTPUT_FILE_IS_NOT_REGULAR_FILE"});return stat2}return null}var import_fs_extra12,init_validate_regular_file=__esm({"src/collect-build-result/validate-regular-file.ts"(){"use strict";init_errors();import_fs_extra12=__toESM(require_lib())}});var validate_prerender_exports={};__export(validate_prerender_exports,{validatePrerender:()=>validatePrerender});function validatePrerender(prerender){if(typeof prerender.lambda>"u")throw new Error('Prerender "buildResult" is missing "lambda" property')}var init_validate_prerender=__esm({"src/collect-build-result/validate-prerender.ts"(){"use strict"}});var require_db=__commonJS({"../../node_modules/.pnpm/mime-db@1.45.0/node_modules/mime-db/db.json"(exports2,module2){module2.exports={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["ecma","es"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/mrb-publish+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana"},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana"},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana"},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana"},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana"},"image/avcs":{source:"iana"},"image/avif":{compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana"},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}}}});var require_mime_db=__commonJS({"../../node_modules/.pnpm/mime-db@1.45.0/node_modules/mime-db/index.js"(exports2,module2){module2.exports=require_db()}});var require_mime_types=__commonJS({"../../node_modules/.pnpm/mime-types@2.1.28/node_modules/mime-types/index.js"(exports2){"use strict";var db=require_mime_db(),extname2=require("path").extname,EXTRACT_TYPE_REGEXP=/^\s*([^;\s]*)(?:;|\s|$)/,TEXT_TYPE_REGEXP=/^text\//i;exports2.charset=charset;exports2.charsets={lookup:charset};exports2.contentType=contentType;exports2.extension=extension;exports2.extensions=Object.create(null);exports2.lookup=lookup;exports2.types=Object.create(null);populateMaps(exports2.extensions,exports2.types);function charset(type){if(!type||typeof type!="string")return!1;var match=EXTRACT_TYPE_REGEXP.exec(type),mime=match&&db[match[1].toLowerCase()];return mime&&mime.charset?mime.charset:match&&TEXT_TYPE_REGEXP.test(match[1])?"UTF-8":!1}function contentType(str){if(!str||typeof str!="string")return!1;var mime=str.indexOf("/")===-1?exports2.lookup(str):str;if(!mime)return!1;if(mime.indexOf("charset")===-1){var charset2=exports2.charset(mime);charset2&&(mime+="; charset="+charset2.toLowerCase())}return mime}function extension(type){if(!type||typeof type!="string")return!1;var match=EXTRACT_TYPE_REGEXP.exec(type),exts=match&&exports2.extensions[match[1].toLowerCase()];return!exts||!exts.length?!1:exts[0]}function lookup(path9){if(!path9||typeof path9!="string")return!1;var extension2=extname2("x."+path9).toLowerCase().substr(1);return extension2&&exports2.types[extension2]||!1}function populateMaps(extensions,types){var preference=["nginx","apache",void 0,"iana"];Object.keys(db).forEach(function(type){var mime=db[type],exts=mime.extensions;if(!(!exts||!exts.length)){extensions[type]=exts;for(var i=0;i<exts.length;i++){var extension2=exts[i];if(types[extension2]){var from=preference.indexOf(db[types[extension2]].source),to=preference.indexOf(mime.source);if(types[extension2]!=="application/octet-stream"&&(from>to||from===to&&types[extension2].substr(0,12)==="application/"))continue}types[extension2]=type}}})}}});var get_content_type_exports={};__export(get_content_type_exports,{getContentType:()=>getContentType});function getContentType(path9){return path9.endsWith(".html")?"text/html; charset=utf-8":import_mime_types.default.contentType((0,import_path19.extname)(path9))||"application/octet-stream"}var import_path19,import_mime_types,init_get_content_type=__esm({"src/collect-build-result/get-content-type.ts"(){"use strict";import_path19=require("path"),import_mime_types=__toESM(require_mime_types())}});var file_to_build_output_file_exports={};__export(file_to_build_output_file_exports,{fileToBuildOutputFile:()=>fileToBuildOutputFile});async function fileToBuildOutputFile(params){await validateRegularFile(params.buildResult);let digest=await streamToDigestAsync(streamWithExtendedPayload(params.buildResult.toStreamAsync?await params.buildResult.toStreamAsync():params.buildResult.toStream(),params.extendedBody)),contentType=params.buildResult.contentType?params.buildResult.contentType:"fsPath"in params.buildResult?getContentType(params.buildResult.fsPath):void 0;return{digest,output:{type:"file",path:params.outputPath,prerenderPath:params.buildResult.prerenderPath,digest:digest.sha256,mode:params.buildResult.mode,contentType,size:digest.size,lambda:null}}}var init_file_to_build_output_file=__esm({"src/collect-build-result/file-to-build-output-file.ts"(){"use strict";init_stream_to_digest_async();init_stream_with_extended_payload();init_validate_regular_file();init_get_content_type()}});var prerender_to_build_output_file_exports={};__export(prerender_to_build_output_file_exports,{prerenderToBuildOutputFile:()=>prerenderToBuildOutputFile});async function prerenderToBuildOutputFile(params){let extended=getExtendedPayload(params.buildResult);if(!extended.fallback)return null;let filePath=params.outputPath+".fallback",{output,digest}=await fileToBuildOutputFile({outputPath:filePath,buildResult:extended.fallback,extendedBody:extended.extendedBody});return{file:extended.fallback,output,digest,extended}}function getExtendedPayload({initialHeaders,fallback}){return!initialHeaders||!Object.entries(initialHeaders).length?{initialHeaders:void 0,fallback,extendedBody:void 0}:{initialHeaders:{...fallback?{}:{"x-vercel-empty-fallback":"true"},"content-type":`${MULTIPART_HEADER}; boundary=${boundary}`},fallback:fallback??new FileBlob({data:""}),extendedBody:{suffix:`${CRLF}${CRLF}--${boundary}--${CRLF}`,prefix:[`--${boundary}`,...Object.entries(initialHeaders).map(([key,value])=>`${key}: ${value}`)].join(CRLF)+CRLF+CRLF}}}var import_crypto2,CRLF,MULTIPART_HEADER,boundary,init_prerender_to_build_output_file=__esm({"src/collect-build-result/prerender-to-build-output-file.ts"(){"use strict";init_file_blob();import_crypto2=require("crypto");init_file_to_build_output_file();CRLF=`\r
|
|
119
|
-
`,MULTIPART_HEADER="multipart/x-nextjs-extended-payload",boundary=(0,import_crypto2.randomBytes)(8).toString("hex")}});var EMPTY_DISCOVERY,init_types2=__esm({"src/static-files/types.ts"(){"use strict";EMPTY_DISCOVERY=Object.freeze({mounts:Object.freeze([]),shadowRoutes:Object.freeze([]),excludedFiles:Object.freeze([])})}});function trimTrailingSlashes(urlPath){return urlPath.replace(/\/+$/,"")}function trimSlashes(urlPath){return urlPath.replace(/^\/+|\/+$/g,"")}function mountCovers(base,urlPath){return base===""||urlPath===base||urlPath.startsWith(base+"/")}function byCopyPriority(mounts){return[...mounts.filter(m=>!m.frontend),...mounts.filter(m=>m.frontend).sort((a,b)=>b.urlPath.length-a.urlPath.length)]}function escapeRegex(text){return text.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function logLabel(opts){return opts?.debugLabel??"static-files"}var init_utils=__esm({"src/static-files/utils.ts"(){"use strict"}});function cdnUrlPath(outputStaticDir,destPath){let rel=(0,import_path20.relative)(outputStaticDir,destPath);return rel===""?"/":"/"+rel.split(import_path20.sep).join("/")}async function copyStaticMounts(discovery,outputStaticDir,opts){let excluded=new Set(discovery.excludedFiles),higherPriority=[],copied=[];for(let mount of byCopyPriority(discovery.mounts)){let dest=(0,import_path20.join)(outputStaticDir,trimSlashes(mount.urlPath));try{await import_fs7.default.promises.mkdir(dest,{recursive:!0}),await import_fs7.default.promises.cp(mount.directory,dest,{recursive:!0,force:!1,filter:(_src,destPath)=>{let urlPath=cdnUrlPath(outputStaticDir,destPath);return!higherPriority.some(base=>mountCovers(base,urlPath))&&!excluded.has(urlPath)}}),copied.push(mount),debug(`copied ${mount.directory} -> ${dest}`)}catch(err){debug(`${logLabel(opts)}: skipping ${mount.urlPath}: copy failed (${err})`)}higherPriority.push(trimTrailingSlashes(mount.urlPath))}return copied}async function promoteStaticFiles(discovery,outputStaticDir,opts){let label=logLabel(opts),{mounts}=discovery;if(mounts.length===0)return debug(`${label}: no static mounts found, skipping`),null;debug(`${label}: found ${mounts.length} static mount(s): ${mounts.map(m=>m.urlPath).join(", ")}`);let copiedMounts=await copyStaticMounts(discovery,outputStaticDir,opts);return copiedMounts.length===0?null:{discovery,copiedMounts,outputStaticDir}}var import_fs7,import_path20,init_promote=__esm({"src/static-files/promote.ts"(){"use strict";import_fs7=__toESM(require("fs")),import_path20=require("path");init_debug();init_utils()}});function shadowSrc(bodies){return`^/((?:${bodies.join("|")})/?)$`}function redirectSrc(bodies){return`^/((?:${bodies.join("|")}))$`}function chunkBodies(bodies,wrapperLength){let chunks=[],srcLen=0,dropped=0;for(let body of bodies){if(wrapperLength+body.length>MAX_ROUTE_SRC_LENGTH){dropped+=1;continue}let current=chunks[chunks.length-1];current&&srcLen+1+body.length<=MAX_ROUTE_SRC_LENGTH?(current.push(body),srcLen+=1+body.length):(chunks.push([body]),srcLen=wrapperLength+body.length)}return{chunks,dropped}}function staticShadowRoutes(shadowRoutes,lambdaPath,opts){let byMethods=new Map;for(let sr of shadowRoutes){let key=sr.methods===null?"":JSON.stringify([...sr.methods].sort()),group=byMethods.get(key);group?group.push(sr.body):byMethods.set(key,[sr.body])}let routes=[],dropped=0;for(let[methodsKey,bodies]of byMethods){let methods=methodsKey===""?void 0:JSON.parse(methodsKey),{chunks,dropped:d}=chunkBodies(bodies,SHADOW_SRC_WRAPPER_LENGTH);dropped+=d;for(let chunk of chunks)routes.push({src:shadowSrc(chunk),dest:`/${lambdaPath}`,...methods?{methods}:{},transforms:[{type:"request.path",op:"set",args:"/$1"}]})}return dropped>0&&debug(`${logLabel(opts)}: ${dropped} shadow route(s) over the ${MAX_ROUTE_SRC_LENGTH} char cap left unshadowed`),routes}function staticDirectoryRedirects(mounts,opts){let redirects=[],redirectDropped=0,higherPriority=[];for(let mount of byCopyPriority(mounts)){if(!mount.html&&!mount.frontend){higherPriority.push(trimTrailingSlashes(mount.urlPath));continue}let urlPrefix=trimSlashes(mount.urlPath),bodies=[],collectBodies=(absDir,urlPath)=>{if(!higherPriority.some(base=>mountCovers(base,`/${urlPath}`))){urlPath&&import_fs8.default.existsSync((0,import_path21.join)(absDir,"index.html"))&&bodies.push(escapeRegex(urlPath));for(let entry of import_fs8.default.readdirSync(absDir,{withFileTypes:!0}))entry.isDirectory()&&collectBodies((0,import_path21.join)(absDir,entry.name),urlPath?`${urlPath}/${entry.name}`:entry.name)}};try{collectBodies(mount.directory,urlPrefix)}catch(err){debug(`${logLabel(opts)}: skipping bare-dir redirects for ${mount.urlPath} (${err})`)}higherPriority.push(trimTrailingSlashes(mount.urlPath));let{chunks,dropped}=chunkBodies(bodies,REDIRECT_SRC_WRAPPER_LENGTH);redirectDropped+=dropped;for(let chunk of chunks)redirects.push({src:redirectSrc(chunk),dest:"/$1/",status:307,methods:["GET","HEAD"]})}return redirectDropped>0&&debug(`${logLabel(opts)}: ${redirectDropped} redirect(s) over the ${MAX_ROUTE_SRC_LENGTH} char cap left unredirected`),redirects}function staticFallbackRoutes(copied,discovered,opts){let mountPrefixes=discovered.map(m=>trimTrailingSlashes(m.urlPath));return copied.flatMap(mount=>{let fb=mount.fallback;if(!fb)return[];let isNavigation=fb.status===200,prefix=trimTrailingSlashes(mount.urlPath),nested=mountPrefixes.filter(urlPath=>urlPath.startsWith(`${prefix}/`)).map(urlPath=>urlPath.slice(prefix.length+1)),siblingGuard=nested.length?`(?!(?:${nested.map(escapeRegex).join("|")})(?:/|$))`:"",extensionGuard=isNavigation&&!opts?.useFallbackForExtensionedPaths?"(?!.*[^/.]\\.[^/]*$)":"",src=`^${escapeRegex(prefix)}/${siblingGuard}${extensionGuard}.*$`;return src.length>MAX_ROUTE_SRC_LENGTH?(debug(`${logLabel(opts)}: fallback route for ${mount.urlPath} over the ${MAX_ROUTE_SRC_LENGTH} char cap, served by the Lambda`),[]):[{src,dest:`${prefix}/${fb.file}`,status:fb.status,check:!0,methods:["GET","HEAD"],...isNavigation?{has:[{type:"header",key:"accept",value:NAVIGATION_ACCEPT_RE}]}:{}}]})}var import_fs8,import_path21,MAX_ROUTE_SRC_LENGTH,SHADOW_SRC_WRAPPER_LENGTH,REDIRECT_SRC_WRAPPER_LENGTH,NAVIGATION_ACCEPT_RE,init_routes=__esm({"src/static-files/routes.ts"(){"use strict";import_fs8=__toESM(require("fs")),import_path21=require("path");init_debug();init_utils();MAX_ROUTE_SRC_LENGTH=4096;SHADOW_SRC_WRAPPER_LENGTH=shadowSrc([]).length,REDIRECT_SRC_WRAPPER_LENGTH=redirectSrc([]).length;NAVIGATION_ACCEPT_RE=".*(?:^|[,\\s])(?:text/html|application/xhtml\\+xml)(?=[,;\\s]|$)(?![^,]*;\\s*q=0(?:\\.0+)?(?:[,;\\s]|$)).*"}});function staticBundleExclusions(mounts,workPath,keepFiles){let excludePatterns=[],directoryStubs={};for(let mount of mounts){let relDir=(0,import_path22.relative)(workPath,mount.directory);if(!relDir||relDir.startsWith("..")||(0,import_path22.isAbsolute)(relDir))continue;let relDirUnix=relDir.split(import_path22.sep).join("/");excludePatterns.push(`${relDirUnix}/**`),directoryStubs[`${relDirUnix}/${STATIC_PLACEHOLDER_FILE}`]=new FileBlob({data:""});for(let keepFile of keepFiles){let fsPath=(0,import_path22.join)(mount.directory,keepFile);import_fs9.default.existsSync(fsPath)&&(directoryStubs[`${relDirUnix}/${keepFile}`]=new file_fs_ref_default({fsPath}))}}return{excludePatterns,directoryStubs}}var import_fs9,import_path22,STATIC_PLACEHOLDER_FILE,init_bundle=__esm({"src/static-files/bundle.ts"(){"use strict";import_fs9=__toESM(require("fs")),import_path22=require("path");init_file_blob();init_file_fs_ref();STATIC_PLACEHOLDER_FILE=".static-placeholder"}});var static_files_exports={};__export(static_files_exports,{EMPTY_DISCOVERY:()=>EMPTY_DISCOVERY,MAX_ROUTE_SRC_LENGTH:()=>MAX_ROUTE_SRC_LENGTH,NAVIGATION_ACCEPT_RE:()=>NAVIGATION_ACCEPT_RE,STATIC_PLACEHOLDER_FILE:()=>STATIC_PLACEHOLDER_FILE,copyStaticMounts:()=>copyStaticMounts,promoteStaticFiles:()=>promoteStaticFiles,staticBundleExclusions:()=>staticBundleExclusions,staticDirectoryRedirects:()=>staticDirectoryRedirects,staticFallbackRoutes:()=>staticFallbackRoutes,staticShadowRoutes:()=>staticShadowRoutes});var init_static_files=__esm({"src/static-files/index.ts"(){"use strict";init_types2();init_promote();init_routes();init_bundle()}});var __create2=Object.create,__defProp2=Object.defineProperty,__getOwnPropDesc2=Object.getOwnPropertyDescriptor,__getOwnPropNames2=Object.getOwnPropertyNames,__getProtoOf2=Object.getPrototypeOf,__hasOwnProp2=Object.prototype.hasOwnProperty,__export2=(target,all)=>{for(var name in all)__defProp2(target,name,{get:all[name],enumerable:!0})},__copyProps2=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames2(from))!__hasOwnProp2.call(to,key)&&key!==except&&__defProp2(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc2(from,key))||desc.enumerable});return to},__reExport=(target,mod,secondTarget)=>(__copyProps2(target,mod,"default"),secondTarget&&__copyProps2(secondTarget,mod,"default")),__toESM2=(mod,isNodeMode,target)=>(target=mod!=null?__create2(__getProtoOf2(mod)):{},__copyProps2(isNodeMode||!mod||!mod.__esModule?__defProp2(target,"default",{value:mod,enumerable:!0}):target,mod)),__toCommonJS2=mod=>__copyProps2(__defProp2({},"__esModule",{value:!0}),mod),stdin_exports={};__export2(stdin_exports,{BACKEND_BUILDERS:()=>load_import_framework_helpers().BACKEND_BUILDERS,BACKEND_FRAMEWORKS:()=>load_import_framework_helpers().BACKEND_FRAMEWORKS,ContainerImage:()=>load_import_container_image().ContainerImage,DAEMON_NAME_PATTERN:()=>load_import_daemons().DAEMON_NAME_PATTERN,DEFAULT_MAX_DURATION_LIMIT:()=>load_import_max_duration().DEFAULT_MAX_DURATION_LIMIT,EMPTY_DISCOVERY:()=>load_import_static_files().EMPTY_DISCOVERY,ENV_WRAPPER_SUPPORTED_FAMILIES:()=>load_import_validate_lambda_size().ENV_WRAPPER_SUPPORTED_FAMILIES,EdgeFunction:()=>load_import_edge_function().EdgeFunction,FileBlob:()=>load_import_file_blob().default,FileFsRef:()=>load_import_file_fs_ref().default,FileRef:()=>load_import_file_ref().default,FunctionSizeError:()=>load_import_validate_lambda_size().FunctionSizeError,Lambda:()=>load_import_lambda().Lambda,MAX_LAMBDA_SIZE:()=>load_import_validate_lambda_size().MAX_LAMBDA_SIZE,MAX_LAMBDA_UNCOMPRESSED_SIZE:()=>load_import_validate_lambda_size().MAX_LAMBDA_UNCOMPRESSED_SIZE,NAVIGATION_ACCEPT_RE:()=>load_import_static_files().NAVIGATION_ACCEPT_RE,NODE_VERSIONS:()=>load_import_node_version2().NODE_VERSIONS,NodejsLambda:()=>load_import_nodejs_lambda().NodejsLambda,PYTHON_FRAMEWORKS:()=>load_import_framework_helpers().PYTHON_FRAMEWORKS,Prerender:()=>load_import_prerender().Prerender,SKIP_MAX_DURATION_LIMIT_ENV:()=>load_import_max_duration().SKIP_MAX_DURATION_LIMIT_ENV,SUPPORTED_AL2023_RUNTIMES:()=>load_import_validate_build_result().SUPPORTED_AL2023_RUNTIMES,UNIFIED_BACKEND_BUILDER:()=>load_import_framework_helpers().UNIFIED_BACKEND_BUILDER,buildsSchema:()=>load_import_schemas().buildsSchema,cloneEnv:()=>load_import_clone_env().cloneEnv,collectUncompressedSize:()=>load_import_collect_uncompressed_size().collectUncompressedSize,createDaemonStaticFileFilter:()=>load_import_daemon_static_publishing().createDaemonStaticFileFilter,createFunctionsIterator:()=>load_import_create_functions_iterator().createFunctionsIterator,createLambda:()=>load_import_lambda().createLambda,debug:()=>load_import_debug().default,defaultCachePathGlob:()=>load_import_default_cache_path_glob().defaultCachePathGlob,deserializeBuildOutput:()=>load_import_deserialize_build_output().deserializeBuildOutput,deserializeEdgeFunction:()=>load_import_deserialize_edge_function().deserializeEdgeFunction,deserializeLambda:()=>load_import_deserialize_lambda().deserializeLambda,detectPackageManager:()=>load_import_run_user_scripts().detectPackageManager,download:()=>load_import_download().default,downloadFile:()=>load_import_download().downloadFile,execCommand:()=>load_import_run_user_scripts().execCommand,fileToBuildOutputFile:()=>load_import_file_to_build_output_file().fileToBuildOutputFile,finalizeLambda:()=>load_import_finalize_lambda().finalizeLambda,findMatchingFunction:()=>load_import_lambda().findMatchingFunction,findPackageJson:()=>load_import_find_package_json().findPackageJson,functionsSchema:()=>load_import_schemas().functionsSchema,generateNodeBuilderFunctions:()=>load_import_generate_node_builder_functions().generateNodeBuilderFunctions,generateProjectManifest:()=>load_import_node_diagnostics().generateProjectManifest,generateRubyProjectManifest:()=>load_import_ruby_diagnostics().generateRubyProjectManifest,getBuildResultMetadata:()=>load_import_get_build_result_metadata().getBuildResultMetadata,getContentType:()=>load_import_get_content_type().getContentType,getDaemonImageRepository:()=>load_import_daemons().getDaemonImageRepository,getDaemonNames:()=>load_import_daemons().getDaemonNames,getDiscontinuedNodeVersions:()=>load_import_node_version().getDiscontinuedNodeVersions,getEncryptedEnv:()=>load_import_get_encrypted_env_file().getEncryptedEnv,getEnvForPackageManager:()=>load_import_run_user_scripts().getEnvForPackageManager,getExperimentalServiceUrlEnvVars:()=>load_import_get_service_url_env_vars().getExperimentalServiceUrlEnvVars,getFunctionsSchema:()=>load_import_schemas().getFunctionsSchema,getIgnoreFilter:()=>load_import_get_ignore_filter().default,getInstalledPackageVersion:()=>load_import_get_installed_package_version().getInstalledPackageVersion,getLambdaByOutputPath:()=>load_import_get_lambda_by_output_path().getLambdaByOutputPath,getLambdaEnvironment:()=>load_import_get_lambda_environment().getLambdaEnvironment,getLambdaOptionsFromFunction:()=>load_import_lambda().getLambdaOptionsFromFunction,getLambdaPreloadScripts:()=>load_import_get_lambda_preload_scripts().getLambdaPreloadScripts,getLambdaSupportsStreaming:()=>load_import_get_lambda_supports_streaming().getLambdaSupportsStreaming,getLatestNodeVersion:()=>load_import_node_version().getLatestNodeVersion,getMaxDurationLimit:()=>load_import_max_duration().getMaxDurationLimit,getMaxDurationSchema:()=>load_import_max_duration().getMaxDurationSchema,getNodeBinPath:()=>load_import_run_user_scripts().getNodeBinPath,getNodeBinPaths:()=>load_import_run_user_scripts().getNodeBinPaths,getNodeExecPath:()=>load_import_get_node_exec_path().getNodeExecPath,getNodeVersion:()=>load_import_run_user_scripts().getNodeVersion,getOrCreateBunBinary:()=>load_import_bun_helpers().getOrCreateBunBinary,getPackageJson:()=>load_import_read_config_file().getPackageJson,getPathForPackageManager:()=>load_import_run_user_scripts().getPathForPackageManager,getPlatformEnv:()=>load_import_get_platform_env().getPlatformEnv,getPrefixedEnvVars:()=>load_import_get_prefixed_env_vars().getPrefixedEnvVars,getPrerenderChain:()=>load_import_get_prerender_chain().getPrerenderChain,getProvidedRuntime:()=>load_import_provided_runtime().getProvidedRuntime,getRegExpFromMatchers:()=>load_import_middleware_matcher().getRegExpFromMatchers,getScriptName:()=>load_import_run_user_scripts().getScriptName,getServiceUrlEnvVars:()=>load_import_get_service_url_env_vars().getServiceUrlEnvVars,getSpawnOptions:()=>load_import_run_user_scripts().getSpawnOptions,getSupportedBunVersion:()=>load_import_node_version().getSupportedBunVersion,getSupportedNodeVersion:()=>load_import_node_version().getSupportedNodeVersion,getSymlinkTarget:()=>load_import_download().getSymlinkTarget,getWriteableDirectory:()=>load_import_get_writable_directory().default,glob:()=>load_import_glob().default,hardLinkDir:()=>load_import_hard_link_dir().hardLinkDir,hydrateFilesMap:()=>load_import_hydrate_files_map().hydrateFilesMap,installDependencies:()=>load_import_run_user_scripts().installDependencies,isBackendBuilder:()=>load_import_framework_helpers().isBackendBuilder,isBackendFramework:()=>load_import_framework_helpers().isBackendFramework,isBunVersion:()=>load_import_node_version().isBunVersion,isDirectory:()=>load_import_download().isDirectory,isExperimentalBackendsEnabled:()=>load_import_framework_helpers().isExperimentalBackendsEnabled,isExperimentalBackendsWithoutIntrospectionEnabled:()=>load_import_framework_helpers().isExperimentalBackendsWithoutIntrospectionEnabled,isExternalSymlink:()=>load_import_download().isExternalSymlink,isExternalSymlinkTarget:()=>load_import_download().isExternalSymlinkTarget,isNodeBackendFramework:()=>load_import_framework_helpers().isNodeBackendFramework,isNodeEntrypoint:()=>load_import_node_entrypoint().isNodeEntrypoint,isPackageInstalled:()=>load_import_is_package_installed().isPackageInstalled,isPythonFramework:()=>load_import_framework_helpers().isPythonFramework,isRouteMiddleware:()=>load_import_is_route_middleware().isRouteMiddleware,isSymbolicLink:()=>load_import_download().isSymbolicLink,maybeReadJSON:()=>load_import_maybe_read_json().maybeReadJSON,md5:()=>load_import_stream_to_digest_async().md5,normalizePath:()=>load_import_normalize_path().normalizePath,packageManifestSchema:()=>load_import_schemas().packageManifestSchema,parseGemfileLock:()=>load_import_ruby_diagnostics().parseGemfileLock,prerenderToBuildOutputFile:()=>load_import_prerender_to_build_output_file().prerenderToBuildOutputFile,promoteStaticFiles:()=>load_import_static_files().promoteStaticFiles,readConfigFile:()=>load_import_read_config_file().readConfigFile,rename:()=>load_import_rename().default,resetCustomInstallCommandSet:()=>load_import_run_user_scripts().resetCustomInstallCommandSet,resolveMiddlewareMatcher:()=>load_import_middleware_matcher().resolveMiddlewareMatcher,runBundleInstall:()=>load_import_run_user_scripts().runBundleInstall,runCustomInstallCommand:()=>load_import_run_user_scripts().runCustomInstallCommand,runNpmInstall:()=>load_import_run_user_scripts().runNpmInstall,runPackageJsonScript:()=>load_import_run_user_scripts().runPackageJsonScript,runPipInstall:()=>load_import_run_user_scripts().runPipInstall,runShellScript:()=>load_import_run_user_scripts().runShellScript,sanitizeConsumerName:()=>load_import_lambda().sanitizeConsumerName,scanParentDirs:()=>load_import_run_user_scripts().scanParentDirs,sha256:()=>load_import_stream_to_digest_async().sha256,shouldServe:()=>load_import_should_serve().shouldServe,shouldUseExperimentalBackends:()=>load_import_framework_helpers().shouldUseExperimentalBackends,spawnAsync:()=>load_import_run_user_scripts().spawnAsync,spawnCommand:()=>load_import_run_user_scripts().spawnCommand,staticBundleExclusions:()=>load_import_static_files().staticBundleExclusions,staticDirectoryRedirects:()=>load_import_static_files().staticDirectoryRedirects,staticFallbackRoutes:()=>load_import_static_files().staticFallbackRoutes,staticShadowRoutes:()=>load_import_static_files().staticShadowRoutes,streamToBuffer:()=>load_import_stream_to_buffer().default,streamToBufferChunks:()=>load_import_stream_to_buffer().streamToBufferChunks,streamToDigestAsync:()=>load_import_stream_to_digest_async().streamToDigestAsync,streamWithExtendedPayload:()=>load_import_stream_with_extended_payload().streamWithExtendedPayload,traverseUpDirectories:()=>load_import_find_package_json().traverseUpDirectories,validateBuildResult:()=>load_import_validate_build_result().validateBuildResult,validateDeploymentId:()=>load_import_deserialize_build_output().validateDeploymentId,validateEnvWrapperSupport:()=>load_import_validate_lambda_size().validateEnvWrapperSupport,validateFrameworkVersion:()=>load_import_validate_framework_version().validateFrameworkVersion,validateLambdaSize:()=>load_import_validate_lambda_size().validateLambdaSize,validateNpmrc:()=>load_import_validate_npmrc().validateNpmrc,validatePrerender:()=>load_import_validate_prerender().validatePrerender,validateRegularFile:()=>load_import_validate_regular_file().validateRegularFile,validateUncompressedLambdaSize:()=>load_import_validate_lambda_size().validateUncompressedLambdaSize,walkParentDirs:()=>load_import_find_package_json().walkParentDirs});module.exports=__toCommonJS2(stdin_exports);var import_file_blob5,load_import_file_blob=()=>import_file_blob5??=__toESM2((init_file_blob(),__toCommonJS(file_blob_exports))),import_file_fs_ref6,load_import_file_fs_ref=()=>import_file_fs_ref6??=__toESM2((init_file_fs_ref(),__toCommonJS(file_fs_ref_exports))),import_file_ref,load_import_file_ref=()=>import_file_ref??=__toESM2((init_file_ref(),__toCommonJS(file_ref_exports))),import_lambda3,load_import_lambda=()=>import_lambda3??=(init_lambda(),__toCommonJS(lambda_exports)),import_nodejs_lambda2,load_import_nodejs_lambda=()=>import_nodejs_lambda2??=(init_nodejs_lambda(),__toCommonJS(nodejs_lambda_exports)),import_prerender2,load_import_prerender=()=>import_prerender2??=(init_prerender(),__toCommonJS(prerender_exports)),import_download2,load_import_download=()=>import_download2??=__toESM2((init_download(),__toCommonJS(download_exports))),import_get_writable_directory,load_import_get_writable_directory=()=>import_get_writable_directory??=__toESM2((init_get_writable_directory(),__toCommonJS(get_writable_directory_exports))),import_glob4,load_import_glob=()=>import_glob4??=__toESM2((init_glob(),__toCommonJS(glob_exports))),import_rename,load_import_rename=()=>import_rename??=__toESM2((init_rename(),__toCommonJS(rename_exports))),import_run_user_scripts,load_import_run_user_scripts=()=>import_run_user_scripts??=(init_run_user_scripts(),__toCommonJS(run_user_scripts_exports)),import_node_version2,load_import_node_version=()=>import_node_version2??=(init_node_version(),__toCommonJS(node_version_exports)),import_find_package_json3,load_import_find_package_json=()=>import_find_package_json3??=(init_find_package_json(),__toCommonJS(find_package_json_exports)),import_stream_to_buffer3,load_import_stream_to_buffer=()=>import_stream_to_buffer3??=__toESM2((init_stream_to_buffer(),__toCommonJS(stream_to_buffer_exports))),import_bun_helpers,load_import_bun_helpers=()=>import_bun_helpers??=(init_bun_helpers(),__toCommonJS(bun_helpers_exports)),import_debug11,load_import_debug=()=>import_debug11??=__toESM2((init_debug(),__toCommonJS(debug_exports))),import_get_ignore_filter,load_import_get_ignore_filter=()=>import_get_ignore_filter??=__toESM2((init_get_ignore_filter(),__toCommonJS(get_ignore_filter_exports))),import_get_platform_env2,load_import_get_platform_env=()=>import_get_platform_env2??=(init_get_platform_env(),__toCommonJS(get_platform_env_exports)),import_get_prefixed_env_vars,load_import_get_prefixed_env_vars=()=>import_get_prefixed_env_vars??=(init_get_prefixed_env_vars(),__toCommonJS(get_prefixed_env_vars_exports)),import_get_service_url_env_vars,load_import_get_service_url_env_vars=()=>import_get_service_url_env_vars??=(init_get_service_url_env_vars(),__toCommonJS(get_service_url_env_vars_exports)),import_clone_env2,load_import_clone_env=()=>import_clone_env2??=(init_clone_env(),__toCommonJS(clone_env_exports)),import_hard_link_dir,load_import_hard_link_dir=()=>import_hard_link_dir??=(init_hard_link_dir(),__toCommonJS(hard_link_dir_exports)),import_get_node_exec_path,load_import_get_node_exec_path=()=>import_get_node_exec_path??=(init_get_node_exec_path(),__toCommonJS(get_node_exec_path_exports)),import_validate_npmrc,load_import_validate_npmrc=()=>import_validate_npmrc??=(init_validate_npmrc(),__toCommonJS(validate_npmrc_exports)),import_daemon_static_publishing,load_import_daemon_static_publishing=()=>import_daemon_static_publishing??=(init_daemon_static_publishing(),__toCommonJS(daemon_static_publishing_exports)),import_edge_function2,load_import_edge_function=()=>import_edge_function2??=(init_edge_function(),__toCommonJS(edge_function_exports)),import_container_image,load_import_container_image=()=>import_container_image??=(init_container_image(),__toCommonJS(container_image_exports)),import_read_config_file2,load_import_read_config_file=()=>import_read_config_file2??=(init_read_config_file(),__toCommonJS(read_config_file_exports)),import_normalize_path2,load_import_normalize_path=()=>import_normalize_path2??=(init_normalize_path(),__toCommonJS(normalize_path_exports)),import_provided_runtime,load_import_provided_runtime=()=>import_provided_runtime??=(init_provided_runtime(),__toCommonJS(provided_runtime_exports)),import_should_serve,load_import_should_serve=()=>import_should_serve??=(init_should_serve(),__toCommonJS(should_serve_exports)),import_schemas,load_import_schemas=()=>import_schemas??=(init_schemas(),__toCommonJS(schemas_exports)),import_max_duration2,load_import_max_duration=()=>import_max_duration2??=(init_max_duration(),__toCommonJS(max_duration_exports));__reExport(stdin_exports,(init_package_manifest(),__toCommonJS(package_manifest_exports)),module.exports);__reExport(stdin_exports,(init_deploy_manifest(),__toCommonJS(deploy_manifest_exports)),module.exports);var import_node_diagnostics,load_import_node_diagnostics=()=>import_node_diagnostics??=(init_node_diagnostics(),__toCommonJS(node_diagnostics_exports)),import_ruby_diagnostics,load_import_ruby_diagnostics=()=>import_ruby_diagnostics??=(init_ruby_diagnostics(),__toCommonJS(ruby_diagnostics_exports));__reExport(stdin_exports,(init_types(),__toCommonJS(types_exports)),module.exports);__reExport(stdin_exports,(init_errors(),__toCommonJS(errors_exports)),module.exports);__reExport(stdin_exports,(init_trace2(),__toCommonJS(trace_exports)),module.exports);var import_node_version22,load_import_node_version2=()=>import_node_version22??=(init_node_version(),__toCommonJS(node_version_exports)),import_get_installed_package_version,load_import_get_installed_package_version=()=>import_get_installed_package_version??=(init_get_installed_package_version(),__toCommonJS(get_installed_package_version_exports)),import_is_package_installed,load_import_is_package_installed=()=>import_is_package_installed??=(init_is_package_installed(),__toCommonJS(is_package_installed_exports)),import_default_cache_path_glob,load_import_default_cache_path_glob=()=>import_default_cache_path_glob??=(init_default_cache_path_glob(),__toCommonJS(default_cache_path_glob_exports)),import_generate_node_builder_functions,load_import_generate_node_builder_functions=()=>import_generate_node_builder_functions??=(init_generate_node_builder_functions(),__toCommonJS(generate_node_builder_functions_exports)),import_middleware_matcher,load_import_middleware_matcher=()=>import_middleware_matcher??=(init_middleware_matcher(),__toCommonJS(middleware_matcher_exports)),import_framework_helpers,load_import_framework_helpers=()=>import_framework_helpers??=(init_framework_helpers(),__toCommonJS(framework_helpers_exports)),import_node_entrypoint,load_import_node_entrypoint=()=>import_node_entrypoint??=(init_node_entrypoint(),__toCommonJS(node_entrypoint_exports));__reExport(stdin_exports,(init_service_path_utils(),__toCommonJS(service_path_utils_exports)),module.exports);__reExport(stdin_exports,(init_schedule_path_utils(),__toCommonJS(schedule_path_utils_exports)),module.exports);__reExport(stdin_exports,(init_schedules(),__toCommonJS(schedules_exports)),module.exports);var import_daemons,load_import_daemons=()=>import_daemons??=(init_daemons(),__toCommonJS(daemons_exports)),import_get_encrypted_env_file2,load_import_get_encrypted_env_file=()=>import_get_encrypted_env_file2??=(init_get_encrypted_env_file(),__toCommonJS(get_encrypted_env_file_exports)),import_get_lambda_environment2,load_import_get_lambda_environment=()=>import_get_lambda_environment2??=(init_get_lambda_environment(),__toCommonJS(get_lambda_environment_exports)),import_get_lambda_preload_scripts2,load_import_get_lambda_preload_scripts=()=>import_get_lambda_preload_scripts2??=(init_get_lambda_preload_scripts(),__toCommonJS(get_lambda_preload_scripts_exports)),import_get_lambda_supports_streaming2,load_import_get_lambda_supports_streaming=()=>import_get_lambda_supports_streaming2??=(init_get_lambda_supports_streaming(),__toCommonJS(get_lambda_supports_streaming_exports)),import_stream_to_digest_async3,load_import_stream_to_digest_async=()=>import_stream_to_digest_async3??=(init_stream_to_digest_async(),__toCommonJS(stream_to_digest_async_exports)),import_get_build_result_metadata,load_import_get_build_result_metadata=()=>import_get_build_result_metadata??=(init_get_build_result_metadata(),__toCommonJS(get_build_result_metadata_exports)),import_validate_build_result,load_import_validate_build_result=()=>import_validate_build_result??=(init_validate_build_result(),__toCommonJS(validate_build_result_exports)),import_get_lambda_by_output_path2,load_import_get_lambda_by_output_path=()=>import_get_lambda_by_output_path2??=(init_get_lambda_by_output_path(),__toCommonJS(get_lambda_by_output_path_exports)),import_is_route_middleware2,load_import_is_route_middleware=()=>import_is_route_middleware2??=(init_is_route_middleware(),__toCommonJS(is_route_middleware_exports)),import_get_prerender_chain2,load_import_get_prerender_chain=()=>import_get_prerender_chain2??=(init_get_prerender_chain(),__toCommonJS(get_prerender_chain_exports)),import_stream_with_extended_payload2,load_import_stream_with_extended_payload=()=>import_stream_with_extended_payload2??=(init_stream_with_extended_payload(),__toCommonJS(stream_with_extended_payload_exports)),import_collect_uncompressed_size2,load_import_collect_uncompressed_size=()=>import_collect_uncompressed_size2??=(init_collect_uncompressed_size(),__toCommonJS(collect_uncompressed_size_exports)),import_finalize_lambda,load_import_finalize_lambda=()=>import_finalize_lambda??=(init_finalize_lambda(),__toCommonJS(finalize_lambda_exports)),import_validate_lambda_size,load_import_validate_lambda_size=()=>import_validate_lambda_size??=(init_validate_lambda_size(),__toCommonJS(validate_lambda_size_exports)),import_validate_framework_version2,load_import_validate_framework_version=()=>import_validate_framework_version2??=(init_validate_framework_version(),__toCommonJS(validate_framework_version_exports)),import_hydrate_files_map3,load_import_hydrate_files_map=()=>import_hydrate_files_map3??=(init_hydrate_files_map(),__toCommonJS(hydrate_files_map_exports)),import_create_functions_iterator2,load_import_create_functions_iterator=()=>import_create_functions_iterator2??=(init_create_functions_iterator(),__toCommonJS(create_functions_iterator_exports)),import_maybe_read_json2,load_import_maybe_read_json=()=>import_maybe_read_json2??=(init_maybe_read_json(),__toCommonJS(maybe_read_json_exports)),import_deserialize_build_output,load_import_deserialize_build_output=()=>import_deserialize_build_output??=(init_deserialize_build_output(),__toCommonJS(deserialize_build_output_exports)),import_deserialize_lambda,load_import_deserialize_lambda=()=>import_deserialize_lambda??=(init_deserialize_lambda(),__toCommonJS(deserialize_lambda_exports)),import_deserialize_edge_function2,load_import_deserialize_edge_function=()=>import_deserialize_edge_function2??=(init_deserialize_edge_function(),__toCommonJS(deserialize_edge_function_exports)),import_validate_regular_file2,load_import_validate_regular_file=()=>import_validate_regular_file2??=(init_validate_regular_file(),__toCommonJS(validate_regular_file_exports)),import_validate_prerender,load_import_validate_prerender=()=>import_validate_prerender??=(init_validate_prerender(),__toCommonJS(validate_prerender_exports)),import_get_content_type2,load_import_get_content_type=()=>import_get_content_type2??=(init_get_content_type(),__toCommonJS(get_content_type_exports)),import_file_to_build_output_file2,load_import_file_to_build_output_file=()=>import_file_to_build_output_file2??=(init_file_to_build_output_file(),__toCommonJS(file_to_build_output_file_exports)),import_prerender_to_build_output_file,load_import_prerender_to_build_output_file=()=>import_prerender_to_build_output_file??=(init_prerender_to_build_output_file(),__toCommonJS(prerender_to_build_output_file_exports)),import_static_files,load_import_static_files=()=>import_static_files??=(init_static_files(),__toCommonJS(static_files_exports));
|
|
116
|
+
`,A2.e()-1)}`),{idx:A2.e()});let w=new Set,o=new Set,J=new Set;for(;A2.rre();){let Q3=B2(g2.slice(A2.res(),A2.ree()));Q3&&o.add(Q3)}for(;A2.ru();)J.add(B2(g2.slice(A2.us(),A2.ue())));for(;A2.re();){let Q3=B2(g2.slice(A2.es(),A2.ee()));Q3===void 0||J.has(Q3)||w.add(Q3)}return{exports:[...w],reexports:[...o]}}function B2(A3){if(A3[0]!=='"'&&A3[0]!=="'")return A3;try{let Q3=(0,eval)(A3);for(let A4=0;A4<Q3.length;A4++){let B3=64512&Q3.charCodeAt(A4);if(!(B3<55296)&&(B3!==55296||(64512&Q3.charCodeAt(++A4))!=56320))return}return Q3}catch{}}function E2(A3,Q3){let B3=A3.length,E3=0;for(;E3<B3;){let B4=A3.charCodeAt(E3);Q3[E3++]=(255&B4)<<8|B4>>>8}}function C2(A3,Q3){let B3=A3.length,E3=0;for(;E3<B3;)Q3[E3]=A3.charCodeAt(E3++)}function init2(){return g||(g=(async()=>{let Q3=await WebAssembly.compile((B3="AGFzbQEAAAABrAERYAJ/fwBgAABgAX8Bf2AAAX9gBn9/f39/fwF/YAF/AGAXf39/f39/f39/f39/f39/f39/f39/f38Bf2AIf39/f39/f38Bf2AHf39/f39/fwF/YAN/f38Bf2AFf39/f38Bf2AOf39/f39/f39/f39/f38Bf2AKf39/f39/f39/fwF/YAt/f39/f39/f39/fwF/YAJ/fwF/YAR/f39/AX9gCX9/f39/f39/fwF/A0NCAgMDAwMDAwMDAwMAAAABBAICBQQFAQECAgICAQUBAQUBAQYHAQIIAwICAgkKAgELAgwNDgQPCA4HAgICAhACAgMJBAUBcAEFBQUDAQABBg8CfwFB0JgCC38AQdCYAgsHXA4GbWVtb3J5AgACc2EAAAFlAAECZXMAAgJlZQADA3JlcwAEA3JlZQAFAnVzAAYCdWUABwJyZQAIA3JyZQAJAnJ1AAoIcGFyc2VDSlMADwtfX2hlYXBfYmFzZQMBCQoBAEEBCwQLDA0OCtOhAUJ4AQF/QQAoApgfIgEgAEEBdGoiAE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H0ABATRQ0AIAAQEUUNABAkQQAoArygASEAC0EAIAA2AoxAC0EAKALAoAEhA0EAKAK8oAEhAgwACwsgAgv3AQEEf0EAIQECQEEAKAK8oAEiAkECakHlAEHxAEH1AEHpAEHyAEHlABAmRQ0AQQAhAUEAIAJBDmo2ArygAQJAECdBKEcNAEEAQQAoArygAUECajYCvKABECchA0EAKAK8oAEhBAJAIANBJ0YNACADQSJHDQELIAMQHEEAQQAoArygAUECaiIDNgK8oAEQJ0EpRw0AAkAgAEF/aiIBQQFLDQACQAJAIAEOAgEAAQsgBCADQQAoAqAfEQAAQQEPCyAEIANBACgCoB8RAABBAQ8LQQAoArSgASAENgIAQQAoArSgASADNgIEQQEPC0EAIAI2ArygAQsgAQsdAAJAQQAoApgfIABHDQBBAQ8LIABBfmovAQAQJQv+AgEEf0EAKAKYHyEBAkADQCAAQX5qIQIgAC8BACIDQSBHDQEgACABSyEEIAIhACAEDQALCwJAIANBPUcNAAJAA0AgAkF+aiEAIAIvAQBBIEcNASACIAFLIQQgACECIAQNAAsLIABBAmohAiAAQQRqIQNBACEEAkADQCACECghACACIAFNDQEgAEUNASAAQdwARg0CIAAQKUUNASACQX5BfCAAQYCABEkbaiECIAAQKiEEDAALCyAEQQFxRQ0AIAIvAQBBIEcNAEEAKAK0oAEiBEEAKAKwH0YNACAEIAM2AgwgBCACQQJqNgIIIAJBfmohAEEgIQICQANAIABBAmogAU0NASACQf//A3FBIEcNASAALwEAIQIgAEF+aiEADAALCyACQf//A3FBjn9qIgJBAksNAAJAAkACQCACDgMAAwEACyAAQfYAQeEAECsNAQwCCyAAQewAQeUAECsNACAAQeMAQe8AQe4AQfMAECxFDQELQQAgBEEQajYCtKABCws/AQF/QQAhBgJAIAAvAQAgAUcNACAALwECIAJHDQAgAC8BBCADRw0AIAAvAQYgBEcNACAALwEIIAVGIQYLIAYLpCYBCH9BAEEAKAK8oAEiAUEMajYCvKABIAFBCmohAQJAECdBLkcNAEEAQQAoArygAUECajYCvKABAkACQB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HbAEYNACADQS5HDQJBAEEAKAK8oAFBAmo2ArygARAnEC0NAQwEC0EAQQAoArygAUECajYCvKABAkAQJyIDQSdGDQAgA0EiRw0ECyADEBxBAEEAKAK8oAFBAmo2ArygARAnQd0ARw0DQQBBACgCvKABQQJqNgK8oAELECchAwsCQCADQTtHDQBBAEEAKAK8oAFBAmo2ArygARAnIQMLIANB/QBHDQFBAEEAKAK8oAFBAmo2ArygAQJAECciA0EsRw0AQQBBACgCvKABQQJqNgK8oAEQJyEDCyADQf0ARw0BQQBBACgCvKABQQJqNgK8oAEQJ0EpRw0BIAIgAEEAKAKcHxEAAA8LIAJB6wBHDQEgAEUNAUEAKAK8oAEiAC8BAkHlAEcNASAALwEEQfkARw0BIAAvAQZB8wBHDQEgAEEGaiEBQQAgAEEIajYCvKABECdBKEcNAUEAQQAoArygAUECajYCvKABECchAEEAKAK8oAEhAiAAEC1FDQFBACgCvKABIQAQJ0EpRw0BQQBBACgCvKABIgFBAmo2ArygARAnQS5HDQFBAEEAKAK8oAFBAmo2ArygARAnQeYARw0BQQAoArygASIDQQJqQe8AQfIAQcUAQeEAQeMAQegAECZFDQFBACADQQ5qNgK8oAEQJyEDQQAoArygASIEQX5qIQEgA0EoRw0BQQAgBEECajYCvKABECdB5gBHDQFBACgCvKABIgNBAmpB9QBB7gBB4wBB9ABB6QBB7wBB7gAQI0UNAUEAIANBEGo2ArygARAnQShHDQFBAEEAKAK8oAFBAmo2ArygARAnIQNBACgCvKABIQQgAxAtRQ0BQQAoArygASEDECdBKUcNAUEAQQAoArygAUECajYCvKABECdB+wBHDQFBAEEAKAK8oAFBAmo2ArygARAnQekARw0BQQAoArygASIFLwECQeYARw0BQQAgBUEEajYCvKABECdBKEcNAUEAQQAoArygAUECajYCvKABECcaQQAoArygASIFIAQgAyAEayIDEEENASAAIAJrIgZBAXUhB0EAIAUgA0EBdSIIQQF0ajYCvKABAkACQAJAECciAEEhRg0AIABBPUcNBEEAKAK8oAEiAC8BAkE9Rw0EIAA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ABA3DwsgAEF8akH0AEHoAEHyABA1IQELIAELhwEBA38DQEEAQQAoArygASIAQQJqIgE2ArygAQJAAkACQCAAQQAoAsCgAU8NACABLwEAIgFBpX9qIgJBAU0NAgJAIAFBdmoiAEEDTQ0AIAFBL0cNBAwCCyAADgQAAwMAAAsQHQsPCwJAAkAgAg4CAQABC0EAIABBBGo2ArygAQwBCxBAGgwACwuVAQEEf0EAKAK8oAEhAUEAKALAoAEhAgJAAkADQCABIgNBAmohASADIAJPDQEgAS8BACIEIABGDQICQCAEQdwARg0AIARBdmoiA0EDSw0BIAMOBAIBAQICCyADQQRqIQEgAy8BBEENRw0AIANBBmogASADLwEGQQpGGyEBDAALC0EAIAE2ArygARAdDwtBACABNgK8oAELOAEBf0EAQQE6APAfQQAoArygASEAQQBBACgCwKABQQJqNgK8oAFBACAAQQAoApgfa0EBdTYC7B8LzgEBBX9BACgCvKABIQBBACgCwKABIQEDQCAAIgJBAmohAAJAAkAgAiABTw0AIAAvAQAiA0Gkf2oiBEEETQ0BIANBJEcNAiACLwEEQfsARw0CQQBBAC8BhEAiAEEBajsBhEBBACgCoGAgAEEBdGpBAC8BiEA7AQBBACACQQRqNgK8oAFBAEEALwGGQEEBaiIAOwGIQEEAIAA7AYZADwtBACAANgK8oAEQHQ8LAkACQCAEDgUBAgICAAELQQAgADYCvKABDwsgAkEEaiEADAALC7YCAQJ/QQBBACgCvKABIgFBDmo2ArygAQJAAkACQBAnIgJB2wBGDQAgAkE9Rg0BIAJBLkcNAkEAQQAoArygAUECajYCvKABECchAkEAKAK8oAEhACACEC1FDQJBACgCvKABIQIQJ0E9Rw0CIAAgAkEAKAKcHxEAAA8LQQBBACgCvKABQQJqNgK8oAECQBAnIgJBJ0YNACACQSJHDQILQQAoArygASEAIAIQHEEAQQAoArygAUECaiICNgK8oAEQJ0HdAEcNAUEAQQAoArygAUECajYCvKABECdBPUcNASAAIAJBACgCnB8RAAAMAQsgAEUNAEEAKAKoHxEBAEEAQQAoArygAUECajYCv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AAAAAAAAAAoAAAAKAAAALwAAAA8AAACWAQAABwAAAAIAAAAHAAAAEQAAAAkAAAA5AAAAFQAAAAIAAAANAAAAewAAAAUAAAAEAAAAAAAAAAIAAAABAAAAAgAAAAYAAAACAAAAAAAAAAkAAAAJAAAAMQAAAAQAAAACAAAAAQAAAAIAAAAEAAAACQAAAAkAAABKAQAAAwAAAGpLAAAJAAAAhwAAAAQAAAA8AAAABgAAABoAAAAJAAAA9gMAAAAAAAACAAAANgAAAAgAAAADAAAAUgAAAAAAAAAMAAAAAQAAAKxMAAABAAAAxxQAAAQAAAAEAAAABQAAAAkAAAAHAAAAAwAAAAYAAAAfAAAAAwAAAJUAAAACAAAAigUAADEAAAABAgAANgAAAAUAAAAxAAAACQAAAAAAAAAPAAAAAAAAABcAAAAEAAAAAgAAAA4AAABRBQAABgAAAAIAAAAQAAAAAwAAAAYAAAACAAAAAQAAAAIAAAAEAAAABgEAAAYAAAAKAAAACQAAAKMBAAANAAAA1wUAAAYAAABuAAAABgAAAAYAAAAJAAAAlxIAAAkAAAAHBQwA7wAAAABBmB8LHFCMAAABAAAAAgAAAAMAAAAEAAAAAAQAAPAfAAA=",typeof window<"u"&&typeof atob=="function"?Uint8Array.from(atob(B3),A3=>A3.charCodeAt(0)):Buffer.from(B3,"base64")));var B3;let{exports:E3}=await WebAssembly.instantiate(Q3);A2=E3})())}var A2,Q2,g,init_lexer2=__esm({"../../node_modules/.pnpm/cjs-module-lexer@1.2.3/node_modules/cjs-module-lexer/dist/lexer.mjs"(){Q2=new Uint8Array(new Uint16Array([1]).buffer)[0]===1}});function stripCommentsAndLiterals(content){return content.replace(COMMENT_OR_LITERAL," ")}var BLOCK_COMMENT,LINE_COMMENT,DOUBLE_QUOTED,SINGLE_QUOTED,TEMPLATE_LITERAL,COMMENT_OR_LITERAL,init_strip_comments_and_literals=__esm({"src/strip-comments-and-literals.ts"(){"use strict";BLOCK_COMMENT=/\/\*[\s\S]*?(?:\*\/|$)/,LINE_COMMENT=/\/\/[^\n]*/,DOUBLE_QUOTED=/"(?:\\[\s\S]|[^"\\])*"?/,SINGLE_QUOTED=/'(?:\\[\s\S]|[^'\\])*'?/,TEMPLATE_LITERAL=/`(?:\\[\s\S]|[^`\\])*`?/,COMMENT_OR_LITERAL=new RegExp([BLOCK_COMMENT,LINE_COMMENT,DOUBLE_QUOTED,SINGLE_QUOTED,TEMPLATE_LITERAL].map(pattern=>pattern.source).join("|"),"g")}});var node_entrypoint_exports={};__export(node_entrypoint_exports,{isNodeEntrypoint:()=>isNodeEntrypoint});async function getHandlerExportNames(content){let names=new Set,esmUnparsed=!1;await init;try{let[,exports2]=parse4(content);for(let{n}of exports2)n&&names.add(n)}catch{esmUnparsed=!0}await init2();try{for(let name of parse5(content).exports)names.add(name)}catch{}return{names,esmUnparsed}}async function isNodeEntrypoint(file){try{let fsPath=file.fsPath;if(!fsPath)return!0;let content=await import_fs6.default.promises.readFile(fsPath,"utf-8");if(!content.trim())return!1;let{names,esmUnparsed}=await getHandlerExportNames(content);for(let name of names)if(HANDLER_EXPORTS.has(name))return!0;if(esmUnparsed)return!0;let code=stripCommentsAndLiterals(content);return EXTRA_HANDLER_PATTERNS.some(pattern=>pattern.test(code))}catch(err){return debug(`Failed to check Node.js entrypoint: ${err}`),!0}}var import_fs6,HANDLER_EXPORTS,EXTRA_HANDLER_PATTERNS,init_node_entrypoint=__esm({"src/node-entrypoint.ts"(){"use strict";import_fs6=__toESM(require("fs"));init_lexer();init_lexer2();init_debug();init_strip_comments_and_literals();HANDLER_EXPORTS=new Set(["GET","HEAD","OPTIONS","POST","PUT","DELETE","PATCH","fetch","default"]),EXTRA_HANDLER_PATTERNS=[/\bmodule\.exports\s*=(?!=)/,/\.listen\s*\(/,/\bexport\s*=(?!=)/,/\bexport\s*\*\s*from\b/]}});var service_path_utils_exports={};__export(service_path_utils_exports,{INTERNAL_SERVICE_PREFIX:()=>INTERNAL_SERVICE_PREFIX,SERVICE_NAME_PATTERN:()=>SERVICE_NAME_PATTERN,getInternalServiceCronPath:()=>getInternalServiceCronPath,getInternalServiceCronPathPrefix:()=>getInternalServiceCronPathPrefix,getInternalServiceFunctionPath:()=>getInternalServiceFunctionPath,getInternalServiceWorkerPath:()=>getInternalServiceWorkerPath,getInternalServiceWorkerPathPrefix:()=>getInternalServiceWorkerPathPrefix});function normalizeInternalServiceEntrypoint(entrypoint){return entrypoint.replace(/\\/g,"/").replace(/^\/+/,"").replace(/\.[^/.]+$/,"")||"index"}function getInternalServiceFunctionPath(serviceName){return`${INTERNAL_SERVICE_PREFIX}/${serviceName}/index`}function getInternalServiceCronPathPrefix(serviceName){return`${INTERNAL_SERVICE_PREFIX}/${serviceName}/crons`}function getInternalServiceCronPath(serviceName,entrypoint,handler="cron"){let normalizedEntrypoint=normalizeInternalServiceEntrypoint(entrypoint);return`${getInternalServiceCronPathPrefix(serviceName)}/${normalizedEntrypoint}/${handler}`}function getInternalServiceWorkerPathPrefix(serviceName){return`${INTERNAL_SERVICE_PREFIX}/${serviceName}/workers`}function getInternalServiceWorkerPath(serviceName,entrypoint,handler="worker"){let normalizedEntrypoint=normalizeInternalServiceEntrypoint(entrypoint);return`${getInternalServiceWorkerPathPrefix(serviceName)}/${normalizedEntrypoint}/${handler}`}var INTERNAL_SERVICE_PREFIX,SERVICE_NAME_PATTERN,init_service_path_utils=__esm({"src/service-path-utils.ts"(){"use strict";INTERNAL_SERVICE_PREFIX="/_svc",SERVICE_NAME_PATTERN="^[a-z]([a-z_-]*[a-z])?$"}});var schedule_path_utils_exports={};__export(schedule_path_utils_exports,{SCHEDULE_FUNCTION_PREFIX:()=>SCHEDULE_FUNCTION_PREFIX,getScheduleFunctionPath:()=>getScheduleFunctionPath});function getScheduleFunctionPath(entrypointSegments){if(entrypointSegments.length===0||entrypointSegments.some(segment=>!segment||segment==="."||segment===".."||segment.includes("/")||segment.includes("\\")))throw new Error("Schedule function paths require safe, non-empty segments");return[SCHEDULE_FUNCTION_PREFIX,...entrypointSegments].join("/")}var SCHEDULE_FUNCTION_PREFIX,init_schedule_path_utils=__esm({"src/schedule-path-utils.ts"(){"use strict";SCHEDULE_FUNCTION_PREFIX="_vercel/schedules"}});var schedules_exports={};__export(schedules_exports,{getNamedSchedules:()=>getNamedSchedules,getSchedulesArrayDeprecationWarning:()=>getSchedulesArrayDeprecationWarning,toScheduleRecord:()=>toScheduleRecord});function getNamedSchedules(schedules){return schedules===void 0?[]:Array.isArray(schedules)?[...schedules]:Object.entries(schedules).map(([name,schedule])=>({name,...schedule}))}function toScheduleRecord(schedules){return Object.fromEntries(schedules.map(({name,...schedule})=>[name,schedule]))}function getSchedulesArrayDeprecationWarning(source){return`Listing \`schedules\` as an array in ${source} is deprecated. Key each schedule by its name instead, like \`"schedules": { "nightly": { "schedule": "0 0 * * *", "path": "/api/cron" } }\`.`}var init_schedules=__esm({"src/schedules.ts"(){"use strict"}});var daemons_exports={};__export(daemons_exports,{DAEMON_NAME_PATTERN:()=>DAEMON_NAME_PATTERN,getDaemonImageRepository:()=>getDaemonImageRepository,getDaemonNames:()=>getDaemonNames});function getDaemonNames(config){let daemons=config?.daemons;return typeof daemons!="object"||daemons===null||Array.isArray(daemons)?[]:Object.keys(daemons)}function getDaemonImageRepository(name){return`daemon.${name.replace(/-+/g,"-")}`}var DAEMON_NAME_PATTERN,init_daemons=__esm({"src/daemons.ts"(){"use strict";DAEMON_NAME_PATTERN="^[a-z]+(?:(?:_|__|-+)[a-z]+)*$"}});var stream_to_digest_async_exports={};__export(stream_to_digest_async_exports,{sha256:()=>sha256,streamToDigestAsync:()=>streamToDigestAsync});async function streamToDigestAsync(stream){return await new Promise((resolve4,reject)=>{stream.once("error",reject);let count=0,sha2562=(0,import_crypto.createHash)("sha256"),md5=(0,import_crypto.createHash)("md5");stream.on("end",()=>{let res={sha256:sha2562.digest("hex"),md5:md5.digest("hex"),size:count};resolve4(res)}),stream.on("readable",()=>{let chunk;for(;(chunk=stream.read())!==null;){let buffer=Buffer.isBuffer(chunk)?Uint8Array.from(chunk):Uint8Array.from(Buffer.from(chunk));md5.update(buffer),sha2562.update(buffer),count+=chunk.length}})})}function sha256(value){return(0,import_crypto.createHash)("sha256").update(value).digest("hex")}var import_crypto,init_stream_to_digest_async=__esm({"src/fs/stream-to-digest-async.ts"(){"use strict";import_crypto=require("crypto")}});var EMPTY_DISCOVERY,init_types2=__esm({"src/static-files/types.ts"(){"use strict";EMPTY_DISCOVERY=Object.freeze({mounts:Object.freeze([]),shadowRoutes:Object.freeze([]),excludedFiles:Object.freeze([])})}});function trimTrailingSlashes(urlPath){return urlPath.replace(/\/+$/,"")}function trimSlashes(urlPath){return urlPath.replace(/^\/+|\/+$/g,"")}function mountCovers(base,urlPath){return base===""||urlPath===base||urlPath.startsWith(base+"/")}function byCopyPriority(mounts){return[...mounts.filter(m=>!m.frontend),...mounts.filter(m=>m.frontend).sort((a,b)=>b.urlPath.length-a.urlPath.length)]}function escapeRegex(text){return text.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function logLabel(opts){return opts?.debugLabel??"static-files"}var init_utils=__esm({"src/static-files/utils.ts"(){"use strict"}});function cdnUrlPath(outputStaticDir,destPath){let rel=(0,import_path16.relative)(outputStaticDir,destPath);return rel===""?"/":"/"+rel.split(import_path16.sep).join("/")}async function copyStaticMounts(discovery,outputStaticDir,opts){let excluded=new Set(discovery.excludedFiles),higherPriority=[],copied=[];for(let mount of byCopyPriority(discovery.mounts)){let dest=(0,import_path16.join)(outputStaticDir,trimSlashes(mount.urlPath));try{await import_fs7.default.promises.mkdir(dest,{recursive:!0}),await import_fs7.default.promises.cp(mount.directory,dest,{recursive:!0,force:!1,filter:(_src,destPath)=>{let urlPath=cdnUrlPath(outputStaticDir,destPath);return!higherPriority.some(base=>mountCovers(base,urlPath))&&!excluded.has(urlPath)}}),copied.push(mount),debug(`copied ${mount.directory} -> ${dest}`)}catch(err){debug(`${logLabel(opts)}: skipping ${mount.urlPath}: copy failed (${err})`)}higherPriority.push(trimTrailingSlashes(mount.urlPath))}return copied}async function promoteStaticFiles(discovery,outputStaticDir,opts){let label=logLabel(opts),{mounts}=discovery;if(mounts.length===0)return debug(`${label}: no static mounts found, skipping`),null;debug(`${label}: found ${mounts.length} static mount(s): ${mounts.map(m=>m.urlPath).join(", ")}`);let copiedMounts=await copyStaticMounts(discovery,outputStaticDir,opts);return copiedMounts.length===0?null:{discovery,copiedMounts,outputStaticDir}}var import_fs7,import_path16,init_promote=__esm({"src/static-files/promote.ts"(){"use strict";import_fs7=__toESM(require("fs")),import_path16=require("path");init_debug();init_utils()}});function shadowSrc(bodies){return`^/((?:${bodies.join("|")})/?)$`}function redirectSrc(bodies){return`^/((?:${bodies.join("|")}))$`}function chunkBodies(bodies,wrapperLength){let chunks=[],srcLen=0,dropped=0;for(let body of bodies){if(wrapperLength+body.length>MAX_ROUTE_SRC_LENGTH){dropped+=1;continue}let current=chunks[chunks.length-1];current&&srcLen+1+body.length<=MAX_ROUTE_SRC_LENGTH?(current.push(body),srcLen+=1+body.length):(chunks.push([body]),srcLen=wrapperLength+body.length)}return{chunks,dropped}}function staticShadowRoutes(shadowRoutes,lambdaPath,opts){let byMethods=new Map;for(let sr of shadowRoutes){let key=sr.methods===null?"":JSON.stringify([...sr.methods].sort()),group=byMethods.get(key);group?group.push(sr.body):byMethods.set(key,[sr.body])}let routes=[],dropped=0;for(let[methodsKey,bodies]of byMethods){let methods=methodsKey===""?void 0:JSON.parse(methodsKey),{chunks,dropped:d}=chunkBodies(bodies,SHADOW_SRC_WRAPPER_LENGTH);dropped+=d;for(let chunk of chunks)routes.push({src:shadowSrc(chunk),dest:`/${lambdaPath}`,...methods?{methods}:{},transforms:[{type:"request.path",op:"set",args:"/$1"}]})}return dropped>0&&debug(`${logLabel(opts)}: ${dropped} shadow route(s) over the ${MAX_ROUTE_SRC_LENGTH} char cap left unshadowed`),routes}function staticDirectoryRedirects(mounts,opts){let redirects=[],redirectDropped=0,higherPriority=[];for(let mount of byCopyPriority(mounts)){if(!mount.html&&!mount.frontend){higherPriority.push(trimTrailingSlashes(mount.urlPath));continue}let urlPrefix=trimSlashes(mount.urlPath),bodies=[],collectBodies=(absDir,urlPath)=>{if(!higherPriority.some(base=>mountCovers(base,`/${urlPath}`))){urlPath&&import_fs8.default.existsSync((0,import_path17.join)(absDir,"index.html"))&&bodies.push(escapeRegex(urlPath));for(let entry of import_fs8.default.readdirSync(absDir,{withFileTypes:!0}))entry.isDirectory()&&collectBodies((0,import_path17.join)(absDir,entry.name),urlPath?`${urlPath}/${entry.name}`:entry.name)}};try{collectBodies(mount.directory,urlPrefix)}catch(err){debug(`${logLabel(opts)}: skipping bare-dir redirects for ${mount.urlPath} (${err})`)}higherPriority.push(trimTrailingSlashes(mount.urlPath));let{chunks,dropped}=chunkBodies(bodies,REDIRECT_SRC_WRAPPER_LENGTH);redirectDropped+=dropped;for(let chunk of chunks)redirects.push({src:redirectSrc(chunk),dest:"/$1/",status:307,methods:["GET","HEAD"]})}return redirectDropped>0&&debug(`${logLabel(opts)}: ${redirectDropped} redirect(s) over the ${MAX_ROUTE_SRC_LENGTH} char cap left unredirected`),redirects}function staticFallbackRoutes(copied,discovered,opts){let mountPrefixes=discovered.map(m=>trimTrailingSlashes(m.urlPath));return copied.flatMap(mount=>{let fb=mount.fallback;if(!fb)return[];let isNavigation=fb.status===200,prefix=trimTrailingSlashes(mount.urlPath),nested=mountPrefixes.filter(urlPath=>urlPath.startsWith(`${prefix}/`)).map(urlPath=>urlPath.slice(prefix.length+1)),siblingGuard=nested.length?`(?!(?:${nested.map(escapeRegex).join("|")})(?:/|$))`:"",extensionGuard=isNavigation&&!opts?.useFallbackForExtensionedPaths?"(?!.*[^/.]\\.[^/]*$)":"",src=`^${escapeRegex(prefix)}/${siblingGuard}${extensionGuard}.*$`;return src.length>MAX_ROUTE_SRC_LENGTH?(debug(`${logLabel(opts)}: fallback route for ${mount.urlPath} over the ${MAX_ROUTE_SRC_LENGTH} char cap, served by the Lambda`),[]):[{src,dest:`${prefix}/${fb.file}`,status:fb.status,check:!0,methods:["GET","HEAD"],...isNavigation?{has:[{type:"header",key:"accept",value:NAVIGATION_ACCEPT_RE}]}:{}}]})}var import_fs8,import_path17,MAX_ROUTE_SRC_LENGTH,SHADOW_SRC_WRAPPER_LENGTH,REDIRECT_SRC_WRAPPER_LENGTH,NAVIGATION_ACCEPT_RE,init_routes=__esm({"src/static-files/routes.ts"(){"use strict";import_fs8=__toESM(require("fs")),import_path17=require("path");init_debug();init_utils();MAX_ROUTE_SRC_LENGTH=4096;SHADOW_SRC_WRAPPER_LENGTH=shadowSrc([]).length,REDIRECT_SRC_WRAPPER_LENGTH=redirectSrc([]).length;NAVIGATION_ACCEPT_RE=".*(?:^|[,\\s])(?:text/html|application/xhtml\\+xml)(?=[,;\\s]|$)(?![^,]*;\\s*q=0(?:\\.0+)?(?:[,;\\s]|$)).*"}});function staticBundleExclusions(mounts,workPath,keepFiles){let excludePatterns=[],directoryStubs={};for(let mount of mounts){let relDir=(0,import_path18.relative)(workPath,mount.directory);if(!relDir||relDir.startsWith("..")||(0,import_path18.isAbsolute)(relDir))continue;let relDirUnix=relDir.split(import_path18.sep).join("/");excludePatterns.push(`${relDirUnix}/**`),directoryStubs[`${relDirUnix}/${STATIC_PLACEHOLDER_FILE}`]=new FileBlob({data:""});for(let keepFile of keepFiles){let fsPath=(0,import_path18.join)(mount.directory,keepFile);import_fs9.default.existsSync(fsPath)&&(directoryStubs[`${relDirUnix}/${keepFile}`]=new file_fs_ref_default({fsPath}))}}return{excludePatterns,directoryStubs}}var import_fs9,import_path18,STATIC_PLACEHOLDER_FILE,init_bundle=__esm({"src/static-files/bundle.ts"(){"use strict";import_fs9=__toESM(require("fs")),import_path18=require("path");init_file_blob();init_file_fs_ref();STATIC_PLACEHOLDER_FILE=".static-placeholder"}});var static_files_exports={};__export(static_files_exports,{EMPTY_DISCOVERY:()=>EMPTY_DISCOVERY,MAX_ROUTE_SRC_LENGTH:()=>MAX_ROUTE_SRC_LENGTH,NAVIGATION_ACCEPT_RE:()=>NAVIGATION_ACCEPT_RE,STATIC_PLACEHOLDER_FILE:()=>STATIC_PLACEHOLDER_FILE,copyStaticMounts:()=>copyStaticMounts,promoteStaticFiles:()=>promoteStaticFiles,staticBundleExclusions:()=>staticBundleExclusions,staticDirectoryRedirects:()=>staticDirectoryRedirects,staticFallbackRoutes:()=>staticFallbackRoutes,staticShadowRoutes:()=>staticShadowRoutes});var init_static_files=__esm({"src/static-files/index.ts"(){"use strict";init_types2();init_promote();init_routes();init_bundle()}});var __create2=Object.create,__defProp2=Object.defineProperty,__getOwnPropDesc2=Object.getOwnPropertyDescriptor,__getOwnPropNames2=Object.getOwnPropertyNames,__getProtoOf2=Object.getPrototypeOf,__hasOwnProp2=Object.prototype.hasOwnProperty,__export2=(target,all)=>{for(var name in all)__defProp2(target,name,{get:all[name],enumerable:!0})},__copyProps2=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames2(from))!__hasOwnProp2.call(to,key)&&key!==except&&__defProp2(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc2(from,key))||desc.enumerable});return to},__reExport=(target,mod,secondTarget)=>(__copyProps2(target,mod,"default"),secondTarget&&__copyProps2(secondTarget,mod,"default")),__toESM2=(mod,isNodeMode,target)=>(target=mod!=null?__create2(__getProtoOf2(mod)):{},__copyProps2(isNodeMode||!mod||!mod.__esModule?__defProp2(target,"default",{value:mod,enumerable:!0}):target,mod)),__toCommonJS2=mod=>__copyProps2(__defProp2({},"__esModule",{value:!0}),mod),stdin_exports={};__export2(stdin_exports,{BACKEND_BUILDERS:()=>load_import_framework_helpers().BACKEND_BUILDERS,BACKEND_FRAMEWORKS:()=>load_import_framework_helpers().BACKEND_FRAMEWORKS,ContainerImage:()=>load_import_container_image().ContainerImage,DAEMON_NAME_PATTERN:()=>load_import_daemons().DAEMON_NAME_PATTERN,DEFAULT_MAX_DURATION_LIMIT:()=>load_import_max_duration().DEFAULT_MAX_DURATION_LIMIT,EMPTY_DISCOVERY:()=>load_import_static_files().EMPTY_DISCOVERY,EdgeFunction:()=>load_import_edge_function().EdgeFunction,FileBlob:()=>load_import_file_blob().default,FileFsRef:()=>load_import_file_fs_ref().default,FileRef:()=>load_import_file_ref().default,Lambda:()=>load_import_lambda().Lambda,NAVIGATION_ACCEPT_RE:()=>load_import_static_files().NAVIGATION_ACCEPT_RE,NODE_VERSIONS:()=>load_import_node_version2().NODE_VERSIONS,NodejsLambda:()=>load_import_nodejs_lambda().NodejsLambda,PYTHON_FRAMEWORKS:()=>load_import_framework_helpers().PYTHON_FRAMEWORKS,Prerender:()=>load_import_prerender().Prerender,SKIP_MAX_DURATION_LIMIT_ENV:()=>load_import_max_duration().SKIP_MAX_DURATION_LIMIT_ENV,UNIFIED_BACKEND_BUILDER:()=>load_import_framework_helpers().UNIFIED_BACKEND_BUILDER,buildsSchema:()=>load_import_schemas().buildsSchema,cloneEnv:()=>load_import_clone_env().cloneEnv,createDaemonStaticFileFilter:()=>load_import_daemon_static_publishing().createDaemonStaticFileFilter,createLambda:()=>load_import_lambda().createLambda,debug:()=>load_import_debug().default,defaultCachePathGlob:()=>load_import_default_cache_path_glob().defaultCachePathGlob,detectPackageManager:()=>load_import_run_user_scripts().detectPackageManager,download:()=>load_import_download().default,downloadFile:()=>load_import_download().downloadFile,execCommand:()=>load_import_run_user_scripts().execCommand,findMatchingFunction:()=>load_import_lambda().findMatchingFunction,findPackageJson:()=>load_import_find_package_json().findPackageJson,functionsSchema:()=>load_import_schemas().functionsSchema,generateNodeBuilderFunctions:()=>load_import_generate_node_builder_functions().generateNodeBuilderFunctions,generateProjectManifest:()=>load_import_node_diagnostics().generateProjectManifest,generateRubyProjectManifest:()=>load_import_ruby_diagnostics().generateRubyProjectManifest,getDaemonImageRepository:()=>load_import_daemons().getDaemonImageRepository,getDaemonNames:()=>load_import_daemons().getDaemonNames,getDiscontinuedNodeVersions:()=>load_import_node_version().getDiscontinuedNodeVersions,getEnvForPackageManager:()=>load_import_run_user_scripts().getEnvForPackageManager,getExperimentalServiceUrlEnvVars:()=>load_import_get_service_url_env_vars().getExperimentalServiceUrlEnvVars,getFunctionsSchema:()=>load_import_schemas().getFunctionsSchema,getIgnoreFilter:()=>load_import_get_ignore_filter().default,getInstalledPackageVersion:()=>load_import_get_installed_package_version().getInstalledPackageVersion,getLambdaOptionsFromFunction:()=>load_import_lambda().getLambdaOptionsFromFunction,getLatestNodeVersion:()=>load_import_node_version().getLatestNodeVersion,getMaxDurationLimit:()=>load_import_max_duration().getMaxDurationLimit,getMaxDurationSchema:()=>load_import_max_duration().getMaxDurationSchema,getNodeBinPath:()=>load_import_run_user_scripts().getNodeBinPath,getNodeBinPaths:()=>load_import_run_user_scripts().getNodeBinPaths,getNodeExecPath:()=>load_import_get_node_exec_path().getNodeExecPath,getNodeVersion:()=>load_import_run_user_scripts().getNodeVersion,getOrCreateBunBinary:()=>load_import_bun_helpers().getOrCreateBunBinary,getPackageJson:()=>load_import_read_config_file().getPackageJson,getPathForPackageManager:()=>load_import_run_user_scripts().getPathForPackageManager,getPlatformEnv:()=>load_import_get_platform_env().getPlatformEnv,getPrefixedEnvVars:()=>load_import_get_prefixed_env_vars().getPrefixedEnvVars,getProvidedRuntime:()=>load_import_provided_runtime().getProvidedRuntime,getRegExpFromMatchers:()=>load_import_middleware_matcher().getRegExpFromMatchers,getScriptName:()=>load_import_run_user_scripts().getScriptName,getServiceUrlEnvVars:()=>load_import_get_service_url_env_vars().getServiceUrlEnvVars,getSpawnOptions:()=>load_import_run_user_scripts().getSpawnOptions,getSupportedBunVersion:()=>load_import_node_version().getSupportedBunVersion,getSupportedNodeVersion:()=>load_import_node_version().getSupportedNodeVersion,getSymlinkTarget:()=>load_import_download().getSymlinkTarget,getWriteableDirectory:()=>load_import_get_writable_directory().default,glob:()=>load_import_glob().default,hardLinkDir:()=>load_import_hard_link_dir().hardLinkDir,installDependencies:()=>load_import_run_user_scripts().installDependencies,isBackendBuilder:()=>load_import_framework_helpers().isBackendBuilder,isBackendFramework:()=>load_import_framework_helpers().isBackendFramework,isBunVersion:()=>load_import_node_version().isBunVersion,isDirectory:()=>load_import_download().isDirectory,isExperimentalBackendsEnabled:()=>load_import_framework_helpers().isExperimentalBackendsEnabled,isExperimentalBackendsWithoutIntrospectionEnabled:()=>load_import_framework_helpers().isExperimentalBackendsWithoutIntrospectionEnabled,isExternalSymlink:()=>load_import_download().isExternalSymlink,isExternalSymlinkTarget:()=>load_import_download().isExternalSymlinkTarget,isNodeBackendFramework:()=>load_import_framework_helpers().isNodeBackendFramework,isNodeEntrypoint:()=>load_import_node_entrypoint().isNodeEntrypoint,isPackageInstalled:()=>load_import_is_package_installed().isPackageInstalled,isPythonFramework:()=>load_import_framework_helpers().isPythonFramework,isSymbolicLink:()=>load_import_download().isSymbolicLink,normalizePath:()=>load_import_normalize_path().normalizePath,packageManifestSchema:()=>load_import_schemas().packageManifestSchema,parseGemfileLock:()=>load_import_ruby_diagnostics().parseGemfileLock,promoteStaticFiles:()=>load_import_static_files().promoteStaticFiles,readConfigFile:()=>load_import_read_config_file().readConfigFile,rename:()=>load_import_rename().default,resetCustomInstallCommandSet:()=>load_import_run_user_scripts().resetCustomInstallCommandSet,resolveMiddlewareMatcher:()=>load_import_middleware_matcher().resolveMiddlewareMatcher,runBundleInstall:()=>load_import_run_user_scripts().runBundleInstall,runCustomInstallCommand:()=>load_import_run_user_scripts().runCustomInstallCommand,runNpmInstall:()=>load_import_run_user_scripts().runNpmInstall,runPackageJsonScript:()=>load_import_run_user_scripts().runPackageJsonScript,runPipInstall:()=>load_import_run_user_scripts().runPipInstall,runShellScript:()=>load_import_run_user_scripts().runShellScript,sanitizeConsumerName:()=>load_import_lambda().sanitizeConsumerName,scanParentDirs:()=>load_import_run_user_scripts().scanParentDirs,sha256:()=>load_import_stream_to_digest_async().sha256,shouldServe:()=>load_import_should_serve().shouldServe,shouldUseExperimentalBackends:()=>load_import_framework_helpers().shouldUseExperimentalBackends,spawnAsync:()=>load_import_run_user_scripts().spawnAsync,spawnCommand:()=>load_import_run_user_scripts().spawnCommand,staticBundleExclusions:()=>load_import_static_files().staticBundleExclusions,staticDirectoryRedirects:()=>load_import_static_files().staticDirectoryRedirects,staticFallbackRoutes:()=>load_import_static_files().staticFallbackRoutes,staticShadowRoutes:()=>load_import_static_files().staticShadowRoutes,streamToBuffer:()=>load_import_stream_to_buffer().default,streamToBufferChunks:()=>load_import_stream_to_buffer().streamToBufferChunks,streamToDigestAsync:()=>load_import_stream_to_digest_async().streamToDigestAsync,traverseUpDirectories:()=>load_import_find_package_json().traverseUpDirectories,validateNpmrc:()=>load_import_validate_npmrc().validateNpmrc,walkParentDirs:()=>load_import_find_package_json().walkParentDirs});module.exports=__toCommonJS2(stdin_exports);var import_file_blob3,load_import_file_blob=()=>import_file_blob3??=__toESM2((init_file_blob(),__toCommonJS(file_blob_exports))),import_file_fs_ref4,load_import_file_fs_ref=()=>import_file_fs_ref4??=__toESM2((init_file_fs_ref(),__toCommonJS(file_fs_ref_exports))),import_file_ref,load_import_file_ref=()=>import_file_ref??=__toESM2((init_file_ref(),__toCommonJS(file_ref_exports))),import_lambda2,load_import_lambda=()=>import_lambda2??=(init_lambda(),__toCommonJS(lambda_exports)),import_nodejs_lambda,load_import_nodejs_lambda=()=>import_nodejs_lambda??=(init_nodejs_lambda(),__toCommonJS(nodejs_lambda_exports)),import_prerender,load_import_prerender=()=>import_prerender??=(init_prerender(),__toCommonJS(prerender_exports)),import_download2,load_import_download=()=>import_download2??=__toESM2((init_download(),__toCommonJS(download_exports))),import_get_writable_directory,load_import_get_writable_directory=()=>import_get_writable_directory??=__toESM2((init_get_writable_directory(),__toCommonJS(get_writable_directory_exports))),import_glob3,load_import_glob=()=>import_glob3??=__toESM2((init_glob(),__toCommonJS(glob_exports))),import_rename,load_import_rename=()=>import_rename??=__toESM2((init_rename(),__toCommonJS(rename_exports))),import_run_user_scripts,load_import_run_user_scripts=()=>import_run_user_scripts??=(init_run_user_scripts(),__toCommonJS(run_user_scripts_exports)),import_node_version2,load_import_node_version=()=>import_node_version2??=(init_node_version(),__toCommonJS(node_version_exports)),import_find_package_json3,load_import_find_package_json=()=>import_find_package_json3??=(init_find_package_json(),__toCommonJS(find_package_json_exports)),import_stream_to_buffer3,load_import_stream_to_buffer=()=>import_stream_to_buffer3??=__toESM2((init_stream_to_buffer(),__toCommonJS(stream_to_buffer_exports))),import_bun_helpers,load_import_bun_helpers=()=>import_bun_helpers??=(init_bun_helpers(),__toCommonJS(bun_helpers_exports)),import_debug11,load_import_debug=()=>import_debug11??=__toESM2((init_debug(),__toCommonJS(debug_exports))),import_get_ignore_filter,load_import_get_ignore_filter=()=>import_get_ignore_filter??=__toESM2((init_get_ignore_filter(),__toCommonJS(get_ignore_filter_exports))),import_get_platform_env2,load_import_get_platform_env=()=>import_get_platform_env2??=(init_get_platform_env(),__toCommonJS(get_platform_env_exports)),import_get_prefixed_env_vars,load_import_get_prefixed_env_vars=()=>import_get_prefixed_env_vars??=(init_get_prefixed_env_vars(),__toCommonJS(get_prefixed_env_vars_exports)),import_get_service_url_env_vars,load_import_get_service_url_env_vars=()=>import_get_service_url_env_vars??=(init_get_service_url_env_vars(),__toCommonJS(get_service_url_env_vars_exports)),import_clone_env2,load_import_clone_env=()=>import_clone_env2??=(init_clone_env(),__toCommonJS(clone_env_exports)),import_hard_link_dir,load_import_hard_link_dir=()=>import_hard_link_dir??=(init_hard_link_dir(),__toCommonJS(hard_link_dir_exports)),import_get_node_exec_path,load_import_get_node_exec_path=()=>import_get_node_exec_path??=(init_get_node_exec_path(),__toCommonJS(get_node_exec_path_exports)),import_validate_npmrc,load_import_validate_npmrc=()=>import_validate_npmrc??=(init_validate_npmrc(),__toCommonJS(validate_npmrc_exports)),import_daemon_static_publishing,load_import_daemon_static_publishing=()=>import_daemon_static_publishing??=(init_daemon_static_publishing(),__toCommonJS(daemon_static_publishing_exports)),import_edge_function,load_import_edge_function=()=>import_edge_function??=(init_edge_function(),__toCommonJS(edge_function_exports)),import_container_image,load_import_container_image=()=>import_container_image??=(init_container_image(),__toCommonJS(container_image_exports)),import_read_config_file2,load_import_read_config_file=()=>import_read_config_file2??=(init_read_config_file(),__toCommonJS(read_config_file_exports)),import_normalize_path2,load_import_normalize_path=()=>import_normalize_path2??=(init_normalize_path(),__toCommonJS(normalize_path_exports)),import_provided_runtime,load_import_provided_runtime=()=>import_provided_runtime??=(init_provided_runtime(),__toCommonJS(provided_runtime_exports)),import_should_serve,load_import_should_serve=()=>import_should_serve??=(init_should_serve(),__toCommonJS(should_serve_exports)),import_schemas,load_import_schemas=()=>import_schemas??=(init_schemas(),__toCommonJS(schemas_exports)),import_max_duration2,load_import_max_duration=()=>import_max_duration2??=(init_max_duration(),__toCommonJS(max_duration_exports));__reExport(stdin_exports,(init_package_manifest(),__toCommonJS(package_manifest_exports)),module.exports);__reExport(stdin_exports,(init_deploy_manifest(),__toCommonJS(deploy_manifest_exports)),module.exports);var import_node_diagnostics,load_import_node_diagnostics=()=>import_node_diagnostics??=(init_node_diagnostics(),__toCommonJS(node_diagnostics_exports)),import_ruby_diagnostics,load_import_ruby_diagnostics=()=>import_ruby_diagnostics??=(init_ruby_diagnostics(),__toCommonJS(ruby_diagnostics_exports));__reExport(stdin_exports,(init_types(),__toCommonJS(types_exports)),module.exports);__reExport(stdin_exports,(init_errors(),__toCommonJS(errors_exports)),module.exports);__reExport(stdin_exports,(init_trace2(),__toCommonJS(trace_exports)),module.exports);var import_node_version22,load_import_node_version2=()=>import_node_version22??=(init_node_version(),__toCommonJS(node_version_exports)),import_get_installed_package_version,load_import_get_installed_package_version=()=>import_get_installed_package_version??=(init_get_installed_package_version(),__toCommonJS(get_installed_package_version_exports)),import_is_package_installed,load_import_is_package_installed=()=>import_is_package_installed??=(init_is_package_installed(),__toCommonJS(is_package_installed_exports)),import_default_cache_path_glob,load_import_default_cache_path_glob=()=>import_default_cache_path_glob??=(init_default_cache_path_glob(),__toCommonJS(default_cache_path_glob_exports)),import_generate_node_builder_functions,load_import_generate_node_builder_functions=()=>import_generate_node_builder_functions??=(init_generate_node_builder_functions(),__toCommonJS(generate_node_builder_functions_exports)),import_middleware_matcher,load_import_middleware_matcher=()=>import_middleware_matcher??=(init_middleware_matcher(),__toCommonJS(middleware_matcher_exports)),import_framework_helpers,load_import_framework_helpers=()=>import_framework_helpers??=(init_framework_helpers(),__toCommonJS(framework_helpers_exports)),import_node_entrypoint,load_import_node_entrypoint=()=>import_node_entrypoint??=(init_node_entrypoint(),__toCommonJS(node_entrypoint_exports));__reExport(stdin_exports,(init_service_path_utils(),__toCommonJS(service_path_utils_exports)),module.exports);__reExport(stdin_exports,(init_schedule_path_utils(),__toCommonJS(schedule_path_utils_exports)),module.exports);__reExport(stdin_exports,(init_schedules(),__toCommonJS(schedules_exports)),module.exports);var import_daemons,load_import_daemons=()=>import_daemons??=(init_daemons(),__toCommonJS(daemons_exports)),import_stream_to_digest_async,load_import_stream_to_digest_async=()=>import_stream_to_digest_async??=(init_stream_to_digest_async(),__toCommonJS(stream_to_digest_async_exports)),import_static_files,load_import_static_files=()=>import_static_files??=(init_static_files(),__toCommonJS(static_files_exports));
|
|
120
117
|
/*! Bundled license information:
|
|
121
118
|
|
|
122
119
|
smol-toml/dist/error.js:
|
|
@@ -379,30 +376,7 @@ smol-toml/dist/index.js:
|
|
|
379
376
|
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
380
377
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
381
378
|
*)
|
|
382
|
-
|
|
383
|
-
bytes/index.js:
|
|
384
|
-
(*!
|
|
385
|
-
* bytes
|
|
386
|
-
* Copyright(c) 2012-2014 TJ Holowaychuk
|
|
387
|
-
* Copyright(c) 2015 Jed Watson
|
|
388
|
-
* MIT Licensed
|
|
389
|
-
*)
|
|
390
|
-
|
|
391
|
-
mime-db/index.js:
|
|
392
|
-
(*!
|
|
393
|
-
* mime-db
|
|
394
|
-
* Copyright(c) 2014 Jonathan Ong
|
|
395
|
-
* MIT Licensed
|
|
396
|
-
*)
|
|
397
|
-
|
|
398
|
-
mime-types/index.js:
|
|
399
|
-
(*!
|
|
400
|
-
* mime-types
|
|
401
|
-
* Copyright(c) 2014 Jonathan Ong
|
|
402
|
-
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
403
|
-
* MIT Licensed
|
|
404
|
-
*)
|
|
405
379
|
*/
|
|
406
380
|
|
|
407
381
|
// Named exports for Node's CommonJS lexer.
|
|
408
|
-
0 && (module.exports = {"BACKEND_BUILDERS": null,"BACKEND_FRAMEWORKS": null,"ContainerImage": null,"DAEMON_NAME_PATTERN": null,"DEFAULT_MAX_DURATION_LIMIT": null,"EMPTY_DISCOVERY": null,"
|
|
382
|
+
0 && (module.exports = {"BACKEND_BUILDERS": null,"BACKEND_FRAMEWORKS": null,"ContainerImage": null,"DAEMON_NAME_PATTERN": null,"DEFAULT_MAX_DURATION_LIMIT": null,"EMPTY_DISCOVERY": null,"EdgeFunction": null,"FileBlob": null,"FileFsRef": null,"FileRef": null,"Lambda": null,"NAVIGATION_ACCEPT_RE": null,"NODE_VERSIONS": null,"NodejsLambda": null,"PYTHON_FRAMEWORKS": null,"Prerender": null,"SKIP_MAX_DURATION_LIMIT_ENV": null,"UNIFIED_BACKEND_BUILDER": null,"buildsSchema": null,"cloneEnv": null,"createDaemonStaticFileFilter": null,"createLambda": null,"debug": null,"defaultCachePathGlob": null,"detectPackageManager": null,"download": null,"downloadFile": null,"execCommand": null,"findMatchingFunction": null,"findPackageJson": null,"functionsSchema": null,"generateNodeBuilderFunctions": null,"generateProjectManifest": null,"generateRubyProjectManifest": null,"getDaemonImageRepository": null,"getDaemonNames": null,"getDiscontinuedNodeVersions": null,"getEnvForPackageManager": null,"getExperimentalServiceUrlEnvVars": null,"getFunctionsSchema": null,"getIgnoreFilter": null,"getInstalledPackageVersion": null,"getLambdaOptionsFromFunction": null,"getLatestNodeVersion": null,"getMaxDurationLimit": null,"getMaxDurationSchema": null,"getNodeBinPath": null,"getNodeBinPaths": null,"getNodeExecPath": null,"getNodeVersion": null,"getOrCreateBunBinary": null,"getPackageJson": null,"getPathForPackageManager": null,"getPlatformEnv": null,"getPrefixedEnvVars": null,"getProvidedRuntime": null,"getRegExpFromMatchers": null,"getScriptName": null,"getServiceUrlEnvVars": null,"getSpawnOptions": null,"getSupportedBunVersion": null,"getSupportedNodeVersion": null,"getSymlinkTarget": null,"getWriteableDirectory": null,"glob": null,"hardLinkDir": null,"installDependencies": null,"isBackendBuilder": null,"isBackendFramework": null,"isBunVersion": null,"isDirectory": null,"isExperimentalBackendsEnabled": null,"isExperimentalBackendsWithoutIntrospectionEnabled": null,"isExternalSymlink": null,"isExternalSymlinkTarget": null,"isNodeBackendFramework": null,"isNodeEntrypoint": null,"isPackageInstalled": null,"isPythonFramework": null,"isSymbolicLink": null,"normalizePath": null,"packageManifestSchema": null,"parseGemfileLock": null,"promoteStaticFiles": null,"readConfigFile": null,"rename": null,"resetCustomInstallCommandSet": null,"resolveMiddlewareMatcher": null,"runBundleInstall": null,"runCustomInstallCommand": null,"runNpmInstall": null,"runPackageJsonScript": null,"runPipInstall": null,"runShellScript": null,"sanitizeConsumerName": null,"scanParentDirs": null,"sha256": null,"shouldServe": null,"shouldUseExperimentalBackends": null,"spawnAsync": null,"spawnCommand": null,"staticBundleExclusions": null,"staticDirectoryRedirects": null,"staticFallbackRoutes": null,"staticShadowRoutes": null,"streamToBuffer": null,"streamToBufferChunks": null,"streamToDigestAsync": null,"traverseUpDirectories": null,"validateNpmrc": null,"walkParentDirs": null,"MANIFEST_FILENAME": null,"MANIFEST_VERSION": null,"createDiagnostics": null,"manifestPath": null,"writeProjectManifest": null,"BunVersion": null,"JOB_TRIGGERS": null,"NodeVersion": null,"Version": null,"getReportedServiceType": null,"getServiceQueueTopicConfigs": null,"getServiceQueueTopics": null,"isExperimentalService": null,"isExperimentalServiceV2": null,"isQueueBackedService": null,"isQueueTriggeredService": null,"isScheduleTriggeredService": null,"isWorkflowTriggeredService": null,"NowBuildError": null,"getPrettyError": null,"BUILDER_COMPILE_STEP": null,"BUILDER_INSTALLER_STEP": null,"BUILDER_PRE_DEPLOY_STEP": null,"Span": null,"INTERNAL_SERVICE_PREFIX": null,"SERVICE_NAME_PATTERN": null,"getInternalServiceCronPath": null,"getInternalServiceCronPathPrefix": null,"getInternalServiceFunctionPath": null,"getInternalServiceWorkerPath": null,"getInternalServiceWorkerPathPrefix": null,"SCHEDULE_FUNCTION_PREFIX": null,"getScheduleFunctionPath": null,"getNamedSchedules": null,"getSchedulesArrayDeprecationWarning": null,"toScheduleRecord": null});
|