Specify the "missing username and password" error message. This makes debugging the action easier when for example mistyping the username or the password.
Signed-off-by: Frank Villaro-Dixon <frank@vi-di.fr>
Signed-off-by: Frank Villaro-Dixon <frank@villaro-dixon.eu>
* [Keep up-to-date with GitHub Dependabot](#keep-up-to-date-with-github-dependabot)
* [Contributing](#contributing)
## Usage
@@ -227,10 +228,9 @@ You can authenticate with workload identity federation or a service account.
#### Workload identity federation
Download the key for the service account as a JSON file. Save the contents of
the file [as a secret](https://docs.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets#creating-encrypted-secrets-for-a-repository)
named `GCR_JSON_KEY` in your GitHub repository. Set the username to `_json_key`,
or `_json_key_base64` if you use a base64-encoded key.
Your service account must have permission to push to GAR. Use the
`google-github-actions/auth` action to authenticate usingworkload identity as
shown in the following example:
```yaml
name:ci
@@ -274,7 +274,7 @@ jobs:
Use a service account with permission to push to GAR and [configure access control](https://cloud.google.com/artifact-registry/docs/access-control).
Download the key for the service account as a JSON file. Save the contents of
the file [as a secret](https://docs.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets#creating-encrypted-secrets-for-a-repository)
named `GCR_JSON_KEY` in your GitHub repository. Set the username to `_json_key`,
named `GAR_JSON_KEY` in your GitHub repository. Set the username to `_json_key`,
or `_json_key_base64` if you use a base64-encoded key.
```yaml
@@ -471,6 +471,30 @@ jobs:
password:${{ secrets.QUAY_ROBOT_TOKEN }}
```
### DigitalOcean Container Registry
Use your DigitalOcean registered email address and an API access token to authenticate.
```yaml
name:ci
on:
push:
branches:main
jobs:
login:
runs-on:ubuntu-latest
steps:
-
name:Login to DigitalOcean Container Registry
uses:docker/login-action@v3
with:
registry:registry.digitalocean.com
username:${{ secrets.DIGITALOCEAN_USERNAME }}
password:${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
```
## Customizing
### inputs
@@ -485,18 +509,7 @@ The following inputs can be used as `step.with` keys:
| `ecr` | String | `auto` | Specifies whether the given registry is ECR (`auto`, `true` or `false`) |
| `logout` | Bool | `true` | Log out from the Docker registry at the end of a job |
## Keep up-to-date with GitHub Dependabot
## Contributing
Since [Dependabot](https://docs.github.com/en/github/administering-a-repository/keeping-your-actions-up-to-date-with-github-dependabot)
has [native GitHub Actions support](https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates#package-ecosystem),
to enable it on your GitHub repo all you need to do is add the `.github/dependabot.yml` file:
```yaml
version:2
updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem:"github-actions"
directory:"/"
schedule:
interval:"daily"
```
Want to contribute? Awesome! You can find information about contributing to
this project in the [CONTRIBUTING.md](/.github/CONTRIBUTING.md)
vart;varr;varn;varo;varA;vars;vari;vara;varc;varl;varu;vard;varg;varh;varE;varf;varp;varC;varI;varQ;varB;varm;vary;(function(t){varr=typeofglobal==="object"?global:typeofself==="object"?self:typeofthis==="object"?this:{};if(typeofdefine==="function"&&define.amd){define("tslib",["exports"],(function(e){t(createExporter(r,createExporter(e)))}))}elseif(true&&typeofe.exports==="object"){t(createExporter(r,createExporter(e.exports)))}else{t(createExporter(r))}functioncreateExporter(e,t){if(e!==r){if(typeofObject.create==="function"){Object.defineProperty(e,"__esModule",{value:true})}else{e.__esModule=true}}returnfunction(r,n){returne[r]=t?t(r,n):n}}})((function(e){varv=Object.setPrototypeOf||{__proto__:[]}instanceofArray&&function(e,t){e.__proto__=t}||function(e,t){for(varrint)if(t.hasOwnProperty(r))e[r]=t[r]};t=function(e,t){v(e,t);function__(){this.constructor=e}e.prototype=t===null?Object.create(t):(__.prototype=t.prototype,new__)};r=Object.assign||function(e){for(vart,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(varoint)if(Object.prototype.hasOwnProperty.call(t,o))e[o]=t[o]}returne};n=function(e,t){varr={};for(varnine)if(Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0)r[n]=e[n];if(e!=null&&typeofObject.getOwnPropertySymbols==="function")for(varo=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++){if(t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o]))r[n[o]]=e[n[o]]}returnr};o=function(e,t,r,n){varo=arguments.length,A=o<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeofReflect==="object"&&typeofReflect.decorate==="function")A=Reflect.decorate(e,t,r,n);elsefor(vari=e.length-1;i>=0;i--)if(s=e[i])A=(o<3?s(A):o>3?s(t,r,A):s(t,r))||A;returno>3&&A&&Object.defineProperty(t,r,A),A};A=function(e,t){returnfunction(r,n){t(r,n,e)}};s=function(e,t){if(typeofReflect==="object"&&typeofReflect.metadata==="function")returnReflect.metadata(e,t)};i=function(e,t,r,n){functionadopt(e){returneinstanceofr?e:newr((function(t){t(e)}))}returnnew(r||(r=Promise))((function(r,o){functionfulfilled(e){try{step(n.next(e))}catch(e){o(e)}}functionrejected(e){try{step(n["throw"](e))}catch(e){o(e)}}functionstep(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};a=function(e,t){varr={label:0,sent:function(){if(A[0]&1)throwA[1];returnA[1]},trys:[],ops:[]},n,o,A,s;returns={next:verb(0),throw:verb(1),return:verb(2)},typeofSymbol==="function"&&(s[Symbol.iterator]=function(){returnthis}),s;functionverb(e){returnfunction(t){returnstep([e,t])}}functionstep(s){if(n)thrownewTypeError("Generator is already executing.");while(r)try{if(n=1,o&&(A=s[0]&2?o["return"]:s[0]?o["throw"]||((A=o["return"])&&A.call(o),0):o.next)&&!(A=A.call(o,s[1])).done)returnA;if(o=0,A)s=[s[0]&2,A.value];switch(s[0]){case0:case1:A=s;break;case4:r.label++;return{value:s[1],done:false};case5:r.label++;o=s[1];s=[0];continue;case7:s=r.ops.pop();r.trys.pop();continue;default:if(!(A=r.trys,A=A.length>0&&A[A.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!A||s[1]>A[0]&&s[1]<A[3])){r.label=s[1];break}if(s[0]===6&&r.label<A[1]){r.label=A[1];A=s;break}if(A&&r.label<A[2]){r.label=A[2];r.ops.push(s);break}if(A[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];o=0}finally{n=A=0}if(s[0]&5)throws[1];return{value:s[0]?s[1]:void0,done:true}}};y=function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]};c=function(e,t){for(varrine)if(r!=="default"&&!t.hasOwnProperty(r))t[r]=e[r]};l=function(e){vart=typeofSymbol==="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)returnr.call(e);if(e&&typeofe.length==="number")return{next:function(){if(e&&n>=e.length)e=void0;return{value:e&&e[n++],done:!e}}};thrownewTypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};u=function(e,t){varr=typeofSymbol==="function"&&e[Symbol.iterator];if(!r)returne;varn=r.call(e),o,A=[],s;try{while((t===void0||t-->0)&&!(o=n.next()).done)A.push(o.value)}catch(e){s={error:e}}finally{try{if(o&&!o.done&&(r=n["return"]))r.call(n)}finally{if(s)throws.error}}returnA};d=function(){for(vare=[],t=0;t<arguments.length;t++)e=e.concat(u(arguments[t]));returne};g=function(){for(vare=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(varn=Array(e),o=0,t=0;t<r;t++)for(varA=arguments[t],s=0,i=A.length;s<i;s++,o++)n[o]=A[s];returnn};h=function(e){returnthisinstanceofh?(this.v=e,this):newh(e)};E=function(e,t,r){if(!Symbol.asyncIterator)thrownewTypeError("Symbol.asyncIterator is not defined.");varn=r.apply(e,t||[]),o,A=[];returno={},verb("next"),verb("throw"),verb("return"),o[Symbol.asyncIterator]=function(){returnthis},o;functionverb(e){if(n[e])o[e]=function(t){returnnewPromise((function(r,n){A.push([e,t,r,n])>1||resume(e,t)}))}}functionresume(e,t){try{step(n[e](t))}catch(e){settle(A[0][3],e)}}functionstep(e){e.valueinstanceofh?Promise.resolve(e.value.v).then(fulfill,reject):seLine truncated
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */;constescape=e=>e.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");constnormalizeLinefeeds=e=>e.replace(/\r?\n|\r/g,"\r\n");constn=[];consto=newUint8Array([13,10]);u=0;letA=false;for(const[t,s]ofe){if(typeofs==="string"){conste=S.encode(r+`; name="${escape(normalizeLinefeeds(t))}"`+`\r\n\r\n${normalizeLinefeeds(s)}\r\n`);n.push(e);u+=e.byteLength}else{conste=S.encode(`${r}; name="${escape(normalizeLinefeeds(t))}"`+(s.name?`; filename="${escape(s.name)}"`:"")+"\r\n"+`Content-Type: ${s.type||"application/octet-stream"}\r\n\r\n`);n.push(e,s,o);if(typeofs.size==="number"){u+=e.byteLength+s.size+o.byteLength}else{A=true}}}consts=S.encode(`--${t}--`);n.push(s);u+=s.byteLength;if(A){u=null}l=e;c=asyncfunction*(){for(consteofn){if(e.stream){yield*e.stream()}else{yielde}}};d="multipart/form-data; boundary="+t}elseif(s(e)){l=e;u=e.size;if(e.type){d=e.type}}elseif(typeofe[Symbol.asyncIterator]==="function"){if(t){thrownewTypeError("keepalive")}if(o.isDisturbed(e)||e.locked){thrownewTypeError("Response body object should not be disturbed or locked")}n=einstanceofb?e:A(e)}if(typeofl==="string"||o.isBuffer(l)){u=Buffer.byteLength(l)}if(c!=null){lett;n=newb({asyncstart(){t=c(e)[Symbol.asyncIterator]()},asyncpull(e){const{value:r,done:o}=awaitt.next();if(o){queueMicrotask((()=>{e.close()}))}else{if(!Q(n)){e.enqueue(newUint8Array(r))}}returne.desiredSize>0},asynccancel(e){awaitt.return()},type:undefined})}constg={stream:n,source:l,length:u};return[g,d]}functionsafelyExtractBody(e,t=false){if(!b){b=r(5356).ReadableStream}if(einstanceofb){I(!o.isDisturbed(e),"The body has already been consumed.");I(!e.locked,"The stream is locked.")}returnextractBody(e,t)}functioncloneBody(e){const[t,r]=e.stream.tee();constn=E(r,{transfer:[r]});const[,o]=n.tee();e.stream=t;return{stream:o,length:e.length,source:e.source}}asyncfunction*consumeBody(e){if(e){if(B(e)){yielde}else{constt=e.stream;if(o.isDisturbed(t)){thrownewTypeError("The body has already been consumed.")}if(t.locked){thrownewTypeError("The stream is locked.")}t[C]=true;yield*t}}}functionthrowIfAborted(e){if(e.aborted){thrownewh("The operation was aborted.","AbortError")}}functionbodyMixinMethods(e){constt={blob(){returnspecConsumeBody(this,(e=>{lett=bodyMimeType(this);if(t==="failure"){t=""}elseif(t){t=w(t)}returnnewf([e],{type:t})}),e)},arrayBuffer(){returnspecConsumeBody(this,(e=>newUint8Array(e).buffer),e)},text(){returnspecConsumeBody(this,utf8DecodeBytes,e)},json(){returnspecConsumeBody(this,parseJSONFromBytes,e)},asyncformData(){g.brandCheck(this,e);throwIfAborted(this[d]);constt=this.headers.get("Content-Type");if(/multipart\/form-data/.test(t)){conste={};for(const[t,r]ofthis.headers)e[t.toLowerCase()]=r;constt=newu;letr;try{r=newn({headers:e,preservePath:true})}catch(e){thrownewh(`${e}`,"AbortError")}r.on("field",((e,r)=>{t.append(e,r)}));r.on("file",((e,r,n,o,A)=>{consts=[];if(o==="base64"||o.toLowerCase()==="base64"){leto="";r.on("data",(e=>{o+=e.toString().replace(/[\r\n]/gm,"");constt=o.length-o.length%4;s.push(Buffer.from(o.slice(0,t),"base64"));o=o.slice(t)}));r.on("end",(()=>{s.push(Buffer.from(o,"base64"));t.append(e,newR(s,n,{type:A}))}))}else{r.on("data",(e=>{s.push(e)}));r.on("end",(()=>{t.append(e,newR(s,n,{type:A}))}))}}));consto=newPromise(((e,t)=>{r.on("finish",e);r.on("error",(e=>t(newTypeError(e))))}));if(this.body!==null)forawait(consteofconsumeBody(this[d].body))r.write(e);r.end();awaito;returnt}elseif(/application\/x-www-form-urlencoded/.test(t)){lete;try{lett="";constr=newTextDecoder("utf-8",{ignoreBOM:true});forawait(consteofconsumeBody(this[d].body)){if(!B(e)){thrownewTypeError("Expected Uint8Array chunk")}t+=r.decode(e,{stream:true})}t+=r.decode();e=newURLSearchParams(t)}catch(e){throwObject.assign(newTypeError,{cause:e})}constt=newu;for(const[r,n]ofe){t.append(r,n)}returnt}else{awaitPromise.resolve();throwIfAborted(this[d]);throwg.errors.exception({header:`${e.name}.formData`,message:"Could not parse content as FormData."})}}};returnt}functionmixinBody(e){Object.assign(e.prototype,bodyMixinMethods(e))}asyncfunctionspecConsumeBody(e,t,r){g.brandCheck(e,r);throwIfAborted(e[d]);if(bodyUnusable(e[d].body)){thrownewTypeError("Body is unusable")}constn=c();consterrorSteps=e=>n.reject(e);constsuccessSteps=e=>{try{n.resolve(t(e))}catch(e){errorSteps(e)}};if(e[d].body==null){successSteps(newUint8Array);returnn.promise}awaitl(e[d].body,successSteps,errorSteps);returnn.promise}functionbodyUnusable(e){returne!=null&&(e.stream.locked||o.isDisturbed(e.stream))}functionutf8DecodeBytes(e){if(e.length===0){return""}if(e[0]===239&&e[1]===187&&e[2]===191){e=e.subarray(3)}constt=D.decode(e);returnt}functionparseJSONFromBytes(e){returnJSON.parse(utf8DecodeBytes(e))}functionbodyMimeType(e){const{headersList:t}=e[d];constr=t.get("content-Line truncated
/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */A[o-4]=this.maskKey[0];A[o-3]=this.maskKey[1];A[o-2]=this.maskKey[2];A[o-1]=this.maskKey[3];A[1]=r;if(r===126){A.writeUInt16BE(t,2)}elseif(r===127){A[2]=A[3]=0;A.writeUIntBE(t,4,6)}A[1]|=128;for(lete=0;e<t;e++){A[o+e]=this.frameData[e]^this.maskKey[e%4]}returnA}}e.exports={WebsocketFrameSend:WebsocketFrameSend}},1688:(e,t,r)=>{"use strict";const{Writable:n}=r(2781);consto=r(7643);const{parserStates:A,opcodes:s,states:i,emptyBuffer:a}=r(9188);const{kReadyState:c,kSentClose:l,kResponse:u,kReceivedClose:d}=r(7578);const{isValidStatusCode:g,failWebsocketConnection:h,websocketMessageReceived:E}=r(5515);const{WebsocketFrameSend:f}=r(5444);constp={};p.ping=o.channel("undici:websocket:ping");p.pong=o.channel("undici:websocket:pong");classByteParserextendsn{#s=[];#i=0;#a=A.INFO;#c={};#l=[];constructor(e){super();this.ws=e}_write(e,t,r){this.#s.push(e);this.#i+=e.length;this.run(r)}run(e){while(true){if(this.#a===A.INFO){if(this.#i<2){returne()}constt=this.consume(2);this.#c.fin=(t[0]&128)!==0;this.#c.opcode=t[0]&15;this.#c.originalOpcode??=this.#c.opcode;this.#c.fragmented=!this.#c.fin&&this.#c.opcode!==s.CONTINUATION;if(this.#c.fragmented&&this.#c.opcode!==s.BINARY&&this.#c.opcode!==s.TEXT){h(this.ws,"Invalid frame type was fragmented.");return}constr=t[1]&127;if(r<=125){this.#c.payloadLength=r;this.#a=A.READ_DATA}elseif(r===126){this.#a=A.PAYLOADLENGTH_16}elseif(r===127){this.#a=A.PAYLOADLENGTH_64}if(this.#c.fragmented&&r>125){h(this.ws,"Fragmented frame exceeded 125 bytes.");return}elseif((this.#c.opcode===s.PING||this.#c.opcode===s.PONG||this.#c.opcode===s.CLOSE)&&r>125){h(this.ws,"Payload length for control frame exceeded 125 bytes.");return}elseif(this.#c.opcode===s.CLOSE){if(r===1){h(this.ws,"Received close frame with a 1-byte body.");return}conste=this.consume(r);this.#c.closeInfo=this.parseCloseBody(false,e);if(!this.ws[l]){conste=Buffer.allocUnsafe(2);e.writeUInt16BE(this.#c.closeInfo.code,0);constt=newf(e);this.ws[u].socket.write(t.createFrame(s.CLOSE),(e=>{if(!e){this.ws[l]=true}}))}this.ws[c]=i.CLOSING;this.ws[d]=true;this.end();return}elseif(this.#c.opcode===s.PING){constt=this.consume(r);if(!this.ws[d]){conste=newf(t);this.ws[u].socket.write(e.createFrame(s.PONG));if(p.ping.hasSubscribers){p.ping.publish({payload:t})}}this.#a=A.INFO;if(this.#i>0){continue}else{e();return}}elseif(this.#c.opcode===s.PONG){constt=this.consume(r);if(p.pong.hasSubscribers){p.pong.publish({payload:t})}if(this.#i>0){continue}else{e();return}}}elseif(this.#a===A.PAYLOADLENGTH_16){if(this.#i<2){returne()}constt=this.consume(2);this.#c.payloadLength=t.readUInt16BE(0);this.#a=A.READ_DATA}elseif(this.#a===A.PAYLOADLENGTH_64){if(this.#i<8){returne()}constt=this.consume(8);constr=t.readUInt32BE(0);if(r>2**31-1){h(this.ws,"Received payload length > 2^31 bytes.");return}constn=t.readUInt32BE(4);this.#c.payloadLength=(r<<8)+n;this.#a=A.READ_DATA}elseif(this.#a===A.READ_DATA){if(this.#i<this.#c.payloadLength){returne()}elseif(this.#i>=this.#c.payloadLength){conste=this.consume(this.#c.payloadLength);this.#l.push(e);if(!this.#c.fragmented||this.#c.fin&&this.#c.opcode===s.CONTINUATION){conste=Buffer.concat(this.#l);E(this.ws,this.#c.originalOpcode,e);this.#c={};this.#l.length=0}this.#a=A.INFO}}if(this.#i>0){continue}else{e();break}}}consume(e){if(e>this.#i){returnnull}elseif(e===0){returna}if(this.#s[0].length===e){this.#i-=this.#s[0].length;returnthis.#s.shift()}constt=Buffer.allocUnsafe(e);letr=0;while(r!==e){constn=this.#s[0];const{length:o}=n;if(o+r===e){t.set(this.#s.shift(),r);break}elseif(o+r>e){t.set(n.subarray(0,e-r),r);this.#s[0]=n.subarray(e-r);break}else{t.set(this.#s.shift(),r);r+=n.length}}this.#i-=e;returnt}parseCloseBody(e,t){letr;if(t.length>=2){r=t.readUInt16BE(0)}if(e){if(!g(r)){returnnull}return{code:r}}letn=t.subarray(2);if(n[0]===239&&n[1]===187&&n[2]===191){n=n.subarray(3)}if(r!==undefined&&!g(r)){returnnull}try{n=newTextDecoder("utf-8",{fatal:true}).decode(n)}catch{returnnull}return{code:r,reason:n}}getclosingInfo(){returnthis.#c.closeInfo}}e.exports={ByteParser:ByteParser}},7578:e=>{"use strict";e.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},5515:(e,t,r)=>{"use strict";const{kReadyState:n,kController:o,kResponse:A,kBinaryType:s,kWebSocketURL:i}=r(7578);const{states:a,opcodes:c}=r(9188);const{MessageEvent:l,ErrorEvent:u}=r(2611);functionisEstablished(e){returne[n]===a.OPEN}functionisClosing(e){returne[n]===a.CLOSING}functionisClosed(e){returne[n]===a.CLOSED}functionfireEvent(e,t,r=Event,n){consto=newr(e,n);t.dispatchEvent(o)}functionwebsocketMessageReceived(e,t,r){if(e[n]!==a.OPEN){return}leto;if(t===c.TEXT){try{o=newTextDecoder("utf-8",{fatal:true}).decode(r)Line truncated
require('./sourcemap-register.js');(()=>{varr={79450:function(r,i,s){"use strict";vara=this&&this.__createBinding||(Object.create?function(r,i,s,a){if(a===undefined)a=s;varc=Object.getOwnPropertyDescriptor(i,s);if(!c||("get"inc?!i.__esModule:c.writable||c.configurable)){c={enumerable:true,get:function(){returni[s]}}}Object.defineProperty(r,a,c)}:function(r,i,s,a){if(a===undefined)a=s;r[a]=i[s]});varc=this&&this.__exportStar||function(r,i){for(varsinr)if(s!=="default"&&!Object.prototype.hasOwnProperty.call(i,s))a(i,r,s)};Object.defineProperty(i,"__esModule",{value:true});constl=s(46190);c(s(15769),i);c(s(38182),i);c(s(46190),i);constd=newl.DefaultArtifactClient;i["default"]=d},54622:(r,i,s)=>{"use strict";Object.defineProperty(i,"__esModule",{value:true});i.Timestamp=void0;consta=s(4061);constc=s(4061);constl=s(4061);constd=s(4061);constp=s(4061);constu=s(4061);consth=s(4061);classTimestamp$Typeextendsh.MessageType{constructor(){super("google.protobuf.Timestamp",[{no:1,name:"seconds",kind:"scalar",T:3},{no:2,name:"nanos",kind:"scalar",T:5}])}now(){constr=this.create();consti=Date.now();r.seconds=u.PbLong.from(Math.floor(i/1e3)).toString();r.nanos=i%1e3*1e6;returnr}toDate(r){returnnewDate(u.PbLong.from(r.seconds).toNumber()*1e3+Math.ceil(r.nanos/1e6))}fromDate(r){consti=this.create();consts=r.getTime();i.seconds=u.PbLong.from(Math.floor(s/1e3)).toString();i.nanos=s%1e3*1e6;returni}internalJsonWrite(r,i){lets=u.PbLong.from(r.seconds).toNumber()*1e3;if(s<Date.parse("0001-01-01T00:00:00Z")||s>Date.parse("9999-12-31T23:59:59Z"))thrownewError("Unable to encode Timestamp to JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.");if(r.nanos<0)thrownewError("Unable to encode invalid Timestamp to JSON. Nanos must not be negative.");leta="Z";if(r.nanos>0){leti=(r.nanos+1e9).toString().substring(1);if(i.substring(3)==="000000")a="."+i.substring(0,3)+"Z";elseif(i.substring(6)==="000")a="."+i.substring(0,6)+"Z";elsea="."+i+"Z"}returnnewDate(s).toISOString().replace(".000Z",a)}internalJsonRead(r,i,s){if(typeofr!=="string")thrownewError("Unable to parse Timestamp from JSON "+(0,p.typeofJsonValue)(r)+".");leta=r.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:Z|\.([0-9]{3,9})Z|([+-][0-9][0-9]:[0-9][0-9]))$/);if(!a)thrownewError("Unable to parse Timestamp from JSON. Invalid format.");letc=Date.parse(a[1]+"-"+a[2]+"-"+a[3]+"T"+a[4]+":"+a[5]+":"+a[6]+(a[8]?a[8]:"Z"));if(Number.isNaN(c))thrownewError("Unable to parse Timestamp from JSON. Invalid value.");if(c<Date.parse("0001-01-01T00:00:00Z")||c>Date.parse("9999-12-31T23:59:59Z"))thrownewglobalThis.Error("Unable to parse Timestamp from JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.");if(!s)s=this.create();s.seconds=u.PbLong.from(c/1e3).toString();s.nanos=0;if(a[7])s.nanos=parseInt("1"+a[7]+"0".repeat(9-a[7].length))-1e9;returns}create(r){consti={seconds:"0",nanos:0};globalThis.Object.defineProperty(i,d.MESSAGE_TYPE,{enumerable:false,value:this});if(r!==undefined)(0,l.reflectionMergePartial)(this,i,r);returni}internalBinaryRead(r,i,s,a){letl=a!==null&&a!==void0?a:this.create(),d=r.pos+i;while(r.pos<d){let[i,a]=r.tag();switch(i){case1:l.seconds=r.int64().toString();break;case2:l.nanos=r.int32();break;default:letd=s.readUnknownField;if(d==="throw")thrownewglobalThis.Error(`Unknown field ${i} (wire type ${a}) for ${this.typeName}`);letp=r.skip(a);if(d!==false)(d===true?c.UnknownFieldHandler.onRead:d)(this.typeName,l,i,a,p)}}returnl}internalBinaryWrite(r,i,s){if(r.seconds!=="0")i.tag(1,a.WireType.Varint).int64(r.seconds);if(r.nanos!==0)i.tag(2,a.WireType.Varint).int32(r.nanos);letl=s.writeUnknownFields;if(l!==false)(l==true?c.UnknownFieldHandler.onWrite:l)(this.typeName,r,i);returni}}i.Timestamp=newTimestamp$Type},8626:(r,i,s)=>{"use strict";Object.defineProperty(i,"__esModule",{value:true});i.BytesValue=i.StringValue=i.BoolValue=i.UInt32Value=i.Int32Value=i.UInt64Value=i.Int64Value=i.FloatValue=i.DoubleValue=void0;consta=s(4061);constc=s(4061);constl=s(4061);constd=s(4061);constp=s(4061);constu=s(4061);consth=s(4061);classDoubleValue$Typeextendsh.MessageType{constructor(){super("google.protobuf.DoubleValue",[{no:1,name:"value",kind:"scalar",T:1}])}internalJsonWrite(r,i){returnthis.refJsonWriter.scalar(2,r.value,"value",false,true)}internalJsonRead(r,i,s){if(!s)s=this.create();s.value=this.refJsonReader.scalar(r,1,undefined,"value");returns}create(r){consti={value:0};globalThis.Object.defineProperty(i,u.MESSAGE_TYPE,{enumerable:false,value:this});if(r!==undefined)(0,p.reflectionMergePartial)(this,i,r);returni}internalBinaryRead(r,i,s,a){letc=a!==null&&a!==void0?a:this.create(),l=r.pos+i;while(r.pos<l){let[i,a]=r.tag();switch(i){case1:c.value=r.double();break;default:letl=s.readUnknownField;if(l==="throw")thrownewglobalThis.Error(`Unknown field ${i} (wire type ${a}) for ${this.typeName}`);letp=r.skip(a);if(l!==false)(lLine truncated
vara=s(35010);varc={};varvending=function(r,i){returnvending.create(r,i)};vending.create=function(r,i){if(c[r]){vars=newa(r,i);s.setFormat(r);s.setModule(newc[r](i));returns}else{thrownewError("create("+r+"): format not registered")}};vending.registerFormat=function(r,i){if(c[r]){thrownewError("register("+r+"): format already registered")}if(typeofi!=="function"){thrownewError("register("+r+"): format module invalid")}if(typeofi.prototype.append!=="function"||typeofi.prototype.finalize!=="function"){thrownewError("register("+r+"): format module missing methods")}c[r]=i};vending.isRegisteredFormat=function(r){if(c[r]){returntrue}returnfalse};vending.registerFormat("zip",s(8987));vending.registerFormat("tar",s(33614));vending.registerFormat("json",s(99827));r.exports=vending},35010:(r,i,s)=>{
vara=s(73837);constc={ABORTED:"archive was aborted",DIRECTORYDIRPATHREQUIRED:"diretory dirpath argument must be a non-empty string value",DIRECTORYFUNCTIONINVALIDDATA:"invalid data returned by directory custom data function",ENTRYNAMEREQUIRED:"entry name must be a non-empty string value",FILEFILEPATHREQUIRED:"file filepath argument must be a non-empty string value",FINALIZING:"archive already finalizing",QUEUECLOSED:"queue closed",NOENDMETHOD:"no suitable finalize/end method defined by module",DIRECTORYNOTSUPPORTED:"support for directory entries not defined by module",FORMATSET:"archive format already set",INPUTSTEAMBUFFERREQUIRED:"input source must be valid Stream or Buffer instance",MODULESET:"module already set",SYMLINKNOTSUPPORTED:"support for symlink entries not defined by module",SYMLINKFILEPATHREQUIRED:"symlink filepath argument must be a non-empty string value",SYMLINKTARGETREQUIRED:"symlink target argument must be a non-empty string value",ENTRYNOTSUPPORTED:"entry not supported"};functionArchiverError(r,i){Error.captureStackTrace(this,this.constructor);this.message=c[r]||r;this.code=r;this.data=i}a.inherits(ArchiverError,Error);i=r.exports=ArchiverError},99827:(r,i,s)=>{
vara=s(86454);varc=s(82072);varZip=function(r){if(!(thisinstanceofZip)){returnnewZip(r)}r=this.options=c.defaults(r,{comment:"",forceUTC:false,namePrependSlash:false,store:false});this.supports={directory:true,symlink:true};this.engine=newa(r)};Zip.prototype.append=function(r,i,s){this.engine.entry(r,i,s)};Zip.prototype.finalize=function(){this.engine.finalize()};Zip.prototype.on=function(){returnthis.engine.on.apply(this.engine,arguments)};Zip.prototype.pipe=function(){returnthis.engine.pipe.apply(this.engine,arguments)};Zip.prototype.unpipe=function(){returnthis.engine.unpipe.apply(this.engine,arguments)};r.exports=Zip},57888:function(r,i){(function(r,s){true?s(i):0})(this,(function(r){"use strict";functionapply(r,...i){return(...s)=>r(...i,...s)}functioninitialParams(r){returnfunction(...i){vars=i.pop();returnr.call(this,i,s)}}vari=typeofqueueMicrotask==="function"&&queueMicrotask;vars=typeofsetImmediate==="function"&&setImmediate;vara=typeofprocess==="object"&&typeofprocess.nextTick==="function";functionfallback(r){setTimeout(r,0)}functionwrap(r){return(i,...s)=>r((()=>i(...s)))}varc;if(i){c=queueMicrotask}elseif(s){c=setImmediate}elseif(a){c=process.nextTick}else{c=fallback}varl=wrap(c);functionasyncify(r){if(isAsync(r)){returnfunction(...i){consts=i.pop();consta=r.apply(this,i);returnhandlePromise(a,s)}}returninitialParams((function(i,s){vara;try{a=r.apply(this,i)}catch(r){returns(r)}if(a&&typeofa.then==="function"){returnhandlePromise(a,s)}else{s(null,a)}}))}functionhandlePromise(r,i){returnr.then((r=>{invokeCallback(i,null,r)}),(r=>{invokeCallback(i,r&&(rinstanceofError||r.message)?r:newError(r))}))}functioninvokeCallback(r,i,s){try{r(i,s)}catch(r){l((r=>{throwr}),r)}}functionisAsync(r){returnr[Symbol.toStringTag]==="AsyncFunction"}functionisAsyncGenerator(r){returnr[Symbol.toStringTag]==="AsyncGenerator"}functionisAsyncIterable(r){returntypeofr[Symbol.asyncIterator]==="function"}functionwrapAsync(r){if(typeofr!=="function")thrownewError("expected a function");returnisAsync(r)?asyncify(r):r}functionawaitify(r,i){if(!i)i=r.length;if(!i)thrownewError("arity is undefined");functionawaitable(...s){if(typeofs[i-1]==="function"){returnr.apply(this,s)}returnnewPromise(((a,c)=>{s[i-1]=(r,...i)=>{if(r)returnc(r);a(i.length>1?i:i[0])};r.apply(this,s)}))}returnawaitable}functionapplyEach$1(r){returnfunctionapplyEach(i,...s){consta=awaitify((function(a){varc=this;returnr(i,((r,i)=>{wrapAsync(r).apply(c,s.concat(i))}),a)}));returna}}function_asyncMap(r,i,s,a){i=i||[];varc=[];varl=0;vard=wrapAsync(s);returnr(i,((r,i,s)=>{vara=l++;d(r,((r,i)=>{c[a]=i;s(r)}))}),(r=>{a(r,c)}))}functionisArrayLike(r){returnr&&typeofr.length==="number"&&r.length>=0&&r.length%1===0}constd={};varp=d;functiononce(r){functionwrapper(...i){if(r===null)return;vars=r;r=null;s.apply(this,i)}Object.assign(wrapper,r);returnwrapper}functiongetIterator(r){returnr[Symbol.iterator]&&r[Symbol.iterator]()}functioncreateArrayIterator(r){vari=-1;vars=r.length;returnfunctionnext(){return++i<s?{value:r[i],key:i}:null}}functioncreateES2015Iterator(r){vari=-1;returnfunctionnext(){vars=r.next();if(s.done)returnnull;i++;return{value:s.value,key:i}}}functioncreateObjectIterator(r){vari=r?Object.keys(r):[];vars=-1;vara=i.length;returnfunctionnext(){varc=i[++s];if(c==="__proto__"){returnnext()}returns<a?{value:r[c],key:c}:null}}functioncreateIterator(r){if(isArrayLike(r)){returncreateArrayIterator(r)}vari=getIterator(r);returni?createES2015Iterator(i):createObjectIterator(r)}functiononlyOnce(r){returnfunction(...i){if(r===null)thrownewError("Callback was already called.");vars=r;r=null;s.apply(this,i)}}functionasyncEachOfLimit(r,i,s,a){letc=false;letl=false;letd=false;letu=0;leth=0;functionreplenish(){if(u>=i||d||c)return;d=true;r.next().then((({value:r,done:i})=>{if(l||c)return;d=false;if(i){c=true;if(u<=0){a(null)}return}u++;s(r,h,iterateeCallback);h++;replenish()})).catch(handleError)}functioniterateeCallback(r,i){u-=1;if(l)return;if(r)returnhandleError(r);if(r===false){c=true;l=true;return}if(i===p||c&&u<=0){c=true;returna(null)}replenish()}functionhandleError(r){if(l)return;d=false;c=true;a(r)}replenish()}vareachOfLimit$2=r=>(i,s,a)=>{a=once(a);if(r<=0){thrownewRangeError("concurrency limit cannot be less than 1")}if(!i){returna(null)}if(isAsyncGenerator(i)){returnasyncEachOfLimit(i,r,s,a)}if(isAsyncIterable(i)){returnasyncEachOfLimit(i[Symbol.asyncIterator](),r,s,a)}varc=createIterator(i);varl=false;vard=false;varu=0;varh=false;functioniterateeCallback(r,i){if(d)return;u-=1;if(r){l=true;a(r)}elseif(r===false){l=true;d=true}elseif(i===p||l&&u<=0){l=true;returna(null)}elseif(!h){replenish()}}functionreplenish(){h=true;while(u<r&&!l){vari=c();if(i===null){l=true;if(u<=0){a(null)}return}u+=1;s(i.value,i.key,onlyOnce(iterateeCallback))}h=false}replenish()};functioneachOfLimit(r,i,s,a){returneachOfLimit$2(i)(r,Line truncated
vars;(function(r){if(typeofDO_NOT_EXPORT_CRC==="undefined"){if(true){r(i)}else{}}else{r(s={})}})((function(r){r.version="1.2.2";functionsigned_crc_table(){varr=0,i=newArray(256);for(vars=0;s!=256;++s){r=s;r=r&1?-306674912^r>>>1:r>>>1;r=r&1?-306674912^r>>>1:r>>>1;r=r&1?-306674912^r>>>1:r>>>1;r=r&1?-306674912^r>>>1:r>>>1;r=r&1?-306674912^r>>>1:r>>>1;r=r&1?-306674912^r>>>1:r>>>1;r=r&1?-306674912^r>>>1:r>>>1;r=r&1?-306674912^r>>>1:r>>>1;i[s]=r}returntypeofInt32Array!=="undefined"?newInt32Array(i):i}vari=signed_crc_table();functionslice_by_16_tables(r){vari=0,s=0,a=0,c=typeofInt32Array!=="undefined"?newInt32Array(4096):newArray(4096);for(a=0;a!=256;++a)c[a]=r[a];for(a=0;a!=256;++a){s=r[a];for(i=256+a;i<4096;i+=256)s=c[i]=s>>>8^r[s&255]}varl=[];for(a=1;a!=16;++a)l[a-1]=typeofInt32Array!=="undefined"?c.subarray(a*256,a*256+256):c.slice(a*256,a*256+256);returnl}vars=slice_by_16_tables(i);vara=s[0],c=s[1],l=s[2],d=s[3],p=s[4];varu=s[5],h=s[6],A=s[7],g=s[8],y=s[9];varb=s[10],v=s[11],C=s[12],w=s[13],S=s[14];functioncrc32_bstr(r,s){vara=s^-1;for(varc=0,l=r.length;c<l;)a=a>>>8^i[(a^r.charCodeAt(c++))&255];return~a}functioncrc32_buf(r,s){varx=s^-1,I=r.length-15,B=0;for(;B<I;)x=S[r[B++]^x&255]^w[r[B++]^x>>8&255]^C[r[B++]^x>>16&255]^v[r[B++]^x>>>24]^b[r[B++]]^y[r[B++]]^g[r[B++]]^A[r[B++]]^h[r[B++]]^u[r[B++]]^p[r[B++]]^d[r[B++]]^l[r[B++]]^c[r[B++]]^a[r[B++]]^i[r[B++]];I+=15;while(B<I)x=x>>>8^i[(x^r[B++])&255];return~x}functioncrc32_str(r,s){vara=s^-1;for(varc=0,l=r.length,d=0,p=0;c<l;){d=r.charCodeAt(c++);if(d<128){a=a>>>8^i[(a^d)&255]}elseif(d<2048){a=a>>>8^i[(a^(192|d>>6&31))&255];a=a>>>8^i[(a^(128|d&63))&255]}elseif(d>=55296&&d<57344){d=(d&1023)+64;p=r.charCodeAt(c++)&1023;a=a>>>8^i[(a^(240|d>>8&7))&255];a=a>>>8^i[(a^(128|d>>2&63))&255];a=a>>>8^i[(a^(128|p>>6&15|(d&3)<<4))&255];a=a>>>8^i[(a^(128|p&63))&255]}else{a=a>>>8^i[(a^(224|d>>12&15))&255];a=a>>>8^i[(a^(128|d>>6&63))&255];a=a>>>8^i[(a^(128|d&63))&255]}}return~a}r.table=i;r.bstr=crc32_bstr;r.buf=crc32_buf;r.str=crc32_str}))},94521:(r,i,s)=>{"use strict";const{Transform:a}=s(45193);constc=s(83201);classCRC32Streamextendsa{constructor(r){super(r);this.checksum=Buffer.allocUnsafe(4);this.checksum.writeInt32BE(0,0);this.rawSize=0}_transform(r,i,s){if(r){this.checksum=c.buf(r,this.checksum)>>>0;this.rawSize+=r.length}s(null,r)}digest(r){consti=Buffer.allocUnsafe(4);i.writeUInt32BE(this.checksum>>>0,0);returnr?i.toString(r):i}hex(){returnthis.digest("hex").toUpperCase()}size(){returnthis.rawSize}}r.exports=CRC32Stream},92563:(r,i,s)=>{"use strict";const{DeflateRaw:a}=s(59796);constc=s(83201);classDeflateCRC32Streamextendsa{constructor(r){super(r);this.checksum=Buffer.allocUnsafe(4);this.checksum.writeInt32BE(0,0);this.rawSize=0;this.compressedSize=0}push(r,i){if(r){this.compressedSize+=r.length}returnsuper.push(r,i)}_transform(r,i,s){if(r){this.checksum=c.buf(r,this.checksum)>>>0;this.rawSize+=r.length}super._transform(r,i,s)}digest(r){consti=Buffer.allocUnsafe(4);i.writeUInt32BE(this.checksum>>>0,0);returnr?i.toString(r):i}hex(){returnthis.digest("hex").toUpperCase()}size(r=false){if(r){returnthis.compressedSize}else{returnthis.rawSize}}}r.exports=DeflateCRC32Stream},5101:(r,i,s)=>{"use strict";r.exports={CRC32Stream:s(94521),DeflateCRC32Stream:s(92563)}},28222:(r,i,s)=>{i.formatArgs=formatArgs;i.save=save;i.load=load;i.useColors=useColors;i.storage=localstorage();i.destroy=(()=>{letr=false;return()=>{if(!r){r=true;console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}}})();i.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];functionuseColors(){if(typeofwindow!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)){returntrue}if(typeofnavigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)){returnfalse}returntypeofdocument!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeofwindow!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeofnavigator!=="undefined"&&navigator.userAgent&&navigator.userALine truncated
/*! https://mths.be/he v1.2.0 by @mathias | MIT license */(function(s){vara=true&&i;varc=true&&r&&r.exports==a&&r;varl=typeofglobal=="object"&&global;if(l.global===l||l.window===l){s=l}vard=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;varp=/[\x01-\x7F]/g;varu=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g;varh=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g;varA={"":"shy","":"zwnj","":"zwj","":"lrm","":"ic","":"it","":"af","":"rlm","":"ZeroWidthSpace","":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine","":"puncsp","":"MediumSpace","":"thinsp","":"hairsp","":"emsp13","":"ensp","":"emsp14","":"emsp","":"numsp","":"nbsp","":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprimeLine truncated
*/var a=s(47426);var c=s(71017).extname;var l=/^\s*([^;\s]*)(?:;|\s|$)/;vard=/^text\//i;i.charset=charset;i.charsets={lookup:charset};i.contentType=contentType;i.extension=extension;i.extensions=Object.create(null);i.lookup=lookup;i.types=Object.create(null);populateMaps(i.extensions,i.types);functioncharset(r){if(!r||typeofr!=="string"){returnfalse}vari=l.exec(r);vars=i&&a[i[1].toLowerCase()];if(s&&s.charset){returns.charset}if(i&&d.test(i[1])){return"UTF-8"}returnfalse}functioncontentType(r){if(!r||typeofr!=="string"){returnfalse}vars=r.indexOf("/")===-1?i.lookup(r):r;if(!s){returnfalse}if(s.indexOf("charset")===-1){vara=i.charset(s);if(a)s+="; charset="+a.toLowerCase()}returns}functionextension(r){if(!r||typeofr!=="string"){returnfalse}vars=l.exec(r);vara=s&&i.extensions[s[1].toLowerCase()];if(!a||!a.length){returnfalse}returna[0]}functionlookup(r){if(!r||typeofr!=="string"){returnfalse}vars=c("x."+r).toLowerCase().substr(1);if(!s){returnfalse}returni.types[s]||false}functionpopulateMaps(r,i){vars=["nginx","apache",undefined,"iana"];Object.keys(a).forEach((functionforEachMimeType(c){varl=a[c];vard=l.extensions;if(!d||!d.length){return}r[c]=d;for(varp=0;p<d.length;p++){varu=d[p];if(i[u]){varh=s.indexOf(a[i[u]].source);varA=s.indexOf(l.source);if(i[u]!=="application/octet-stream"&&(h>A||h===A&&i[u].substr(0,12)==="application/")){continue}}i[u]=c}}))}},83973:(r,i,s)=>{r.exports=minimatch;minimatch.Minimatch=Minimatch;vara=function(){try{returns(71017)}catch(r){}}()||{sep:"/"};minimatch.sep=a.sep;varc=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};varl=s(48184);vard={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};varp="[^/]";varu=p+"*?";varh="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";varA="(?:(?!(?:\\/|^)\\.).)*?";varg=charSet("().*{}+?[]^$\\!");functioncharSet(r){returnr.split("").reduce((function(r,i){r[i]=true;returnr}),{})}vary=/\/+/;minimatch.filter=filter;functionfilter(r,i){i=i||{};returnfunction(s,a,c){returnminimatch(s,r,i)}}functionext(r,i){i=i||{};vars={};Object.keys(r).forEach((function(i){s[i]=r[i]}));Object.keys(i).forEach((function(r){s[r]=i[r]}));returns}minimatch.defaults=function(r){if(!r||typeofr!=="object"||!Object.keys(r).length){returnminimatch}vari=minimatch;vars=functionminimatch(s,a,c){returni(s,a,ext(r,c))};s.Minimatch=functionMinimatch(s,a){returnnewi.Minimatch(s,ext(r,a))};s.Minimatch.defaults=functiondefaults(s){returni.defaults(ext(r,s)).Minimatch};s.filter=functionfilter(s,a){returni.filter(s,ext(r,a))};s.defaults=functiondefaults(s){returni.defaults(ext(r,s))};s.makeRe=functionmakeRe(s,a){returni.makeRe(s,ext(r,a))};s.braceExpand=functionbraceExpand(s,a){returni.braceExpand(s,ext(r,a))};s.match=function(s,a,c){returni.match(s,a,ext(r,c))};returns};Minimatch.defaults=function(r){returnminimatch.defaults(r).Minimatch};functionminimatch(r,i,s){assertValidPattern(i);if(!s)s={};if(!s.nocomment&&i.charAt(0)==="#"){returnfalse}returnnewMinimatch(i,s).match(r)}functionMinimatch(r,i){if(!(thisinstanceofMinimatch)){returnnewMinimatch(r,i)}assertValidPattern(r);if(!i)i={};r=r.trim();if(!i.allowWindowsEscape&&a.sep!=="/"){r=r.split(a.sep).join("/")}this.options=i;this.set=[];this.pattern=r;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.partial=!!i.partial;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;functionmake(){varr=this.pattern;vari=this.options;if(!i.nocomment&&r.charAt(0)==="#"){this.comment=true;return}if(!r){this.empty=true;return}this.parseNegate();vars=this.globSet=this.braceExpand();if(i.debug)this.debug=functiondebug(){console.error.apply(console,arguments)};this.debug(this.pattern,s);s=this.globParts=s.map((function(r){returnr.split(y)}));this.debug(this.pattern,s);s=s.map((function(r,i,s){returnr.map(this.parse,this)}),this);this.debug(this.pattern,s);s=s.filter((function(r){returnr.indexOf(false)===-1}));this.debug(this.pattern,s);this.set=s}Minimatch.prototype.parseNegate=parseNegate;functionparseNegate(){varr=this.pattern;vari=false;vars=this.options;vara=0;if(s.nonegate)return;for(varc=0,l=r.length;c<l&&r.charAt(c)==="!";c++){i=!i;a++}if(a)this.pattern=r.substr(a);this.negate=i}minimatch.braceExpand=function(r,i){returnbraceExpand(r,i)};Minimatch.prototype.braceExpand=braceExpand;functionbraceExpand(r,i){if(!i){if(thisinstanceofMinimatch){i=this.options}else{i={}}}r=typeofr==="undefined"?this.pattern:r;assertValidPattern(r);if(i.nobrace||!/\{(?:(?!\{).)*\}/.test(r)){return[r]}returnl(r)}varb=1024*64;varassertValidPattern=function(r){if(typeofr!=="string"){thrownewTypeError("invalid pattern")}if(r.length>b){thrownewTypeError("pattern is too long")}};Minimatch.prototype.parse=parse;varv={};functionparse(r,i){assertValidPattern(r);vars=this.options;if(r==="**"){if(!s.noglobstar)returnc;elser=Line truncated
r.exports=function(r,i){if(typeofr!=="string"){thrownewTypeError("expected path to be a string")}if(r==="\\"||r==="/")return"/";vars=r.length;if(s<=1)returnr;vara="";if(s>4&&r[3]==="\\"){varc=r[2];if((c==="?"||c===".")&&r.slice(0,2)==="\\\\"){r=r.slice(2);a="//"}}varl=r.split(/[/\\]+/);if(i!==false&&l[l.length-1]===""){l.pop()}returna+l.join("/")}},1223:(r,i,s)=>{vara=s(62940);r.exports=a(once);r.exports.strict=a(onceStrict);once.proto=once((function(){Object.defineProperty(Function.prototype,"once",{value:function(){returnonce(this)},configurable:true});Object.defineProperty(Function.prototype,"onceStrict",{value:function(){returnonceStrict(this)},configurable:true})}));functiononce(r){varf=function(){if(f.called)returnf.value;f.called=true;returnf.value=r.apply(this,arguments)};f.called=false;returnf}functiononceStrict(r){varf=function(){if(f.called)thrownewError(f.onceError);f.called=true;returnf.value=r.apply(this,arguments)};vari=r.name||"Function wrapped with `once`";f.onceError=i+" shouldn't be called more than once";f.called=false;returnf}},47810:r=>{"use strict";if(typeofprocess==="undefined"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0){r.exports={nextTick:nextTick}}else{r.exports=process}functionnextTick(r,i,s,a){if(typeofr!=="function"){thrownewTypeError('"callback" argument must be a function')}varc=arguments.length;varl,d;switch(c){case0:case1:returnprocess.nextTick(r);case2:returnprocess.nextTick((functionafterTickOne(){r.call(null,i)}));case3:returnprocess.nextTick((functionafterTickTwo(){r.call(null,i,s)}));case4:returnprocess.nextTick((functionafterTickThree(){r.call(null,i,s,a)}));default:l=newArray(c-1);d=0;while(d<l.length){l[d++]=arguments[d]}returnprocess.nextTick((functionafterTick(){r.apply(null,l)}))}}},45676:r=>{r.exports=global.process},5322:(r,i,s)=>{r.exports=typeofprocess!=="undefined"&&typeofprocess.nextTick==="function"?process.nextTick.bind(process):s(71031)},71031:r=>{r.exports=typeofqueueMicrotask==="function"?queueMicrotask:r=>Promise.resolve().then(r)},80289:(r,i,s)=>{"use strict";const{SymbolDispose:a}=s(89629);const{AbortError:c,codes:l}=s(80529);const{isNodeStream:d,isWebStream:p,kControllerErrorFunction:u}=s(27981);consth=s(76080);const{ERR_INVALID_ARG_TYPE:A}=l;letg;constvalidateAbortSignal=(r,i)=>{if(typeofr!=="object"||!("aborted"inr)){thrownewA(i,"AbortSignal",r)}};r.exports.addAbortSignal=functionaddAbortSignal(i,s){validateAbortSignal(i,"signal");if(!d(s)&&!p(s)){thrownewA("stream",["ReadableStream","WritableStream","Stream"],s)}returnr.exports.addAbortSignalNoValidate(i,s)};r.exports.addAbortSignalNoValidate=function(r,i){if(typeofr!=="object"||!("aborted"inr)){returni}constl=d(i)?()=>{i.destroy(newc(undefined,{cause:r.reason}))}:()=>{i[u](newc(undefined,{cause:r.reason}))};if(r.aborted){l()}else{g=g||s(46959).addAbortListener;constc=g(r,l);h(i,c[a])}returni}},52746:(r,i,s)=>{"use strict";const{StringPrototypeSlice:a,SymbolIterator:c,TypedArrayPrototypeSet:l,Uint8Array:d}=s(89629);const{Buffer:p}=s(14300);const{inspect:u}=s(46959);r.exports=classBufferList{constructor(){this.head=null;this.tail=null;this.length=0}push(r){consti={data:r,next:null};if(this.length>0)this.tail.next=i;elsethis.head=i;this.tail=i;++this.length}unshift(r){consti={data:r,next:this.head};if(this.length===0)this.tail=i;this.head=i;++this.length}shift(){if(this.length===0)return;constr=this.head.data;if(this.length===1)this.head=this.tail=null;elsethis.head=this.head.next;--this.length;returnr}clear(){this.head=this.tail=null;this.length=0}join(r){if(this.length===0)return"";leti=this.head;lets=""+i.data;while((i=i.next)!==null)s+=r+i.data;returns}concat(r){if(this.length===0)returnp.alloc(0);consti=p.allocUnsafe(r>>>0);lets=this.head;leta=0;while(s){l(i,s.data,a);a+=s.data.length;s=s.next}returni}consume(r,i){consts=this.head.data;if(r<s.length){consti=s.slice(0,r);this.head.data=s.slice(r);returni}if(r===s.length){returnthis.shift()}returni?this._getString(r):this._getBuffer(r)}first(){returnthis.head.data}*[c](){for(letr=this.head;r;r=r.next){yieldr.data}}_getString(r){leti="";lets=this.head;letc=0;do{constl=s.data;if(r>l.length){i+=l;r-=l.length}else{if(r===l.length){i+=l;++c;if(s.next)this.head=s.next;elsethis.head=this.tail=null}else{i+=a(l,0,r);this.head=s;s.data=a(l,r)}break}++c}while((s=s.next)!==null);this.length-=c;returni}_getBuffer(r){consti=p.allocUnsafe(r);consts=r;leta=this.head;letc=0;do{constp=a.data;if(r>p.length){l(i,p,s-r);r-=p.length}else{if(r===p.length){l(i,p,s-r);++c;if(a.next)this.head=a.next;elsethis.head=this.tail=null}else{l(i,newd(p.buffer,p.byteOffset,r),s-r);this.head=a;a.data=p.slice(r)}break}++c}while((a=a.next)!==null);this.length-=c;returni}[Symbol.for("nodejs.util.inspect.custom")](r,i){returnu(this,{...i,depth:0,customInspect:false})}}},63129:(r,i,s)=>{"usestricLine truncated
/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */if(!String.fromCodePoint){(function(){varr=String.fromCharCode;vari=Math.floor;varfromCodePoint=function(){vars=16384;vara=[];varc;varl;vard=-1;varp=arguments.length;if(!p){return""}varu="";while(++d<p){varh=Number(arguments[d]);if(!isFinite(h)||h<0||h>1114111||i(h)!==h){throwRangeError("Invalid code point: "+h)}if(h<=65535){a.push(h)}else{h-=65536;c=(h>>10)+55296;l=h%1024+56320;a.push(c,l)}if(d+1===p||a.length>s){u+=r.apply(null,a);a.length=0}}returnu};if(Object.defineProperty){Object.defineProperty(String,"fromCodePoint",{value:fromCodePoint,configurable:true,writable:true})}else{String.fromCodePoint=fromCodePoint}})()}})(false?0:i)},85911:(r,i)=>{i=r.exports=SemVer;vars;if(typeofprocess==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){s=function(){varr=Array.prototype.slice.call(arguments,0);r.unshift("SEMVER");console.log.apply(console,r)}}else{s=function(){}}i.SEMVER_SPEC_VERSION="2.0.0";vara=256;varc=Number.MAX_SAFE_INTEGER||9007199254740991;varl=16;vard=a-6;varp=i.re=[];varu=i.safeRe=[];varh=i.src=[];varA=i.tokens={};varg=0;functiontok(r){A[r]=g++}vary="[a-zA-Z0-9-]";varb=[["\\s",1],["\\d",a],[y,d]];functionmakeSafeRe(r){for(vari=0;i<b.length;i++){vars=b[i][0];vara=b[i][1];r=r.split(s+"*").join(s+"{0,"+a+"}").split(s+"+").join(s+"{1,"+a+"}")}returnr}tok("NUMERICIDENTIFIER");h[A.NUMERICIDENTIFIER]="0|[1-9]\\d*";tok("NUMERICIDENTIFIERLOOSE");h[A.NUMERICIDENTIFIERLOOSE]="\\d+";tok("NONNUMERICIDENTIFIER");h[A.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+y+"*";tok("MAINVERSION");h[A.MAINVERSION]="("+h[A.NUMERICIDENTIFIER]+")\\."+"("+h[A.NUMERICIDENTIFIER]+")\\."+"("+h[A.NUMERICIDENTIFIER]+")";tok("MAINVERSIONLOOSE");h[A.MAINVERSIONLOOSE]="("+h[A.NUMERICIDENTIFIERLOOSE]+")\\."+"("+h[A.NUMERICIDENTIFIERLOOSE]+")\\."+"("+h[A.NUMERICIDENTIFIERLOOSE]+")";tok("PRERELEASEIDENTIFIER");h[A.PRERELEASEIDENTIFIER]="(?:"+h[A.NUMERICIDENTIFIER]+"|"+h[A.NONNUMERICIDENTIFIER]+")";tok("PRERELEASEIDENTIFIERLOOSE");h[A.PRERELEASEIDENTIFIERLOOSE]="(?:"+h[A.NUMERICIDENTIFIERLOOSE]+"|"+h[A.NONNUMERICIDENTIFIER]+")";tok("PRERELEASE");h[A.PRERELEASE]="(?:-("+h[A.PRERELEASEIDENTIFIER]+"(?:\\."+h[A.PRERELEASEIDENTIFIER]+")*))";tok("PRERELEASELOOSE");h[A.PRERELEASELOOSE]="(?:-?("+h[A.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+h[A.PRERELEASEIDENTIFIERLOOSE]+")*))";tok("BUILDIDENTIFIER");h[A.BUILDIDENTIFIER]=y+"+";tok("BUILD");h[A.BUILD]="(?:\\+("+h[A.BUILDIDENTIFIER]+"(?:\\."+h[A.BUILDIDENTIFIER]+")*))";tok("FULL");tok("FULLPLAIN");h[A.FULLPLAIN]="v?"+h[A.MAINVERSION]+h[A.PRERELEASE]+"?"+h[A.BUILD]+"?";h[A.FULL]="^"+h[A.FULLPLAIN]+"$";tok("LOOSEPLAIN");h[A.LOOSEPLAIN]="[v=\\s]*"+h[A.MAINVERSIONLOOSE]+h[A.PRERELEASELOOSE]+"?"+h[A.BUILD]+"?";tok("LOOSE");h[A.LOOSE]="^"+h[A.LOOSEPLAIN]+"$";tok("GTLT");h[A.GTLT]="((?:<|>)?=?)";tok("XRANGEIDENTIFIERLOOSE");h[A.XRANGEIDENTIFIERLOOSE]=h[A.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";tok("XRANGEIDENTIFIER");h[A.XRANGEIDENTIFIER]=h[A.NUMERICIDENTIFIER]+"|x|X|\\*";tok("XRANGEPLAIN");h[A.XRANGEPLAIN]="[v=\\s]*("+h[A.XRANGEIDENTIFIER]+")"+"(?:\\.("+h[A.XRANGEIDENTIFIER]+")"+"(?:\\.("+h[A.XRANGEIDENTIFIER]+")"+"(?:"+h[A.PRERELEASE]+")?"+h[A.BUILD]+"?"+")?)?";tok("XRANGEPLAINLOOSE");h[A.XRANGEPLAINLOOSE]="[v=\\s]*("+h[A.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+h[A.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+h[A.XRANGEIDENTIFIERLOOSE]+")"+"(?:"+h[A.PRERELEASELOOSE]+")?"+h[A.BUILD]+"?"+")?)?";tok("XRANGE");h[A.XRANGE]="^"+h[A.GTLT]+"\\s*"+h[A.XRANGEPLAIN]+"$";tok("XRANGELOOSE");h[A.XRANGELOOSE]="^"+h[A.GTLT]+"\\s*"+h[A.XRANGEPLAINLOOSE]+"$";tok("COERCE");h[A.COERCE]="(^|[^\\d])"+"(\\d{1,"+l+"})"+"(?:\\.(\\d{1,"+l+"}))?"+"(?:\\.(\\d{1,"+l+"}))?"+"(?:$|[^\\d])";tok("COERCERTL");p[A.COERCERTL]=newRegExp(h[A.COERCE],"g");u[A.COERCERTL]=newRegExp(makeSafeRe(h[A.COERCE]),"g");tok("LONETILDE");h[A.LONETILDE]="(?:~>?)";tok("TILDETRIM");h[A.TILDETRIM]="(\\s*)"+h[A.LONETILDE]+"\\s+";p[A.TILDETRIM]=newRegExp(h[A.TILDETRIM],"g");u[A.TILDETRIM]=newRegExp(makeSafeRe(h[A.TILDETRIM]),"g");varv="$1~";tok("TILDE");h[A.TILDE]="^"+h[A.LONETILDE]+h[A.XRANGEPLAIN]+"$";tok("TILDELOOSE");h[A.TILDELOOSE]="^"+h[A.LONETILDE]+h[A.XRANGEPLAINLOOSE]+"$";tok("LONECARET");h[A.LONECARET]="(?:\\^)";tok("CARETTRIM");h[A.CARETTRIM]="(\\s*)"+h[A.LONECARET]+"\\s+";p[A.CARETTRIM]=newRegExp(h[A.CARETTRIM],"g");u[A.CARETTRIM]=newRegExp(makeSafeRe(h[A.CARETTRIM]),"g");varC="$1^";tok("CARET");h[A.CARET]="^"+h[A.LONECARET]+h[A.XRANGEPLAIN]+"$";tok("CARETLOOSE");h[A.CARETLOOSE]="^"+h[A.LONECARET]+h[A.XRANGEPLAINLOOSE]+"$";tok("COMPARATORLOOSE");h[A.COMPARATORLOOSE]="^"+h[A.GTLT]+"\\s*("+h[A.LOOSEPLAIN]+")$|^$";tok("COMPARATOR");h[A.COMPARATOR]="^"+h[A.GTLT]+"\\s*("+h[A.FULLPLAIN]+")$|^$";tok("COMPARATORTRIM");h[A.COMPARATORTRIM]="(\\s*)"+h[A.GTLT]+"\\s*("+h[A.LOOSEPLAIN]+"|"+h[A.XRANGEPLAIN]+")";p[A.COMPARATORTRIM]=newRegExp(h[A.COMPARATORTRIM],"g");u[A.COMPARATORTRIM]=newRegExp(makeSafeRe(h[A.COMPARATORTRIM]),"g");varw="$1$2$3";tok("HYLine truncated
consta=s(57147);constc=s(22037);constl=s(71017);constd=s(6113);constp={fs:a.constants,os:c.constants};constu="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",h=/XXXXXX/,A=3,g=(p.O_CREAT||p.fs.O_CREAT)|(p.O_EXCL||p.fs.O_EXCL)|(p.O_RDWR||p.fs.O_RDWR),y=c.platform()==="win32",b=p.EBADF||p.os.errno.EBADF,v=p.ENOENT||p.os.errno.ENOENT,C=448,w=384,S="exit",x=[],I=a.rmdirSync.bind(a);letB=false;functionrimraf(r,i){returna.rm(r,{recursive:true},i)}functionFN_RIMRAF_SYNC(r){returna.rmSync(r,{recursive:true})}functiontmpName(r,i){consts=_parseArguments(r,i),c=s[0],l=s[1];try{_assertAndSanitizeOptions(c)}catch(r){returnl(r)}letd=c.tries;(function_getUniqueName(){try{constr=_generateTmpName(c);a.stat(r,(function(i){if(!i){if(d-->0)return_getUniqueName();returnl(newError("Could not get a unique tmp filename, max tries reached "+r))}l(null,r)}))}catch(r){l(r)}})()}functiontmpNameSync(r){consti=_parseArguments(r),s=i[0];_assertAndSanitizeOptions(s);letc=s.tries;do{constr=_generateTmpName(s);try{a.statSync(r)}catch(i){returnr}}while(c-->0);thrownewError("Could not get a unique tmp filename, max tries reached")}functionfile(r,i){consts=_parseArguments(r,i),c=s[0],l=s[1];tmpName(c,(function_tmpNameCreated(r,i){if(r)returnl(r);a.open(i,g,c.mode||w,(function_fileCreated(r,s){if(r)returnl(r);if(c.discardDescriptor){returna.close(s,(function_discardCallback(r){returnl(r,i,undefined,_prepareTmpFileRemoveCallback(i,-1,c,false))}))}else{constr=c.discardDescriptor||c.detachDescriptor;l(null,i,s,_prepareTmpFileRemoveCallback(i,r?-1:s,c,false))}}))}))}functionfileSync(r){consti=_parseArguments(r),s=i[0];constc=s.discardDescriptor||s.detachDescriptor;constl=tmpNameSync(s);vard=a.openSync(l,g,s.mode||w);if(s.discardDescriptor){a.closeSync(d);d=undefined}return{name:l,fd:d,removeCallback:_prepareTmpFileRemoveCallback(l,c?-1:d,s,true)}}functiondir(r,i){consts=_parseArguments(r,i),c=s[0],l=s[1];tmpName(c,(function_tmpNameCreated(r,i){if(r)returnl(r);a.mkdir(i,c.mode||C,(function_dirCreated(r){if(r)returnl(r);l(null,i,_prepareTmpDirRemoveCallback(i,c,false))}))}))}functiondirSync(r){consti=_parseArguments(r),s=i[0];constc=tmpNameSync(s);a.mkdirSync(c,s.mode||C);return{name:c,removeCallback:_prepareTmpDirRemoveCallback(c,s,true)}}function_removeFileAsync(r,i){const_handler=function(r){if(r&&!_isENOENT(r)){returni(r)}i()};if(0<=r[0])a.close(r[0],(function(){a.unlink(r[1],_handler)}));elsea.unlink(r[1],_handler)}function_removeFileSync(r){leti=null;try{if(0<=r[0])a.closeSync(r[0])}catch(r){if(!_isEBADF(r)&&!_isENOENT(r))throwr}finally{try{a.unlinkSync(r[1])}catch(r){if(!_isENOENT(r))i=r}}if(i!==null){throwi}}function_prepareTmpFileRemoveCallback(r,i,s,a){constc=_prepareRemoveCallback(_removeFileSync,[i,r],a);constl=_prepareRemoveCallback(_removeFileAsync,[i,r],a,c);if(!s.keep)x.unshift(c);returna?c:l}function_prepareTmpDirRemoveCallback(r,i,s){constc=i.unsafeCleanup?rimraf:a.rmdir.bind(a);constl=i.unsafeCleanup?FN_RIMRAF_SYNC:I;constd=_prepareRemoveCallback(l,r,s);constp=_prepareRemoveCallback(c,r,s,d);if(!i.keep)x.unshift(d);returns?d:p}function_prepareRemoveCallback(r,i,s,a){letc=false;returnfunction_cleanupCallback(l){if(!c){constd=a||_cleanupCallback;constp=x.indexOf(d);if(p>=0)x.splice(p,1);c=true;if(s||r===I||r===FN_RIMRAF_SYNC){returnr(i)}else{returnr(i,l||function(){})}}}}function_garbageCollector(){if(!B)return;while(x.length){try{x[0]()}catch(r){}}}function_randomChars(r){leti=[],s=null;try{s=d.randomBytes(r)}catch(i){s=d.pseudoRandomBytes(r)}for(vara=0;a<r;a++){i.push(u[s[a]%u.length])}returni.join("")}function_isBlank(r){returnr===null||_isUndefined(r)||!r.trim()}function_isUndefined(r){returntypeofr==="undefined"}function_parseArguments(r,i){if(typeofr==="function"){return[{},r]}if(_isUndefined(r)){return[{},i]}consts={};for(constiofObject.getOwnPropertyNames(r)){s[i]=r[i]}return[s,i]}function_generateTmpName(r){consti=r.tmpdir;if(!_isUndefined(r.name))returnl.join(i,r.dir,r.name);if(!_isUndefined(r.template))returnl.join(i,r.dir,r.template).replace(h,_randomChars(6));consts=[r.prefix?r.prefix:"tmp","-",process.pid,"-",_randomChars(12),r.postfix?"-"+r.postfix:""].join("");returnl.join(i,r.dir,s)}function_assertAndSanitizeOptions(r){r.tmpdir=_getTmpDir(r);consti=r.tmpdir;if(!_isUndefined(r.name))_assertIsRelative(r.name,"name",i);if(!_isUndefined(r.dir))_assertIsRelative(r.dir,"dir",i);if(!_isUndefined(r.template)){_assertIsRelative(r.template,"template",i);if(!r.template.match(h))thrownewError(`Invalid template, found "${r.template}".`)}if(!_isUndefined(r.tries)&&isNaN(r.tries)||r.tries<0)thrownewError(`Invalid tries, found "${r.tries}".`);r.tries=_isUndefined(r.name)?r.tries||A:1;r.keep=!!r.keep;r.detachDescriptor=!!r.detachDescriptor;r.discardDescriptor=!!r.discardDescriptor;r.unsafeCleanup=!!r.unsafeCleanup;r.dir=_isUndefined(r.dir)?"":l.relative(i,_resolvePath(r.dir,i));r.template=_isUndefined(r.template)Line truncated
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */;constescape=r=>r.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");constnormalizeLinefeeds=r=>r.replace(/\r?\n|\r/g,"\r\n");consta=[];constc=newUint8Array([13,10]);g=0;letl=false;for(const[i,d]ofr){if(typeofd==="string"){constr=k.encode(s+`; name="${escape(normalizeLinefeeds(i))}"`+`\r\n\r\n${normalizeLinefeeds(d)}\r\n`);a.push(r);g+=r.byteLength}else{constr=k.encode(`${s}; name="${escape(normalizeLinefeeds(i))}"`+(d.name?`; filename="${escape(d.name)}"`:"")+"\r\n"+`Content-Type: ${d.type||"application/octet-stream"}\r\n\r\n`);a.push(r,d,c);if(typeofd.size==="number"){g+=r.byteLength+d.size+c.byteLength}else{l=true}}}constd=k.encode(`--${i}--`);a.push(d);g+=d.byteLength;if(l){g=null}A=r;h=asyncfunction*(){for(constrofa){if(r.stream){yield*r.stream()}else{yieldr}}};y="multipart/form-data; boundary="+i}elseif(d(r)){A=r;g=r.size;if(r.type){y=r.type}}elseif(typeofr[Symbol.asyncIterator]==="function"){if(i){thrownewTypeError("keepalive")}if(c.isDisturbed(r)||r.locked){thrownewTypeError("Response body object should not be disturbed or locked")}a=rinstanceofD?r:l(r)}if(typeofA==="string"||c.isBuffer(A)){g=Buffer.byteLength(A)}if(h!=null){leti;a=newD({asyncstart(){i=h(r)[Symbol.asyncIterator]()},asyncpull(r){const{value:s,done:c}=awaiti.next();if(c){queueMicrotask((()=>{r.close()}))}else{if(!B(a)){r.enqueue(newUint8Array(s))}}returnr.desiredSize>0},asynccancel(r){awaiti.return()},type:undefined})}constb={stream:a,source:A,length:g};return[b,y]}functionsafelyExtractBody(r,i=false){if(!D){D=s(35356).ReadableStream}if(rinstanceofD){I(!c.isDisturbed(r),"The body has already been consumed.");I(!r.locked,"The stream is locked.")}returnextractBody(r,i)}functioncloneBody(r){const[i,s]=r.stream.tee();consta=C(s,{transfer:[s]});const[,c]=a.tee();r.stream=i;return{stream:c,length:r.length,source:r.source}}asyncfunction*consumeBody(r){if(r){if(R(r)){yieldr}else{consti=r.stream;if(c.isDisturbed(i)){thrownewTypeError("The body has already been consumed.")}if(i.locked){thrownewTypeError("The stream is locked.")}i[x]=true;yield*i}}}functionthrowIfAborted(r){if(r.aborted){thrownewv("The operation was aborted.","AbortError")}}functionbodyMixinMethods(r){consti={blob(){returnspecConsumeBody(this,(r=>{leti=bodyMimeType(this);if(i==="failure"){i=""}elseif(i){i=P(i)}returnneww([r],{type:i})}),r)},arrayBuffer(){returnspecConsumeBody(this,(r=>newUint8Array(r).buffer),r)},text(){returnspecConsumeBody(this,utf8DecodeBytes,r)},json(){returnspecConsumeBody(this,parseJSONFromBytes,r)},asyncformData(){b.brandCheck(this,r);throwIfAborted(this[y]);consti=this.headers.get("Content-Type");if(/multipart\/form-data/.test(i)){constr={};for(const[i,s]ofthis.headers)r[i.toLowerCase()]=s;consti=newg;lets;try{s=newa({headers:r,preservePath:true})}catch(r){thrownewv(`${r}`,"AbortError")}s.on("field",((r,s)=>{i.append(r,s)}));s.on("file",((r,s,a,c,l)=>{constd=[];if(c==="base64"||c.toLowerCase()==="base64"){letc="";s.on("data",(r=>{c+=r.toString().replace(/[\r\n]/gm,"");consti=c.length-c.length%4;d.push(Buffer.from(c.slice(0,i),"base64"));c=c.slice(i)}));s.on("end",(()=>{d.push(Buffer.from(c,"base64"));i.append(r,newO(d,a,{type:l}))}))}else{s.on("data",(r=>{d.push(r)}));s.on("end",(()=>{i.append(r,newO(d,a,{type:l}))}))}}));constc=newPromise(((r,i)=>{s.on("finish",r);s.on("error",(r=>i(newTypeError(r))))}));if(this.body!==null)forawait(constrofconsumeBody(this[y].body))s.write(r);s.end();awaitc;returni}elseif(/application\/x-www-form-urlencoded/.test(i)){letr;try{leti="";consts=newTextDecoder("utf-8",{ignoreBOM:true});forawait(constrofconsumeBody(this[y].body)){if(!R(r)){thrownewTypeError("Expected Uint8Array chunk")}i+=s.decode(r,{stream:true})}i+=s.decode();r=newURLSearchParams(i)}catch(r){throwObject.assign(newTypeError,{cause:r})}consti=newg;for(const[s,a]ofr){i.append(s,a)}returni}else{awaitPromise.resolve();throwIfAborted(this[y]);throwb.errors.exception({header:`${r.name}.formData`,message:"Could not parse content as FormData."})}}};returni}functionmixinBody(r){Object.assign(r.prototype,bodyMixinMethods(r))}asyncfunctionspecConsumeBody(r,i,s){b.brandCheck(r,s);throwIfAborted(r[y]);if(bodyUnusable(r[y].body)){thrownewTypeError("Body is unusable")}consta=h();consterrorSteps=r=>a.reject(r);constsuccessSteps=r=>{try{a.resolve(i(r))}catch(r){errorSteps(r)}};if(r[y].body==null){successSteps(newUint8Array);returna.promise}awaitA(r[y].body,successSteps,errorSteps);returna.promise}functionbodyUnusable(r){returnr!=null&&(r.stream.locked||c.isDisturbed(r.stream))}functionutf8DecodeBytes(r){if(r.length===0){return""}if(r[0]===239&&r[1]===187&&r[2]===191){r=r.subarray(3)}consti=Q.decode(r);returni}functionparseJSONFromBytes(r){returnJSON.parse(utf8DecodeBytes(r))}functionbodyMimeType(r){const{headersList:i}=r[y];consts=i.get("contentLine truncated
/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */l[c-4]=this.maskKey[0];l[c-3]=this.maskKey[1];l[c-2]=this.maskKey[2];l[c-1]=this.maskKey[3];l[1]=s;if(s===126){l.writeUInt16BE(i,2)}elseif(s===127){l[2]=l[3]=0;l.writeUIntBE(i,4,6)}l[1]|=128;for(letr=0;r<i;r++){l[c+r]=this.frameData[r]^this.maskKey[r%4]}returnl}}r.exports={WebsocketFrameSend:WebsocketFrameSend}},11688:(r,i,s)=>{"use strict";const{Writable:a}=s(12781);constc=s(67643);const{parserStates:l,opcodes:d,states:p,emptyBuffer:u}=s(19188);const{kReadyState:h,kSentClose:A,kResponse:g,kReceivedClose:y}=s(37578);const{isValidStatusCode:b,failWebsocketConnection:v,websocketMessageReceived:C}=s(25515);const{WebsocketFrameSend:w}=s(25444);constS={};S.ping=c.channel("undici:websocket:ping");S.pong=c.channel("undici:websocket:pong");classByteParserextendsa{#o=[];#a=0;#c=l.INFO;#l={};#d=[];constructor(r){super();this.ws=r}_write(r,i,s){this.#o.push(r);this.#a+=r.length;this.run(s)}run(r){while(true){if(this.#c===l.INFO){if(this.#a<2){returnr()}consti=this.consume(2);this.#l.fin=(i[0]&128)!==0;this.#l.opcode=i[0]&15;this.#l.originalOpcode??=this.#l.opcode;this.#l.fragmented=!this.#l.fin&&this.#l.opcode!==d.CONTINUATION;if(this.#l.fragmented&&this.#l.opcode!==d.BINARY&&this.#l.opcode!==d.TEXT){v(this.ws,"Invalid frame type was fragmented.");return}consts=i[1]&127;if(s<=125){this.#l.payloadLength=s;this.#c=l.READ_DATA}elseif(s===126){this.#c=l.PAYLOADLENGTH_16}elseif(s===127){this.#c=l.PAYLOADLENGTH_64}if(this.#l.fragmented&&s>125){v(this.ws,"Fragmented frame exceeded 125 bytes.");return}elseif((this.#l.opcode===d.PING||this.#l.opcode===d.PONG||this.#l.opcode===d.CLOSE)&&s>125){v(this.ws,"Payload length for control frame exceeded 125 bytes.");return}elseif(this.#l.opcode===d.CLOSE){if(s===1){v(this.ws,"Received close frame with a 1-byte body.");return}constr=this.consume(s);this.#l.closeInfo=this.parseCloseBody(false,r);if(!this.ws[A]){constr=Buffer.allocUnsafe(2);r.writeUInt16BE(this.#l.closeInfo.code,0);consti=neww(r);this.ws[g].socket.write(i.createFrame(d.CLOSE),(r=>{if(!r){this.ws[A]=true}}))}this.ws[h]=p.CLOSING;this.ws[y]=true;this.end();return}elseif(this.#l.opcode===d.PING){consti=this.consume(s);if(!this.ws[y]){constr=neww(i);this.ws[g].socket.write(r.createFrame(d.PONG));if(S.ping.hasSubscribers){S.ping.publish({payload:i})}}this.#c=l.INFO;if(this.#a>0){continue}else{r();return}}elseif(this.#l.opcode===d.PONG){consti=this.consume(s);if(S.pong.hasSubscribers){S.pong.publish({payload:i})}if(this.#a>0){continue}else{r();return}}}elseif(this.#c===l.PAYLOADLENGTH_16){if(this.#a<2){returnr()}consti=this.consume(2);this.#l.payloadLength=i.readUInt16BE(0);this.#c=l.READ_DATA}elseif(this.#c===l.PAYLOADLENGTH_64){if(this.#a<8){returnr()}consti=this.consume(8);consts=i.readUInt32BE(0);if(s>2**31-1){v(this.ws,"Received payload length > 2^31 bytes.");return}consta=i.readUInt32BE(4);this.#l.payloadLength=(s<<8)+a;this.#c=l.READ_DATA}elseif(this.#c===l.READ_DATA){if(this.#a<this.#l.payloadLength){returnr()}elseif(this.#a>=this.#l.payloadLength){constr=this.consume(this.#l.payloadLength);this.#d.push(r);if(!this.#l.fragmented||this.#l.fin&&this.#l.opcode===d.CONTINUATION){constr=Buffer.concat(this.#d);C(this.ws,this.#l.originalOpcode,r);this.#l={};this.#d.length=0}this.#c=l.INFO}}if(this.#a>0){continue}else{r();break}}}consume(r){if(r>this.#a){returnnull}elseif(r===0){returnu}if(this.#o[0].length===r){this.#a-=this.#o[0].length;returnthis.#o.shift()}consti=Buffer.allocUnsafe(r);lets=0;while(s!==r){consta=this.#o[0];const{length:c}=a;if(c+s===r){i.set(this.#o.shift(),s);break}elseif(c+s>r){i.set(a.subarray(0,r-s),s);this.#o[0]=a.subarray(r-s);break}else{i.set(this.#o.shift(),s);s+=a.length}}this.#a-=r;returni}parseCloseBody(r,i){lets;if(i.length>=2){s=i.readUInt16BE(0)}if(r){if(!b(s)){returnnull}return{code:s}}leta=i.subarray(2);if(a[0]===239&&a[1]===187&&a[2]===191){a=a.subarray(3)}if(s!==undefined&&!b(s)){returnnull}try{a=newTextDecoder("utf-8",{fatal:true}).decode(a)}catch{returnnull}return{code:s,reason:a}}getclosingInfo(){returnthis.#l.closeInfo}}r.exports={ByteParser:ByteParser}},37578:r=>{"use strict";r.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},25515:(r,i,s)=>{"use strict";const{kReadyState:a,kController:c,kResponse:l,kBinaryType:d,kWebSocketURL:p}=s(37578);const{states:u,opcodes:h}=s(19188);const{MessageEvent:A,ErrorEvent:g}=s(52611);functionisEstablished(r){returnr[a]===u.OPEN}functionisClosing(r){returnr[a]===u.CLOSING}functionisClosed(r){returnr[a]===u.CLOSED}functionfireEvent(r,i,s=Event,a){constc=news(r,a);i.dispatchEvent(c)}functionwebsocketMessageReceived(r,i,s){if(r[a]!==u.OPEN){return}letc;if(i===h.TEXT){try{c=newTextDecoder("utf-8",{fatal:trueLine truncated
vara=s(73837).inherits;varc=s(25445).ZipArchiveOutputStream;varl=s(25445).ZipArchiveEntry;vard=s(82072);varp=r.exports=function(r){if(!(thisinstanceofp)){returnnewp(r)}r=this.options=r||{};r.zlib=r.zlib||{};c.call(this,r);if(typeofr.level==="number"&&r.level>=0){r.zlib.level=r.level;deleter.level}if(!r.forceZip64&&typeofr.zlib.level==="number"&&r.zlib.level===0){r.store=true}r.namePrependSlash=r.namePrependSlash||false;if(r.comment&&r.comment.length>0){this.setComment(r.comment)}};a(p,c);p.prototype._normalizeFileData=function(r){r=d.defaults(r,{type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:""});vari=r.type==="directory";vars=r.type==="symlink";if(r.name){r.name=d.sanitizePath(r.name);if(!s&&r.name.slice(-1)==="/"){i=true;r.type="directory"}elseif(i){r.name+="/"}}if(i||s){r.store=true}r.date=d.dateify(r.date);returnr};p.prototype.entry=function(r,i,s){if(typeofs!=="function"){s=this._emitErrorCallback.bind(this)}i=this._normalizeFileData(i);if(i.type!=="file"&&i.type!=="directory"&&i.type!=="symlink"){s(newError(i.type+" entries not currently supported"));return}if(typeofi.name!=="string"||i.name.length===0){s(newError("entry name must be a non-empty string value"));return}if(i.type==="symlink"&&typeofi.linkname!=="string"){s(newError("entry linkname must be a non-empty string value when type equals symlink"));return}vara=newl(i.name);a.setTime(i.date,this.options.forceLocalTime);if(i.namePrependSlash){a.setName(i.name,true)}if(i.store){a.setMethod(0)}if(i.comment.length>0){a.setComment(i.comment)}if(i.type==="symlink"&&typeofi.mode!=="number"){i.mode=40960}if(typeofi.mode==="number"){if(i.type==="symlink"){i.mode|=40960}a.setUnixMode(i.mode)}if(i.type==="symlink"&&typeofi.linkname==="string"){r=Buffer.from(i.linkname)}returnc.prototype.entry.call(this,a,r,s)};p.prototype.finalize=function(){this.finish()}},36949:function(r,i,s){"use strict";vara=this&&this.__createBinding||(Object.create?function(r,i,s,a){if(a===undefined)a=s;varc=Object.getOwnPropertyDescriptor(i,s);if(!c||("get"inc?!i.__esModule:c.writable||c.configurable)){c={enumerable:true,get:function(){returni[s]}}}Object.defineProperty(r,a,c)}:function(r,i,s,a){if(a===undefined)a=s;r[a]=i[s]});varc=this&&this.__setModuleDefault||(Object.create?function(r,i){Object.defineProperty(r,"default",{enumerable:true,value:i})}:function(r,i){r["default"]=i});varl=this&&this.__importStar||function(r){if(r&&r.__esModule)returnr;vari={};if(r!=null)for(varsinr)if(s!=="default"&&Object.prototype.hasOwnProperty.call(r,s))a(i,r,s);c(i,r);returni};vard=this&&this.__awaiter||function(r,i,s,a){functionadopt(r){returnrinstanceofs?r:news((function(i){i(r)}))}returnnew(s||(s=Promise))((function(s,c){functionfulfilled(r){try{step(a.next(r))}catch(r){c(r)}}functionrejected(r){try{step(a["throw"](r))}catch(r){c(r)}}functionstep(r){r.done?s(r.value):adopt(r.value).then(fulfilled,rejected)}step((a=a.apply(r,i||[])).next())}))};Object.defineProperty(i,"__esModule",{value:true});i.getRegistriesData=i.getAccountIDs=i.getRegion=i.isPubECR=i.isECR=void0;constp=l(s(42186));constu=s(8923);consth=s(42308);constA=s(20258);constg=s(23764);consty=s(77219);constb=/^(([0-9]{12})\.dkr\.ecr\.(.+)\.amazonaws\.com(.cn)?)(\/([^:]+)(:.+)?)?$/;constisECR=r=>b.test(r)||(0,i.isPubECR)(r);i.isECR=isECR;constisPubECR=r=>r==="public.ecr.aws";i.isPubECR=isPubECR;constgetRegion=r=>{if((0,i.isPubECR)(r)){returnprocess.env.AWS_REGION||process.env.AWS_DEFAULT_REGION||"us-east-1"}consts=r.match(b);if(!s){return""}returns[3]};i.getRegion=getRegion;constgetAccountIDs=r=>{if((0,i.isPubECR)(r)){return[]}consts=r.match(b);if(!s){return[]}consta=[s[2]];if(process.env.AWS_ACCOUNT_IDS){a.push(...process.env.AWS_ACCOUNT_IDS.split(","))}returna.filter(((r,i)=>a.indexOf(r)===i))};i.getAccountIDs=getAccountIDs;constgetRegistriesData=(r,s,a)=>d(void0,void0,void0,(function*(){constc=(0,i.getRegion)(r);constl=(0,i.getAccountIDs)(r);constd={};if(l.length>0){p.debug(`Requesting AWS ECR auth token for ${l.join(", ")}`);d["registryIds"]=l}letb;constv=process.env.http_proxy||process.env.HTTP_PROXY||"";if(v){p.debug(`Using http proxy ${v}`);b=newg.HttpProxyAgent(v)}letC;constw=process.env.https_proxy||process.env.HTTPS_PROXY||"";if(w){p.debug(`Using https proxy ${w}`);C=newy.HttpsProxyAgent(w)}constS=s&&a?{accessKeyId:s,secretAccessKey:a}:undefined;if((0,i.isPubECR)(r)){p.info(`AWS Public ECR detected with ${c} region`);constr=newh.ECRPUBLIC({customUserAgent:"docker-login-action",credentials:S,region:c,requestHandler:newA.NodeHttpHandler({httpAgent:b,httpsAgent:C})});consti=yieldr.getAuthorizationToken(d);if(!i.authorizationData||!i.authorizationData.authorizationToken){thrownewError("Could not retrieve an authorization token from AWS Public ECR")}consts=Buffer.from(i.authorizationData.authorizationToken,"base64").toString("utf-8");consta=s.split("Line truncated
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.