varDde=Object.create;varFE=Object.defineProperty;varOde=Object.getOwnPropertyDescriptor;varMde=Object.getOwnPropertyNames;varLde=Object.getPrototypeOf,Fde=Object.prototype.hasOwnProperty;varo=(t,e)=>FE(t,"name",{value:e,configurable:!0});varm=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Ude=(t,e)=>{for(varrine)FE(t,r,{get:e[r],enumerable:!0})},qde=(t,e,r,n)=>{if(e&&typeofe=="object"||typeofe=="function")for(letsofMde(e))!Fde.call(t,s)&&s!==r&&FE(t,s,{get:()=>e[s],enumerable:!(n=Ode(e,s))||n.enumerable});returnt};varw=(t,e,r)=>(r=t!=null?Dde(Lde(t)):{},qde(e||!t||!t.__esModule?FE(r,"default",{value:t,enumerable:!0}):r,t));varlH=m(Bd=>{"use strict";varaXe=require("net"),cfe=require("tls"),Hx=require("http"),oH=require("https"),lfe=require("events"),cXe=require("assert"),ufe=require("util");Bd.httpOverHttp=dfe;Bd.httpsOverHttp=Afe;Bd.httpOverHttps=pfe;Bd.httpsOverHttps=ffe;functiondfe(t){vare=newsa(t);returne.request=Hx.request,e}o(dfe,"httpOverHttp");functionAfe(t){vare=newsa(t);returne.request=Hx.request,e.createSocket=aH,e.defaultPort=443,e}o(Afe,"httpsOverHttp");functionpfe(t){vare=newsa(t);returne.request=oH.request,e}o(pfe,"httpOverHttps");functionffe(t){vare=newsa(t);returne.request=oH.request,e.createSocket=aH,e.defaultPort=443,e}o(ffe,"httpsOverHttps");functionsa(t){vare=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||Hx.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",o(function(n,s,i,a){for(varc=cH(s,i,a),l=0,u=e.requests.length;l<u;++l){vard=e.requests[l];if(d.host===c.host&&d.port===c.port){e.requests.splice(l,1),d.request.onSocket(n);return}}n.destroy(),e.removeSocket(n)},"onFree"))}o(sa,"TunnelingAgent");ufe.inherits(sa,lfe.EventEmitter);sa.prototype.addRequest=o(function(e,r,n,s){vari=this,a=Vx({request:e},i.options,cH(r,n,s));if(i.sockets.length>=this.maxSockets){i.requests.push(a);return}i.createSocket(a,function(c){c.on("free",l),c.on("close",u),c.on("agentRemove",u),e.onSocket(c);functionl(){i.emit("free",c,a)}o(l,"onFree");functionu(d){i.removeSocket(c),c.removeListener("free",l),c.removeListener("close",u),c.removeListener("agentRemove",u)}o(u,"onCloseOrRemove")})},"addRequest");sa.prototype.createSocket=o(function(e,r){varn=this,s={};n.sockets.push(s);vari=Vx({},n.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(i.localAddress=e.localAddress),i.proxyAuth&&(i.headers=i.headers||{},i.headers["Proxy-Authorization"]="Basic "+newBuffer(i.proxyAuth).toString("base64")),ic("making CONNECT request");vara=n.request(i);a.useChunkedEncodingByDefault=!1,a.once("response",c),a.once("upgrade",l),a.once("connect",u),a.once("error",d),a.end();functionc(A){A.upgrade=!0}o(c,"onResponse");functionl(A,p,f){process.nextTick(function(){u(A,p,f)})}o(l,"onUpgrade");functionu(A,p,f){if(a.removeAllListeners(),p.removeAllListeners(),A.statusCode!==200){ic("tunneling socket could not be established, statusCode=%d",A.statusCode),p.destroy();varh=newError("tunneling socket could not be established, statusCode="+A.statusCode);h.code="ECONNRESET",e.request.emit("error",h),n.removeSocket(s);return}if(f.length>0){ic("got illegal response body from proxy"),p.destroy();varh=newError("got illegal response body from proxy");h.code="ECONNRESET",e.request.emit("error",h),n.removeSocket(s);return}returnic("tunneling connection has established"),n.sockets[n.sockets.indexOf(s)]=p,r(p)}o(u,"onConnect");functiond(A){a.removeAllListeners(),ic(`tunneling socket could not be established, cause=%s
`);p.push(g),i+=g.byteLength,h&&(i=null),s=t,n=o(async function*(){for(let y of p)y.stream?yield*y.stream():yield y},"action"),a=`multipart/form-data; boundary=${l}`}else if(mz(t))s=t,i=t.size,t.type&&(a=t.type);else if(typeof t[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(Jf.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:_ge(t)}if((typeof s=="string"||Jf.isBuffer(s))&&(i=Buffer.byteLength(s)),n!=null){let l;r=new ReadableStream({async start(){l=n(t)[Symbol.asyncIterator]()},async pull(u){let{value:d,done:A}=await l.next();if(A)queueMicrotask(()=>{u.close(),u.byobRequest?.respond(0)});else if(!Cz(r)){let p=new Uint8Array(d);p.byteLength&&u.enqueue(p)}return u.desiredSize>0},async cancel(u){await l.return()},type:"bytes"})}return[{stream:r,source:s,length:i},a]}o(bz,"extractBody");function zge(t,e=!1){return t instanceof ReadableStream&&(YQ(!Jf.isDisturbed(t),"The body has already been consumed."),YQ(!t.locked,"The stream is locked.")),bz(t,e)}o(zge,"safelyExtractBody");function $ge(t,e){let[r,n]=e.stream.tee();return e.stream=r,{stream:n,length:e.length,source:e.source}}o($ge,"cloneBody");function Jge(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}o(Jge,"throwIfAborted");function Yge(t){return{blob(){return Dd(this,r=>{let n=Ez(this);return n===null?n="":n&&(n=Gge(n)),new Fge([r],{type:n})},t)},arrayBuffer(){return Dd(this,r=>new Uint8Array(r).buffer,t)},text(){return Dd(this,yz,t)},json(){return Dd(this,jge,t)},formData(){return Dd(this,r=>{let n=Ez(this);if(n!==null)switch(n.essence){case"multipart/form-data":{let s=Hge(r,n);if(s==="failure")throw new TypeError("Failed to parse body as FormData.");let i=new gz;return i[Od]=s,i}case"application/x-www-form-urlencoded":{let s=new URLSearchParams(r.toString()),i=new gz;for(let[a,c]of s)i.append(a,c);return i}}throw new TypeError('Content-Typewasnotoneof"multipart/form-data"or"application/x-www-form-urlencoded".')},t)},bytes(){returnDd(this,r=>newUint8Array(r),t)}}}o(Yge,"bodyMixinMethods");functionWge(t){Object.assign(t.prototype,Yge(t))}o(Wge,"mixinBody");asyncfunctionDd(t,e,r){if(Lge.brandCheck(t,r),wz(t))thrownewTypeError("Body is unusable: Body has already been read");Jge(t[Od]);letn=Dge(),s=o(a=>n.reject(a),"errorSteps"),i=o(a=>{try{n.resolve(e(a))}catch(c){s(c)}},"successSteps");returnt[Od].body==null?(i(Buffer.allocUnsafe(0)),n.promise):(awaitOge(t[Od].body,i,s),n.promise)}o(Dd,"consumeBody");functionwz(t){lete=t[Od].body;returne!=null&&(e.stream.locked||Jf.isDisturbed(e.stream))}o(wz,"bodyUnusable");functionjge(t){returnJSON.parse(yz(t))}o(jge,"parseJSONFromBytes");functionEz(t){lete=t[Od].headersList,r=Mge(e);returnr==="failure"?null:r}o(Ez,"bodyMimeType");Sz.exports={extractBody:bz,safelyExtractBody:zge,cloneBody:$ge,mixinBody:Wge,streamRegistry:Bz,hasFinalizationRegistry:Iz,bodyUnusable:wz}});varqz=m((tZe,Uz)=>{"use strict";varX=require("node:assert"),te=Be(),{channels:Nz}=wd(),jQ=vQ(),{RequestContentLengthMismatchError:Ql,ResponseContentLengthMismatchError:xz,RequestAbortedError:Dz,InvalidArgumentError:Kge,HeadersTimeoutError:Xge,HeadersOverflowError:Zge,SocketError:Ld,InformationalError:Fd,BodyTimeoutError:eEe,HTTPParserError:tEe,ResponseExceededMaxSizeError:rEe}=_e(),{kUrl:Oz,kReset:pn,kClient:Ny,kParser:ot,kBlocking:jf,kRunning:$t,kPending:Mz,kSize:Qz,kWriting:ac,kQueue:ai,kNoRef:Yf,kKeepAliveDefaultTimeout:nEe,kHostHeader:sEe,kPendingIdx:iEe,kRunningIdx:ys,kError:zr,kPipelining:xy,kSocket:Tl,kKeepAliveTimeoutValue:Ry,kMaxHeadersSize:KQ,kKeepAliveMaxTimeout:oEe,kKeepAliveTimeoutThreshold:aEe,kHeadersTimeout:cEe,kBodyTimeout:lEe,kStrictContentLength:eR,kMaxRequests:Rz,kCounter:uEe,kMaxResponseSize:dEe,kOnError:Tz,kResume:ua,kHTTPContext:Lz}=At(),Gn=BV(),vz=Buffer.alloc(0),by=Buffer[Symbol.species],wy=te.addListener,AEe=te.removeAllListeners,vl=Symbol("kIdleSocketValidation"),Rl=Symbol("kIdleSocketValidationTimeout"),sR=Symbol("kSocketUsed"),XQ;asyncfunctionpEe(){lett=process.en
`}return Nz.sendHeaders.hasSubscribers&&Nz.sendHeaders.publish({request:e,headers:g,socket:f}),!l||p===0?Pz(h,null,t,e,f,d,g,A):te.isBuffer(l)?Pz(h,l,t,e,f,d,g,A):te.isBlobLike(l)?typeof l.stream=="function"?kz(h,l.stream(),t,e,f,d,g,A):IEe(h,l,t,e,f,d,g,A):te.isStream(l)?CEe(h,l,t,e,f,d,g,A):te.isIterable(l)?kz(h,l,t,e,f,d,g,A):X(!1),!0}o(yEe,"writeH1");function CEe(t,e,r,n,s,i,a,c){X(i!==0||r[$t]===0,"stream body cannot be pipelined");let l=!1,u=new Ty({abort:t,socket:s,request:n,contentLength:i,client:r,expectsPayload:c,header:a}),d=o(function(h){if(!l)try{!u.write(h)&&this.pause&&this.pause()}catch(g){te.destroy(this,g)}},"onData"),A=o(function(){l||e.resume&&e.resume()},"onDrain"),p=o(function(){if(queueMicrotask(()=>{e.removeListener("error",f)}),!l){let h=new Dz;queueMicrotask(()=>f(h))}},"onClose"),f=o(function(h){if(!l){if(l=!0,X(s.destroyed||s[ac]&&r[$t]<=1),s.off("drain",A).off("error",f),e.removeListener("data",d).removeListener("end",f).removeListener("close",p),!h)try{u.end()}catch(g){h=g}u.destroy(h),h&&(h.code!=="UND_ERR_INFO"||h.message!=="reset")?te.destroy(e,h):te.destroy(e)}},"onFinished");e.on("data",d).on("end",f).on("error",f).on("close",p),e.resume&&e.resume(),s.on("drain",A).on("error",f),e.errorEmitted??e.errored?setImmediate(()=>f(e.errored)):(e.endEmitted??e.readableEnded)&&setImmediate(()=>f(null)),(e.closeEmitted??e.closed)&&setImmediate(p)}o(CEe,"writeStream");function Pz(t,e,r,n,s,i,a,c){try{e?te.isBuffer(e)&&(X(i===e.byteLength,"buffer body must have content length"),s.cork(),s.write(`${a}content-length:${i}\r
`,"latin1")),n.onRequestSent(),r[ua]()}catch(l){t(l)}}o(Pz,"writeBuffer");async function IEe(t,e,r,n,s,i,a,c){X(i===e.size,"blob body must have content length");try{if(i!=null&&i!==e.size)throw new Ql;let l=Buffer.from(await e.arrayBuffer());s.cork(),s.write(`${a}content-length:${i}\r
`,"latin1"),s.write(l),s.uncork(),n.onBodySent(l),n.onRequestSent(),!c&&n.reset!==!1&&(s[pn]=!0),r[ua]()}catch(l){t(l)}}o(IEe,"writeBlob");async function kz(t,e,r,n,s,i,a,c){X(i!==0||r[$t]===0,"iterator body cannot be pipelined");let l=null;function u(){if(l){let p=l;l=null,p()}}o(u,"onDrain");let d=o(()=>new Promise((p,f)=>{X(l===null),s[zr]?f(s[zr]):l=p}),"waitForDrain");s.on("close",u).on("drain",u);let A=new Ty({abort:t,socket:s,request:n,contentLength:i,client:r,expectsPayload:c,header:a});try{for await(let p of e){if(s[zr])throw s[zr];A.write(p)||await d()}A.end()}catch(p){A.destroy(p)}finally{s.off("close",u).off("drain",u)}}o(kz,"writeIterable");var Ty=class{static{o(this,"AsyncWriter")}constructor({abort:e,socket:r,request:n,contentLength:s,client:i,expectsPayload:a,header:c}){this.socket=r,this.request=n,this.contentLength=s,this.client=i,this.bytesWritten=0,this.expectsPayload=a,this.header=c,this.abort=e,r[ac]=!0}write(e){let{socket:r,request:n,contentLength:s,client:i,bytesWritten:a,expectsPayload:c,header:l}=this;if(r[zr])throw r[zr];if(r.destroyed)return!1;let u=Buffer.byteLength(e);if(!u)return!0;if(s!==null&&a+u>s){if(i[eR])throw new Ql;process.emitWarning(new Ql)}r.cork(),a===0&&(!c&&n.reset!==!1&&(r[pn]=!0),s===null?r.write(`${l}transfer-encoding:chunked\r
`,"latin1"),r!==null&&s!==r){if(n[eR])throw new Ql;process.emitWarning(new Ql)}e[ot].timeout&&e[ot].timeoutType===Ud&&e[ot].timeout.refresh&&e[ot].timeout.refresh(),n[ua]()}}destroy(e){let{socket:r,client:n,abort:s}=this;r[ac]=!1,e&&(X(n[$t]<=1,"pipeline should only contain this request"),s(e))}};Uz.exports=hEe});var Wz=m((nZe,Yz)=>{"use strict";var Cs=require("node:assert"),{pipeline:BEe}=require("node:stream"),Ne=Be(),{RequestContentLengthMismatchError:iR,RequestAbortedError:Gz,SocketError:Kf,InformationalError:oR}=_e(),{kUrl:vy,kReset:Py,kClient:qd,kRunning:ky,kPending:bEe,kQueue:cc,kPendingIdx:aR,kRunningIdx:ci,kError:ui,kSocket:dr,kStrictContentLength:wEe,kOnError:cR,kMaxConcurrentStreams:Jz,kHTTP2Session:li,kResume:lc,kSize:SEe,kHTTPContext:NEe}=At(),da=Symbol("open streams"),Hz,Vz=!1,_y;try{_y=require("node:http2")}catch{_y={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:xEe,HTTP2_HEADER_METHOD:QEe,HTTP2_HEADER_PATH:REe,HTTP2_HEADER_SCHEME:TEe,HTTP2_HEADER_CONTENT_LENGTH:vEe,HTTP2_HEADER_EXPECT:_Ee,HTTP2_HEADER_STATUS:PEe}}=_y;function kEe(t){let e=[];for(let[r,n]of Object.entries(t))if(Array.isArray(n))for(let s of n)e.push(Buffer.from(r),Buffer.from(s));else e.push(Buffer.from(r),Buffer.from(n));return e}o(kEe,"parseH2Headers");async function DEe(t,e){t[dr]=e,Vz||(Vz=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=_y.connect(t[vy],{createConnection:o(()=>e,"createConnection"),peerMaxConcurrentStreams:t[Jz]});r[da]=0,r[qd]=t,r[dr]=e,Ne.addListener(r,"error",MEe),Ne.addListener(r,"frameError",LEe),Ne.addListener(r,"end",FEe),Ne.addListener(r,"goaway",UEe),Ne.addListener(r,"close",function(){let{[qd]:s}=this,{[dr]:i}=s,a=this[dr][ui]||this[ui]||new Kf("closed",Ne.getSocketInfo(i));if(s[li]=null,s.destroyed){Cs(s[bEe]===0);let c=s[cc].splice(s[ci]);for(let l=0;l<c.length;l++){let u=c[l];Ne.errorRequest(s,u,a)}}}),r.unref(),t[li]=r,e[li]=r,Ne.addListener(e,"error",function(s){Cs(s.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[ui]=s,this[qd][cR](s)}),Ne.addListener(e,"end",function(){Ne.destroy(this,new Kf("other side closed",Ne.getSocketInfo(this)))}),Ne.addListener(e,"close",function(){let s=this[ui]||new Kf("closed",Ne.getSocketInfo(this));t[dr]=null,this[li]!=null&&this[li].destroy(s),t[aR]=t[ci],Cs(t[ky]===0),t.emit("disconnect",t[vy],[t],s),t[lc]()});let n=!1;return e.on("close",()=>{n=!0}),{version:"h2",defaultPipelining:1/0,write(...s){return GEe(t,...s)},resume(){OEe(t)},destroy(s,i){n?queueMicrotask(i):e.destroy(s).on("close",i)},get destroyed(){return e.destroyed},busy(){return!1}}}o(DEe,"connectH2");function OEe(t){let e=t[dr];e?.destroyed===!1&&(t[SEe]===0&&t[Jz]===0?(e.unref(),t[li].unref()):(e.ref(),t[li].ref()))}o(OEe,"resumeH2");function MEe(t){Cs(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[dr][ui]=t,this[qd][cR](t)}o(MEe,"onHttp2SessionError");function LEe(t,e,r){if(r===0){let n=new oR(`HTTP/2:"frameError"received-type${t},code${e}`);this[dr][ui]=n,this[qd][cR](n)}}o(LEe,"onHttp2FrameError");function FEe(){let t=new Kf("other side closed",Ne.getSocketInfo(this[dr]));this.destroy(t),Ne.destroy(this[dr],t)}o(FEe,"onHttp2SessionEnd");function UEe(t){let e=this[ui]||new Kf(`HTTP/2:"GOAWAY"framereceivedwithcode${t}`,Ne.getSocketInfo(this)),r=this[qd];if(r[dr]=null,r[NEe]=null,this[li]!=null&&(this[li].destroy(e),this[li]=null),Ne.destroy(this[dr],e),r[ci]<r[cc].length){let n=r[cc][r[ci]];r[cc][r[ci]++]=null,Ne.errorRequest(r,n,e),r[aR]=r[ci]}Cs(r[ky]===0),r.emit("disconnect",r[vy],[r],e),r[lc]()}o(UEe,"onHTTP2GoAway");function qEe(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(qEe,"shouldSendContentLength");function GEe(t,e){let r=t[li],{method:n,path:s,host:i,upgrade:a,expectContinue:c,signal:l,headers:u}=e,{body:d}=e;if(a)return Ne.errorRequest(t,e,new Error("Upgrade not supported for H2")),!1;let A={};for(let b=0;b<u.length;b+=2){let N=u[b+0],Q=u[b+1];if(Array.isArray(Q))for(let D=0;D<Q.length;D++)A[N]?A[N]+=`,${Q[D]}`:A[N]=Q[D];else A[N]=Q}let p,{hostname:f,port:h}=t[vy];A[xEe]=i||`${f}$
`.trim())}};RY.exports=BT});varnC=m((f7e,kY)=>{"use strict";varvY=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:fBe}=_e(),hBe=$d();PY()===void0&&_Y(newhBe);function_Y(t){if(!t||typeoft.dispatch!="function")thrownewfBe("Argument agent must implement Agent");Object.defineProperty(globalThis,vY,{value:t,writable:!0,enumerable:!1,configurable:!1})}o(_Y,"setGlobalDispatcher");functionPY(){returnglobalThis[vY]}o(PY,"getGlobalDispatcher");kY.exports={setGlobalDispatcher:_Y,getGlobalDispatcher:PY}});varsC=m((g7e,DY)=>{"use strict";DY.exports=class{static{o(this,"DecoratorHandler")}#e;constructor(e){if(typeofe!="object"||e===null)thrownewTypeError("handler must be an object");this.#e=e}onConnect(...e){returnthis.#e.onConnect?.(...e)}onError(...e){returnthis.#e.onError?.(...e)}onUpgrade(...e){returnthis.#e.onUpgrade?.(...e)}onResponseStarted(...e){returnthis.#e.onResponseStarted?.(...e)}onHeaders(...e){returnthis.#e.onHeaders?.(...e)}onData(...e){returnthis.#e.onData?.(...e)}onComplete(...e){returnthis.#e.onComplete?.(...e)}onBodySent(...e){returnthis.#e.onBodySent?.(...e)}}});varMY=m((y7e,OY)=>{"use strict";varmBe=Oy();OY.exports=t=>{lete=t?.maxRedirections;returnr=>o(function(s,i){let{maxRedirections:a=e,...c}=s;if(!a)returnr(s,i);letl=newmBe(r,a,s,i);returnr(c,l)},"redirectInterceptor")}});varFY=m((I7e,LY)=>{"use strict";vargBe=Jy();LY.exports=t=>e=>o(function(n,s){returne(n,newgBe({...n,retryOptions:{...t,...n.retryOptions}},{handler:s,dispatch:e}))},"retryInterceptor")});varqY=m((b7e,UY)=>{"use strict";varEBe=Be(),{InvalidArgumentError:yBe,RequestAbortedError:CBe}=_e(),IBe=sC(),bT=classextendsIBe{static{o(this,"DumpHandler")}#e=1024*1024;#t=null;#n=!1;#r=!1;#s=0;#i=null;#a=null;constructor({maxSize:e},r){if(super(r),e!=null&&(!Number.isFinite(e)||e<1))thrownewyBe("maxSize must be a number greater than 0");this.#e=e??this.#e,this.#a=r}onConnect(e){this.#t=e,this.#a.onConnect(this.#o.bind(this))}#o(e){this.#r=!0,this.#i=e}onHeaders(e,r,n,s){leta=EBe.parseHeaders(r)["content-length"];if(a!=null&&a>this.#e)thrownewCBe(`Response size (${a}) larger than maxSize (${this.#e})`);returnthis.#r?!0:this.#a.onHeaders(e,r,n,s)}onError(e){this.#n||(e=this.#i??e,this.#a.onError(e))}onData(e){returnthis.#s=this.#s+e.length,this.#s>=this.#e&&(this.#n=!0,this.#r?this.#a.onError(this.#i):this.#a.onComplete([])),!0}onComplete(e){if(!this.#n){if(this.#r){this.#a.onError(this.reason);return}this.#a.onComplete(e)}}};functionBBe({maxSize:t}={maxSize:1024*1024}){returne=>o(function(n,s){let{dumpMaxSize:i=t}=n,a=newbT({maxSize:i},s);returne(n,a)},"Intercept")}o(BBe,"createDumpInterceptor");UY.exports=BBe});varVY=m((S7e,HY)=>{"use strict";var{isIP:bBe}=require("node:net"),{lookup:wBe}=require("node:dns"),SBe=sC(),{InvalidArgumentError:nA,InformationalError:NBe}=_e(),GY=Math.pow(2,31)-1,wT=class{static{o(this,"DNSInstance")}#e=0;#t=0;#n=newMap;dualStack=!0;affinity=null;lookup=null;pick=null;constructor(e){this.#e=e.maxTTL,this.#t=e.maxItems,this.dualStack=e.dualStack,this.affinity=e.affinity,this.lookup=e.lookup??this.#r,this.pick=e.pick??this.#s}getfull(){returnthis.#n.size===this.#t}runLookup(e,r,n){lets=this.#n.get(e.hostname);if(s==null&&this.full){n(null,e.origin);return}leti={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...r.dns,maxTTL:this.#e,maxItems:this.#t};if(s==null)this.lookup(e,i,(a,c)=>{if(a||c==null||c.length===0){n(a??newNBe("No DNS entries found"));return}this.setRecords(e,c);letl=this.#n.get(e.hostname),u=this.pick(e,l,i.affinity),d;typeofu.port=="number"?d=`:${u.port}`:e.port!==""?d=`:${e.port}`:d="",n(null,`${e.protocol}//${u.family===6?`[${u.address}]`:u.address}${d}`)});else{leta=this.pick(e,s,i.affinity);if(a==null){this.#n.delete(e.hostname),this.runLookup(e,r,n);return}letc;typeofa.port=="number"?c=`:${a.port}`:e.port!==""?c=`:${e.port}`:c="",n(null,`${e.protocol}//${a.family===6?`[${a.address}]`:a.address}${c}`)}}#r(e,r,n){wBe(e.hostname,{all:!0,family:this.dualStack===!1?this.affinity:0,order:"ipv4first"},(s,i)=>
${i}`;break;case"retry":Bj(i)&&(r[s]=i);break;case"id":bj(i)&&(r[s]=i);break;case"event":i.length>0&&(r[s]=i);break}}processEvent(e){e.retry&&Bj(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&bj(e.id)&&(this.state.lastEventId=e.id),e.data!==void 0&&this.push({type:e.event||"message",options:{data:e.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}clearEvent(){this.event={data:void 0,event:void 0,id:void 0,retry:void 0}}};wj.exports={EventSourceStream:fv}});var Pj=m((Tet,_j)=>{"use strict";var{pipeline:kSe}=require("node:stream"),{fetching:DSe}=Eh(),{makeRequest:OSe}=oA(),{webidl:Ea}=Ir(),{EventSourceStream:MSe}=Sj(),{parseMIMEType:LSe}=An(),{createFastMessageEvent:FSe}=AA(),{isNetworkError:Nj}=mh(),{delay:USe}=Av(),{kEnumerableProperty:Wl}=Be(),{environmentSettingsObject:xj}=qn(),Qj=!1,Rj=3e3,_h=0,Tj=1,Ph=2,qSe="anonymous",GSe="use-credentials",gA=class t extends EventTarget{static{o(this,"EventSource")}#e={open:null,error:null,message:null};#t=null;#n=!1;#r=_h;#s=null;#i=null;#a;#o;constructor(e,r={}){super(),Ea.util.markAsUncloneable(this);let n="EventSource constructor";Ea.argumentLengthCheck(arguments,1,n),Qj||(Qj=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=Ea.converters.USVString(e,n,"url"),r=Ea.converters.EventSourceInitDict(r,n,"eventSourceInitDict"),this.#a=r.dispatcher,this.#o={lastEventId:"",reconnectionTime:Rj};let s=xj,i;try{i=new URL(e,s.settingsObject.baseUrl),this.#o.origin=i.origin}catch(l){throw new DOMException(l,"SyntaxError")}this.#t=i.href;let a=qSe;r.withCredentials&&(a=GSe,this.#n=!0);let c={redirect:"follow",keepalive:!0,mode:"cors",credentials:a==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};c.client=xj.settingsObject,c.headersList=[["accept",{name:"accept",value:"text/event-stream"}]],c.cache="no-store",c.initiator="other",c.urlList=[new URL(this.#t)],this.#s=OSe(c),this.#l()}get readyState(){return this.#r}get url(){return this.#t}get withCredentials(){return this.#n}#l(){if(this.#r===Ph)return;this.#r=_h;let e={request:this.#s,dispatcher:this.#a},r=o(n=>{Nj(n)&&(this.dispatchEvent(new Event("error")),this.close()),this.#c()},"processEventSourceEndOfBody");e.processResponseEndOfBody=r,e.processResponse=n=>{if(Nj(n))if(n.aborted){this.close(),this.dispatchEvent(new Event("error"));return}else{this.#c();return}let s=n.headersList.get("content-type",!0),i=s!==null?LSe(s):"failure",a=i!=="failure"&&i.essence==="text/event-stream";if(n.status!==200||a===!1){this.close(),this.dispatchEvent(new Event("error"));return}this.#r=Tj,this.dispatchEvent(new Event("open")),this.#o.origin=n.urlList[n.urlList.length-1].origin;let c=new MSe({eventSourceSettings:this.#o,push:o(l=>{this.dispatchEvent(FSe(l.type,l.options))},"push")});kSe(n.body.stream,c,l=>{l?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#i=DSe(e)}async#c(){this.#r!==Ph&&(this.#r=_h,this.dispatchEvent(new Event("error")),await USe(this.#o.reconnectionTime),this.#r===_h&&(this.#o.lastEventId.length&&this.#s.headersList.set("last-event-id",this.#o.lastEventId,!0),this.#l()))}close(){Ea.brandCheck(this,t),this.#r!==Ph&&(this.#r=Ph,this.#i.abort(),this.#s=null)}get onopen(){return this.#e.open}set onopen(e){this.#e.open&&this.removeEventListener("open",this.#e.open),typeof e=="function"?(this.#e.open=e,this.addEventListener("open",e)):this.#e.open=null}get onmessage(){return this.#e.message}set onmessage(e){this.#e.message&&this.removeEventListener("message",this.#e.message),typeof e=="function"?(this.#e.message=e,this.addEventListener("message",e)):this.#e.message=null}get onerror(){return this.#e.error}set onerror(e){this.#e.error&&this.removeEventListener("error",this.#e.error),typeof e=="function"?(this.#e.error=e,this.addEventListener("error",e)):this.#e.error=null}},vj={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:_h,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:Tj,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:Ph,writable:!1}};Obj
`;if(n.username||n.password){let p=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;i["Proxy-Authorization"]=`Basic${Buffer.from(p).toString("base64")}`}i.Host=`${a}:${r.port}`,i["Proxy-Connection"]||(i["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let p of Object.keys(i))c+=`${p}:${i[p]}\r
`)+4,e.outputData[0].data=e._header+n.substring(s),qA("Output buffer: %o",e.outputData[0].data));let i;return this.proxy.protocol==="https:"?(qA("Creating `tls.Socket`: %o",this.connectOpts),i=bDe.connect(this.connectOpts)):(qA("Creating `net.Socket`: %o",this.connectOpts),i=BDe.connect(this.connectOpts)),await(0,SDe.once)(i,"connect"),i}};lB.protocols=["http","https"];Ds.HttpProxyAgent=lB;function xDe(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(xDe,"omit")});var SX=m(bB=>{"use strict";Object.defineProperty(bB,"__esModule",{value:!0});bB.state=void 0;bB.state={instrumenterImplementation:void 0}});var GX=m(QB=>{"use strict";Object.defineProperty(QB,"__esModule",{value:!0});QB.state=void 0;QB.state={operationRequestMap:new WeakMap}});var Cee=m(ip=>{"use strict";Object.defineProperty(ip,"__esModule",{value:!0});var JFe=require("os"),YFe=require("util");function WFe(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}o(WFe,"_interopDefaultLegacy");var jFe=WFe(YFe);function KFe(t,...e){process.stderr.write(`${jFe.default.format(t,...e)}${JFe.EOL}`)}o(KFe,"log");var uee=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,Aee,YM=[],WM=[],Jb=[];uee&&jM(uee);var pee=Object.assign(t=>fee(t),{enable:jM,enabled:KM,disable:XFe,log:KFe});function jM(t){Aee=t,YM=[],WM=[];let e=/\*/g,r=t.split(",").map(n=>n.trim().replace(e,".*?"));for(let n of r)n.startsWith("-")?WM.push(new RegExp(`^${n.substr(1)}$`)):YM.push(new RegExp(`^${n}$`));for(let n of Jb)n.enabled=KM(n.namespace)}o(jM,"enable");function KM(t){if(t.endsWith("*"))return!0;for(let e of WM)if(e.test(t))return!1;for(let e of YM)if(e.test(t))return!0;return!1}o(KM,"enabled");function XFe(){let t=Aee||"";return jM(""),t}o(XFe,"disable");function fee(t){let e=Object.assign(r,{enabled:KM(t),destroy:ZFe,log:pee.log,namespace:t,extend:eUe});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t}${n[0]}`),e.log(...n))}return o(r,"debug"),Jb.push(e),e}o(fee,"createDebugger");function ZFe(){let t=Jb.indexOf(this);return t>=0?(Jb.splice(t,1),!0):!1}o(ZFe,"destroy");function eUe(t){let e=fee(`${this.namespace}:${t}`);return e.log=this.log,e}o(eUe,"extend");var cg=pee,hee=new Set,zb=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,Yb,Wb=cg("azure");Wb.log=(...t)=>{cg.log(...t)};var XM=["verbose","info","warning","error"];zb&&(yee(zb)?mee(zb):console.error(`AZURE_LOG_LEVELsettounknownloglevel'${zb}';loggingisnotenabled.Acceptablevalues:${XM.join(", ")}.`));function mee(t){if(t&&!yee(t))throw new Error(`Unknownloglevel'${t}'.Acceptablevalues:${XM.join(",")}`);Yb=t;let e=[];for(let r of hee)Eee(r)&&e.push(r.namespace);cg.enable(e.join(","))}o(mee,"setLogLevel");function tUe(){return Yb}o(tUe,"getLogLevel");var dee={verbose:400,info:300,warning:200,error:100};function rUe(t){let e=Wb.extend(t);return gee(Wb,e),{error:$b(e,"error"),warning:$b(e,"warning"),info:$b(e,"info"),verbose:$b(e,"verbose")}}o(rUe,"createClientLogger");function gee(t,e){e.log=(...r)=>{t.log(...r)}}o(gee,"patchLogMethod");function $b(t,e){let r=Object.assign(t.extend(e),{level:e});if(gee(t,r),Eee(r)){let n=cg.disable();cg.enable(n+","+r.namespace)}return hee.add(r),r}o($b,"createLogger");function Eee(t){return!!(Yb&&dee[t.level]<=dee[Yb])}o(Eee,"shouldEnable");function yee(t){return XM.includes(t)}o(yee,"isAzureLogLevel");ip.AzureLogger=Wb;ip.createClientLogger=rUe;ip.getLogLevel=tUe;ip.setLogLevel=mee});var tL=m(ug=>{"use strict";Object.defineProperty(ug,"__esModule",{value:!0});var op=new WeakMap,jb=new WeakMap,lg=class t{static{o(this,"AbortSignal")}constructor(){this.onabort=null,op.set(this,[]),jb.set(this,!1)}get aborted(){if(!jb.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return jb.get(this)}static get none(){return new t}addEventListener(e,r){if(!op.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");op.get(this).push(r)}removeEventListener(e,r){if(!op.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let n=op.get(this),s=n.indexOf(r);s>-1&
Polling status: ${Tee.includes(d)?"Stopped":"Running"}`),d==="succeeded"){letA=a(u,r);if(A!==void0)return{response:awaite(A).catch(Qee({state:r,stateProxy:n,isOperationError:c})),status:d}}return{response:u,status:d}}o(yUe,"pollOperationHelper");asyncfunctionkee(t){let{poll:e,state:r,stateProxy:n,options:s,getOperationStatus:i,getResourceLocation:a,getOperationLocation:c,isOperationError:l,withOperationLocation:u,getPollingInterval:d,processResult:A,getError:p,updateState:f,setDelay:h,isDone:g,setErrorAsResult:y}=t,{operationLocation:E}=r.config;if(E!==void0){let{response:C,status:I}=awaityUe({poll:e,getOperationStatus:i,state:r,stateProxy:n,operationLocation:E,getResourceLocation:a,isOperationError:l,options:s});if(_ee({status:I,response:C,state:r,stateProxy:n,isDone:g,processResult:A,getError:p,setErrorAsResult:y}),!Tee.includes(I)){letb=d?.(C);b&&h(b);letN=c?.(C,r);if(N!==void0){letQ=E!==N;r.config.operationLocation=N,u?.(N,Q)}elseu?.(E,!1)}f?.(r,C)}}o(kee,"pollOperation");functionDee(t){let{azureAsyncOperation:e,operationLocation:r}=t;returnr??e}o(Dee,"getOperationLocationPollingUrl");functionOee(t){returnt.headers.location}o(Oee,"getLocationHeader");functionMee(t){returnt.headers["operation-location"]}o(Mee,"getOperationLocationHeader");functionLee(t){returnt.headers["azure-asyncoperation"]}o(Lee,"getAzureAsyncOperationHeader");functionCUe(t){let{location:e,requestMethod:r,requestPath:n,resourceLocationConfig:s}=t;switch(r){case"PUT":returnn;case"DELETE":return;default:switch(s){case"azure-async-operation":return;case"original-uri":returnn;default:returne}}}o(CUe,"findResourceLocation");functionFee(t){let{rawResponse:e,requestMethod:r,requestPath:n,resourceLocationConfig:s}=t,i=Mee(e),a=Lee(e),c=Dee({operationLocation:i,azureAsyncOperation:a}),l=Oee(e),u=r?.toLocaleUpperCase();returnc!==void0?{mode:"OperationLocation",operationLocation:c,resourceLocation:CUe({requestMethod:u,location:l,requestPath:n,resourceLocationConfig:s})}:l!==void0?{mode:"ResourceLocation",operationLocation:l}:u==="PUT"&&n?{mode:"Body",operationLocation:n}:void0}o(Fee,"inferLroMode");functionUee(t){let{status:e,statusCode:r}=t;if(typeofe!="string"&&e!==void0)thrownewError(`Polling was unsuccessful. Expected status to have a string value or no value but it has instead: ${e}. This doesn't necessarily indicate the operation has failed. Check your Azure subscription or resource status for more information.`);switch(e?.toLocaleLowerCase()){casevoid0:returnlL(r);case"succeeded":return"succeeded";case"failed":return"failed";case"running":case"accepted":case"started":case"canceling":case"cancelling":return"running";case"canceled":case"cancelled":return"canceled";default:returnQu.verbose(`LRO: unrecognized operation status: ${e}`),e}}o(Uee,"transformStatus");functionIUe(t){vare;let{status:r}=(e=t.body)!==null&&e!==void0?e:{};returnUee({status:r,statusCode:t.statusCode})}o(IUe,"getStatus");functionBUe(t){vare,r;let{properties:n,provisioningState:s}=(e=t.body)!==null&&e!==void0?e:{},i=(r=n?.provisioningState)!==null&&r!==void0?r:s;returnUee({status:i,statusCode:t.statusCode})}o(BUe,"getProvisioningState");functionlL(t){returnt===202?"running":t<300?"succeeded":"failed"}o(lL,"toOperationStatus");functionqee({rawResponse:t}){lete=t.headers["retry-after"];if(e!==void0){letr=parseInt(e);returnisNaN(r)?bUe(newDate(e)):r*1e3}}o(qee,"parseRetryAfter");functionGee(t){lete=t.flatResponse.error;if(!e){Qu.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){Qu.warning("The long-running operation failed but the error property in the response's body doesn't contain code or message");return}returne}o(Gee,"getErrorFromResponse");functionbUe(t){lete=Math.floor(newDate().getTime()),r=t.getTime();if(e<r)returnr-e}o(bUe,"calculatePollingIntervalFromDate");functionHee(t){let{response:e,state:r,operationLocation:n}=t;functions(){vara;switch((a=r.config.metadata)===null||a===void0?void0:a.mode){casevoid0:returnlL(e.rawResponse.sta
`)}};Vw.RpcError=YL});varjL=m($w=>{"use strict";Object.defineProperty($w,"__esModule",{value:!0});$w.mergeRpcOptions=void0;varrre=Gt();functionUqe(t,e){if(!e)returnt;letr={};zw(t,r),zw(e,r);for(letnofObject.keys(e)){lets=e[n];switch(n){case"jsonOptions":r.jsonOptions=rre.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=rre.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},zw(t.meta,r.meta),zw(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(s):s.concat();break}}returnr}o(Uqe,"mergeRpcOptions");$w.mergeRpcOptions=Uqe;functionzw(t,e){if(!t)return;letr=e;for(let[n,s]ofObject.entries(t))sinstanceofDate?r[n]=newDate(s.getTime()):Array.isArray(s)?r[n]=s.concat():r[n]=s}o(zw,"copy")});varXL=m(Pu=>{"use strict";Object.defineProperty(Pu,"__esModule",{value:!0});Pu.Deferred=Pu.DeferredState=void0;varko;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(ko=Pu.DeferredState||(Pu.DeferredState={}));varKL=class{static{o(this,"Deferred")}constructor(e=!0){this._state=ko.PENDING,this._promise=newPromise((r,n)=>{this._resolve=r,this._reject=n}),e&&this._promise.catch(r=>{})}getstate(){returnthis._state}getpromise(){returnthis._promise}resolve(e){if(this.state!==ko.PENDING)thrownewError(`cannot resolve ${ko[this.state].toLowerCase()}`);this._resolve(e),this._state=ko.RESOLVED}reject(e){if(this.state!==ko.PENDING)thrownewError(`cannot reject ${ko[this.state].toLowerCase()}`);this._reject(e),this._state=ko.REJECTED}resolvePending(e){this._state===ko.PENDING&&this.resolve(e)}rejectPending(e){this._state===ko.PENDING&&this.reject(e)}};Pu.Deferred=KL});vare1=m(Jw=>{"use strict";Object.defineProperty(Jw,"__esModule",{value:!0});Jw.RpcOutputStreamController=void0;varnre=XL(),ku=Gt(),ZL=class{static{o(this,"RpcOutputStreamController")}constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]},this._closed=!1,this._itState={q:[]}}onNext(e){returnthis.addLis(e,this._lis.nxt)}onMessage(e){returnthis.addLis(e,this._lis.msg)}onError(e){returnthis.addLis(e,this._lis.err)}onComplete(e){returnthis.addLis(e,this._lis.cmp)}addLis(e,r){returnr.push(e),()=>{letn=r.indexOf(e);n>=0&&r.splice(n,1)}}clearLis(){for(leteofObject.values(this._lis))e.splice(0,e.length)}getclosed(){returnthis._closed!==!1}notifyNext(e,r,n){ku.assert((e?1:0)+(r?1:0)+(n?1:0)<=1,"only one emission at a time"),e&&this.notifyMessage(e),r&&this.notifyError(r),n&&this.notifyComplete()}notifyMessage(e){ku.assert(!this.closed,"stream is closed"),this.pushIt({value:e,done:!1}),this._lis.msg.forEach(r=>r(e)),this._lis.nxt.forEach(r=>r(e,void0,!1))}notifyError(e){ku.assert(!this.closed,"stream is closed"),this._closed=e,this.pushIt(e),this._lis.err.forEach(r=>r(e)),this._lis.nxt.forEach(r=>r(void0,e,!1)),this.clearLis()}notifyComplete(){ku.assert(!this.closed,"stream is closed"),this._closed=!0,this.pushIt({value:null,done:!0}),this._lis.cmp.forEach(e=>e()),this._lis.nxt.forEach(e=>e(void0,void0,!0)),this.clearLis()}[Symbol.asyncIterator](){returnthis._closed===!0?this.pushIt({value:null,done:!0}):this._closed!==!1&&this.pushIt(this._closed),{next:o(()=>{lete=this._itState;ku.assert(e,"bad state"),ku.assert(!e.p,"iterator contract broken");letr=e.q.shift();returnr?"value"inr?Promise.resolve(r):Promise.reject(r):(e.p=newnre.Deferred,e.p.promise)},"next")}}pushIt(e){letr=this._itState;if(r.p){letn=r.p;ku.assert(n.state==nre.DeferredState.PENDING,"iterator contract broken"),"value"ine?n.resolve(e):n.reject(e),deleter.p}elser.q.push(e)}};Jw.RpcOutputStreamController=ZL});varr1=m(yp=>{"use strict";varqqe=yp&&yp.__awaiter||function(t,e,r,n){functions(i){returniinstanceofr?i:newr(function(a){a(i)})}returno(s,"adopt"),new(r||(r=Promise))(function(i,a){functionc(d){try{u(n.next(d))}catch(A){a(A)}}o(c,"fulfilled");functionl(d){try{u(n.throw(d))}catch(A){a(A)}}o(l,"rejected");functionu(d){d.done?i(d.value):s(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};Object.definePrope
Seehttps://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}o(J$e,"logUnexpecedPropertyAccessOnce");function Y$e(){Object.keys(R0).forEach(function(t){delete R0[t]})}o(Y$e,"resetLoggedProperties")});var v0=m(Lo=>{"use strict";Lo.__esModule=!0;Lo.HandlebarsEnvironment=wF;function hie(t){return t&&t.__esModule?t:{default:t}}o(hie,"_interopRequireDefault");var qu=an(),W$e=fs(),BF=hie(W$e),j$e=EF(),K$e=die(),X$e=CF(),T0=hie(X$e),Z$e=IF(),eJe="4.7.9";Lo.VERSION=eJe;var tJe=8;Lo.COMPILER_REVISION=tJe;var rJe=7;Lo.LAST_COMPATIBLE_COMPILER_REVISION=rJe;var nJe={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};Lo.REVISION_CHANGES=nJe;var bF="[object Object]";function wF(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},j$e.registerDefaultHelpers(this),K$e.registerDefaultDecorators(this)}o(wF,"HandlebarsEnvironment");wF.prototype={constructor:wF,logger:T0.default,log:T0.default.log,registerHelper:o(function(e,r){if(qu.toString.call(e)===bF){if(r)throw new BF.default("Arg not supported with multiple helpers");qu.extend(this.helpers,e)}else this.helpers[e]=r},"registerHelper"),unregisterHelper:o(function(e){delete this.helpers[e]},"unregisterHelper"),registerPartial:o(function(e,r){if(qu.toString.call(e)===bF)qu.extend(this.partials,e);else{if(typeof r>"u")throw new BF.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=r}},"registerPartial"),unregisterPartial:o(function(e){delete this.partials[e]},"unregisterPartial"),registerDecorator:o(function(e,r){if(qu.toString.call(e)===bF){if(r)throw new BF.default("Arg not supported with multiple decorators");qu.extend(this.decorators,e)}else this.decorators[e]=r},"registerDecorator"),unregisterDecorator:o(function(e){delete this.decorators[e]},"unregisterDecorator"),resetLoggedPropertyAccesses:o(function(){Z$e.resetLoggedProperties()},"resetLoggedPropertyAccesses")};var sJe=T0.default.log;Lo.log=sJe;Lo.createFrame=qu.createFrame;Lo.logger=T0.default});var gie=m((_0,mie)=>{"use strict";_0.__esModule=!0;function SF(t){this.string=t}o(SF,"SafeString");SF.prototype.toString=SF.prototype.toHTML=function(){return""+this.string};_0.default=SF;mie.exports=_0.default});var Eie=m(NF=>{"use strict";NF.__esModule=!0;NF.wrapHelper=iJe;function iJe(t,e){if(typeof t!="function")return t;var r=o(function(){var s=arguments[arguments.length-1];return arguments[arguments.length-1]=e(s),t.apply(this,arguments)},"wrapper");return r}o(iJe,"wrapHelper")});var wie=m(jc=>{"use strict";jc.__esModule=!0;jc.checkRevision=dJe;jc.template=AJe;jc.wrapProgram=P0;jc.resolvePartial=pJe;jc.invokePartial=fJe;jc.noop=Bie;function oJe(t){return t&&t.__esModule?t:{default:t}}o(oJe,"_interopRequireDefault");function aJe(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}o(aJe,"_interopRequireWildcard");var cJe=an(),_p=aJe(cJe),lJe=fs(),Ha=oJe(lJe),Va=v0(),yie=EF(),uJe=Eie(),Cie=IF();function dJe(t){var e=t&&t[0]||1,r=Va.COMPILER_REVISION;if(!(e>=Va.LAST_COMPATIBLE_COMPILER_REVISION&&e<=Va.COMPILER_REVISION))if(e<Va.LAST_COMPATIBLE_COMPILER_REVISION){var n=Va.REVISION_CHANGES[r],s=Va.REVISION_CHANGES[e];throw new Ha.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+n+") or downgrade your runtime to an older version ("+s+").")}else throw new Ha.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+t[1]+").")}o(dJe,"checkRevision");function AJe(t,e){if(!e)throw new Ha.default("No environment passed to template");if(!t||!t.main)throw new Ha.default("Unknown template object: "+typeof t);t.main.decorator=t.main_d,e.VM.checkRevision(t.compiler);var r=t.compiler&&t.compiler[0]===7;function n(a,c,l){l.hash&&(c=_p.extend({},c,l.hash),l.ids&&(l.ids[0]=!0)),a=e.VM.res
Expecting `+de.join(", ")+", got '"+(this.terminals_[b]||b)+"'":Gr="Parse error on line "+(A+1)+": Unexpected "+(b==1?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(Gr,{text:this.lexer.match,token:this.terminals_[b]||b,line:this.lexer.yylineno,loc:y,expected:de})}}if(D[0]instanceofArray&&D.length>1)thrownewError("Parse Error: multiple actions possible at state: "+Q+", token: "+b);switch(D[0]){case1:a.push(b),c.push(this.lexer.yytext),l.push(this.lexer.yylloc),a.push(D[1]),b=null,N?(b=N,N=null):(p=this.lexer.yyleng,d=this.lexer.yytext,A=this.lexer.yylineno,y=this.lexer.yylloc,f>0&&f--);break;case2:if(Ce=this.productions_[D[1]][1],qe.$=c[c.length-Ce],qe._$={first_line:l[l.length-(Ce||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(Ce||1)].first_column,last_column:l[l.length-1].last_column},E&&(qe._$.range=[l[l.length-(Ce||1)].range[0],l[l.length-1].range[1]]),Me=this.performAction.call(qe,d,p,A,this.yy,D[1],c,l),typeofMe<"u")returnMe;Ce&&(a=a.slice(0,-1*Ce*2),c=c.slice(0,-1*Ce),l=l.slice(0,-1*Ce)),a.push(this.productions_[D[1]][0]),c.push(qe.$),l.push(qe._$),tt=u[a[a.length-2]][a[a.length-1]],a.push(tt);break;case3:return!0}}return!0},"parse")},e=(function(){varn={EOF:1,parseError:o(function(i,a){if(this.yy.parser)this.yy.parser.parseError(i,a);elsethrownewError(i)},"parseError"),setInput:o(function(i){returnthis._input=i,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){vari=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;vara=i.match(/(?:\r\n?|\n).*/g);returna?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:o(function(i){vara=i.length,c=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a-1),this.offset-=a;varl=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);varu=this.yylloc.range;returnthis.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===l.length?this.yylloc.first_column:0)+l[l.length-c.length].length-c[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-a]),this},"unput"),more:o(function(){returnthis._more=!0,this},"more"),less:o(function(i){this.unput(this.match.slice(i))},"less"),pastInput:o(function(){vari=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){vari=this.match;returni.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){vari=this.pastInput(),a=newArray(i.length+1).join("-");returni+this.upcomingInput()+`
`+a+"^"},"showPosition"),next:o(function(){if(this.done)returnthis.EOF;this._input||(this.done=!0);vari,a,c,l,u,d;this._more||(this.yytext="",this.match="");for(varA=this._currentRules(),p=0;p<A.length&&(c=this._input.match(this.rules[A[p]]),!(c&&(!a||c[0].length>a[0].length)&&(a=c,l=p,!this.options.flex)));p++);returna?(d=a[0].match(/(?:\r\n?|\n).*/g),d&&(this.yylineno+=d.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:d?d[d.length-1].length-d[d.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(a[0].length),this.matched+=a[0],i=this.performAction.call(this,this.yy,this,A[l],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i||void0):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){vari=this.next();returntypeofi<"u"?i:this.lex()},"lex"),begin:o(function(i){this.conditionStack.push(i)},"begin"),popState:o(function(){returnthis.conditionStack.pop()},"popState"),_currentRules:o(function(){returnthis.conditions[this.conditionStack[this.conditionStack.length-1]].rules},"_currentRules"),topState:o(function(){returnthis.conditionStack[this.conditionStack.length-2]},"topState"),pushState:o(function(i){this.begin(i)},"begin")};returnn.options={},n.performAction=o(function(i,a,c,l){functionu(A,p){returna.yytext=a.yytext.substring(A,a.yyleng-p+A)}o(u,"strip");vard=l;switch(c){case0:if(a.yytext.slice(-2)==="\\\\"?(u(0,1),this.begin("mu")):a.yytext.slice(-1)==="\\"?(u(0,1),this.begin("emu")):this.begin("mu"),a.yytext)return15;break;case1:return15;case2:returnthis.popState(),15;break;case3:returnthis.begin("raw"),15;break;case4:returnthis.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(u(5,9),"END_RAW_BLOCK");case5:return15;case6:returnthis.popState(),14;break;case7:return65;case8:return68;case9:return19;case10:returnthis.popState(),this.begin("raw"),23;break;case11:return55;case12:return60;case13:return29;case14:return47;case15:returnthis.popState(),44;break;case16:returnthis.popState(),44;break;case17:return34;case18:return39;case19:return51;case20:return48;case21:this.unput(a.yytext),this.popState(),this.begin("com");break;case22:returnthis.popState(),14;break;case23:return48;case24:return73;case25:return72;case26:return72;case27:return87;case28:break;case29:returnthis.popState(),54;break;case30:returnthis.popState(),33;break;case31:returna.yytext=u(1,2).replace(/\\"/g,'"'),80;break;case32:returna.yytext=u(1,2).replace(/\\'/g,"'"),80;break;case33:return85;case34:return82;case35:return82;case36:return83;case37:return84;case38:return81;case39:return75;case40:return77;case41:return72;case42:returna.yytext=a.yytext.replace(/\\([\\\]])/g,"$1"),72;break;case43:return"INVALID";case44:return5}},"anonymous"),n.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],n.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},n})();t.lexer=e;functionr(){this.yy={}}returno(r,"Parser"),r.prototype=t,t.Parser=r,newr})();L0.default=NJe;Pie.exports=L0.default});varG0=m((q0,Mie)=>{"use strict";q0.__esModule=!0;functionxJe(t){returnt&&t.__esModule?t:{default:t}}o(xJe,"_interopRequireDefault");varQJe=fs(),_F=xJe(QJe);functionF0(){this.parents=[]}o(F0,"Visitor");F0.prototype={constructor:F0,mutating:!1,acceptKey:o(function(e,r){varn=this.accept(e[r]);if(this.mutating){if(n&&!F0.prototype[n.type])thrownew_F.default('Unexpected node type "'+n.type+'" found when accepting '+r+" on "+e.type);e[r]=n}},"acceptKey"),acceptRequired:o(function(e,r){if(this.a
`])}),e},"merge"),each:o(function(e){for(var r=0,n=this.source.length;r<n;r++)e(this.source[r])},"each"),empty:o(function(){var e=this.currentLocation||{start:{}};return new zu(e.start.line,e.start.column,this.srcFile)},"empty"),wrap:o(function(e){var r=arguments.length<=1||arguments[1]===void 0?this.currentLocation||{start:{}}:arguments[1];return e instanceof zu?e:(e=eU(e,this,r),new zu(r.start.line,r.start.column,this.srcFile,e))},"wrap"),functionCall:o(function(e,r,n){return n=this.generateList(n),this.wrap([e,r?"."+r+"(":"(",n,")"])},"functionCall"),quotedString:o(function(e){return'"'+(e+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},"quotedString"),objectLiteral:o(function(e){var r=this,n=[];Object.keys(e).forEach(function(i){var a=eU(e[i],r);a!=="undefined"&&n.push([r.quotedString(i),":",a])});var s=this.generateList(n);return s.prepend("{"),s.add("}"),s},"objectLiteral"),generateList:o(function(e){for(var r=this.empty(),n=0,s=e.length;n<s;n++)n&&r.add(","),r.add(eU(e[n],this));return r},"generateList"),generateArray:o(function(e){var r=this.generateList(e);return r.prepend("["),r.add("]"),r},"generateArray")};j0.default=Eoe;yoe.exports=j0.default});var Soe=m((K0,woe)=>{"use strict";K0.__esModule=!0;function boe(t){return t&&t.__esModule?t:{default:t}}o(boe,"_interopRequireDefault");var Ioe=v0(),SYe=fs(),rU=boe(SYe),NYe=an(),xYe=Coe(),Boe=boe(xYe);function Lp(t){this.value=t}o(Lp,"Literal");function Fp(){}o(Fp,"JavaScriptCompiler");Fp.prototype={nameLookup:o(function(e,r){return this.internalNameLookup(e,r)},"nameLookup"),depthedLookup:o(function(e){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(e),")"]},"depthedLookup"),compilerInfo:o(function(){var e=Ioe.COMPILER_REVISION,r=Ioe.REVISION_CHANGES[e];return[e,r]},"compilerInfo"),appendToBuffer:o(function(e,r,n){return NYe.isArray(e)||(e=[e]),e=this.source.wrap(e,r),this.environment.isSimple?["return ",e,";"]:n?["buffer += ",e,";"]:(e.appendToBuffer=!0,e)},"appendToBuffer"),initializeBuffer:o(function(){return this.quotedString("")},"initializeBuffer"),internalNameLookup:o(function(e,r){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",e,",",JSON.stringify(r),")"]},"internalNameLookup"),lookupPropertyFunctionIsUsed:!1,compile:o(function(e,r,n,s){this.environment=e,this.options=r,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!s,this.name=this.environment.name,this.isChild=!!n,this.context=n||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(e,r),this.useDepths=this.useDepths||e.useDepths||e.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||e.useBlockParams;var i=e.opcodes,a=void 0,c=void 0,l=void 0,u=void 0;for(l=0,u=i.length;l<u;l++)a=i[l],this.source.currentLocation=a.loc,c=c||a.loc,this[a.opcode].apply(this,a.args);if(this.source.currentLocation=c,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new rU.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),`;
`)}o(A9e,"fromDER")});varxN=m(pl=>{"use strict";Object.defineProperty(pl,"__esModule",{value:!0});pl.SHA2_HASH_ALGOS=pl.RSA_SIGNATURE_ALGOS=pl.ECDSA_SIGNATURE_ALGOS=void0;pl.ECDSA_SIGNATURE_ALGOS={"1.2.840.10045.4.3.1":"sha224","1.2.840.10045.4.3.2":"sha256","1.2.840.10045.4.3.3":"sha384","1.2.840.10045.4.3.4":"sha512"};pl.RSA_SIGNATURE_ALGOS={"1.2.840.113549.1.1.14":"sha224","1.2.840.113549.1.1.11":"sha256","1.2.840.113549.1.1.12":"sha384","1.2.840.113549.1.1.13":"sha512"};pl.SHA2_HASH_ALGOS={"2.16.840.1.101.3.4.2.1":"sha256","2.16.840.1.101.3.4.2.2":"sha384","2.16.840.1.101.3.4.2.3":"sha512"}});vargq=m(QN=>{"use strict";Object.defineProperty(QN,"__esModule",{value:!0});QN.RFC3161TimestampVerificationError=void0;varmq=classextendsError{static{o(this,"RFC3161TimestampVerificationError")}};QN.RFC3161TimestampVerificationError=mq});varcue=m($o=>{"use strict";varp9e=$o&&$o.__createBinding||(Object.create?(function(t,e,r,n){n===void0&&(n=r);vars=Object.getOwnPropertyDescriptor(e,r);(!s||("get"ins?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:o(function(){returne[r]},"get")}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void0&&(n=r),t[n]=e[r]})),f9e=$o&&$o.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),h9e=$o&&$o.__importStar||(function(){vart=o(function(e){returnt=Object.getOwnPropertyNames||function(r){varn=[];for(varsinr)Object.prototype.hasOwnProperty.call(r,s)&&(n[n.length]=s);returnn},t(e)},"ownKeys");returnfunction(e){if(e&&e.__esModule)returne;varr={};if(e!=null)for(varn=t(e),s=0;s<n.length;s++)n[s]!=="default"&&p9e(r,e,n[s]);returnf9e(r,e),r}})();Object.defineProperty($o,"__esModule",{value:!0});$o.TSTInfo=void0;varaue=h9e(mf()),m9e=xN(),g9e=gq(),Eq=class{static{o(this,"TSTInfo")}root;constructor(e){this.root=e}getversion(){returnthis.root.subs[0].toInteger()}getgenTime(){returnthis.root.subs[4].toDate()}getmessageImprintHashAlgorithm(){lete=this.messageImprintObj.subs[0].subs[0].toOID();returnm9e.SHA2_HASH_ALGOS[e]}getmessageImprintHashedMessage(){returnthis.messageImprintObj.subs[1].value}getraw(){returnthis.root.toDER()}verify(e){letr=aue.digest(this.messageImprintHashAlgorithm,e);if(!aue.bufferEqual(r,this.messageImprintHashedMessage))thrownewg9e.RFC3161TimestampVerificationError("message imprint does not match artifact")}getmessageImprintObj(){returnthis.root.subs[2]}};$o.TSTInfo=Eq});varuue=m(Jo=>{"use strict";varE9e=Jo&&Jo.__createBinding||(Object.create?(function(t,e,r,n){n===void0&&(n=r);vars=Object.getOwnPropertyDescriptor(e,r);(!s||("get"ins?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:o(function(){returne[r]},"get")}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void0&&(n=r),t[n]=e[r]})),y9e=Jo&&Jo.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),C9e=Jo&&Jo.__importStar||(function(){vart=o(function(e){returnt=Object.getOwnPropertyNames||function(r){varn=[];for(varsinr)Object.prototype.hasOwnProperty.call(r,s)&&(n[n.length]=s);returnn},t(e)},"ownKeys");returnfunction(e){if(e&&e.__esModule)returne;varr={};if(e!=null)for(varn=t(e),s=0;s<n.length;s++)n[s]!=="default"&&E9e(r,e,n[s]);returny9e(r,e),r}})();Object.defineProperty(Jo,"__esModule",{value:!0});Jo.RFC3161Timestamp=void0;varI9e=wN(),yq=C9e(mf()),lue=xN(),QE=gq(),B9e=cue(),b9e="1.2.840.113549.1.7.2",w9e="1.2.840.113549.1.9.16.1.4",S9e="1.2.840.113549.1.9.4",Cq=classt{static{o(this,"RFC3161Timestamp")}root;constructor(e){this.root=e}staticparse(e){letr=I9e.ASN1Obj.parseBuffer(e);returnnewt(r)}getstatus(){returnthis.pkiStatusInfoObj.subs[0].toInteger()}getcontentType(){returnthis.contentTypeObj.toOID()}geteContentType(){returnthis.eContentTypeObj.toOID()}getsigningTime(){returnthis.tstInfo.genTime}getsignerIssuer(){returnthis.signerSidObj.subs[0].value}getsignerSerialNumber(){returnthis.signerSidObj.subs[1].value}getsignerDigestAlgorith
`,z6e=/\u2014 (\S+) (\S+)\n/g;function $6e(t,e){let r=t.inclusionProof,n=jq.fromString(r.checkpoint.envelope),s=YN.fromString(n.note);if(!J6e(n,e))throw new bf.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"invalid checkpoint signature"});return s}o($6e,"verifyCheckpoint");function J6e(t,e){let r=Buffer.from(t.note,"utf-8");return t.signatures.some(n=>{let s=e.find(i=>Vue.crypto.bufferEqual(i.logID.subarray(0,4),n.keyHint)&&i.baseURL.includes(n.name));return s?Vue.crypto.verify(r,s.publicKey,n.signature):!1})}o(J6e,"verifySignedNote");var jq=class t{static{o(this,"SignedNote")}note;signatures;constructor(e,r){this.note=e,this.signatures=r}static fromString(e){if(!e.includes(Wq))throw new bf.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"missing checkpoint separator"});let r=e.indexOf(Wq),n=e.slice(0,r+1),i=e.slice(r+Wq.length).matchAll(z6e),a=Array.from(i,c=>{let[,l,u]=c,d=Buffer.from(u,"base64");if(d.length<5)throw new bf.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"malformed checkpoint signature"});return{name:l,keyHint:d.subarray(0,4),signature:d.subarray(4)}});if(a.length===0)throw new bf.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"no signatures found in checkpoint"});return new t(n,a)}},YN=class t{static{o(this,"LogCheckpoint")}origin;logSize;logHash;rest;constructor(e,r,n,s){this.origin=e,this.logSize=r,this.logHash=n,this.rest=s}static fromString(e){let r=e.trimEnd().split(`
`);if(r.length<3)throw new bf.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"too few lines in checkpoint header"});let n=r[0],s;try{s=BigInt(r[1])}catch{throw new bf.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"invalid checkpoint log size"})}let i=Buffer.from(r[2],"base64"),a=r.slice(3);return new t(n,s,i,a)}};PE.LogCheckpoint=YN});var $ue=m(Zq=>{"use strict";Object.defineProperty(Zq,"__esModule",{value:!0});Zq.verifyMerkleInclusion=j6e;var Xq=Pi(),WN=qr(),Y6e=Buffer.from([0]),W6e=Buffer.from([1]);function j6e(t,e){let r=t.inclusionProof,n;try{n=BigInt(r.logIndex)}catch{throw new WN.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"invalid inclusion proof log index"})}let s=BigInt(e.logSize);if(n<0n||n>=s)throw new WN.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:`invalidindex:${n}`});let{inner:i,border:a}=K6e(n,s);if(r.hashes.length!==i+a)throw new WN.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"invalid hash count"});let c=r.hashes.slice(0,i),l=r.hashes.slice(i),u=nKe(t.canonicalizedBody),d=Z6e(X6e(u,c,n),l);if(!Xq.crypto.bufferEqual(d,e.logHash))throw new WN.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"calculated root hash does not match inclusion proof"})}o(j6e,"verifyMerkleInclusion");function K6e(t,e){let r=eKe(t,e),n=tKe(t>>BigInt(r));return{inner:r,border:n}}o(K6e,"decompInclProof");function X6e(t,e,r){return e.reduce((n,s,i)=>r>>BigInt(i)&BigInt(1)?Kq(s,n):Kq(n,s),t)}o(X6e,"chainInner");function Z6e(t,e){return e.reduce((r,n)=>Kq(n,r),t)}o(Z6e,"chainBorderRight");function eKe(t,e){return rKe(t^e-BigInt(1))}o(eKe,"innerProofSize");function tKe(t){return t.toString(2).split("1").length-1}o(tKe,"onesCount");function rKe(t){return t===0n?0:t.toString(2).length}o(rKe,"bitLength");function Kq(t,e){return Xq.crypto.digest("sha256",W6e,t,e)}o(Kq,"hashChildren");function nKe(t){return Xq.crypto.digest("sha256",Y6e,t)}o(nKe,"hashLeaf")});var Yue=m(eG=>{"use strict";Object.defineProperty(eG,"__esModule",{value:!0});eG.verifyTLogSET=oKe;var Jue=Pi(),sKe=qr(),iKe=yf();function oKe(t,e){if(!(0,iKe.filterTLogAuthorities)(e,{logID:t.logId.keyId,targetDate:new Date(Number(t.integratedTime)*1e3)}).some(s=>{let i=aKe(t),a=Buffer.from(Jue.json.canonicalize(i),"utf8"),c=t.inclusionPromise.signedEntryTimestamp;return Jue.crypto.verify(a,s.publicKey,c)}))throw new sKe.VerificationError({code:"TLOG_INCLUSION_PROMISE_ERROR",message:"inclusion promise could not be verified"})}o(oKe,"verifyTLogSET");function aKe(t){let{integratedTime:e,logIndex:r,logId:n,canonicalizedBody:s}=t;return{body:s.toString("base64"),integratedTime:Number(e),logIndex:Number(r),logID:n.keyId.toString("hex")}}o(aKe,"toVerificationPayload")});var jue=m(KN=>{"use strict";Object.defineProperty(KN,"__esModule",{value:!0});KN.verifyTLogBody=AKe;KN.verifyTLogInclusion=pKe;var Wue=Uue(),jN=qr(),tG=que(),rG=Gue(),cKe=Hue(),lKe=zue(),uKe=$ue(),dKe=Yue();function AKe(t,e){let{kind:r,version:n}=t.kindVersion,s;try{s=JSON.parse(t.canonicalizedBody.toString("utf8"))}catch{throw new jN.VerificationError({code:"TLOG_BODY_ERROR",message:"invalid canonicalized body"})}if(r!==s.kind||n!==s.apiVersion)throw new jN.VerificationError({code:"TLOG_BODY_ERROR",message:`kind/versionmismatch-expected:${r}/${n},received:${s.kind}/${s.apiVersion}`});switch(r){case"dsse":if(n==tG.DSSE_API_VERSION_V1)return(0,tG.verifyDSSETLogBody)(s,e);{let i=Wue.Entry.fromJSON(s);return(0,tG.verifyDSSETLogBodyV2)(i,e)}case"intoto":return(0,cKe.verifyIntotoTLogBody)(s,e);case"hashedrekord":if(n==rG.HASHEDREKORD_API_VERSION_V1)return(0,rG.verifyHashedRekordTLogBody)(s,e);{let i=Wue.Entry.fromJSON(s);return(0,rG.verifyHashedRekordTLogBodyV2)(i,e)}default:throw new jN.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupportedkind:${r}`})}}o(AKe,"verifyTLogBody");function pKe(t,e){let r=!1;if(fKe(t)&&((0,dKe.verifyTLogSET)(t,e),r=!0),hKe(t)){let n=(0,lKe.verifyCheckpoint)(t,e);(0,uKe.verifyMerkleInclusion)(t,n),r=!0}if(!r)throw new jN.VerificationError({code:"TLOG_MISSING_INCLUSION_ERROR",message:"inclusion c
`),u}o(IG,"getBlockValue");functionnpe(t,e){if(e.valueStart===jAe)return"";let{valueStart:r,valueEnd:n}=e;if(e.fast)returnt.slice(r,n);switch(e.style){casebe.SINGLE_QUOTED:returntpe(t,r,n);casebe.DOUBLE_QUOTED:returnrpe(t,r,n);casebe.LITERAL_BLOCK:returnIG(t,r,n,e.indent,e.chomping,!1);casebe.FOLDED_BLOCK:returnIG(t,r,n,e.indent,e.chomping,!0);default:returnepe(t,r,n)}}o(npe,"getScalarValue");varspe=Object.assign(Object.create(null),{"!":"!","!!":"tag:yaml.org,2002:"});functionOG(t,e){if(t.startsWith("!<")&&t.endsWith(">"))returndecodeURIComponent(t.slice(2,-1));letr=t.indexOf("!",1),n=r===-1?"!":t.slice(0,r+1),s=e?.[n]??spe[n]??n;returndecodeURIComponent(s)+decodeURIComponent(t.slice(n.length))}o(OG,"tagNameFull");varmd=-1,ipe="tag:yaml.org,2002:merge",kx={filename:"",schema:zAe,json:!1,maxTotalMergeKeys:1e4,maxAliases:-1};functionope(t){return"tagStart"int&&t.tagStart!==md?t.tagStart:"anchorStart"int&&t.anchorStart!==md?t.anchorStart:"valueStart"int&&t.valueStart!==md?t.valueStart:"start"int?t.start:0}o(ope,"eventPosition$1");functionCr(t,e){Il.throwAt(t.source,t.position,e,t.filename)}o(Cr,"throwError$1");functionMG(t,e,r,n){try{returnr.finalize(n)}catch(s){if(sinstanceofIl)throws;Il.throwAt(t.source,e,sinstanceofError?s.message:String(s),t.filename)}}o(MG,"finalizeCollection");functionape(t,e){letr=npe(t.source,e),n=e.tagStart===md?"":t.source.slice(e.tagStart,e.tagEnd),s=t.schema.defaultScalarTag;if(n!==""){if(n==="!")return{value:r,tag:s};leti=OG(n,t.tagHandlers),a=t.schema.lookupScalarTag(i);if(a){letl=a.resolve(r,!0,i);returnl===ve&&Cr(t,`cannot resolve a node with !<${i}> explicit tag`),{value:l,tag:a}}letc=t.schema.lookupMappingTag(i)??t.schema.lookupSequenceTag(i);if(c){r!==""&&Cr(t,`cannot resolve a node with !<${i}> explicit tag`);letl=c.create(i);return{value:c.carrierIsResult?l:MG(t,t.position,c,l),tag:c}}Cr(t,`unknown scalar tag !<${i}>`)}returne.style===be.PLAIN?t.schema.resolveImplicitScalarTag(r):{value:s.resolve(r,!1,s.tagName),tag:s}}o(ape,"constructScalar");functionBG(t,e,r){letn=e.tagStart===md?"":t.source.slice(e.tagStart,e.tagEnd);returnn===""||n==="!"?r:OG(n,t.tagHandlers)}o(BG,"collectionTagName");functionLG(t){returnt.nodeKind==="mapping"}o(LG,"isMappingTag");functionbG(t){t.totalMergeKeys++,t.maxTotalMergeKeys!==-1&&t.totalMergeKeys>t.maxTotalMergeKeys&&Cr(t,`merge keys exceeded maxTotalMergeKeys (${t.maxTotalMergeKeys})`)}o(bG,"chargeMergeWork");functionwG(t,e,r,n){bG(t);for(letsofn.keys(r)){if(bG(t),e.tag.has(e.value,s))continue;leti=e.tag.addPair(e.value,s,n.get(r,s));i&&Cr(t,i),e.overridable??=newSet,e.overridable.add(s)}}o(wG,"mergeKeys");functioncpe(t,e,r,n){if(t.position=e.keyPosition,LG(n))wG(t,e,r,n);elseif(n.nodeKind==="sequence"&&Array.isArray(r)){r.length>100&&Cr(t,"abnormal merge sequence size");for(letsofr){leti=t.nodeTags.get(s);i||Cr(t,"cannot merge mappings; the provided source object is unacceptable"),wG(t,e,s,i)}}elseCr(t,"cannot merge mappings; the provided source object is unacceptable")}o(cpe,"mergeSource");functionlpe(t,e,r,n,s){if(t.position=e.keyPosition,e.keyIsMerge){cpe(t,e,n,s);return}!t.json&&e.tag.has(e.value,r)&&!e.overridable?.has(r)&&Cr(t,"duplicated mapping key");leti=e.tag.addPair(e.value,r,n);i&&Cr(t,i),e.overridable?.delete(r)}o(lpe,"addMappingValue");functionCx(t,e,r){letn=t.frames[t.frames.length-1];if(n.kind==="document")n.value=e,n.hasValue=!0;elseif(n.kind==="sequence"){LG(r)&&t.nodeTags.set(e,r);lets=n.tag.addItem(n.value,e,n.index++);s&&Cr(t,s)}elseif(n.hasKey){lets=n.key;n.key=void0,n.hasKey=!1,lpe(t,n,s,e,r)}elsen.key=e,n.keyPosition=t.position,n.hasKey=!0,n.keyIsMerge=r.tagName===ipe}o(Cx,"addValue");functionIx(t,e,r,n,s){if(e.anchorStart!==md){leti={value:r,tag:n,isValueFinal:s};returnt.anchors.set(t.source.slice(e.anchorStart,e.anchorEnd),i),i}returnnull}o(Ix,"storeAnchor");functionupe(t,e){letr={...kx,...e,events:t,documents:[],eventIndex:0,position:0,frames:[],anchors:newMap,nodeTags:newMap,tagHandlers:Object.create(null),totalMergeKeys:0,aliasCount:0};for(;r.eventInd
`,"utf-8")],s=qDe(n);s&&t.headers.set("Content-Length",s),t.body=awaitpX(n)}o(GDe,"buildRequestBody");varBm="multipartPolicy",HDe=70,VDe=newSet("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");functionzDe(t){if(t.length>HDe)thrownewError(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!VDe.has(e)))thrownewError(`Multipart boundary "${t}" contains invalid characters`)}o(zDe,"assertValidBoundary");functionmB(){return{name:Bm,asyncsendRequest(t,e){if(!t.multipartBody)returne(t);if(t.body)thrownewError("multipartBody and regular body cannot be set at the same time");letr=t.multipartBody.boundary,n=t.headers.get("Content-Type")??"multipart/mixed",s=n.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!s)thrownewError(`Got multipart request body, but content-type header was not multipart: ${n}`);let[,i,a]=s;if(a&&r&&a!==r)thrownewError(`Multipart boundary was specified as ${a} in the header, but got ${r} in the request body`);returnr??=a,r?zDe(r):r=LDe(),t.headers.set("Content-Type",`${i}; boundary=${r}`),awaitGDe(t,t.multipartBody.parts,r),t.multipartBody=void0,e(t)}}}o(mB,"multipartPolicy");functiongB(){returnUI()}o(gB,"createEmptyPipeline");varfX=MI({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"}),Udt=fX.logger;functionio(t){returnfX.createClientLogger(t)}o(io,"createClientLogger");varoo=io("core-rest-pipeline");functionbP(t={}){return$I({logger:oo.info,...t})}o(bP,"logPolicy");varwP=JI;functionSP(t={}){returnYI(t)}o(SP,"redirectPolicy");varEB=w(require("node:os"),1),yB=w(require("node:process"),1);functionhX(){return"User-Agent"}o(hX,"getHeaderName");asyncfunctionmX(t){if(yB.default&&yB.default.versions){lete=`${EB.default.type()}${EB.default.release()}; ${EB.default.arch()}`,r=yB.default.versions;r.bun?t.set("Bun",`${r.bun} (${e})`):r.deno?t.set("Deno",`${r.deno} (${e})`):r.node&&t.set("Node",`${r.node} (${e})`)}}o(mX,"setPlatformSpecificData");varCB="1.22.2";functionZDe(t){lete=[];for(let[r,n]oft){lets=n?`${r}/${n}`:r;e.push(s)}returne.join(" ")}o(ZDe,"getUserAgentString");functiongX(){returnhX()}o(gX,"getUserAgentHeaderName");asyncfunctionIB(t){lete=newMap;e.set("core-rest-pipeline",CB),awaitmX(e);letr=ZDe(e);returnt?`${t}${r}`:r}o(IB,"getUserAgentValue");varEX=gX(),yX="userAgentPolicy";functionNP(t={}){lete=IB(t.userAgentPrefix);return{name:yX,asyncsendRequest(r,n){returnr.headers.has(EX)||r.headers.set(EX,awaite),n(r)}}}o(NP,"userAgentPolicy");varis=classextendsError{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};functionxP(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:s}=e??{};returnnewPromise((i,a)=>{functionc(){a(newis(s??"The operation was aborted."))}o(c,"rejectOnAbort");functionl(){n?.removeEventListener("abort",u)}o(l,"removeListeners");functionu(){r?.(),l(),c()}if(o(u,"onAbort"),n?.aborted)returnc();try{t(d=>{l(),i(d)},d=>{l(),a(d)})}catch(d){a(d)}n?.addEventListener("abort",u)})}o(xP,"createAbortablePromise");varsOe="The delay was aborted.";functionbm(t,e){letr,{abortSignal:n,abortErrorMsg:s}=e??{};returnxP(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:n,abortErrorMsg:s??sOe})}o(bm,"delay");functionkc(t){if(ou(t))returnt.message;{lete;try{typeoft=="object"&&t?e=JSON.stringify(t):e=String(t)}catch{e="[unable to stringify input]"}return`Unknown error ${e}`}}o(kc,"getErrorMessage");functionCX(t){returnou(t)}o(CX,"isError");functionGA(){returniu()}o(GA,"randomUUID");varFe=lu;varIX=Symbol("rawContent");functionRP(t){returntypeoft[IX]=="function"}o(RP,"hasRawContent");functionBX(t){returnRP(t)?t[IX]():t}o(BX,"getRawContent");varBB=Bm;functionTP(){lett=mB();return{name:BB,sendRequest:o(async(e,r)=>{if(e.multipartBody)for(letnofe.multipartBody.parts)RP(n.body)&&(n.body=BX(n.body));returnt.sendRequest(e,r)},"sendRequest")}}o(TP,"multipartPolicy");varvP=WI;function_P(){returnjI()}o(_P,"decompressResponsePolicy");functionPP(t={}){returnZI(t
`&&t[i]!=="\r";i++)l+=t[i];if(l=l.trim(),l[l.length-1]==="/"&&(l=l.substring(0,l.length-1),i--),!QMe(l)){let A;return l.trim().length===0?A="Invalid space after '<'.":A="Tag '"+l+"' is an invalid name.",Ft("InvalidTag",A,tn(t,i))}let u=bMe(t,i);if(u===!1)return Ft("InvalidAttr","Attributes for '"+l+"' have open quote.",tn(t,i));let d=u.value;if(i=u.index,d[d.length-1]==="/"){let A=i-d.length;d=d.substring(0,d.length-1);let p=aZ(d,e);if(p===!0)n=!0;else return Ft(p.err.code,p.err.msg,tn(t,A+p.err.line))}else if(c)if(u.tagClosed){if(d.trim().length>0)return Ft("InvalidTag","Closing tag '"+l+"' can't have attributes or invalid starting.",tn(t,a));if(r.length===0)return Ft("InvalidTag","Closing tag '"+l+"' has not been opened.",tn(t,a));{let A=r.pop();if(l!==A.tagName){let p=tn(t,A.tagStartPos);return Ft("InvalidTag","Expected closing tag '"+A.tagName+"' (opened in line "+p.line+", col "+p.col+") instead of closing tag '"+l+"'.",tn(t,a))}r.length==0&&(s=!0)}}else return Ft("InvalidTag","Closing tag '"+l+"' doesn't have proper closing.",tn(t,i));else{let A=aZ(d,e);if(A!==!0)return Ft(A.err.code,A.err.msg,tn(t,i-d.length+A.err.line));if(s===!0)return Ft("InvalidXml","Multiple possible root nodes found.",tn(t,i));e.unpairedTags.indexOf(l)!==-1||r.push({tagName:l,tagStartPos:a}),n=!0}for(i++;i<t.length;i++)if(t[i]==="<")if(t[i+1]==="!"){i++,i=oZ(t,i);continue}else if(t[i+1]==="?"){if(i=iZ(t,++i),i.err)return i}else break;else if(t[i]==="&"){let A=NMe(t,i);if(A==-1)return Ft("InvalidChar","char '&' is not expected.",tn(t,i));i=A}else if(s===!0&&!sZ(t[i]))return Ft("InvalidXml","Extra text at the end",tn(t,i));t[i]==="<"&&i--}}else{if(sZ(t[i]))continue;return Ft("InvalidChar","char '"+t[i]+"' is not expected.",tn(t,i))}if(n){if(r.length==1)return Ft("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",tn(t,r[0].tagStartPos));if(r.length>0)return Ft("InvalidXml","Invalid '"+JSON.stringify(r.map(i=>i.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return Ft("InvalidXml","Start tag expected.",1);return!0}o(DB,"validate");function sZ(t){return t===" "||t===" "||t===`
`||t==="\r"}o(sZ,"isWhiteSpace");function iZ(t,e){let r=e;for(;e<t.length;e++)if(t[e]=="?"||t[e]==" "){let n=t.substr(r,e-r);if(e>5&&n==="xml")return Ft("InvalidXml","XML declaration allowed only at the start of the document.",tn(t,e));if(t[e]=="?"&&t[e+1]==">"){e++;break}else continue}return e}o(iZ,"readPI");function oZ(t,e){if(t.length>e+5&&t[e+1]==="-"&&t[e+2]==="-"){for(e+=3;e<t.length;e++)if(t[e]==="-"&&t[e+1]==="-"&&t[e+2]===">"){e+=2;break}}else if(t.length>e+8&&t[e+1]==="D"&&t[e+2]==="O"&&t[e+3]==="C"&&t[e+4]==="T"&&t[e+5]==="Y"&&t[e+6]==="P"&&t[e+7]==="E"){let r=1;for(e+=8;e<t.length;e++)if(t[e]==="<")r++;else if(t[e]===">"&&(r--,r===0))break}else if(t.length>e+9&&t[e+1]==="["&&t[e+2]==="C"&&t[e+3]==="D"&&t[e+4]==="A"&&t[e+5]==="T"&&t[e+6]==="A"&&t[e+7]==="["){for(e+=8;e<t.length;e++)if(t[e]==="]"&&t[e+1]==="]"&&t[e+2]===">"){e+=2;break}}return e}o(oZ,"readCommentAndCDATA");var IMe='"',BMe="'";function bMe(t,e){let r="",n="",s=!1;for(;e<t.length;e++){if(t[e]===IMe||t[e]===BMe)n===""?n=t[e]:n!==t[e]||(n="");else if(t[e]===">"&&n===""){s=!0;break}r+=t[e]}return n!==""?!1:{value:r,index:e,tagClosed:s}}o(bMe,"readAttributeStr");var wMe=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function aZ(t,e){let r=PB(t,wMe),n={};for(let s=0;s<r.length;s++){if(r[s][1].length===0)return Ft("InvalidAttr","Attribute '"+r[s][2]+"' has no space in starting.",Dm(r[s]));if(r[s][3]!==void 0&&r[s][4]===void 0)return Ft("InvalidAttr","Attribute '"+r[s][2]+"' is without value.",Dm(r[s]));if(r[s][3]===void 0&&!e.allowBooleanAttributes)return Ft("InvalidAttr","boolean attribute '"+r[s][2]+"' is not allowed.",Dm(r[s]));let i=r[s][2];if(!xMe(i))return Ft("InvalidAttr","Attribute '"+i+"' is an invalid name.",Dm(r[s]));if(!Object.prototype.hasOwnProperty.call(n,i))n[i]=1;else return Ft("InvalidAttr","Attribute '"+i+"' is repeated.",Dm(r[s]))}return!0}o(aZ,"validateAttributeString");function SMe(t,e){let r=/\d/;for(t[e]==="x"&&(e++,r=/[\da-fA-F]/);e<t.length;e++){if(t[e]===";")return e;if(!t[e].match(r))break}return-1}o(SMe,"validateNumberAmpersand");function NMe(t,e){if(e++,t[e]===";")return-1;if(t[e]==="#")return e++,SMe(t,e);let r=0;for(;e<t.length;e++,r++)if(!(t[e].match(/\w/)&&r<20)){if(t[e]===";")break;return-1}return e}o(NMe,"validateAmpersand");function Ft(t,e,r){return{err:{code:t,msg:e,line:r.line||r,col:r.col}}}o(Ft,"getErrorObject");function xMe(t){return nk(t)}o(xMe,"validateAttrName");function QMe(t){return nk(t)}o(QMe,"validateTagName");function tn(t,e){let r=t.substring(0,e).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}o(tn,"getLineNumberForPosition");function Dm(t){return t.startIndex+t[1].length}o(Dm,"getPositionFromMatch");var cZ={amp:"&",AMP:"&",lt:"<",LT:"<",gt:">",GT:">",quot:'"',QUOT:'"',apos:"'",lsquo:"\u2018",rsquo:"\u2019",ldquo:"\u201C",rdquo:"\u201D",lsquor:"\u201A",rsquor:"\u2019",ldquor:"\u201E",bdquo:"\u201E",comma:",",period:".",colon:":",semi:";",excl:"!",quest:"?",num:"#",dollar:"$",percent:"%",amp:"&",ast:"*",commat:"@",lowbar:"_",verbar:"|",vert:"|",sol:"/",bsol:"\\",lbrace:"{",rbrace:"}",lbrack:"[",rbrack:"]",lpar:"(",rpar:")",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",COPY:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",REG:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",half:"\xBD",frac34:"\xBE",iquest:"\xBF",times:"\xD7",div:"\xF7",divide:"\xF7"},lZ={Agrave:"\xC0",agrave:"\xE0",Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",Aring:"\xC5",aring:"\xE5",AElig:"\xC6",aelig:"\xE6",Ccedil:"\xC7",ccedil:"\xE7",Egrave:"\xC8",egrave:"\xE8",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Euml:"\xCB",euml:"\xEB",Igrave:"\xCC",igrave:"\xEC",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",Iuml:"\xCF",iuml:"\xEF",ETH:"\xD0",eth:"\xF0",Ntilde:"\xD1",ntilde:"\xF1"
`);let e=new bn("!xml"),r=e,n="";this.matcher.reset(),this.entityDecoder.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0;let s=this.options,i=new Lm(s.processEntities),a=t.length;for(let c=0;c<a;c++)if(t[c]==="<"){let u=t.charCodeAt(c+1);if(u===47){let d=YA(t,">",c,"ClosingTagisnotclosed."),A=t.substring(c+2,d).trim();if(s.removeNSPrefix){let f=A.indexOf(":");f!==-1&&(A=A.substr(f+1))}A=dk(s.transformTagName,A,"",s).tagName,r&&(n=this.saveTextToParentTag(n,r,this.readonlyMatcher));let p=this.matcher.getCurrentTag();if(A&&s.unpairedTagsSet.has(A))throw new Error(`Unpaired tag can not be used as closing tag: </${A}>`);p&&s.unpairedTagsSet.has(p)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),n="",c=d}else if(u===63){let d=Ak(t,c,!1,"?>");if(!d)throw new Error("PiTagisnotclosed.");n=this.saveTextToParentTag(n,r,this.readonlyMatcher);let A=this.buildAttributesMap(d.tagExp,this.matcher,d.tagName,!0);if(A){let p=A[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(p)||1),i.setXmlVersion(Number(p)||1)}if(!(s.ignoreDeclaration&&d.tagName==="?xml"||s.ignorePiTags)){let p=new bn(d.tagName);p.add(s.textNodeName,""),d.tagName!==d.tagExp&&d.attrExpPresent&&s.ignoreAttributes!==!0&&(p[":@"]=A),this.addChild(r,p,this.readonlyMatcher,c)}c=d.closeIndex+1}else if(u===33&&t.charCodeAt(c+2)===45&&t.charCodeAt(c+3)===45){let d=YA(t,"-->",c+4,"Commentisnotclosed.");if(s.commentPropName){let A=t.substring(c+4,d-2);n=this.saveTextToParentTag(n,r,this.readonlyMatcher),r.add(s.commentPropName,[{[s.textNodeName]:A}])}c=d}else if(u===33&&t.charCodeAt(c+2)===68){let d=i.readDocType(t,c);this.entityDecoder.addInputEntities(d.entities),c=d.i}else if(u===33&&t.charCodeAt(c+2)===91){let d=YA(t,"]]>",c,"CDATAisnotclosed.")-2,A=t.substring(c+9,d);n=this.saveTextToParentTag(n,r,this.readonlyMatcher);let p=this.parseTextData(A,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);p==null&&(p=""),s.cdataPropName?r.add(s.cdataPropName,[{[s.textNodeName]:A}]):r.add(s.textNodeName,p),c=d+2}else{let d=Ak(t,c,s.removeNSPrefix);if(!d){let Q=t.substring(Math.max(0,c-50),Math.min(a,c+50));throw new Error(`readTagExp returned undefined at position ${c}. Context: "${Q}"`)}let A=d.tagName,p=d.rawTagName,f=d.tagExp,h=d.attrExpPresent,g=d.closeIndex;if({tagName:A,tagExp:f}=dk(s.transformTagName,A,f,s),s.strictReservedNames&&(A===s.commentPropName||A===s.cdataPropName||A===s.textNodeName||A===s.attributesGroupName))throw new Error(`Invalid tag name: ${A}`);r&&n&&r.tagname!=="!xml"&&(n=this.saveTextToParentTag(n,r,this.readonlyMatcher,!1));let y=r;y&&s.unpairedTagsSet.has(y.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let E=!1;f.length>0&&f.lastIndexOf("/")===f.length-1&&(E=!0,A[A.length-1]==="/"?(A=A.substr(0,A.length-1),f=A):f=f.substr(0,f.length-1),h=A!==f);let C=null,I={},b;b=KMe(p),A!==e.tagname&&this.matcher.push(A,{},b),A!==f&&h&&(C=this.buildAttributesMap(f,this.matcher,A),C&&(I=jMe(C,s))),A!==e.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let N=c;if(this.isCurrentNodeStopNode){let Q="";if(E)c=d.closeIndex;else if(s.unpairedTagsSet.has(A))c=d.closeIndex;else{let ce=this.readStopNodeData(t,p,g+1);if(!ce)throw new Error(`Unexpected end of ${p}`);c=ce.i,Q=ce.tagContent}let D=new bn(A);C&&(D[":@"]=C),D.add(s.textNodeName,Q),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,D,this.readonlyMatcher,N)}else{if(E){({tagName:A,tagExp:f}=dk(s.transformTagName,A,f,s));let Q=new bn(A);C&&(Q[":@"]=C),this.addChild(r,Q,this.readonlyMatcher,N),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(s.unpairedTagsSet.has(A)){let Q=new bn(A);C&&(Q[":@"]=C),this.addChild(r,Q,this.readonlyMatcher,N),this.matcher.pop(),this.isCurrentNodeStopNode=!1,c=d.closeIndex;continue}else{let Q=new bn(A);if(this.tagsNodeStack.length>s.maxNestedTags)throw new Error("Maximumnestedtagsexceeded");this.tagsNodeStack.push(r),C&&(Q[":@"]=C),this.addChild(r,Q,this.readonlyMatcher,N),r=Q}n="",c=g}}}else n+=t[c];return e.child},"parse
${c}:${decodeURIComponent(i[c])}`}returnn}};varxt=classextendsgu{static{o(this,"StorageSharedKeyCredential")}accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){returnnewHm(e,r,this)}computeHMACSHA256(e){return(0,UZ.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};varrr=io("storage-common");varOs;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(Os||(Os={}));varUc={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Os.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void0},TLe=newis("The operation was aborted."),Vm=classextendsuo{static{o(this,"StorageRetryPolicy")}retryOptions;constructor(e,r,n=Uc){super(e,r),this.retryOptions={retryPolicyType:n.retryPolicyType?n.retryPolicyType:Uc.retryPolicyType,maxTries:n.maxTries&&n.maxTries>=1?Math.floor(n.maxTries):Uc.maxTries,tryTimeoutInMs:n.tryTimeoutInMs&&n.tryTimeoutInMs>=0?n.tryTimeoutInMs:Uc.tryTimeoutInMs,retryDelayInMs:n.retryDelayInMs&&n.retryDelayInMs>=0?Math.min(n.retryDelayInMs,n.maxRetryDelayInMs?n.maxRetryDelayInMs:Uc.maxRetryDelayInMs):Uc.retryDelayInMs,maxRetryDelayInMs:n.maxRetryDelayInMs&&n.maxRetryDelayInMs>=0?n.maxRetryDelayInMs:Uc.maxRetryDelayInMs,secondaryHost:n.secondaryHost?n.secondaryHost:Uc.secondaryHost}}asyncsendRequest(e){returnthis.attemptSendRequest(e,!1,1)}asyncattemptSendRequest(e,r,n){lets=e.clone(),i=r||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||n%2===1;i||(s.url=JB(s.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(s.url=Fc(s.url,Ta.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));leta;try{if(rr.info(`RetryPolicy: =====> Try=${n}${i?"Primary":"Secondary"}`),a=awaitthis._nextPolicy.sendRequest(s),!this.shouldRetry(i,n,a))returna;r=r||!i&&a.status===404}catch(c){if(rr.error(`RetryPolicy: Caught error, message: ${c.message}, code: ${c.code}`),!this.shouldRetry(i,n,a,c))throwc}returnawaitthis.delay(i,n,e.abortSignal),this.attemptSendRequest(e,r,++n)}shouldRetry(e,r,n,s){if(r>=this.retryOptions.maxTries)returnrr.info(`RetryPolicy: Attempt(s) ${r} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;leti=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(s){for(letaofi)if(s.name.toUpperCase().includes(a)||s.message.toUpperCase().includes(a)||s.code&&s.code.toString().toUpperCase()===a)returnrr.info(`RetryPolicy: Network error ${a} found, will retry.`),!0}if(n||s){leta=n?n.status:s?s.statusCode:0;if(!e&&a===404)returnrr.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(a===503||a===500)returnrr.info(`RetryPolicy: Will retry for status code ${a}.`),!0}if(n&&n?.status>=400){leta=n.headers.get(ae.X_MS_CopySourceErrorCode);if(a!==void0)switch(a){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}returns?.code==="PARSE_ERROR"&&s?.message.startsWith('Error "Error: Unclosed root tag')?(rr.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0):!1}asyncdelay(e,r,n){lets=0;if(e)switch(this.retryOptions.retryPolicyType){caseOs.EXPONENTIAL:s=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;caseOs.FIXED:s=this.retryOptions.retryDelayInMs;break}elses=Math.random()*1e3;returnrr.info(`RetryPolicy: Delay for ${s}ms`),jB(s,n,TLe)}};varzm=class{static{o(this,"StorageRetryPolicyFactory")}retryOptions;constructor(e){this.retryOptions=e}create(e,r){returnnewVm(e,r,this.retryOptions)}};varvLe="storageBrowserPolicy";functionqZ(){return{name:vLe,asyncsendRequest(t,e){returnFe||((t.method==="GET"||t.method==="HEAD")&&(t.url=Fc(t.url,Ta.Parameters.FORCE_BROWSER_NO_CACHE,newDate().getTime().toString())),t.headers.delete(ae.COOKIE),t.headers.delete(ae.CONTENT_LENGTH)),e(t)}}}o(qZ,"storageBrowserPolicy");var_Le="StorageCorrectContentLengthPolicy";functionGZ(){functiont(e){e.body&&(type
`}),c}o(n,"getCanonicalizedHeadersString");function s(i){let a=YB(i.url)||"/",c="";c+=`/${t.accountName}${a}`;let l=WB(i.url),u={};if(l){let d=[];for(let A in l)if(Object.prototype.hasOwnProperty.call(l,A)){let p=A.toLowerCase();u[p]=l[A],d.push(p)}d.sort();for(let A of d)c+=`
`),i=e.computeHMACSHA256(s);return{sasQueryParameters:newNi(t.version,i,n,void0,void0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:s}}o(UFe,"generateBlobSASQueryParameters20150405");functionqFe(t,e){if(t=Nu(t),!t.identifier&&!(t.permissions&&t.expiresOn))thrownewRangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");letr="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));lets;t.permissions&&(t.blobName?s=Qo.parse(t.permissions.toString()).toString():s=Ro.parse(t.permissions.toString()).toString());leti=[s||"",t.startsOn?Ue(t.startsOn,!1):"",t.expiresOn?Ue(t.expiresOn,!1):"",Su(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Si(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:newNi(t.version,a,s,void0,void0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:i}}o(qFe,"generateBlobSASQueryParameters20181109");functionGFe(t,e){if(t=Nu(t),!t.identifier&&!(t.permissions&&t.expiresOn))thrownewRangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");letr="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));lets;t.permissions&&(t.blobName?s=Qo.parse(t.permissions.toString()).toString():s=Ro.parse(t.permissions.toString()).toString());leti=[s||"",t.startsOn?Ue(t.startsOn,!1):"",t.expiresOn?Ue(t.expiresOn,!1):"",Su(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Si(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:newNi(t.version,a,s,void0,void0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,void0,void0,void0,t.encryptionScope),stringToSign:i}}o(GFe,"generateBlobSASQueryParameters20201206");functionHFe(t,e){if(t=Nu(t),!t.permissions||!t.expiresOn)thrownewRangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");letr="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));lets;t.permissions&&(t.blobName?s=Qo.parse(t.permissions.toString()).toString():s=Ro.parse(t.permissions.toString()).toString());leti=[s||"",t.startsOn?Ue(t.startsOn,!1):"",t.expiresOn?Ue(t.expiresOn,!1):"",Su(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ue(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ue(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?Si(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:newNi(t.version,a,s,void0,void0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey),stringToSign:i}}o(HFe,"generateBlobSASQueryParametersUDK20181109");functionVFe(t,e){if(t=Nu(t),!t.permissions||!t.expiresOn)thrownewRangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");letr="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));lets;t.permissions&&(t.blobName?s=Qo.parse(t.permissions.toString()).toString():s=Ro.parse(t.permissions.toString()).toString());leti=[s||"",t.startsOn?Ue(t.startsOn,!1):"",t.expiresOn?Ue(t.expiresOn,!1):"",Su(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ue(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ue(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void0,t.correlationId,t.ipRange?Si(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:newNi(t.version,a,s,void0,void0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId),stringToSign:i}}o(VFe,"generateBlobSASQueryParametersUDK20200210");functionzFe(t,e){if(t=Nu(t),!t.permissions||!t.expiresOn)thrownewRangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");letr="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));lets;t.permissions&&(t.blobName?s=Qo.parse(t.permissions.toString()).toString():s=Ro.parse(t.permissions.toString()).toString());leti=[s||"",t.startsOn?Ue(t.startsOn,!1):"",t.expiresOn?Ue(t.expiresOn,!1):"",Su(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ue(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ue(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void0,t.correlationId,t.ipRange?Si(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:newNi(t.version,a,s,void0,void0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope),stringToSign:i}}o(zFe,"generateBlobSASQueryParametersUDK20201206");function$Fe(t,e){if(t=Nu(t),!t.permissions||!t.expiresOn)thrownewRangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");letr="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));lets;t.permissions&&(t.blobName?s=Qo.parse(t.permissions.toString()).toString():s=Ro.parse(t.permissions.toString()).toString());leti=[s||"",t.startsOn?Ue(t.startsOn,!1):"",t.expiresOn?Ue(t.expiresOn,!1):"",Su(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ue(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ue(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void0,t.correlationId,void0,t.delegatedUserObjectId,t.ipRange?Si(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:newNi(t.version,a,s,void0,void0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope,t.delegatedUserObjectId),stringToSign:i}}o($Fe,"generateBlobSASQueryParametersUDK20250705");functionSu(t,e,r){letn=[`/blob/${t}/${e}`];returnr&&n.push(`/${r}`),n.join("")}o(Su,"getCanonicalName");functionNu(t){lete=t.version?t.version:eb;if(t.snapshotTime&&e<"2018-11-09")throwRangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.");if(t.blobName===void0&&t.snapshotTime)throwRangeError("Must provide 'blobName' when providing 'snapshotTime'.");if(t.versionId&&e<"2019-10-10")throwRangeError("'version' must be >= '2019-10-10' when providing 'versionId'.");if(t.blobName===void0&&t.versionId)throwRangeError("Must provide 'blobName' when providing 'versionId'.");if(t.permissions&&t.permissions.setImmutabilityPolicy&&e<"2020-08-04")throwRangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(t.permissions&&t.permissions.deleteVersion&&e<"2019-10-10")throwRangeError("'version' must be >= '2019-10-10' when providing 'x' permission.");if(t.permissions&&t.permissions.permanentDelete&&e<"2019-10-10")throwRangeError("'version' must be >= '2019-10-10' when providing 'y' permission.");if(t.permissions&&t.permissions.tag&&e<"2019-12-12")throwRangeError("'version' must be >= '2019-12-12' when providing 't' permission.");if(e<"2020-02-10"&&t.permissions&&(t.permissions.move||t.permissions.execute))throwRangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.");if(e<"2021-04-10"&&t.permissions&&t.permissions.filterByTags)throwRangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.");if(e<"2020-02-10"&&(t.preauthorizedAgentObjectId||t.correlationId))throwRangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.");if(t.encryptionScope&&e<"2020-12-06")throwRangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");returnt.version=e,t}o(Nu,"SASSignatureValuesSanityCheckAndAutofill");varsg=class{static{o(this,"BlobLeaseClient")}_leaseId;_url;_containerOrBlobOperation;_isContainer;getleaseId(){returnthis._leaseId}geturl(){returnthis._url}constructor(e,r){letn=e.storageClientContext;this._url=e.url,e.name===void0?(this._isContainer=!0,this._containerOrBlobOperation=n.container):(this._isContainer=!1,this._containerOrBlobOperation=n.blob),r||(r=GA()),this._leaseId=r}asyncacquireLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==Ii||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Ii||r.conditions?.tagConditions))thrownewRangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");returnz.withSpan("BlobLeaseClient-acquireLease",r,asyncn=>K(awaitthis._containerOrBlobOperation.acquireLease({abortSignal:r.abortSignal,duration:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:n.tracingOptions})))}asyncchangeLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==Ii||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Ii||r.conditions?.tagConditions))thrownewRangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");returnz.withSpan("BlobLeaseClient-changeLease",r,asyncn=>{lets=K(awaitthis._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions}));returnthis._leaseId=e,s})}asyncreleaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMat
Ifyouareusingself-hostedrunners,pleasemakesureyourrunnerhasaccesstoallGitHubendpoints:https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#communication-between-self-hosted-runners-and-github`;super(r),this.code=e,this.name="NetworkError"}};cp.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var Tu=class extends Error{static{o(this,"UsageError")}constructor(){super(`Cache storage quota has been hit. Unable to upload any new cache entries.
Moreinfoonstoragelimits:https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#calculating-minute-and-storage-spending`),this.name="UsageError"}};Tu.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var fg=class extends Error{static{o(this,"RateLimitError")}constructor(e){super(e),this.name="RateLimitError"}};var HUe=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(d){try{u(n.next(d))}catch(A){a(A)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(A){a(A)}}o(l,"rejected");function u(d){d.done?i(d.value):s(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},fL=class{static{o(this,"UploadProgress")}constructor(e){this.contentLength=e,this.sentBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}setSentBytes(e){this.sentBytes=e}getTransferredBytes(){return this.sentBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete)return;let e=this.sentBytes,r=(100*(e/this.contentLength)).toFixed(1),n=Date.now()-this.startTime,s=(e/(1024*1024)/(n/1e3)).toFixed(1);S(`Sent ${e} of ${this.contentLength} (${r}%), ${s} MBs/sec`),this.isDone()&&(this.displayedComplete=!0)}onProgress(){return e=>{this.setSentBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let r=o(()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))},"displayCallback");this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};function nte(t,e,r){return HUe(this,void 0,void 0,function*(){var n;let s=new Fa(t),i=s.getBlockBlobClient(),a=new fL((n=r?.archiveSizeBytes)!==null&&n!==void 0?n:0),c={blockSize:r?.uploadChunkSize,concurrency:r?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:a.onProgress()};try{a.startDisplayTimer(),B(`BlobClient: ${s.name}:${s.accountName}:${s.containerName}`);let l=yield i.uploadFile(e,c);if(l._response.status>=400)throw new iw(`uploadCacheArchiveSDK: upload failed with status code ${l._response.status}`);return l}catch(l){throw Je(`uploadCacheArchiveSDK: internal error uploading cache archive: ${l.message}`),l}finally{a.stopDisplayTimer()}})}o(nte,"uploadCacheArchiveSDK");var ite=w(require("buffer"),1),To=w(require("fs"),1),ote=w(require("stream"),1),ate=w(require("util"),1);var ow=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(d){try{u(n.next(d))}catch(A){a(A)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(A){a(A)}}o(l,"rejected");function u(d){d.done?i(d.value):s(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function aw(t){return t?t>=200&&t<300:!1}o(aw,"isSuccessStatusCode");function VUe(t){return t?t>=500:!0}o(VUe,"isServerErrorStatusCode");function zUe(t){return t?[Nt.BadGateway,Nt.ServiceUnavailable,Nt.GatewayTimeout].includes(t):!1}o(zUe,"isRetryableStatusCode");function $Ue(t){return ow(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o($Ue,"sleep");function ste(t,e,r){return ow(this,arguments,void 0,function*(n,s,i,a=TI,c=vI,l=void 0){let u="",d=1;for(;d<=a;){let A,p,f=!1;try{A=yield s()}catch(h){l&&(A=l(h)),f=!0,u=h.message}if(A&&(p=i(A),!VUe(p)))return A;if(p&&(f=zUe(p),u=`Cache service responded with ${p}`),B(`${n} - Attempt ${d} of ${a} failed with error: ${u}`),!f){B(`${n} - Error is not retryable`);break}yield $Ue(c),d++}throw Error(`${n} failed: ${u}`)})}o(ste,"retry");function hg(t,e){return ow(this,arguments,void 0,function*(r,n,s=TI,i=vI){return yield ste(r,n,a=>a.statusCode,s,i,a=>{if(a instanceof to)return{statusCode:a.statusCode,result:null,headers:{},error:a}})})}o(hg,"retryTypedResponse");function lp(t,e){return ow(this,arguments,void 0,function*(r,n,s=TI,i=vI){return yield ste(r,n,a=>a.message.statusCode,s,i)})}o(lp,"retryHttpClientResponse");var qs=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a
Othercacheswithsimilarkey:`);for(let c of i?.artifactCaches||[])B(`CacheKey:${c?.cacheKey},CacheVersion:${c?.cacheVersion},CacheScope:${c?.scope},CacheCreated:${c?.creationTime}`)}}})}o(e2e,"printCachesListForDiagnostics");function yL(t,e,r){return xn(this,void 0,void 0,function*(){let n=new Cte.URL(t),s=dte(r);n.hostname.endsWith(".blob.core.windows.net")?s.useAzureSdk?yield lte(t,e,s):s.concurrentBlobDownloads?yield cte(t,e,s):yield lw(t,e):yield lw(t,e)})}o(yL,"downloadCache");function Bte(t,e,r){return xn(this,void 0,void 0,function*(){let n=EL(),s=PA(e,r?.compressionMethod,r?.enableCrossOsArchive),i={key:t,version:s,cacheSize:r?.cacheSize};return yield hg("reserveCache",()=>xn(this,void 0,void 0,function*(){return n.postJson(gg("caches"),i)}))})}o(Bte,"reserveCache");function yte(t,e){return`bytes${t}-${e}/*`}o(yte,"getContentRange");function t2e(t,e,r,n,s){return xn(this,void 0,void 0,function*(){B(`Uploading chunk of size ${s-n+1} bytes at offset ${n} with content range: ${yte(n,s)}`);let i={"Content-Type":"application/octet-stream","Content-Range":yte(n,s)},a=yield lp(`uploadChunk (start: ${n}, end: ${s})`,()=>xn(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),i)}));if(!aw(a.message.statusCode))throw new Error(`Cache service responded with ${a.message.statusCode} during upload chunk.`)})}o(t2e,"uploadChunk");function r2e(t,e,r,n){return xn(this,void 0,void 0,function*(){let s=eo(r),i=gg(`caches/${e.toString()}`),a=up.openSync(r,"r"),c=hL(n),l=V_("uploadConcurrency",c.uploadConcurrency),u=V_("uploadChunkSize",c.uploadChunkSize),d=[...new Array(l).keys()];B("Awaiting all uploads");let A=0;try{yield Promise.all(d.map(()=>xn(this,void 0,void 0,function*(){for(;A<s;){let p=Math.min(s-A,u),f=A,h=A+p-1;A+=u,yield t2e(t,i,()=>up.createReadStream(r,{fd:a,start:f,end:h,autoClose:!1}).on("error",g=>{throw new Error(`Cache upload failed because file read failed with ${g.message}`)}),f,h)}})))}finally{up.closeSync(a)}})}o(r2e,"uploadFile");function n2e(t,e,r){return xn(this,void 0,void 0,function*(){let n={size:r};return yield hg("commitCache",()=>xn(this,void 0,void 0,function*(){return t.postJson(gg(`caches/${e.toString()}`),n)}))})}o(n2e,"commitCache");function CL(t,e,r,n){return xn(this,void 0,void 0,function*(){if(hL(n).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield nte(r,e,n)}else{let i=EL();B("Upload cache"),yield r2e(i,t,e,n),B("Commiting cache");let a=eo(e);S(`Cache Size: ~${Math.round(a/(1024*1024))} MB (${a} B)`);let c=yield n2e(i,t,a);if(!aw(c.statusCode))throw new Error(`Cache service responded with ${c.statusCode} during commit cache.`);S("Cache saved successfully")}})}o(CL,"saveCache");var mre=w(lre(),1),Ht=w(Gt(),1),ds=w(Gt(),1),Du=w(Gt(),1),Ou=w(Gt(),1),Mu=w(Gt(),1);var f1=w(Gt(),1),h1=w(Gt(),1),pre=w(Gt(),1),fre=w(Gt(),1),hre=w(Gt(),1);var d1=w(Gt(),1),A1=w(Gt(),1),ure=w(Gt(),1),dre=w(Gt(),1),Are=w(Gt(),1);var p1=class extends Are.MessageType{static{o(this,"CacheScope$Type")}constructor(){super("github.actions.results.entities.v1.CacheScope",[{no:1,name:"scope",kind:"scalar",T:9},{no:2,name:"permission",kind:"scalar",T:3}])}create(e){let r={scope:"",permission:"0"};return globalThis.Object.defineProperty(r,dre.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,ure.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:i.scope=e.string();break;case 2:i.permission=e.int64().toString();break;default:let u=n.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let d=e.skip(l);u!==!1&&(u===!0?A1.UnknownFieldHandler.onRead:u)(this.typeName,i,c,l,d)}}return i}internalBinaryWrite(e,r,n){e.scope!==""&&r.tag(1,d1.WireType.LengthDelimited).string(e.scope),e.permission!=="0"&&r.tag(2,d1.WireType.Varint).int64(e.permission);let s=n.writeUnknownFields;return s!==!1&&(s==!0?A1.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},jw=new p1;var m1=class extends hre.Mess
`));let n=yield v1(r,"create");yield _1(n,t)})}o(k1,"createTar");var Np=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(d){try{u(n.next(d))}catch(A){a(A)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(A){a(A)}}o(l,"rejected");function u(d){d.done?i(d.value):s(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})},Ri=class t extends Error{static{o(this,"ValidationError")}constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}},Lu=class t extends Error{static{o(this,"ReserveCacheError")}constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}},D1="cache write denied:",e0=class t extends Lu{static{o(this,"CacheWriteDeniedError")}constructor(e){super(e),this.name="CacheWriteDeniedError",Object.setPrototypeOf(this,t.prototype)}},Cre=_I,t0=class t extends Error{static{o(this,"CacheReadDeniedError")}constructor(e){super(e),this.name="CacheReadDeniedError",Object.setPrototypeOf(this,t.prototype)}},r0=class t extends Error{static{o(this,"FinalizeCacheError")}constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};function Ire(t){if(!t||t.length===0)throw new Ri("Path Validation Error: At least one directory or file path is required")}o(Ire,"checkPaths");function O1(t){if(t.length>512)throw new Ri(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new Ri(`Key Validation Error: ${t} cannot contain commas.`)}o(O1,"checkKey");function M1(){return mg()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}o(M1,"isFeatureAvailable");function Bre(t,e,r,n){return Np(this,arguments,void 0,function*(s,i,a,c,l=!1){let u=mg();B(`Cache service version: ${u}`),Ire(s);let d=gL();if(!pte(d)){S(`Cache restore skipped: the effective cache-mode '${d}' does not permit reads.`),B(`Skipped restore for paths [${s.join(", ")}] with primary key '${i}'.`);return}return u==="v2"?yield EGe(s,i,a,c,l):yield gGe(s,i,a,c,l)})}o(Bre,"restoreCache");function gGe(t,e,r,n){return Np(this,arguments,void 0,function*(s,i,a,c,l=!1){var u;a=a||[];let d=[i,...a];if(B("Resolved Keys:"),B(JSON.stringify(d)),d.length>10)throw new Ri("Key Validation Error: Keys are limited to a maximum of 10.");for(let f of d)O1(f);let A=yield hm(),p="";try{let f;try{f=yield Ite(d,s,{compressionMethod:A,enableCrossOsArchive:l})}catch(g){let y=(u=g?.message)!==null&&u!==void 0?u:"";throw y.includes(Cre)?new t0(y):g}if(!f?.archiveLocation)return;if(c?.lookupOnly)return S("Lookup only - skipping download"),f.cacheKey;p=Pg.join(yield pm(),vc(A)),B(`Archive Path: ${p}`),yield yL(f.archiveLocation,p,c),Ia()&&(yield _g(p,A));let h=eo(p);return S(`Cache Size: ~${Math.round(h/(1024*1024))} MB (${h} B)`),yield P1(p,A),S("Cache restored successfully"),f.cacheKey}catch(f){let h=f;if(h.name===Ri.name)throw f;h instanceof to&&typeof h.statusCode=="number"&&h.statusCode>=500?BA(`Failed to restore: ${f.message}`):Je(`Failed to restore: ${f.message}`)}finally{try{yield fm(p)}catch(f){B(`Failed to delete archive: ${f}`)}}})}o(gGe,"restoreCacheV1");function EGe(t,e,r,n){return Np(this,arguments,void 0,function*(s,i,a,c,l=!1){var u;c=Object.assign(Object.assign({},c),{useAzureSdk:!0}),a=a||[];let d=[i,...a];if(B("Resolved Keys:"),B(JSON.stringify(d)),d.length>10)throw new Ri("Key Validation Error: Keys are limited to a maximum of 10.");for(let p of d)O1(p);let A="";try{let p=T1(),f=yield hm(),h={key:i,restoreKeys:a,version:PA(s,f,l)},g;try{g=yield p.GetCacheEntryDownloadURL(h)}catch(C){let I=(u=C?.message)!==null&&u!==void 0?u:"";throw I.includes(Cre)?new t0(I):C}if(!g.ok){B(`Cache not found for version ${h.version} of keys: ${d.join(", ")}`);return}if(h.key!==g.matchedKey?S(`Cache hit for restore-key: ${g.matchedKey}`):S(`Cache hit for: ${g.matchedKey}`),c?.lookupOnly)return S("Lookup only - skipping download"),g.matchedKey;A=Pg.join(yield pm(),vc(f)),B(`Archive path: ${A}`),B(`Starting download of archive to: ${A}`)
`,a).length:A,u?(c===null?0:c.length)+l.length:0,u?l.length+A:0);return p<f},"__needMoreData"),parse:o(function(n,s,i,a){let{bom:c,comment_no_infix:l,delimiter_auto:u,encoding:d,from_line:A,ltrim:p,max_record_size:f,raw:h,relax_quotes:g,rtrim:y,skip_empty_lines:E,to:C,to_line:I}=this.options,{comment:b,escape:N,quote:Q,record_delimiter:D}=this.options,{bomSkipped:ce,delimiterDiscovered:Me,delimiterBufPrevious:qe,rawBuffer:Ye,escapeIsQuote:Ce}=this.state;if(!Me&&u){let Ge;if(qe===void 0?Ge=n:qe!==void 0&&n===void 0?Ge=qe:Ge=Buffer.concat([qe,n]),n=void 0,s||Ge.length>u.size)this.options.delimiter=[Buffer.from(Ooe(Ge,this.options.delimiter_auto))],this.state.previousBuf=Ge,this.state.delimiterBufPrevious=void 0,this.state.delimiterDiscovered=!0;else{this.state.delimiterBufPrevious=Ge;return}}let{previousBuf:tt}=this.state,de;if(tt===void 0)if(n===void 0){a();return}else de=n;else tt!==void 0&&n===void 0?de=tt:de=Buffer.concat([tt,n]);if(ce===!1)if(c===!1)this.state.bomSkipped=!0;else if(de.length<3){if(s===!1){this.state.previousBuf=de;return}}else{for(let Ge in Gp)if(Gp[Ge].compare(de,0,Gp[Ge].length)===0){let Oi=Gp[Ge].length;this.state.bufBytesStart+=Oi,de=de.slice(Oi);let nc=qp({...this.original_options,encoding:Ge});for(let bt in nc)this.options[bt]=nc[bt];({comment:b,escape:N,quote:Q}=this.options);break}this.state.bomSkipped=!0}let Gr=de.length,$;for($=0;$<Gr&&!this.__needMoreData($,Gr,s);$++){if(this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1),I!==-1&&this.info.lines>I){this.state.stop=!0,a();return}this.state.quoting===!1&&D.length===0&&this.__autoDiscoverRecordDelimiter(de,$)&&(D=this.options.record_delimiter);let Ge=de[$];if(h===!0&&Ye.append(Ge),(Ge===zYe||Ge===$Ye)&&this.state.wasRowDelimiter===!1&&(this.state.wasRowDelimiter=!0),this.state.escaping===!0)this.state.escaping=!1;else{if(N!==null&&this.state.quoting===!0&&this.__isEscape(de,$,Ge)&&$+N.length<Gr)if(Ce){if(this.__isQuote(de,$+N.length)){this.state.escaping=!0,$+=N.length-1;continue}}else{this.state.escaping=!0,$+=N.length-1;continue}if(this.state.commenting===!1&&this.__isQuote(de,$))if(this.state.quoting===!0){let bt=de[$+Q.length],Mi=y&&this.__isCharTrimable(de,$+Q.length),Fn=b!==null&&this.__compareBytes(b,de,$+Q.length,bt),El=this.__isDelimiter(de,$+Q.length,bt),LE=D.length===0?this.__autoDiscoverRecordDelimiter(de,$+Q.length):this.__isRecordDelimiter(bt,de,$+Q.length);if(N!==null&&this.__isEscape(de,$,Ge)&&this.__isQuote(de,$+N.length))$+=N.length-1;else if(!bt||El||LE||Fn||Mi){this.state.quoting=!1,this.state.wasQuoting=!0,$+=Q.length-1;continue}else if(g===!1){let hG=this.__error(new Se("CSV_INVALID_CLOSING_QUOTE",["Invalid Closing Quote:",`got "${String.fromCharCode(bt)}"`,`at line ${this.info.lines}`,"instead of delimiter, record delimiter, trimable character","(if activated) or comment"],this.options,this.__infoField()));if(hG!==void 0)return hG}else this.state.quoting=!1,this.state.wasQuoting=!0,this.state.field.prepend(Q),$+=Q.length-1}else if(this.state.field.length!==0){if(g===!1){let bt=this.__infoField(),Mi=Object.keys(Gp).map(El=>Gp[El].equals(this.state.field.toString())?El:!1).filter(Boolean)[0],Fn=this.__error(new Se("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(bt.column)} at line ${bt.lines}, value is ${JSON.stringify(this.state.field.toString(d))}`,Mi?`(${Mi} bom)`:void 0],this.options,bt,{field:this.state.field}));if(Fn!==void 0)return Fn}}else{this.state.quoting=!0,$+=Q.length-1;continue}if(this.state.quoting===!1){let bt=this.__isRecordDelimiter(Ge,de,$);if(bt!==0){if(this.state.commenting&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0)this.info.comment_lines++;else{if(this.state.enabled===!1&&this.info.lines+(this.state.wasRowDelimiter===!0?1:0)>=A){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),$+=bt-1;continue}if(E===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,$+=bt-1;continue}this.info.bytes=this.state.bufBytesSt
${n}`)},"onRetry")})}static isPullTransientError(e){return/Client\.Timeout exceeded|TLS handshake timeout|i\/o timeout|context deadline exceeded|request canceled|connection reset by peer|connection refused|connection timed out|temporary failure|unexpected EOF|\bEOF\b|server misbehaving/i.test(e)||/\b(500|502|503|504)\b/.test(e)||/\b(service unavailable|bad gateway|gateway timeout|internal server error)\b/i.test(e)}};var qae=w(require("crypto"),1);var nS=require("fs"),Hoe=require("os");var Hp=class{static{o(this,"Context")}constructor(){var e,r,n;if(this.payload={},process.env.GITHUB_EVENT_PATH)if((0,nS.existsSync)(process.env.GITHUB_EVENT_PATH))this.payload=JSON.parse((0,nS.readFileSync)(process.env.GITHUB_EVENT_PATH,{encoding:"utf8"}));else{let s=process.env.GITHUB_EVENT_PATH;process.stdout.write(`GITHUB_EVENT_PATH ${s} does not exist${Hoe.EOL}`)}this.eventName=process.env.GITHUB_EVENT_NAME,this.sha=process.env.GITHUB_SHA,this.ref=process.env.GITHUB_REF,this.workflow=process.env.GITHUB_WORKFLOW,this.action=process.env.GITHUB_ACTION,this.actor=process.env.GITHUB_ACTOR,this.job=process.env.GITHUB_JOB,this.runAttempt=parseInt(process.env.GITHUB_RUN_ATTEMPT,10),this.runNumber=parseInt(process.env.GITHUB_RUN_NUMBER,10),this.runId=parseInt(process.env.GITHUB_RUN_ID,10),this.apiUrl=(e=process.env.GITHUB_API_URL)!==null&&e!==void 0?e:"https://api.github.com",this.serverUrl=(r=process.env.GITHUB_SERVER_URL)!==null&&r!==void 0?r:"https://github.com",this.graphqlUrl=(n=process.env.GITHUB_GRAPHQL_URL)!==null&&n!==void 0?n:"https://api.github.com/graphql"}get issue(){let e=this.payload;return Object.assign(Object.assign({},this.repo),{number:(e.issue||e.pull_request||e).number})}get repo(){if(process.env.GITHUB_REPOSITORY){let[e,r]=process.env.GITHUB_REPOSITORY.split("/");return{owner:e,repo:r}}if(this.payload.repository)return{owner:this.payload.repository.owner.login,repo:this.payload.repository.name};throw new Error("context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'")}};var AU=w(Yoe(),1),Woe=w(yA(),1);var i3e=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(d){try{u(n.next(d))}catch(A){a(A)}}o(c,"fulfilled");function l(d){try{u(n.throw(d))}catch(A){a(A)}}o(l,"rejected");function u(d){d.done?i(d.value):s(d.value).then(c,l)}o(u,"step"),u((n=n.apply(t,e||[])).next())})};function joe(t,e){if(!t&&!e.auth)throw new Error("Parameter token or opts.auth is required");if(t&&e.auth)throw new Error("Parameters token and opts.auth may not both be specified");return typeof e.auth=="string"?e.auth:`token ${t}`}o(joe,"getAuthString");function Koe(t){return new AU.HttpClient().getAgent(t)}o(Koe,"getProxyAgent");function o3e(t){return new AU.HttpClient().getAgentDispatcher(t)}o(o3e,"getProxyAgentDispatcher");function Xoe(t){let e=o3e(t);return o((n,s)=>i3e(this,void 0,void 0,function*(){return(0,Woe.fetch)(n,Object.assign(Object.assign({},s),{dispatcher:e}))}),"proxyFetch")}o(Xoe,"getProxyFetch");function Zoe(){return process.env.GITHUB_API_URL||"https://api.github.com"}o(Zoe,"getApiBaseUrl");function pU(t){var e;let r=(e=process.env.ACTIONS_ORCHESTRATION_ID)===null||e===void 0?void 0:e.trim();if(r){let s=`actions_orchestration_id/${r.replace(/[^a-z0-9_.-]/gi,"_")}`;return t?.includes(s)?t:`${t?`${t} `:""}${s}`}return t}o(pU,"getUserAgentWithOrchestrationId");function Xc(){return typeof navigator=="object"&&"userAgent"in navigator?navigator.userAgent:typeof process=="object"&&process.version!==void 0?`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`:"<environment undetectable>"}o(Xc,"getUserAgent");function uS(t,e,r,n){if(typeof r!="function")throw new Error("method for before hook must be a function");return n||(n={}),Array.isArray(e)?e.reverse().reduce((s,i)=>uS.bind(null,t,i,s,n),r)():Promise.resolve().then(()=>t.registry[e]?t.registry[e].reduce((s,i)=>i.hook.bind(null,s,n),r)():r(n))}o(uS,"register");function eae(t,e,r,n){let s=n;t.registry[r]||(t.registry[r]=[]),e==="before"&&(n=o((i,a)=>
`)}o(L3e,"_buildMessageForResponseErrors");var F3e=class extends Error{static{o(this,"GraphqlResponseError")}constructor(t,e,r){super(L3e(r)),this.request=t,this.headers=e,this.response=r,this.errors=r.errors,this.data=r.data,Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}name="GraphqlResponseError";errors;data},U3e=["method","baseUrl","url","headers","request","query","mediaType","operationName"],q3e=["query","method","url"],Nae=/\/api\/v3\/?$/;function G3e(t,e,r){if(r){if(typeof e=="string"&&"query"in r)return Promise.reject(new Error('[@octokit/graphql] "query" cannot be used as variable name'));for(let a in r)if(q3e.includes(a))return Promise.reject(new Error(`[@octokit/graphql] "${a}" cannot be used as variable name`))}let n=typeof e=="string"?Object.assign({query:e},r):e,s=Object.keys(n).reduce((a,c)=>U3e.includes(c)?(a[c]=n[c],a):(a.variables||(a.variables={}),a.variables[c]=n[c],a),{}),i=n.baseUrl||t.endpoint.DEFAULTS.baseUrl;return Nae.test(i)&&(s.url=i.replace(Nae,"/api/graphql")),t(s).then(a=>{if(a.data.errors){let c={};for(let l of Object.keys(a.headers))c[l]=a.headers[l];throw new F3e(s,c,a.data)}return a.data.data})}o(G3e,"graphql");function yU(t,e){let r=t.defaults(e);return Object.assign(o((s,i)=>G3e(r,s,i),"newApi"),{defaults:yU.bind(null,r),endpoint:r.endpoint})}o(yU,"withDefaults");var dkt=yU(oE,{headers:{"user-agent":`octokit-graphql.js/${M3e} ${Xc()}`},method:"POST",url:"/graphql"});function xae(t){return yU(t,{method:"POST",url:"/graphql"})}o(xae,"withCustomRequest");var CU="(?:[a-zA-Z0-9_-]+)",Qae="\\.",Rae=new RegExp(`^${CU}${Qae}${CU}${Qae}${CU}$`),H3e=Rae.test.bind(Rae);async function V3e(t){let e=H3e(t),r=t.startsWith("v1.")||t.startsWith("ghs_"),n=t.startsWith("ghu_");return{type:"token",token:t,tokenType:e?"app":r?"installation":n?"user-to-server":"oauth"}}o(V3e,"auth");function z3e(t){return t.split(/\./).length===3?`bearer ${t}`:`token ${t}`}o(z3e,"withAuthorizationPrefix");async function $3e(t,e,r,n){let s=e.endpoint.merge(r,n);return s.headers.authorization=z3e(t),e(s)}o($3e,"hook");var Tae=o(function(e){if(!e)throw new Error("[@octokit/auth-token] No token passed to createTokenAuth");if(typeof e!="string")throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string");return e=e.replace(/^(token|bearer) +/i,""),Object.assign(V3e.bind(null,e),{hook:$3e.bind(null,e)})},"createTokenAuth2");var IU="7.0.6";var vae=o(()=>{},"noop"),J3e=console.warn.bind(console),Y3e=console.error.bind(console);function W3e(t={}){return typeof t.debug!="function"&&(t.debug=vae),typeof t.info!="function"&&(t.info=vae),typeof t.warn!="function"&&(t.warn=J3e),typeof t.error!="function"&&(t.error=Y3e),t}o(W3e,"createLogger");var _ae=`octokit-core.js/${IU} ${Xc()}`,fS=class{static{o(this,"Octokit")}static VERSION=IU;static defaults(e){return class extends this{static{o(this,"OctokitWithDefaults")}constructor(...n){let s=n[0]||{};if(typeof e=="function"){super(e(s));return}super(Object.assign({},e,s,s.userAgent&&e.userAgent?{userAgent:`${s.userAgent} ${e.userAgent}`}:null))}}}static plugins=[];static plugin(...e){let r=this.plugins;return class extends this{static{o(this,"NewOctokit")}static plugins=r.concat(e.filter(s=>!r.includes(s)))}}constructor(e={}){let r=new iae.Collection,n={baseUrl:oE.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},e.request,{hook:r.bind(null,"request")}),mediaType:{previews:[],format:""}};if(n.headers["user-agent"]=e.userAgent?`${e.userAgent} ${_ae}`:_ae,e.baseUrl&&(n.baseUrl=e.baseUrl),e.previews&&(n.mediaType.previews=e.previews),e.timeZone&&(n.headers["time-zone"]=e.timeZone),this.request=oE.defaults(n),this.graphql=xae(this.request).defaults(n),this.log=W3e(e.log),this.hook=r,e.authStrategy){let{authStrategy:i,...a}=e,c=i(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:a},e.auth));r.wrap("request",c.hook),this.auth=c}else if(!e.auth)this.auth=async()=>({type:"unauthenticated"});else{let i=Tae(e.auth);r.wrap("request",i.hook),this.auth=i}let s=this.constructor;for(let i=0;i<s.plugins.length;++i)
`),s.files[c]+=l.replace(/^\s>\s?/,""));break}}}}returna&&s.devices&&s.devices.push(a),i&&s.gcPolicy&&s.gcPolicy.push(i),s.name&&r.nodes.push(s),r}};varju=w(require("fs"),1),PU=w(require("path"),1);varyS=classt{static{o(this,"Build")}buildx;iidFilename;metadataFilename;constructor(e){this.buildx=e?.buildx||newIe,this.iidFilename=`build-iidfile-${Oe.generateRandomString()}.txt`,this.metadataFilename=`build-metadata-${Oe.generateRandomString()}.json`}asyncgitContext(e){letr=newSet(["ref","checksum","subdir"]),n=e?.attrs||{},s=Object.entries(n).filter(([f])=>!r.has(f)),i=Oe.parseBoolOrDefault(n["fetch-by-commit"]),a=e?.ref||n.ref||ln.ref;a.startsWith("refs/")?a.startsWith("refs/pull/")&&Oe.parseBoolOrDefault(process.env.DOCKER_DEFAULT_GIT_CONTEXT_PR_HEAD_REF)&&(a=a.replace(/\/merge$/g,"/head")):a=`refs/heads/${a}`;letc=`${Xe.serverURL}/${ln.repo.owner}/${ln.repo.repo}.git`,l=e?.checksum||n.checksum,u=e?.subdir||n.subdir,d=e?.format;if(!d){if(d="fragment",s.length>0)d="query";elseif(Oe.parseBoolOrDefault(process.env.BUILDX_SEND_GIT_QUERY_AS_INPUT))try{awaitthis.buildx.versionSatisfies(">=0.29.0")&&(d="query")}catch{}}letA=ln.sha||a;a.startsWith("refs/pull/")&&a.endsWith("/head")&&(A=typeofln.payload.pull_request?.head?.sha=="string"?ln.payload.pull_request.head.sha:a);letp=l||A;if(d==="query"){letf=[`ref=${i||l?a:p}`],h=i?p:l;h&&f.push(`checksum=${h}`),u&&u!=="."&&f.push(`subdir=${u}`);for(let[g,y]ofs)f.push(`${g}=${y}`);return`${c}?${f.join("&")}`}return`${c}#${p}${u&&u!=="."?`:${u}`:""}`}getImageIDFilePath(){returnPU.default.join(De.tmpDir(),this.iidFilename)}resolveImageID(){lete=this.getImageIDFilePath();if(ju.default.existsSync(e))returnju.default.readFileSync(e,{encoding:"utf-8"}).trim()}getMetadataFilePath(){returnPU.default.join(De.tmpDir(),this.metadataFilename)}resolveMetadata(){lete=this.getMetadataFilePath();if(!ju.default.existsSync(e))return;letr=ju.default.readFileSync(e,{encoding:"utf-8"}).trim();if(r!=="null")returnJSON.parse(r)}resolveRef(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"buildx.build.ref"ine)returne["buildx.build.ref"]}resolveProvenance(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"buildx.build.provenance"ine)returne["buildx.build.provenance"]}resolveWarnings(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"buildx.build.warnings"ine)returne["buildx.build.warnings"]}resolveDigest(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"containerimage.digest"ine)returne["containerimage.digest"]}staticresolveSecretString(e){let[r,n]=t.resolveSecret(e,{redact:!0});return`id=${r},src=${n}`}staticresolveSecretFile(e){let[r,n]=t.resolveSecret(e,{asFile:!0});return`id=${r},src=${n}`}staticresolveSecretEnv(e){let[r,n]=t.parseSecretKvp(e);return`id=${r},env=${n}`}staticresolveSecret(e,r){let[n,s]=t.parseSecretKvp(e,r?.redact);if(r?.asFile){if(!ju.default.existsSync(s))thrownewError(`secret file ${s} not found`);return[n,s]}leti=De.tmpName({tmpdir:De.tmpDir()});returnju.default.writeFileSync(i,s),[n,i]}staticgetProvenanceInput(e){letr=Pr(e);if(!r)returnr;try{returnZl(e)?`builder-id=${Xe.workflowRunURL(!0)}`:"false"}catch{returnt.resolveProvenanceAttrs(r)}}staticresolveProvenanceAttrs(e){if(!e)return`builder-id=${Xe.workflowRunURL(!0)}`;letr=ms(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];for(letnofr)if(n.toString().split(/(?<=^[^=]+?)=/).map(i=>i.trim())[0]=="builder-id")returne;return`${e},builder-id=${Xe.workflowRunURL(!0)}`}staticresolveCacheToAttrs(e,r){if(!e)returne;letn="registry",s="",i="",a=ms(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];for(letcofa){letl=c.toString().split(/(?<=^[^=]+?)=/).map(u=>u.trim());l[0]==="type"?n=l[1]:l[0]==="repository"?s=l[1]:l[0]==="ghtoken"&&(i=l[1])}returnn==="gha"&&(s||(e=`${e},repository=${Xe.repository}`),!i&&r&&(e=`${e},ghtoken=${r}`)),e}statichasLocalExporter(e){returnt.hasExporterType("local",e)}statichasTarExporter(e){returnt.hasExporterType("tar",e)}statichasDockerExporter(e,r){returnr||t.hasExporterType("docker",e)}statichasExporterType(e,r){letn=ms(r.join(`
`),{delimiter:",",trim:!0,columns:!1,relaxColumnCount:!0});for(letsofn){if(s.length==1&&!s[0].startsWith("type="))returne=="local";for(let[i,a]ofs.map(c=>c.split("=").map(l=>l.trim())))if(i=="type"&&a==e)return!0}return!1}statichasAttestationType(e,r){letn=ms(r,{delimiter:",",trim:!0,columns:!1,relaxColumnCount:!0});for(letsofn)for(let[i,a]ofs.map(c=>c.split("=").map(l=>l.trim())))if(i=="type"&&a==e)return!0;return!1}staticresolveAttestationAttrs(e){letr=ms(e,{delimiter:",",trim:!0,columns:!1,relaxColumnCount:!0}),n=[];for(letsofr)for(letiofs)try{leta=Oe.parseBool(i);n.push(`disabled=${!a}`)}catch{n.push(i)}returnn.join(",")}statichasGitAuthTokenSecret(e,r){for(letnofe){if(r&&n.startsWith(`GIT_AUTH_TOKEN.${r}=`))return!0;if(n.startsWith("GIT_AUTH_TOKEN="))return!0}return!1}staticparseSecretKvp(e,r){letn=e.indexOf("="),s=e.substring(0,n),i=e.substring(n+1);if(s.length==0||i.length==0)thrownewError(`${e} is not a valid secret`);returnr&&Yi(i),[s,i]}};varkU=w(require("fs"),1),zae=w(require("path"),1);varCS=classt{static{o(this,"Bake")}buildx;metadataFilename;constructor(e){this.buildx=e?.buildx||newIe,this.metadataFilename=`bake-metadata-${Oe.generateRandomString()}.json`}getMetadataFilePath(){returnzae.default.join(De.tmpDir(),this.metadataFilename)}resolveMetadata(){lete=this.getMetadataFilePath();if(!kU.default.existsSync(e))return;letr=kU.default.readFileSync(e,{encoding:"utf-8"}).trim();if(r!=="null")returnJSON.parse(r)}resolveRefs(e){if(!e&&(e=this.resolveMetadata(),!e))return;letr=newArray;for(letnine)"buildx.build.ref"ine[n]&&r.push(e[n]["buildx.build.ref"]);returnr.length>0?r:void0}resolveWarnings(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"buildx.build.warnings"ine)returne["buildx.build.warnings"]}asyncgetDefinition(e,r){r=r||{ignoreReturnCode:!0},r.ignoreReturnCode=!0,r.env=Object.assign({},process.env,r.env||{},e.githubToken?{BUILDX_BAKE_GIT_AUTH_TOKEN:e.githubToken}:{});letn=["bake"],s,i=[],a=[...e.files||[],e.source];if(a){for(letlofa.map(u=>u?u.trim():""))if(l.length!=0){if(!Oe.isValidRef(l)){i.push(l);continue}if(s)thrownewError("Only one remote bake definition can be defined");s=l}}s&&n.push(s);for(letlofi)n.push("--file",l);if(e.overrides)for(letlofe.overrides)n.push("--set",l);if(e.vars)for(letlofe.vars)n.push("--var",l);if(e.allow)for(letlofe.allow)n.push("--allow",l);e.call&&n.push("--call",e.call),e.load&&n.push("--load"),e.noCache&&n.push("--no-cache"),e.provenance&&n.push("--provenance",e.provenance),e.push&&n.push("--push"),e.sbom&&n.push("--sbom",e.sbom);letc=awaitthis.buildx.getCommand([...n,"--print",...e.targets||[]]);returnawaitY.getExecOutput(c.command,c.args,r).then(l=>{if(l.stderr.length>0&&l.exitCode!=0)thrownewError(`cannot parse bake definitions: ${Ie.getErrorMessage(l.stderr)}`);returnt.parseDefinition(l.stdout.trim())})}staticparseDefinition(e){letr=JSON.parse(e);for(letninr.target){lets=r.target[n];s.attest&&Array.isArray(s.attest)&&(s.attest=s.attest.map(i=>t.parseAttestEntry(i))),s["cache-from"]&&Array.isArray(s["cache-from"])&&(s["cache-from"]=s["cache-from"].map(i=>t.parseCacheEntry(i))),s["cache-to"]&&Array.isArray(s["cache-to"])&&(s["cache-to"]=s["cache-to"].map(i=>t.parseCacheEntry(i))),s.output&&Array.isArray(s.output)&&(s.output=s.output.map(i=>t.parseExportEntry(i))),s.secret&&Array.isArray(s.secret)&&(s.secret=s.secret.map(i=>t.parseSecretEntry(i))),s.ssh&&Array.isArray(s.ssh)&&(s.ssh=s.ssh.map(i=>t.parseSSHEntry(i)))}returnr}staticparseAttestEntry(e){if(typeofe!="string")returne;letr={type:""},n=ms(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];for(letsofn){let[i,a]=s.toString().split(/(?<=^[^=]+?)=/).map(c=>c.trim());switch(i){case"type":r.type=a;break;case"disabled":r.disabled=Oe.parseBool(a);break;default:r[i]=a}}returnr}staticparseCacheEntry(e){if(typeofe!="string")returne;letr={type:""},n=ms(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];if(n.length===1&&!n[0].includes("="))returnr.type="registry",r.ref=n[0],r;for(letsofn){let[i,a]=s.toString().split(/(?<=^[^=]+?)=/).map(c=
`).map(a=>a.trim()).filter(a=>a.length>0).sort((a,c)=>c.length-a.length);for(let a of i){let c=`tag:${a.slice(10)}`;if(e===c||e.startsWith(`${c},`))return a}if(i.length===1)return i[0];throw new Error(`Cannotfinddetachedtagrefin"${r}"`)}static async findContainingRef(e,r){let n=await t.exec(["for-each-ref","--format=%(refname)","--contains","HEAD","--sort=-committerdate",e],r),[s]=n.split(`
${u}`),awaitnewPromise(d=>setTimeout(d,Math.pow(2,a)*100));elsethrowi}elsethrownewError(`Cosign verify command failed with: ${Ln.getErrorMessage(c.stderr)}`)}throwi}asyncsignProvenanceBlobs(e){if(!awaitthis.cosign.isAvailable())thrownewError("Cosign is required to sign provenance blobs");letr={};try{if(!process.env.ACTIONS_ID_TOKEN_REQUEST_URL)thrownewError('missing "id-token" permission. Please add "permissions: id-token: write" to your workflow.');letn={noTransparencyLog:e.noTransparencyLog,rekorV2:e.rekorV2},s=awaitthis.cosignSigningConfigArgs(n),i=t.getProvenanceBlobs(e);for(letaofObject.keys(i))awaitnt(`Signing ${a}`,async()=>{letc=i[a],l=Xo.default.join(Xo.default.dirname(a),`${e.name??"provenance"}.sigstore.json`),u=t.getProvenanceSubjects(c);if(u.length===0){Je(`No subjects found in provenance ${a}, skip signing.`);return}letd=Xo.default.join(Xo.default.dirname(a),u[0].name),A=["attest-blob","--yes","--oidc-provider","github-actions",...awaitthis.bundleFormatArgs(),"--statement",a,"--type",ode,"--bundle",l,...s];S(`[command]${this.cosign.binPath}${[...A,d].join(" ")}`);letp=awaitY.getExecOutput(this.cosign.binPath,["--verbose",...A,d],{ignoreReturnCode:!0,silent:!0,env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})}),f=Ln.parseCommandOutput(p.stderr.trim());if(p.exitCode!=0)if(f.errors&&f.errors.length>0){letg=f.errors.map(y=>`- [${y.code}] ${y.message} : ${y.detail}`).join(`