Using vars for insensitive data is preferred since secrets are redacted from e.g. build summary
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
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>
# Support [](https://isitmaintained.com/project/docker/login-action)
## Reporting an issue
Please do a search in [open issues](https://github.com/docker/login-action/issues?utf8=%E2%9C%93&q=) to see if the issue or feature request has already been filed.
If you find your issue already exists, make relevant comments and add your [reaction](https://github.com/blog/2119-add-reactions-to-pull-requests-issues-and-comments). Use a reaction in place of a "+1" comment.
:+1: - upvote
:-1: - downvote
If you cannot find an existing issue that describes your bug or feature, submit an issue using the guidelines below.
## Writing good bug reports and feature requests
File a single issue per problem and feature request.
* Do not enumerate multiple bugs or feature requests in the same issue.
* Do not add your issue as a comment to an existing issue unless it's for the identical input. Many issues look similar, but have different causes.
The more information you can provide, the more likely someone will be successful reproducing the issue and finding a fix.
You are now ready to [create a new issue](https://github.com/docker/login-action/issues/new/choose)!
## Closure policy
* Issues that don't have the information requested above (when applicable) will be closed immediately and the poster directed to the support guidelines.
* Issues that go a week without a response from original poster are subject to closure at our discretion.
* [Keep up-to-date with GitHub Dependabot](#keep-up-to-date-with-github-dependabot)
* [Contributing](#contributing)
## Usage
### Docker Hub
To authenticate against [Docker Hub](https://hub.docker.com) it's strongly recommended to create a
[personal access token](https://docs.docker.com/docker-hub/access-tokens/) as an alternative to your password.
When authenticating to [Docker Hub](https://hub.docker.com) with GitHub Actions,
use a [personal access token](https://docs.docker.com/docker-hub/access-tokens/).
Don't use your account password.
```yaml
name:ci
@@ -47,17 +49,17 @@ jobs:
steps:
-
name:Login to Docker Hub
uses:docker/login-action@v2
uses:docker/login-action@v3
with:
username:${{ secrets.DOCKERHUB_USERNAME }}
username:${{ vars.DOCKERHUB_USERNAME }}
password:${{ secrets.DOCKERHUB_TOKEN }}
```
### GitHub Container Registry
To authenticate against the [GitHub Container Registry](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry),
use the [`GITHUB_TOKEN`](https://docs.github.com/en/actions/reference/authentication-in-a-workflow) for the best
security and experience.
To authenticate to the [GitHub Container Registry](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry),
use the [`GITHUB_TOKEN`](https://docs.github.com/en/actions/reference/authentication-in-a-workflow)
secret.
```yaml
name:ci
@@ -72,7 +74,7 @@ jobs:
steps:
-
name:Login to GitHub Container Registry
uses:docker/login-action@v2
uses:docker/login-action@v3
with:
registry:ghcr.io
username:${{ github.actor }}
@@ -100,20 +102,23 @@ jobs:
steps:
-
name:Login to GitLab
uses:docker/login-action@v2
uses:docker/login-action@v3
with:
registry:registry.gitlab.com
username:${{ secrets.GITLAB_USERNAME }}
username:${{ vars.GITLAB_USERNAME }}
password:${{ secrets.GITLAB_PASSWORD }}
```
If you have [Two-Factor Authentication](https://gitlab.com/help/user/profile/account/two_factor_authentication) enabled, use a [Personal Access Token](https://gitlab.com/help/user/profile/personal_access_tokens) instead of a password.
If you have [Two-Factor Authentication](https://gitlab.com/help/user/profile/account/two_factor_authentication)
enabled, use a [Personal Access Token](https://gitlab.com/help/user/profile/personal_access_tokens)
instead of a password.
### Azure Container Registry (ACR)
[Create a service principal](https://docs.microsoft.com/en-us/azure/container-registry/container-registry-auth-service-principal#create-a-service-principal)
with access to your container registry through the [Azure CLI](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli)
and take note of the generated service principal's ID (also called _client ID_) and password (also called _client secret_).
and take note of the generated service principal's ID (also called _client ID_)
and password (also called _client secret_).
```yaml
name:ci
@@ -128,10 +133,10 @@ jobs:
steps:
-
name:Login to ACR
uses:docker/login-action@v2
uses:docker/login-action@v3
with:
registry:<registry-name>.azurecr.io
username:${{ secrets.AZURE_CLIENT_ID }}
username:${{ vars.AZURE_CLIENT_ID }}
password:${{ secrets.AZURE_CLIENT_SECRET }}
```
@@ -139,16 +144,21 @@ jobs:
### Google Container Registry (GCR)
> [Google Artifact Registry](#google-artifact-registry-gar) is the evolution of Google Container Registry. As a
> fully-managed service with support for both container images and non-container artifacts. If you currently use
> Google Container Registry, use the information [on this page](https://cloud.google.com/artifact-registry/docs/transition/transition-from-gcr)
> [Google Artifact Registry](#google-artifact-registry-gar) is the evolution of
> Google Container Registry. As a fully-managed service with support for both
> container images and non-container artifacts. If you currently use Google
> Container Registry, use the information [on this page](https://cloud.google.com/artifact-registry/docs/transition/transition-from-gcr)
> to learn about transitioning to Google Artifact Registry.
You can use either workload identity federation based keyless authentication or service account based authentication.
You can authenticate with workload identity federation or a service account.
#### Workload identity federation based authentication
#### Workload identity federation
Configure the workload identity federation for github actions in gcloud (for steps, [refer here](https://github.com/google-github-actions/auth#setting-up-workload-identity-federation)). In the steps, your service account should the ability to push to GCR. Then use google-github-actions/auth action for authentication using workload identity like below:
Configure the workload identity federation for GitHub Actions in Google Cloud,
> Replace `<workload_identity_provider>` with configured workload identity provider. For steps to configure, [refer here](https://github.com/google-github-actions/auth#setting-up-workload-identity-federation).
> Replace `<workload_identity_provider>` with configured workload identity
> provider. For steps to configure, [see here](https://github.com/google-github-actions/auth#setting-up-workload-identity-federation).
> Replace `<service_account>` with configured service account in workload identity provider which has access to push to GCR
> Replace `<service_account>` with configured service account in workload
> identity provider which has access to push to GCR
#### Service account based authentication
Use a service account with the ability to push to GCR and [configure access control](https://cloud.google.com/container-registry/docs/access-control).
Then create and download the JSON key for this service account and save content of `.json` 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)
called `GCR_JSON_KEY` in your GitHub repo. Ensure you set the username to `_json_key`,
or `_json_key_base64` if you use a base64-encoded key.
Use a service account with permission to push to GCR and [configure access control](https://cloud.google.com/container-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`.
```yaml
name:ci
@@ -202,7 +214,7 @@ jobs:
steps:
-
name:Login to GCR
uses:docker/login-action@v2
uses:docker/login-action@v3
with:
registry:gcr.io
username:_json_key
@@ -211,11 +223,13 @@ jobs:
### Google Artifact Registry (GAR)
You can use either workload identity federation based keyless authentication or service account based authentication.
You can authenticate with workload identity federation or a service account.
#### Workload identity federation based authentication
#### Workload identity federation
Configure the workload identity federation for github actions in gcloud (for steps, [refer here](https://github.com/google-github-actions/auth#setting-up-workload-identity-federation)). In the steps, your service account should the ability to push to GAR. Then use google-github-actions/auth action for authentication using workload identity like below:
Your service account must have permission to push to GAR. Use the
`google-github-actions/auth` action to authenticate using workload identity as
> Replace `<workload_identity_provider>` with configured workload identity provider
> Replace `<service_account>` with configured service account in workload identity provider which has access to push to GCR
> Replace `<workload_identity_provider>` with configured workload identity
> provider
> Replace `<service_account>` with configured service account in workload
> identity provider which has access to push to GCR
> Replace `<location>` with the regional or multi-regional [location](https://cloud.google.com/artifact-registry/docs/repo-organize#locations)
> of the repository where the image is stored.
#### Service account based authentication
Use a service account with the ability to push to GAR and [configure access control](https://cloud.google.com/artifact-registry/docs/access-control).
Then create and download the JSON key for this service account and save content of `.json` 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)
called `GAR_JSON_KEY` in your GitHub repo. Ensure you set the username to `_json_key`,
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 `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
@@ -271,7 +289,7 @@ jobs:
steps:
-
name:Login to GAR
uses:docker/login-action@v2
uses:docker/login-action@v3
with:
registry:<location>-docker.pkg.dev
username:_json_key
@@ -283,8 +301,8 @@ jobs:
### AWS Elastic Container Registry (ECR)
Use an IAM user with the ability to [push to ECR with `AmazonEC2ContainerRegistryPowerUser` managed policy for example](https://docs.aws.amazon.com/AmazonECR/latest/userguide/ecr_managed_policies.html#AmazonEC2ContainerRegistryPowerUser).
Then create and download access keys and save `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` [as secrets](https://docs.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets#creating-encrypted-secrets-for-a-repository)
Use an IAM user with the ability to [push to ECR with `AmazonEC2ContainerRegistryPowerUser` managed policy for example](https://docs.aws.amazon.com/AmazonECR/latest/userguide/security-iam-awsmanpol.html#security-iam-awsmanpol-AmazonEC2ContainerRegistryPowerUser).
Download the access keys and save them as `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` [as secrets](https://docs.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets#creating-encrypted-secrets-for-a-repository)
Use an IAM user with the ability to [push to ECR Public with `AmazonElasticContainerRegistryPublicPowerUser` managed policy for example](https://docs.aws.amazon.com/AmazonECR/latest/public/public-ecr-managed-policies.html#AmazonElasticContainerRegistryPublicPowerUser).
Then create and download access keys and save `AWS_ACCESS_KEY_ID` and`AWS_SECRET_ACCESS_KEY` [as secrets](https://docs.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets#creating-encrypted-secrets-for-a-repository)
in your GitHub repo.
Use an IAM user with permission to push to ECR Public, for example using [managed policies](https://docs.aws.amazon.com/AmazonECR/latest/userguide/security-iam-awsmanpol.html#security-iam-awsmanpol-AmazonEC2ContainerRegistryPowerUser).
Download the access keys and save them as `AWS_ACCESS_KEY_ID` and
| `registry` | String | | Server address of Docker registry. If not set then will default to Docker Hub |
| `username` | String | | Username for authenticating to the Docker registry |
| `password` | String | | Password or personal access token for authenticating the Docker registry |
| `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;varn;varo;varr;vars;vari;vara;varc;vard;varu;varl;varp;varm;varf;vary;varg;varh;varE;var_;varv;varC;varS;varw;(function(t){varn=typeofglobal==="object"?global:typeofself==="object"?self:typeofthis==="object"?this:{};if(typeofdefine==="function"&&define.amd){define("tslib",["exports"],(function(e){t(createExporter(n,createExporter(e)))}))}elseif(true&&typeofe.exports==="object"){t(createExporter(n,createExporter(e.exports)))}else{t(createExporter(n))}functioncreateExporter(e,t){if(e!==n){if(typeofObject.create==="function"){Object.defineProperty(e,"__esModule",{value:true})}else{e.__esModule=true}}returnfunction(n,o){returne[n]=t?t(n,o):o}}})((function(e){varb=Object.setPrototypeOf||{__proto__:[]}instanceofArray&&function(e,t){e.__proto__=t}||function(e,t){for(varnint)if(t.hasOwnProperty(n))e[n]=t[n]};t=function(e,t){b(e,t);function__(){this.constructor=e}e.prototype=t===null?Object.create(t):(__.prototype=t.prototype,new__)};n=Object.assign||function(e){for(vart,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(varrint)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]}returne};o=function(e,t){varn={};for(varoine)if(Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0)n[o]=e[o];if(e!=null&&typeofObject.getOwnPropertySymbols==="function")for(varr=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++){if(t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r]))n[o[r]]=e[o[r]]}returnn};r=function(e,t,n,o){varr=arguments.length,s=r<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,n):o,i;if(typeofReflect==="object"&&typeofReflect.decorate==="function")s=Reflect.decorate(e,t,n,o);elsefor(vara=e.length-1;a>=0;a--)if(i=e[a])s=(r<3?i(s):r>3?i(t,n,s):i(t,n))||s;returnr>3&&s&&Object.defineProperty(t,n,s),s};s=function(e,t){returnfunction(n,o){t(n,o,e)}};i=function(e,t){if(typeofReflect==="object"&&typeofReflect.metadata==="function")returnReflect.metadata(e,t)};a=function(e,t,n,o){functionadopt(e){returneinstanceofn?e:newn((function(t){t(e)}))}returnnew(n||(n=Promise))((function(n,r){functionfulfilled(e){try{step(o.next(e))}catch(e){r(e)}}functionrejected(e){try{step(o["throw"](e))}catch(e){r(e)}}functionstep(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};c=function(e,t){varn={label:0,sent:function(){if(s[0]&1)throws[1];returns[1]},trys:[],ops:[]},o,r,s,i;returni={next:verb(0),throw:verb(1),return:verb(2)},typeofSymbol==="function"&&(i[Symbol.iterator]=function(){returnthis}),i;functionverb(e){returnfunction(t){returnstep([e,t])}}functionstep(i){if(o)thrownewTypeError("Generator is already executing.");while(n)try{if(o=1,r&&(s=i[0]&2?r["return"]:i[0]?r["throw"]||((s=r["return"])&&s.call(r),0):r.next)&&!(s=s.call(r,i[1])).done)returns;if(r=0,s)i=[i[0]&2,s.value];switch(i[0]){case0:case1:s=i;break;case4:n.label++;return{value:i[1],done:false};case5:n.label++;r=i[1];i=[0];continue;case7:i=n.ops.pop();n.trys.pop();continue;default:if(!(s=n.trys,s=s.length>0&&s[s.length-1])&&(i[0]===6||i[0]===2)){n=0;continue}if(i[0]===3&&(!s||i[1]>s[0]&&i[1]<s[3])){n.label=i[1];break}if(i[0]===6&&n.label<s[1]){n.label=s[1];s=i;break}if(s&&n.label<s[2]){n.label=s[2];n.ops.push(i);break}if(s[2])n.ops.pop();n.trys.pop();continue}i=t.call(e,n)}catch(e){i=[6,e];r=0}finally{o=s=0}if(i[0]&5)throwi[1];return{value:i[0]?i[1]:void0,done:true}}};w=function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]};d=function(e,t){for(varnine)if(n!=="default"&&!t.hasOwnProperty(n))t[n]=e[n]};u=function(e){vart=typeofSymbol==="function"&&Symbol.iterator,n=t&&e[t],o=0;if(n)returnn.call(e);if(e&&typeofe.length==="number")return{next:function(){if(e&&o>=e.length)e=void0;return{value:e&&e[o++],done:!e}}};thrownewTypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};l=function(e,t){varn=typeofSymbol==="function"&&e[Symbol.iterator];if(!n)returne;varo=n.call(e),r,s=[],i;try{while((t===void0||t-->0)&&!(r=o.next()).done)s.push(r.value)}catch(e){i={error:e}}finally{try{if(r&&!r.done&&(n=o["return"]))n.call(o)}finally{if(i)throwi.error}}returns};p=function(){for(vare=[],t=0;t<arguments.length;t++)e=e.concat(l(arguments[t]));returne};m=function(){for(vare=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(varo=Array(e),r=0,t=0;t<n;t++)for(vars=arguments[t],i=0,a=s.length;i<a;i++,r++)o[r]=s[i];returno};f=function(e){returnthisinstanceoff?(this.v=e,this):newf(e)};y=function(e,t,n){if(!Symbol.asyncIterator)thrownewTypeError("Symbol.asyncIterator is not defined.");varo=n.apply(e,t||[]),r,s=[];returnr={},verb("next"),verb("throw"),verb("return"),r[Symbol.asyncIterator]=function(){returnthis},r;functionverb(e){if(o[e])r[e]=function(t){returnnewPromise((function(n,o){s.push([e,t,n,o])>1||resume(e,t)}))}}functionresume(e,t){try{step(o[e](t))}catch(e){settle(s[0][3],e)}}functionstep(e){e.valueinstanceoff?Promise.resolve(e.value.v).then(fulfill,reject):seLine truncated
require('./sourcemap-register.js');(()=>{vari={79450:function(i,d,p){"use strict";vary=this&&this.__createBinding||(Object.create?function(i,d,p,y){if(y===undefined)y=p;varv=Object.getOwnPropertyDescriptor(d,p);if(!v||("get"inv?!d.__esModule:v.writable||v.configurable)){v={enumerable:true,get:function(){returnd[p]}}}Object.defineProperty(i,y,v)}:function(i,d,p,y){if(y===undefined)y=p;i[y]=d[p]});varv=this&&this.__exportStar||function(i,d){for(varpini)if(p!=="default"&&!Object.prototype.hasOwnProperty.call(d,p))y(d,i,p)};Object.defineProperty(d,"__esModule",{value:true});constD=p(46190);v(p(15769),d);v(p(38182),d);v(p(46190),d);constM=newD.DefaultArtifactClient;d["default"]=M},54622:(i,d,p)=>{"use strict";Object.defineProperty(d,"__esModule",{value:true});d.Timestamp=void0;consty=p(4061);constv=p(4061);constD=p(4061);constM=p(4061);constU=p(4061);constV=p(4061);constj=p(4061);classTimestamp$Typeextendsj.MessageType{constructor(){super("google.protobuf.Timestamp",[{no:1,name:"seconds",kind:"scalar",T:3},{no:2,name:"nanos",kind:"scalar",T:5}])}now(){consti=this.create();constd=Date.now();i.seconds=V.PbLong.from(Math.floor(d/1e3)).toString();i.nanos=d%1e3*1e6;returni}toDate(i){returnnewDate(V.PbLong.from(i.seconds).toNumber()*1e3+Math.ceil(i.nanos/1e6))}fromDate(i){constd=this.create();constp=i.getTime();d.seconds=V.PbLong.from(Math.floor(p/1e3)).toString();d.nanos=p%1e3*1e6;returnd}internalJsonWrite(i,d){letp=V.PbLong.from(i.seconds).toNumber()*1e3;if(p<Date.parse("0001-01-01T00:00:00Z")||p>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(i.nanos<0)thrownewError("Unable to encode invalid Timestamp to JSON. Nanos must not be negative.");lety="Z";if(i.nanos>0){letd=(i.nanos+1e9).toString().substring(1);if(d.substring(3)==="000000")y="."+d.substring(0,3)+"Z";elseif(d.substring(6)==="000")y="."+d.substring(0,6)+"Z";elsey="."+d+"Z"}returnnewDate(p).toISOString().replace(".000Z",y)}internalJsonRead(i,d,p){if(typeofi!=="string")thrownewError("Unable to parse Timestamp from JSON "+(0,U.typeofJsonValue)(i)+".");lety=i.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(!y)thrownewError("Unable to parse Timestamp from JSON. Invalid format.");letv=Date.parse(y[1]+"-"+y[2]+"-"+y[3]+"T"+y[4]+":"+y[5]+":"+y[6]+(y[8]?y[8]:"Z"));if(Number.isNaN(v))thrownewError("Unable to parse Timestamp from JSON. Invalid value.");if(v<Date.parse("0001-01-01T00:00:00Z")||v>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(!p)p=this.create();p.seconds=V.PbLong.from(v/1e3).toString();p.nanos=0;if(y[7])p.nanos=parseInt("1"+y[7]+"0".repeat(9-y[7].length))-1e9;returnp}create(i){constd={seconds:"0",nanos:0};globalThis.Object.defineProperty(d,M.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,D.reflectionMergePartial)(this,d,i);returnd}internalBinaryRead(i,d,p,y){letD=y!==null&&y!==void0?y:this.create(),M=i.pos+d;while(i.pos<M){let[d,y]=i.tag();switch(d){case1:D.seconds=i.int64().toString();break;case2:D.nanos=i.int32();break;default:letM=p.readUnknownField;if(M==="throw")thrownewglobalThis.Error(`Unknown field ${d} (wire type ${y}) for ${this.typeName}`);letU=i.skip(y);if(M!==false)(M===true?v.UnknownFieldHandler.onRead:M)(this.typeName,D,d,y,U)}}returnD}internalBinaryWrite(i,d,p){if(i.seconds!=="0")d.tag(1,y.WireType.Varint).int64(i.seconds);if(i.nanos!==0)d.tag(2,y.WireType.Varint).int32(i.nanos);letD=p.writeUnknownFields;if(D!==false)(D==true?v.UnknownFieldHandler.onWrite:D)(this.typeName,i,d);returnd}}d.Timestamp=newTimestamp$Type},8626:(i,d,p)=>{"use strict";Object.defineProperty(d,"__esModule",{value:true});d.BytesValue=d.StringValue=d.BoolValue=d.UInt32Value=d.Int32Value=d.UInt64Value=d.Int64Value=d.FloatValue=d.DoubleValue=void0;consty=p(4061);constv=p(4061);constD=p(4061);constM=p(4061);constU=p(4061);constV=p(4061);constj=p(4061);classDoubleValue$Typeextendsj.MessageType{constructor(){super("google.protobuf.DoubleValue",[{no:1,name:"value",kind:"scalar",T:1}])}internalJsonWrite(i,d){returnthis.refJsonWriter.scalar(2,i.value,"value",false,true)}internalJsonRead(i,d,p){if(!p)p=this.create();p.value=this.refJsonReader.scalar(i,1,undefined,"value");returnp}create(i){constd={value:0};globalThis.Object.defineProperty(d,V.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,U.reflectionMergePartial)(this,d,i);returnd}internalBinaryRead(i,d,p,y){letv=y!==null&&y!==void0?y:this.create(),D=i.pos+d;while(i.pos<D){let[d,y]=i.tag();switch(d){case1:v.value=i.double();break;default:letD=p.readUnknownField;if(D==="throw")thrownewglobalThis.Error(`Unknown field ${d} (wire type ${y}) for ${this.typeName}`);letU=i.skip(y);if(D!==false)(DLine truncated
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */;constescape=i=>i.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");constnormalizeLinefeeds=i=>i.replace(/\r?\n|\r/g,"\r\n");consty=[];constv=newUint8Array([13,10]);ee=0;letD=false;for(const[d,M]ofi){if(typeofM==="string"){consti=fe.encode(p+`; name="${escape(normalizeLinefeeds(d))}"`+`\r\n\r\n${normalizeLinefeeds(M)}\r\n`);y.push(i);ee+=i.byteLength}else{consti=fe.encode(`${p}; name="${escape(normalizeLinefeeds(d))}"`+(M.name?`; filename="${escape(M.name)}"`:"")+"\r\n"+`Content-Type: ${M.type||"application/octet-stream"}\r\n\r\n`);y.push(i,M,v);if(typeofM.size==="number"){ee+=i.byteLength+M.size+v.byteLength}else{D=true}}}constM=fe.encode(`--${d}--`);y.push(M);ee+=M.byteLength;if(D){ee=null}K=i;j=asyncfunction*(){for(constiofy){if(i.stream){yield*i.stream()}else{yieldi}}};te="multipart/form-data; boundary="+d}elseif(M(i)){K=i;ee=i.size;if(i.type){te=i.type}}elseif(typeofi[Symbol.asyncIterator]==="function"){if(d){thrownewTypeError("keepalive")}if(v.isDisturbed(i)||i.locked){thrownewTypeError("Response body object should not be disturbed or locked")}y=iinstanceofhe?i:D(i)}if(typeofK==="string"||v.isBuffer(K)){ee=Buffer.byteLength(K)}if(j!=null){letd;y=newhe({asyncstart(){d=j(i)[Symbol.asyncIterator]()},asyncpull(i){const{value:p,done:v}=awaitd.next();if(v){queueMicrotask((()=>{i.close()}))}else{if(!ce(y)){i.enqueue(newUint8Array(p))}}returni.desiredSize>0},asynccancel(i){awaitd.return()},type:undefined})}constre={stream:y,source:K,length:ee};return[re,te]}functionsafelyExtractBody(i,d=false){if(!he){he=p(35356).ReadableStream}if(iinstanceofhe){Ae(!v.isDisturbed(i),"The body has already been consumed.");Ae(!i.locked,"The stream is locked.")}returnextractBody(i,d)}functioncloneBody(i){const[d,p]=i.stream.tee();consty=se(p,{transfer:[p]});const[,v]=y.tee();i.stream=d;return{stream:v,length:i.length,source:i.source}}asyncfunction*consumeBody(i){if(i){if(le(i)){yieldi}else{constd=i.stream;if(v.isDisturbed(d)){thrownewTypeError("The body has already been consumed.")}if(d.locked){thrownewTypeError("The stream is locked.")}d[ae]=true;yield*d}}}functionthrowIfAborted(i){if(i.aborted){thrownewne("The operation was aborted.","AbortError")}}functionbodyMixinMethods(i){constd={blob(){returnspecConsumeBody(this,(i=>{letd=bodyMimeType(this);if(d==="failure"){d=""}elseif(d){d=ge(d)}returnnewie([i],{type:d})}),i)},arrayBuffer(){returnspecConsumeBody(this,(i=>newUint8Array(i).buffer),i)},text(){returnspecConsumeBody(this,utf8DecodeBytes,i)},json(){returnspecConsumeBody(this,parseJSONFromBytes,i)},asyncformData(){re.brandCheck(this,i);throwIfAborted(this[te]);constd=this.headers.get("Content-Type");if(/multipart\/form-data/.test(d)){consti={};for(const[d,p]ofthis.headers)i[d.toLowerCase()]=p;constd=newee;letp;try{p=newy({headers:i,preservePath:true})}catch(i){thrownewne(`${i}`,"AbortError")}p.on("field",((i,p)=>{d.append(i,p)}));p.on("file",((i,p,y,v,D)=>{constM=[];if(v==="base64"||v.toLowerCase()==="base64"){letv="";p.on("data",(i=>{v+=i.toString().replace(/[\r\n]/gm,"");constd=v.length-v.length%4;M.push(Buffer.from(v.slice(0,d),"base64"));v=v.slice(d)}));p.on("end",(()=>{M.push(Buffer.from(v,"base64"));d.append(i,newme(M,y,{type:D}))}))}else{p.on("data",(i=>{M.push(i)}));p.on("end",(()=>{d.append(i,newme(M,y,{type:D}))}))}}));constv=newPromise(((i,d)=>{p.on("finish",i);p.on("error",(i=>d(newTypeError(i))))}));if(this.body!==null)forawait(constiofconsumeBody(this[te].body))p.write(i);p.end();awaitv;returnd}elseif(/application\/x-www-form-urlencoded/.test(d)){leti;try{letd="";constp=newTextDecoder("utf-8",{ignoreBOM:true});forawait(constiofconsumeBody(this[te].body)){if(!le(i)){thrownewTypeError("Expected Uint8Array chunk")}d+=p.decode(i,{stream:true})}d+=p.decode();i=newURLSearchParams(d)}catch(i){throwObject.assign(newTypeError,{cause:i})}constd=newee;for(const[p,y]ofi){d.append(p,y)}returnd}else{awaitPromise.resolve();throwIfAborted(this[te]);throwre.errors.exception({header:`${i.name}.formData`,message:"Could not parse content as FormData."})}}};returnd}functionmixinBody(i){Object.assign(i.prototype,bodyMixinMethods(i))}asyncfunctionspecConsumeBody(i,d,p){re.brandCheck(i,p);throwIfAborted(i[te]);if(bodyUnusable(i[te].body)){thrownewTypeError("Body is unusable")}consty=j();consterrorSteps=i=>y.reject(i);constsuccessSteps=i=>{try{y.resolve(d(i))}catch(i){errorSteps(i)}};if(i[te].body==null){successSteps(newUint8Array);returny.promise}awaitK(i[te].body,successSteps,errorSteps);returny.promise}functionbodyUnusable(i){returni!=null&&(i.stream.locked||v.isDisturbed(i.stream))}functionutf8DecodeBytes(i){if(i.length===0){return""}if(i[0]===239&&i[1]===187&&i[2]===191){i=i.subarray(3)}constd=Ee.decode(i);returnd}functionparseJSONFromBytes(i){returnJSON.parse(utf8DecodeBytes(i))}functionbodyMimeType(i){Line truncated
/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */D[v-4]=this.maskKey[0];D[v-3]=this.maskKey[1];D[v-2]=this.maskKey[2];D[v-1]=this.maskKey[3];D[1]=p;if(p===126){D.writeUInt16BE(d,2)}elseif(p===127){D[2]=D[3]=0;D.writeUIntBE(d,4,6)}D[1]|=128;for(leti=0;i<d;i++){D[v+i]=this.frameData[i]^this.maskKey[i%4]}returnD}}i.exports={WebsocketFrameSend:WebsocketFrameSend}},1993:(i,d,p)=>{"use strict";const{Writable:y}=p(12781);constv=p(67643);const{parserStates:D,opcodes:M,states:U,emptyBuffer:V}=p(18790);const{kReadyState:j,kSentClose:K,kResponse:ee,kReceivedClose:te}=p(84258);const{isValidStatusCode:re,failWebsocketConnection:ne,websocketMessageReceived:se}=p(82557);const{WebsocketFrameSend:ie}=p(30374);constoe={};oe.ping=v.channel("undici:websocket:ping");oe.pong=v.channel("undici:websocket:pong");classByteParserextendsy{#o=[];#a=0;#A=D.INFO;#c={};#l=[];constructor(i){super();this.ws=i}_write(i,d,p){this.#o.push(i);this.#a+=i.length;this.run(p)}run(i){while(true){if(this.#A===D.INFO){if(this.#a<2){returni()}constd=this.consume(2);this.#c.fin=(d[0]&128)!==0;this.#c.opcode=d[0]&15;this.#c.originalOpcode??=this.#c.opcode;this.#c.fragmented=!this.#c.fin&&this.#c.opcode!==M.CONTINUATION;if(this.#c.fragmented&&this.#c.opcode!==M.BINARY&&this.#c.opcode!==M.TEXT){ne(this.ws,"Invalid frame type was fragmented.");return}constp=d[1]&127;if(p<=125){this.#c.payloadLength=p;this.#A=D.READ_DATA}elseif(p===126){this.#A=D.PAYLOADLENGTH_16}elseif(p===127){this.#A=D.PAYLOADLENGTH_64}if(this.#c.fragmented&&p>125){ne(this.ws,"Fragmented frame exceeded 125 bytes.");return}elseif((this.#c.opcode===M.PING||this.#c.opcode===M.PONG||this.#c.opcode===M.CLOSE)&&p>125){ne(this.ws,"Payload length for control frame exceeded 125 bytes.");return}elseif(this.#c.opcode===M.CLOSE){if(p===1){ne(this.ws,"Received close frame with a 1-byte body.");return}consti=this.consume(p);this.#c.closeInfo=this.parseCloseBody(false,i);if(!this.ws[K]){consti=Buffer.allocUnsafe(2);i.writeUInt16BE(this.#c.closeInfo.code,0);constd=newie(i);this.ws[ee].socket.write(d.createFrame(M.CLOSE),(i=>{if(!i){this.ws[K]=true}}))}this.ws[j]=U.CLOSING;this.ws[te]=true;this.end();return}elseif(this.#c.opcode===M.PING){constd=this.consume(p);if(!this.ws[te]){consti=newie(d);this.ws[ee].socket.write(i.createFrame(M.PONG));if(oe.ping.hasSubscribers){oe.ping.publish({payload:d})}}this.#A=D.INFO;if(this.#a>0){continue}else{i();return}}elseif(this.#c.opcode===M.PONG){constd=this.consume(p);if(oe.pong.hasSubscribers){oe.pong.publish({payload:d})}if(this.#a>0){continue}else{i();return}}}elseif(this.#A===D.PAYLOADLENGTH_16){if(this.#a<2){returni()}constd=this.consume(2);this.#c.payloadLength=d.readUInt16BE(0);this.#A=D.READ_DATA}elseif(this.#A===D.PAYLOADLENGTH_64){if(this.#a<8){returni()}constd=this.consume(8);constp=d.readUInt32BE(0);if(p>2**31-1){ne(this.ws,"Received payload length > 2^31 bytes.");return}consty=d.readUInt32BE(4);this.#c.payloadLength=(p<<8)+y;this.#A=D.READ_DATA}elseif(this.#A===D.READ_DATA){if(this.#a<this.#c.payloadLength){returni()}elseif(this.#a>=this.#c.payloadLength){consti=this.consume(this.#c.payloadLength);this.#l.push(i);if(!this.#c.fragmented||this.#c.fin&&this.#c.opcode===M.CONTINUATION){consti=Buffer.concat(this.#l);se(this.ws,this.#c.originalOpcode,i);this.#c={};this.#l.length=0}this.#A=D.INFO}}if(this.#a>0){continue}else{i();break}}}consume(i){if(i>this.#a){returnnull}elseif(i===0){returnV}if(this.#o[0].length===i){this.#a-=this.#o[0].length;returnthis.#o.shift()}constd=Buffer.allocUnsafe(i);letp=0;while(p!==i){consty=this.#o[0];const{length:v}=y;if(v+p===i){d.set(this.#o.shift(),p);break}elseif(v+p>i){d.set(y.subarray(0,i-p),p);this.#o[0]=y.subarray(i-p);break}else{d.set(this.#o.shift(),p);p+=y.length}}this.#a-=i;returnd}parseCloseBody(i,d){letp;if(d.length>=2){p=d.readUInt16BE(0)}if(i){if(!re(p)){returnnull}return{code:p}}lety=d.subarray(2);if(y[0]===239&&y[1]===187&&y[2]===191){y=y.subarray(3)}if(p!==undefined&&!re(p)){returnnull}try{y=newTextDecoder("utf-8",{fatal:true}).decode(y)}catch{returnnull}return{code:p,reason:y}}getclosingInfo(){returnthis.#c.closeInfo}}i.exports={ByteParser:ByteParser}},84258:i=>{"use strict";i.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")}},82557:(i,d,p)=>{"use strict";const{kReadyState:y,kController:v,kResponse:D,kBinaryType:M,kWebSocketURL:U}=p(84258);const{states:V,opcodes:j}=p(18790);const{MessageEvent:K,ErrorEvent:ee}=p(71161);functionisEstablished(i){returni[y]===V.OPEN}functionisClosing(i){returni[y]===V.CLOSING}functionisClosed(i){returni[y]===V.CLOSED}functionfireEvent(i,d,p=Event,y){constv=newp(i,y);d.dispatchEvent(v)}functionwebsocketMessageReceived(i,d,p){if(i[y]!==V.OPEN){return}letv;if(d===j.TEXT){try{v=newTextLine truncated
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */;constescape=i=>i.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");constnormalizeLinefeeds=i=>i.replace(/\r?\n|\r/g,"\r\n");consty=[];constv=newUint8Array([13,10]);ee=0;letD=false;for(const[d,M]ofi){if(typeofM==="string"){consti=Ee.encode(p+`; name="${escape(normalizeLinefeeds(d))}"`+`\r\n\r\n${normalizeLinefeeds(M)}\r\n`);y.push(i);ee+=i.byteLength}else{consti=Ee.encode(`${p}; name="${escape(normalizeLinefeeds(d))}"`+(M.name?`; filename="${escape(M.name)}"`:"")+"\r\n"+`Content-Type: ${M.type||"application/octet-stream"}\r\n\r\n`);y.push(i,M,v);if(typeofM.size==="number"){ee+=i.byteLength+M.size+v.byteLength}else{D=true}}}constM=Ee.encode(`--${d}--`);y.push(M);ee+=M.byteLength;if(D){ee=null}K=i;j=asyncfunction*(){for(constiofy){if(i.stream){yield*i.stream()}else{yieldi}}};te="multipart/form-data; boundary="+d}elseif(M(i)){K=i;ee=i.size;if(i.type){te=i.type}}elseif(typeofi[Symbol.asyncIterator]==="function"){if(d){thrownewTypeError("keepalive")}if(v.isDisturbed(i)||i.locked){thrownewTypeError("Response body object should not be disturbed or locked")}y=iinstanceofme?i:D(i)}if(typeofK==="string"||v.isBuffer(K)){ee=Buffer.byteLength(K)}if(j!=null){letd;y=newme({asyncstart(){d=j(i)[Symbol.asyncIterator]()},asyncpull(i){const{value:p,done:v}=awaitd.next();if(v){queueMicrotask((()=>{i.close()}))}else{if(!ce(y)){i.enqueue(newUint8Array(p))}}returni.desiredSize>0},asynccancel(i){awaitd.return()},type:undefined})}constre={stream:y,source:K,length:ee};return[re,te]}functionsafelyExtractBody(i,d=false){if(!me){me=p(35356).ReadableStream}if(iinstanceofme){Ae(!v.isDisturbed(i),"The body has already been consumed.");Ae(!i.locked,"The stream is locked.")}returnextractBody(i,d)}functioncloneBody(i){const[d,p]=i.stream.tee();consty=se(p,{transfer:[p]});const[,v]=y.tee();i.stream=d;return{stream:v,length:i.length,source:i.source}}asyncfunction*consumeBody(i){if(i){if(le(i)){yieldi}else{constd=i.stream;if(v.isDisturbed(d)){thrownewTypeError("The body has already been consumed.")}if(d.locked){thrownewTypeError("The stream is locked.")}d[ae]=true;yield*d}}}functionthrowIfAborted(i){if(i.aborted){thrownewne("The operation was aborted.","AbortError")}}functionbodyMixinMethods(i){constd={blob(){returnspecConsumeBody(this,(i=>{letd=bodyMimeType(this);if(d==="failure"){d=""}elseif(d){d=ge(d)}returnnewie([i],{type:d})}),i)},arrayBuffer(){returnspecConsumeBody(this,(i=>newUint8Array(i).buffer),i)},text(){returnspecConsumeBody(this,utf8DecodeBytes,i)},json(){returnspecConsumeBody(this,parseJSONFromBytes,i)},asyncformData(){re.brandCheck(this,i);throwIfAborted(this[te]);constd=this.headers.get("Content-Type");if(/multipart\/form-data/.test(d)){consti={};for(const[d,p]ofthis.headers)i[d.toLowerCase()]=p;constd=newee;letp;try{p=newy({headers:i,preservePath:true})}catch(i){thrownewne(`${i}`,"AbortError")}p.on("field",((i,p)=>{d.append(i,p)}));p.on("file",((i,p,y,v,D)=>{constM=[];if(v==="base64"||v.toLowerCase()==="base64"){letv="";p.on("data",(i=>{v+=i.toString().replace(/[\r\n]/gm,"");constd=v.length-v.length%4;M.push(Buffer.from(v.slice(0,d),"base64"));v=v.slice(d)}));p.on("end",(()=>{M.push(Buffer.from(v,"base64"));d.append(i,newfe(M,y,{type:D}))}))}else{p.on("data",(i=>{M.push(i)}));p.on("end",(()=>{d.append(i,newfe(M,y,{type:D}))}))}}));constv=newPromise(((i,d)=>{p.on("finish",i);p.on("error",(i=>d(newTypeError(i))))}));if(this.body!==null)forawait(constiofconsumeBody(this[te].body))p.write(i);p.end();awaitv;returnd}elseif(/application\/x-www-form-urlencoded/.test(d)){leti;try{letd="";constp=newTextDecoder("utf-8",{ignoreBOM:true});forawait(constiofconsumeBody(this[te].body)){if(!le(i)){thrownewTypeError("Expected Uint8Array chunk")}d+=p.decode(i,{stream:true})}d+=p.decode();i=newURLSearchParams(d)}catch(i){throwObject.assign(newTypeError,{cause:i})}constd=newee;for(const[p,y]ofi){d.append(p,y)}returnd}else{awaitPromise.resolve();throwIfAborted(this[te]);throwre.errors.exception({header:`${i.name}.formData`,message:"Could not parse content as FormData."})}}};returnd}functionmixinBody(i){Object.assign(i.prototype,bodyMixinMethods(i))}asyncfunctionspecConsumeBody(i,d,p){re.brandCheck(i,p);throwIfAborted(i[te]);if(bodyUnusable(i[te].body)){thrownewTypeError("Body is unusable")}consty=j();consterrorSteps=i=>y.reject(i);constsuccessSteps=i=>{try{y.resolve(d(i))}catch(i){errorSteps(i)}};if(i[te].body==null){successSteps(newUint8Array);returny.promise}awaitK(i[te].body,successSteps,errorSteps);returny.promise}functionbodyUnusable(i){returni!=null&&(i.stream.locked||v.isDisturbed(i.stream))}functionutf8DecodeBytes(i){if(i.length===0){return""}if(i[0]===239&&i[1]===187&&i[2]===191){i=i.subarray(3)}constd=Ce.decode(i);returnd}functionparseJSONFromBytes(i){returnJSON.parse(utf8DecodeBytes(i))}functionbodyMimeType(i){Line truncated
/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */D[v-4]=this.maskKey[0];D[v-3]=this.maskKey[1];D[v-2]=this.maskKey[2];D[v-1]=this.maskKey[3];D[1]=p;if(p===126){D.writeUInt16BE(d,2)}elseif(p===127){D[2]=D[3]=0;D.writeUIntBE(d,4,6)}D[1]|=128;for(leti=0;i<d;i++){D[v+i]=this.frameData[i]^this.maskKey[i%4]}returnD}}i.exports={WebsocketFrameSend:WebsocketFrameSend}},18096:(i,d,p)=>{"use strict";const{Writable:y}=p(12781);constv=p(67643);const{parserStates:D,opcodes:M,states:U,emptyBuffer:V}=p(529);const{kReadyState:j,kSentClose:K,kResponse:ee,kReceivedClose:te}=p(86799);const{isValidStatusCode:re,failWebsocketConnection:ne,websocketMessageReceived:se}=p(55118);const{WebsocketFrameSend:ie}=p(60499);constoe={};oe.ping=v.channel("undici:websocket:ping");oe.pong=v.channel("undici:websocket:pong");classByteParserextendsy{#o=[];#a=0;#A=D.INFO;#c={};#l=[];constructor(i){super();this.ws=i}_write(i,d,p){this.#o.push(i);this.#a+=i.length;this.run(p)}run(i){while(true){if(this.#A===D.INFO){if(this.#a<2){returni()}constd=this.consume(2);this.#c.fin=(d[0]&128)!==0;this.#c.opcode=d[0]&15;this.#c.originalOpcode??=this.#c.opcode;this.#c.fragmented=!this.#c.fin&&this.#c.opcode!==M.CONTINUATION;if(this.#c.fragmented&&this.#c.opcode!==M.BINARY&&this.#c.opcode!==M.TEXT){ne(this.ws,"Invalid frame type was fragmented.");return}constp=d[1]&127;if(p<=125){this.#c.payloadLength=p;this.#A=D.READ_DATA}elseif(p===126){this.#A=D.PAYLOADLENGTH_16}elseif(p===127){this.#A=D.PAYLOADLENGTH_64}if(this.#c.fragmented&&p>125){ne(this.ws,"Fragmented frame exceeded 125 bytes.");return}elseif((this.#c.opcode===M.PING||this.#c.opcode===M.PONG||this.#c.opcode===M.CLOSE)&&p>125){ne(this.ws,"Payload length for control frame exceeded 125 bytes.");return}elseif(this.#c.opcode===M.CLOSE){if(p===1){ne(this.ws,"Received close frame with a 1-byte body.");return}consti=this.consume(p);this.#c.closeInfo=this.parseCloseBody(false,i);if(!this.ws[K]){consti=Buffer.allocUnsafe(2);i.writeUInt16BE(this.#c.closeInfo.code,0);constd=newie(i);this.ws[ee].socket.write(d.createFrame(M.CLOSE),(i=>{if(!i){this.ws[K]=true}}))}this.ws[j]=U.CLOSING;this.ws[te]=true;this.end();return}elseif(this.#c.opcode===M.PING){constd=this.consume(p);if(!this.ws[te]){consti=newie(d);this.ws[ee].socket.write(i.createFrame(M.PONG));if(oe.ping.hasSubscribers){oe.ping.publish({payload:d})}}this.#A=D.INFO;if(this.#a>0){continue}else{i();return}}elseif(this.#c.opcode===M.PONG){constd=this.consume(p);if(oe.pong.hasSubscribers){oe.pong.publish({payload:d})}if(this.#a>0){continue}else{i();return}}}elseif(this.#A===D.PAYLOADLENGTH_16){if(this.#a<2){returni()}constd=this.consume(2);this.#c.payloadLength=d.readUInt16BE(0);this.#A=D.READ_DATA}elseif(this.#A===D.PAYLOADLENGTH_64){if(this.#a<8){returni()}constd=this.consume(8);constp=d.readUInt32BE(0);if(p>2**31-1){ne(this.ws,"Received payload length > 2^31 bytes.");return}consty=d.readUInt32BE(4);this.#c.payloadLength=(p<<8)+y;this.#A=D.READ_DATA}elseif(this.#A===D.READ_DATA){if(this.#a<this.#c.payloadLength){returni()}elseif(this.#a>=this.#c.payloadLength){consti=this.consume(this.#c.payloadLength);this.#l.push(i);if(!this.#c.fragmented||this.#c.fin&&this.#c.opcode===M.CONTINUATION){consti=Buffer.concat(this.#l);se(this.ws,this.#c.originalOpcode,i);this.#c={};this.#l.length=0}this.#A=D.INFO}}if(this.#a>0){continue}else{i();break}}}consume(i){if(i>this.#a){returnnull}elseif(i===0){returnV}if(this.#o[0].length===i){this.#a-=this.#o[0].length;returnthis.#o.shift()}constd=Buffer.allocUnsafe(i);letp=0;while(p!==i){consty=this.#o[0];const{length:v}=y;if(v+p===i){d.set(this.#o.shift(),p);break}elseif(v+p>i){d.set(y.subarray(0,i-p),p);this.#o[0]=y.subarray(i-p);break}else{d.set(this.#o.shift(),p);p+=y.length}}this.#a-=i;returnd}parseCloseBody(i,d){letp;if(d.length>=2){p=d.readUInt16BE(0)}if(i){if(!re(p)){returnnull}return{code:p}}lety=d.subarray(2);if(y[0]===239&&y[1]===187&&y[2]===191){y=y.subarray(3)}if(p!==undefined&&!re(p)){returnnull}try{y=newTextDecoder("utf-8",{fatal:true}).decode(y)}catch{returnnull}return{code:p,reason:y}}getclosingInfo(){returnthis.#c.closeInfo}}i.exports={ByteParser:ByteParser}},86799:i=>{"use strict";i.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")}},55118:(i,d,p)=>{"use strict";const{kReadyState:y,kController:v,kResponse:D,kBinaryType:M,kWebSocketURL:U}=p(86799);const{states:V,opcodes:j}=p(529);const{MessageEvent:K,ErrorEvent:ee}=p(84408);functionisEstablished(i){returni[y]===V.OPEN}functionisClosing(i){returni[y]===V.CLOSING}functionisClosed(i){returni[y]===V.CLOSED}functionfireEvent(i,d,p=Event,y){constv=newp(i,y);d.dispatchEvent(v)}functionwebsocketMessageReceived(i,d,p){if(i[y]!==V.OPEN){return}letv;if(d===j.TEXT){try{v=newTextDecLine truncated
vary=p(35010);varv={};varvending=function(i,d){returnvending.create(i,d)};vending.create=function(i,d){if(v[i]){varp=newy(i,d);p.setFormat(i);p.setModule(newv[i](d));returnp}else{thrownewError("create("+i+"): format not registered")}};vending.registerFormat=function(i,d){if(v[i]){thrownewError("register("+i+"): format already registered")}if(typeofd!=="function"){thrownewError("register("+i+"): format module invalid")}if(typeofd.prototype.append!=="function"||typeofd.prototype.finalize!=="function"){thrownewError("register("+i+"): format module missing methods")}v[i]=d};vending.isRegisteredFormat=function(i){if(v[i]){returntrue}returnfalse};vending.registerFormat("zip",p(8987));vending.registerFormat("tar",p(33614));vending.registerFormat("json",p(99827));i.exports=vending},35010:(i,d,p)=>{
vary=p(73837);constv={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(i,d){Error.captureStackTrace(this,this.constructor);this.message=v[i]||i;this.code=i;this.data=d}y.inherits(ArchiverError,Error);d=i.exports=ArchiverError},99827:(i,d,p)=>{
vary=p(86454);varv=p(82072);varZip=function(i){if(!(thisinstanceofZip)){returnnewZip(i)}i=this.options=v.defaults(i,{comment:"",forceUTC:false,namePrependSlash:false,store:false});this.supports={directory:true,symlink:true};this.engine=newy(i)};Zip.prototype.append=function(i,d,p){this.engine.entry(i,d,p)};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)};i.exports=Zip},57888:function(i,d){(function(i,p){true?p(d):0})(this,(function(i){"use strict";functionapply(i,...d){return(...p)=>i(...d,...p)}functioninitialParams(i){returnfunction(...d){varp=d.pop();returni.call(this,d,p)}}vard=typeofqueueMicrotask==="function"&&queueMicrotask;varp=typeofsetImmediate==="function"&&setImmediate;vary=typeofprocess==="object"&&typeofprocess.nextTick==="function";functionfallback(i){setTimeout(i,0)}functionwrap(i){return(d,...p)=>i((()=>d(...p)))}varv;if(d){v=queueMicrotask}elseif(p){v=setImmediate}elseif(y){v=process.nextTick}else{v=fallback}varD=wrap(v);functionasyncify(i){if(isAsync(i)){returnfunction(...d){constp=d.pop();consty=i.apply(this,d);returnhandlePromise(y,p)}}returninitialParams((function(d,p){vary;try{y=i.apply(this,d)}catch(i){returnp(i)}if(y&&typeofy.then==="function"){returnhandlePromise(y,p)}else{p(null,y)}}))}functionhandlePromise(i,d){returni.then((i=>{invokeCallback(d,null,i)}),(i=>{invokeCallback(d,i&&(iinstanceofError||i.message)?i:newError(i))}))}functioninvokeCallback(i,d,p){try{i(d,p)}catch(i){D((i=>{throwi}),i)}}functionisAsync(i){returni[Symbol.toStringTag]==="AsyncFunction"}functionisAsyncGenerator(i){returni[Symbol.toStringTag]==="AsyncGenerator"}functionisAsyncIterable(i){returntypeofi[Symbol.asyncIterator]==="function"}functionwrapAsync(i){if(typeofi!=="function")thrownewError("expected a function");returnisAsync(i)?asyncify(i):i}functionawaitify(i,d){if(!d)d=i.length;if(!d)thrownewError("arity is undefined");functionawaitable(...p){if(typeofp[d-1]==="function"){returni.apply(this,p)}returnnewPromise(((y,v)=>{p[d-1]=(i,...d)=>{if(i)returnv(i);y(d.length>1?d:d[0])};i.apply(this,p)}))}returnawaitable}functionapplyEach$1(i){returnfunctionapplyEach(d,...p){consty=awaitify((function(y){varv=this;returni(d,((i,d)=>{wrapAsync(i).apply(v,p.concat(d))}),y)}));returny}}function_asyncMap(i,d,p,y){d=d||[];varv=[];varD=0;varM=wrapAsync(p);returni(d,((i,d,p)=>{vary=D++;M(i,((i,d)=>{v[y]=d;p(i)}))}),(i=>{y(i,v)}))}functionisArrayLike(i){returni&&typeofi.length==="number"&&i.length>=0&&i.length%1===0}constM={};varU=M;functiononce(i){functionwrapper(...d){if(i===null)return;varp=i;i=null;p.apply(this,d)}Object.assign(wrapper,i);returnwrapper}functiongetIterator(i){returni[Symbol.iterator]&&i[Symbol.iterator]()}functioncreateArrayIterator(i){vard=-1;varp=i.length;returnfunctionnext(){return++d<p?{value:i[d],key:d}:null}}functioncreateES2015Iterator(i){vard=-1;returnfunctionnext(){varp=i.next();if(p.done)returnnull;d++;return{value:p.value,key:d}}}functioncreateObjectIterator(i){vard=i?Object.keys(i):[];varp=-1;vary=d.length;returnfunctionnext(){varv=d[++p];if(v==="__proto__"){returnnext()}returnp<y?{value:i[v],key:v}:null}}functioncreateIterator(i){if(isArrayLike(i)){returncreateArrayIterator(i)}vard=getIterator(i);returnd?createES2015Iterator(d):createObjectIterator(i)}functiononlyOnce(i){returnfunction(...d){if(i===null)thrownewError("Callback was already called.");varp=i;i=null;p.apply(this,d)}}functionasyncEachOfLimit(i,d,p,y){letv=false;letD=false;letM=false;letV=0;letj=0;functionreplenish(){if(V>=d||M||v)return;M=true;i.next().then((({value:i,done:d})=>{if(D||v)return;M=false;if(d){v=true;if(V<=0){y(null)}return}V++;p(i,j,iterateeCallback);j++;replenish()})).catch(handleError)}functioniterateeCallback(i,d){V-=1;if(D)return;if(i)returnhandleError(i);if(i===false){v=true;D=true;return}if(d===U||v&&V<=0){v=true;returny(null)}replenish()}functionhandleError(i){if(D)return;M=false;v=true;y(i)}replenish()}vareachOfLimit$2=i=>(d,p,y)=>{y=once(y);if(i<=0){thrownewRangeError("concurrency limit cannot be less than 1")}if(!d){returny(null)}if(isAsyncGenerator(d)){returnasyncEachOfLimit(d,i,p,y)}if(isAsyncIterable(d)){returnasyncEachOfLimit(d[Symbol.asyncIterator](),i,p,y)}varv=createIterator(d);varD=false;varM=false;varV=0;varj=false;functioniterateeCallback(i,d){if(M)return;V-=1;if(i){D=true;y(i)}elseif(i===false){D=true;M=true}elseif(d===U||D&&V<=0){D=true;returny(null)}elseif(!j){replenish()}}functionreplenish(){j=true;while(V<i&&!D){vard=v();if(d===null){D=true;if(V<=0){y(null)}return}V+=1;p(d.value,d.key,onlyOnce(iterateeCallback))}j=false}replenish()};functioneachOfLimit(i,d,p,y){returneachOfLimit$2(d)(i,Line truncated
varp;(function(i){if(typeofDO_NOT_EXPORT_CRC==="undefined"){if(true){i(d)}else{}}else{i(p={})}})((function(i){i.version="1.2.2";functionsigned_crc_table(){vari=0,d=newArray(256);for(varp=0;p!=256;++p){i=p;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;d[p]=i}returntypeofInt32Array!=="undefined"?newInt32Array(d):d}vard=signed_crc_table();functionslice_by_16_tables(i){vard=0,p=0,y=0,v=typeofInt32Array!=="undefined"?newInt32Array(4096):newArray(4096);for(y=0;y!=256;++y)v[y]=i[y];for(y=0;y!=256;++y){p=i[y];for(d=256+y;d<4096;d+=256)p=v[d]=p>>>8^i[p&255]}varD=[];for(y=1;y!=16;++y)D[y-1]=typeofInt32Array!=="undefined"?v.subarray(y*256,y*256+256):v.slice(y*256,y*256+256);returnD}varp=slice_by_16_tables(d);vary=p[0],v=p[1],D=p[2],M=p[3],U=p[4];varV=p[5],j=p[6],K=p[7],ee=p[8],te=p[9];varre=p[10],ne=p[11],se=p[12],ie=p[13],oe=p[14];functioncrc32_bstr(i,p){vary=p^-1;for(varv=0,D=i.length;v<D;)y=y>>>8^d[(y^i.charCodeAt(v++))&255];return~y}functioncrc32_buf(i,p){varae=p^-1,Ae=i.length-15,ce=0;for(;ce<Ae;)ae=oe[i[ce++]^ae&255]^ie[i[ce++]^ae>>8&255]^se[i[ce++]^ae>>16&255]^ne[i[ce++]^ae>>>24]^re[i[ce++]]^te[i[ce++]]^ee[i[ce++]]^K[i[ce++]]^j[i[ce++]]^V[i[ce++]]^U[i[ce++]]^M[i[ce++]]^D[i[ce++]]^v[i[ce++]]^y[i[ce++]]^d[i[ce++]];Ae+=15;while(ce<Ae)ae=ae>>>8^d[(ae^i[ce++])&255];return~ae}functioncrc32_str(i,p){vary=p^-1;for(varv=0,D=i.length,M=0,U=0;v<D;){M=i.charCodeAt(v++);if(M<128){y=y>>>8^d[(y^M)&255]}elseif(M<2048){y=y>>>8^d[(y^(192|M>>6&31))&255];y=y>>>8^d[(y^(128|M&63))&255]}elseif(M>=55296&&M<57344){M=(M&1023)+64;U=i.charCodeAt(v++)&1023;y=y>>>8^d[(y^(240|M>>8&7))&255];y=y>>>8^d[(y^(128|M>>2&63))&255];y=y>>>8^d[(y^(128|U>>6&15|(M&3)<<4))&255];y=y>>>8^d[(y^(128|U&63))&255]}else{y=y>>>8^d[(y^(224|M>>12&15))&255];y=y>>>8^d[(y^(128|M>>6&63))&255];y=y>>>8^d[(y^(128|M&63))&255]}}return~y}i.table=d;i.bstr=crc32_bstr;i.buf=crc32_buf;i.str=crc32_str}))},94521:(i,d,p)=>{"use strict";const{Transform:y}=p(45193);constv=p(83201);classCRC32Streamextendsy{constructor(i){super(i);this.checksum=Buffer.allocUnsafe(4);this.checksum.writeInt32BE(0,0);this.rawSize=0}_transform(i,d,p){if(i){this.checksum=v.buf(i,this.checksum)>>>0;this.rawSize+=i.length}p(null,i)}digest(i){constd=Buffer.allocUnsafe(4);d.writeUInt32BE(this.checksum>>>0,0);returni?d.toString(i):d}hex(){returnthis.digest("hex").toUpperCase()}size(){returnthis.rawSize}}i.exports=CRC32Stream},92563:(i,d,p)=>{"use strict";const{DeflateRaw:y}=p(59796);constv=p(83201);classDeflateCRC32Streamextendsy{constructor(i){super(i);this.checksum=Buffer.allocUnsafe(4);this.checksum.writeInt32BE(0,0);this.rawSize=0;this.compressedSize=0}push(i,d){if(i){this.compressedSize+=i.length}returnsuper.push(i,d)}_transform(i,d,p){if(i){this.checksum=v.buf(i,this.checksum)>>>0;this.rawSize+=i.length}super._transform(i,d,p)}digest(i){constd=Buffer.allocUnsafe(4);d.writeUInt32BE(this.checksum>>>0,0);returni?d.toString(i):d}hex(){returnthis.digest("hex").toUpperCase()}size(i=false){if(i){returnthis.compressedSize}else{returnthis.rawSize}}}i.exports=DeflateCRC32Stream},5101:(i,d,p)=>{"use strict";i.exports={CRC32Stream:p(94521),DeflateCRC32Stream:p(92563)}},28222:(i,d,p)=>{d.formatArgs=formatArgs;d.save=save;d.load=load;d.useColors=useColors;d.storage=localstorage();d.destroy=(()=>{leti=false;return()=>{if(!i){i=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`.")}}})();d.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!=="Line truncated
/*! https://mths.be/he v1.2.0 by @mathias | MIT license */(function(p){vary=true&&d;varv=true&&i&&i.exports==y&&i;varD=typeofglobal=="object"&&global;if(D.global===D||D.window===D){p=D}varM=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;varU=/[\x01-\x7F]/g;varV=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g;varj=/<\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;varK={"":"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
*/function isObject(i){return Object.prototype.toString.call(i)==="[object Object]"}function isPlainObject(i){var d,p;if(isObject(i)===false)return false;d=i.constructor;if(d===undefined)return true;p=d.prototype;if(isObject(p)===false)return false;if(p.hasOwnProperty("isPrototypeOf")===false){return false}return true}d.isPlainObject=isPlainObject},41554:i=>{"use strict";const isStream=i=>i!==null&&typeof i==="object"&&typeof i.pipe==="function";isStream.writable=i=>isStream(i)&&i.writable!==false&&typeof i._write==="function"&&typeof i._writableState==="object";isStream.readable=i=>isStream(i)&&i.readable!==false&&typeof i._read==="function"&&typeof i._readableState==="object";isStream.duplex=i=>isStream.writable(i)&&isStream.readable(i);isStream.transform=i=>isStream.duplex(i)&&typeof i._transform==="function";i.exports=isStream},20893:i=>{var d={}.toString;i.exports=Array.isArray||function(i){return d.call(i)=="[object Array]"}},21917:(i,d,p)=>{"use strict";var y=p(51161);var v=p(68866);function renamed(i,d){return function(){throw new Error("Function yaml."+i+" is removed in js-yaml 4. "+"Use yaml."+d+" instead, which is now safe by default.")}}i.exports.Type=p(6073);i.exports.Schema=p(21082);i.exports.FAILSAFE_SCHEMA=p(28562);i.exports.JSON_SCHEMA=p(1035);i.exports.CORE_SCHEMA=p(12011);i.exports.DEFAULT_SCHEMA=p(18759);i.exports.load=y.load;i.exports.loadAll=y.loadAll;i.exports.dump=v.dump;i.exports.YAMLException=p(68179);i.exports.types={binary:p(77900),float:p(42705),map:p(86150),null:p(20721),pairs:p(96860),set:p(79548),timestamp:p(99212),bool:p(64993),int:p(11615),merge:p(86104),omap:p(19046),seq:p(67283),str:p(23619)};i.exports.safeLoad=renamed("safeLoad","load");i.exports.safeLoadAll=renamed("safeLoadAll","loadAll");i.exports.safeDump=renamed("safeDump","dump")},26829:i=>{"use strict";function isNothing(i){return typeof i==="undefined"||i===null}function isObject(i){return typeof i==="object"&&i!==null}function toArray(i){if(Array.isArray(i))return i;else if(isNothing(i))return[];return[i]}function extend(i,d){var p,y,v,D;if(d){D=Object.keys(d);for(p=0,y=D.length;p<y;p+=1){v=D[p];i[v]=d[v]}}return i}function repeat(i,d){var p="",y;for(y=0;y<d;y+=1){p+=i}return p}function isNegativeZero(i){return i===0&&Number.NEGATIVE_INFINITY===1/i}i.exports.isNothing=isNothing;i.exports.isObject=isObject;i.exports.toArray=toArray;i.exports.repeat=repeat;i.exports.isNegativeZero=isNegativeZero;i.exports.extend=extend},68866:(i,d,p)=>{"use strict";vary=p(26829);varv=p(68179);varD=p(18759);varM=Object.prototype.toString;varU=Object.prototype.hasOwnProperty;varV=65279;varj=9;varK=10;varee=13;varte=32;varre=33;varne=34;varse=35;varie=37;varoe=38;varae=39;varAe=42;varce=44;varle=45;varde=58;varue=61;varpe=62;varge=63;varhe=64;varme=91;varfe=93;varEe=96;varCe=123;varye=124;varIe=125;varBe={};Be[0]="\\0";Be[7]="\\a";Be[8]="\\b";Be[9]="\\t";Be[10]="\\n";Be[11]="\\v";Be[12]="\\f";Be[13]="\\r";Be[27]="\\e";Be[34]='\\"';Be[92]="\\\\";Be[133]="\\N";Be[160]="\\_";Be[8232]="\\L";Be[8233]="\\P";varbe=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];varQe=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;functioncompileStyleMap(i,d){varp,y,v,D,M,V,j;if(d===null)return{};p={};y=Object.keys(d);for(v=0,D=y.length;v<D;v+=1){M=y[v];V=String(d[M]);if(M.slice(0,2)==="!!"){M="tag:yaml.org,2002:"+M.slice(2)}j=i.compiledTypeMap["fallback"][M];if(j&&U.call(j.styleAliases,V)){V=j.styleAliases[V]}p[M]=V}returnp}functionencodeHex(i){vard,p,D;d=i.toString(16).toUpperCase();if(i<=255){p="x";D=2}elseif(i<=65535){p="u";D=4}elseif(i<=4294967295){p="U";D=8}else{thrownewv("code point within a string may not be greater than 0xFFFFFFFF")}return"\\"+p+y.repeat("0",D-d.length)+d}varwe=1,ve=2;functionState(i){this.schema=i["schema"]||D;this.indent=Math.max(1,i["indent"]||2);this.noArrayIndent=i["noArrayIndent"]||false;this.skipInvalid=i["skipInvalid"]||false;this.flowLevel=y.isNothing(i["flowLevel"])?-1:i["flowLevel"];this.styleMap=compileStyleMap(this.schema,i["styles"]||null);this.sortKeys=i["sortKeys"]||false;this.lineWidth=i["lineWidth"]||80;this.noRefs=i["noRefs"]||false;this.noCompatMode=i["noCompatMode"]||false;this.condenseFlow=i["condenseFlow"]||false;this.quotingType=i["quotingType"]==='"'?ve:we;this.forceQuotes=i["forceQuotes"]||false;this.replacer=typeofi["replacer"]==="function"?i["replacer"]:null;this.implicitTypes=this.schema.compiledImplicit;this.explicitTypes=this.schema.compiledExplicit;this.tag=null;this.result="";this.duplicates=[];this.usedDuplicates=null}functionindentString(i,d){varp=y.repeat(" ",d),v=0,D=-1,M="",U,V=i.length;while(v<V){D=i.indexOf("\n",v);if(D===-1){U=i.slice(v);v=V}else{U=i.slice(v,D+1);v=D+1}if(U.length&&U!=="\n")M+=p;M+=U}returnM}functiongenerateNextLine(i,d){return"\n"+y.repeat(" ",i.indent*d)}functiontestImplicitResolving(i,d){varp,y,v;for(p=0,y=i.implicitTypes.length;p<y;p+=1){v=i.implicitTypes[p];if(v.resolve(d)){returntrue}Line truncated
/*!
*mime-db
*Copyright(c)2014JonathanOng
*Copyright(c)2015-2022DouglasChristopherWilson
*MITLicensed
*/
i.exports=p(53765)},43583:(i,d,p)=>{"use strict";
/*!
*mime-types
*Copyright(c)2014JonathanOng
*Copyright(c)2015DouglasChristopherWilson
*MITLicensed
*/var y=p(47426);var v=p(71017).extname;var D=/^\s*([^;\s]*)(?:;|\s|$)/;varM=/^text\//i;d.charset=charset;d.charsets={lookup:charset};d.contentType=contentType;d.extension=extension;d.extensions=Object.create(null);d.lookup=lookup;d.types=Object.create(null);populateMaps(d.extensions,d.types);functioncharset(i){if(!i||typeofi!=="string"){returnfalse}vard=D.exec(i);varp=d&&y[d[1].toLowerCase()];if(p&&p.charset){returnp.charset}if(d&&M.test(d[1])){return"UTF-8"}returnfalse}functioncontentType(i){if(!i||typeofi!=="string"){returnfalse}varp=i.indexOf("/")===-1?d.lookup(i):i;if(!p){returnfalse}if(p.indexOf("charset")===-1){vary=d.charset(p);if(y)p+="; charset="+y.toLowerCase()}returnp}functionextension(i){if(!i||typeofi!=="string"){returnfalse}varp=D.exec(i);vary=p&&d.extensions[p[1].toLowerCase()];if(!y||!y.length){returnfalse}returny[0]}functionlookup(i){if(!i||typeofi!=="string"){returnfalse}varp=v("x."+i).toLowerCase().substr(1);if(!p){returnfalse}returnd.types[p]||false}functionpopulateMaps(i,d){varp=["nginx","apache",undefined,"iana"];Object.keys(y).forEach((functionforEachMimeType(v){varD=y[v];varM=D.extensions;if(!M||!M.length){return}i[v]=M;for(varU=0;U<M.length;U++){varV=M[U];if(d[V]){varj=p.indexOf(y[d[V]].source);varK=p.indexOf(D.source);if(d[V]!=="application/octet-stream"&&(j>K||j===K&&d[V].substr(0,12)==="application/")){continue}}d[V]=v}}))}},83973:(i,d,p)=>{i.exports=minimatch;minimatch.Minimatch=Minimatch;vary=function(){try{returnp(71017)}catch(i){}}()||{sep:"/"};minimatch.sep=y.sep;varv=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};varD=p(48184);varM={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};varU="[^/]";varV=U+"*?";varj="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";varK="(?:(?!(?:\\/|^)\\.).)*?";varee=charSet("().*{}+?[]^$\\!");functioncharSet(i){returni.split("").reduce((function(i,d){i[d]=true;returni}),{})}varte=/\/+/;minimatch.filter=filter;functionfilter(i,d){d=d||{};returnfunction(p,y,v){returnminimatch(p,i,d)}}functionext(i,d){d=d||{};varp={};Object.keys(i).forEach((function(d){p[d]=i[d]}));Object.keys(d).forEach((function(i){p[i]=d[i]}));returnp}minimatch.defaults=function(i){if(!i||typeofi!=="object"||!Object.keys(i).length){returnminimatch}vard=minimatch;varp=functionminimatch(p,y,v){returnd(p,y,ext(i,v))};p.Minimatch=functionMinimatch(p,y){returnnewd.Minimatch(p,ext(i,y))};p.Minimatch.defaults=functiondefaults(p){returnd.defaults(ext(i,p)).Minimatch};p.filter=functionfilter(p,y){returnd.filter(p,ext(i,y))};p.defaults=functiondefaults(p){returnd.defaults(ext(i,p))};p.makeRe=functionmakeRe(p,y){returnd.makeRe(p,ext(i,y))};p.braceExpand=functionbraceExpand(p,y){returnd.braceExpand(p,ext(i,y))};p.match=function(p,y,v){returnd.match(p,y,ext(i,v))};returnp};Minimatch.defaults=function(i){returnminimatch.defaults(i).Minimatch};functionminimatch(i,d,p){assertValidPattern(d);if(!p)p={};if(!p.nocomment&&d.charAt(0)==="#"){returnfalse}returnnewMinimatch(d,p).match(i)}functionMinimatch(i,d){if(!(thisinstanceofMinimatch)){returnnewMinimatch(i,d)}assertValidPattern(i);if(!d)d={};i=i.trim();if(!d.allowWindowsEscape&&y.sep!=="/"){i=i.split(y.sep).join("/")}this.options=d;this.set=[];this.pattern=i;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.partial=!!d.partial;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;functionmake(){vari=this.pattern;vard=this.options;if(!d.nocomment&&i.charAt(0)==="#"){this.comment=true;return}if(!i){this.empty=true;return}this.parseNegate();varp=this.globSet=this.braceExpand();if(d.debug)this.debug=functiondebug(){console.error.apply(console,arguments)};this.debug(this.pattern,p);p=this.globParts=p.map((function(i){returni.split(te)}));this.debug(this.pattern,p);p=p.map((function(i,d,p){returni.map(this.parse,this)}),this);this.debug(this.pattern,p);p=p.filter((function(i){returni.indexOf(false)===-1}));this.debug(this.pattern,p);this.set=p}Minimatch.prototype.parseNegate=parseNegate;functionparseNegate(){vari=this.pattern;vard=false;varp=this.options;vary=0;if(p.nonegate)return;for(varv=0,D=i.length;v<D&&i.charAt(v)==="!";v++){d=!d;y++}if(y)this.pattern=i.substr(y);this.negate=d}minimatch.braceExpand=function(i,d){returnbraceExpand(i,d)};Minimatch.prototype.braceExpand=braceExpand;functionbraceExpand(i,d){if(!d){if(thisinstanceofMinimatch){d=this.options}else{d={}}}i=typeofi==="undefined"?this.pattern:i;assertValidPattern(i);if(d.nobrace||!/\{(?:(?!\{).)*\}/.test(i)){return[i]}returnD(i)}varre=1024*64;varassertValidPattern=function(i){if(typeofi!=="string"){thrownewTypeError("invalid pattern")}if(i.length>re){thrownewTypeError("pattern is too long")}};Minimatch.prototype.parse=parse;varne={};functionparse(i,d){assertValidPattern(i);varp=this.options;if(i==="**"){if(!p.noglobstar)returnv;eLine truncated
i.exports=function(i,d){if(typeofi!=="string"){thrownewTypeError("expected path to be a string")}if(i==="\\"||i==="/")return"/";varp=i.length;if(p<=1)returni;vary="";if(p>4&&i[3]==="\\"){varv=i[2];if((v==="?"||v===".")&&i.slice(0,2)==="\\\\"){i=i.slice(2);y="//"}}varD=i.split(/[/\\]+/);if(d!==false&&D[D.length-1]===""){D.pop()}returny+D.join("/")}},1223:(i,d,p)=>{vary=p(62940);i.exports=y(once);i.exports.strict=y(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(i){varf=function(){if(f.called)returnf.value;f.called=true;returnf.value=i.apply(this,arguments)};f.called=false;returnf}functiononceStrict(i){varf=function(){if(f.called)thrownewError(f.onceError);f.called=true;returnf.value=i.apply(this,arguments)};vard=i.name||"Function wrapped with `once`";f.onceError=d+" shouldn't be called more than once";f.called=false;returnf}},47810:i=>{"use strict";if(typeofprocess==="undefined"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0){i.exports={nextTick:nextTick}}else{i.exports=process}functionnextTick(i,d,p,y){if(typeofi!=="function"){thrownewTypeError('"callback" argument must be a function')}varv=arguments.length;varD,M;switch(v){case0:case1:returnprocess.nextTick(i);case2:returnprocess.nextTick((functionafterTickOne(){i.call(null,d)}));case3:returnprocess.nextTick((functionafterTickTwo(){i.call(null,d,p)}));case4:returnprocess.nextTick((functionafterTickThree(){i.call(null,d,p,y)}));default:D=newArray(v-1);M=0;while(M<D.length){D[M++]=arguments[M]}returnprocess.nextTick((functionafterTick(){i.apply(null,D)}))}}},45676:i=>{i.exports=global.process},5322:(i,d,p)=>{i.exports=typeofprocess!=="undefined"&&typeofprocess.nextTick==="function"?process.nextTick.bind(process):p(71031)},71031:i=>{i.exports=typeofqueueMicrotask==="function"?queueMicrotask:i=>Promise.resolve().then(i)},80289:(i,d,p)=>{"use strict";const{SymbolDispose:y}=p(89629);const{AbortError:v,codes:D}=p(80529);const{isNodeStream:M,isWebStream:U,kControllerErrorFunction:V}=p(27981);constj=p(76080);const{ERR_INVALID_ARG_TYPE:K}=D;letee;constvalidateAbortSignal=(i,d)=>{if(typeofi!=="object"||!("aborted"ini)){thrownewK(d,"AbortSignal",i)}};i.exports.addAbortSignal=functionaddAbortSignal(d,p){validateAbortSignal(d,"signal");if(!M(p)&&!U(p)){thrownewK("stream",["ReadableStream","WritableStream","Stream"],p)}returni.exports.addAbortSignalNoValidate(d,p)};i.exports.addAbortSignalNoValidate=function(i,d){if(typeofi!=="object"||!("aborted"ini)){returnd}constD=M(d)?()=>{d.destroy(newv(undefined,{cause:i.reason}))}:()=>{d[V](newv(undefined,{cause:i.reason}))};if(i.aborted){D()}else{ee=ee||p(46959).addAbortListener;constv=ee(i,D);j(d,v[y])}returnd}},52746:(i,d,p)=>{"use strict";const{StringPrototypeSlice:y,SymbolIterator:v,TypedArrayPrototypeSet:D,Uint8Array:M}=p(89629);const{Buffer:U}=p(14300);const{inspect:V}=p(46959);i.exports=classBufferList{constructor(){this.head=null;this.tail=null;this.length=0}push(i){constd={data:i,next:null};if(this.length>0)this.tail.next=d;elsethis.head=d;this.tail=d;++this.length}unshift(i){constd={data:i,next:this.head};if(this.length===0)this.tail=d;this.head=d;++this.length}shift(){if(this.length===0)return;consti=this.head.data;if(this.length===1)this.head=this.tail=null;elsethis.head=this.head.next;--this.length;returni}clear(){this.head=this.tail=null;this.length=0}join(i){if(this.length===0)return"";letd=this.head;letp=""+d.data;while((d=d.next)!==null)p+=i+d.data;returnp}concat(i){if(this.length===0)returnU.alloc(0);constd=U.allocUnsafe(i>>>0);letp=this.head;lety=0;while(p){D(d,p.data,y);y+=p.data.length;p=p.next}returnd}consume(i,d){constp=this.head.data;if(i<p.length){constd=p.slice(0,i);this.head.data=p.slice(i);returnd}if(i===p.length){returnthis.shift()}returnd?this._getString(i):this._getBuffer(i)}first(){returnthis.head.data}*[v](){for(leti=this.head;i;i=i.next){yieldi.data}}_getString(i){letd="";letp=this.head;letv=0;do{constD=p.data;if(i>D.length){d+=D;i-=D.length}else{if(i===D.length){d+=D;++v;if(p.next)this.head=p.next;elsethis.head=this.tail=null}else{d+=y(D,0,i);this.head=p;p.data=y(D,i)}break}++v}while((p=p.next)!==null);this.length-=v;returnd}_getBuffer(i){constd=U.allocUnsafe(i);constp=i;lety=this.head;letv=0;do{constU=y.data;if(i>U.length){D(d,U,p-i);i-=U.length}else{if(i===U.length){D(d,U,p-i);++v;if(y.next)this.head=y.next;elsethis.head=this.tail=null}else{D(d,newM(U.buffer,U.byteOffset,i),p-i);this.head=y;y.data=U.slice(i)}break}++v}while((y=y.next)!==null);this.length-=v;returnd}[Symbol.for("nodejs.util.inspect.custom")](i,d){returnV(this,{...d,depth:0,customInspect:false})}}},63129:(i,d,p)=>{"usesLine truncated
/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */if(!String.fromCodePoint){(function(){vari=String.fromCharCode;vard=Math.floor;varfromCodePoint=function(){varp=16384;vary=[];varv;varD;varM=-1;varU=arguments.length;if(!U){return""}varV="";while(++M<U){varj=Number(arguments[M]);if(!isFinite(j)||j<0||j>1114111||d(j)!==j){throwRangeError("Invalid code point: "+j)}if(j<=65535){y.push(j)}else{j-=65536;v=(j>>10)+55296;D=j%1024+56320;y.push(v,D)}if(M+1===U||y.length>p){V+=i.apply(null,y);y.length=0}}returnV};if(Object.defineProperty){Object.defineProperty(String,"fromCodePoint",{value:fromCodePoint,configurable:true,writable:true})}else{String.fromCodePoint=fromCodePoint}})()}})(false?0:d)},85911:(i,d)=>{d=i.exports=SemVer;varp;if(typeofprocess==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){p=function(){vari=Array.prototype.slice.call(arguments,0);i.unshift("SEMVER");console.log.apply(console,i)}}else{p=function(){}}d.SEMVER_SPEC_VERSION="2.0.0";vary=256;varv=Number.MAX_SAFE_INTEGER||9007199254740991;varD=16;varM=y-6;varU=d.re=[];varV=d.safeRe=[];varj=d.src=[];varK=d.tokens={};varee=0;functiontok(i){K[i]=ee++}varte="[a-zA-Z0-9-]";varre=[["\\s",1],["\\d",y],[te,M]];functionmakeSafeRe(i){for(vard=0;d<re.length;d++){varp=re[d][0];vary=re[d][1];i=i.split(p+"*").join(p+"{0,"+y+"}").split(p+"+").join(p+"{1,"+y+"}")}returni}tok("NUMERICIDENTIFIER");j[K.NUMERICIDENTIFIER]="0|[1-9]\\d*";tok("NUMERICIDENTIFIERLOOSE");j[K.NUMERICIDENTIFIERLOOSE]="\\d+";tok("NONNUMERICIDENTIFIER");j[K.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+te+"*";tok("MAINVERSION");j[K.MAINVERSION]="("+j[K.NUMERICIDENTIFIER]+")\\."+"("+j[K.NUMERICIDENTIFIER]+")\\."+"("+j[K.NUMERICIDENTIFIER]+")";tok("MAINVERSIONLOOSE");j[K.MAINVERSIONLOOSE]="("+j[K.NUMERICIDENTIFIERLOOSE]+")\\."+"("+j[K.NUMERICIDENTIFIERLOOSE]+")\\."+"("+j[K.NUMERICIDENTIFIERLOOSE]+")";tok("PRERELEASEIDENTIFIER");j[K.PRERELEASEIDENTIFIER]="(?:"+j[K.NUMERICIDENTIFIER]+"|"+j[K.NONNUMERICIDENTIFIER]+")";tok("PRERELEASEIDENTIFIERLOOSE");j[K.PRERELEASEIDENTIFIERLOOSE]="(?:"+j[K.NUMERICIDENTIFIERLOOSE]+"|"+j[K.NONNUMERICIDENTIFIER]+")";tok("PRERELEASE");j[K.PRERELEASE]="(?:-("+j[K.PRERELEASEIDENTIFIER]+"(?:\\."+j[K.PRERELEASEIDENTIFIER]+")*))";tok("PRERELEASELOOSE");j[K.PRERELEASELOOSE]="(?:-?("+j[K.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+j[K.PRERELEASEIDENTIFIERLOOSE]+")*))";tok("BUILDIDENTIFIER");j[K.BUILDIDENTIFIER]=te+"+";tok("BUILD");j[K.BUILD]="(?:\\+("+j[K.BUILDIDENTIFIER]+"(?:\\."+j[K.BUILDIDENTIFIER]+")*))";tok("FULL");tok("FULLPLAIN");j[K.FULLPLAIN]="v?"+j[K.MAINVERSION]+j[K.PRERELEASE]+"?"+j[K.BUILD]+"?";j[K.FULL]="^"+j[K.FULLPLAIN]+"$";tok("LOOSEPLAIN");j[K.LOOSEPLAIN]="[v=\\s]*"+j[K.MAINVERSIONLOOSE]+j[K.PRERELEASELOOSE]+"?"+j[K.BUILD]+"?";tok("LOOSE");j[K.LOOSE]="^"+j[K.LOOSEPLAIN]+"$";tok("GTLT");j[K.GTLT]="((?:<|>)?=?)";tok("XRANGEIDENTIFIERLOOSE");j[K.XRANGEIDENTIFIERLOOSE]=j[K.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";tok("XRANGEIDENTIFIER");j[K.XRANGEIDENTIFIER]=j[K.NUMERICIDENTIFIER]+"|x|X|\\*";tok("XRANGEPLAIN");j[K.XRANGEPLAIN]="[v=\\s]*("+j[K.XRANGEIDENTIFIER]+")"+"(?:\\.("+j[K.XRANGEIDENTIFIER]+")"+"(?:\\.("+j[K.XRANGEIDENTIFIER]+")"+"(?:"+j[K.PRERELEASE]+")?"+j[K.BUILD]+"?"+")?)?";tok("XRANGEPLAINLOOSE");j[K.XRANGEPLAINLOOSE]="[v=\\s]*("+j[K.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+j[K.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+j[K.XRANGEIDENTIFIERLOOSE]+")"+"(?:"+j[K.PRERELEASELOOSE]+")?"+j[K.BUILD]+"?"+")?)?";tok("XRANGE");j[K.XRANGE]="^"+j[K.GTLT]+"\\s*"+j[K.XRANGEPLAIN]+"$";tok("XRANGELOOSE");j[K.XRANGELOOSE]="^"+j[K.GTLT]+"\\s*"+j[K.XRANGEPLAINLOOSE]+"$";tok("COERCE");j[K.COERCE]="(^|[^\\d])"+"(\\d{1,"+D+"})"+"(?:\\.(\\d{1,"+D+"}))?"+"(?:\\.(\\d{1,"+D+"}))?"+"(?:$|[^\\d])";tok("COERCERTL");U[K.COERCERTL]=newRegExp(j[K.COERCE],"g");V[K.COERCERTL]=newRegExp(makeSafeRe(j[K.COERCE]),"g");tok("LONETILDE");j[K.LONETILDE]="(?:~>?)";tok("TILDETRIM");j[K.TILDETRIM]="(\\s*)"+j[K.LONETILDE]+"\\s+";U[K.TILDETRIM]=newRegExp(j[K.TILDETRIM],"g");V[K.TILDETRIM]=newRegExp(makeSafeRe(j[K.TILDETRIM]),"g");varne="$1~";tok("TILDE");j[K.TILDE]="^"+j[K.LONETILDE]+j[K.XRANGEPLAIN]+"$";tok("TILDELOOSE");j[K.TILDELOOSE]="^"+j[K.LONETILDE]+j[K.XRANGEPLAINLOOSE]+"$";tok("LONECARET");j[K.LONECARET]="(?:\\^)";tok("CARETTRIM");j[K.CARETTRIM]="(\\s*)"+j[K.LONECARET]+"\\s+";U[K.CARETTRIM]=newRegExp(j[K.CARETTRIM],"g");V[K.CARETTRIM]=newRegExp(makeSafeRe(j[K.CARETTRIM]),"g");varse="$1^";tok("CARET");j[K.CARET]="^"+j[K.LONECARET]+j[K.XRANGEPLAIN]+"$";tok("CARETLOOSE");j[K.CARETLOOSE]="^"+j[K.LONECARET]+j[K.XRANGEPLAINLOOSE]+"$";tok("COMPARATORLOOSE");j[K.COMPARATORLOOSE]="^"+j[K.GTLT]+"\\s*("+j[K.LOOSEPLAIN]+")$|^$";tok("COMPARATOR");j[K.COMPARATOR]="^"+j[K.GTLT]+"\\s*("+j[K.FULLPLAIN]+")$|^$";tok("COMPARATORTRIM");j[K.COMPARATORTRIM]="(\\s*)"+j[K.GTLT]+"\\s*("+j[K.LOOSEPLAIN]+"|"+j[K.XRANGEPLAIN]+")";U[K.COMPARATORTRIM]=newRegExp(j[K.COMPARATORTRIM],"g");V[K.COMPARATORTRIM]=newRegExp(makeSafeRe(j[K.COMPARATORTRIM]),"g");varie="$1Line truncated
consty=p(57147);constv=p(22037);constD=p(71017);constM=p(6113);constU={fs:y.constants,os:v.constants};constV="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",j=/XXXXXX/,K=3,ee=(U.O_CREAT||U.fs.O_CREAT)|(U.O_EXCL||U.fs.O_EXCL)|(U.O_RDWR||U.fs.O_RDWR),te=v.platform()==="win32",re=U.EBADF||U.os.errno.EBADF,ne=U.ENOENT||U.os.errno.ENOENT,se=448,ie=384,oe="exit",ae=[],Ae=y.rmdirSync.bind(y);letce=false;functionrimraf(i,d){returny.rm(i,{recursive:true},d)}functionFN_RIMRAF_SYNC(i){returny.rmSync(i,{recursive:true})}functiontmpName(i,d){constp=_parseArguments(i,d),v=p[0],D=p[1];try{_assertAndSanitizeOptions(v)}catch(i){returnD(i)}letM=v.tries;(function_getUniqueName(){try{consti=_generateTmpName(v);y.stat(i,(function(d){if(!d){if(M-->0)return_getUniqueName();returnD(newError("Could not get a unique tmp filename, max tries reached "+i))}D(null,i)}))}catch(i){D(i)}})()}functiontmpNameSync(i){constd=_parseArguments(i),p=d[0];_assertAndSanitizeOptions(p);letv=p.tries;do{consti=_generateTmpName(p);try{y.statSync(i)}catch(d){returni}}while(v-->0);thrownewError("Could not get a unique tmp filename, max tries reached")}functionfile(i,d){constp=_parseArguments(i,d),v=p[0],D=p[1];tmpName(v,(function_tmpNameCreated(i,d){if(i)returnD(i);y.open(d,ee,v.mode||ie,(function_fileCreated(i,p){if(i)returnD(i);if(v.discardDescriptor){returny.close(p,(function_discardCallback(i){returnD(i,d,undefined,_prepareTmpFileRemoveCallback(d,-1,v,false))}))}else{consti=v.discardDescriptor||v.detachDescriptor;D(null,d,p,_prepareTmpFileRemoveCallback(d,i?-1:p,v,false))}}))}))}functionfileSync(i){constd=_parseArguments(i),p=d[0];constv=p.discardDescriptor||p.detachDescriptor;constD=tmpNameSync(p);varM=y.openSync(D,ee,p.mode||ie);if(p.discardDescriptor){y.closeSync(M);M=undefined}return{name:D,fd:M,removeCallback:_prepareTmpFileRemoveCallback(D,v?-1:M,p,true)}}functiondir(i,d){constp=_parseArguments(i,d),v=p[0],D=p[1];tmpName(v,(function_tmpNameCreated(i,d){if(i)returnD(i);y.mkdir(d,v.mode||se,(function_dirCreated(i){if(i)returnD(i);D(null,d,_prepareTmpDirRemoveCallback(d,v,false))}))}))}functiondirSync(i){constd=_parseArguments(i),p=d[0];constv=tmpNameSync(p);y.mkdirSync(v,p.mode||se);return{name:v,removeCallback:_prepareTmpDirRemoveCallback(v,p,true)}}function_removeFileAsync(i,d){const_handler=function(i){if(i&&!_isENOENT(i)){returnd(i)}d()};if(0<=i[0])y.close(i[0],(function(){y.unlink(i[1],_handler)}));elsey.unlink(i[1],_handler)}function_removeFileSync(i){letd=null;try{if(0<=i[0])y.closeSync(i[0])}catch(i){if(!_isEBADF(i)&&!_isENOENT(i))throwi}finally{try{y.unlinkSync(i[1])}catch(i){if(!_isENOENT(i))d=i}}if(d!==null){throwd}}function_prepareTmpFileRemoveCallback(i,d,p,y){constv=_prepareRemoveCallback(_removeFileSync,[d,i],y);constD=_prepareRemoveCallback(_removeFileAsync,[d,i],y,v);if(!p.keep)ae.unshift(v);returny?v:D}function_prepareTmpDirRemoveCallback(i,d,p){constv=d.unsafeCleanup?rimraf:y.rmdir.bind(y);constD=d.unsafeCleanup?FN_RIMRAF_SYNC:Ae;constM=_prepareRemoveCallback(D,i,p);constU=_prepareRemoveCallback(v,i,p,M);if(!d.keep)ae.unshift(M);returnp?M:U}function_prepareRemoveCallback(i,d,p,y){letv=false;returnfunction_cleanupCallback(D){if(!v){constM=y||_cleanupCallback;constU=ae.indexOf(M);if(U>=0)ae.splice(U,1);v=true;if(p||i===Ae||i===FN_RIMRAF_SYNC){returni(d)}else{returni(d,D||function(){})}}}}function_garbageCollector(){if(!ce)return;while(ae.length){try{ae[0]()}catch(i){}}}function_randomChars(i){letd=[],p=null;try{p=M.randomBytes(i)}catch(d){p=M.pseudoRandomBytes(i)}for(vary=0;y<i;y++){d.push(V[p[y]%V.length])}returnd.join("")}function_isBlank(i){returni===null||_isUndefined(i)||!i.trim()}function_isUndefined(i){returntypeofi==="undefined"}function_parseArguments(i,d){if(typeofi==="function"){return[{},i]}if(_isUndefined(i)){return[{},d]}constp={};for(constdofObject.getOwnPropertyNames(i)){p[d]=i[d]}return[p,d]}function_generateTmpName(i){constd=i.tmpdir;if(!_isUndefined(i.name))returnD.join(d,i.dir,i.name);if(!_isUndefined(i.template))returnD.join(d,i.dir,i.template).replace(j,_randomChars(6));constp=[i.prefix?i.prefix:"tmp","-",process.pid,"-",_randomChars(12),i.postfix?"-"+i.postfix:""].join("");returnD.join(d,i.dir,p)}function_assertAndSanitizeOptions(i){i.tmpdir=_getTmpDir(i);constd=i.tmpdir;if(!_isUndefined(i.name))_assertIsRelative(i.name,"name",d);if(!_isUndefined(i.dir))_assertIsRelative(i.dir,"dir",d);if(!_isUndefined(i.template)){_assertIsRelative(i.template,"template",d);if(!i.template.match(j))thrownewError(`Invalid template, found "${i.template}".`)}if(!_isUndefined(i.tries)&&isNaN(i.tries)||i.tries<0)thrownewError(`Invalid tries, found "${i.tries}".`);i.tries=_isUndefined(i.name)?i.tries||K:1;i.keep=!!i.keep;i.detachDescriptor=!!i.detachDescriptor;i.discardDescriptor=!!i.discardDescriptor;i.unsafeCleanup=!!i.unsafeCleanup;i.dir=_isUndefined(i.dir)?"":D.relative(d,_resolvePath(i.dir,d));i.templateLine truncated
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */;constescape=i=>i.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");constnormalizeLinefeeds=i=>i.replace(/\r?\n|\r/g,"\r\n");consty=[];constv=newUint8Array([13,10]);ee=0;letD=false;for(const[d,M]ofi){if(typeofM==="string"){consti=fe.encode(p+`; name="${escape(normalizeLinefeeds(d))}"`+`\r\n\r\n${normalizeLinefeeds(M)}\r\n`);y.push(i);ee+=i.byteLength}else{consti=fe.encode(`${p}; name="${escape(normalizeLinefeeds(d))}"`+(M.name?`; filename="${escape(M.name)}"`:"")+"\r\n"+`Content-Type: ${M.type||"application/octet-stream"}\r\n\r\n`);y.push(i,M,v);if(typeofM.size==="number"){ee+=i.byteLength+M.size+v.byteLength}else{D=true}}}constM=fe.encode(`--${d}--`);y.push(M);ee+=M.byteLength;if(D){ee=null}K=i;j=asyncfunction*(){for(constiofy){if(i.stream){yield*i.stream()}else{yieldi}}};te="multipart/form-data; boundary="+d}elseif(M(i)){K=i;ee=i.size;if(i.type){te=i.type}}elseif(typeofi[Symbol.asyncIterator]==="function"){if(d){thrownewTypeError("keepalive")}if(v.isDisturbed(i)||i.locked){thrownewTypeError("Response body object should not be disturbed or locked")}y=iinstanceofhe?i:D(i)}if(typeofK==="string"||v.isBuffer(K)){ee=Buffer.byteLength(K)}if(j!=null){letd;y=newhe({asyncstart(){d=j(i)[Symbol.asyncIterator]()},asyncpull(i){const{value:p,done:v}=awaitd.next();if(v){queueMicrotask((()=>{i.close()}))}else{if(!ce(y)){i.enqueue(newUint8Array(p))}}returni.desiredSize>0},asynccancel(i){awaitd.return()},type:undefined})}constre={stream:y,source:K,length:ee};return[re,te]}functionsafelyExtractBody(i,d=false){if(!he){he=p(35356).ReadableStream}if(iinstanceofhe){Ae(!v.isDisturbed(i),"The body has already been consumed.");Ae(!i.locked,"The stream is locked.")}returnextractBody(i,d)}functioncloneBody(i){const[d,p]=i.stream.tee();consty=se(p,{transfer:[p]});const[,v]=y.tee();i.stream=d;return{stream:v,length:i.length,source:i.source}}asyncfunction*consumeBody(i){if(i){if(le(i)){yieldi}else{constd=i.stream;if(v.isDisturbed(d)){thrownewTypeError("The body has already been consumed.")}if(d.locked){thrownewTypeError("The stream is locked.")}d[ae]=true;yield*d}}}functionthrowIfAborted(i){if(i.aborted){thrownewne("The operation was aborted.","AbortError")}}functionbodyMixinMethods(i){constd={blob(){returnspecConsumeBody(this,(i=>{letd=bodyMimeType(this);if(d==="failure"){d=""}elseif(d){d=ge(d)}returnnewie([i],{type:d})}),i)},arrayBuffer(){returnspecConsumeBody(this,(i=>newUint8Array(i).buffer),i)},text(){returnspecConsumeBody(this,utf8DecodeBytes,i)},json(){returnspecConsumeBody(this,parseJSONFromBytes,i)},asyncformData(){re.brandCheck(this,i);throwIfAborted(this[te]);constd=this.headers.get("Content-Type");if(/multipart\/form-data/.test(d)){consti={};for(const[d,p]ofthis.headers)i[d.toLowerCase()]=p;constd=newee;letp;try{p=newy({headers:i,preservePath:true})}catch(i){thrownewne(`${i}`,"AbortError")}p.on("field",((i,p)=>{d.append(i,p)}));p.on("file",((i,p,y,v,D)=>{constM=[];if(v==="base64"||v.toLowerCase()==="base64"){letv="";p.on("data",(i=>{v+=i.toString().replace(/[\r\n]/gm,"");constd=v.length-v.length%4;M.push(Buffer.from(v.slice(0,d),"base64"));v=v.slice(d)}));p.on("end",(()=>{M.push(Buffer.from(v,"base64"));d.append(i,newme(M,y,{type:D}))}))}else{p.on("data",(i=>{M.push(i)}));p.on("end",(()=>{d.append(i,newme(M,y,{type:D}))}))}}));constv=newPromise(((i,d)=>{p.on("finish",i);p.on("error",(i=>d(newTypeError(i))))}));if(this.body!==null)forawait(constiofconsumeBody(this[te].body))p.write(i);p.end();awaitv;returnd}elseif(/application\/x-www-form-urlencoded/.test(d)){leti;try{letd="";constp=newTextDecoder("utf-8",{ignoreBOM:true});forawait(constiofconsumeBody(this[te].body)){if(!le(i)){thrownewTypeError("Expected Uint8Array chunk")}d+=p.decode(i,{stream:true})}d+=p.decode();i=newURLSearchParams(d)}catch(i){throwObject.assign(newTypeError,{cause:i})}constd=newee;for(const[p,y]ofi){d.append(p,y)}returnd}else{awaitPromise.resolve();throwIfAborted(this[te]);throwre.errors.exception({header:`${i.name}.formData`,message:"Could not parse content as FormData."})}}};returnd}functionmixinBody(i){Object.assign(i.prototype,bodyMixinMethods(i))}asyncfunctionspecConsumeBody(i,d,p){re.brandCheck(i,p);throwIfAborted(i[te]);if(bodyUnusable(i[te].body)){thrownewTypeError("Body is unusable")}consty=j();consterrorSteps=i=>y.reject(i);constsuccessSteps=i=>{try{y.resolve(d(i))}catch(i){errorSteps(i)}};if(i[te].body==null){successSteps(newUint8Array);returny.promise}awaitK(i[te].body,successSteps,errorSteps);returny.promise}functionbodyUnusable(i){returni!=null&&(i.stream.locked||v.isDisturbed(i.stream))}functionutf8DecodeBytes(i){if(i.length===0){return""}if(i[0]===239&&i[1]===187&&i[2]===191){i=i.subarray(3)}constd=Ee.decode(i);returnd}functionparseJSONFromBytes(i){returnJSON.parse(utf8DecodeBytes(i))}functionbodyMimeType(i){Line truncated
/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */D[v-4]=this.maskKey[0];D[v-3]=this.maskKey[1];D[v-2]=this.maskKey[2];D[v-1]=this.maskKey[3];D[1]=p;if(p===126){D.writeUInt16BE(d,2)}elseif(p===127){D[2]=D[3]=0;D.writeUIntBE(d,4,6)}D[1]|=128;for(leti=0;i<d;i++){D[v+i]=this.frameData[i]^this.maskKey[i%4]}returnD}}i.exports={WebsocketFrameSend:WebsocketFrameSend}},11688:(i,d,p)=>{"use strict";const{Writable:y}=p(12781);constv=p(67643);const{parserStates:D,opcodes:M,states:U,emptyBuffer:V}=p(19188);const{kReadyState:j,kSentClose:K,kResponse:ee,kReceivedClose:te}=p(37578);const{isValidStatusCode:re,failWebsocketConnection:ne,websocketMessageReceived:se}=p(25515);const{WebsocketFrameSend:ie}=p(25444);constoe={};oe.ping=v.channel("undici:websocket:ping");oe.pong=v.channel("undici:websocket:pong");classByteParserextendsy{#o=[];#a=0;#A=D.INFO;#c={};#l=[];constructor(i){super();this.ws=i}_write(i,d,p){this.#o.push(i);this.#a+=i.length;this.run(p)}run(i){while(true){if(this.#A===D.INFO){if(this.#a<2){returni()}constd=this.consume(2);this.#c.fin=(d[0]&128)!==0;this.#c.opcode=d[0]&15;this.#c.originalOpcode??=this.#c.opcode;this.#c.fragmented=!this.#c.fin&&this.#c.opcode!==M.CONTINUATION;if(this.#c.fragmented&&this.#c.opcode!==M.BINARY&&this.#c.opcode!==M.TEXT){ne(this.ws,"Invalid frame type was fragmented.");return}constp=d[1]&127;if(p<=125){this.#c.payloadLength=p;this.#A=D.READ_DATA}elseif(p===126){this.#A=D.PAYLOADLENGTH_16}elseif(p===127){this.#A=D.PAYLOADLENGTH_64}if(this.#c.fragmented&&p>125){ne(this.ws,"Fragmented frame exceeded 125 bytes.");return}elseif((this.#c.opcode===M.PING||this.#c.opcode===M.PONG||this.#c.opcode===M.CLOSE)&&p>125){ne(this.ws,"Payload length for control frame exceeded 125 bytes.");return}elseif(this.#c.opcode===M.CLOSE){if(p===1){ne(this.ws,"Received close frame with a 1-byte body.");return}consti=this.consume(p);this.#c.closeInfo=this.parseCloseBody(false,i);if(!this.ws[K]){consti=Buffer.allocUnsafe(2);i.writeUInt16BE(this.#c.closeInfo.code,0);constd=newie(i);this.ws[ee].socket.write(d.createFrame(M.CLOSE),(i=>{if(!i){this.ws[K]=true}}))}this.ws[j]=U.CLOSING;this.ws[te]=true;this.end();return}elseif(this.#c.opcode===M.PING){constd=this.consume(p);if(!this.ws[te]){consti=newie(d);this.ws[ee].socket.write(i.createFrame(M.PONG));if(oe.ping.hasSubscribers){oe.ping.publish({payload:d})}}this.#A=D.INFO;if(this.#a>0){continue}else{i();return}}elseif(this.#c.opcode===M.PONG){constd=this.consume(p);if(oe.pong.hasSubscribers){oe.pong.publish({payload:d})}if(this.#a>0){continue}else{i();return}}}elseif(this.#A===D.PAYLOADLENGTH_16){if(this.#a<2){returni()}constd=this.consume(2);this.#c.payloadLength=d.readUInt16BE(0);this.#A=D.READ_DATA}elseif(this.#A===D.PAYLOADLENGTH_64){if(this.#a<8){returni()}constd=this.consume(8);constp=d.readUInt32BE(0);if(p>2**31-1){ne(this.ws,"Received payload length > 2^31 bytes.");return}consty=d.readUInt32BE(4);this.#c.payloadLength=(p<<8)+y;this.#A=D.READ_DATA}elseif(this.#A===D.READ_DATA){if(this.#a<this.#c.payloadLength){returni()}elseif(this.#a>=this.#c.payloadLength){consti=this.consume(this.#c.payloadLength);this.#l.push(i);if(!this.#c.fragmented||this.#c.fin&&this.#c.opcode===M.CONTINUATION){consti=Buffer.concat(this.#l);se(this.ws,this.#c.originalOpcode,i);this.#c={};this.#l.length=0}this.#A=D.INFO}}if(this.#a>0){continue}else{i();break}}}consume(i){if(i>this.#a){returnnull}elseif(i===0){returnV}if(this.#o[0].length===i){this.#a-=this.#o[0].length;returnthis.#o.shift()}constd=Buffer.allocUnsafe(i);letp=0;while(p!==i){consty=this.#o[0];const{length:v}=y;if(v+p===i){d.set(this.#o.shift(),p);break}elseif(v+p>i){d.set(y.subarray(0,i-p),p);this.#o[0]=y.subarray(i-p);break}else{d.set(this.#o.shift(),p);p+=y.length}}this.#a-=i;returnd}parseCloseBody(i,d){letp;if(d.length>=2){p=d.readUInt16BE(0)}if(i){if(!re(p)){returnnull}return{code:p}}lety=d.subarray(2);if(y[0]===239&&y[1]===187&&y[2]===191){y=y.subarray(3)}if(p!==undefined&&!re(p)){returnnull}try{y=newTextDecoder("utf-8",{fatal:true}).decode(y)}catch{returnnull}return{code:p,reason:y}}getclosingInfo(){returnthis.#c.closeInfo}}i.exports={ByteParser:ByteParser}},37578:i=>{"use strict";i.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:(i,d,p)=>{"use strict";const{kReadyState:y,kController:v,kResponse:D,kBinaryType:M,kWebSocketURL:U}=p(37578);const{states:V,opcodes:j}=p(19188);const{MessageEvent:K,ErrorEvent:ee}=p(52611);functionisEstablished(i){returni[y]===V.OPEN}functionisClosing(i){returni[y]===V.CLOSING}functionisClosed(i){returni[y]===V.CLOSED}functionfireEvent(i,d,p=Event,y){constv=newp(i,y);d.dispatchEvent(v)}functionwebsocketMessageReceived(i,d,p){if(i[y]!==V.OPEN){return}letv;if(d===j.TEXT){try{v=newTexLine truncated
vary=p(73837).inherits;varv=p(25445).ZipArchiveOutputStream;varD=p(25445).ZipArchiveEntry;varM=p(82072);varU=i.exports=function(i){if(!(thisinstanceofU)){returnnewU(i)}i=this.options=i||{};i.zlib=i.zlib||{};v.call(this,i);if(typeofi.level==="number"&&i.level>=0){i.zlib.level=i.level;deletei.level}if(!i.forceZip64&&typeofi.zlib.level==="number"&&i.zlib.level===0){i.store=true}i.namePrependSlash=i.namePrependSlash||false;if(i.comment&&i.comment.length>0){this.setComment(i.comment)}};y(U,v);U.prototype._normalizeFileData=function(i){i=M.defaults(i,{type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:""});vard=i.type==="directory";varp=i.type==="symlink";if(i.name){i.name=M.sanitizePath(i.name);if(!p&&i.name.slice(-1)==="/"){d=true;i.type="directory"}elseif(d){i.name+="/"}}if(d||p){i.store=true}i.date=M.dateify(i.date);returni};U.prototype.entry=function(i,d,p){if(typeofp!=="function"){p=this._emitErrorCallback.bind(this)}d=this._normalizeFileData(d);if(d.type!=="file"&&d.type!=="directory"&&d.type!=="symlink"){p(newError(d.type+" entries not currently supported"));return}if(typeofd.name!=="string"||d.name.length===0){p(newError("entry name must be a non-empty string value"));return}if(d.type==="symlink"&&typeofd.linkname!=="string"){p(newError("entry linkname must be a non-empty string value when type equals symlink"));return}vary=newD(d.name);y.setTime(d.date,this.options.forceLocalTime);if(d.namePrependSlash){y.setName(d.name,true)}if(d.store){y.setMethod(0)}if(d.comment.length>0){y.setComment(d.comment)}if(d.type==="symlink"&&typeofd.mode!=="number"){d.mode=40960}if(typeofd.mode==="number"){if(d.type==="symlink"){d.mode|=40960}y.setUnixMode(d.mode)}if(d.type==="symlink"&&typeofd.linkname==="string"){i=Buffer.from(d.linkname)}returnv.prototype.entry.call(this,y,i,p)};U.prototype.finalize=function(){this.finish()}},36949:function(i,d,p){"use strict";vary=this&&this.__createBinding||(Object.create?function(i,d,p,y){if(y===undefined)y=p;varv=Object.getOwnPropertyDescriptor(d,p);if(!v||("get"inv?!d.__esModule:v.writable||v.configurable)){v={enumerable:true,get:function(){returnd[p]}}}Object.defineProperty(i,y,v)}:function(i,d,p,y){if(y===undefined)y=p;i[y]=d[p]});varv=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});varD=this&&this.__importStar||function(i){if(i&&i.__esModule)returni;vard={};if(i!=null)for(varpini)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))y(d,i,p);v(d,i);returnd};varM=this&&this.__awaiter||function(i,d,p,y){functionadopt(i){returniinstanceofp?i:newp((function(d){d(i)}))}returnnew(p||(p=Promise))((function(p,v){functionfulfilled(i){try{step(y.next(i))}catch(i){v(i)}}functionrejected(i){try{step(y["throw"](i))}catch(i){v(i)}}functionstep(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((y=y.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.getRegistriesData=d.getAccountIDs=d.getRegion=d.isPubECR=d.isECR=void0;constU=D(p(42186));constV=p(8923);constj=p(42308);constK=p(20258);constee=p(23764);constte=p(77219);constre=/^(([0-9]{12})\.(dkr\.ecr|dkr-ecr)\.(.+)\.(on\.aws|amazonaws\.com(.cn)?))(\/([^:]+)(:.+)?)?$/;constne=/public\.ecr\.aws|ecr-public\.aws\.com/;constisECR=i=>re.test(i)||(0,d.isPubECR)(i);d.isECR=isECR;constisPubECR=i=>ne.test(i);d.isPubECR=isPubECR;constgetRegion=i=>{if((0,d.isPubECR)(i)){returnprocess.env.AWS_REGION||process.env.AWS_DEFAULT_REGION||"us-east-1"}constp=i.match(re);if(!p){return""}returnp[4]};d.getRegion=getRegion;constgetAccountIDs=i=>{if((0,d.isPubECR)(i)){return[]}constp=i.match(re);if(!p){return[]}consty=[p[2]];if(process.env.AWS_ACCOUNT_IDS){y.push(...process.env.AWS_ACCOUNT_IDS.split(","))}returny.filter(((i,d)=>y.indexOf(i)===d))};d.getAccountIDs=getAccountIDs;constgetRegistriesData=(i,p,y)=>M(void0,void0,void0,(function*(){constv=(0,d.getRegion)(i);constD=(0,d.getAccountIDs)(i);constM={};if(D.length>0){U.debug(`Requesting AWS ECR auth token for ${D.join(", ")}`);M["registryIds"]=D}letre;constne=process.env.http_proxy||process.env.HTTP_PROXY||"";if(ne){U.debug(`Using http proxy ${ne}`);re=newee.HttpProxyAgent(ne)}letse;constie=process.env.https_proxy||process.env.HTTPS_PROXY||"";if(ie){U.debug(`Using https proxy ${ie}`);se=newte.HttpsProxyAgent(ie)}constoe=p&&y?{accessKeyId:p,secretAccessKey:y}:undefined;if((0,d.isPubECR)(i)){U.info(`AWS Public ECR detected with ${v} region`);consti=newj.ECRPUBLIC({customUserAgent:"docker-login-action",credentials:oe,region:v,requestHandler:newK.NodeHttpHandler({httpAgent:re,httpsAgent:se})});constd=yieldi.getAuthorizationToken(M);if(!d.authorizationData||!d.authorizationData.authorizationToken){thrownewError("Could not retrieve an authorization token from AWS Public ECR")}constp=Buffer.from(dLine 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.