require('./sourcemap-register.js');(()=>{varr={79450:function(r,i,s){"use strict";vara=this&&this.__createBinding||(Object.create?function(r,i,s,a){if(a===undefined)a=s;varl=Object.getOwnPropertyDescriptor(i,s);if(!l||("get"inl?!i.__esModule:l.writable||l.configurable)){l={enumerable:true,get:function(){returni[s]}}}Object.defineProperty(r,a,l)}:function(r,i,s,a){if(a===undefined)a=s;r[a]=i[s]});varl=this&&this.__exportStar||function(r,i){for(varsinr)if(s!=="default"&&!Object.prototype.hasOwnProperty.call(i,s))a(i,r,s)};Object.defineProperty(i,"__esModule",{value:true});constc=s(46190);l(s(15769),i);l(s(38182),i);l(s(46190),i);constp=newc.DefaultArtifactClient;i["default"]=p},54622:(r,i,s)=>{"use strict";Object.defineProperty(i,"__esModule",{value:true});i.Timestamp=void0;consta=s(4061);constl=s(4061);constc=s(4061);constp=s(4061);constu=s(4061);constd=s(4061);constA=s(4061);classTimestamp$TypeextendsA.MessageType{constructor(){super("google.protobuf.Timestamp",[{no:1,name:"seconds",kind:"scalar",T:3},{no:2,name:"nanos",kind:"scalar",T:5}])}now(){constr=this.create();consti=Date.now();r.seconds=d.PbLong.from(Math.floor(i/1e3)).toString();r.nanos=i%1e3*1e6;returnr}toDate(r){returnnewDate(d.PbLong.from(r.seconds).toNumber()*1e3+Math.ceil(r.nanos/1e6))}fromDate(r){consti=this.create();consts=r.getTime();i.seconds=d.PbLong.from(Math.floor(s/1e3)).toString();i.nanos=s%1e3*1e6;returni}internalJsonWrite(r,i){lets=d.PbLong.from(r.seconds).toNumber()*1e3;if(s<Date.parse("0001-01-01T00:00:00Z")||s>Date.parse("9999-12-31T23:59:59Z"))thrownewError("Unable to encode Timestamp to JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.");if(r.nanos<0)thrownewError("Unable to encode invalid Timestamp to JSON. Nanos must not be negative.");leta="Z";if(r.nanos>0){leti=(r.nanos+1e9).toString().substring(1);if(i.substring(3)==="000000")a="."+i.substring(0,3)+"Z";elseif(i.substring(6)==="000")a="."+i.substring(0,6)+"Z";elsea="."+i+"Z"}returnnewDate(s).toISOString().replace(".000Z",a)}internalJsonRead(r,i,s){if(typeofr!=="string")thrownewError("Unable to parse Timestamp from JSON "+(0,u.typeofJsonValue)(r)+".");leta=r.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:Z|\.([0-9]{3,9})Z|([+-][0-9][0-9]:[0-9][0-9]))$/);if(!a)thrownewError("Unable to parse Timestamp from JSON. Invalid format.");letl=Date.parse(a[1]+"-"+a[2]+"-"+a[3]+"T"+a[4]+":"+a[5]+":"+a[6]+(a[8]?a[8]:"Z"));if(Number.isNaN(l))thrownewError("Unable to parse Timestamp from JSON. Invalid value.");if(l<Date.parse("0001-01-01T00:00:00Z")||l>Date.parse("9999-12-31T23:59:59Z"))thrownewglobalThis.Error("Unable to parse Timestamp from JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.");if(!s)s=this.create();s.seconds=d.PbLong.from(l/1e3).toString();s.nanos=0;if(a[7])s.nanos=parseInt("1"+a[7]+"0".repeat(9-a[7].length))-1e9;returns}create(r){consti={seconds:"0",nanos:0};globalThis.Object.defineProperty(i,p.MESSAGE_TYPE,{enumerable:false,value:this});if(r!==undefined)(0,c.reflectionMergePartial)(this,i,r);returni}internalBinaryRead(r,i,s,a){letc=a!==null&&a!==void0?a:this.create(),p=r.pos+i;while(r.pos<p){let[i,a]=r.tag();switch(i){case1:c.seconds=r.int64().toString();break;case2:c.nanos=r.int32();break;default:letp=s.readUnknownField;if(p==="throw")thrownewglobalThis.Error(`Unknown field ${i} (wire type ${a}) for ${this.typeName}`);letu=r.skip(a);if(p!==false)(p===true?l.UnknownFieldHandler.onRead:p)(this.typeName,c,i,a,u)}}returnc}internalBinaryWrite(r,i,s){if(r.seconds!=="0")i.tag(1,a.WireType.Varint).int64(r.seconds);if(r.nanos!==0)i.tag(2,a.WireType.Varint).int32(r.nanos);letc=s.writeUnknownFields;if(c!==false)(c==true?l.UnknownFieldHandler.onWrite:c)(this.typeName,r,i);returni}}i.Timestamp=newTimestamp$Type},8626:(r,i,s)=>{"use strict";Object.defineProperty(i,"__esModule",{value:true});i.BytesValue=i.StringValue=i.BoolValue=i.UInt32Value=i.Int32Value=i.UInt64Value=i.Int64Value=i.FloatValue=i.DoubleValue=void0;consta=s(4061);constl=s(4061);const
* @copyright (c) 2012-2014 Chris Talkington, contributors.
*/
vara=s(35010);varl={};varvending=function(r,i){returnvending.create(r,i)};vending.create=function(r,i){if(l[r]){vars=newa(r,i);s.setFormat(r);s.setModule(newl[r](i));returns}else{thrownewError("create("+r+"): format not registered")}};vending.registerFormat=function(r,i){if(l[r]){thrownewError("register("+r+"): format already registered")}if(typeofi!=="function"){thrownewError("register("+r+"): format module invalid")}if(typeofi.prototype.append!=="function"||typeofi.prototype.finalize!=="function"){thrownewError("register("+r+"): format module missing methods")}l[r]=i};vending.isRegisteredFormat=function(r){if(l[r]){returntrue}returnfalse};vending.registerFormat("zip",s(8987));vending.registerFormat("tar",s(33614));vending.registerFormat("json",s(99827));r.exports=vending},35010:(r,i,s)=>{
* @copyright (c) 2012-2014 Chris Talkington, contributors.
*/
vara=s(73837);constl={ABORTED:"archive was aborted",DIRECTORYDIRPATHREQUIRED:"diretory dirpath argument must be a non-empty string value",DIRECTORYFUNCTIONINVALIDDATA:"invalid data returned by directory custom data function",ENTRYNAMEREQUIRED:"entry name must be a non-empty string value",FILEFILEPATHREQUIRED:"file filepath argument must be a non-empty string value",FINALIZING:"archive already finalizing",QUEUECLOSED:"queue closed",NOENDMETHOD:"no suitable finalize/end method defined by module",DIRECTORYNOTSUPPORTED:"support for directory entries not defined by module",FORMATSET:"archive format already set",INPUTSTEAMBUFFERREQUIRED:"input source must be valid Stream or Buffer instance",MODULESET:"module already set",SYMLINKNOTSUPPORTED:"support for symlink entries not defined by module",SYMLINKFILEPATHREQUIRED:"symlink filepath argument must be a non-empty string value",SYMLINKTARGETREQUIRED:"symlink target argument must be a non-empty string value",ENTRYNOTSUPPORTED:"entry not supported"};functionArchiverError(r,i){Error.captureStackTrace(this,this.constructor);this.message=l[r]||r;this.code=r;this.data=i}a.inherits(ArchiverError,Error);i=r.exports=ArchiverError},99827:(r,i,s)=>{
vara=s(86454);varl=s(82072);varZip=function(r){if(!(thisinstanceofZip)){returnnewZip(r)}r=this.options=l.defaults(r,{comment:"",forceUTC:false,namePrependSlash:false,store:false});this.supports={directory:true,symlink:true};this.engine=newa(r)};Zip.prototype.append=function(r,i,s){this.engine.entry(r,i,s)};Zip.prototype.finalize=function(){this.engine.finalize()};Zip.prototype.on=function(){returnthis.engine.on.apply(this.engine,arguments)};Zip.prototype.pipe=function(){returnthis.engine.pipe.apply(this.engine,arguments)};Zip.prototype.unpipe=function(){returnthis.engine.unpipe.apply(this.engine,arguments)};r.exports=Zip},57888:function(r,i){(function(r,s){true?s(i):0})(this,(function(r){"use strict";functionapply(r,...i){return(...s)=>r(...i,...s)}functioninitialParams(r){returnfunction(...i){vars=i.pop();returnr.call(this,i,s)}}vari=typeofqueueMicrotask==="function"&&queueMicrotask;vars=typeofsetImmediate==="function"&&setImmediate;vara=typeofprocess==="object"&&typeofprocess.nextTick==="function";functionfallback(r){setTimeout(r,0)}functionwrap(r){return(i,...s)=>r((()=>i(...s)))}varl;if(i){l=queueMicrotask}elseif(s){l=setImmediate}elseif(a){l=process.nextTick}else{l=fallback}varc=wrap(l);functionasyncify(r){if(isAsync(r)){returnfunction(...i){consts=i.pop();consta=r.apply(this,i);returnhandlePromise(a,s)}}returninitialParams((function(i,s){vara;try{a=r.apply(this,i)}catch(r){returns(r)}if(a&&typeofa.then==="function"){returnhandlePromise(a,s)}else{s(null,a)}}))}functionhandlePromise(r,i){returnr.then((r=>{invokeCallback(i,null,r)}),(r=>{invokeCallback(i,r&&(rinstanceofError||r.message)?r:newError(r))}))}functioninvokeCallback(r,i,s){try{r(i,s)}catch(r){c((r=>{throwr}),r)}}functionisAsync(r){returnr[Symbol.toStringTag]==="AsyncFunction"}functionisAsyncGenerator(r){returnr[Symbol.toStringTag]==="AsyncGenerator"}functionisAsyncIterable(r){returntypeofr[Symbol.asyncIterator]==="function"}functionwrapAsync(r){if(typeofr!=="function")thrownewError("expected a function");returnisAsync(r)?asyncify(r):r}functionawaitify(r,i){if(!i)i=r.length;if(!i)thrownewError("arity is undefined");functionawaitable(...s){if(typeofs[i-1]==="function"){returnr.apply(this,s)}returnnewPromise(((a,l)=>{s[i-1]=(r,...i)=>{if(r)returnl(r);a(i.length>1?i:i[0])};r.apply(this,s)}))}returnawaitable}functionapplyEach$1(r){returnfunctionapplyEach(i,...s){consta=awaitify((function(a){varl=this;returnr(i,((r,i)=>{wrapAsync(r).apply(l,s.concat(i))}),a)}));returna}}function_asyncMap(r,i,s,a){i=i||[];varl=[];varc=0;varp=wrapAsync(s);returnr(i,((r,i,s)=>{vara=c++;p(r,((r,i)=>{l[a]=i;s(r)}))}),(r=>{a(r,l)}))}functionisArrayLike(r){returnr&&typeofr.length==="number"&&r.length>=0&&r.length%1===0}constp={};varu=p;functiononce(r){functionwrapper(...i){if(r===null)return;vars=r;r=null;s.apply(this,i)}Object.assign(wrapper,r);returnwrapper}functiongetIterator(r){returnr[Symbol.iterator]&&r[Symbol.iterator]()}functioncreateArrayIterator(r){vari=-1;vars=r.length;returnfunctionnext(){return++i<s?{value:r[i],key:i}:null}}functioncreateES2015Iterator(r){vari=-1;returnfunctionnext(){vars=r.next();if(s.done)returnnull;i++;return{value:s.value,key:i}}}functioncreateObjectIterator(r){vari=r?Object.keys(r):[];vars=-1;vara=i.length;returnfunctionnext(){varl=i[++s];if(l==="__proto__"){returnnext()}returns<a?{value:r[l],key:l}:null}}functioncreateIterator(r){if(isArrayLike(r)){returncreateArrayIterator(r)}vari=getIterator(r);returni?createES2015Iterator(i):createObjectIterator(r)}functiononlyOnce(r){returnfunction(...i){if(r===null)thrownewError("Callback was already called.");vars=r;r=null;s.apply(this,i)}}functionasyncEachOfLimit(r,i,s,a){letl=false;letc=false;letp=false;letd=0;letA=0;functionreplenish(){if(d>=i||p||l)return;p=true;r.next().then((({value:r,done:i})=>{if(c||l)return;p=false;if(i){l=true;if(d<=0){a(null)}return}d++;s(r,A,iterateeCallback);A++;replenish()})).catch(handleError)}functioniterateeCallback(r,i){d-=1;if(c)return;if(r)returnh
*/Object.defineProperty(i,"__esModule",{value:true});consts=newWeakMap;consta=newWeakMap;functionpd(r){consti=s.get(r);console.assert(i!=null,"'this' is expected an Event object, but got",r);returni}functionsetCancelFlag(r){if(r.passiveListener!=null){if(typeofconsole!=="undefined"&&typeofconsole.error==="function"){console.error("Unable to preventDefault inside passive event listener invocation.",r.passiveListener)}return}if(!r.event.cancelable){return}r.canceled=true;if(typeofr.event.preventDefault==="function"){r.event.preventDefault()}}functionEvent(r,i){s.set(this,{eventTarget:r,event:i,eventPhase:2,currentTarget:r,canceled:false,stopped:false,immediateStopped:false,passiveListener:null,timeStamp:i.timeStamp||Date.now()});Object.defineProperty(this,"isTrusted",{value:false,enumerable:true});consta=Object.keys(i);for(letr=0;r<a.length;++r){consti=a[r];if(!(iinthis)){Object.defineProperty(this,i,defineRedirectDescriptor(i))}}}Event.prototype={gettype(){returnpd(this).event.type},gettarget(){returnpd(this).eventTarget},getcurrentTarget(){returnpd(this).currentTarget},composedPath(){constr=pd(this).currentTarget;if(r==null){return[]}return[r]},getNONE(){return0},getCAPTURING_PHASE(){return1},getAT_TARGET(){return2},getBUBBLING_PHASE(){return3},geteventPhase(){returnpd(this).eventPhase},stopPropagation(){constr=pd(this);r.stopped=true;if(typeofr.event.stopPropagation==="function"){r.event.stopPropagation()}},stopImmediatePropagation(){constr=pd(this);r.stopped=true;r.immediateStopped=true;if(typeofr.event.stopImmediatePropagation==="function"){r.event.stopImmediatePropagation()}},getbubbles(){returnBoolean(pd(this).event.bubbles)},getcancelable(){returnBoolean(pd(this).event.cancelable)},preventDefault(){setCancelFlag(pd(this))},getdefaultPrevented(){returnpd(this).canceled},getcomposed(){returnBoolean(pd(this).event.composed)},gettimeStamp(){returnpd(this).timeStamp},getsrcElement(){returnpd(this).eventTarget},getcancelBubble(){returnpd(this).stopped},setcancelBubble(r){if(!r){return}consti=pd(this);i.stopped=true;if(typeofi.event.cancelBubble==="boolean"){i.event.cancelBubble=true}},getreturnValue(){return!pd(this).canceled},setreturnValue(r){if(!r){setCancelFlag(pd(this))}},initEvent(){}};Object.defineProperty(Event.prototype,"constructor",{value:Event,configurable:true,writable:true});if(typeofwindow!=="undefined"&&typeofwindow.Event!=="undefined"){Object.setPrototypeOf(Event.prototype,window.Event.prototype);a.set(window.Event.prototype,Event)}functiondefineRedirectDescriptor(r){return{get(){returnpd(this).event[r]},set(i){pd(this).event[r]=i},configurable:true,enumerable:true}}functiondefineCallDescriptor(r){return{value(){consti=pd(this).event;returni[r].apply(i,arguments)},configurable:true,enumerable:true}}functiondefineWrapper(r,i){consts=Object.keys(i);if(s.length===0){returnr}functionCustomEvent(i,s){r.call(this,i,s)}CustomEvent.prototype=Object.create(r.prototype,{constructor:{value:CustomEvent,configurable:true,writable:true}});for(leta=0;a<s.length;++a){constl=s[a];if(!(linr.prototype)){constr=Object.getOwnPropertyDescriptor(i,l);consts=typeofr.value==="function";Object.defineProperty(CustomEvent.prototype,l,s?defineCallDescriptor(l):defineRedirectDescriptor(l))}}returnCustomEvent}functiongetWrapper(r){if(r==null||r===Object.prototype){returnEvent}leti=a.get(r);if(i==null){i=defineWrapper(getWrapper(Object.getPrototypeOf(r)),r);a.set(r,i)}returni}functionwrapEvent(r,i){consts=getWrapper(Object.getPrototypeOf(i));returnnews(r,i)}functionisStopped(r){returnpd(r).immediateStopped}functionsetEventPhase(r,i){pd(r).eventPhase=i}functionsetCurrentTarget(r,i){pd(r).currentTarget=i}functionsetPassiveListener(r,i){pd(r).passiveListener=i}constl=newWeakMap;constc=1;constp=2;constu=3;functionisObject(r){returnr!==null&&typeofr==="object"}functiongetListeners(r){consti=l.get(r);if(i==null){thrownewTypeError("'this' is expected an EventTarget object, but got another value.")}returni}functiondefineEventAttributeDescri
*/functionisObject(r){returnObject.prototype.toString.call(r)==="[object Object]"}functionisPlainObject(r){vari,s;if(isObject(r)===false)returnfalse;i=r.constructor;if(i===undefined)returntrue;s=i.prototype;if(isObject(s)===false)returnfalse;if(s.hasOwnProperty("isPrototypeOf")===false){returnfalse}returntrue}i.isPlainObject=isPlainObject},41554:r=>{"use strict";constisStream=r=>r!==null&&typeofr==="object"&&typeofr.pipe==="function";isStream.writable=r=>isStream(r)&&r.writable!==false&&typeofr._write==="function"&&typeofr._writableState==="object";isStream.readable=r=>isStream(r)&&r.readable!==false&&typeofr._read==="function"&&typeofr._readableState==="object";isStream.duplex=r=>isStream.writable(r)&&isStream.readable(r);isStream.transform=r=>isStream.duplex(r)&&typeofr._transform==="function";r.exports=isStream},20893:r=>{vari={}.toString;r.exports=Array.isArray||function(r){returni.call(r)=="[object Array]"}},84329:r=>{"use strict";functione(r){this.message=r}e.prototype=newError,e.prototype.name="InvalidCharacterError";vari="undefined"!=typeofwindow&&window.atob&&window.atob.bind(window)||function(r){vari=String(r).replace(/=+$/,"");if(i.length%4==1)thrownewe("'atob' failed: The string to be decoded is not correctly encoded.");for(vars,a,l=0,c=0,p="";a=i.charAt(c++);~a&&(s=l%4?64*s+a:a,l++%4)?p+=String.fromCharCode(255&s>>(-2*l&6)):0)a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a);returnp};functiont(r){vars=r.replace(/-/g,"+").replace(/_/g,"/");switch(s.length%4){case0:break;case2:s+="==";break;case3:s+="=";break;default:throw"Illegal base64url string!"}try{returnfunction(r){returndecodeURIComponent(i(r).replace(/(.)/g,(function(r,i){vars=i.charCodeAt(0).toString(16).toUpperCase();returns.length<2&&(s="0"+s),"%"+s})))}(s)}catch(r){returni(s)}}functionn(r){this.message=r}functiono(r,i){if("string"!=typeofr)thrownewn("Invalid token specified");vars=!0===(i=i||{}).header?0:1;try{returnJSON.parse(t(r.split(".")[s]))}catch(r){thrownewn("Invalid token specified: "+r.message)}}n.prototype=newError,n.prototype.name="InvalidTokenError";consts=o;s.default=o,s.InvalidTokenError=n,r.exports=s},12084:(r,i,s)=>{vara=s(73837);varl=s(27818);r.exports={Readable:Readable,Writable:Writable};a.inherits(Readable,l);a.inherits(Writable,l);functionbeforeFirstCall(r,i,s){r[i]=function(){deleter[i];s.apply(this,arguments);returnthis[i].apply(this,arguments)}}functionReadable(r,i){if(!(thisinstanceofReadable))returnnewReadable(r,i);l.call(this,i);beforeFirstCall(this,"_read",(function(){vars=r.call(this,i);vara=this.emit.bind(this,"error");s.on("error",a);s.pipe(this)}));this.emit("readable")}functionWritable(r,i){if(!(thisinstanceofWritable))returnnewWritable(r,i);l.call(this,i);beforeFirstCall(this,"_write",(function(){vars=r.call(this,i);vara=this.emit.bind(this,"error");s.on("error",a);this.pipe(s)}));this.emit("writable")}},5706:(r,i,s)=>{"use strict";vara=s(47810);varl=Object.keys||function(r){vari=[];for(varsinr){i.push(s)}returni};r.exports=Duplex;varc=Object.create(s(95898));c.inherits=s(44124);varp=s(99140);varu=s(14960);c.inherits(Duplex,p);{vard=l(u.prototype);for(varA=0;A<d.length;A++){varh=d[A];if(!Duplex.prototype[h])Duplex.prototype[h]=u.prototype[h]}}functionDuplex(r){if(!(thisinstanceofDuplex))returnnewDuplex(r);p.call(this,r);u.call(this,r);if(r&&r.readable===false)this.readable=false;if(r&&r.writable===false)this.writable=false;this.allowHalfOpen=true;if(r&&r.allowHalfOpen===false)this.allowHalfOpen=false;this.once("end",onend)}Object.defineProperty(Duplex.prototype,"writableHighWaterMark",{enumerable:false,get:function(){returnthis._writableState.highWaterMark}});functiononend(){if(this.allowHalfOpen||this._writableState.ended)return;a.nextTick(onEndNT,this)}functiononEndNT(r){r.end()}Object.defineProperty(Duplex.prototype,"destroyed",{get:function(){if(this._readableState===undefined||this._writableState===undefined){returnfalse}returnthis._readableState.destroyed&&this._writableState.destroyed},
r.exports=function(r,i){if(typeofr!=="string"){thrownewTypeError("expected path to be a string")}if(r==="\\"||r==="/")return"/";vars=r.length;if(s<=1)returnr;vara="";if(s>4&&r[3]==="\\"){varl=r[2];if((l==="?"||l===".")&&r.slice(0,2)==="\\\\"){r=r.slice(2);a="//"}}varc=r.split(/[/\\]+/);if(i!==false&&c[c.length-1]===""){c.pop()}returna+c.join("/")}},1223:(r,i,s)=>{vara=s(62940);r.exports=a(once);r.exports.strict=a(onceStrict);once.proto=once((function(){Object.defineProperty(Function.prototype,"once",{value:function(){returnonce(this)},configurable:true});Object.defineProperty(Function.prototype,"onceStrict",{value:function(){returnonceStrict(this)},configurable:true})}));functiononce(r){varf=function(){if(f.called)returnf.value;f.called=true;returnf.value=r.apply(this,arguments)};f.called=false;returnf}functiononceStrict(r){varf=function(){if(f.called)thrownewError(f.onceError);f.called=true;returnf.value=r.apply(this,arguments)};vari=r.name||"Function wrapped with `once`";f.onceError=i+" shouldn't be called more than once";f.called=false;returnf}},47810:r=>{"use strict";if(typeofprocess==="undefined"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0){r.exports={nextTick:nextTick}}else{r.exports=process}functionnextTick(r,i,s,a){if(typeofr!=="function"){thrownewTypeError('"callback" argument must be a function')}varl=arguments.length;varc,p;switch(l){case0:case1:returnprocess.nextTick(r);case2:returnprocess.nextTick((functionafterTickOne(){r.call(null,i)}));case3:returnprocess.nextTick((functionafterTickTwo(){r.call(null,i,s)}));case4:returnprocess.nextTick((functionafterTickThree(){r.call(null,i,s,a)}));default:c=newArray(l-1);p=0;while(p<c.length){c[p++]=arguments[p]}returnprocess.nextTick((functionafterTick(){r.apply(null,c)}))}}},45676:r=>{r.exports=global.process},5322:(r,i,s)=>{r.exports=typeofprocess!=="undefined"&&typeofprocess.nextTick==="function"?process.nextTick.bind(process):s(71031)},71031:r=>{r.exports=typeofqueueMicrotask==="function"?queueMicrotask:r=>Promise.resolve().then(r)},80289:(r,i,s)=>{"use strict";const{SymbolDispose:a}=s(89629);const{AbortError:l,codes:c}=s(80529);const{isNodeStream:p,isWebStream:u,kControllerErrorFunction:d}=s(27981);constA=s(76080);const{ERR_INVALID_ARG_TYPE:h}=c;letg;constvalidateAbortSignal=(r,i)=>{if(typeofr!=="object"||!("aborted"inr)){thrownewh(i,"AbortSignal",r)}};r.exports.addAbortSignal=functionaddAbortSignal(i,s){validateAbortSignal(i,"signal");if(!p(s)&&!u(s)){thrownewh("stream",["ReadableStream","WritableStream","Stream"],s)}returnr.exports.addAbortSignalNoValidate(i,s)};r.exports.addAbortSignalNoValidate=function(r,i){if(typeofr!=="object"||!("aborted"inr)){returni}constc=p(i)?()=>{i.destroy(newl(undefined,{cause:r.reason}))}:()=>{i[d](newl(undefined,{cause:r.reason}))};if(r.aborted){c()}else{g=g||s(46959).addAbortListener;constl=g(r,c);A(i,l[a])}returni}},52746:(r,i,s)=>{"use strict";const{StringPrototypeSlice:a,SymbolIterator:l,TypedArrayPrototypeSet:c,Uint8Array:p}=s(89629);const{Buffer:u}=s(14300);const{inspect:d}=s(46959);r.exports=classBufferList{constructor(){this.head=null;this.tail=null;this.length=0}push(r){consti={data:r,next:null};if(this.length>0)this.tail.next=i;elsethis.head=i;this.tail=i;++this.length}unshift(r){consti={data:r,next:this.head};if(this.length===0)this.tail=i;this.head=i;++this.length}shift(){if(this.length===0)return;constr=this.head.data;if(this.length===1)this.head=this.tail=null;elsethis.head=this.head.next;--this.length;returnr}clear(){this.head=this.tail=null;this.length=0}join(r){if(this.length===0)return"";leti=this.head;lets=""+i.data;while((i=i.next)!==null)s+=r+i.data;returns}concat(r){if(this.length===0)returnu.alloc(0);consti=u.allocUnsafe(r>>>0);lets=this.head;leta=0;while(s){c(i,s.data,a);a+=s.data.length;s=s.next}returni}consume(r,i){consts=this.head.data;if(r<s.length){consti=s.slice(0,r);this.head.data=s.slice(r);returni}if(r===s.length){returnthis.shift
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */;const escape=r=>r.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");constnormalizeLinefeeds=r=>r.replace(/\r?\n|\r/g,"\r\n");consta=[];constl=newUint8Array([13,10]);g=0;letc=false;for(const[i,p]ofr){if(typeofp==="string"){constr=O.encode(s+`; name="${escape(normalizeLinefeeds(i))}"`+`\r\n\r\n${normalizeLinefeeds(p)}\r\n`);a.push(r);g+=r.byteLength}else{constr=O.encode(`${s}; name="${escape(normalizeLinefeeds(i))}"`+(p.name?`; filename="${escape(p.name)}"`:"")+"\r\n"+`Content-Type: ${p.type||"application/octet-stream"}\r\n\r\n`);a.push(r,p,l);if(typeofp.size==="number"){g+=r.byteLength+p.size+l.byteLength}else{c=true}}}constp=O.encode(`--${i}--`);a.push(p);g+=p.byteLength;if(c){g=null}h=r;A=asyncfunction*(){for(constrofa){if(r.stream){yield*r.stream()}else{yieldr}}};y="multipart/form-data; boundary="+i}elseif(p(r)){h=r;g=r.size;if(r.type){y=r.type}}elseif(typeofr[Symbol.asyncIterator]==="function"){if(i){thrownewTypeError("keepalive")}if(l.isDisturbed(r)||r.locked){thrownewTypeError("Response body object should not be disturbed or locked")}a=rinstanceofk?r:c(r)}if(typeofh==="string"||l.isBuffer(h)){g=Buffer.byteLength(h)}if(A!=null){leti;a=newk({asyncstart(){i=A(r)[Symbol.asyncIterator]()},asyncpull(r){const{value:s,done:l}=awaiti.next();if(l){queueMicrotask((()=>{r.close()}))}else{if(!x(a)){r.enqueue(newUint8Array(s))}}returnr.desiredSize>0},asynccancel(r){awaiti.return()},type:undefined})}constb={stream:a,source:h,length:g};return[b,y]}functionsafelyExtractBody(r,i=false){if(!k){k=s(35356).ReadableStream}if(rinstanceofk){S(!l.isDisturbed(r),"The body has already been consumed.");S(!r.locked,"The stream is locked.")}returnextractBody(r,i)}functioncloneBody(r){const[i,s]=r.stream.tee();consta=C(s,{transfer:[s]});const[,l]=a.tee();r.stream=i;return{stream:l,length:r.length,source:r.source}}asyncfunction*consumeBody(r){if(r){if(_(r)){yieldr}else{consti=r.stream;if(l.isDisturbed(i)){thrownewTypeError("The body has already been consumed.")}if(i.locked){thrownewTypeError("The stream is locked.")}i[B]=true;yield*i}}}functionthrowIfAborted(r){if(r.aborted){thrownewv("The operation was aborted.","AbortError")}}functionbodyMixinMethods(r){consti={blob(){returnspecConsumeBody(this,(r=>{leti=bodyMimeType(this);if(i==="failure"){i=""}elseif(i){i=N(i)}returnneww([r],{type:i})}),r)},arrayBuffer(){returnspecConsumeBody(this,(r=>newUint8Array(r).buffer),r)},text(){returnspecConsumeBody(this,utf8DecodeBytes,r)},json(){returnspecConsumeBody(this,parseJSONFromBytes,r)},asyncformData(){b.brandCheck(this,r);throwIfAborted(this[y]);consti=this.headers.get("Content-Type");if(/multipart\/form-data/.test(i)){constr={};for(const[i,s]ofthis.headers)r[i.toLowerCase()]=s;consti=newg;lets;try{s=newa({headers:r,preservePath:true})}catch(r){thrownewv(`${r}`,"AbortError")}s.on("field",((r,s)=>{i.append(r,s)}));s.on("file",((r,s,a,l,c)=>{constp=[];if(l==="base64"||l.toLowerCase()==="base64"){letl="";s.on("data",(r=>{l+=r.toString().replace(/[\r\n]/gm,"");consti=l.length-l.length%4;p.push(Buffer.from(l.slice(0,i),"base64"));l=l.slice(i)}));s.on("end",(()=>{p.push(Buffer.from(l,"base64"));i.append(r,newD(p,a,{type:c}))}))}else{s.on("data",(r=>{p.push(r)}));s.on("end",(()=>{i.append(r,newD(p,a,{type:c}))}))}}));constl=newPromise(((r,i)=>{s.on("finish",r);s.on("error",(r=>i(newTypeError(r))))}));if(this.body!==null)forawait(constrofconsumeBody(this[y].body))s.write(r);s.end();awaitl;returni}elseif(/application\/x-www-form-urlencoded/.test(i)){letr;try{leti="";consts=newTextDecoder("utf-8",{ignoreBOM:true});forawait(constrofconsumeBody(this[y].body)){if(!_(r)){thrownewTypeError("Expected Uint8Array chunk")}i+=s.decode(r,{stream:true})}i+=s.decode();r=newURLSearchParams(i)}catch(r){throwObject.assign(newTypeError,{cause:r})}consti=newg;for(const[s,a]ofr){i.append(s,a)}returni}else{awaitPromise.resolve();throwIfAborted(this[y]);throwb.errors.exception({h
/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */c[l-4]=this.maskKey[0];c[l-3]=this.maskKey[1];c[l-2]=this.maskKey[2];c[l-1]=this.maskKey[3];c[1]=s;if(s===126){c.writeUInt16BE(i,2)}elseif(s===127){c[2]=c[3]=0;c.writeUIntBE(i,4,6)}c[1]|=128;for(letr=0;r<i;r++){c[l+r]=this.frameData[r]^this.maskKey[r%4]}returnc}}r.exports={WebsocketFrameSend:WebsocketFrameSend}},11688:(r,i,s)=>{"use strict";const{Writable:a}=s(12781);constl=s(67643);const{parserStates:c,opcodes:p,states:u,emptyBuffer:d}=s(19188);const{kReadyState:A,kSentClose:h,kResponse:g,kReceivedClose:y}=s(37578);const{isValidStatusCode:b,failWebsocketConnection:v,websocketMessageReceived:C}=s(25515);const{WebsocketFrameSend:w}=s(25444);constI={};I.ping=l.channel("undici:websocket:ping");I.pong=l.channel("undici:websocket:pong");classByteParserextendsa{#o=[];#a=0;#l=c.INFO;#c={};#p=[];constructor(r){super();this.ws=r}_write(r,i,s){this.#o.push(r);this.#a+=r.length;this.run(s)}run(r){while(true){if(this.#l===c.INFO){if(this.#a<2){returnr()}consti=this.consume(2);this.#c.fin=(i[0]&128)!==0;this.#c.opcode=i[0]&15;this.#c.originalOpcode??=this.#c.opcode;this.#c.fragmented=!this.#c.fin&&this.#c.opcode!==p.CONTINUATION;if(this.#c.fragmented&&this.#c.opcode!==p.BINARY&&this.#c.opcode!==p.TEXT){v(this.ws,"Invalid frame type was fragmented.");return}consts=i[1]&127;if(s<=125){this.#c.payloadLength=s;this.#l=c.READ_DATA}elseif(s===126){this.#l=c.PAYLOADLENGTH_16}elseif(s===127){this.#l=c.PAYLOADLENGTH_64}if(this.#c.fragmented&&s>125){v(this.ws,"Fragmented frame exceeded 125 bytes.");return}elseif((this.#c.opcode===p.PING||this.#c.opcode===p.PONG||this.#c.opcode===p.CLOSE)&&s>125){v(this.ws,"Payload length for control frame exceeded 125 bytes.");return}elseif(this.#c.opcode===p.CLOSE){if(s===1){v(this.ws,"Received close frame with a 1-byte body.");return}constr=this.consume(s);this.#c.closeInfo=this.parseCloseBody(false,r);if(!this.ws[h]){constr=Buffer.allocUnsafe(2);r.writeUInt16BE(this.#c.closeInfo.code,0);consti=neww(r);this.ws[g].socket.write(i.createFrame(p.CLOSE),(r=>{if(!r){this.ws[h]=true}}))}this.ws[A]=u.CLOSING;this.ws[y]=true;this.end();return}elseif(this.#c.opcode===p.PING){consti=this.consume(s);if(!this.ws[y]){constr=neww(i);this.ws[g].socket.write(r.createFrame(p.PONG));if(I.ping.hasSubscribers){I.ping.publish({payload:i})}}this.#l=c.INFO;if(this.#a>0){continue}else{r();return}}elseif(this.#c.opcode===p.PONG){consti=this.consume(s);if(I.pong.hasSubscribers){I.pong.publish({payload:i})}if(this.#a>0){continue}else{r();return}}}elseif(this.#l===c.PAYLOADLENGTH_16){if(this.#a<2){returnr()}consti=this.consume(2);this.#c.payloadLength=i.readUInt16BE(0);this.#l=c.READ_DATA}elseif(this.#l===c.PAYLOADLENGTH_64){if(this.#a<8){returnr()}consti=this.consume(8);consts=i.readUInt32BE(0);if(s>2**31-1){v(this.ws,"Received payload length > 2^31 bytes.");return}consta=i.readUInt32BE(4);this.#c.payloadLength=(s<<8)+a;this.#l=c.READ_DATA}elseif(this.#l===c.READ_DATA){if(this.#a<this.#c.payloadLength){returnr()}elseif(this.#a>=this.#c.payloadLength){constr=this.consume(this.#c.payloadLength);this.#p.push(r);if(!this.#c.fragmented||this.#c.fin&&this.#c.opcode===p.CONTINUATION){constr=Buffer.concat(this.#p);C(this.ws,this.#c.originalOpcode,r);this.#c={};this.#p.length=0}this.#l=c.INFO}}if(this.#a>0){continue}else{r();break}}}consume(r){if(r>this.#a){returnnull}elseif(r===0){returnd}if(this.#o[0].length===r){this.#a-=this.#o[0].length;returnthis.#o.shift()}consti=Buffer.allocUnsafe(r);lets=0;while(s!==r){consta=this.#o[0];const{length:l}=a;if(l+s===r){i.set(this.#o.shift(),s);break}elseif(l+s>r){i.set(a.subarray(0,r-s),s);this.#o[0]=a.subarray(r-s);break}else{i.set(this.#o.shift(),s);s+=a.length}}this.#a-=r;returni}parseCloseBody(r,i){lets;if(i.length>=2){s=i.readUInt16BE(0)}if(r){if(!b(s)){returnnull}return{code:s}}leta=i.subarray(2);if(a[0]===239&&a[1]===187&&a[2]===191){a=a.subarray(3)}if(s!==undefined&&!b(s)){returnnull}try{a=newTextDecoder("utf-8",{fatal:true}).decode(a)}catch{returnnull}return{code:s,reason:a}}getcl
vara=s(73837).inherits;varl=s(25445).ZipArchiveOutputStream;varc=s(25445).ZipArchiveEntry;varp=s(82072);varu=r.exports=function(r){if(!(thisinstanceofu)){returnnewu(r)}r=this.options=r||{};r.zlib=r.zlib||{};l.call(this,r);if(typeofr.level==="number"&&r.level>=0){r.zlib.level=r.level;deleter.level}if(!r.forceZip64&&typeofr.zlib.level==="number"&&r.zlib.level===0){r.store=true}r.namePrependSlash=r.namePrependSlash||false;if(r.comment&&r.comment.length>0){this.setComment(r.comment)}};a(u,l);u.prototype._normalizeFileData=function(r){r=p.defaults(r,{type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:""});vari=r.type==="directory";vars=r.type==="symlink";if(r.name){r.name=p.sanitizePath(r.name);if(!s&&r.name.slice(-1)==="/"){i=true;r.type="directory"}elseif(i){r.name+="/"}}if(i||s){r.store=true}r.date=p.dateify(r.date);returnr};u.prototype.entry=function(r,i,s){if(typeofs!=="function"){s=this._emitErrorCallback.bind(this)}i=this._normalizeFileData(i);if(i.type!=="file"&&i.type!=="directory"&&i.type!=="symlink"){s(newError(i.type+" entries not currently supported"));return}if(typeofi.name!=="string"||i.name.length===0){s(newError("entry name must be a non-empty string value"));return}if(i.type==="symlink"&&typeofi.linkname!=="string"){s(newError("entry linkname must be a non-empty string value when type equals symlink"));return}vara=newc(i.name);a.setTime(i.date,this.options.forceLocalTime);if(i.namePrependSlash){a.setName(i.name,true)}if(i.store){a.setMethod(0)}if(i.comment.length>0){a.setComment(i.comment)}if(i.type==="symlink"&&typeofi.mode!=="number"){i.mode=40960}if(typeofi.mode==="number"){if(i.type==="symlink"){i.mode|=40960}a.setUnixMode(i.mode)}if(i.type==="symlink"&&typeofi.linkname==="string"){r=Buffer.from(i.linkname)}returnl.prototype.entry.call(this,a,r,s)};u.prototype.finalize=function(){this.finish()}},98954:function(r,i,s){"use strict";vara=this&&this.__createBinding||(Object.create?function(r,i,s,a){if(a===undefined)a=s;varl=Object.getOwnPropertyDescriptor(i,s);if(!l||("get"inl?!i.__esModule:l.writable||l.configurable)){l={enumerable:true,get:function(){returni[s]}}}Object.defineProperty(r,a,l)}:function(r,i,s,a){if(a===undefined)a=s;r[a]=i[s]});varl=this&&this.__setModuleDefault||(Object.create?function(r,i){Object.defineProperty(r,"default",{enumerable:true,value:i})}:function(r,i){r["default"]=i});varc=this&&this.__importStar||function(r){if(r&&r.__esModule)returnr;vari={};if(r!=null)for(varsinr)if(s!=="default"&&Object.prototype.hasOwnProperty.call(r,s))a(i,r,s);l(i,r);returni};varp=this&&this.__awaiter||function(r,i,s,a){functionadopt(r){returnrinstanceofs?r:news((function(i){i(r)}))}returnnew(s||(s=Promise))((function(s,l){functionfulfilled(r){try{step(a.next(r))}catch(r){l(r)}}functionrejected(r){try{step(a["throw"](r))}catch(r){l(r)}}functionstep(r){r.done?s(r.value):adopt(r.value).then(fulfilled,rejected)}step((a=a.apply(r,i||[])).next())}))};Object.defineProperty(i,"__esModule",{value:true});i.getArgs=i.getInputs=void0;constu=c(s(42186));constd=c(s(97492));constA=s(57622);consth=s(54051);constg=s(6276);consty=s(28662);functiongetInputs(){returnp(this,void0,void0,(function*(){return{"add-hosts":y.Util.getInputList("add-hosts"),allow:y.Util.getInputList("allow"),annotations:y.Util.getInputList("annotations",{ignoreComma:true}),attests:y.Util.getInputList("attests",{ignoreComma:true}),"build-args":y.Util.getInputList("build-args",{ignoreComma:true}),"build-contexts":y.Util.getInputList("build-contexts",{ignoreComma:true}),builder:u.getInput("builder"),"cache-from":y.Util.getInputList("cache-from",{ignoreComma:true}),"cache-to":y.Util.getInputList("cache-to",{ignoreComma:true}),"cgroup-parent":u.getInput("cgroup-parent"),context:u.getInput("context")||h.Context.gitContext(),file:u.getInput("file"),labels:y.Util.getInputList("labels",{ignoreComma:true}),load:u.getBooleanInput("load"),network:u.getInput("network"),"no-cache":u.getBooleanInput("no-cache"),"no-ca