diff --git a/.github/workflows/provider-smoke.yml b/.github/workflows/provider-smoke.yml index 0fcead8..cf7a623 100644 --- a/.github/workflows/provider-smoke.yml +++ b/.github/workflows/provider-smoke.yml @@ -15,6 +15,9 @@ on: type: choice options: - check-success + - check-warning + - setup-success + - cleanup-warning - check-failure - build-success - build-failure diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 140f158..0fa9268 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,16 +1,21 @@ # Contributing +The reporting implementation consumes exact published notification-contract +0.0.6 through normal registry installation. No candidate flag, source checkout or +file:tarball dependency is required. Historical candidate provenance is archived +in [ecosystem-reporting-validation.md](docs/ecosystem-reporting-validation.md). + Use Node.js `24.21.0` and pnpm `12.6.0`. Configure GitHub Packages authentication as described below, enable Corepack, then run `pnpm install --frozen-lockfile`. Run `pnpm format`, `pnpm lint`, `pnpm typecheck`, `pnpm schema:check`, `pnpm test`, `pnpm test:coverage`, `pnpm audit`, and `pnpm bundle`. Review contract changes and provider payload fixtures carefully. Update `dist/index.js` with source changes. Use only synthetic fixtures; normal CI must never call real webhooks. PRs should explain contract/security effects and include focused tests. ## GitHub Packages access -`@commercekit-tools/notification-contract` is pinned to `0.0.5`. The committed `.npmrc` contains only the scoped registry. Configure a classic GitHub PAT with `read:packages` in your user-level npm configuration, or supply `NODE_AUTH_TOKEN` through an external npm auth configuration. Never commit credentials or add a long-lived PAT repository secret. +`@commercekit-tools/notification-contract` is pinned to `0.0.6`. The committed `.npmrc` contains only the scoped registry. Configure a classic GitHub PAT with `read:packages` in your user-level npm configuration, or supply `NODE_AUTH_TOKEN` through an external npm auth configuration. Never commit credentials or add a long-lived PAT repository secret. ```sh npm login --scope=@commercekit-tools --registry=https://npm.pkg.github.com --auth-type=legacy -pnpm view @commercekit-tools/notification-contract@0.0.5 version --registry=https://npm.pkg.github.com +pnpm view @commercekit-tools/notification-contract@0.0.6 version --registry=https://npm.pkg.github.com pnpm install --frozen-lockfile ``` @@ -18,4 +23,8 @@ If an IDE overrides your npm configuration, inspect `npm config get userconfig` CI and release preflight use the existing pinned setup-node action, job-level `contents: read` and `packages: read`, and `NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}` only on the install step. The Notify repository must have Actions read access to the package. CodeQL uses build-mode none and needs no package installation. Smoke workflows execute the bundled Action without package credentials. -`pnpm schema:check` verifies the exact installed package version, public schema export, all committed fixtures, supported event types and absence of a vendored schema. It uses installed files and makes no registry request. Keep golden snapshots unchanged during source deduplication. The local presentation sanitizer retains Notify's redaction wording and URL filtering because the generic package sanitizers are not equivalent. +`pnpm schema:check` verifies the exact installed package version, public schema export, all committed fixtures, supported event types and absence of a vendored schema. It uses installed files and makes no registry request. Reporting-consistency intentionally updates all 40 provider snapshots to the +common Result/Inputs/Issues layout; review semantic counts, links and outcomes +independently of those golden changes. Provider escaping remains local; the shared action-text sanitizer adds common +JWT, known-secret and URL disclosure rules. Do not duplicate the shared visual +status vocabulary or event schema. diff --git a/README.md b/README.md index 36f8710..275b3da 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,10 @@ # CommerceKit Notifications +> **Registry-backed ecosystem reporting:** shared notifications and run summaries +> consume published notification-contract 0.0.6. Maintainers install the exact +> registry dependency; consumers execute the committed standalone bundle. See +> [reporting validation](docs/ecosystem-reporting-validation.md). + **Status: Initial implementation under development.** This Action is not yet released. The future `commercekit-tools/notify@v1` reference is unavailable until the separate CCv2 build and deploy Actions are built, their NotificationEvent v1 integration is validated, and an approved release is published. Send a normalized CommerceKit workflow event to Slack Incoming Webhooks or Microsoft Teams Workflows. One root Action accepts `provider: slack` or `provider: teams-workflow`. @@ -12,10 +17,53 @@ The Action performs no CCv2 API calls, build/deployment work, CLI checks, projec ## Shared event contract -NotificationEvent v1 is supplied by `@commercekit-tools/notification-contract`, pinned to **0.0.5** from GitHub Packages and bundled into `dist/index.js`. Workflow users do not install the package or authenticate to GitHub Packages. Maintainers need package read access to install development dependencies; see [Contributing](CONTRIBUTING.md). +NotificationEvent v1 is supplied by `@commercekit-tools/notification-contract`, pinned to **0.0.6** from GitHub Packages and bundled into `dist/index.js`. Workflow users do not install the package or authenticate to GitHub Packages. Maintainers need package read access to install development dependencies; see [Contributing](CONTRIBUTING.md). Notify owns presentation templates, Slack/Teams rendering and escaping, webhook policies, delivery, retries, and Action inputs/outputs. Package SemVer, event `schemaVersion`, and Action releases evolve independently. Notify remains unreleased. See the [migration compatibility notes](docs/shared-contract-migration.md). +## Consistent notification and summary format + +The Action shares status icons, labels and accents with every CommerceKit +Action through the existing notification-contract package. Slack and Teams use +the same header, **Result**, **Inputs** and **Issues** groups for CLI check, CLI +setup, CCv2 build, deployment and build cleanup events. All provided input names +are retained, authentication values are `[REDACTED]`, and input validation and +truncation are explicit. Older events identify unavailable input context rather +than inventing settings. Cleanup retains every aggregate and describes accepted +deletion requests; acceptance does not establish physical removal. + +| Outcome | Icon | Shared language | +| ------------------- | ---- | ----------------------- | +| Success | ✅ | Succeeded | +| Failure | ❌ | Failed | +| Warning | ⚠️ | Completed with warnings | +| Started | ℹ️ | Started | +| Cancellation | ⏹️ | Cancelled | +| Internal error | ❌ | CommerceKit error | +| Deployment decision | ⚠️ | Action required | + +The Action also writes a GitHub run summary for Notify itself after every +handled invocation. It contains delivery outcome, provider, source event type and +status, attempts, duration, safe errors and all five Notify input names. +`webhook-url` is always redacted; `event-json` and `event-file` display presence +only, without payloads or filesystem paths. The current workflow link uses the +shared allowlisted GitHub context. + +A successfully delivered failure event produces a successful **delivery** +summary while its source outcome remains failure in the card and `status` output. +Failed delivery defaults to a warning; `fail-on-notification-error: true` makes it +fatal. Invalid configuration/events remain fatal. Summary-writing errors preserve +delivery outputs and Action outcome. Output-file failures are reported separately +as an Action contract failure, retaining the known delivery state and attempts; +they never change an accepted delivery into a failed delivery or trigger a resend. + +Both providers retain every input name under their payload limits. Long values +use explicit bounded previews; Teams reduces preview length when necessary to +stay below 27 KiB. Slack enforces its 50-block bound. Known secrets, JWT-like +values, credentials/query-bearing URLs and reflected webhook values are redacted +before provider escaping and truncation. Delivery/retry policies remain owned by +Notify and unchanged by this presentation work. + ## Supported providers - Slack Incoming Webhooks (`slack`) @@ -138,7 +186,7 @@ For a visual preview, paste the complete Slack payload into [Block Kit Builder]( ### Cleanup compatibility This unreleased Action accepts `ccv2.build-cleanup.completed` through the published -`@commercekit-tools/notification-contract@0.0.5` package. The exact registry +`@commercekit-tools/notification-contract@0.0.6` package. The exact registry dependency and integrity are recorded in `package.json` and `pnpm-lock.yaml`; all runtime dependencies are bundled into `dist/index.js`. diff --git a/RELEASING.md b/RELEASING.md index 8d31298..f513b65 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -4,7 +4,7 @@ The Action release version (`v1.0.0`) and NotificationEvent schema version (`1`) **Release hold:** Do not tag, create a GitHub Release, or publish this Action to Marketplace until the separate `commercekit-tools/ccv2-build` and `commercekit-tools/ccv2-deploy` Actions are built and their NotificationEvent v1 outputs have been validated with this notifier. This is a product release gate; the two producer Actions remain separate repositories and releases. -The Action bundles `@commercekit-tools/notification-contract@0.0.5` and its runtime dependencies. Package SemVer is independent of NotificationEvent `schemaVersion`. Maintainers and preflight CI need GitHub Packages read access as described in [Contributing](CONTRIBUTING.md); workflow users and manual provider smoke use the committed bundle without registry access. Package publication does not release this Action. +The Action bundles `@commercekit-tools/notification-contract@0.0.6` and its runtime dependencies. Package SemVer is independent of NotificationEvent `schemaVersion`. Maintainers and preflight CI need GitHub Packages read access as described in [Contributing](CONTRIBUTING.md); workflow users and manual provider smoke use the committed bundle without registry access. Package publication does not release this Action. ## Release order diff --git a/SECURITY.md b/SECURITY.md index ff884fd..c312b19 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -6,4 +6,4 @@ Redaction is defense in depth and does not replace safe producer behavior. See [ Report vulnerabilities through GitHub private vulnerability reporting for this repository when available. Otherwise use GitHub's private security advisory reporting flow. Do not disclose exploit details in public issues. -NotificationEvent v1 parsing and validation are supplied by the bundled `@commercekit-tools/notification-contract@0.0.5`. Notify retains filesystem safety, provider escaping and redaction, webhook URL masking, destination restrictions, timeouts, redirects and delivery policy. Runtime workflow consumers need no registry credentials. Package credentials belong only in maintainer user configuration or the CI install step; never in repository files or the bundle. +NotificationEvent v1 parsing and validation are supplied by the bundled `@commercekit-tools/notification-contract@0.0.6`. Notify retains filesystem safety, provider escaping and redaction, webhook URL masking, destination restrictions, timeouts, redirects and delivery policy. Runtime workflow consumers need no registry credentials. Package credentials belong only in maintainer user configuration or the CI install step; never in repository files or the bundle. diff --git a/THIRD_PARTY_NOTICES.md b/THIRD_PARTY_NOTICES.md index 5c5eb12..7e48fee 100644 --- a/THIRD_PARTY_NOTICES.md +++ b/THIRD_PARTY_NOTICES.md @@ -1,5 +1,5 @@ # Third-party notices -The Action's bundled runtime includes `@actions/core` and `@commercekit-tools/notification-contract@0.0.5`, including the contract package's Ajv and `ajv-formats` dependencies. The committed `dist/licenses.txt` contains the license text and notices emitted by `@vercel/ncc` for code incorporated into `dist/index.js`; distribute it with the bundle. `package.json` and `pnpm-lock.yaml` record exact direct and resolved dependencies. Development tools are used to build and validate the Action and are not required by Action consumers. +The Action's bundled runtime includes `@actions/core` and `@commercekit-tools/notification-contract@0.0.6`, including the contract package's Ajv and `ajv-formats` dependencies. The committed `dist/licenses.txt` contains the license text and notices emitted by `@vercel/ncc` for code incorporated into `dist/index.js`; distribute it with the bundle. `package.json` and `pnpm-lock.yaml` record exact direct and resolved dependencies. Development tools are used to build and validate the Action and are not required by Action consumers. Before each release, regenerate the bundle and review `dist/licenses.txt` for changes alongside dependency updates. diff --git a/dist/index.js b/dist/index.js index 51facc7..fc833a1 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,9 +1,9 @@ -import{createRequire as e}from"module";var t={7962:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.formatNames=t.fastFormats=t.fullFormats=void 0;function fmtDef(e,t){return{validate:e,compare:t}}t.fullFormats={date:fmtDef(date,compareDate),time:fmtDef(getTime(true),compareTime),"date-time":fmtDef(getDateTime(true),compareDateTime),"iso-time":fmtDef(getTime(),compareIsoTime),"iso-date-time":fmtDef(getDateTime(),compareIsoDateTime),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:uri,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?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2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:regex,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:byte,int32:{type:"number",validate:validateInt32},int64:{type:"number",validate:validateInt64},float:{type:"number",validate:validateNumber},double:{type:"number",validate:validateNumber},password:true,binary:true};t.fastFormats={...t.fullFormats,date:fmtDef(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,compareDate),time:fmtDef(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,compareTime),"date-time":fmtDef(/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,compareDateTime),"iso-time":fmtDef(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,compareIsoTime),"iso-date-time":fmtDef(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,compareIsoDateTime),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i};t.formatNames=Object.keys(t.fullFormats);function isLeapYear(e){return e%4===0&&(e%100!==0||e%400===0)}const A=/^(\d\d\d\d)-(\d\d)-(\d\d)$/;const r=[0,31,28,31,30,31,30,31,31,30,31,30,31];function date(e){const t=A.exec(e);if(!t)return false;const n=+t[1];const s=+t[2];const o=+t[3];return s>=1&&s<=12&&o>=1&&o<=(s===2&&isLeapYear(n)?29:r[s])}function compareDate(e,t){if(!(e&&t))return undefined;if(e>t)return 1;if(e23||l>59||e&&!i)return false;if(r<=23&&s<=59&&o<60)return true;const u=s-l*a;const d=r-c*a-(u<0?1:0);return(d===23||d===-1)&&(u===59||u===-1)&&o<61}}function compareTime(e,t){if(!(e&&t))return undefined;const A=new Date("2020-01-01T"+e).valueOf();const r=new Date("2020-01-01T"+t).valueOf();if(!(A&&r))return undefined;return A-r}function compareIsoTime(e,t){if(!(e&&t))return undefined;const A=n.exec(e);const r=n.exec(t);if(!(A&&r))return undefined;e=A[1]+A[2]+A[3];t=r[1]+r[2]+r[3];if(e>t)return 1;if(e=c}function validateInt64(e){return Number.isInteger(e)}function validateNumber(){return true}const u=/[^\\]\\Z/;function regex(e){if(u.test(e))return false;try{new RegExp(e);return true}catch(e){return false}}},8078:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(7962);const n=A(725);const s=A(28);const o=new s.Name("fullFormats");const i=new s.Name("fastFormats");const formatsPlugin=(e,t={keywords:true})=>{if(Array.isArray(t)){addFormats(e,t,r.fullFormats,o);return e}const[A,s]=t.mode==="fast"?[r.fastFormats,i]:[r.fullFormats,o];const a=t.formats||r.formatNames;addFormats(e,a,A,s);if(t.keywords)(0,n.default)(e);return e};formatsPlugin.get=(e,t="full")=>{const A=t==="fast"?r.fastFormats:r.fullFormats;const n=A[e];if(!n)throw new Error(`Unknown format "${e}"`);return n};function addFormats(e,t,A,r){var n;var o;(n=(o=e.opts.code).formats)!==null&&n!==void 0?n:o.formats=(0,s._)`require("ajv-formats/dist/formats").${r}`;for(const r of t)e.addFormat(r,A[r])}e.exports=t=formatsPlugin;Object.defineProperty(t,"__esModule",{value:true});t["default"]=formatsPlugin},725:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});t.formatLimitDefinition=void 0;const r=A(6223);const n=A(28);const s=n.operators;const o={formatMaximum:{okStr:"<=",ok:s.LTE,fail:s.GT},formatMinimum:{okStr:">=",ok:s.GTE,fail:s.LT},formatExclusiveMaximum:{okStr:"<",ok:s.LT,fail:s.GTE},formatExclusiveMinimum:{okStr:">",ok:s.GT,fail:s.LTE}};const i={message:({keyword:e,schemaCode:t})=>(0,n.str)`should be ${o[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>(0,n._)`{comparison: ${o[e].okStr}, limit: ${t}}`};t.formatLimitDefinition={keyword:Object.keys(o),type:"string",schemaType:"string",$data:true,error:i,code(e){const{gen:t,data:A,schemaCode:s,keyword:i,it:a}=e;const{opts:c,self:l}=a;if(!c.validateFormats)return;const u=new r.KeywordCxt(a,l.RULES.all.format.definition,"format");if(u.$data)validate$DataFormat();else validateFormat();function validate$DataFormat(){const A=t.scopeValue("formats",{ref:l.formats,code:c.code.formats});const r=t.const("fmt",(0,n._)`${A}[${u.schemaCode}]`);e.fail$data((0,n.or)((0,n._)`typeof ${r} != "object"`,(0,n._)`${r} instanceof RegExp`,(0,n._)`typeof ${r}.compare != "function"`,compareCode(r)))}function validateFormat(){const A=u.schema;const r=l.formats[A];if(!r||r===true)return;if(typeof r!="object"||r instanceof RegExp||typeof r.compare!="function"){throw new Error(`"${i}": format "${A}" does not define "compare" function`)}const s=t.scopeValue("formats",{key:A,ref:r,code:c.code.formats?(0,n._)`${c.code.formats}${(0,n.getProperty)(A)}`:undefined});e.fail$data(compareCode(s))}function compareCode(e){return(0,n._)`${e}.compare(${A}, ${s}) ${o[i].fail} 0`}},dependencies:["format"]};const formatLimitPlugin=e=>{e.addKeyword(t.formatLimitDefinition);return e};t["default"]=formatLimitPlugin},9474:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv2020=void 0;const r=A(2549);const n=A(3370);const s=A(5014);const o=A(3707);const i="https://json-schema.org/draft/2020-12/schema";class Ajv2020 extends r.default{constructor(e={}){super({...e,dynamicRef:true,next:true,unevaluated:true})}_addVocabularies(){super._addVocabularies();n.default.forEach(e=>this.addVocabulary(e));if(this.opts.discriminator)this.addKeyword(s.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();const{$data:e,meta:t}=this.opts;if(!t)return;o.default.call(this,e);this.refs["http://json-schema.org/schema"]=i}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(i)?i:undefined)}}t.Ajv2020=Ajv2020;e.exports=t=Ajv2020;e.exports.Ajv2020=Ajv2020;Object.defineProperty(t,"__esModule",{value:true});t["default"]=Ajv2020;var a=A(4457);Object.defineProperty(t,"KeywordCxt",{enumerable:true,get:function(){return a.KeywordCxt}});var c=A(28);Object.defineProperty(t,"_",{enumerable:true,get:function(){return c._}});Object.defineProperty(t,"str",{enumerable:true,get:function(){return c.str}});Object.defineProperty(t,"stringify",{enumerable:true,get:function(){return c.stringify}});Object.defineProperty(t,"nil",{enumerable:true,get:function(){return c.nil}});Object.defineProperty(t,"Name",{enumerable:true,get:function(){return c.Name}});Object.defineProperty(t,"CodeGen",{enumerable:true,get:function(){return c.CodeGen}});var l=A(4301);Object.defineProperty(t,"ValidationError",{enumerable:true,get:function(){return l.default}});var u=A(8922);Object.defineProperty(t,"MissingRefError",{enumerable:true,get:function(){return u.default}})},6223:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv=void 0;const r=A(2549);const n=A(5845);const s=A(5014);const o=A(7628);const i=["/properties"];const a="http://json-schema.org/draft-07/schema";class Ajv extends r.default{_addVocabularies(){super._addVocabularies();n.default.forEach(e=>this.addVocabulary(e));if(this.opts.discriminator)this.addKeyword(s.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();if(!this.opts.meta)return;const e=this.opts.$data?this.$dataMetaSchema(o,i):o;this.addMetaSchema(e,a,false);this.refs["http://json-schema.org/schema"]=a}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(a)?a:undefined)}}t.Ajv=Ajv;e.exports=t=Ajv;e.exports.Ajv=Ajv;Object.defineProperty(t,"__esModule",{value:true});t["default"]=Ajv;var c=A(4457);Object.defineProperty(t,"KeywordCxt",{enumerable:true,get:function(){return c.KeywordCxt}});var l=A(28);Object.defineProperty(t,"_",{enumerable:true,get:function(){return l._}});Object.defineProperty(t,"str",{enumerable:true,get:function(){return l.str}});Object.defineProperty(t,"stringify",{enumerable:true,get:function(){return l.stringify}});Object.defineProperty(t,"nil",{enumerable:true,get:function(){return l.nil}});Object.defineProperty(t,"Name",{enumerable:true,get:function(){return l.Name}});Object.defineProperty(t,"CodeGen",{enumerable:true,get:function(){return l.CodeGen}});var u=A(4301);Object.defineProperty(t,"ValidationError",{enumerable:true,get:function(){return u.default}});var d=A(8922);Object.defineProperty(t,"MissingRefError",{enumerable:true,get:function(){return d.default}})},6711:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.regexpCode=t.getEsmExportName=t.getProperty=t.safeStringify=t.stringify=t.strConcat=t.addCodeArg=t.str=t._=t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0;class _CodeOrName{}t._CodeOrName=_CodeOrName;t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class Name extends _CodeOrName{constructor(e){super();if(!t.IDENTIFIER.test(e))throw new Error("CodeGen: name must be a valid identifier");this.str=e}toString(){return this.str}emptyStr(){return false}get names(){return{[this.str]:1}}}t.Name=Name;class _Code extends _CodeOrName{constructor(e){super();this._items=typeof e==="string"?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return false;const e=this._items[0];return e===""||e==='""'}get str(){var e;return(e=this._str)!==null&&e!==void 0?e:this._str=this._items.reduce((e,t)=>`${e}${t}`,"")}get names(){var e;return(e=this._names)!==null&&e!==void 0?e:this._names=this._items.reduce((e,t)=>{if(t instanceof Name)e[t.str]=(e[t.str]||0)+1;return e},{})}}t._Code=_Code;t.nil=new _Code("");function _(e,...t){const A=[e[0]];let r=0;while(r{Object.defineProperty(t,"__esModule",{value:true});t.or=t.and=t.not=t.CodeGen=t.operators=t.varKinds=t.ValueScopeName=t.ValueScope=t.Scope=t.Name=t.regexpCode=t.stringify=t.getProperty=t.nil=t.strConcat=t.str=t._=void 0;const r=A(6711);const n=A(1404);var s=A(6711);Object.defineProperty(t,"_",{enumerable:true,get:function(){return s._}});Object.defineProperty(t,"str",{enumerable:true,get:function(){return s.str}});Object.defineProperty(t,"strConcat",{enumerable:true,get:function(){return s.strConcat}});Object.defineProperty(t,"nil",{enumerable:true,get:function(){return s.nil}});Object.defineProperty(t,"getProperty",{enumerable:true,get:function(){return s.getProperty}});Object.defineProperty(t,"stringify",{enumerable:true,get:function(){return s.stringify}});Object.defineProperty(t,"regexpCode",{enumerable:true,get:function(){return s.regexpCode}});Object.defineProperty(t,"Name",{enumerable:true,get:function(){return s.Name}});var o=A(1404);Object.defineProperty(t,"Scope",{enumerable:true,get:function(){return o.Scope}});Object.defineProperty(t,"ValueScope",{enumerable:true,get:function(){return o.ValueScope}});Object.defineProperty(t,"ValueScopeName",{enumerable:true,get:function(){return o.ValueScopeName}});Object.defineProperty(t,"varKinds",{enumerable:true,get:function(){return o.varKinds}});t.operators={GT:new r._Code(">"),GTE:new r._Code(">="),LT:new r._Code("<"),LTE:new r._Code("<="),EQ:new r._Code("==="),NEQ:new r._Code("!=="),NOT:new r._Code("!"),OR:new r._Code("||"),AND:new r._Code("&&"),ADD:new r._Code("+")};class Node{optimizeNodes(){return this}optimizeNames(e,t){return this}}class Def extends Node{constructor(e,t,A){super();this.varKind=e;this.name=t;this.rhs=A}render({es5:e,_n:t}){const A=e?n.varKinds.var:this.varKind;const r=this.rhs===undefined?"":` = ${this.rhs}`;return`${A} ${this.name}${r};`+t}optimizeNames(e,t){if(!e[this.name.str])return;if(this.rhs)this.rhs=optimizeExpr(this.rhs,e,t);return this}get names(){return this.rhs instanceof r._CodeOrName?this.rhs.names:{}}}class Assign extends Node{constructor(e,t,A){super();this.lhs=e;this.rhs=t;this.sideEffects=A}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,t){if(this.lhs instanceof r.Name&&!e[this.lhs.str]&&!this.sideEffects)return;this.rhs=optimizeExpr(this.rhs,e,t);return this}get names(){const e=this.lhs instanceof r.Name?{}:{...this.lhs.names};return addExprNames(e,this.rhs)}}class AssignOp extends Assign{constructor(e,t,A,r){super(e,A,r);this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}}class Label extends Node{constructor(e){super();this.label=e;this.names={}}render({_n:e}){return`${this.label}:`+e}}class Break extends Node{constructor(e){super();this.label=e;this.names={}}render({_n:e}){const t=this.label?` ${this.label}`:"";return`break${t};`+e}}class Throw extends Node{constructor(e){super();this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}}class AnyCode extends Node{constructor(e){super();this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:undefined}optimizeNames(e,t){this.code=optimizeExpr(this.code,e,t);return this}get names(){return this.code instanceof r._CodeOrName?this.code.names:{}}}class ParentNode extends Node{constructor(e=[]){super();this.nodes=e}render(e){return this.nodes.reduce((t,A)=>t+A.render(e),"")}optimizeNodes(){const{nodes:e}=this;let t=e.length;while(t--){const A=e[t].optimizeNodes();if(Array.isArray(A))e.splice(t,1,...A);else if(A)e[t]=A;else e.splice(t,1)}return e.length>0?this:undefined}optimizeNames(e,t){const{nodes:A}=this;let r=A.length;while(r--){const n=A[r];if(n.optimizeNames(e,t))continue;subtractNames(e,n.names);A.splice(r,1)}return A.length>0?this:undefined}get names(){return this.nodes.reduce((e,t)=>addNames(e,t.names),{})}}class BlockNode extends ParentNode{render(e){return"{"+e._n+super.render(e)+"}"+e._n}}class Root extends ParentNode{}class Else extends BlockNode{}Else.kind="else";class If extends BlockNode{constructor(e,t){super(t);this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);if(this.else)t+="else "+this.else.render(e);return t}optimizeNodes(){super.optimizeNodes();const e=this.condition;if(e===true)return this.nodes;let t=this.else;if(t){const e=t.optimizeNodes();t=this.else=Array.isArray(e)?new Else(e):e}if(t){if(e===false)return t instanceof If?t:t.nodes;if(this.nodes.length)return this;return new If(not(e),t instanceof If?[t]:t.nodes)}if(e===false||!this.nodes.length)return undefined;return this}optimizeNames(e,t){var A;this.else=(A=this.else)===null||A===void 0?void 0:A.optimizeNames(e,t);if(!(super.optimizeNames(e,t)||this.else))return;this.condition=optimizeExpr(this.condition,e,t);return this}get names(){const e=super.names;addExprNames(e,this.condition);if(this.else)addNames(e,this.else.names);return e}}If.kind="if";class For extends BlockNode{}For.kind="for";class ForLoop extends For{constructor(e){super();this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(!super.optimizeNames(e,t))return;this.iteration=optimizeExpr(this.iteration,e,t);return this}get names(){return addNames(super.names,this.iteration.names)}}class ForRange extends For{constructor(e,t,A,r){super();this.varKind=e;this.name=t;this.from=A;this.to=r}render(e){const t=e.es5?n.varKinds.var:this.varKind;const{name:A,from:r,to:s}=this;return`for(${t} ${A}=${r}; ${A}<${s}; ${A}++)`+super.render(e)}get names(){const e=addExprNames(super.names,this.from);return addExprNames(e,this.to)}}class ForIter extends For{constructor(e,t,A,r){super();this.loop=e;this.varKind=t;this.name=A;this.iterable=r}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(!super.optimizeNames(e,t))return;this.iterable=optimizeExpr(this.iterable,e,t);return this}get names(){return addNames(super.names,this.iterable.names)}}class Func extends BlockNode{constructor(e,t,A){super();this.name=e;this.args=t;this.async=A}render(e){const t=this.async?"async ":"";return`${t}function ${this.name}(${this.args})`+super.render(e)}}Func.kind="func";class Return extends ParentNode{render(e){return"return "+super.render(e)}}Return.kind="return";class Try extends BlockNode{render(e){let t="try"+super.render(e);if(this.catch)t+=this.catch.render(e);if(this.finally)t+=this.finally.render(e);return t}optimizeNodes(){var e,t;super.optimizeNodes();(e=this.catch)===null||e===void 0?void 0:e.optimizeNodes();(t=this.finally)===null||t===void 0?void 0:t.optimizeNodes();return this}optimizeNames(e,t){var A,r;super.optimizeNames(e,t);(A=this.catch)===null||A===void 0?void 0:A.optimizeNames(e,t);(r=this.finally)===null||r===void 0?void 0:r.optimizeNames(e,t);return this}get names(){const e=super.names;if(this.catch)addNames(e,this.catch.names);if(this.finally)addNames(e,this.finally.names);return e}}class Catch extends BlockNode{constructor(e){super();this.error=e}render(e){return`catch(${this.error})`+super.render(e)}}Catch.kind="catch";class Finally extends BlockNode{render(e){return"finally"+super.render(e)}}Finally.kind="finally";class CodeGen{constructor(e,t={}){this._values={};this._blockStarts=[];this._constants={};this.opts={...t,_n:t.lines?"\n":""};this._extScope=e;this._scope=new n.Scope({parent:e});this._nodes=[new Root]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,t){const A=this._extScope.value(e,t);const r=this._values[A.prefix]||(this._values[A.prefix]=new Set);r.add(A);return A}getScopeValue(e,t){return this._extScope.getValue(e,t)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,t,A,r){const n=this._scope.toName(t);if(A!==undefined&&r)this._constants[n.str]=A;this._leafNode(new Def(e,n,A));return n}const(e,t,A){return this._def(n.varKinds.const,e,t,A)}let(e,t,A){return this._def(n.varKinds.let,e,t,A)}var(e,t,A){return this._def(n.varKinds.var,e,t,A)}assign(e,t,A){return this._leafNode(new Assign(e,t,A))}add(e,A){return this._leafNode(new AssignOp(e,t.operators.ADD,A))}code(e){if(typeof e=="function")e();else if(e!==r.nil)this._leafNode(new AnyCode(e));return this}object(...e){const t=["{"];for(const[A,n]of e){if(t.length>1)t.push(",");t.push(A);if(A!==n||this.opts.es5){t.push(":");(0,r.addCodeArg)(t,n)}}t.push("}");return new r._Code(t)}if(e,t,A){this._blockNode(new If(e));if(t&&A){this.code(t).else().code(A).endIf()}else if(t){this.code(t).endIf()}else if(A){throw new Error('CodeGen: "else" body without "then" body')}return this}elseIf(e){return this._elseNode(new If(e))}else(){return this._elseNode(new Else)}endIf(){return this._endBlockNode(If,Else)}_for(e,t){this._blockNode(e);if(t)this.code(t).endFor();return this}for(e,t){return this._for(new ForLoop(e),t)}forRange(e,t,A,r,s=(this.opts.es5?n.varKinds.var:n.varKinds.let)){const o=this._scope.toName(e);return this._for(new ForRange(s,o,t,A),()=>r(o))}forOf(e,t,A,s=n.varKinds.const){const o=this._scope.toName(e);if(this.opts.es5){const e=t instanceof r.Name?t:this.var("_arr",t);return this.forRange("_i",0,(0,r._)`${e}.length`,t=>{this.var(o,(0,r._)`${e}[${t}]`);A(o)})}return this._for(new ForIter("of",s,o,t),()=>A(o))}forIn(e,t,A,s=(this.opts.es5?n.varKinds.var:n.varKinds.const)){if(this.opts.ownProperties){return this.forOf(e,(0,r._)`Object.keys(${t})`,A)}const o=this._scope.toName(e);return this._for(new ForIter("in",s,o,t),()=>A(o))}endFor(){return this._endBlockNode(For)}label(e){return this._leafNode(new Label(e))}break(e){return this._leafNode(new Break(e))}return(e){const t=new Return;this._blockNode(t);this.code(e);if(t.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(Return)}try(e,t,A){if(!t&&!A)throw new Error('CodeGen: "try" without "catch" and "finally"');const r=new Try;this._blockNode(r);this.code(e);if(t){const e=this.name("e");this._currNode=r.catch=new Catch(e);t(e)}if(A){this._currNode=r.finally=new Finally;this.code(A)}return this._endBlockNode(Catch,Finally)}throw(e){return this._leafNode(new Throw(e))}block(e,t){this._blockStarts.push(this._nodes.length);if(e)this.code(e).endBlock(t);return this}endBlock(e){const t=this._blockStarts.pop();if(t===undefined)throw new Error("CodeGen: not in self-balancing block");const A=this._nodes.length-t;if(A<0||e!==undefined&&A!==e){throw new Error(`CodeGen: wrong number of nodes: ${A} vs ${e} expected`)}this._nodes.length=t;return this}func(e,t=r.nil,A,n){this._blockNode(new Func(e,t,A));if(n)this.code(n).endFunc();return this}endFunc(){return this._endBlockNode(Func)}optimize(e=1){while(e-- >0){this._root.optimizeNodes();this._root.optimizeNames(this._root.names,this._constants)}}_leafNode(e){this._currNode.nodes.push(e);return this}_blockNode(e){this._currNode.nodes.push(e);this._nodes.push(e)}_endBlockNode(e,t){const A=this._currNode;if(A instanceof e||t&&A instanceof t){this._nodes.pop();return this}throw new Error(`CodeGen: not in block "${t?`${e.kind}/${t.kind}`:e.kind}"`)}_elseNode(e){const t=this._currNode;if(!(t instanceof If)){throw new Error('CodeGen: "else" without "if"')}this._currNode=t.else=e;return this}get _root(){return this._nodes[0]}get _currNode(){const e=this._nodes;return e[e.length-1]}set _currNode(e){const t=this._nodes;t[t.length-1]=e}}t.CodeGen=CodeGen;function addNames(e,t){for(const A in t)e[A]=(e[A]||0)+(t[A]||0);return e}function addExprNames(e,t){return t instanceof r._CodeOrName?addNames(e,t.names):e}function optimizeExpr(e,t,A){if(e instanceof r.Name)return replaceName(e);if(!canOptimize(e))return e;return new r._Code(e._items.reduce((e,t)=>{if(t instanceof r.Name)t=replaceName(t);if(t instanceof r._Code)e.push(...t._items);else e.push(t);return e},[]));function replaceName(e){const r=A[e.str];if(r===undefined||t[e.str]!==1)return e;delete t[e.str];return r}function canOptimize(e){return e instanceof r._Code&&e._items.some(e=>e instanceof r.Name&&t[e.str]===1&&A[e.str]!==undefined)}}function subtractNames(e,t){for(const A in t)e[A]=(e[A]||0)-(t[A]||0)}function not(e){return typeof e=="boolean"||typeof e=="number"||e===null?!e:(0,r._)`!${par(e)}`}t.not=not;const i=mappend(t.operators.AND);function and(...e){return e.reduce(i)}t.and=and;const a=mappend(t.operators.OR);function or(...e){return e.reduce(a)}t.or=or;function mappend(e){return(t,A)=>t===r.nil?A:A===r.nil?t:(0,r._)`${par(t)} ${e} ${par(A)}`}function par(e){return e instanceof r.Name?e:(0,r._)`(${e})`}},1404:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});t.ValueScope=t.ValueScopeName=t.Scope=t.varKinds=t.UsedValueState=void 0;const r=A(6711);class ValueError extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`);this.value=e.value}}var n;(function(e){e[e["Started"]=0]="Started";e[e["Completed"]=1]="Completed"})(n||(t.UsedValueState=n={}));t.varKinds={const:new r.Name("const"),let:new r.Name("let"),var:new r.Name("var")};class Scope{constructor({prefixes:e,parent:t}={}){this._names={};this._prefixes=e;this._parent=t}toName(e){return e instanceof r.Name?e:this.name(e)}name(e){return new r.Name(this._newName(e))}_newName(e){const t=this._names[e]||this._nameGroup(e);return`${e}${t.index++}`}_nameGroup(e){var t,A;if(((A=(t=this._parent)===null||t===void 0?void 0:t._prefixes)===null||A===void 0?void 0:A.has(e))||this._prefixes&&!this._prefixes.has(e)){throw new Error(`CodeGen: prefix "${e}" is not allowed in this scope`)}return this._names[e]={prefix:e,index:0}}}t.Scope=Scope;class ValueScopeName extends r.Name{constructor(e,t){super(t);this.prefix=e}setValue(e,{property:t,itemIndex:A}){this.value=e;this.scopePath=(0,r._)`.${new r.Name(t)}[${A}]`}}t.ValueScopeName=ValueScopeName;const s=(0,r._)`\n`;class ValueScope extends Scope{constructor(e){super(e);this._values={};this._scope=e.scope;this.opts={...e,_n:e.lines?s:r.nil}}get(){return this._scope}name(e){return new ValueScopeName(e,this._newName(e))}value(e,t){var A;if(t.ref===undefined)throw new Error("CodeGen: ref must be passed in value");const r=this.toName(e);const{prefix:n}=r;const s=(A=t.key)!==null&&A!==void 0?A:t.ref;let o=this._values[n];if(o){const e=o.get(s);if(e)return e}else{o=this._values[n]=new Map}o.set(s,r);const i=this._scope[n]||(this._scope[n]=[]);const a=i.length;i[a]=t.ref;r.setValue(t,{property:n,itemIndex:a});return r}getValue(e,t){const A=this._values[e];if(!A)return;return A.get(t)}scopeRefs(e,t=this._values){return this._reduceValues(t,t=>{if(t.scopePath===undefined)throw new Error(`CodeGen: name "${t}" has no value`);return(0,r._)`${e}${t.scopePath}`})}scopeCode(e=this._values,t,A){return this._reduceValues(e,e=>{if(e.value===undefined)throw new Error(`CodeGen: name "${e}" has no value`);return e.value.code},t,A)}_reduceValues(e,A,s={},o){let i=r.nil;for(const a in e){const c=e[a];if(!c)continue;const l=s[a]=s[a]||new Map;c.forEach(e=>{if(l.has(e))return;l.set(e,n.Started);let s=A(e);if(s){const A=this.opts.es5?t.varKinds.var:t.varKinds.const;i=(0,r._)`${i}${A} ${e} = ${s};${this.opts._n}`}else if(s=o===null||o===void 0?void 0:o(e)){i=(0,r._)`${i}${s}${this.opts._n}`}else{throw new ValueError(e)}l.set(e,n.Completed)})}return i}}t.ValueScope=ValueScope},3040:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});t.extendErrors=t.resetErrorsCount=t.reportExtraError=t.reportError=t.keyword$DataError=t.keywordError=void 0;const r=A(28);const n=A(3904);const s=A(5990);t.keywordError={message:({keyword:e})=>(0,r.str)`must pass "${e}" keyword validation`};t.keyword$DataError={message:({keyword:e,schemaType:t})=>t?(0,r.str)`"${e}" keyword must be ${t} ($data)`:(0,r.str)`"${e}" keyword is invalid ($data)`};function reportError(e,A=t.keywordError,n,s){const{it:o}=e;const{gen:i,compositeRule:a,allErrors:c}=o;const l=errorObjectCode(e,A,n);if(s!==null&&s!==void 0?s:a||c){addError(i,l)}else{returnErrors(o,(0,r._)`[${l}]`)}}t.reportError=reportError;function reportExtraError(e,A=t.keywordError,r){const{it:n}=e;const{gen:o,compositeRule:i,allErrors:a}=n;const c=errorObjectCode(e,A,r);addError(o,c);if(!(i||a)){returnErrors(n,s.default.vErrors)}}t.reportExtraError=reportExtraError;function resetErrorsCount(e,t){e.assign(s.default.errors,t);e.if((0,r._)`${s.default.vErrors} !== null`,()=>e.if(t,()=>e.assign((0,r._)`${s.default.vErrors}.length`,t),()=>e.assign(s.default.vErrors,null)))}t.resetErrorsCount=resetErrorsCount;function extendErrors({gen:e,keyword:t,schemaValue:A,data:n,errsCount:o,it:i}){if(o===undefined)throw new Error("ajv implementation error");const a=e.name("err");e.forRange("i",o,s.default.errors,o=>{e.const(a,(0,r._)`${s.default.vErrors}[${o}]`);e.if((0,r._)`${a}.instancePath === undefined`,()=>e.assign((0,r._)`${a}.instancePath`,(0,r.strConcat)(s.default.instancePath,i.errorPath)));e.assign((0,r._)`${a}.schemaPath`,(0,r.str)`${i.errSchemaPath}/${t}`);if(i.opts.verbose){e.assign((0,r._)`${a}.schema`,A);e.assign((0,r._)`${a}.data`,n)}})}t.extendErrors=extendErrors;function addError(e,t){const A=e.const("err",t);e.if((0,r._)`${s.default.vErrors} === null`,()=>e.assign(s.default.vErrors,(0,r._)`[${A}]`),(0,r._)`${s.default.vErrors}.push(${A})`);e.code((0,r._)`${s.default.errors}++`)}function returnErrors(e,t){const{gen:A,validateName:n,schemaEnv:s}=e;if(s.$async){A.throw((0,r._)`new ${e.ValidationError}(${t})`)}else{A.assign((0,r._)`${n}.errors`,t);A.return(false)}}const o={keyword:new r.Name("keyword"),schemaPath:new r.Name("schemaPath"),params:new r.Name("params"),propertyName:new r.Name("propertyName"),message:new r.Name("message"),schema:new r.Name("schema"),parentSchema:new r.Name("parentSchema")};function errorObjectCode(e,t,A){const{createErrors:n}=e.it;if(n===false)return(0,r._)`{}`;return errorObject(e,t,A)}function errorObject(e,t,A={}){const{gen:r,it:n}=e;const s=[errorInstancePath(n,A),errorSchemaPath(e,A)];extraErrorProps(e,t,s);return r.object(...s)}function errorInstancePath({errorPath:e},{instancePath:t}){const A=t?(0,r.str)`${e}${(0,n.getErrorPath)(t,n.Type.Str)}`:e;return[s.default.instancePath,(0,r.strConcat)(s.default.instancePath,A)]}function errorSchemaPath({keyword:e,it:{errSchemaPath:t}},{schemaPath:A,parentSchema:s}){let i=s?t:(0,r.str)`${t}/${e}`;if(A){i=(0,r.str)`${i}${(0,n.getErrorPath)(A,n.Type.Str)}`}return[o.schemaPath,i]}function extraErrorProps(e,{params:t,message:A},n){const{keyword:i,data:a,schemaValue:c,it:l}=e;const{opts:u,propertyName:d,topSchemaRef:h,schemaPath:g}=l;n.push([o.keyword,i],[o.params,typeof t=="function"?t(e):t||(0,r._)`{}`]);if(u.messages){n.push([o.message,typeof A=="function"?A(e):A])}if(u.verbose){n.push([o.schema,c],[o.parentSchema,(0,r._)`${h}${g}`],[s.default.data,a])}if(d)n.push([o.propertyName,d])}},9198:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});t.resolveSchema=t.getCompilingSchema=t.resolveRef=t.compileSchema=t.SchemaEnv=void 0;const r=A(28);const n=A(4301);const s=A(5990);const o=A(1946);const i=A(3904);const a=A(4457);class SchemaEnv{constructor(e){var t;this.refs={};this.dynamicAnchors={};let A;if(typeof e.schema=="object")A=e.schema;this.schema=e.schema;this.schemaId=e.schemaId;this.root=e.root||this;this.baseId=(t=e.baseId)!==null&&t!==void 0?t:(0,o.normalizeId)(A===null||A===void 0?void 0:A[e.schemaId||"$id"]);this.schemaPath=e.schemaPath;this.localRefs=e.localRefs;this.meta=e.meta;this.$async=A===null||A===void 0?void 0:A.$async;this.refs={}}}t.SchemaEnv=SchemaEnv;function compileSchema(e){const t=getCompilingSchema.call(this,e);if(t)return t;const A=(0,o.getFullPath)(this.opts.uriResolver,e.root.baseId);const{es5:i,lines:c}=this.opts.code;const{ownProperties:l}=this.opts;const u=new r.CodeGen(this.scope,{es5:i,lines:c,ownProperties:l});let d;if(e.$async){d=u.scopeValue("Error",{ref:n.default,code:(0,r._)`require("ajv/dist/runtime/validation_error").default`})}const h=u.scopeName("validate");e.validateName=h;const g={gen:u,allErrors:this.opts.allErrors,data:s.default.data,parentData:s.default.parentData,parentDataProperty:s.default.parentDataProperty,dataNames:[s.default.data],dataPathArr:[r.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:u.scopeValue("schema",this.opts.code.source===true?{ref:e.schema,code:(0,r.stringify)(e.schema)}:{ref:e.schema}),validateName:h,ValidationError:d,schema:e.schema,schemaEnv:e,rootId:A,baseId:e.baseId||A,schemaPath:r.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,r._)`""`,opts:this.opts,self:this};let f;try{this._compilations.add(e);(0,a.validateFunctionCode)(g);u.optimize(this.opts.code.optimize);const t=u.toString();f=`${u.scopeRefs(s.default.scope)}return ${t}`;if(this.opts.code.process)f=this.opts.code.process(f,e);const A=new Function(`${s.default.self}`,`${s.default.scope}`,f);const n=A(this,this.scope.get());this.scope.value(h,{ref:n});n.errors=null;n.schema=e.schema;n.schemaEnv=e;if(e.$async)n.$async=true;if(this.opts.code.source===true){n.source={validateName:h,validateCode:t,scopeValues:u._values}}if(this.opts.unevaluated){const{props:e,items:t}=g;n.evaluated={props:e instanceof r.Name?undefined:e,items:t instanceof r.Name?undefined:t,dynamicProps:e instanceof r.Name,dynamicItems:t instanceof r.Name};if(n.source)n.source.evaluated=(0,r.stringify)(n.evaluated)}e.validate=n;return e}catch(t){delete e.validate;delete e.validateName;if(f)this.logger.error("Error compiling schema, function code:",f);throw t}finally{this._compilations.delete(e)}}t.compileSchema=compileSchema;function resolveRef(e,t,A){var r;A=(0,o.resolveUrl)(this.opts.uriResolver,t,A);const n=e.refs[A];if(n)return n;let s=resolve.call(this,e,A);if(s===undefined){const n=(r=e.localRefs)===null||r===void 0?void 0:r[A];const{schemaId:o}=this.opts;if(n)s=new SchemaEnv({schema:n,schemaId:o,root:e,baseId:t})}if(s===undefined)return;return e.refs[A]=inlineOrCompile.call(this,s)}t.resolveRef=resolveRef;function inlineOrCompile(e){if((0,o.inlineRef)(e.schema,this.opts.inlineRefs))return e.schema;return e.validate?e:compileSchema.call(this,e)}function getCompilingSchema(e){for(const t of this._compilations){if(sameSchemaEnv(t,e))return t}}t.getCompilingSchema=getCompilingSchema;function sameSchemaEnv(e,t){return e.schema===t.schema&&e.root===t.root&&e.baseId===t.baseId}function resolve(e,t){let A;while(typeof(A=this.refs[t])=="string")t=A;return A||this.schemas[t]||resolveSchema.call(this,e,t)}function resolveSchema(e,t){const A=this.opts.uriResolver.parse(t);const r=(0,o._getFullPath)(this.opts.uriResolver,A);let n=(0,o.getFullPath)(this.opts.uriResolver,e.baseId,undefined);if(Object.keys(e.schema).length>0&&r===n){return getJsonPointer.call(this,A,e)}const s=(0,o.normalizeId)(r);const i=this.refs[s]||this.schemas[s];if(typeof i=="string"){const t=resolveSchema.call(this,e,i);if(typeof(t===null||t===void 0?void 0:t.schema)!=="object")return;return getJsonPointer.call(this,A,t)}if(typeof(i===null||i===void 0?void 0:i.schema)!=="object")return;if(!i.validate)compileSchema.call(this,i);if(s===(0,o.normalizeId)(t)){const{schema:t}=i;const{schemaId:A}=this.opts;const r=t[A];if(r)n=(0,o.resolveUrl)(this.opts.uriResolver,n,r);return new SchemaEnv({schema:t,schemaId:A,root:e,baseId:n})}return getJsonPointer.call(this,A,i)}t.resolveSchema=resolveSchema;const c=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function getJsonPointer(e,{baseId:t,schema:A,root:r}){var n;if(((n=e.fragment)===null||n===void 0?void 0:n[0])!=="/")return;for(const r of e.fragment.slice(1).split("/")){if(typeof A==="boolean")return;const e=A[(0,i.unescapeFragment)(r)];if(e===undefined)return;A=e;const n=typeof A==="object"&&A[this.opts.schemaId];if(!c.has(r)&&n){t=(0,o.resolveUrl)(this.opts.uriResolver,t,n)}}let s;if(typeof A!="boolean"&&A.$ref&&!(0,i.schemaHasRulesButRef)(A,this.RULES)){const e=(0,o.resolveUrl)(this.opts.uriResolver,t,A.$ref);s=resolveSchema.call(this,r,e)}const{schemaId:a}=this.opts;s=s||new SchemaEnv({schema:A,schemaId:a,root:r,baseId:t});if(s.schema!==s.root.schema)return s;return undefined}},5990:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(28);const n={data:new r.Name("data"),valCxt:new r.Name("valCxt"),instancePath:new r.Name("instancePath"),parentData:new r.Name("parentData"),parentDataProperty:new r.Name("parentDataProperty"),rootData:new r.Name("rootData"),dynamicAnchors:new r.Name("dynamicAnchors"),vErrors:new r.Name("vErrors"),errors:new r.Name("errors"),this:new r.Name("this"),self:new r.Name("self"),scope:new r.Name("scope"),json:new r.Name("json"),jsonPos:new r.Name("jsonPos"),jsonLen:new r.Name("jsonLen"),jsonPart:new r.Name("jsonPart")};t["default"]=n},8922:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(1946);class MissingRefError extends Error{constructor(e,t,A,n){super(n||`can't resolve reference ${A} from id ${t}`);this.missingRef=(0,r.resolveUrl)(e,t,A);this.missingSchema=(0,r.normalizeId)((0,r.getFullPath)(e,this.missingRef))}}t["default"]=MissingRefError},1946:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});t.getSchemaRefs=t.resolveUrl=t.normalizeId=t._getFullPath=t.getFullPath=t.inlineRef=void 0;const r=A(3904);const n=A(7638);const s=A(8688);const o=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function inlineRef(e,t=true){if(typeof e=="boolean")return true;if(t===true)return!hasRef(e);if(!t)return false;return countKeys(e)<=t}t.inlineRef=inlineRef;const i=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function hasRef(e){for(const t in e){if(i.has(t))return true;const A=e[t];if(Array.isArray(A)&&A.some(hasRef))return true;if(typeof A=="object"&&hasRef(A))return true}return false}function countKeys(e){let t=0;for(const A in e){if(A==="$ref")return Infinity;t++;if(o.has(A))continue;if(typeof e[A]=="object"){(0,r.eachItem)(e[A],e=>t+=countKeys(e))}if(t===Infinity)return Infinity}return t}function getFullPath(e,t="",A){if(A!==false)t=normalizeId(t);const r=e.parse(t);return _getFullPath(e,r)}t.getFullPath=getFullPath;function _getFullPath(e,t){const A=e.serialize(t);return A.split("#")[0]+"#"}t._getFullPath=_getFullPath;const a=/#\/?$/;function normalizeId(e){return e?e.replace(a,""):""}t.normalizeId=normalizeId;function resolveUrl(e,t,A){A=normalizeId(A);return e.resolve(t,A)}t.resolveUrl=resolveUrl;const c=/^[a-z_][-a-z0-9._]*$/i;function getSchemaRefs(e,t){if(typeof e=="boolean")return{};const{schemaId:A,uriResolver:r}=this.opts;const o=normalizeId(e[A]||t);const i={"":o};const a=getFullPath(r,o,false);const l={};const u=new Set;s(e,{allKeys:true},(e,t,r,n)=>{if(n===undefined)return;const s=a+t;let o=i[n];if(typeof e[A]=="string")o=addRef.call(this,e[A]);addAnchor.call(this,e.$anchor);addAnchor.call(this,e.$dynamicAnchor);i[t]=o;function addRef(t){const A=this.opts.uriResolver.resolve;t=normalizeId(o?A(o,t):t);if(u.has(t))throw ambiguos(t);u.add(t);let r=this.refs[t];if(typeof r=="string")r=this.refs[r];if(typeof r=="object"){checkAmbiguosRef(e,r.schema,t)}else if(t!==normalizeId(s)){if(t[0]==="#"){checkAmbiguosRef(e,l[t],t);l[t]=e}else{this.refs[t]=s}}return t}function addAnchor(e){if(typeof e=="string"){if(!c.test(e))throw new Error(`invalid anchor "${e}"`);addRef.call(this,`#${e}`)}}});return l;function checkAmbiguosRef(e,t,A){if(t!==undefined&&!n(e,t))throw ambiguos(A)}function ambiguos(e){return new Error(`reference "${e}" resolves to more than one schema`)}}t.getSchemaRefs=getSchemaRefs},5513:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.getRules=t.isJSONType=void 0;const A=["string","number","integer","boolean","null","object","array"];const r=new Set(A);function isJSONType(e){return typeof e=="string"&&r.has(e)}t.isJSONType=isJSONType;function getRules(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:true,boolean:true,null:true},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}t.getRules=getRules},3904:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});t.checkStrictMode=t.getErrorPath=t.Type=t.useFunc=t.setEvaluated=t.evaluatedPropsToName=t.mergeEvaluated=t.eachItem=t.unescapeJsonPointer=t.escapeJsonPointer=t.escapeFragment=t.unescapeFragment=t.schemaRefOrVal=t.schemaHasRulesButRef=t.schemaHasRules=t.checkUnknownRules=t.alwaysValidSchema=t.toHash=void 0;const r=A(28);const n=A(6711);function toHash(e){const t={};for(const A of e)t[A]=true;return t}t.toHash=toHash;function alwaysValidSchema(e,t){if(typeof t=="boolean")return t;if(Object.keys(t).length===0)return true;checkUnknownRules(e,t);return!schemaHasRules(t,e.self.RULES.all)}t.alwaysValidSchema=alwaysValidSchema;function checkUnknownRules(e,t=e.schema){const{opts:A,self:r}=e;if(!A.strictSchema)return;if(typeof t==="boolean")return;const n=r.RULES.keywords;for(const A in t){if(!n[A])checkStrictMode(e,`unknown keyword: "${A}"`)}}t.checkUnknownRules=checkUnknownRules;function schemaHasRules(e,t){if(typeof e=="boolean")return!e;for(const A in e)if(t[A])return true;return false}t.schemaHasRules=schemaHasRules;function schemaHasRulesButRef(e,t){if(typeof e=="boolean")return!e;for(const A in e)if(A!=="$ref"&&t.all[A])return true;return false}t.schemaHasRulesButRef=schemaHasRulesButRef;function schemaRefOrVal({topSchemaRef:e,schemaPath:t},A,n,s){if(!s){if(typeof A=="number"||typeof A=="boolean")return A;if(typeof A=="string")return(0,r._)`${A}`}return(0,r._)`${e}${t}${(0,r.getProperty)(n)}`}t.schemaRefOrVal=schemaRefOrVal;function unescapeFragment(e){return unescapeJsonPointer(decodeURIComponent(e))}t.unescapeFragment=unescapeFragment;function escapeFragment(e){return encodeURIComponent(escapeJsonPointer(e))}t.escapeFragment=escapeFragment;function escapeJsonPointer(e){if(typeof e=="number")return`${e}`;return e.replace(/~/g,"~0").replace(/\//g,"~1")}t.escapeJsonPointer=escapeJsonPointer;function unescapeJsonPointer(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}t.unescapeJsonPointer=unescapeJsonPointer;function eachItem(e,t){if(Array.isArray(e)){for(const A of e)t(A)}else{t(e)}}t.eachItem=eachItem;function makeMergeEvaluated({mergeNames:e,mergeToName:t,mergeValues:A,resultToName:n}){return(s,o,i,a)=>{const c=i===undefined?o:i instanceof r.Name?(o instanceof r.Name?e(s,o,i):t(s,o,i),i):o instanceof r.Name?(t(s,i,o),o):A(o,i);return a===r.Name&&!(c instanceof r.Name)?n(s,c):c}}t.mergeEvaluated={props:makeMergeEvaluated({mergeNames:(e,t,A)=>e.if((0,r._)`${A} !== true && ${t} !== undefined`,()=>{e.if((0,r._)`${t} === true`,()=>e.assign(A,true),()=>e.assign(A,(0,r._)`${A} || {}`).code((0,r._)`Object.assign(${A}, ${t})`))}),mergeToName:(e,t,A)=>e.if((0,r._)`${A} !== true`,()=>{if(t===true){e.assign(A,true)}else{e.assign(A,(0,r._)`${A} || {}`);setEvaluated(e,A,t)}}),mergeValues:(e,t)=>e===true?true:{...e,...t},resultToName:evaluatedPropsToName}),items:makeMergeEvaluated({mergeNames:(e,t,A)=>e.if((0,r._)`${A} !== true && ${t} !== undefined`,()=>e.assign(A,(0,r._)`${t} === true ? true : ${A} > ${t} ? ${A} : ${t}`)),mergeToName:(e,t,A)=>e.if((0,r._)`${A} !== true`,()=>e.assign(A,t===true?true:(0,r._)`${A} > ${t} ? ${A} : ${t}`)),mergeValues:(e,t)=>e===true?true:Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})};function evaluatedPropsToName(e,t){if(t===true)return e.var("props",true);const A=e.var("props",(0,r._)`{}`);if(t!==undefined)setEvaluated(e,A,t);return A}t.evaluatedPropsToName=evaluatedPropsToName;function setEvaluated(e,t,A){Object.keys(A).forEach(A=>e.assign((0,r._)`${t}${(0,r.getProperty)(A)}`,true))}t.setEvaluated=setEvaluated;const s={};function useFunc(e,t){return e.scopeValue("func",{ref:t,code:s[t.code]||(s[t.code]=new n._Code(t.code))})}t.useFunc=useFunc;var o;(function(e){e[e["Num"]=0]="Num";e[e["Str"]=1]="Str"})(o||(t.Type=o={}));function getErrorPath(e,t,A){if(e instanceof r.Name){const n=t===o.Num;return A?n?(0,r._)`"[" + ${e} + "]"`:(0,r._)`"['" + ${e} + "']"`:n?(0,r._)`"/" + ${e}`:(0,r._)`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return A?(0,r.getProperty)(e).toString():"/"+escapeJsonPointer(e)}t.getErrorPath=getErrorPath;function checkStrictMode(e,t,A=e.opts.strictSchema){if(!A)return;t=`strict mode: ${t}`;if(A===true)throw new Error(t);e.self.logger.warn(t)}t.checkStrictMode=checkStrictMode},1356:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.shouldUseRule=t.shouldUseGroup=t.schemaHasRulesForType=void 0;function schemaHasRulesForType({schema:e,self:t},A){const r=t.RULES.types[A];return r&&r!==true&&shouldUseGroup(e,r)}t.schemaHasRulesForType=schemaHasRulesForType;function shouldUseGroup(e,t){return t.rules.some(t=>shouldUseRule(e,t))}t.shouldUseGroup=shouldUseGroup;function shouldUseRule(e,t){var A;return e[t.keyword]!==undefined||((A=t.definition.implements)===null||A===void 0?void 0:A.some(t=>e[t]!==undefined))}t.shouldUseRule=shouldUseRule},4690:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});t.boolOrEmptySchema=t.topBoolOrEmptySchema=void 0;const r=A(3040);const n=A(28);const s=A(5990);const o={message:"boolean schema is false"};function topBoolOrEmptySchema(e){const{gen:t,schema:A,validateName:r}=e;if(A===false){falseSchemaError(e,false)}else if(typeof A=="object"&&A.$async===true){t.return(s.default.data)}else{t.assign((0,n._)`${r}.errors`,null);t.return(true)}}t.topBoolOrEmptySchema=topBoolOrEmptySchema;function boolOrEmptySchema(e,t){const{gen:A,schema:r}=e;if(r===false){A.var(t,false);falseSchemaError(e)}else{A.var(t,true)}}t.boolOrEmptySchema=boolOrEmptySchema;function falseSchemaError(e,t){const{gen:A,data:n}=e;const s={gen:A,keyword:"false schema",data:n,schema:false,schemaCode:false,schemaValue:false,params:{},it:e};(0,r.reportError)(s,o,undefined,t)}},733:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});t.reportTypeError=t.checkDataTypes=t.checkDataType=t.coerceAndCheckDataType=t.getJSONTypes=t.getSchemaTypes=t.DataType=void 0;const r=A(5513);const n=A(1356);const s=A(3040);const o=A(28);const i=A(3904);var a;(function(e){e[e["Correct"]=0]="Correct";e[e["Wrong"]=1]="Wrong"})(a||(t.DataType=a={}));function getSchemaTypes(e){const t=getJSONTypes(e.type);const A=t.includes("null");if(A){if(e.nullable===false)throw new Error("type: null contradicts nullable: false")}else{if(!t.length&&e.nullable!==undefined){throw new Error('"nullable" cannot be used without "type"')}if(e.nullable===true)t.push("null")}return t}t.getSchemaTypes=getSchemaTypes;function getJSONTypes(e){const t=Array.isArray(e)?e:e?[e]:[];if(t.every(r.isJSONType))return t;throw new Error("type must be JSONType or JSONType[]: "+t.join(","))}t.getJSONTypes=getJSONTypes;function coerceAndCheckDataType(e,t){const{gen:A,data:r,opts:s}=e;const o=coerceToTypes(t,s.coerceTypes);const i=t.length>0&&!(o.length===0&&t.length===1&&(0,n.schemaHasRulesForType)(e,t[0]));if(i){const n=checkDataTypes(t,r,s.strictNumbers,a.Wrong);A.if(n,()=>{if(o.length)coerceData(e,t,o);else reportTypeError(e)})}return i}t.coerceAndCheckDataType=coerceAndCheckDataType;const c=new Set(["string","number","integer","boolean","null"]);function coerceToTypes(e,t){return t?e.filter(e=>c.has(e)||t==="array"&&e==="array"):[]}function coerceData(e,t,A){const{gen:r,data:n,opts:s}=e;const i=r.let("dataType",(0,o._)`typeof ${n}`);const a=r.let("coerced",(0,o._)`undefined`);if(s.coerceTypes==="array"){r.if((0,o._)`${i} == 'object' && Array.isArray(${n}) && ${n}.length == 1`,()=>r.assign(n,(0,o._)`${n}[0]`).assign(i,(0,o._)`typeof ${n}`).if(checkDataTypes(t,n,s.strictNumbers),()=>r.assign(a,n)))}r.if((0,o._)`${a} !== undefined`);for(const e of A){if(c.has(e)||e==="array"&&s.coerceTypes==="array"){coerceSpecificType(e)}}r.else();reportTypeError(e);r.endIf();r.if((0,o._)`${a} !== undefined`,()=>{r.assign(n,a);assignParentData(e,a)});function coerceSpecificType(e){switch(e){case"string":r.elseIf((0,o._)`${i} == "number" || ${i} == "boolean"`).assign(a,(0,o._)`"" + ${n}`).elseIf((0,o._)`${n} === null`).assign(a,(0,o._)`""`);return;case"number":r.elseIf((0,o._)`${i} == "boolean" || ${n} === null - || (${i} == "string" && ${n} && ${n} == +${n})`).assign(a,(0,o._)`+${n}`);return;case"integer":r.elseIf((0,o._)`${i} === "boolean" || ${n} === null - || (${i} === "string" && ${n} && ${n} == +${n} && !(${n} % 1))`).assign(a,(0,o._)`+${n}`);return;case"boolean":r.elseIf((0,o._)`${n} === "false" || ${n} === 0 || ${n} === null`).assign(a,false).elseIf((0,o._)`${n} === "true" || ${n} === 1`).assign(a,true);return;case"null":r.elseIf((0,o._)`${n} === "" || ${n} === 0 || ${n} === false`);r.assign(a,null);return;case"array":r.elseIf((0,o._)`${i} === "string" || ${i} === "number" - || ${i} === "boolean" || ${n} === null`).assign(a,(0,o._)`[${n}]`)}}}function assignParentData({gen:e,parentData:t,parentDataProperty:A},r){e.if((0,o._)`${t} !== undefined`,()=>e.assign((0,o._)`${t}[${A}]`,r))}function checkDataType(e,t,A,r=a.Correct){const n=r===a.Correct?o.operators.EQ:o.operators.NEQ;let s;switch(e){case"null":return(0,o._)`${t} ${n} null`;case"array":s=(0,o._)`Array.isArray(${t})`;break;case"object":s=(0,o._)`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":s=numCond((0,o._)`!(${t} % 1) && !isNaN(${t})`);break;case"number":s=numCond();break;default:return(0,o._)`typeof ${t} ${n} ${e}`}return r===a.Correct?s:(0,o.not)(s);function numCond(e=o.nil){return(0,o.and)((0,o._)`typeof ${t} == "number"`,e,A?(0,o._)`isFinite(${t})`:o.nil)}}t.checkDataType=checkDataType;function checkDataTypes(e,t,A,r){if(e.length===1){return checkDataType(e[0],t,A,r)}let n;const s=(0,i.toHash)(e);if(s.array&&s.object){const e=(0,o._)`typeof ${t} != "object"`;n=s.null?e:(0,o._)`!${t} || ${e}`;delete s.null;delete s.array;delete s.object}else{n=o.nil}if(s.number)delete s.integer;for(const e in s)n=(0,o.and)(n,checkDataType(e,t,A,r));return n}t.checkDataTypes=checkDataTypes;const l={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>typeof e=="string"?(0,o._)`{type: ${e}}`:(0,o._)`{type: ${t}}`};function reportTypeError(e){const t=getTypeErrorContext(e);(0,s.reportError)(t,l)}t.reportTypeError=reportTypeError;function getTypeErrorContext(e){const{gen:t,data:A,schema:r}=e;const n=(0,i.schemaRefOrVal)(e,r,"type");return{gen:t,keyword:"type",data:A,schema:r.type,schemaCode:n,schemaValue:n,parentSchema:r,params:{},it:e}}},2483:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});t.assignDefaults=void 0;const r=A(28);const n=A(3904);function assignDefaults(e,t){const{properties:A,items:r}=e.schema;if(t==="object"&&A){for(const t in A){assignDefault(e,t,A[t].default)}}else if(t==="array"&&Array.isArray(r)){r.forEach((t,A)=>assignDefault(e,A,t.default))}}t.assignDefaults=assignDefaults;function assignDefault(e,t,A){const{gen:s,compositeRule:o,data:i,opts:a}=e;if(A===undefined)return;const c=(0,r._)`${i}${(0,r.getProperty)(t)}`;if(o){(0,n.checkStrictMode)(e,`default is ignored for: ${c}`);return}let l=(0,r._)`${c} === undefined`;if(a.useDefaults==="empty"){l=(0,r._)`${l} || ${c} === null || ${c} === ""`}s.if(l,(0,r._)`${c} = ${(0,r.stringify)(A)}`)}},4457:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});t.getData=t.KeywordCxt=t.validateFunctionCode=void 0;const r=A(4690);const n=A(733);const s=A(1356);const o=A(733);const i=A(2483);const a=A(18);const c=A(6392);const l=A(28);const u=A(5990);const d=A(1946);const h=A(3904);const g=A(3040);function validateFunctionCode(e){if(isSchemaObj(e)){checkKeywords(e);if(schemaCxtHasRules(e)){topSchemaObjCode(e);return}}validateFunction(e,()=>(0,r.topBoolOrEmptySchema)(e))}t.validateFunctionCode=validateFunctionCode;function validateFunction({gen:e,validateName:t,schema:A,schemaEnv:r,opts:n},s){if(n.code.es5){e.func(t,(0,l._)`${u.default.data}, ${u.default.valCxt}`,r.$async,()=>{e.code((0,l._)`"use strict"; ${funcSourceUrl(A,n)}`);destructureValCxtES5(e,n);e.code(s)})}else{e.func(t,(0,l._)`${u.default.data}, ${destructureValCxt(n)}`,r.$async,()=>e.code(funcSourceUrl(A,n)).code(s))}}function destructureValCxt(e){return(0,l._)`{${u.default.instancePath}="", ${u.default.parentData}, ${u.default.parentDataProperty}, ${u.default.rootData}=${u.default.data}${e.dynamicRef?(0,l._)`, ${u.default.dynamicAnchors}={}`:l.nil}}={}`}function destructureValCxtES5(e,t){e.if(u.default.valCxt,()=>{e.var(u.default.instancePath,(0,l._)`${u.default.valCxt}.${u.default.instancePath}`);e.var(u.default.parentData,(0,l._)`${u.default.valCxt}.${u.default.parentData}`);e.var(u.default.parentDataProperty,(0,l._)`${u.default.valCxt}.${u.default.parentDataProperty}`);e.var(u.default.rootData,(0,l._)`${u.default.valCxt}.${u.default.rootData}`);if(t.dynamicRef)e.var(u.default.dynamicAnchors,(0,l._)`${u.default.valCxt}.${u.default.dynamicAnchors}`)},()=>{e.var(u.default.instancePath,(0,l._)`""`);e.var(u.default.parentData,(0,l._)`undefined`);e.var(u.default.parentDataProperty,(0,l._)`undefined`);e.var(u.default.rootData,u.default.data);if(t.dynamicRef)e.var(u.default.dynamicAnchors,(0,l._)`{}`)})}function topSchemaObjCode(e){const{schema:t,opts:A,gen:r}=e;validateFunction(e,()=>{if(A.$comment&&t.$comment)commentKeyword(e);checkNoDefault(e);r.let(u.default.vErrors,null);r.let(u.default.errors,0);if(A.unevaluated)resetEvaluated(e);typeAndKeywords(e);returnResults(e)});return}function resetEvaluated(e){const{gen:t,validateName:A}=e;e.evaluated=t.const("evaluated",(0,l._)`${A}.evaluated`);t.if((0,l._)`${e.evaluated}.dynamicProps`,()=>t.assign((0,l._)`${e.evaluated}.props`,(0,l._)`undefined`));t.if((0,l._)`${e.evaluated}.dynamicItems`,()=>t.assign((0,l._)`${e.evaluated}.items`,(0,l._)`undefined`))}function funcSourceUrl(e,t){const A=typeof e=="object"&&e[t.schemaId];return A&&(t.code.source||t.code.process)?(0,l._)`/*# sourceURL=${A} */`:l.nil}function subschemaCode(e,t){if(isSchemaObj(e)){checkKeywords(e);if(schemaCxtHasRules(e)){subSchemaObjCode(e,t);return}}(0,r.boolOrEmptySchema)(e,t)}function schemaCxtHasRules({schema:e,self:t}){if(typeof e=="boolean")return!e;for(const A in e)if(t.RULES.all[A])return true;return false}function isSchemaObj(e){return typeof e.schema!="boolean"}function subSchemaObjCode(e,t){const{schema:A,gen:r,opts:n}=e;if(n.$comment&&A.$comment)commentKeyword(e);updateContext(e);checkAsyncSchema(e);const s=r.const("_errs",u.default.errors);typeAndKeywords(e,s);r.var(t,(0,l._)`${s} === ${u.default.errors}`)}function checkKeywords(e){(0,h.checkUnknownRules)(e);checkRefsAndKeywords(e)}function typeAndKeywords(e,t){if(e.opts.jtd)return schemaKeywords(e,[],false,t);const A=(0,n.getSchemaTypes)(e.schema);const r=(0,n.coerceAndCheckDataType)(e,A);schemaKeywords(e,A,!r,t)}function checkRefsAndKeywords(e){const{schema:t,errSchemaPath:A,opts:r,self:n}=e;if(t.$ref&&r.ignoreKeywordsWithRef&&(0,h.schemaHasRulesButRef)(t,n.RULES)){n.logger.warn(`$ref: keywords ignored in schema at path "${A}"`)}}function checkNoDefault(e){const{schema:t,opts:A}=e;if(t.default!==undefined&&A.useDefaults&&A.strictSchema){(0,h.checkStrictMode)(e,"default is ignored in the schema root")}}function updateContext(e){const t=e.schema[e.opts.schemaId];if(t)e.baseId=(0,d.resolveUrl)(e.opts.uriResolver,e.baseId,t)}function checkAsyncSchema(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}function commentKeyword({gen:e,schemaEnv:t,schema:A,errSchemaPath:r,opts:n}){const s=A.$comment;if(n.$comment===true){e.code((0,l._)`${u.default.self}.logger.log(${s})`)}else if(typeof n.$comment=="function"){const A=(0,l.str)`${r}/$comment`;const n=e.scopeValue("root",{ref:t.root});e.code((0,l._)`${u.default.self}.opts.$comment(${s}, ${A}, ${n}.schema)`)}}function returnResults(e){const{gen:t,schemaEnv:A,validateName:r,ValidationError:n,opts:s}=e;if(A.$async){t.if((0,l._)`${u.default.errors} === 0`,()=>t.return(u.default.data),()=>t.throw((0,l._)`new ${n}(${u.default.vErrors})`))}else{t.assign((0,l._)`${r}.errors`,u.default.vErrors);if(s.unevaluated)assignEvaluated(e);t.return((0,l._)`${u.default.errors} === 0`)}}function assignEvaluated({gen:e,evaluated:t,props:A,items:r}){if(A instanceof l.Name)e.assign((0,l._)`${t}.props`,A);if(r instanceof l.Name)e.assign((0,l._)`${t}.items`,r)}function schemaKeywords(e,t,A,r){const{gen:n,schema:i,data:a,allErrors:c,opts:d,self:g}=e;const{RULES:f}=g;if(i.$ref&&(d.ignoreKeywordsWithRef||!(0,h.schemaHasRulesButRef)(i,f))){n.block(()=>keywordCode(e,"$ref",f.all.$ref.definition));return}if(!d.jtd)checkStrictTypes(e,t);n.block(()=>{for(const e of f.rules)groupKeywords(e);groupKeywords(f.post)});function groupKeywords(h){if(!(0,s.shouldUseGroup)(i,h))return;if(h.type){n.if((0,o.checkDataType)(h.type,a,d.strictNumbers));iterateKeywords(e,h);if(t.length===1&&t[0]===h.type&&A){n.else();(0,o.reportTypeError)(e)}n.endIf()}else{iterateKeywords(e,h)}if(!c)n.if((0,l._)`${u.default.errors} === ${r||0}`)}}function iterateKeywords(e,t){const{gen:A,schema:r,opts:{useDefaults:n}}=e;if(n)(0,i.assignDefaults)(e,t.type);A.block(()=>{for(const A of t.rules){if((0,s.shouldUseRule)(r,A)){keywordCode(e,A.keyword,A.definition,t.type)}}})}function checkStrictTypes(e,t){if(e.schemaEnv.meta||!e.opts.strictTypes)return;checkContextTypes(e,t);if(!e.opts.allowUnionTypes)checkMultipleTypes(e,t);checkKeywordTypes(e,e.dataTypes)}function checkContextTypes(e,t){if(!t.length)return;if(!e.dataTypes.length){e.dataTypes=t;return}t.forEach(t=>{if(!includesType(e.dataTypes,t)){strictTypesError(e,`type "${t}" not allowed by context "${e.dataTypes.join(",")}"`)}});narrowSchemaTypes(e,t)}function checkMultipleTypes(e,t){if(t.length>1&&!(t.length===2&&t.includes("null"))){strictTypesError(e,"use allowUnionTypes to allow union type keyword")}}function checkKeywordTypes(e,t){const A=e.self.RULES.all;for(const r in A){const n=A[r];if(typeof n=="object"&&(0,s.shouldUseRule)(e.schema,n)){const{type:A}=n.definition;if(A.length&&!A.some(e=>hasApplicableType(t,e))){strictTypesError(e,`missing type "${A.join(",")}" for keyword "${r}"`)}}}}function hasApplicableType(e,t){return e.includes(t)||t==="number"&&e.includes("integer")}function includesType(e,t){return e.includes(t)||t==="integer"&&e.includes("number")}function narrowSchemaTypes(e,t){const A=[];for(const r of e.dataTypes){if(includesType(t,r))A.push(r);else if(t.includes("integer")&&r==="number")A.push("integer")}e.dataTypes=A}function strictTypesError(e,t){const A=e.schemaEnv.baseId+e.errSchemaPath;t+=` at "${A}" (strictTypes)`;(0,h.checkStrictMode)(e,t,e.opts.strictTypes)}class KeywordCxt{constructor(e,t,A){(0,a.validateKeywordUsage)(e,t,A);this.gen=e.gen;this.allErrors=e.allErrors;this.keyword=A;this.data=e.data;this.schema=e.schema[A];this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data;this.schemaValue=(0,h.schemaRefOrVal)(e,this.schema,A,this.$data);this.schemaType=t.schemaType;this.parentSchema=e.schema;this.params={};this.it=e;this.def=t;if(this.$data){this.schemaCode=e.gen.const("vSchema",getData(this.$data,e))}else{this.schemaCode=this.schemaValue;if(!(0,a.validSchemaType)(this.schema,t.schemaType,t.allowUndefined)){throw new Error(`${A} value must be ${JSON.stringify(t.schemaType)}`)}}if("code"in t?t.trackErrors:t.errors!==false){this.errsCount=e.gen.const("_errs",u.default.errors)}}result(e,t,A){this.failResult((0,l.not)(e),t,A)}failResult(e,t,A){this.gen.if(e);if(A)A();else this.error();if(t){this.gen.else();t();if(this.allErrors)this.gen.endIf()}else{if(this.allErrors)this.gen.endIf();else this.gen.else()}}pass(e,t){this.failResult((0,l.not)(e),undefined,t)}fail(e){if(e===undefined){this.error();if(!this.allErrors)this.gen.if(false);return}this.gen.if(e);this.error();if(this.allErrors)this.gen.endIf();else this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);const{schemaCode:t}=this;this.fail((0,l._)`${t} !== undefined && (${(0,l.or)(this.invalid$data(),e)})`)}error(e,t,A){if(t){this.setParams(t);this._error(e,A);this.setParams({});return}this._error(e,A)}_error(e,t){(e?g.reportExtraError:g.reportError)(this,this.def.error,t)}$dataError(){(0,g.reportError)(this,this.def.$dataError||g.keyword$DataError)}reset(){if(this.errsCount===undefined)throw new Error('add "trackErrors" to keyword definition');(0,g.resetErrorsCount)(this.gen,this.errsCount)}ok(e){if(!this.allErrors)this.gen.if(e)}setParams(e,t){if(t)Object.assign(this.params,e);else this.params=e}block$data(e,t,A=l.nil){this.gen.block(()=>{this.check$data(e,A);t()})}check$data(e=l.nil,t=l.nil){if(!this.$data)return;const{gen:A,schemaCode:r,schemaType:n,def:s}=this;A.if((0,l.or)((0,l._)`${r} === undefined`,t));if(e!==l.nil)A.assign(e,true);if(n.length||s.validateSchema){A.elseIf(this.invalid$data());this.$dataError();if(e!==l.nil)A.assign(e,false)}A.else()}invalid$data(){const{gen:e,schemaCode:t,schemaType:A,def:r,it:n}=this;return(0,l.or)(wrong$DataType(),invalid$DataSchema());function wrong$DataType(){if(A.length){if(!(t instanceof l.Name))throw new Error("ajv implementation error");const e=Array.isArray(A)?A:[A];return(0,l._)`${(0,o.checkDataTypes)(e,t,n.opts.strictNumbers,o.DataType.Wrong)}`}return l.nil}function invalid$DataSchema(){if(r.validateSchema){const A=e.scopeValue("validate$data",{ref:r.validateSchema});return(0,l._)`!${A}(${t})`}return l.nil}}subschema(e,t){const A=(0,c.getSubschema)(this.it,e);(0,c.extendSubschemaData)(A,this.it,e);(0,c.extendSubschemaMode)(A,e);const r={...this.it,...A,items:undefined,props:undefined};subschemaCode(r,t);return r}mergeEvaluated(e,t){const{it:A,gen:r}=this;if(!A.opts.unevaluated)return;if(A.props!==true&&e.props!==undefined){A.props=h.mergeEvaluated.props(r,e.props,A.props,t)}if(A.items!==true&&e.items!==undefined){A.items=h.mergeEvaluated.items(r,e.items,A.items,t)}}mergeValidEvaluated(e,t){const{it:A,gen:r}=this;if(A.opts.unevaluated&&(A.props!==true||A.items!==true)){r.if(t,()=>this.mergeEvaluated(e,l.Name));return true}}}t.KeywordCxt=KeywordCxt;function keywordCode(e,t,A,r){const n=new KeywordCxt(e,A,t);if("code"in A){A.code(n,r)}else if(n.$data&&A.validate){(0,a.funcKeywordCode)(n,A)}else if("macro"in A){(0,a.macroKeywordCode)(n,A)}else if(A.compile||A.validate){(0,a.funcKeywordCode)(n,A)}}const f=/^\/(?:[^~]|~0|~1)*$/;const E=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function getData(e,{dataLevel:t,dataNames:A,dataPathArr:r}){let n;let s;if(e==="")return u.default.rootData;if(e[0]==="/"){if(!f.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);n=e;s=u.default.rootData}else{const o=E.exec(e);if(!o)throw new Error(`Invalid JSON-pointer: ${e}`);const i=+o[1];n=o[2];if(n==="#"){if(i>=t)throw new Error(errorMsg("property/index",i));return r[t-i]}if(i>t)throw new Error(errorMsg("data",i));s=A[t-i];if(!n)return s}let o=s;const i=n.split("/");for(const e of i){if(e){s=(0,l._)`${s}${(0,l.getProperty)((0,h.unescapeJsonPointer)(e))}`;o=(0,l._)`${o} && ${s}`}}return o;function errorMsg(e,A){return`Cannot access ${e} ${A} levels up, current level is ${t}`}}t.getData=getData},18:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});t.validateKeywordUsage=t.validSchemaType=t.funcKeywordCode=t.macroKeywordCode=void 0;const r=A(28);const n=A(5990);const s=A(6516);const o=A(3040);function macroKeywordCode(e,t){const{gen:A,keyword:n,schema:s,parentSchema:o,it:i}=e;const a=t.macro.call(i.self,s,o,i);const c=useKeyword(A,n,a);if(i.opts.validateSchema!==false)i.self.validateSchema(a,true);const l=A.name("valid");e.subschema({schema:a,schemaPath:r.nil,errSchemaPath:`${i.errSchemaPath}/${n}`,topSchemaRef:c,compositeRule:true},l);e.pass(l,()=>e.error(true))}t.macroKeywordCode=macroKeywordCode;function funcKeywordCode(e,t){var A;const{gen:o,keyword:i,schema:a,parentSchema:c,$data:l,it:u}=e;checkAsyncKeyword(u,t);const d=!l&&t.compile?t.compile.call(u.self,a,c,u):t.validate;const h=useKeyword(o,i,d);const g=o.let("valid");e.block$data(g,validateKeyword);e.ok((A=t.valid)!==null&&A!==void 0?A:g);function validateKeyword(){if(t.errors===false){assignValid();if(t.modifying)modifyData(e);reportErrs(()=>e.error())}else{const A=t.async?validateAsync():validateSync();if(t.modifying)modifyData(e);reportErrs(()=>addErrs(e,A))}}function validateAsync(){const e=o.let("ruleErrs",null);o.try(()=>assignValid((0,r._)`await `),t=>o.assign(g,false).if((0,r._)`${t} instanceof ${u.ValidationError}`,()=>o.assign(e,(0,r._)`${t}.errors`),()=>o.throw(t)));return e}function validateSync(){const e=(0,r._)`${h}.errors`;o.assign(e,null);assignValid(r.nil);return e}function assignValid(A=(t.async?(0,r._)`await `:r.nil)){const i=u.opts.passContext?n.default.this:n.default.self;const a=!("compile"in t&&!l||t.schema===false);o.assign(g,(0,r._)`${A}${(0,s.callValidateCode)(e,h,i,a)}`,t.modifying)}function reportErrs(e){var A;o.if((0,r.not)((A=t.valid)!==null&&A!==void 0?A:g),e)}}t.funcKeywordCode=funcKeywordCode;function modifyData(e){const{gen:t,data:A,it:n}=e;t.if(n.parentData,()=>t.assign(A,(0,r._)`${n.parentData}[${n.parentDataProperty}]`))}function addErrs(e,t){const{gen:A}=e;A.if((0,r._)`Array.isArray(${t})`,()=>{A.assign(n.default.vErrors,(0,r._)`${n.default.vErrors} === null ? ${t} : ${n.default.vErrors}.concat(${t})`).assign(n.default.errors,(0,r._)`${n.default.vErrors}.length`);(0,o.extendErrors)(e)},()=>e.error())}function checkAsyncKeyword({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}function useKeyword(e,t,A){if(A===undefined)throw new Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword",typeof A=="function"?{ref:A}:{ref:A,code:(0,r.stringify)(A)})}function validSchemaType(e,t,A=false){return!t.length||t.some(t=>t==="array"?Array.isArray(e):t==="object"?e&&typeof e=="object"&&!Array.isArray(e):typeof e==t||A&&typeof e=="undefined")}t.validSchemaType=validSchemaType;function validateKeywordUsage({schema:e,opts:t,self:A,errSchemaPath:r},n,s){if(Array.isArray(n.keyword)?!n.keyword.includes(s):n.keyword!==s){throw new Error("ajv implementation error")}const o=n.dependencies;if(o===null||o===void 0?void 0:o.some(t=>!Object.prototype.hasOwnProperty.call(e,t))){throw new Error(`parent schema must have dependencies of ${s}: ${o.join(",")}`)}if(n.validateSchema){const o=n.validateSchema(e[s]);if(!o){const e=`keyword "${s}" value is invalid at path "${r}": `+A.errorsText(n.validateSchema.errors);if(t.validateSchema==="log")A.logger.error(e);else throw new Error(e)}}}t.validateKeywordUsage=validateKeywordUsage},6392:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});t.extendSubschemaMode=t.extendSubschemaData=t.getSubschema=void 0;const r=A(28);const n=A(3904);function getSubschema(e,{keyword:t,schemaProp:A,schema:s,schemaPath:o,errSchemaPath:i,topSchemaRef:a}){if(t!==undefined&&s!==undefined){throw new Error('both "keyword" and "schema" passed, only one allowed')}if(t!==undefined){const s=e.schema[t];return A===undefined?{schema:s,schemaPath:(0,r._)`${e.schemaPath}${(0,r.getProperty)(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:s[A],schemaPath:(0,r._)`${e.schemaPath}${(0,r.getProperty)(t)}${(0,r.getProperty)(A)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${(0,n.escapeFragment)(A)}`}}if(s!==undefined){if(o===undefined||i===undefined||a===undefined){throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"')}return{schema:s,schemaPath:o,topSchemaRef:a,errSchemaPath:i}}throw new Error('either "keyword" or "schema" must be passed')}t.getSubschema=getSubschema;function extendSubschemaData(e,t,{dataProp:A,dataPropType:s,data:o,dataTypes:i,propertyName:a}){if(o!==undefined&&A!==undefined){throw new Error('both "data" and "dataProp" passed, only one allowed')}const{gen:c}=t;if(A!==undefined){const{errorPath:o,dataPathArr:i,opts:a}=t;const l=c.let("data",(0,r._)`${t.data}${(0,r.getProperty)(A)}`,true);dataContextProps(l);e.errorPath=(0,r.str)`${o}${(0,n.getErrorPath)(A,s,a.jsPropertySyntax)}`;e.parentDataProperty=(0,r._)`${A}`;e.dataPathArr=[...i,e.parentDataProperty]}if(o!==undefined){const t=o instanceof r.Name?o:c.let("data",o,true);dataContextProps(t);if(a!==undefined)e.propertyName=a}if(i)e.dataTypes=i;function dataContextProps(A){e.data=A;e.dataLevel=t.dataLevel+1;e.dataTypes=[];t.definedProperties=new Set;e.parentData=t.data;e.dataNames=[...t.dataNames,A]}}t.extendSubschemaData=extendSubschemaData;function extendSubschemaMode(e,{jtdDiscriminator:t,jtdMetadata:A,compositeRule:r,createErrors:n,allErrors:s}){if(r!==undefined)e.compositeRule=r;if(n!==undefined)e.createErrors=n;if(s!==undefined)e.allErrors=s;e.jtdDiscriminator=t;e.jtdMetadata=A}t.extendSubschemaMode=extendSubschemaMode},2549:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;var r=A(4457);Object.defineProperty(t,"KeywordCxt",{enumerable:true,get:function(){return r.KeywordCxt}});var n=A(28);Object.defineProperty(t,"_",{enumerable:true,get:function(){return n._}});Object.defineProperty(t,"str",{enumerable:true,get:function(){return n.str}});Object.defineProperty(t,"stringify",{enumerable:true,get:function(){return n.stringify}});Object.defineProperty(t,"nil",{enumerable:true,get:function(){return n.nil}});Object.defineProperty(t,"Name",{enumerable:true,get:function(){return n.Name}});Object.defineProperty(t,"CodeGen",{enumerable:true,get:function(){return n.CodeGen}});const s=A(4301);const o=A(8922);const i=A(5513);const a=A(9198);const c=A(28);const l=A(1946);const u=A(733);const d=A(3904);const h=A(8422);const g=A(6669);const defaultRegExp=(e,t)=>new RegExp(e,t);defaultRegExp.code="new RegExp";const f=["removeAdditional","useDefaults","coerceTypes"];const E=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]);const Q={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."};const C={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};const I=200;function requiredOptions(e){var t,A,r,n,s,o,i,a,c,l,u,d,h,f,E,Q,C,B,p,m,y,w,b,k,D;const R=e.strict;const S=(t=e.code)===null||t===void 0?void 0:t.optimize;const F=S===true||S===undefined?1:S||0;const N=(r=(A=e.code)===null||A===void 0?void 0:A.regExp)!==null&&r!==void 0?r:defaultRegExp;const v=(n=e.uriResolver)!==null&&n!==void 0?n:g.default;return{strictSchema:(o=(s=e.strictSchema)!==null&&s!==void 0?s:R)!==null&&o!==void 0?o:true,strictNumbers:(a=(i=e.strictNumbers)!==null&&i!==void 0?i:R)!==null&&a!==void 0?a:true,strictTypes:(l=(c=e.strictTypes)!==null&&c!==void 0?c:R)!==null&&l!==void 0?l:"log",strictTuples:(d=(u=e.strictTuples)!==null&&u!==void 0?u:R)!==null&&d!==void 0?d:"log",strictRequired:(f=(h=e.strictRequired)!==null&&h!==void 0?h:R)!==null&&f!==void 0?f:false,code:e.code?{...e.code,optimize:F,regExp:N}:{optimize:F,regExp:N},loopRequired:(E=e.loopRequired)!==null&&E!==void 0?E:I,loopEnum:(Q=e.loopEnum)!==null&&Q!==void 0?Q:I,meta:(C=e.meta)!==null&&C!==void 0?C:true,messages:(B=e.messages)!==null&&B!==void 0?B:true,inlineRefs:(p=e.inlineRefs)!==null&&p!==void 0?p:true,schemaId:(m=e.schemaId)!==null&&m!==void 0?m:"$id",addUsedSchema:(y=e.addUsedSchema)!==null&&y!==void 0?y:true,validateSchema:(w=e.validateSchema)!==null&&w!==void 0?w:true,validateFormats:(b=e.validateFormats)!==null&&b!==void 0?b:true,unicodeRegExp:(k=e.unicodeRegExp)!==null&&k!==void 0?k:true,int32range:(D=e.int32range)!==null&&D!==void 0?D:true,uriResolver:v}}class Ajv{constructor(e={}){this.schemas={};this.refs={};this.formats=Object.create(null);this._compilations=new Set;this._loading={};this._cache=new Map;e=this.opts={...e,...requiredOptions(e)};const{es5:t,lines:A}=this.opts.code;this.scope=new c.ValueScope({scope:{},prefixes:E,es5:t,lines:A});this.logger=getLogger(e.logger);const r=e.validateFormats;e.validateFormats=false;this.RULES=(0,i.getRules)();checkOptions.call(this,Q,e,"NOT SUPPORTED");checkOptions.call(this,C,e,"DEPRECATED","warn");this._metaOpts=getMetaSchemaOptions.call(this);if(e.formats)addInitialFormats.call(this);this._addVocabularies();this._addDefaultMetaSchema();if(e.keywords)addInitialKeywords.call(this,e.keywords);if(typeof e.meta=="object")this.addMetaSchema(e.meta);addInitialSchemas.call(this);e.validateFormats=r}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:e,meta:t,schemaId:A}=this.opts;let r=h;if(A==="id"){r={...h};r.id=r.$id;delete r.$id}if(t&&e)this.addMetaSchema(r,r[A],false)}defaultMeta(){const{meta:e,schemaId:t}=this.opts;return this.opts.defaultMeta=typeof e=="object"?e[t]||e:undefined}validate(e,t){let A;if(typeof e=="string"){A=this.getSchema(e);if(!A)throw new Error(`no schema with key or ref "${e}"`)}else{A=this.compile(e)}const r=A(t);if(!("$async"in A))this.errors=A.errors;return r}compile(e,t){const A=this._addSchema(e,t);return A.validate||this._compileSchemaEnv(A)}compileAsync(e,t){if(typeof this.opts.loadSchema!="function"){throw new Error("options.loadSchema should be a function")}const{loadSchema:A}=this.opts;return runCompileAsync.call(this,e,t);async function runCompileAsync(e,t){await loadMetaSchema.call(this,e.$schema);const A=this._addSchema(e,t);return A.validate||_compileAsync.call(this,A)}async function loadMetaSchema(e){if(e&&!this.getSchema(e)){await runCompileAsync.call(this,{$ref:e},true)}}async function _compileAsync(e){try{return this._compileSchemaEnv(e)}catch(t){if(!(t instanceof o.default))throw t;checkLoaded.call(this,t);await loadMissingSchema.call(this,t.missingSchema);return _compileAsync.call(this,e)}}function checkLoaded({missingSchema:e,missingRef:t}){if(this.refs[e]){throw new Error(`AnySchema ${e} is loaded but ${t} cannot be resolved`)}}async function loadMissingSchema(e){const A=await _loadSchema.call(this,e);if(!this.refs[e])await loadMetaSchema.call(this,A.$schema);if(!this.refs[e])this.addSchema(A,e,t)}async function _loadSchema(e){const t=this._loading[e];if(t)return t;try{return await(this._loading[e]=A(e))}finally{delete this._loading[e]}}}addSchema(e,t,A,r=this.opts.validateSchema){if(Array.isArray(e)){for(const t of e)this.addSchema(t,undefined,A,r);return this}let n;if(typeof e==="object"){const{schemaId:t}=this.opts;n=e[t];if(n!==undefined&&typeof n!="string"){throw new Error(`schema ${t} must be string`)}}t=(0,l.normalizeId)(t||n);this._checkUnique(t);this.schemas[t]=this._addSchema(e,A,t,r,true);return this}addMetaSchema(e,t,A=this.opts.validateSchema){this.addSchema(e,t,true,A);return this}validateSchema(e,t){if(typeof e=="boolean")return true;let A;A=e.$schema;if(A!==undefined&&typeof A!="string"){throw new Error("$schema must be a string")}A=A||this.opts.defaultMeta||this.defaultMeta();if(!A){this.logger.warn("meta-schema not available");this.errors=null;return true}const r=this.validate(A,e);if(!r&&t){const e="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(e);else throw new Error(e)}return r}getSchema(e){let t;while(typeof(t=getSchEnv.call(this,e))=="string")e=t;if(t===undefined){const{schemaId:A}=this.opts;const r=new a.SchemaEnv({schema:{},schemaId:A});t=a.resolveSchema.call(this,r,e);if(!t)return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp){this._removeAllSchemas(this.schemas,e);this._removeAllSchemas(this.refs,e);return this}switch(typeof e){case"undefined":this._removeAllSchemas(this.schemas);this._removeAllSchemas(this.refs);this._cache.clear();return this;case"string":{const t=getSchEnv.call(this,e);if(typeof t=="object")this._cache.delete(t.schema);delete this.schemas[e];delete this.refs[e];return this}case"object":{const t=e;this._cache.delete(t);let A=e[this.opts.schemaId];if(A){A=(0,l.normalizeId)(A);delete this.schemas[A];delete this.refs[A]}return this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(const t of e)this.addKeyword(t);return this}addKeyword(e,t){let A;if(typeof e=="string"){A=e;if(typeof t=="object"){this.logger.warn("these parameters are deprecated, see docs for addKeyword");t.keyword=A}}else if(typeof e=="object"&&t===undefined){t=e;A=t.keyword;if(Array.isArray(A)&&!A.length){throw new Error("addKeywords: keyword must be string or non-empty array")}}else{throw new Error("invalid addKeywords parameters")}checkKeyword.call(this,A,t);if(!t){(0,d.eachItem)(A,e=>addRule.call(this,e));return this}keywordMetaschema.call(this,t);const r={...t,type:(0,u.getJSONTypes)(t.type),schemaType:(0,u.getJSONTypes)(t.schemaType)};(0,d.eachItem)(A,r.type.length===0?e=>addRule.call(this,e,r):e=>r.type.forEach(t=>addRule.call(this,e,r,t)));return this}getKeyword(e){const t=this.RULES.all[e];return typeof t=="object"?t.definition:!!t}removeKeyword(e){const{RULES:t}=this;delete t.keywords[e];delete t.all[e];for(const A of t.rules){const t=A.rules.findIndex(t=>t.keyword===e);if(t>=0)A.rules.splice(t,1)}return this}addFormat(e,t){if(typeof t=="string")t=new RegExp(t);this.formats[e]=t;return this}errorsText(e=this.errors,{separator:t=", ",dataVar:A="data"}={}){if(!e||e.length===0)return"No errors";return e.map(e=>`${A}${e.instancePath} ${e.message}`).reduce((e,A)=>e+t+A)}$dataMetaSchema(e,t){const A=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(const r of t){const t=r.split("/").slice(1);let n=e;for(const e of t)n=n[e];for(const e in A){const t=A[e];if(typeof t!="object")continue;const{$data:r}=t.definition;const s=n[e];if(r&&s)n[e]=schemaOrData(s)}}return e}_removeAllSchemas(e,t){for(const A in e){const r=e[A];if(!t||t.test(A)){if(typeof r=="string"){delete e[A]}else if(r&&!r.meta){this._cache.delete(r.schema);delete e[A]}}}}_addSchema(e,t,A,r=this.opts.validateSchema,n=this.opts.addUsedSchema){let s;const{schemaId:o}=this.opts;if(typeof e=="object"){s=e[o]}else{if(this.opts.jtd)throw new Error("schema must be object");else if(typeof e!="boolean")throw new Error("schema must be object or boolean")}let i=this._cache.get(e);if(i!==undefined)return i;A=(0,l.normalizeId)(s||A);const c=l.getSchemaRefs.call(this,e,A);i=new a.SchemaEnv({schema:e,schemaId:o,meta:t,baseId:A,localRefs:c});this._cache.set(i.schema,i);if(n&&!A.startsWith("#")){if(A)this._checkUnique(A);this.refs[A]=i}if(r)this.validateSchema(e,true);return i}_checkUnique(e){if(this.schemas[e]||this.refs[e]){throw new Error(`schema with key or id "${e}" already exists`)}}_compileSchemaEnv(e){if(e.meta)this._compileMetaSchema(e);else a.compileSchema.call(this,e);if(!e.validate)throw new Error("ajv implementation error");return e.validate}_compileMetaSchema(e){const t=this.opts;this.opts=this._metaOpts;try{a.compileSchema.call(this,e)}finally{this.opts=t}}}Ajv.ValidationError=s.default;Ajv.MissingRefError=o.default;t["default"]=Ajv;function checkOptions(e,t,A,r="error"){for(const n in e){const s=n;if(s in t)this.logger[r](`${A}: option ${n}. ${e[s]}`)}}function getSchEnv(e){e=(0,l.normalizeId)(e);return this.schemas[e]||this.refs[e]}function addInitialSchemas(){const e=this.opts.schemas;if(!e)return;if(Array.isArray(e))this.addSchema(e);else for(const t in e)this.addSchema(e[t],t)}function addInitialFormats(){for(const e in this.opts.formats){const t=this.opts.formats[e];if(t)this.addFormat(e,t)}}function addInitialKeywords(e){if(Array.isArray(e)){this.addVocabulary(e);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const t in e){const A=e[t];if(!A.keyword)A.keyword=t;this.addKeyword(A)}}function getMetaSchemaOptions(){const e={...this.opts};for(const t of f)delete e[t];return e}const B={log(){},warn(){},error(){}};function getLogger(e){if(e===false)return B;if(e===undefined)return console;if(e.log&&e.warn&&e.error)return e;throw new Error("logger must implement log, warn and error methods")}const p=/^[a-z_$][a-z0-9_$:-]*$/i;function checkKeyword(e,t){const{RULES:A}=this;(0,d.eachItem)(e,e=>{if(A.keywords[e])throw new Error(`Keyword ${e} is already defined`);if(!p.test(e))throw new Error(`Keyword ${e} has invalid name`)});if(!t)return;if(t.$data&&!("code"in t||"validate"in t)){throw new Error('$data keyword must have "code" or "validate" function')}}function addRule(e,t,A){var r;const n=t===null||t===void 0?void 0:t.post;if(A&&n)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:s}=this;let o=n?s.post:s.rules.find(({type:e})=>e===A);if(!o){o={type:A,rules:[]};s.rules.push(o)}s.keywords[e]=true;if(!t)return;const i={keyword:e,definition:{...t,type:(0,u.getJSONTypes)(t.type),schemaType:(0,u.getJSONTypes)(t.schemaType)}};if(t.before)addBeforeRule.call(this,o,i,t.before);else o.rules.push(i);s.all[e]=i;(r=t.implements)===null||r===void 0?void 0:r.forEach(e=>this.addKeyword(e))}function addBeforeRule(e,t,A){const r=e.rules.findIndex(e=>e.keyword===A);if(r>=0){e.rules.splice(r,0,t)}else{e.rules.push(t);this.logger.warn(`rule ${A} is not defined`)}}function keywordMetaschema(e){let{metaSchema:t}=e;if(t===undefined)return;if(e.$data&&this.opts.$data)t=schemaOrData(t);e.validateSchema=this.compile(t,true)}const m={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function schemaOrData(e){return{anyOf:[e,m]}}},3707:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(8097);const n=A(5849);const s=A(3488);const o=A(1305);const i=A(7255);const a=A(2427);const c=A(1976);const l=A(5619);const u=["/properties"];function addMetaSchema2020(e){[r,n,s,o,i,with$data(this,a),c,with$data(this,l)].forEach(e=>this.addMetaSchema(e,undefined,false));return this;function with$data(t,A){return e?t.$dataMetaSchema(A,u):A}}t["default"]=addMetaSchema2020},4839:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(7638);r.code='require("ajv/dist/runtime/equal").default';t["default"]=r},2998:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});function ucs2length(e){const t=e.length;let A=0;let r=0;let n;while(r=55296&&n<=56319&&r{Object.defineProperty(t,"__esModule",{value:true});const r=A(2027);r.code='require("ajv/dist/runtime/uri").default';t["default"]=r},4301:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});class ValidationError extends Error{constructor(e){super("validation failed");this.errors=e;this.ajv=this.validation=true}}t["default"]=ValidationError},6728:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});t.validateAdditionalItems=void 0;const r=A(28);const n=A(3904);const s={message:({params:{len:e}})=>(0,r.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,r._)`{limit: ${e}}`};const o={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:s,code(e){const{parentSchema:t,it:A}=e;const{items:r}=t;if(!Array.isArray(r)){(0,n.checkStrictMode)(A,'"additionalItems" is ignored when "items" is not an array of schemas');return}validateAdditionalItems(e,r)}};function validateAdditionalItems(e,t){const{gen:A,schema:s,data:o,keyword:i,it:a}=e;a.items=true;const c=A.const("len",(0,r._)`${o}.length`);if(s===false){e.setParams({len:t.length});e.pass((0,r._)`${c} <= ${t.length}`)}else if(typeof s=="object"&&!(0,n.alwaysValidSchema)(a,s)){const n=A.var("valid",(0,r._)`${c} <= ${t.length}`);A.if((0,r.not)(n),()=>validateItems(n));e.ok(n)}function validateItems(s){A.forRange("i",t.length,c,t=>{e.subschema({keyword:i,dataProp:t,dataPropType:n.Type.Num},s);if(!a.allErrors)A.if((0,r.not)(s),()=>A.break())})}}t.validateAdditionalItems=validateAdditionalItems;t["default"]=o},3631:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(6516);const n=A(28);const s=A(5990);const o=A(3904);const i={message:"must NOT have additional properties",params:({params:e})=>(0,n._)`{additionalProperty: ${e.additionalProperty}}`};const a={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:true,trackErrors:true,error:i,code(e){const{gen:t,schema:A,parentSchema:i,data:a,errsCount:c,it:l}=e;if(!c)throw new Error("ajv implementation error");const{allErrors:u,opts:d}=l;l.props=true;if(d.removeAdditional!=="all"&&(0,o.alwaysValidSchema)(l,A))return;const h=(0,r.allSchemaProperties)(i.properties);const g=(0,r.allSchemaProperties)(i.patternProperties);checkAdditionalProperties();e.ok((0,n._)`${c} === ${s.default.errors}`);function checkAdditionalProperties(){t.forIn("key",a,e=>{if(!h.length&&!g.length)additionalPropertyCode(e);else t.if(isAdditional(e),()=>additionalPropertyCode(e))})}function isAdditional(A){let s;if(h.length>8){const e=(0,o.schemaRefOrVal)(l,i.properties,"properties");s=(0,r.isOwnProperty)(t,e,A)}else if(h.length){s=(0,n.or)(...h.map(e=>(0,n._)`${A} === ${e}`))}else{s=n.nil}if(g.length){s=(0,n.or)(s,...g.map(t=>(0,n._)`${(0,r.usePattern)(e,t)}.test(${A})`))}return(0,n.not)(s)}function deleteAdditional(e){t.code((0,n._)`delete ${a}[${e}]`)}function additionalPropertyCode(r){if(d.removeAdditional==="all"||d.removeAdditional&&A===false){deleteAdditional(r);return}if(A===false){e.setParams({additionalProperty:r});e.error();if(!u)t.break();return}if(typeof A=="object"&&!(0,o.alwaysValidSchema)(l,A)){const A=t.name("valid");if(d.removeAdditional==="failing"){applyAdditionalSchema(r,A,false);t.if((0,n.not)(A),()=>{e.reset();deleteAdditional(r)})}else{applyAdditionalSchema(r,A);if(!u)t.if((0,n.not)(A),()=>t.break())}}}function applyAdditionalSchema(t,A,r){const n={keyword:"additionalProperties",dataProp:t,dataPropType:o.Type.Str};if(r===false){Object.assign(n,{compositeRule:true,createErrors:false,allErrors:false})}e.subschema(n,A)}}};t["default"]=a},5077:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(3904);const n={keyword:"allOf",schemaType:"array",code(e){const{gen:t,schema:A,it:n}=e;if(!Array.isArray(A))throw new Error("ajv implementation error");const s=t.name("valid");A.forEach((t,A)=>{if((0,r.alwaysValidSchema)(n,t))return;const o=e.subschema({keyword:"allOf",schemaProp:A},s);e.ok(s);e.mergeEvaluated(o)})}};t["default"]=n},564:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(6516);const n={keyword:"anyOf",schemaType:"array",trackErrors:true,code:r.validateUnion,error:{message:"must match a schema in anyOf"}};t["default"]=n},2374:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(28);const n=A(3904);const s={message:({params:{min:e,max:t}})=>t===undefined?(0,r.str)`must contain at least ${e} valid item(s)`:(0,r.str)`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>t===undefined?(0,r._)`{minContains: ${e}}`:(0,r._)`{minContains: ${e}, maxContains: ${t}}`};const o={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:true,error:s,code(e){const{gen:t,schema:A,parentSchema:s,data:o,it:i}=e;let a;let c;const{minContains:l,maxContains:u}=s;if(i.opts.next){a=l===undefined?1:l;c=u}else{a=1}const d=t.const("len",(0,r._)`${o}.length`);e.setParams({min:a,max:c});if(c===undefined&&a===0){(0,n.checkStrictMode)(i,`"minContains" == 0 without "maxContains": "contains" keyword ignored`);return}if(c!==undefined&&a>c){(0,n.checkStrictMode)(i,`"minContains" > "maxContains" is always invalid`);e.fail();return}if((0,n.alwaysValidSchema)(i,A)){let t=(0,r._)`${d} >= ${a}`;if(c!==undefined)t=(0,r._)`${t} && ${d} <= ${c}`;e.pass(t);return}i.items=true;const h=t.name("valid");if(c===undefined&&a===1){validateItems(h,()=>t.if(h,()=>t.break()))}else if(a===0){t.let(h,true);if(c!==undefined)t.if((0,r._)`${o}.length > 0`,validateItemsWithCount)}else{t.let(h,false);validateItemsWithCount()}e.result(h,()=>e.reset());function validateItemsWithCount(){const e=t.name("_valid");const A=t.let("count",0);validateItems(e,()=>t.if(e,()=>checkLimits(A)))}function validateItems(A,r){t.forRange("i",0,d,t=>{e.subschema({keyword:"contains",dataProp:t,dataPropType:n.Type.Num,compositeRule:true},A);r()})}function checkLimits(e){t.code((0,r._)`${e}++`);if(c===undefined){t.if((0,r._)`${e} >= ${a}`,()=>t.assign(h,true).break())}else{t.if((0,r._)`${e} > ${c}`,()=>t.assign(h,false).break());if(a===1)t.assign(h,true);else t.if((0,r._)`${e} >= ${a}`,()=>t.assign(h,true))}}}};t["default"]=o},9170:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});t.validateSchemaDeps=t.validatePropertyDeps=t.error=void 0;const r=A(28);const n=A(3904);const s=A(6516);t.error={message:({params:{property:e,depsCount:t,deps:A}})=>{const n=t===1?"property":"properties";return(0,r.str)`must have ${n} ${A} when property ${e} is present`},params:({params:{property:e,depsCount:t,deps:A,missingProperty:n}})=>(0,r._)`{property: ${e}, +import{createRequire as e}from"module";var t={7962:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.formatNames=t.fastFormats=t.fullFormats=void 0;function fmtDef(e,t){return{validate:e,compare:t}}t.fullFormats={date:fmtDef(date,compareDate),time:fmtDef(getTime(true),compareTime),"date-time":fmtDef(getDateTime(true),compareDateTime),"iso-time":fmtDef(getTime(),compareIsoTime),"iso-date-time":fmtDef(getDateTime(),compareIsoDateTime),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:uri,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[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}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:regex,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:byte,int32:{type:"number",validate:validateInt32},int64:{type:"number",validate:validateInt64},float:{type:"number",validate:validateNumber},double:{type:"number",validate:validateNumber},password:true,binary:true};t.fastFormats={...t.fullFormats,date:fmtDef(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,compareDate),time:fmtDef(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,compareTime),"date-time":fmtDef(/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,compareDateTime),"iso-time":fmtDef(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,compareIsoTime),"iso-date-time":fmtDef(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,compareIsoDateTime),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i};t.formatNames=Object.keys(t.fullFormats);function isLeapYear(e){return e%4===0&&(e%100!==0||e%400===0)}const r=/^(\d\d\d\d)-(\d\d)-(\d\d)$/;const A=[0,31,28,31,30,31,30,31,31,30,31,30,31];function date(e){const t=r.exec(e);if(!t)return false;const n=+t[1];const s=+t[2];const o=+t[3];return s>=1&&s<=12&&o>=1&&o<=(s===2&&isLeapYear(n)?29:A[s])}function compareDate(e,t){if(!(e&&t))return undefined;if(e>t)return 1;if(e23||l>59||e&&!i)return false;if(A<=23&&s<=59&&o<60)return true;const u=s-l*a;const d=A-c*a-(u<0?1:0);return(d===23||d===-1)&&(u===59||u===-1)&&o<61}}function compareTime(e,t){if(!(e&&t))return undefined;const r=new Date("2020-01-01T"+e).valueOf();const A=new Date("2020-01-01T"+t).valueOf();if(!(r&&A))return undefined;return r-A}function compareIsoTime(e,t){if(!(e&&t))return undefined;const r=n.exec(e);const A=n.exec(t);if(!(r&&A))return undefined;e=r[1]+r[2]+r[3];t=A[1]+A[2]+A[3];if(e>t)return 1;if(e=c}function validateInt64(e){return Number.isInteger(e)}function validateNumber(){return true}const u=/[^\\]\\Z/;function regex(e){if(u.test(e))return false;try{new RegExp(e);return true}catch(e){return false}}},8078:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(7962);const n=r(725);const s=r(28);const o=new s.Name("fullFormats");const i=new s.Name("fastFormats");const formatsPlugin=(e,t={keywords:true})=>{if(Array.isArray(t)){addFormats(e,t,A.fullFormats,o);return e}const[r,s]=t.mode==="fast"?[A.fastFormats,i]:[A.fullFormats,o];const a=t.formats||A.formatNames;addFormats(e,a,r,s);if(t.keywords)(0,n.default)(e);return e};formatsPlugin.get=(e,t="full")=>{const r=t==="fast"?A.fastFormats:A.fullFormats;const n=r[e];if(!n)throw new Error(`Unknown format "${e}"`);return n};function addFormats(e,t,r,A){var n;var o;(n=(o=e.opts.code).formats)!==null&&n!==void 0?n:o.formats=(0,s._)`require("ajv-formats/dist/formats").${A}`;for(const A of t)e.addFormat(A,r[A])}e.exports=t=formatsPlugin;Object.defineProperty(t,"__esModule",{value:true});t["default"]=formatsPlugin},725:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.formatLimitDefinition=void 0;const A=r(6223);const n=r(28);const s=n.operators;const o={formatMaximum:{okStr:"<=",ok:s.LTE,fail:s.GT},formatMinimum:{okStr:">=",ok:s.GTE,fail:s.LT},formatExclusiveMaximum:{okStr:"<",ok:s.LT,fail:s.GTE},formatExclusiveMinimum:{okStr:">",ok:s.GT,fail:s.LTE}};const i={message:({keyword:e,schemaCode:t})=>(0,n.str)`should be ${o[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>(0,n._)`{comparison: ${o[e].okStr}, limit: ${t}}`};t.formatLimitDefinition={keyword:Object.keys(o),type:"string",schemaType:"string",$data:true,error:i,code(e){const{gen:t,data:r,schemaCode:s,keyword:i,it:a}=e;const{opts:c,self:l}=a;if(!c.validateFormats)return;const u=new A.KeywordCxt(a,l.RULES.all.format.definition,"format");if(u.$data)validate$DataFormat();else validateFormat();function validate$DataFormat(){const r=t.scopeValue("formats",{ref:l.formats,code:c.code.formats});const A=t.const("fmt",(0,n._)`${r}[${u.schemaCode}]`);e.fail$data((0,n.or)((0,n._)`typeof ${A} != "object"`,(0,n._)`${A} instanceof RegExp`,(0,n._)`typeof ${A}.compare != "function"`,compareCode(A)))}function validateFormat(){const r=u.schema;const A=l.formats[r];if(!A||A===true)return;if(typeof A!="object"||A instanceof RegExp||typeof A.compare!="function"){throw new Error(`"${i}": format "${r}" does not define "compare" function`)}const s=t.scopeValue("formats",{key:r,ref:A,code:c.code.formats?(0,n._)`${c.code.formats}${(0,n.getProperty)(r)}`:undefined});e.fail$data(compareCode(s))}function compareCode(e){return(0,n._)`${e}.compare(${r}, ${s}) ${o[i].fail} 0`}},dependencies:["format"]};const formatLimitPlugin=e=>{e.addKeyword(t.formatLimitDefinition);return e};t["default"]=formatLimitPlugin},9474:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv2020=void 0;const A=r(2549);const n=r(3370);const s=r(5014);const o=r(3707);const i="https://json-schema.org/draft/2020-12/schema";class Ajv2020 extends A.default{constructor(e={}){super({...e,dynamicRef:true,next:true,unevaluated:true})}_addVocabularies(){super._addVocabularies();n.default.forEach(e=>this.addVocabulary(e));if(this.opts.discriminator)this.addKeyword(s.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();const{$data:e,meta:t}=this.opts;if(!t)return;o.default.call(this,e);this.refs["http://json-schema.org/schema"]=i}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(i)?i:undefined)}}t.Ajv2020=Ajv2020;e.exports=t=Ajv2020;e.exports.Ajv2020=Ajv2020;Object.defineProperty(t,"__esModule",{value:true});t["default"]=Ajv2020;var a=r(4457);Object.defineProperty(t,"KeywordCxt",{enumerable:true,get:function(){return a.KeywordCxt}});var c=r(28);Object.defineProperty(t,"_",{enumerable:true,get:function(){return c._}});Object.defineProperty(t,"str",{enumerable:true,get:function(){return c.str}});Object.defineProperty(t,"stringify",{enumerable:true,get:function(){return c.stringify}});Object.defineProperty(t,"nil",{enumerable:true,get:function(){return c.nil}});Object.defineProperty(t,"Name",{enumerable:true,get:function(){return c.Name}});Object.defineProperty(t,"CodeGen",{enumerable:true,get:function(){return c.CodeGen}});var l=r(4301);Object.defineProperty(t,"ValidationError",{enumerable:true,get:function(){return l.default}});var u=r(8922);Object.defineProperty(t,"MissingRefError",{enumerable:true,get:function(){return u.default}})},6223:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv=void 0;const A=r(2549);const n=r(5845);const s=r(5014);const o=r(7628);const i=["/properties"];const a="http://json-schema.org/draft-07/schema";class Ajv extends A.default{_addVocabularies(){super._addVocabularies();n.default.forEach(e=>this.addVocabulary(e));if(this.opts.discriminator)this.addKeyword(s.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();if(!this.opts.meta)return;const e=this.opts.$data?this.$dataMetaSchema(o,i):o;this.addMetaSchema(e,a,false);this.refs["http://json-schema.org/schema"]=a}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(a)?a:undefined)}}t.Ajv=Ajv;e.exports=t=Ajv;e.exports.Ajv=Ajv;Object.defineProperty(t,"__esModule",{value:true});t["default"]=Ajv;var c=r(4457);Object.defineProperty(t,"KeywordCxt",{enumerable:true,get:function(){return c.KeywordCxt}});var l=r(28);Object.defineProperty(t,"_",{enumerable:true,get:function(){return l._}});Object.defineProperty(t,"str",{enumerable:true,get:function(){return l.str}});Object.defineProperty(t,"stringify",{enumerable:true,get:function(){return l.stringify}});Object.defineProperty(t,"nil",{enumerable:true,get:function(){return l.nil}});Object.defineProperty(t,"Name",{enumerable:true,get:function(){return l.Name}});Object.defineProperty(t,"CodeGen",{enumerable:true,get:function(){return l.CodeGen}});var u=r(4301);Object.defineProperty(t,"ValidationError",{enumerable:true,get:function(){return u.default}});var d=r(8922);Object.defineProperty(t,"MissingRefError",{enumerable:true,get:function(){return d.default}})},6711:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.regexpCode=t.getEsmExportName=t.getProperty=t.safeStringify=t.stringify=t.strConcat=t.addCodeArg=t.str=t._=t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0;class _CodeOrName{}t._CodeOrName=_CodeOrName;t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class Name extends _CodeOrName{constructor(e){super();if(!t.IDENTIFIER.test(e))throw new Error("CodeGen: name must be a valid identifier");this.str=e}toString(){return this.str}emptyStr(){return false}get names(){return{[this.str]:1}}}t.Name=Name;class _Code extends _CodeOrName{constructor(e){super();this._items=typeof e==="string"?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return false;const e=this._items[0];return e===""||e==='""'}get str(){var e;return(e=this._str)!==null&&e!==void 0?e:this._str=this._items.reduce((e,t)=>`${e}${t}`,"")}get names(){var e;return(e=this._names)!==null&&e!==void 0?e:this._names=this._items.reduce((e,t)=>{if(t instanceof Name)e[t.str]=(e[t.str]||0)+1;return e},{})}}t._Code=_Code;t.nil=new _Code("");function _(e,...t){const r=[e[0]];let A=0;while(A{Object.defineProperty(t,"__esModule",{value:true});t.or=t.and=t.not=t.CodeGen=t.operators=t.varKinds=t.ValueScopeName=t.ValueScope=t.Scope=t.Name=t.regexpCode=t.stringify=t.getProperty=t.nil=t.strConcat=t.str=t._=void 0;const A=r(6711);const n=r(1404);var s=r(6711);Object.defineProperty(t,"_",{enumerable:true,get:function(){return s._}});Object.defineProperty(t,"str",{enumerable:true,get:function(){return s.str}});Object.defineProperty(t,"strConcat",{enumerable:true,get:function(){return s.strConcat}});Object.defineProperty(t,"nil",{enumerable:true,get:function(){return s.nil}});Object.defineProperty(t,"getProperty",{enumerable:true,get:function(){return s.getProperty}});Object.defineProperty(t,"stringify",{enumerable:true,get:function(){return s.stringify}});Object.defineProperty(t,"regexpCode",{enumerable:true,get:function(){return s.regexpCode}});Object.defineProperty(t,"Name",{enumerable:true,get:function(){return s.Name}});var o=r(1404);Object.defineProperty(t,"Scope",{enumerable:true,get:function(){return o.Scope}});Object.defineProperty(t,"ValueScope",{enumerable:true,get:function(){return o.ValueScope}});Object.defineProperty(t,"ValueScopeName",{enumerable:true,get:function(){return o.ValueScopeName}});Object.defineProperty(t,"varKinds",{enumerable:true,get:function(){return o.varKinds}});t.operators={GT:new A._Code(">"),GTE:new A._Code(">="),LT:new A._Code("<"),LTE:new A._Code("<="),EQ:new A._Code("==="),NEQ:new A._Code("!=="),NOT:new A._Code("!"),OR:new A._Code("||"),AND:new A._Code("&&"),ADD:new A._Code("+")};class Node{optimizeNodes(){return this}optimizeNames(e,t){return this}}class Def extends Node{constructor(e,t,r){super();this.varKind=e;this.name=t;this.rhs=r}render({es5:e,_n:t}){const r=e?n.varKinds.var:this.varKind;const A=this.rhs===undefined?"":` = ${this.rhs}`;return`${r} ${this.name}${A};`+t}optimizeNames(e,t){if(!e[this.name.str])return;if(this.rhs)this.rhs=optimizeExpr(this.rhs,e,t);return this}get names(){return this.rhs instanceof A._CodeOrName?this.rhs.names:{}}}class Assign extends Node{constructor(e,t,r){super();this.lhs=e;this.rhs=t;this.sideEffects=r}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,t){if(this.lhs instanceof A.Name&&!e[this.lhs.str]&&!this.sideEffects)return;this.rhs=optimizeExpr(this.rhs,e,t);return this}get names(){const e=this.lhs instanceof A.Name?{}:{...this.lhs.names};return addExprNames(e,this.rhs)}}class AssignOp extends Assign{constructor(e,t,r,A){super(e,r,A);this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}}class Label extends Node{constructor(e){super();this.label=e;this.names={}}render({_n:e}){return`${this.label}:`+e}}class Break extends Node{constructor(e){super();this.label=e;this.names={}}render({_n:e}){const t=this.label?` ${this.label}`:"";return`break${t};`+e}}class Throw extends Node{constructor(e){super();this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}}class AnyCode extends Node{constructor(e){super();this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:undefined}optimizeNames(e,t){this.code=optimizeExpr(this.code,e,t);return this}get names(){return this.code instanceof A._CodeOrName?this.code.names:{}}}class ParentNode extends Node{constructor(e=[]){super();this.nodes=e}render(e){return this.nodes.reduce((t,r)=>t+r.render(e),"")}optimizeNodes(){const{nodes:e}=this;let t=e.length;while(t--){const r=e[t].optimizeNodes();if(Array.isArray(r))e.splice(t,1,...r);else if(r)e[t]=r;else e.splice(t,1)}return e.length>0?this:undefined}optimizeNames(e,t){const{nodes:r}=this;let A=r.length;while(A--){const n=r[A];if(n.optimizeNames(e,t))continue;subtractNames(e,n.names);r.splice(A,1)}return r.length>0?this:undefined}get names(){return this.nodes.reduce((e,t)=>addNames(e,t.names),{})}}class BlockNode extends ParentNode{render(e){return"{"+e._n+super.render(e)+"}"+e._n}}class Root extends ParentNode{}class Else extends BlockNode{}Else.kind="else";class If extends BlockNode{constructor(e,t){super(t);this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);if(this.else)t+="else "+this.else.render(e);return t}optimizeNodes(){super.optimizeNodes();const e=this.condition;if(e===true)return this.nodes;let t=this.else;if(t){const e=t.optimizeNodes();t=this.else=Array.isArray(e)?new Else(e):e}if(t){if(e===false)return t instanceof If?t:t.nodes;if(this.nodes.length)return this;return new If(not(e),t instanceof If?[t]:t.nodes)}if(e===false||!this.nodes.length)return undefined;return this}optimizeNames(e,t){var r;this.else=(r=this.else)===null||r===void 0?void 0:r.optimizeNames(e,t);if(!(super.optimizeNames(e,t)||this.else))return;this.condition=optimizeExpr(this.condition,e,t);return this}get names(){const e=super.names;addExprNames(e,this.condition);if(this.else)addNames(e,this.else.names);return e}}If.kind="if";class For extends BlockNode{}For.kind="for";class ForLoop extends For{constructor(e){super();this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(!super.optimizeNames(e,t))return;this.iteration=optimizeExpr(this.iteration,e,t);return this}get names(){return addNames(super.names,this.iteration.names)}}class ForRange extends For{constructor(e,t,r,A){super();this.varKind=e;this.name=t;this.from=r;this.to=A}render(e){const t=e.es5?n.varKinds.var:this.varKind;const{name:r,from:A,to:s}=this;return`for(${t} ${r}=${A}; ${r}<${s}; ${r}++)`+super.render(e)}get names(){const e=addExprNames(super.names,this.from);return addExprNames(e,this.to)}}class ForIter extends For{constructor(e,t,r,A){super();this.loop=e;this.varKind=t;this.name=r;this.iterable=A}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(!super.optimizeNames(e,t))return;this.iterable=optimizeExpr(this.iterable,e,t);return this}get names(){return addNames(super.names,this.iterable.names)}}class Func extends BlockNode{constructor(e,t,r){super();this.name=e;this.args=t;this.async=r}render(e){const t=this.async?"async ":"";return`${t}function ${this.name}(${this.args})`+super.render(e)}}Func.kind="func";class Return extends ParentNode{render(e){return"return "+super.render(e)}}Return.kind="return";class Try extends BlockNode{render(e){let t="try"+super.render(e);if(this.catch)t+=this.catch.render(e);if(this.finally)t+=this.finally.render(e);return t}optimizeNodes(){var e,t;super.optimizeNodes();(e=this.catch)===null||e===void 0?void 0:e.optimizeNodes();(t=this.finally)===null||t===void 0?void 0:t.optimizeNodes();return this}optimizeNames(e,t){var r,A;super.optimizeNames(e,t);(r=this.catch)===null||r===void 0?void 0:r.optimizeNames(e,t);(A=this.finally)===null||A===void 0?void 0:A.optimizeNames(e,t);return this}get names(){const e=super.names;if(this.catch)addNames(e,this.catch.names);if(this.finally)addNames(e,this.finally.names);return e}}class Catch extends BlockNode{constructor(e){super();this.error=e}render(e){return`catch(${this.error})`+super.render(e)}}Catch.kind="catch";class Finally extends BlockNode{render(e){return"finally"+super.render(e)}}Finally.kind="finally";class CodeGen{constructor(e,t={}){this._values={};this._blockStarts=[];this._constants={};this.opts={...t,_n:t.lines?"\n":""};this._extScope=e;this._scope=new n.Scope({parent:e});this._nodes=[new Root]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,t){const r=this._extScope.value(e,t);const A=this._values[r.prefix]||(this._values[r.prefix]=new Set);A.add(r);return r}getScopeValue(e,t){return this._extScope.getValue(e,t)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,t,r,A){const n=this._scope.toName(t);if(r!==undefined&&A)this._constants[n.str]=r;this._leafNode(new Def(e,n,r));return n}const(e,t,r){return this._def(n.varKinds.const,e,t,r)}let(e,t,r){return this._def(n.varKinds.let,e,t,r)}var(e,t,r){return this._def(n.varKinds.var,e,t,r)}assign(e,t,r){return this._leafNode(new Assign(e,t,r))}add(e,r){return this._leafNode(new AssignOp(e,t.operators.ADD,r))}code(e){if(typeof e=="function")e();else if(e!==A.nil)this._leafNode(new AnyCode(e));return this}object(...e){const t=["{"];for(const[r,n]of e){if(t.length>1)t.push(",");t.push(r);if(r!==n||this.opts.es5){t.push(":");(0,A.addCodeArg)(t,n)}}t.push("}");return new A._Code(t)}if(e,t,r){this._blockNode(new If(e));if(t&&r){this.code(t).else().code(r).endIf()}else if(t){this.code(t).endIf()}else if(r){throw new Error('CodeGen: "else" body without "then" body')}return this}elseIf(e){return this._elseNode(new If(e))}else(){return this._elseNode(new Else)}endIf(){return this._endBlockNode(If,Else)}_for(e,t){this._blockNode(e);if(t)this.code(t).endFor();return this}for(e,t){return this._for(new ForLoop(e),t)}forRange(e,t,r,A,s=(this.opts.es5?n.varKinds.var:n.varKinds.let)){const o=this._scope.toName(e);return this._for(new ForRange(s,o,t,r),()=>A(o))}forOf(e,t,r,s=n.varKinds.const){const o=this._scope.toName(e);if(this.opts.es5){const e=t instanceof A.Name?t:this.var("_arr",t);return this.forRange("_i",0,(0,A._)`${e}.length`,t=>{this.var(o,(0,A._)`${e}[${t}]`);r(o)})}return this._for(new ForIter("of",s,o,t),()=>r(o))}forIn(e,t,r,s=(this.opts.es5?n.varKinds.var:n.varKinds.const)){if(this.opts.ownProperties){return this.forOf(e,(0,A._)`Object.keys(${t})`,r)}const o=this._scope.toName(e);return this._for(new ForIter("in",s,o,t),()=>r(o))}endFor(){return this._endBlockNode(For)}label(e){return this._leafNode(new Label(e))}break(e){return this._leafNode(new Break(e))}return(e){const t=new Return;this._blockNode(t);this.code(e);if(t.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(Return)}try(e,t,r){if(!t&&!r)throw new Error('CodeGen: "try" without "catch" and "finally"');const A=new Try;this._blockNode(A);this.code(e);if(t){const e=this.name("e");this._currNode=A.catch=new Catch(e);t(e)}if(r){this._currNode=A.finally=new Finally;this.code(r)}return this._endBlockNode(Catch,Finally)}throw(e){return this._leafNode(new Throw(e))}block(e,t){this._blockStarts.push(this._nodes.length);if(e)this.code(e).endBlock(t);return this}endBlock(e){const t=this._blockStarts.pop();if(t===undefined)throw new Error("CodeGen: not in self-balancing block");const r=this._nodes.length-t;if(r<0||e!==undefined&&r!==e){throw new Error(`CodeGen: wrong number of nodes: ${r} vs ${e} expected`)}this._nodes.length=t;return this}func(e,t=A.nil,r,n){this._blockNode(new Func(e,t,r));if(n)this.code(n).endFunc();return this}endFunc(){return this._endBlockNode(Func)}optimize(e=1){while(e-- >0){this._root.optimizeNodes();this._root.optimizeNames(this._root.names,this._constants)}}_leafNode(e){this._currNode.nodes.push(e);return this}_blockNode(e){this._currNode.nodes.push(e);this._nodes.push(e)}_endBlockNode(e,t){const r=this._currNode;if(r instanceof e||t&&r instanceof t){this._nodes.pop();return this}throw new Error(`CodeGen: not in block "${t?`${e.kind}/${t.kind}`:e.kind}"`)}_elseNode(e){const t=this._currNode;if(!(t instanceof If)){throw new Error('CodeGen: "else" without "if"')}this._currNode=t.else=e;return this}get _root(){return this._nodes[0]}get _currNode(){const e=this._nodes;return e[e.length-1]}set _currNode(e){const t=this._nodes;t[t.length-1]=e}}t.CodeGen=CodeGen;function addNames(e,t){for(const r in t)e[r]=(e[r]||0)+(t[r]||0);return e}function addExprNames(e,t){return t instanceof A._CodeOrName?addNames(e,t.names):e}function optimizeExpr(e,t,r){if(e instanceof A.Name)return replaceName(e);if(!canOptimize(e))return e;return new A._Code(e._items.reduce((e,t)=>{if(t instanceof A.Name)t=replaceName(t);if(t instanceof A._Code)e.push(...t._items);else e.push(t);return e},[]));function replaceName(e){const A=r[e.str];if(A===undefined||t[e.str]!==1)return e;delete t[e.str];return A}function canOptimize(e){return e instanceof A._Code&&e._items.some(e=>e instanceof A.Name&&t[e.str]===1&&r[e.str]!==undefined)}}function subtractNames(e,t){for(const r in t)e[r]=(e[r]||0)-(t[r]||0)}function not(e){return typeof e=="boolean"||typeof e=="number"||e===null?!e:(0,A._)`!${par(e)}`}t.not=not;const i=mappend(t.operators.AND);function and(...e){return e.reduce(i)}t.and=and;const a=mappend(t.operators.OR);function or(...e){return e.reduce(a)}t.or=or;function mappend(e){return(t,r)=>t===A.nil?r:r===A.nil?t:(0,A._)`${par(t)} ${e} ${par(r)}`}function par(e){return e instanceof A.Name?e:(0,A._)`(${e})`}},1404:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.ValueScope=t.ValueScopeName=t.Scope=t.varKinds=t.UsedValueState=void 0;const A=r(6711);class ValueError extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`);this.value=e.value}}var n;(function(e){e[e["Started"]=0]="Started";e[e["Completed"]=1]="Completed"})(n||(t.UsedValueState=n={}));t.varKinds={const:new A.Name("const"),let:new A.Name("let"),var:new A.Name("var")};class Scope{constructor({prefixes:e,parent:t}={}){this._names={};this._prefixes=e;this._parent=t}toName(e){return e instanceof A.Name?e:this.name(e)}name(e){return new A.Name(this._newName(e))}_newName(e){const t=this._names[e]||this._nameGroup(e);return`${e}${t.index++}`}_nameGroup(e){var t,r;if(((r=(t=this._parent)===null||t===void 0?void 0:t._prefixes)===null||r===void 0?void 0:r.has(e))||this._prefixes&&!this._prefixes.has(e)){throw new Error(`CodeGen: prefix "${e}" is not allowed in this scope`)}return this._names[e]={prefix:e,index:0}}}t.Scope=Scope;class ValueScopeName extends A.Name{constructor(e,t){super(t);this.prefix=e}setValue(e,{property:t,itemIndex:r}){this.value=e;this.scopePath=(0,A._)`.${new A.Name(t)}[${r}]`}}t.ValueScopeName=ValueScopeName;const s=(0,A._)`\n`;class ValueScope extends Scope{constructor(e){super(e);this._values={};this._scope=e.scope;this.opts={...e,_n:e.lines?s:A.nil}}get(){return this._scope}name(e){return new ValueScopeName(e,this._newName(e))}value(e,t){var r;if(t.ref===undefined)throw new Error("CodeGen: ref must be passed in value");const A=this.toName(e);const{prefix:n}=A;const s=(r=t.key)!==null&&r!==void 0?r:t.ref;let o=this._values[n];if(o){const e=o.get(s);if(e)return e}else{o=this._values[n]=new Map}o.set(s,A);const i=this._scope[n]||(this._scope[n]=[]);const a=i.length;i[a]=t.ref;A.setValue(t,{property:n,itemIndex:a});return A}getValue(e,t){const r=this._values[e];if(!r)return;return r.get(t)}scopeRefs(e,t=this._values){return this._reduceValues(t,t=>{if(t.scopePath===undefined)throw new Error(`CodeGen: name "${t}" has no value`);return(0,A._)`${e}${t.scopePath}`})}scopeCode(e=this._values,t,r){return this._reduceValues(e,e=>{if(e.value===undefined)throw new Error(`CodeGen: name "${e}" has no value`);return e.value.code},t,r)}_reduceValues(e,r,s={},o){let i=A.nil;for(const a in e){const c=e[a];if(!c)continue;const l=s[a]=s[a]||new Map;c.forEach(e=>{if(l.has(e))return;l.set(e,n.Started);let s=r(e);if(s){const r=this.opts.es5?t.varKinds.var:t.varKinds.const;i=(0,A._)`${i}${r} ${e} = ${s};${this.opts._n}`}else if(s=o===null||o===void 0?void 0:o(e)){i=(0,A._)`${i}${s}${this.opts._n}`}else{throw new ValueError(e)}l.set(e,n.Completed)})}return i}}t.ValueScope=ValueScope},3040:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.extendErrors=t.resetErrorsCount=t.reportExtraError=t.reportError=t.keyword$DataError=t.keywordError=void 0;const A=r(28);const n=r(3904);const s=r(5990);t.keywordError={message:({keyword:e})=>(0,A.str)`must pass "${e}" keyword validation`};t.keyword$DataError={message:({keyword:e,schemaType:t})=>t?(0,A.str)`"${e}" keyword must be ${t} ($data)`:(0,A.str)`"${e}" keyword is invalid ($data)`};function reportError(e,r=t.keywordError,n,s){const{it:o}=e;const{gen:i,compositeRule:a,allErrors:c}=o;const l=errorObjectCode(e,r,n);if(s!==null&&s!==void 0?s:a||c){addError(i,l)}else{returnErrors(o,(0,A._)`[${l}]`)}}t.reportError=reportError;function reportExtraError(e,r=t.keywordError,A){const{it:n}=e;const{gen:o,compositeRule:i,allErrors:a}=n;const c=errorObjectCode(e,r,A);addError(o,c);if(!(i||a)){returnErrors(n,s.default.vErrors)}}t.reportExtraError=reportExtraError;function resetErrorsCount(e,t){e.assign(s.default.errors,t);e.if((0,A._)`${s.default.vErrors} !== null`,()=>e.if(t,()=>e.assign((0,A._)`${s.default.vErrors}.length`,t),()=>e.assign(s.default.vErrors,null)))}t.resetErrorsCount=resetErrorsCount;function extendErrors({gen:e,keyword:t,schemaValue:r,data:n,errsCount:o,it:i}){if(o===undefined)throw new Error("ajv implementation error");const a=e.name("err");e.forRange("i",o,s.default.errors,o=>{e.const(a,(0,A._)`${s.default.vErrors}[${o}]`);e.if((0,A._)`${a}.instancePath === undefined`,()=>e.assign((0,A._)`${a}.instancePath`,(0,A.strConcat)(s.default.instancePath,i.errorPath)));e.assign((0,A._)`${a}.schemaPath`,(0,A.str)`${i.errSchemaPath}/${t}`);if(i.opts.verbose){e.assign((0,A._)`${a}.schema`,r);e.assign((0,A._)`${a}.data`,n)}})}t.extendErrors=extendErrors;function addError(e,t){const r=e.const("err",t);e.if((0,A._)`${s.default.vErrors} === null`,()=>e.assign(s.default.vErrors,(0,A._)`[${r}]`),(0,A._)`${s.default.vErrors}.push(${r})`);e.code((0,A._)`${s.default.errors}++`)}function returnErrors(e,t){const{gen:r,validateName:n,schemaEnv:s}=e;if(s.$async){r.throw((0,A._)`new ${e.ValidationError}(${t})`)}else{r.assign((0,A._)`${n}.errors`,t);r.return(false)}}const o={keyword:new A.Name("keyword"),schemaPath:new A.Name("schemaPath"),params:new A.Name("params"),propertyName:new A.Name("propertyName"),message:new A.Name("message"),schema:new A.Name("schema"),parentSchema:new A.Name("parentSchema")};function errorObjectCode(e,t,r){const{createErrors:n}=e.it;if(n===false)return(0,A._)`{}`;return errorObject(e,t,r)}function errorObject(e,t,r={}){const{gen:A,it:n}=e;const s=[errorInstancePath(n,r),errorSchemaPath(e,r)];extraErrorProps(e,t,s);return A.object(...s)}function errorInstancePath({errorPath:e},{instancePath:t}){const r=t?(0,A.str)`${e}${(0,n.getErrorPath)(t,n.Type.Str)}`:e;return[s.default.instancePath,(0,A.strConcat)(s.default.instancePath,r)]}function errorSchemaPath({keyword:e,it:{errSchemaPath:t}},{schemaPath:r,parentSchema:s}){let i=s?t:(0,A.str)`${t}/${e}`;if(r){i=(0,A.str)`${i}${(0,n.getErrorPath)(r,n.Type.Str)}`}return[o.schemaPath,i]}function extraErrorProps(e,{params:t,message:r},n){const{keyword:i,data:a,schemaValue:c,it:l}=e;const{opts:u,propertyName:d,topSchemaRef:h,schemaPath:g}=l;n.push([o.keyword,i],[o.params,typeof t=="function"?t(e):t||(0,A._)`{}`]);if(u.messages){n.push([o.message,typeof r=="function"?r(e):r])}if(u.verbose){n.push([o.schema,c],[o.parentSchema,(0,A._)`${h}${g}`],[s.default.data,a])}if(d)n.push([o.propertyName,d])}},9198:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.resolveSchema=t.getCompilingSchema=t.resolveRef=t.compileSchema=t.SchemaEnv=void 0;const A=r(28);const n=r(4301);const s=r(5990);const o=r(1946);const i=r(3904);const a=r(4457);class SchemaEnv{constructor(e){var t;this.refs={};this.dynamicAnchors={};let r;if(typeof e.schema=="object")r=e.schema;this.schema=e.schema;this.schemaId=e.schemaId;this.root=e.root||this;this.baseId=(t=e.baseId)!==null&&t!==void 0?t:(0,o.normalizeId)(r===null||r===void 0?void 0:r[e.schemaId||"$id"]);this.schemaPath=e.schemaPath;this.localRefs=e.localRefs;this.meta=e.meta;this.$async=r===null||r===void 0?void 0:r.$async;this.refs={}}}t.SchemaEnv=SchemaEnv;function compileSchema(e){const t=getCompilingSchema.call(this,e);if(t)return t;const r=(0,o.getFullPath)(this.opts.uriResolver,e.root.baseId);const{es5:i,lines:c}=this.opts.code;const{ownProperties:l}=this.opts;const u=new A.CodeGen(this.scope,{es5:i,lines:c,ownProperties:l});let d;if(e.$async){d=u.scopeValue("Error",{ref:n.default,code:(0,A._)`require("ajv/dist/runtime/validation_error").default`})}const h=u.scopeName("validate");e.validateName=h;const g={gen:u,allErrors:this.opts.allErrors,data:s.default.data,parentData:s.default.parentData,parentDataProperty:s.default.parentDataProperty,dataNames:[s.default.data],dataPathArr:[A.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:u.scopeValue("schema",this.opts.code.source===true?{ref:e.schema,code:(0,A.stringify)(e.schema)}:{ref:e.schema}),validateName:h,ValidationError:d,schema:e.schema,schemaEnv:e,rootId:r,baseId:e.baseId||r,schemaPath:A.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,A._)`""`,opts:this.opts,self:this};let f;try{this._compilations.add(e);(0,a.validateFunctionCode)(g);u.optimize(this.opts.code.optimize);const t=u.toString();f=`${u.scopeRefs(s.default.scope)}return ${t}`;if(this.opts.code.process)f=this.opts.code.process(f,e);const r=new Function(`${s.default.self}`,`${s.default.scope}`,f);const n=r(this,this.scope.get());this.scope.value(h,{ref:n});n.errors=null;n.schema=e.schema;n.schemaEnv=e;if(e.$async)n.$async=true;if(this.opts.code.source===true){n.source={validateName:h,validateCode:t,scopeValues:u._values}}if(this.opts.unevaluated){const{props:e,items:t}=g;n.evaluated={props:e instanceof A.Name?undefined:e,items:t instanceof A.Name?undefined:t,dynamicProps:e instanceof A.Name,dynamicItems:t instanceof A.Name};if(n.source)n.source.evaluated=(0,A.stringify)(n.evaluated)}e.validate=n;return e}catch(t){delete e.validate;delete e.validateName;if(f)this.logger.error("Error compiling schema, function code:",f);throw t}finally{this._compilations.delete(e)}}t.compileSchema=compileSchema;function resolveRef(e,t,r){var A;r=(0,o.resolveUrl)(this.opts.uriResolver,t,r);const n=e.refs[r];if(n)return n;let s=resolve.call(this,e,r);if(s===undefined){const n=(A=e.localRefs)===null||A===void 0?void 0:A[r];const{schemaId:o}=this.opts;if(n)s=new SchemaEnv({schema:n,schemaId:o,root:e,baseId:t})}if(s===undefined)return;return e.refs[r]=inlineOrCompile.call(this,s)}t.resolveRef=resolveRef;function inlineOrCompile(e){if((0,o.inlineRef)(e.schema,this.opts.inlineRefs))return e.schema;return e.validate?e:compileSchema.call(this,e)}function getCompilingSchema(e){for(const t of this._compilations){if(sameSchemaEnv(t,e))return t}}t.getCompilingSchema=getCompilingSchema;function sameSchemaEnv(e,t){return e.schema===t.schema&&e.root===t.root&&e.baseId===t.baseId}function resolve(e,t){let r;while(typeof(r=this.refs[t])=="string")t=r;return r||this.schemas[t]||resolveSchema.call(this,e,t)}function resolveSchema(e,t){const r=this.opts.uriResolver.parse(t);const A=(0,o._getFullPath)(this.opts.uriResolver,r);let n=(0,o.getFullPath)(this.opts.uriResolver,e.baseId,undefined);if(Object.keys(e.schema).length>0&&A===n){return getJsonPointer.call(this,r,e)}const s=(0,o.normalizeId)(A);const i=this.refs[s]||this.schemas[s];if(typeof i=="string"){const t=resolveSchema.call(this,e,i);if(typeof(t===null||t===void 0?void 0:t.schema)!=="object")return;return getJsonPointer.call(this,r,t)}if(typeof(i===null||i===void 0?void 0:i.schema)!=="object")return;if(!i.validate)compileSchema.call(this,i);if(s===(0,o.normalizeId)(t)){const{schema:t}=i;const{schemaId:r}=this.opts;const A=t[r];if(A)n=(0,o.resolveUrl)(this.opts.uriResolver,n,A);return new SchemaEnv({schema:t,schemaId:r,root:e,baseId:n})}return getJsonPointer.call(this,r,i)}t.resolveSchema=resolveSchema;const c=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function getJsonPointer(e,{baseId:t,schema:r,root:A}){var n;if(((n=e.fragment)===null||n===void 0?void 0:n[0])!=="/")return;for(const A of e.fragment.slice(1).split("/")){if(typeof r==="boolean")return;const e=r[(0,i.unescapeFragment)(A)];if(e===undefined)return;r=e;const n=typeof r==="object"&&r[this.opts.schemaId];if(!c.has(A)&&n){t=(0,o.resolveUrl)(this.opts.uriResolver,t,n)}}let s;if(typeof r!="boolean"&&r.$ref&&!(0,i.schemaHasRulesButRef)(r,this.RULES)){const e=(0,o.resolveUrl)(this.opts.uriResolver,t,r.$ref);s=resolveSchema.call(this,A,e)}const{schemaId:a}=this.opts;s=s||new SchemaEnv({schema:r,schemaId:a,root:A,baseId:t});if(s.schema!==s.root.schema)return s;return undefined}},5990:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(28);const n={data:new A.Name("data"),valCxt:new A.Name("valCxt"),instancePath:new A.Name("instancePath"),parentData:new A.Name("parentData"),parentDataProperty:new A.Name("parentDataProperty"),rootData:new A.Name("rootData"),dynamicAnchors:new A.Name("dynamicAnchors"),vErrors:new A.Name("vErrors"),errors:new A.Name("errors"),this:new A.Name("this"),self:new A.Name("self"),scope:new A.Name("scope"),json:new A.Name("json"),jsonPos:new A.Name("jsonPos"),jsonLen:new A.Name("jsonLen"),jsonPart:new A.Name("jsonPart")};t["default"]=n},8922:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(1946);class MissingRefError extends Error{constructor(e,t,r,n){super(n||`can't resolve reference ${r} from id ${t}`);this.missingRef=(0,A.resolveUrl)(e,t,r);this.missingSchema=(0,A.normalizeId)((0,A.getFullPath)(e,this.missingRef))}}t["default"]=MissingRefError},1946:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getSchemaRefs=t.resolveUrl=t.normalizeId=t._getFullPath=t.getFullPath=t.inlineRef=void 0;const A=r(3904);const n=r(7638);const s=r(8688);const o=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function inlineRef(e,t=true){if(typeof e=="boolean")return true;if(t===true)return!hasRef(e);if(!t)return false;return countKeys(e)<=t}t.inlineRef=inlineRef;const i=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function hasRef(e){for(const t in e){if(i.has(t))return true;const r=e[t];if(Array.isArray(r)&&r.some(hasRef))return true;if(typeof r=="object"&&hasRef(r))return true}return false}function countKeys(e){let t=0;for(const r in e){if(r==="$ref")return Infinity;t++;if(o.has(r))continue;if(typeof e[r]=="object"){(0,A.eachItem)(e[r],e=>t+=countKeys(e))}if(t===Infinity)return Infinity}return t}function getFullPath(e,t="",r){if(r!==false)t=normalizeId(t);const A=e.parse(t);return _getFullPath(e,A)}t.getFullPath=getFullPath;function _getFullPath(e,t){const r=e.serialize(t);return r.split("#")[0]+"#"}t._getFullPath=_getFullPath;const a=/#\/?$/;function normalizeId(e){return e?e.replace(a,""):""}t.normalizeId=normalizeId;function resolveUrl(e,t,r){r=normalizeId(r);return e.resolve(t,r)}t.resolveUrl=resolveUrl;const c=/^[a-z_][-a-z0-9._]*$/i;function getSchemaRefs(e,t){if(typeof e=="boolean")return{};const{schemaId:r,uriResolver:A}=this.opts;const o=normalizeId(e[r]||t);const i={"":o};const a=getFullPath(A,o,false);const l={};const u=new Set;s(e,{allKeys:true},(e,t,A,n)=>{if(n===undefined)return;const s=a+t;let o=i[n];if(typeof e[r]=="string")o=addRef.call(this,e[r]);addAnchor.call(this,e.$anchor);addAnchor.call(this,e.$dynamicAnchor);i[t]=o;function addRef(t){const r=this.opts.uriResolver.resolve;t=normalizeId(o?r(o,t):t);if(u.has(t))throw ambiguos(t);u.add(t);let A=this.refs[t];if(typeof A=="string")A=this.refs[A];if(typeof A=="object"){checkAmbiguosRef(e,A.schema,t)}else if(t!==normalizeId(s)){if(t[0]==="#"){checkAmbiguosRef(e,l[t],t);l[t]=e}else{this.refs[t]=s}}return t}function addAnchor(e){if(typeof e=="string"){if(!c.test(e))throw new Error(`invalid anchor "${e}"`);addRef.call(this,`#${e}`)}}});return l;function checkAmbiguosRef(e,t,r){if(t!==undefined&&!n(e,t))throw ambiguos(r)}function ambiguos(e){return new Error(`reference "${e}" resolves to more than one schema`)}}t.getSchemaRefs=getSchemaRefs},5513:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.getRules=t.isJSONType=void 0;const r=["string","number","integer","boolean","null","object","array"];const A=new Set(r);function isJSONType(e){return typeof e=="string"&&A.has(e)}t.isJSONType=isJSONType;function getRules(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:true,boolean:true,null:true},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}t.getRules=getRules},3904:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.checkStrictMode=t.getErrorPath=t.Type=t.useFunc=t.setEvaluated=t.evaluatedPropsToName=t.mergeEvaluated=t.eachItem=t.unescapeJsonPointer=t.escapeJsonPointer=t.escapeFragment=t.unescapeFragment=t.schemaRefOrVal=t.schemaHasRulesButRef=t.schemaHasRules=t.checkUnknownRules=t.alwaysValidSchema=t.toHash=void 0;const A=r(28);const n=r(6711);function toHash(e){const t={};for(const r of e)t[r]=true;return t}t.toHash=toHash;function alwaysValidSchema(e,t){if(typeof t=="boolean")return t;if(Object.keys(t).length===0)return true;checkUnknownRules(e,t);return!schemaHasRules(t,e.self.RULES.all)}t.alwaysValidSchema=alwaysValidSchema;function checkUnknownRules(e,t=e.schema){const{opts:r,self:A}=e;if(!r.strictSchema)return;if(typeof t==="boolean")return;const n=A.RULES.keywords;for(const r in t){if(!n[r])checkStrictMode(e,`unknown keyword: "${r}"`)}}t.checkUnknownRules=checkUnknownRules;function schemaHasRules(e,t){if(typeof e=="boolean")return!e;for(const r in e)if(t[r])return true;return false}t.schemaHasRules=schemaHasRules;function schemaHasRulesButRef(e,t){if(typeof e=="boolean")return!e;for(const r in e)if(r!=="$ref"&&t.all[r])return true;return false}t.schemaHasRulesButRef=schemaHasRulesButRef;function schemaRefOrVal({topSchemaRef:e,schemaPath:t},r,n,s){if(!s){if(typeof r=="number"||typeof r=="boolean")return r;if(typeof r=="string")return(0,A._)`${r}`}return(0,A._)`${e}${t}${(0,A.getProperty)(n)}`}t.schemaRefOrVal=schemaRefOrVal;function unescapeFragment(e){return unescapeJsonPointer(decodeURIComponent(e))}t.unescapeFragment=unescapeFragment;function escapeFragment(e){return encodeURIComponent(escapeJsonPointer(e))}t.escapeFragment=escapeFragment;function escapeJsonPointer(e){if(typeof e=="number")return`${e}`;return e.replace(/~/g,"~0").replace(/\//g,"~1")}t.escapeJsonPointer=escapeJsonPointer;function unescapeJsonPointer(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}t.unescapeJsonPointer=unescapeJsonPointer;function eachItem(e,t){if(Array.isArray(e)){for(const r of e)t(r)}else{t(e)}}t.eachItem=eachItem;function makeMergeEvaluated({mergeNames:e,mergeToName:t,mergeValues:r,resultToName:n}){return(s,o,i,a)=>{const c=i===undefined?o:i instanceof A.Name?(o instanceof A.Name?e(s,o,i):t(s,o,i),i):o instanceof A.Name?(t(s,i,o),o):r(o,i);return a===A.Name&&!(c instanceof A.Name)?n(s,c):c}}t.mergeEvaluated={props:makeMergeEvaluated({mergeNames:(e,t,r)=>e.if((0,A._)`${r} !== true && ${t} !== undefined`,()=>{e.if((0,A._)`${t} === true`,()=>e.assign(r,true),()=>e.assign(r,(0,A._)`${r} || {}`).code((0,A._)`Object.assign(${r}, ${t})`))}),mergeToName:(e,t,r)=>e.if((0,A._)`${r} !== true`,()=>{if(t===true){e.assign(r,true)}else{e.assign(r,(0,A._)`${r} || {}`);setEvaluated(e,r,t)}}),mergeValues:(e,t)=>e===true?true:{...e,...t},resultToName:evaluatedPropsToName}),items:makeMergeEvaluated({mergeNames:(e,t,r)=>e.if((0,A._)`${r} !== true && ${t} !== undefined`,()=>e.assign(r,(0,A._)`${t} === true ? true : ${r} > ${t} ? ${r} : ${t}`)),mergeToName:(e,t,r)=>e.if((0,A._)`${r} !== true`,()=>e.assign(r,t===true?true:(0,A._)`${r} > ${t} ? ${r} : ${t}`)),mergeValues:(e,t)=>e===true?true:Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})};function evaluatedPropsToName(e,t){if(t===true)return e.var("props",true);const r=e.var("props",(0,A._)`{}`);if(t!==undefined)setEvaluated(e,r,t);return r}t.evaluatedPropsToName=evaluatedPropsToName;function setEvaluated(e,t,r){Object.keys(r).forEach(r=>e.assign((0,A._)`${t}${(0,A.getProperty)(r)}`,true))}t.setEvaluated=setEvaluated;const s={};function useFunc(e,t){return e.scopeValue("func",{ref:t,code:s[t.code]||(s[t.code]=new n._Code(t.code))})}t.useFunc=useFunc;var o;(function(e){e[e["Num"]=0]="Num";e[e["Str"]=1]="Str"})(o||(t.Type=o={}));function getErrorPath(e,t,r){if(e instanceof A.Name){const n=t===o.Num;return r?n?(0,A._)`"[" + ${e} + "]"`:(0,A._)`"['" + ${e} + "']"`:n?(0,A._)`"/" + ${e}`:(0,A._)`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return r?(0,A.getProperty)(e).toString():"/"+escapeJsonPointer(e)}t.getErrorPath=getErrorPath;function checkStrictMode(e,t,r=e.opts.strictSchema){if(!r)return;t=`strict mode: ${t}`;if(r===true)throw new Error(t);e.self.logger.warn(t)}t.checkStrictMode=checkStrictMode},1356:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.shouldUseRule=t.shouldUseGroup=t.schemaHasRulesForType=void 0;function schemaHasRulesForType({schema:e,self:t},r){const A=t.RULES.types[r];return A&&A!==true&&shouldUseGroup(e,A)}t.schemaHasRulesForType=schemaHasRulesForType;function shouldUseGroup(e,t){return t.rules.some(t=>shouldUseRule(e,t))}t.shouldUseGroup=shouldUseGroup;function shouldUseRule(e,t){var r;return e[t.keyword]!==undefined||((r=t.definition.implements)===null||r===void 0?void 0:r.some(t=>e[t]!==undefined))}t.shouldUseRule=shouldUseRule},4690:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.boolOrEmptySchema=t.topBoolOrEmptySchema=void 0;const A=r(3040);const n=r(28);const s=r(5990);const o={message:"boolean schema is false"};function topBoolOrEmptySchema(e){const{gen:t,schema:r,validateName:A}=e;if(r===false){falseSchemaError(e,false)}else if(typeof r=="object"&&r.$async===true){t.return(s.default.data)}else{t.assign((0,n._)`${A}.errors`,null);t.return(true)}}t.topBoolOrEmptySchema=topBoolOrEmptySchema;function boolOrEmptySchema(e,t){const{gen:r,schema:A}=e;if(A===false){r.var(t,false);falseSchemaError(e)}else{r.var(t,true)}}t.boolOrEmptySchema=boolOrEmptySchema;function falseSchemaError(e,t){const{gen:r,data:n}=e;const s={gen:r,keyword:"false schema",data:n,schema:false,schemaCode:false,schemaValue:false,params:{},it:e};(0,A.reportError)(s,o,undefined,t)}},733:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.reportTypeError=t.checkDataTypes=t.checkDataType=t.coerceAndCheckDataType=t.getJSONTypes=t.getSchemaTypes=t.DataType=void 0;const A=r(5513);const n=r(1356);const s=r(3040);const o=r(28);const i=r(3904);var a;(function(e){e[e["Correct"]=0]="Correct";e[e["Wrong"]=1]="Wrong"})(a||(t.DataType=a={}));function getSchemaTypes(e){const t=getJSONTypes(e.type);const r=t.includes("null");if(r){if(e.nullable===false)throw new Error("type: null contradicts nullable: false")}else{if(!t.length&&e.nullable!==undefined){throw new Error('"nullable" cannot be used without "type"')}if(e.nullable===true)t.push("null")}return t}t.getSchemaTypes=getSchemaTypes;function getJSONTypes(e){const t=Array.isArray(e)?e:e?[e]:[];if(t.every(A.isJSONType))return t;throw new Error("type must be JSONType or JSONType[]: "+t.join(","))}t.getJSONTypes=getJSONTypes;function coerceAndCheckDataType(e,t){const{gen:r,data:A,opts:s}=e;const o=coerceToTypes(t,s.coerceTypes);const i=t.length>0&&!(o.length===0&&t.length===1&&(0,n.schemaHasRulesForType)(e,t[0]));if(i){const n=checkDataTypes(t,A,s.strictNumbers,a.Wrong);r.if(n,()=>{if(o.length)coerceData(e,t,o);else reportTypeError(e)})}return i}t.coerceAndCheckDataType=coerceAndCheckDataType;const c=new Set(["string","number","integer","boolean","null"]);function coerceToTypes(e,t){return t?e.filter(e=>c.has(e)||t==="array"&&e==="array"):[]}function coerceData(e,t,r){const{gen:A,data:n,opts:s}=e;const i=A.let("dataType",(0,o._)`typeof ${n}`);const a=A.let("coerced",(0,o._)`undefined`);if(s.coerceTypes==="array"){A.if((0,o._)`${i} == 'object' && Array.isArray(${n}) && ${n}.length == 1`,()=>A.assign(n,(0,o._)`${n}[0]`).assign(i,(0,o._)`typeof ${n}`).if(checkDataTypes(t,n,s.strictNumbers),()=>A.assign(a,n)))}A.if((0,o._)`${a} !== undefined`);for(const e of r){if(c.has(e)||e==="array"&&s.coerceTypes==="array"){coerceSpecificType(e)}}A.else();reportTypeError(e);A.endIf();A.if((0,o._)`${a} !== undefined`,()=>{A.assign(n,a);assignParentData(e,a)});function coerceSpecificType(e){switch(e){case"string":A.elseIf((0,o._)`${i} == "number" || ${i} == "boolean"`).assign(a,(0,o._)`"" + ${n}`).elseIf((0,o._)`${n} === null`).assign(a,(0,o._)`""`);return;case"number":A.elseIf((0,o._)`${i} == "boolean" || ${n} === null + || (${i} == "string" && ${n} && ${n} == +${n})`).assign(a,(0,o._)`+${n}`);return;case"integer":A.elseIf((0,o._)`${i} === "boolean" || ${n} === null + || (${i} === "string" && ${n} && ${n} == +${n} && !(${n} % 1))`).assign(a,(0,o._)`+${n}`);return;case"boolean":A.elseIf((0,o._)`${n} === "false" || ${n} === 0 || ${n} === null`).assign(a,false).elseIf((0,o._)`${n} === "true" || ${n} === 1`).assign(a,true);return;case"null":A.elseIf((0,o._)`${n} === "" || ${n} === 0 || ${n} === false`);A.assign(a,null);return;case"array":A.elseIf((0,o._)`${i} === "string" || ${i} === "number" + || ${i} === "boolean" || ${n} === null`).assign(a,(0,o._)`[${n}]`)}}}function assignParentData({gen:e,parentData:t,parentDataProperty:r},A){e.if((0,o._)`${t} !== undefined`,()=>e.assign((0,o._)`${t}[${r}]`,A))}function checkDataType(e,t,r,A=a.Correct){const n=A===a.Correct?o.operators.EQ:o.operators.NEQ;let s;switch(e){case"null":return(0,o._)`${t} ${n} null`;case"array":s=(0,o._)`Array.isArray(${t})`;break;case"object":s=(0,o._)`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":s=numCond((0,o._)`!(${t} % 1) && !isNaN(${t})`);break;case"number":s=numCond();break;default:return(0,o._)`typeof ${t} ${n} ${e}`}return A===a.Correct?s:(0,o.not)(s);function numCond(e=o.nil){return(0,o.and)((0,o._)`typeof ${t} == "number"`,e,r?(0,o._)`isFinite(${t})`:o.nil)}}t.checkDataType=checkDataType;function checkDataTypes(e,t,r,A){if(e.length===1){return checkDataType(e[0],t,r,A)}let n;const s=(0,i.toHash)(e);if(s.array&&s.object){const e=(0,o._)`typeof ${t} != "object"`;n=s.null?e:(0,o._)`!${t} || ${e}`;delete s.null;delete s.array;delete s.object}else{n=o.nil}if(s.number)delete s.integer;for(const e in s)n=(0,o.and)(n,checkDataType(e,t,r,A));return n}t.checkDataTypes=checkDataTypes;const l={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>typeof e=="string"?(0,o._)`{type: ${e}}`:(0,o._)`{type: ${t}}`};function reportTypeError(e){const t=getTypeErrorContext(e);(0,s.reportError)(t,l)}t.reportTypeError=reportTypeError;function getTypeErrorContext(e){const{gen:t,data:r,schema:A}=e;const n=(0,i.schemaRefOrVal)(e,A,"type");return{gen:t,keyword:"type",data:r,schema:A.type,schemaCode:n,schemaValue:n,parentSchema:A,params:{},it:e}}},2483:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.assignDefaults=void 0;const A=r(28);const n=r(3904);function assignDefaults(e,t){const{properties:r,items:A}=e.schema;if(t==="object"&&r){for(const t in r){assignDefault(e,t,r[t].default)}}else if(t==="array"&&Array.isArray(A)){A.forEach((t,r)=>assignDefault(e,r,t.default))}}t.assignDefaults=assignDefaults;function assignDefault(e,t,r){const{gen:s,compositeRule:o,data:i,opts:a}=e;if(r===undefined)return;const c=(0,A._)`${i}${(0,A.getProperty)(t)}`;if(o){(0,n.checkStrictMode)(e,`default is ignored for: ${c}`);return}let l=(0,A._)`${c} === undefined`;if(a.useDefaults==="empty"){l=(0,A._)`${l} || ${c} === null || ${c} === ""`}s.if(l,(0,A._)`${c} = ${(0,A.stringify)(r)}`)}},4457:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getData=t.KeywordCxt=t.validateFunctionCode=void 0;const A=r(4690);const n=r(733);const s=r(1356);const o=r(733);const i=r(2483);const a=r(18);const c=r(6392);const l=r(28);const u=r(5990);const d=r(1946);const h=r(3904);const g=r(3040);function validateFunctionCode(e){if(isSchemaObj(e)){checkKeywords(e);if(schemaCxtHasRules(e)){topSchemaObjCode(e);return}}validateFunction(e,()=>(0,A.topBoolOrEmptySchema)(e))}t.validateFunctionCode=validateFunctionCode;function validateFunction({gen:e,validateName:t,schema:r,schemaEnv:A,opts:n},s){if(n.code.es5){e.func(t,(0,l._)`${u.default.data}, ${u.default.valCxt}`,A.$async,()=>{e.code((0,l._)`"use strict"; ${funcSourceUrl(r,n)}`);destructureValCxtES5(e,n);e.code(s)})}else{e.func(t,(0,l._)`${u.default.data}, ${destructureValCxt(n)}`,A.$async,()=>e.code(funcSourceUrl(r,n)).code(s))}}function destructureValCxt(e){return(0,l._)`{${u.default.instancePath}="", ${u.default.parentData}, ${u.default.parentDataProperty}, ${u.default.rootData}=${u.default.data}${e.dynamicRef?(0,l._)`, ${u.default.dynamicAnchors}={}`:l.nil}}={}`}function destructureValCxtES5(e,t){e.if(u.default.valCxt,()=>{e.var(u.default.instancePath,(0,l._)`${u.default.valCxt}.${u.default.instancePath}`);e.var(u.default.parentData,(0,l._)`${u.default.valCxt}.${u.default.parentData}`);e.var(u.default.parentDataProperty,(0,l._)`${u.default.valCxt}.${u.default.parentDataProperty}`);e.var(u.default.rootData,(0,l._)`${u.default.valCxt}.${u.default.rootData}`);if(t.dynamicRef)e.var(u.default.dynamicAnchors,(0,l._)`${u.default.valCxt}.${u.default.dynamicAnchors}`)},()=>{e.var(u.default.instancePath,(0,l._)`""`);e.var(u.default.parentData,(0,l._)`undefined`);e.var(u.default.parentDataProperty,(0,l._)`undefined`);e.var(u.default.rootData,u.default.data);if(t.dynamicRef)e.var(u.default.dynamicAnchors,(0,l._)`{}`)})}function topSchemaObjCode(e){const{schema:t,opts:r,gen:A}=e;validateFunction(e,()=>{if(r.$comment&&t.$comment)commentKeyword(e);checkNoDefault(e);A.let(u.default.vErrors,null);A.let(u.default.errors,0);if(r.unevaluated)resetEvaluated(e);typeAndKeywords(e);returnResults(e)});return}function resetEvaluated(e){const{gen:t,validateName:r}=e;e.evaluated=t.const("evaluated",(0,l._)`${r}.evaluated`);t.if((0,l._)`${e.evaluated}.dynamicProps`,()=>t.assign((0,l._)`${e.evaluated}.props`,(0,l._)`undefined`));t.if((0,l._)`${e.evaluated}.dynamicItems`,()=>t.assign((0,l._)`${e.evaluated}.items`,(0,l._)`undefined`))}function funcSourceUrl(e,t){const r=typeof e=="object"&&e[t.schemaId];return r&&(t.code.source||t.code.process)?(0,l._)`/*# sourceURL=${r} */`:l.nil}function subschemaCode(e,t){if(isSchemaObj(e)){checkKeywords(e);if(schemaCxtHasRules(e)){subSchemaObjCode(e,t);return}}(0,A.boolOrEmptySchema)(e,t)}function schemaCxtHasRules({schema:e,self:t}){if(typeof e=="boolean")return!e;for(const r in e)if(t.RULES.all[r])return true;return false}function isSchemaObj(e){return typeof e.schema!="boolean"}function subSchemaObjCode(e,t){const{schema:r,gen:A,opts:n}=e;if(n.$comment&&r.$comment)commentKeyword(e);updateContext(e);checkAsyncSchema(e);const s=A.const("_errs",u.default.errors);typeAndKeywords(e,s);A.var(t,(0,l._)`${s} === ${u.default.errors}`)}function checkKeywords(e){(0,h.checkUnknownRules)(e);checkRefsAndKeywords(e)}function typeAndKeywords(e,t){if(e.opts.jtd)return schemaKeywords(e,[],false,t);const r=(0,n.getSchemaTypes)(e.schema);const A=(0,n.coerceAndCheckDataType)(e,r);schemaKeywords(e,r,!A,t)}function checkRefsAndKeywords(e){const{schema:t,errSchemaPath:r,opts:A,self:n}=e;if(t.$ref&&A.ignoreKeywordsWithRef&&(0,h.schemaHasRulesButRef)(t,n.RULES)){n.logger.warn(`$ref: keywords ignored in schema at path "${r}"`)}}function checkNoDefault(e){const{schema:t,opts:r}=e;if(t.default!==undefined&&r.useDefaults&&r.strictSchema){(0,h.checkStrictMode)(e,"default is ignored in the schema root")}}function updateContext(e){const t=e.schema[e.opts.schemaId];if(t)e.baseId=(0,d.resolveUrl)(e.opts.uriResolver,e.baseId,t)}function checkAsyncSchema(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}function commentKeyword({gen:e,schemaEnv:t,schema:r,errSchemaPath:A,opts:n}){const s=r.$comment;if(n.$comment===true){e.code((0,l._)`${u.default.self}.logger.log(${s})`)}else if(typeof n.$comment=="function"){const r=(0,l.str)`${A}/$comment`;const n=e.scopeValue("root",{ref:t.root});e.code((0,l._)`${u.default.self}.opts.$comment(${s}, ${r}, ${n}.schema)`)}}function returnResults(e){const{gen:t,schemaEnv:r,validateName:A,ValidationError:n,opts:s}=e;if(r.$async){t.if((0,l._)`${u.default.errors} === 0`,()=>t.return(u.default.data),()=>t.throw((0,l._)`new ${n}(${u.default.vErrors})`))}else{t.assign((0,l._)`${A}.errors`,u.default.vErrors);if(s.unevaluated)assignEvaluated(e);t.return((0,l._)`${u.default.errors} === 0`)}}function assignEvaluated({gen:e,evaluated:t,props:r,items:A}){if(r instanceof l.Name)e.assign((0,l._)`${t}.props`,r);if(A instanceof l.Name)e.assign((0,l._)`${t}.items`,A)}function schemaKeywords(e,t,r,A){const{gen:n,schema:i,data:a,allErrors:c,opts:d,self:g}=e;const{RULES:f}=g;if(i.$ref&&(d.ignoreKeywordsWithRef||!(0,h.schemaHasRulesButRef)(i,f))){n.block(()=>keywordCode(e,"$ref",f.all.$ref.definition));return}if(!d.jtd)checkStrictTypes(e,t);n.block(()=>{for(const e of f.rules)groupKeywords(e);groupKeywords(f.post)});function groupKeywords(h){if(!(0,s.shouldUseGroup)(i,h))return;if(h.type){n.if((0,o.checkDataType)(h.type,a,d.strictNumbers));iterateKeywords(e,h);if(t.length===1&&t[0]===h.type&&r){n.else();(0,o.reportTypeError)(e)}n.endIf()}else{iterateKeywords(e,h)}if(!c)n.if((0,l._)`${u.default.errors} === ${A||0}`)}}function iterateKeywords(e,t){const{gen:r,schema:A,opts:{useDefaults:n}}=e;if(n)(0,i.assignDefaults)(e,t.type);r.block(()=>{for(const r of t.rules){if((0,s.shouldUseRule)(A,r)){keywordCode(e,r.keyword,r.definition,t.type)}}})}function checkStrictTypes(e,t){if(e.schemaEnv.meta||!e.opts.strictTypes)return;checkContextTypes(e,t);if(!e.opts.allowUnionTypes)checkMultipleTypes(e,t);checkKeywordTypes(e,e.dataTypes)}function checkContextTypes(e,t){if(!t.length)return;if(!e.dataTypes.length){e.dataTypes=t;return}t.forEach(t=>{if(!includesType(e.dataTypes,t)){strictTypesError(e,`type "${t}" not allowed by context "${e.dataTypes.join(",")}"`)}});narrowSchemaTypes(e,t)}function checkMultipleTypes(e,t){if(t.length>1&&!(t.length===2&&t.includes("null"))){strictTypesError(e,"use allowUnionTypes to allow union type keyword")}}function checkKeywordTypes(e,t){const r=e.self.RULES.all;for(const A in r){const n=r[A];if(typeof n=="object"&&(0,s.shouldUseRule)(e.schema,n)){const{type:r}=n.definition;if(r.length&&!r.some(e=>hasApplicableType(t,e))){strictTypesError(e,`missing type "${r.join(",")}" for keyword "${A}"`)}}}}function hasApplicableType(e,t){return e.includes(t)||t==="number"&&e.includes("integer")}function includesType(e,t){return e.includes(t)||t==="integer"&&e.includes("number")}function narrowSchemaTypes(e,t){const r=[];for(const A of e.dataTypes){if(includesType(t,A))r.push(A);else if(t.includes("integer")&&A==="number")r.push("integer")}e.dataTypes=r}function strictTypesError(e,t){const r=e.schemaEnv.baseId+e.errSchemaPath;t+=` at "${r}" (strictTypes)`;(0,h.checkStrictMode)(e,t,e.opts.strictTypes)}class KeywordCxt{constructor(e,t,r){(0,a.validateKeywordUsage)(e,t,r);this.gen=e.gen;this.allErrors=e.allErrors;this.keyword=r;this.data=e.data;this.schema=e.schema[r];this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data;this.schemaValue=(0,h.schemaRefOrVal)(e,this.schema,r,this.$data);this.schemaType=t.schemaType;this.parentSchema=e.schema;this.params={};this.it=e;this.def=t;if(this.$data){this.schemaCode=e.gen.const("vSchema",getData(this.$data,e))}else{this.schemaCode=this.schemaValue;if(!(0,a.validSchemaType)(this.schema,t.schemaType,t.allowUndefined)){throw new Error(`${r} value must be ${JSON.stringify(t.schemaType)}`)}}if("code"in t?t.trackErrors:t.errors!==false){this.errsCount=e.gen.const("_errs",u.default.errors)}}result(e,t,r){this.failResult((0,l.not)(e),t,r)}failResult(e,t,r){this.gen.if(e);if(r)r();else this.error();if(t){this.gen.else();t();if(this.allErrors)this.gen.endIf()}else{if(this.allErrors)this.gen.endIf();else this.gen.else()}}pass(e,t){this.failResult((0,l.not)(e),undefined,t)}fail(e){if(e===undefined){this.error();if(!this.allErrors)this.gen.if(false);return}this.gen.if(e);this.error();if(this.allErrors)this.gen.endIf();else this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);const{schemaCode:t}=this;this.fail((0,l._)`${t} !== undefined && (${(0,l.or)(this.invalid$data(),e)})`)}error(e,t,r){if(t){this.setParams(t);this._error(e,r);this.setParams({});return}this._error(e,r)}_error(e,t){(e?g.reportExtraError:g.reportError)(this,this.def.error,t)}$dataError(){(0,g.reportError)(this,this.def.$dataError||g.keyword$DataError)}reset(){if(this.errsCount===undefined)throw new Error('add "trackErrors" to keyword definition');(0,g.resetErrorsCount)(this.gen,this.errsCount)}ok(e){if(!this.allErrors)this.gen.if(e)}setParams(e,t){if(t)Object.assign(this.params,e);else this.params=e}block$data(e,t,r=l.nil){this.gen.block(()=>{this.check$data(e,r);t()})}check$data(e=l.nil,t=l.nil){if(!this.$data)return;const{gen:r,schemaCode:A,schemaType:n,def:s}=this;r.if((0,l.or)((0,l._)`${A} === undefined`,t));if(e!==l.nil)r.assign(e,true);if(n.length||s.validateSchema){r.elseIf(this.invalid$data());this.$dataError();if(e!==l.nil)r.assign(e,false)}r.else()}invalid$data(){const{gen:e,schemaCode:t,schemaType:r,def:A,it:n}=this;return(0,l.or)(wrong$DataType(),invalid$DataSchema());function wrong$DataType(){if(r.length){if(!(t instanceof l.Name))throw new Error("ajv implementation error");const e=Array.isArray(r)?r:[r];return(0,l._)`${(0,o.checkDataTypes)(e,t,n.opts.strictNumbers,o.DataType.Wrong)}`}return l.nil}function invalid$DataSchema(){if(A.validateSchema){const r=e.scopeValue("validate$data",{ref:A.validateSchema});return(0,l._)`!${r}(${t})`}return l.nil}}subschema(e,t){const r=(0,c.getSubschema)(this.it,e);(0,c.extendSubschemaData)(r,this.it,e);(0,c.extendSubschemaMode)(r,e);const A={...this.it,...r,items:undefined,props:undefined};subschemaCode(A,t);return A}mergeEvaluated(e,t){const{it:r,gen:A}=this;if(!r.opts.unevaluated)return;if(r.props!==true&&e.props!==undefined){r.props=h.mergeEvaluated.props(A,e.props,r.props,t)}if(r.items!==true&&e.items!==undefined){r.items=h.mergeEvaluated.items(A,e.items,r.items,t)}}mergeValidEvaluated(e,t){const{it:r,gen:A}=this;if(r.opts.unevaluated&&(r.props!==true||r.items!==true)){A.if(t,()=>this.mergeEvaluated(e,l.Name));return true}}}t.KeywordCxt=KeywordCxt;function keywordCode(e,t,r,A){const n=new KeywordCxt(e,r,t);if("code"in r){r.code(n,A)}else if(n.$data&&r.validate){(0,a.funcKeywordCode)(n,r)}else if("macro"in r){(0,a.macroKeywordCode)(n,r)}else if(r.compile||r.validate){(0,a.funcKeywordCode)(n,r)}}const f=/^\/(?:[^~]|~0|~1)*$/;const E=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function getData(e,{dataLevel:t,dataNames:r,dataPathArr:A}){let n;let s;if(e==="")return u.default.rootData;if(e[0]==="/"){if(!f.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);n=e;s=u.default.rootData}else{const o=E.exec(e);if(!o)throw new Error(`Invalid JSON-pointer: ${e}`);const i=+o[1];n=o[2];if(n==="#"){if(i>=t)throw new Error(errorMsg("property/index",i));return A[t-i]}if(i>t)throw new Error(errorMsg("data",i));s=r[t-i];if(!n)return s}let o=s;const i=n.split("/");for(const e of i){if(e){s=(0,l._)`${s}${(0,l.getProperty)((0,h.unescapeJsonPointer)(e))}`;o=(0,l._)`${o} && ${s}`}}return o;function errorMsg(e,r){return`Cannot access ${e} ${r} levels up, current level is ${t}`}}t.getData=getData},18:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.validateKeywordUsage=t.validSchemaType=t.funcKeywordCode=t.macroKeywordCode=void 0;const A=r(28);const n=r(5990);const s=r(6516);const o=r(3040);function macroKeywordCode(e,t){const{gen:r,keyword:n,schema:s,parentSchema:o,it:i}=e;const a=t.macro.call(i.self,s,o,i);const c=useKeyword(r,n,a);if(i.opts.validateSchema!==false)i.self.validateSchema(a,true);const l=r.name("valid");e.subschema({schema:a,schemaPath:A.nil,errSchemaPath:`${i.errSchemaPath}/${n}`,topSchemaRef:c,compositeRule:true},l);e.pass(l,()=>e.error(true))}t.macroKeywordCode=macroKeywordCode;function funcKeywordCode(e,t){var r;const{gen:o,keyword:i,schema:a,parentSchema:c,$data:l,it:u}=e;checkAsyncKeyword(u,t);const d=!l&&t.compile?t.compile.call(u.self,a,c,u):t.validate;const h=useKeyword(o,i,d);const g=o.let("valid");e.block$data(g,validateKeyword);e.ok((r=t.valid)!==null&&r!==void 0?r:g);function validateKeyword(){if(t.errors===false){assignValid();if(t.modifying)modifyData(e);reportErrs(()=>e.error())}else{const r=t.async?validateAsync():validateSync();if(t.modifying)modifyData(e);reportErrs(()=>addErrs(e,r))}}function validateAsync(){const e=o.let("ruleErrs",null);o.try(()=>assignValid((0,A._)`await `),t=>o.assign(g,false).if((0,A._)`${t} instanceof ${u.ValidationError}`,()=>o.assign(e,(0,A._)`${t}.errors`),()=>o.throw(t)));return e}function validateSync(){const e=(0,A._)`${h}.errors`;o.assign(e,null);assignValid(A.nil);return e}function assignValid(r=(t.async?(0,A._)`await `:A.nil)){const i=u.opts.passContext?n.default.this:n.default.self;const a=!("compile"in t&&!l||t.schema===false);o.assign(g,(0,A._)`${r}${(0,s.callValidateCode)(e,h,i,a)}`,t.modifying)}function reportErrs(e){var r;o.if((0,A.not)((r=t.valid)!==null&&r!==void 0?r:g),e)}}t.funcKeywordCode=funcKeywordCode;function modifyData(e){const{gen:t,data:r,it:n}=e;t.if(n.parentData,()=>t.assign(r,(0,A._)`${n.parentData}[${n.parentDataProperty}]`))}function addErrs(e,t){const{gen:r}=e;r.if((0,A._)`Array.isArray(${t})`,()=>{r.assign(n.default.vErrors,(0,A._)`${n.default.vErrors} === null ? ${t} : ${n.default.vErrors}.concat(${t})`).assign(n.default.errors,(0,A._)`${n.default.vErrors}.length`);(0,o.extendErrors)(e)},()=>e.error())}function checkAsyncKeyword({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}function useKeyword(e,t,r){if(r===undefined)throw new Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword",typeof r=="function"?{ref:r}:{ref:r,code:(0,A.stringify)(r)})}function validSchemaType(e,t,r=false){return!t.length||t.some(t=>t==="array"?Array.isArray(e):t==="object"?e&&typeof e=="object"&&!Array.isArray(e):typeof e==t||r&&typeof e=="undefined")}t.validSchemaType=validSchemaType;function validateKeywordUsage({schema:e,opts:t,self:r,errSchemaPath:A},n,s){if(Array.isArray(n.keyword)?!n.keyword.includes(s):n.keyword!==s){throw new Error("ajv implementation error")}const o=n.dependencies;if(o===null||o===void 0?void 0:o.some(t=>!Object.prototype.hasOwnProperty.call(e,t))){throw new Error(`parent schema must have dependencies of ${s}: ${o.join(",")}`)}if(n.validateSchema){const o=n.validateSchema(e[s]);if(!o){const e=`keyword "${s}" value is invalid at path "${A}": `+r.errorsText(n.validateSchema.errors);if(t.validateSchema==="log")r.logger.error(e);else throw new Error(e)}}}t.validateKeywordUsage=validateKeywordUsage},6392:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.extendSubschemaMode=t.extendSubschemaData=t.getSubschema=void 0;const A=r(28);const n=r(3904);function getSubschema(e,{keyword:t,schemaProp:r,schema:s,schemaPath:o,errSchemaPath:i,topSchemaRef:a}){if(t!==undefined&&s!==undefined){throw new Error('both "keyword" and "schema" passed, only one allowed')}if(t!==undefined){const s=e.schema[t];return r===undefined?{schema:s,schemaPath:(0,A._)`${e.schemaPath}${(0,A.getProperty)(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:s[r],schemaPath:(0,A._)`${e.schemaPath}${(0,A.getProperty)(t)}${(0,A.getProperty)(r)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${(0,n.escapeFragment)(r)}`}}if(s!==undefined){if(o===undefined||i===undefined||a===undefined){throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"')}return{schema:s,schemaPath:o,topSchemaRef:a,errSchemaPath:i}}throw new Error('either "keyword" or "schema" must be passed')}t.getSubschema=getSubschema;function extendSubschemaData(e,t,{dataProp:r,dataPropType:s,data:o,dataTypes:i,propertyName:a}){if(o!==undefined&&r!==undefined){throw new Error('both "data" and "dataProp" passed, only one allowed')}const{gen:c}=t;if(r!==undefined){const{errorPath:o,dataPathArr:i,opts:a}=t;const l=c.let("data",(0,A._)`${t.data}${(0,A.getProperty)(r)}`,true);dataContextProps(l);e.errorPath=(0,A.str)`${o}${(0,n.getErrorPath)(r,s,a.jsPropertySyntax)}`;e.parentDataProperty=(0,A._)`${r}`;e.dataPathArr=[...i,e.parentDataProperty]}if(o!==undefined){const t=o instanceof A.Name?o:c.let("data",o,true);dataContextProps(t);if(a!==undefined)e.propertyName=a}if(i)e.dataTypes=i;function dataContextProps(r){e.data=r;e.dataLevel=t.dataLevel+1;e.dataTypes=[];t.definedProperties=new Set;e.parentData=t.data;e.dataNames=[...t.dataNames,r]}}t.extendSubschemaData=extendSubschemaData;function extendSubschemaMode(e,{jtdDiscriminator:t,jtdMetadata:r,compositeRule:A,createErrors:n,allErrors:s}){if(A!==undefined)e.compositeRule=A;if(n!==undefined)e.createErrors=n;if(s!==undefined)e.allErrors=s;e.jtdDiscriminator=t;e.jtdMetadata=r}t.extendSubschemaMode=extendSubschemaMode},2549:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;var A=r(4457);Object.defineProperty(t,"KeywordCxt",{enumerable:true,get:function(){return A.KeywordCxt}});var n=r(28);Object.defineProperty(t,"_",{enumerable:true,get:function(){return n._}});Object.defineProperty(t,"str",{enumerable:true,get:function(){return n.str}});Object.defineProperty(t,"stringify",{enumerable:true,get:function(){return n.stringify}});Object.defineProperty(t,"nil",{enumerable:true,get:function(){return n.nil}});Object.defineProperty(t,"Name",{enumerable:true,get:function(){return n.Name}});Object.defineProperty(t,"CodeGen",{enumerable:true,get:function(){return n.CodeGen}});const s=r(4301);const o=r(8922);const i=r(5513);const a=r(9198);const c=r(28);const l=r(1946);const u=r(733);const d=r(3904);const h=r(8422);const g=r(6669);const defaultRegExp=(e,t)=>new RegExp(e,t);defaultRegExp.code="new RegExp";const f=["removeAdditional","useDefaults","coerceTypes"];const E=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]);const Q={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."};const C={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};const I=200;function requiredOptions(e){var t,r,A,n,s,o,i,a,c,l,u,d,h,f,E,Q,C,B,p,m,y,w,b,k,D;const R=e.strict;const S=(t=e.code)===null||t===void 0?void 0:t.optimize;const F=S===true||S===undefined?1:S||0;const N=(A=(r=e.code)===null||r===void 0?void 0:r.regExp)!==null&&A!==void 0?A:defaultRegExp;const v=(n=e.uriResolver)!==null&&n!==void 0?n:g.default;return{strictSchema:(o=(s=e.strictSchema)!==null&&s!==void 0?s:R)!==null&&o!==void 0?o:true,strictNumbers:(a=(i=e.strictNumbers)!==null&&i!==void 0?i:R)!==null&&a!==void 0?a:true,strictTypes:(l=(c=e.strictTypes)!==null&&c!==void 0?c:R)!==null&&l!==void 0?l:"log",strictTuples:(d=(u=e.strictTuples)!==null&&u!==void 0?u:R)!==null&&d!==void 0?d:"log",strictRequired:(f=(h=e.strictRequired)!==null&&h!==void 0?h:R)!==null&&f!==void 0?f:false,code:e.code?{...e.code,optimize:F,regExp:N}:{optimize:F,regExp:N},loopRequired:(E=e.loopRequired)!==null&&E!==void 0?E:I,loopEnum:(Q=e.loopEnum)!==null&&Q!==void 0?Q:I,meta:(C=e.meta)!==null&&C!==void 0?C:true,messages:(B=e.messages)!==null&&B!==void 0?B:true,inlineRefs:(p=e.inlineRefs)!==null&&p!==void 0?p:true,schemaId:(m=e.schemaId)!==null&&m!==void 0?m:"$id",addUsedSchema:(y=e.addUsedSchema)!==null&&y!==void 0?y:true,validateSchema:(w=e.validateSchema)!==null&&w!==void 0?w:true,validateFormats:(b=e.validateFormats)!==null&&b!==void 0?b:true,unicodeRegExp:(k=e.unicodeRegExp)!==null&&k!==void 0?k:true,int32range:(D=e.int32range)!==null&&D!==void 0?D:true,uriResolver:v}}class Ajv{constructor(e={}){this.schemas={};this.refs={};this.formats=Object.create(null);this._compilations=new Set;this._loading={};this._cache=new Map;e=this.opts={...e,...requiredOptions(e)};const{es5:t,lines:r}=this.opts.code;this.scope=new c.ValueScope({scope:{},prefixes:E,es5:t,lines:r});this.logger=getLogger(e.logger);const A=e.validateFormats;e.validateFormats=false;this.RULES=(0,i.getRules)();checkOptions.call(this,Q,e,"NOT SUPPORTED");checkOptions.call(this,C,e,"DEPRECATED","warn");this._metaOpts=getMetaSchemaOptions.call(this);if(e.formats)addInitialFormats.call(this);this._addVocabularies();this._addDefaultMetaSchema();if(e.keywords)addInitialKeywords.call(this,e.keywords);if(typeof e.meta=="object")this.addMetaSchema(e.meta);addInitialSchemas.call(this);e.validateFormats=A}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:e,meta:t,schemaId:r}=this.opts;let A=h;if(r==="id"){A={...h};A.id=A.$id;delete A.$id}if(t&&e)this.addMetaSchema(A,A[r],false)}defaultMeta(){const{meta:e,schemaId:t}=this.opts;return this.opts.defaultMeta=typeof e=="object"?e[t]||e:undefined}validate(e,t){let r;if(typeof e=="string"){r=this.getSchema(e);if(!r)throw new Error(`no schema with key or ref "${e}"`)}else{r=this.compile(e)}const A=r(t);if(!("$async"in r))this.errors=r.errors;return A}compile(e,t){const r=this._addSchema(e,t);return r.validate||this._compileSchemaEnv(r)}compileAsync(e,t){if(typeof this.opts.loadSchema!="function"){throw new Error("options.loadSchema should be a function")}const{loadSchema:r}=this.opts;return runCompileAsync.call(this,e,t);async function runCompileAsync(e,t){await loadMetaSchema.call(this,e.$schema);const r=this._addSchema(e,t);return r.validate||_compileAsync.call(this,r)}async function loadMetaSchema(e){if(e&&!this.getSchema(e)){await runCompileAsync.call(this,{$ref:e},true)}}async function _compileAsync(e){try{return this._compileSchemaEnv(e)}catch(t){if(!(t instanceof o.default))throw t;checkLoaded.call(this,t);await loadMissingSchema.call(this,t.missingSchema);return _compileAsync.call(this,e)}}function checkLoaded({missingSchema:e,missingRef:t}){if(this.refs[e]){throw new Error(`AnySchema ${e} is loaded but ${t} cannot be resolved`)}}async function loadMissingSchema(e){const r=await _loadSchema.call(this,e);if(!this.refs[e])await loadMetaSchema.call(this,r.$schema);if(!this.refs[e])this.addSchema(r,e,t)}async function _loadSchema(e){const t=this._loading[e];if(t)return t;try{return await(this._loading[e]=r(e))}finally{delete this._loading[e]}}}addSchema(e,t,r,A=this.opts.validateSchema){if(Array.isArray(e)){for(const t of e)this.addSchema(t,undefined,r,A);return this}let n;if(typeof e==="object"){const{schemaId:t}=this.opts;n=e[t];if(n!==undefined&&typeof n!="string"){throw new Error(`schema ${t} must be string`)}}t=(0,l.normalizeId)(t||n);this._checkUnique(t);this.schemas[t]=this._addSchema(e,r,t,A,true);return this}addMetaSchema(e,t,r=this.opts.validateSchema){this.addSchema(e,t,true,r);return this}validateSchema(e,t){if(typeof e=="boolean")return true;let r;r=e.$schema;if(r!==undefined&&typeof r!="string"){throw new Error("$schema must be a string")}r=r||this.opts.defaultMeta||this.defaultMeta();if(!r){this.logger.warn("meta-schema not available");this.errors=null;return true}const A=this.validate(r,e);if(!A&&t){const e="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(e);else throw new Error(e)}return A}getSchema(e){let t;while(typeof(t=getSchEnv.call(this,e))=="string")e=t;if(t===undefined){const{schemaId:r}=this.opts;const A=new a.SchemaEnv({schema:{},schemaId:r});t=a.resolveSchema.call(this,A,e);if(!t)return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp){this._removeAllSchemas(this.schemas,e);this._removeAllSchemas(this.refs,e);return this}switch(typeof e){case"undefined":this._removeAllSchemas(this.schemas);this._removeAllSchemas(this.refs);this._cache.clear();return this;case"string":{const t=getSchEnv.call(this,e);if(typeof t=="object")this._cache.delete(t.schema);delete this.schemas[e];delete this.refs[e];return this}case"object":{const t=e;this._cache.delete(t);let r=e[this.opts.schemaId];if(r){r=(0,l.normalizeId)(r);delete this.schemas[r];delete this.refs[r]}return this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(const t of e)this.addKeyword(t);return this}addKeyword(e,t){let r;if(typeof e=="string"){r=e;if(typeof t=="object"){this.logger.warn("these parameters are deprecated, see docs for addKeyword");t.keyword=r}}else if(typeof e=="object"&&t===undefined){t=e;r=t.keyword;if(Array.isArray(r)&&!r.length){throw new Error("addKeywords: keyword must be string or non-empty array")}}else{throw new Error("invalid addKeywords parameters")}checkKeyword.call(this,r,t);if(!t){(0,d.eachItem)(r,e=>addRule.call(this,e));return this}keywordMetaschema.call(this,t);const A={...t,type:(0,u.getJSONTypes)(t.type),schemaType:(0,u.getJSONTypes)(t.schemaType)};(0,d.eachItem)(r,A.type.length===0?e=>addRule.call(this,e,A):e=>A.type.forEach(t=>addRule.call(this,e,A,t)));return this}getKeyword(e){const t=this.RULES.all[e];return typeof t=="object"?t.definition:!!t}removeKeyword(e){const{RULES:t}=this;delete t.keywords[e];delete t.all[e];for(const r of t.rules){const t=r.rules.findIndex(t=>t.keyword===e);if(t>=0)r.rules.splice(t,1)}return this}addFormat(e,t){if(typeof t=="string")t=new RegExp(t);this.formats[e]=t;return this}errorsText(e=this.errors,{separator:t=", ",dataVar:r="data"}={}){if(!e||e.length===0)return"No errors";return e.map(e=>`${r}${e.instancePath} ${e.message}`).reduce((e,r)=>e+t+r)}$dataMetaSchema(e,t){const r=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(const A of t){const t=A.split("/").slice(1);let n=e;for(const e of t)n=n[e];for(const e in r){const t=r[e];if(typeof t!="object")continue;const{$data:A}=t.definition;const s=n[e];if(A&&s)n[e]=schemaOrData(s)}}return e}_removeAllSchemas(e,t){for(const r in e){const A=e[r];if(!t||t.test(r)){if(typeof A=="string"){delete e[r]}else if(A&&!A.meta){this._cache.delete(A.schema);delete e[r]}}}}_addSchema(e,t,r,A=this.opts.validateSchema,n=this.opts.addUsedSchema){let s;const{schemaId:o}=this.opts;if(typeof e=="object"){s=e[o]}else{if(this.opts.jtd)throw new Error("schema must be object");else if(typeof e!="boolean")throw new Error("schema must be object or boolean")}let i=this._cache.get(e);if(i!==undefined)return i;r=(0,l.normalizeId)(s||r);const c=l.getSchemaRefs.call(this,e,r);i=new a.SchemaEnv({schema:e,schemaId:o,meta:t,baseId:r,localRefs:c});this._cache.set(i.schema,i);if(n&&!r.startsWith("#")){if(r)this._checkUnique(r);this.refs[r]=i}if(A)this.validateSchema(e,true);return i}_checkUnique(e){if(this.schemas[e]||this.refs[e]){throw new Error(`schema with key or id "${e}" already exists`)}}_compileSchemaEnv(e){if(e.meta)this._compileMetaSchema(e);else a.compileSchema.call(this,e);if(!e.validate)throw new Error("ajv implementation error");return e.validate}_compileMetaSchema(e){const t=this.opts;this.opts=this._metaOpts;try{a.compileSchema.call(this,e)}finally{this.opts=t}}}Ajv.ValidationError=s.default;Ajv.MissingRefError=o.default;t["default"]=Ajv;function checkOptions(e,t,r,A="error"){for(const n in e){const s=n;if(s in t)this.logger[A](`${r}: option ${n}. ${e[s]}`)}}function getSchEnv(e){e=(0,l.normalizeId)(e);return this.schemas[e]||this.refs[e]}function addInitialSchemas(){const e=this.opts.schemas;if(!e)return;if(Array.isArray(e))this.addSchema(e);else for(const t in e)this.addSchema(e[t],t)}function addInitialFormats(){for(const e in this.opts.formats){const t=this.opts.formats[e];if(t)this.addFormat(e,t)}}function addInitialKeywords(e){if(Array.isArray(e)){this.addVocabulary(e);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const t in e){const r=e[t];if(!r.keyword)r.keyword=t;this.addKeyword(r)}}function getMetaSchemaOptions(){const e={...this.opts};for(const t of f)delete e[t];return e}const B={log(){},warn(){},error(){}};function getLogger(e){if(e===false)return B;if(e===undefined)return console;if(e.log&&e.warn&&e.error)return e;throw new Error("logger must implement log, warn and error methods")}const p=/^[a-z_$][a-z0-9_$:-]*$/i;function checkKeyword(e,t){const{RULES:r}=this;(0,d.eachItem)(e,e=>{if(r.keywords[e])throw new Error(`Keyword ${e} is already defined`);if(!p.test(e))throw new Error(`Keyword ${e} has invalid name`)});if(!t)return;if(t.$data&&!("code"in t||"validate"in t)){throw new Error('$data keyword must have "code" or "validate" function')}}function addRule(e,t,r){var A;const n=t===null||t===void 0?void 0:t.post;if(r&&n)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:s}=this;let o=n?s.post:s.rules.find(({type:e})=>e===r);if(!o){o={type:r,rules:[]};s.rules.push(o)}s.keywords[e]=true;if(!t)return;const i={keyword:e,definition:{...t,type:(0,u.getJSONTypes)(t.type),schemaType:(0,u.getJSONTypes)(t.schemaType)}};if(t.before)addBeforeRule.call(this,o,i,t.before);else o.rules.push(i);s.all[e]=i;(A=t.implements)===null||A===void 0?void 0:A.forEach(e=>this.addKeyword(e))}function addBeforeRule(e,t,r){const A=e.rules.findIndex(e=>e.keyword===r);if(A>=0){e.rules.splice(A,0,t)}else{e.rules.push(t);this.logger.warn(`rule ${r} is not defined`)}}function keywordMetaschema(e){let{metaSchema:t}=e;if(t===undefined)return;if(e.$data&&this.opts.$data)t=schemaOrData(t);e.validateSchema=this.compile(t,true)}const m={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function schemaOrData(e){return{anyOf:[e,m]}}},3707:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(8097);const n=r(5849);const s=r(3488);const o=r(1305);const i=r(7255);const a=r(2427);const c=r(1976);const l=r(5619);const u=["/properties"];function addMetaSchema2020(e){[A,n,s,o,i,with$data(this,a),c,with$data(this,l)].forEach(e=>this.addMetaSchema(e,undefined,false));return this;function with$data(t,r){return e?t.$dataMetaSchema(r,u):r}}t["default"]=addMetaSchema2020},4839:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(7638);A.code='require("ajv/dist/runtime/equal").default';t["default"]=A},2998:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});function ucs2length(e){const t=e.length;let r=0;let A=0;let n;while(A=55296&&n<=56319&&A{Object.defineProperty(t,"__esModule",{value:true});const A=r(2027);A.code='require("ajv/dist/runtime/uri").default';t["default"]=A},4301:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});class ValidationError extends Error{constructor(e){super("validation failed");this.errors=e;this.ajv=this.validation=true}}t["default"]=ValidationError},6728:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.validateAdditionalItems=void 0;const A=r(28);const n=r(3904);const s={message:({params:{len:e}})=>(0,A.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,A._)`{limit: ${e}}`};const o={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:s,code(e){const{parentSchema:t,it:r}=e;const{items:A}=t;if(!Array.isArray(A)){(0,n.checkStrictMode)(r,'"additionalItems" is ignored when "items" is not an array of schemas');return}validateAdditionalItems(e,A)}};function validateAdditionalItems(e,t){const{gen:r,schema:s,data:o,keyword:i,it:a}=e;a.items=true;const c=r.const("len",(0,A._)`${o}.length`);if(s===false){e.setParams({len:t.length});e.pass((0,A._)`${c} <= ${t.length}`)}else if(typeof s=="object"&&!(0,n.alwaysValidSchema)(a,s)){const n=r.var("valid",(0,A._)`${c} <= ${t.length}`);r.if((0,A.not)(n),()=>validateItems(n));e.ok(n)}function validateItems(s){r.forRange("i",t.length,c,t=>{e.subschema({keyword:i,dataProp:t,dataPropType:n.Type.Num},s);if(!a.allErrors)r.if((0,A.not)(s),()=>r.break())})}}t.validateAdditionalItems=validateAdditionalItems;t["default"]=o},3631:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(6516);const n=r(28);const s=r(5990);const o=r(3904);const i={message:"must NOT have additional properties",params:({params:e})=>(0,n._)`{additionalProperty: ${e.additionalProperty}}`};const a={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:true,trackErrors:true,error:i,code(e){const{gen:t,schema:r,parentSchema:i,data:a,errsCount:c,it:l}=e;if(!c)throw new Error("ajv implementation error");const{allErrors:u,opts:d}=l;l.props=true;if(d.removeAdditional!=="all"&&(0,o.alwaysValidSchema)(l,r))return;const h=(0,A.allSchemaProperties)(i.properties);const g=(0,A.allSchemaProperties)(i.patternProperties);checkAdditionalProperties();e.ok((0,n._)`${c} === ${s.default.errors}`);function checkAdditionalProperties(){t.forIn("key",a,e=>{if(!h.length&&!g.length)additionalPropertyCode(e);else t.if(isAdditional(e),()=>additionalPropertyCode(e))})}function isAdditional(r){let s;if(h.length>8){const e=(0,o.schemaRefOrVal)(l,i.properties,"properties");s=(0,A.isOwnProperty)(t,e,r)}else if(h.length){s=(0,n.or)(...h.map(e=>(0,n._)`${r} === ${e}`))}else{s=n.nil}if(g.length){s=(0,n.or)(s,...g.map(t=>(0,n._)`${(0,A.usePattern)(e,t)}.test(${r})`))}return(0,n.not)(s)}function deleteAdditional(e){t.code((0,n._)`delete ${a}[${e}]`)}function additionalPropertyCode(A){if(d.removeAdditional==="all"||d.removeAdditional&&r===false){deleteAdditional(A);return}if(r===false){e.setParams({additionalProperty:A});e.error();if(!u)t.break();return}if(typeof r=="object"&&!(0,o.alwaysValidSchema)(l,r)){const r=t.name("valid");if(d.removeAdditional==="failing"){applyAdditionalSchema(A,r,false);t.if((0,n.not)(r),()=>{e.reset();deleteAdditional(A)})}else{applyAdditionalSchema(A,r);if(!u)t.if((0,n.not)(r),()=>t.break())}}}function applyAdditionalSchema(t,r,A){const n={keyword:"additionalProperties",dataProp:t,dataPropType:o.Type.Str};if(A===false){Object.assign(n,{compositeRule:true,createErrors:false,allErrors:false})}e.subschema(n,r)}}};t["default"]=a},5077:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(3904);const n={keyword:"allOf",schemaType:"array",code(e){const{gen:t,schema:r,it:n}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");const s=t.name("valid");r.forEach((t,r)=>{if((0,A.alwaysValidSchema)(n,t))return;const o=e.subschema({keyword:"allOf",schemaProp:r},s);e.ok(s);e.mergeEvaluated(o)})}};t["default"]=n},564:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(6516);const n={keyword:"anyOf",schemaType:"array",trackErrors:true,code:A.validateUnion,error:{message:"must match a schema in anyOf"}};t["default"]=n},2374:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(28);const n=r(3904);const s={message:({params:{min:e,max:t}})=>t===undefined?(0,A.str)`must contain at least ${e} valid item(s)`:(0,A.str)`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>t===undefined?(0,A._)`{minContains: ${e}}`:(0,A._)`{minContains: ${e}, maxContains: ${t}}`};const o={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:true,error:s,code(e){const{gen:t,schema:r,parentSchema:s,data:o,it:i}=e;let a;let c;const{minContains:l,maxContains:u}=s;if(i.opts.next){a=l===undefined?1:l;c=u}else{a=1}const d=t.const("len",(0,A._)`${o}.length`);e.setParams({min:a,max:c});if(c===undefined&&a===0){(0,n.checkStrictMode)(i,`"minContains" == 0 without "maxContains": "contains" keyword ignored`);return}if(c!==undefined&&a>c){(0,n.checkStrictMode)(i,`"minContains" > "maxContains" is always invalid`);e.fail();return}if((0,n.alwaysValidSchema)(i,r)){let t=(0,A._)`${d} >= ${a}`;if(c!==undefined)t=(0,A._)`${t} && ${d} <= ${c}`;e.pass(t);return}i.items=true;const h=t.name("valid");if(c===undefined&&a===1){validateItems(h,()=>t.if(h,()=>t.break()))}else if(a===0){t.let(h,true);if(c!==undefined)t.if((0,A._)`${o}.length > 0`,validateItemsWithCount)}else{t.let(h,false);validateItemsWithCount()}e.result(h,()=>e.reset());function validateItemsWithCount(){const e=t.name("_valid");const r=t.let("count",0);validateItems(e,()=>t.if(e,()=>checkLimits(r)))}function validateItems(r,A){t.forRange("i",0,d,t=>{e.subschema({keyword:"contains",dataProp:t,dataPropType:n.Type.Num,compositeRule:true},r);A()})}function checkLimits(e){t.code((0,A._)`${e}++`);if(c===undefined){t.if((0,A._)`${e} >= ${a}`,()=>t.assign(h,true).break())}else{t.if((0,A._)`${e} > ${c}`,()=>t.assign(h,false).break());if(a===1)t.assign(h,true);else t.if((0,A._)`${e} >= ${a}`,()=>t.assign(h,true))}}}};t["default"]=o},9170:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.validateSchemaDeps=t.validatePropertyDeps=t.error=void 0;const A=r(28);const n=r(3904);const s=r(6516);t.error={message:({params:{property:e,depsCount:t,deps:r}})=>{const n=t===1?"property":"properties";return(0,A.str)`must have ${n} ${r} when property ${e} is present`},params:({params:{property:e,depsCount:t,deps:r,missingProperty:n}})=>(0,A._)`{property: ${e}, missingProperty: ${n}, depsCount: ${t}, - deps: ${A}}`};const o={keyword:"dependencies",type:"object",schemaType:"object",error:t.error,code(e){const[t,A]=splitDependencies(e);validatePropertyDeps(e,t);validateSchemaDeps(e,A)}};function splitDependencies({schema:e}){const t={};const A={};for(const r in e){if(r==="__proto__")continue;const n=Array.isArray(e[r])?t:A;n[r]=e[r]}return[t,A]}function validatePropertyDeps(e,t=e.schema){const{gen:A,data:n,it:o}=e;if(Object.keys(t).length===0)return;const i=A.let("missing");for(const a in t){const c=t[a];if(c.length===0)continue;const l=(0,s.propertyInData)(A,n,a,o.opts.ownProperties);e.setParams({property:a,depsCount:c.length,deps:c.join(", ")});if(o.allErrors){A.if(l,()=>{for(const t of c){(0,s.checkReportMissingProp)(e,t)}})}else{A.if((0,r._)`${l} && (${(0,s.checkMissingProp)(e,c,i)})`);(0,s.reportMissingProp)(e,i);A.else()}}}t.validatePropertyDeps=validatePropertyDeps;function validateSchemaDeps(e,t=e.schema){const{gen:A,data:r,keyword:o,it:i}=e;const a=A.name("valid");for(const c in t){if((0,n.alwaysValidSchema)(i,t[c]))continue;A.if((0,s.propertyInData)(A,r,c,i.opts.ownProperties),()=>{const t=e.subschema({keyword:o,schemaProp:c},a);e.mergeValidEvaluated(t,a)},()=>A.var(a,true));e.ok(a)}}t.validateSchemaDeps=validateSchemaDeps;t["default"]=o},4602:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(9170);const n={keyword:"dependentSchemas",type:"object",schemaType:"object",code:e=>(0,r.validateSchemaDeps)(e)};t["default"]=n},4216:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(28);const n=A(3904);const s={message:({params:e})=>(0,r.str)`must match "${e.ifClause}" schema`,params:({params:e})=>(0,r._)`{failingKeyword: ${e.ifClause}}`};const o={keyword:"if",schemaType:["object","boolean"],trackErrors:true,error:s,code(e){const{gen:t,parentSchema:A,it:s}=e;if(A.then===undefined&&A.else===undefined){(0,n.checkStrictMode)(s,'"if" without "then" and "else" is ignored')}const o=hasSchema(s,"then");const i=hasSchema(s,"else");if(!o&&!i)return;const a=t.let("valid",true);const c=t.name("_valid");validateIf();e.reset();if(o&&i){const A=t.let("ifClause");e.setParams({ifClause:A});t.if(c,validateClause("then",A),validateClause("else",A))}else if(o){t.if(c,validateClause("then"))}else{t.if((0,r.not)(c),validateClause("else"))}e.pass(a,()=>e.error(true));function validateIf(){const t=e.subschema({keyword:"if",compositeRule:true,createErrors:false,allErrors:false},c);e.mergeEvaluated(t)}function validateClause(A,n){return()=>{const s=e.subschema({keyword:A},c);t.assign(a,c);e.mergeValidEvaluated(s,a);if(n)t.assign(n,(0,r._)`${A}`);else e.setParams({ifClause:A})}}}};function hasSchema(e,t){const A=e.schema[t];return A!==undefined&&!(0,n.alwaysValidSchema)(e,A)}t["default"]=o},2519:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(6728);const n=A(323);const s=A(5199);const o=A(3087);const i=A(2374);const a=A(9170);const c=A(9948);const l=A(3631);const u=A(8874);const d=A(24);const h=A(5326);const g=A(564);const f=A(7770);const E=A(5077);const Q=A(4216);const C=A(2637);function getApplicator(e=false){const t=[h.default,g.default,f.default,E.default,Q.default,C.default,c.default,l.default,a.default,u.default,d.default];if(e)t.push(n.default,o.default);else t.push(r.default,s.default);t.push(i.default);return t}t["default"]=getApplicator},5199:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});t.validateTuple=void 0;const r=A(28);const n=A(3904);const s=A(6516);const o={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:A}=e;if(Array.isArray(t))return validateTuple(e,"additionalItems",t);A.items=true;if((0,n.alwaysValidSchema)(A,t))return;e.ok((0,s.validateArray)(e))}};function validateTuple(e,t,A=e.schema){const{gen:s,parentSchema:o,data:i,keyword:a,it:c}=e;checkStrictTuple(o);if(c.opts.unevaluated&&A.length&&c.items!==true){c.items=n.mergeEvaluated.items(s,A.length,c.items)}const l=s.name("valid");const u=s.const("len",(0,r._)`${i}.length`);A.forEach((t,A)=>{if((0,n.alwaysValidSchema)(c,t))return;s.if((0,r._)`${u} > ${A}`,()=>e.subschema({keyword:a,schemaProp:A,dataProp:A},l));e.ok(l)});function checkStrictTuple(e){const{opts:r,errSchemaPath:s}=c;const o=A.length;const i=o===e.minItems&&(o===e.maxItems||e[t]===false);if(r.strictTuples&&!i){const e=`"${a}" is ${o}-tuple, but minItems or maxItems/${t} are not specified or different at path "${s}"`;(0,n.checkStrictMode)(c,e,r.strictTuples)}}}t.validateTuple=validateTuple;t["default"]=o},3087:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(28);const n=A(3904);const s=A(6516);const o=A(6728);const i={message:({params:{len:e}})=>(0,r.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,r._)`{limit: ${e}}`};const a={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:i,code(e){const{schema:t,parentSchema:A,it:r}=e;const{prefixItems:i}=A;r.items=true;if((0,n.alwaysValidSchema)(r,t))return;if(i)(0,o.validateAdditionalItems)(e,i);else e.ok((0,s.validateArray)(e))}};t["default"]=a},5326:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(3904);const n={keyword:"not",schemaType:["object","boolean"],trackErrors:true,code(e){const{gen:t,schema:A,it:n}=e;if((0,r.alwaysValidSchema)(n,A)){e.fail();return}const s=t.name("valid");e.subschema({keyword:"not",compositeRule:true,createErrors:false,allErrors:false},s);e.failResult(s,()=>e.reset(),()=>e.error())},error:{message:"must NOT be valid"}};t["default"]=n},7770:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(28);const n=A(3904);const s={message:"must match exactly one schema in oneOf",params:({params:e})=>(0,r._)`{passingSchemas: ${e.passing}}`};const o={keyword:"oneOf",schemaType:"array",trackErrors:true,error:s,code(e){const{gen:t,schema:A,parentSchema:s,it:o}=e;if(!Array.isArray(A))throw new Error("ajv implementation error");if(o.opts.discriminator&&s.discriminator)return;const i=A;const a=t.let("valid",false);const c=t.let("passing",null);const l=t.name("_valid");e.setParams({passing:c});t.block(validateOneOf);e.result(a,()=>e.reset(),()=>e.error(true));function validateOneOf(){i.forEach((A,s)=>{let i;if((0,n.alwaysValidSchema)(o,A)){t.var(l,true)}else{i=e.subschema({keyword:"oneOf",schemaProp:s,compositeRule:true},l)}if(s>0){t.if((0,r._)`${l} && ${a}`).assign(a,false).assign(c,(0,r._)`[${c}, ${s}]`).else()}t.if(l,()=>{t.assign(a,true);t.assign(c,s);if(i)e.mergeEvaluated(i,r.Name)})})}}};t["default"]=o},24:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(6516);const n=A(28);const s=A(3904);const o=A(3904);const i={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:A,data:i,parentSchema:a,it:c}=e;const{opts:l}=c;const u=(0,r.allSchemaProperties)(A);const d=u.filter(e=>(0,s.alwaysValidSchema)(c,A[e]));if(u.length===0||d.length===u.length&&(!c.opts.unevaluated||c.props===true)){return}const h=l.strictSchema&&!l.allowMatchingProperties&&a.properties;const g=t.name("valid");if(c.props!==true&&!(c.props instanceof n.Name)){c.props=(0,o.evaluatedPropsToName)(t,c.props)}const{props:f}=c;validatePatternProperties();function validatePatternProperties(){for(const e of u){if(h)checkMatchingProperties(e);if(c.allErrors){validateProperties(e)}else{t.var(g,true);validateProperties(e);t.if(g)}}}function checkMatchingProperties(e){for(const t in h){if(new RegExp(e).test(t)){(0,s.checkStrictMode)(c,`property ${t} matches pattern ${e} (use allowMatchingProperties)`)}}}function validateProperties(A){t.forIn("key",i,s=>{t.if((0,n._)`${(0,r.usePattern)(e,A)}.test(${s})`,()=>{const r=d.includes(A);if(!r){e.subschema({keyword:"patternProperties",schemaProp:A,dataProp:s,dataPropType:o.Type.Str},g)}if(c.opts.unevaluated&&f!==true){t.assign((0,n._)`${f}[${s}]`,true)}else if(!r&&!c.allErrors){t.if((0,n.not)(g),()=>t.break())}})})}}};t["default"]=i},323:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(5199);const n={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,r.validateTuple)(e,"items")};t["default"]=n},8874:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(4457);const n=A(6516);const s=A(3904);const o=A(3631);const i={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:A,parentSchema:i,data:a,it:c}=e;if(c.opts.removeAdditional==="all"&&i.additionalProperties===undefined){o.default.code(new r.KeywordCxt(c,o.default,"additionalProperties"))}const l=(0,n.allSchemaProperties)(A);for(const e of l){c.definedProperties.add(e)}if(c.opts.unevaluated&&l.length&&c.props!==true){c.props=s.mergeEvaluated.props(t,(0,s.toHash)(l),c.props)}const u=l.filter(e=>!(0,s.alwaysValidSchema)(c,A[e]));if(u.length===0)return;const d=t.name("valid");for(const A of u){if(hasDefault(A)){applyPropertySchema(A)}else{t.if((0,n.propertyInData)(t,a,A,c.opts.ownProperties));applyPropertySchema(A);if(!c.allErrors)t.else().var(d,true);t.endIf()}e.it.definedProperties.add(A);e.ok(d)}function hasDefault(e){return c.opts.useDefaults&&!c.compositeRule&&A[e].default!==undefined}function applyPropertySchema(t){e.subschema({keyword:"properties",schemaProp:t,dataProp:t},d)}}};t["default"]=i},9948:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(28);const n=A(3904);const s={message:"property name must be valid",params:({params:e})=>(0,r._)`{propertyName: ${e.propertyName}}`};const o={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:s,code(e){const{gen:t,schema:A,data:s,it:o}=e;if((0,n.alwaysValidSchema)(o,A))return;const i=t.name("valid");t.forIn("key",s,A=>{e.setParams({propertyName:A});e.subschema({keyword:"propertyNames",data:A,dataTypes:["string"],propertyName:A,compositeRule:true},i);t.if((0,r.not)(i),()=>{e.error(true);if(!o.allErrors)t.break()})});e.ok(i)}};t["default"]=o},2637:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(3904);const n={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:A}){if(t.if===undefined)(0,r.checkStrictMode)(A,`"${e}" without "if" is ignored`)}};t["default"]=n},6516:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});t.validateUnion=t.validateArray=t.usePattern=t.callValidateCode=t.schemaProperties=t.allSchemaProperties=t.noPropertyInData=t.propertyInData=t.isOwnProperty=t.hasPropFunc=t.reportMissingProp=t.checkMissingProp=t.checkReportMissingProp=void 0;const r=A(28);const n=A(3904);const s=A(5990);const o=A(3904);function checkReportMissingProp(e,t){const{gen:A,data:n,it:s}=e;A.if(noPropertyInData(A,n,t,s.opts.ownProperties),()=>{e.setParams({missingProperty:(0,r._)`${t}`},true);e.error()})}t.checkReportMissingProp=checkReportMissingProp;function checkMissingProp({gen:e,data:t,it:{opts:A}},n,s){return(0,r.or)(...n.map(n=>(0,r.and)(noPropertyInData(e,t,n,A.ownProperties),(0,r._)`${s} = ${n}`)))}t.checkMissingProp=checkMissingProp;function reportMissingProp(e,t){e.setParams({missingProperty:t},true);e.error()}t.reportMissingProp=reportMissingProp;function hasPropFunc(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,r._)`Object.prototype.hasOwnProperty`})}t.hasPropFunc=hasPropFunc;function isOwnProperty(e,t,A){return(0,r._)`${hasPropFunc(e)}.call(${t}, ${A})`}t.isOwnProperty=isOwnProperty;function propertyInData(e,t,A,n){const s=(0,r._)`${t}${(0,r.getProperty)(A)} !== undefined`;return n?(0,r._)`${s} && ${isOwnProperty(e,t,A)}`:s}t.propertyInData=propertyInData;function noPropertyInData(e,t,A,n){const s=(0,r._)`${t}${(0,r.getProperty)(A)} === undefined`;return n?(0,r.or)(s,(0,r.not)(isOwnProperty(e,t,A))):s}t.noPropertyInData=noPropertyInData;function allSchemaProperties(e){return e?Object.keys(e).filter(e=>e!=="__proto__"):[]}t.allSchemaProperties=allSchemaProperties;function schemaProperties(e,t){return allSchemaProperties(t).filter(A=>!(0,n.alwaysValidSchema)(e,t[A]))}t.schemaProperties=schemaProperties;function callValidateCode({schemaCode:e,data:t,it:{gen:A,topSchemaRef:n,schemaPath:o,errorPath:i},it:a},c,l,u){const d=u?(0,r._)`${e}, ${t}, ${n}${o}`:t;const h=[[s.default.instancePath,(0,r.strConcat)(s.default.instancePath,i)],[s.default.parentData,a.parentData],[s.default.parentDataProperty,a.parentDataProperty],[s.default.rootData,s.default.rootData]];if(a.opts.dynamicRef)h.push([s.default.dynamicAnchors,s.default.dynamicAnchors]);const g=(0,r._)`${d}, ${A.object(...h)}`;return l!==r.nil?(0,r._)`${c}.call(${l}, ${g})`:(0,r._)`${c}(${g})`}t.callValidateCode=callValidateCode;const i=(0,r._)`new RegExp`;function usePattern({gen:e,it:{opts:t}},A){const n=t.unicodeRegExp?"u":"";const{regExp:s}=t.code;const a=s(A,n);return e.scopeValue("pattern",{key:a.toString(),ref:a,code:(0,r._)`${s.code==="new RegExp"?i:(0,o.useFunc)(e,s)}(${A}, ${n})`})}t.usePattern=usePattern;function validateArray(e){const{gen:t,data:A,keyword:s,it:o}=e;const i=t.name("valid");if(o.allErrors){const e=t.let("valid",true);validateItems(()=>t.assign(e,false));return e}t.var(i,true);validateItems(()=>t.break());return i;function validateItems(o){const a=t.const("len",(0,r._)`${A}.length`);t.forRange("i",0,a,A=>{e.subschema({keyword:s,dataProp:A,dataPropType:n.Type.Num},i);t.if((0,r.not)(i),o)})}}t.validateArray=validateArray;function validateUnion(e){const{gen:t,schema:A,keyword:s,it:o}=e;if(!Array.isArray(A))throw new Error("ajv implementation error");const i=A.some(e=>(0,n.alwaysValidSchema)(o,e));if(i&&!o.opts.unevaluated)return;const a=t.let("valid",false);const c=t.name("_valid");t.block(()=>A.forEach((A,n)=>{const o=e.subschema({keyword:s,schemaProp:n,compositeRule:true},c);t.assign(a,(0,r._)`${a} || ${c}`);const i=e.mergeValidEvaluated(o,c);if(!i)t.if((0,r.not)(a))}));e.result(a,()=>e.reset(),()=>e.error(true))}t.validateUnion=validateUnion},544:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});const A={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};t["default"]=A},6325:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(544);const n=A(3652);const s=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",r.default,n.default];t["default"]=s},3652:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});t.callRef=t.getValidate=void 0;const r=A(8922);const n=A(6516);const s=A(28);const o=A(5990);const i=A(9198);const a=A(3904);const c={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:A,it:n}=e;const{baseId:o,schemaEnv:a,validateName:c,opts:l,self:u}=n;const{root:d}=a;if((A==="#"||A==="#/")&&o===d.baseId)return callRootRef();const h=i.resolveRef.call(u,d,o,A);if(h===undefined)throw new r.default(n.opts.uriResolver,o,A);if(h instanceof i.SchemaEnv)return callValidate(h);return inlineRefSchema(h);function callRootRef(){if(a===d)return callRef(e,c,a,a.$async);const A=t.scopeValue("root",{ref:d});return callRef(e,(0,s._)`${A}.validate`,d,d.$async)}function callValidate(t){const A=getValidate(e,t);callRef(e,A,t,t.$async)}function inlineRefSchema(r){const n=t.scopeValue("schema",l.code.source===true?{ref:r,code:(0,s.stringify)(r)}:{ref:r});const o=t.name("valid");const i=e.subschema({schema:r,dataTypes:[],schemaPath:s.nil,topSchemaRef:n,errSchemaPath:A},o);e.mergeEvaluated(i);e.ok(o)}}};function getValidate(e,t){const{gen:A}=e;return t.validate?A.scopeValue("validate",{ref:t.validate}):(0,s._)`${A.scopeValue("wrapper",{ref:t})}.validate`}t.getValidate=getValidate;function callRef(e,t,A,r){const{gen:i,it:c}=e;const{allErrors:l,schemaEnv:u,opts:d}=c;const h=d.passContext?o.default.this:s.nil;if(r)callAsyncRef();else callSyncRef();function callAsyncRef(){if(!u.$async)throw new Error("async schema referenced by sync schema");const A=i.let("valid");i.try(()=>{i.code((0,s._)`await ${(0,n.callValidateCode)(e,t,h)}`);addEvaluatedFrom(t);if(!l)i.assign(A,true)},e=>{i.if((0,s._)`!(${e} instanceof ${c.ValidationError})`,()=>i.throw(e));addErrorsFrom(e);if(!l)i.assign(A,false)});e.ok(A)}function callSyncRef(){e.result((0,n.callValidateCode)(e,t,h),()=>addEvaluatedFrom(t),()=>addErrorsFrom(t))}function addErrorsFrom(e){const t=(0,s._)`${e}.errors`;i.assign(o.default.vErrors,(0,s._)`${o.default.vErrors} === null ? ${t} : ${o.default.vErrors}.concat(${t})`);i.assign(o.default.errors,(0,s._)`${o.default.vErrors}.length`)}function addEvaluatedFrom(e){var t;if(!c.opts.unevaluated)return;const r=(t=A===null||A===void 0?void 0:A.validate)===null||t===void 0?void 0:t.evaluated;if(c.props!==true){if(r&&!r.dynamicProps){if(r.props!==undefined){c.props=a.mergeEvaluated.props(i,r.props,c.props)}}else{const t=i.var("props",(0,s._)`${e}.evaluated.props`);c.props=a.mergeEvaluated.props(i,t,c.props,s.Name)}}if(c.items!==true){if(r&&!r.dynamicItems){if(r.items!==undefined){c.items=a.mergeEvaluated.items(i,r.items,c.items)}}else{const t=i.var("items",(0,s._)`${e}.evaluated.items`);c.items=a.mergeEvaluated.items(i,t,c.items,s.Name)}}}}t.callRef=callRef;t["default"]=c},5014:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(28);const n=A(5563);const s=A(9198);const o=A(8922);const i=A(3904);const a={message:({params:{discrError:e,tagName:t}})=>e===n.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:A}})=>(0,r._)`{error: ${e}, tag: ${A}, tagValue: ${t}}`};const c={keyword:"discriminator",type:"object",schemaType:"object",error:a,code(e){const{gen:t,data:A,schema:a,parentSchema:c,it:l}=e;const{oneOf:u}=c;if(!l.opts.discriminator){throw new Error("discriminator: requires discriminator option")}const d=a.propertyName;if(typeof d!="string")throw new Error("discriminator: requires propertyName");if(a.mapping)throw new Error("discriminator: mapping is not supported");if(!u)throw new Error("discriminator: requires oneOf keyword");const h=t.let("valid",false);const g=t.const("tag",(0,r._)`${A}${(0,r.getProperty)(d)}`);t.if((0,r._)`typeof ${g} == "string"`,()=>validateMapping(),()=>e.error(false,{discrError:n.DiscrError.Tag,tag:g,tagName:d}));e.ok(h);function validateMapping(){const A=getMapping();t.if(false);for(const e in A){t.elseIf((0,r._)`${g} === ${e}`);t.assign(h,applyTagSchema(A[e]))}t.else();e.error(false,{discrError:n.DiscrError.Mapping,tag:g,tagName:d});t.endIf()}function applyTagSchema(A){const n=t.name("valid");const s=e.subschema({keyword:"oneOf",schemaProp:A},n);e.mergeEvaluated(s,r.Name);return n}function getMapping(){var e;const t={};const A=hasRequired(c);let r=true;for(let t=0;t{Object.defineProperty(t,"__esModule",{value:true});t.DiscrError=void 0;var A;(function(e){e["Tag"]="tag";e["Mapping"]="mapping"})(A||(t.DiscrError=A={}))},3370:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(6325);const n=A(6841);const s=A(2519);const o=A(5731);const i=A(1332);const a=A(3498);const c=A(9);const l=A(492);const u=[o.default,r.default,n.default,(0,s.default)(true),c.default,l.metadataVocabulary,l.contentVocabulary,i.default,a.default];t["default"]=u},5845:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(6325);const n=A(6841);const s=A(2519);const o=A(9);const i=A(492);const a=[r.default,n.default,(0,s.default)(),o.default,i.metadataVocabulary,i.contentVocabulary];t["default"]=a},8527:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});t.dynamicAnchor=void 0;const r=A(28);const n=A(5990);const s=A(9198);const o=A(3652);const i={keyword:"$dynamicAnchor",schemaType:"string",code:e=>dynamicAnchor(e,e.schema)};function dynamicAnchor(e,t){const{gen:A,it:s}=e;s.schemaEnv.root.dynamicAnchors[t]=true;const o=(0,r._)`${n.default.dynamicAnchors}${(0,r.getProperty)(t)}`;const i=s.errSchemaPath==="#"?s.validateName:_getValidate(e);A.if((0,r._)`!${o}`,()=>A.assign(o,i))}t.dynamicAnchor=dynamicAnchor;function _getValidate(e){const{schemaEnv:t,schema:A,self:r}=e.it;const{root:n,baseId:i,localRefs:a,meta:c}=t.root;const{schemaId:l}=r.opts;const u=new s.SchemaEnv({schema:A,schemaId:l,root:n,baseId:i,localRefs:a,meta:c});s.compileSchema.call(r,u);return(0,o.getValidate)(e,u)}t["default"]=i},4537:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});t.dynamicRef=void 0;const r=A(28);const n=A(5990);const s=A(3652);const o={keyword:"$dynamicRef",schemaType:"string",code:e=>dynamicRef(e,e.schema)};function dynamicRef(e,t){const{gen:A,keyword:o,it:i}=e;if(t[0]!=="#")throw new Error(`"${o}" only supports hash fragment reference`);const a=t.slice(1);if(i.allErrors){_dynamicRef()}else{const t=A.let("valid",false);_dynamicRef(t);e.ok(t)}function _dynamicRef(e){if(i.schemaEnv.root.dynamicAnchors[a]){const t=A.let("_v",(0,r._)`${n.default.dynamicAnchors}${(0,r.getProperty)(a)}`);A.if(t,_callRef(t,e),_callRef(i.validateName,e))}else{_callRef(i.validateName,e)()}}function _callRef(t,r){return r?()=>A.block(()=>{(0,s.callRef)(e,t);A.let(r,true)}):()=>(0,s.callRef)(e,t)}}t.dynamicRef=dynamicRef;t["default"]=o},5731:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(8527);const n=A(4537);const s=A(46);const o=A(629);const i=[r.default,n.default,s.default,o.default];t["default"]=i},46:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(8527);const n=A(3904);const s={keyword:"$recursiveAnchor",schemaType:"boolean",code(e){if(e.schema)(0,r.dynamicAnchor)(e,"");else(0,n.checkStrictMode)(e.it,"$recursiveAnchor: false is ignored")}};t["default"]=s},629:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(4537);const n={keyword:"$recursiveRef",schemaType:"string",code:e=>(0,r.dynamicRef)(e,e.schema)};t["default"]=n},2466:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(28);const n={message:({schemaCode:e})=>(0,r.str)`must match format "${e}"`,params:({schemaCode:e})=>(0,r._)`{format: ${e}}`};const s={keyword:"format",type:["number","string"],schemaType:"string",$data:true,error:n,code(e,t){const{gen:A,data:n,$data:s,schema:o,schemaCode:i,it:a}=e;const{opts:c,errSchemaPath:l,schemaEnv:u,self:d}=a;if(!c.validateFormats)return;if(s)validate$DataFormat();else validateFormat();function validate$DataFormat(){const s=A.scopeValue("formats",{ref:d.formats,code:c.code.formats});const o=A.const("fDef",(0,r._)`${s}[${i}]`);const a=A.let("fType");const l=A.let("format");A.if((0,r._)`typeof ${o} == "object" && !(${o} instanceof RegExp)`,()=>A.assign(a,(0,r._)`${o}.type || "string"`).assign(l,(0,r._)`${o}.validate`),()=>A.assign(a,(0,r._)`"string"`).assign(l,o));e.fail$data((0,r.or)(unknownFmt(),invalidFmt()));function unknownFmt(){if(c.strictSchema===false)return r.nil;return(0,r._)`${i} && !${l}`}function invalidFmt(){const e=u.$async?(0,r._)`(${o}.async ? await ${l}(${n}) : ${l}(${n}))`:(0,r._)`${l}(${n})`;const A=(0,r._)`(typeof ${l} == "function" ? ${e} : ${l}.test(${n}))`;return(0,r._)`${l} && ${l} !== true && ${a} === ${t} && !${A}`}}function validateFormat(){const s=d.formats[o];if(!s){unknownFormat();return}if(s===true)return;const[i,a,h]=getFormat(s);if(i===t)e.pass(validCondition());function unknownFormat(){if(c.strictSchema===false){d.logger.warn(unknownMsg());return}throw new Error(unknownMsg());function unknownMsg(){return`unknown format "${o}" ignored in schema at path "${l}"`}}function getFormat(e){const t=e instanceof RegExp?(0,r.regexpCode)(e):c.code.formats?(0,r._)`${c.code.formats}${(0,r.getProperty)(o)}`:undefined;const n=A.scopeValue("formats",{key:o,ref:e,code:t});if(typeof e=="object"&&!(e instanceof RegExp)){return[e.type||"string",e.validate,(0,r._)`${n}.validate`]}return["string",e,n]}function validCondition(){if(typeof s=="object"&&!(s instanceof RegExp)&&s.async){if(!u.$async)throw new Error("async format in sync schema");return(0,r._)`await ${h}(${n})`}return typeof a=="function"?(0,r._)`${h}(${n})`:(0,r._)`${h}.test(${n})`}}}};t["default"]=s},9:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(2466);const n=[r.default];t["default"]=n},492:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.contentVocabulary=t.metadataVocabulary=void 0;t.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];t.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]},1332:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(1331);const n=A(4602);const s=A(9731);const o=[r.default,n.default,s.default];t["default"]=o},3498:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(4119);const n=A(9808);const s=[r.default,n.default];t["default"]=s},9808:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(28);const n=A(3904);const s={message:({params:{len:e}})=>(0,r.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,r._)`{limit: ${e}}`};const o={keyword:"unevaluatedItems",type:"array",schemaType:["boolean","object"],error:s,code(e){const{gen:t,schema:A,data:s,it:o}=e;const i=o.items||0;if(i===true)return;const a=t.const("len",(0,r._)`${s}.length`);if(A===false){e.setParams({len:i});e.fail((0,r._)`${a} > ${i}`)}else if(typeof A=="object"&&!(0,n.alwaysValidSchema)(o,A)){const A=t.var("valid",(0,r._)`${a} <= ${i}`);t.if((0,r.not)(A),()=>validateItems(A,i));e.ok(A)}o.items=true;function validateItems(A,s){t.forRange("i",s,a,s=>{e.subschema({keyword:"unevaluatedItems",dataProp:s,dataPropType:n.Type.Num},A);if(!o.allErrors)t.if((0,r.not)(A),()=>t.break())})}}};t["default"]=o},4119:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(28);const n=A(3904);const s=A(5990);const o={message:"must NOT have unevaluated properties",params:({params:e})=>(0,r._)`{unevaluatedProperty: ${e.unevaluatedProperty}}`};const i={keyword:"unevaluatedProperties",type:"object",schemaType:["boolean","object"],trackErrors:true,error:o,code(e){const{gen:t,schema:A,data:o,errsCount:i,it:a}=e;if(!i)throw new Error("ajv implementation error");const{allErrors:c,props:l}=a;if(l instanceof r.Name){t.if((0,r._)`${l} !== true`,()=>t.forIn("key",o,e=>t.if(unevaluatedDynamic(l,e),()=>unevaluatedPropCode(e))))}else if(l!==true){t.forIn("key",o,e=>l===undefined?unevaluatedPropCode(e):t.if(unevaluatedStatic(l,e),()=>unevaluatedPropCode(e)))}a.props=true;e.ok((0,r._)`${i} === ${s.default.errors}`);function unevaluatedPropCode(s){if(A===false){e.setParams({unevaluatedProperty:s});e.error();if(!c)t.break();return}if(!(0,n.alwaysValidSchema)(a,A)){const A=t.name("valid");e.subschema({keyword:"unevaluatedProperties",dataProp:s,dataPropType:n.Type.Str},A);if(!c)t.if((0,r.not)(A),()=>t.break())}}function unevaluatedDynamic(e,t){return(0,r._)`!${e} || !${e}[${t}]`}function unevaluatedStatic(e,t){const A=[];for(const n in e){if(e[n]===true)A.push((0,r._)`${t} !== ${n}`)}return(0,r.and)(...A)}}};t["default"]=i},970:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(28);const n=A(3904);const s=A(4839);const o={message:"must be equal to constant",params:({schemaCode:e})=>(0,r._)`{allowedValue: ${e}}`};const i={keyword:"const",$data:true,error:o,code(e){const{gen:t,data:A,$data:o,schemaCode:i,schema:a}=e;if(o||a&&typeof a=="object"){e.fail$data((0,r._)`!${(0,n.useFunc)(t,s.default)}(${A}, ${i})`)}else{e.fail((0,r._)`${a} !== ${A}`)}}};t["default"]=i},1331:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(9170);const n={keyword:"dependentRequired",type:"object",schemaType:"object",error:r.error,code:e=>(0,r.validatePropertyDeps)(e)};t["default"]=n},6928:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(28);const n=A(3904);const s=A(4839);const o={message:"must be equal to one of the allowed values",params:({schemaCode:e})=>(0,r._)`{allowedValues: ${e}}`};const i={keyword:"enum",schemaType:"array",$data:true,error:o,code(e){const{gen:t,data:A,$data:o,schema:i,schemaCode:a,it:c}=e;if(!o&&i.length===0)throw new Error("enum must have non-empty array");const l=i.length>=c.opts.loopEnum;let u;const getEql=()=>u!==null&&u!==void 0?u:u=(0,n.useFunc)(t,s.default);let d;if(l||o){d=t.let("valid");e.block$data(d,loopEnum)}else{if(!Array.isArray(i))throw new Error("ajv implementation error");const e=t.const("vSchema",a);d=(0,r.or)(...i.map((t,A)=>equalCode(e,A)))}e.pass(d);function loopEnum(){t.assign(d,false);t.forOf("v",a,e=>t.if((0,r._)`${getEql()}(${A}, ${e})`,()=>t.assign(d,true).break()))}function equalCode(e,t){const n=i[t];return typeof n==="object"&&n!==null?(0,r._)`${getEql()}(${A}, ${e}[${t}])`:(0,r._)`${A} === ${n}`}}};t["default"]=i},6841:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(8795);const n=A(6068);const s=A(8130);const o=A(6407);const i=A(5951);const a=A(8216);const c=A(4376);const l=A(2108);const u=A(970);const d=A(6928);const h=[r.default,n.default,s.default,o.default,i.default,a.default,c.default,l.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},u.default,d.default];t["default"]=h},9731:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(3904);const n={keyword:["maxContains","minContains"],type:"array",schemaType:"number",code({keyword:e,parentSchema:t,it:A}){if(t.contains===undefined){(0,r.checkStrictMode)(A,`"${e}" without "contains" is ignored`)}}};t["default"]=n},4376:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(28);const n={message({keyword:e,schemaCode:t}){const A=e==="maxItems"?"more":"fewer";return(0,r.str)`must NOT have ${A} than ${t} items`},params:({schemaCode:e})=>(0,r._)`{limit: ${e}}`};const s={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:true,error:n,code(e){const{keyword:t,data:A,schemaCode:n}=e;const s=t==="maxItems"?r.operators.GT:r.operators.LT;e.fail$data((0,r._)`${A}.length ${s} ${n}`)}};t["default"]=s},8130:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(28);const n=A(3904);const s=A(2998);const o={message({keyword:e,schemaCode:t}){const A=e==="maxLength"?"more":"fewer";return(0,r.str)`must NOT have ${A} than ${t} characters`},params:({schemaCode:e})=>(0,r._)`{limit: ${e}}`};const i={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:true,error:o,code(e){const{keyword:t,data:A,schemaCode:o,it:i}=e;const a=t==="maxLength"?r.operators.GT:r.operators.LT;const c=i.opts.unicode===false?(0,r._)`${A}.length`:(0,r._)`${(0,n.useFunc)(e.gen,s.default)}(${A})`;e.fail$data((0,r._)`${c} ${a} ${o}`)}};t["default"]=i},8795:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(28);const n=r.operators;const s={maximum:{okStr:"<=",ok:n.LTE,fail:n.GT},minimum:{okStr:">=",ok:n.GTE,fail:n.LT},exclusiveMaximum:{okStr:"<",ok:n.LT,fail:n.GTE},exclusiveMinimum:{okStr:">",ok:n.GT,fail:n.LTE}};const o={message:({keyword:e,schemaCode:t})=>(0,r.str)`must be ${s[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>(0,r._)`{comparison: ${s[e].okStr}, limit: ${t}}`};const i={keyword:Object.keys(s),type:"number",schemaType:"number",$data:true,error:o,code(e){const{keyword:t,data:A,schemaCode:n}=e;e.fail$data((0,r._)`${A} ${s[t].fail} ${n} || isNaN(${A})`)}};t["default"]=i},5951:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(28);const n={message({keyword:e,schemaCode:t}){const A=e==="maxProperties"?"more":"fewer";return(0,r.str)`must NOT have ${A} than ${t} properties`},params:({schemaCode:e})=>(0,r._)`{limit: ${e}}`};const s={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:true,error:n,code(e){const{keyword:t,data:A,schemaCode:n}=e;const s=t==="maxProperties"?r.operators.GT:r.operators.LT;e.fail$data((0,r._)`Object.keys(${A}).length ${s} ${n}`)}};t["default"]=s},6068:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(28);const n={message:({schemaCode:e})=>(0,r.str)`must be multiple of ${e}`,params:({schemaCode:e})=>(0,r._)`{multipleOf: ${e}}`};const s={keyword:"multipleOf",type:"number",schemaType:"number",$data:true,error:n,code(e){const{gen:t,data:A,schemaCode:n,it:s}=e;const o=s.opts.multipleOfPrecision;const i=t.let("res");const a=o?(0,r._)`Math.abs(Math.round(${i}) - ${i}) > 1e-${o}`:(0,r._)`${i} !== parseInt(${i})`;e.fail$data((0,r._)`(${n} === 0 || (${i} = ${A}/${n}, ${a}))`)}};t["default"]=s},6407:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(6516);const n=A(3904);const s=A(28);const o={message:({schemaCode:e})=>(0,s.str)`must match pattern "${e}"`,params:({schemaCode:e})=>(0,s._)`{pattern: ${e}}`};const i={keyword:"pattern",type:"string",schemaType:"string",$data:true,error:o,code(e){const{gen:t,data:A,$data:o,schema:i,schemaCode:a,it:c}=e;const l=c.opts.unicodeRegExp?"u":"";if(o){const{regExp:r}=c.opts.code;const o=r.code==="new RegExp"?(0,s._)`new RegExp`:(0,n.useFunc)(t,r);const i=t.let("valid");t.try(()=>t.assign(i,(0,s._)`${o}(${a}, ${l}).test(${A})`),()=>t.assign(i,false));e.fail$data((0,s._)`!${i}`)}else{const t=(0,r.usePattern)(e,i);e.fail$data((0,s._)`!${t}.test(${A})`)}}};t["default"]=i},8216:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(6516);const n=A(28);const s=A(3904);const o={message:({params:{missingProperty:e}})=>(0,n.str)`must have required property '${e}'`,params:({params:{missingProperty:e}})=>(0,n._)`{missingProperty: ${e}}`};const i={keyword:"required",type:"object",schemaType:"array",$data:true,error:o,code(e){const{gen:t,schema:A,schemaCode:o,data:i,$data:a,it:c}=e;const{opts:l}=c;if(!a&&A.length===0)return;const u=A.length>=l.loopRequired;if(c.allErrors)allErrorsMode();else exitOnErrorMode();if(l.strictRequired){const t=e.parentSchema.properties;const{definedProperties:r}=e.it;for(const e of A){if((t===null||t===void 0?void 0:t[e])===undefined&&!r.has(e)){const t=c.schemaEnv.baseId+c.errSchemaPath;const A=`required property "${e}" is not defined at "${t}" (strictRequired)`;(0,s.checkStrictMode)(c,A,c.opts.strictRequired)}}}function allErrorsMode(){if(u||a){e.block$data(n.nil,loopAllRequired)}else{for(const t of A){(0,r.checkReportMissingProp)(e,t)}}}function exitOnErrorMode(){const n=t.let("missing");if(u||a){const A=t.let("valid",true);e.block$data(A,()=>loopUntilMissing(n,A));e.ok(A)}else{t.if((0,r.checkMissingProp)(e,A,n));(0,r.reportMissingProp)(e,n);t.else()}}function loopAllRequired(){t.forOf("prop",o,A=>{e.setParams({missingProperty:A});t.if((0,r.noPropertyInData)(t,i,A,l.ownProperties),()=>e.error())})}function loopUntilMissing(A,s){e.setParams({missingProperty:A});t.forOf(A,o,()=>{t.assign(s,(0,r.propertyInData)(t,i,A,l.ownProperties));t.if((0,n.not)(s),()=>{e.error();t.break()})},n.nil)}}};t["default"]=i},2108:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});const r=A(733);const n=A(28);const s=A(3904);const o=A(4839);const i={message:({params:{i:e,j:t}})=>(0,n.str)`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>(0,n._)`{i: ${e}, j: ${t}}`};const a={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:true,error:i,code(e){const{gen:t,data:A,$data:i,schema:a,parentSchema:c,schemaCode:l,it:u}=e;if(!i&&!a)return;const d=t.let("valid");const h=c.items?(0,r.getSchemaTypes)(c.items):[];e.block$data(d,validateUniqueItems,(0,n._)`${l} === false`);e.ok(d);function validateUniqueItems(){const r=t.let("i",(0,n._)`${A}.length`);const s=t.let("j");e.setParams({i:r,j:s});t.assign(d,true);t.if((0,n._)`${r} > 1`,()=>(canOptimize()?loopN:loopN2)(r,s))}function canOptimize(){return h.length>0&&!h.some(e=>e==="object"||e==="array")}function loopN(s,o){const i=t.name("item");const a=(0,r.checkDataTypes)(h,i,u.opts.strictNumbers,r.DataType.Wrong);const c=t.const("indices",(0,n._)`{}`);t.for((0,n._)`;${s}--;`,()=>{t.let(i,(0,n._)`${A}[${s}]`);t.if(a,(0,n._)`continue`);if(h.length>1)t.if((0,n._)`typeof ${i} == "string"`,(0,n._)`${i} += "_"`);t.if((0,n._)`typeof ${c}[${i}] == "number"`,()=>{t.assign(o,(0,n._)`${c}[${i}]`);e.error();t.assign(d,false).break()}).code((0,n._)`${c}[${i}] = ${s}`)})}function loopN2(r,i){const a=(0,s.useFunc)(t,o.default);const c=t.name("outer");t.label(c).for((0,n._)`;${r}--;`,()=>t.for((0,n._)`${i} = ${r}; ${i}--;`,()=>t.if((0,n._)`${a}(${A}[${r}], ${A}[${i}])`,()=>{e.error();t.assign(d,false).break(c)})))}}};t["default"]=a},7638:e=>{e.exports=function equal(e,t){if(e===t)return true;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return false;var A,r,n;if(Array.isArray(e)){A=e.length;if(A!=t.length)return false;for(r=A;r--!==0;)if(!equal(e[r],t[r]))return false;return true}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();n=Object.keys(e);A=n.length;if(A!==Object.keys(t).length)return false;for(r=A;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,n[r]))return false;for(r=A;r--!==0;){var s=n[r];if(!equal(e[s],t[s]))return false}return true}return e!==e&&t!==t}},8688:e=>{var t=e.exports=function(e,t,A){if(typeof t=="function"){A=t;t={}}A=t.cb||A;var r=typeof A=="function"?A:A.pre||function(){};var n=A.post||function(){};_traverse(t,r,n,e,"",e)};t.keywords={additionalItems:true,items:true,contains:true,additionalProperties:true,propertyNames:true,not:true,if:true,then:true,else:true};t.arrayKeywords={items:true,allOf:true,anyOf:true,oneOf:true};t.propsKeywords={$defs:true,definitions:true,properties:true,patternProperties:true,dependencies:true};t.skipKeywords={default:true,enum:true,const:true,required:true,maximum:true,minimum:true,exclusiveMaximum:true,exclusiveMinimum:true,multipleOf:true,maxLength:true,minLength:true,pattern:true,format:true,maxItems:true,minItems:true,uniqueItems:true,maxProperties:true,minProperties:true};function _traverse(e,A,r,n,s,o,i,a,c,l){if(n&&typeof n=="object"&&!Array.isArray(n)){A(n,s,o,i,a,c,l);for(var u in n){var d=n[u];if(Array.isArray(d)){if(u in t.arrayKeywords){for(var h=0;h{A(8479)},8479:(e,t,A)=>{var r;var n=A(9278);var s=A(4756);var o=A(8611);var i=A(5692);var a=A(4434);var c=A(2613);var l=A(9023);r=httpOverHttp;r=httpsOverHttp;r=httpOverHttps;r=httpsOverHttps;function httpOverHttp(e){var t=new TunnelingAgent(e);t.request=o.request;return t}function httpsOverHttp(e){var t=new TunnelingAgent(e);t.request=o.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function httpOverHttps(e){var t=new TunnelingAgent(e);t.request=i.request;return t}function httpsOverHttps(e){var t=new TunnelingAgent(e);t.request=i.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function TunnelingAgent(e){var t=this;t.options=e||{};t.proxyOptions=t.options.proxy||{};t.maxSockets=t.options.maxSockets||o.Agent.defaultMaxSockets;t.requests=[];t.sockets=[];t.on("free",function onFree(e,A,r,n){var s=toOptions(A,r,n);for(var o=0,i=t.requests.length;o=this.maxSockets){n.requests.push(s);return}n.createSocket(s,function(t){t.on("free",onFree);t.on("close",onCloseOrRemove);t.on("agentRemove",onCloseOrRemove);e.onSocket(t);function onFree(){n.emit("free",t,s)}function onCloseOrRemove(e){n.removeSocket(t);t.removeListener("free",onFree);t.removeListener("close",onCloseOrRemove);t.removeListener("agentRemove",onCloseOrRemove)}})};TunnelingAgent.prototype.createSocket=function createSocket(e,t){var A=this;var r={};A.sockets.push(r);var n=mergeOptions({},A.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:false,headers:{host:e.host+":"+e.port}});if(e.localAddress){n.localAddress=e.localAddress}if(n.proxyAuth){n.headers=n.headers||{};n.headers["Proxy-Authorization"]="Basic "+new Buffer(n.proxyAuth).toString("base64")}u("making CONNECT request");var s=A.request(n);s.useChunkedEncodingByDefault=false;s.once("response",onResponse);s.once("upgrade",onUpgrade);s.once("connect",onConnect);s.once("error",onError);s.end();function onResponse(e){e.upgrade=true}function onUpgrade(e,t,A){process.nextTick(function(){onConnect(e,t,A)})}function onConnect(n,o,i){s.removeAllListeners();o.removeAllListeners();if(n.statusCode!==200){u("tunneling socket could not be established, statusCode=%d",n.statusCode);o.destroy();var a=new Error("tunneling socket could not be established, "+"statusCode="+n.statusCode);a.code="ECONNRESET";e.request.emit("error",a);A.removeSocket(r);return}if(i.length>0){u("got illegal response body from proxy");o.destroy();var a=new Error("got illegal response body from proxy");a.code="ECONNRESET";e.request.emit("error",a);A.removeSocket(r);return}u("tunneling connection has established");A.sockets[A.sockets.indexOf(r)]=o;return t(o)}function onError(t){s.removeAllListeners();u("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var n=new Error("tunneling socket could not be established, "+"cause="+t.message);n.code="ECONNRESET";e.request.emit("error",n);A.removeSocket(r)}};TunnelingAgent.prototype.removeSocket=function removeSocket(e){var t=this.sockets.indexOf(e);if(t===-1){return}this.sockets.splice(t,1);var A=this.requests.shift();if(A){this.createSocket(A,function(e){A.request.onSocket(e)})}};function createSecureSocket(e,t){var A=this;TunnelingAgent.prototype.createSocket.call(A,e,function(r){var n=e.request.getHeader("host");var o=mergeOptions({},A.options,{socket:r,servername:n?n.replace(/:.*$/,""):e.host});var i=s.connect(0,o);A.sockets[A.sockets.indexOf(r)]=i;t(i)})}function toOptions(e,t,A){if(typeof e==="string"){return{host:e,port:t,localAddress:A}}return e}function mergeOptions(e){for(var t=1,A=arguments.length;t{var r;const n=A(7140);const s=A(5030);const o=A(2921);const i=A(9390);const a=A(4586);const c=A(3747);const l=A(6920);const u=A(9089);const d=A(9934);const h=A(8529);const{InvalidArgumentError:g}=d;const f=A(7998);const E=A(951);const Q=A(8570);const C=A(8444);const I=A(3927);const B=A(9654);const p=A(7877);const{getGlobalDispatcher:m,setGlobalDispatcher:y}=A(4498);const w=A(4606);const b=A(3669);const k=A(7327);Object.assign(s.prototype,f);r=s;r=n;r=o;r=i;r=a;r=c;r=l;r=u;r=p;r=w;r=b;r=k;r={redirect:A(910),retry:A(2503),dump:A(7407),dns:A(6814)};r=E;r=d;r={parseHeaders:h.parseHeaders,headerNameToString:h.headerNameToString};function makeDispatcher(e){return(t,A,r)=>{if(typeof A==="function"){r=A;A=null}if(!t||typeof t!=="string"&&typeof t!=="object"&&!(t instanceof URL)){throw new g("invalid url")}if(A!=null&&typeof A!=="object"){throw new g("invalid opts")}if(A&&A.path!=null){if(typeof A.path!=="string"){throw new g("invalid opts.path")}let e=A.path;if(!A.path.startsWith("/")){e=`/${e}`}t=new URL(h.parseOrigin(t).origin+e)}else{if(!A){A=typeof t==="object"?t:{}}t=h.parseURL(t)}const{agent:n,dispatcher:s=m()}=A;if(n){throw new g("unsupported opts.agent. Did you mean opts.client?")}return e.call(s,{...A,origin:t.origin,path:t.search?`${t.pathname}${t.search}`:t.pathname,method:A.method||(A.body?"PUT":"GET")},r)}}r=y;r=m;const D=A(8263).fetch;r=async function fetch(e,t=undefined){try{return await D(e,t)}catch(e){if(e&&typeof e==="object"){Error.captureStackTrace(e)}throw e}};A(3257).Headers;A(1328).Response;A(6398).Request;A(7653).FormData;r=globalThis.File??A(4573).File;A(5660).FileReader;const{setGlobalOrigin:R,getGlobalOrigin:S}=A(8712);r=R;r=S;const{CacheStorage:F}=A(2118);const{kConstruct:N}=A(8404);r=new F(N);const{deleteCookie:v,getCookies:M,getSetCookies:U,setCookie:T}=A(6748);r=v;r=M;r=U;r=T;const{parseMIMEType:L,serializeAMimeType:x}=A(5192);r=L;r=x;const{CloseEvent:H,ErrorEvent:G,MessageEvent:Y}=A(659);A(9708).WebSocket;r=H;r=G;r=Y;r=makeDispatcher(f.request);r=makeDispatcher(f.stream);r=makeDispatcher(f.pipeline);r=makeDispatcher(f.connect);r=makeDispatcher(f.upgrade);r=Q;r=I;r=C;r=B;const{EventSource:P}=A(9207);r=P},2917:(e,t,A)=>{const{addAbortListener:r}=A(8529);const{RequestAbortedError:n}=A(9934);const s=Symbol("kListener");const o=Symbol("kSignal");function abort(e){if(e.abort){e.abort(e[o]?.reason)}else{e.reason=e[o]?.reason??new n}removeSignal(e)}function addSignal(e,t){e.reason=null;e[o]=null;e[s]=null;if(!t){return}if(t.aborted){abort(e);return}e[o]=t;e[s]=()=>{abort(e)};r(e[o],e[s])}function removeSignal(e){if(!e[o]){return}if("removeEventListener"in e[o]){e[o].removeEventListener("abort",e[s])}else{e[o].removeListener("abort",e[s])}e[o]=null;e[s]=null}e.exports={addSignal:addSignal,removeSignal:removeSignal}},4505:(e,t,A)=>{const r=A(4589);const{AsyncResource:n}=A(6698);const{InvalidArgumentError:s,SocketError:o}=A(9934);const i=A(8529);const{addSignal:a,removeSignal:c}=A(2917);class ConnectHandler extends n{constructor(e,t){if(!e||typeof e!=="object"){throw new s("invalid opts")}if(typeof t!=="function"){throw new s("invalid callback")}const{signal:A,opaque:r,responseHeaders:n}=e;if(A&&typeof A.on!=="function"&&typeof A.addEventListener!=="function"){throw new s("signal must be an EventEmitter or EventTarget")}super("UNDICI_CONNECT");this.opaque=r||null;this.responseHeaders=n||null;this.callback=t;this.abort=null;a(this,A)}onConnect(e,t){if(this.reason){e(this.reason);return}r(this.callback);this.abort=e;this.context=t}onHeaders(){throw new o("bad connect",null)}onUpgrade(e,t,A){const{callback:r,opaque:n,context:s}=this;c(this);this.callback=null;let o=t;if(o!=null){o=this.responseHeaders==="raw"?i.parseRawHeaders(t):i.parseHeaders(t)}this.runInAsyncScope(r,null,null,{statusCode:e,headers:o,socket:A,opaque:n,context:s})}onError(e){const{callback:t,opaque:A}=this;c(this);if(t){this.callback=null;queueMicrotask(()=>{this.runInAsyncScope(t,null,e,{opaque:A})})}}}function connect(e,t){if(t===undefined){return new Promise((t,A)=>{connect.call(this,e,(e,r)=>e?A(e):t(r))})}try{const A=new ConnectHandler(e,t);this.dispatch({...e,method:"CONNECT"},A)}catch(A){if(typeof t!=="function"){throw A}const r=e?.opaque;queueMicrotask(()=>t(A,{opaque:r}))}}e.exports=connect},7329:(e,t,A)=>{const{Readable:r,Duplex:n,PassThrough:s}=A(7075);const{InvalidArgumentError:o,InvalidReturnValueError:i,RequestAbortedError:a}=A(9934);const c=A(8529);const{AsyncResource:l}=A(6698);const{addSignal:u,removeSignal:d}=A(2917);const h=A(4589);const g=Symbol("resume");class PipelineRequest extends r{constructor(){super({autoDestroy:true});this[g]=null}_read(){const{[g]:e}=this;if(e){this[g]=null;e()}}_destroy(e,t){this._read();t(e)}}class PipelineResponse extends r{constructor(e){super({autoDestroy:true});this[g]=e}_read(){this[g]()}_destroy(e,t){if(!e&&!this._readableState.endEmitted){e=new a}t(e)}}class PipelineHandler extends l{constructor(e,t){if(!e||typeof e!=="object"){throw new o("invalid opts")}if(typeof t!=="function"){throw new o("invalid handler")}const{signal:A,method:r,opaque:s,onInfo:i,responseHeaders:l}=e;if(A&&typeof A.on!=="function"&&typeof A.addEventListener!=="function"){throw new o("signal must be an EventEmitter or EventTarget")}if(r==="CONNECT"){throw new o("invalid method")}if(i&&typeof i!=="function"){throw new o("invalid onInfo callback")}super("UNDICI_PIPELINE");this.opaque=s||null;this.responseHeaders=l||null;this.handler=t;this.abort=null;this.context=null;this.onInfo=i||null;this.req=(new PipelineRequest).on("error",c.nop);this.ret=new n({readableObjectMode:e.objectMode,autoDestroy:true,read:()=>{const{body:e}=this;if(e?.resume){e.resume()}},write:(e,t,A)=>{const{req:r}=this;if(r.push(e,t)||r._readableState.destroyed){A()}else{r[g]=A}},destroy:(e,t)=>{const{body:A,req:r,res:n,ret:s,abort:o}=this;if(!e&&!s._readableState.endEmitted){e=new a}if(o&&e){o()}c.destroy(A,e);c.destroy(r,e);c.destroy(n,e);d(this);t(e)}}).on("prefinish",()=>{const{req:e}=this;e.push(null)});this.res=null;u(this,A)}onConnect(e,t){const{ret:A,res:r}=this;if(this.reason){e(this.reason);return}h(!r,"pipeline cannot be retried");h(!A.destroyed);this.abort=e;this.context=t}onHeaders(e,t,A){const{opaque:r,handler:n,context:s}=this;if(e<200){if(this.onInfo){const A=this.responseHeaders==="raw"?c.parseRawHeaders(t):c.parseHeaders(t);this.onInfo({statusCode:e,headers:A})}return}this.res=new PipelineResponse(A);let o;try{this.handler=null;const A=this.responseHeaders==="raw"?c.parseRawHeaders(t):c.parseHeaders(t);o=this.runInAsyncScope(n,null,{statusCode:e,headers:A,opaque:r,body:this.res,context:s})}catch(e){this.res.on("error",c.nop);throw e}if(!o||typeof o.on!=="function"){throw new i("expected Readable")}o.on("data",e=>{const{ret:t,body:A}=this;if(!t.push(e)&&A.pause){A.pause()}}).on("error",e=>{const{ret:t}=this;c.destroy(t,e)}).on("end",()=>{const{ret:e}=this;e.push(null)}).on("close",()=>{const{ret:e}=this;if(!e._readableState.ended){c.destroy(e,new a)}});this.body=o}onData(e){const{res:t}=this;return t.push(e)}onComplete(e){const{res:t}=this;t.push(null)}onError(e){const{ret:t}=this;this.handler=null;c.destroy(t,e)}}function pipeline(e,t){try{const A=new PipelineHandler(e,t);this.dispatch({...e,body:A.req},A);return A.ret}catch(e){return(new s).destroy(e)}}e.exports=pipeline},3850:(e,t,A)=>{const r=A(4589);const{Readable:n}=A(2036);const{InvalidArgumentError:s,RequestAbortedError:o}=A(9934);const i=A(8529);const{getResolveErrorBodyCallback:a}=A(8352);const{AsyncResource:c}=A(6698);class RequestHandler extends c{constructor(e,t){if(!e||typeof e!=="object"){throw new s("invalid opts")}const{signal:A,method:r,opaque:n,body:a,onInfo:c,responseHeaders:l,throwOnError:u,highWaterMark:d}=e;try{if(typeof t!=="function"){throw new s("invalid callback")}if(d&&(typeof d!=="number"||d<0)){throw new s("invalid highWaterMark")}if(A&&typeof A.on!=="function"&&typeof A.addEventListener!=="function"){throw new s("signal must be an EventEmitter or EventTarget")}if(r==="CONNECT"){throw new s("invalid method")}if(c&&typeof c!=="function"){throw new s("invalid onInfo callback")}super("UNDICI_REQUEST")}catch(e){if(i.isStream(a)){i.destroy(a.on("error",i.nop),e)}throw e}this.method=r;this.responseHeaders=l||null;this.opaque=n||null;this.callback=t;this.res=null;this.abort=null;this.body=a;this.trailers={};this.context=null;this.onInfo=c||null;this.throwOnError=u;this.highWaterMark=d;this.signal=A;this.reason=null;this.removeAbortListener=null;if(i.isStream(a)){a.on("error",e=>{this.onError(e)})}if(this.signal){if(this.signal.aborted){this.reason=this.signal.reason??new o}else{this.removeAbortListener=i.addAbortListener(this.signal,()=>{this.reason=this.signal.reason??new o;if(this.res){i.destroy(this.res.on("error",i.nop),this.reason)}else if(this.abort){this.abort(this.reason)}if(this.removeAbortListener){this.res?.off("close",this.removeAbortListener);this.removeAbortListener();this.removeAbortListener=null}})}}}onConnect(e,t){if(this.reason){e(this.reason);return}r(this.callback);this.abort=e;this.context=t}onHeaders(e,t,A,r){const{callback:s,opaque:o,abort:c,context:l,responseHeaders:u,highWaterMark:d}=this;const h=u==="raw"?i.parseRawHeaders(t):i.parseHeaders(t);if(e<200){if(this.onInfo){this.onInfo({statusCode:e,headers:h})}return}const g=u==="raw"?i.parseHeaders(t):h;const f=g["content-type"];const E=g["content-length"];const Q=new n({resume:A,abort:c,contentType:f,contentLength:this.method!=="HEAD"&&E?Number(E):null,highWaterMark:d});if(this.removeAbortListener){Q.on("close",this.removeAbortListener)}this.callback=null;this.res=Q;if(s!==null){if(this.throwOnError&&e>=400){this.runInAsyncScope(a,null,{callback:s,body:Q,contentType:f,statusCode:e,statusMessage:r,headers:h})}else{this.runInAsyncScope(s,null,null,{statusCode:e,headers:h,trailers:this.trailers,opaque:o,body:Q,context:l})}}}onData(e){return this.res.push(e)}onComplete(e){i.parseHeaders(e,this.trailers);this.res.push(null)}onError(e){const{res:t,callback:A,body:r,opaque:n}=this;if(A){this.callback=null;queueMicrotask(()=>{this.runInAsyncScope(A,null,e,{opaque:n})})}if(t){this.res=null;queueMicrotask(()=>{i.destroy(t,e)})}if(r){this.body=null;i.destroy(r,e)}if(this.removeAbortListener){t?.off("close",this.removeAbortListener);this.removeAbortListener();this.removeAbortListener=null}}}function request(e,t){if(t===undefined){return new Promise((t,A)=>{request.call(this,e,(e,r)=>e?A(e):t(r))})}try{this.dispatch(e,new RequestHandler(e,t))}catch(A){if(typeof t!=="function"){throw A}const r=e?.opaque;queueMicrotask(()=>t(A,{opaque:r}))}}e.exports=request;e.exports.RequestHandler=RequestHandler},2159:(e,t,A)=>{const r=A(4589);const{finished:n,PassThrough:s}=A(7075);const{InvalidArgumentError:o,InvalidReturnValueError:i}=A(9934);const a=A(8529);const{getResolveErrorBodyCallback:c}=A(8352);const{AsyncResource:l}=A(6698);const{addSignal:u,removeSignal:d}=A(2917);class StreamHandler extends l{constructor(e,t,A){if(!e||typeof e!=="object"){throw new o("invalid opts")}const{signal:r,method:n,opaque:s,body:i,onInfo:c,responseHeaders:l,throwOnError:d}=e;try{if(typeof A!=="function"){throw new o("invalid callback")}if(typeof t!=="function"){throw new o("invalid factory")}if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function"){throw new o("signal must be an EventEmitter or EventTarget")}if(n==="CONNECT"){throw new o("invalid method")}if(c&&typeof c!=="function"){throw new o("invalid onInfo callback")}super("UNDICI_STREAM")}catch(e){if(a.isStream(i)){a.destroy(i.on("error",a.nop),e)}throw e}this.responseHeaders=l||null;this.opaque=s||null;this.factory=t;this.callback=A;this.res=null;this.abort=null;this.context=null;this.trailers=null;this.body=i;this.onInfo=c||null;this.throwOnError=d||false;if(a.isStream(i)){i.on("error",e=>{this.onError(e)})}u(this,r)}onConnect(e,t){if(this.reason){e(this.reason);return}r(this.callback);this.abort=e;this.context=t}onHeaders(e,t,A,r){const{factory:o,opaque:l,context:u,callback:d,responseHeaders:h}=this;const g=h==="raw"?a.parseRawHeaders(t):a.parseHeaders(t);if(e<200){if(this.onInfo){this.onInfo({statusCode:e,headers:g})}return}this.factory=null;let f;if(this.throwOnError&&e>=400){const A=h==="raw"?a.parseHeaders(t):g;const n=A["content-type"];f=new s;this.callback=null;this.runInAsyncScope(c,null,{callback:d,body:f,contentType:n,statusCode:e,statusMessage:r,headers:g})}else{if(o===null){return}f=this.runInAsyncScope(o,null,{statusCode:e,headers:g,opaque:l,context:u});if(!f||typeof f.write!=="function"||typeof f.end!=="function"||typeof f.on!=="function"){throw new i("expected Writable")}n(f,{readable:false},e=>{const{callback:t,res:A,opaque:r,trailers:n,abort:s}=this;this.res=null;if(e||!A.readable){a.destroy(A,e)}this.callback=null;this.runInAsyncScope(t,null,e||null,{opaque:r,trailers:n});if(e){s()}})}f.on("drain",A);this.res=f;const E=f.writableNeedDrain!==undefined?f.writableNeedDrain:f._writableState?.needDrain;return E!==true}onData(e){const{res:t}=this;return t?t.write(e):true}onComplete(e){const{res:t}=this;d(this);if(!t){return}this.trailers=a.parseHeaders(e);t.end()}onError(e){const{res:t,callback:A,opaque:r,body:n}=this;d(this);this.factory=null;if(t){this.res=null;a.destroy(t,e)}else if(A){this.callback=null;queueMicrotask(()=>{this.runInAsyncScope(A,null,e,{opaque:r})})}if(n){this.body=null;a.destroy(n,e)}}}function stream(e,t,A){if(A===undefined){return new Promise((A,r)=>{stream.call(this,e,t,(e,t)=>e?r(e):A(t))})}try{this.dispatch(e,new StreamHandler(e,t,A))}catch(t){if(typeof A!=="function"){throw t}const r=e?.opaque;queueMicrotask(()=>A(t,{opaque:r}))}}e.exports=stream},3827:(e,t,A)=>{const{InvalidArgumentError:r,SocketError:n}=A(9934);const{AsyncResource:s}=A(6698);const o=A(8529);const{addSignal:i,removeSignal:a}=A(2917);const c=A(4589);class UpgradeHandler extends s{constructor(e,t){if(!e||typeof e!=="object"){throw new r("invalid opts")}if(typeof t!=="function"){throw new r("invalid callback")}const{signal:A,opaque:n,responseHeaders:s}=e;if(A&&typeof A.on!=="function"&&typeof A.addEventListener!=="function"){throw new r("signal must be an EventEmitter or EventTarget")}super("UNDICI_UPGRADE");this.responseHeaders=s||null;this.opaque=n||null;this.callback=t;this.abort=null;this.context=null;i(this,A)}onConnect(e,t){if(this.reason){e(this.reason);return}c(this.callback);this.abort=e;this.context=null}onHeaders(){throw new n("bad upgrade",null)}onUpgrade(e,t,A){c(e===101);const{callback:r,opaque:n,context:s}=this;a(this);this.callback=null;const i=this.responseHeaders==="raw"?o.parseRawHeaders(t):o.parseHeaders(t);this.runInAsyncScope(r,null,null,{headers:i,socket:A,opaque:n,context:s})}onError(e){const{callback:t,opaque:A}=this;a(this);if(t){this.callback=null;queueMicrotask(()=>{this.runInAsyncScope(t,null,e,{opaque:A})})}}}function upgrade(e,t){if(t===undefined){return new Promise((t,A)=>{upgrade.call(this,e,(e,r)=>e?A(e):t(r))})}try{const A=new UpgradeHandler(e,t);this.dispatch({...e,method:e.method||"GET",upgrade:e.protocol||"Websocket"},A)}catch(A){if(typeof t!=="function"){throw A}const r=e?.opaque;queueMicrotask(()=>t(A,{opaque:r}))}}e.exports=upgrade},7998:(e,t,A)=>{e.exports.request=A(3850);e.exports.stream=A(2159);e.exports.pipeline=A(7329);e.exports.upgrade=A(3827);e.exports.connect=A(4505)},2036:(e,t,A)=>{const r=A(4589);const{Readable:n}=A(7075);const{RequestAbortedError:s,NotSupportedError:o,InvalidArgumentError:i,AbortError:a}=A(9934);const c=A(8529);const{ReadableStreamFrom:l}=A(8529);const u=Symbol("kConsume");const d=Symbol("kReading");const h=Symbol("kBody");const g=Symbol("kAbort");const f=Symbol("kContentType");const E=Symbol("kContentLength");const noop=()=>{};class BodyReadable extends n{constructor({resume:e,abort:t,contentType:A="",contentLength:r,highWaterMark:n=64*1024}){super({autoDestroy:true,read:e,highWaterMark:n});this._readableState.dataEmitted=false;this[g]=t;this[u]=null;this[h]=null;this[f]=A;this[E]=r;this[d]=false}destroy(e){if(!e&&!this._readableState.endEmitted){e=new s}if(e){this[g]()}return super.destroy(e)}_destroy(e,t){if(!this[d]){setImmediate(()=>{t(e)})}else{t(e)}}on(e,...t){if(e==="data"||e==="readable"){this[d]=true}return super.on(e,...t)}addListener(e,...t){return this.on(e,...t)}off(e,...t){const A=super.off(e,...t);if(e==="data"||e==="readable"){this[d]=this.listenerCount("data")>0||this.listenerCount("readable")>0}return A}removeListener(e,...t){return this.off(e,...t)}push(e){if(this[u]&&e!==null){consumePush(this[u],e);return this[d]?super.push(e):true}return super.push(e)}async text(){return consume(this,"text")}async json(){return consume(this,"json")}async blob(){return consume(this,"blob")}async bytes(){return consume(this,"bytes")}async arrayBuffer(){return consume(this,"arrayBuffer")}async formData(){throw new o}get bodyUsed(){return c.isDisturbed(this)}get body(){if(!this[h]){this[h]=l(this);if(this[u]){this[h].getReader();r(this[h].locked)}}return this[h]}async dump(e){let t=Number.isFinite(e?.limit)?e.limit:128*1024;const A=e?.signal;if(A!=null&&(typeof A!=="object"||!("aborted"in A))){throw new i("signal must be an AbortSignal")}A?.throwIfAborted();if(this._readableState.closeEmitted){return null}return await new Promise((e,r)=>{if(this[E]>t){this.destroy(new a)}const onAbort=()=>{this.destroy(A.reason??new a)};A?.addEventListener("abort",onAbort);this.on("close",function(){A?.removeEventListener("abort",onAbort);if(A?.aborted){r(A.reason??new a)}else{e(null)}}).on("error",noop).on("data",function(e){t-=e.length;if(t<=0){this.destroy()}}).resume()})}}function isLocked(e){return e[h]&&e[h].locked===true||e[u]}function isUnusable(e){return c.isDisturbed(e)||isLocked(e)}async function consume(e,t){r(!e[u]);return new Promise((A,r)=>{if(isUnusable(e)){const t=e._readableState;if(t.destroyed&&t.closeEmitted===false){e.on("error",e=>{r(e)}).on("close",()=>{r(new TypeError("unusable"))})}else{r(t.errored??new TypeError("unusable"))}}else{queueMicrotask(()=>{e[u]={type:t,stream:e,resolve:A,reject:r,length:0,body:[]};e.on("error",function(e){consumeFinish(this[u],e)}).on("close",function(){if(this[u].body!==null){consumeFinish(this[u],new s)}});consumeStart(e[u])})}})}function consumeStart(e){if(e.body===null){return}const{_readableState:t}=e.stream;if(t.bufferIndex){const A=t.bufferIndex;const r=t.buffer.length;for(let n=A;n2&&A[0]===239&&A[1]===187&&A[2]===191?3:0;return A.utf8Slice(n,r)}function chunksConcat(e,t){if(e.length===0||t===0){return new Uint8Array(0)}if(e.length===1){return new Uint8Array(e[0])}const A=new Uint8Array(Buffer.allocUnsafeSlow(t).buffer);let r=0;for(let t=0;t{const r=A(4589);const{ResponseStatusCodeError:n}=A(9934);const{chunksDecode:s}=A(2036);const o=128*1024;async function getResolveErrorBodyCallback({callback:e,body:t,contentType:A,statusCode:i,statusMessage:a,headers:c}){r(t);let l=[];let u=0;try{for await(const e of t){l.push(e);u+=e.length;if(u>o){l=[];u=0;break}}}catch{l=[];u=0}const d=`Response status code ${i}${a?`: ${a}`:""}`;if(i===204||!A||!u){queueMicrotask(()=>e(new n(d,i,c)));return}const h=Error.stackTraceLimit;Error.stackTraceLimit=0;let g;try{if(isContentTypeApplicationJson(A)){g=JSON.parse(s(l,u))}else if(isContentTypeText(A)){g=s(l,u)}}catch{}finally{Error.stackTraceLimit=h}queueMicrotask(()=>e(new n(d,i,c,g)))}const isContentTypeApplicationJson=e=>e.length>15&&e[11]==="/"&&e[0]==="a"&&e[1]==="p"&&e[2]==="p"&&e[3]==="l"&&e[4]==="i"&&e[5]==="c"&&e[6]==="a"&&e[7]==="t"&&e[8]==="i"&&e[9]==="o"&&e[10]==="n"&&e[12]==="j"&&e[13]==="s"&&e[14]==="o"&&e[15]==="n";const isContentTypeText=e=>e.length>4&&e[4]==="/"&&e[0]==="t"&&e[1]==="e"&&e[2]==="x"&&e[3]==="t";e.exports={getResolveErrorBodyCallback:getResolveErrorBodyCallback,isContentTypeApplicationJson:isContentTypeApplicationJson,isContentTypeText:isContentTypeText}},951:(e,t,A)=>{const r=A(7030);const n=A(4589);const s=A(8529);const{InvalidArgumentError:o,ConnectTimeoutError:i}=A(9934);const a=A(4486);function noop(){}let c;let l;if(global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)){l=class WeakSessionCache{constructor(e){this._maxCachedSessions=e;this._sessionCache=new Map;this._sessionRegistry=new global.FinalizationRegistry(e=>{if(this._sessionCache.size=this._maxCachedSessions){const{value:e}=this._sessionCache.keys().next();this._sessionCache.delete(e)}this._sessionCache.set(e,t)}}}function buildConnector({allowH2:e,maxCachedSessions:t,socketPath:i,timeout:a,session:d,...h}){if(t!=null&&(!Number.isInteger(t)||t<0)){throw new o("maxCachedSessions must be a positive integer or zero")}const g={path:i,...h};const f=new l(t==null?100:t);a=a==null?1e4:a;e=e!=null?e:false;return function connect({hostname:t,host:o,protocol:i,port:l,servername:h,localAddress:E,httpSocket:Q},C){let I;if(i==="https:"){if(!c){c=A(1692)}h=h||g.servername||s.getServerName(o)||null;const r=h||t;n(r);const i=d||f.get(r)||null;l=l||443;I=c.connect({highWaterMark:16384,...g,servername:h,session:i,localAddress:E,ALPNProtocols:e?["http/1.1","h2"]:["http/1.1"],socket:Q,port:l,host:t});I.on("session",function(e){f.set(r,e)})}else{n(!Q,"httpSocket can only be sent on TLS update");l=l||80;I=r.connect({highWaterMark:64*1024,...g,localAddress:E,port:l,host:t})}if(g.keepAlive==null||g.keepAlive){const e=g.keepAliveInitialDelay===undefined?6e4:g.keepAliveInitialDelay;I.setKeepAlive(true,e)}const B=u(new WeakRef(I),{timeout:a,hostname:t,port:l});I.setNoDelay(true).once(i==="https:"?"secureConnect":"connect",function(){queueMicrotask(B);if(C){const e=C;C=null;e(null,this)}}).on("error",function(e){queueMicrotask(B);if(C){const t=C;C=null;t(e)}});return I}}const u=process.platform==="win32"?(e,t)=>{if(!t.timeout){return noop}let A=null;let r=null;const n=a.setFastTimeout(()=>{A=setImmediate(()=>{r=setImmediate(()=>onConnectTimeout(e.deref(),t))})},t.timeout);return()=>{a.clearFastTimeout(n);clearImmediate(A);clearImmediate(r)}}:(e,t)=>{if(!t.timeout){return noop}let A=null;const r=a.setFastTimeout(()=>{A=setImmediate(()=>{onConnectTimeout(e.deref(),t)})},t.timeout);return()=>{a.clearFastTimeout(r);clearImmediate(A)}};function onConnectTimeout(e,t){if(e==null){return}let A="Connect Timeout Error";if(Array.isArray(e.autoSelectFamilyAttemptedAddresses)){A+=` (attempted addresses: ${e.autoSelectFamilyAttemptedAddresses.join(", ")},`}else{A+=` (attempted address: ${t.hostname}:${t.port},`}A+=` timeout: ${t.timeout}ms)`;s.destroy(e,new i(A))}e.exports=buildConnector},4448:e=>{const t={};const A=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"];for(let e=0;e{const r=A(3053);const n=A(7975);const s=n.debuglog("undici");const o=n.debuglog("fetch");const i=n.debuglog("websocket");let a=false;const c={beforeConnect:r.channel("undici:client:beforeConnect"),connected:r.channel("undici:client:connected"),connectError:r.channel("undici:client:connectError"),sendHeaders:r.channel("undici:client:sendHeaders"),create:r.channel("undici:request:create"),bodySent:r.channel("undici:request:bodySent"),headers:r.channel("undici:request:headers"),trailers:r.channel("undici:request:trailers"),error:r.channel("undici:request:error"),open:r.channel("undici:websocket:open"),close:r.channel("undici:websocket:close"),socketError:r.channel("undici:websocket:socket_error"),ping:r.channel("undici:websocket:ping"),pong:r.channel("undici:websocket:pong")};if(s.enabled||o.enabled){const e=o.enabled?o:s;r.channel("undici:client:beforeConnect").subscribe(t=>{const{connectParams:{version:A,protocol:r,port:n,host:s}}=t;e("connecting to %s using %s%s",`${s}${n?`:${n}`:""}`,r,A)});r.channel("undici:client:connected").subscribe(t=>{const{connectParams:{version:A,protocol:r,port:n,host:s}}=t;e("connected to %s using %s%s",`${s}${n?`:${n}`:""}`,r,A)});r.channel("undici:client:connectError").subscribe(t=>{const{connectParams:{version:A,protocol:r,port:n,host:s},error:o}=t;e("connection to %s using %s%s errored - %s",`${s}${n?`:${n}`:""}`,r,A,o.message)});r.channel("undici:client:sendHeaders").subscribe(t=>{const{request:{method:A,path:r,origin:n}}=t;e("sending request to %s %s/%s",A,n,r)});r.channel("undici:request:headers").subscribe(t=>{const{request:{method:A,path:r,origin:n},response:{statusCode:s}}=t;e("received response to %s %s/%s - HTTP %d",A,n,r,s)});r.channel("undici:request:trailers").subscribe(t=>{const{request:{method:A,path:r,origin:n}}=t;e("trailers received from %s %s/%s",A,n,r)});r.channel("undici:request:error").subscribe(t=>{const{request:{method:A,path:r,origin:n},error:s}=t;e("request to %s %s/%s errored - %s",A,n,r,s.message)});a=true}if(i.enabled){if(!a){const e=s.enabled?s:i;r.channel("undici:client:beforeConnect").subscribe(t=>{const{connectParams:{version:A,protocol:r,port:n,host:s}}=t;e("connecting to %s%s using %s%s",s,n?`:${n}`:"",r,A)});r.channel("undici:client:connected").subscribe(t=>{const{connectParams:{version:A,protocol:r,port:n,host:s}}=t;e("connected to %s%s using %s%s",s,n?`:${n}`:"",r,A)});r.channel("undici:client:connectError").subscribe(t=>{const{connectParams:{version:A,protocol:r,port:n,host:s},error:o}=t;e("connection to %s%s using %s%s errored - %s",s,n?`:${n}`:"",r,A,o.message)});r.channel("undici:client:sendHeaders").subscribe(t=>{const{request:{method:A,path:r,origin:n}}=t;e("sending request to %s %s/%s",A,n,r)})}r.channel("undici:websocket:open").subscribe(e=>{const{address:{address:t,port:A}}=e;i("connection opened %s%s",t,A?`:${A}`:"")});r.channel("undici:websocket:close").subscribe(e=>{const{websocket:t,code:A,reason:r}=e;i("closed connection to %s - %s %s",t.url,A,r)});r.channel("undici:websocket:socket_error").subscribe(e=>{i("connection errored - %s",e.message)});r.channel("undici:websocket:ping").subscribe(e=>{i("ping received")});r.channel("undici:websocket:pong").subscribe(e=>{i("pong received")})}e.exports={channels:c}},9934:e=>{const t=Symbol.for("undici.error.UND_ERR");class UndiciError extends Error{constructor(e){super(e);this.name="UndiciError";this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&e[t]===true}[t]=true}const A=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT");class ConnectTimeoutError extends UndiciError{constructor(e){super(e);this.name="ConnectTimeoutError";this.message=e||"Connect Timeout Error";this.code="UND_ERR_CONNECT_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[A]===true}[A]=true}const r=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT");class HeadersTimeoutError extends UndiciError{constructor(e){super(e);this.name="HeadersTimeoutError";this.message=e||"Headers Timeout Error";this.code="UND_ERR_HEADERS_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[r]===true}[r]=true}const n=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW");class HeadersOverflowError extends UndiciError{constructor(e){super(e);this.name="HeadersOverflowError";this.message=e||"Headers Overflow Error";this.code="UND_ERR_HEADERS_OVERFLOW"}static[Symbol.hasInstance](e){return e&&e[n]===true}[n]=true}const s=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT");class BodyTimeoutError extends UndiciError{constructor(e){super(e);this.name="BodyTimeoutError";this.message=e||"Body Timeout Error";this.code="UND_ERR_BODY_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[s]===true}[s]=true}const o=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE");class ResponseStatusCodeError extends UndiciError{constructor(e,t,A,r){super(e);this.name="ResponseStatusCodeError";this.message=e||"Response Status Code Error";this.code="UND_ERR_RESPONSE_STATUS_CODE";this.body=r;this.status=t;this.statusCode=t;this.headers=A}static[Symbol.hasInstance](e){return e&&e[o]===true}[o]=true}const i=Symbol.for("undici.error.UND_ERR_INVALID_ARG");class InvalidArgumentError extends UndiciError{constructor(e){super(e);this.name="InvalidArgumentError";this.message=e||"Invalid Argument Error";this.code="UND_ERR_INVALID_ARG"}static[Symbol.hasInstance](e){return e&&e[i]===true}[i]=true}const a=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE");class InvalidReturnValueError extends UndiciError{constructor(e){super(e);this.name="InvalidReturnValueError";this.message=e||"Invalid Return Value Error";this.code="UND_ERR_INVALID_RETURN_VALUE"}static[Symbol.hasInstance](e){return e&&e[a]===true}[a]=true}const c=Symbol.for("undici.error.UND_ERR_ABORT");class AbortError extends UndiciError{constructor(e){super(e);this.name="AbortError";this.message=e||"The operation was aborted";this.code="UND_ERR_ABORT"}static[Symbol.hasInstance](e){return e&&e[c]===true}[c]=true}const l=Symbol.for("undici.error.UND_ERR_ABORTED");class RequestAbortedError extends AbortError{constructor(e){super(e);this.name="AbortError";this.message=e||"Request aborted";this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](e){return e&&e[l]===true}[l]=true}const u=Symbol.for("undici.error.UND_ERR_INFO");class InformationalError extends UndiciError{constructor(e){super(e);this.name="InformationalError";this.message=e||"Request information";this.code="UND_ERR_INFO"}static[Symbol.hasInstance](e){return e&&e[u]===true}[u]=true}const d=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH");class RequestContentLengthMismatchError extends UndiciError{constructor(e){super(e);this.name="RequestContentLengthMismatchError";this.message=e||"Request body length does not match content-length header";this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&e[d]===true}[d]=true}const h=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH");class ResponseContentLengthMismatchError extends UndiciError{constructor(e){super(e);this.name="ResponseContentLengthMismatchError";this.message=e||"Response body length does not match content-length header";this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&e[h]===true}[h]=true}const g=Symbol.for("undici.error.UND_ERR_DESTROYED");class ClientDestroyedError extends UndiciError{constructor(e){super(e);this.name="ClientDestroyedError";this.message=e||"The client is destroyed";this.code="UND_ERR_DESTROYED"}static[Symbol.hasInstance](e){return e&&e[g]===true}[g]=true}const f=Symbol.for("undici.error.UND_ERR_CLOSED");class ClientClosedError extends UndiciError{constructor(e){super(e);this.name="ClientClosedError";this.message=e||"The client is closed";this.code="UND_ERR_CLOSED"}static[Symbol.hasInstance](e){return e&&e[f]===true}[f]=true}const E=Symbol.for("undici.error.UND_ERR_SOCKET");class SocketError extends UndiciError{constructor(e,t){super(e);this.name="SocketError";this.message=e||"Socket error";this.code="UND_ERR_SOCKET";this.socket=t}static[Symbol.hasInstance](e){return e&&e[E]===true}[E]=true}const Q=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED");class NotSupportedError extends UndiciError{constructor(e){super(e);this.name="NotSupportedError";this.message=e||"Not supported error";this.code="UND_ERR_NOT_SUPPORTED"}static[Symbol.hasInstance](e){return e&&e[Q]===true}[Q]=true}const C=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM");class BalancedPoolMissingUpstreamError extends UndiciError{constructor(e){super(e);this.name="MissingUpstreamError";this.message=e||"No upstream has been added to the BalancedPool";this.code="UND_ERR_BPL_MISSING_UPSTREAM"}static[Symbol.hasInstance](e){return e&&e[C]===true}[C]=true}const I=Symbol.for("undici.error.UND_ERR_HTTP_PARSER");class HTTPParserError extends Error{constructor(e,t,A){super(e);this.name="HTTPParserError";this.code=t?`HPE_${t}`:undefined;this.data=A?A.toString():undefined}static[Symbol.hasInstance](e){return e&&e[I]===true}[I]=true}const B=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE");class ResponseExceededMaxSizeError extends UndiciError{constructor(e){super(e);this.name="ResponseExceededMaxSizeError";this.message=e||"Response content exceeded max size";this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}static[Symbol.hasInstance](e){return e&&e[B]===true}[B]=true}const p=Symbol.for("undici.error.UND_ERR_REQ_RETRY");class RequestRetryError extends UndiciError{constructor(e,t,{headers:A,data:r}){super(e);this.name="RequestRetryError";this.message=e||"Request retry error";this.code="UND_ERR_REQ_RETRY";this.statusCode=t;this.data=r;this.headers=A}static[Symbol.hasInstance](e){return e&&e[p]===true}[p]=true}const m=Symbol.for("undici.error.UND_ERR_RESPONSE");class ResponseError extends UndiciError{constructor(e,t,{headers:A,data:r}){super(e);this.name="ResponseError";this.message=e||"Response error";this.code="UND_ERR_RESPONSE";this.statusCode=t;this.data=r;this.headers=A}static[Symbol.hasInstance](e){return e&&e[m]===true}[m]=true}const y=Symbol.for("undici.error.UND_ERR_PRX_TLS");class SecureProxyConnectionError extends UndiciError{constructor(e,t,A){super(t,{cause:e,...A??{}});this.name="SecureProxyConnectionError";this.message=t||"Secure Proxy Connection failed";this.code="UND_ERR_PRX_TLS";this.cause=e}static[Symbol.hasInstance](e){return e&&e[y]===true}[y]=true}const w=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED");class MessageSizeExceededError extends UndiciError{constructor(e){super(e);this.name="MessageSizeExceededError";this.message=e||"Max decompressed message size exceeded";this.code="UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"}static[Symbol.hasInstance](e){return e&&e[w]===true}get[w](){return true}}e.exports={AbortError:AbortError,HTTPParserError:HTTPParserError,UndiciError:UndiciError,HeadersTimeoutError:HeadersTimeoutError,HeadersOverflowError:HeadersOverflowError,BodyTimeoutError:BodyTimeoutError,RequestContentLengthMismatchError:RequestContentLengthMismatchError,ConnectTimeoutError:ConnectTimeoutError,ResponseStatusCodeError:ResponseStatusCodeError,InvalidArgumentError:InvalidArgumentError,InvalidReturnValueError:InvalidReturnValueError,RequestAbortedError:RequestAbortedError,ClientDestroyedError:ClientDestroyedError,ClientClosedError:ClientClosedError,InformationalError:InformationalError,SocketError:SocketError,NotSupportedError:NotSupportedError,ResponseContentLengthMismatchError:ResponseContentLengthMismatchError,BalancedPoolMissingUpstreamError:BalancedPoolMissingUpstreamError,ResponseExceededMaxSizeError:ResponseExceededMaxSizeError,RequestRetryError:RequestRetryError,ResponseError:ResponseError,SecureProxyConnectionError:SecureProxyConnectionError,MessageSizeExceededError:MessageSizeExceededError}},6540:(e,t,A)=>{const{InvalidArgumentError:r,NotSupportedError:n}=A(9934);const s=A(4589);const{isValidHTTPToken:o,isValidHeaderValue:i,isStream:a,destroy:c,isBuffer:l,isFormDataLike:u,isIterable:d,isBlobLike:h,buildURL:g,validateHandler:f,getServerName:E,normalizedMethodRecords:Q}=A(8529);const{channels:C}=A(1509);const{headerNameLowerCasedRecord:I}=A(4448);const B=/[^\u0021-\u00ff]/;const p=Symbol("handler");class Request{constructor(e,{path:t,method:A,body:n,headers:s,query:I,idempotent:m,blocking:y,upgrade:w,headersTimeout:b,bodyTimeout:k,reset:D,throwOnError:R,expectContinue:S,servername:F},N){if(typeof t!=="string"){throw new r("path must be a string")}else if(t[0]!=="/"&&!(t.startsWith("http://")||t.startsWith("https://"))&&A!=="CONNECT"){throw new r("path must be an absolute URL or start with a slash")}else if(B.test(t)){throw new r("invalid request path")}if(typeof A!=="string"){throw new r("method must be a string")}else if(Q[A]===undefined&&!o(A)){throw new r("invalid request method")}if(w&&typeof w!=="string"){throw new r("upgrade must be a string")}if(w&&!i(w)){throw new r("invalid upgrade header")}if(b!=null&&(!Number.isFinite(b)||b<0)){throw new r("invalid headersTimeout")}if(k!=null&&(!Number.isFinite(k)||k<0)){throw new r("invalid bodyTimeout")}if(D!=null&&typeof D!=="boolean"){throw new r("invalid reset")}if(S!=null&&typeof S!=="boolean"){throw new r("invalid expectContinue")}this.headersTimeout=b;this.bodyTimeout=k;this.throwOnError=R===true;this.method=A;this.abort=null;if(n==null){this.body=null}else if(a(n)){this.body=n;const e=this.body._readableState;if(!e||!e.autoDestroy){this.endHandler=function autoDestroy(){c(this)};this.body.on("end",this.endHandler)}this.errorHandler=e=>{if(this.abort){this.abort(e)}else{this.error=e}};this.body.on("error",this.errorHandler)}else if(l(n)){this.body=n.byteLength?n:null}else if(ArrayBuffer.isView(n)){this.body=n.buffer.byteLength?Buffer.from(n.buffer,n.byteOffset,n.byteLength):null}else if(n instanceof ArrayBuffer){this.body=n.byteLength?Buffer.from(n):null}else if(typeof n==="string"){this.body=n.length?Buffer.from(n):null}else if(u(n)||d(n)||h(n)){this.body=n}else{throw new r("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable")}this.completed=false;this.aborted=false;this.upgrade=w||null;this.path=I?g(t,I):t;this.origin=e;this.idempotent=m==null?A==="HEAD"||A==="GET":m;this.blocking=y==null?false:y;this.reset=D==null?null:D;this.host=null;this.contentLength=null;this.contentType=null;this.headers=[];this.expectContinue=S!=null?S:false;if(Array.isArray(s)){if(s.length%2!==0){throw new r("headers array must be even")}for(let e=0;e{e.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kBody:Symbol("abstracted request body"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kResume:Symbol("resume"),kOnError:Symbol("on error"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable"),kListeners:Symbol("listeners"),kHTTPContext:Symbol("http context"),kMaxConcurrentStreams:Symbol("max concurrent streams"),kNoProxyAgent:Symbol("no proxy agent"),kHttpProxyAgent:Symbol("http proxy agent"),kHttpsProxyAgent:Symbol("https proxy agent")}},8313:(e,t,A)=>{const{wellknownHeaderNames:r,headerNameLowerCasedRecord:n}=A(4448);class TstNode{value=null;left=null;middle=null;right=null;code;constructor(e,t,A){if(A===undefined||A>=e.length){throw new TypeError("Unreachable")}const r=this.code=e.charCodeAt(A);if(r>127){throw new TypeError("key must be ascii string")}if(e.length!==++A){this.middle=new TstNode(e,t,A)}else{this.value=t}}add(e,t){const A=e.length;if(A===0){throw new TypeError("Unreachable")}let r=0;let n=this;while(true){const s=e.charCodeAt(r);if(s>127){throw new TypeError("key must be ascii string")}if(n.code===s){if(A===++r){n.value=t;break}else if(n.middle!==null){n=n.middle}else{n.middle=new TstNode(e,t,r);break}}else if(n.code=65){n|=32}while(r!==null){if(n===r.code){if(t===++A){return r}r=r.middle;break}r=r.code{const r=A(4589);const{kDestroyed:n,kBodyUsed:s,kListeners:o,kBody:i}=A(5424);const{IncomingMessage:a}=A(7067);const c=A(7075);const l=A(7030);const{Blob:u}=A(4573);const d=A(7975);const{stringify:h}=A(1792);const{EventEmitter:g}=A(8474);const{InvalidArgumentError:f}=A(9934);const{headerNameLowerCasedRecord:E}=A(4448);const{tree:Q}=A(8313);const[C,I]=process.versions.node.split(".").map(e=>Number(e));class BodyAsyncIterable{constructor(e){this[i]=e;this[s]=false}async*[Symbol.asyncIterator](){r(!this[s],"disturbed");this[s]=true;yield*this[i]}}function wrapRequestBody(e){if(isStream(e)){if(bodyLength(e)===0){e.on("data",function(){r(false)})}if(typeof e.readableDidRead!=="boolean"){e[s]=false;g.prototype.on.call(e,"data",function(){this[s]=true})}return e}else if(e&&typeof e.pipeTo==="function"){return new BodyAsyncIterable(e)}else if(e&&typeof e!=="string"&&!ArrayBuffer.isView(e)&&isIterable(e)){return new BodyAsyncIterable(e)}else{return e}}function nop(){}function isStream(e){return e&&typeof e==="object"&&typeof e.pipe==="function"&&typeof e.on==="function"}function isBlobLike(e){if(e===null){return false}else if(e instanceof u){return true}else if(typeof e!=="object"){return false}else{const t=e[Symbol.toStringTag];return(t==="Blob"||t==="File")&&("stream"in e&&typeof e.stream==="function"||"arrayBuffer"in e&&typeof e.arrayBuffer==="function")}}function buildURL(e,t){if(e.includes("?")||e.includes("#")){throw new Error('Query params cannot be passed when url already contains "?" or "#".')}const A=h(t);if(A){e+="?"+A}return e}function isValidPort(e){const t=parseInt(e,10);return t===Number(e)&&t>=0&&t<=65535}function isHttpOrHttpsPrefixed(e){return e!=null&&e[0]==="h"&&e[1]==="t"&&e[2]==="t"&&e[3]==="p"&&(e[4]===":"||e[4]==="s"&&e[5]===":")}function parseURL(e){if(typeof e==="string"){e=new URL(e);if(!isHttpOrHttpsPrefixed(e.origin||e.protocol)){throw new f("Invalid URL protocol: the URL must start with `http:` or `https:`.")}return e}if(!e||typeof e!=="object"){throw new f("Invalid URL: The URL argument must be a non-null object.")}if(!(e instanceof URL)){if(e.port!=null&&e.port!==""&&isValidPort(e.port)===false){throw new f("Invalid URL: port must be a valid integer or a string representation of an integer.")}if(e.path!=null&&typeof e.path!=="string"){throw new f("Invalid URL path: the path must be a string or null/undefined.")}if(e.pathname!=null&&typeof e.pathname!=="string"){throw new f("Invalid URL pathname: the pathname must be a string or null/undefined.")}if(e.hostname!=null&&typeof e.hostname!=="string"){throw new f("Invalid URL hostname: the hostname must be a string or null/undefined.")}if(e.origin!=null&&typeof e.origin!=="string"){throw new f("Invalid URL origin: the origin must be a string or null/undefined.")}if(!isHttpOrHttpsPrefixed(e.origin||e.protocol)){throw new f("Invalid URL protocol: the URL must start with `http:` or `https:`.")}const t=e.port!=null?e.port:e.protocol==="https:"?443:80;let A=e.origin!=null?e.origin:`${e.protocol||""}//${e.hostname||""}:${t}`;let r=e.path!=null?e.path:`${e.pathname||""}${e.search||""}`;if(A[A.length-1]==="/"){A=A.slice(0,A.length-1)}if(r&&r[0]!=="/"){r=`/${r}`}return new URL(`${A}${r}`)}if(!isHttpOrHttpsPrefixed(e.origin||e.protocol)){throw new f("Invalid URL protocol: the URL must start with `http:` or `https:`.")}return e}function parseOrigin(e){e=parseURL(e);if(e.pathname!=="/"||e.search||e.hash){throw new f("invalid url")}return e}function getHostname(e){if(e[0]==="["){const t=e.indexOf("]");r(t!==-1);return e.substring(1,t)}const t=e.indexOf(":");if(t===-1)return e;return e.substring(0,t)}function getServerName(e){if(!e){return null}r(typeof e==="string");const t=getHostname(e);if(l.isIP(t)){return""}return t}function deepClone(e){return JSON.parse(JSON.stringify(e))}function isAsyncIterable(e){return!!(e!=null&&typeof e[Symbol.asyncIterator]==="function")}function isIterable(e){return!!(e!=null&&(typeof e[Symbol.iterator]==="function"||typeof e[Symbol.asyncIterator]==="function"))}function bodyLength(e){if(e==null){return 0}else if(isStream(e)){const t=e._readableState;return t&&t.objectMode===false&&t.ended===true&&Number.isFinite(t.length)?t.length:null}else if(isBlobLike(e)){return e.size!=null?e.size:null}else if(isBuffer(e)){return e.byteLength}return null}function isDestroyed(e){return e&&!!(e.destroyed||e[n]||c.isDestroyed?.(e))}function destroy(e,t){if(e==null||!isStream(e)||isDestroyed(e)){return}if(typeof e.destroy==="function"){if(Object.getPrototypeOf(e).constructor===a){e.socket=null}e.destroy(t)}else if(t){queueMicrotask(()=>{e.emit("error",t)})}if(e.destroyed!==true){e[n]=true}}const B=/timeout=(\d+)/;function parseKeepAliveTimeout(e){const t=e.toString().match(B);return t?parseInt(t[1],10)*1e3:null}function headerNameToString(e){return typeof e==="string"?E[e]??e.toLowerCase():Q.lookup(e)??e.toString("latin1").toLowerCase()}function bufferToLowerCasedHeaderName(e){return Q.lookup(e)??e.toString("latin1").toLowerCase()}function parseHeaders(e,t){if(t===undefined)t={};for(let A=0;Ae.toString("utf8")):n.toString("utf8")}}}if("content-length"in t&&"content-disposition"in t){t["content-disposition"]=Buffer.from(t["content-disposition"]).toString("latin1")}return t}function parseRawHeaders(e){const t=e.length;const A=new Array(t);let r=false;let n=-1;let s;let o;let i=0;for(let t=0;t{e.close();e.byobRequest?.respond(0)})}else{const t=Buffer.isBuffer(r)?r:Buffer.from(r);if(t.byteLength){e.enqueue(new Uint8Array(t))}}return e.desiredSize>0},async cancel(e){await t.return()},type:"bytes"})}function isFormDataLike(e){return e&&typeof e==="object"&&typeof e.append==="function"&&typeof e.delete==="function"&&typeof e.get==="function"&&typeof e.getAll==="function"&&typeof e.has==="function"&&typeof e.set==="function"&&e[Symbol.toStringTag]==="FormData"}function addAbortListener(e,t){if("addEventListener"in e){e.addEventListener("abort",t,{once:true});return()=>e.removeEventListener("abort",t)}e.addListener("abort",t);return()=>e.removeListener("abort",t)}const p=typeof String.prototype.toWellFormed==="function";const m=typeof String.prototype.isWellFormed==="function";function toUSVString(e){return p?`${e}`.toWellFormed():d.toUSVString(e)}function isUSVString(e){return m?`${e}`.isWellFormed():toUSVString(e)===`${e}`}function isTokenCharCode(e){switch(e){case 34:case 40:case 41:case 44:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 123:case 125:return false;default:return e>=33&&e<=126}}function isValidHTTPToken(e){if(e.length===0){return false}for(let t=0;t{const{InvalidArgumentError:r}=A(9934);const{kClients:n,kRunning:s,kClose:o,kDestroy:i,kDispatch:a,kInterceptors:c}=A(5424);const l=A(6870);const u=A(2921);const d=A(7140);const h=A(8529);const g=A(7327);const f=Symbol("onConnect");const E=Symbol("onDisconnect");const Q=Symbol("onConnectionError");const C=Symbol("maxRedirections");const I=Symbol("onDrain");const B=Symbol("factory");const p=Symbol("options");function defaultFactory(e,t){return t&&t.connections===1?new d(e,t):new u(e,t)}class Agent extends l{constructor({factory:e=defaultFactory,maxRedirections:t=0,connect:A,tls:s,...o}={}){if(typeof e!=="function"){throw new r("factory must be a function.")}if(A!=null&&typeof A!=="function"&&typeof A!=="object"){throw new r("connect must be a function or an object")}if(!Number.isInteger(t)||t<0){throw new r("maxRedirections must be a positive number")}super(o);if(A&&typeof A!=="function"){A={...A}}if(s&&typeof s!=="function"){s={...s}}this[c]=o.interceptors?.Agent&&Array.isArray(o.interceptors.Agent)?o.interceptors.Agent:[g({maxRedirections:t})];this[p]={...h.deepClone(o),connect:A,tls:s};this[p].interceptors=o.interceptors?{...o.interceptors}:undefined;this[C]=t;this[B]=e;this[n]=new Map;this[I]=(e,t)=>{this.emit("drain",e,[this,...t])};this[f]=(e,t)=>{this.emit("connect",e,[this,...t])};this[E]=(e,t,A)=>{this.emit("disconnect",e,[this,...t],A)};this[Q]=(e,t,A)=>{this.emit("connectionError",e,[this,...t],A)}}get[s](){let e=0;for(const t of this[n].values()){e+=t[s]}return e}[a](e,t){let A;if(e.origin&&(typeof e.origin==="string"||e.origin instanceof URL)){A=String(e.origin)}else{throw new r("opts.origin must be a non-empty string or URL.")}let s=this[n].get(A);if(!s){s=this[B](e.origin,this[p]).on("drain",this[I]).on("connect",this[f]).on("disconnect",this[E]).on("connectionError",this[Q]);this[n].set(A,s)}return s.dispatch(e,t)}async[o](){const e=[];for(const t of this[n].values()){e.push(t.close())}this[n].clear();await Promise.all(e)}async[i](e){const t=[];for(const A of this[n].values()){t.push(A.destroy(e))}this[n].clear();await Promise.all(t)}}e.exports=Agent},9390:(e,t,A)=>{const{BalancedPoolMissingUpstreamError:r,InvalidArgumentError:n}=A(9934);const{PoolBase:s,kClients:o,kNeedDrain:i,kAddClient:a,kRemoveClient:c,kGetDispatcher:l}=A(627);const u=A(2921);const{kUrl:d,kInterceptors:h}=A(5424);const{parseOrigin:g}=A(8529);const f=Symbol("factory");const E=Symbol("options");const Q=Symbol("kGreatestCommonDivisor");const C=Symbol("kCurrentWeight");const I=Symbol("kIndex");const B=Symbol("kWeight");const p=Symbol("kMaxWeightPerServer");const m=Symbol("kErrorPenalty");function getGreatestCommonDivisor(e,t){if(e===0)return t;while(t!==0){const A=t;t=e%t;e=A}return e}function defaultFactory(e,t){return new u(e,t)}class BalancedPool extends s{constructor(e=[],{factory:t=defaultFactory,...A}={}){super();this[E]=A;this[I]=-1;this[C]=0;this[p]=this[E].maxWeightPerServer||100;this[m]=this[E].errorPenalty||15;if(!Array.isArray(e)){e=[e]}if(typeof t!=="function"){throw new n("factory must be a function.")}this[h]=A.interceptors?.BalancedPool&&Array.isArray(A.interceptors.BalancedPool)?A.interceptors.BalancedPool:[];this[f]=t;for(const t of e){this.addUpstream(t)}this._updateBalancedPoolStats()}addUpstream(e){const t=g(e).origin;if(this[o].find(e=>e[d].origin===t&&e.closed!==true&&e.destroyed!==true)){return this}const A=this[f](t,Object.assign({},this[E]));this[a](A);A.on("connect",()=>{A[B]=Math.min(this[p],A[B]+this[m])});A.on("connectionError",()=>{A[B]=Math.max(1,A[B]-this[m]);this._updateBalancedPoolStats()});A.on("disconnect",(...e)=>{const t=e[2];if(t&&t.code==="UND_ERR_SOCKET"){A[B]=Math.max(1,A[B]-this[m]);this._updateBalancedPoolStats()}});for(const e of this[o]){e[B]=this[p]}this._updateBalancedPoolStats();return this}_updateBalancedPoolStats(){let e=0;for(let t=0;te[d].origin===t&&e.closed!==true&&e.destroyed!==true);if(A){this[c](A)}return this}get upstreams(){return this[o].filter(e=>e.closed!==true&&e.destroyed!==true).map(e=>e[d].origin)}[l](){if(this[o].length===0){throw new r}const e=this[o].find(e=>!e[i]&&e.closed!==true&&e.destroyed!==true);if(!e){return}const t=this[o].map(e=>e[i]).reduce((e,t)=>e&&t,true);if(t){return}let A=0;let n=this[o].findIndex(e=>!e[i]);while(A++this[o][n][B]&&!e[i]){n=this[I]}if(this[I]===0){this[C]=this[C]-this[Q];if(this[C]<=0){this[C]=this[p]}}if(e[B]>=this[C]&&!e[i]){return e}}this[C]=this[o][n][B];this[I]=n;return this[o][n]}}e.exports=BalancedPool},3010:(e,t,A)=>{const r=A(4589);const n=A(8529);const{channels:s}=A(1509);const o=A(4486);const{RequestContentLengthMismatchError:i,ResponseContentLengthMismatchError:a,RequestAbortedError:c,InvalidArgumentError:l,HeadersTimeoutError:u,HeadersOverflowError:d,SocketError:h,InformationalError:g,BodyTimeoutError:f,HTTPParserError:E,ResponseExceededMaxSizeError:Q}=A(9934);const{kUrl:C,kReset:I,kClient:B,kParser:p,kBlocking:m,kRunning:y,kPending:w,kSize:b,kWriting:k,kQueue:D,kNoRef:R,kKeepAliveDefaultTimeout:S,kHostHeader:F,kPendingIdx:N,kRunningIdx:v,kError:M,kPipelining:U,kSocket:T,kKeepAliveTimeoutValue:L,kMaxHeadersSize:x,kKeepAliveMaxTimeout:H,kKeepAliveTimeoutThreshold:G,kHeadersTimeout:Y,kBodyTimeout:P,kStrictContentLength:J,kMaxRequests:V,kCounter:O,kMaxResponseSize:$,kOnError:W,kResume:q,kHTTPContext:z}=A(5424);const j=A(2811);const K=Buffer.alloc(0);const Z=Buffer[Symbol.species];const X=n.addListener;const ee=n.removeAllListeners;const te=Symbol("kIdleSocketValidation");const Ae=Symbol("kIdleSocketValidationTimeout");const re=Symbol("kSocketUsed");let ne;async function lazyllhttp(){const e=process.env.JEST_WORKER_ID?A(5381):undefined;let t;try{t=await WebAssembly.compile(A(4823))}catch(r){t=await WebAssembly.compile(e||A(5381))}return await WebAssembly.instantiate(t,{env:{wasm_on_url:(e,t,A)=>0,wasm_on_status:(e,t,A)=>{r(ie.ptr===e);const n=t-le+ae.byteOffset;return ie.onStatus(new Z(ae.buffer,n,A))||0},wasm_on_message_begin:e=>{r(ie.ptr===e);return ie.onMessageBegin()||0},wasm_on_header_field:(e,t,A)=>{r(ie.ptr===e);const n=t-le+ae.byteOffset;return ie.onHeaderField(new Z(ae.buffer,n,A))||0},wasm_on_header_value:(e,t,A)=>{r(ie.ptr===e);const n=t-le+ae.byteOffset;return ie.onHeaderValue(new Z(ae.buffer,n,A))||0},wasm_on_headers_complete:(e,t,A,n)=>{r(ie.ptr===e);return ie.onHeadersComplete(t,Boolean(A),Boolean(n))||0},wasm_on_body:(e,t,A)=>{r(ie.ptr===e);const n=t-le+ae.byteOffset;return ie.onBody(new Z(ae.buffer,n,A))||0},wasm_on_message_complete:e=>{r(ie.ptr===e);return ie.onMessageComplete()||0}}})}let se=null;let oe=lazyllhttp();oe.catch();let ie=null;let ae=null;let ce=0;let le=null;const ue=0;const de=1;const he=2|de;const ge=4|de;const fe=8|ue;class Parser{constructor(e,t,{exports:A}){r(Number.isFinite(e[x])&&e[x]>0);this.llhttp=A;this.ptr=this.llhttp.llhttp_alloc(j.TYPE.RESPONSE);this.client=e;this.socket=t;this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.statusCode=null;this.statusText="";this.upgrade=false;this.headers=[];this.headersSize=0;this.headersMaxSize=e[x];this.shouldKeepAlive=false;this.paused=false;this.resume=this.resume.bind(this);this.bytesRead=0;this.keepAlive="";this.contentLength="";this.connection="";this.maxResponseSize=e[$]}setTimeout(e,t){if(e!==this.timeoutValue||t&de^this.timeoutType&de){if(this.timeout){o.clearTimeout(this.timeout);this.timeout=null}if(e){if(t&de){this.timeout=o.setFastTimeout(onParserTimeout,e,new WeakRef(this))}else{this.timeout=setTimeout(onParserTimeout,e,new WeakRef(this));this.timeout.unref()}}this.timeoutValue=e}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.timeoutType=t}resume(){if(this.socket.destroyed||!this.paused){return}r(this.ptr!=null);r(ie==null);this.llhttp.llhttp_resume(this.ptr);r(this.timeoutType===ge);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.paused=false;this.execute(this.socket.read()||K);this.readMore()}readMore(){while(!this.paused&&this.ptr){const e=this.socket.read();if(e===null){break}this.execute(e)}}execute(e){r(this.ptr!=null);r(ie==null);r(!this.paused);const{socket:t,llhttp:A}=this;if(e.length>ce){if(le){A.free(le)}ce=Math.ceil(e.length/4096)*4096;le=A.malloc(ce)}new Uint8Array(A.memory.buffer,le,ce).set(e);try{let r;try{ae=e;ie=this;r=A.llhttp_execute(this.ptr,le,e.length)}catch(e){throw e}finally{ie=null;ae=null}const n=A.llhttp_get_error_pos(this.ptr)-le;if(r!==j.ERROR.OK){const A=e.subarray(n);if(r===j.ERROR.PAUSED_UPGRADE){this.onUpgrade(A)}else if(r===j.ERROR.PAUSED){this.paused=true;t.unshift(A)}else{throw this.createError(r,A)}}}catch(e){n.destroy(t,e)}}finish(){r(ie===null);r(this.ptr!=null);r(!this.paused);const{llhttp:e}=this;let t;try{ie=this;t=e.llhttp_finish(this.ptr)}finally{ie=null}if(t===j.ERROR.OK){return null}if(t===j.ERROR.PAUSED||t===j.ERROR.PAUSED_UPGRADE){this.paused=true;return null}return this.createError(t,K)}createError(e,t){const{llhttp:A,contentLength:r,bytesRead:n}=this;if(r&&n!==parseInt(r,10)){return new a}const s=A.llhttp_get_error_reason(this.ptr);let o="";if(s){const e=new Uint8Array(A.memory.buffer,s).indexOf(0);o="Response does not match the HTTP/1.1 protocol ("+Buffer.from(A.memory.buffer,s,e).toString()+")"}return new E(o,j.ERROR[e],t)}destroy(){r(this.ptr!=null);r(ie==null);this.llhttp.llhttp_free(this.ptr);this.ptr=null;this.timeout&&o.clearTimeout(this.timeout);this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.paused=false}onStatus(e){this.statusText=e.toString()}onMessageBegin(){const{socket:e,client:t}=this;if(e.destroyed){return-1}if(t[y]===0){n.destroy(e,new h("bad response",n.getSocketInfo(e)));return-1}const A=t[D][t[v]];if(!A){return-1}A.onResponseStarted()}onHeaderField(e){const t=this.headers.length;if((t&1)===0){this.headers.push(e)}else{this.headers[t-1]=Buffer.concat([this.headers[t-1],e])}this.trackHeader(e.length)}onHeaderValue(e){let t=this.headers.length;if((t&1)===1){this.headers.push(e);t+=1}else{this.headers[t-1]=Buffer.concat([this.headers[t-1],e])}const A=this.headers[t-2];if(A.length===10){const t=n.bufferToLowerCasedHeaderName(A);if(t==="keep-alive"){this.keepAlive+=e.toString()}else if(t==="connection"){this.connection+=e.toString()}}else if(A.length===14&&n.bufferToLowerCasedHeaderName(A)==="content-length"){this.contentLength+=e.toString()}this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e;if(this.headersSize>=this.headersMaxSize){n.destroy(this.socket,new d)}}onUpgrade(e){const{upgrade:t,client:A,socket:s,headers:o,statusCode:i,statusText:a}=this;r(t);r(A[T]===s);r(!s.destroyed);r(!this.paused);r((o.length&1)===0);const c=A[D][A[v]];r(c);r(c.upgrade||c.method==="CONNECT");this.statusCode=null;this.statusText="";this.shouldKeepAlive=null;this.headers=[];this.headersSize=0;s.unshift(e);s[p].destroy();s[p]=null;s[B]=null;s[M]=null;ee(s);A[T]=null;A[z]=null;A[D][A[v]++]=null;A.emit("disconnect",A[C],[A],new g("upgrade"));try{c.onUpgrade(i,o,s,a)}catch(e){n.errorRequest(A,c,e);n.destroy(s,e)}A[q]()}onHeadersComplete(e,t,A){const{client:s,socket:o,headers:i,statusText:a}=this;if(o.destroyed){return-1}if(s[y]===0){n.destroy(o,new h("bad response",n.getSocketInfo(o)));return-1}const c=s[D][s[v]];if(!c){return-1}r(!this.upgrade);r(this.statusCode<200);if(e===100){n.destroy(o,new h("bad response",n.getSocketInfo(o)));return-1}if(t&&!c.upgrade){n.destroy(o,new h("bad upgrade",n.getSocketInfo(o)));return-1}r(this.timeoutType===he);this.statusCode=e;this.shouldKeepAlive=A||c.method==="HEAD"&&!o[I]&&this.connection.toLowerCase()==="keep-alive";if(this.statusCode>=200){const e=c.bodyTimeout!=null?c.bodyTimeout:s[P];this.setTimeout(e,ge)}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}if(c.method==="CONNECT"){r(s[y]===1);this.upgrade=true;return 2}if(t){r(s[y]===1);this.upgrade=true;return 2}r((this.headers.length&1)===0);this.headers=[];this.headersSize=0;if(this.shouldKeepAlive&&s[U]){const e=this.keepAlive?n.parseKeepAliveTimeout(this.keepAlive):null;if(e!=null){const t=Math.min(e-s[G],s[H]);if(t<=0){o[I]=true}else{s[L]=t}}else{s[L]=s[S]}}else{o[I]=true}const l=c.onHeaders(e,i,this.resume,a)===false;if(c.aborted){return-1}if(c.method==="HEAD"){return 1}if(e<200){return 1}if(o[m]){o[m]=false;s[q]()}return l?j.ERROR.PAUSED:0}onBody(e){const{client:t,socket:A,statusCode:s,maxResponseSize:o}=this;if(A.destroyed){return-1}const i=t[D][t[v]];r(i);r(this.timeoutType===ge);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}r(s>=200);if(o>-1&&this.bytesRead+e.length>o){n.destroy(A,new Q);return-1}this.bytesRead+=e.length;if(i.onData(e)===false){return j.ERROR.PAUSED}}onMessageComplete(){const{client:e,socket:t,statusCode:A,upgrade:s,headers:o,contentLength:i,bytesRead:c,shouldKeepAlive:l}=this;if(t.destroyed&&(!A||l)){return-1}if(s){return}r(A>=100);r((this.headers.length&1)===0);const u=e[D][e[v]];r(u);this.statusCode=null;this.statusText="";this.bytesRead=0;this.contentLength="";this.keepAlive="";this.connection="";this.headers=[];this.headersSize=0;if(A<200){return}if(u.method!=="HEAD"&&i&&c!==parseInt(i,10)){n.destroy(t,new a);return-1}u.onComplete(o);e[D][e[v]++]=null;t[re]=true;if(t[k]){r(e[y]===0);n.destroy(t,new g("reset"));return j.ERROR.PAUSED}else if(!l){n.destroy(t,new g("reset"));return j.ERROR.PAUSED}else if(t[I]&&e[y]===0){n.destroy(t,new g("reset"));return j.ERROR.PAUSED}else if(e[U]==null||e[U]===1){setImmediate(()=>e[q]())}else{e[q]()}}}function onParserTimeout(e){const{socket:t,timeoutType:A,client:s,paused:o}=e.deref();if(A===he){if(!t[k]||t.writableNeedDrain||s[y]>1){r(!o,"cannot be paused while waiting for headers");n.destroy(t,new u)}}else if(A===ge){if(!o){n.destroy(t,new f)}}else if(A===fe){r(s[y]===0&&s[L]);n.destroy(t,new g("socket idle timeout"))}}async function connectH1(e,t){e[T]=t;if(!se){se=await oe;oe=null}t[R]=false;t[k]=false;t[I]=false;t[m]=false;t[te]=0;t[Ae]=null;t[re]=false;t[p]=new Parser(e,t,se);X(t,"error",function(e){const t=this[p];if(e.code==="ECONNRESET"&&t.statusCode&&!t.shouldKeepAlive){const e=t.finish();if(e){this[M]=e;this[B][W](e)}return}this[M]=e;this[B][W](e)});X(t,"readable",function(){const e=this[p];if(e){e.readMore()}});X(t,"end",function(){const e=this[p];if(e.statusCode&&!e.shouldKeepAlive){const t=e.finish();if(t){n.destroy(this,t)}return}n.destroy(this,new h("other side closed",n.getSocketInfo(this)))});X(t,"close",function(){const e=this[B];const t=this[p];clearIdleSocketValidation(this);if(t){if(!this[M]&&t.statusCode&&!t.shouldKeepAlive){this[M]=t.finish()||this[M]}this[p].destroy();this[p]=null}const A=this[M]||new h("closed",n.getSocketInfo(this));e[T]=null;e[z]=null;if(e.destroyed){r(e[w]===0);const t=e[D].splice(e[v]);for(let r=0;r0&&A.code!=="UND_ERR_INFO"){const t=e[D][e[v]];e[D][e[v]++]=null;n.errorRequest(e,t,A)}e[N]=e[v];r(e[y]===0);e.emit("disconnect",e[C],[e],A);e[q]()});let A=false;t.on("close",()=>{A=true});return{version:"h1",defaultPipelining:1,write(...t){return writeH1(e,...t)},resume(){resumeH1(e)},destroy(e,r){if(A){queueMicrotask(r)}else{t.destroy(e).on("close",r)}},get destroyed(){return t.destroyed},busy(A){if(t[k]||t[I]||t[m]||t[te]===1){return true}if(A){if(e[y]>0&&!A.idempotent){return true}if(e[y]>0&&(A.upgrade||A.method==="CONNECT")){return true}if(e[y]>0&&n.bodyLength(A.body)!==0&&(n.isStream(A.body)||n.isAsyncIterable(A.body)||n.isFormDataLike(A.body))){return true}}return false}}}function clearIdleSocketValidation(e){if(e[Ae]){clearImmediate(e[Ae]);e[Ae]=null}e[te]=0}function scheduleIdleSocketValidation(e,t){t[te]=1;t[Ae]=setImmediate(()=>{t[Ae]=null;t[te]=2;if(e[T]===t&&!t.destroyed){e[q]()}})}function resumeH1(e){const t=e[T];if(t&&!t.destroyed){if(e[b]===0){if(!t[R]&&t.unref){t.unref();t[R]=true}}else if(t[R]&&t.ref){t.ref();t[R]=false}if(e[y]===0&&e[w]>0&&t[re]){if(t[te]===0){scheduleIdleSocketValidation(e,t);t[p].readMore();if(t.destroyed){return}return}if(t[te]===1){t[p].readMore();if(t.destroyed){return}return}}if(e[y]===0){t[p].readMore();if(t.destroyed){return}}if(e[b]===0){if(t[p].timeoutType!==fe){t[p].setTimeout(e[L],fe)}}else if(e[y]>0&&t[p].statusCode<200){if(t[p].timeoutType!==he){const A=e[D][e[v]];const r=A.headersTimeout!=null?A.headersTimeout:e[Y];t[p].setTimeout(r,he)}}}}function shouldSendContentLength(e){return e!=="GET"&&e!=="HEAD"&&e!=="OPTIONS"&&e!=="TRACE"&&e!=="CONNECT"}function writeH1(e,t){const{method:o,path:a,host:u,upgrade:d,blocking:h,reset:f}=t;let{body:E,headers:Q,contentLength:C}=t;const B=o==="PUT"||o==="POST"||o==="PATCH"||o==="QUERY"||o==="PROPFIND"||o==="PROPPATCH";if(n.isFormDataLike(E)){if(!ne){ne=A(6455).extractBody}const[e,r]=ne(E);if(t.contentType==null){Q.push("content-type",r)}E=e.stream;C=e.length}else if(n.isBlobLike(E)&&t.contentType==null){const A=E.type;if(A){const r=`${A}`;if(!n.isValidHeaderValue(r)){n.errorRequest(e,t,new l("invalid content-type header"));return false}Q.push("content-type",r)}}if(E&&typeof E.read==="function"){E.read(0)}const p=n.bodyLength(E);C=p??C;if(C===null){C=t.contentLength}if(C===0&&!B){C=null}if(shouldSendContentLength(o)&&C>0&&t.contentLength!==null&&t.contentLength!==C){if(e[J]){n.errorRequest(e,t,new i);return false}process.emitWarning(new i)}const y=e[T];clearIdleSocketValidation(y);const abort=A=>{if(t.aborted){return}if(t.completed){if(t.upgrade||t.method==="CONNECT"){n.destroy(y,new g("aborted"))}return}n.errorRequest(e,t,A||new c);n.destroy(E);n.destroy(y,new g("aborted"))};try{t.onConnect(abort)}catch(A){n.errorRequest(e,t,A)}if(t.aborted){return false}if(o==="HEAD"){y[I]=true}if(d||o==="CONNECT"){y[I]=true}if(f!=null){y[I]=f}if(e[V]&&y[O]++>=e[V]){y[I]=true}if(h){y[m]=true}let w=`${o} ${a} HTTP/1.1\r\n`;if(typeof u==="string"){w+=`host: ${u}\r\n`}else{w+=e[F]}if(d){w+=`connection: upgrade\r\nupgrade: ${d}\r\n`}else if(e[U]&&!y[I]){w+="connection: keep-alive\r\n"}else{w+="connection: close\r\n"}if(Array.isArray(Q)){for(let e=0;e{t.removeListener("error",onFinished)});if(!u){const e=new c;queueMicrotask(()=>onFinished(e))}};const onFinished=function(e){if(u){return}u=true;r(o.destroyed||o[k]&&A[y]<=1);o.off("drain",onDrain).off("error",onFinished);t.removeListener("data",onData).removeListener("end",onFinished).removeListener("close",onClose);if(!e){try{d.end()}catch(t){e=t}}d.destroy(e);if(e&&(e.code!=="UND_ERR_INFO"||e.message!=="reset")){n.destroy(t,e)}else{n.destroy(t)}};t.on("data",onData).on("end",onFinished).on("error",onFinished).on("close",onClose);if(t.resume){t.resume()}o.on("drain",onDrain).on("error",onFinished);if(t.errorEmitted??t.errored){setImmediate(()=>onFinished(t.errored))}else if(t.endEmitted??t.readableEnded){setImmediate(()=>onFinished(null))}if(t.closeEmitted??t.closed){setImmediate(onClose)}}function writeBuffer(e,t,A,s,o,i,a,c){try{if(!t){if(i===0){o.write(`${a}content-length: 0\r\n\r\n`,"latin1")}else{r(i===null,"no body must not have content length");o.write(`${a}\r\n`,"latin1")}}else if(n.isBuffer(t)){r(i===t.byteLength,"buffer body must have content length");o.cork();o.write(`${a}content-length: ${i}\r\n\r\n`,"latin1");o.write(t);o.uncork();s.onBodySent(t);if(!c&&s.reset!==false){o[I]=true}}s.onRequestSent();A[q]()}catch(t){e(t)}}async function writeBlob(e,t,A,n,s,o,a,c){r(o===t.size,"blob body must have content length");try{if(o!=null&&o!==t.size){throw new i}const e=Buffer.from(await t.arrayBuffer());s.cork();s.write(`${a}content-length: ${o}\r\n\r\n`,"latin1");s.write(e);s.uncork();n.onBodySent(e);n.onRequestSent();if(!c&&n.reset!==false){s[I]=true}A[q]()}catch(t){e(t)}}async function writeIterable(e,t,A,n,s,o,i,a){r(o!==0||A[y]===0,"iterator body cannot be pipelined");let c=null;function onDrain(){if(c){const e=c;c=null;e()}}const waitForDrain=()=>new Promise((e,t)=>{r(c===null);if(s[M]){t(s[M])}else{c=e}});s.on("close",onDrain).on("drain",onDrain);const l=new AsyncWriter({abort:e,socket:s,request:n,contentLength:o,client:A,expectsPayload:a,header:i});try{for await(const e of t){if(s[M]){throw s[M]}if(!l.write(e)){await waitForDrain()}}l.end()}catch(e){l.destroy(e)}finally{s.off("close",onDrain).off("drain",onDrain)}}class AsyncWriter{constructor({abort:e,socket:t,request:A,contentLength:r,client:n,expectsPayload:s,header:o}){this.socket=t;this.request=A;this.contentLength=r;this.client=n;this.bytesWritten=0;this.expectsPayload=s;this.header=o;this.abort=e;t[k]=true}write(e){const{socket:t,request:A,contentLength:r,client:n,bytesWritten:s,expectsPayload:o,header:a}=this;if(t[M]){throw t[M]}if(t.destroyed){return false}const c=Buffer.byteLength(e);if(!c){return true}if(r!==null&&s+c>r){if(n[J]){throw new i}process.emitWarning(new i)}t.cork();if(s===0){if(!o&&A.reset!==false){t[I]=true}if(r===null){t.write(`${a}transfer-encoding: chunked\r\n`,"latin1")}else{t.write(`${a}content-length: ${r}\r\n\r\n`,"latin1")}}if(r===null){t.write(`\r\n${c.toString(16)}\r\n`,"latin1")}this.bytesWritten+=c;const l=t.write(e);t.uncork();A.onBodySent(e);if(!l){if(t[p].timeout&&t[p].timeoutType===he){if(t[p].timeout.refresh){t[p].timeout.refresh()}}}return l}end(){const{socket:e,contentLength:t,client:A,bytesWritten:r,expectsPayload:n,header:s,request:o}=this;o.onRequestSent();e[k]=false;if(e[M]){throw e[M]}if(e.destroyed){return}if(r===0){if(n){e.write(`${s}content-length: 0\r\n\r\n`,"latin1")}else{e.write(`${s}\r\n`,"latin1")}}else if(t===null){e.write("\r\n0\r\n\r\n","latin1")}if(t!==null&&r!==t){if(A[J]){throw new i}else{process.emitWarning(new i)}}if(e[p].timeout&&e[p].timeoutType===he){if(e[p].timeout.refresh){e[p].timeout.refresh()}}A[q]()}destroy(e){const{socket:t,client:A,abort:n}=this;t[k]=false;if(e){r(A[y]<=1,"pipeline should only contain this request");n(e)}}}e.exports=connectH1},1967:(e,t,A)=>{const r=A(4589);const{errorMonitor:n}=A(8474);const{pipeline:s}=A(7075);const o=A(8529);const{RequestContentLengthMismatchError:i,RequestAbortedError:a,SocketError:c,InformationalError:l}=A(9934);const{kUrl:u,kReset:d,kClient:h,kRunning:g,kPending:f,kQueue:E,kPendingIdx:Q,kRunningIdx:C,kError:I,kSocket:B,kStrictContentLength:p,kOnError:m,kMaxConcurrentStreams:y,kHTTP2Session:w,kResume:b,kSize:k,kHTTPContext:D}=A(5424);const R=Symbol("open streams");let S;let F=false;let N;try{N=A(2467)}catch{N={constants:{}}}const{constants:{HTTP2_HEADER_AUTHORITY:v,HTTP2_HEADER_METHOD:M,HTTP2_HEADER_PATH:U,HTTP2_HEADER_SCHEME:T,HTTP2_HEADER_CONTENT_LENGTH:L,HTTP2_HEADER_EXPECT:x,HTTP2_HEADER_STATUS:H}}=N;function parseH2Headers(e){const t=[];for(const[A,r]of Object.entries(e)){if(Array.isArray(r)){for(const e of r){t.push(Buffer.from(A),Buffer.from(e))}}else{t.push(Buffer.from(A),Buffer.from(r))}}return t}function parseH2ResponseHeaders(e){const{[H]:t,...A}=e;return parseH2Headers(A)}async function connectH2(e,t){e[B]=t;if(!F){F=true;process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"})}const A=N.connect(e[u],{createConnection:()=>t,peerMaxConcurrentStreams:e[y]});A[R]=0;A[h]=e;A[B]=t;o.addListener(A,"error",onHttp2SessionError);o.addListener(A,"frameError",onHttp2FrameError);o.addListener(A,"end",onHttp2SessionEnd);o.addListener(A,"goaway",onHTTP2GoAway);o.addListener(A,"close",function(){const{[h]:e}=this;const{[B]:t}=e;const A=this[B][I]||this[I]||new c("closed",o.getSocketInfo(t));e[w]=null;if(e.destroyed){r(e[f]===0);const t=e[E].splice(e[C]);for(let r=0;r{n=true});return{version:"h2",defaultPipelining:Infinity,write(...t){return writeH2(e,...t)},resume(){resumeH2(e)},destroy(e,A){if(n){queueMicrotask(A)}else{t.destroy(e).on("close",A)}},get destroyed(){return t.destroyed},busy(){return false}}}function resumeH2(e){const t=e[B];if(t?.destroyed===false){if(e[k]===0&&e[y]===0){t.unref();e[w].unref()}else{t.ref();e[w].ref()}}}function onHttp2SessionError(e){this[B][I]=e;this[h][m](e)}function onHttp2FrameError(e,t,A){if(A===0){const A=new l(`HTTP/2: "frameError" received - type ${e}, code ${t}`);this[B][I]=A;this[h][m](A)}}function onHttp2SessionEnd(){const e=new c("other side closed",o.getSocketInfo(this[B]));this.destroy(e);o.destroy(this[B],e)}function onHTTP2GoAway(e){const t=this[I]||new c(`HTTP/2: "GOAWAY" frame received with code ${e}`,o.getSocketInfo(this));const A=this[h];A[B]=null;A[D]=null;if(this[w]!=null){this[w].destroy(t);this[w]=null}o.destroy(this[B],t);if(A[C]{if(t.aborted){return}if(t.completed){if(c==="CONNECT"&&D!=null){o.destroy(D,A||new a)}return}A=A||new a;o.errorRequest(e,t,A);if(D!=null){o.destroy(D,A)}o.destroy(y,A);e[E][e[C]++]=null;e[b]()};try{t.onConnect(abort)}catch(A){o.errorRequest(e,t,A)}if(t.aborted){return false}if(c==="CONNECT"){s.ref();D=s.request(k,{endStream:false,signal:I});let A=false;const onResponse=e=>{A=true;D.off(n,onUpgradeError);t.onUpgradeResponse(Number(e[H]),e,parseH2ResponseHeaders)};const onUpgradeError=e=>{A=true;D.off("response",onResponse);t.onUpgradeError(e)};const onReady=()=>{try{t.onUpgrade(null,null,D)}catch(e){D.off("response",onResponse);abort(e);return}if(t.aborted){return}D.off("error",abort);D.once(n,onUpgradeError);e[E][e[C]++]=null};D.once("response",onResponse);D.once("error",abort);++s[R];onReady();D.once("close",()=>{if(!A&&t.completed){D.off("response",onResponse);D.off(n,onUpgradeError);t.onUpgradeError(new l(`HTTP/2: "stream error" received - code ${D.rstCode}`))}s[R]-=1;if(s[R]===0)s.unref()});return true}k[U]=d;k[T]="https";const G=c==="PUT"||c==="POST"||c==="PATCH";if(y&&typeof y.read==="function"){y.read(0)}let Y=o.bodyLength(y);if(o.isFormDataLike(y)){S??=A(6455).extractBody;const[e,t]=S(y);k["content-type"]=t;y=e.stream;Y=e.length}if(Y==null){Y=t.contentLength}if(Y===0||!G){Y=null}if(shouldSendContentLength(c)&&Y>0&&t.contentLength!=null&&t.contentLength!==Y){if(e[p]){o.errorRequest(e,t,new i);return false}process.emitWarning(new i)}if(Y!=null){r(y,"no body must not have content length");k[L]=`${Y}`}s.ref();const P=c==="GET"||c==="HEAD"||y===null;if(f){k[x]="100-continue";D=s.request(k,{endStream:P,signal:I});D.once("continue",writeBodyH2)}else{D=s.request(k,{endStream:P,signal:I});writeBodyH2()}++s[R];D.once("response",A=>{const{[H]:r,...n}=A;t.onResponseStarted();if(t.aborted){const A=new a;o.errorRequest(e,t,A);o.destroy(D,A);return}if(t.onHeaders(Number(r),parseH2Headers(n),D.resume.bind(D),"")===false){D.pause()}D.on("data",e=>{if(t.onData(e)===false){D.pause()}})});D.once("end",()=>{if(D.state?.state==null||D.state.state<6){t.onComplete([])}if(s[R]===0){s.unref()}abort(new l("HTTP/2: stream half-closed (remote)"));e[E][e[C]++]=null;e[Q]=e[C];e[b]()});D.once("close",()=>{s[R]-=1;if(s[R]===0){s.unref()}});D.once("error",function(e){abort(e)});D.once("frameError",(e,t)=>{abort(new l(`HTTP/2: "frameError" received - type ${e}, code ${t}`))});return true;function writeBodyH2(){if(!y||Y===0){writeBuffer(abort,D,null,e,t,e[B],Y,G)}else if(o.isBuffer(y)){writeBuffer(abort,D,y,e,t,e[B],Y,G)}else if(o.isBlobLike(y)){if(typeof y.stream==="function"){writeIterable(abort,D,y.stream(),e,t,e[B],Y,G)}else{writeBlob(abort,D,y,e,t,e[B],Y,G)}}else if(o.isStream(y)){writeStream(abort,e[B],G,D,y,e,t,Y)}else if(o.isIterable(y)){writeIterable(abort,D,y,e,t,e[B],Y,G)}else{r(false)}}}function writeBuffer(e,t,A,n,s,i,a,c){try{if(A!=null&&o.isBuffer(A)){r(a===A.byteLength,"buffer body must have content length");t.cork();t.write(A);t.uncork();t.end();s.onBodySent(A)}if(!c){i[d]=true}s.onRequestSent();n[b]()}catch(t){e(t)}}function writeStream(e,t,A,n,i,a,c,l){r(l!==0||a[g]===0,"stream body cannot be pipelined");const u=s(i,n,r=>{if(r){o.destroy(u,r);e(r)}else{o.removeAllListeners(u);c.onRequestSent();if(!A){t[d]=true}a[b]()}});o.addListener(u,"data",onPipeData);function onPipeData(e){c.onBodySent(e)}}async function writeBlob(e,t,A,n,s,o,a,c){r(a===A.size,"blob body must have content length");try{if(a!=null&&a!==A.size){throw new i}const e=Buffer.from(await A.arrayBuffer());t.cork();t.write(e);t.uncork();t.end();s.onBodySent(e);s.onRequestSent();if(!c){o[d]=true}n[b]()}catch(t){e(t)}}async function writeIterable(e,t,A,n,s,o,i,a){r(i!==0||n[g]===0,"iterator body cannot be pipelined");let c=null;function onDrain(){if(c){const e=c;c=null;e()}}const waitForDrain=()=>new Promise((e,t)=>{r(c===null);if(o[I]){t(o[I])}else{c=e}});t.on("close",onDrain).on("drain",onDrain);try{for await(const e of A){if(o[I]){throw o[I]}const A=t.write(e);s.onBodySent(e);if(!A){await waitForDrain()}}t.end();s.onRequestSent();if(!a){o[d]=true}n[b]()}catch(t){e(t)}finally{t.off("close",onDrain).off("drain",onDrain)}}e.exports=connectH2},7140:(e,t,A)=>{const r=A(4589);const n=A(7030);const s=A(7067);const o=A(8529);const{channels:i}=A(1509);const a=A(6540);const c=A(6870);const{InvalidArgumentError:l,InformationalError:u,ClientDestroyedError:d}=A(9934);const h=A(951);const{kUrl:g,kServerName:f,kClient:E,kBusy:Q,kConnect:C,kResuming:I,kRunning:B,kPending:p,kSize:m,kQueue:y,kConnected:w,kConnecting:b,kNeedDrain:k,kKeepAliveDefaultTimeout:D,kHostHeader:R,kPendingIdx:S,kRunningIdx:F,kError:N,kPipelining:v,kKeepAliveTimeoutValue:M,kMaxHeadersSize:U,kKeepAliveMaxTimeout:T,kKeepAliveTimeoutThreshold:L,kHeadersTimeout:x,kBodyTimeout:H,kStrictContentLength:G,kConnector:Y,kMaxRedirections:P,kMaxRequests:J,kCounter:V,kClose:O,kDestroy:$,kDispatch:W,kInterceptors:q,kLocalAddress:z,kMaxResponseSize:j,kOnError:K,kHTTPContext:Z,kMaxConcurrentStreams:X,kResume:ee}=A(5424);const te=A(3010);const Ae=A(1967);let re=false;const ne=Symbol("kClosedResolve");const noop=()=>{};function getPipelining(e){return e[v]??e[Z]?.defaultPipelining??1}class Client extends c{constructor(e,{interceptors:t,maxHeaderSize:A,headersTimeout:r,socketTimeout:i,requestTimeout:a,connectTimeout:c,bodyTimeout:u,idleTimeout:d,keepAlive:E,keepAliveTimeout:Q,maxKeepAliveTimeout:C,keepAliveMaxTimeout:B,keepAliveTimeoutThreshold:p,socketPath:m,pipelining:w,tls:b,strictContentLength:N,maxCachedSessions:V,maxRedirections:O,connect:$,maxRequestsPerClient:W,localAddress:te,maxResponseSize:Ae,autoSelectFamily:oe,autoSelectFamilyAttemptTimeout:ie,maxConcurrentStreams:ae,allowH2:ce,webSocket:le,eventSource:ue}={}){super({webSocket:le,eventSource:ue});if(E!==undefined){throw new l("unsupported keepAlive, use pipelining=0 instead")}if(i!==undefined){throw new l("unsupported socketTimeout, use headersTimeout & bodyTimeout instead")}if(a!==undefined){throw new l("unsupported requestTimeout, use headersTimeout & bodyTimeout instead")}if(d!==undefined){throw new l("unsupported idleTimeout, use keepAliveTimeout instead")}if(C!==undefined){throw new l("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead")}if(A!=null&&!Number.isFinite(A)){throw new l("invalid maxHeaderSize")}if(m!=null&&typeof m!=="string"){throw new l("invalid socketPath")}if(c!=null&&(!Number.isFinite(c)||c<0)){throw new l("invalid connectTimeout")}if(Q!=null&&(!Number.isFinite(Q)||Q<=0)){throw new l("invalid keepAliveTimeout")}if(B!=null&&(!Number.isFinite(B)||B<=0)){throw new l("invalid keepAliveMaxTimeout")}if(p!=null&&!Number.isFinite(p)){throw new l("invalid keepAliveTimeoutThreshold")}if(r!=null&&(!Number.isInteger(r)||r<0)){throw new l("headersTimeout must be a positive integer or zero")}if(u!=null&&(!Number.isInteger(u)||u<0)){throw new l("bodyTimeout must be a positive integer or zero")}if($!=null&&typeof $!=="function"&&typeof $!=="object"){throw new l("connect must be a function or an object")}if(O!=null&&(!Number.isInteger(O)||O<0)){throw new l("maxRedirections must be a positive number")}if(W!=null&&(!Number.isInteger(W)||W<0)){throw new l("maxRequestsPerClient must be a positive number")}if(te!=null&&(typeof te!=="string"||n.isIP(te)===0)){throw new l("localAddress must be valid string IP address")}if(Ae!=null&&(!Number.isInteger(Ae)||Ae<-1)){throw new l("maxResponseSize must be a positive number")}if(ie!=null&&(!Number.isInteger(ie)||ie<-1)){throw new l("autoSelectFamilyAttemptTimeout must be a positive number")}if(ce!=null&&typeof ce!=="boolean"){throw new l("allowH2 must be a valid boolean value")}if(ae!=null&&(typeof ae!=="number"||ae<1)){throw new l("maxConcurrentStreams must be a positive integer, greater than 0")}if(typeof $!=="function"){$=h({...b,maxCachedSessions:V,allowH2:ce,socketPath:m,timeout:c,...oe?{autoSelectFamily:oe,autoSelectFamilyAttemptTimeout:ie}:undefined,...$})}if(t?.Client&&Array.isArray(t.Client)){this[q]=t.Client;if(!re){re=true;process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"})}}else{this[q]=[se({maxRedirections:O})]}this[g]=o.parseOrigin(e);this[Y]=$;this[v]=w!=null?w:1;this[U]=A||s.maxHeaderSize;this[D]=Q==null?4e3:Q;this[T]=B==null?6e5:B;this[L]=p==null?2e3:p;this[M]=this[D];this[f]=null;this[z]=te!=null?te:null;this[I]=0;this[k]=0;this[R]=`host: ${this[g].hostname}${this[g].port?`:${this[g].port}`:""}\r\n`;this[H]=u!=null?u:3e5;this[x]=r!=null?r:3e5;this[G]=N==null?true:N;this[P]=O;this[J]=W;this[ne]=null;this[j]=Ae>-1?Ae:-1;this[X]=ae!=null?ae:100;this[Z]=null;this[y]=[];this[F]=0;this[S]=0;this[ee]=e=>resume(this,e);this[K]=e=>onError(this,e)}get pipelining(){return this[v]}set pipelining(e){this[v]=e;this[ee](true)}get[p](){return this[y].length-this[S]}get[B](){return this[S]-this[F]}get[m](){return this[y].length-this[F]}get[w](){return!!this[Z]&&!this[b]&&!this[Z].destroyed}get[Q](){return Boolean(this[Z]?.busy(null)||this[m]>=(getPipelining(this)||1)||this[p]>0)}[C](e){connect(this);this.once("connect",e)}[W](e,t){const A=e.origin||this[g].origin;const r=new a(A,e,t);this[y].push(r);if(this[I]){}else if(o.bodyLength(r.body)==null&&o.isIterable(r.body)){this[I]=1;queueMicrotask(()=>resume(this))}else{this[ee](true)}if(this[I]&&this[k]!==2&&this[Q]){this[k]=2}return this[k]<2}async[O](){return new Promise(e=>{if(this[m]){this[ne]=e}else{e(null)}})}async[$](e){return new Promise(t=>{const A=this[y].splice(this[S]);for(let t=0;t{if(this[ne]){this[ne]();this[ne]=null}t(null)};if(this[Z]){this[Z].destroy(e,callback);this[Z]=null}else{queueMicrotask(callback)}this[ee]()})}}const se=A(7327);function onError(e,t){if(e[B]===0&&t.code!=="UND_ERR_INFO"&&t.code!=="UND_ERR_SOCKET"){r(e[S]===e[F]);const A=e[y].splice(e[F]);for(let r=0;r{e[Y]({host:t,hostname:A,protocol:s,port:a,servername:e[f],localAddress:e[z]},(e,t)=>{if(e){n(e)}else{r(t)}})});if(e.destroyed){o.destroy(n.on("error",noop),new d);return}r(n);try{e[Z]=n.alpnProtocol==="h2"?await Ae(e,n):await te(e,n)}catch(e){n.destroy().on("error",noop);throw e}e[b]=false;n[V]=0;n[J]=e[J];n[E]=e;n[N]=null;if(i.connected.hasSubscribers){i.connected.publish({connectParams:{host:t,hostname:A,protocol:s,port:a,version:e[Z]?.version,servername:e[f],localAddress:e[z]},connector:e[Y],socket:n})}e.emit("connect",e[g],[e])}catch(n){if(e.destroyed){return}e[b]=false;if(i.connectError.hasSubscribers){i.connectError.publish({connectParams:{host:t,hostname:A,protocol:s,port:a,version:e[Z]?.version,servername:e[f],localAddress:e[z]},connector:e[Y],error:n})}if(n.code==="ERR_TLS_CERT_ALTNAME_INVALID"){r(e[B]===0);while(e[p]>0&&e[y][e[S]].servername===e[f]){const t=e[y][e[S]++];o.errorRequest(e,t,n)}}else{onError(e,n)}e.emit("connectionError",e[g],[e],n)}e[ee]()}function emitDrain(e){e[k]=0;e.emit("drain",e[g],[e])}function resume(e,t){if(e[I]===2){return}e[I]=2;_resume(e,t);e[I]=0;if(e[F]>256){e[y].splice(0,e[F]);e[S]-=e[F];e[F]=0}}function _resume(e,t){while(true){if(e.destroyed){r(e[p]===0);return}if(e[ne]&&!e[m]){e[ne]();e[ne]=null;return}if(e[Z]){e[Z].resume()}if(e[Q]){e[k]=2}else if(e[k]===2){if(t){e[k]=1;queueMicrotask(()=>emitDrain(e))}else{emitDrain(e)}continue}if(e[p]===0){return}if(e[B]>=(getPipelining(e)||1)){return}const A=e[y][e[S]];if(e[g].protocol==="https:"&&e[f]!==A.servername){if(e[B]>0){return}e[f]=A.servername;e[Z]?.destroy(new u("servername changed"),()=>{e[Z]=null;resume(e)})}if(e[b]){return}if(!e[Z]){connect(e);return}if(e[Z].destroyed){return}if(e[Z].busy(A)){return}if(!A.aborted&&e[Z].write(A)){e[S]++}else{e[y].splice(e[S],1)}}}e.exports=Client},6870:(e,t,A)=>{const r=A(4573);const n=A(5030);const{ClientDestroyedError:s,ClientClosedError:o,InvalidArgumentError:i}=A(9934);const{kDestroy:a,kClose:c,kClosed:l,kDestroyed:u,kDispatch:d,kInterceptors:h}=A(5424);const g=Symbol("onDestroyed");const f=Symbol("onClosed");const E=Symbol("Intercepted Dispatch");const Q=Symbol("webSocketOptions");const C=Symbol("eventSourceOptions");class DispatcherBase extends n{constructor(e){super();this[u]=false;this[g]=null;this[l]=false;this[f]=[];this[Q]=e?.webSocket??{};this[C]=e?.eventSource??{}}get webSocketOptions(){return{maxFragments:this[Q].maxFragments??131072,maxPayloadSize:this[Q].maxPayloadSize??128*1024*1024}}get eventSourceOptions(){return{maxEventSize:this[C].maxEventSize??r.kStringMaxLength}}get destroyed(){return this[u]}get closed(){return this[l]}get interceptors(){return this[h]}set interceptors(e){if(e){for(let t=e.length-1;t>=0;t--){const e=this[h][t];if(typeof e!=="function"){throw new i("interceptor must be an function")}}}this[h]=e}close(e){if(e===undefined){return new Promise((e,t)=>{this.close((A,r)=>A?t(A):e(r))})}if(typeof e!=="function"){throw new i("invalid callback")}if(this[u]){queueMicrotask(()=>e(new s,null));return}if(this[l]){if(this[f]){this[f].push(e)}else{queueMicrotask(()=>e(null,null))}return}this[l]=true;this[f].push(e);const onClosed=()=>{const e=this[f];this[f]=null;for(let t=0;tthis.destroy()).then(()=>{queueMicrotask(onClosed)})}destroy(e,t){if(typeof e==="function"){t=e;e=null}if(t===undefined){return new Promise((t,A)=>{this.destroy(e,(e,r)=>e?A(e):t(r))})}if(typeof t!=="function"){throw new i("invalid callback")}if(this[u]){if(this[g]){this[g].push(t)}else{queueMicrotask(()=>t(null,null))}return}if(!e){e=new s}this[u]=true;this[g]=this[g]||[];this[g].push(t);const onDestroyed=()=>{const e=this[g];this[g]=null;for(let t=0;t{queueMicrotask(onDestroyed)})}[E](e,t){if(!this[h]||this[h].length===0){this[E]=this[d];return this[d](e,t)}let A=this[d].bind(this);for(let e=this[h].length-1;e>=0;e--){A=this[h][e](A)}this[E]=A;return A(e,t)}dispatch(e,t){if(!t||typeof t!=="object"){throw new i("handler must be an object")}try{if(!e||typeof e!=="object"){throw new i("opts must be an object.")}if(this[u]||this[g]){throw new s}if(this[l]){throw new o}return this[E](e,t)}catch(e){if(typeof t.onError!=="function"){throw new i("invalid onError method")}t.onError(e);return false}}}e.exports=DispatcherBase},5030:(e,t,A)=>{const r=A(8474);class Dispatcher extends r{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}compose(...e){const t=Array.isArray(e[0])?e[0]:e;let A=this.dispatch.bind(this);for(const e of t){if(e==null){continue}if(typeof e!=="function"){throw new TypeError(`invalid interceptor, expected function received ${typeof e}`)}A=e(A);if(A==null||typeof A!=="function"||A.length!==2){throw new TypeError("invalid interceptor")}}return new ComposedDispatcher(this,A)}}class ComposedDispatcher extends Dispatcher{#A=null;#r=null;constructor(e,t){super();this.#A=e;this.#r=t}dispatch(...e){this.#r(...e)}close(...e){return this.#A.close(...e)}destroy(...e){return this.#A.destroy(...e)}}e.exports=Dispatcher},6920:(e,t,A)=>{const r=A(6870);const{kClose:n,kDestroy:s,kClosed:o,kDestroyed:i,kDispatch:a,kNoProxyAgent:c,kHttpProxyAgent:l,kHttpsProxyAgent:u}=A(5424);const d=A(3747);const h=A(4586);const g={"http:":80,"https:":443};let f=false;class EnvHttpProxyAgent extends r{#n=null;#s=null;#o=null;constructor(e={}){super();this.#o=e;if(!f){f=true;process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.",{code:"UNDICI-EHPA"})}const{httpProxy:t,httpsProxy:A,noProxy:r,...n}=e;this[c]=new h(n);const s=t??process.env.http_proxy??process.env.HTTP_PROXY;if(s){this[l]=new d({...n,uri:s})}else{this[l]=this[c]}const o=A??process.env.https_proxy??process.env.HTTPS_PROXY;if(o){this[u]=new d({...n,uri:o})}else{this[u]=this[l]}this.#i()}[a](e,t){const A=new URL(e.origin);const r=this.#a(A);return r.dispatch(e,t)}async[n](){await this[c].close();if(!this[l][o]){await this[l].close()}if(!this[u][o]){await this[u].close()}}async[s](e){await this[c].destroy(e);if(!this[l][i]){await this[l].destroy(e)}if(!this[u][i]){await this[u].destroy(e)}}#a(e){let{protocol:t,host:A,port:r}=e;A=A.replace(/:\d*$/,"").toLowerCase();r=Number.parseInt(r,10)||g[t]||0;if(!this.#c(A,r)){return this[c]}if(t==="https:"){return this[u]}return this[l]}#c(e,t){if(this.#l){this.#i()}if(this.#s.length===0){return true}if(this.#n==="*"){return false}for(let A=0;A{const t=2048;const A=t-1;class FixedCircularBuffer{constructor(){this.bottom=0;this.top=0;this.list=new Array(t);this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&A)===this.bottom}push(e){this.list[this.top]=e;this.top=this.top+1&A}shift(){const e=this.list[this.bottom];if(e===undefined)return null;this.list[this.bottom]=undefined;this.bottom=this.bottom+1&A;return e}}e.exports=class FixedQueue{constructor(){this.head=this.tail=new FixedCircularBuffer}isEmpty(){return this.head.isEmpty()}push(e){if(this.head.isFull()){this.head=this.head.next=new FixedCircularBuffer}this.head.push(e)}shift(){const e=this.tail;const t=e.shift();if(e.isEmpty()&&e.next!==null){this.tail=e.next}return t}}},627:(e,t,A)=>{const r=A(6870);const n=A(4007);const{kConnected:s,kSize:o,kRunning:i,kPending:a,kQueued:c,kBusy:l,kFree:u,kUrl:d,kClose:h,kDestroy:g,kDispatch:f}=A(5424);const E=A(5871);const Q=Symbol("clients");const C=Symbol("needDrain");const I=Symbol("queue");const B=Symbol("closed resolve");const p=Symbol("onDrain");const m=Symbol("onConnect");const y=Symbol("onDisconnect");const w=Symbol("onConnectionError");const b=Symbol("get dispatcher");const k=Symbol("add client");const D=Symbol("remove client");const R=Symbol("stats");class PoolBase extends r{constructor(e){super(e);this[I]=new n;this[Q]=[];this[c]=0;const t=this;this[p]=function onDrain(e,A){const r=t[I];let n=false;while(!n){const e=r.shift();if(!e){break}t[c]--;n=!this.dispatch(e.opts,e.handler)}this[C]=n;if(!this[C]&&t[C]){t[C]=false;t.emit("drain",e,[t,...A])}if(t[B]&&r.isEmpty()){Promise.all(t[Q].map(e=>e.close())).then(t[B])}};this[m]=(e,A)=>{t.emit("connect",e,[t,...A])};this[y]=(e,A,r)=>{t.emit("disconnect",e,[t,...A],r)};this[w]=(e,A,r)=>{t.emit("connectionError",e,[t,...A],r)};this[R]=new E(this)}get[l](){return this[C]}get[s](){return this[Q].filter(e=>e[s]).length}get[u](){return this[Q].filter(e=>e[s]&&!e[C]).length}get[a](){let e=this[c];for(const{[a]:t}of this[Q]){e+=t}return e}get[i](){let e=0;for(const{[i]:t}of this[Q]){e+=t}return e}get[o](){let e=this[c];for(const{[o]:t}of this[Q]){e+=t}return e}get stats(){return this[R]}async[h](){if(this[I].isEmpty()){await Promise.all(this[Q].map(e=>e.close()))}else{await new Promise(e=>{this[B]=e})}}async[g](e){while(true){const t=this[I].shift();if(!t){break}t.handler.onError(e)}await Promise.all(this[Q].map(t=>t.destroy(e)))}[f](e,t){const A=this[b]();if(!A){this[C]=true;this[I].push({opts:e,handler:t});this[c]++}else if(!A.dispatch(e,t)){A[C]=true;this[C]=!this[b]()}return!this[C]}[k](e){e.on("drain",this[p]).on("connect",this[m]).on("disconnect",this[y]).on("connectionError",this[w]);this[Q].push(e);if(this[C]){queueMicrotask(()=>{if(this[C]){this[p](e[d],[this,e])}})}return this}[D](e){e.close(()=>{const t=this[Q].indexOf(e);if(t!==-1){this[Q].splice(t,1)}});this[C]=this[Q].some(e=>!e[C]&&e.closed!==true&&e.destroyed!==true)}}e.exports={PoolBase:PoolBase,kClients:Q,kNeedDrain:C,kAddClient:k,kRemoveClient:D,kGetDispatcher:b}},5871:(e,t,A)=>{const{kFree:r,kConnected:n,kPending:s,kQueued:o,kRunning:i,kSize:a}=A(5424);const c=Symbol("pool");class PoolStats{constructor(e){this[c]=e}get connected(){return this[c][n]}get free(){return this[c][r]}get pending(){return this[c][s]}get queued(){return this[c][o]}get running(){return this[c][i]}get size(){return this[c][a]}}e.exports=PoolStats},2921:(e,t,A)=>{const{PoolBase:r,kClients:n,kNeedDrain:s,kAddClient:o,kGetDispatcher:i}=A(627);const a=A(7140);const{InvalidArgumentError:c}=A(9934);const l=A(8529);const{kUrl:u,kInterceptors:d}=A(5424);const h=A(951);const g=Symbol("options");const f=Symbol("connections");const E=Symbol("factory");function defaultFactory(e,t){return new a(e,t)}class Pool extends r{constructor(e,{connections:t,factory:A=defaultFactory,connect:r,connectTimeout:s,tls:o,maxCachedSessions:i,socketPath:a,autoSelectFamily:Q,autoSelectFamilyAttemptTimeout:C,allowH2:I,...B}={}){if(t!=null&&(!Number.isFinite(t)||t<0)){throw new c("invalid connections")}if(typeof A!=="function"){throw new c("factory must be a function.")}if(r!=null&&typeof r!=="function"&&typeof r!=="object"){throw new c("connect must be a function or an object")}if(typeof r!=="function"){r=h({...o,maxCachedSessions:i,allowH2:I,socketPath:a,timeout:s,...Q?{autoSelectFamily:Q,autoSelectFamilyAttemptTimeout:C}:undefined,...r})}super(B);this[d]=B.interceptors?.Pool&&Array.isArray(B.interceptors.Pool)?B.interceptors.Pool:[];this[f]=t||null;this[u]=l.parseOrigin(e);this[g]={...l.deepClone(B),connect:r,allowH2:I};this[g].interceptors=B.interceptors?{...B.interceptors}:undefined;this[E]=A;this.on("connectionError",(e,t,A)=>{for(const e of t){const t=this[n].indexOf(e);if(t!==-1){this[n].splice(t,1)}}})}[i](){for(const e of this[n]){if(!e[s]){return e}}if(!this[f]||this[n].length{const{kProxy:r,kClose:n,kDestroy:s,kDispatch:o,kInterceptors:i}=A(5424);const{URL:a}=A(3136);const c=A(4586);const l=A(2921);const u=A(6870);const{InvalidArgumentError:d,RequestAbortedError:h,SecureProxyConnectionError:g}=A(9934);const f=A(951);const E=A(7140);const Q=Symbol("proxy agent");const C=Symbol("proxy client");const I=Symbol("proxy headers");const B=Symbol("request tls settings");const p=Symbol("proxy tls settings");const m=Symbol("connect endpoint function");const y=Symbol("tunnel proxy");function defaultProtocolPort(e){return e==="https:"?443:80}function defaultFactory(e,t){return new l(e,t)}const noop=()=>{};function defaultAgentFactory(e,t){if(t.connections===1){return new E(e,t)}return new l(e,t)}class Http1ProxyWrapper extends u{#d;constructor(e,{headers:t={},connect:A,factory:r}){super();if(!e){throw new d("Proxy URL is mandatory")}this[I]=t;if(r){this.#d=r(e,{connect:A})}else{this.#d=new E(e,{connect:A})}}[o](e,t){const A=t.onHeaders;t.onHeaders=function(e,r,n){if(e===407){if(typeof t.onError==="function"){t.onError(new d("Proxy Authentication Required (407)"))}return}if(A)A.call(this,e,r,n)};const{origin:r,path:n="/",headers:s={}}=e;e.path=r+n;if(!("host"in s)&&!("Host"in s)){const{host:e}=new a(r);s.host=e}e.headers={...this[I],...s};return this.#d[o](e,t)}async[n](){return this.#d.close()}async[s](e){return this.#d.destroy(e)}}class ProxyAgent extends u{constructor(e){super();if(!e||typeof e==="object"&&!(e instanceof a)&&!e.uri){throw new d("Proxy uri is mandatory")}const{clientFactory:t=defaultFactory}=e;if(typeof t!=="function"){throw new d("Proxy opts.clientFactory must be a function.")}const{proxyTunnel:A=true}=e;const n=this.#h(e);const{href:s,origin:o,port:l,protocol:u,username:E,password:w,hostname:b}=n;this[r]={uri:s,protocol:u};this[i]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[];this[B]=e.requestTls;this[p]=e.proxyTls;this[I]=e.headers||{};this[y]=A;if(e.auth&&e.token){throw new d("opts.auth cannot be used in combination with opts.token")}else if(e.auth){this[I]["proxy-authorization"]=`Basic ${e.auth}`}else if(e.token){this[I]["proxy-authorization"]=e.token}else if(E&&w){this[I]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(E)}:${decodeURIComponent(w)}`).toString("base64")}`}const k=f({...e.proxyTls});this[m]=f({...e.requestTls});const D=e.factory||defaultAgentFactory;const factory=(e,t)=>{const{protocol:A}=new a(e);if(!this[y]&&A==="http:"&&this[r].protocol==="http:"){return new Http1ProxyWrapper(this[r].uri,{headers:this[I],connect:k,factory:D})}return D(e,t)};this[C]=t(n,{connect:k});this[Q]=new c({...e,factory:factory,connect:async(e,t)=>{let A=e.host;if(!e.port){A+=`:${defaultProtocolPort(e.protocol)}`}try{const{socket:r,statusCode:n}=await this[C].connect({origin:o,port:l,path:A,signal:e.signal,headers:{...this[I],host:e.host},servername:this[p]?.servername||b});if(n!==200){r.on("error",noop).destroy();t(new h(`Proxy response (${n}) !== 200 when HTTP Tunneling`))}if(e.protocol!=="https:"){t(null,r);return}let s;if(this[B]){s=this[B].servername}else{s=e.servername}this[m]({...e,servername:s,httpSocket:r},t)}catch(e){if(e.code==="ERR_TLS_CERT_ALTNAME_INVALID"){t(new g(e))}else{t(e)}}}})}dispatch(e,t){const A=buildHeaders(e.headers);throwIfProxyAuthIsSent(A);if(A&&!("host"in A)&&!("Host"in A)){const{host:t}=new a(e.origin);A.host=t}return this[Q].dispatch({...e,headers:A},t)}#h(e){if(typeof e==="string"){return new a(e)}else if(e instanceof a){return e}else{return new a(e.uri)}}async[n](){await this[Q].close();await this[C].close()}async[s](){await this[Q].destroy();await this[C].destroy()}}function buildHeaders(e){if(Array.isArray(e)){const t={};for(let A=0;Ae.toLowerCase()==="proxy-authorization");if(t){throw new d("Proxy-Authorization should be sent in ProxyAgent constructor")}}e.exports=ProxyAgent},9089:(e,t,A)=>{const r=A(5030);const n=A(7877);class RetryAgent extends r{#g=null;#f=null;constructor(e,t={}){super(t);this.#g=e;this.#f=t}dispatch(e,t){const A=new n({...e,retryOptions:this.#f},{dispatch:this.#g.dispatch.bind(this.#g),handler:t});return this.#g.dispatch(e,A)}close(){return this.#g.close()}destroy(){return this.#g.destroy()}}e.exports=RetryAgent},4498:(e,t,A)=>{const r=Symbol.for("undici.globalDispatcher.1");const{InvalidArgumentError:n}=A(9934);const s=A(4586);if(getGlobalDispatcher()===undefined){setGlobalDispatcher(new s)}function setGlobalDispatcher(e){if(!e||typeof e.dispatch!=="function"){throw new n("Argument agent must implement Agent")}Object.defineProperty(globalThis,r,{value:e,writable:true,enumerable:false,configurable:false})}function getGlobalDispatcher(){return globalThis[r]}e.exports={setGlobalDispatcher:setGlobalDispatcher,getGlobalDispatcher:getGlobalDispatcher}},4606:e=>{e.exports=class DecoratorHandler{#E;constructor(e){if(typeof e!=="object"||e===null){throw new TypeError("handler must be an object")}this.#E=e}onConnect(...e){return this.#E.onConnect?.(...e)}onError(...e){return this.#E.onError?.(...e)}onUpgrade(...e){return this.#E.onUpgrade?.(...e)}onResponseStarted(...e){return this.#E.onResponseStarted?.(...e)}onHeaders(...e){return this.#E.onHeaders?.(...e)}onData(...e){return this.#E.onData?.(...e)}onComplete(...e){return this.#E.onComplete?.(...e)}onBodySent(...e){return this.#E.onBodySent?.(...e)}}},3669:(e,t,A)=>{const r=A(8529);const{kBodyUsed:n}=A(5424);const s=A(4589);const{InvalidArgumentError:o}=A(9934);const i=A(8474);const a=[300,301,302,303,307,308];const c=Symbol("body");class BodyAsyncIterable{constructor(e){this[c]=e;this[n]=false}async*[Symbol.asyncIterator](){s(!this[n],"disturbed");this[n]=true;yield*this[c]}}class RedirectHandler{constructor(e,t,A,a){if(t!=null&&(!Number.isInteger(t)||t<0)){throw new o("maxRedirections must be a positive number")}r.validateHandler(a,A.method,A.upgrade);this.dispatch=e;this.location=null;this.abort=null;this.opts={...A,maxRedirections:0};this.maxRedirections=t;this.handler=a;this.history=[];this.redirectionLimitReached=false;if(r.isStream(this.opts.body)){if(r.bodyLength(this.opts.body)===0){this.opts.body.on("data",function(){s(false)})}if(typeof this.opts.body.readableDidRead!=="boolean"){this.opts.body[n]=false;i.prototype.on.call(this.opts.body,"data",function(){this[n]=true})}}else if(this.opts.body&&typeof this.opts.body.pipeTo==="function"){this.opts.body=new BodyAsyncIterable(this.opts.body)}else if(this.opts.body&&typeof this.opts.body!=="string"&&!ArrayBuffer.isView(this.opts.body)&&r.isIterable(this.opts.body)){this.opts.body=new BodyAsyncIterable(this.opts.body)}}onConnect(e){this.abort=e;this.handler.onConnect(e,{history:this.history})}onUpgrade(e,t,A){this.handler.onUpgrade(e,t,A)}onError(e){this.handler.onError(e)}onHeaders(e,t,A,n){this.location=this.history.length>=this.maxRedirections||r.isDisturbed(this.opts.body)?null:parseLocation(e,t);if(this.opts.throwOnMaxRedirect&&this.history.length>=this.maxRedirections){if(this.request){this.request.abort(new Error("max redirects"))}this.redirectionLimitReached=true;this.abort(new Error("max redirects"));return}if(this.opts.origin){this.history.push(new URL(this.opts.path,this.opts.origin))}if(!this.location){return this.handler.onHeaders(e,t,A,n)}const{origin:s,pathname:o,search:i}=r.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin)));const a=i?`${o}${i}`:o;this.opts.headers=cleanRequestHeaders(this.opts.headers,e===303,this.opts.origin!==s);this.opts.path=a;this.opts.origin=s;this.opts.maxRedirections=0;this.opts.query=null;if(e===303&&this.opts.method!=="HEAD"){this.opts.method="GET";this.opts.body=null}}onData(e){if(this.location){}else{return this.handler.onData(e)}}onComplete(e){if(this.location){this.location=null;this.abort=null;this.dispatch(this.opts,this)}else{this.handler.onComplete(e)}}onBodySent(e){if(this.handler.onBodySent){this.handler.onBodySent(e)}}}function parseLocation(e,t){if(a.indexOf(e)===-1){return null}for(let e=0;e{const r=A(4589);const{kRetryHandlerDefaultRetry:n}=A(5424);const{RequestRetryError:s}=A(9934);const{isDisturbed:o,parseHeaders:i,parseRangeHeader:a,wrapRequestBody:c}=A(8529);function calculateRetryAfterHeader(e){const t=Date.now();return new Date(e).getTime()-t}function validatePartialResponseContentLength(e,t,A,r){const n=e["content-length"];if(n==null){return null}if(!Number.isFinite(t.start)||!Number.isFinite(t.end)){return null}const o=Number(n);const i=t.end-t.start+1;if(!Number.isFinite(o)||o!==i){return new s("Content-Length mismatch",A,{headers:e,data:{count:r}})}return null}class RetryHandler{constructor(e,t){const{retryOptions:A,...r}=e;const{retry:s,maxRetries:o,maxTimeout:i,minTimeout:a,timeoutFactor:l,methods:u,errorCodes:d,retryAfter:h,statusCodes:g}=A??{};this.dispatch=t.dispatch;this.handler=t.handler;this.opts={...r,body:c(e.body)};this.abort=null;this.aborted=false;this.retryOpts={retry:s??RetryHandler[n],retryAfter:h??true,maxTimeout:i??30*1e3,minTimeout:a??500,timeoutFactor:l??2,maxRetries:o??5,methods:u??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:g??[500,502,503,504,429],errorCodes:d??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE","UND_ERR_SOCKET"]};this.retryCount=0;this.retryCountCheckpoint=0;this.start=0;this.end=null;this.etag=null;this.resume=null;this.headersSent=false;this.handler.onConnect(e=>{this.aborted=true;if(this.abort){this.abort(e)}else{this.reason=e}})}checkpointResponseEnd(e,t){if(this.end==null&&this.opts.method!=="HEAD"){const t=e["content-length"];this.end=t!=null?Number(t)-1:null;r(this.end==null||Number.isFinite(this.end),"invalid content-length")}this.resume=this.end!=null?t:null}onRequestSent(){if(this.handler.onRequestSent){this.handler.onRequestSent()}}onUpgrade(e,t,A){if(this.handler.onUpgrade){this.handler.onUpgrade(e,t,A)}}onConnect(e){if(this.aborted){e(this.reason)}else{this.abort=e}}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[n](e,{state:t,opts:A},r){const{statusCode:n,code:s,headers:o}=e;const{method:i,retryOptions:a}=A;const{maxRetries:c,minTimeout:l,maxTimeout:u,timeoutFactor:d,statusCodes:h,errorCodes:g,methods:f}=a;const{counter:E}=t;if(s&&s!=="UND_ERR_REQ_RETRY"&&!g.includes(s)){r(e);return}if(Array.isArray(f)&&!f.includes(i)){r(e);return}if(n!=null&&Array.isArray(h)&&!h.includes(n)){r(e);return}if(E>c){r(e);return}let Q=o?.["retry-after"];if(Q){Q=Number(Q);Q=Number.isNaN(Q)?calculateRetryAfterHeader(Q):Q*1e3}const C=Q>0?Math.min(Q,u):Math.min(l*d**(E-1),u);setTimeout(()=>r(null),C)}onHeaders(e,t,A,n){const o=i(t);this.retryCount+=1;if(e>=300){if(!this.headersSent&&this.retryOpts.statusCodes.includes(e)===false){this.headersSent=true;this.checkpointResponseEnd(o,A);return this.handler.onHeaders(e,t,A,n)}else{this.abort(new s("Request failed",e,{headers:o,data:{count:this.retryCount}}));return false}}if(this.resume!=null){this.resume=null;if(e!==206&&(this.start>0||e!==200)){this.abort(new s("server does not support the range header and the payload was partially consumed",e,{headers:o,data:{count:this.retryCount}}));return false}const t=a(o["content-range"]);if(!t){this.abort(new s("Content-Range mismatch",e,{headers:o,data:{count:this.retryCount}}));return false}if(this.etag!=null&&this.etag!==o.etag){this.abort(new s("ETag mismatch",e,{headers:o,data:{count:this.retryCount}}));return false}const r=validatePartialResponseContentLength(o,t,e,this.retryCount);if(r!=null){this.abort(r);return false}const{start:n,size:i,end:c=i-1}=t;if(this.start!==n||this.end!=null&&this.end!==c){this.abort(new s("Content-Range mismatch",e,{headers:o,data:{count:this.retryCount}}));return false}this.resume=A;return true}if(this.end==null){if(e===206){const s=a(o["content-range"]);if(s==null){this.headersSent=true;return this.handler.onHeaders(e,t,A,n)}const i=validatePartialResponseContentLength(o,s,e,this.retryCount);if(i!=null){this.abort(i);return false}const{start:c,size:l,end:u=l-1}=s;r(c!=null&&Number.isFinite(c),"content-range mismatch");r(u!=null&&Number.isFinite(u),"invalid content-length");this.start=c;this.end=u}if(this.end==null){const e=o["content-length"];this.end=e!=null?Number(e)-1:null}r(Number.isFinite(this.start));r(this.end==null||Number.isFinite(this.end),"invalid content-length");this.resume=A;this.headersSent=true;this.etag=o.etag!=null?o.etag:null;if(this.etag!=null&&this.etag.startsWith("W/")){this.etag=null}return this.handler.onHeaders(e,t,A,n)}const c=new s("Request failed",e,{headers:o,data:{count:this.retryCount}});this.abort(c);return false}onData(e){this.start+=e.length;return this.handler.onData(e)}onComplete(e){this.retryCount=0;return this.handler.onComplete(e)}onError(e){if(this.aborted||o(this.opts.body)||this.headersSent&&this.resume==null){return this.handler.onError(e)}if(this.retryCount-this.retryCountCheckpoint>0){this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint)}else{this.retryCount+=1}this.retryOpts.retry(e,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},onRetry.bind(this));function onRetry(e){if(e!=null||this.aborted||o(this.opts.body)){return this.handler.onError(e)}if(this.start!==0){const e={range:`bytes=${this.start}-${this.end??""}`};if(this.etag!=null){e["if-match"]=this.etag}this.opts={...this.opts,headers:{...this.opts.headers,...e}}}try{this.retryCountCheckpoint=this.retryCount;this.dispatch(this.opts,this)}catch(e){this.handler.onError(e)}}}}e.exports=RetryHandler},6814:(e,t,A)=>{const{isIP:r}=A(7030);const{lookup:n}=A(610);const s=A(4606);const{InvalidArgumentError:o,InformationalError:i}=A(9934);const a=Math.pow(2,31)-1;class DNSInstance{#Q=0;#C=0;#I=new Map;dualStack=true;affinity=null;lookup=null;pick=null;constructor(e){this.#Q=e.maxTTL;this.#C=e.maxItems;this.dualStack=e.dualStack;this.affinity=e.affinity;this.lookup=e.lookup??this.#B;this.pick=e.pick??this.#p}get full(){return this.#I.size===this.#C}runLookup(e,t,A){const r=this.#I.get(e.hostname);if(r==null&&this.full){A(null,e.origin);return}const n={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...t.dns,maxTTL:this.#Q,maxItems:this.#C};if(r==null){this.lookup(e,n,(t,r)=>{if(t||r==null||r.length===0){A(t??new i("No DNS entries found"));return}this.setRecords(e,r);const s=this.#I.get(e.hostname);const o=this.pick(e,s,n.affinity);let a;if(typeof o.port==="number"){a=`:${o.port}`}else if(e.port!==""){a=`:${e.port}`}else{a=""}A(null,`${e.protocol}//${o.family===6?`[${o.address}]`:o.address}${a}`)})}else{const s=this.pick(e,r,n.affinity);if(s==null){this.#I.delete(e.hostname);this.runLookup(e,t,A);return}let o;if(typeof s.port==="number"){o=`:${s.port}`}else if(e.port!==""){o=`:${e.port}`}else{o=""}A(null,`${e.protocol}//${s.family===6?`[${s.address}]`:s.address}${o}`)}}#B(e,t,A){n(e.hostname,{all:true,family:this.dualStack===false?this.affinity:0,order:"ipv4first"},(e,t)=>{if(e){return A(e)}const r=new Map;for(const e of t){r.set(`${e.address}:${e.family}`,e)}A(null,r.values())})}#p(e,t,A){let r=null;const{records:n,offset:s}=t;let o;if(this.dualStack){if(A==null){if(s==null||s===a){t.offset=0;A=4}else{t.offset++;A=(t.offset&1)===1?6:4}}if(n[A]!=null&&n[A].ips.length>0){o=n[A]}else{o=n[A===4?6:4]}}else{o=n[A]}if(o==null||o.ips.length===0){return r}if(o.offset==null||o.offset===a){o.offset=0}else{o.offset++}const i=o.offset%o.ips.length;r=o.ips[i]??null;if(r==null){return r}if(Date.now()-r.timestamp>r.ttl){o.ips.splice(i,1);return this.pick(e,t,A)}return r}setRecords(e,t){const A=Date.now();const r={records:{4:null,6:null}};for(const e of t){e.timestamp=A;if(typeof e.ttl==="number"){e.ttl=Math.min(e.ttl,this.#Q)}else{e.ttl=this.#Q}const t=r.records[e.family]??{ips:[]};t.ips.push(e);r.records[e.family]=t}this.#I.set(e.hostname,r)}getHandler(e,t){return new DNSDispatchHandler(this,e,t)}}class DNSDispatchHandler extends s{#m=null;#o=null;#r=null;#E=null;#y=null;constructor(e,{origin:t,handler:A,dispatch:r},n){super(A);this.#y=t;this.#E=A;this.#o={...n};this.#m=e;this.#r=r}onError(e){switch(e.code){case"ETIMEDOUT":case"ECONNREFUSED":{if(this.#m.dualStack){this.#m.runLookup(this.#y,this.#o,(e,t)=>{if(e){return this.#E.onError(e)}const A={...this.#o,origin:t};this.#r(A,this)});return}this.#E.onError(e);return}case"ENOTFOUND":this.#m.deleteRecord(this.#y);default:this.#E.onError(e);break}}}e.exports=e=>{if(e?.maxTTL!=null&&(typeof e?.maxTTL!=="number"||e?.maxTTL<0)){throw new o("Invalid maxTTL. Must be a positive number")}if(e?.maxItems!=null&&(typeof e?.maxItems!=="number"||e?.maxItems<1)){throw new o("Invalid maxItems. Must be a positive number and greater than zero")}if(e?.affinity!=null&&e?.affinity!==4&&e?.affinity!==6){throw new o("Invalid affinity. Must be either 4 or 6")}if(e?.dualStack!=null&&typeof e?.dualStack!=="boolean"){throw new o("Invalid dualStack. Must be a boolean")}if(e?.lookup!=null&&typeof e?.lookup!=="function"){throw new o("Invalid lookup. Must be a function")}if(e?.pick!=null&&typeof e?.pick!=="function"){throw new o("Invalid pick. Must be a function")}const t=e?.dualStack??true;let A;if(t){A=e?.affinity??null}else{A=e?.affinity??4}const n={maxTTL:e?.maxTTL??1e4,lookup:e?.lookup??null,pick:e?.pick??null,dualStack:t,affinity:A,maxItems:e?.maxItems??Infinity};const s=new DNSInstance(n);return e=>function dnsInterceptor(t,A){const n=t.origin.constructor===URL?t.origin:new URL(t.origin);if(r(n.hostname)!==0){return e(t,A)}s.runLookup(n,t,(r,o)=>{if(r){return A.onError(r)}let i=null;i={...t,servername:n.hostname,origin:o,headers:{host:n.hostname,...t.headers}};e(i,s.getHandler({origin:n,dispatch:e,handler:A},t))});return true}}},7407:(e,t,A)=>{const r=A(8529);const{InvalidArgumentError:n,RequestAbortedError:s}=A(9934);const o=A(4606);class DumpHandler extends o{#w=1024*1024;#b=null;#k=false;#D=false;#R=0;#S=null;#E=null;constructor({maxSize:e},t){super(t);if(e!=null&&(!Number.isFinite(e)||e<1)){throw new n("maxSize must be a number greater than 0")}this.#w=e??this.#w;this.#E=t}onConnect(e){this.#b=e;this.#E.onConnect(this.#F.bind(this))}#F(e){this.#D=true;this.#S=e}onHeaders(e,t,A,n){const o=r.parseHeaders(t);const i=o["content-length"];if(i!=null&&i>this.#w){throw new s(`Response size (${i}) larger than maxSize (${this.#w})`)}if(this.#D){return true}return this.#E.onHeaders(e,t,A,n)}onError(e){if(this.#k){return}e=this.#S??e;this.#E.onError(e)}onData(e){this.#R=this.#R+e.length;if(this.#R>=this.#w){this.#k=true;if(this.#D){this.#E.onError(this.#S)}else{this.#E.onComplete([])}}return true}onComplete(e){if(this.#k){return}if(this.#D){this.#E.onError(this.reason);return}this.#E.onComplete(e)}}function createDumpInterceptor({maxSize:e}={maxSize:1024*1024}){return t=>function Intercept(A,r){const{dumpMaxSize:n=e}=A;const s=new DumpHandler({maxSize:n},r);return t(A,s)}}e.exports=createDumpInterceptor},7327:(e,t,A)=>{const r=A(3669);function createRedirectInterceptor({maxRedirections:e}){return t=>function Intercept(A,n){const{maxRedirections:s=e}=A;if(!s){return t(A,n)}const o=new r(t,s,A,n);A={...A,maxRedirections:0};return t(A,o)}}e.exports=createRedirectInterceptor},910:(e,t,A)=>{const r=A(3669);e.exports=e=>{const t=e?.maxRedirections;return e=>function redirectInterceptor(A,n){const{maxRedirections:s=t,...o}=A;if(!s){return e(A,n)}const i=new r(e,s,A,n);return e(o,i)}}},2503:(e,t,A)=>{const r=A(7877);e.exports=e=>t=>function retryInterceptor(A,n){return t(A,new r({...A,retryOptions:{...e,...A.retryOptions}},{handler:n,dispatch:t}))}},2811:(e,t,A)=>{Object.defineProperty(t,"__esModule",{value:true});t.SPECIAL_HEADERS=t.HEADER_STATE=t.MINOR=t.MAJOR=t.CONNECTION_TOKEN_CHARS=t.HEADER_CHARS=t.TOKEN=t.STRICT_TOKEN=t.HEX=t.URL_CHAR=t.STRICT_URL_CHAR=t.USERINFO_CHARS=t.MARK=t.ALPHANUM=t.NUM=t.HEX_MAP=t.NUM_MAP=t.ALPHA=t.FINISH=t.H_METHOD_MAP=t.METHOD_MAP=t.METHODS_RTSP=t.METHODS_ICE=t.METHODS_HTTP=t.METHODS=t.LENIENT_FLAGS=t.FLAGS=t.TYPE=t.ERROR=void 0;const r=A(6683);var n;(function(e){e[e["OK"]=0]="OK";e[e["INTERNAL"]=1]="INTERNAL";e[e["STRICT"]=2]="STRICT";e[e["LF_EXPECTED"]=3]="LF_EXPECTED";e[e["UNEXPECTED_CONTENT_LENGTH"]=4]="UNEXPECTED_CONTENT_LENGTH";e[e["CLOSED_CONNECTION"]=5]="CLOSED_CONNECTION";e[e["INVALID_METHOD"]=6]="INVALID_METHOD";e[e["INVALID_URL"]=7]="INVALID_URL";e[e["INVALID_CONSTANT"]=8]="INVALID_CONSTANT";e[e["INVALID_VERSION"]=9]="INVALID_VERSION";e[e["INVALID_HEADER_TOKEN"]=10]="INVALID_HEADER_TOKEN";e[e["INVALID_CONTENT_LENGTH"]=11]="INVALID_CONTENT_LENGTH";e[e["INVALID_CHUNK_SIZE"]=12]="INVALID_CHUNK_SIZE";e[e["INVALID_STATUS"]=13]="INVALID_STATUS";e[e["INVALID_EOF_STATE"]=14]="INVALID_EOF_STATE";e[e["INVALID_TRANSFER_ENCODING"]=15]="INVALID_TRANSFER_ENCODING";e[e["CB_MESSAGE_BEGIN"]=16]="CB_MESSAGE_BEGIN";e[e["CB_HEADERS_COMPLETE"]=17]="CB_HEADERS_COMPLETE";e[e["CB_MESSAGE_COMPLETE"]=18]="CB_MESSAGE_COMPLETE";e[e["CB_CHUNK_HEADER"]=19]="CB_CHUNK_HEADER";e[e["CB_CHUNK_COMPLETE"]=20]="CB_CHUNK_COMPLETE";e[e["PAUSED"]=21]="PAUSED";e[e["PAUSED_UPGRADE"]=22]="PAUSED_UPGRADE";e[e["PAUSED_H2_UPGRADE"]=23]="PAUSED_H2_UPGRADE";e[e["USER"]=24]="USER"})(n=t.ERROR||(t.ERROR={}));var s;(function(e){e[e["BOTH"]=0]="BOTH";e[e["REQUEST"]=1]="REQUEST";e[e["RESPONSE"]=2]="RESPONSE"})(s=t.TYPE||(t.TYPE={}));var o;(function(e){e[e["CONNECTION_KEEP_ALIVE"]=1]="CONNECTION_KEEP_ALIVE";e[e["CONNECTION_CLOSE"]=2]="CONNECTION_CLOSE";e[e["CONNECTION_UPGRADE"]=4]="CONNECTION_UPGRADE";e[e["CHUNKED"]=8]="CHUNKED";e[e["UPGRADE"]=16]="UPGRADE";e[e["CONTENT_LENGTH"]=32]="CONTENT_LENGTH";e[e["SKIPBODY"]=64]="SKIPBODY";e[e["TRAILING"]=128]="TRAILING";e[e["TRANSFER_ENCODING"]=512]="TRANSFER_ENCODING"})(o=t.FLAGS||(t.FLAGS={}));var i;(function(e){e[e["HEADERS"]=1]="HEADERS";e[e["CHUNKED_LENGTH"]=2]="CHUNKED_LENGTH";e[e["KEEP_ALIVE"]=4]="KEEP_ALIVE"})(i=t.LENIENT_FLAGS||(t.LENIENT_FLAGS={}));var a;(function(e){e[e["DELETE"]=0]="DELETE";e[e["GET"]=1]="GET";e[e["HEAD"]=2]="HEAD";e[e["POST"]=3]="POST";e[e["PUT"]=4]="PUT";e[e["CONNECT"]=5]="CONNECT";e[e["OPTIONS"]=6]="OPTIONS";e[e["TRACE"]=7]="TRACE";e[e["COPY"]=8]="COPY";e[e["LOCK"]=9]="LOCK";e[e["MKCOL"]=10]="MKCOL";e[e["MOVE"]=11]="MOVE";e[e["PROPFIND"]=12]="PROPFIND";e[e["PROPPATCH"]=13]="PROPPATCH";e[e["SEARCH"]=14]="SEARCH";e[e["UNLOCK"]=15]="UNLOCK";e[e["BIND"]=16]="BIND";e[e["REBIND"]=17]="REBIND";e[e["UNBIND"]=18]="UNBIND";e[e["ACL"]=19]="ACL";e[e["REPORT"]=20]="REPORT";e[e["MKACTIVITY"]=21]="MKACTIVITY";e[e["CHECKOUT"]=22]="CHECKOUT";e[e["MERGE"]=23]="MERGE";e[e["M-SEARCH"]=24]="M-SEARCH";e[e["NOTIFY"]=25]="NOTIFY";e[e["SUBSCRIBE"]=26]="SUBSCRIBE";e[e["UNSUBSCRIBE"]=27]="UNSUBSCRIBE";e[e["PATCH"]=28]="PATCH";e[e["PURGE"]=29]="PURGE";e[e["MKCALENDAR"]=30]="MKCALENDAR";e[e["LINK"]=31]="LINK";e[e["UNLINK"]=32]="UNLINK";e[e["SOURCE"]=33]="SOURCE";e[e["PRI"]=34]="PRI";e[e["DESCRIBE"]=35]="DESCRIBE";e[e["ANNOUNCE"]=36]="ANNOUNCE";e[e["SETUP"]=37]="SETUP";e[e["PLAY"]=38]="PLAY";e[e["PAUSE"]=39]="PAUSE";e[e["TEARDOWN"]=40]="TEARDOWN";e[e["GET_PARAMETER"]=41]="GET_PARAMETER";e[e["SET_PARAMETER"]=42]="SET_PARAMETER";e[e["REDIRECT"]=43]="REDIRECT";e[e["RECORD"]=44]="RECORD";e[e["FLUSH"]=45]="FLUSH"})(a=t.METHODS||(t.METHODS={}));t.METHODS_HTTP=[a.DELETE,a.GET,a.HEAD,a.POST,a.PUT,a.CONNECT,a.OPTIONS,a.TRACE,a.COPY,a.LOCK,a.MKCOL,a.MOVE,a.PROPFIND,a.PROPPATCH,a.SEARCH,a.UNLOCK,a.BIND,a.REBIND,a.UNBIND,a.ACL,a.REPORT,a.MKACTIVITY,a.CHECKOUT,a.MERGE,a["M-SEARCH"],a.NOTIFY,a.SUBSCRIBE,a.UNSUBSCRIBE,a.PATCH,a.PURGE,a.MKCALENDAR,a.LINK,a.UNLINK,a.PRI,a.SOURCE];t.METHODS_ICE=[a.SOURCE];t.METHODS_RTSP=[a.OPTIONS,a.DESCRIBE,a.ANNOUNCE,a.SETUP,a.PLAY,a.PAUSE,a.TEARDOWN,a.GET_PARAMETER,a.SET_PARAMETER,a.REDIRECT,a.RECORD,a.FLUSH,a.GET,a.POST];t.METHOD_MAP=r.enumToMap(a);t.H_METHOD_MAP={};Object.keys(t.METHOD_MAP).forEach(e=>{if(/^H/.test(e)){t.H_METHOD_MAP[e]=t.METHOD_MAP[e]}});var c;(function(e){e[e["SAFE"]=0]="SAFE";e[e["SAFE_WITH_CB"]=1]="SAFE_WITH_CB";e[e["UNSAFE"]=2]="UNSAFE"})(c=t.FINISH||(t.FINISH={}));t.ALPHA=[];for(let e="A".charCodeAt(0);e<="Z".charCodeAt(0);e++){t.ALPHA.push(String.fromCharCode(e));t.ALPHA.push(String.fromCharCode(e+32))}t.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};t.HEX_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15};t.NUM=["0","1","2","3","4","5","6","7","8","9"];t.ALPHANUM=t.ALPHA.concat(t.NUM);t.MARK=["-","_",".","!","~","*","'","(",")"];t.USERINFO_CHARS=t.ALPHANUM.concat(t.MARK).concat(["%",";",":","&","=","+","$",","]);t.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(t.ALPHANUM);t.URL_CHAR=t.STRICT_URL_CHAR.concat(["\t","\f"]);for(let e=128;e<=255;e++){t.URL_CHAR.push(e)}t.HEX=t.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);t.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(t.ALPHANUM);t.TOKEN=t.STRICT_TOKEN.concat([" "]);t.HEADER_CHARS=["\t"];for(let e=32;e<=255;e++){if(e!==127){t.HEADER_CHARS.push(e)}}t.CONNECTION_TOKEN_CHARS=t.HEADER_CHARS.filter(e=>e!==44);t.MAJOR=t.NUM_MAP;t.MINOR=t.MAJOR;var l;(function(e){e[e["GENERAL"]=0]="GENERAL";e[e["CONNECTION"]=1]="CONNECTION";e[e["CONTENT_LENGTH"]=2]="CONTENT_LENGTH";e[e["TRANSFER_ENCODING"]=3]="TRANSFER_ENCODING";e[e["UPGRADE"]=4]="UPGRADE";e[e["CONNECTION_KEEP_ALIVE"]=5]="CONNECTION_KEEP_ALIVE";e[e["CONNECTION_CLOSE"]=6]="CONNECTION_CLOSE";e[e["CONNECTION_UPGRADE"]=7]="CONNECTION_UPGRADE";e[e["TRANSFER_ENCODING_CHUNKED"]=8]="TRANSFER_ENCODING_CHUNKED"})(l=t.HEADER_STATE||(t.HEADER_STATE={}));t.SPECIAL_HEADERS={connection:l.CONNECTION,"content-length":l.CONTENT_LENGTH,"proxy-connection":l.CONNECTION,"transfer-encoding":l.TRANSFER_ENCODING,upgrade:l.UPGRADE}},5381:(e,t,A)=>{const{Buffer:r}=A(4573);e.exports=r.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAy0sBQYAAAIAAAAAAAACAQIAAgICAAADAAAAAAMDAwMBAQEBAQEBAQEAAAIAAAAEBQFwARISBQMBAAIGCAF/AUGA1AQLB9EFIgZtZW1vcnkCAAtfaW5pdGlhbGl6ZQAIGV9faW5kaXJlY3RfZnVuY3Rpb25fdGFibGUBAAtsbGh0dHBfaW5pdAAJGGxsaHR0cF9zaG91bGR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QEhAwykAgtBASABLQAAQd8ARw1nGiABQQFqIQEMXgtBigEhAyABIARGDaICIAIoAgAiACAEIAFraiEFIAEgAGtBAWohBgNAIAEtAAAgAEGMzwBqLQAARw1kIABBAUYN+gEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMogILQYsBIQMgASAERg2hAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGOzwBqLQAARw1kIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyiAgsgAkEANgIAIAZBAWohAUECDGULQYwBIQMgASAERg2gAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHwzwBqLQAARw1jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyhAgsgAkEANgIAIAZBAWohAUEfDGQLQY0BIQMgASAERg2fAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHyzwBqLQAARw1iIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAygAgsgAkEANgIAIAZBAWohAUEJDGMLIAEgBEYEQEGOASEDDJ8CCwJAAkAgAS0AAEHJAGsOBwBiYmJiYgFiCyABQQFqIQFB+AAhAwyGAgsgAUEBaiEBQfkAIQMMhQILQY8BIQMgASAERg2dAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGRzwBqLQAARw1gIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyeAgsgAkEANgIAIAZBAWohAUEYDGELQZABIQMgASAERg2cAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGXzwBqLQAARw1fIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAydAgsgAkEANgIAIAZBAWohAUEXDGALQZEBIQMgASAERg2bAiACKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIAEtAAAgAEGazwBqLQAARw1eI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gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJBADYCHCACIAE2AhQgAkH3CTYCECACQQg2AgwMoAELIAJBADYCACAGQQFqIQEgAi0AKUEhRg0DIAJBADYCHCACIAE2AhQgAkGbCjYCECACQQg2AgxBACEDDJ8BCyACQQA2AgALQQAhAyACQQA2AhwgAiABNgIUIAJBkDM2AhAgAkEINgIMDJ0BCyACQQA2A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dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJBADYCHCACIAE2AhQgAkH3CTYCECACQQg2AgwMoAELIAJBADYCACAGQQFqIQEgAi0AKUEhRg0DIAJBADYCHCACIAE2AhQgAkGbCjYCECACQQg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AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQBB+sgACwQBAAACAEGQyQALXwMEAAAEBAQEBAQEBAQEBAUEBAQEBAQEBAQEBAQABAAGBwQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEAAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAEAEH6ygALBAEAAAEAQZDLAAsBAQBBqssAC0ECAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBB+swACwQBAAABAEGQzQALAQEAQZrNAAsGAgAAAAACAEGxzQALOgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQfDOAAuWAU5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")},6683:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.enumToMap=void 0;function enumToMap(e){const t={};Object.keys(e).forEach(A=>{const r=e[A];if(typeof r==="number"){t[A]=r}});return t}t.enumToMap=enumToMap},8444:(e,t,A)=>{const{kClients:r}=A(5424);const n=A(4586);const{kAgent:s,kMockAgentSet:o,kMockAgentGet:i,kDispatches:a,kIsMockActive:c,kNetConnect:l,kGetNetConnect:u,kOptions:d,kFactory:h}=A(2104);const g=A(8570);const f=A(3927);const{matchValue:E,buildMockOptions:Q}=A(7532);const{InvalidArgumentError:C,UndiciError:I}=A(9934);const B=A(5030);const p=A(2492);const m=A(4955);class MockAgent extends B{constructor(e){super(e);this[l]=true;this[c]=true;if(e?.agent&&typeof e.agent.dispatch!=="function"){throw new C("Argument opts.agent must implement Agent")}const t=e?.agent?e.agent:new n(e);this[s]=t;this[r]=t[r];this[d]=Q(e)}get(e){let t=this[i](e);if(!t){t=this[h](e);this[o](e,t)}return t}dispatch(e,t){this.get(e.origin);return this[s].dispatch(e,t)}async close(){await this[s].close();this[r].clear()}deactivate(){this[c]=false}activate(){this[c]=true}enableNetConnect(e){if(typeof e==="string"||typeof e==="function"||e instanceof RegExp){if(Array.isArray(this[l])){this[l].push(e)}else{this[l]=[e]}}else if(typeof e==="undefined"){this[l]=true}else{throw new C("Unsupported matcher. Must be one of String|Function|RegExp.")}}disableNetConnect(){this[l]=false}get isMockActive(){return this[c]}[o](e,t){this[r].set(e,t)}[h](e){const t=Object.assign({agent:this},this[d]);return this[d]&&this[d].connections===1?new g(e,t):new f(e,t)}[i](e){const t=this[r].get(e);if(t){return t}if(typeof e!=="string"){const t=this[h]("http://localhost:9999");this[o](e,t);return t}for(const[t,A]of Array.from(this[r])){if(A&&typeof t!=="string"&&E(t,e)){const t=this[h](e);this[o](e,t);t[a]=A[a];return t}}}[u](){return this[l]}pendingInterceptors(){const e=this[r];return Array.from(e.entries()).flatMap(([e,t])=>t[a].map(t=>({...t,origin:e}))).filter(({pending:e})=>e)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new m}={}){const t=this.pendingInterceptors();if(t.length===0){return}const A=new p("interceptor","interceptors").pluralize(t.length);throw new I(`\n${A.count} ${A.noun} ${A.is} pending:\n\n${e.format(t)}\n`.trim())}}e.exports=MockAgent},8570:(e,t,A)=>{const{promisify:r}=A(7975);const n=A(7140);const{buildMockDispatch:s}=A(7532);const{kDispatches:o,kMockAgent:i,kClose:a,kOriginalClose:c,kOrigin:l,kOriginalDispatch:u,kConnected:d}=A(2104);const{MockInterceptor:h}=A(9478);const g=A(5424);const{InvalidArgumentError:f}=A(9934);class MockClient extends n{constructor(e,t){super(e,t);if(!t||!t.agent||typeof t.agent.dispatch!=="function"){throw new f("Argument opts.agent must implement Agent")}this[i]=t.agent;this[l]=e;this[o]=[];this[d]=1;this[u]=this.dispatch;this[c]=this.close.bind(this);this.dispatch=s.call(this);this.close=this[a]}get[g.kConnected](){return this[d]}intercept(e){return new h(e,this[o])}async[a](){await r(this[c])();this[d]=0;this[i][g.kClients].delete(this[l])}}e.exports=MockClient},9654:(e,t,A)=>{const{UndiciError:r}=A(9934);const n=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED");class MockNotMatchedError extends r{constructor(e){super(e);Error.captureStackTrace(this,MockNotMatchedError);this.name="MockNotMatchedError";this.message=e||"The request does not match any registered mock dispatches";this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}static[Symbol.hasInstance](e){return e&&e[n]===true}[n]=true}e.exports={MockNotMatchedError:MockNotMatchedError}},9478:(e,t,A)=>{const{getResponseData:r,buildKey:n,addMockDispatch:s}=A(7532);const{kDispatches:o,kDispatchKey:i,kDefaultHeaders:a,kDefaultTrailers:c,kContentLength:l,kMockDispatch:u}=A(2104);const{InvalidArgumentError:d}=A(9934);const{buildURL:h}=A(8529);class MockScope{constructor(e){this[u]=e}delay(e){if(typeof e!=="number"||!Number.isInteger(e)||e<=0){throw new d("waitInMs must be a valid integer > 0")}this[u].delay=e;return this}persist(){this[u].persist=true;return this}times(e){if(typeof e!=="number"||!Number.isInteger(e)||e<=0){throw new d("repeatTimes must be a valid integer > 0")}this[u].times=e;return this}}class MockInterceptor{constructor(e,t){if(typeof e!=="object"){throw new d("opts must be an object")}if(typeof e.path==="undefined"){throw new d("opts.path must be defined")}if(typeof e.method==="undefined"){e.method="GET"}if(typeof e.path==="string"){if(e.query){e.path=h(e.path,e.query)}else{const t=new URL(e.path,"data://");e.path=t.pathname+t.search}}if(typeof e.method==="string"){e.method=e.method.toUpperCase()}this[i]=n(e);this[o]=t;this[a]={};this[c]={};this[l]=false}createMockScopeDispatchData({statusCode:e,data:t,responseOptions:A}){const n=r(t);const s=this[l]?{"content-length":n.length}:{};const o={...this[a],...s,...A.headers};const i={...this[c],...A.trailers};return{statusCode:e,data:t,headers:o,trailers:i}}validateReplyParameters(e){if(typeof e.statusCode==="undefined"){throw new d("statusCode must be defined")}if(typeof e.responseOptions!=="object"||e.responseOptions===null){throw new d("responseOptions must be an object")}}reply(e){if(typeof e==="function"){const wrappedDefaultsCallback=t=>{const A=e(t);if(typeof A!=="object"||A===null){throw new d("reply options callback must return an object")}const r={data:"",responseOptions:{},...A};this.validateReplyParameters(r);return{...this.createMockScopeDispatchData(r)}};const t=s(this[o],this[i],wrappedDefaultsCallback);return new MockScope(t)}const t={statusCode:e,data:arguments[1]===undefined?"":arguments[1],responseOptions:arguments[2]===undefined?{}:arguments[2]};this.validateReplyParameters(t);const A=this.createMockScopeDispatchData(t);const r=s(this[o],this[i],A);return new MockScope(r)}replyWithError(e){if(typeof e==="undefined"){throw new d("error must be defined")}const t=s(this[o],this[i],{error:e});return new MockScope(t)}defaultReplyHeaders(e){if(typeof e==="undefined"){throw new d("headers must be defined")}this[a]=e;return this}defaultReplyTrailers(e){if(typeof e==="undefined"){throw new d("trailers must be defined")}this[c]=e;return this}replyContentLength(){this[l]=true;return this}}e.exports.MockInterceptor=MockInterceptor;e.exports.MockScope=MockScope},3927:(e,t,A)=>{const{promisify:r}=A(7975);const n=A(2921);const{buildMockDispatch:s}=A(7532);const{kDispatches:o,kMockAgent:i,kClose:a,kOriginalClose:c,kOrigin:l,kOriginalDispatch:u,kConnected:d}=A(2104);const{MockInterceptor:h}=A(9478);const g=A(5424);const{InvalidArgumentError:f}=A(9934);class MockPool extends n{constructor(e,t){super(e,t);if(!t||!t.agent||typeof t.agent.dispatch!=="function"){throw new f("Argument opts.agent must implement Agent")}this[i]=t.agent;this[l]=e;this[o]=[];this[d]=1;this[u]=this.dispatch;this[c]=this.close.bind(this);this.dispatch=s.call(this);this.close=this[a]}get[g.kConnected](){return this[d]}intercept(e){return new h(e,this[o])}async[a](){await r(this[c])();this[d]=0;this[i][g.kClients].delete(this[l])}}e.exports=MockPool},2104:e=>{e.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected")}},7532:(e,t,A)=>{const{MockNotMatchedError:r}=A(9654);const{kDispatches:n,kMockAgent:s,kOriginalDispatch:o,kOrigin:i,kGetNetConnect:a}=A(2104);const{buildURL:c}=A(8529);const{STATUS_CODES:l}=A(7067);const{types:{isPromise:u}}=A(7975);function matchValue(e,t){if(typeof e==="string"){return e===t}if(e instanceof RegExp){return e.test(t)}if(typeof e==="function"){return e(t)===true}return false}function lowerCaseEntries(e){return Object.fromEntries(Object.entries(e).map(([e,t])=>[e.toLocaleLowerCase(),t]))}function getHeaderByName(e,t){if(Array.isArray(e)){for(let A=0;A!e).filter(({path:e})=>matchValue(safeUrl(e),n));if(s.length===0){throw new r(`Mock dispatch not matched for path '${n}'`)}s=s.filter(({method:e})=>matchValue(e,t.method));if(s.length===0){throw new r(`Mock dispatch not matched for method '${t.method}' on path '${n}'`)}s=s.filter(({body:e})=>typeof e!=="undefined"?matchValue(e,t.body):true);if(s.length===0){throw new r(`Mock dispatch not matched for body '${t.body}' on path '${n}'`)}s=s.filter(e=>matchHeaders(e,t.headers));if(s.length===0){const e=typeof t.headers==="object"?JSON.stringify(t.headers):t.headers;throw new r(`Mock dispatch not matched for headers '${e}' on path '${n}'`)}return s[0]}function addMockDispatch(e,t,A){const r={timesInvoked:0,times:1,persist:false,consumed:false};const n=typeof A==="function"?{callback:A}:{...A};const s={...r,...t,pending:true,data:{error:null,...n}};e.push(s);return s}function deleteMockDispatch(e,t){const A=e.findIndex(e=>{if(!e.consumed){return false}return matchKey(e,t)});if(A!==-1){e.splice(A,1)}}function buildKey(e){const{path:t,method:A,body:r,headers:n,query:s}=e;return{path:t,method:A,body:r,headers:n,query:s}}function generateKeyValues(e){const t=Object.keys(e);const A=[];for(let r=0;r=g;r.pending=h0){setTimeout(()=>{handleReply(this[n])},l)}else{handleReply(this[n])}function handleReply(r,n=o){const c=Array.isArray(e.headers)?buildHeadersFromArray(e.headers):e.headers;const l=typeof n==="function"?n({...e,headers:c}):n;if(u(l)){l.then(e=>handleReply(r,e));return}const d=getResponseData(l);const h=generateKeyValues(i);const g=generateKeyValues(a);t.onConnect?.(e=>t.onError(e),null);t.onHeaders?.(s,h,resume,getStatusText(s));t.onData?.(Buffer.from(d));t.onComplete?.(g);deleteMockDispatch(r,A)}function resume(){}return true}function buildMockDispatch(){const e=this[s];const t=this[i];const A=this[o];return function dispatch(n,s){if(e.isMockActive){try{mockDispatch.call(this,n,s)}catch(o){if(o instanceof r){const i=e[a]();if(i===false){throw new r(`${o.message}: subsequent request to origin ${t} was not allowed (net.connect disabled)`)}if(checkNetConnect(i,t)){A.call(this,n,s)}else{throw new r(`${o.message}: subsequent request to origin ${t} was not allowed (net.connect is not enabled for this origin)`)}}else{throw o}}}else{A.call(this,n,s)}}}function checkNetConnect(e,t){const A=new URL(t);if(e===true){return true}else if(Array.isArray(e)&&e.some(e=>matchValue(e,A.host))){return true}return false}function buildMockOptions(e){if(e){const{agent:t,...A}=e;return A}}e.exports={getResponseData:getResponseData,getMockDispatch:getMockDispatch,addMockDispatch:addMockDispatch,deleteMockDispatch:deleteMockDispatch,buildKey:buildKey,generateKeyValues:generateKeyValues,matchValue:matchValue,getResponse:getResponse,getStatusText:getStatusText,mockDispatch:mockDispatch,buildMockDispatch:buildMockDispatch,checkNetConnect:checkNetConnect,buildMockOptions:buildMockOptions,getHeaderByName:getHeaderByName,buildHeadersFromArray:buildHeadersFromArray}},4955:(e,t,A)=>{const{Transform:r}=A(7075);const{Console:n}=A(7540);const s=process.versions.icu?"✅":"Y ";const o=process.versions.icu?"❌":"N ";e.exports=class PendingInterceptorsFormatter{constructor({disableColors:e}={}){this.transform=new r({transform(e,t,A){A(null,e)}});this.logger=new n({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){const t=e.map(({method:e,path:t,data:{statusCode:A},persist:r,times:n,timesInvoked:i,origin:a})=>({Method:e,Origin:a,Path:t,"Status code":A,Persistent:r?s:o,Invocations:i,Remaining:r?Infinity:n-i}));this.logger.table(t);return this.transform.read().toString()}}},2492:e=>{const t={pronoun:"it",is:"is",was:"was",this:"this"};const A={pronoun:"they",is:"are",was:"were",this:"these"};e.exports=class Pluralizer{constructor(e,t){this.singular=e;this.plural=t}pluralize(e){const r=e===1;const n=r?t:A;const s=r?this.singular:this.plural;return{...n,count:e,noun:s}}}},4486:e=>{let t=0;const A=1e3;const r=(A>>1)-1;let n;const s=Symbol("kFastTimer");const o=[];const i=-2;const a=-1;const c=0;const l=1;function onTick(){t+=r;let e=0;let A=o.length;while(e=n._idleStart+n._idleTimeout){n._state=a;n._idleStart=-1;n._onTimeout(n._timerArg)}if(n._state===a){n._state=i;if(--A!==0){o[e]=o[A]}}else{++e}}o.length=A;if(o.length!==0){refreshTimeout()}}function refreshTimeout(){if(n){n.refresh()}else{clearTimeout(n);n=setTimeout(onTick,r);if(n.unref){n.unref()}}}class FastTimer{[s]=true;_state=i;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,t,A){this._onTimeout=e;this._idleTimeout=t;this._timerArg=A;this.refresh()}refresh(){if(this._state===i){o.push(this)}if(!n||o.length===1){refreshTimeout()}this._state=c}clear(){this._state=a;this._idleStart=-1}}e.exports={setTimeout(e,t,r){return t<=A?setTimeout(e,t,r):new FastTimer(e,t,r)},clearTimeout(e){if(e[s]){e.clear()}else{clearTimeout(e)}},setFastTimeout(e,t,A){return new FastTimer(e,t,A)},clearFastTimeout(e){e.clear()},now(){return t},tick(e=0){t+=e-A+1;onTick();onTick()},reset(){t=0;o.length=0;clearTimeout(n);n=null},kFastTimer:s}},9419:(e,t,A)=>{const{kConstruct:r}=A(8404);const{urlEquals:n,getFieldValues:s}=A(6893);const{kEnumerableProperty:o,isDisturbed:i}=A(8529);const{webidl:a}=A(5162);const{Response:c,cloneResponse:l,fromInnerResponse:u}=A(1328);const{Request:d,fromInnerRequest:h}=A(6398);const{kState:g}=A(6602);const{fetching:f}=A(8263);const{urlIsHttpHttpsScheme:E,createDeferredPromise:Q,readAllBytes:C}=A(3095);const I=A(4589);class Cache{#N;constructor(){if(arguments[0]!==r){a.illegalConstructor()}a.util.markAsUncloneable(this);this.#N=arguments[1]}async match(e,t={}){a.brandCheck(this,Cache);const A="Cache.match";a.argumentLengthCheck(arguments,1,A);e=a.converters.RequestInfo(e,A,"request");t=a.converters.CacheQueryOptions(t,A,"options");const r=this.#v(e,t,1);if(r.length===0){return}return r[0]}async matchAll(e=undefined,t={}){a.brandCheck(this,Cache);const A="Cache.matchAll";if(e!==undefined)e=a.converters.RequestInfo(e,A,"request");t=a.converters.CacheQueryOptions(t,A,"options");return this.#v(e,t)}async add(e){a.brandCheck(this,Cache);const t="Cache.add";a.argumentLengthCheck(arguments,1,t);e=a.converters.RequestInfo(e,t,"request");const A=[e];const r=this.addAll(A);return await r}async addAll(e){a.brandCheck(this,Cache);const t="Cache.addAll";a.argumentLengthCheck(arguments,1,t);const A=[];const r=[];for(let A of e){if(A===undefined){throw a.errors.conversionFailed({prefix:t,argument:"Argument 1",types:["undefined is not allowed"]})}A=a.converters.RequestInfo(A);if(typeof A==="string"){continue}const e=A[g];if(!E(e.url)||e.method!=="GET"){throw a.errors.exception({header:t,message:"Expected http/s scheme when method is not GET."})}}const n=[];for(const o of e){const e=new d(o)[g];if(!E(e.url)){throw a.errors.exception({header:t,message:"Expected http/s scheme."})}e.initiator="fetch";e.destination="subresource";r.push(e);const i=Q();n.push(f({request:e,processResponse(e){if(e.type==="error"||e.status===206||e.status<200||e.status>299){i.reject(a.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}))}else if(e.headersList.contains("vary")){const t=s(e.headersList.get("vary"));for(const e of t){if(e==="*"){i.reject(a.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(const e of n){e.abort()}return}}}},processResponseEndOfBody(e){if(e.aborted){i.reject(new DOMException("aborted","AbortError"));return}i.resolve(e)}}));A.push(i.promise)}const o=Promise.all(A);const i=await o;const c=[];let l=0;for(const e of i){const t={type:"put",request:r[l],response:e};c.push(t);l++}const u=Q();let h=null;try{this.#M(c)}catch(e){h=e}queueMicrotask(()=>{if(h===null){u.resolve(undefined)}else{u.reject(h)}});return u.promise}async put(e,t){a.brandCheck(this,Cache);const A="Cache.put";a.argumentLengthCheck(arguments,2,A);e=a.converters.RequestInfo(e,A,"request");t=a.converters.Response(t,A,"response");let r=null;if(e instanceof d){r=e[g]}else{r=new d(e)[g]}if(!E(r.url)||r.method!=="GET"){throw a.errors.exception({header:A,message:"Expected an http/s scheme when method is not GET"})}const n=t[g];if(n.status===206){throw a.errors.exception({header:A,message:"Got 206 status"})}if(n.headersList.contains("vary")){const e=s(n.headersList.get("vary"));for(const t of e){if(t==="*"){throw a.errors.exception({header:A,message:"Got * vary field value"})}}}if(n.body&&(i(n.body.stream)||n.body.stream.locked)){throw a.errors.exception({header:A,message:"Response body is locked or disturbed"})}const o=l(n);const c=Q();if(n.body!=null){const e=n.body.stream;const t=e.getReader();C(t).then(c.resolve,c.reject)}else{c.resolve(undefined)}const u=[];const h={type:"put",request:r,response:o};u.push(h);const f=await c.promise;if(o.body!=null){o.body.source=f}const I=Q();let B=null;try{this.#M(u)}catch(e){B=e}queueMicrotask(()=>{if(B===null){I.resolve()}else{I.reject(B)}});return I.promise}async delete(e,t={}){a.brandCheck(this,Cache);const A="Cache.delete";a.argumentLengthCheck(arguments,1,A);e=a.converters.RequestInfo(e,A,"request");t=a.converters.CacheQueryOptions(t,A,"options");let r=null;if(e instanceof d){r=e[g];if(r.method!=="GET"&&!t.ignoreMethod){return false}}else{I(typeof e==="string");r=new d(e)[g]}const n=[];const s={type:"delete",request:r,options:t};n.push(s);const o=Q();let i=null;let c;try{c=this.#M(n)}catch(e){i=e}queueMicrotask(()=>{if(i===null){o.resolve(!!c?.length)}else{o.reject(i)}});return o.promise}async keys(e=undefined,t={}){a.brandCheck(this,Cache);const A="Cache.keys";if(e!==undefined)e=a.converters.RequestInfo(e,A,"request");t=a.converters.CacheQueryOptions(t,A,"options");let r=null;if(e!==undefined){if(e instanceof d){r=e[g];if(r.method!=="GET"&&!t.ignoreMethod){return[]}}else if(typeof e==="string"){r=new d(e)[g]}}const n=Q();const s=[];if(e===undefined){for(const e of this.#N){s.push(e[0])}}else{const e=this.#U(r,t);for(const t of e){s.push(t[0])}}queueMicrotask(()=>{const e=[];for(const t of s){const A=h(t,(new AbortController).signal,"immutable");e.push(A)}n.resolve(Object.freeze(e))});return n.promise}#M(e){const t=this.#N;const A=[...t];const r=[];const n=[];try{for(const A of e){if(A.type!=="delete"&&A.type!=="put"){throw a.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'})}if(A.type==="delete"&&A.response!=null){throw a.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"})}if(this.#U(A.request,A.options,r).length){throw new DOMException("???","InvalidStateError")}let e;if(A.type==="delete"){e=this.#U(A.request,A.options);if(e.length===0){return[]}for(const A of e){const e=t.indexOf(A);I(e!==-1);t.splice(e,1)}}else if(A.type==="put"){if(A.response==null){throw a.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"})}const n=A.request;if(!E(n.url)){throw a.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"})}if(n.method!=="GET"){throw a.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"})}if(A.options!=null){throw a.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"})}e=this.#U(A.request);for(const A of e){const e=t.indexOf(A);I(e!==-1);t.splice(e,1)}t.push([A.request,A.response]);r.push([A.request,A.response])}n.push([A.request,A.response])}return n}catch(e){this.#N.length=0;this.#N=A;throw e}}#U(e,t,A){const r=[];const n=A??this.#N;for(const A of n){const[n,s]=A;if(this.#T(e,n,s,t)){r.push(A)}}return r}#T(e,t,A=null,r){const o=new URL(e.url);const i=new URL(t.url);if(r?.ignoreSearch){i.search="";o.search=""}if(!n(o,i,true)){return false}if(A==null||r?.ignoreVary||!A.headersList.contains("vary")){return true}const a=s(A.headersList.get("vary"));for(const A of a){if(A==="*"){return false}const r=t.headersList.get(A);const n=e.headersList.get(A);if(r!==n){return false}}return true}#v(e,t,A=Infinity){let r=null;if(e!==undefined){if(e instanceof d){r=e[g];if(r.method!=="GET"&&!t.ignoreMethod){return[]}}else if(typeof e==="string"){r=new d(e)[g]}}const n=[];if(e===undefined){for(const e of this.#N){n.push(e[1])}}else{const e=this.#U(r,t);for(const t of e){n.push(t[1])}}const s=[];for(const e of n){const t=u(e,"immutable");s.push(t.clone());if(s.length>=A){break}}return Object.freeze(s)}}Object.defineProperties(Cache.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:true},match:o,matchAll:o,add:o,addAll:o,put:o,delete:o,keys:o});const B=[{key:"ignoreSearch",converter:a.converters.boolean,defaultValue:()=>false},{key:"ignoreMethod",converter:a.converters.boolean,defaultValue:()=>false},{key:"ignoreVary",converter:a.converters.boolean,defaultValue:()=>false}];a.converters.CacheQueryOptions=a.dictionaryConverter(B);a.converters.MultiCacheQueryOptions=a.dictionaryConverter([...B,{key:"cacheName",converter:a.converters.DOMString}]);a.converters.Response=a.interfaceConverter(c);a.converters["sequence"]=a.sequenceConverter(a.converters.RequestInfo);e.exports={Cache:Cache}},2118:(e,t,A)=>{const{kConstruct:r}=A(8404);const{Cache:n}=A(9419);const{webidl:s}=A(5162);const{kEnumerableProperty:o}=A(8529);class CacheStorage{#L=new Map;constructor(){if(arguments[0]!==r){s.illegalConstructor()}s.util.markAsUncloneable(this)}async match(e,t={}){s.brandCheck(this,CacheStorage);s.argumentLengthCheck(arguments,1,"CacheStorage.match");e=s.converters.RequestInfo(e);t=s.converters.MultiCacheQueryOptions(t);if(t.cacheName!=null){if(this.#L.has(t.cacheName)){const A=this.#L.get(t.cacheName);const s=new n(r,A);return await s.match(e,t)}}else{for(const A of this.#L.values()){const s=new n(r,A);const o=await s.match(e,t);if(o!==undefined){return o}}}}async has(e){s.brandCheck(this,CacheStorage);const t="CacheStorage.has";s.argumentLengthCheck(arguments,1,t);e=s.converters.DOMString(e,t,"cacheName");return this.#L.has(e)}async open(e){s.brandCheck(this,CacheStorage);const t="CacheStorage.open";s.argumentLengthCheck(arguments,1,t);e=s.converters.DOMString(e,t,"cacheName");if(this.#L.has(e)){const t=this.#L.get(e);return new n(r,t)}const A=[];this.#L.set(e,A);return new n(r,A)}async delete(e){s.brandCheck(this,CacheStorage);const t="CacheStorage.delete";s.argumentLengthCheck(arguments,1,t);e=s.converters.DOMString(e,t,"cacheName");return this.#L.delete(e)}async keys(){s.brandCheck(this,CacheStorage);const e=this.#L.keys();return[...e]}}Object.defineProperties(CacheStorage.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:true},match:o,has:o,open:o,delete:o,keys:o});e.exports={CacheStorage:CacheStorage}},8404:(e,t,A)=>{e.exports={kConstruct:A(5424).kConstruct}},6893:(e,t,A)=>{const r=A(4589);const{URLSerializer:n}=A(5192);const{isValidHeaderName:s}=A(3095);function urlEquals(e,t,A=false){const r=n(e,A);const s=n(t,A);return r===s}function getFieldValues(e){r(e!==null);const t=[];for(let A of e.split(",")){A=A.trim();if(s(A)){t.push(A)}}return t}e.exports={urlEquals:urlEquals,getFieldValues:getFieldValues}},9265:e=>{const t=1024;const A=4096;e.exports={maxAttributeValueSize:t,maxNameValuePairSize:A}},6748:(e,t,A)=>{const{parseSetCookie:r}=A(2351);const{stringify:n}=A(190);const{webidl:s}=A(5162);const{Headers:o}=A(3257);function getCookies(e){s.argumentLengthCheck(arguments,1,"getCookies");s.brandCheck(e,o,{strict:false});const t=e.get("cookie");const A={};if(!t){return A}for(const e of t.split(";")){const[t,...r]=e.split("=");A[t.trim()]=r.join("=")}return A}function deleteCookie(e,t,A){s.brandCheck(e,o,{strict:false});const r="deleteCookie";s.argumentLengthCheck(arguments,2,r);t=s.converters.DOMString(t,r,"name");A=s.converters.DeleteCookieAttributes(A);setCookie(e,{name:t,value:"",expires:new Date(0),...A})}function getSetCookies(e){s.argumentLengthCheck(arguments,1,"getSetCookies");s.brandCheck(e,o,{strict:false});const t=e.getSetCookie();if(!t){return[]}return t.map(e=>r(e))}function setCookie(e,t){s.argumentLengthCheck(arguments,2,"setCookie");s.brandCheck(e,o,{strict:false});t=s.converters.Cookie(t);const A=n(t);if(A){e.append("Set-Cookie",A)}}s.converters.DeleteCookieAttributes=s.dictionaryConverter([{converter:s.nullableConverter(s.converters.DOMString),key:"path",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.DOMString),key:"domain",defaultValue:()=>null}]);s.converters.Cookie=s.dictionaryConverter([{converter:s.converters.DOMString,key:"name"},{converter:s.converters.DOMString,key:"value"},{converter:s.nullableConverter(e=>{if(typeof e==="number"){return s.converters["unsigned long long"](e)}return new Date(e)}),key:"expires",defaultValue:()=>null},{converter:s.nullableConverter(s.converters["long long"]),key:"maxAge",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.DOMString),key:"domain",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.DOMString),key:"path",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.boolean),key:"secure",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.boolean),key:"httpOnly",defaultValue:()=>null},{converter:s.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:s.sequenceConverter(s.converters.DOMString),key:"unparsed",defaultValue:()=>new Array(0)}]);e.exports={getCookies:getCookies,deleteCookie:deleteCookie,getSetCookies:getSetCookies,setCookie:setCookie}},2351:(e,t,A)=>{const{maxNameValuePairSize:r,maxAttributeValueSize:n}=A(9265);const{isCTLExcludingHtab:s}=A(190);const{collectASequenceOfCodePointsFast:o}=A(5192);const i=A(4589);function parseSetCookie(e){if(s(e)){return null}let t="";let A="";let n="";let i="";if(e.includes(";")){const r={position:0};t=o(";",e,r);A=e.slice(r.position)}else{t=e}if(!t.includes("=")){i=t}else{const e={position:0};n=o("=",t,e);i=t.slice(e.position+1)}n=n.trim();i=i.trim();if(n.length+i.length>r){return null}return{name:n,value:i,...parseUnparsedAttributes(A)}}function parseUnparsedAttributes(e,t={}){if(e.length===0){return t}i(e[0]===";");e=e.slice(1);let A="";if(e.includes(";")){A=o(";",e,{position:0});e=e.slice(A.length)}else{A=e;e=""}let r="";let s="";if(A.includes("=")){const e={position:0};r=o("=",A,e);s=A.slice(e.position+1)}else{r=A}r=r.trim();s=s.trim();if(s.length>n){return parseUnparsedAttributes(e,t)}const a=r.toLowerCase();if(a==="expires"){const e=new Date(s);t.expires=e}else if(a==="max-age"){const A=s.charCodeAt(0);if((A<48||A>57)&&s[0]!=="-"){return parseUnparsedAttributes(e,t)}if(!/^\d+$/.test(s)){return parseUnparsedAttributes(e,t)}const r=Number(s);t.maxAge=r}else if(a==="domain"){let e=s;if(e[0]==="."){e=e.slice(1)}e=e.toLowerCase();t.domain=e}else if(a==="path"){let e="";if(s.length===0||s[0]!=="/"){e="/"}else{e=s}t.path=e}else if(a==="secure"){t.secure=true}else if(a==="httponly"){t.httpOnly=true}else if(a==="samesite"){const e=s.toLowerCase();if(e==="none"){t.sameSite="None"}else if(e==="strict"){t.sameSite="Strict"}else if(e==="lax"){t.sameSite="Lax"}}else{t.unparsed??=[];t.unparsed.push(`${r}=${s}`)}return parseUnparsedAttributes(e,t)}e.exports={parseSetCookie:parseSetCookie,parseUnparsedAttributes:parseUnparsedAttributes}},190:e=>{function isCTLExcludingHtab(e){for(let t=0;t=0&&A<=8||A>=10&&A<=31||A===127){return true}}return false}function validateCookieName(e){for(let t=0;t126||A===34||A===40||A===41||A===60||A===62||A===64||A===44||A===59||A===58||A===92||A===47||A===91||A===93||A===63||A===61||A===123||A===125){throw new Error("Invalid cookie name")}}}function validateCookieValue(e){let t=e.length;let A=0;if(e[0]==='"'){if(t===1||e[t-1]!=='"'){throw new Error("Invalid cookie value")}--t;++A}while(A126||t===34||t===44||t===59||t===92){throw new Error("Invalid cookie value")}}}function validateCookiePath(e){for(let t=0;t126||A===59){throw new Error("Invalid cookie path")}}}function isLetterOrDigit(e){return e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122}function validateCookieDomain(e){if(e===" "){return}if(e.length>255){throw new Error("Invalid cookie domain")}let t=0;for(let A=0;A63){throw new Error("Invalid cookie domain")}}if(t===0||e.charCodeAt(e.length-1)===45){throw new Error("Invalid cookie domain")}}const t=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];const A=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];const r=Array(61).fill(0).map((e,t)=>t.toString().padStart(2,"0"));function toIMFDate(e){if(typeof e==="number"){e=new Date(e)}return`${t[e.getUTCDay()]}, ${r[e.getUTCDate()]} ${A[e.getUTCMonth()]} ${e.getUTCFullYear()} ${r[e.getUTCHours()]}:${r[e.getUTCMinutes()]}:${r[e.getUTCSeconds()]} GMT`}function validateCookieMaxAge(e){if(e<0){throw new Error("Invalid cookie max-age")}}function stringify(e){if(e.name.length===0){return null}validateCookieName(e.name);validateCookieValue(e.value);const t=[`${e.name}=${e.value}`];if(e.name.startsWith("__Secure-")){e.secure=true}if(e.name.startsWith("__Host-")){e.secure=true;e.domain=null;e.path="/"}if(e.secure){t.push("Secure")}if(e.httpOnly){t.push("HttpOnly")}if(typeof e.maxAge==="number"){validateCookieMaxAge(e.maxAge);t.push(`Max-Age=${e.maxAge}`)}if(e.domain){validateCookieDomain(e.domain);t.push(`Domain=${e.domain}`)}if(e.path){validateCookiePath(e.path);t.push(`Path=${e.path}`)}if(e.expires&&e.expires.toString()!=="Invalid Date"){t.push(`Expires=${toIMFDate(e.expires)}`)}if(e.sameSite){t.push(`SameSite=${e.sameSite}`)}for(const A of e.unparsed){if(!A.includes("=")){throw new Error("Invalid unparsed")}const[e,...r]=A.split("=");const n=e.trim();const s=r.join("=");validateCookieName(n);validateCookieValue(s);t.push(`${n}=${s}`)}return t.join("; ")}e.exports={isCTLExcludingHtab:isCTLExcludingHtab,validateCookieName:validateCookieName,validateCookiePath:validateCookiePath,validateCookieValue:validateCookieValue,toIMFDate:toIMFDate,stringify:stringify}},2900:(e,t,A)=>{const r=A(4573);const{Transform:n}=A(7075);const{isASCIINumber:s,isValidLastEventId:o}=A(1048);const i=[239,187,191];const a=10;const c=13;const l=58;const u=32;const d=r.kStringMaxLength;const h=Buffer.from("data");const g=Buffer.from("event");const f=Buffer.from("id");const E=Buffer.from("retry");const Q=1024;const C=131072;const I=128;function isASCIINumberBytes(e,t){if(t>=e.length){return false}for(let A=t;A57){return false}}return true}function isValidLastEventIdBytes(e,t){for(let A=t;A0?Math.min(C,Math.max(Q,Math.floor(this.maxEventSize/I))):0;this.maxDataLines=t;this.maxBufferedChunks=t;if(e.push){this.push=e.push}}_transform(e,t,A){if(e.length===0){A();return}if(this.maxEventSize>0&&this.chunks.length>=this.maxBufferedChunks&&e[0]!==a&&e[0]!==c){A(createMaxEventSizeExceededError());return}this.chunks.push(e);if(this.checkBOM){if(this.handleBOM()){A();return}}while(this.hasCurrentByte()){const e=this.currentByte();if(this.eventEndCheck){if(this.crlfCheck){if(e===a){this.crlfCheck=false;this.consumeCurrentByte();continue}this.crlfCheck=false}if(e===a||e===c){if(e===c){this.crlfCheck=true}this.consumeCurrentByte();if(this.hasPendingEvent()){this.processEvent(this.event)}this.clearEvent();continue}this.eventEndCheck=false;continue}if(e===a||e===c){if(e===c){this.crlfCheck=true}try{this.parseLine(this.readLine(),this.event)}catch(e){A(e);return}this.consumeCurrentByte();this.eventEndCheck=true;continue}if(this.maxEventSize>0&&++this.lineLength>this.maxEventSize+7){A(createMaxEventSizeExceededError());return}this.advanceCursor()}A()}_destroy(e,t){this.chunks.length=0;this.clearEvent();super._destroy(e,t)}parseLine(e,t){if(e.length===0){return}const A=e.indexOf(l);if(A===0){return}let r=e.length;let n=e.length;if(A!==-1){r=A;n=A+1;if(e[n]===u){++n}}if(isFieldName(e,r,h)){if(this.maxEventSize>0&&this.dataLineCount>=this.maxDataLines){throw createMaxEventSizeExceededError()}const A=e.length-n;const r=this.eventFieldSizes.data+(t.data===undefined?0:1)+A;this.setEventFieldSize("data",r);const s=e.toString("utf8",n);if(t.data===undefined){t.data=s}else{t.data+=`\n${s}`}this.dataLineCount++;return}if(isFieldName(e,r,E)){if(isASCIINumberBytes(e,n)){this.setEventFieldSize("retry",e.length-n);t.retry=e.toString("utf8",n)}return}if(isFieldName(e,r,f)){if(isValidLastEventIdBytes(e,n)){this.setEventFieldSize("id",e.length-n);t.id=e.toString("utf8",n)}return}if(isFieldName(e,r,g)){if(n0&&A>this.maxEventSize){throw createMaxEventSizeExceededError()}this.eventSize=A;this.eventFieldSizes[e]=t}processEvent(e){if(e.retry&&s(e.retry)){this.state.reconnectionTime=parseInt(e.retry,10)}if(e.id&&o(e.id)){this.state.lastEventId=e.id}if(e.data!==undefined){this.push({type:e.event||"message",options:{data:e.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}}clearEvent(){this.event.data=undefined;this.event.event=undefined;this.event.id=undefined;this.event.retry=undefined;this.eventSize=0;this.dataLineCount=0;this.eventFieldSizes.data=0;this.eventFieldSizes.event=0;this.eventFieldSizes.id=0;this.eventFieldSizes.retry=0}hasPendingEvent(){return this.event.data!==undefined||this.event.event!==undefined||this.event.id!==undefined||this.event.retry!==undefined}hasCurrentByte(){return this.chunkIndex=this.chunks[this.chunkIndex].length){this.chunkIndex++;this.pos=0}}syncLineStartToCursor(){this.lineChunkIndex=this.chunkIndex;this.linePos=this.pos;this.lineLength=0;this.dropConsumedChunks()}dropConsumedChunks(){if(this.lineChunkIndex>0){const e=this.lineChunkIndex;this.chunks.splice(0,e);this.lineChunkIndex=0;this.chunkIndex-=e}if(this.chunkIndex===this.chunks.length){this.chunks.length=0;this.chunkIndex=0;this.pos=0;this.lineChunkIndex=0;this.linePos=0}}readLine(){if(this.lineChunkIndex===this.chunkIndex){return this.chunks[this.chunkIndex].subarray(this.linePos,this.pos)}const e=[];let t=0;for(let A=this.lineChunkIndex;A<=this.chunkIndex;A++){const r=this.chunks[A];const n=A===this.lineChunkIndex?this.linePos:0;const s=A===this.chunkIndex?this.pos:r.length;const o=r.subarray(n,s);t+=o.length;e.push(o)}return Buffer.concat(e,t)}peekBufferedByte(e){let t=this.lineChunkIndex;let A=this.linePos;while(t0&&this.lineChunkIndex{const{pipeline:r}=A(7075);const{fetching:n}=A(8263);const{makeRequest:s}=A(6398);const{webidl:o}=A(5162);const{EventSourceStream:i}=A(2900);const{parseMIMEType:a}=A(5192);const{createFastMessageEvent:c}=A(659);const{isNetworkError:l}=A(1328);const{delay:u}=A(1048);const{kEnumerableProperty:d}=A(8529);const{environmentSettingsObject:h}=A(3095);const{getGlobalDispatcher:g}=A(4498);let f=false;const E=3e3;const Q=0;const C=1;const I=2;const B="anonymous";const p="use-credentials";class EventSource extends EventTarget{#x={open:null,error:null,message:null};#H=null;#G=false;#Y=Q;#P=null;#J=null;#A;#m;constructor(e,t={}){super();o.util.markAsUncloneable(this);const A="EventSource constructor";o.argumentLengthCheck(arguments,1,A);if(!f){f=true;process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})}e=o.converters.USVString(e,A,"url");t=o.converters.EventSourceInitDict(t,A,"eventSourceInitDict");this.#A=t.dispatcher;this.#m={lastEventId:"",reconnectionTime:E};const r=h;let n;try{n=new URL(e,r.settingsObject.baseUrl);this.#m.origin=n.origin}catch(e){throw new DOMException(e,"SyntaxError")}this.#H=n.href;let i=B;if(t.withCredentials){i=p;this.#G=true}const a={redirect:"follow",keepalive:true,mode:"cors",credentials:i==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};a.client=h.settingsObject;a.headersList=[["accept",{name:"accept",value:"text/event-stream"}]];a.cache="no-store";a.initiator="other";a.urlList=[new URL(this.#H)];this.#P=s(a);this.#V()}get readyState(){return this.#Y}get url(){return this.#H}get withCredentials(){return this.#G}#V(){if(this.#Y===I)return;this.#Y=Q;const e={request:this.#P,dispatcher:this.#A};const processEventSourceEndOfBody=e=>{if(l(e)){this.dispatchEvent(new Event("error"));this.close()}this.#O()};e.processResponseEndOfBody=processEventSourceEndOfBody;e.processResponse=e=>{if(l(e)){if(e.aborted){this.close();this.dispatchEvent(new Event("error"));return}else{this.#O();return}}const t=e.headersList.get("content-type",true);const A=t!==null?a(t):"failure";const n=A!=="failure"&&A.essence==="text/event-stream";if(e.status!==200||n===false){this.close();this.dispatchEvent(new Event("error"));return}this.#Y=C;this.dispatchEvent(new Event("open"));this.#m.origin=e.urlList[e.urlList.length-1].origin;const s=new i({eventSourceSettings:this.#m,maxEventSize:this.#A.eventSourceOptions?.maxEventSize,push:e=>{this.dispatchEvent(c(e.type,e.options))}});r(e.body.stream,s,e=>{if(e?.aborted===false){this.close();this.dispatchEvent(new Event("error"))}})};this.#J=n(e)}async#O(){if(this.#Y===I)return;this.#Y=Q;this.dispatchEvent(new Event("error"));await u(this.#m.reconnectionTime);if(this.#Y!==Q)return;if(this.#m.lastEventId.length){this.#P.headersList.set("last-event-id",this.#m.lastEventId,true)}this.#V()}close(){o.brandCheck(this,EventSource);if(this.#Y===I)return;this.#Y=I;this.#J.abort();this.#P=null}get onopen(){return this.#x.open}set onopen(e){if(this.#x.open){this.removeEventListener("open",this.#x.open)}if(typeof e==="function"){this.#x.open=e;this.addEventListener("open",e)}else{this.#x.open=null}}get onmessage(){return this.#x.message}set onmessage(e){if(this.#x.message){this.removeEventListener("message",this.#x.message)}if(typeof e==="function"){this.#x.message=e;this.addEventListener("message",e)}else{this.#x.message=null}}get onerror(){return this.#x.error}set onerror(e){if(this.#x.error){this.removeEventListener("error",this.#x.error)}if(typeof e==="function"){this.#x.error=e;this.addEventListener("error",e)}else{this.#x.error=null}}}const m={CONNECTING:{__proto__:null,configurable:false,enumerable:true,value:Q,writable:false},OPEN:{__proto__:null,configurable:false,enumerable:true,value:C,writable:false},CLOSED:{__proto__:null,configurable:false,enumerable:true,value:I,writable:false}};Object.defineProperties(EventSource,m);Object.defineProperties(EventSource.prototype,m);Object.defineProperties(EventSource.prototype,{close:d,onerror:d,onmessage:d,onopen:d,readyState:d,url:d,withCredentials:d});o.converters.EventSourceInitDict=o.dictionaryConverter([{key:"withCredentials",converter:o.converters.boolean,defaultValue:()=>false},{key:"dispatcher",converter:o.converters.any,defaultValue:()=>g()}]);e.exports={EventSource:EventSource,defaultReconnectionTime:E}},1048:e=>{function isValidLastEventId(e){return e.indexOf("\0")===-1}function isASCIINumber(e){if(e.length===0)return false;for(let t=0;t57)return false}return true}function delay(e){return new Promise(t=>{setTimeout(t,e).unref()})}e.exports={isValidLastEventId:isValidLastEventId,isASCIINumber:isASCIINumber,delay:delay}},6455:(e,t,A)=>{const r=A(8529);const{ReadableStreamFrom:n,isBlobLike:s,isReadableStreamLike:o,readableStreamClose:i,createDeferredPromise:a,fullyReadBody:c,extractMimeType:l,utf8DecodeBytes:u}=A(3095);const{FormData:d}=A(7653);const{kState:h}=A(6602);const{webidl:g}=A(5162);const{Blob:f}=A(4573);const E=A(4589);const{isErrored:Q,isDisturbed:C}=A(7075);const{isArrayBuffer:I}=A(3429);const{serializeAMimeType:B}=A(5192);const{multipartFormDataParser:p}=A(6701);let m;try{const e=A(7598);m=t=>e.randomInt(0,t)}catch{m=e=>Math.floor(Math.random(e))}const y=new TextEncoder;function noop(){}const w=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0;let b;if(w){b=new FinalizationRegistry(e=>{const t=e.deref();if(t&&!t.locked&&!C(t)&&!Q(t)){t.cancel("Response object has been garbage collected").catch(noop)}})}function extractBody(e,t=false){let A=null;if(e instanceof ReadableStream){A=e}else if(s(e)){A=e.stream()}else{A=new ReadableStream({async pull(e){const t=typeof c==="string"?y.encode(c):c;if(t.byteLength){e.enqueue(t)}queueMicrotask(()=>i(e))},start(){},type:"bytes"})}E(o(A));let a=null;let c=null;let l=null;let u=null;if(typeof e==="string"){c=e;u="text/plain;charset=UTF-8"}else if(e instanceof URLSearchParams){c=e.toString();u="application/x-www-form-urlencoded;charset=UTF-8"}else if(I(e)){c=new Uint8Array(e.slice())}else if(ArrayBuffer.isView(e)){c=new Uint8Array(e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength))}else if(r.isFormDataLike(e)){const t=`----formdata-undici-0${`${m(1e11)}`.padStart(11,"0")}`;const A=`--${t}\r\nContent-Disposition: form-data` -/*! formdata-polyfill. MIT License. Jimmy Wärting */;const escape=e=>e.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=e=>e.replace(/\r?\n|\r/g,"\r\n");const r=[];const n=new Uint8Array([13,10]);l=0;let s=false;for(const[t,o]of e){if(typeof o==="string"){const e=y.encode(A+`; name="${escape(normalizeLinefeeds(t))}"`+`\r\n\r\n${normalizeLinefeeds(o)}\r\n`);r.push(e);l+=e.byteLength}else{const e=y.encode(`${A}; name="${escape(normalizeLinefeeds(t))}"`+(o.name?`; filename="${escape(o.name)}"`:"")+"\r\n"+`Content-Type: ${o.type||"application/octet-stream"}\r\n\r\n`);r.push(e,o,n);if(typeof o.size==="number"){l+=e.byteLength+o.size+n.byteLength}else{s=true}}}const o=y.encode(`--${t}--\r\n`);r.push(o);l+=o.byteLength;if(s){l=null}c=e;a=async function*(){for(const e of r){if(e.stream){yield*e.stream()}else{yield e}}};u=`multipart/form-data; boundary=${t}`}else if(s(e)){c=e;l=e.size;if(e.type){u=e.type}}else if(typeof e[Symbol.asyncIterator]==="function"){if(t){throw new TypeError("keepalive")}if(r.isDisturbed(e)||e.locked){throw new TypeError("Response body object should not be disturbed or locked")}A=e instanceof ReadableStream?e:n(e)}if(typeof c==="string"||r.isBuffer(c)){l=Buffer.byteLength(c)}if(a!=null){let t;A=new ReadableStream({async start(){t=a(e)[Symbol.asyncIterator]()},async pull(e){const{value:r,done:n}=await t.next();if(n){queueMicrotask(()=>{e.close();e.byobRequest?.respond(0)})}else{if(!Q(A)){const t=new Uint8Array(r);if(t.byteLength){e.enqueue(t)}}}return e.desiredSize>0},async cancel(e){await t.return()},type:"bytes"})}const d={stream:A,source:c,length:l};return[d,u]}function safelyExtractBody(e,t=false){if(e instanceof ReadableStream){E(!r.isDisturbed(e),"The body has already been consumed.");E(!e.locked,"The stream is locked.")}return extractBody(e,t)}function cloneBody(e,t){const[A,r]=t.stream.tee();t.stream=A;return{stream:r,length:t.length,source:t.source}}function throwIfAborted(e){if(e.aborted){throw new DOMException("The operation was aborted.","AbortError")}}function bodyMixinMethods(e){const t={blob(){return consumeBody(this,e=>{let t=bodyMimeType(this);if(t===null){t=""}else if(t){t=B(t)}return new f([e],{type:t})},e)},arrayBuffer(){return consumeBody(this,e=>new Uint8Array(e).buffer,e)},text(){return consumeBody(this,u,e)},json(){return consumeBody(this,parseJSONFromBytes,e)},formData(){return consumeBody(this,e=>{const t=bodyMimeType(this);if(t!==null){switch(t.essence){case"multipart/form-data":{const A=p(e,t);if(A==="failure"){throw new TypeError("Failed to parse body as FormData.")}const r=new d;r[h]=A;return r}case"application/x-www-form-urlencoded":{const t=new URLSearchParams(e.toString());const A=new d;for(const[e,r]of t){A.append(e,r)}return A}}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},e)},bytes(){return consumeBody(this,e=>new Uint8Array(e),e)}};return t}function mixinBody(e){Object.assign(e.prototype,bodyMixinMethods(e))}async function consumeBody(e,t,A){g.brandCheck(e,A);if(bodyUnusable(e)){throw new TypeError("Body is unusable: Body has already been read")}throwIfAborted(e[h]);const r=a();const errorSteps=e=>r.reject(e);const successSteps=e=>{try{r.resolve(t(e))}catch(e){errorSteps(e)}};if(e[h].body==null){successSteps(Buffer.allocUnsafe(0));return r.promise}await c(e[h].body,successSteps,errorSteps);return r.promise}function bodyUnusable(e){const t=e[h].body;return t!=null&&(t.stream.locked||r.isDisturbed(t.stream))}function parseJSONFromBytes(e){return JSON.parse(u(e))}function bodyMimeType(e){const t=e[h].headersList;const A=l(t);if(A==="failure"){return null}return A}e.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody,streamRegistry:b,hasFinalizationRegistry:w,bodyUnusable:bodyUnusable}},5706:e=>{const t=["GET","HEAD","POST"];const A=new Set(t);const r=[101,204,205,304];const n=[301,302,303,307,308];const s=new Set(n);const o=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","4190","5060","5061","6000","6566","6665","6666","6667","6668","6669","6679","6697","10080"];const i=new Set(o);const a=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"];const c=new Set(a);const l=["follow","manual","error"];const u=["GET","HEAD","OPTIONS","TRACE"];const d=new Set(u);const h=["navigate","same-origin","no-cors","cors"];const g=["omit","same-origin","include"];const f=["default","no-store","reload","no-cache","force-cache","only-if-cached"];const E=["content-encoding","content-language","content-location","content-type","content-length"];const Q=["half"];const C=["CONNECT","TRACE","TRACK"];const I=new Set(C);const B=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""];const p=new Set(B);e.exports={subresource:B,forbiddenMethods:C,requestBodyHeader:E,referrerPolicy:a,requestRedirect:l,requestMode:h,requestCredentials:g,requestCache:f,redirectStatus:n,corsSafeListedMethods:t,nullBodyStatus:r,safeMethods:u,badPorts:o,requestDuplex:Q,subresourceSet:p,badPortsSet:i,redirectStatusSet:s,corsSafeListedMethodsSet:A,safeMethodsSet:d,forbiddenMethodsSet:I,referrerPolicySet:c}},5192:(e,t,A)=>{const r=A(4589);const n=new TextEncoder;const s=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/;const o=/[\u000A\u000D\u0009\u0020]/;const i=/[\u0009\u000A\u000C\u000D\u0020]/g;const a=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function dataURLProcessor(e){r(e.protocol==="data:");let t=URLSerializer(e,true);t=t.slice(5);const A={position:0};let n=collectASequenceOfCodePointsFast(",",t,A);const s=n.length;n=removeASCIIWhitespace(n,true,true);if(A.position>=t.length){return"failure"}A.position++;const o=t.slice(s+1);let i=stringPercentDecode(o);if(/;(\u0020){0,}base64$/i.test(n)){const e=isomorphicDecode(i);i=forgivingBase64(e);if(i==="failure"){return"failure"}n=n.slice(0,-6);n=n.replace(/(\u0020)+$/,"");n=n.slice(0,-1)}if(n.startsWith(";")){n="text/plain"+n}let a=parseMIMEType(n);if(a==="failure"){a=parseMIMEType("text/plain;charset=US-ASCII")}return{mimeType:a,body:i}}function URLSerializer(e,t=false){if(!t){return e.href}const A=e.href;const r=e.hash.length;const n=r===0?A:A.substring(0,A.length-r);if(!r&&A.endsWith("#")){return n.slice(0,-1)}return n}function collectASequenceOfCodePoints(e,t,A){let r="";while(A.position=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function hexByteToNumber(e){return e>=48&&e<=57?e-48:(e&223)-55}function percentDecode(e){const t=e.length;const A=new Uint8Array(t);let r=0;for(let n=0;ne.length){return"failure"}t.position++;let r=collectASequenceOfCodePointsFast(";",e,t);r=removeHTTPWhitespace(r,false,true);if(r.length===0||!s.test(r)){return"failure"}const n=A.toLowerCase();const i=r.toLowerCase();const c={type:n,subtype:i,parameters:new Map,essence:`${n}/${i}`};while(t.positiono.test(e),e,t);let A=collectASequenceOfCodePoints(e=>e!==";"&&e!=="=",e,t);A=A.toLowerCase();if(t.positione.length){break}let r=null;if(e[t.position]==='"'){r=collectAnHTTPQuotedString(e,t,true);collectASequenceOfCodePointsFast(";",e,t)}else{r=collectASequenceOfCodePointsFast(";",e,t);r=removeHTTPWhitespace(r,false,true);if(r.length===0){continue}}if(A.length!==0&&s.test(A)&&(r.length===0||a.test(r))&&!c.parameters.has(A)){c.parameters.set(A,r)}}return c}function forgivingBase64(e){e=e.replace(i,"");let t=e.length;if(t%4===0){if(e.charCodeAt(t-1)===61){--t;if(e.charCodeAt(t-1)===61){--t}}}if(t%4===1){return"failure"}if(/[^+/0-9A-Za-z]/.test(e.length===t?e:e.substring(0,t))){return"failure"}const A=Buffer.from(e,"base64");return new Uint8Array(A.buffer,A.byteOffset,A.byteLength)}function collectAnHTTPQuotedString(e,t,A){const n=t.position;let s="";r(e[t.position]==='"');t.position++;while(true){s+=collectASequenceOfCodePoints(e=>e!=='"'&&e!=="\\",e,t);if(t.position>=e.length){break}const A=e[t.position];t.position++;if(A==="\\"){if(t.position>=e.length){s+="\\";break}s+=e[t.position];t.position++}else{r(A==='"');break}}if(A){return s}return e.slice(n,t.position)}function serializeAMimeType(e){r(e!=="failure");const{parameters:t,essence:A}=e;let n=A;for(let[e,A]of t.entries()){n+=";";n+=e;n+="=";if(!s.test(A)){A=A.replace(/(\\|")/g,"\\$1");A='"'+A;A+='"'}n+=A}return n}function isHTTPWhiteSpace(e){return e===13||e===10||e===9||e===32}function removeHTTPWhitespace(e,t=true,A=true){return removeChars(e,t,A,isHTTPWhiteSpace)}function isASCIIWhitespace(e){return e===13||e===10||e===9||e===12||e===32}function removeASCIIWhitespace(e,t=true,A=true){return removeChars(e,t,A,isASCIIWhitespace)}function removeChars(e,t,A,r){let n=0;let s=e.length-1;if(t){while(n0&&r(e.charCodeAt(s)))s--}return n===0&&s===e.length-1?e:e.slice(n,s+1)}function isomorphicDecode(e){const t=e.length;if((2<<15)-1>t){return String.fromCharCode.apply(null,e)}let A="";let r=0;let n=(2<<15)-1;while(rt){n=t-r}A+=String.fromCharCode.apply(null,e.subarray(r,r+=n))}return A}function minimizeSupportedMimeType(e){switch(e.essence){case"application/ecmascript":case"application/javascript":case"application/x-ecmascript":case"application/x-javascript":case"text/ecmascript":case"text/javascript":case"text/javascript1.0":case"text/javascript1.1":case"text/javascript1.2":case"text/javascript1.3":case"text/javascript1.4":case"text/javascript1.5":case"text/jscript":case"text/livescript":case"text/x-ecmascript":case"text/x-javascript":return"text/javascript";case"application/json":case"text/json":return"application/json";case"image/svg+xml":return"image/svg+xml";case"text/xml":case"application/xml":return"application/xml"}if(e.subtype.endsWith("+json")){return"application/json"}if(e.subtype.endsWith("+xml")){return"application/xml"}return""}e.exports={dataURLProcessor:dataURLProcessor,URLSerializer:URLSerializer,collectASequenceOfCodePoints:collectASequenceOfCodePoints,collectASequenceOfCodePointsFast:collectASequenceOfCodePointsFast,stringPercentDecode:stringPercentDecode,parseMIMEType:parseMIMEType,collectAnHTTPQuotedString:collectAnHTTPQuotedString,serializeAMimeType:serializeAMimeType,removeChars:removeChars,removeHTTPWhitespace:removeHTTPWhitespace,minimizeSupportedMimeType:minimizeSupportedMimeType,HTTP_TOKEN_CODEPOINTS:s,isomorphicDecode:isomorphicDecode}},3090:(e,t,A)=>{const{kConnected:r,kSize:n}=A(5424);class CompatWeakRef{constructor(e){this.value=e}deref(){return this.value[r]===0&&this.value[n]===0?undefined:this.value}}class CompatFinalizer{constructor(e){this.finalizer=e}register(e,t){if(e.on){e.on("disconnect",()=>{if(e[r]===0&&e[n]===0){this.finalizer(t)}})}}unregister(e){}}e.exports=function(){if(process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")){process._rawDebug("Using compatibility WeakRef and FinalizationRegistry");return{WeakRef:CompatWeakRef,FinalizationRegistry:CompatFinalizer}}return{WeakRef:WeakRef,FinalizationRegistry:FinalizationRegistry}}},5733:(e,t,A)=>{const{Blob:r,File:n}=A(4573);const{kState:s}=A(6602);const{webidl:o}=A(5162);class FileLike{constructor(e,t,A={}){const r=t;const n=A.type;const o=A.lastModified??Date.now();this[s]={blobLike:e,name:r,type:n,lastModified:o}}stream(...e){o.brandCheck(this,FileLike);return this[s].blobLike.stream(...e)}arrayBuffer(...e){o.brandCheck(this,FileLike);return this[s].blobLike.arrayBuffer(...e)}slice(...e){o.brandCheck(this,FileLike);return this[s].blobLike.slice(...e)}text(...e){o.brandCheck(this,FileLike);return this[s].blobLike.text(...e)}get size(){o.brandCheck(this,FileLike);return this[s].blobLike.size}get type(){o.brandCheck(this,FileLike);return this[s].blobLike.type}get name(){o.brandCheck(this,FileLike);return this[s].name}get lastModified(){o.brandCheck(this,FileLike);return this[s].lastModified}get[Symbol.toStringTag](){return"File"}}o.converters.Blob=o.interfaceConverter(r);function isFileLike(e){return e instanceof n||e&&(typeof e.stream==="function"||typeof e.arrayBuffer==="function")&&e[Symbol.toStringTag]==="File"}e.exports={FileLike:FileLike,isFileLike:isFileLike}},6701:(e,t,A)=>{const{isUSVString:r,bufferToLowerCasedHeaderName:n}=A(8529);const{utf8DecodeBytes:s}=A(3095);const{HTTP_TOKEN_CODEPOINTS:o,isomorphicDecode:i}=A(5192);const{isFileLike:a}=A(5733);const{makeEntry:c}=A(7653);const l=A(4589);const{File:u}=A(4573);const d=globalThis.File??u;const h=Buffer.from('form-data; name="');const g=Buffer.from("; filename");const f=Buffer.from("--");const E=Buffer.from("--\r\n");function isAsciiString(e){for(let t=0;t70){return false}for(let A=0;A=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||t===39||t===45||t===95)){return false}}return true}function multipartFormDataParser(e,t){l(t!=="failure"&&t.essence==="multipart/form-data");const A=t.parameters.get("boundary");if(A===undefined){return"failure"}const n=Buffer.from(`--${A}`,"utf8");const o=[];const i={position:0};while(e[i.position]===13&&e[i.position+1]===10){i.position+=2}let u=e.length;while(e[u-1]===10&&e[u-2]===13){u-=2}if(u!==e.length){e=e.subarray(0,u)}while(true){if(e.subarray(i.position,i.position+n.length).equals(n)){i.position+=n.length}else{return"failure"}if(i.position===e.length-2&&bufferStartsWith(e,f,i)||i.position===e.length-4&&bufferStartsWith(e,E,i)){return o}if(e[i.position]!==13||e[i.position+1]!==10){return"failure"}i.position+=2;const t=parseMultipartFormDataHeaders(e,i);if(t==="failure"){return"failure"}let{name:A,filename:u,contentType:h,encoding:g}=t;i.position+=2;let Q;{const t=e.indexOf(n.subarray(2),i.position);if(t===-1){return"failure"}Q=e.subarray(i.position,t-4);i.position+=Q.length;if(g==="base64"){Q=Buffer.from(Q.toString(),"base64")}}if(e[i.position]!==13||e[i.position+1]!==10){return"failure"}else{i.position+=2}let C;if(u!==null){h??="text/plain";if(!isAsciiString(h)){h=""}C=new d([Q],u,{type:h})}else{C=s(Buffer.from(Q))}l(r(A));l(typeof C==="string"&&r(C)||a(C));o.push(c(A,C,u))}}function parseMultipartFormDataHeaders(e,t){let A=null;let r=null;let s=null;let a=null;while(true){if(e[t.position]===13&&e[t.position+1]===10){if(A===null){return"failure"}return{name:A,filename:r,contentType:s,encoding:a}}let c=collectASequenceOfBytes(e=>e!==10&&e!==13&&e!==58,e,t);c=removeChars(c,true,true,e=>e===9||e===32);if(!o.test(c.toString())){return"failure"}if(e[t.position]!==58){return"failure"}t.position++;collectASequenceOfBytes(e=>e===32||e===9,e,t);switch(n(c)){case"content-disposition":{A=r=null;if(!bufferStartsWith(e,h,t)){return"failure"}t.position+=17;A=parseMultipartFormDataName(e,t);if(A===null){return"failure"}if(bufferStartsWith(e,g,t)){let A=t.position+g.length;if(e[A]===42){t.position+=1;A+=1}if(e[A]!==61||e[A+1]!==34){return"failure"}t.position+=12;r=parseMultipartFormDataName(e,t);if(r===null){return"failure"}}break}case"content-type":{let A=collectASequenceOfBytes(e=>e!==10&&e!==13,e,t);A=removeChars(A,false,true,e=>e===9||e===32);s=i(A);break}case"content-transfer-encoding":{let A=collectASequenceOfBytes(e=>e!==10&&e!==13,e,t);A=removeChars(A,false,true,e=>e===9||e===32);a=i(A);break}default:{collectASequenceOfBytes(e=>e!==10&&e!==13,e,t)}}if(e[t.position]!==13&&e[t.position+1]!==10){return"failure"}else{t.position+=2}}}function parseMultipartFormDataName(e,t){l(e[t.position-1]===34);let A=collectASequenceOfBytes(e=>e!==10&&e!==13&&e!==34,e,t);if(e[t.position]!==34){return null}else{t.position++}A=(new TextDecoder).decode(A).replace(/%0A/gi,"\n").replace(/%0D/gi,"\r").replace(/%22/g,'"');return A}function collectASequenceOfBytes(e,t,A){let r=A.position;while(r0&&r(e[s]))s--}return n===0&&s===e.length-1?e:e.subarray(n,s+1)}function bufferStartsWith(e,t,A){if(e.length{const{isBlobLike:r,iteratorMixin:n}=A(3095);const{kState:s}=A(6602);const{kEnumerableProperty:o}=A(8529);const{FileLike:i,isFileLike:a}=A(5733);const{webidl:c}=A(5162);const{File:l}=A(4573);const u=A(7975);const d=globalThis.File??l;class FormData{constructor(e){c.util.markAsUncloneable(this);if(e!==undefined){throw c.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}this[s]=[]}append(e,t,A=undefined){c.brandCheck(this,FormData);const n="FormData.append";c.argumentLengthCheck(arguments,2,n);if(arguments.length===3&&!r(t)){throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'")}e=c.converters.USVString(e,n,"name");t=r(t)?c.converters.Blob(t,n,"value",{strict:false}):c.converters.USVString(t,n,"value");A=arguments.length===3?c.converters.USVString(A,n,"filename"):undefined;const o=makeEntry(e,t,A);this[s].push(o)}delete(e){c.brandCheck(this,FormData);const t="FormData.delete";c.argumentLengthCheck(arguments,1,t);e=c.converters.USVString(e,t,"name");this[s]=this[s].filter(t=>t.name!==e)}get(e){c.brandCheck(this,FormData);const t="FormData.get";c.argumentLengthCheck(arguments,1,t);e=c.converters.USVString(e,t,"name");const A=this[s].findIndex(t=>t.name===e);if(A===-1){return null}return this[s][A].value}getAll(e){c.brandCheck(this,FormData);const t="FormData.getAll";c.argumentLengthCheck(arguments,1,t);e=c.converters.USVString(e,t,"name");return this[s].filter(t=>t.name===e).map(e=>e.value)}has(e){c.brandCheck(this,FormData);const t="FormData.has";c.argumentLengthCheck(arguments,1,t);e=c.converters.USVString(e,t,"name");return this[s].findIndex(t=>t.name===e)!==-1}set(e,t,A=undefined){c.brandCheck(this,FormData);const n="FormData.set";c.argumentLengthCheck(arguments,2,n);if(arguments.length===3&&!r(t)){throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'")}e=c.converters.USVString(e,n,"name");t=r(t)?c.converters.Blob(t,n,"name",{strict:false}):c.converters.USVString(t,n,"name");A=arguments.length===3?c.converters.USVString(A,n,"name"):undefined;const o=makeEntry(e,t,A);const i=this[s].findIndex(t=>t.name===e);if(i!==-1){this[s]=[...this[s].slice(0,i),o,...this[s].slice(i+1).filter(t=>t.name!==e)]}else{this[s].push(o)}}[u.inspect.custom](e,t){const A=this[s].reduce((e,t)=>{if(e[t.name]){if(Array.isArray(e[t.name])){e[t.name].push(t.value)}else{e[t.name]=[e[t.name],t.value]}}else{e[t.name]=t.value}return e},{__proto__:null});t.depth??=e;t.colors??=true;const r=u.formatWithOptions(t,A);return`FormData ${r.slice(r.indexOf("]")+2)}`}}n("FormData",FormData,s,"name","value");Object.defineProperties(FormData.prototype,{append:o,delete:o,get:o,getAll:o,has:o,set:o,[Symbol.toStringTag]:{value:"FormData",configurable:true}});function makeEntry(e,t,A){if(typeof t==="string"){}else{if(!a(t)){t=t instanceof Blob?new d([t],"blob",{type:t.type}):new i(t,"blob",{type:t.type})}if(A!==undefined){const e={type:t.type,lastModified:t.lastModified};t=t instanceof l?new d([t],A,e):new i(t,A,e)}}return{name:e,value:t}}e.exports={FormData:FormData,makeEntry:makeEntry}},8712:e=>{const t=Symbol.for("undici.globalOrigin.1");function getGlobalOrigin(){return globalThis[t]}function setGlobalOrigin(e){if(e===undefined){Object.defineProperty(globalThis,t,{value:undefined,writable:true,enumerable:false,configurable:false});return}const A=new URL(e);if(A.protocol!=="http:"&&A.protocol!=="https:"){throw new TypeError(`Only http & https urls are allowed, received ${A.protocol}`)}Object.defineProperty(globalThis,t,{value:A,writable:true,enumerable:false,configurable:false})}e.exports={getGlobalOrigin:getGlobalOrigin,setGlobalOrigin:setGlobalOrigin}},3257:(e,t,A)=>{const{kConstruct:r}=A(5424);const{kEnumerableProperty:n}=A(8529);const{iteratorMixin:s,isValidHeaderName:o,isValidHeaderValue:i}=A(3095);const{webidl:a}=A(5162);const c=A(4589);const l=A(7975);const u=Symbol("headers map");const d=Symbol("headers map sorted");function isHTTPWhiteSpaceCharCode(e){return e===10||e===13||e===9||e===32}function headerValueNormalize(e){let t=0;let A=e.length;while(A>t&&isHTTPWhiteSpaceCharCode(e.charCodeAt(A-1)))--A;while(A>t&&isHTTPWhiteSpaceCharCode(e.charCodeAt(t)))++t;return t===0&&A===e.length?e:e.substring(t,A)}function fill(e,t){if(Array.isArray(t)){for(let A=0;A>","record"]})}}function appendHeader(e,t,A){A=headerValueNormalize(A);if(!o(t)){throw a.errors.invalidArgument({prefix:"Headers.append",value:t,type:"header name"})}else if(!i(A)){throw a.errors.invalidArgument({prefix:"Headers.append",value:A,type:"header value"})}if(h(e)==="immutable"){throw new TypeError("immutable")}return f(e).append(t,A,false)}function compareHeaderName(e,t){return e[0]>1);if(t[i][0]<=a[0]){o=i+1}else{s=i}}if(r!==i){n=r;while(n>o){t[n]=t[--n]}t[o]=a}}if(!A.next().done){throw new TypeError("Unreachable")}return t}else{let e=0;for(const{0:A,1:{value:r}}of this[u]){t[e++]=[A,r];c(r!==null)}return t.sort(compareHeaderName)}}}class Headers{#_;#$;constructor(e=undefined){a.util.markAsUncloneable(this);if(e===r){return}this.#$=new HeadersList;this.#_="none";if(e!==undefined){e=a.converters.HeadersInit(e,"Headers contructor","init");fill(this,e)}}append(e,t){a.brandCheck(this,Headers);a.argumentLengthCheck(arguments,2,"Headers.append");const A="Headers.append";e=a.converters.ByteString(e,A,"name");t=a.converters.ByteString(t,A,"value");return appendHeader(this,e,t)}delete(e){a.brandCheck(this,Headers);a.argumentLengthCheck(arguments,1,"Headers.delete");const t="Headers.delete";e=a.converters.ByteString(e,t,"name");if(!o(e)){throw a.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"})}if(this.#_==="immutable"){throw new TypeError("immutable")}if(!this.#$.contains(e,false)){return}this.#$.delete(e,false)}get(e){a.brandCheck(this,Headers);a.argumentLengthCheck(arguments,1,"Headers.get");const t="Headers.get";e=a.converters.ByteString(e,t,"name");if(!o(e)){throw a.errors.invalidArgument({prefix:t,value:e,type:"header name"})}return this.#$.get(e,false)}has(e){a.brandCheck(this,Headers);a.argumentLengthCheck(arguments,1,"Headers.has");const t="Headers.has";e=a.converters.ByteString(e,t,"name");if(!o(e)){throw a.errors.invalidArgument({prefix:t,value:e,type:"header name"})}return this.#$.contains(e,false)}set(e,t){a.brandCheck(this,Headers);a.argumentLengthCheck(arguments,2,"Headers.set");const A="Headers.set";e=a.converters.ByteString(e,A,"name");t=a.converters.ByteString(t,A,"value");t=headerValueNormalize(t);if(!o(e)){throw a.errors.invalidArgument({prefix:A,value:e,type:"header name"})}else if(!i(t)){throw a.errors.invalidArgument({prefix:A,value:t,type:"header value"})}if(this.#_==="immutable"){throw new TypeError("immutable")}this.#$.set(e,t,false)}getSetCookie(){a.brandCheck(this,Headers);const e=this.#$.cookies;if(e){return[...e]}return[]}get[d](){if(this.#$[d]){return this.#$[d]}const e=[];const t=this.#$.toSortedArray();const A=this.#$.cookies;if(A===null||A.length===1){return this.#$[d]=t}for(let r=0;r>"](e,t,A,r.bind(e))}return a.converters["record"](e,t,A)}throw a.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};e.exports={fill:fill,compareHeaderName:compareHeaderName,Headers:Headers,HeadersList:HeadersList,getHeadersGuard:h,setHeadersGuard:g,setHeadersList:E,getHeadersList:f}},8263:(e,t,A)=>{const{makeNetworkError:r,makeAppropriateNetworkError:n,filterResponse:s,makeResponse:o,fromInnerResponse:i}=A(1328);const{HeadersList:a}=A(3257);const{Request:c,cloneRequest:l}=A(6398);const u=A(8522);const{bytesMatch:d,makePolicyContainer:h,clonePolicyContainer:g,requestBadPort:f,TAOCheck:E,appendRequestOriginHeader:Q,responseLocationURL:C,requestCurrentURL:I,setRequestReferrerPolicyOnRedirect:B,tryUpgradeRequestToAPotentiallyTrustworthyURL:p,createOpaqueTimingInfo:m,appendFetchMetadata:y,corsCheck:w,crossOriginResourcePolicyCheck:b,determineRequestsReferrer:k,coarsenedSharedCurrentTime:D,createDeferredPromise:R,isBlobLike:S,sameOrigin:F,isCancelled:N,isAborted:v,isErrorLike:M,fullyReadBody:U,readableStreamClose:T,isomorphicEncode:L,urlIsLocal:x,urlIsHttpHttpsScheme:H,urlHasHttpsScheme:G,clampAndCoarsenConnectionTimingInfo:Y,simpleRangeHeaderValue:P,buildContentRange:J,createInflate:V,extractMimeType:O}=A(3095);const{kState:$,kDispatcher:W}=A(6602);const q=A(4589);const{safelyExtractBody:z,extractBody:j}=A(6455);const{redirectStatusSet:K,nullBodyStatus:Z,safeMethodsSet:X,requestBodyHeader:ee,subresourceSet:te}=A(5706);const Ae=A(8474);const{Readable:re,pipeline:ne,finished:se}=A(7075);const{addAbortListener:oe,isErrored:ie,isReadable:ae,bufferToLowerCasedHeaderName:ce}=A(8529);const{dataURLProcessor:le,serializeAMimeType:ue,minimizeSupportedMimeType:de}=A(5192);const{getGlobalDispatcher:he}=A(4498);const{webidl:ge}=A(5162);const{STATUS_CODES:fe}=A(7067);const Ee=["GET","HEAD"];const Qe=typeof __UNDICI_IS_NODE__!=="undefined"||typeof esbuildDetection!=="undefined"?"node":"undici";let Ce;class Fetch extends Ae{constructor(e){super();this.dispatcher=e;this.connection=null;this.dump=false;this.state="ongoing"}terminate(e){if(this.state!=="ongoing"){return}this.state="terminated";this.connection?.destroy(e);this.emit("terminated",e)}abort(e){if(this.state!=="ongoing"){return}this.state="aborted";if(!e){e=new DOMException("The operation was aborted.","AbortError")}this.serializedAbortReason=e;this.connection?.destroy(e);this.emit("terminated",e)}}function handleFetchDone(e){finalizeAndReportTiming(e,"fetch")}function fetch(e,t=undefined){ge.argumentLengthCheck(arguments,1,"globalThis.fetch");let A=R();let r;try{r=new c(e,t)}catch(e){A.reject(e);return A.promise}const n=r[$];if(r.signal.aborted){abortFetch(A,n,null,r.signal.reason);return A.promise}const s=n.client.globalObject;if(s?.constructor?.name==="ServiceWorkerGlobalScope"){n.serviceWorkers="none"}let o=null;let a=false;let l=null;oe(r.signal,()=>{a=true;q(l!=null);l.abort(r.signal.reason);const e=o?.deref();abortFetch(A,n,e,r.signal.reason)});const processResponse=e=>{if(a){return}if(e.aborted){abortFetch(A,n,o,l.serializedAbortReason);return}if(e.type==="error"){A.reject(new TypeError("fetch failed",{cause:e.error}));return}o=new WeakRef(i(e,"immutable"));A.resolve(o.deref());A=null};l=fetching({request:n,processResponseEndOfBody:handleFetchDone,processResponse:processResponse,dispatcher:r[W]});return A.promise}function finalizeAndReportTiming(e,t="other"){if(e.type==="error"&&e.aborted){return}if(!e.urlList?.length){return}const A=e.urlList[0];let r=e.timingInfo;let n=e.cacheState;if(!H(A)){return}if(r===null){return}if(!e.timingAllowPassed){r=m({startTime:r.startTime});n=""}r.endTime=D();e.timingInfo=r;Ie(r,A.href,t,globalThis,n)}const Ie=performance.markResourceTiming;function abortFetch(e,t,A,r){if(e){e.reject(r)}if(t.body!=null&&ae(t.body?.stream)){t.body.stream.cancel(r).catch(e=>{if(e.code==="ERR_INVALID_STATE"){return}throw e})}if(A==null){return}const n=A[$];if(n.body!=null&&ae(n.body?.stream)){n.body.stream.cancel(r).catch(e=>{if(e.code==="ERR_INVALID_STATE"){return}throw e})}}function fetching({request:e,processRequestBodyChunkLength:t,processRequestEndOfBody:A,processResponse:r,processResponseEndOfBody:n,processResponseConsumeBody:s,useParallelQueue:o=false,dispatcher:i=he()}){q(i);let a=null;let c=false;if(e.client!=null){a=e.client.globalObject;c=e.client.crossOriginIsolatedCapability}const l=D(c);const u=m({startTime:l});const d={controller:new Fetch(i),request:e,timingInfo:u,processRequestBodyChunkLength:t,processRequestEndOfBody:A,processResponse:r,processResponseConsumeBody:s,processResponseEndOfBody:n,taskDestination:a,crossOriginIsolatedCapability:c};q(!e.body||e.body.stream);if(e.window==="client"){e.window=e.client?.globalObject?.constructor?.name==="Window"?e.client:"no-window"}if(e.origin==="client"){e.origin=e.client.origin}if(e.policyContainer==="client"){if(e.client!=null){e.policyContainer=g(e.client.policyContainer)}else{e.policyContainer=h()}}if(!e.headersList.contains("accept",true)){const t="*/*";e.headersList.append("accept",t,true)}if(!e.headersList.contains("accept-language",true)){e.headersList.append("accept-language","*",true)}if(e.priority===null){}if(te.has(e.destination)){}mainFetch(d).catch(e=>{d.controller.terminate(e)});return d.controller}async function mainFetch(e,t=false){const A=e.request;let n=null;if(A.localURLsOnly&&!x(I(A))){n=r("local URLs only")}p(A);if(f(A)==="blocked"){n=r("bad port")}if(A.referrerPolicy===""){A.referrerPolicy=A.policyContainer.referrerPolicy}if(A.referrer!=="no-referrer"){A.referrer=k(A)}if(n===null){n=await(async()=>{const t=I(A);if(F(t,A.url)&&A.responseTainting==="basic"||t.protocol==="data:"||(A.mode==="navigate"||A.mode==="websocket")){A.responseTainting="basic";return await schemeFetch(e)}if(A.mode==="same-origin"){return r('request mode cannot be "same-origin"')}if(A.mode==="no-cors"){if(A.redirect!=="follow"){return r('redirect mode cannot be "follow" for "no-cors" request')}A.responseTainting="opaque";return await schemeFetch(e)}if(!H(I(A))){return r("URL scheme must be a HTTP(S) scheme")}A.responseTainting="cors";return await httpFetch(e)})()}if(t){return n}if(n.status!==0&&!n.internalResponse){if(A.responseTainting==="cors"){}if(A.responseTainting==="basic"){n=s(n,"basic")}else if(A.responseTainting==="cors"){n=s(n,"cors")}else if(A.responseTainting==="opaque"){n=s(n,"opaque")}else{q(false)}}let o=n.status===0?n:n.internalResponse;if(o.urlList.length===0){o.urlList.push(...A.urlList)}if(!A.timingAllowFailed){n.timingAllowPassed=true}if(n.type==="opaque"&&o.status===206&&o.rangeRequested&&!A.headers.contains("range",true)){n=o=r()}if(n.status!==0&&(A.method==="HEAD"||A.method==="CONNECT"||Z.includes(o.status))){o.body=null;e.controller.dump=true}if(A.integrity){const processBodyError=t=>fetchFinale(e,r(t));if(A.responseTainting==="opaque"||n.body==null){processBodyError(n.error);return}const processBody=t=>{if(!d(t,A.integrity)){processBodyError("integrity mismatch");return}n.body=z(t)[0];fetchFinale(e,n)};await U(n.body,processBody,processBodyError)}else{fetchFinale(e,n)}}function schemeFetch(e){if(N(e)&&e.request.redirectCount===0){return Promise.resolve(n(e))}const{request:t}=e;const{protocol:s}=I(t);switch(s){case"about:":{return Promise.resolve(r("about scheme is not supported"))}case"blob:":{if(!Ce){Ce=A(4573).resolveObjectURL}const e=I(t);if(e.search.length!==0){return Promise.resolve(r("NetworkError when attempting to fetch resource."))}const n=Ce(e.toString());if(t.method!=="GET"||!S(n)){return Promise.resolve(r("invalid method"))}const s=o();const i=n.size;const a=L(`${i}`);const c=n.type;if(!t.headersList.contains("range",true)){const e=j(n);s.statusText="OK";s.body=e[0];s.headersList.set("content-length",a,true);s.headersList.set("content-type",c,true)}else{s.rangeRequested=true;const e=t.headersList.get("range",true);const A=P(e,true);if(A==="failure"){return Promise.resolve(r("failed to fetch the data URL"))}let{rangeStartValue:o,rangeEndValue:a}=A;if(o===null){o=i-a;a=o+a-1}else{if(o>=i){return Promise.resolve(r("Range start is greater than the blob's size."))}if(a===null||a>=i){a=i-1}}const l=n.slice(o,a,c);const u=j(l);s.body=u[0];const d=L(`${l.size}`);const h=J(o,a,i);s.status=206;s.statusText="Partial Content";s.headersList.set("content-length",d,true);s.headersList.set("content-type",c,true);s.headersList.set("content-range",h,true)}return Promise.resolve(s)}case"data:":{const e=I(t);const A=le(e);if(A==="failure"){return Promise.resolve(r("failed to fetch the data URL"))}const n=ue(A.mimeType);return Promise.resolve(o({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:n}]],body:z(A.body)[0]}))}case"file:":{return Promise.resolve(r("not implemented... yet..."))}case"http:":case"https:":{return httpFetch(e).catch(e=>r(e))}default:{return Promise.resolve(r("unknown scheme"))}}}function finalizeResponse(e,t){e.request.done=true;if(e.processResponseDone!=null){queueMicrotask(()=>e.processResponseDone(t))}}function fetchFinale(e,t){let A=e.timingInfo;const processResponseEndOfBody=()=>{const r=Date.now();if(e.request.destination==="document"){e.controller.fullTimingInfo=A}e.controller.reportTimingSteps=()=>{if(e.request.url.protocol!=="https:"){return}A.endTime=r;let n=t.cacheState;const s=t.bodyInfo;if(!t.timingAllowPassed){A=m(A);n=""}let o=0;if(e.request.mode!=="navigator"||!t.hasCrossOriginRedirects){o=t.status;const e=O(t.headersList);if(e!=="failure"){s.contentType=de(e)}}if(e.request.initiatorType!=null){Ie(A,e.request.url.href,e.request.initiatorType,globalThis,n,s,o)}};const processResponseEndOfBodyTask=()=>{e.request.done=true;if(e.processResponseEndOfBody!=null){queueMicrotask(()=>e.processResponseEndOfBody(t))}if(e.request.initiatorType!=null){e.controller.reportTimingSteps()}};queueMicrotask(()=>processResponseEndOfBodyTask())};if(e.processResponse!=null){queueMicrotask(()=>{e.processResponse(t);e.processResponse=null})}const r=t.type==="error"?t:t.internalResponse??t;if(r.body==null){processResponseEndOfBody()}else{se(r.body.stream,()=>{processResponseEndOfBody()})}}async function httpFetch(e){const t=e.request;let A=null;let n=null;const s=e.timingInfo;if(t.serviceWorkers==="all"){}if(A===null){if(t.redirect==="follow"){t.serviceWorkers="none"}n=A=await httpNetworkOrCacheFetch(e);if(t.responseTainting==="cors"&&w(t,A)==="failure"){return r("cors failure")}if(E(t,A)==="failure"){t.timingAllowFailed=true}}if((t.responseTainting==="opaque"||A.type==="opaque")&&b(t.origin,t.client,t.destination,n)==="blocked"){return r("blocked")}if(K.has(n.status)){if(t.redirect!=="manual"){e.controller.connection.destroy(undefined,false)}if(t.redirect==="error"){A=r("unexpected redirect")}else if(t.redirect==="manual"){A=n}else if(t.redirect==="follow"){A=await httpRedirectFetch(e,A)}else{q(false)}}A.timingInfo=s;return A}function httpRedirectFetch(e,t){const A=e.request;const n=t.internalResponse?t.internalResponse:t;let s;try{s=C(n,I(A).hash);if(s==null){return t}}catch(e){return Promise.resolve(r(e))}if(!H(s)){return Promise.resolve(r("URL scheme must be a HTTP(S) scheme"))}if(A.redirectCount===20){return Promise.resolve(r("redirect count exceeded"))}A.redirectCount+=1;if(A.mode==="cors"&&(s.username||s.password)&&!F(A,s)){return Promise.resolve(r('cross origin not allowed for request mode "cors"'))}if(A.responseTainting==="cors"&&(s.username||s.password)){return Promise.resolve(r('URL cannot contain credentials for request mode "cors"'))}if(n.status!==303&&A.body!=null&&A.body.source==null){return Promise.resolve(r())}if([301,302].includes(n.status)&&A.method==="POST"||n.status===303&&!Ee.includes(A.method)){A.method="GET";A.body=null;for(const e of ee){A.headersList.delete(e)}}if(!F(I(A),s)){A.headersList.delete("authorization",true);A.headersList.delete("proxy-authorization",true);A.headersList.delete("cookie",true);A.headersList.delete("host",true)}if(A.body!=null){q(A.body.source!=null);A.body=z(A.body.source)[0]}const o=e.timingInfo;o.redirectEndTime=o.postRedirectStartTime=D(e.crossOriginIsolatedCapability);if(o.redirectStartTime===0){o.redirectStartTime=o.startTime}A.urlList.push(s);B(A,n);return mainFetch(e,true)}async function httpNetworkOrCacheFetch(e,t=false,A=false){const s=e.request;let o=null;let i=null;let a=null;const c=null;const u=false;if(s.window==="no-window"&&s.redirect==="error"){o=e;i=s}else{i=l(s);o={...e};o.request=i}const d=s.credentials==="include"||s.credentials==="same-origin"&&s.responseTainting==="basic";const h=i.body?i.body.length:null;let g=null;if(i.body==null&&["POST","PUT"].includes(i.method)){g="0"}if(h!=null){g=L(`${h}`)}if(g!=null){i.headersList.append("content-length",g,true)}if(h!=null&&i.keepalive){}if(i.referrer instanceof URL){i.headersList.append("referer",L(i.referrer.href),true)}Q(i);y(i);if(!i.headersList.contains("user-agent",true)){i.headersList.append("user-agent",Qe)}if(i.cache==="default"&&(i.headersList.contains("if-modified-since",true)||i.headersList.contains("if-none-match",true)||i.headersList.contains("if-unmodified-since",true)||i.headersList.contains("if-match",true)||i.headersList.contains("if-range",true))){i.cache="no-store"}if(i.cache==="no-cache"&&!i.preventNoCacheCacheControlHeaderModification&&!i.headersList.contains("cache-control",true)){i.headersList.append("cache-control","max-age=0",true)}if(i.cache==="no-store"||i.cache==="reload"){if(!i.headersList.contains("pragma",true)){i.headersList.append("pragma","no-cache",true)}if(!i.headersList.contains("cache-control",true)){i.headersList.append("cache-control","no-cache",true)}}if(i.headersList.contains("range",true)){i.headersList.append("accept-encoding","identity",true)}if(!i.headersList.contains("accept-encoding",true)){if(G(I(i))){i.headersList.append("accept-encoding","br, gzip, deflate",true)}else{i.headersList.append("accept-encoding","gzip, deflate",true)}}i.headersList.delete("host",true);if(d){}if(c==null){i.cache="no-store"}if(i.cache!=="no-store"&&i.cache!=="reload"){}if(a==null){if(i.cache==="only-if-cached"){return r("only if cached")}const e=await httpNetworkFetch(o,d,A);if(!X.has(i.method)&&e.status>=200&&e.status<=399){}if(u&&e.status===304){}if(a==null){a=e}}a.urlList=[...i.urlList];if(i.headersList.contains("range",true)){a.rangeRequested=true}a.requestIncludesCredentials=d;if(a.status===407){if(s.window==="no-window"){return r()}if(N(e)){return n(e)}return r("proxy authentication required")}if(a.status===421&&!A&&(s.body==null||s.body.source!=null)){if(N(e)){return n(e)}e.controller.connection.destroy();a=await httpNetworkOrCacheFetch(e,t,true)}if(t){}return a}async function httpNetworkFetch(e,t=false,A=false){q(!e.controller.connection||e.controller.connection.destroyed);e.controller.connection={abort:null,destroyed:false,destroy(e,t=true){if(!this.destroyed){this.destroyed=true;if(t){this.abort?.(e??new DOMException("The operation was aborted.","AbortError"))}}}};const s=e.request;let i=null;const c=e.timingInfo;const l=null;if(l==null){s.cache="no-store"}const d=A?"yes":"no";if(s.mode==="websocket"){}else{}let h=null;if(s.body==null&&e.processRequestEndOfBody){queueMicrotask(()=>e.processRequestEndOfBody())}else if(s.body!=null){const processBodyChunk=async function*(t){if(N(e)){return}yield t;e.processRequestBodyChunkLength?.(t.byteLength)};const processEndOfBody=()=>{if(N(e)){return}if(e.processRequestEndOfBody){e.processRequestEndOfBody()}};const processBodyError=t=>{if(N(e)){return}if(t.name==="AbortError"){e.controller.abort()}else{e.controller.terminate(t)}};h=async function*(){try{for await(const e of s.body.stream){yield*processBodyChunk(e)}processEndOfBody()}catch(e){processBodyError(e)}}()}try{const{body:t,status:A,statusText:r,headersList:n,socket:s}=await dispatch({body:h});if(s){i=o({status:A,statusText:r,headersList:n,socket:s})}else{const s=t[Symbol.asyncIterator]();e.controller.next=()=>s.next();i=o({status:A,statusText:r,headersList:n})}}catch(t){if(t.name==="AbortError"){e.controller.connection.destroy();return n(e,t)}return r(t)}const pullAlgorithm=async()=>{await e.controller.resume()};const cancelAlgorithm=t=>{if(!N(e)){e.controller.abort(t)}};const g=new ReadableStream({async start(t){e.controller.controller=t},async pull(e){await pullAlgorithm(e)},async cancel(e){await cancelAlgorithm(e)},type:"bytes"});i.body={stream:g,source:null,length:null};if(!e.controller.resume){e.controller.on("terminated",onAborted)}e.controller.resume=async()=>{while(true){let t;let A;try{const{done:A,value:r}=await e.controller.next();if(v(e)){break}t=A?undefined:r}catch(r){if(e.controller.ended&&!c.encodedBodySize){t=undefined}else{t=r;A=true}}if(t===undefined){T(e.controller.controller);finalizeResponse(e,i);return}c.decodedBodySize+=t?.byteLength??0;if(A){e.controller.terminate(t);return}const r=new Uint8Array(t);if(r.byteLength){e.controller.controller.enqueue(r)}if(ie(g)){e.controller.terminate();return}if(e.controller.controller.desiredSize<=0){return}}};function onAborted(t){if(v(e)){i.aborted=true;if(ae(g)){e.controller.controller.error(e.controller.serializedAbortReason)}}else{if(ae(g)){e.controller.controller.error(new TypeError("terminated",{cause:M(t)?t:undefined}))}}e.controller.connection.destroy()}return i;function dispatch({body:t}){const A=I(s);const r=e.controller.dispatcher;return new Promise((n,o)=>r.dispatch({path:A.pathname+A.search,origin:A.origin,method:s.method,body:r.isMockActive?s.body&&(s.body.source||s.body.stream):t,headers:s.headersList.entries,maxRedirections:0,upgrade:s.mode==="websocket"?"websocket":undefined},{body:null,abort:null,onConnect(t){const{connection:A}=e.controller;c.finalConnectionTimingInfo=Y(undefined,c.postRedirectStartTime,e.crossOriginIsolatedCapability);if(A.destroyed){t(new DOMException("The operation was aborted.","AbortError"))}else{e.controller.on("terminated",t);this.abort=A.abort=t}c.finalNetworkRequestStartTime=D(e.crossOriginIsolatedCapability)},onResponseStarted(){c.finalNetworkResponseStartTime=D(e.crossOriginIsolatedCapability)},onHeaders(e,t,A,r){if(e<200){return}let o="";const i=new a;for(let e=0;eA){this.abort(new Error(`too many content-encodings in response: ${t.length}, maximum allowed is ${A}`));return true}for(let e=t.length-1;e>=0;--e){const A=t[e].trim();if(A==="x-gzip"||A==="gzip"){c.push(u.createGunzip({flush:u.constants.Z_SYNC_FLUSH,finishFlush:u.constants.Z_SYNC_FLUSH}))}else if(A==="deflate"){c.push(V({flush:u.constants.Z_SYNC_FLUSH,finishFlush:u.constants.Z_SYNC_FLUSH}))}else if(A==="br"){c.push(u.createBrotliDecompress({flush:u.constants.BROTLI_OPERATION_FLUSH,finishFlush:u.constants.BROTLI_OPERATION_FLUSH}))}else{c.length=0;break}}}this.body=new re({read:A});const d=this.onError.bind(this);n({status:e,statusText:r,headersList:i,body:c.length?ne(this.body,...c,e=>{if(e){this.onError(e)}}).on("error",d):this.body.on("error",d)});return true},onData(t){if(e.controller.dump){return}const A=t;c.encodedBodySize+=A.byteLength;return this.body.push(A)},onComplete(){if(this.abort){e.controller.off("terminated",this.abort)}e.controller.ended=true;this.body.push(null)},onError(t){if(this.abort){e.controller.off("terminated",this.abort)}this.body?.destroy(t);e.controller.terminate(t);o(t)},onUpgrade(e,t,A){if(e!==101){return}const r=new a;for(let e=0;e{const{extractBody:r,mixinBody:n,cloneBody:s,bodyUnusable:o}=A(6455);const{Headers:i,fill:a,HeadersList:c,setHeadersGuard:l,getHeadersGuard:u,setHeadersList:d,getHeadersList:h}=A(3257);const{FinalizationRegistry:g}=A(3090)();const f=A(8529);const E=A(7975);const{isValidHTTPToken:Q,sameOrigin:C,environmentSettingsObject:I}=A(3095);const{forbiddenMethodsSet:B,corsSafeListedMethodsSet:p,referrerPolicy:m,requestRedirect:y,requestMode:w,requestCredentials:b,requestCache:k,requestDuplex:D}=A(5706);const{kEnumerableProperty:R,normalizedMethodRecordsBase:S,normalizedMethodRecords:F}=f;const{kHeaders:N,kSignal:v,kState:M,kDispatcher:U}=A(6602);const{webidl:T}=A(5162);const{URLSerializer:L}=A(5192);const{kConstruct:x}=A(5424);const H=A(4589);const{getMaxListeners:G,setMaxListeners:Y,getEventListeners:P,defaultMaxListeners:J}=A(8474);const V=Symbol("abortController");const O=new g(({signal:e,abort:t})=>{e.removeEventListener("abort",t)});const $=new WeakMap;function buildAbort(e){return abort;function abort(){const t=e.deref();if(t!==undefined){O.unregister(abort);this.removeEventListener("abort",abort);t.abort(this.reason);const e=$.get(t.signal);if(e!==undefined){if(e.size!==0){for(const t of e){const e=t.deref();if(e!==undefined){e.abort(this.reason)}}e.clear()}$.delete(t.signal)}}}}let W=false;class Request{constructor(e,t={}){T.util.markAsUncloneable(this);if(e===x){return}const A="Request constructor";T.argumentLengthCheck(arguments,1,A);e=T.converters.RequestInfo(e,A,"input");t=T.converters.RequestInit(t,A,"init");let n=null;let s=null;const u=I.settingsObject.baseUrl;let g=null;if(typeof e==="string"){this[U]=t.dispatcher;let A;try{A=new URL(e,u)}catch(t){throw new TypeError("Failed to parse URL from "+e,{cause:t})}if(A.username||A.password){throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+e)}n=makeRequest({urlList:[A]});s="cors"}else{this[U]=t.dispatcher||e[U];H(e instanceof Request);n=e[M];g=e[v]}const E=I.settingsObject.origin;let m="client";if(n.window?.constructor?.name==="EnvironmentSettingsObject"&&C(n.window,E)){m=n.window}if(t.window!=null){throw new TypeError(`'window' option '${m}' must be null`)}if("window"in t){m="no-window"}n=makeRequest({method:n.method,headersList:n.headersList,unsafeRequest:n.unsafeRequest,client:I.settingsObject,window:m,priority:n.priority,origin:n.origin,referrer:n.referrer,referrerPolicy:n.referrerPolicy,mode:n.mode,credentials:n.credentials,cache:n.cache,redirect:n.redirect,integrity:n.integrity,keepalive:n.keepalive,reloadNavigation:n.reloadNavigation,historyNavigation:n.historyNavigation,urlList:[...n.urlList]});const y=Object.keys(t).length!==0;if(y){if(n.mode==="navigate"){n.mode="same-origin"}n.reloadNavigation=false;n.historyNavigation=false;n.origin="client";n.referrer="client";n.referrerPolicy="";n.url=n.urlList[n.urlList.length-1];n.urlList=[n.url]}if(t.referrer!==undefined){const e=t.referrer;if(e===""){n.referrer="no-referrer"}else{let t;try{t=new URL(e,u)}catch(t){throw new TypeError(`Referrer "${e}" is not a valid URL.`,{cause:t})}if(t.protocol==="about:"&&t.hostname==="client"||E&&!C(t,I.settingsObject.baseUrl)){n.referrer="client"}else{n.referrer=t}}}if(t.referrerPolicy!==undefined){n.referrerPolicy=t.referrerPolicy}let w;if(t.mode!==undefined){w=t.mode}else{w=s}if(w==="navigate"){throw T.errors.exception({header:"Request constructor",message:"invalid request mode navigate."})}if(w!=null){n.mode=w}if(t.credentials!==undefined){n.credentials=t.credentials}if(t.cache!==undefined){n.cache=t.cache}if(n.cache==="only-if-cached"&&n.mode!=="same-origin"){throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode")}if(t.redirect!==undefined){n.redirect=t.redirect}if(t.integrity!=null){n.integrity=String(t.integrity)}if(t.keepalive!==undefined){n.keepalive=Boolean(t.keepalive)}if(t.method!==undefined){let e=t.method;const A=F[e];if(A!==undefined){n.method=A}else{if(!Q(e)){throw new TypeError(`'${e}' is not a valid HTTP method.`)}const t=e.toUpperCase();if(B.has(t)){throw new TypeError(`'${e}' HTTP method is unsupported.`)}e=S[t]??e;n.method=e}if(!W&&n.method==="patch"){process.emitWarning("Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.",{code:"UNDICI-FETCH-patch"});W=true}}if(t.signal!==undefined){g=t.signal}this[M]=n;const b=new AbortController;this[v]=b.signal;if(g!=null){if(!g||typeof g.aborted!=="boolean"||typeof g.addEventListener!=="function"){throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.")}if(g.aborted){b.abort(g.reason)}else{this[V]=b;const e=new WeakRef(b);const t=buildAbort(e);try{if(typeof G==="function"&&G(g)===J){Y(1500,g)}else if(P(g,"abort").length>=J){Y(1500,g)}}catch{}f.addAbortListener(g,t);O.register(b,{signal:g,abort:t},t)}}this[N]=new i(x);d(this[N],n.headersList);l(this[N],"request");if(w==="no-cors"){if(!p.has(n.method)){throw new TypeError(`'${n.method} is unsupported in no-cors mode.`)}l(this[N],"request-no-cors")}if(y){const e=h(this[N]);const A=t.headers!==undefined?t.headers:new c(e);e.clear();if(A instanceof c){for(const{name:t,value:r}of A.rawValues()){e.append(t,r,false)}e.cookies=A.cookies}else{a(this[N],A)}}const k=e instanceof Request?e[M].body:null;if((t.body!=null||k!=null)&&(n.method==="GET"||n.method==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body.")}let D=null;if(t.body!=null){const[e,A]=r(t.body,n.keepalive);D=e;if(A&&!h(this[N]).contains("content-type",true)){this[N].append("content-type",A)}}const R=D??k;if(R!=null&&R.source==null){if(D!=null&&t.duplex==null){throw new TypeError("RequestInit: duplex option is required when sending a body.")}if(n.mode!=="same-origin"&&n.mode!=="cors"){throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"')}n.useCORSPreflightFlag=true}let L=R;if(D==null&&k!=null){if(o(e)){throw new TypeError("Cannot construct a Request with a Request object that has already been used.")}const t=new TransformStream;k.stream.pipeThrough(t);L={source:k.source,length:k.length,stream:t.readable}}this[M].body=L}get method(){T.brandCheck(this,Request);return this[M].method}get url(){T.brandCheck(this,Request);return L(this[M].url)}get headers(){T.brandCheck(this,Request);return this[N]}get destination(){T.brandCheck(this,Request);return this[M].destination}get referrer(){T.brandCheck(this,Request);if(this[M].referrer==="no-referrer"){return""}if(this[M].referrer==="client"){return"about:client"}return this[M].referrer.toString()}get referrerPolicy(){T.brandCheck(this,Request);return this[M].referrerPolicy}get mode(){T.brandCheck(this,Request);return this[M].mode}get credentials(){return this[M].credentials}get cache(){T.brandCheck(this,Request);return this[M].cache}get redirect(){T.brandCheck(this,Request);return this[M].redirect}get integrity(){T.brandCheck(this,Request);return this[M].integrity}get keepalive(){T.brandCheck(this,Request);return this[M].keepalive}get isReloadNavigation(){T.brandCheck(this,Request);return this[M].reloadNavigation}get isHistoryNavigation(){T.brandCheck(this,Request);return this[M].historyNavigation}get signal(){T.brandCheck(this,Request);return this[v]}get body(){T.brandCheck(this,Request);return this[M].body?this[M].body.stream:null}get bodyUsed(){T.brandCheck(this,Request);return!!this[M].body&&f.isDisturbed(this[M].body.stream)}get duplex(){T.brandCheck(this,Request);return"half"}clone(){T.brandCheck(this,Request);if(o(this)){throw new TypeError("unusable")}const e=cloneRequest(this[M]);const t=new AbortController;if(this.signal.aborted){t.abort(this.signal.reason)}else{let e=$.get(this.signal);if(e===undefined){e=new Set;$.set(this.signal,e)}const A=new WeakRef(t);e.add(A);f.addAbortListener(t.signal,buildAbort(A))}return fromInnerRequest(e,t.signal,u(this[N]))}[E.inspect.custom](e,t){if(t.depth===null){t.depth=2}t.colors??=true;const A={method:this.method,url:this.url,headers:this.headers,destination:this.destination,referrer:this.referrer,referrerPolicy:this.referrerPolicy,mode:this.mode,credentials:this.credentials,cache:this.cache,redirect:this.redirect,integrity:this.integrity,keepalive:this.keepalive,isReloadNavigation:this.isReloadNavigation,isHistoryNavigation:this.isHistoryNavigation,signal:this.signal};return`Request ${E.formatWithOptions(t,A)}`}}n(Request);function makeRequest(e){return{method:e.method??"GET",localURLsOnly:e.localURLsOnly??false,unsafeRequest:e.unsafeRequest??false,body:e.body??null,client:e.client??null,reservedClient:e.reservedClient??null,replacesClientId:e.replacesClientId??"",window:e.window??"client",keepalive:e.keepalive??false,serviceWorkers:e.serviceWorkers??"all",initiator:e.initiator??"",destination:e.destination??"",priority:e.priority??null,origin:e.origin??"client",policyContainer:e.policyContainer??"client",referrer:e.referrer??"client",referrerPolicy:e.referrerPolicy??"",mode:e.mode??"no-cors",useCORSPreflightFlag:e.useCORSPreflightFlag??false,credentials:e.credentials??"same-origin",useCredentials:e.useCredentials??false,cache:e.cache??"default",redirect:e.redirect??"follow",integrity:e.integrity??"",cryptoGraphicsNonceMetadata:e.cryptoGraphicsNonceMetadata??"",parserMetadata:e.parserMetadata??"",reloadNavigation:e.reloadNavigation??false,historyNavigation:e.historyNavigation??false,userActivation:e.userActivation??false,taintedOrigin:e.taintedOrigin??false,redirectCount:e.redirectCount??0,responseTainting:e.responseTainting??"basic",preventNoCacheCacheControlHeaderModification:e.preventNoCacheCacheControlHeaderModification??false,done:e.done??false,timingAllowFailed:e.timingAllowFailed??false,urlList:e.urlList,url:e.urlList[0],headersList:e.headersList?new c(e.headersList):new c}}function cloneRequest(e){const t=makeRequest({...e,body:null});if(e.body!=null){t.body=s(t,e.body)}return t}function fromInnerRequest(e,t,A){const r=new Request(x);r[M]=e;r[v]=t;r[N]=new i(x);d(r[N],e.headersList);l(r[N],A);return r}Object.defineProperties(Request.prototype,{method:R,url:R,headers:R,redirect:R,clone:R,signal:R,duplex:R,destination:R,body:R,bodyUsed:R,isHistoryNavigation:R,isReloadNavigation:R,keepalive:R,integrity:R,cache:R,credentials:R,attribute:R,referrerPolicy:R,referrer:R,mode:R,[Symbol.toStringTag]:{value:"Request",configurable:true}});T.converters.Request=T.interfaceConverter(Request);T.converters.RequestInfo=function(e,t,A){if(typeof e==="string"){return T.converters.USVString(e,t,A)}if(e instanceof Request){return T.converters.Request(e,t,A)}return T.converters.USVString(e,t,A)};T.converters.AbortSignal=T.interfaceConverter(AbortSignal);T.converters.RequestInit=T.dictionaryConverter([{key:"method",converter:T.converters.ByteString},{key:"headers",converter:T.converters.HeadersInit},{key:"body",converter:T.nullableConverter(T.converters.BodyInit)},{key:"referrer",converter:T.converters.USVString},{key:"referrerPolicy",converter:T.converters.DOMString,allowedValues:m},{key:"mode",converter:T.converters.DOMString,allowedValues:w},{key:"credentials",converter:T.converters.DOMString,allowedValues:b},{key:"cache",converter:T.converters.DOMString,allowedValues:k},{key:"redirect",converter:T.converters.DOMString,allowedValues:y},{key:"integrity",converter:T.converters.DOMString},{key:"keepalive",converter:T.converters.boolean},{key:"signal",converter:T.nullableConverter(e=>T.converters.AbortSignal(e,"RequestInit","signal",{strict:false}))},{key:"window",converter:T.converters.any},{key:"duplex",converter:T.converters.DOMString,allowedValues:D},{key:"dispatcher",converter:T.converters.any}]);e.exports={Request:Request,makeRequest:makeRequest,fromInnerRequest:fromInnerRequest,cloneRequest:cloneRequest}},1328:(e,t,A)=>{const{Headers:r,HeadersList:n,fill:s,getHeadersGuard:o,setHeadersGuard:i,setHeadersList:a}=A(3257);const{extractBody:c,cloneBody:l,mixinBody:u,hasFinalizationRegistry:d,streamRegistry:h,bodyUnusable:g}=A(6455);const f=A(8529);const E=A(7975);const{kEnumerableProperty:Q}=f;const{isValidReasonPhrase:C,isCancelled:I,isAborted:B,isBlobLike:p,serializeJavascriptValueToJSONString:m,isErrorLike:y,isomorphicEncode:w,environmentSettingsObject:b}=A(3095);const{redirectStatusSet:k,nullBodyStatus:D}=A(5706);const{kState:R,kHeaders:S}=A(6602);const{webidl:F}=A(5162);const{FormData:N}=A(7653);const{URLSerializer:v}=A(5192);const{kConstruct:M}=A(5424);const U=A(4589);const{types:T}=A(7975);const L=new TextEncoder("utf-8");class Response{static error(){const e=fromInnerResponse(makeNetworkError(),"immutable");return e}static json(e,t={}){F.argumentLengthCheck(arguments,1,"Response.json");if(t!==null){t=F.converters.ResponseInit(t)}const A=L.encode(m(e));const r=c(A);const n=fromInnerResponse(makeResponse({}),"response");initializeResponse(n,t,{body:r[0],type:"application/json"});return n}static redirect(e,t=302){F.argumentLengthCheck(arguments,1,"Response.redirect");e=F.converters.USVString(e);t=F.converters["unsigned short"](t);let A;try{A=new URL(e,b.settingsObject.baseUrl)}catch(t){throw new TypeError(`Failed to parse URL from ${e}`,{cause:t})}if(!k.has(t)){throw new RangeError(`Invalid status code ${t}`)}const r=fromInnerResponse(makeResponse({}),"immutable");r[R].status=t;const n=w(v(A));r[R].headersList.append("location",n,true);return r}constructor(e=null,t={}){F.util.markAsUncloneable(this);if(e===M){return}if(e!==null){e=F.converters.BodyInit(e)}t=F.converters.ResponseInit(t);this[R]=makeResponse({});this[S]=new r(M);i(this[S],"response");a(this[S],this[R].headersList);let A=null;if(e!=null){const[t,r]=c(e);A={body:t,type:r}}initializeResponse(this,t,A)}get type(){F.brandCheck(this,Response);return this[R].type}get url(){F.brandCheck(this,Response);const e=this[R].urlList;const t=e[e.length-1]??null;if(t===null){return""}return v(t,true)}get redirected(){F.brandCheck(this,Response);return this[R].urlList.length>1}get status(){F.brandCheck(this,Response);return this[R].status}get ok(){F.brandCheck(this,Response);return this[R].status>=200&&this[R].status<=299}get statusText(){F.brandCheck(this,Response);return this[R].statusText}get headers(){F.brandCheck(this,Response);return this[S]}get body(){F.brandCheck(this,Response);return this[R].body?this[R].body.stream:null}get bodyUsed(){F.brandCheck(this,Response);return!!this[R].body&&f.isDisturbed(this[R].body.stream)}clone(){F.brandCheck(this,Response);if(g(this)){throw F.errors.exception({header:"Response.clone",message:"Body has already been consumed."})}const e=cloneResponse(this[R]);if(d&&this[R].body?.stream){h.register(this,new WeakRef(this[R].body.stream))}return fromInnerResponse(e,o(this[S]))}[E.inspect.custom](e,t){if(t.depth===null){t.depth=2}t.colors??=true;const A={status:this.status,statusText:this.statusText,headers:this.headers,body:this.body,bodyUsed:this.bodyUsed,ok:this.ok,redirected:this.redirected,type:this.type,url:this.url};return`Response ${E.formatWithOptions(t,A)}`}}u(Response);Object.defineProperties(Response.prototype,{type:Q,url:Q,status:Q,ok:Q,redirected:Q,statusText:Q,headers:Q,clone:Q,body:Q,bodyUsed:Q,[Symbol.toStringTag]:{value:"Response",configurable:true}});Object.defineProperties(Response,{json:Q,redirect:Q,error:Q});function cloneResponse(e){if(e.internalResponse){return filterResponse(cloneResponse(e.internalResponse),e.type)}const t=makeResponse({...e,body:null});if(e.body!=null){t.body=l(t,e.body)}return t}function makeResponse(e){return{aborted:false,rangeRequested:false,timingAllowPassed:false,requestIncludesCredentials:false,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...e,headersList:e?.headersList?new n(e?.headersList):new n,urlList:e?.urlList?[...e.urlList]:[]}}function makeNetworkError(e){const t=y(e);return makeResponse({type:"error",status:0,error:t?e:new Error(e?String(e):e),aborted:e&&e.name==="AbortError"})}function isNetworkError(e){return e.type==="error"&&e.status===0}function makeFilteredResponse(e,t){t={internalResponse:e,...t};return new Proxy(e,{get(e,A){return A in t?t[A]:e[A]},set(e,A,r){U(!(A in t));e[A]=r;return true}})}function filterResponse(e,t){if(t==="basic"){return makeFilteredResponse(e,{type:"basic",headersList:e.headersList})}else if(t==="cors"){return makeFilteredResponse(e,{type:"cors",headersList:e.headersList})}else if(t==="opaque"){return makeFilteredResponse(e,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null})}else if(t==="opaqueredirect"){return makeFilteredResponse(e,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null})}else{U(false)}}function makeAppropriateNetworkError(e,t=null){U(I(e));return B(e)?makeNetworkError(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:t})):makeNetworkError(Object.assign(new DOMException("Request was cancelled."),{cause:t}))}function initializeResponse(e,t,A){if(t.status!==null&&(t.status<200||t.status>599)){throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.')}if("statusText"in t&&t.statusText!=null){if(!C(String(t.statusText))){throw new TypeError("Invalid statusText")}}if("status"in t&&t.status!=null){e[R].status=t.status}if("statusText"in t&&t.statusText!=null){e[R].statusText=t.statusText}if("headers"in t&&t.headers!=null){s(e[S],t.headers)}if(A){if(D.includes(e.status)){throw F.errors.exception({header:"Response constructor",message:`Invalid response status code ${e.status}`})}e[R].body=A.body;if(A.type!=null&&!e[R].headersList.contains("content-type",true)){e[R].headersList.append("content-type",A.type,true)}}}function fromInnerResponse(e,t){const A=new Response(M);A[R]=e;A[S]=new r(M);a(A[S],e.headersList);i(A[S],t);if(d&&e.body?.stream){h.register(A,new WeakRef(e.body.stream))}return A}F.converters.ReadableStream=F.interfaceConverter(ReadableStream);F.converters.FormData=F.interfaceConverter(N);F.converters.URLSearchParams=F.interfaceConverter(URLSearchParams);F.converters.XMLHttpRequestBodyInit=function(e,t,A){if(typeof e==="string"){return F.converters.USVString(e,t,A)}if(p(e)){return F.converters.Blob(e,t,A,{strict:false})}if(ArrayBuffer.isView(e)||T.isArrayBuffer(e)){return F.converters.BufferSource(e,t,A)}if(f.isFormDataLike(e)){return F.converters.FormData(e,t,A,{strict:false})}if(e instanceof URLSearchParams){return F.converters.URLSearchParams(e,t,A)}return F.converters.DOMString(e,t,A)};F.converters.BodyInit=function(e,t,A){if(e instanceof ReadableStream){return F.converters.ReadableStream(e,t,A)}if(e?.[Symbol.asyncIterator]){return e}return F.converters.XMLHttpRequestBodyInit(e,t,A)};F.converters.ResponseInit=F.dictionaryConverter([{key:"status",converter:F.converters["unsigned short"],defaultValue:()=>200},{key:"statusText",converter:F.converters.ByteString,defaultValue:()=>""},{key:"headers",converter:F.converters.HeadersInit}]);e.exports={isNetworkError:isNetworkError,makeNetworkError:makeNetworkError,makeResponse:makeResponse,makeAppropriateNetworkError:makeAppropriateNetworkError,filterResponse:filterResponse,Response:Response,cloneResponse:cloneResponse,fromInnerResponse:fromInnerResponse}},6602:e=>{e.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}},3095:(e,t,A)=>{const{Transform:r}=A(7075);const n=A(8522);const{redirectStatusSet:s,referrerPolicySet:o,badPortsSet:i}=A(5706);const{getGlobalOrigin:a}=A(8712);const{collectASequenceOfCodePoints:c,collectAnHTTPQuotedString:l,removeChars:u,parseMIMEType:d}=A(5192);const{performance:h}=A(643);const{isBlobLike:g,ReadableStreamFrom:f,isValidHTTPToken:E,normalizedMethodRecordsBase:Q}=A(8529);const C=A(4589);const{isUint8Array:I}=A(3429);const{webidl:B}=A(5162);let p=[];let m;try{m=A(7598);const e=["sha256","sha384","sha512"];p=m.getHashes().filter(t=>e.includes(t))}catch{}function responseURL(e){const t=e.urlList;const A=t.length;return A===0?null:t[A-1].toString()}function responseLocationURL(e,t){if(!s.has(e.status)){return null}let A=e.headersList.get("location",true);if(A!==null&&isValidHeaderValue(A)){if(!isValidEncodedURL(A)){A=normalizeBinaryStringToUtf8(A)}A=new URL(A,responseURL(e))}if(A&&!A.hash){A.hash=t}return A}function isValidEncodedURL(e){for(let t=0;t126||A<32){return false}}return true}function normalizeBinaryStringToUtf8(e){return Buffer.from(e,"binary").toString("utf8")}function requestCurrentURL(e){return e.urlList[e.urlList.length-1]}function requestBadPort(e){const t=requestCurrentURL(e);if(urlIsHttpHttpsScheme(t)&&i.has(t.port)){return"blocked"}return"allowed"}function isErrorLike(e){return e instanceof Error||(e?.constructor?.name==="Error"||e?.constructor?.name==="DOMException")}function isValidReasonPhrase(e){for(let t=0;t=32&&A<=126||A>=128&&A<=255)){return false}}return true}const y=E;function isValidHeaderValue(e){return(e[0]==="\t"||e[0]===" "||e[e.length-1]==="\t"||e[e.length-1]===" "||e.includes("\n")||e.includes("\r")||e.includes("\0"))===false}function setRequestReferrerPolicyOnRedirect(e,t){const{headersList:A}=t;const r=(A.get("referrer-policy",true)??"").split(",");let n="";if(r.length>0){for(let e=r.length;e!==0;e--){const t=r[e-1].trim();if(o.has(t)){n=t;break}}}if(n!==""){e.referrerPolicy=n}}function crossOriginResourcePolicyCheck(){return"allowed"}function corsCheck(){return"success"}function TAOCheck(){return"success"}function appendFetchMetadata(e){let t=null;t=e.mode;e.headersList.set("sec-fetch-mode",t,true)}function appendRequestOriginHeader(e){let t=e.origin;if(t==="client"||t===undefined){return}if(e.responseTainting==="cors"||e.mode==="websocket"){e.headersList.append("origin",t,true)}else if(e.method!=="GET"&&e.method!=="HEAD"){switch(e.referrerPolicy){case"no-referrer":t=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":if(e.origin&&urlHasHttpsScheme(e.origin)&&!urlHasHttpsScheme(requestCurrentURL(e))){t=null}break;case"same-origin":if(!sameOrigin(e,requestCurrentURL(e))){t=null}break;default:}e.headersList.append("origin",t,true)}}function coarsenTime(e,t){return e}function clampAndCoarsenConnectionTimingInfo(e,t,A){if(!e?.startTime||e.startTime4096){r=n}const s=sameOrigin(e,r);const o=isURLPotentiallyTrustworthy(r)&&!isURLPotentiallyTrustworthy(e.url);switch(t){case"origin":return n!=null?n:stripURLForReferrer(A,true);case"unsafe-url":return r;case"same-origin":return s?n:"no-referrer";case"origin-when-cross-origin":return s?r:n;case"strict-origin-when-cross-origin":{const t=requestCurrentURL(e);if(sameOrigin(r,t)){return r}if(isURLPotentiallyTrustworthy(r)&&!isURLPotentiallyTrustworthy(t)){return"no-referrer"}return n}case"strict-origin":case"no-referrer-when-downgrade":default:return o?"no-referrer":n}}function stripURLForReferrer(e,t){C(e instanceof URL);e=new URL(e);if(e.protocol==="file:"||e.protocol==="about:"||e.protocol==="blank:"){return"no-referrer"}e.username="";e.password="";e.hash="";if(t){e.pathname="";e.search=""}return e}function isURLPotentiallyTrustworthy(e){if(!(e instanceof URL)){return false}if(e.href==="about:blank"||e.href==="about:srcdoc"){return true}if(e.protocol==="data:")return true;if(e.protocol==="file:")return true;return isOriginPotentiallyTrustworthy(e.origin);function isOriginPotentiallyTrustworthy(e){if(e==null||e==="null")return false;const t=new URL(e);if(t.protocol==="https:"||t.protocol==="wss:"){return true}if(/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(t.hostname)||(t.hostname==="localhost"||t.hostname.includes("localhost."))||t.hostname.endsWith(".localhost")){return true}return false}}function bytesMatch(e,t){if(m===undefined){return true}const A=parseMetadata(t);if(A==="no metadata"){return true}if(A.length===0){return true}const r=getStrongestMetadata(A);const n=filterMetadataListByAlgorithm(A,r);for(const t of n){const A=t.algo;const r=t.hash;let n=m.createHash(A).update(e).digest("base64");if(n[n.length-1]==="="){if(n[n.length-2]==="="){n=n.slice(0,-2)}else{n=n.slice(0,-1)}}if(compareBase64Mixed(n,r)){return true}}return false}const w=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function parseMetadata(e){const t=[];let A=true;for(const r of e.split(" ")){A=false;const e=w.exec(r);if(e===null||e.groups===undefined||e.groups.algo===undefined){continue}const n=e.groups.algo.toLowerCase();if(p.includes(n)){t.push(e.groups)}}if(A===true){return"no metadata"}return t}function getStrongestMetadata(e){let t=e[0].algo;if(t[3]==="5"){return t}for(let A=1;A{e=A;t=r});return{promise:A,resolve:e,reject:t}}function isAborted(e){return e.controller.state==="aborted"}function isCancelled(e){return e.controller.state==="aborted"||e.controller.state==="terminated"}function normalizeMethod(e){return Q[e.toLowerCase()]??e}function serializeJavascriptValueToJSONString(e){const t=JSON.stringify(e);if(t===undefined){throw new TypeError("Value is not JSON serializable")}C(typeof t==="string");return t}const b=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function createIterator(e,t,A=0,r=1){class FastIterableIterator{#W;#q;#z;constructor(e,t){this.#W=e;this.#q=t;this.#z=0}next(){if(typeof this!=="object"||this===null||!(#W in this)){throw new TypeError(`'next' called on an object that does not implement interface ${e} Iterator.`)}const n=this.#z;const s=this.#W[t];const o=s.length;if(n>=o){return{value:undefined,done:true}}const{[A]:i,[r]:a}=s[n];this.#z=n+1;let c;switch(this.#q){case"key":c=i;break;case"value":c=a;break;case"key+value":c=[i,a];break}return{value:c,done:false}}}delete FastIterableIterator.prototype.constructor;Object.setPrototypeOf(FastIterableIterator.prototype,b);Object.defineProperties(FastIterableIterator.prototype,{[Symbol.toStringTag]:{writable:false,enumerable:false,configurable:true,value:`${e} Iterator`},next:{writable:true,enumerable:true,configurable:true}});return function(e,t){return new FastIterableIterator(e,t)}}function iteratorMixin(e,t,A,r=0,n=1){const s=createIterator(e,A,r,n);const o={keys:{writable:true,enumerable:true,configurable:true,value:function keys(){B.brandCheck(this,t);return s(this,"key")}},values:{writable:true,enumerable:true,configurable:true,value:function values(){B.brandCheck(this,t);return s(this,"value")}},entries:{writable:true,enumerable:true,configurable:true,value:function entries(){B.brandCheck(this,t);return s(this,"key+value")}},forEach:{writable:true,enumerable:true,configurable:true,value:function forEach(A,r=globalThis){B.brandCheck(this,t);B.argumentLengthCheck(arguments,1,`${e}.forEach`);if(typeof A!=="function"){throw new TypeError(`Failed to execute 'forEach' on '${e}': parameter 1 is not of type 'Function'.`)}for(const{0:e,1:t}of s(this,"key+value")){A.call(r,t,e,this)}}}};return Object.defineProperties(t.prototype,{...o,[Symbol.iterator]:{writable:true,enumerable:false,configurable:true,value:o.entries.value}})}async function fullyReadBody(e,t,A){const r=t;const n=A;let s;try{s=e.stream.getReader()}catch(e){n(e);return}try{r(await readAllBytes(s))}catch(e){n(e)}}function isReadableStreamLike(e){return e instanceof ReadableStream||e[Symbol.toStringTag]==="ReadableStream"&&typeof e.tee==="function"}function readableStreamClose(e){try{e.close();e.byobRequest?.respond(0)}catch(e){if(!e.message.includes("Controller is already closed")&&!e.message.includes("ReadableStream is already closed")){throw e}}}const k=/[^\x00-\xFF]/;function isomorphicEncode(e){C(!k.test(e));return e}async function readAllBytes(e){const t=[];let A=0;while(true){const{done:r,value:n}=await e.read();if(r){return Buffer.concat(t,A)}if(!I(n)){throw new TypeError("Received non-Uint8Array chunk")}t.push(n);A+=n.length}}function urlIsLocal(e){C("protocol"in e);const t=e.protocol;return t==="about:"||t==="blob:"||t==="data:"}function urlHasHttpsScheme(e){return typeof e==="string"&&e[5]===":"&&e[0]==="h"&&e[1]==="t"&&e[2]==="t"&&e[3]==="p"&&e[4]==="s"||e.protocol==="https:"}function urlIsHttpHttpsScheme(e){C("protocol"in e);const t=e.protocol;return t==="http:"||t==="https:"}function simpleRangeHeaderValue(e,t){const A=e;if(!A.startsWith("bytes")){return"failure"}const r={position:5};if(t){c(e=>e==="\t"||e===" ",A,r)}if(A.charCodeAt(r.position)!==61){return"failure"}r.position++;if(t){c(e=>e==="\t"||e===" ",A,r)}const n=c(e=>{const t=e.charCodeAt(0);return t>=48&&t<=57},A,r);const s=n.length?Number(n):null;if(t){c(e=>e==="\t"||e===" ",A,r)}if(A.charCodeAt(r.position)!==45){return"failure"}r.position++;if(t){c(e=>e==="\t"||e===" ",A,r)}const o=c(e=>{const t=e.charCodeAt(0);return t>=48&&t<=57},A,r);const i=o.length?Number(o):null;if(r.positioni){return"failure"}return{rangeStartValue:s,rangeEndValue:i}}function buildContentRange(e,t,A){let r="bytes ";r+=isomorphicEncode(`${e}`);r+="-";r+=isomorphicEncode(`${t}`);r+="/";r+=isomorphicEncode(`${A}`);return r}class InflateStream extends r{#j;constructor(e){super();this.#j=e}_transform(e,t,A){if(!this._inflateStream){if(e.length===0){A();return}this._inflateStream=(e[0]&15)===8?n.createInflate(this.#j):n.createInflateRaw(this.#j);this._inflateStream.on("data",this.push.bind(this));this._inflateStream.on("end",()=>this.push(null));this._inflateStream.on("error",e=>this.destroy(e))}this._inflateStream.write(e,t,A)}_final(e){if(this._inflateStream){this._inflateStream.end();this._inflateStream=null}e()}}function createInflate(e){return new InflateStream(e)}function extractMimeType(e){let t=null;let A=null;let r=null;const n=getDecodeSplit("content-type",e);if(n===null){return"failure"}for(const e of n){const n=d(e);if(n==="failure"||n.essence==="*/*"){continue}r=n;if(r.essence!==A){t=null;if(r.parameters.has("charset")){t=r.parameters.get("charset")}A=r.essence}else if(!r.parameters.has("charset")&&t!==null){r.parameters.set("charset",t)}}if(r==null){return"failure"}return r}function gettingDecodingSplitting(e){const t=e;const A={position:0};const r=[];let n="";while(A.positione!=='"'&&e!==",",t,A);if(A.positione===9||e===32);r.push(n);n=""}return r}function getDecodeSplit(e,t){const A=t.get(e,true);if(A===null){return null}return gettingDecodingSplitting(A)}const D=new TextDecoder;function utf8DecodeBytes(e){if(e.length===0){return""}if(e[0]===239&&e[1]===187&&e[2]===191){e=e.subarray(3)}const t=D.decode(e);return t}class EnvironmentSettingsObjectBase{get baseUrl(){return a()}get origin(){return this.baseUrl?.origin}policyContainer=makePolicyContainer()}class EnvironmentSettingsObject{settingsObject=new EnvironmentSettingsObjectBase}const R=new EnvironmentSettingsObject;e.exports={isAborted:isAborted,isCancelled:isCancelled,isValidEncodedURL:isValidEncodedURL,createDeferredPromise:createDeferredPromise,ReadableStreamFrom:f,tryUpgradeRequestToAPotentiallyTrustworthyURL:tryUpgradeRequestToAPotentiallyTrustworthyURL,clampAndCoarsenConnectionTimingInfo:clampAndCoarsenConnectionTimingInfo,coarsenedSharedCurrentTime:coarsenedSharedCurrentTime,determineRequestsReferrer:determineRequestsReferrer,makePolicyContainer:makePolicyContainer,clonePolicyContainer:clonePolicyContainer,appendFetchMetadata:appendFetchMetadata,appendRequestOriginHeader:appendRequestOriginHeader,TAOCheck:TAOCheck,corsCheck:corsCheck,crossOriginResourcePolicyCheck:crossOriginResourcePolicyCheck,createOpaqueTimingInfo:createOpaqueTimingInfo,setRequestReferrerPolicyOnRedirect:setRequestReferrerPolicyOnRedirect,isValidHTTPToken:E,requestBadPort:requestBadPort,requestCurrentURL:requestCurrentURL,responseURL:responseURL,responseLocationURL:responseLocationURL,isBlobLike:g,isURLPotentiallyTrustworthy:isURLPotentiallyTrustworthy,isValidReasonPhrase:isValidReasonPhrase,sameOrigin:sameOrigin,normalizeMethod:normalizeMethod,serializeJavascriptValueToJSONString:serializeJavascriptValueToJSONString,iteratorMixin:iteratorMixin,createIterator:createIterator,isValidHeaderName:y,isValidHeaderValue:isValidHeaderValue,isErrorLike:isErrorLike,fullyReadBody:fullyReadBody,bytesMatch:bytesMatch,isReadableStreamLike:isReadableStreamLike,readableStreamClose:readableStreamClose,isomorphicEncode:isomorphicEncode,urlIsLocal:urlIsLocal,urlHasHttpsScheme:urlHasHttpsScheme,urlIsHttpHttpsScheme:urlIsHttpHttpsScheme,readAllBytes:readAllBytes,simpleRangeHeaderValue:simpleRangeHeaderValue,buildContentRange:buildContentRange,parseMetadata:parseMetadata,createInflate:createInflate,extractMimeType:extractMimeType,getDecodeSplit:getDecodeSplit,utf8DecodeBytes:utf8DecodeBytes,environmentSettingsObject:R}},5162:(e,t,A)=>{const{types:r,inspect:n}=A(7975);const{markAsUncloneable:s}=A(5919);const{toUSVString:o}=A(8529);const i={};i.converters={};i.util={};i.errors={};i.errors.exception=function(e){return new TypeError(`${e.header}: ${e.message}`)};i.errors.conversionFailed=function(e){const t=e.types.length===1?"":" one of";const A=`${e.argument} could not be converted to`+`${t}: ${e.types.join(", ")}.`;return i.errors.exception({header:e.prefix,message:A})};i.errors.invalidArgument=function(e){return i.errors.exception({header:e.prefix,message:`"${e.value}" is an invalid ${e.type}.`})};i.brandCheck=function(e,t,A){if(A?.strict!==false){if(!(e instanceof t)){const e=new TypeError("Illegal invocation");e.code="ERR_INVALID_THIS";throw e}}else{if(e?.[Symbol.toStringTag]!==t.prototype[Symbol.toStringTag]){const e=new TypeError("Illegal invocation");e.code="ERR_INVALID_THIS";throw e}}};i.argumentLengthCheck=function({length:e},t,A){if(e{});i.util.ConvertToInt=function(e,t,A,r){let n;let s;if(t===64){n=Math.pow(2,53)-1;if(A==="unsigned"){s=0}else{s=Math.pow(-2,53)+1}}else if(A==="unsigned"){s=0;n=Math.pow(2,t)-1}else{s=Math.pow(-2,t)-1;n=Math.pow(2,t-1)-1}let o=Number(e);if(o===0){o=0}if(r?.enforceRange===true){if(Number.isNaN(o)||o===Number.POSITIVE_INFINITY||o===Number.NEGATIVE_INFINITY){throw i.errors.exception({header:"Integer conversion",message:`Could not convert ${i.util.Stringify(e)} to an integer.`})}o=i.util.IntegerPart(o);if(on){throw i.errors.exception({header:"Integer conversion",message:`Value must be between ${s}-${n}, got ${o}.`})}return o}if(!Number.isNaN(o)&&r?.clamp===true){o=Math.min(Math.max(o,s),n);if(Math.floor(o)%2===0){o=Math.floor(o)}else{o=Math.ceil(o)}return o}if(Number.isNaN(o)||o===0&&Object.is(0,o)||o===Number.POSITIVE_INFINITY||o===Number.NEGATIVE_INFINITY){return 0}o=i.util.IntegerPart(o);o=o%Math.pow(2,t);if(A==="signed"&&o>=Math.pow(2,t)-1){return o-Math.pow(2,t)}return o};i.util.IntegerPart=function(e){const t=Math.floor(Math.abs(e));if(e<0){return-1*t}return t};i.util.Stringify=function(e){const t=i.util.Type(e);switch(t){case"Symbol":return`Symbol(${e.description})`;case"Object":return n(e);case"String":return`"${e}"`;default:return`${e}`}};i.sequenceConverter=function(e){return(t,A,r,n)=>{if(i.util.Type(t)!=="Object"){throw i.errors.exception({header:A,message:`${r} (${i.util.Stringify(t)}) is not iterable.`})}const s=typeof n==="function"?n():t?.[Symbol.iterator]?.();const o=[];let a=0;if(s===undefined||typeof s.next!=="function"){throw i.errors.exception({header:A,message:`${r} is not iterable.`})}while(true){const{done:t,value:n}=s.next();if(t){break}o.push(e(n,A,`${r}[${a++}]`))}return o}};i.recordConverter=function(e,t){return(A,n,s)=>{if(i.util.Type(A)!=="Object"){throw i.errors.exception({header:n,message:`${s} ("${i.util.Type(A)}") is not an Object.`})}const o={};if(!r.isProxy(A)){const r=[...Object.getOwnPropertyNames(A),...Object.getOwnPropertySymbols(A)];for(const i of r){const r=e(i,n,s);const a=t(A[i],n,s);o[r]=a}return o}const a=Reflect.ownKeys(A);for(const r of a){const i=Reflect.getOwnPropertyDescriptor(A,r);if(i?.enumerable){const i=e(r,n,s);const a=t(A[r],n,s);o[i]=a}}return o}};i.interfaceConverter=function(e){return(t,A,r,n)=>{if(n?.strict!==false&&!(t instanceof e)){throw i.errors.exception({header:A,message:`Expected ${r} ("${i.util.Stringify(t)}") to be an instance of ${e.name}.`})}return t}};i.dictionaryConverter=function(e){return(t,A,r)=>{const n=i.util.Type(t);const s={};if(n==="Null"||n==="Undefined"){return s}else if(n!=="Object"){throw i.errors.exception({header:A,message:`Expected ${t} to be one of: Null, Undefined, Object.`})}for(const n of e){const{key:e,defaultValue:o,required:a,converter:c}=n;if(a===true){if(!Object.hasOwn(t,e)){throw i.errors.exception({header:A,message:`Missing required key "${e}".`})}}let l=t[e];const u=Object.hasOwn(n,"defaultValue");if(u&&l!==null){l??=o()}if(a||u||l!==undefined){l=c(l,A,`${r}.${e}`);if(n.allowedValues&&!n.allowedValues.includes(l)){throw i.errors.exception({header:A,message:`${l} is not an accepted type. Expected one of ${n.allowedValues.join(", ")}.`})}s[e]=l}}return s}};i.nullableConverter=function(e){return(t,A,r)=>{if(t===null){return t}return e(t,A,r)}};i.converters.DOMString=function(e,t,A,r){if(e===null&&r?.legacyNullToEmptyString){return""}if(typeof e==="symbol"){throw i.errors.exception({header:t,message:`${A} is a symbol, which cannot be converted to a DOMString.`})}return String(e)};i.converters.ByteString=function(e,t,A){const r=i.converters.DOMString(e,t,A);for(let e=0;e255){throw new TypeError("Cannot convert argument to a ByteString because the character at "+`index ${e} has a value of ${r.charCodeAt(e)} which is greater than 255.`)}}return r};i.converters.USVString=o;i.converters.boolean=function(e){const t=Boolean(e);return t};i.converters.any=function(e){return e};i.converters["long long"]=function(e,t,A){const r=i.util.ConvertToInt(e,64,"signed",undefined,t,A);return r};i.converters["unsigned long long"]=function(e,t,A){const r=i.util.ConvertToInt(e,64,"unsigned",undefined,t,A);return r};i.converters["unsigned long"]=function(e,t,A){const r=i.util.ConvertToInt(e,32,"unsigned",undefined,t,A);return r};i.converters["unsigned short"]=function(e,t,A,r){const n=i.util.ConvertToInt(e,16,"unsigned",r,t,A);return n};i.converters.ArrayBuffer=function(e,t,A,n){if(i.util.Type(e)!=="Object"||!r.isAnyArrayBuffer(e)){throw i.errors.conversionFailed({prefix:t,argument:`${A} ("${i.util.Stringify(e)}")`,types:["ArrayBuffer"]})}if(n?.allowShared===false&&r.isSharedArrayBuffer(e)){throw i.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}if(e.resizable||e.growable){throw i.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."})}return e};i.converters.TypedArray=function(e,t,A,n,s){if(i.util.Type(e)!=="Object"||!r.isTypedArray(e)||e.constructor.name!==t.name){throw i.errors.conversionFailed({prefix:A,argument:`${n} ("${i.util.Stringify(e)}")`,types:[t.name]})}if(s?.allowShared===false&&r.isSharedArrayBuffer(e.buffer)){throw i.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}if(e.buffer.resizable||e.buffer.growable){throw i.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."})}return e};i.converters.DataView=function(e,t,A,n){if(i.util.Type(e)!=="Object"||!r.isDataView(e)){throw i.errors.exception({header:t,message:`${A} is not a DataView.`})}if(n?.allowShared===false&&r.isSharedArrayBuffer(e.buffer)){throw i.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}if(e.buffer.resizable||e.buffer.growable){throw i.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."})}return e};i.converters.BufferSource=function(e,t,A,n){if(r.isAnyArrayBuffer(e)){return i.converters.ArrayBuffer(e,t,A,{...n,allowShared:false})}if(r.isTypedArray(e)){return i.converters.TypedArray(e,e.constructor,t,A,{...n,allowShared:false})}if(r.isDataView(e)){return i.converters.DataView(e,t,A,{...n,allowShared:false})}throw i.errors.conversionFailed({prefix:t,argument:`${A} ("${i.util.Stringify(e)}")`,types:["BufferSource"]})};i.converters["sequence"]=i.sequenceConverter(i.converters.ByteString);i.converters["sequence>"]=i.sequenceConverter(i.converters["sequence"]);i.converters["record"]=i.recordConverter(i.converters.ByteString,i.converters.ByteString);e.exports={webidl:i}},9944:e=>{function getEncoding(e){if(!e){return"failure"}switch(e.trim().toLowerCase()){case"unicode-1-1-utf-8":case"unicode11utf8":case"unicode20utf8":case"utf-8":case"utf8":case"x-unicode20utf8":return"UTF-8";case"866":case"cp866":case"csibm866":case"ibm866":return"IBM866";case"csisolatin2":case"iso-8859-2":case"iso-ir-101":case"iso8859-2":case"iso88592":case"iso_8859-2":case"iso_8859-2:1987":case"l2":case"latin2":return"ISO-8859-2";case"csisolatin3":case"iso-8859-3":case"iso-ir-109":case"iso8859-3":case"iso88593":case"iso_8859-3":case"iso_8859-3:1988":case"l3":case"latin3":return"ISO-8859-3";case"csisolatin4":case"iso-8859-4":case"iso-ir-110":case"iso8859-4":case"iso88594":case"iso_8859-4":case"iso_8859-4:1988":case"l4":case"latin4":return"ISO-8859-4";case"csisolatincyrillic":case"cyrillic":case"iso-8859-5":case"iso-ir-144":case"iso8859-5":case"iso88595":case"iso_8859-5":case"iso_8859-5:1988":return"ISO-8859-5";case"arabic":case"asmo-708":case"csiso88596e":case"csiso88596i":case"csisolatinarabic":case"ecma-114":case"iso-8859-6":case"iso-8859-6-e":case"iso-8859-6-i":case"iso-ir-127":case"iso8859-6":case"iso88596":case"iso_8859-6":case"iso_8859-6:1987":return"ISO-8859-6";case"csisolatingreek":case"ecma-118":case"elot_928":case"greek":case"greek8":case"iso-8859-7":case"iso-ir-126":case"iso8859-7":case"iso88597":case"iso_8859-7":case"iso_8859-7:1987":case"sun_eu_greek":return"ISO-8859-7";case"csiso88598e":case"csisolatinhebrew":case"hebrew":case"iso-8859-8":case"iso-8859-8-e":case"iso-ir-138":case"iso8859-8":case"iso88598":case"iso_8859-8":case"iso_8859-8:1988":case"visual":return"ISO-8859-8";case"csiso88598i":case"iso-8859-8-i":case"logical":return"ISO-8859-8-I";case"csisolatin6":case"iso-8859-10":case"iso-ir-157":case"iso8859-10":case"iso885910":case"l6":case"latin6":return"ISO-8859-10";case"iso-8859-13":case"iso8859-13":case"iso885913":return"ISO-8859-13";case"iso-8859-14":case"iso8859-14":case"iso885914":return"ISO-8859-14";case"csisolatin9":case"iso-8859-15":case"iso8859-15":case"iso885915":case"iso_8859-15":case"l9":return"ISO-8859-15";case"iso-8859-16":return"ISO-8859-16";case"cskoi8r":case"koi":case"koi8":case"koi8-r":case"koi8_r":return"KOI8-R";case"koi8-ru":case"koi8-u":return"KOI8-U";case"csmacintosh":case"mac":case"macintosh":case"x-mac-roman":return"macintosh";case"iso-8859-11":case"iso8859-11":case"iso885911":case"tis-620":case"windows-874":return"windows-874";case"cp1250":case"windows-1250":case"x-cp1250":return"windows-1250";case"cp1251":case"windows-1251":case"x-cp1251":return"windows-1251";case"ansi_x3.4-1968":case"ascii":case"cp1252":case"cp819":case"csisolatin1":case"ibm819":case"iso-8859-1":case"iso-ir-100":case"iso8859-1":case"iso88591":case"iso_8859-1":case"iso_8859-1:1987":case"l1":case"latin1":case"us-ascii":case"windows-1252":case"x-cp1252":return"windows-1252";case"cp1253":case"windows-1253":case"x-cp1253":return"windows-1253";case"cp1254":case"csisolatin5":case"iso-8859-9":case"iso-ir-148":case"iso8859-9":case"iso88599":case"iso_8859-9":case"iso_8859-9:1989":case"l5":case"latin5":case"windows-1254":case"x-cp1254":return"windows-1254";case"cp1255":case"windows-1255":case"x-cp1255":return"windows-1255";case"cp1256":case"windows-1256":case"x-cp1256":return"windows-1256";case"cp1257":case"windows-1257":case"x-cp1257":return"windows-1257";case"cp1258":case"windows-1258":case"x-cp1258":return"windows-1258";case"x-mac-cyrillic":case"x-mac-ukrainian":return"x-mac-cyrillic";case"chinese":case"csgb2312":case"csiso58gb231280":case"gb2312":case"gb_2312":case"gb_2312-80":case"gbk":case"iso-ir-58":case"x-gbk":return"GBK";case"gb18030":return"gb18030";case"big5":case"big5-hkscs":case"cn-big5":case"csbig5":case"x-x-big5":return"Big5";case"cseucpkdfmtjapanese":case"euc-jp":case"x-euc-jp":return"EUC-JP";case"csiso2022jp":case"iso-2022-jp":return"ISO-2022-JP";case"csshiftjis":case"ms932":case"ms_kanji":case"shift-jis":case"shift_jis":case"sjis":case"windows-31j":case"x-sjis":return"Shift_JIS";case"cseuckr":case"csksc56011987":case"euc-kr":case"iso-ir-149":case"korean":case"ks_c_5601-1987":case"ks_c_5601-1989":case"ksc5601":case"ksc_5601":case"windows-949":return"EUC-KR";case"csiso2022kr":case"hz-gb-2312":case"iso-2022-cn":case"iso-2022-cn-ext":case"iso-2022-kr":case"replacement":return"replacement";case"unicodefffe":case"utf-16be":return"UTF-16BE";case"csunicode":case"iso-10646-ucs-2":case"ucs-2":case"unicode":case"unicodefeff":case"utf-16":case"utf-16le":return"UTF-16LE";case"x-user-defined":return"x-user-defined";default:return"failure"}}e.exports={getEncoding:getEncoding}},5660:(e,t,A)=>{const{staticPropertyDescriptors:r,readOperation:n,fireAProgressEvent:s}=A(857);const{kState:o,kError:i,kResult:a,kEvents:c,kAborted:l}=A(7192);const{webidl:u}=A(5162);const{kEnumerableProperty:d}=A(8529);class FileReader extends EventTarget{constructor(){super();this[o]="empty";this[a]=null;this[i]=null;this[c]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer");e=u.converters.Blob(e,{strict:false});n(this,e,"ArrayBuffer")}readAsBinaryString(e){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString");e=u.converters.Blob(e,{strict:false});n(this,e,"BinaryString")}readAsText(e,t=undefined){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,"FileReader.readAsText");e=u.converters.Blob(e,{strict:false});if(t!==undefined){t=u.converters.DOMString(t,"FileReader.readAsText","encoding")}n(this,e,"Text",t)}readAsDataURL(e){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL");e=u.converters.Blob(e,{strict:false});n(this,e,"DataURL")}abort(){if(this[o]==="empty"||this[o]==="done"){this[a]=null;return}if(this[o]==="loading"){this[o]="done";this[a]=null}this[l]=true;s("abort",this);if(this[o]!=="loading"){s("loadend",this)}}get readyState(){u.brandCheck(this,FileReader);switch(this[o]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){u.brandCheck(this,FileReader);return this[a]}get error(){u.brandCheck(this,FileReader);return this[i]}get onloadend(){u.brandCheck(this,FileReader);return this[c].loadend}set onloadend(e){u.brandCheck(this,FileReader);if(this[c].loadend){this.removeEventListener("loadend",this[c].loadend)}if(typeof e==="function"){this[c].loadend=e;this.addEventListener("loadend",e)}else{this[c].loadend=null}}get onerror(){u.brandCheck(this,FileReader);return this[c].error}set onerror(e){u.brandCheck(this,FileReader);if(this[c].error){this.removeEventListener("error",this[c].error)}if(typeof e==="function"){this[c].error=e;this.addEventListener("error",e)}else{this[c].error=null}}get onloadstart(){u.brandCheck(this,FileReader);return this[c].loadstart}set onloadstart(e){u.brandCheck(this,FileReader);if(this[c].loadstart){this.removeEventListener("loadstart",this[c].loadstart)}if(typeof e==="function"){this[c].loadstart=e;this.addEventListener("loadstart",e)}else{this[c].loadstart=null}}get onprogress(){u.brandCheck(this,FileReader);return this[c].progress}set onprogress(e){u.brandCheck(this,FileReader);if(this[c].progress){this.removeEventListener("progress",this[c].progress)}if(typeof e==="function"){this[c].progress=e;this.addEventListener("progress",e)}else{this[c].progress=null}}get onload(){u.brandCheck(this,FileReader);return this[c].load}set onload(e){u.brandCheck(this,FileReader);if(this[c].load){this.removeEventListener("load",this[c].load)}if(typeof e==="function"){this[c].load=e;this.addEventListener("load",e)}else{this[c].load=null}}get onabort(){u.brandCheck(this,FileReader);return this[c].abort}set onabort(e){u.brandCheck(this,FileReader);if(this[c].abort){this.removeEventListener("abort",this[c].abort)}if(typeof e==="function"){this[c].abort=e;this.addEventListener("abort",e)}else{this[c].abort=null}}}FileReader.EMPTY=FileReader.prototype.EMPTY=0;FileReader.LOADING=FileReader.prototype.LOADING=1;FileReader.DONE=FileReader.prototype.DONE=2;Object.defineProperties(FileReader.prototype,{EMPTY:r,LOADING:r,DONE:r,readAsArrayBuffer:d,readAsBinaryString:d,readAsText:d,readAsDataURL:d,abort:d,readyState:d,result:d,error:d,onloadstart:d,onprogress:d,onload:d,onabort:d,onerror:d,onloadend:d,[Symbol.toStringTag]:{value:"FileReader",writable:false,enumerable:false,configurable:true}});Object.defineProperties(FileReader,{EMPTY:r,LOADING:r,DONE:r});e.exports={FileReader:FileReader}},4732:(e,t,A)=>{const{webidl:r}=A(5162);const n=Symbol("ProgressEvent state");class ProgressEvent extends Event{constructor(e,t={}){e=r.converters.DOMString(e,"ProgressEvent constructor","type");t=r.converters.ProgressEventInit(t??{});super(e,t);this[n]={lengthComputable:t.lengthComputable,loaded:t.loaded,total:t.total}}get lengthComputable(){r.brandCheck(this,ProgressEvent);return this[n].lengthComputable}get loaded(){r.brandCheck(this,ProgressEvent);return this[n].loaded}get total(){r.brandCheck(this,ProgressEvent);return this[n].total}}r.converters.ProgressEventInit=r.dictionaryConverter([{key:"lengthComputable",converter:r.converters.boolean,defaultValue:()=>false},{key:"loaded",converter:r.converters["unsigned long long"],defaultValue:()=>0},{key:"total",converter:r.converters["unsigned long long"],defaultValue:()=>0},{key:"bubbles",converter:r.converters.boolean,defaultValue:()=>false},{key:"cancelable",converter:r.converters.boolean,defaultValue:()=>false},{key:"composed",converter:r.converters.boolean,defaultValue:()=>false}]);e.exports={ProgressEvent:ProgressEvent}},7192:e=>{e.exports={kState:Symbol("FileReader state"),kResult:Symbol("FileReader result"),kError:Symbol("FileReader error"),kLastProgressEventFired:Symbol("FileReader last progress event fired timestamp"),kEvents:Symbol("FileReader events"),kAborted:Symbol("FileReader aborted")}},857:(e,t,A)=>{const{kState:r,kError:n,kResult:s,kAborted:o,kLastProgressEventFired:i}=A(7192);const{ProgressEvent:a}=A(4732);const{getEncoding:c}=A(9944);const{serializeAMimeType:l,parseMIMEType:u}=A(5192);const{types:d}=A(7975);const{StringDecoder:h}=A(3193);const{btoa:g}=A(4573);const f={enumerable:true,writable:false,configurable:false};function readOperation(e,t,A,a){if(e[r]==="loading"){throw new DOMException("Invalid state","InvalidStateError")}e[r]="loading";e[s]=null;e[n]=null;const c=t.stream();const l=c.getReader();const u=[];let h=l.read();let g=true;(async()=>{while(!e[o]){try{const{done:c,value:f}=await h;if(g&&!e[o]){queueMicrotask(()=>{fireAProgressEvent("loadstart",e)})}g=false;if(!c&&d.isUint8Array(f)){u.push(f);if((e[i]===undefined||Date.now()-e[i]>=50)&&!e[o]){e[i]=Date.now();queueMicrotask(()=>{fireAProgressEvent("progress",e)})}h=l.read()}else if(c){queueMicrotask(()=>{e[r]="done";try{const r=packageData(u,A,t.type,a);if(e[o]){return}e[s]=r;fireAProgressEvent("load",e)}catch(t){e[n]=t;fireAProgressEvent("error",e)}if(e[r]!=="loading"){fireAProgressEvent("loadend",e)}});break}}catch(t){if(e[o]){return}queueMicrotask(()=>{e[r]="done";e[n]=t;fireAProgressEvent("error",e);if(e[r]!=="loading"){fireAProgressEvent("loadend",e)}});break}}})()}function fireAProgressEvent(e,t){const A=new a(e,{bubbles:false,cancelable:false});t.dispatchEvent(A)}function packageData(e,t,A,r){switch(t){case"DataURL":{let t="data:";const r=u(A||"application/octet-stream");if(r!=="failure"){t+=l(r)}t+=";base64,";const n=new h("latin1");for(const A of e){t+=g(n.write(A))}t+=g(n.end());return t}case"Text":{let t="failure";if(r){t=c(r)}if(t==="failure"&&A){const e=u(A);if(e!=="failure"){t=c(e.parameters.get("charset"))}}if(t==="failure"){t="UTF-8"}return decode(e,t)}case"ArrayBuffer":{const t=combineByteSequences(e);return t.buffer}case"BinaryString":{let t="";const A=new h("latin1");for(const r of e){t+=A.write(r)}t+=A.end();return t}}}function decode(e,t){const A=combineByteSequences(e);const r=BOMSniffing(A);let n=0;if(r!==null){t=r;n=r==="UTF-8"?3:2}const s=A.slice(n);return new TextDecoder(t).decode(s)}function BOMSniffing(e){const[t,A,r]=e;if(t===239&&A===187&&r===191){return"UTF-8"}else if(t===254&&A===255){return"UTF-16BE"}else if(t===255&&A===254){return"UTF-16LE"}return null}function combineByteSequences(e){const t=e.reduce((e,t)=>e+t.byteLength,0);let A=0;return e.reduce((e,t)=>{e.set(t,A);A+=t.byteLength;return e},new Uint8Array(t))}e.exports={staticPropertyDescriptors:f,readOperation:readOperation,fireAProgressEvent:fireAProgressEvent}},6890:(e,t,A)=>{const{uid:r,states:n,sentCloseFrameState:s,emptyBuffer:o,opcodes:i}=A(6869);const{kReadyState:a,kSentClose:c,kByteParser:l,kReceivedClose:u,kResponse:d}=A(5457);const{fireEvent:h,failWebsocketConnection:g,isClosing:f,isClosed:E,isEstablished:Q,parseExtensions:C}=A(1226);const{channels:I}=A(1509);const{CloseEvent:B}=A(659);const{makeRequest:p}=A(6398);const{fetching:m}=A(8263);const{Headers:y,getHeadersList:w}=A(3257);const{getDecodeSplit:b}=A(3095);const{WebsocketFrameSend:k}=A(2129);let D;try{D=A(7598)}catch{}function establishWebSocketConnection(e,t,A,n,s,o){const i=e;i.protocol=e.protocol==="ws:"?"http:":"https:";const a=p({urlList:[i],client:A,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(o.headers){const e=w(new y(o.headers));a.headersList=e}const c=D.randomBytes(16).toString("base64");a.headersList.append("sec-websocket-key",c);a.headersList.append("sec-websocket-version","13");for(const e of t){a.headersList.append("sec-websocket-protocol",e)}const l="permessage-deflate; client_max_window_bits";a.headersList.append("sec-websocket-extensions",l);const u=m({request:a,useParallelQueue:true,dispatcher:o.dispatcher,processResponse(e){if(e.type==="error"||e.status!==101){g(n,"Received network error or non-101 status code.");return}if(t.length!==0&&!e.headersList.get("Sec-WebSocket-Protocol")){g(n,"Server did not respond with sent protocols.");return}if(e.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){g(n,'Server did not set Upgrade header to "websocket".');return}if(e.headersList.get("Connection")?.toLowerCase()!=="upgrade"){g(n,'Server did not set Connection header to "upgrade".');return}const A=e.headersList.get("Sec-WebSocket-Accept");const o=D.createHash("sha1").update(c+r).digest("base64");if(A!==o){g(n,"Incorrect hash received in Sec-WebSocket-Accept header.");return}const i=e.headersList.get("Sec-WebSocket-Extensions");let l;if(i!==null){l=C(i);if(!l.has("permessage-deflate")){g(n,"Sec-WebSocket-Extensions header does not match.");return}}const u=e.headersList.get("Sec-WebSocket-Protocol");if(u!==null){const e=b("sec-websocket-protocol",a.headersList);if(e===null||!e.includes(u)){g(n,"Protocol was not set in the opening handshake.");return}}e.socket.on("data",onSocketData);e.socket.on("close",onSocketClose);e.socket.on("error",onSocketError);if(I.open.hasSubscribers){I.open.publish({address:e.socket.address(),protocol:u,extensions:i})}s(e,l)}});return u}function closeWebSocketConnection(e,t,A,r){if(f(e)||E(e)){}else if(!Q(e)){g(e,"Connection was closed before it was established.");e[a]=n.CLOSING}else if(e[c]===s.NOT_SENT){e[c]=s.PROCESSING;const l=new k;if(t!==undefined&&A===undefined){l.frameData=Buffer.allocUnsafe(2);l.frameData.writeUInt16BE(t,0)}else if(t!==undefined&&A!==undefined){l.frameData=Buffer.allocUnsafe(2+r);l.frameData.writeUInt16BE(t,0);l.frameData.write(A,2,"utf-8")}else{l.frameData=o}const u=e[d].socket;u.write(l.createFrame(i.CLOSE));e[c]=s.SENT;e[a]=n.CLOSING}else{e[a]=n.CLOSING}}function onSocketData(e){if(!this.ws[l].write(e)){this.pause()}}function onSocketClose(){const{ws:e}=this;const{[d]:t}=e;t.socket.off("data",onSocketData);t.socket.off("close",onSocketClose);t.socket.off("error",onSocketError);const A=e[c]===s.SENT&&e[u];let r=1005;let o="";const i=e[l].closingInfo;if(i&&!i.error){r=i.code??1005;o=i.reason}else if(!e[u]){r=1006}e[a]=n.CLOSED;h("close",e,(e,t)=>new B(e,t),{wasClean:A,code:r,reason:o});if(I.close.hasSubscribers){I.close.publish({websocket:e,code:r,reason:o})}}function onSocketError(e){const{ws:t}=this;t[a]=n.CLOSING;if(I.socketError.hasSubscribers){I.socketError.publish(e)}this.destroy()}e.exports={establishWebSocketConnection:establishWebSocketConnection,closeWebSocketConnection:closeWebSocketConnection}},6869:e=>{const t="258EAFA5-E914-47DA-95CA-C5AB0DC85B11";const A={enumerable:true,writable:false,configurable:false};const r={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3};const n={NOT_SENT:0,PROCESSING:1,SENT:2};const s={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10};const o=2**16-1;const i={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4};const a=Buffer.allocUnsafe(0);const c={string:1,typedArray:2,arrayBuffer:3,blob:4};e.exports={uid:t,sentCloseFrameState:n,staticPropertyDescriptors:A,states:r,opcodes:s,maxUnsigned16Bit:o,parserStates:i,emptyBuffer:a,sendHints:c}},659:(e,t,A)=>{const{webidl:r}=A(5162);const{kEnumerableProperty:n}=A(8529);const{kConstruct:s}=A(5424);const{MessagePort:o}=A(5919);class MessageEvent extends Event{#K;constructor(e,t={}){if(e===s){super(arguments[1],arguments[2]);r.util.markAsUncloneable(this);return}const A="MessageEvent constructor";r.argumentLengthCheck(arguments,1,A);e=r.converters.DOMString(e,A,"type");t=r.converters.MessageEventInit(t,A,"eventInitDict");super(e,t);this.#K=t;r.util.markAsUncloneable(this)}get data(){r.brandCheck(this,MessageEvent);return this.#K.data}get origin(){r.brandCheck(this,MessageEvent);return this.#K.origin}get lastEventId(){r.brandCheck(this,MessageEvent);return this.#K.lastEventId}get source(){r.brandCheck(this,MessageEvent);return this.#K.source}get ports(){r.brandCheck(this,MessageEvent);if(!Object.isFrozen(this.#K.ports)){Object.freeze(this.#K.ports)}return this.#K.ports}initMessageEvent(e,t=false,A=false,n=null,s="",o="",i=null,a=[]){r.brandCheck(this,MessageEvent);r.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent");return new MessageEvent(e,{bubbles:t,cancelable:A,data:n,origin:s,lastEventId:o,source:i,ports:a})}static createFastMessageEvent(e,t){const A=new MessageEvent(s,e,t);A.#K=t;A.#K.data??=null;A.#K.origin??="";A.#K.lastEventId??="";A.#K.source??=null;A.#K.ports??=[];return A}}const{createFastMessageEvent:i}=MessageEvent;delete MessageEvent.createFastMessageEvent;class CloseEvent extends Event{#K;constructor(e,t={}){const A="CloseEvent constructor";r.argumentLengthCheck(arguments,1,A);e=r.converters.DOMString(e,A,"type");t=r.converters.CloseEventInit(t);super(e,t);this.#K=t;r.util.markAsUncloneable(this)}get wasClean(){r.brandCheck(this,CloseEvent);return this.#K.wasClean}get code(){r.brandCheck(this,CloseEvent);return this.#K.code}get reason(){r.brandCheck(this,CloseEvent);return this.#K.reason}}class ErrorEvent extends Event{#K;constructor(e,t){const A="ErrorEvent constructor";r.argumentLengthCheck(arguments,1,A);super(e,t);r.util.markAsUncloneable(this);e=r.converters.DOMString(e,A,"type");t=r.converters.ErrorEventInit(t??{});this.#K=t}get message(){r.brandCheck(this,ErrorEvent);return this.#K.message}get filename(){r.brandCheck(this,ErrorEvent);return this.#K.filename}get lineno(){r.brandCheck(this,ErrorEvent);return this.#K.lineno}get colno(){r.brandCheck(this,ErrorEvent);return this.#K.colno}get error(){r.brandCheck(this,ErrorEvent);return this.#K.error}}Object.defineProperties(MessageEvent.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:true},data:n,origin:n,lastEventId:n,source:n,ports:n,initMessageEvent:n});Object.defineProperties(CloseEvent.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:true},reason:n,code:n,wasClean:n});Object.defineProperties(ErrorEvent.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:true},message:n,filename:n,lineno:n,colno:n,error:n});r.converters.MessagePort=r.interfaceConverter(o);r.converters["sequence"]=r.sequenceConverter(r.converters.MessagePort);const a=[{key:"bubbles",converter:r.converters.boolean,defaultValue:()=>false},{key:"cancelable",converter:r.converters.boolean,defaultValue:()=>false},{key:"composed",converter:r.converters.boolean,defaultValue:()=>false}];r.converters.MessageEventInit=r.dictionaryConverter([...a,{key:"data",converter:r.converters.any,defaultValue:()=>null},{key:"origin",converter:r.converters.USVString,defaultValue:()=>""},{key:"lastEventId",converter:r.converters.DOMString,defaultValue:()=>""},{key:"source",converter:r.nullableConverter(r.converters.MessagePort),defaultValue:()=>null},{key:"ports",converter:r.converters["sequence"],defaultValue:()=>new Array(0)}]);r.converters.CloseEventInit=r.dictionaryConverter([...a,{key:"wasClean",converter:r.converters.boolean,defaultValue:()=>false},{key:"code",converter:r.converters["unsigned short"],defaultValue:()=>0},{key:"reason",converter:r.converters.USVString,defaultValue:()=>""}]);r.converters.ErrorEventInit=r.dictionaryConverter([...a,{key:"message",converter:r.converters.DOMString,defaultValue:()=>""},{key:"filename",converter:r.converters.USVString,defaultValue:()=>""},{key:"lineno",converter:r.converters["unsigned long"],defaultValue:()=>0},{key:"colno",converter:r.converters["unsigned long"],defaultValue:()=>0},{key:"error",converter:r.converters.any}]);e.exports={MessageEvent:MessageEvent,CloseEvent:CloseEvent,ErrorEvent:ErrorEvent,createFastMessageEvent:i}},2129:(e,t,A)=>{const{maxUnsigned16Bit:r}=A(6869);const n=16386;let s;let o=null;let i=n;try{s=A(7598)}catch{s={randomFillSync:function randomFillSync(e,t,A){for(let t=0;tr){o+=8;s=127}else if(n>125){o+=2;s=126}const i=Buffer.allocUnsafe(n+o);i[0]=i[1]=0;i[0]|=128;i[0]=(i[0]&240)+e; -/*! ws. MIT License. Einar Otto Stangvik */i[o-4]=A[0];i[o-3]=A[1];i[o-2]=A[2];i[o-1]=A[3];i[1]=s;if(s===126){i.writeUInt16BE(n,2)}else if(s===127){i[2]=i[3]=0;i.writeUIntBE(n,4,6)}i[1]|=128;for(let e=0;e{const{createInflateRaw:r,Z_DEFAULT_WINDOWBITS:n}=A(8522);const{isValidClientWindowBits:s}=A(1226);const{MessageSizeExceededError:o}=A(9934);const i=Buffer.from([0,0,255,255]);const a=Symbol("kBuffer");const c=Symbol("kLength");class PerMessageDeflate{#Z;#f={};#X=0;constructor(e,t){this.#f.serverNoContextTakeover=e.has("server_no_context_takeover");this.#f.serverMaxWindowBits=e.get("server_max_window_bits");this.#X=t.maxPayloadSize}decompress(e,t,A){if(!this.#Z){let e=n;if(this.#f.serverMaxWindowBits){if(!s(this.#f.serverMaxWindowBits)){A(new Error("Invalid server_max_window_bits"));return}e=Number.parseInt(this.#f.serverMaxWindowBits)}try{this.#Z=r({windowBits:e})}catch(e){A(e);return}this.#Z[a]=[];this.#Z[c]=0;this.#Z.on("data",e=>{this.#Z[c]+=e.length;if(this.#X>0&&this.#Z[c]>this.#X){A(new o);this.#Z.removeAllListeners();this.#Z.destroy();this.#Z=null;return}this.#Z[a].push(e)});this.#Z.on("error",e=>{this.#Z=null;A(e)})}this.#Z.write(e);if(t){this.#Z.write(i)}this.#Z.flush(()=>{if(!this.#Z){return}const e=Buffer.concat(this.#Z[a],this.#Z[c]);this.#Z[a].length=0;this.#Z[c]=0;A(null,e)})}}e.exports={PerMessageDeflate:PerMessageDeflate}},5183:(e,t,A)=>{const{Writable:r}=A(7075);const n=A(4589);const{parserStates:s,opcodes:o,states:i,emptyBuffer:a,sentCloseFrameState:c}=A(6869);const{kReadyState:l,kSentClose:u,kResponse:d,kReceivedClose:h}=A(5457);const{channels:g}=A(1509);const{isValidStatusCode:f,isValidOpcode:E,failWebsocketConnection:Q,websocketMessageReceived:C,utf8Decode:I,isControlFrame:B,isTextBinaryFrame:p,isContinuationFrame:m}=A(1226);const{WebsocketFrameSend:y}=A(2129);const{closeWebSocketConnection:w}=A(6890);const{PerMessageDeflate:b}=A(7350);const{MessageSizeExceededError:k}=A(9934);function failWebsocketConnectionWithCode(e,t,A){w(e,t,A,Buffer.byteLength(A));Q(e,A)}class ByteParser extends r{#ee=[];#te=0;#Ae=0;#re=false;#m=s.INFO;#ne={};#se=[];#oe;#ie;#X;constructor(e,t,A={}){super();this.ws=e;this.#oe=t==null?new Map:t;this.#ie=A.maxFragments??0;this.#X=A.maxPayloadSize??0;if(this.#oe.has("permessage-deflate")){this.#oe.set("permessage-deflate",new b(t,A))}}_write(e,t,A){this.#ee.push(e);this.#Ae+=e.length;this.#re=true;this.run(A)}#ae(){if(this.#X>0&&!B(this.#ne.opcode)&&this.#ne.payloadLength+this.#te>this.#X){failWebsocketConnectionWithCode(this.ws,1009,"Payload size exceeds maximum allowed size");return false}return true}run(e){while(this.#re){if(this.#m===s.INFO){if(this.#Ae<2){return e()}const t=this.consume(2);const A=(t[0]&128)!==0;const r=t[0]&15;const n=(t[1]&128)===128;const i=!A&&r!==o.CONTINUATION;const a=t[1]&127;const c=t[0]&64;const l=t[0]&32;const u=t[0]&16;if(!E(r)){Q(this.ws,"Invalid opcode received");return e()}if(n){Q(this.ws,"Frame cannot be masked");return e()}if(c!==0&&!this.#oe.has("permessage-deflate")){Q(this.ws,"Expected RSV1 to be clear.");return}if(l!==0||u!==0){Q(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(i&&!p(r)){Q(this.ws,"Invalid frame type was fragmented.");return}if(p(r)&&this.#se.length>0){Q(this.ws,"Expected continuation frame");return}if(this.#ne.fragmented&&i){Q(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((a>125||i)&&B(r)){Q(this.ws,"Control frame either too large or fragmented");return}if(m(r)&&this.#se.length===0&&!this.#ne.compressed){Q(this.ws,"Unexpected continuation frame");return}if(a<=125){this.#ne.payloadLength=a;this.#m=s.READ_DATA;if(!this.#ae()){return}}else if(a===126){this.#m=s.PAYLOADLENGTH_16}else if(a===127){this.#m=s.PAYLOADLENGTH_64}if(p(r)){this.#ne.binaryType=r;this.#ne.compressed=c!==0}this.#ne.opcode=r;this.#ne.masked=n;this.#ne.fin=A;this.#ne.fragmented=i}else if(this.#m===s.PAYLOADLENGTH_16){if(this.#Ae<2){return e()}const t=this.consume(2);this.#ne.payloadLength=t.readUInt16BE(0);this.#m=s.READ_DATA;if(!this.#ae()){return}}else if(this.#m===s.PAYLOADLENGTH_64){if(this.#Ae<8){return e()}const t=this.consume(8);const A=t.readUInt32BE(0);const r=t.readUInt32BE(4);if(A!==0||r>2**31-1){Q(this.ws,"Received payload length > 2^31 bytes.");return}this.#ne.payloadLength=r;this.#m=s.READ_DATA;if(!this.#ae()){return}}else if(this.#m===s.READ_DATA){if(this.#Ae{if(this.destroyed)return;this.#re=true;this.run(e)});return}}else{if(!this.#ne.compressed){if(!this.writeFragments(t)){return}if(this.#X>0&&this.#te>this.#X){failWebsocketConnectionWithCode(this.ws,1009,(new k).message);return}if(!this.#ne.fragmented&&this.#ne.fin){C(this.ws,this.#ne.binaryType,this.consumeFragments())}this.#m=s.INFO}else{this.#oe.get("permessage-deflate").decompress(t,this.#ne.fin,(t,A)=>{if(t){const e=t instanceof k?1009:1007;failWebsocketConnectionWithCode(this.ws,e,t.message);return}if(!this.writeFragments(A)){return}if(this.#X>0&&this.#te>this.#X){failWebsocketConnectionWithCode(this.ws,1009,(new k).message);return}if(!this.#ne.fin){this.#m=s.INFO;this.#re=true;this.run(e);return}C(this.ws,this.#ne.binaryType,this.consumeFragments());this.#re=true;this.#m=s.INFO;this.run(e)});this.#re=false;break}}}}}consume(e){if(e>this.#Ae){throw new Error("Called consume() before buffers satiated.")}else if(e===0){return a}if(this.#ee[0].length===e){this.#Ae-=this.#ee[0].length;return this.#ee.shift()}const t=Buffer.allocUnsafe(e);let A=0;while(A!==e){const r=this.#ee[0];const{length:n}=r;if(n+A===e){t.set(this.#ee.shift(),A);break}else if(n+A>e){t.set(r.subarray(0,e-A),A);this.#ee[0]=r.subarray(e-A);break}else{t.set(this.#ee.shift(),A);A+=r.length}}this.#Ae-=e;return t}writeFragments(e){if(this.#ie>0&&this.#se.length===this.#ie){failWebsocketConnectionWithCode(this.ws,1008,"Too many message fragments");return false}this.#te+=e.length;this.#se.push(e);return true}consumeFragments(){const e=this.#se;if(e.length===1){this.#te=0;return e.shift()}const t=Buffer.concat(e,this.#te);this.#se=[];this.#te=0;return t}parseCloseBody(e){n(e.length!==1);let t;if(e.length>=2){t=e.readUInt16BE(0)}if(t!==undefined&&!f(t)){return{code:1002,reason:"Invalid status code",error:true}}let A=e.subarray(2);if(A[0]===239&&A[1]===187&&A[2]===191){A=A.subarray(3)}try{A=I(A)}catch{return{code:1007,reason:"Invalid UTF-8",error:true}}return{code:t,reason:A,error:false}}parseControlFrame(e){const{opcode:t,payloadLength:A}=this.#ne;if(t===o.CLOSE){if(A===1){Q(this.ws,"Received close frame with a 1-byte body.");return false}this.#ne.closeInfo=this.parseCloseBody(e);if(this.#ne.closeInfo.error){const{code:e,reason:t}=this.#ne.closeInfo;w(this.ws,e,t,t.length);Q(this.ws,t);return false}if(this.ws[u]!==c.SENT){let e=a;if(this.#ne.closeInfo.code){e=Buffer.allocUnsafe(2);e.writeUInt16BE(this.#ne.closeInfo.code,0)}const t=new y(e);this.ws[d].socket.write(t.createFrame(o.CLOSE),e=>{if(!e){this.ws[u]=c.SENT}})}this.ws[l]=i.CLOSING;this.ws[h]=true;return false}else if(t===o.PING){if(!this.ws[h]){const t=new y(e);this.ws[d].socket.write(t.createFrame(o.PONG));if(g.ping.hasSubscribers){g.ping.publish({payload:e})}}}else if(t===o.PONG){if(g.pong.hasSubscribers){g.pong.publish({payload:e})}}return true}get closingInfo(){return this.#ne.closeInfo}}e.exports={ByteParser:ByteParser}},9051:(e,t,A)=>{const{WebsocketFrameSend:r}=A(2129);const{opcodes:n,sendHints:s}=A(6869);const o=A(4007);const i=Buffer[Symbol.species];class SendQueue{#ce=new o;#le=false;#ue;constructor(e){this.#ue=e}add(e,t,A){if(A!==s.blob){const r=createFrame(e,A);if(!this.#le){this.#ue.write(r,t)}else{const e={promise:null,callback:t,frame:r};this.#ce.push(e)}return}const r={promise:e.arrayBuffer().then(e=>{r.promise=null;r.frame=createFrame(e,A)}),callback:t,frame:null};this.#ce.push(r);if(!this.#le){this.#de()}}async#de(){this.#le=true;const e=this.#ce;while(!e.isEmpty()){const t=e.shift();if(t.promise!==null){await t.promise}this.#ue.write(t.frame,t.callback);t.callback=t.frame=null}this.#le=false}}function createFrame(e,t){return new r(toBuffer(e,t)).createFrame(t===s.string?n.TEXT:n.BINARY)}function toBuffer(e,t){switch(t){case s.string:return Buffer.from(e);case s.arrayBuffer:case s.blob:return new i(e);case s.typedArray:return new i(e.buffer,e.byteOffset,e.byteLength)}}e.exports={SendQueue:SendQueue}},5457:e=>{e.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},1226:(e,t,A)=>{const{kReadyState:r,kController:n,kResponse:s,kBinaryType:o,kWebSocketURL:i}=A(5457);const{states:a,opcodes:c}=A(6869);const{ErrorEvent:l,createFastMessageEvent:u}=A(659);const{isUtf8:d}=A(4573);const{collectASequenceOfCodePointsFast:h,removeHTTPWhitespace:g}=A(5192);function isConnecting(e){return e[r]===a.CONNECTING}function isEstablished(e){return e[r]===a.OPEN}function isClosing(e){return e[r]===a.CLOSING}function isClosed(e){return e[r]===a.CLOSED}function fireEvent(e,t,A=(e,t)=>new Event(e,t),r={}){const n=A(e,r);t.dispatchEvent(n)}function websocketMessageReceived(e,t,A){if(e[r]!==a.OPEN){return}let n;if(t===c.TEXT){try{n=Q(A)}catch{failWebsocketConnection(e,"Received invalid UTF-8 in text frame.");return}}else if(t===c.BINARY){if(e[o]==="blob"){n=new Blob([A])}else{n=toArrayBuffer(A)}}fireEvent("message",e,u,{origin:e[i].origin,data:n})}function toArrayBuffer(e){if(e.byteLength===e.buffer.byteLength){return e.buffer}return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}function isValidSubprotocol(e){if(e.length===0){return false}for(let t=0;t126||A===34||A===40||A===41||A===44||A===47||A===58||A===59||A===60||A===61||A===62||A===63||A===64||A===91||A===92||A===93||A===123||A===125){return false}}return true}function isValidStatusCode(e){if(e>=1e3&&e<1015){return e!==1004&&e!==1005&&e!==1006}return e>=3e3&&e<=4999}function failWebsocketConnection(e,t){const{[n]:A,[s]:r}=e;A.abort();if(r?.socket&&!r.socket.destroyed){r.socket.destroy()}if(t){fireEvent("error",e,(e,t)=>new l(e,t),{error:new Error(t),message:t})}}function isControlFrame(e){return e===c.CLOSE||e===c.PING||e===c.PONG}function isContinuationFrame(e){return e===c.CONTINUATION}function isTextBinaryFrame(e){return e===c.TEXT||e===c.BINARY}function isValidOpcode(e){return isTextBinaryFrame(e)||isContinuationFrame(e)||isControlFrame(e)}function parseExtensions(e){const t={position:0};const A=new Map;while(t.position57){return false}}const t=Number.parseInt(e,10);return t>=8&&t<=15}const f=typeof process.versions.icu==="string";const E=f?new TextDecoder("utf-8",{fatal:true}):undefined;const Q=f?E.decode.bind(E):function(e){if(d(e)){return e.toString("utf-8")}throw new TypeError("Invalid utf-8 received.")};e.exports={isConnecting:isConnecting,isEstablished:isEstablished,isClosing:isClosing,isClosed:isClosed,fireEvent:fireEvent,isValidSubprotocol:isValidSubprotocol,isValidStatusCode:isValidStatusCode,failWebsocketConnection:failWebsocketConnection,websocketMessageReceived:websocketMessageReceived,utf8Decode:Q,isControlFrame:isControlFrame,isContinuationFrame:isContinuationFrame,isTextBinaryFrame:isTextBinaryFrame,isValidOpcode:isValidOpcode,parseExtensions:parseExtensions,isValidClientWindowBits:isValidClientWindowBits}},9708:(e,t,A)=>{const{webidl:r}=A(5162);const{URLSerializer:n}=A(5192);const{environmentSettingsObject:s}=A(3095);const{staticPropertyDescriptors:o,states:i,sentCloseFrameState:a,sendHints:c}=A(6869);const{kWebSocketURL:l,kReadyState:u,kController:d,kBinaryType:h,kResponse:g,kSentClose:f,kByteParser:E}=A(5457);const{isConnecting:Q,isEstablished:C,isClosing:I,isValidSubprotocol:B,fireEvent:p}=A(1226);const{establishWebSocketConnection:m,closeWebSocketConnection:y}=A(6890);const{ByteParser:w}=A(5183);const{kEnumerableProperty:b,isBlobLike:k}=A(8529);const{getGlobalDispatcher:D}=A(4498);const{types:R}=A(7975);const{ErrorEvent:S,CloseEvent:F}=A(659);const{SendQueue:N}=A(9051);class WebSocket extends EventTarget{#x={open:null,error:null,close:null,message:null};#he=0;#ge="";#oe="";#fe;constructor(e,t=[]){super();r.util.markAsUncloneable(this);const A="WebSocket constructor";r.argumentLengthCheck(arguments,1,A);const n=r.converters["DOMString or sequence or WebSocketInit"](t,A,"options");e=r.converters.USVString(e,A,"url");t=n.protocols;const o=s.settingsObject.baseUrl;let i;try{i=new URL(e,o)}catch(e){throw new DOMException(e,"SyntaxError")}if(i.protocol==="http:"){i.protocol="ws:"}else if(i.protocol==="https:"){i.protocol="wss:"}if(i.protocol!=="ws:"&&i.protocol!=="wss:"){throw new DOMException(`Expected a ws: or wss: protocol, got ${i.protocol}`,"SyntaxError")}if(i.hash||i.href.endsWith("#")){throw new DOMException("Got fragment","SyntaxError")}if(typeof t==="string"){t=[t]}if(t.length!==new Set(t.map(e=>e.toLowerCase())).size){throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError")}if(t.length>0&&!t.every(e=>B(e))){throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError")}this[l]=new URL(i.href);const c=s.settingsObject;this[d]=m(i,t,c,this,(e,t)=>this.#Ee(e,t),n);this[u]=WebSocket.CONNECTING;this[f]=a.NOT_SENT;this[h]="blob"}close(e=undefined,t=undefined){r.brandCheck(this,WebSocket);const A="WebSocket.close";if(e!==undefined){e=r.converters["unsigned short"](e,A,"code",{clamp:true})}if(t!==undefined){t=r.converters.USVString(t,A,"reason")}if(e!==undefined){if(e!==1e3&&(e<3e3||e>4999)){throw new DOMException("invalid code","InvalidAccessError")}}let n=0;if(t!==undefined){n=Buffer.byteLength(t);if(n>123){throw new DOMException(`Reason must be less than 123 bytes; received ${n}`,"SyntaxError")}}y(this,e,t,n)}send(e){r.brandCheck(this,WebSocket);const t="WebSocket.send";r.argumentLengthCheck(arguments,1,t);e=r.converters.WebSocketSendData(e,t,"data");if(Q(this)){throw new DOMException("Sent before connected.","InvalidStateError")}if(!C(this)||I(this)){return}if(typeof e==="string"){const t=Buffer.byteLength(e);this.#he+=t;this.#fe.add(e,()=>{this.#he-=t},c.string)}else if(R.isArrayBuffer(e)){this.#he+=e.byteLength;this.#fe.add(e,()=>{this.#he-=e.byteLength},c.arrayBuffer)}else if(ArrayBuffer.isView(e)){this.#he+=e.byteLength;this.#fe.add(e,()=>{this.#he-=e.byteLength},c.typedArray)}else if(k(e)){this.#he+=e.size;this.#fe.add(e,()=>{this.#he-=e.size},c.blob)}}get readyState(){r.brandCheck(this,WebSocket);return this[u]}get bufferedAmount(){r.brandCheck(this,WebSocket);return this.#he}get url(){r.brandCheck(this,WebSocket);return n(this[l])}get extensions(){r.brandCheck(this,WebSocket);return this.#oe}get protocol(){r.brandCheck(this,WebSocket);return this.#ge}get onopen(){r.brandCheck(this,WebSocket);return this.#x.open}set onopen(e){r.brandCheck(this,WebSocket);if(this.#x.open){this.removeEventListener("open",this.#x.open)}if(typeof e==="function"){this.#x.open=e;this.addEventListener("open",e)}else{this.#x.open=null}}get onerror(){r.brandCheck(this,WebSocket);return this.#x.error}set onerror(e){r.brandCheck(this,WebSocket);if(this.#x.error){this.removeEventListener("error",this.#x.error)}if(typeof e==="function"){this.#x.error=e;this.addEventListener("error",e)}else{this.#x.error=null}}get onclose(){r.brandCheck(this,WebSocket);return this.#x.close}set onclose(e){r.brandCheck(this,WebSocket);if(this.#x.close){this.removeEventListener("close",this.#x.close)}if(typeof e==="function"){this.#x.close=e;this.addEventListener("close",e)}else{this.#x.close=null}}get onmessage(){r.brandCheck(this,WebSocket);return this.#x.message}set onmessage(e){r.brandCheck(this,WebSocket);if(this.#x.message){this.removeEventListener("message",this.#x.message)}if(typeof e==="function"){this.#x.message=e;this.addEventListener("message",e)}else{this.#x.message=null}}get binaryType(){r.brandCheck(this,WebSocket);return this[h]}set binaryType(e){r.brandCheck(this,WebSocket);if(e!=="blob"&&e!=="arraybuffer"){this[h]="blob"}else{this[h]=e}}#Ee(e,t){this[g]=e;const A=this[d]?.dispatcher?.webSocketOptions;const r=A?.maxFragments;const n=A?.maxPayloadSize;const s=new w(this,t,{maxFragments:r,maxPayloadSize:n});s.on("drain",onParserDrain);s.on("error",onParserError.bind(this));e.socket.ws=this;this[E]=s;this.#fe=new N(e.socket);this[u]=i.OPEN;const o=e.headersList.get("sec-websocket-extensions");if(o!==null){this.#oe=o}const a=e.headersList.get("sec-websocket-protocol");if(a!==null){this.#ge=a}p("open",this)}}WebSocket.CONNECTING=WebSocket.prototype.CONNECTING=i.CONNECTING;WebSocket.OPEN=WebSocket.prototype.OPEN=i.OPEN;WebSocket.CLOSING=WebSocket.prototype.CLOSING=i.CLOSING;WebSocket.CLOSED=WebSocket.prototype.CLOSED=i.CLOSED;Object.defineProperties(WebSocket.prototype,{CONNECTING:o,OPEN:o,CLOSING:o,CLOSED:o,url:b,readyState:b,bufferedAmount:b,onopen:b,onerror:b,onclose:b,close:b,onmessage:b,binaryType:b,send:b,extensions:b,protocol:b,[Symbol.toStringTag]:{value:"WebSocket",writable:false,enumerable:false,configurable:true}});Object.defineProperties(WebSocket,{CONNECTING:o,OPEN:o,CLOSING:o,CLOSED:o});r.converters["sequence"]=r.sequenceConverter(r.converters.DOMString);r.converters["DOMString or sequence"]=function(e,t,A){if(r.util.Type(e)==="Object"&&Symbol.iterator in e){return r.converters["sequence"](e)}return r.converters.DOMString(e,t,A)};r.converters.WebSocketInit=r.dictionaryConverter([{key:"protocols",converter:r.converters["DOMString or sequence"],defaultValue:()=>new Array(0)},{key:"dispatcher",converter:r.converters.any,defaultValue:()=>D()},{key:"headers",converter:r.nullableConverter(r.converters.HeadersInit)}]);r.converters["DOMString or sequence or WebSocketInit"]=function(e){if(r.util.Type(e)==="Object"&&!(Symbol.iterator in e)){return r.converters.WebSocketInit(e)}return{protocols:r.converters["DOMString or sequence"](e)}};r.converters.WebSocketSendData=function(e){if(r.util.Type(e)==="Object"){if(k(e)){return r.converters.Blob(e,{strict:false})}if(ArrayBuffer.isView(e)||R.isArrayBuffer(e)){return r.converters.BufferSource(e)}}return r.converters.USVString(e)};function onParserDrain(){this.ws[g].socket.resume()}function onParserError(e){let t;let A;if(e instanceof F){t=e.reason;A=e.code}else{t=e.message}p("error",this,()=>new S("error",{error:e,message:t}));y(this,A)}e.exports={WebSocket:WebSocket}},2613:t=>{t.exports=e(import.meta.url)("assert")},4434:t=>{t.exports=e(import.meta.url)("events")},8611:t=>{t.exports=e(import.meta.url)("http")},5692:t=>{t.exports=e(import.meta.url)("https")},9278:t=>{t.exports=e(import.meta.url)("net")},4589:t=>{t.exports=e(import.meta.url)("node:assert")},6698:t=>{t.exports=e(import.meta.url)("node:async_hooks")},4573:t=>{t.exports=e(import.meta.url)("node:buffer")},7540:t=>{t.exports=e(import.meta.url)("node:console")},7598:t=>{t.exports=e(import.meta.url)("node:crypto")},3053:t=>{t.exports=e(import.meta.url)("node:diagnostics_channel")},610:t=>{t.exports=e(import.meta.url)("node:dns")},8474:t=>{t.exports=e(import.meta.url)("node:events")},7067:t=>{t.exports=e(import.meta.url)("node:http")},2467:t=>{t.exports=e(import.meta.url)("node:http2")},7030:t=>{t.exports=e(import.meta.url)("node:net")},643:t=>{t.exports=e(import.meta.url)("node:perf_hooks")},1792:t=>{t.exports=e(import.meta.url)("node:querystring")},7075:t=>{t.exports=e(import.meta.url)("node:stream")},1692:t=>{t.exports=e(import.meta.url)("node:tls")},3136:t=>{t.exports=e(import.meta.url)("node:url")},7975:t=>{t.exports=e(import.meta.url)("node:util")},3429:t=>{t.exports=e(import.meta.url)("node:util/types")},5919:t=>{t.exports=e(import.meta.url)("node:worker_threads")},8522:t=>{t.exports=e(import.meta.url)("node:zlib")},3193:t=>{t.exports=e(import.meta.url)("string_decoder")},4756:t=>{t.exports=e(import.meta.url)("tls")},9023:t=>{t.exports=e(import.meta.url)("util")},2027:(e,t,A)=>{const{normalizeIPv6:r,removeDotSegments:n,removeDotSegmentsRelative:s,recomposeAuthority:o,normalizePercentEncoding:i,normalizePathEncoding:a,serializePathEncoding:c,normalizeQueryFragmentEncoding:l,encodeQuery:u,encodeFragment:d,reescapeHostDelimiters:h,isIPv4:g,nonSimpleDomain:f}=A(7622);const{SCHEMES:E,getSchemeHandler:Q}=A(8043);const C=/^[A-Za-z][A-Za-z0-9+.-]*$/u;const I="URI scheme is malformed.";const B="URI host is malformed.";const p=/[\0-\x20"#/:<>?@[\\\]^`{|}\x7F]/u;function validateScheme(e){const t=String(e);if(!C.test(t)){throw new TypeError(I)}return t}function normalize(e,t){if(typeof e==="string"){e=normalizeString(e,t)}else if(typeof e==="object"){e=parse(serialize(e,t),t)}return e}function resolve(e,t,A){const n=A?Object.assign({scheme:"null"},A):{scheme:"null"};const{parsed:s,malformedAuthorityOrPort:o,malformedPercentEncoding:i,malformedSchemeSpecific:a,malformedHost:c,malformedScheme:l}=parseWithStatus(e,n);const{parsed:u,malformedAuthorityOrPort:d,malformedPercentEncoding:h,malformedSchemeSpecific:f,malformedHost:E,malformedScheme:C}=parseWithStatus(t,n);if(o||d||i||h||a||f||c||E||l||C){throw new Error(s.error||u.error||"URI is malformed.")}const I=resolveComponent(s,u,n,true);const p=Q(A&&A.scheme||I.scheme);const m=I.host;const y=m!==undefined&&m!==""&&(g(m)||r(m).isIPV6);if(hasForbiddenDomainHost(I,A||{},p,y)){throw new Error(B)}canonicalizeHost(I,A||{},p,y);const w=m&&m.indexOf("%")!==-1&&!/\P{ASCII}/u.test(m);if(I.error&&!w){throw new Error(I.error)}n.skipEscape=true;return serialize(I,n)}function resolveComponent(e,t,A,r){const o={};if(!r){e=parse(serialize(e,A),A);t=parse(serialize(t,A),A)}A=A||{};if(!A.tolerant&&t.scheme){o.scheme=t.scheme;o.userinfo=t.userinfo;o.host=t.host;o.port=t.port;o.path=n(t.path||"");o.query=t.query}else{if(t.userinfo!==undefined||t.host!==undefined||t.port!==undefined){o.userinfo=t.userinfo;o.host=t.host;o.port=t.port;o.path=n(t.path||"");o.query=t.query}else{if(!t.path){o.path=e.path;if(t.query!==undefined){o.query=t.query}else{o.query=e.query}}else{if(t.path[0]==="/"){o.path=n(t.path)}else{const A=e.userinfo!==undefined||e.host!==undefined||e.port!==undefined;if(A&&!e.path){o.path="/"+t.path}else if(!e.path){o.path=t.path}else{o.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path}o.path=e.scheme===undefined&&!A&&o.path[0]!=="/"?s(o.path):n(o.path)}o.query=t.query}o.userinfo=e.userinfo;o.host=e.host;o.port=e.port}o.scheme=e.scheme}o.fragment=t.fragment;return o}function equal(e,t,A){const r=normalizeComparableURI(e,A);const n=normalizeComparableURI(t,A);return r!==undefined&&n!==undefined&&r===n}function serialize(e,t){const A={host:e.host,scheme:e.scheme,userinfo:e.userinfo,port:e.port,path:e.path,query:e.query,nid:e.nid,nss:e.nss,uuid:e.uuid,fragment:e.fragment,reference:e.reference,resourceName:e.resourceName,secure:e.secure,error:""};const r=Object.assign({},t);const a=[];if(A.scheme){A.scheme=validateScheme(A.scheme)}const l=Q(r.scheme||A.scheme);if(l&&l.serialize)l.serialize(A,r);const h=A.userinfo!==undefined||A.host!==undefined||A.port!==undefined;const g=(A.scheme===undefined||r.reference==="suffix")&&!h;const f=!r.skipEscape&&g;if(A.path!==undefined){if(!r.skipEscape){A.path=c(A.path,f)}else{A.path=i(A.path)}}if(r.reference!=="suffix"&&A.scheme){A.scheme=validateScheme(A.scheme);a.push(A.scheme,":")}const E=o(A);if(E!==undefined){if(r.reference!=="suffix"){a.push("//")}a.push(E);if(A.path&&A.path[0]!=="/"){a.push("/")}}if(A.path!==undefined){let e=A.path;if(!r.absolutePath&&(!l||!l.absolutePath)){e=g&&e[0]!=="/"?s(e):n(e)}if(g){e=c(e,true)}if(E===undefined&&e[0]==="/"&&e[1]==="/"){e="/%2F"+e.slice(2)}a.push(e)}if(A.query!==undefined){a.push("?",u(A.query))}if(A.fragment!==undefined){a.push("#",d(A.fragment))}return a.join("")}const m=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;const y=/^(?:[^#/:?]+:)?\/\/([^/?#]*)/;const w=/^(?:[^#/:?]+:)?([/\\\t\n\r]*)/;function getParseError(e,t){if(t[2]!==undefined&&e.path&&e.path[0]!=="/"){return'URI path must start with "/" when authority is present.'}if(typeof e.port==="number"&&(e.port<0||e.port>65535)){return"URI port is malformed."}return undefined}function hasMalformedPercentEncoding(e){if(e===undefined)return false;let t=e.indexOf("%");while(t!==-1){if(t+2>=e.length||!/^[\da-f]{2}$/iu.test(e.slice(t+1,t+3))){return true}t=e.indexOf("%",t+3)}return false}function isIPLiteral(e){return e[0]==="["&&e[e.length-1]==="]"}function hasMalformedComponentPercentEncoding(e){const t=e[4];return hasMalformedPercentEncoding(e[3])||t!==undefined&&!isIPLiteral(t)&&hasMalformedPercentEncoding(t)||hasMalformedPercentEncoding(e[6])||hasMalformedPercentEncoding(e[7])||hasMalformedPercentEncoding(e[8])}function canonicalizeHost(e,t,A,r){if(hasForbiddenDomainHost(e,t,A,r)){e.error=e.error||B;return true}if(!t.unicodeSupport&&(!A||!A.unicodeSupport)&&e.host&&!isIPLiteral(e.host)&&(t.domainHost||A&&A.domainHost)&&r===false&&f(e.host)){let t;try{t=new URL("http://"+e.host)}catch(t){e.error=e.error||"Host's domain name can not be converted to ASCII: "+t;return true}if(!isHostOnlyURL(t)){e.error=e.error||B;return true}e.host=t.hostname}return false}function hasForbiddenDomainHost(e,t,A,r){return Boolean(e.host&&r===false&&!isIPLiteral(e.host)&&(t.domainHost||A&&A.domainHost)&&p.test(e.host))}function isHostOnlyURL(e){return e.username===""&&e.password===""&&e.port===""&&e.pathname==="/"&&e.search===""&&e.hash===""&&e.hostname!==""}function parseWithStatus(e,t){const A=Object.assign({},t);const n={scheme:undefined,userinfo:undefined,host:"",port:undefined,path:"",query:undefined,fragment:undefined};let s=false;let o=false;let c=false;let u=false;let d=false;let f=false;let p=false;if(A.reference==="suffix"){if(A.scheme){e=A.scheme+":"+e}else{e="//"+e}}const b=e.match(y);if(b!==null&&b[1].indexOf("\\")!==-1){n.error="URI authority must not contain a literal backslash.";s=true}const k=e.match(w);if(k!==null){const e=k[1];const t=e.replace(/[\t\n\r]/g,"");if(t.length>=2){if(t.slice(0,2)!=="//"){n.error=n.error||"URI authority must not contain a literal backslash.";s=true}else if(e.length!==t.length){n.error=n.error||"URI authority introducer must not contain whitespace.";s=true}}}const D=e.match(m);if(D){n.scheme=D[1];n.userinfo=D[3];n.host=D[4];n.port=parseInt(D[5],10);n.path=D[6]||"";n.query=D[7];n.fragment=D[8];if(n.scheme!==undefined){if(C.test(n.scheme)){n.scheme=n.scheme.toLowerCase()}else{n.error=n.error||I;f=true}}o=hasMalformedComponentPercentEncoding(D);if(o){n.error=n.error||"URI contains malformed percent-encoding."}if(isNaN(n.port)){n.port=D[5]}const t=getParseError(n,D);if(t!==undefined){n.error=n.error||t;s=true}if(n.host){const e=g(n.host);if(e===false){const e=isIPLiteral(n.host);const t=n.host.indexOf("[")!==-1||n.host.indexOf("]")!==-1;const A=r(n.host);p=A.isIPV6||A.isIPVFuture===true;d=t&&(!e||A.error===true);n.host=p?A.host:A.host.toLowerCase();if(d){n.error=n.error||B;s=true}}else{p=true}}if(n.scheme===undefined&&n.userinfo===undefined&&n.host===undefined&&n.port===undefined&&n.query===undefined&&!n.path){n.reference="same-document"}else if(n.scheme===undefined){n.reference="relative"}else if(n.fragment===undefined){n.reference="absolute"}else{n.reference="uri"}if(A.reference&&A.reference!=="suffix"&&A.reference!==n.reference){n.error=n.error||"URI is not a "+A.reference+" reference."}const m=Q(A.scheme||n.scheme);if(!d){u=canonicalizeHost(n,A,m,p)}if(e.indexOf("%")!==-1&&n.host!==undefined&&!d){let e=p?n.host:i(n.host,true);if(!p){e=i(e.toLowerCase())}n.host=p||A.scheme!=="null"?h(e,p):e}if(!m||m&&!m.skipNormalize){if(n.path){n.path=a(n.path)}if(n.query){n.query=l(n.query)}if(n.fragment){n.fragment=l(n.fragment)}}if(m&&m.parse){m.parse(n,A);if(m===E.urn&&n.nid===undefined){c=true}}}else{n.error=n.error||"URI can not be parsed."}return{parsed:n,malformedAuthorityOrPort:s,malformedPercentEncoding:o,malformedSchemeSpecific:c,malformedHost:u,malformedScheme:f}}function parse(e,t){return parseWithStatus(e,t).parsed}function normalizeString(e,t){return normalizeStringWithStatus(e,t).normalized}function normalizeStringWithStatus(e,t){const{parsed:A,malformedAuthorityOrPort:r,malformedPercentEncoding:n,malformedSchemeSpecific:s,malformedHost:o,malformedScheme:i}=parseWithStatus(e,t);return{normalized:r||n||s||o||i?e:serialize(A,t),malformedAuthorityOrPort:r,malformedPercentEncoding:n,malformedSchemeSpecific:s,malformedHost:o,malformedScheme:i}}function normalizeComparableURI(e,t){if(typeof e!=="string"&&typeof e!=="object"){return undefined}let A;try{A=typeof e==="string"?e:serialize(e,t)}catch{return undefined}const{normalized:r,malformedAuthorityOrPort:n,malformedPercentEncoding:s,malformedSchemeSpecific:o,malformedHost:i,malformedScheme:a}=normalizeStringWithStatus(A,t);return n||s||o||i||a?undefined:r}const b={SCHEMES:E,normalize:normalize,resolve:resolve,resolveComponent:resolveComponent,equal:equal,serialize:serialize,parse:parse};e.exports=b;e.exports["default"]=b;e.exports.fastUri=b},8043:(e,t,A)=>{const{isUUID:r}=A(7622);const n=/^([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-./:;=@]|%[\da-f]{2})+)$/iu;const s=["http","https","ws","wss","urn","urn:uuid"];function isValidSchemeName(e){return s.indexOf(e)!==-1}function wsIsSecure(e){if(e.secure===true){return true}else if(e.secure===false){return false}else if(e.scheme){return e.scheme.length===3&&(e.scheme[0]==="w"||e.scheme[0]==="W")&&(e.scheme[1]==="s"||e.scheme[1]==="S")&&(e.scheme[2]==="s"||e.scheme[2]==="S")}else{return false}}function httpParse(e){if(!e.host){e.error=e.error||"HTTP URIs must have a host."}return e}function httpSerialize(e){const t=String(e.scheme).toLowerCase()==="https";if(e.port===(t?443:80)||e.port===""){e.port=undefined}if(!e.path){e.path="/"}return e}function wsParse(e){e.secure=wsIsSecure(e);e.resourceName=(e.path||"/")+(e.query?"?"+e.query:"");e.path=undefined;e.query=undefined;return e}function wsSerialize(e){if(e.port===(wsIsSecure(e)?443:80)||e.port===""){e.port=undefined}if(typeof e.secure==="boolean"){e.scheme=e.secure?"wss":"ws";e.secure=undefined}if(e.resourceName){const t=e.resourceName.indexOf("?");const A=t===-1?e.resourceName:e.resourceName.slice(0,t);e.path=A&&A!=="/"?A:undefined;e.query=t===-1?undefined:e.resourceName.slice(t+1);e.resourceName=undefined}e.fragment=undefined;return e}function urnParse(e,t){if(!e.path){e.error="URN can not be parsed";return e}const A=e.path.match(n);if(A&&A[0]===e.path){const r=t.scheme||e.scheme||"urn";e.nid=A[1].toLowerCase();e.nss=A[2];const n=`${r}:${t.nid||e.nid}`;const s=getSchemeHandler(n);e.path=undefined;if(s){e=s.parse(e,t)}}else{e.error=e.error||"URN can not be parsed."}return e}function urnSerialize(e,t){if(e.nid===undefined){throw new Error("URN without nid cannot be serialized")}const A=t.scheme||e.scheme||"urn";const r=e.nid.toLowerCase();const n=`${A}:${t.nid||r}`;const s=getSchemeHandler(n);if(s){e=s.serialize(e,t)}const o=e;const i=e.nss;o.path=`${r||t.nid}:${i}`;t.skipEscape=true;return o}function urnuuidParse(e,t){const A=e;A.uuid=A.nss;A.nss=undefined;if(!t.tolerant&&(!A.uuid||!r(A.uuid))){A.error=A.error||"UUID is not valid."}return A}function urnuuidSerialize(e){const t=e;t.nss=(e.uuid||"").toLowerCase();return t}const o={scheme:"http",domainHost:true,parse:httpParse,serialize:httpSerialize};const i={scheme:"https",domainHost:o.domainHost,parse:httpParse,serialize:httpSerialize};const a={scheme:"ws",domainHost:true,parse:wsParse,serialize:wsSerialize};const c={scheme:"wss",domainHost:a.domainHost,parse:a.parse,serialize:a.serialize};const l={scheme:"urn",parse:urnParse,serialize:urnSerialize,skipNormalize:true};const u={scheme:"urn:uuid",parse:urnuuidParse,serialize:urnuuidSerialize,skipNormalize:true};const d={http:o,https:i,ws:a,wss:c,urn:l,"urn:uuid":u};Object.setPrototypeOf(d,null);function getSchemeHandler(e){return e&&(d[e]||d[e.toLowerCase()])||undefined}e.exports={wsIsSecure:wsIsSecure,SCHEMES:d,isValidSchemeName:isValidSchemeName,getSchemeHandler:getSchemeHandler}},7622:e=>{const t=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);const A=RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);const r=RegExp.prototype.test.bind(/^\d*$/u);const n=RegExp.prototype.test.bind(/^[\da-f]{2}$/iu);const s=RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu);const o=RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:@/]$/u);const i=RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:@/?]$/u);const a=RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:]$/u);const c=new Array(256);{const e="0123456789ABCDEF";for(let t=0;t<256;t++){c[t]="%"+e[t>>4]+e[t&15]}}function percentEncodeNonAscii(e){if(e<2048){return c[192|e>>6]+c[128|e&63]}if(e<65536){return c[224|e>>12]+c[128|e>>6&63]+c[128|e&63]}return c[240|e>>18]+c[128|e>>12&63]+c[128|e>>6&63]+c[128|e&63]}function stringArrayToHexStripped(e){let t="";let A=0;let r=0;for(r=0;r=48&&A<=57||A>=65&&A<=70||A>=97&&A<=102)){return""}t+=e[r];break}for(r+=1;r=48&&A<=57||A>=65&&A<=70||A>=97&&A<=102)){return""}t+=e[r]}return t}const l=RegExp.prototype.test.bind(/^[\dA-Fa-f]{1,4}$/);const u=RegExp.prototype.test.bind(/^[vV][\dA-Fa-f]+\.[A-Za-z\d\-._~!$&'()*+,;=:]+$/);const d=RegExp.prototype.test.bind(/^[A-Za-z\d\-._~]$/);const h=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function isZoneIdentifier(e){if(e.length===0)return false;for(let t=0;tA){A=n;t=r}}else{r=-1;n=0}}if(A<2)return e.join(":");const s=e.slice(0,t).join(":");const o=e.slice(t+A).join(":");return s+"::"+o}function normalizeIPv6Address(e){const t=e.indexOf("::");if(t!==-1&&e.indexOf("::",t+1)!==-1)return undefined;const r=t===-1?e.split(":"):e.slice(0,t).split(":");const n=t===-1?[]:e.slice(t+2).split(":");if(t!==-1){if(r.length===1&&r[0]==="")r.length=0;if(n.length===1&&n[0]==="")n.length=0}const s=r.concat(n);let o=0;for(let e=0;e=8)return undefined;const i=s.slice(0,r.length);for(let e=o;e<8;e++)i.push("0");for(let e=r.length;eg[e])}function normalizePercentEncoding(e,t=false){if(e.indexOf("%")===-1){return e}let A="";for(let r=0;r57343){t+=percentEncodeNonAscii(n)}else if(n<=56319&&A+1=56320&&r<=57343){t+=percentEncodeNonAscii(65536+(n-55296<<10)+(r-56320));A++}else{t+=percentEncodeNonAscii(65533)}}else{t+=percentEncodeNonAscii(65533)}}}return t}function serializePathEncoding(e,t=false){let A="";let r=t&&e[0]!=="/";for(let t=0;t57343){A+=percentEncodeNonAscii(r)}else if(r<=56319&&t+1=56320&&n<=57343){A+=percentEncodeNonAscii(65536+(r-55296<<10)+(n-56320));t++}else{A+=percentEncodeNonAscii(65533)}}else{A+=percentEncodeNonAscii(65533)}}}return A}function encodeComponent(e,t){let A="";for(let r=0;r57343){A+=percentEncodeNonAscii(t)}else if(t<=56319&&r+1=56320&&n<=57343){A+=percentEncodeNonAscii(65536+(t-55296<<10)+(n-56320));r++}else{A+=percentEncodeNonAscii(65533)}}else{A+=percentEncodeNonAscii(65533)}}}return A}function encodeUserinfo(e){return encodeComponent(e,a)}function encodeQuery(e){return encodeComponent(e,i)}function encodeFragment(e){return encodeComponent(e,i)}function isEscapeSafe(e){return e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122||e===42||e===43||e===45||e===46||e===47||e===64||e===95}function normalizeQueryFragmentEncoding(e){let t="";for(let A=0;A57343){t+=percentEncodeNonAscii(n)}else if(n<=56319&&A+1=56320&&r<=57343){t+=percentEncodeNonAscii(65536+(n-55296<<10)+(r-56320));A++}else{t+=percentEncodeNonAscii(65533)}}else{t+=percentEncodeNonAscii(65533)}}}return t}function escapePreservingEscapes(e){let t="";for(let A=0;A{e.exports=JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON AnySchema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},5849:e=>{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/applicator","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/applicator":true},"$dynamicAnchor":"meta","title":"Applicator vocabulary meta-schema","type":["object","boolean"],"properties":{"prefixItems":{"$ref":"#/$defs/schemaArray"},"items":{"$dynamicRef":"#meta"},"contains":{"$dynamicRef":"#meta"},"additionalProperties":{"$dynamicRef":"#meta"},"properties":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"},"propertyNames":{"format":"regex"},"default":{}},"dependentSchemas":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"},"default":{}},"propertyNames":{"$dynamicRef":"#meta"},"if":{"$dynamicRef":"#meta"},"then":{"$dynamicRef":"#meta"},"else":{"$dynamicRef":"#meta"},"allOf":{"$ref":"#/$defs/schemaArray"},"anyOf":{"$ref":"#/$defs/schemaArray"},"oneOf":{"$ref":"#/$defs/schemaArray"},"not":{"$dynamicRef":"#meta"}},"$defs":{"schemaArray":{"type":"array","minItems":1,"items":{"$dynamicRef":"#meta"}}}}')},1305:e=>{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/content","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/content":true},"$dynamicAnchor":"meta","title":"Content vocabulary meta-schema","type":["object","boolean"],"properties":{"contentEncoding":{"type":"string"},"contentMediaType":{"type":"string"},"contentSchema":{"$dynamicRef":"#meta"}}}')},7255:e=>{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/core","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/core":true},"$dynamicAnchor":"meta","title":"Core vocabulary meta-schema","type":["object","boolean"],"properties":{"$id":{"$ref":"#/$defs/uriReferenceString","$comment":"Non-empty fragments not allowed.","pattern":"^[^#]*#?$"},"$schema":{"$ref":"#/$defs/uriString"},"$ref":{"$ref":"#/$defs/uriReferenceString"},"$anchor":{"$ref":"#/$defs/anchorString"},"$dynamicRef":{"$ref":"#/$defs/uriReferenceString"},"$dynamicAnchor":{"$ref":"#/$defs/anchorString"},"$vocabulary":{"type":"object","propertyNames":{"$ref":"#/$defs/uriString"},"additionalProperties":{"type":"boolean"}},"$comment":{"type":"string"},"$defs":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"}}},"$defs":{"anchorString":{"type":"string","pattern":"^[A-Za-z_][-A-Za-z0-9._]*$"},"uriString":{"type":"string","format":"uri"},"uriReferenceString":{"type":"string","format":"uri-reference"}}}')},2427:e=>{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/format-annotation","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/format-annotation":true},"$dynamicAnchor":"meta","title":"Format vocabulary meta-schema for annotation results","type":["object","boolean"],"properties":{"format":{"type":"string"}}}')},1976:e=>{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/meta-data","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/meta-data":true},"$dynamicAnchor":"meta","title":"Meta-data vocabulary meta-schema","type":["object","boolean"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"default":true,"deprecated":{"type":"boolean","default":false},"readOnly":{"type":"boolean","default":false},"writeOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true}}}')},3488:e=>{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/unevaluated","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/unevaluated":true},"$dynamicAnchor":"meta","title":"Unevaluated applicator vocabulary meta-schema","type":["object","boolean"],"properties":{"unevaluatedItems":{"$dynamicRef":"#meta"},"unevaluatedProperties":{"$dynamicRef":"#meta"}}}')},5619:e=>{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/validation","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/validation":true},"$dynamicAnchor":"meta","title":"Validation vocabulary meta-schema","type":["object","boolean"],"properties":{"type":{"anyOf":[{"$ref":"#/$defs/simpleTypes"},{"type":"array","items":{"$ref":"#/$defs/simpleTypes"},"minItems":1,"uniqueItems":true}]},"const":true,"enum":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/$defs/nonNegativeInteger"},"minLength":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"maxItems":{"$ref":"#/$defs/nonNegativeInteger"},"minItems":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"maxContains":{"$ref":"#/$defs/nonNegativeInteger"},"minContains":{"$ref":"#/$defs/nonNegativeInteger","default":1},"maxProperties":{"$ref":"#/$defs/nonNegativeInteger"},"minProperties":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"required":{"$ref":"#/$defs/stringArray"},"dependentRequired":{"type":"object","additionalProperties":{"$ref":"#/$defs/stringArray"}}},"$defs":{"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"$ref":"#/$defs/nonNegativeInteger","default":0},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}}}')},8097:e=>{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/schema","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/core":true,"https://json-schema.org/draft/2020-12/vocab/applicator":true,"https://json-schema.org/draft/2020-12/vocab/unevaluated":true,"https://json-schema.org/draft/2020-12/vocab/validation":true,"https://json-schema.org/draft/2020-12/vocab/meta-data":true,"https://json-schema.org/draft/2020-12/vocab/format-annotation":true,"https://json-schema.org/draft/2020-12/vocab/content":true},"$dynamicAnchor":"meta","title":"Core and Validation specifications meta-schema","allOf":[{"$ref":"meta/core"},{"$ref":"meta/applicator"},{"$ref":"meta/unevaluated"},{"$ref":"meta/validation"},{"$ref":"meta/meta-data"},{"$ref":"meta/format-annotation"},{"$ref":"meta/content"}],"type":["object","boolean"],"$comment":"This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.","properties":{"definitions":{"$comment":"\\"definitions\\" has been replaced by \\"$defs\\".","type":"object","additionalProperties":{"$dynamicRef":"#meta"},"deprecated":true,"default":{}},"dependencies":{"$comment":"\\"dependencies\\" has been split and replaced by \\"dependentSchemas\\" and \\"dependentRequired\\" in order to serve their differing semantics.","type":"object","additionalProperties":{"anyOf":[{"$dynamicRef":"#meta"},{"$ref":"meta/validation#/$defs/stringArray"}]},"deprecated":true,"default":{}},"$recursiveAnchor":{"$comment":"\\"$recursiveAnchor\\" has been replaced by \\"$dynamicAnchor\\".","$ref":"meta/core#/$defs/anchorString","deprecated":true},"$recursiveRef":{"$comment":"\\"$recursiveRef\\" has been replaced by \\"$dynamicRef\\".","$ref":"meta/core#/$defs/uriReferenceString","deprecated":true}}}')},7628:e=>{e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')}};var A={};function __nccwpck_require__(e){var r=A[e];if(r!==undefined){return r.exports}var n=A[e]={exports:{}};var s=true;try{t[e](n,n.exports,__nccwpck_require__);s=false}finally{if(s)delete A[e]}return n.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=decodeURIComponent(new URL(".",import.meta.url).pathname).slice(import.meta.url.match(/^file:\/\/\/\w:/)?1:0,-1)+"/";var r={};const n=e(import.meta.url)("os");function utils_toCommandValue(e){if(e===null||e===undefined){return""}else if(typeof e==="string"||e instanceof String){return e}return JSON.stringify(e)}function utils_toCommandProperties(e){if(!Object.keys(e).length){return{}}return{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}}function command_issueCommand(e,t,A){const r=new Command(e,t,A);process.stdout.write(r.toString()+n.EOL)}function command_issue(e,t=""){command_issueCommand(e,{},t)}const s="::";class Command{constructor(e,t,A){if(!e){e="missing.command"}this.command=e;this.properties=t;this.message=A}toString(){let e=s+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let t=true;for(const A in this.properties){if(this.properties.hasOwnProperty(A)){const r=this.properties[A];if(r){if(t){t=false}else{e+=","}e+=`${A}=${escapeProperty(r)}`}}}}e+=`${s}${escapeData(this.message)}`;return e}}function escapeData(e){return utils_toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(e){return utils_toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}const o=e(import.meta.url)("crypto");const i=e(import.meta.url)("fs");function file_command_issueFileCommand(e,t){const A=process.env[`GITHUB_${e}`];if(!A){throw new Error(`Unable to find environment variable for file command ${e}`)}if(!i.existsSync(A)){throw new Error(`Missing file at path: ${A}`)}i.appendFileSync(A,`${utils_toCommandValue(t)}${n.EOL}`,{encoding:"utf8"})}function file_command_prepareKeyValueMessage(e,t){const A=`ghadelimiter_${o.randomUUID()}`;const r=utils_toCommandValue(t);if(e.includes(A)){throw new Error(`Unexpected input: name should not contain the delimiter "${A}"`)}if(r.includes(A)){throw new Error(`Unexpected input: value should not contain the delimiter "${A}"`)}return`${e}<<${A}${n.EOL}${r}${n.EOL}${A}`}const a=e(import.meta.url)("path");var c=__nccwpck_require__(8611);var l=__nccwpck_require__(5692);function getProxyUrl(e){const t=e.protocol==="https:";if(checkBypass(e)){return undefined}const A=(()=>{if(t){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(A){try{return new DecodedURL(A)}catch(e){if(!A.startsWith("http://")&&!A.startsWith("https://"))return new DecodedURL(`http://${A}`)}}else{return undefined}}function checkBypass(e){if(!e.hostname){return false}const t=e.hostname;if(isLoopbackAddress(t)){return true}const A=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!A){return false}let r;if(e.port){r=Number(e.port)}else if(e.protocol==="http:"){r=80}else if(e.protocol==="https:"){r=443}const n=[e.hostname.toUpperCase()];if(typeof r==="number"){n.push(`${n[0]}:${r}`)}for(const e of A.split(",").map(e=>e.trim().toUpperCase()).filter(e=>e)){if(e==="*"||n.some(t=>t===e||t.endsWith(`.${e}`)||e.startsWith(".")&&t.endsWith(`${e}`))){return true}}return false}function isLoopbackAddress(e){const t=e.toLowerCase();return t==="localhost"||t.startsWith("127.")||t.startsWith("[::1]")||t.startsWith("[0:0:0:0:0:0:0:1]")}class DecodedURL extends URL{constructor(e,t){super(e,t);this._decodedUsername=decodeURIComponent(super.username);this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}var u=__nccwpck_require__(7013);var d=__nccwpck_require__(9309);var h=undefined&&undefined.__awaiter||function(e,t,A,r){function adopt(e){return e instanceof A?e:new A(function(t){t(e)})}return new(A||(A=Promise))(function(A,n){function fulfilled(e){try{step(r.next(e))}catch(e){n(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){n(e)}}function step(e){e.done?A(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())})};var g;(function(e){e[e["OK"]=200]="OK";e[e["MultipleChoices"]=300]="MultipleChoices";e[e["MovedPermanently"]=301]="MovedPermanently";e[e["ResourceMoved"]=302]="ResourceMoved";e[e["SeeOther"]=303]="SeeOther";e[e["NotModified"]=304]="NotModified";e[e["UseProxy"]=305]="UseProxy";e[e["SwitchProxy"]=306]="SwitchProxy";e[e["TemporaryRedirect"]=307]="TemporaryRedirect";e[e["PermanentRedirect"]=308]="PermanentRedirect";e[e["BadRequest"]=400]="BadRequest";e[e["Unauthorized"]=401]="Unauthorized";e[e["PaymentRequired"]=402]="PaymentRequired";e[e["Forbidden"]=403]="Forbidden";e[e["NotFound"]=404]="NotFound";e[e["MethodNotAllowed"]=405]="MethodNotAllowed";e[e["NotAcceptable"]=406]="NotAcceptable";e[e["ProxyAuthenticationRequired"]=407]="ProxyAuthenticationRequired";e[e["RequestTimeout"]=408]="RequestTimeout";e[e["Conflict"]=409]="Conflict";e[e["Gone"]=410]="Gone";e[e["TooManyRequests"]=429]="TooManyRequests";e[e["InternalServerError"]=500]="InternalServerError";e[e["NotImplemented"]=501]="NotImplemented";e[e["BadGateway"]=502]="BadGateway";e[e["ServiceUnavailable"]=503]="ServiceUnavailable";e[e["GatewayTimeout"]=504]="GatewayTimeout"})(g||(g={}));var f;(function(e){e["Accept"]="accept";e["ContentType"]="content-type"})(f||(f={}));var E;(function(e){e["ApplicationJson"]="application/json"})(E||(E={}));function lib_getProxyUrl(e){const t=pm.getProxyUrl(new URL(e));return t?t.href:""}const Q=[g.MovedPermanently,g.ResourceMoved,g.SeeOther,g.TemporaryRedirect,g.PermanentRedirect];const C=[g.BadGateway,g.ServiceUnavailable,g.GatewayTimeout];const I=null&&["OPTIONS","GET","DELETE","HEAD"];const B=10;const p=5;class HttpClientError extends Error{constructor(e,t){super(e);this.name="HttpClientError";this.statusCode=t;Object.setPrototypeOf(this,HttpClientError.prototype)}}class HttpClientResponse{constructor(e){this.message=e}readBody(){return h(this,void 0,void 0,function*(){return new Promise(e=>h(this,void 0,void 0,function*(){let t=Buffer.alloc(0);this.message.on("data",e=>{t=Buffer.concat([t,e])});this.message.on("end",()=>{e(t.toString())})}))})}readBodyBuffer(){return h(this,void 0,void 0,function*(){return new Promise(e=>h(this,void 0,void 0,function*(){const t=[];this.message.on("data",e=>{t.push(e)});this.message.on("end",()=>{e(Buffer.concat(t))})}))})}}function isHttps(e){const t=new URL(e);return t.protocol==="https:"}class lib_HttpClient{constructor(e,t,A){this._ignoreSslError=false;this._allowRedirects=true;this._allowRedirectDowngrade=false;this._maxRedirects=50;this._allowRetries=false;this._maxRetries=1;this._keepAlive=false;this._disposed=false;this.userAgent=this._getUserAgentWithOrchestrationId(e);this.handlers=t||[];this.requestOptions=A;if(A){if(A.ignoreSslError!=null){this._ignoreSslError=A.ignoreSslError}this._socketTimeout=A.socketTimeout;if(A.allowRedirects!=null){this._allowRedirects=A.allowRedirects}if(A.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=A.allowRedirectDowngrade}if(A.maxRedirects!=null){this._maxRedirects=Math.max(A.maxRedirects,0)}if(A.keepAlive!=null){this._keepAlive=A.keepAlive}if(A.allowRetries!=null){this._allowRetries=A.allowRetries}if(A.maxRetries!=null){this._maxRetries=A.maxRetries}}}options(e,t){return h(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,t||{})})}get(e,t){return h(this,void 0,void 0,function*(){return this.request("GET",e,null,t||{})})}del(e,t){return h(this,void 0,void 0,function*(){return this.request("DELETE",e,null,t||{})})}post(e,t,A){return h(this,void 0,void 0,function*(){return this.request("POST",e,t,A||{})})}patch(e,t,A){return h(this,void 0,void 0,function*(){return this.request("PATCH",e,t,A||{})})}put(e,t,A){return h(this,void 0,void 0,function*(){return this.request("PUT",e,t,A||{})})}head(e,t){return h(this,void 0,void 0,function*(){return this.request("HEAD",e,null,t||{})})}sendStream(e,t,A,r){return h(this,void 0,void 0,function*(){return this.request(e,t,A,r)})}getJson(e){return h(this,arguments,void 0,function*(e,t={}){t[f.Accept]=this._getExistingOrDefaultHeader(t,f.Accept,E.ApplicationJson);const A=yield this.get(e,t);return this._processResponse(A,this.requestOptions)})}postJson(e,t){return h(this,arguments,void 0,function*(e,t,A={}){const r=JSON.stringify(t,null,2);A[f.Accept]=this._getExistingOrDefaultHeader(A,f.Accept,E.ApplicationJson);A[f.ContentType]=this._getExistingOrDefaultContentTypeHeader(A,E.ApplicationJson);const n=yield this.post(e,r,A);return this._processResponse(n,this.requestOptions)})}putJson(e,t){return h(this,arguments,void 0,function*(e,t,A={}){const r=JSON.stringify(t,null,2);A[f.Accept]=this._getExistingOrDefaultHeader(A,f.Accept,E.ApplicationJson);A[f.ContentType]=this._getExistingOrDefaultContentTypeHeader(A,E.ApplicationJson);const n=yield this.put(e,r,A);return this._processResponse(n,this.requestOptions)})}patchJson(e,t){return h(this,arguments,void 0,function*(e,t,A={}){const r=JSON.stringify(t,null,2);A[f.Accept]=this._getExistingOrDefaultHeader(A,f.Accept,E.ApplicationJson);A[f.ContentType]=this._getExistingOrDefaultContentTypeHeader(A,E.ApplicationJson);const n=yield this.patch(e,r,A);return this._processResponse(n,this.requestOptions)})}request(e,t,A,r){return h(this,void 0,void 0,function*(){if(this._disposed){throw new Error("Client has already been disposed.")}const n=new URL(t);let s=this._prepareRequest(e,n,r);const o=this._allowRetries&&I.includes(e)?this._maxRetries+1:1;let i=0;let a;do{a=yield this.requestRaw(s,A);if(a&&a.message&&a.message.statusCode===g.Unauthorized){let e;for(const t of this.handlers){if(t.canHandleAuthentication(a)){e=t;break}}if(e){return e.handleAuthentication(this,s,A)}else{return a}}let t=this._maxRedirects;while(a.message.statusCode&&Q.includes(a.message.statusCode)&&this._allowRedirects&&t>0){const o=a.message.headers["location"];if(!o){break}const i=new URL(o);if(n.protocol==="https:"&&n.protocol!==i.protocol&&!this._allowRedirectDowngrade){throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.")}yield a.readBody();if(i.hostname!==n.hostname){for(const e in r){if(e.toLowerCase()==="authorization"){delete r[e]}}}s=this._prepareRequest(e,i,r);a=yield this.requestRaw(s,A);t--}if(!a.message.statusCode||!C.includes(a.message.statusCode)){return a}i+=1;if(i{function callbackForResult(e,t){if(e){r(e)}else if(!t){r(new Error("Unknown error"))}else{A(t)}}this.requestRawWithCallback(e,t,callbackForResult)})})}requestRawWithCallback(e,t,A){if(typeof t==="string"){if(!e.options.headers){e.options.headers={}}e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8")}let r=false;function handleResult(e,t){if(!r){r=true;A(e,t)}}const n=e.httpModule.request(e.options,e=>{const t=new HttpClientResponse(e);handleResult(undefined,t)});let s;n.on("socket",e=>{s=e});n.setTimeout(this._socketTimeout||3*6e4,()=>{if(s){s.end()}handleResult(new Error(`Request timeout: ${e.options.path}`))});n.on("error",function(e){handleResult(e)});if(t&&typeof t==="string"){n.write(t,"utf8")}if(t&&typeof t!=="string"){t.on("close",function(){n.end()});t.pipe(n)}else{n.end()}}getAgent(e){const t=new URL(e);return this._getAgent(t)}getAgentDispatcher(e){const t=new URL(e);const A=pm.getProxyUrl(t);const r=A&&A.hostname;if(!r){return}return this._getProxyAgentDispatcher(t,A)}_prepareRequest(e,t,A){const r={};r.parsedUrl=t;const n=r.parsedUrl.protocol==="https:";r.httpModule=n?https:http;const s=n?443:80;r.options={};r.options.host=r.parsedUrl.hostname;r.options.port=r.parsedUrl.port?parseInt(r.parsedUrl.port):s;r.options.path=(r.parsedUrl.pathname||"")+(r.parsedUrl.search||"");r.options.method=e;r.options.headers=this._mergeHeaders(A);if(this.userAgent!=null){r.options.headers["user-agent"]=this.userAgent}r.options.agent=this._getAgent(r.parsedUrl);if(this.handlers){for(const e of this.handlers){e.prepareRequest(r.options)}}return r}_mergeHeaders(e){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(e||{}))}return lowercaseKeys(e||{})}_getExistingOrDefaultHeader(e,t,A){let r;if(this.requestOptions&&this.requestOptions.headers){const e=lowercaseKeys(this.requestOptions.headers)[t];if(e){r=typeof e==="number"?e.toString():e}}const n=e[t];if(n!==undefined){return typeof n==="number"?n.toString():n}if(r!==undefined){return r}return A}_getExistingOrDefaultContentTypeHeader(e,t){let A;if(this.requestOptions&&this.requestOptions.headers){const e=lowercaseKeys(this.requestOptions.headers)[f.ContentType];if(e){if(typeof e==="number"){A=String(e)}else if(Array.isArray(e)){A=e.join(", ")}else{A=e}}}const r=e[f.ContentType];if(r!==undefined){if(typeof r==="number"){return String(r)}else if(Array.isArray(r)){return r.join(", ")}else{return r}}if(A!==undefined){return A}return t}_getAgent(e){let t;const A=pm.getProxyUrl(e);const r=A&&A.hostname;if(this._keepAlive&&r){t=this._proxyAgent}if(!r){t=this._agent}if(t){return t}const n=e.protocol==="https:";let s=100;if(this.requestOptions){s=this.requestOptions.maxSockets||http.globalAgent.maxSockets}if(A&&A.hostname){const e={maxSockets:s,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(A.username||A.password)&&{proxyAuth:`${A.username}:${A.password}`}),{host:A.hostname,port:A.port})};let r;const o=A.protocol==="https:";if(n){r=o?tunnel.httpsOverHttps:tunnel.httpsOverHttp}else{r=o?tunnel.httpOverHttps:tunnel.httpOverHttp}t=r(e);this._proxyAgent=t}if(!t){const e={keepAlive:this._keepAlive,maxSockets:s};t=n?new https.Agent(e):new http.Agent(e);this._agent=t}if(n&&this._ignoreSslError){t.options=Object.assign(t.options||{},{rejectUnauthorized:false})}return t}_getProxyAgentDispatcher(e,t){let A;if(this._keepAlive){A=this._proxyAgentDispatcher}if(A){return A}const r=e.protocol==="https:";A=new ProxyAgent(Object.assign({uri:t.href,pipelining:!this._keepAlive?0:1},(t.username||t.password)&&{token:`Basic ${Buffer.from(`${t.username}:${t.password}`).toString("base64")}`}));this._proxyAgentDispatcher=A;if(r&&this._ignoreSslError){A.options=Object.assign(A.options.requestTls||{},{rejectUnauthorized:false})}return A}_getUserAgentWithOrchestrationId(e){const t=e||"actions/http-client";const A=process.env["ACTIONS_ORCHESTRATION_ID"];if(A){const e=A.replace(/[^a-z0-9_.-]/gi,"_");return`${t} actions_orchestration_id/${e}`}return t}_performExponentialBackoff(e){return h(this,void 0,void 0,function*(){e=Math.min(B,e);const t=p*Math.pow(2,e);return new Promise(e=>setTimeout(()=>e(),t))})}_processResponse(e,t){return h(this,void 0,void 0,function*(){return new Promise((A,r)=>h(this,void 0,void 0,function*(){const n=e.message.statusCode||0;const s={statusCode:n,result:null,headers:{}};if(n===g.NotFound){A(s)}function dateTimeDeserializer(e,t){if(typeof t==="string"){const e=new Date(t);if(!isNaN(e.valueOf())){return e}}return t}let o;let i;try{i=yield e.readBody();if(i&&i.length>0){if(t&&t.deserializeDates){o=JSON.parse(i,dateTimeDeserializer)}else{o=JSON.parse(i)}s.result=o}s.headers=e.message.headers}catch(e){}if(n>299){let e;if(o&&o.message){e=o.message}else if(i&&i.length>0){e=i}else{e=`Failed request: (${n})`}const t=new HttpClientError(e,n);t.result=s.result;r(t)}else{A(s)}}))})}}const lowercaseKeys=e=>Object.keys(e).reduce((t,A)=>(t[A.toLowerCase()]=e[A],t),{});var m=undefined&&undefined.__awaiter||function(e,t,A,r){function adopt(e){return e instanceof A?e:new A(function(t){t(e)})}return new(A||(A=Promise))(function(A,n){function fulfilled(e){try{step(r.next(e))}catch(e){n(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){n(e)}}function step(e){e.done?A(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())})};class BasicCredentialHandler{constructor(e,t){this.username=e;this.password=t}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return m(this,void 0,void 0,function*(){throw new Error("not implemented")})}}class auth_BearerCredentialHandler{constructor(e){this.token=e}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Bearer ${this.token}`}canHandleAuthentication(){return false}handleAuthentication(){return m(this,void 0,void 0,function*(){throw new Error("not implemented")})}}class PersonalAccessTokenCredentialHandler{constructor(e){this.token=e}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return m(this,void 0,void 0,function*(){throw new Error("not implemented")})}}var y=undefined&&undefined.__awaiter||function(e,t,A,r){function adopt(e){return e instanceof A?e:new A(function(t){t(e)})}return new(A||(A=Promise))(function(A,n){function fulfilled(e){try{step(r.next(e))}catch(e){n(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){n(e)}}function step(e){e.done?A(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())})};class oidc_utils_OidcClient{static createHttpClient(e=true,t=10){const A={allowRetries:e,maxRetries:t};return new HttpClient("actions/oidc-client",[new BearerCredentialHandler(oidc_utils_OidcClient.getRequestToken())],A)}static getRequestToken(){const e=process.env["ACTIONS_ID_TOKEN_REQUEST_TOKEN"];if(!e){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable")}return e}static getIDTokenUrl(){const e=process.env["ACTIONS_ID_TOKEN_REQUEST_URL"];if(!e){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable")}return e}static getCall(e){return y(this,void 0,void 0,function*(){var t;const A=oidc_utils_OidcClient.createHttpClient();const r=yield A.getJson(e).catch(e=>{throw new Error(`Failed to get ID Token. \n \n Error Code : ${e.statusCode}\n \n Error Message: ${e.message}`)});const n=(t=r.result)===null||t===void 0?void 0:t.value;if(!n){throw new Error("Response json body do not have ID Token field")}return n})}static getIDToken(e){return y(this,void 0,void 0,function*(){try{let t=oidc_utils_OidcClient.getIDTokenUrl();if(e){const A=encodeURIComponent(e);t=`${t}&audience=${A}`}debug(`ID token url is ${t}`);const A=yield oidc_utils_OidcClient.getCall(t);setSecret(A);return A}catch(e){throw new Error(`Error message: ${e.message}`)}})}}var w=undefined&&undefined.__awaiter||function(e,t,A,r){function adopt(e){return e instanceof A?e:new A(function(t){t(e)})}return new(A||(A=Promise))(function(A,n){function fulfilled(e){try{step(r.next(e))}catch(e){n(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){n(e)}}function step(e){e.done?A(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())})};const{access:b,appendFile:k,writeFile:D}=i.promises;const R="GITHUB_STEP_SUMMARY";const S="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";class Summary{constructor(){this._buffer=""}filePath(){return w(this,void 0,void 0,function*(){if(this._filePath){return this._filePath}const e=process.env[R];if(!e){throw new Error(`Unable to find environment variable for $${R}. Check if your runtime environment supports job summaries.`)}try{yield b(e,i.constants.R_OK|i.constants.W_OK)}catch(t){throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}this._filePath=e;return this._filePath})}wrap(e,t,A={}){const r=Object.entries(A).map(([e,t])=>` ${e}="${t}"`).join("");if(!t){return`<${e}${r}>`}return`<${e}${r}>${t}`}write(e){return w(this,void 0,void 0,function*(){const t=!!(e===null||e===void 0?void 0:e.overwrite);const A=yield this.filePath();const r=t?D:k;yield r(A,this._buffer,{encoding:"utf8"});return this.emptyBuffer()})}clear(){return w(this,void 0,void 0,function*(){return this.emptyBuffer().write({overwrite:true})})}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){this._buffer="";return this}addRaw(e,t=false){this._buffer+=e;return t?this.addEOL():this}addEOL(){return this.addRaw(n.EOL)}addCodeBlock(e,t){const A=Object.assign({},t&&{lang:t});const r=this.wrap("pre",this.wrap("code",e),A);return this.addRaw(r).addEOL()}addList(e,t=false){const A=t?"ol":"ul";const r=e.map(e=>this.wrap("li",e)).join("");const n=this.wrap(A,r);return this.addRaw(n).addEOL()}addTable(e){const t=e.map(e=>{const t=e.map(e=>{if(typeof e==="string"){return this.wrap("td",e)}const{header:t,data:A,colspan:r,rowspan:n}=e;const s=t?"th":"td";const o=Object.assign(Object.assign({},r&&{colspan:r}),n&&{rowspan:n});return this.wrap(s,A,o)}).join("");return this.wrap("tr",t)}).join("");const A=this.wrap("table",t);return this.addRaw(A).addEOL()}addDetails(e,t){const A=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(A).addEOL()}addImage(e,t,A){const{width:r,height:n}=A||{};const s=Object.assign(Object.assign({},r&&{width:r}),n&&{height:n});const o=this.wrap("img",null,Object.assign({src:e,alt:t},s));return this.addRaw(o).addEOL()}addHeading(e,t){const A=`h${t}`;const r=["h1","h2","h3","h4","h5","h6"].includes(A)?A:"h1";const n=this.wrap(r,e);return this.addRaw(n).addEOL()}addSeparator(){const e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){const e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,t){const A=Object.assign({},t&&{cite:t});const r=this.wrap("blockquote",e,A);return this.addRaw(r).addEOL()}addLink(e,t){const A=this.wrap("a",e,{href:t});return this.addRaw(A).addEOL()}}const F=new Summary;const N=null&&F;const v=null&&F;function toPosixPath(e){return e.replace(/[\\]/g,"/")}function toWin32Path(e){return e.replace(/[/]/g,"\\")}function toPlatformPath(e){return e.replace(/[/\\]/g,path.sep)}var M=__nccwpck_require__(3193);var U=__nccwpck_require__(4434);const T=e(import.meta.url)("child_process");var L=__nccwpck_require__(2613);var x=undefined&&undefined.__awaiter||function(e,t,A,r){function adopt(e){return e instanceof A?e:new A(function(t){t(e)})}return new(A||(A=Promise))(function(A,n){function fulfilled(e){try{step(r.next(e))}catch(e){n(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){n(e)}}function step(e){e.done?A(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())})};const{chmod:H,copyFile:G,lstat:Y,mkdir:P,open:J,readdir:V,rename:O,rm:$,rmdir:W,stat:q,symlink:z,unlink:j}=i.promises;const K=process.platform==="win32";function readlink(e){return x(this,void 0,void 0,function*(){const t=yield fs.promises.readlink(e);if(K&&!t.endsWith("\\")){return`${t}\\`}return t})}const Z=268435456;const X=i.constants.O_RDONLY;function exists(e){return x(this,void 0,void 0,function*(){try{yield q(e)}catch(e){if(e.code==="ENOENT"){return false}throw e}return true})}function isDirectory(e){return x(this,arguments,void 0,function*(e,t=false){const A=t?yield q(e):yield Y(e);return A.isDirectory()})}function isRooted(e){e=normalizeSeparators(e);if(!e){throw new Error('isRooted() parameter "p" cannot be empty')}if(K){return e.startsWith("\\")||/^[A-Z]:/i.test(e)}return e.startsWith("/")}function tryGetExecutablePath(e,t){return x(this,void 0,void 0,function*(){let A=undefined;try{A=yield q(e)}catch(t){if(t.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}}if(A&&A.isFile()){if(K){const A=a.extname(e).toUpperCase();if(t.some(e=>e.toUpperCase()===A)){return e}}else{if(isUnixExecutable(A)){return e}}}const r=e;for(const n of t){e=r+n;A=undefined;try{A=yield q(e)}catch(t){if(t.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}}if(A&&A.isFile()){if(K){try{const t=a.dirname(e);const A=a.basename(e).toUpperCase();for(const r of yield V(t)){if(A===r.toUpperCase()){e=a.join(t,r);break}}}catch(t){console.log(`Unexpected error attempting to determine the actual case of the file '${e}': ${t}`)}return e}else{if(isUnixExecutable(A)){return e}}}}return""})}function normalizeSeparators(e){e=e||"";if(K){e=e.replace(/\//g,"\\");return e.replace(/\\\\+/g,"\\")}return e.replace(/\/\/+/g,"/")}function isUnixExecutable(e){return(e.mode&1)>0||(e.mode&8)>0&&process.getgid!==undefined&&e.gid===process.getgid()||(e.mode&64)>0&&process.getuid!==undefined&&e.uid===process.getuid()}function getCmdPath(){var e;return(e=process.env["COMSPEC"])!==null&&e!==void 0?e:`cmd.exe`}var ee=undefined&&undefined.__awaiter||function(e,t,A,r){function adopt(e){return e instanceof A?e:new A(function(t){t(e)})}return new(A||(A=Promise))(function(A,n){function fulfilled(e){try{step(r.next(e))}catch(e){n(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){n(e)}}function step(e){e.done?A(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())})};function cp(e,t){return ee(this,arguments,void 0,function*(e,t,A={}){const{force:r,recursive:n,copySourceDirectory:s}=readCopyOptions(A);const o=(yield ioUtil.exists(t))?yield ioUtil.stat(t):null;if(o&&o.isFile()&&!r){return}const i=o&&o.isDirectory()&&s?path.join(t,path.basename(e)):t;if(!(yield ioUtil.exists(e))){throw new Error(`no such file or directory: ${e}`)}const a=yield ioUtil.stat(e);if(a.isDirectory()){if(!n){throw new Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`)}else{yield cpDirRecursive(e,i,0,r)}}else{if(path.relative(e,i)===""){throw new Error(`'${i}' and '${e}' are the same file`)}yield io_copyFile(e,i,r)}})}function mv(e,t){return ee(this,arguments,void 0,function*(e,t,A={}){if(yield ioUtil.exists(t)){let r=true;if(yield ioUtil.isDirectory(t)){t=path.join(t,path.basename(e));r=yield ioUtil.exists(t)}if(r){if(A.force==null||A.force){yield rmRF(t)}else{throw new Error("Destination already exists")}}}yield mkdirP(path.dirname(t));yield ioUtil.rename(e,t)})}function rmRF(e){return ee(this,void 0,void 0,function*(){if(ioUtil.IS_WINDOWS){if(/[*"<>|]/.test(e)){throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows')}}try{yield ioUtil.rm(e,{force:true,maxRetries:3,recursive:true,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}})}function mkdirP(e){return ee(this,void 0,void 0,function*(){ok(e,"a path argument must be provided");yield ioUtil.mkdir(e,{recursive:true})})}function which(e,t){return ee(this,void 0,void 0,function*(){if(!e){throw new Error("parameter 'tool' is required")}if(t){const t=yield which(e,false);if(!t){if(K){throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`)}else{throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`)}}return t}const A=yield findInPath(e);if(A&&A.length>0){return A[0]}return""})}function findInPath(e){return ee(this,void 0,void 0,function*(){if(!e){throw new Error("parameter 'tool' is required")}const t=[];if(K&&process.env["PATHEXT"]){for(const e of process.env["PATHEXT"].split(a.delimiter)){if(e){t.push(e)}}}if(isRooted(e)){const A=yield tryGetExecutablePath(e,t);if(A){return[A]}return[]}if(e.includes(a.sep)){return[]}const A=[];if(process.env.PATH){for(const e of process.env.PATH.split(a.delimiter)){if(e){A.push(e)}}}const r=[];for(const n of A){const A=yield tryGetExecutablePath(a.join(n,e),t);if(A){r.push(A)}}return r})}function readCopyOptions(e){const t=e.force==null?true:e.force;const A=Boolean(e.recursive);const r=e.copySourceDirectory==null?true:Boolean(e.copySourceDirectory);return{force:t,recursive:A,copySourceDirectory:r}}function cpDirRecursive(e,t,A,r){return ee(this,void 0,void 0,function*(){if(A>=255)return;A++;yield mkdirP(t);const n=yield ioUtil.readdir(e);for(const s of n){const n=`${e}/${s}`;const o=`${t}/${s}`;const i=yield ioUtil.lstat(n);if(i.isDirectory()){yield cpDirRecursive(n,o,A,r)}else{yield io_copyFile(n,o,r)}}yield ioUtil.chmod(t,(yield ioUtil.stat(e)).mode)})}function io_copyFile(e,t,A){return ee(this,void 0,void 0,function*(){if((yield ioUtil.lstat(e)).isSymbolicLink()){try{yield ioUtil.lstat(t);yield ioUtil.unlink(t)}catch(e){if(e.code==="EPERM"){yield ioUtil.chmod(t,"0666");yield ioUtil.unlink(t)}}const A=yield ioUtil.readlink(e);yield ioUtil.symlink(A,t,ioUtil.IS_WINDOWS?"junction":null)}else if(!(yield ioUtil.exists(t))||A){yield ioUtil.copyFile(e,t)}})}const te=e(import.meta.url)("timers");var Ae=undefined&&undefined.__awaiter||function(e,t,A,r){function adopt(e){return e instanceof A?e:new A(function(t){t(e)})}return new(A||(A=Promise))(function(A,n){function fulfilled(e){try{step(r.next(e))}catch(e){n(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){n(e)}}function step(e){e.done?A(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())})};const re=process.platform==="win32";class ToolRunner extends U.EventEmitter{constructor(e,t,A){super();if(!e){throw new Error("Parameter 'toolPath' cannot be null or empty.")}this.toolPath=e;this.args=t||[];this.options=A||{}}_debug(e){if(this.options.listeners&&this.options.listeners.debug){this.options.listeners.debug(e)}}_getCommandString(e,t){const A=this._getSpawnFileName();const r=this._getSpawnArgs(e);let n=t?"":"[command]";if(re){if(this._isCmdFile()){n+=A;for(const e of r){n+=` ${e}`}}else if(e.windowsVerbatimArguments){n+=`"${A}"`;for(const e of r){n+=` ${e}`}}else{n+=this._windowsQuoteCmdArg(A);for(const e of r){n+=` ${this._windowsQuoteCmdArg(e)}`}}}else{n+=A;for(const e of r){n+=` ${e}`}}return n}_processLineBuffer(e,t,A){try{let r=t+e.toString();let s=r.indexOf(n.EOL);while(s>-1){const e=r.substring(0,s);A(e);r=r.substring(s+n.EOL.length);s=r.indexOf(n.EOL)}return r}catch(e){this._debug(`error processing line. Failed with error ${e}`);return""}}_getSpawnFileName(){if(re){if(this._isCmdFile()){return process.env["COMSPEC"]||"cmd.exe"}}return this.toolPath}_getSpawnArgs(e){if(re){if(this._isCmdFile()){let t=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(const A of this.args){t+=" ";t+=e.windowsVerbatimArguments?A:this._windowsQuoteCmdArg(A)}t+='"';return[t]}}return this.args}_endsWith(e,t){return e.endsWith(t)}_isCmdFile(){const e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT")}_windowsQuoteCmdArg(e){if(!this._isCmdFile()){return this._uvQuoteCmdArg(e)}if(!e){return'""'}const t=[" ","\t","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'];let A=false;for(const r of e){if(t.some(e=>e===r)){A=true;break}}if(!A){return e}let r='"';let n=true;for(let t=e.length;t>0;t--){r+=e[t-1];if(n&&e[t-1]==="\\"){r+="\\"}else if(e[t-1]==='"'){n=true;r+='"'}else{n=false}}r+='"';return r.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e){return'""'}if(!e.includes(" ")&&!e.includes("\t")&&!e.includes('"')){return e}if(!e.includes('"')&&!e.includes("\\")){return`"${e}"`}let t='"';let A=true;for(let r=e.length;r>0;r--){t+=e[r-1];if(A&&e[r-1]==="\\"){t+="\\"}else if(e[r-1]==='"'){A=true;t+="\\"}else{A=false}}t+='"';return t.split("").reverse().join("")}_cloneExecOptions(e){e=e||{};const t={cwd:e.cwd||process.cwd(),env:e.env||process.env,silent:e.silent||false,windowsVerbatimArguments:e.windowsVerbatimArguments||false,failOnStdErr:e.failOnStdErr||false,ignoreReturnCode:e.ignoreReturnCode||false,delay:e.delay||1e4};t.outStream=e.outStream||process.stdout;t.errStream=e.errStream||process.stderr;return t}_getSpawnOptions(e,t){e=e||{};const A={};A.cwd=e.cwd;A.env=e.env;A["windowsVerbatimArguments"]=e.windowsVerbatimArguments||this._isCmdFile();if(e.windowsVerbatimArguments){A.argv0=`"${t}"`}return A}exec(){return Ae(this,void 0,void 0,function*(){if(!isRooted(this.toolPath)&&(this.toolPath.includes("/")||re&&this.toolPath.includes("\\"))){this.toolPath=a.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)}this.toolPath=yield which(this.toolPath,true);return new Promise((e,t)=>Ae(this,void 0,void 0,function*(){this._debug(`exec tool: ${this.toolPath}`);this._debug("arguments:");for(const e of this.args){this._debug(` ${e}`)}const A=this._cloneExecOptions(this.options);if(!A.silent&&A.outStream){A.outStream.write(this._getCommandString(A)+n.EOL)}const r=new ExecState(A,this.toolPath);r.on("debug",e=>{this._debug(e)});if(this.options.cwd&&!(yield exists(this.options.cwd))){return t(new Error(`The cwd: ${this.options.cwd} does not exist!`))}const s=this._getSpawnFileName();const o=T.spawn(s,this._getSpawnArgs(A),this._getSpawnOptions(this.options,s));let i="";if(o.stdout){o.stdout.on("data",e=>{if(this.options.listeners&&this.options.listeners.stdout){this.options.listeners.stdout(e)}if(!A.silent&&A.outStream){A.outStream.write(e)}i=this._processLineBuffer(e,i,e=>{if(this.options.listeners&&this.options.listeners.stdline){this.options.listeners.stdline(e)}})})}let a="";if(o.stderr){o.stderr.on("data",e=>{r.processStderr=true;if(this.options.listeners&&this.options.listeners.stderr){this.options.listeners.stderr(e)}if(!A.silent&&A.errStream&&A.outStream){const t=A.failOnStdErr?A.errStream:A.outStream;t.write(e)}a=this._processLineBuffer(e,a,e=>{if(this.options.listeners&&this.options.listeners.errline){this.options.listeners.errline(e)}})})}o.on("error",e=>{r.processError=e.message;r.processExited=true;r.processClosed=true;r.CheckComplete()});o.on("exit",e=>{r.processExitCode=e;r.processExited=true;this._debug(`Exit code ${e} received from tool '${this.toolPath}'`);r.CheckComplete()});o.on("close",e=>{r.processExitCode=e;r.processExited=true;r.processClosed=true;this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);r.CheckComplete()});r.on("done",(A,r)=>{if(i.length>0){this.emit("stdline",i)}if(a.length>0){this.emit("errline",a)}o.removeAllListeners();if(A){t(A)}else{e(r)}});if(this.options.input){if(!o.stdin){throw new Error("child process missing stdin")}o.stdin.end(this.options.input)}}))})}}function argStringToArray(e){const t=[];let A=false;let r=false;let n="";function append(e){if(r&&e!=='"'){n+="\\"}n+=e;r=false}for(let s=0;s0){t.push(n);n=""}continue}append(o)}if(n.length>0){t.push(n.trim())}return t}class ExecState extends U.EventEmitter{constructor(e,t){super();this.processClosed=false;this.processError="";this.processExitCode=0;this.processExited=false;this.processStderr=false;this.delay=1e4;this.done=false;this.timeout=null;if(!t){throw new Error("toolPath must not be empty")}this.options=e;this.toolPath=t;if(e.delay){this.delay=e.delay}}CheckComplete(){if(this.done){return}if(this.processClosed){this._setResult()}else if(this.processExited){this.timeout=(0,te.setTimeout)(ExecState.HandleTimeout,this.delay,this)}}_debug(e){this.emit("debug",e)}_setResult(){let e;if(this.processExited){if(this.processError){e=new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`)}else if(this.processExitCode!==0&&!this.options.ignoreReturnCode){e=new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`)}else if(this.processStderr&&this.options.failOnStdErr){e=new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`)}}if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.done=true;this.emit("done",e,this.processExitCode)}static HandleTimeout(e){if(e.done){return}if(!e.processClosed&&e.processExited){const t=`The STDIO streams did not close within ${e.delay/1e3} seconds of the exit event from process '${e.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;e._debug(t)}e._setResult()}}var ne=undefined&&undefined.__awaiter||function(e,t,A,r){function adopt(e){return e instanceof A?e:new A(function(t){t(e)})}return new(A||(A=Promise))(function(A,n){function fulfilled(e){try{step(r.next(e))}catch(e){n(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){n(e)}}function step(e){e.done?A(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())})};function exec_exec(e,t,A){return ne(this,void 0,void 0,function*(){const r=tr.argStringToArray(e);if(r.length===0){throw new Error(`Parameter 'commandLine' cannot be null or empty.`)}const n=r[0];t=r.slice(1).concat(t||[]);const s=new tr.ToolRunner(n,t,A);return s.exec()})}function getExecOutput(e,t,A){return ne(this,void 0,void 0,function*(){var r,n;let s="";let o="";const i=new StringDecoder("utf8");const a=new StringDecoder("utf8");const c=(r=A===null||A===void 0?void 0:A.listeners)===null||r===void 0?void 0:r.stdout;const l=(n=A===null||A===void 0?void 0:A.listeners)===null||n===void 0?void 0:n.stderr;const stdErrListener=e=>{o+=a.write(e);if(l){l(e)}};const stdOutListener=e=>{s+=i.write(e);if(c){c(e)}};const u=Object.assign(Object.assign({},A===null||A===void 0?void 0:A.listeners),{stdout:stdOutListener,stderr:stdErrListener});const d=yield exec_exec(e,t,Object.assign(Object.assign({},A),{listeners:u}));s+=i.end();o+=a.end();return{exitCode:d,stdout:s,stderr:o}})}var se=undefined&&undefined.__awaiter||function(e,t,A,r){function adopt(e){return e instanceof A?e:new A(function(t){t(e)})}return new(A||(A=Promise))(function(A,n){function fulfilled(e){try{step(r.next(e))}catch(e){n(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){n(e)}}function step(e){e.done?A(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())})};const getWindowsInfo=()=>se(void 0,void 0,void 0,function*(){const{stdout:e}=yield exec.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',undefined,{silent:true});const{stdout:t}=yield exec.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',undefined,{silent:true});return{name:t.trim(),version:e.trim()}});const getMacOsInfo=()=>se(void 0,void 0,void 0,function*(){var e,t,A,r;const{stdout:n}=yield exec.getExecOutput("sw_vers",undefined,{silent:true});const s=(t=(e=n.match(/ProductVersion:\s*(.+)/))===null||e===void 0?void 0:e[1])!==null&&t!==void 0?t:"";const o=(r=(A=n.match(/ProductName:\s*(.+)/))===null||A===void 0?void 0:A[1])!==null&&r!==void 0?r:"";return{name:o,version:s}});const getLinuxInfo=()=>se(void 0,void 0,void 0,function*(){const{stdout:e}=yield exec.getExecOutput("lsb_release",["-i","-r","-s"],{silent:true});const[t,A]=e.trim().split("\n");return{name:t,version:A}});const oe=n.platform();const ie=n.arch();const ae=oe==="win32";const ce=oe==="darwin";const le=oe==="linux";function getDetails(){return se(this,void 0,void 0,function*(){return Object.assign(Object.assign({},yield ae?getWindowsInfo():ce?getMacOsInfo():getLinuxInfo()),{platform:oe,arch:ie,isWindows:ae,isMacOS:ce,isLinux:le})})}var ue=undefined&&undefined.__awaiter||function(e,t,A,r){function adopt(e){return e instanceof A?e:new A(function(t){t(e)})}return new(A||(A=Promise))(function(A,n){function fulfilled(e){try{step(r.next(e))}catch(e){n(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){n(e)}}function step(e){e.done?A(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())})};var de;(function(e){e[e["Success"]=0]="Success";e[e["Failure"]=1]="Failure"})(de||(de={}));function exportVariable(e,t){const A=toCommandValue(t);process.env[e]=A;const r=process.env["GITHUB_ENV"]||"";if(r){return issueFileCommand("ENV",prepareKeyValueMessage(e,t))}issueCommand("set-env",{name:e},A)}function core_setSecret(e){command_issueCommand("add-mask",{},e)}function addPath(e){const t=process.env["GITHUB_PATH"]||"";if(t){issueFileCommand("PATH",e)}else{issueCommand("add-path",{},e)}process.env["PATH"]=`${e}${path.delimiter}${process.env["PATH"]}`}function getInput(e,t){const A=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!A){throw new Error(`Input required and not supplied: ${e}`)}if(t&&t.trimWhitespace===false){return A}return A.trim()}function getMultilineInput(e,t){const A=getInput(e,t).split("\n").filter(e=>e!=="");if(t&&t.trimWhitespace===false){return A}return A.map(e=>e.trim())}function getBooleanInput(e,t){const A=["true","True","TRUE"];const r=["false","False","FALSE"];const n=getInput(e,t);if(A.includes(n))return true;if(r.includes(n))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}function setOutput(e,t){const A=process.env["GITHUB_OUTPUT"]||"";if(A){return file_command_issueFileCommand("OUTPUT",file_command_prepareKeyValueMessage(e,t))}process.stdout.write(n.EOL);command_issueCommand("set-output",{name:e},utils_toCommandValue(t))}function setCommandEcho(e){issue("echo",e?"on":"off")}function setFailed(e){process.exitCode=de.Failure;error(e)}function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}function core_debug(e){issueCommand("debug",{},e)}function error(e,t={}){command_issueCommand("error",utils_toCommandProperties(t),e instanceof Error?e.toString():e)}function warning(e,t={}){command_issueCommand("warning",utils_toCommandProperties(t),e instanceof Error?e.toString():e)}function notice(e,t={}){issueCommand("notice",toCommandProperties(t),e instanceof Error?e.toString():e)}function info(e){process.stdout.write(e+os.EOL)}function startGroup(e){issue("group",e)}function endGroup(){issue("endgroup")}function group(e,t){return ue(this,void 0,void 0,function*(){startGroup(e);let A;try{A=yield t()}finally{endGroup()}return A})}function saveState(e,t){const A=process.env["GITHUB_STATE"]||"";if(A){return issueFileCommand("STATE",prepareKeyValueMessage(e,t))}issueCommand("save-state",{name:e},toCommandValue(t))}function getState(e){return process.env[`STATE_${e}`]||""}function getIDToken(e){return ue(this,void 0,void 0,function*(){return yield OidcClient.getIDToken(e)})}const he=e(import.meta.url)("node:fs/promises");const ge=e(import.meta.url)("node:path");var fe=__nccwpck_require__(9474);var Ee=__nccwpck_require__(8078);const Qe={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://commercekit.tools/schemas/notification-event-v1.schema.json",title:"CommerceKit NotificationEvent v1",type:"object",required:["schemaVersion","eventId","eventType","status","occurredAt","source","data"],properties:{schemaVersion:{const:1},eventId:{type:"string",minLength:1,maxLength:128},eventType:{enum:["check.completed","ccv2.build.started","ccv2.build.completed","ccv2.deployment.started","ccv2.deployment.action-required","ccv2.deployment.completed","ccv2.build-cleanup.completed"]},status:{enum:["started","success","warning","failure","cancelled","internal-error","action-required"]},occurredAt:{type:"string",format:"date-time",maxLength:64},source:{type:"object",required:["product","component"],properties:{product:{const:"commercekit"},component:{enum:["cli-check","ccv2-build","ccv2-deploy","workflow","ccv2-build-cleanup"]},version:{type:"string",maxLength:64}},additionalProperties:true},context:{type:"object",properties:{repository:{type:"string",maxLength:200},ref:{type:"string",maxLength:300},commit:{type:"string",maxLength:128},actor:{type:"string",maxLength:128},workflow:{type:"string",maxLength:200},job:{type:"string",maxLength:200},runId:{type:"string",maxLength:64},runAttempt:{type:"integer",minimum:1},runUrl:{type:"string",format:"uri",maxLength:2048},environment:{type:"string",maxLength:128}},additionalProperties:true},data:{type:"object"},links:{type:"array",maxItems:3,items:{type:"object",required:["label","url"],properties:{label:{type:"string",minLength:1,maxLength:80},url:{type:"string",format:"uri",maxLength:2048}},additionalProperties:true}}},allOf:[{if:{properties:{eventType:{const:"check.completed"}}},then:{properties:{status:{enum:["success","warning","failure","cancelled","internal-error"]},data:{$ref:"#/$defs/check"}},allOf:[{if:{properties:{status:{enum:["success","warning","failure"]}}},then:{properties:{data:{required:["filesChecked","errors","warnings"]}}}}]}},{if:{properties:{eventType:{const:"ccv2.build.started"}}},then:{properties:{status:{const:"started"},data:{$ref:"#/$defs/build"}}}},{if:{properties:{eventType:{const:"ccv2.build.completed"}}},then:{properties:{status:{enum:["success","failure","cancelled","internal-error"]},data:{$ref:"#/$defs/build"}}}},{if:{properties:{eventType:{const:"ccv2.deployment.started"}}},then:{properties:{status:{const:"started"},data:{$ref:"#/$defs/deployment"}}}},{if:{properties:{eventType:{const:"ccv2.deployment.action-required"}}},then:{properties:{status:{const:"action-required"},data:{$ref:"#/$defs/deployment"}}}},{if:{properties:{eventType:{const:"ccv2.deployment.completed"}}},then:{properties:{status:{enum:["success","failure","cancelled","internal-error"]},data:{$ref:"#/$defs/deployment"}}}},{if:{properties:{eventType:{const:"ccv2.build-cleanup.completed"}}},then:{properties:{status:{enum:["success","warning","failure","cancelled","internal-error"]},data:{$ref:"#/$defs/cleanup"}}}}],$defs:{error:{type:"object",required:["message"],properties:{code:{type:"string",maxLength:100},message:{type:"string",minLength:1,maxLength:1e3}},additionalProperties:true},check:{type:"object",properties:{mode:{enum:["full","changed"]},changedFrom:{type:"string",maxLength:200},filesChecked:{type:"integer",minimum:0},errors:{type:"integer",minimum:0},warnings:{type:"integer",minimum:0},durationMs:{type:"integer",minimum:0},error:{$ref:"#/$defs/error"}},additionalProperties:true},build:{type:"object",properties:{subscriptionCode:{type:"string",maxLength:128},applicationCode:{type:"string",maxLength:128},buildCode:{type:"string",maxLength:128},buildName:{type:"string",maxLength:200},branch:{type:"string",maxLength:300},buildStatus:{type:"string",maxLength:100},durationMs:{type:"integer",minimum:0},retryCount:{type:"integer",minimum:0},error:{$ref:"#/$defs/error"}},additionalProperties:true},deployment:{type:"object",properties:{subscriptionCode:{type:"string",maxLength:128},applicationCode:{type:"string",maxLength:128},deploymentCode:{type:"string",maxLength:128},buildCode:{type:"string",maxLength:128},environmentCode:{type:"string",maxLength:128},deploymentMode:{type:"string",maxLength:100},databaseUpdateMode:{type:"string",maxLength:100},deploymentStatus:{type:"string",maxLength:100},durationMs:{type:"integer",minimum:0},decisionType:{type:"string",maxLength:100},error:{$ref:"#/$defs/error"}},additionalProperties:true},cleanup:{type:"object",required:["mode","subscriptionCode","retentionDays","keepLatest","cleanupStatus","scannedCount","eligibleCount","plannedCount","deletionRequestedCount","skippedCount","failedCount","unknownCount","deferredCount","durationMs"],properties:{mode:{enum:["dry-run","apply"]},subscriptionCode:{type:"string",minLength:1,maxLength:128},applicationCode:{type:"string",minLength:1,maxLength:128},retentionDays:{type:"integer",minimum:1,maximum:36500},keepLatest:{type:"integer",minimum:1,maximum:1e4},cleanupStatus:{type:"string",minLength:1,maxLength:100},scannedCount:{type:"integer",minimum:0,maximum:9007199254740991},eligibleCount:{type:"integer",minimum:0,maximum:9007199254740991},plannedCount:{type:"integer",minimum:0,maximum:9007199254740991},deletionRequestedCount:{type:"integer",minimum:0,maximum:9007199254740991},skippedCount:{type:"integer",minimum:0,maximum:9007199254740991},failedCount:{type:"integer",minimum:0,maximum:9007199254740991},unknownCount:{type:"integer",minimum:0,maximum:9007199254740991},deferredCount:{type:"integer",minimum:0,maximum:9007199254740991},durationMs:{type:"integer",minimum:0,maximum:9007199254740991},error:{$ref:"#/$defs/error"},inputs:{$ref:"#/$defs/cleanupInputs"},inputsValidated:{type:"boolean"},inputsTruncated:{type:"boolean"},protectedCount:{type:"integer",minimum:0,maximum:9007199254740991},blockedCount:{type:"integer",minimum:0,maximum:9007199254740991},issues:{type:"array",maxItems:3,items:{$ref:"#/$defs/error"}}},additionalProperties:true},cleanupInputs:{type:"object",required:["token-endpoint","client-id","client-secret","resource","subscription-code","api-base-url","application-code","retention-days","keep-latest","dry-run","max-deletions","exclude-build-codes","timeout-minutes","continue-on-delete-error"],properties:{"token-endpoint":{const:"[REDACTED]"},"client-id":{const:"[REDACTED]"},"client-secret":{const:"[REDACTED]"},resource:{const:"[REDACTED]"},"subscription-code":{type:"string",maxLength:256},"api-base-url":{type:"string",maxLength:256},"application-code":{type:"string",maxLength:256},"retention-days":{type:"string",maxLength:256},"keep-latest":{type:"string",maxLength:256},"dry-run":{type:"string",maxLength:256},"max-deletions":{type:"string",maxLength:256},"exclude-build-codes":{type:"string",maxLength:256},"timeout-minutes":{type:"string",maxLength:256},"continue-on-delete-error":{type:"string",maxLength:256}},additionalProperties:false}},additionalProperties:true};function validateNotificationLink(e){try{if(e.length>2048||/[\u0000-\u0020\u007f\\]/.test(e))throw Error();const t=new URL(e);if(t.protocol!=="https:"||!t.hostname||t.username||t.password||e.includes("#"))throw Error();return t}catch{throw new Error("Invalid notification HTTPS link.")}}function validateGitHubRunUrl(e){return validateNotificationLink(e)}const Ce=new fe.Ajv2020({strict:false,validateFormats:true});Ee(Ce);const Ie=Ce.compile(Qe);function validate_validateNotificationEvent(e){if(!e||typeof e!=="object"||Array.isArray(e)||!Ie(e))throw new Error("Invalid NotificationEvent v1.");const t=e;for(const e of t.links??[])validateNotificationLink(e.url);if(t.context?.runUrl!==undefined)validateGitHubRunUrl(t.context.runUrl);return t}function parseNotificationEventJson(e,t={}){if((new TextEncoder).encode(e).length>(t.maxBytes??65536))throw new Error("NotificationEvent exceeds byte limit.");let A;try{A=JSON.parse(e)}catch{throw new Error("Invalid NotificationEvent JSON.")}return validate_validateNotificationEvent(A)}function validateEvent(e){try{validateNotificationEvent(e)}catch(e){throw notificationError(e)}}function notificationError(e){const t=e instanceof Error?e.message:"";if(t==="NotificationEvent exceeds byte limit.")return new Error("Event JSON exceeds the 64 KiB limit.");if(t==="Invalid NotificationEvent JSON.")return new Error("Event input is not valid JSON.");if(t==="Invalid notification HTTPS link.")return new Error("NotificationEvent links and context.runUrl must be bounded HTTPS URLs without credentials or fragments.");return new Error("Invalid NotificationEvent v1 JSON object: check schema version, data and eventType/status combination.")}const Be=64*1024;async function parseEvent(e){if(Boolean(e.json)===Boolean(e.file))throw new Error("Supply exactly one of event-json or event-file.");let t;if(e.file){const A=(0,ge.resolve)(e.file);const r=await(0,he.lstat)(A);if(r.isSymbolicLink()||!r.isFile())throw new Error("event-file must be a regular non-symbolic-link file.");if(r.size>Be)throw new Error("event-file exceeds the 64 KiB limit.");t=await(0,he.readFile)(A,"utf8")}else t=e.json;try{return parseNotificationEventJson(t,{maxBytes:Be})}catch(e){throw notificationError(e)}}function stripAngleBracketText(e){let t=false;let A="";for(const r of e){if(r==="<")t=true;else if(r===">")t=false;else if(!t)A+=r}return A}function redactJwtLikeTokens(e){const t=[];let A="";let r=0;for(const n of e.matchAll(/[\w-]+/g)){t.push({text:n[0],start:n.index,end:n.index+n[0].length});if(t.length<3)continue;const s=t[0],o=t[1],i=t[2];const a=s.text.indexOf("eyJ");if(a>=0&&a+3t.length-e.length)){for(const t of new Set([A,encodeURIComponent(A),new URLSearchParams({v:A}).toString().slice(2)]))e=e.split(t).join("[REDACTED]")}return e.replace(/\bBearer\s+[^\s,;]+/gi,"Bearer [REDACTED]").replace(/\b(?:ghp_|github_pat_|npm_)[A-Za-z0-9_]+/g,"[REDACTED]").replace(/\b(?:client_secret|password|access_token|token)\s*[=:]\s*[^\s&,;]+/gi,"[REDACTED]").replace(/(?:x-approuter-authorization|authorization)\s*:[^\r\n]+/gi,"[REDACTED]")}function sanitizeBoundedText(e,t=1e3,A=[]){if(!Number.isSafeInteger(t)||t<0)throw new Error("Invalid text limit.");return redactKnownSecrets(e,A).replace(/[\u0000-\u0008\u000b\u000c\u000e-\u001f\u007f-\u009f]/g," ").slice(0,t)}function sanitizeLabel(e,t=[]){return sanitizeBoundedText(e,1e3,t).replace(/[\r\n\u2028\u2029]/g," ").replace(/\s+/g," ").trim().slice(0,75)}function sanitizeErrorMessage(e,t=[]){return sanitizeBoundedText(e,1e3,t).replace(/https?:\/\/\S+/gi,"[URL]").split(/\s+at\s+\S+\s*\(/)[0].trim()||"Operation failed."}const pe=["token-endpoint","client-id","client-secret","resource","subscription-code","api-base-url","application-code","retention-days","keep-latest","dry-run","max-deletions","exclude-build-codes","timeout-minutes","continue-on-delete-error"];const me=new Set(["token-endpoint","client-id","client-secret","resource"]);const object=e=>e&&typeof e==="object"&&!Array.isArray(e)?e:{};const bound=(e,t)=>{const A=[...e];const r="… [truncated]";return A.length>t?`${A.slice(0,t-r.length).join("")}${r}`:e};function cleanupConfidentialValues(e){const t=object(e.inputs);return[...me].map(e=>t[e]).filter(e=>typeof e==="string"&&e.length>0&&e!=="[REDACTED]")}function cleanupDetails(e,t,A){const r=t.mode==="dry-run"?"DRY RUN":"APPLY";const n=A(t.deletionRequestedCount)||"0";const s=A(t.cleanupStatus)||"unreported";const o=object(t.error);const i=Array.isArray(t.issues)?t.issues.slice(0,3).map(object):[];const a=bound(A(o.message)||A(i[0]?.message),160);const c=e==="success"?"CCv2 build cleanup completed":e==="warning"?"CCv2 build cleanup completed with warnings":e==="cancelled"?"CCv2 build cleanup cancelled":"CCv2 build cleanup failed";const l=e==="warning"?"Cleanup requires attention; review the reported issues.":e==="cancelled"?"Cleanup was cancelled before completion.":s==="outcome-unknown"?"A deletion request outcome could not be established; further deletion was stopped.":s==="blocked"?"Safety evidence did not permit cleanup.":"Cleanup could not complete; review the workflow report.";const u=e==="success"?t.mode==="dry-run"?`${r}: ${A(t.plannedCount)} planned targets; ${n} deletion requests accepted. Cleanup was not applied.`:`${r}: ${n} build deletion requests accepted. Physical removal is not confirmed. Outcome: ${s}.`:`${r}: ${a||l} ${n} deletion requests accepted. Outcome: ${s}.`;const d=[["Scanned","scannedCount"],["Eligible","eligibleCount"],["Planned","plannedCount"],["Requests accepted","deletionRequestedCount"],["Protected","protectedCount"],["Blocked","blockedCount"],["Skipped","skippedCount"],["Deferred","deferredCount"],["Failed","failedCount"],["Unknown","unknownCount"]].map(([e,r])=>({label:e,value:A(t[r])||"Not reported"}));const h=[{title:"Cleanup counts",facts:d}];const g=t.inputs&&typeof t.inputs==="object"&&!Array.isArray(t.inputs);if(g){const e=object(t.inputs);h.push({title:t.inputsValidated===false?"Inputs — validation failed":"Cleanup inputs",facts:pe.map(t=>({label:t,value:me.has(t)?"[REDACTED]":bound(A(e[t])||"Not included",256)}))})}else{h.push({title:"Cleanup policy",facts:[{label:"retention-days",value:A(t.retentionDays)||"Not reported"},{label:"keep-latest",value:A(t.keepLatest)||"Not reported"},{label:"Input context",value:"Complete input context was not included in this event."}]})}if(t.inputsTruncated===true||t.inputsValidated===false){h.push({title:"Input notes",facts:[...t.inputsValidated===false?[{label:"Validation",value:"The supplied inputs were rejected before cleanup started."}]:[],...t.inputsTruncated===true?[{label:"Truncation",value:"Some input values are truncated; review the workflow configuration."}]:[]]})}if(A(o.code)||A(o.message)){h.push({title:"What went wrong",facts:[...A(o.code)?[{label:"Error code",value:bound(A(o.code),100)}]:[],...A(o.message)?[{label:"Error",value:bound(A(o.message),160)}]:[]]})}if(i.length){h.push({title:"Cleanup issues",facts:i.map((e,t)=>({label:bound(A(e.code),100)||`Issue ${t+1}`,value:bound(A(e.message),160)||"Review the workflow report."}))})}return{title:c,summary:u,sections:h}}const ye=[{pattern:/\bBearer\s+[A-Za-z0-9._~+/-]+=*/gi,replace:()=>"Bearer [REDACTED]"},{pattern:/https:\/\/hooks\.slack(?:-gov)?\.com\/services\/[A-Za-z0-9/_-]+/gi,replace:()=>"[REDACTED SLACK WEBHOOK]"},{pattern:/\b(?:ghp_|github_pat_)[A-Za-z0-9_]+/gi,replace:()=>"[REDACTED GITHUB TOKEN]"},{pattern:/\b(client_secret|password|token)(\s*[=:]\s*)([^\s&,;]+)/gi,replace:e=>{const t=e.search(/[=:]/);return`${e.slice(0,t+1)}${e.slice(t+1,e.length-e.match(/[^\s&,;]+$/)[0].length)}[REDACTED]`}},{pattern:/\b(authorization\s*:\s*)([^\r\n]+)/gi,replace:e=>`${e.slice(0,e.indexOf(":")+1)} [REDACTED]`},{pattern:/https:\/\/[^\s?#]+\?[^\s#]*/gi,replace:e=>{try{const t=new URL(e);const A=/^(?:sig|signature|token|secret|code|key|auth|authorization|client_secret)$/i;if([...t.searchParams.keys()].some(e=>A.test(e)))return"[REDACTED URL]"}catch{}return e}}];function sanitize(e){let t=e;for(const e of ye)t=t.replace(e.pattern,e.replace);return t.replace(/[\u0000-\u0008\u000B\u000C\u000E-\u001F\u007F]/g," ").slice(0,1e3)}function sanitize_sanitizeLabel(e){return sanitize(e.replace(/[\r\n\u2028\u2029]/g," ").replace(/[\u0000-\u001F\u007F]/g," ")).replace(/\s+/g," ").trim().slice(0,75)}function safePlainText(e){return sanitize(e).replace(/@/g,"@").replace(/[\r\n\u2028\u2029]/g," ")}const we={started:{label:"Started",icon:"ℹ️",tone:"info",accent:"#1877C9",teams:"accent"},success:{label:"Succeeded",icon:"✅",tone:"success",accent:"#168A45",teams:"good"},warning:{label:"Completed with warnings",icon:"⚠️",tone:"warning",accent:"#B7791F",teams:"warning"},failure:{label:"Failed",icon:"❌",tone:"danger",accent:"#C62828",teams:"attention"},"internal-error":{label:"CommerceKit error",icon:"❌",tone:"danger",accent:"#C62828",teams:"attention"},cancelled:{label:"Cancelled",icon:"⏹️",tone:"neutral",accent:"#6B7280",teams:"default"},"action-required":{label:"Action required",icon:"⚠️",tone:"warning",accent:"#B7791F",teams:"warning"}};const stringValue=e=>typeof e==="string"?sanitize(e):typeof e==="number"&&Number.isFinite(e)?String(e):"";const duration=e=>typeof e==="number"?`${Math.round(e/1e3)}s`:"";const occurred=e=>`${new Date(e).toISOString().slice(0,19).replace("T"," ")} UTC`;function createPresentation(e){const t=we[e.status],A=e.data,r=e.context??{};const n=e.eventType==="ccv2.build-cleanup.completed"?cleanupConfidentialValues(A):[];const str=e=>stringValue(typeof e==="string"?redactKnownSecrets(e,n):e);const s=[];let o="",i="",a="";const c=[];const l=[];const highlight=(e,t)=>{const A=str(t);if(A)c.push({label:e,value:A})};const add=(e,t)=>{const A=str(t);if(A)l.push({label:e,value:A})};if(e.eventType==="check.completed"){o="CommerceKit · Check";i=e.status==="success"?"CommerceKit check succeeded":e.status==="warning"?"CommerceKit check completed with warnings":e.status==="failure"?"CommerceKit check failed":e.status==="cancelled"?"CommerceKit check cancelled":"CommerceKit check encountered an internal error";const t=["filesChecked","errors","warnings"].every(e=>typeof A[e]==="number");const n=A.errors;const s=A.warnings;const c=A.filesChecked;a=t?e.status==="success"?`${c} files checked with no errors.`:e.status==="warning"?`${s} warnings across ${c} files.`:e.status==="failure"?`${n} errors and ${s} warnings across ${c} files.`:str(A.error?.message)||(e.status==="cancelled"?"The check was cancelled before completion.":"CommerceKit could not complete the check."):str(A.error?.message)||(e.status==="cancelled"?"The check was cancelled before completion.":"CommerceKit could not complete the check.");highlight("Repository",r.repository);add("Mode",A.mode);add("Changed from",A.changedFrom);add("Files checked",A.filesChecked);add("Errors",A.errors);add("Warnings",A.warnings);add("Duration",duration(A.durationMs))}else if(e.eventType==="ccv2.build-cleanup.completed"){o="CommerceKit · CCv2 build cleanup";const t=cleanupDetails(e.status,A,str);i=t.title;a=t.summary;s.push(...t.sections);highlight("Mode",A.mode==="dry-run"?"DRY RUN":"APPLY");add("Subscription",A.subscriptionCode);add("Application",A.applicationCode||"All applications");add("Duration",duration(A.durationMs))}else if(e.eventType.startsWith("ccv2.build.")){o="CommerceKit · CCv2 build";i=e.status==="started"?"CCv2 build started":e.status==="success"?"CCv2 build succeeded":e.status==="failure"?"CCv2 build failed":e.status==="cancelled"?"CCv2 build cancelled":"CCv2 build encountered an internal error";const t=str(A.buildCode),n=str(A.buildName),s=str(A.applicationCode),l=t?`Build ${t}`:"The build",u=str(A.error?.message);a=e.status==="started"?`${l} has started${str(A.branch)?` from ${str(A.branch)}`:""}.`:e.status==="success"?`${l} is ready for deployment.`:e.status==="failure"?u||`${l} failed. Review the workflow run for details.`:e.status==="cancelled"?`${l} was cancelled.`:u||"CommerceKit could not complete the build workflow.";highlight(t?"Build code":n?"Build name":"Application",t||n||s);if(c[0]?.label!=="Application")add("Application",A.applicationCode);add("Branch",A.branch);if(c[0]?.label!=="Build name")add("Build name",A.buildName);add("Status",A.buildStatus);add("Duration",duration(A.durationMs));add("Retries",A.retryCount);add("Environment",r.environment)}else{o="CommerceKit · CCv2 deployment";i=e.status==="started"?"CCv2 deployment started":e.status==="action-required"?"CCv2 deployment requires a decision":e.status==="success"?"CCv2 deployment succeeded":e.status==="failure"?"CCv2 deployment failed":e.status==="cancelled"?"CCv2 deployment cancelled":"CCv2 deployment encountered an internal error";const t=str(A.deploymentCode),n=str(A.environmentCode)||str(r.environment),s=t?`Deployment ${t}`:"The deployment",l=n?` in ${n}`:"",u=str(A.error?.message);a=e.status==="started"?`${s} has started${l}.`:e.status==="action-required"?`${s} is waiting for a decision${l}. Review the workflow run to continue.`:e.status==="success"?`${s} completed${l}.`:e.status==="failure"?u||`${s} failed${l}. Review the workflow run for details.`:e.status==="cancelled"?`${s} was cancelled${l}.`:u||"CommerceKit could not complete the deployment workflow.";highlight(t?"Deployment code":"Environment",t||n);if(c[0]?.label!=="Environment")add("Environment",n);add("Build code",A.buildCode);add("Strategy",A.deploymentMode);add("Database update",A.databaseUpdateMode);add("Status",A.deploymentStatus);add("Duration",duration(A.durationMs));add("Decision",A.decisionType)}if(e.eventType!=="check.completed")add("Repository",r.repository);highlight("Occurred",occurred(e.occurredAt));const u=(e.links??[]).filter(e=>redactKnownSecrets(e.url,n)===e.url);const d=u.length>0?u.map(e=>({label:safePlainText(sanitize_sanitizeLabel(str(e.label))),url:e.url})):typeof r.runUrl==="string"&&redactKnownSecrets(r.runUrl,n)===r.runUrl?[{label:"View workflow",url:r.runUrl}]:[];const h=[str(r.workflow),str(r.runId)?`Run ${str(r.runId)}`:"",typeof r.runAttempt==="number"?`Attempt ${r.runAttempt}`:""].filter(Boolean).join(" · ");return{category:o,title:i,status:e.status,statusLabel:t.label,icon:t.icon,tone:t.tone,accent:t.accent,summary:sanitize(a).slice(0,1e3)||undefined,highlights:c.slice(0,2),facts:l.slice(0,9),...s.length?{sections:s}:{},actions:d.slice(0,3),footer:h?sanitize(h):undefined}}const esc=e=>e.replace(/&/g,"&").replace(//g,">").replace(/@/g,"@").replace(/[\r\n\u2028\u2029]/g," ");const field=e=>({type:"mrkdwn",text:`*${esc(e.label)}*\n${escapeMrkdwn(esc(e.value))}`.slice(0,2e3),verbatim:true});function renderSlack(e){const t=[{type:"context",elements:[{type:"plain_text",text:`${e.category} · ${e.statusLabel}`.slice(0,300),emoji:false}]}];const A=[{type:"header",text:{type:"plain_text",text:`${e.icon} ${e.title}`.slice(0,150),emoji:true}}];if(e.highlights.length)A.push({type:"section",fields:e.highlights.slice(0,2).map(field)});if(e.highlights.length&&(e.summary||e.facts.length))A.push({type:"divider"});if(e.summary)A.push({type:"section",text:{type:"plain_text",text:e.summary.slice(0,3e3),emoji:true}});if(e.facts.length)A.push({type:"section",fields:e.facts.slice(0,10).map(field)});for(const t of e.sections??[]){A.push({type:"section",text:{type:"plain_text",text:t.title.slice(0,3e3),emoji:false}});for(let e=0;e({type:"button",text:{type:"plain_text",text:e.label.slice(0,75)},url:e.url,action_id:`notification_action_${t}`}))});if(e.footer)A.push({type:"context",elements:[{type:"plain_text",text:e.footer.slice(0,500),emoji:true}]});const r=[e.statusLabel,e.title,e.highlights.find(e=>e.label!=="Occurred")?.value,e.actions[0]?.label&&e.actions[0]?.url,e.summary].filter(Boolean).join(" · ");const n=escapeMrkdwn(esc(r));if(A.length+t.length>50)throw new Error("Slack message exceeds the Block Kit block limit.");return{text:n.length>3900?`${n.slice(0,3899)}…`:n,mrkdwn:false,blocks:t,attachments:[{color:e.accent,blocks:A}],unfurl_links:false,unfurl_media:false}}function escapeMrkdwn(e){return e.replace(/\\/g,"\\\\").replace(/([*_`~])/g,"\\$1")}var be=__nccwpck_require__(4573);const ke=27*1024;function renderTeams(e){const t=[{type:"Container",style:{info:"accent",success:"good",warning:"warning",danger:"attention",neutral:"default"}[e.tone],items:[{type:"TextBlock",text:`${safeText(e.category)} · ${e.icon} ${safeText(e.statusLabel)}`,size:"Small",weight:"Bolder",wrap:true},{type:"TextBlock",text:safeText(e.title),weight:"Bolder",size:"Large",wrap:true,spacing:"Medium"},...e.summary?[{type:"TextBlock",text:safeText(e.summary),wrap:true,spacing:"Medium"}]:[]]}];if(e.highlights.length)t.push({type:"FactSet",facts:e.highlights.slice(0,2).map(e=>({title:safeText(e.label),value:safeText(e.value)})),spacing:"Medium"});if(e.facts.length)t.push({type:"Container",style:"emphasis",spacing:"Medium",items:[{type:"FactSet",facts:e.facts.slice(0,10).map(e=>({title:safeText(e.label),value:safeText(e.value)}))}]});for(const A of e.sections??[]){t.push({type:"TextBlock",text:safeText(A.title),weight:"Bolder",wrap:true,spacing:"Medium"});for(let e=0;e({title:safeText(e.label),value:safeText(e.value)})),spacing:"Small"})}if(e.footer)t.push({type:"TextBlock",text:safeText(e.footer),isSubtle:true,size:"Small",wrap:true,spacing:"Medium"});const A={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",contentUrl:null,content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:t,...e.actions.length?{actions:e.actions.slice(0,3).map(e=>({type:"Action.OpenUrl",title:safeText(e.label),url:e.url}))}:{}}}]};if(be.Buffer.byteLength(JSON.stringify(A),"utf8")>ke)throw new Error("Teams Workflow card exceeds the 27 KiB safety limit.");return A}function safeText(e){return sanitize(e).replace(/\\/g,"\\\\").replace(/([*_`~\x5B\x5D<>])/g,"\\$1").replace(/\r?\n/g," ")}var De=__nccwpck_require__(7030);const Re=new De.BlockList;for(const[e,t]of[["0.0.0.0",8],["10.0.0.0",8],["127.0.0.0",8],["169.254.0.0",16],["172.16.0.0",12],["192.168.0.0",16]])Re.addSubnet(e,t,"ipv4");Re.addAddress("::","ipv6");Re.addAddress("::1","ipv6");Re.addSubnet("fc00::",7,"ipv6");Re.addSubnet("fe80::",10,"ipv6");function validateWebhook(e,t){if(/[\u0000-\u001f\u007f]/.test(e))throw new Error("Webhook URL contains control characters.");let A;try{A=new URL(e)}catch{throw new Error("Webhook URL is malformed.")}if(A.protocol!=="https:"||A.username||A.password||A.hash||!A.hostname)throw new Error("Webhook URL must use HTTPS without credentials or fragments.");const r=A.hostname.toLowerCase().replace(/^\[|\]$/g,"");if(t==="slack"&&!["hooks.slack.com","hooks.slack-gov.com"].includes(r))throw new Error("Slack webhook URL must use an official Slack webhook host.");if(t==="teams-workflow"){const e=r.replace(/\.$/,"");if(e==="localhost"||e.endsWith(".localhost")||e.endsWith(".local"))throw new Error("Teams webhook URL cannot use a local host.");const t=(0,De.isIP)(r);if(t&&Re.check(r,t===6?"ipv6":"ipv4"))throw new Error("Teams webhook URL cannot use a private, loopback, link-local, or unspecified address.")}return A}function retryAfterMs(e,t=Date.now()){if(!e)return undefined;const A=Number(e);const r=Number.isFinite(A)?A*1e3:Date.parse(e)-t;if(!Number.isFinite(r)||r<0)return undefined;return Math.min(r,5e3)}const Se=new Set([429,500,502,503,504]);async function deliver(e,t,A,r=fetch,n=e=>new Promise(t=>setTimeout(t,e))){let s="Notification delivery failed.";for(let o=1;o<=3;o++){let i;try{const e=new AbortController,n=setTimeout(()=>e.abort(),1e4);try{i=await r(t,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(A),redirect:"error",credentials:"omit",signal:e.signal})}finally{clearTimeout(n)}}catch(e){const t=e instanceof Error?e.cause:undefined;if(t instanceof Error&&/unexpected redirect/i.test(t.message))throw Object.assign(new Error("Notification webhook redirected; redirects are not allowed."),{attempts:o});const A=e instanceof Error&&e.name==="AbortError";s=A?"Notification request timed out.":"Notification request failed due to a network error.";if(o===3)throw Object.assign(new Error(s),{attempts:o})}if(i){if(i.status>=200&&i.status<300)return{attempts:o};s=`${e==="slack"?"Slack":"Teams Workflow"} webhook returned HTTP ${i.status}${o===3?"; retry limit exhausted.":"."}`;if(!Se.has(i.status)||o===3)throw Object.assign(new Error(s),{attempts:o})}const a=i?retryAfterMs(i.headers.get("retry-after")):undefined;await n(a??Math.min(250*2**(o-1),1e3))}throw Object.assign(new Error(s),{attempts:3})}const Fe={repository:["GITHUB_REPOSITORY",200],ref:["GITHUB_REF",300],commit:["GITHUB_SHA",128],actor:["GITHUB_ACTOR",128],workflow:["GITHUB_WORKFLOW",200],job:["GITHUB_JOB",200],runId:["GITHUB_RUN_ID",64]};function extractSafeGitHubContext(e){const t={};for(const[A,[r,n]]of Object.entries(Fe)){const s=e[r]?.trim();if(!s||s.length>n||/[\u0000-\u001f\u007f-\u009f]/.test(s))continue;if(A==="repository"&&!/^[A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+$/.test(s))continue;if(A==="runId"&&!/^\d+$/.test(s))continue;t[A]=s}const A=Number(e.GITHUB_RUN_ATTEMPT);if(Number.isSafeInteger(A)&&A>=1)t.runAttempt=A;try{const A=validateGitHubRunUrl(e.GITHUB_SERVER_URL??"https://github.com");if(A.search||A.pathname!=="/")throw Error();if(t.repository&&t.runId)t.runUrl=validateGitHubRunUrl(`${A.origin}/${t.repository}/actions/runs/${t.runId}`).href}catch{}return t}function merge(e,t){const A={...e};for(const[e,r]of Object.entries(t))if(e!=="runUrl"&&(A[e]===undefined||A[e]===""))A[e]=r;if((A.runUrl===undefined||A.runUrl==="")&&t.runUrl){const e=validateGitHubRunUrl(t.runUrl).origin;if(typeof A.repository==="string"&&/^[A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+$/.test(A.repository)&&typeof A.runId==="string"&&/^\d+$/.test(A.runId))A.runUrl=`${e}/${A.repository}/actions/runs/${A.runId}`}if(A.runUrl!==undefined)validateGitHubRunUrl(A.runUrl);return A}function mergeProducerContext(e,t){return merge(e,t)}function mergeNotifierContext(e,t){return merge(e,t)}function enrichContext(e,t=process.env){const A=e.context??{};const r=extractSafeGitHubContext({...t,GITHUB_SERVER_URL:t.GITHUB_SERVER_URL?.trim()||"",GITHUB_REPOSITORY:A.repository||t.GITHUB_REPOSITORY,GITHUB_RUN_ID:A.runId||t.GITHUB_RUN_ID});return{...e,context:mergeNotifierContext(A,r)}}async function runAction(){let e="",t="",A="",r="0";let n="false";try{n=getInput("fail-on-notification-error")||"false";e=getInput("provider",{required:true});if(e!=="slack"&&e!=="teams-workflow")throw new Error("provider must be slack or teams-workflow.");const s=getInput("webhook-url",{required:true});core_setSecret(s);if(!["true","false"].includes(n))throw new Error("fail-on-notification-error must be true or false.");const o=await parseEvent({json:getInput("event-json")||undefined,file:getInput("event-file")||undefined});const i=enrichContext(o);t=String(i.eventType);A=String(i.status);const a=validateWebhook(s,e);const c=createPresentation(i);const l=e==="slack"?renderSlack(c):renderTeams(c);try{const t=await deliver(e,a,l);r=String(t.attempts);setOutput("delivered","true")}catch(e){r=String(e.attempts??0);setOutput("delivered","false");const t=e instanceof Error?e.message:"Notification delivery failed.";if(n==="true")throw e;warning(t)}setOutput("provider",e);setOutput("event-type",t);setOutput("status",A);setOutput("attempts",r)}catch(n){setOutput("delivered","false");setOutput("provider",e);setOutput("event-type",t);setOutput("status",A);setOutput("attempts",r);const s=n instanceof Error?n.message:"Notification action failed.";setFailed(s)}}runAction().catch(()=>{setOutput("delivered","false");setOutput("provider","");setOutput("event-type","");setOutput("status","");setOutput("attempts","0");setFailed("Notification action failed unexpectedly.")}); \ No newline at end of file + deps: ${r}}`};const o={keyword:"dependencies",type:"object",schemaType:"object",error:t.error,code(e){const[t,r]=splitDependencies(e);validatePropertyDeps(e,t);validateSchemaDeps(e,r)}};function splitDependencies({schema:e}){const t={};const r={};for(const A in e){if(A==="__proto__")continue;const n=Array.isArray(e[A])?t:r;n[A]=e[A]}return[t,r]}function validatePropertyDeps(e,t=e.schema){const{gen:r,data:n,it:o}=e;if(Object.keys(t).length===0)return;const i=r.let("missing");for(const a in t){const c=t[a];if(c.length===0)continue;const l=(0,s.propertyInData)(r,n,a,o.opts.ownProperties);e.setParams({property:a,depsCount:c.length,deps:c.join(", ")});if(o.allErrors){r.if(l,()=>{for(const t of c){(0,s.checkReportMissingProp)(e,t)}})}else{r.if((0,A._)`${l} && (${(0,s.checkMissingProp)(e,c,i)})`);(0,s.reportMissingProp)(e,i);r.else()}}}t.validatePropertyDeps=validatePropertyDeps;function validateSchemaDeps(e,t=e.schema){const{gen:r,data:A,keyword:o,it:i}=e;const a=r.name("valid");for(const c in t){if((0,n.alwaysValidSchema)(i,t[c]))continue;r.if((0,s.propertyInData)(r,A,c,i.opts.ownProperties),()=>{const t=e.subschema({keyword:o,schemaProp:c},a);e.mergeValidEvaluated(t,a)},()=>r.var(a,true));e.ok(a)}}t.validateSchemaDeps=validateSchemaDeps;t["default"]=o},4602:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(9170);const n={keyword:"dependentSchemas",type:"object",schemaType:"object",code:e=>(0,A.validateSchemaDeps)(e)};t["default"]=n},4216:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(28);const n=r(3904);const s={message:({params:e})=>(0,A.str)`must match "${e.ifClause}" schema`,params:({params:e})=>(0,A._)`{failingKeyword: ${e.ifClause}}`};const o={keyword:"if",schemaType:["object","boolean"],trackErrors:true,error:s,code(e){const{gen:t,parentSchema:r,it:s}=e;if(r.then===undefined&&r.else===undefined){(0,n.checkStrictMode)(s,'"if" without "then" and "else" is ignored')}const o=hasSchema(s,"then");const i=hasSchema(s,"else");if(!o&&!i)return;const a=t.let("valid",true);const c=t.name("_valid");validateIf();e.reset();if(o&&i){const r=t.let("ifClause");e.setParams({ifClause:r});t.if(c,validateClause("then",r),validateClause("else",r))}else if(o){t.if(c,validateClause("then"))}else{t.if((0,A.not)(c),validateClause("else"))}e.pass(a,()=>e.error(true));function validateIf(){const t=e.subschema({keyword:"if",compositeRule:true,createErrors:false,allErrors:false},c);e.mergeEvaluated(t)}function validateClause(r,n){return()=>{const s=e.subschema({keyword:r},c);t.assign(a,c);e.mergeValidEvaluated(s,a);if(n)t.assign(n,(0,A._)`${r}`);else e.setParams({ifClause:r})}}}};function hasSchema(e,t){const r=e.schema[t];return r!==undefined&&!(0,n.alwaysValidSchema)(e,r)}t["default"]=o},2519:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(6728);const n=r(323);const s=r(5199);const o=r(3087);const i=r(2374);const a=r(9170);const c=r(9948);const l=r(3631);const u=r(8874);const d=r(24);const h=r(5326);const g=r(564);const f=r(7770);const E=r(5077);const Q=r(4216);const C=r(2637);function getApplicator(e=false){const t=[h.default,g.default,f.default,E.default,Q.default,C.default,c.default,l.default,a.default,u.default,d.default];if(e)t.push(n.default,o.default);else t.push(A.default,s.default);t.push(i.default);return t}t["default"]=getApplicator},5199:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.validateTuple=void 0;const A=r(28);const n=r(3904);const s=r(6516);const o={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:r}=e;if(Array.isArray(t))return validateTuple(e,"additionalItems",t);r.items=true;if((0,n.alwaysValidSchema)(r,t))return;e.ok((0,s.validateArray)(e))}};function validateTuple(e,t,r=e.schema){const{gen:s,parentSchema:o,data:i,keyword:a,it:c}=e;checkStrictTuple(o);if(c.opts.unevaluated&&r.length&&c.items!==true){c.items=n.mergeEvaluated.items(s,r.length,c.items)}const l=s.name("valid");const u=s.const("len",(0,A._)`${i}.length`);r.forEach((t,r)=>{if((0,n.alwaysValidSchema)(c,t))return;s.if((0,A._)`${u} > ${r}`,()=>e.subschema({keyword:a,schemaProp:r,dataProp:r},l));e.ok(l)});function checkStrictTuple(e){const{opts:A,errSchemaPath:s}=c;const o=r.length;const i=o===e.minItems&&(o===e.maxItems||e[t]===false);if(A.strictTuples&&!i){const e=`"${a}" is ${o}-tuple, but minItems or maxItems/${t} are not specified or different at path "${s}"`;(0,n.checkStrictMode)(c,e,A.strictTuples)}}}t.validateTuple=validateTuple;t["default"]=o},3087:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(28);const n=r(3904);const s=r(6516);const o=r(6728);const i={message:({params:{len:e}})=>(0,A.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,A._)`{limit: ${e}}`};const a={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:i,code(e){const{schema:t,parentSchema:r,it:A}=e;const{prefixItems:i}=r;A.items=true;if((0,n.alwaysValidSchema)(A,t))return;if(i)(0,o.validateAdditionalItems)(e,i);else e.ok((0,s.validateArray)(e))}};t["default"]=a},5326:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(3904);const n={keyword:"not",schemaType:["object","boolean"],trackErrors:true,code(e){const{gen:t,schema:r,it:n}=e;if((0,A.alwaysValidSchema)(n,r)){e.fail();return}const s=t.name("valid");e.subschema({keyword:"not",compositeRule:true,createErrors:false,allErrors:false},s);e.failResult(s,()=>e.reset(),()=>e.error())},error:{message:"must NOT be valid"}};t["default"]=n},7770:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(28);const n=r(3904);const s={message:"must match exactly one schema in oneOf",params:({params:e})=>(0,A._)`{passingSchemas: ${e.passing}}`};const o={keyword:"oneOf",schemaType:"array",trackErrors:true,error:s,code(e){const{gen:t,schema:r,parentSchema:s,it:o}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");if(o.opts.discriminator&&s.discriminator)return;const i=r;const a=t.let("valid",false);const c=t.let("passing",null);const l=t.name("_valid");e.setParams({passing:c});t.block(validateOneOf);e.result(a,()=>e.reset(),()=>e.error(true));function validateOneOf(){i.forEach((r,s)=>{let i;if((0,n.alwaysValidSchema)(o,r)){t.var(l,true)}else{i=e.subschema({keyword:"oneOf",schemaProp:s,compositeRule:true},l)}if(s>0){t.if((0,A._)`${l} && ${a}`).assign(a,false).assign(c,(0,A._)`[${c}, ${s}]`).else()}t.if(l,()=>{t.assign(a,true);t.assign(c,s);if(i)e.mergeEvaluated(i,A.Name)})})}}};t["default"]=o},24:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(6516);const n=r(28);const s=r(3904);const o=r(3904);const i={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:r,data:i,parentSchema:a,it:c}=e;const{opts:l}=c;const u=(0,A.allSchemaProperties)(r);const d=u.filter(e=>(0,s.alwaysValidSchema)(c,r[e]));if(u.length===0||d.length===u.length&&(!c.opts.unevaluated||c.props===true)){return}const h=l.strictSchema&&!l.allowMatchingProperties&&a.properties;const g=t.name("valid");if(c.props!==true&&!(c.props instanceof n.Name)){c.props=(0,o.evaluatedPropsToName)(t,c.props)}const{props:f}=c;validatePatternProperties();function validatePatternProperties(){for(const e of u){if(h)checkMatchingProperties(e);if(c.allErrors){validateProperties(e)}else{t.var(g,true);validateProperties(e);t.if(g)}}}function checkMatchingProperties(e){for(const t in h){if(new RegExp(e).test(t)){(0,s.checkStrictMode)(c,`property ${t} matches pattern ${e} (use allowMatchingProperties)`)}}}function validateProperties(r){t.forIn("key",i,s=>{t.if((0,n._)`${(0,A.usePattern)(e,r)}.test(${s})`,()=>{const A=d.includes(r);if(!A){e.subschema({keyword:"patternProperties",schemaProp:r,dataProp:s,dataPropType:o.Type.Str},g)}if(c.opts.unevaluated&&f!==true){t.assign((0,n._)`${f}[${s}]`,true)}else if(!A&&!c.allErrors){t.if((0,n.not)(g),()=>t.break())}})})}}};t["default"]=i},323:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(5199);const n={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,A.validateTuple)(e,"items")};t["default"]=n},8874:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(4457);const n=r(6516);const s=r(3904);const o=r(3631);const i={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:r,parentSchema:i,data:a,it:c}=e;if(c.opts.removeAdditional==="all"&&i.additionalProperties===undefined){o.default.code(new A.KeywordCxt(c,o.default,"additionalProperties"))}const l=(0,n.allSchemaProperties)(r);for(const e of l){c.definedProperties.add(e)}if(c.opts.unevaluated&&l.length&&c.props!==true){c.props=s.mergeEvaluated.props(t,(0,s.toHash)(l),c.props)}const u=l.filter(e=>!(0,s.alwaysValidSchema)(c,r[e]));if(u.length===0)return;const d=t.name("valid");for(const r of u){if(hasDefault(r)){applyPropertySchema(r)}else{t.if((0,n.propertyInData)(t,a,r,c.opts.ownProperties));applyPropertySchema(r);if(!c.allErrors)t.else().var(d,true);t.endIf()}e.it.definedProperties.add(r);e.ok(d)}function hasDefault(e){return c.opts.useDefaults&&!c.compositeRule&&r[e].default!==undefined}function applyPropertySchema(t){e.subschema({keyword:"properties",schemaProp:t,dataProp:t},d)}}};t["default"]=i},9948:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(28);const n=r(3904);const s={message:"property name must be valid",params:({params:e})=>(0,A._)`{propertyName: ${e.propertyName}}`};const o={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:s,code(e){const{gen:t,schema:r,data:s,it:o}=e;if((0,n.alwaysValidSchema)(o,r))return;const i=t.name("valid");t.forIn("key",s,r=>{e.setParams({propertyName:r});e.subschema({keyword:"propertyNames",data:r,dataTypes:["string"],propertyName:r,compositeRule:true},i);t.if((0,A.not)(i),()=>{e.error(true);if(!o.allErrors)t.break()})});e.ok(i)}};t["default"]=o},2637:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(3904);const n={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:r}){if(t.if===undefined)(0,A.checkStrictMode)(r,`"${e}" without "if" is ignored`)}};t["default"]=n},6516:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.validateUnion=t.validateArray=t.usePattern=t.callValidateCode=t.schemaProperties=t.allSchemaProperties=t.noPropertyInData=t.propertyInData=t.isOwnProperty=t.hasPropFunc=t.reportMissingProp=t.checkMissingProp=t.checkReportMissingProp=void 0;const A=r(28);const n=r(3904);const s=r(5990);const o=r(3904);function checkReportMissingProp(e,t){const{gen:r,data:n,it:s}=e;r.if(noPropertyInData(r,n,t,s.opts.ownProperties),()=>{e.setParams({missingProperty:(0,A._)`${t}`},true);e.error()})}t.checkReportMissingProp=checkReportMissingProp;function checkMissingProp({gen:e,data:t,it:{opts:r}},n,s){return(0,A.or)(...n.map(n=>(0,A.and)(noPropertyInData(e,t,n,r.ownProperties),(0,A._)`${s} = ${n}`)))}t.checkMissingProp=checkMissingProp;function reportMissingProp(e,t){e.setParams({missingProperty:t},true);e.error()}t.reportMissingProp=reportMissingProp;function hasPropFunc(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,A._)`Object.prototype.hasOwnProperty`})}t.hasPropFunc=hasPropFunc;function isOwnProperty(e,t,r){return(0,A._)`${hasPropFunc(e)}.call(${t}, ${r})`}t.isOwnProperty=isOwnProperty;function propertyInData(e,t,r,n){const s=(0,A._)`${t}${(0,A.getProperty)(r)} !== undefined`;return n?(0,A._)`${s} && ${isOwnProperty(e,t,r)}`:s}t.propertyInData=propertyInData;function noPropertyInData(e,t,r,n){const s=(0,A._)`${t}${(0,A.getProperty)(r)} === undefined`;return n?(0,A.or)(s,(0,A.not)(isOwnProperty(e,t,r))):s}t.noPropertyInData=noPropertyInData;function allSchemaProperties(e){return e?Object.keys(e).filter(e=>e!=="__proto__"):[]}t.allSchemaProperties=allSchemaProperties;function schemaProperties(e,t){return allSchemaProperties(t).filter(r=>!(0,n.alwaysValidSchema)(e,t[r]))}t.schemaProperties=schemaProperties;function callValidateCode({schemaCode:e,data:t,it:{gen:r,topSchemaRef:n,schemaPath:o,errorPath:i},it:a},c,l,u){const d=u?(0,A._)`${e}, ${t}, ${n}${o}`:t;const h=[[s.default.instancePath,(0,A.strConcat)(s.default.instancePath,i)],[s.default.parentData,a.parentData],[s.default.parentDataProperty,a.parentDataProperty],[s.default.rootData,s.default.rootData]];if(a.opts.dynamicRef)h.push([s.default.dynamicAnchors,s.default.dynamicAnchors]);const g=(0,A._)`${d}, ${r.object(...h)}`;return l!==A.nil?(0,A._)`${c}.call(${l}, ${g})`:(0,A._)`${c}(${g})`}t.callValidateCode=callValidateCode;const i=(0,A._)`new RegExp`;function usePattern({gen:e,it:{opts:t}},r){const n=t.unicodeRegExp?"u":"";const{regExp:s}=t.code;const a=s(r,n);return e.scopeValue("pattern",{key:a.toString(),ref:a,code:(0,A._)`${s.code==="new RegExp"?i:(0,o.useFunc)(e,s)}(${r}, ${n})`})}t.usePattern=usePattern;function validateArray(e){const{gen:t,data:r,keyword:s,it:o}=e;const i=t.name("valid");if(o.allErrors){const e=t.let("valid",true);validateItems(()=>t.assign(e,false));return e}t.var(i,true);validateItems(()=>t.break());return i;function validateItems(o){const a=t.const("len",(0,A._)`${r}.length`);t.forRange("i",0,a,r=>{e.subschema({keyword:s,dataProp:r,dataPropType:n.Type.Num},i);t.if((0,A.not)(i),o)})}}t.validateArray=validateArray;function validateUnion(e){const{gen:t,schema:r,keyword:s,it:o}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");const i=r.some(e=>(0,n.alwaysValidSchema)(o,e));if(i&&!o.opts.unevaluated)return;const a=t.let("valid",false);const c=t.name("_valid");t.block(()=>r.forEach((r,n)=>{const o=e.subschema({keyword:s,schemaProp:n,compositeRule:true},c);t.assign(a,(0,A._)`${a} || ${c}`);const i=e.mergeValidEvaluated(o,c);if(!i)t.if((0,A.not)(a))}));e.result(a,()=>e.reset(),()=>e.error(true))}t.validateUnion=validateUnion},544:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});const r={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};t["default"]=r},6325:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(544);const n=r(3652);const s=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",A.default,n.default];t["default"]=s},3652:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.callRef=t.getValidate=void 0;const A=r(8922);const n=r(6516);const s=r(28);const o=r(5990);const i=r(9198);const a=r(3904);const c={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:r,it:n}=e;const{baseId:o,schemaEnv:a,validateName:c,opts:l,self:u}=n;const{root:d}=a;if((r==="#"||r==="#/")&&o===d.baseId)return callRootRef();const h=i.resolveRef.call(u,d,o,r);if(h===undefined)throw new A.default(n.opts.uriResolver,o,r);if(h instanceof i.SchemaEnv)return callValidate(h);return inlineRefSchema(h);function callRootRef(){if(a===d)return callRef(e,c,a,a.$async);const r=t.scopeValue("root",{ref:d});return callRef(e,(0,s._)`${r}.validate`,d,d.$async)}function callValidate(t){const r=getValidate(e,t);callRef(e,r,t,t.$async)}function inlineRefSchema(A){const n=t.scopeValue("schema",l.code.source===true?{ref:A,code:(0,s.stringify)(A)}:{ref:A});const o=t.name("valid");const i=e.subschema({schema:A,dataTypes:[],schemaPath:s.nil,topSchemaRef:n,errSchemaPath:r},o);e.mergeEvaluated(i);e.ok(o)}}};function getValidate(e,t){const{gen:r}=e;return t.validate?r.scopeValue("validate",{ref:t.validate}):(0,s._)`${r.scopeValue("wrapper",{ref:t})}.validate`}t.getValidate=getValidate;function callRef(e,t,r,A){const{gen:i,it:c}=e;const{allErrors:l,schemaEnv:u,opts:d}=c;const h=d.passContext?o.default.this:s.nil;if(A)callAsyncRef();else callSyncRef();function callAsyncRef(){if(!u.$async)throw new Error("async schema referenced by sync schema");const r=i.let("valid");i.try(()=>{i.code((0,s._)`await ${(0,n.callValidateCode)(e,t,h)}`);addEvaluatedFrom(t);if(!l)i.assign(r,true)},e=>{i.if((0,s._)`!(${e} instanceof ${c.ValidationError})`,()=>i.throw(e));addErrorsFrom(e);if(!l)i.assign(r,false)});e.ok(r)}function callSyncRef(){e.result((0,n.callValidateCode)(e,t,h),()=>addEvaluatedFrom(t),()=>addErrorsFrom(t))}function addErrorsFrom(e){const t=(0,s._)`${e}.errors`;i.assign(o.default.vErrors,(0,s._)`${o.default.vErrors} === null ? ${t} : ${o.default.vErrors}.concat(${t})`);i.assign(o.default.errors,(0,s._)`${o.default.vErrors}.length`)}function addEvaluatedFrom(e){var t;if(!c.opts.unevaluated)return;const A=(t=r===null||r===void 0?void 0:r.validate)===null||t===void 0?void 0:t.evaluated;if(c.props!==true){if(A&&!A.dynamicProps){if(A.props!==undefined){c.props=a.mergeEvaluated.props(i,A.props,c.props)}}else{const t=i.var("props",(0,s._)`${e}.evaluated.props`);c.props=a.mergeEvaluated.props(i,t,c.props,s.Name)}}if(c.items!==true){if(A&&!A.dynamicItems){if(A.items!==undefined){c.items=a.mergeEvaluated.items(i,A.items,c.items)}}else{const t=i.var("items",(0,s._)`${e}.evaluated.items`);c.items=a.mergeEvaluated.items(i,t,c.items,s.Name)}}}}t.callRef=callRef;t["default"]=c},5014:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(28);const n=r(5563);const s=r(9198);const o=r(8922);const i=r(3904);const a={message:({params:{discrError:e,tagName:t}})=>e===n.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:r}})=>(0,A._)`{error: ${e}, tag: ${r}, tagValue: ${t}}`};const c={keyword:"discriminator",type:"object",schemaType:"object",error:a,code(e){const{gen:t,data:r,schema:a,parentSchema:c,it:l}=e;const{oneOf:u}=c;if(!l.opts.discriminator){throw new Error("discriminator: requires discriminator option")}const d=a.propertyName;if(typeof d!="string")throw new Error("discriminator: requires propertyName");if(a.mapping)throw new Error("discriminator: mapping is not supported");if(!u)throw new Error("discriminator: requires oneOf keyword");const h=t.let("valid",false);const g=t.const("tag",(0,A._)`${r}${(0,A.getProperty)(d)}`);t.if((0,A._)`typeof ${g} == "string"`,()=>validateMapping(),()=>e.error(false,{discrError:n.DiscrError.Tag,tag:g,tagName:d}));e.ok(h);function validateMapping(){const r=getMapping();t.if(false);for(const e in r){t.elseIf((0,A._)`${g} === ${e}`);t.assign(h,applyTagSchema(r[e]))}t.else();e.error(false,{discrError:n.DiscrError.Mapping,tag:g,tagName:d});t.endIf()}function applyTagSchema(r){const n=t.name("valid");const s=e.subschema({keyword:"oneOf",schemaProp:r},n);e.mergeEvaluated(s,A.Name);return n}function getMapping(){var e;const t={};const r=hasRequired(c);let A=true;for(let t=0;t{Object.defineProperty(t,"__esModule",{value:true});t.DiscrError=void 0;var r;(function(e){e["Tag"]="tag";e["Mapping"]="mapping"})(r||(t.DiscrError=r={}))},3370:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(6325);const n=r(6841);const s=r(2519);const o=r(5731);const i=r(1332);const a=r(3498);const c=r(9);const l=r(492);const u=[o.default,A.default,n.default,(0,s.default)(true),c.default,l.metadataVocabulary,l.contentVocabulary,i.default,a.default];t["default"]=u},5845:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(6325);const n=r(6841);const s=r(2519);const o=r(9);const i=r(492);const a=[A.default,n.default,(0,s.default)(),o.default,i.metadataVocabulary,i.contentVocabulary];t["default"]=a},8527:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.dynamicAnchor=void 0;const A=r(28);const n=r(5990);const s=r(9198);const o=r(3652);const i={keyword:"$dynamicAnchor",schemaType:"string",code:e=>dynamicAnchor(e,e.schema)};function dynamicAnchor(e,t){const{gen:r,it:s}=e;s.schemaEnv.root.dynamicAnchors[t]=true;const o=(0,A._)`${n.default.dynamicAnchors}${(0,A.getProperty)(t)}`;const i=s.errSchemaPath==="#"?s.validateName:_getValidate(e);r.if((0,A._)`!${o}`,()=>r.assign(o,i))}t.dynamicAnchor=dynamicAnchor;function _getValidate(e){const{schemaEnv:t,schema:r,self:A}=e.it;const{root:n,baseId:i,localRefs:a,meta:c}=t.root;const{schemaId:l}=A.opts;const u=new s.SchemaEnv({schema:r,schemaId:l,root:n,baseId:i,localRefs:a,meta:c});s.compileSchema.call(A,u);return(0,o.getValidate)(e,u)}t["default"]=i},4537:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.dynamicRef=void 0;const A=r(28);const n=r(5990);const s=r(3652);const o={keyword:"$dynamicRef",schemaType:"string",code:e=>dynamicRef(e,e.schema)};function dynamicRef(e,t){const{gen:r,keyword:o,it:i}=e;if(t[0]!=="#")throw new Error(`"${o}" only supports hash fragment reference`);const a=t.slice(1);if(i.allErrors){_dynamicRef()}else{const t=r.let("valid",false);_dynamicRef(t);e.ok(t)}function _dynamicRef(e){if(i.schemaEnv.root.dynamicAnchors[a]){const t=r.let("_v",(0,A._)`${n.default.dynamicAnchors}${(0,A.getProperty)(a)}`);r.if(t,_callRef(t,e),_callRef(i.validateName,e))}else{_callRef(i.validateName,e)()}}function _callRef(t,A){return A?()=>r.block(()=>{(0,s.callRef)(e,t);r.let(A,true)}):()=>(0,s.callRef)(e,t)}}t.dynamicRef=dynamicRef;t["default"]=o},5731:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(8527);const n=r(4537);const s=r(46);const o=r(629);const i=[A.default,n.default,s.default,o.default];t["default"]=i},46:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(8527);const n=r(3904);const s={keyword:"$recursiveAnchor",schemaType:"boolean",code(e){if(e.schema)(0,A.dynamicAnchor)(e,"");else(0,n.checkStrictMode)(e.it,"$recursiveAnchor: false is ignored")}};t["default"]=s},629:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(4537);const n={keyword:"$recursiveRef",schemaType:"string",code:e=>(0,A.dynamicRef)(e,e.schema)};t["default"]=n},2466:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(28);const n={message:({schemaCode:e})=>(0,A.str)`must match format "${e}"`,params:({schemaCode:e})=>(0,A._)`{format: ${e}}`};const s={keyword:"format",type:["number","string"],schemaType:"string",$data:true,error:n,code(e,t){const{gen:r,data:n,$data:s,schema:o,schemaCode:i,it:a}=e;const{opts:c,errSchemaPath:l,schemaEnv:u,self:d}=a;if(!c.validateFormats)return;if(s)validate$DataFormat();else validateFormat();function validate$DataFormat(){const s=r.scopeValue("formats",{ref:d.formats,code:c.code.formats});const o=r.const("fDef",(0,A._)`${s}[${i}]`);const a=r.let("fType");const l=r.let("format");r.if((0,A._)`typeof ${o} == "object" && !(${o} instanceof RegExp)`,()=>r.assign(a,(0,A._)`${o}.type || "string"`).assign(l,(0,A._)`${o}.validate`),()=>r.assign(a,(0,A._)`"string"`).assign(l,o));e.fail$data((0,A.or)(unknownFmt(),invalidFmt()));function unknownFmt(){if(c.strictSchema===false)return A.nil;return(0,A._)`${i} && !${l}`}function invalidFmt(){const e=u.$async?(0,A._)`(${o}.async ? await ${l}(${n}) : ${l}(${n}))`:(0,A._)`${l}(${n})`;const r=(0,A._)`(typeof ${l} == "function" ? ${e} : ${l}.test(${n}))`;return(0,A._)`${l} && ${l} !== true && ${a} === ${t} && !${r}`}}function validateFormat(){const s=d.formats[o];if(!s){unknownFormat();return}if(s===true)return;const[i,a,h]=getFormat(s);if(i===t)e.pass(validCondition());function unknownFormat(){if(c.strictSchema===false){d.logger.warn(unknownMsg());return}throw new Error(unknownMsg());function unknownMsg(){return`unknown format "${o}" ignored in schema at path "${l}"`}}function getFormat(e){const t=e instanceof RegExp?(0,A.regexpCode)(e):c.code.formats?(0,A._)`${c.code.formats}${(0,A.getProperty)(o)}`:undefined;const n=r.scopeValue("formats",{key:o,ref:e,code:t});if(typeof e=="object"&&!(e instanceof RegExp)){return[e.type||"string",e.validate,(0,A._)`${n}.validate`]}return["string",e,n]}function validCondition(){if(typeof s=="object"&&!(s instanceof RegExp)&&s.async){if(!u.$async)throw new Error("async format in sync schema");return(0,A._)`await ${h}(${n})`}return typeof a=="function"?(0,A._)`${h}(${n})`:(0,A._)`${h}.test(${n})`}}}};t["default"]=s},9:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(2466);const n=[A.default];t["default"]=n},492:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.contentVocabulary=t.metadataVocabulary=void 0;t.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];t.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]},1332:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(1331);const n=r(4602);const s=r(9731);const o=[A.default,n.default,s.default];t["default"]=o},3498:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(4119);const n=r(9808);const s=[A.default,n.default];t["default"]=s},9808:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(28);const n=r(3904);const s={message:({params:{len:e}})=>(0,A.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,A._)`{limit: ${e}}`};const o={keyword:"unevaluatedItems",type:"array",schemaType:["boolean","object"],error:s,code(e){const{gen:t,schema:r,data:s,it:o}=e;const i=o.items||0;if(i===true)return;const a=t.const("len",(0,A._)`${s}.length`);if(r===false){e.setParams({len:i});e.fail((0,A._)`${a} > ${i}`)}else if(typeof r=="object"&&!(0,n.alwaysValidSchema)(o,r)){const r=t.var("valid",(0,A._)`${a} <= ${i}`);t.if((0,A.not)(r),()=>validateItems(r,i));e.ok(r)}o.items=true;function validateItems(r,s){t.forRange("i",s,a,s=>{e.subschema({keyword:"unevaluatedItems",dataProp:s,dataPropType:n.Type.Num},r);if(!o.allErrors)t.if((0,A.not)(r),()=>t.break())})}}};t["default"]=o},4119:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(28);const n=r(3904);const s=r(5990);const o={message:"must NOT have unevaluated properties",params:({params:e})=>(0,A._)`{unevaluatedProperty: ${e.unevaluatedProperty}}`};const i={keyword:"unevaluatedProperties",type:"object",schemaType:["boolean","object"],trackErrors:true,error:o,code(e){const{gen:t,schema:r,data:o,errsCount:i,it:a}=e;if(!i)throw new Error("ajv implementation error");const{allErrors:c,props:l}=a;if(l instanceof A.Name){t.if((0,A._)`${l} !== true`,()=>t.forIn("key",o,e=>t.if(unevaluatedDynamic(l,e),()=>unevaluatedPropCode(e))))}else if(l!==true){t.forIn("key",o,e=>l===undefined?unevaluatedPropCode(e):t.if(unevaluatedStatic(l,e),()=>unevaluatedPropCode(e)))}a.props=true;e.ok((0,A._)`${i} === ${s.default.errors}`);function unevaluatedPropCode(s){if(r===false){e.setParams({unevaluatedProperty:s});e.error();if(!c)t.break();return}if(!(0,n.alwaysValidSchema)(a,r)){const r=t.name("valid");e.subschema({keyword:"unevaluatedProperties",dataProp:s,dataPropType:n.Type.Str},r);if(!c)t.if((0,A.not)(r),()=>t.break())}}function unevaluatedDynamic(e,t){return(0,A._)`!${e} || !${e}[${t}]`}function unevaluatedStatic(e,t){const r=[];for(const n in e){if(e[n]===true)r.push((0,A._)`${t} !== ${n}`)}return(0,A.and)(...r)}}};t["default"]=i},970:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(28);const n=r(3904);const s=r(4839);const o={message:"must be equal to constant",params:({schemaCode:e})=>(0,A._)`{allowedValue: ${e}}`};const i={keyword:"const",$data:true,error:o,code(e){const{gen:t,data:r,$data:o,schemaCode:i,schema:a}=e;if(o||a&&typeof a=="object"){e.fail$data((0,A._)`!${(0,n.useFunc)(t,s.default)}(${r}, ${i})`)}else{e.fail((0,A._)`${a} !== ${r}`)}}};t["default"]=i},1331:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(9170);const n={keyword:"dependentRequired",type:"object",schemaType:"object",error:A.error,code:e=>(0,A.validatePropertyDeps)(e)};t["default"]=n},6928:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(28);const n=r(3904);const s=r(4839);const o={message:"must be equal to one of the allowed values",params:({schemaCode:e})=>(0,A._)`{allowedValues: ${e}}`};const i={keyword:"enum",schemaType:"array",$data:true,error:o,code(e){const{gen:t,data:r,$data:o,schema:i,schemaCode:a,it:c}=e;if(!o&&i.length===0)throw new Error("enum must have non-empty array");const l=i.length>=c.opts.loopEnum;let u;const getEql=()=>u!==null&&u!==void 0?u:u=(0,n.useFunc)(t,s.default);let d;if(l||o){d=t.let("valid");e.block$data(d,loopEnum)}else{if(!Array.isArray(i))throw new Error("ajv implementation error");const e=t.const("vSchema",a);d=(0,A.or)(...i.map((t,r)=>equalCode(e,r)))}e.pass(d);function loopEnum(){t.assign(d,false);t.forOf("v",a,e=>t.if((0,A._)`${getEql()}(${r}, ${e})`,()=>t.assign(d,true).break()))}function equalCode(e,t){const n=i[t];return typeof n==="object"&&n!==null?(0,A._)`${getEql()}(${r}, ${e}[${t}])`:(0,A._)`${r} === ${n}`}}};t["default"]=i},6841:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(8795);const n=r(6068);const s=r(8130);const o=r(6407);const i=r(5951);const a=r(8216);const c=r(4376);const l=r(2108);const u=r(970);const d=r(6928);const h=[A.default,n.default,s.default,o.default,i.default,a.default,c.default,l.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},u.default,d.default];t["default"]=h},9731:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(3904);const n={keyword:["maxContains","minContains"],type:"array",schemaType:"number",code({keyword:e,parentSchema:t,it:r}){if(t.contains===undefined){(0,A.checkStrictMode)(r,`"${e}" without "contains" is ignored`)}}};t["default"]=n},4376:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(28);const n={message({keyword:e,schemaCode:t}){const r=e==="maxItems"?"more":"fewer";return(0,A.str)`must NOT have ${r} than ${t} items`},params:({schemaCode:e})=>(0,A._)`{limit: ${e}}`};const s={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:true,error:n,code(e){const{keyword:t,data:r,schemaCode:n}=e;const s=t==="maxItems"?A.operators.GT:A.operators.LT;e.fail$data((0,A._)`${r}.length ${s} ${n}`)}};t["default"]=s},8130:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(28);const n=r(3904);const s=r(2998);const o={message({keyword:e,schemaCode:t}){const r=e==="maxLength"?"more":"fewer";return(0,A.str)`must NOT have ${r} than ${t} characters`},params:({schemaCode:e})=>(0,A._)`{limit: ${e}}`};const i={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:true,error:o,code(e){const{keyword:t,data:r,schemaCode:o,it:i}=e;const a=t==="maxLength"?A.operators.GT:A.operators.LT;const c=i.opts.unicode===false?(0,A._)`${r}.length`:(0,A._)`${(0,n.useFunc)(e.gen,s.default)}(${r})`;e.fail$data((0,A._)`${c} ${a} ${o}`)}};t["default"]=i},8795:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(28);const n=A.operators;const s={maximum:{okStr:"<=",ok:n.LTE,fail:n.GT},minimum:{okStr:">=",ok:n.GTE,fail:n.LT},exclusiveMaximum:{okStr:"<",ok:n.LT,fail:n.GTE},exclusiveMinimum:{okStr:">",ok:n.GT,fail:n.LTE}};const o={message:({keyword:e,schemaCode:t})=>(0,A.str)`must be ${s[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>(0,A._)`{comparison: ${s[e].okStr}, limit: ${t}}`};const i={keyword:Object.keys(s),type:"number",schemaType:"number",$data:true,error:o,code(e){const{keyword:t,data:r,schemaCode:n}=e;e.fail$data((0,A._)`${r} ${s[t].fail} ${n} || isNaN(${r})`)}};t["default"]=i},5951:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(28);const n={message({keyword:e,schemaCode:t}){const r=e==="maxProperties"?"more":"fewer";return(0,A.str)`must NOT have ${r} than ${t} properties`},params:({schemaCode:e})=>(0,A._)`{limit: ${e}}`};const s={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:true,error:n,code(e){const{keyword:t,data:r,schemaCode:n}=e;const s=t==="maxProperties"?A.operators.GT:A.operators.LT;e.fail$data((0,A._)`Object.keys(${r}).length ${s} ${n}`)}};t["default"]=s},6068:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(28);const n={message:({schemaCode:e})=>(0,A.str)`must be multiple of ${e}`,params:({schemaCode:e})=>(0,A._)`{multipleOf: ${e}}`};const s={keyword:"multipleOf",type:"number",schemaType:"number",$data:true,error:n,code(e){const{gen:t,data:r,schemaCode:n,it:s}=e;const o=s.opts.multipleOfPrecision;const i=t.let("res");const a=o?(0,A._)`Math.abs(Math.round(${i}) - ${i}) > 1e-${o}`:(0,A._)`${i} !== parseInt(${i})`;e.fail$data((0,A._)`(${n} === 0 || (${i} = ${r}/${n}, ${a}))`)}};t["default"]=s},6407:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(6516);const n=r(3904);const s=r(28);const o={message:({schemaCode:e})=>(0,s.str)`must match pattern "${e}"`,params:({schemaCode:e})=>(0,s._)`{pattern: ${e}}`};const i={keyword:"pattern",type:"string",schemaType:"string",$data:true,error:o,code(e){const{gen:t,data:r,$data:o,schema:i,schemaCode:a,it:c}=e;const l=c.opts.unicodeRegExp?"u":"";if(o){const{regExp:A}=c.opts.code;const o=A.code==="new RegExp"?(0,s._)`new RegExp`:(0,n.useFunc)(t,A);const i=t.let("valid");t.try(()=>t.assign(i,(0,s._)`${o}(${a}, ${l}).test(${r})`),()=>t.assign(i,false));e.fail$data((0,s._)`!${i}`)}else{const t=(0,A.usePattern)(e,i);e.fail$data((0,s._)`!${t}.test(${r})`)}}};t["default"]=i},8216:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(6516);const n=r(28);const s=r(3904);const o={message:({params:{missingProperty:e}})=>(0,n.str)`must have required property '${e}'`,params:({params:{missingProperty:e}})=>(0,n._)`{missingProperty: ${e}}`};const i={keyword:"required",type:"object",schemaType:"array",$data:true,error:o,code(e){const{gen:t,schema:r,schemaCode:o,data:i,$data:a,it:c}=e;const{opts:l}=c;if(!a&&r.length===0)return;const u=r.length>=l.loopRequired;if(c.allErrors)allErrorsMode();else exitOnErrorMode();if(l.strictRequired){const t=e.parentSchema.properties;const{definedProperties:A}=e.it;for(const e of r){if((t===null||t===void 0?void 0:t[e])===undefined&&!A.has(e)){const t=c.schemaEnv.baseId+c.errSchemaPath;const r=`required property "${e}" is not defined at "${t}" (strictRequired)`;(0,s.checkStrictMode)(c,r,c.opts.strictRequired)}}}function allErrorsMode(){if(u||a){e.block$data(n.nil,loopAllRequired)}else{for(const t of r){(0,A.checkReportMissingProp)(e,t)}}}function exitOnErrorMode(){const n=t.let("missing");if(u||a){const r=t.let("valid",true);e.block$data(r,()=>loopUntilMissing(n,r));e.ok(r)}else{t.if((0,A.checkMissingProp)(e,r,n));(0,A.reportMissingProp)(e,n);t.else()}}function loopAllRequired(){t.forOf("prop",o,r=>{e.setParams({missingProperty:r});t.if((0,A.noPropertyInData)(t,i,r,l.ownProperties),()=>e.error())})}function loopUntilMissing(r,s){e.setParams({missingProperty:r});t.forOf(r,o,()=>{t.assign(s,(0,A.propertyInData)(t,i,r,l.ownProperties));t.if((0,n.not)(s),()=>{e.error();t.break()})},n.nil)}}};t["default"]=i},2108:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});const A=r(733);const n=r(28);const s=r(3904);const o=r(4839);const i={message:({params:{i:e,j:t}})=>(0,n.str)`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>(0,n._)`{i: ${e}, j: ${t}}`};const a={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:true,error:i,code(e){const{gen:t,data:r,$data:i,schema:a,parentSchema:c,schemaCode:l,it:u}=e;if(!i&&!a)return;const d=t.let("valid");const h=c.items?(0,A.getSchemaTypes)(c.items):[];e.block$data(d,validateUniqueItems,(0,n._)`${l} === false`);e.ok(d);function validateUniqueItems(){const A=t.let("i",(0,n._)`${r}.length`);const s=t.let("j");e.setParams({i:A,j:s});t.assign(d,true);t.if((0,n._)`${A} > 1`,()=>(canOptimize()?loopN:loopN2)(A,s))}function canOptimize(){return h.length>0&&!h.some(e=>e==="object"||e==="array")}function loopN(s,o){const i=t.name("item");const a=(0,A.checkDataTypes)(h,i,u.opts.strictNumbers,A.DataType.Wrong);const c=t.const("indices",(0,n._)`{}`);t.for((0,n._)`;${s}--;`,()=>{t.let(i,(0,n._)`${r}[${s}]`);t.if(a,(0,n._)`continue`);if(h.length>1)t.if((0,n._)`typeof ${i} == "string"`,(0,n._)`${i} += "_"`);t.if((0,n._)`typeof ${c}[${i}] == "number"`,()=>{t.assign(o,(0,n._)`${c}[${i}]`);e.error();t.assign(d,false).break()}).code((0,n._)`${c}[${i}] = ${s}`)})}function loopN2(A,i){const a=(0,s.useFunc)(t,o.default);const c=t.name("outer");t.label(c).for((0,n._)`;${A}--;`,()=>t.for((0,n._)`${i} = ${A}; ${i}--;`,()=>t.if((0,n._)`${a}(${r}[${A}], ${r}[${i}])`,()=>{e.error();t.assign(d,false).break(c)})))}}};t["default"]=a},7638:e=>{e.exports=function equal(e,t){if(e===t)return true;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return false;var r,A,n;if(Array.isArray(e)){r=e.length;if(r!=t.length)return false;for(A=r;A--!==0;)if(!equal(e[A],t[A]))return false;return true}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();n=Object.keys(e);r=n.length;if(r!==Object.keys(t).length)return false;for(A=r;A--!==0;)if(!Object.prototype.hasOwnProperty.call(t,n[A]))return false;for(A=r;A--!==0;){var s=n[A];if(!equal(e[s],t[s]))return false}return true}return e!==e&&t!==t}},8688:e=>{var t=e.exports=function(e,t,r){if(typeof t=="function"){r=t;t={}}r=t.cb||r;var A=typeof r=="function"?r:r.pre||function(){};var n=r.post||function(){};_traverse(t,A,n,e,"",e)};t.keywords={additionalItems:true,items:true,contains:true,additionalProperties:true,propertyNames:true,not:true,if:true,then:true,else:true};t.arrayKeywords={items:true,allOf:true,anyOf:true,oneOf:true};t.propsKeywords={$defs:true,definitions:true,properties:true,patternProperties:true,dependencies:true};t.skipKeywords={default:true,enum:true,const:true,required:true,maximum:true,minimum:true,exclusiveMaximum:true,exclusiveMinimum:true,multipleOf:true,maxLength:true,minLength:true,pattern:true,format:true,maxItems:true,minItems:true,uniqueItems:true,maxProperties:true,minProperties:true};function _traverse(e,r,A,n,s,o,i,a,c,l){if(n&&typeof n=="object"&&!Array.isArray(n)){r(n,s,o,i,a,c,l);for(var u in n){var d=n[u];if(Array.isArray(d)){if(u in t.arrayKeywords){for(var h=0;h{r(8479)},8479:(e,t,r)=>{var A;var n=r(9278);var s=r(4756);var o=r(8611);var i=r(5692);var a=r(4434);var c=r(2613);var l=r(9023);A=httpOverHttp;A=httpsOverHttp;A=httpOverHttps;A=httpsOverHttps;function httpOverHttp(e){var t=new TunnelingAgent(e);t.request=o.request;return t}function httpsOverHttp(e){var t=new TunnelingAgent(e);t.request=o.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function httpOverHttps(e){var t=new TunnelingAgent(e);t.request=i.request;return t}function httpsOverHttps(e){var t=new TunnelingAgent(e);t.request=i.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function TunnelingAgent(e){var t=this;t.options=e||{};t.proxyOptions=t.options.proxy||{};t.maxSockets=t.options.maxSockets||o.Agent.defaultMaxSockets;t.requests=[];t.sockets=[];t.on("free",function onFree(e,r,A,n){var s=toOptions(r,A,n);for(var o=0,i=t.requests.length;o=this.maxSockets){n.requests.push(s);return}n.createSocket(s,function(t){t.on("free",onFree);t.on("close",onCloseOrRemove);t.on("agentRemove",onCloseOrRemove);e.onSocket(t);function onFree(){n.emit("free",t,s)}function onCloseOrRemove(e){n.removeSocket(t);t.removeListener("free",onFree);t.removeListener("close",onCloseOrRemove);t.removeListener("agentRemove",onCloseOrRemove)}})};TunnelingAgent.prototype.createSocket=function createSocket(e,t){var r=this;var A={};r.sockets.push(A);var n=mergeOptions({},r.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:false,headers:{host:e.host+":"+e.port}});if(e.localAddress){n.localAddress=e.localAddress}if(n.proxyAuth){n.headers=n.headers||{};n.headers["Proxy-Authorization"]="Basic "+new Buffer(n.proxyAuth).toString("base64")}u("making CONNECT request");var s=r.request(n);s.useChunkedEncodingByDefault=false;s.once("response",onResponse);s.once("upgrade",onUpgrade);s.once("connect",onConnect);s.once("error",onError);s.end();function onResponse(e){e.upgrade=true}function onUpgrade(e,t,r){process.nextTick(function(){onConnect(e,t,r)})}function onConnect(n,o,i){s.removeAllListeners();o.removeAllListeners();if(n.statusCode!==200){u("tunneling socket could not be established, statusCode=%d",n.statusCode);o.destroy();var a=new Error("tunneling socket could not be established, "+"statusCode="+n.statusCode);a.code="ECONNRESET";e.request.emit("error",a);r.removeSocket(A);return}if(i.length>0){u("got illegal response body from proxy");o.destroy();var a=new Error("got illegal response body from proxy");a.code="ECONNRESET";e.request.emit("error",a);r.removeSocket(A);return}u("tunneling connection has established");r.sockets[r.sockets.indexOf(A)]=o;return t(o)}function onError(t){s.removeAllListeners();u("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var n=new Error("tunneling socket could not be established, "+"cause="+t.message);n.code="ECONNRESET";e.request.emit("error",n);r.removeSocket(A)}};TunnelingAgent.prototype.removeSocket=function removeSocket(e){var t=this.sockets.indexOf(e);if(t===-1){return}this.sockets.splice(t,1);var r=this.requests.shift();if(r){this.createSocket(r,function(e){r.request.onSocket(e)})}};function createSecureSocket(e,t){var r=this;TunnelingAgent.prototype.createSocket.call(r,e,function(A){var n=e.request.getHeader("host");var o=mergeOptions({},r.options,{socket:A,servername:n?n.replace(/:.*$/,""):e.host});var i=s.connect(0,o);r.sockets[r.sockets.indexOf(A)]=i;t(i)})}function toOptions(e,t,r){if(typeof e==="string"){return{host:e,port:t,localAddress:r}}return e}function mergeOptions(e){for(var t=1,r=arguments.length;t{var A;const n=r(7140);const s=r(5030);const o=r(2921);const i=r(9390);const a=r(4586);const c=r(3747);const l=r(6920);const u=r(9089);const d=r(9934);const h=r(8529);const{InvalidArgumentError:g}=d;const f=r(7998);const E=r(951);const Q=r(8570);const C=r(8444);const I=r(3927);const B=r(9654);const p=r(7877);const{getGlobalDispatcher:m,setGlobalDispatcher:y}=r(4498);const w=r(4606);const b=r(3669);const k=r(7327);Object.assign(s.prototype,f);A=s;A=n;A=o;A=i;A=a;A=c;A=l;A=u;A=p;A=w;A=b;A=k;A={redirect:r(910),retry:r(2503),dump:r(7407),dns:r(6814)};A=E;A=d;A={parseHeaders:h.parseHeaders,headerNameToString:h.headerNameToString};function makeDispatcher(e){return(t,r,A)=>{if(typeof r==="function"){A=r;r=null}if(!t||typeof t!=="string"&&typeof t!=="object"&&!(t instanceof URL)){throw new g("invalid url")}if(r!=null&&typeof r!=="object"){throw new g("invalid opts")}if(r&&r.path!=null){if(typeof r.path!=="string"){throw new g("invalid opts.path")}let e=r.path;if(!r.path.startsWith("/")){e=`/${e}`}t=new URL(h.parseOrigin(t).origin+e)}else{if(!r){r=typeof t==="object"?t:{}}t=h.parseURL(t)}const{agent:n,dispatcher:s=m()}=r;if(n){throw new g("unsupported opts.agent. Did you mean opts.client?")}return e.call(s,{...r,origin:t.origin,path:t.search?`${t.pathname}${t.search}`:t.pathname,method:r.method||(r.body?"PUT":"GET")},A)}}A=y;A=m;const D=r(8263).fetch;A=async function fetch(e,t=undefined){try{return await D(e,t)}catch(e){if(e&&typeof e==="object"){Error.captureStackTrace(e)}throw e}};r(3257).Headers;r(1328).Response;r(6398).Request;r(7653).FormData;A=globalThis.File??r(4573).File;r(5660).FileReader;const{setGlobalOrigin:R,getGlobalOrigin:S}=r(8712);A=R;A=S;const{CacheStorage:F}=r(2118);const{kConstruct:N}=r(8404);A=new F(N);const{deleteCookie:v,getCookies:M,getSetCookies:U,setCookie:T}=r(6748);A=v;A=M;A=U;A=T;const{parseMIMEType:L,serializeAMimeType:x}=r(5192);A=L;A=x;const{CloseEvent:H,ErrorEvent:G,MessageEvent:Y}=r(659);r(9708).WebSocket;A=H;A=G;A=Y;A=makeDispatcher(f.request);A=makeDispatcher(f.stream);A=makeDispatcher(f.pipeline);A=makeDispatcher(f.connect);A=makeDispatcher(f.upgrade);A=Q;A=I;A=C;A=B;const{EventSource:P}=r(9207);A=P},2917:(e,t,r)=>{const{addAbortListener:A}=r(8529);const{RequestAbortedError:n}=r(9934);const s=Symbol("kListener");const o=Symbol("kSignal");function abort(e){if(e.abort){e.abort(e[o]?.reason)}else{e.reason=e[o]?.reason??new n}removeSignal(e)}function addSignal(e,t){e.reason=null;e[o]=null;e[s]=null;if(!t){return}if(t.aborted){abort(e);return}e[o]=t;e[s]=()=>{abort(e)};A(e[o],e[s])}function removeSignal(e){if(!e[o]){return}if("removeEventListener"in e[o]){e[o].removeEventListener("abort",e[s])}else{e[o].removeListener("abort",e[s])}e[o]=null;e[s]=null}e.exports={addSignal:addSignal,removeSignal:removeSignal}},4505:(e,t,r)=>{const A=r(4589);const{AsyncResource:n}=r(6698);const{InvalidArgumentError:s,SocketError:o}=r(9934);const i=r(8529);const{addSignal:a,removeSignal:c}=r(2917);class ConnectHandler extends n{constructor(e,t){if(!e||typeof e!=="object"){throw new s("invalid opts")}if(typeof t!=="function"){throw new s("invalid callback")}const{signal:r,opaque:A,responseHeaders:n}=e;if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function"){throw new s("signal must be an EventEmitter or EventTarget")}super("UNDICI_CONNECT");this.opaque=A||null;this.responseHeaders=n||null;this.callback=t;this.abort=null;a(this,r)}onConnect(e,t){if(this.reason){e(this.reason);return}A(this.callback);this.abort=e;this.context=t}onHeaders(){throw new o("bad connect",null)}onUpgrade(e,t,r){const{callback:A,opaque:n,context:s}=this;c(this);this.callback=null;let o=t;if(o!=null){o=this.responseHeaders==="raw"?i.parseRawHeaders(t):i.parseHeaders(t)}this.runInAsyncScope(A,null,null,{statusCode:e,headers:o,socket:r,opaque:n,context:s})}onError(e){const{callback:t,opaque:r}=this;c(this);if(t){this.callback=null;queueMicrotask(()=>{this.runInAsyncScope(t,null,e,{opaque:r})})}}}function connect(e,t){if(t===undefined){return new Promise((t,r)=>{connect.call(this,e,(e,A)=>e?r(e):t(A))})}try{const r=new ConnectHandler(e,t);this.dispatch({...e,method:"CONNECT"},r)}catch(r){if(typeof t!=="function"){throw r}const A=e?.opaque;queueMicrotask(()=>t(r,{opaque:A}))}}e.exports=connect},7329:(e,t,r)=>{const{Readable:A,Duplex:n,PassThrough:s}=r(7075);const{InvalidArgumentError:o,InvalidReturnValueError:i,RequestAbortedError:a}=r(9934);const c=r(8529);const{AsyncResource:l}=r(6698);const{addSignal:u,removeSignal:d}=r(2917);const h=r(4589);const g=Symbol("resume");class PipelineRequest extends A{constructor(){super({autoDestroy:true});this[g]=null}_read(){const{[g]:e}=this;if(e){this[g]=null;e()}}_destroy(e,t){this._read();t(e)}}class PipelineResponse extends A{constructor(e){super({autoDestroy:true});this[g]=e}_read(){this[g]()}_destroy(e,t){if(!e&&!this._readableState.endEmitted){e=new a}t(e)}}class PipelineHandler extends l{constructor(e,t){if(!e||typeof e!=="object"){throw new o("invalid opts")}if(typeof t!=="function"){throw new o("invalid handler")}const{signal:r,method:A,opaque:s,onInfo:i,responseHeaders:l}=e;if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function"){throw new o("signal must be an EventEmitter or EventTarget")}if(A==="CONNECT"){throw new o("invalid method")}if(i&&typeof i!=="function"){throw new o("invalid onInfo callback")}super("UNDICI_PIPELINE");this.opaque=s||null;this.responseHeaders=l||null;this.handler=t;this.abort=null;this.context=null;this.onInfo=i||null;this.req=(new PipelineRequest).on("error",c.nop);this.ret=new n({readableObjectMode:e.objectMode,autoDestroy:true,read:()=>{const{body:e}=this;if(e?.resume){e.resume()}},write:(e,t,r)=>{const{req:A}=this;if(A.push(e,t)||A._readableState.destroyed){r()}else{A[g]=r}},destroy:(e,t)=>{const{body:r,req:A,res:n,ret:s,abort:o}=this;if(!e&&!s._readableState.endEmitted){e=new a}if(o&&e){o()}c.destroy(r,e);c.destroy(A,e);c.destroy(n,e);d(this);t(e)}}).on("prefinish",()=>{const{req:e}=this;e.push(null)});this.res=null;u(this,r)}onConnect(e,t){const{ret:r,res:A}=this;if(this.reason){e(this.reason);return}h(!A,"pipeline cannot be retried");h(!r.destroyed);this.abort=e;this.context=t}onHeaders(e,t,r){const{opaque:A,handler:n,context:s}=this;if(e<200){if(this.onInfo){const r=this.responseHeaders==="raw"?c.parseRawHeaders(t):c.parseHeaders(t);this.onInfo({statusCode:e,headers:r})}return}this.res=new PipelineResponse(r);let o;try{this.handler=null;const r=this.responseHeaders==="raw"?c.parseRawHeaders(t):c.parseHeaders(t);o=this.runInAsyncScope(n,null,{statusCode:e,headers:r,opaque:A,body:this.res,context:s})}catch(e){this.res.on("error",c.nop);throw e}if(!o||typeof o.on!=="function"){throw new i("expected Readable")}o.on("data",e=>{const{ret:t,body:r}=this;if(!t.push(e)&&r.pause){r.pause()}}).on("error",e=>{const{ret:t}=this;c.destroy(t,e)}).on("end",()=>{const{ret:e}=this;e.push(null)}).on("close",()=>{const{ret:e}=this;if(!e._readableState.ended){c.destroy(e,new a)}});this.body=o}onData(e){const{res:t}=this;return t.push(e)}onComplete(e){const{res:t}=this;t.push(null)}onError(e){const{ret:t}=this;this.handler=null;c.destroy(t,e)}}function pipeline(e,t){try{const r=new PipelineHandler(e,t);this.dispatch({...e,body:r.req},r);return r.ret}catch(e){return(new s).destroy(e)}}e.exports=pipeline},3850:(e,t,r)=>{const A=r(4589);const{Readable:n}=r(2036);const{InvalidArgumentError:s,RequestAbortedError:o}=r(9934);const i=r(8529);const{getResolveErrorBodyCallback:a}=r(8352);const{AsyncResource:c}=r(6698);class RequestHandler extends c{constructor(e,t){if(!e||typeof e!=="object"){throw new s("invalid opts")}const{signal:r,method:A,opaque:n,body:a,onInfo:c,responseHeaders:l,throwOnError:u,highWaterMark:d}=e;try{if(typeof t!=="function"){throw new s("invalid callback")}if(d&&(typeof d!=="number"||d<0)){throw new s("invalid highWaterMark")}if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function"){throw new s("signal must be an EventEmitter or EventTarget")}if(A==="CONNECT"){throw new s("invalid method")}if(c&&typeof c!=="function"){throw new s("invalid onInfo callback")}super("UNDICI_REQUEST")}catch(e){if(i.isStream(a)){i.destroy(a.on("error",i.nop),e)}throw e}this.method=A;this.responseHeaders=l||null;this.opaque=n||null;this.callback=t;this.res=null;this.abort=null;this.body=a;this.trailers={};this.context=null;this.onInfo=c||null;this.throwOnError=u;this.highWaterMark=d;this.signal=r;this.reason=null;this.removeAbortListener=null;if(i.isStream(a)){a.on("error",e=>{this.onError(e)})}if(this.signal){if(this.signal.aborted){this.reason=this.signal.reason??new o}else{this.removeAbortListener=i.addAbortListener(this.signal,()=>{this.reason=this.signal.reason??new o;if(this.res){i.destroy(this.res.on("error",i.nop),this.reason)}else if(this.abort){this.abort(this.reason)}if(this.removeAbortListener){this.res?.off("close",this.removeAbortListener);this.removeAbortListener();this.removeAbortListener=null}})}}}onConnect(e,t){if(this.reason){e(this.reason);return}A(this.callback);this.abort=e;this.context=t}onHeaders(e,t,r,A){const{callback:s,opaque:o,abort:c,context:l,responseHeaders:u,highWaterMark:d}=this;const h=u==="raw"?i.parseRawHeaders(t):i.parseHeaders(t);if(e<200){if(this.onInfo){this.onInfo({statusCode:e,headers:h})}return}const g=u==="raw"?i.parseHeaders(t):h;const f=g["content-type"];const E=g["content-length"];const Q=new n({resume:r,abort:c,contentType:f,contentLength:this.method!=="HEAD"&&E?Number(E):null,highWaterMark:d});if(this.removeAbortListener){Q.on("close",this.removeAbortListener)}this.callback=null;this.res=Q;if(s!==null){if(this.throwOnError&&e>=400){this.runInAsyncScope(a,null,{callback:s,body:Q,contentType:f,statusCode:e,statusMessage:A,headers:h})}else{this.runInAsyncScope(s,null,null,{statusCode:e,headers:h,trailers:this.trailers,opaque:o,body:Q,context:l})}}}onData(e){return this.res.push(e)}onComplete(e){i.parseHeaders(e,this.trailers);this.res.push(null)}onError(e){const{res:t,callback:r,body:A,opaque:n}=this;if(r){this.callback=null;queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})})}if(t){this.res=null;queueMicrotask(()=>{i.destroy(t,e)})}if(A){this.body=null;i.destroy(A,e)}if(this.removeAbortListener){t?.off("close",this.removeAbortListener);this.removeAbortListener();this.removeAbortListener=null}}}function request(e,t){if(t===undefined){return new Promise((t,r)=>{request.call(this,e,(e,A)=>e?r(e):t(A))})}try{this.dispatch(e,new RequestHandler(e,t))}catch(r){if(typeof t!=="function"){throw r}const A=e?.opaque;queueMicrotask(()=>t(r,{opaque:A}))}}e.exports=request;e.exports.RequestHandler=RequestHandler},2159:(e,t,r)=>{const A=r(4589);const{finished:n,PassThrough:s}=r(7075);const{InvalidArgumentError:o,InvalidReturnValueError:i}=r(9934);const a=r(8529);const{getResolveErrorBodyCallback:c}=r(8352);const{AsyncResource:l}=r(6698);const{addSignal:u,removeSignal:d}=r(2917);class StreamHandler extends l{constructor(e,t,r){if(!e||typeof e!=="object"){throw new o("invalid opts")}const{signal:A,method:n,opaque:s,body:i,onInfo:c,responseHeaders:l,throwOnError:d}=e;try{if(typeof r!=="function"){throw new o("invalid callback")}if(typeof t!=="function"){throw new o("invalid factory")}if(A&&typeof A.on!=="function"&&typeof A.addEventListener!=="function"){throw new o("signal must be an EventEmitter or EventTarget")}if(n==="CONNECT"){throw new o("invalid method")}if(c&&typeof c!=="function"){throw new o("invalid onInfo callback")}super("UNDICI_STREAM")}catch(e){if(a.isStream(i)){a.destroy(i.on("error",a.nop),e)}throw e}this.responseHeaders=l||null;this.opaque=s||null;this.factory=t;this.callback=r;this.res=null;this.abort=null;this.context=null;this.trailers=null;this.body=i;this.onInfo=c||null;this.throwOnError=d||false;if(a.isStream(i)){i.on("error",e=>{this.onError(e)})}u(this,A)}onConnect(e,t){if(this.reason){e(this.reason);return}A(this.callback);this.abort=e;this.context=t}onHeaders(e,t,r,A){const{factory:o,opaque:l,context:u,callback:d,responseHeaders:h}=this;const g=h==="raw"?a.parseRawHeaders(t):a.parseHeaders(t);if(e<200){if(this.onInfo){this.onInfo({statusCode:e,headers:g})}return}this.factory=null;let f;if(this.throwOnError&&e>=400){const r=h==="raw"?a.parseHeaders(t):g;const n=r["content-type"];f=new s;this.callback=null;this.runInAsyncScope(c,null,{callback:d,body:f,contentType:n,statusCode:e,statusMessage:A,headers:g})}else{if(o===null){return}f=this.runInAsyncScope(o,null,{statusCode:e,headers:g,opaque:l,context:u});if(!f||typeof f.write!=="function"||typeof f.end!=="function"||typeof f.on!=="function"){throw new i("expected Writable")}n(f,{readable:false},e=>{const{callback:t,res:r,opaque:A,trailers:n,abort:s}=this;this.res=null;if(e||!r.readable){a.destroy(r,e)}this.callback=null;this.runInAsyncScope(t,null,e||null,{opaque:A,trailers:n});if(e){s()}})}f.on("drain",r);this.res=f;const E=f.writableNeedDrain!==undefined?f.writableNeedDrain:f._writableState?.needDrain;return E!==true}onData(e){const{res:t}=this;return t?t.write(e):true}onComplete(e){const{res:t}=this;d(this);if(!t){return}this.trailers=a.parseHeaders(e);t.end()}onError(e){const{res:t,callback:r,opaque:A,body:n}=this;d(this);this.factory=null;if(t){this.res=null;a.destroy(t,e)}else if(r){this.callback=null;queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:A})})}if(n){this.body=null;a.destroy(n,e)}}}function stream(e,t,r){if(r===undefined){return new Promise((r,A)=>{stream.call(this,e,t,(e,t)=>e?A(e):r(t))})}try{this.dispatch(e,new StreamHandler(e,t,r))}catch(t){if(typeof r!=="function"){throw t}const A=e?.opaque;queueMicrotask(()=>r(t,{opaque:A}))}}e.exports=stream},3827:(e,t,r)=>{const{InvalidArgumentError:A,SocketError:n}=r(9934);const{AsyncResource:s}=r(6698);const o=r(8529);const{addSignal:i,removeSignal:a}=r(2917);const c=r(4589);class UpgradeHandler extends s{constructor(e,t){if(!e||typeof e!=="object"){throw new A("invalid opts")}if(typeof t!=="function"){throw new A("invalid callback")}const{signal:r,opaque:n,responseHeaders:s}=e;if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function"){throw new A("signal must be an EventEmitter or EventTarget")}super("UNDICI_UPGRADE");this.responseHeaders=s||null;this.opaque=n||null;this.callback=t;this.abort=null;this.context=null;i(this,r)}onConnect(e,t){if(this.reason){e(this.reason);return}c(this.callback);this.abort=e;this.context=null}onHeaders(){throw new n("bad upgrade",null)}onUpgrade(e,t,r){c(e===101);const{callback:A,opaque:n,context:s}=this;a(this);this.callback=null;const i=this.responseHeaders==="raw"?o.parseRawHeaders(t):o.parseHeaders(t);this.runInAsyncScope(A,null,null,{headers:i,socket:r,opaque:n,context:s})}onError(e){const{callback:t,opaque:r}=this;a(this);if(t){this.callback=null;queueMicrotask(()=>{this.runInAsyncScope(t,null,e,{opaque:r})})}}}function upgrade(e,t){if(t===undefined){return new Promise((t,r)=>{upgrade.call(this,e,(e,A)=>e?r(e):t(A))})}try{const r=new UpgradeHandler(e,t);this.dispatch({...e,method:e.method||"GET",upgrade:e.protocol||"Websocket"},r)}catch(r){if(typeof t!=="function"){throw r}const A=e?.opaque;queueMicrotask(()=>t(r,{opaque:A}))}}e.exports=upgrade},7998:(e,t,r)=>{e.exports.request=r(3850);e.exports.stream=r(2159);e.exports.pipeline=r(7329);e.exports.upgrade=r(3827);e.exports.connect=r(4505)},2036:(e,t,r)=>{const A=r(4589);const{Readable:n}=r(7075);const{RequestAbortedError:s,NotSupportedError:o,InvalidArgumentError:i,AbortError:a}=r(9934);const c=r(8529);const{ReadableStreamFrom:l}=r(8529);const u=Symbol("kConsume");const d=Symbol("kReading");const h=Symbol("kBody");const g=Symbol("kAbort");const f=Symbol("kContentType");const E=Symbol("kContentLength");const noop=()=>{};class BodyReadable extends n{constructor({resume:e,abort:t,contentType:r="",contentLength:A,highWaterMark:n=64*1024}){super({autoDestroy:true,read:e,highWaterMark:n});this._readableState.dataEmitted=false;this[g]=t;this[u]=null;this[h]=null;this[f]=r;this[E]=A;this[d]=false}destroy(e){if(!e&&!this._readableState.endEmitted){e=new s}if(e){this[g]()}return super.destroy(e)}_destroy(e,t){if(!this[d]){setImmediate(()=>{t(e)})}else{t(e)}}on(e,...t){if(e==="data"||e==="readable"){this[d]=true}return super.on(e,...t)}addListener(e,...t){return this.on(e,...t)}off(e,...t){const r=super.off(e,...t);if(e==="data"||e==="readable"){this[d]=this.listenerCount("data")>0||this.listenerCount("readable")>0}return r}removeListener(e,...t){return this.off(e,...t)}push(e){if(this[u]&&e!==null){consumePush(this[u],e);return this[d]?super.push(e):true}return super.push(e)}async text(){return consume(this,"text")}async json(){return consume(this,"json")}async blob(){return consume(this,"blob")}async bytes(){return consume(this,"bytes")}async arrayBuffer(){return consume(this,"arrayBuffer")}async formData(){throw new o}get bodyUsed(){return c.isDisturbed(this)}get body(){if(!this[h]){this[h]=l(this);if(this[u]){this[h].getReader();A(this[h].locked)}}return this[h]}async dump(e){let t=Number.isFinite(e?.limit)?e.limit:128*1024;const r=e?.signal;if(r!=null&&(typeof r!=="object"||!("aborted"in r))){throw new i("signal must be an AbortSignal")}r?.throwIfAborted();if(this._readableState.closeEmitted){return null}return await new Promise((e,A)=>{if(this[E]>t){this.destroy(new a)}const onAbort=()=>{this.destroy(r.reason??new a)};r?.addEventListener("abort",onAbort);this.on("close",function(){r?.removeEventListener("abort",onAbort);if(r?.aborted){A(r.reason??new a)}else{e(null)}}).on("error",noop).on("data",function(e){t-=e.length;if(t<=0){this.destroy()}}).resume()})}}function isLocked(e){return e[h]&&e[h].locked===true||e[u]}function isUnusable(e){return c.isDisturbed(e)||isLocked(e)}async function consume(e,t){A(!e[u]);return new Promise((r,A)=>{if(isUnusable(e)){const t=e._readableState;if(t.destroyed&&t.closeEmitted===false){e.on("error",e=>{A(e)}).on("close",()=>{A(new TypeError("unusable"))})}else{A(t.errored??new TypeError("unusable"))}}else{queueMicrotask(()=>{e[u]={type:t,stream:e,resolve:r,reject:A,length:0,body:[]};e.on("error",function(e){consumeFinish(this[u],e)}).on("close",function(){if(this[u].body!==null){consumeFinish(this[u],new s)}});consumeStart(e[u])})}})}function consumeStart(e){if(e.body===null){return}const{_readableState:t}=e.stream;if(t.bufferIndex){const r=t.bufferIndex;const A=t.buffer.length;for(let n=r;n2&&r[0]===239&&r[1]===187&&r[2]===191?3:0;return r.utf8Slice(n,A)}function chunksConcat(e,t){if(e.length===0||t===0){return new Uint8Array(0)}if(e.length===1){return new Uint8Array(e[0])}const r=new Uint8Array(Buffer.allocUnsafeSlow(t).buffer);let A=0;for(let t=0;t{const A=r(4589);const{ResponseStatusCodeError:n}=r(9934);const{chunksDecode:s}=r(2036);const o=128*1024;async function getResolveErrorBodyCallback({callback:e,body:t,contentType:r,statusCode:i,statusMessage:a,headers:c}){A(t);let l=[];let u=0;try{for await(const e of t){l.push(e);u+=e.length;if(u>o){l=[];u=0;break}}}catch{l=[];u=0}const d=`Response status code ${i}${a?`: ${a}`:""}`;if(i===204||!r||!u){queueMicrotask(()=>e(new n(d,i,c)));return}const h=Error.stackTraceLimit;Error.stackTraceLimit=0;let g;try{if(isContentTypeApplicationJson(r)){g=JSON.parse(s(l,u))}else if(isContentTypeText(r)){g=s(l,u)}}catch{}finally{Error.stackTraceLimit=h}queueMicrotask(()=>e(new n(d,i,c,g)))}const isContentTypeApplicationJson=e=>e.length>15&&e[11]==="/"&&e[0]==="a"&&e[1]==="p"&&e[2]==="p"&&e[3]==="l"&&e[4]==="i"&&e[5]==="c"&&e[6]==="a"&&e[7]==="t"&&e[8]==="i"&&e[9]==="o"&&e[10]==="n"&&e[12]==="j"&&e[13]==="s"&&e[14]==="o"&&e[15]==="n";const isContentTypeText=e=>e.length>4&&e[4]==="/"&&e[0]==="t"&&e[1]==="e"&&e[2]==="x"&&e[3]==="t";e.exports={getResolveErrorBodyCallback:getResolveErrorBodyCallback,isContentTypeApplicationJson:isContentTypeApplicationJson,isContentTypeText:isContentTypeText}},951:(e,t,r)=>{const A=r(7030);const n=r(4589);const s=r(8529);const{InvalidArgumentError:o,ConnectTimeoutError:i}=r(9934);const a=r(4486);function noop(){}let c;let l;if(global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)){l=class WeakSessionCache{constructor(e){this._maxCachedSessions=e;this._sessionCache=new Map;this._sessionRegistry=new global.FinalizationRegistry(e=>{if(this._sessionCache.size=this._maxCachedSessions){const{value:e}=this._sessionCache.keys().next();this._sessionCache.delete(e)}this._sessionCache.set(e,t)}}}function buildConnector({allowH2:e,maxCachedSessions:t,socketPath:i,timeout:a,session:d,...h}){if(t!=null&&(!Number.isInteger(t)||t<0)){throw new o("maxCachedSessions must be a positive integer or zero")}const g={path:i,...h};const f=new l(t==null?100:t);a=a==null?1e4:a;e=e!=null?e:false;return function connect({hostname:t,host:o,protocol:i,port:l,servername:h,localAddress:E,httpSocket:Q},C){let I;if(i==="https:"){if(!c){c=r(1692)}h=h||g.servername||s.getServerName(o)||null;const A=h||t;n(A);const i=d||f.get(A)||null;l=l||443;I=c.connect({highWaterMark:16384,...g,servername:h,session:i,localAddress:E,ALPNProtocols:e?["http/1.1","h2"]:["http/1.1"],socket:Q,port:l,host:t});I.on("session",function(e){f.set(A,e)})}else{n(!Q,"httpSocket can only be sent on TLS update");l=l||80;I=A.connect({highWaterMark:64*1024,...g,localAddress:E,port:l,host:t})}if(g.keepAlive==null||g.keepAlive){const e=g.keepAliveInitialDelay===undefined?6e4:g.keepAliveInitialDelay;I.setKeepAlive(true,e)}const B=u(new WeakRef(I),{timeout:a,hostname:t,port:l});I.setNoDelay(true).once(i==="https:"?"secureConnect":"connect",function(){queueMicrotask(B);if(C){const e=C;C=null;e(null,this)}}).on("error",function(e){queueMicrotask(B);if(C){const t=C;C=null;t(e)}});return I}}const u=process.platform==="win32"?(e,t)=>{if(!t.timeout){return noop}let r=null;let A=null;const n=a.setFastTimeout(()=>{r=setImmediate(()=>{A=setImmediate(()=>onConnectTimeout(e.deref(),t))})},t.timeout);return()=>{a.clearFastTimeout(n);clearImmediate(r);clearImmediate(A)}}:(e,t)=>{if(!t.timeout){return noop}let r=null;const A=a.setFastTimeout(()=>{r=setImmediate(()=>{onConnectTimeout(e.deref(),t)})},t.timeout);return()=>{a.clearFastTimeout(A);clearImmediate(r)}};function onConnectTimeout(e,t){if(e==null){return}let r="Connect Timeout Error";if(Array.isArray(e.autoSelectFamilyAttemptedAddresses)){r+=` (attempted addresses: ${e.autoSelectFamilyAttemptedAddresses.join(", ")},`}else{r+=` (attempted address: ${t.hostname}:${t.port},`}r+=` timeout: ${t.timeout}ms)`;s.destroy(e,new i(r))}e.exports=buildConnector},4448:e=>{const t={};const r=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"];for(let e=0;e{const A=r(3053);const n=r(7975);const s=n.debuglog("undici");const o=n.debuglog("fetch");const i=n.debuglog("websocket");let a=false;const c={beforeConnect:A.channel("undici:client:beforeConnect"),connected:A.channel("undici:client:connected"),connectError:A.channel("undici:client:connectError"),sendHeaders:A.channel("undici:client:sendHeaders"),create:A.channel("undici:request:create"),bodySent:A.channel("undici:request:bodySent"),headers:A.channel("undici:request:headers"),trailers:A.channel("undici:request:trailers"),error:A.channel("undici:request:error"),open:A.channel("undici:websocket:open"),close:A.channel("undici:websocket:close"),socketError:A.channel("undici:websocket:socket_error"),ping:A.channel("undici:websocket:ping"),pong:A.channel("undici:websocket:pong")};if(s.enabled||o.enabled){const e=o.enabled?o:s;A.channel("undici:client:beforeConnect").subscribe(t=>{const{connectParams:{version:r,protocol:A,port:n,host:s}}=t;e("connecting to %s using %s%s",`${s}${n?`:${n}`:""}`,A,r)});A.channel("undici:client:connected").subscribe(t=>{const{connectParams:{version:r,protocol:A,port:n,host:s}}=t;e("connected to %s using %s%s",`${s}${n?`:${n}`:""}`,A,r)});A.channel("undici:client:connectError").subscribe(t=>{const{connectParams:{version:r,protocol:A,port:n,host:s},error:o}=t;e("connection to %s using %s%s errored - %s",`${s}${n?`:${n}`:""}`,A,r,o.message)});A.channel("undici:client:sendHeaders").subscribe(t=>{const{request:{method:r,path:A,origin:n}}=t;e("sending request to %s %s/%s",r,n,A)});A.channel("undici:request:headers").subscribe(t=>{const{request:{method:r,path:A,origin:n},response:{statusCode:s}}=t;e("received response to %s %s/%s - HTTP %d",r,n,A,s)});A.channel("undici:request:trailers").subscribe(t=>{const{request:{method:r,path:A,origin:n}}=t;e("trailers received from %s %s/%s",r,n,A)});A.channel("undici:request:error").subscribe(t=>{const{request:{method:r,path:A,origin:n},error:s}=t;e("request to %s %s/%s errored - %s",r,n,A,s.message)});a=true}if(i.enabled){if(!a){const e=s.enabled?s:i;A.channel("undici:client:beforeConnect").subscribe(t=>{const{connectParams:{version:r,protocol:A,port:n,host:s}}=t;e("connecting to %s%s using %s%s",s,n?`:${n}`:"",A,r)});A.channel("undici:client:connected").subscribe(t=>{const{connectParams:{version:r,protocol:A,port:n,host:s}}=t;e("connected to %s%s using %s%s",s,n?`:${n}`:"",A,r)});A.channel("undici:client:connectError").subscribe(t=>{const{connectParams:{version:r,protocol:A,port:n,host:s},error:o}=t;e("connection to %s%s using %s%s errored - %s",s,n?`:${n}`:"",A,r,o.message)});A.channel("undici:client:sendHeaders").subscribe(t=>{const{request:{method:r,path:A,origin:n}}=t;e("sending request to %s %s/%s",r,n,A)})}A.channel("undici:websocket:open").subscribe(e=>{const{address:{address:t,port:r}}=e;i("connection opened %s%s",t,r?`:${r}`:"")});A.channel("undici:websocket:close").subscribe(e=>{const{websocket:t,code:r,reason:A}=e;i("closed connection to %s - %s %s",t.url,r,A)});A.channel("undici:websocket:socket_error").subscribe(e=>{i("connection errored - %s",e.message)});A.channel("undici:websocket:ping").subscribe(e=>{i("ping received")});A.channel("undici:websocket:pong").subscribe(e=>{i("pong received")})}e.exports={channels:c}},9934:e=>{const t=Symbol.for("undici.error.UND_ERR");class UndiciError extends Error{constructor(e){super(e);this.name="UndiciError";this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&e[t]===true}[t]=true}const r=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT");class ConnectTimeoutError extends UndiciError{constructor(e){super(e);this.name="ConnectTimeoutError";this.message=e||"Connect Timeout Error";this.code="UND_ERR_CONNECT_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[r]===true}[r]=true}const A=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT");class HeadersTimeoutError extends UndiciError{constructor(e){super(e);this.name="HeadersTimeoutError";this.message=e||"Headers Timeout Error";this.code="UND_ERR_HEADERS_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[A]===true}[A]=true}const n=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW");class HeadersOverflowError extends UndiciError{constructor(e){super(e);this.name="HeadersOverflowError";this.message=e||"Headers Overflow Error";this.code="UND_ERR_HEADERS_OVERFLOW"}static[Symbol.hasInstance](e){return e&&e[n]===true}[n]=true}const s=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT");class BodyTimeoutError extends UndiciError{constructor(e){super(e);this.name="BodyTimeoutError";this.message=e||"Body Timeout Error";this.code="UND_ERR_BODY_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[s]===true}[s]=true}const o=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE");class ResponseStatusCodeError extends UndiciError{constructor(e,t,r,A){super(e);this.name="ResponseStatusCodeError";this.message=e||"Response Status Code Error";this.code="UND_ERR_RESPONSE_STATUS_CODE";this.body=A;this.status=t;this.statusCode=t;this.headers=r}static[Symbol.hasInstance](e){return e&&e[o]===true}[o]=true}const i=Symbol.for("undici.error.UND_ERR_INVALID_ARG");class InvalidArgumentError extends UndiciError{constructor(e){super(e);this.name="InvalidArgumentError";this.message=e||"Invalid Argument Error";this.code="UND_ERR_INVALID_ARG"}static[Symbol.hasInstance](e){return e&&e[i]===true}[i]=true}const a=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE");class InvalidReturnValueError extends UndiciError{constructor(e){super(e);this.name="InvalidReturnValueError";this.message=e||"Invalid Return Value Error";this.code="UND_ERR_INVALID_RETURN_VALUE"}static[Symbol.hasInstance](e){return e&&e[a]===true}[a]=true}const c=Symbol.for("undici.error.UND_ERR_ABORT");class AbortError extends UndiciError{constructor(e){super(e);this.name="AbortError";this.message=e||"The operation was aborted";this.code="UND_ERR_ABORT"}static[Symbol.hasInstance](e){return e&&e[c]===true}[c]=true}const l=Symbol.for("undici.error.UND_ERR_ABORTED");class RequestAbortedError extends AbortError{constructor(e){super(e);this.name="AbortError";this.message=e||"Request aborted";this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](e){return e&&e[l]===true}[l]=true}const u=Symbol.for("undici.error.UND_ERR_INFO");class InformationalError extends UndiciError{constructor(e){super(e);this.name="InformationalError";this.message=e||"Request information";this.code="UND_ERR_INFO"}static[Symbol.hasInstance](e){return e&&e[u]===true}[u]=true}const d=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH");class RequestContentLengthMismatchError extends UndiciError{constructor(e){super(e);this.name="RequestContentLengthMismatchError";this.message=e||"Request body length does not match content-length header";this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&e[d]===true}[d]=true}const h=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH");class ResponseContentLengthMismatchError extends UndiciError{constructor(e){super(e);this.name="ResponseContentLengthMismatchError";this.message=e||"Response body length does not match content-length header";this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&e[h]===true}[h]=true}const g=Symbol.for("undici.error.UND_ERR_DESTROYED");class ClientDestroyedError extends UndiciError{constructor(e){super(e);this.name="ClientDestroyedError";this.message=e||"The client is destroyed";this.code="UND_ERR_DESTROYED"}static[Symbol.hasInstance](e){return e&&e[g]===true}[g]=true}const f=Symbol.for("undici.error.UND_ERR_CLOSED");class ClientClosedError extends UndiciError{constructor(e){super(e);this.name="ClientClosedError";this.message=e||"The client is closed";this.code="UND_ERR_CLOSED"}static[Symbol.hasInstance](e){return e&&e[f]===true}[f]=true}const E=Symbol.for("undici.error.UND_ERR_SOCKET");class SocketError extends UndiciError{constructor(e,t){super(e);this.name="SocketError";this.message=e||"Socket error";this.code="UND_ERR_SOCKET";this.socket=t}static[Symbol.hasInstance](e){return e&&e[E]===true}[E]=true}const Q=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED");class NotSupportedError extends UndiciError{constructor(e){super(e);this.name="NotSupportedError";this.message=e||"Not supported error";this.code="UND_ERR_NOT_SUPPORTED"}static[Symbol.hasInstance](e){return e&&e[Q]===true}[Q]=true}const C=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM");class BalancedPoolMissingUpstreamError extends UndiciError{constructor(e){super(e);this.name="MissingUpstreamError";this.message=e||"No upstream has been added to the BalancedPool";this.code="UND_ERR_BPL_MISSING_UPSTREAM"}static[Symbol.hasInstance](e){return e&&e[C]===true}[C]=true}const I=Symbol.for("undici.error.UND_ERR_HTTP_PARSER");class HTTPParserError extends Error{constructor(e,t,r){super(e);this.name="HTTPParserError";this.code=t?`HPE_${t}`:undefined;this.data=r?r.toString():undefined}static[Symbol.hasInstance](e){return e&&e[I]===true}[I]=true}const B=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE");class ResponseExceededMaxSizeError extends UndiciError{constructor(e){super(e);this.name="ResponseExceededMaxSizeError";this.message=e||"Response content exceeded max size";this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}static[Symbol.hasInstance](e){return e&&e[B]===true}[B]=true}const p=Symbol.for("undici.error.UND_ERR_REQ_RETRY");class RequestRetryError extends UndiciError{constructor(e,t,{headers:r,data:A}){super(e);this.name="RequestRetryError";this.message=e||"Request retry error";this.code="UND_ERR_REQ_RETRY";this.statusCode=t;this.data=A;this.headers=r}static[Symbol.hasInstance](e){return e&&e[p]===true}[p]=true}const m=Symbol.for("undici.error.UND_ERR_RESPONSE");class ResponseError extends UndiciError{constructor(e,t,{headers:r,data:A}){super(e);this.name="ResponseError";this.message=e||"Response error";this.code="UND_ERR_RESPONSE";this.statusCode=t;this.data=A;this.headers=r}static[Symbol.hasInstance](e){return e&&e[m]===true}[m]=true}const y=Symbol.for("undici.error.UND_ERR_PRX_TLS");class SecureProxyConnectionError extends UndiciError{constructor(e,t,r){super(t,{cause:e,...r??{}});this.name="SecureProxyConnectionError";this.message=t||"Secure Proxy Connection failed";this.code="UND_ERR_PRX_TLS";this.cause=e}static[Symbol.hasInstance](e){return e&&e[y]===true}[y]=true}const w=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED");class MessageSizeExceededError extends UndiciError{constructor(e){super(e);this.name="MessageSizeExceededError";this.message=e||"Max decompressed message size exceeded";this.code="UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"}static[Symbol.hasInstance](e){return e&&e[w]===true}get[w](){return true}}e.exports={AbortError:AbortError,HTTPParserError:HTTPParserError,UndiciError:UndiciError,HeadersTimeoutError:HeadersTimeoutError,HeadersOverflowError:HeadersOverflowError,BodyTimeoutError:BodyTimeoutError,RequestContentLengthMismatchError:RequestContentLengthMismatchError,ConnectTimeoutError:ConnectTimeoutError,ResponseStatusCodeError:ResponseStatusCodeError,InvalidArgumentError:InvalidArgumentError,InvalidReturnValueError:InvalidReturnValueError,RequestAbortedError:RequestAbortedError,ClientDestroyedError:ClientDestroyedError,ClientClosedError:ClientClosedError,InformationalError:InformationalError,SocketError:SocketError,NotSupportedError:NotSupportedError,ResponseContentLengthMismatchError:ResponseContentLengthMismatchError,BalancedPoolMissingUpstreamError:BalancedPoolMissingUpstreamError,ResponseExceededMaxSizeError:ResponseExceededMaxSizeError,RequestRetryError:RequestRetryError,ResponseError:ResponseError,SecureProxyConnectionError:SecureProxyConnectionError,MessageSizeExceededError:MessageSizeExceededError}},6540:(e,t,r)=>{const{InvalidArgumentError:A,NotSupportedError:n}=r(9934);const s=r(4589);const{isValidHTTPToken:o,isValidHeaderValue:i,isStream:a,destroy:c,isBuffer:l,isFormDataLike:u,isIterable:d,isBlobLike:h,buildURL:g,validateHandler:f,getServerName:E,normalizedMethodRecords:Q}=r(8529);const{channels:C}=r(1509);const{headerNameLowerCasedRecord:I}=r(4448);const B=/[^\u0021-\u00ff]/;const p=Symbol("handler");class Request{constructor(e,{path:t,method:r,body:n,headers:s,query:I,idempotent:m,blocking:y,upgrade:w,headersTimeout:b,bodyTimeout:k,reset:D,throwOnError:R,expectContinue:S,servername:F},N){if(typeof t!=="string"){throw new A("path must be a string")}else if(t[0]!=="/"&&!(t.startsWith("http://")||t.startsWith("https://"))&&r!=="CONNECT"){throw new A("path must be an absolute URL or start with a slash")}else if(B.test(t)){throw new A("invalid request path")}if(typeof r!=="string"){throw new A("method must be a string")}else if(Q[r]===undefined&&!o(r)){throw new A("invalid request method")}if(w&&typeof w!=="string"){throw new A("upgrade must be a string")}if(w&&!i(w)){throw new A("invalid upgrade header")}if(b!=null&&(!Number.isFinite(b)||b<0)){throw new A("invalid headersTimeout")}if(k!=null&&(!Number.isFinite(k)||k<0)){throw new A("invalid bodyTimeout")}if(D!=null&&typeof D!=="boolean"){throw new A("invalid reset")}if(S!=null&&typeof S!=="boolean"){throw new A("invalid expectContinue")}this.headersTimeout=b;this.bodyTimeout=k;this.throwOnError=R===true;this.method=r;this.abort=null;if(n==null){this.body=null}else if(a(n)){this.body=n;const e=this.body._readableState;if(!e||!e.autoDestroy){this.endHandler=function autoDestroy(){c(this)};this.body.on("end",this.endHandler)}this.errorHandler=e=>{if(this.abort){this.abort(e)}else{this.error=e}};this.body.on("error",this.errorHandler)}else if(l(n)){this.body=n.byteLength?n:null}else if(ArrayBuffer.isView(n)){this.body=n.buffer.byteLength?Buffer.from(n.buffer,n.byteOffset,n.byteLength):null}else if(n instanceof ArrayBuffer){this.body=n.byteLength?Buffer.from(n):null}else if(typeof n==="string"){this.body=n.length?Buffer.from(n):null}else if(u(n)||d(n)||h(n)){this.body=n}else{throw new A("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable")}this.completed=false;this.aborted=false;this.upgrade=w||null;this.path=I?g(t,I):t;this.origin=e;this.idempotent=m==null?r==="HEAD"||r==="GET":m;this.blocking=y==null?false:y;this.reset=D==null?null:D;this.host=null;this.contentLength=null;this.contentType=null;this.headers=[];this.expectContinue=S!=null?S:false;if(Array.isArray(s)){if(s.length%2!==0){throw new A("headers array must be even")}for(let e=0;e{e.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kBody:Symbol("abstracted request body"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kResume:Symbol("resume"),kOnError:Symbol("on error"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable"),kListeners:Symbol("listeners"),kHTTPContext:Symbol("http context"),kMaxConcurrentStreams:Symbol("max concurrent streams"),kNoProxyAgent:Symbol("no proxy agent"),kHttpProxyAgent:Symbol("http proxy agent"),kHttpsProxyAgent:Symbol("https proxy agent")}},8313:(e,t,r)=>{const{wellknownHeaderNames:A,headerNameLowerCasedRecord:n}=r(4448);class TstNode{value=null;left=null;middle=null;right=null;code;constructor(e,t,r){if(r===undefined||r>=e.length){throw new TypeError("Unreachable")}const A=this.code=e.charCodeAt(r);if(A>127){throw new TypeError("key must be ascii string")}if(e.length!==++r){this.middle=new TstNode(e,t,r)}else{this.value=t}}add(e,t){const r=e.length;if(r===0){throw new TypeError("Unreachable")}let A=0;let n=this;while(true){const s=e.charCodeAt(A);if(s>127){throw new TypeError("key must be ascii string")}if(n.code===s){if(r===++A){n.value=t;break}else if(n.middle!==null){n=n.middle}else{n.middle=new TstNode(e,t,A);break}}else if(n.code=65){n|=32}while(A!==null){if(n===A.code){if(t===++r){return A}A=A.middle;break}A=A.code{const A=r(4589);const{kDestroyed:n,kBodyUsed:s,kListeners:o,kBody:i}=r(5424);const{IncomingMessage:a}=r(7067);const c=r(7075);const l=r(7030);const{Blob:u}=r(4573);const d=r(7975);const{stringify:h}=r(1792);const{EventEmitter:g}=r(8474);const{InvalidArgumentError:f}=r(9934);const{headerNameLowerCasedRecord:E}=r(4448);const{tree:Q}=r(8313);const[C,I]=process.versions.node.split(".").map(e=>Number(e));class BodyAsyncIterable{constructor(e){this[i]=e;this[s]=false}async*[Symbol.asyncIterator](){A(!this[s],"disturbed");this[s]=true;yield*this[i]}}function wrapRequestBody(e){if(isStream(e)){if(bodyLength(e)===0){e.on("data",function(){A(false)})}if(typeof e.readableDidRead!=="boolean"){e[s]=false;g.prototype.on.call(e,"data",function(){this[s]=true})}return e}else if(e&&typeof e.pipeTo==="function"){return new BodyAsyncIterable(e)}else if(e&&typeof e!=="string"&&!ArrayBuffer.isView(e)&&isIterable(e)){return new BodyAsyncIterable(e)}else{return e}}function nop(){}function isStream(e){return e&&typeof e==="object"&&typeof e.pipe==="function"&&typeof e.on==="function"}function isBlobLike(e){if(e===null){return false}else if(e instanceof u){return true}else if(typeof e!=="object"){return false}else{const t=e[Symbol.toStringTag];return(t==="Blob"||t==="File")&&("stream"in e&&typeof e.stream==="function"||"arrayBuffer"in e&&typeof e.arrayBuffer==="function")}}function buildURL(e,t){if(e.includes("?")||e.includes("#")){throw new Error('Query params cannot be passed when url already contains "?" or "#".')}const r=h(t);if(r){e+="?"+r}return e}function isValidPort(e){const t=parseInt(e,10);return t===Number(e)&&t>=0&&t<=65535}function isHttpOrHttpsPrefixed(e){return e!=null&&e[0]==="h"&&e[1]==="t"&&e[2]==="t"&&e[3]==="p"&&(e[4]===":"||e[4]==="s"&&e[5]===":")}function parseURL(e){if(typeof e==="string"){e=new URL(e);if(!isHttpOrHttpsPrefixed(e.origin||e.protocol)){throw new f("Invalid URL protocol: the URL must start with `http:` or `https:`.")}return e}if(!e||typeof e!=="object"){throw new f("Invalid URL: The URL argument must be a non-null object.")}if(!(e instanceof URL)){if(e.port!=null&&e.port!==""&&isValidPort(e.port)===false){throw new f("Invalid URL: port must be a valid integer or a string representation of an integer.")}if(e.path!=null&&typeof e.path!=="string"){throw new f("Invalid URL path: the path must be a string or null/undefined.")}if(e.pathname!=null&&typeof e.pathname!=="string"){throw new f("Invalid URL pathname: the pathname must be a string or null/undefined.")}if(e.hostname!=null&&typeof e.hostname!=="string"){throw new f("Invalid URL hostname: the hostname must be a string or null/undefined.")}if(e.origin!=null&&typeof e.origin!=="string"){throw new f("Invalid URL origin: the origin must be a string or null/undefined.")}if(!isHttpOrHttpsPrefixed(e.origin||e.protocol)){throw new f("Invalid URL protocol: the URL must start with `http:` or `https:`.")}const t=e.port!=null?e.port:e.protocol==="https:"?443:80;let r=e.origin!=null?e.origin:`${e.protocol||""}//${e.hostname||""}:${t}`;let A=e.path!=null?e.path:`${e.pathname||""}${e.search||""}`;if(r[r.length-1]==="/"){r=r.slice(0,r.length-1)}if(A&&A[0]!=="/"){A=`/${A}`}return new URL(`${r}${A}`)}if(!isHttpOrHttpsPrefixed(e.origin||e.protocol)){throw new f("Invalid URL protocol: the URL must start with `http:` or `https:`.")}return e}function parseOrigin(e){e=parseURL(e);if(e.pathname!=="/"||e.search||e.hash){throw new f("invalid url")}return e}function getHostname(e){if(e[0]==="["){const t=e.indexOf("]");A(t!==-1);return e.substring(1,t)}const t=e.indexOf(":");if(t===-1)return e;return e.substring(0,t)}function getServerName(e){if(!e){return null}A(typeof e==="string");const t=getHostname(e);if(l.isIP(t)){return""}return t}function deepClone(e){return JSON.parse(JSON.stringify(e))}function isAsyncIterable(e){return!!(e!=null&&typeof e[Symbol.asyncIterator]==="function")}function isIterable(e){return!!(e!=null&&(typeof e[Symbol.iterator]==="function"||typeof e[Symbol.asyncIterator]==="function"))}function bodyLength(e){if(e==null){return 0}else if(isStream(e)){const t=e._readableState;return t&&t.objectMode===false&&t.ended===true&&Number.isFinite(t.length)?t.length:null}else if(isBlobLike(e)){return e.size!=null?e.size:null}else if(isBuffer(e)){return e.byteLength}return null}function isDestroyed(e){return e&&!!(e.destroyed||e[n]||c.isDestroyed?.(e))}function destroy(e,t){if(e==null||!isStream(e)||isDestroyed(e)){return}if(typeof e.destroy==="function"){if(Object.getPrototypeOf(e).constructor===a){e.socket=null}e.destroy(t)}else if(t){queueMicrotask(()=>{e.emit("error",t)})}if(e.destroyed!==true){e[n]=true}}const B=/timeout=(\d+)/;function parseKeepAliveTimeout(e){const t=e.toString().match(B);return t?parseInt(t[1],10)*1e3:null}function headerNameToString(e){return typeof e==="string"?E[e]??e.toLowerCase():Q.lookup(e)??e.toString("latin1").toLowerCase()}function bufferToLowerCasedHeaderName(e){return Q.lookup(e)??e.toString("latin1").toLowerCase()}function parseHeaders(e,t){if(t===undefined)t={};for(let r=0;re.toString("utf8")):n.toString("utf8")}}}if("content-length"in t&&"content-disposition"in t){t["content-disposition"]=Buffer.from(t["content-disposition"]).toString("latin1")}return t}function parseRawHeaders(e){const t=e.length;const r=new Array(t);let A=false;let n=-1;let s;let o;let i=0;for(let t=0;t{e.close();e.byobRequest?.respond(0)})}else{const t=Buffer.isBuffer(A)?A:Buffer.from(A);if(t.byteLength){e.enqueue(new Uint8Array(t))}}return e.desiredSize>0},async cancel(e){await t.return()},type:"bytes"})}function isFormDataLike(e){return e&&typeof e==="object"&&typeof e.append==="function"&&typeof e.delete==="function"&&typeof e.get==="function"&&typeof e.getAll==="function"&&typeof e.has==="function"&&typeof e.set==="function"&&e[Symbol.toStringTag]==="FormData"}function addAbortListener(e,t){if("addEventListener"in e){e.addEventListener("abort",t,{once:true});return()=>e.removeEventListener("abort",t)}e.addListener("abort",t);return()=>e.removeListener("abort",t)}const p=typeof String.prototype.toWellFormed==="function";const m=typeof String.prototype.isWellFormed==="function";function toUSVString(e){return p?`${e}`.toWellFormed():d.toUSVString(e)}function isUSVString(e){return m?`${e}`.isWellFormed():toUSVString(e)===`${e}`}function isTokenCharCode(e){switch(e){case 34:case 40:case 41:case 44:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 123:case 125:return false;default:return e>=33&&e<=126}}function isValidHTTPToken(e){if(e.length===0){return false}for(let t=0;t{const{InvalidArgumentError:A}=r(9934);const{kClients:n,kRunning:s,kClose:o,kDestroy:i,kDispatch:a,kInterceptors:c}=r(5424);const l=r(6870);const u=r(2921);const d=r(7140);const h=r(8529);const g=r(7327);const f=Symbol("onConnect");const E=Symbol("onDisconnect");const Q=Symbol("onConnectionError");const C=Symbol("maxRedirections");const I=Symbol("onDrain");const B=Symbol("factory");const p=Symbol("options");function defaultFactory(e,t){return t&&t.connections===1?new d(e,t):new u(e,t)}class Agent extends l{constructor({factory:e=defaultFactory,maxRedirections:t=0,connect:r,tls:s,...o}={}){if(typeof e!=="function"){throw new A("factory must be a function.")}if(r!=null&&typeof r!=="function"&&typeof r!=="object"){throw new A("connect must be a function or an object")}if(!Number.isInteger(t)||t<0){throw new A("maxRedirections must be a positive number")}super(o);if(r&&typeof r!=="function"){r={...r}}if(s&&typeof s!=="function"){s={...s}}this[c]=o.interceptors?.Agent&&Array.isArray(o.interceptors.Agent)?o.interceptors.Agent:[g({maxRedirections:t})];this[p]={...h.deepClone(o),connect:r,tls:s};this[p].interceptors=o.interceptors?{...o.interceptors}:undefined;this[C]=t;this[B]=e;this[n]=new Map;this[I]=(e,t)=>{this.emit("drain",e,[this,...t])};this[f]=(e,t)=>{this.emit("connect",e,[this,...t])};this[E]=(e,t,r)=>{this.emit("disconnect",e,[this,...t],r)};this[Q]=(e,t,r)=>{this.emit("connectionError",e,[this,...t],r)}}get[s](){let e=0;for(const t of this[n].values()){e+=t[s]}return e}[a](e,t){let r;if(e.origin&&(typeof e.origin==="string"||e.origin instanceof URL)){r=String(e.origin)}else{throw new A("opts.origin must be a non-empty string or URL.")}let s=this[n].get(r);if(!s){s=this[B](e.origin,this[p]).on("drain",this[I]).on("connect",this[f]).on("disconnect",this[E]).on("connectionError",this[Q]);this[n].set(r,s)}return s.dispatch(e,t)}async[o](){const e=[];for(const t of this[n].values()){e.push(t.close())}this[n].clear();await Promise.all(e)}async[i](e){const t=[];for(const r of this[n].values()){t.push(r.destroy(e))}this[n].clear();await Promise.all(t)}}e.exports=Agent},9390:(e,t,r)=>{const{BalancedPoolMissingUpstreamError:A,InvalidArgumentError:n}=r(9934);const{PoolBase:s,kClients:o,kNeedDrain:i,kAddClient:a,kRemoveClient:c,kGetDispatcher:l}=r(627);const u=r(2921);const{kUrl:d,kInterceptors:h}=r(5424);const{parseOrigin:g}=r(8529);const f=Symbol("factory");const E=Symbol("options");const Q=Symbol("kGreatestCommonDivisor");const C=Symbol("kCurrentWeight");const I=Symbol("kIndex");const B=Symbol("kWeight");const p=Symbol("kMaxWeightPerServer");const m=Symbol("kErrorPenalty");function getGreatestCommonDivisor(e,t){if(e===0)return t;while(t!==0){const r=t;t=e%t;e=r}return e}function defaultFactory(e,t){return new u(e,t)}class BalancedPool extends s{constructor(e=[],{factory:t=defaultFactory,...r}={}){super();this[E]=r;this[I]=-1;this[C]=0;this[p]=this[E].maxWeightPerServer||100;this[m]=this[E].errorPenalty||15;if(!Array.isArray(e)){e=[e]}if(typeof t!=="function"){throw new n("factory must be a function.")}this[h]=r.interceptors?.BalancedPool&&Array.isArray(r.interceptors.BalancedPool)?r.interceptors.BalancedPool:[];this[f]=t;for(const t of e){this.addUpstream(t)}this._updateBalancedPoolStats()}addUpstream(e){const t=g(e).origin;if(this[o].find(e=>e[d].origin===t&&e.closed!==true&&e.destroyed!==true)){return this}const r=this[f](t,Object.assign({},this[E]));this[a](r);r.on("connect",()=>{r[B]=Math.min(this[p],r[B]+this[m])});r.on("connectionError",()=>{r[B]=Math.max(1,r[B]-this[m]);this._updateBalancedPoolStats()});r.on("disconnect",(...e)=>{const t=e[2];if(t&&t.code==="UND_ERR_SOCKET"){r[B]=Math.max(1,r[B]-this[m]);this._updateBalancedPoolStats()}});for(const e of this[o]){e[B]=this[p]}this._updateBalancedPoolStats();return this}_updateBalancedPoolStats(){let e=0;for(let t=0;te[d].origin===t&&e.closed!==true&&e.destroyed!==true);if(r){this[c](r)}return this}get upstreams(){return this[o].filter(e=>e.closed!==true&&e.destroyed!==true).map(e=>e[d].origin)}[l](){if(this[o].length===0){throw new A}const e=this[o].find(e=>!e[i]&&e.closed!==true&&e.destroyed!==true);if(!e){return}const t=this[o].map(e=>e[i]).reduce((e,t)=>e&&t,true);if(t){return}let r=0;let n=this[o].findIndex(e=>!e[i]);while(r++this[o][n][B]&&!e[i]){n=this[I]}if(this[I]===0){this[C]=this[C]-this[Q];if(this[C]<=0){this[C]=this[p]}}if(e[B]>=this[C]&&!e[i]){return e}}this[C]=this[o][n][B];this[I]=n;return this[o][n]}}e.exports=BalancedPool},3010:(e,t,r)=>{const A=r(4589);const n=r(8529);const{channels:s}=r(1509);const o=r(4486);const{RequestContentLengthMismatchError:i,ResponseContentLengthMismatchError:a,RequestAbortedError:c,InvalidArgumentError:l,HeadersTimeoutError:u,HeadersOverflowError:d,SocketError:h,InformationalError:g,BodyTimeoutError:f,HTTPParserError:E,ResponseExceededMaxSizeError:Q}=r(9934);const{kUrl:C,kReset:I,kClient:B,kParser:p,kBlocking:m,kRunning:y,kPending:w,kSize:b,kWriting:k,kQueue:D,kNoRef:R,kKeepAliveDefaultTimeout:S,kHostHeader:F,kPendingIdx:N,kRunningIdx:v,kError:M,kPipelining:U,kSocket:T,kKeepAliveTimeoutValue:L,kMaxHeadersSize:x,kKeepAliveMaxTimeout:H,kKeepAliveTimeoutThreshold:G,kHeadersTimeout:Y,kBodyTimeout:P,kStrictContentLength:V,kMaxRequests:J,kCounter:O,kMaxResponseSize:$,kOnError:W,kResume:q,kHTTPContext:z}=r(5424);const j=r(2811);const K=Buffer.alloc(0);const Z=Buffer[Symbol.species];const X=n.addListener;const ee=n.removeAllListeners;const te=Symbol("kIdleSocketValidation");const re=Symbol("kIdleSocketValidationTimeout");const Ae=Symbol("kSocketUsed");let ne;async function lazyllhttp(){const e=process.env.JEST_WORKER_ID?r(5381):undefined;let t;try{t=await WebAssembly.compile(r(4823))}catch(A){t=await WebAssembly.compile(e||r(5381))}return await WebAssembly.instantiate(t,{env:{wasm_on_url:(e,t,r)=>0,wasm_on_status:(e,t,r)=>{A(ie.ptr===e);const n=t-le+ae.byteOffset;return ie.onStatus(new Z(ae.buffer,n,r))||0},wasm_on_message_begin:e=>{A(ie.ptr===e);return ie.onMessageBegin()||0},wasm_on_header_field:(e,t,r)=>{A(ie.ptr===e);const n=t-le+ae.byteOffset;return ie.onHeaderField(new Z(ae.buffer,n,r))||0},wasm_on_header_value:(e,t,r)=>{A(ie.ptr===e);const n=t-le+ae.byteOffset;return ie.onHeaderValue(new Z(ae.buffer,n,r))||0},wasm_on_headers_complete:(e,t,r,n)=>{A(ie.ptr===e);return ie.onHeadersComplete(t,Boolean(r),Boolean(n))||0},wasm_on_body:(e,t,r)=>{A(ie.ptr===e);const n=t-le+ae.byteOffset;return ie.onBody(new Z(ae.buffer,n,r))||0},wasm_on_message_complete:e=>{A(ie.ptr===e);return ie.onMessageComplete()||0}}})}let se=null;let oe=lazyllhttp();oe.catch();let ie=null;let ae=null;let ce=0;let le=null;const ue=0;const de=1;const he=2|de;const ge=4|de;const fe=8|ue;class Parser{constructor(e,t,{exports:r}){A(Number.isFinite(e[x])&&e[x]>0);this.llhttp=r;this.ptr=this.llhttp.llhttp_alloc(j.TYPE.RESPONSE);this.client=e;this.socket=t;this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.statusCode=null;this.statusText="";this.upgrade=false;this.headers=[];this.headersSize=0;this.headersMaxSize=e[x];this.shouldKeepAlive=false;this.paused=false;this.resume=this.resume.bind(this);this.bytesRead=0;this.keepAlive="";this.contentLength="";this.connection="";this.maxResponseSize=e[$]}setTimeout(e,t){if(e!==this.timeoutValue||t&de^this.timeoutType&de){if(this.timeout){o.clearTimeout(this.timeout);this.timeout=null}if(e){if(t&de){this.timeout=o.setFastTimeout(onParserTimeout,e,new WeakRef(this))}else{this.timeout=setTimeout(onParserTimeout,e,new WeakRef(this));this.timeout.unref()}}this.timeoutValue=e}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.timeoutType=t}resume(){if(this.socket.destroyed||!this.paused){return}A(this.ptr!=null);A(ie==null);this.llhttp.llhttp_resume(this.ptr);A(this.timeoutType===ge);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.paused=false;this.execute(this.socket.read()||K);this.readMore()}readMore(){while(!this.paused&&this.ptr){const e=this.socket.read();if(e===null){break}this.execute(e)}}execute(e){A(this.ptr!=null);A(ie==null);A(!this.paused);const{socket:t,llhttp:r}=this;if(e.length>ce){if(le){r.free(le)}ce=Math.ceil(e.length/4096)*4096;le=r.malloc(ce)}new Uint8Array(r.memory.buffer,le,ce).set(e);try{let A;try{ae=e;ie=this;A=r.llhttp_execute(this.ptr,le,e.length)}catch(e){throw e}finally{ie=null;ae=null}const n=r.llhttp_get_error_pos(this.ptr)-le;if(A!==j.ERROR.OK){const r=e.subarray(n);if(A===j.ERROR.PAUSED_UPGRADE){this.onUpgrade(r)}else if(A===j.ERROR.PAUSED){this.paused=true;t.unshift(r)}else{throw this.createError(A,r)}}}catch(e){n.destroy(t,e)}}finish(){A(ie===null);A(this.ptr!=null);A(!this.paused);const{llhttp:e}=this;let t;try{ie=this;t=e.llhttp_finish(this.ptr)}finally{ie=null}if(t===j.ERROR.OK){return null}if(t===j.ERROR.PAUSED||t===j.ERROR.PAUSED_UPGRADE){this.paused=true;return null}return this.createError(t,K)}createError(e,t){const{llhttp:r,contentLength:A,bytesRead:n}=this;if(A&&n!==parseInt(A,10)){return new a}const s=r.llhttp_get_error_reason(this.ptr);let o="";if(s){const e=new Uint8Array(r.memory.buffer,s).indexOf(0);o="Response does not match the HTTP/1.1 protocol ("+Buffer.from(r.memory.buffer,s,e).toString()+")"}return new E(o,j.ERROR[e],t)}destroy(){A(this.ptr!=null);A(ie==null);this.llhttp.llhttp_free(this.ptr);this.ptr=null;this.timeout&&o.clearTimeout(this.timeout);this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.paused=false}onStatus(e){this.statusText=e.toString()}onMessageBegin(){const{socket:e,client:t}=this;if(e.destroyed){return-1}if(t[y]===0){n.destroy(e,new h("bad response",n.getSocketInfo(e)));return-1}const r=t[D][t[v]];if(!r){return-1}r.onResponseStarted()}onHeaderField(e){const t=this.headers.length;if((t&1)===0){this.headers.push(e)}else{this.headers[t-1]=Buffer.concat([this.headers[t-1],e])}this.trackHeader(e.length)}onHeaderValue(e){let t=this.headers.length;if((t&1)===1){this.headers.push(e);t+=1}else{this.headers[t-1]=Buffer.concat([this.headers[t-1],e])}const r=this.headers[t-2];if(r.length===10){const t=n.bufferToLowerCasedHeaderName(r);if(t==="keep-alive"){this.keepAlive+=e.toString()}else if(t==="connection"){this.connection+=e.toString()}}else if(r.length===14&&n.bufferToLowerCasedHeaderName(r)==="content-length"){this.contentLength+=e.toString()}this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e;if(this.headersSize>=this.headersMaxSize){n.destroy(this.socket,new d)}}onUpgrade(e){const{upgrade:t,client:r,socket:s,headers:o,statusCode:i,statusText:a}=this;A(t);A(r[T]===s);A(!s.destroyed);A(!this.paused);A((o.length&1)===0);const c=r[D][r[v]];A(c);A(c.upgrade||c.method==="CONNECT");this.statusCode=null;this.statusText="";this.shouldKeepAlive=null;this.headers=[];this.headersSize=0;s.unshift(e);s[p].destroy();s[p]=null;s[B]=null;s[M]=null;ee(s);r[T]=null;r[z]=null;r[D][r[v]++]=null;r.emit("disconnect",r[C],[r],new g("upgrade"));try{c.onUpgrade(i,o,s,a)}catch(e){n.errorRequest(r,c,e);n.destroy(s,e)}r[q]()}onHeadersComplete(e,t,r){const{client:s,socket:o,headers:i,statusText:a}=this;if(o.destroyed){return-1}if(s[y]===0){n.destroy(o,new h("bad response",n.getSocketInfo(o)));return-1}const c=s[D][s[v]];if(!c){return-1}A(!this.upgrade);A(this.statusCode<200);if(e===100){n.destroy(o,new h("bad response",n.getSocketInfo(o)));return-1}if(t&&!c.upgrade){n.destroy(o,new h("bad upgrade",n.getSocketInfo(o)));return-1}A(this.timeoutType===he);this.statusCode=e;this.shouldKeepAlive=r||c.method==="HEAD"&&!o[I]&&this.connection.toLowerCase()==="keep-alive";if(this.statusCode>=200){const e=c.bodyTimeout!=null?c.bodyTimeout:s[P];this.setTimeout(e,ge)}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}if(c.method==="CONNECT"){A(s[y]===1);this.upgrade=true;return 2}if(t){A(s[y]===1);this.upgrade=true;return 2}A((this.headers.length&1)===0);this.headers=[];this.headersSize=0;if(this.shouldKeepAlive&&s[U]){const e=this.keepAlive?n.parseKeepAliveTimeout(this.keepAlive):null;if(e!=null){const t=Math.min(e-s[G],s[H]);if(t<=0){o[I]=true}else{s[L]=t}}else{s[L]=s[S]}}else{o[I]=true}const l=c.onHeaders(e,i,this.resume,a)===false;if(c.aborted){return-1}if(c.method==="HEAD"){return 1}if(e<200){return 1}if(o[m]){o[m]=false;s[q]()}return l?j.ERROR.PAUSED:0}onBody(e){const{client:t,socket:r,statusCode:s,maxResponseSize:o}=this;if(r.destroyed){return-1}const i=t[D][t[v]];A(i);A(this.timeoutType===ge);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}A(s>=200);if(o>-1&&this.bytesRead+e.length>o){n.destroy(r,new Q);return-1}this.bytesRead+=e.length;if(i.onData(e)===false){return j.ERROR.PAUSED}}onMessageComplete(){const{client:e,socket:t,statusCode:r,upgrade:s,headers:o,contentLength:i,bytesRead:c,shouldKeepAlive:l}=this;if(t.destroyed&&(!r||l)){return-1}if(s){return}A(r>=100);A((this.headers.length&1)===0);const u=e[D][e[v]];A(u);this.statusCode=null;this.statusText="";this.bytesRead=0;this.contentLength="";this.keepAlive="";this.connection="";this.headers=[];this.headersSize=0;if(r<200){return}if(u.method!=="HEAD"&&i&&c!==parseInt(i,10)){n.destroy(t,new a);return-1}u.onComplete(o);e[D][e[v]++]=null;t[Ae]=true;if(t[k]){A(e[y]===0);n.destroy(t,new g("reset"));return j.ERROR.PAUSED}else if(!l){n.destroy(t,new g("reset"));return j.ERROR.PAUSED}else if(t[I]&&e[y]===0){n.destroy(t,new g("reset"));return j.ERROR.PAUSED}else if(e[U]==null||e[U]===1){setImmediate(()=>e[q]())}else{e[q]()}}}function onParserTimeout(e){const{socket:t,timeoutType:r,client:s,paused:o}=e.deref();if(r===he){if(!t[k]||t.writableNeedDrain||s[y]>1){A(!o,"cannot be paused while waiting for headers");n.destroy(t,new u)}}else if(r===ge){if(!o){n.destroy(t,new f)}}else if(r===fe){A(s[y]===0&&s[L]);n.destroy(t,new g("socket idle timeout"))}}async function connectH1(e,t){e[T]=t;if(!se){se=await oe;oe=null}t[R]=false;t[k]=false;t[I]=false;t[m]=false;t[te]=0;t[re]=null;t[Ae]=false;t[p]=new Parser(e,t,se);X(t,"error",function(e){const t=this[p];if(e.code==="ECONNRESET"&&t.statusCode&&!t.shouldKeepAlive){const e=t.finish();if(e){this[M]=e;this[B][W](e)}return}this[M]=e;this[B][W](e)});X(t,"readable",function(){const e=this[p];if(e){e.readMore()}});X(t,"end",function(){const e=this[p];if(e.statusCode&&!e.shouldKeepAlive){const t=e.finish();if(t){n.destroy(this,t)}return}n.destroy(this,new h("other side closed",n.getSocketInfo(this)))});X(t,"close",function(){const e=this[B];const t=this[p];clearIdleSocketValidation(this);if(t){if(!this[M]&&t.statusCode&&!t.shouldKeepAlive){this[M]=t.finish()||this[M]}this[p].destroy();this[p]=null}const r=this[M]||new h("closed",n.getSocketInfo(this));e[T]=null;e[z]=null;if(e.destroyed){A(e[w]===0);const t=e[D].splice(e[v]);for(let A=0;A0&&r.code!=="UND_ERR_INFO"){const t=e[D][e[v]];e[D][e[v]++]=null;n.errorRequest(e,t,r)}e[N]=e[v];A(e[y]===0);e.emit("disconnect",e[C],[e],r);e[q]()});let r=false;t.on("close",()=>{r=true});return{version:"h1",defaultPipelining:1,write(...t){return writeH1(e,...t)},resume(){resumeH1(e)},destroy(e,A){if(r){queueMicrotask(A)}else{t.destroy(e).on("close",A)}},get destroyed(){return t.destroyed},busy(r){if(t[k]||t[I]||t[m]||t[te]===1){return true}if(r){if(e[y]>0&&!r.idempotent){return true}if(e[y]>0&&(r.upgrade||r.method==="CONNECT")){return true}if(e[y]>0&&n.bodyLength(r.body)!==0&&(n.isStream(r.body)||n.isAsyncIterable(r.body)||n.isFormDataLike(r.body))){return true}}return false}}}function clearIdleSocketValidation(e){if(e[re]){clearImmediate(e[re]);e[re]=null}e[te]=0}function scheduleIdleSocketValidation(e,t){t[te]=1;t[re]=setImmediate(()=>{t[re]=null;t[te]=2;if(e[T]===t&&!t.destroyed){e[q]()}})}function resumeH1(e){const t=e[T];if(t&&!t.destroyed){if(e[b]===0){if(!t[R]&&t.unref){t.unref();t[R]=true}}else if(t[R]&&t.ref){t.ref();t[R]=false}if(e[y]===0&&e[w]>0&&t[Ae]){if(t[te]===0){scheduleIdleSocketValidation(e,t);t[p].readMore();if(t.destroyed){return}return}if(t[te]===1){t[p].readMore();if(t.destroyed){return}return}}if(e[y]===0){t[p].readMore();if(t.destroyed){return}}if(e[b]===0){if(t[p].timeoutType!==fe){t[p].setTimeout(e[L],fe)}}else if(e[y]>0&&t[p].statusCode<200){if(t[p].timeoutType!==he){const r=e[D][e[v]];const A=r.headersTimeout!=null?r.headersTimeout:e[Y];t[p].setTimeout(A,he)}}}}function shouldSendContentLength(e){return e!=="GET"&&e!=="HEAD"&&e!=="OPTIONS"&&e!=="TRACE"&&e!=="CONNECT"}function writeH1(e,t){const{method:o,path:a,host:u,upgrade:d,blocking:h,reset:f}=t;let{body:E,headers:Q,contentLength:C}=t;const B=o==="PUT"||o==="POST"||o==="PATCH"||o==="QUERY"||o==="PROPFIND"||o==="PROPPATCH";if(n.isFormDataLike(E)){if(!ne){ne=r(6455).extractBody}const[e,A]=ne(E);if(t.contentType==null){Q.push("content-type",A)}E=e.stream;C=e.length}else if(n.isBlobLike(E)&&t.contentType==null){const r=E.type;if(r){const A=`${r}`;if(!n.isValidHeaderValue(A)){n.errorRequest(e,t,new l("invalid content-type header"));return false}Q.push("content-type",A)}}if(E&&typeof E.read==="function"){E.read(0)}const p=n.bodyLength(E);C=p??C;if(C===null){C=t.contentLength}if(C===0&&!B){C=null}if(shouldSendContentLength(o)&&C>0&&t.contentLength!==null&&t.contentLength!==C){if(e[V]){n.errorRequest(e,t,new i);return false}process.emitWarning(new i)}const y=e[T];clearIdleSocketValidation(y);const abort=r=>{if(t.aborted){return}if(t.completed){if(t.upgrade||t.method==="CONNECT"){n.destroy(y,new g("aborted"))}return}n.errorRequest(e,t,r||new c);n.destroy(E);n.destroy(y,new g("aborted"))};try{t.onConnect(abort)}catch(r){n.errorRequest(e,t,r)}if(t.aborted){return false}if(o==="HEAD"){y[I]=true}if(d||o==="CONNECT"){y[I]=true}if(f!=null){y[I]=f}if(e[J]&&y[O]++>=e[J]){y[I]=true}if(h){y[m]=true}let w=`${o} ${a} HTTP/1.1\r\n`;if(typeof u==="string"){w+=`host: ${u}\r\n`}else{w+=e[F]}if(d){w+=`connection: upgrade\r\nupgrade: ${d}\r\n`}else if(e[U]&&!y[I]){w+="connection: keep-alive\r\n"}else{w+="connection: close\r\n"}if(Array.isArray(Q)){for(let e=0;e{t.removeListener("error",onFinished)});if(!u){const e=new c;queueMicrotask(()=>onFinished(e))}};const onFinished=function(e){if(u){return}u=true;A(o.destroyed||o[k]&&r[y]<=1);o.off("drain",onDrain).off("error",onFinished);t.removeListener("data",onData).removeListener("end",onFinished).removeListener("close",onClose);if(!e){try{d.end()}catch(t){e=t}}d.destroy(e);if(e&&(e.code!=="UND_ERR_INFO"||e.message!=="reset")){n.destroy(t,e)}else{n.destroy(t)}};t.on("data",onData).on("end",onFinished).on("error",onFinished).on("close",onClose);if(t.resume){t.resume()}o.on("drain",onDrain).on("error",onFinished);if(t.errorEmitted??t.errored){setImmediate(()=>onFinished(t.errored))}else if(t.endEmitted??t.readableEnded){setImmediate(()=>onFinished(null))}if(t.closeEmitted??t.closed){setImmediate(onClose)}}function writeBuffer(e,t,r,s,o,i,a,c){try{if(!t){if(i===0){o.write(`${a}content-length: 0\r\n\r\n`,"latin1")}else{A(i===null,"no body must not have content length");o.write(`${a}\r\n`,"latin1")}}else if(n.isBuffer(t)){A(i===t.byteLength,"buffer body must have content length");o.cork();o.write(`${a}content-length: ${i}\r\n\r\n`,"latin1");o.write(t);o.uncork();s.onBodySent(t);if(!c&&s.reset!==false){o[I]=true}}s.onRequestSent();r[q]()}catch(t){e(t)}}async function writeBlob(e,t,r,n,s,o,a,c){A(o===t.size,"blob body must have content length");try{if(o!=null&&o!==t.size){throw new i}const e=Buffer.from(await t.arrayBuffer());s.cork();s.write(`${a}content-length: ${o}\r\n\r\n`,"latin1");s.write(e);s.uncork();n.onBodySent(e);n.onRequestSent();if(!c&&n.reset!==false){s[I]=true}r[q]()}catch(t){e(t)}}async function writeIterable(e,t,r,n,s,o,i,a){A(o!==0||r[y]===0,"iterator body cannot be pipelined");let c=null;function onDrain(){if(c){const e=c;c=null;e()}}const waitForDrain=()=>new Promise((e,t)=>{A(c===null);if(s[M]){t(s[M])}else{c=e}});s.on("close",onDrain).on("drain",onDrain);const l=new AsyncWriter({abort:e,socket:s,request:n,contentLength:o,client:r,expectsPayload:a,header:i});try{for await(const e of t){if(s[M]){throw s[M]}if(!l.write(e)){await waitForDrain()}}l.end()}catch(e){l.destroy(e)}finally{s.off("close",onDrain).off("drain",onDrain)}}class AsyncWriter{constructor({abort:e,socket:t,request:r,contentLength:A,client:n,expectsPayload:s,header:o}){this.socket=t;this.request=r;this.contentLength=A;this.client=n;this.bytesWritten=0;this.expectsPayload=s;this.header=o;this.abort=e;t[k]=true}write(e){const{socket:t,request:r,contentLength:A,client:n,bytesWritten:s,expectsPayload:o,header:a}=this;if(t[M]){throw t[M]}if(t.destroyed){return false}const c=Buffer.byteLength(e);if(!c){return true}if(A!==null&&s+c>A){if(n[V]){throw new i}process.emitWarning(new i)}t.cork();if(s===0){if(!o&&r.reset!==false){t[I]=true}if(A===null){t.write(`${a}transfer-encoding: chunked\r\n`,"latin1")}else{t.write(`${a}content-length: ${A}\r\n\r\n`,"latin1")}}if(A===null){t.write(`\r\n${c.toString(16)}\r\n`,"latin1")}this.bytesWritten+=c;const l=t.write(e);t.uncork();r.onBodySent(e);if(!l){if(t[p].timeout&&t[p].timeoutType===he){if(t[p].timeout.refresh){t[p].timeout.refresh()}}}return l}end(){const{socket:e,contentLength:t,client:r,bytesWritten:A,expectsPayload:n,header:s,request:o}=this;o.onRequestSent();e[k]=false;if(e[M]){throw e[M]}if(e.destroyed){return}if(A===0){if(n){e.write(`${s}content-length: 0\r\n\r\n`,"latin1")}else{e.write(`${s}\r\n`,"latin1")}}else if(t===null){e.write("\r\n0\r\n\r\n","latin1")}if(t!==null&&A!==t){if(r[V]){throw new i}else{process.emitWarning(new i)}}if(e[p].timeout&&e[p].timeoutType===he){if(e[p].timeout.refresh){e[p].timeout.refresh()}}r[q]()}destroy(e){const{socket:t,client:r,abort:n}=this;t[k]=false;if(e){A(r[y]<=1,"pipeline should only contain this request");n(e)}}}e.exports=connectH1},1967:(e,t,r)=>{const A=r(4589);const{errorMonitor:n}=r(8474);const{pipeline:s}=r(7075);const o=r(8529);const{RequestContentLengthMismatchError:i,RequestAbortedError:a,SocketError:c,InformationalError:l}=r(9934);const{kUrl:u,kReset:d,kClient:h,kRunning:g,kPending:f,kQueue:E,kPendingIdx:Q,kRunningIdx:C,kError:I,kSocket:B,kStrictContentLength:p,kOnError:m,kMaxConcurrentStreams:y,kHTTP2Session:w,kResume:b,kSize:k,kHTTPContext:D}=r(5424);const R=Symbol("open streams");let S;let F=false;let N;try{N=r(2467)}catch{N={constants:{}}}const{constants:{HTTP2_HEADER_AUTHORITY:v,HTTP2_HEADER_METHOD:M,HTTP2_HEADER_PATH:U,HTTP2_HEADER_SCHEME:T,HTTP2_HEADER_CONTENT_LENGTH:L,HTTP2_HEADER_EXPECT:x,HTTP2_HEADER_STATUS:H}}=N;function parseH2Headers(e){const t=[];for(const[r,A]of Object.entries(e)){if(Array.isArray(A)){for(const e of A){t.push(Buffer.from(r),Buffer.from(e))}}else{t.push(Buffer.from(r),Buffer.from(A))}}return t}function parseH2ResponseHeaders(e){const{[H]:t,...r}=e;return parseH2Headers(r)}async function connectH2(e,t){e[B]=t;if(!F){F=true;process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"})}const r=N.connect(e[u],{createConnection:()=>t,peerMaxConcurrentStreams:e[y]});r[R]=0;r[h]=e;r[B]=t;o.addListener(r,"error",onHttp2SessionError);o.addListener(r,"frameError",onHttp2FrameError);o.addListener(r,"end",onHttp2SessionEnd);o.addListener(r,"goaway",onHTTP2GoAway);o.addListener(r,"close",function(){const{[h]:e}=this;const{[B]:t}=e;const r=this[B][I]||this[I]||new c("closed",o.getSocketInfo(t));e[w]=null;if(e.destroyed){A(e[f]===0);const t=e[E].splice(e[C]);for(let A=0;A{n=true});return{version:"h2",defaultPipelining:Infinity,write(...t){return writeH2(e,...t)},resume(){resumeH2(e)},destroy(e,r){if(n){queueMicrotask(r)}else{t.destroy(e).on("close",r)}},get destroyed(){return t.destroyed},busy(){return false}}}function resumeH2(e){const t=e[B];if(t?.destroyed===false){if(e[k]===0&&e[y]===0){t.unref();e[w].unref()}else{t.ref();e[w].ref()}}}function onHttp2SessionError(e){this[B][I]=e;this[h][m](e)}function onHttp2FrameError(e,t,r){if(r===0){const r=new l(`HTTP/2: "frameError" received - type ${e}, code ${t}`);this[B][I]=r;this[h][m](r)}}function onHttp2SessionEnd(){const e=new c("other side closed",o.getSocketInfo(this[B]));this.destroy(e);o.destroy(this[B],e)}function onHTTP2GoAway(e){const t=this[I]||new c(`HTTP/2: "GOAWAY" frame received with code ${e}`,o.getSocketInfo(this));const r=this[h];r[B]=null;r[D]=null;if(this[w]!=null){this[w].destroy(t);this[w]=null}o.destroy(this[B],t);if(r[C]{if(t.aborted){return}if(t.completed){if(c==="CONNECT"&&D!=null){o.destroy(D,r||new a)}return}r=r||new a;o.errorRequest(e,t,r);if(D!=null){o.destroy(D,r)}o.destroy(y,r);e[E][e[C]++]=null;e[b]()};try{t.onConnect(abort)}catch(r){o.errorRequest(e,t,r)}if(t.aborted){return false}if(c==="CONNECT"){s.ref();D=s.request(k,{endStream:false,signal:I});let r=false;const onResponse=e=>{r=true;D.off(n,onUpgradeError);t.onUpgradeResponse(Number(e[H]),e,parseH2ResponseHeaders)};const onUpgradeError=e=>{r=true;D.off("response",onResponse);t.onUpgradeError(e)};const onReady=()=>{try{t.onUpgrade(null,null,D)}catch(e){D.off("response",onResponse);abort(e);return}if(t.aborted){return}D.off("error",abort);D.once(n,onUpgradeError);e[E][e[C]++]=null};D.once("response",onResponse);D.once("error",abort);++s[R];onReady();D.once("close",()=>{if(!r&&t.completed){D.off("response",onResponse);D.off(n,onUpgradeError);t.onUpgradeError(new l(`HTTP/2: "stream error" received - code ${D.rstCode}`))}s[R]-=1;if(s[R]===0)s.unref()});return true}k[U]=d;k[T]="https";const G=c==="PUT"||c==="POST"||c==="PATCH";if(y&&typeof y.read==="function"){y.read(0)}let Y=o.bodyLength(y);if(o.isFormDataLike(y)){S??=r(6455).extractBody;const[e,t]=S(y);k["content-type"]=t;y=e.stream;Y=e.length}if(Y==null){Y=t.contentLength}if(Y===0||!G){Y=null}if(shouldSendContentLength(c)&&Y>0&&t.contentLength!=null&&t.contentLength!==Y){if(e[p]){o.errorRequest(e,t,new i);return false}process.emitWarning(new i)}if(Y!=null){A(y,"no body must not have content length");k[L]=`${Y}`}s.ref();const P=c==="GET"||c==="HEAD"||y===null;if(f){k[x]="100-continue";D=s.request(k,{endStream:P,signal:I});D.once("continue",writeBodyH2)}else{D=s.request(k,{endStream:P,signal:I});writeBodyH2()}++s[R];D.once("response",r=>{const{[H]:A,...n}=r;t.onResponseStarted();if(t.aborted){const r=new a;o.errorRequest(e,t,r);o.destroy(D,r);return}if(t.onHeaders(Number(A),parseH2Headers(n),D.resume.bind(D),"")===false){D.pause()}D.on("data",e=>{if(t.onData(e)===false){D.pause()}})});D.once("end",()=>{if(D.state?.state==null||D.state.state<6){t.onComplete([])}if(s[R]===0){s.unref()}abort(new l("HTTP/2: stream half-closed (remote)"));e[E][e[C]++]=null;e[Q]=e[C];e[b]()});D.once("close",()=>{s[R]-=1;if(s[R]===0){s.unref()}});D.once("error",function(e){abort(e)});D.once("frameError",(e,t)=>{abort(new l(`HTTP/2: "frameError" received - type ${e}, code ${t}`))});return true;function writeBodyH2(){if(!y||Y===0){writeBuffer(abort,D,null,e,t,e[B],Y,G)}else if(o.isBuffer(y)){writeBuffer(abort,D,y,e,t,e[B],Y,G)}else if(o.isBlobLike(y)){if(typeof y.stream==="function"){writeIterable(abort,D,y.stream(),e,t,e[B],Y,G)}else{writeBlob(abort,D,y,e,t,e[B],Y,G)}}else if(o.isStream(y)){writeStream(abort,e[B],G,D,y,e,t,Y)}else if(o.isIterable(y)){writeIterable(abort,D,y,e,t,e[B],Y,G)}else{A(false)}}}function writeBuffer(e,t,r,n,s,i,a,c){try{if(r!=null&&o.isBuffer(r)){A(a===r.byteLength,"buffer body must have content length");t.cork();t.write(r);t.uncork();t.end();s.onBodySent(r)}if(!c){i[d]=true}s.onRequestSent();n[b]()}catch(t){e(t)}}function writeStream(e,t,r,n,i,a,c,l){A(l!==0||a[g]===0,"stream body cannot be pipelined");const u=s(i,n,A=>{if(A){o.destroy(u,A);e(A)}else{o.removeAllListeners(u);c.onRequestSent();if(!r){t[d]=true}a[b]()}});o.addListener(u,"data",onPipeData);function onPipeData(e){c.onBodySent(e)}}async function writeBlob(e,t,r,n,s,o,a,c){A(a===r.size,"blob body must have content length");try{if(a!=null&&a!==r.size){throw new i}const e=Buffer.from(await r.arrayBuffer());t.cork();t.write(e);t.uncork();t.end();s.onBodySent(e);s.onRequestSent();if(!c){o[d]=true}n[b]()}catch(t){e(t)}}async function writeIterable(e,t,r,n,s,o,i,a){A(i!==0||n[g]===0,"iterator body cannot be pipelined");let c=null;function onDrain(){if(c){const e=c;c=null;e()}}const waitForDrain=()=>new Promise((e,t)=>{A(c===null);if(o[I]){t(o[I])}else{c=e}});t.on("close",onDrain).on("drain",onDrain);try{for await(const e of r){if(o[I]){throw o[I]}const r=t.write(e);s.onBodySent(e);if(!r){await waitForDrain()}}t.end();s.onRequestSent();if(!a){o[d]=true}n[b]()}catch(t){e(t)}finally{t.off("close",onDrain).off("drain",onDrain)}}e.exports=connectH2},7140:(e,t,r)=>{const A=r(4589);const n=r(7030);const s=r(7067);const o=r(8529);const{channels:i}=r(1509);const a=r(6540);const c=r(6870);const{InvalidArgumentError:l,InformationalError:u,ClientDestroyedError:d}=r(9934);const h=r(951);const{kUrl:g,kServerName:f,kClient:E,kBusy:Q,kConnect:C,kResuming:I,kRunning:B,kPending:p,kSize:m,kQueue:y,kConnected:w,kConnecting:b,kNeedDrain:k,kKeepAliveDefaultTimeout:D,kHostHeader:R,kPendingIdx:S,kRunningIdx:F,kError:N,kPipelining:v,kKeepAliveTimeoutValue:M,kMaxHeadersSize:U,kKeepAliveMaxTimeout:T,kKeepAliveTimeoutThreshold:L,kHeadersTimeout:x,kBodyTimeout:H,kStrictContentLength:G,kConnector:Y,kMaxRedirections:P,kMaxRequests:V,kCounter:J,kClose:O,kDestroy:$,kDispatch:W,kInterceptors:q,kLocalAddress:z,kMaxResponseSize:j,kOnError:K,kHTTPContext:Z,kMaxConcurrentStreams:X,kResume:ee}=r(5424);const te=r(3010);const re=r(1967);let Ae=false;const ne=Symbol("kClosedResolve");const noop=()=>{};function getPipelining(e){return e[v]??e[Z]?.defaultPipelining??1}class Client extends c{constructor(e,{interceptors:t,maxHeaderSize:r,headersTimeout:A,socketTimeout:i,requestTimeout:a,connectTimeout:c,bodyTimeout:u,idleTimeout:d,keepAlive:E,keepAliveTimeout:Q,maxKeepAliveTimeout:C,keepAliveMaxTimeout:B,keepAliveTimeoutThreshold:p,socketPath:m,pipelining:w,tls:b,strictContentLength:N,maxCachedSessions:J,maxRedirections:O,connect:$,maxRequestsPerClient:W,localAddress:te,maxResponseSize:re,autoSelectFamily:oe,autoSelectFamilyAttemptTimeout:ie,maxConcurrentStreams:ae,allowH2:ce,webSocket:le,eventSource:ue}={}){super({webSocket:le,eventSource:ue});if(E!==undefined){throw new l("unsupported keepAlive, use pipelining=0 instead")}if(i!==undefined){throw new l("unsupported socketTimeout, use headersTimeout & bodyTimeout instead")}if(a!==undefined){throw new l("unsupported requestTimeout, use headersTimeout & bodyTimeout instead")}if(d!==undefined){throw new l("unsupported idleTimeout, use keepAliveTimeout instead")}if(C!==undefined){throw new l("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead")}if(r!=null&&!Number.isFinite(r)){throw new l("invalid maxHeaderSize")}if(m!=null&&typeof m!=="string"){throw new l("invalid socketPath")}if(c!=null&&(!Number.isFinite(c)||c<0)){throw new l("invalid connectTimeout")}if(Q!=null&&(!Number.isFinite(Q)||Q<=0)){throw new l("invalid keepAliveTimeout")}if(B!=null&&(!Number.isFinite(B)||B<=0)){throw new l("invalid keepAliveMaxTimeout")}if(p!=null&&!Number.isFinite(p)){throw new l("invalid keepAliveTimeoutThreshold")}if(A!=null&&(!Number.isInteger(A)||A<0)){throw new l("headersTimeout must be a positive integer or zero")}if(u!=null&&(!Number.isInteger(u)||u<0)){throw new l("bodyTimeout must be a positive integer or zero")}if($!=null&&typeof $!=="function"&&typeof $!=="object"){throw new l("connect must be a function or an object")}if(O!=null&&(!Number.isInteger(O)||O<0)){throw new l("maxRedirections must be a positive number")}if(W!=null&&(!Number.isInteger(W)||W<0)){throw new l("maxRequestsPerClient must be a positive number")}if(te!=null&&(typeof te!=="string"||n.isIP(te)===0)){throw new l("localAddress must be valid string IP address")}if(re!=null&&(!Number.isInteger(re)||re<-1)){throw new l("maxResponseSize must be a positive number")}if(ie!=null&&(!Number.isInteger(ie)||ie<-1)){throw new l("autoSelectFamilyAttemptTimeout must be a positive number")}if(ce!=null&&typeof ce!=="boolean"){throw new l("allowH2 must be a valid boolean value")}if(ae!=null&&(typeof ae!=="number"||ae<1)){throw new l("maxConcurrentStreams must be a positive integer, greater than 0")}if(typeof $!=="function"){$=h({...b,maxCachedSessions:J,allowH2:ce,socketPath:m,timeout:c,...oe?{autoSelectFamily:oe,autoSelectFamilyAttemptTimeout:ie}:undefined,...$})}if(t?.Client&&Array.isArray(t.Client)){this[q]=t.Client;if(!Ae){Ae=true;process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"})}}else{this[q]=[se({maxRedirections:O})]}this[g]=o.parseOrigin(e);this[Y]=$;this[v]=w!=null?w:1;this[U]=r||s.maxHeaderSize;this[D]=Q==null?4e3:Q;this[T]=B==null?6e5:B;this[L]=p==null?2e3:p;this[M]=this[D];this[f]=null;this[z]=te!=null?te:null;this[I]=0;this[k]=0;this[R]=`host: ${this[g].hostname}${this[g].port?`:${this[g].port}`:""}\r\n`;this[H]=u!=null?u:3e5;this[x]=A!=null?A:3e5;this[G]=N==null?true:N;this[P]=O;this[V]=W;this[ne]=null;this[j]=re>-1?re:-1;this[X]=ae!=null?ae:100;this[Z]=null;this[y]=[];this[F]=0;this[S]=0;this[ee]=e=>resume(this,e);this[K]=e=>onError(this,e)}get pipelining(){return this[v]}set pipelining(e){this[v]=e;this[ee](true)}get[p](){return this[y].length-this[S]}get[B](){return this[S]-this[F]}get[m](){return this[y].length-this[F]}get[w](){return!!this[Z]&&!this[b]&&!this[Z].destroyed}get[Q](){return Boolean(this[Z]?.busy(null)||this[m]>=(getPipelining(this)||1)||this[p]>0)}[C](e){connect(this);this.once("connect",e)}[W](e,t){const r=e.origin||this[g].origin;const A=new a(r,e,t);this[y].push(A);if(this[I]){}else if(o.bodyLength(A.body)==null&&o.isIterable(A.body)){this[I]=1;queueMicrotask(()=>resume(this))}else{this[ee](true)}if(this[I]&&this[k]!==2&&this[Q]){this[k]=2}return this[k]<2}async[O](){return new Promise(e=>{if(this[m]){this[ne]=e}else{e(null)}})}async[$](e){return new Promise(t=>{const r=this[y].splice(this[S]);for(let t=0;t{if(this[ne]){this[ne]();this[ne]=null}t(null)};if(this[Z]){this[Z].destroy(e,callback);this[Z]=null}else{queueMicrotask(callback)}this[ee]()})}}const se=r(7327);function onError(e,t){if(e[B]===0&&t.code!=="UND_ERR_INFO"&&t.code!=="UND_ERR_SOCKET"){A(e[S]===e[F]);const r=e[y].splice(e[F]);for(let A=0;A{e[Y]({host:t,hostname:r,protocol:s,port:a,servername:e[f],localAddress:e[z]},(e,t)=>{if(e){n(e)}else{A(t)}})});if(e.destroyed){o.destroy(n.on("error",noop),new d);return}A(n);try{e[Z]=n.alpnProtocol==="h2"?await re(e,n):await te(e,n)}catch(e){n.destroy().on("error",noop);throw e}e[b]=false;n[J]=0;n[V]=e[V];n[E]=e;n[N]=null;if(i.connected.hasSubscribers){i.connected.publish({connectParams:{host:t,hostname:r,protocol:s,port:a,version:e[Z]?.version,servername:e[f],localAddress:e[z]},connector:e[Y],socket:n})}e.emit("connect",e[g],[e])}catch(n){if(e.destroyed){return}e[b]=false;if(i.connectError.hasSubscribers){i.connectError.publish({connectParams:{host:t,hostname:r,protocol:s,port:a,version:e[Z]?.version,servername:e[f],localAddress:e[z]},connector:e[Y],error:n})}if(n.code==="ERR_TLS_CERT_ALTNAME_INVALID"){A(e[B]===0);while(e[p]>0&&e[y][e[S]].servername===e[f]){const t=e[y][e[S]++];o.errorRequest(e,t,n)}}else{onError(e,n)}e.emit("connectionError",e[g],[e],n)}e[ee]()}function emitDrain(e){e[k]=0;e.emit("drain",e[g],[e])}function resume(e,t){if(e[I]===2){return}e[I]=2;_resume(e,t);e[I]=0;if(e[F]>256){e[y].splice(0,e[F]);e[S]-=e[F];e[F]=0}}function _resume(e,t){while(true){if(e.destroyed){A(e[p]===0);return}if(e[ne]&&!e[m]){e[ne]();e[ne]=null;return}if(e[Z]){e[Z].resume()}if(e[Q]){e[k]=2}else if(e[k]===2){if(t){e[k]=1;queueMicrotask(()=>emitDrain(e))}else{emitDrain(e)}continue}if(e[p]===0){return}if(e[B]>=(getPipelining(e)||1)){return}const r=e[y][e[S]];if(e[g].protocol==="https:"&&e[f]!==r.servername){if(e[B]>0){return}e[f]=r.servername;e[Z]?.destroy(new u("servername changed"),()=>{e[Z]=null;resume(e)})}if(e[b]){return}if(!e[Z]){connect(e);return}if(e[Z].destroyed){return}if(e[Z].busy(r)){return}if(!r.aborted&&e[Z].write(r)){e[S]++}else{e[y].splice(e[S],1)}}}e.exports=Client},6870:(e,t,r)=>{const A=r(4573);const n=r(5030);const{ClientDestroyedError:s,ClientClosedError:o,InvalidArgumentError:i}=r(9934);const{kDestroy:a,kClose:c,kClosed:l,kDestroyed:u,kDispatch:d,kInterceptors:h}=r(5424);const g=Symbol("onDestroyed");const f=Symbol("onClosed");const E=Symbol("Intercepted Dispatch");const Q=Symbol("webSocketOptions");const C=Symbol("eventSourceOptions");class DispatcherBase extends n{constructor(e){super();this[u]=false;this[g]=null;this[l]=false;this[f]=[];this[Q]=e?.webSocket??{};this[C]=e?.eventSource??{}}get webSocketOptions(){return{maxFragments:this[Q].maxFragments??131072,maxPayloadSize:this[Q].maxPayloadSize??128*1024*1024}}get eventSourceOptions(){return{maxEventSize:this[C].maxEventSize??A.kStringMaxLength}}get destroyed(){return this[u]}get closed(){return this[l]}get interceptors(){return this[h]}set interceptors(e){if(e){for(let t=e.length-1;t>=0;t--){const e=this[h][t];if(typeof e!=="function"){throw new i("interceptor must be an function")}}}this[h]=e}close(e){if(e===undefined){return new Promise((e,t)=>{this.close((r,A)=>r?t(r):e(A))})}if(typeof e!=="function"){throw new i("invalid callback")}if(this[u]){queueMicrotask(()=>e(new s,null));return}if(this[l]){if(this[f]){this[f].push(e)}else{queueMicrotask(()=>e(null,null))}return}this[l]=true;this[f].push(e);const onClosed=()=>{const e=this[f];this[f]=null;for(let t=0;tthis.destroy()).then(()=>{queueMicrotask(onClosed)})}destroy(e,t){if(typeof e==="function"){t=e;e=null}if(t===undefined){return new Promise((t,r)=>{this.destroy(e,(e,A)=>e?r(e):t(A))})}if(typeof t!=="function"){throw new i("invalid callback")}if(this[u]){if(this[g]){this[g].push(t)}else{queueMicrotask(()=>t(null,null))}return}if(!e){e=new s}this[u]=true;this[g]=this[g]||[];this[g].push(t);const onDestroyed=()=>{const e=this[g];this[g]=null;for(let t=0;t{queueMicrotask(onDestroyed)})}[E](e,t){if(!this[h]||this[h].length===0){this[E]=this[d];return this[d](e,t)}let r=this[d].bind(this);for(let e=this[h].length-1;e>=0;e--){r=this[h][e](r)}this[E]=r;return r(e,t)}dispatch(e,t){if(!t||typeof t!=="object"){throw new i("handler must be an object")}try{if(!e||typeof e!=="object"){throw new i("opts must be an object.")}if(this[u]||this[g]){throw new s}if(this[l]){throw new o}return this[E](e,t)}catch(e){if(typeof t.onError!=="function"){throw new i("invalid onError method")}t.onError(e);return false}}}e.exports=DispatcherBase},5030:(e,t,r)=>{const A=r(8474);class Dispatcher extends A{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}compose(...e){const t=Array.isArray(e[0])?e[0]:e;let r=this.dispatch.bind(this);for(const e of t){if(e==null){continue}if(typeof e!=="function"){throw new TypeError(`invalid interceptor, expected function received ${typeof e}`)}r=e(r);if(r==null||typeof r!=="function"||r.length!==2){throw new TypeError("invalid interceptor")}}return new ComposedDispatcher(this,r)}}class ComposedDispatcher extends Dispatcher{#r=null;#A=null;constructor(e,t){super();this.#r=e;this.#A=t}dispatch(...e){this.#A(...e)}close(...e){return this.#r.close(...e)}destroy(...e){return this.#r.destroy(...e)}}e.exports=Dispatcher},6920:(e,t,r)=>{const A=r(6870);const{kClose:n,kDestroy:s,kClosed:o,kDestroyed:i,kDispatch:a,kNoProxyAgent:c,kHttpProxyAgent:l,kHttpsProxyAgent:u}=r(5424);const d=r(3747);const h=r(4586);const g={"http:":80,"https:":443};let f=false;class EnvHttpProxyAgent extends A{#n=null;#s=null;#o=null;constructor(e={}){super();this.#o=e;if(!f){f=true;process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.",{code:"UNDICI-EHPA"})}const{httpProxy:t,httpsProxy:r,noProxy:A,...n}=e;this[c]=new h(n);const s=t??process.env.http_proxy??process.env.HTTP_PROXY;if(s){this[l]=new d({...n,uri:s})}else{this[l]=this[c]}const o=r??process.env.https_proxy??process.env.HTTPS_PROXY;if(o){this[u]=new d({...n,uri:o})}else{this[u]=this[l]}this.#i()}[a](e,t){const r=new URL(e.origin);const A=this.#a(r);return A.dispatch(e,t)}async[n](){await this[c].close();if(!this[l][o]){await this[l].close()}if(!this[u][o]){await this[u].close()}}async[s](e){await this[c].destroy(e);if(!this[l][i]){await this[l].destroy(e)}if(!this[u][i]){await this[u].destroy(e)}}#a(e){let{protocol:t,host:r,port:A}=e;r=r.replace(/:\d*$/,"").toLowerCase();A=Number.parseInt(A,10)||g[t]||0;if(!this.#c(r,A)){return this[c]}if(t==="https:"){return this[u]}return this[l]}#c(e,t){if(this.#l){this.#i()}if(this.#s.length===0){return true}if(this.#n==="*"){return false}for(let r=0;r{const t=2048;const r=t-1;class FixedCircularBuffer{constructor(){this.bottom=0;this.top=0;this.list=new Array(t);this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&r)===this.bottom}push(e){this.list[this.top]=e;this.top=this.top+1&r}shift(){const e=this.list[this.bottom];if(e===undefined)return null;this.list[this.bottom]=undefined;this.bottom=this.bottom+1&r;return e}}e.exports=class FixedQueue{constructor(){this.head=this.tail=new FixedCircularBuffer}isEmpty(){return this.head.isEmpty()}push(e){if(this.head.isFull()){this.head=this.head.next=new FixedCircularBuffer}this.head.push(e)}shift(){const e=this.tail;const t=e.shift();if(e.isEmpty()&&e.next!==null){this.tail=e.next}return t}}},627:(e,t,r)=>{const A=r(6870);const n=r(4007);const{kConnected:s,kSize:o,kRunning:i,kPending:a,kQueued:c,kBusy:l,kFree:u,kUrl:d,kClose:h,kDestroy:g,kDispatch:f}=r(5424);const E=r(5871);const Q=Symbol("clients");const C=Symbol("needDrain");const I=Symbol("queue");const B=Symbol("closed resolve");const p=Symbol("onDrain");const m=Symbol("onConnect");const y=Symbol("onDisconnect");const w=Symbol("onConnectionError");const b=Symbol("get dispatcher");const k=Symbol("add client");const D=Symbol("remove client");const R=Symbol("stats");class PoolBase extends A{constructor(e){super(e);this[I]=new n;this[Q]=[];this[c]=0;const t=this;this[p]=function onDrain(e,r){const A=t[I];let n=false;while(!n){const e=A.shift();if(!e){break}t[c]--;n=!this.dispatch(e.opts,e.handler)}this[C]=n;if(!this[C]&&t[C]){t[C]=false;t.emit("drain",e,[t,...r])}if(t[B]&&A.isEmpty()){Promise.all(t[Q].map(e=>e.close())).then(t[B])}};this[m]=(e,r)=>{t.emit("connect",e,[t,...r])};this[y]=(e,r,A)=>{t.emit("disconnect",e,[t,...r],A)};this[w]=(e,r,A)=>{t.emit("connectionError",e,[t,...r],A)};this[R]=new E(this)}get[l](){return this[C]}get[s](){return this[Q].filter(e=>e[s]).length}get[u](){return this[Q].filter(e=>e[s]&&!e[C]).length}get[a](){let e=this[c];for(const{[a]:t}of this[Q]){e+=t}return e}get[i](){let e=0;for(const{[i]:t}of this[Q]){e+=t}return e}get[o](){let e=this[c];for(const{[o]:t}of this[Q]){e+=t}return e}get stats(){return this[R]}async[h](){if(this[I].isEmpty()){await Promise.all(this[Q].map(e=>e.close()))}else{await new Promise(e=>{this[B]=e})}}async[g](e){while(true){const t=this[I].shift();if(!t){break}t.handler.onError(e)}await Promise.all(this[Q].map(t=>t.destroy(e)))}[f](e,t){const r=this[b]();if(!r){this[C]=true;this[I].push({opts:e,handler:t});this[c]++}else if(!r.dispatch(e,t)){r[C]=true;this[C]=!this[b]()}return!this[C]}[k](e){e.on("drain",this[p]).on("connect",this[m]).on("disconnect",this[y]).on("connectionError",this[w]);this[Q].push(e);if(this[C]){queueMicrotask(()=>{if(this[C]){this[p](e[d],[this,e])}})}return this}[D](e){e.close(()=>{const t=this[Q].indexOf(e);if(t!==-1){this[Q].splice(t,1)}});this[C]=this[Q].some(e=>!e[C]&&e.closed!==true&&e.destroyed!==true)}}e.exports={PoolBase:PoolBase,kClients:Q,kNeedDrain:C,kAddClient:k,kRemoveClient:D,kGetDispatcher:b}},5871:(e,t,r)=>{const{kFree:A,kConnected:n,kPending:s,kQueued:o,kRunning:i,kSize:a}=r(5424);const c=Symbol("pool");class PoolStats{constructor(e){this[c]=e}get connected(){return this[c][n]}get free(){return this[c][A]}get pending(){return this[c][s]}get queued(){return this[c][o]}get running(){return this[c][i]}get size(){return this[c][a]}}e.exports=PoolStats},2921:(e,t,r)=>{const{PoolBase:A,kClients:n,kNeedDrain:s,kAddClient:o,kGetDispatcher:i}=r(627);const a=r(7140);const{InvalidArgumentError:c}=r(9934);const l=r(8529);const{kUrl:u,kInterceptors:d}=r(5424);const h=r(951);const g=Symbol("options");const f=Symbol("connections");const E=Symbol("factory");function defaultFactory(e,t){return new a(e,t)}class Pool extends A{constructor(e,{connections:t,factory:r=defaultFactory,connect:A,connectTimeout:s,tls:o,maxCachedSessions:i,socketPath:a,autoSelectFamily:Q,autoSelectFamilyAttemptTimeout:C,allowH2:I,...B}={}){if(t!=null&&(!Number.isFinite(t)||t<0)){throw new c("invalid connections")}if(typeof r!=="function"){throw new c("factory must be a function.")}if(A!=null&&typeof A!=="function"&&typeof A!=="object"){throw new c("connect must be a function or an object")}if(typeof A!=="function"){A=h({...o,maxCachedSessions:i,allowH2:I,socketPath:a,timeout:s,...Q?{autoSelectFamily:Q,autoSelectFamilyAttemptTimeout:C}:undefined,...A})}super(B);this[d]=B.interceptors?.Pool&&Array.isArray(B.interceptors.Pool)?B.interceptors.Pool:[];this[f]=t||null;this[u]=l.parseOrigin(e);this[g]={...l.deepClone(B),connect:A,allowH2:I};this[g].interceptors=B.interceptors?{...B.interceptors}:undefined;this[E]=r;this.on("connectionError",(e,t,r)=>{for(const e of t){const t=this[n].indexOf(e);if(t!==-1){this[n].splice(t,1)}}})}[i](){for(const e of this[n]){if(!e[s]){return e}}if(!this[f]||this[n].length{const{kProxy:A,kClose:n,kDestroy:s,kDispatch:o,kInterceptors:i}=r(5424);const{URL:a}=r(3136);const c=r(4586);const l=r(2921);const u=r(6870);const{InvalidArgumentError:d,RequestAbortedError:h,SecureProxyConnectionError:g}=r(9934);const f=r(951);const E=r(7140);const Q=Symbol("proxy agent");const C=Symbol("proxy client");const I=Symbol("proxy headers");const B=Symbol("request tls settings");const p=Symbol("proxy tls settings");const m=Symbol("connect endpoint function");const y=Symbol("tunnel proxy");function defaultProtocolPort(e){return e==="https:"?443:80}function defaultFactory(e,t){return new l(e,t)}const noop=()=>{};function defaultAgentFactory(e,t){if(t.connections===1){return new E(e,t)}return new l(e,t)}class Http1ProxyWrapper extends u{#d;constructor(e,{headers:t={},connect:r,factory:A}){super();if(!e){throw new d("Proxy URL is mandatory")}this[I]=t;if(A){this.#d=A(e,{connect:r})}else{this.#d=new E(e,{connect:r})}}[o](e,t){const r=t.onHeaders;t.onHeaders=function(e,A,n){if(e===407){if(typeof t.onError==="function"){t.onError(new d("Proxy Authentication Required (407)"))}return}if(r)r.call(this,e,A,n)};const{origin:A,path:n="/",headers:s={}}=e;e.path=A+n;if(!("host"in s)&&!("Host"in s)){const{host:e}=new a(A);s.host=e}e.headers={...this[I],...s};return this.#d[o](e,t)}async[n](){return this.#d.close()}async[s](e){return this.#d.destroy(e)}}class ProxyAgent extends u{constructor(e){super();if(!e||typeof e==="object"&&!(e instanceof a)&&!e.uri){throw new d("Proxy uri is mandatory")}const{clientFactory:t=defaultFactory}=e;if(typeof t!=="function"){throw new d("Proxy opts.clientFactory must be a function.")}const{proxyTunnel:r=true}=e;const n=this.#h(e);const{href:s,origin:o,port:l,protocol:u,username:E,password:w,hostname:b}=n;this[A]={uri:s,protocol:u};this[i]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[];this[B]=e.requestTls;this[p]=e.proxyTls;this[I]=e.headers||{};this[y]=r;if(e.auth&&e.token){throw new d("opts.auth cannot be used in combination with opts.token")}else if(e.auth){this[I]["proxy-authorization"]=`Basic ${e.auth}`}else if(e.token){this[I]["proxy-authorization"]=e.token}else if(E&&w){this[I]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(E)}:${decodeURIComponent(w)}`).toString("base64")}`}const k=f({...e.proxyTls});this[m]=f({...e.requestTls});const D=e.factory||defaultAgentFactory;const factory=(e,t)=>{const{protocol:r}=new a(e);if(!this[y]&&r==="http:"&&this[A].protocol==="http:"){return new Http1ProxyWrapper(this[A].uri,{headers:this[I],connect:k,factory:D})}return D(e,t)};this[C]=t(n,{connect:k});this[Q]=new c({...e,factory:factory,connect:async(e,t)=>{let r=e.host;if(!e.port){r+=`:${defaultProtocolPort(e.protocol)}`}try{const{socket:A,statusCode:n}=await this[C].connect({origin:o,port:l,path:r,signal:e.signal,headers:{...this[I],host:e.host},servername:this[p]?.servername||b});if(n!==200){A.on("error",noop).destroy();t(new h(`Proxy response (${n}) !== 200 when HTTP Tunneling`))}if(e.protocol!=="https:"){t(null,A);return}let s;if(this[B]){s=this[B].servername}else{s=e.servername}this[m]({...e,servername:s,httpSocket:A},t)}catch(e){if(e.code==="ERR_TLS_CERT_ALTNAME_INVALID"){t(new g(e))}else{t(e)}}}})}dispatch(e,t){const r=buildHeaders(e.headers);throwIfProxyAuthIsSent(r);if(r&&!("host"in r)&&!("Host"in r)){const{host:t}=new a(e.origin);r.host=t}return this[Q].dispatch({...e,headers:r},t)}#h(e){if(typeof e==="string"){return new a(e)}else if(e instanceof a){return e}else{return new a(e.uri)}}async[n](){await this[Q].close();await this[C].close()}async[s](){await this[Q].destroy();await this[C].destroy()}}function buildHeaders(e){if(Array.isArray(e)){const t={};for(let r=0;re.toLowerCase()==="proxy-authorization");if(t){throw new d("Proxy-Authorization should be sent in ProxyAgent constructor")}}e.exports=ProxyAgent},9089:(e,t,r)=>{const A=r(5030);const n=r(7877);class RetryAgent extends A{#g=null;#f=null;constructor(e,t={}){super(t);this.#g=e;this.#f=t}dispatch(e,t){const r=new n({...e,retryOptions:this.#f},{dispatch:this.#g.dispatch.bind(this.#g),handler:t});return this.#g.dispatch(e,r)}close(){return this.#g.close()}destroy(){return this.#g.destroy()}}e.exports=RetryAgent},4498:(e,t,r)=>{const A=Symbol.for("undici.globalDispatcher.1");const{InvalidArgumentError:n}=r(9934);const s=r(4586);if(getGlobalDispatcher()===undefined){setGlobalDispatcher(new s)}function setGlobalDispatcher(e){if(!e||typeof e.dispatch!=="function"){throw new n("Argument agent must implement Agent")}Object.defineProperty(globalThis,A,{value:e,writable:true,enumerable:false,configurable:false})}function getGlobalDispatcher(){return globalThis[A]}e.exports={setGlobalDispatcher:setGlobalDispatcher,getGlobalDispatcher:getGlobalDispatcher}},4606:e=>{e.exports=class DecoratorHandler{#E;constructor(e){if(typeof e!=="object"||e===null){throw new TypeError("handler must be an object")}this.#E=e}onConnect(...e){return this.#E.onConnect?.(...e)}onError(...e){return this.#E.onError?.(...e)}onUpgrade(...e){return this.#E.onUpgrade?.(...e)}onResponseStarted(...e){return this.#E.onResponseStarted?.(...e)}onHeaders(...e){return this.#E.onHeaders?.(...e)}onData(...e){return this.#E.onData?.(...e)}onComplete(...e){return this.#E.onComplete?.(...e)}onBodySent(...e){return this.#E.onBodySent?.(...e)}}},3669:(e,t,r)=>{const A=r(8529);const{kBodyUsed:n}=r(5424);const s=r(4589);const{InvalidArgumentError:o}=r(9934);const i=r(8474);const a=[300,301,302,303,307,308];const c=Symbol("body");class BodyAsyncIterable{constructor(e){this[c]=e;this[n]=false}async*[Symbol.asyncIterator](){s(!this[n],"disturbed");this[n]=true;yield*this[c]}}class RedirectHandler{constructor(e,t,r,a){if(t!=null&&(!Number.isInteger(t)||t<0)){throw new o("maxRedirections must be a positive number")}A.validateHandler(a,r.method,r.upgrade);this.dispatch=e;this.location=null;this.abort=null;this.opts={...r,maxRedirections:0};this.maxRedirections=t;this.handler=a;this.history=[];this.redirectionLimitReached=false;if(A.isStream(this.opts.body)){if(A.bodyLength(this.opts.body)===0){this.opts.body.on("data",function(){s(false)})}if(typeof this.opts.body.readableDidRead!=="boolean"){this.opts.body[n]=false;i.prototype.on.call(this.opts.body,"data",function(){this[n]=true})}}else if(this.opts.body&&typeof this.opts.body.pipeTo==="function"){this.opts.body=new BodyAsyncIterable(this.opts.body)}else if(this.opts.body&&typeof this.opts.body!=="string"&&!ArrayBuffer.isView(this.opts.body)&&A.isIterable(this.opts.body)){this.opts.body=new BodyAsyncIterable(this.opts.body)}}onConnect(e){this.abort=e;this.handler.onConnect(e,{history:this.history})}onUpgrade(e,t,r){this.handler.onUpgrade(e,t,r)}onError(e){this.handler.onError(e)}onHeaders(e,t,r,n){this.location=this.history.length>=this.maxRedirections||A.isDisturbed(this.opts.body)?null:parseLocation(e,t);if(this.opts.throwOnMaxRedirect&&this.history.length>=this.maxRedirections){if(this.request){this.request.abort(new Error("max redirects"))}this.redirectionLimitReached=true;this.abort(new Error("max redirects"));return}if(this.opts.origin){this.history.push(new URL(this.opts.path,this.opts.origin))}if(!this.location){return this.handler.onHeaders(e,t,r,n)}const{origin:s,pathname:o,search:i}=A.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin)));const a=i?`${o}${i}`:o;this.opts.headers=cleanRequestHeaders(this.opts.headers,e===303,this.opts.origin!==s);this.opts.path=a;this.opts.origin=s;this.opts.maxRedirections=0;this.opts.query=null;if(e===303&&this.opts.method!=="HEAD"){this.opts.method="GET";this.opts.body=null}}onData(e){if(this.location){}else{return this.handler.onData(e)}}onComplete(e){if(this.location){this.location=null;this.abort=null;this.dispatch(this.opts,this)}else{this.handler.onComplete(e)}}onBodySent(e){if(this.handler.onBodySent){this.handler.onBodySent(e)}}}function parseLocation(e,t){if(a.indexOf(e)===-1){return null}for(let e=0;e{const A=r(4589);const{kRetryHandlerDefaultRetry:n}=r(5424);const{RequestRetryError:s}=r(9934);const{isDisturbed:o,parseHeaders:i,parseRangeHeader:a,wrapRequestBody:c}=r(8529);function calculateRetryAfterHeader(e){const t=Date.now();return new Date(e).getTime()-t}function validatePartialResponseContentLength(e,t,r,A){const n=e["content-length"];if(n==null){return null}if(!Number.isFinite(t.start)||!Number.isFinite(t.end)){return null}const o=Number(n);const i=t.end-t.start+1;if(!Number.isFinite(o)||o!==i){return new s("Content-Length mismatch",r,{headers:e,data:{count:A}})}return null}class RetryHandler{constructor(e,t){const{retryOptions:r,...A}=e;const{retry:s,maxRetries:o,maxTimeout:i,minTimeout:a,timeoutFactor:l,methods:u,errorCodes:d,retryAfter:h,statusCodes:g}=r??{};this.dispatch=t.dispatch;this.handler=t.handler;this.opts={...A,body:c(e.body)};this.abort=null;this.aborted=false;this.retryOpts={retry:s??RetryHandler[n],retryAfter:h??true,maxTimeout:i??30*1e3,minTimeout:a??500,timeoutFactor:l??2,maxRetries:o??5,methods:u??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:g??[500,502,503,504,429],errorCodes:d??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE","UND_ERR_SOCKET"]};this.retryCount=0;this.retryCountCheckpoint=0;this.start=0;this.end=null;this.etag=null;this.resume=null;this.headersSent=false;this.handler.onConnect(e=>{this.aborted=true;if(this.abort){this.abort(e)}else{this.reason=e}})}checkpointResponseEnd(e,t){if(this.end==null&&this.opts.method!=="HEAD"){const t=e["content-length"];this.end=t!=null?Number(t)-1:null;A(this.end==null||Number.isFinite(this.end),"invalid content-length")}this.resume=this.end!=null?t:null}onRequestSent(){if(this.handler.onRequestSent){this.handler.onRequestSent()}}onUpgrade(e,t,r){if(this.handler.onUpgrade){this.handler.onUpgrade(e,t,r)}}onConnect(e){if(this.aborted){e(this.reason)}else{this.abort=e}}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[n](e,{state:t,opts:r},A){const{statusCode:n,code:s,headers:o}=e;const{method:i,retryOptions:a}=r;const{maxRetries:c,minTimeout:l,maxTimeout:u,timeoutFactor:d,statusCodes:h,errorCodes:g,methods:f}=a;const{counter:E}=t;if(s&&s!=="UND_ERR_REQ_RETRY"&&!g.includes(s)){A(e);return}if(Array.isArray(f)&&!f.includes(i)){A(e);return}if(n!=null&&Array.isArray(h)&&!h.includes(n)){A(e);return}if(E>c){A(e);return}let Q=o?.["retry-after"];if(Q){Q=Number(Q);Q=Number.isNaN(Q)?calculateRetryAfterHeader(Q):Q*1e3}const C=Q>0?Math.min(Q,u):Math.min(l*d**(E-1),u);setTimeout(()=>A(null),C)}onHeaders(e,t,r,n){const o=i(t);this.retryCount+=1;if(e>=300){if(!this.headersSent&&this.retryOpts.statusCodes.includes(e)===false){this.headersSent=true;this.checkpointResponseEnd(o,r);return this.handler.onHeaders(e,t,r,n)}else{this.abort(new s("Request failed",e,{headers:o,data:{count:this.retryCount}}));return false}}if(this.resume!=null){this.resume=null;if(e!==206&&(this.start>0||e!==200)){this.abort(new s("server does not support the range header and the payload was partially consumed",e,{headers:o,data:{count:this.retryCount}}));return false}const t=a(o["content-range"]);if(!t){this.abort(new s("Content-Range mismatch",e,{headers:o,data:{count:this.retryCount}}));return false}if(this.etag!=null&&this.etag!==o.etag){this.abort(new s("ETag mismatch",e,{headers:o,data:{count:this.retryCount}}));return false}const A=validatePartialResponseContentLength(o,t,e,this.retryCount);if(A!=null){this.abort(A);return false}const{start:n,size:i,end:c=i-1}=t;if(this.start!==n||this.end!=null&&this.end!==c){this.abort(new s("Content-Range mismatch",e,{headers:o,data:{count:this.retryCount}}));return false}this.resume=r;return true}if(this.end==null){if(e===206){const s=a(o["content-range"]);if(s==null){this.headersSent=true;return this.handler.onHeaders(e,t,r,n)}const i=validatePartialResponseContentLength(o,s,e,this.retryCount);if(i!=null){this.abort(i);return false}const{start:c,size:l,end:u=l-1}=s;A(c!=null&&Number.isFinite(c),"content-range mismatch");A(u!=null&&Number.isFinite(u),"invalid content-length");this.start=c;this.end=u}if(this.end==null){const e=o["content-length"];this.end=e!=null?Number(e)-1:null}A(Number.isFinite(this.start));A(this.end==null||Number.isFinite(this.end),"invalid content-length");this.resume=r;this.headersSent=true;this.etag=o.etag!=null?o.etag:null;if(this.etag!=null&&this.etag.startsWith("W/")){this.etag=null}return this.handler.onHeaders(e,t,r,n)}const c=new s("Request failed",e,{headers:o,data:{count:this.retryCount}});this.abort(c);return false}onData(e){this.start+=e.length;return this.handler.onData(e)}onComplete(e){this.retryCount=0;return this.handler.onComplete(e)}onError(e){if(this.aborted||o(this.opts.body)||this.headersSent&&this.resume==null){return this.handler.onError(e)}if(this.retryCount-this.retryCountCheckpoint>0){this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint)}else{this.retryCount+=1}this.retryOpts.retry(e,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},onRetry.bind(this));function onRetry(e){if(e!=null||this.aborted||o(this.opts.body)){return this.handler.onError(e)}if(this.start!==0){const e={range:`bytes=${this.start}-${this.end??""}`};if(this.etag!=null){e["if-match"]=this.etag}this.opts={...this.opts,headers:{...this.opts.headers,...e}}}try{this.retryCountCheckpoint=this.retryCount;this.dispatch(this.opts,this)}catch(e){this.handler.onError(e)}}}}e.exports=RetryHandler},6814:(e,t,r)=>{const{isIP:A}=r(7030);const{lookup:n}=r(610);const s=r(4606);const{InvalidArgumentError:o,InformationalError:i}=r(9934);const a=Math.pow(2,31)-1;class DNSInstance{#Q=0;#C=0;#I=new Map;dualStack=true;affinity=null;lookup=null;pick=null;constructor(e){this.#Q=e.maxTTL;this.#C=e.maxItems;this.dualStack=e.dualStack;this.affinity=e.affinity;this.lookup=e.lookup??this.#B;this.pick=e.pick??this.#p}get full(){return this.#I.size===this.#C}runLookup(e,t,r){const A=this.#I.get(e.hostname);if(A==null&&this.full){r(null,e.origin);return}const n={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...t.dns,maxTTL:this.#Q,maxItems:this.#C};if(A==null){this.lookup(e,n,(t,A)=>{if(t||A==null||A.length===0){r(t??new i("No DNS entries found"));return}this.setRecords(e,A);const s=this.#I.get(e.hostname);const o=this.pick(e,s,n.affinity);let a;if(typeof o.port==="number"){a=`:${o.port}`}else if(e.port!==""){a=`:${e.port}`}else{a=""}r(null,`${e.protocol}//${o.family===6?`[${o.address}]`:o.address}${a}`)})}else{const s=this.pick(e,A,n.affinity);if(s==null){this.#I.delete(e.hostname);this.runLookup(e,t,r);return}let o;if(typeof s.port==="number"){o=`:${s.port}`}else if(e.port!==""){o=`:${e.port}`}else{o=""}r(null,`${e.protocol}//${s.family===6?`[${s.address}]`:s.address}${o}`)}}#B(e,t,r){n(e.hostname,{all:true,family:this.dualStack===false?this.affinity:0,order:"ipv4first"},(e,t)=>{if(e){return r(e)}const A=new Map;for(const e of t){A.set(`${e.address}:${e.family}`,e)}r(null,A.values())})}#p(e,t,r){let A=null;const{records:n,offset:s}=t;let o;if(this.dualStack){if(r==null){if(s==null||s===a){t.offset=0;r=4}else{t.offset++;r=(t.offset&1)===1?6:4}}if(n[r]!=null&&n[r].ips.length>0){o=n[r]}else{o=n[r===4?6:4]}}else{o=n[r]}if(o==null||o.ips.length===0){return A}if(o.offset==null||o.offset===a){o.offset=0}else{o.offset++}const i=o.offset%o.ips.length;A=o.ips[i]??null;if(A==null){return A}if(Date.now()-A.timestamp>A.ttl){o.ips.splice(i,1);return this.pick(e,t,r)}return A}setRecords(e,t){const r=Date.now();const A={records:{4:null,6:null}};for(const e of t){e.timestamp=r;if(typeof e.ttl==="number"){e.ttl=Math.min(e.ttl,this.#Q)}else{e.ttl=this.#Q}const t=A.records[e.family]??{ips:[]};t.ips.push(e);A.records[e.family]=t}this.#I.set(e.hostname,A)}getHandler(e,t){return new DNSDispatchHandler(this,e,t)}}class DNSDispatchHandler extends s{#m=null;#o=null;#A=null;#E=null;#y=null;constructor(e,{origin:t,handler:r,dispatch:A},n){super(r);this.#y=t;this.#E=r;this.#o={...n};this.#m=e;this.#A=A}onError(e){switch(e.code){case"ETIMEDOUT":case"ECONNREFUSED":{if(this.#m.dualStack){this.#m.runLookup(this.#y,this.#o,(e,t)=>{if(e){return this.#E.onError(e)}const r={...this.#o,origin:t};this.#A(r,this)});return}this.#E.onError(e);return}case"ENOTFOUND":this.#m.deleteRecord(this.#y);default:this.#E.onError(e);break}}}e.exports=e=>{if(e?.maxTTL!=null&&(typeof e?.maxTTL!=="number"||e?.maxTTL<0)){throw new o("Invalid maxTTL. Must be a positive number")}if(e?.maxItems!=null&&(typeof e?.maxItems!=="number"||e?.maxItems<1)){throw new o("Invalid maxItems. Must be a positive number and greater than zero")}if(e?.affinity!=null&&e?.affinity!==4&&e?.affinity!==6){throw new o("Invalid affinity. Must be either 4 or 6")}if(e?.dualStack!=null&&typeof e?.dualStack!=="boolean"){throw new o("Invalid dualStack. Must be a boolean")}if(e?.lookup!=null&&typeof e?.lookup!=="function"){throw new o("Invalid lookup. Must be a function")}if(e?.pick!=null&&typeof e?.pick!=="function"){throw new o("Invalid pick. Must be a function")}const t=e?.dualStack??true;let r;if(t){r=e?.affinity??null}else{r=e?.affinity??4}const n={maxTTL:e?.maxTTL??1e4,lookup:e?.lookup??null,pick:e?.pick??null,dualStack:t,affinity:r,maxItems:e?.maxItems??Infinity};const s=new DNSInstance(n);return e=>function dnsInterceptor(t,r){const n=t.origin.constructor===URL?t.origin:new URL(t.origin);if(A(n.hostname)!==0){return e(t,r)}s.runLookup(n,t,(A,o)=>{if(A){return r.onError(A)}let i=null;i={...t,servername:n.hostname,origin:o,headers:{host:n.hostname,...t.headers}};e(i,s.getHandler({origin:n,dispatch:e,handler:r},t))});return true}}},7407:(e,t,r)=>{const A=r(8529);const{InvalidArgumentError:n,RequestAbortedError:s}=r(9934);const o=r(4606);class DumpHandler extends o{#w=1024*1024;#b=null;#k=false;#D=false;#R=0;#S=null;#E=null;constructor({maxSize:e},t){super(t);if(e!=null&&(!Number.isFinite(e)||e<1)){throw new n("maxSize must be a number greater than 0")}this.#w=e??this.#w;this.#E=t}onConnect(e){this.#b=e;this.#E.onConnect(this.#F.bind(this))}#F(e){this.#D=true;this.#S=e}onHeaders(e,t,r,n){const o=A.parseHeaders(t);const i=o["content-length"];if(i!=null&&i>this.#w){throw new s(`Response size (${i}) larger than maxSize (${this.#w})`)}if(this.#D){return true}return this.#E.onHeaders(e,t,r,n)}onError(e){if(this.#k){return}e=this.#S??e;this.#E.onError(e)}onData(e){this.#R=this.#R+e.length;if(this.#R>=this.#w){this.#k=true;if(this.#D){this.#E.onError(this.#S)}else{this.#E.onComplete([])}}return true}onComplete(e){if(this.#k){return}if(this.#D){this.#E.onError(this.reason);return}this.#E.onComplete(e)}}function createDumpInterceptor({maxSize:e}={maxSize:1024*1024}){return t=>function Intercept(r,A){const{dumpMaxSize:n=e}=r;const s=new DumpHandler({maxSize:n},A);return t(r,s)}}e.exports=createDumpInterceptor},7327:(e,t,r)=>{const A=r(3669);function createRedirectInterceptor({maxRedirections:e}){return t=>function Intercept(r,n){const{maxRedirections:s=e}=r;if(!s){return t(r,n)}const o=new A(t,s,r,n);r={...r,maxRedirections:0};return t(r,o)}}e.exports=createRedirectInterceptor},910:(e,t,r)=>{const A=r(3669);e.exports=e=>{const t=e?.maxRedirections;return e=>function redirectInterceptor(r,n){const{maxRedirections:s=t,...o}=r;if(!s){return e(r,n)}const i=new A(e,s,r,n);return e(o,i)}}},2503:(e,t,r)=>{const A=r(7877);e.exports=e=>t=>function retryInterceptor(r,n){return t(r,new A({...r,retryOptions:{...e,...r.retryOptions}},{handler:n,dispatch:t}))}},2811:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.SPECIAL_HEADERS=t.HEADER_STATE=t.MINOR=t.MAJOR=t.CONNECTION_TOKEN_CHARS=t.HEADER_CHARS=t.TOKEN=t.STRICT_TOKEN=t.HEX=t.URL_CHAR=t.STRICT_URL_CHAR=t.USERINFO_CHARS=t.MARK=t.ALPHANUM=t.NUM=t.HEX_MAP=t.NUM_MAP=t.ALPHA=t.FINISH=t.H_METHOD_MAP=t.METHOD_MAP=t.METHODS_RTSP=t.METHODS_ICE=t.METHODS_HTTP=t.METHODS=t.LENIENT_FLAGS=t.FLAGS=t.TYPE=t.ERROR=void 0;const A=r(6683);var n;(function(e){e[e["OK"]=0]="OK";e[e["INTERNAL"]=1]="INTERNAL";e[e["STRICT"]=2]="STRICT";e[e["LF_EXPECTED"]=3]="LF_EXPECTED";e[e["UNEXPECTED_CONTENT_LENGTH"]=4]="UNEXPECTED_CONTENT_LENGTH";e[e["CLOSED_CONNECTION"]=5]="CLOSED_CONNECTION";e[e["INVALID_METHOD"]=6]="INVALID_METHOD";e[e["INVALID_URL"]=7]="INVALID_URL";e[e["INVALID_CONSTANT"]=8]="INVALID_CONSTANT";e[e["INVALID_VERSION"]=9]="INVALID_VERSION";e[e["INVALID_HEADER_TOKEN"]=10]="INVALID_HEADER_TOKEN";e[e["INVALID_CONTENT_LENGTH"]=11]="INVALID_CONTENT_LENGTH";e[e["INVALID_CHUNK_SIZE"]=12]="INVALID_CHUNK_SIZE";e[e["INVALID_STATUS"]=13]="INVALID_STATUS";e[e["INVALID_EOF_STATE"]=14]="INVALID_EOF_STATE";e[e["INVALID_TRANSFER_ENCODING"]=15]="INVALID_TRANSFER_ENCODING";e[e["CB_MESSAGE_BEGIN"]=16]="CB_MESSAGE_BEGIN";e[e["CB_HEADERS_COMPLETE"]=17]="CB_HEADERS_COMPLETE";e[e["CB_MESSAGE_COMPLETE"]=18]="CB_MESSAGE_COMPLETE";e[e["CB_CHUNK_HEADER"]=19]="CB_CHUNK_HEADER";e[e["CB_CHUNK_COMPLETE"]=20]="CB_CHUNK_COMPLETE";e[e["PAUSED"]=21]="PAUSED";e[e["PAUSED_UPGRADE"]=22]="PAUSED_UPGRADE";e[e["PAUSED_H2_UPGRADE"]=23]="PAUSED_H2_UPGRADE";e[e["USER"]=24]="USER"})(n=t.ERROR||(t.ERROR={}));var s;(function(e){e[e["BOTH"]=0]="BOTH";e[e["REQUEST"]=1]="REQUEST";e[e["RESPONSE"]=2]="RESPONSE"})(s=t.TYPE||(t.TYPE={}));var o;(function(e){e[e["CONNECTION_KEEP_ALIVE"]=1]="CONNECTION_KEEP_ALIVE";e[e["CONNECTION_CLOSE"]=2]="CONNECTION_CLOSE";e[e["CONNECTION_UPGRADE"]=4]="CONNECTION_UPGRADE";e[e["CHUNKED"]=8]="CHUNKED";e[e["UPGRADE"]=16]="UPGRADE";e[e["CONTENT_LENGTH"]=32]="CONTENT_LENGTH";e[e["SKIPBODY"]=64]="SKIPBODY";e[e["TRAILING"]=128]="TRAILING";e[e["TRANSFER_ENCODING"]=512]="TRANSFER_ENCODING"})(o=t.FLAGS||(t.FLAGS={}));var i;(function(e){e[e["HEADERS"]=1]="HEADERS";e[e["CHUNKED_LENGTH"]=2]="CHUNKED_LENGTH";e[e["KEEP_ALIVE"]=4]="KEEP_ALIVE"})(i=t.LENIENT_FLAGS||(t.LENIENT_FLAGS={}));var a;(function(e){e[e["DELETE"]=0]="DELETE";e[e["GET"]=1]="GET";e[e["HEAD"]=2]="HEAD";e[e["POST"]=3]="POST";e[e["PUT"]=4]="PUT";e[e["CONNECT"]=5]="CONNECT";e[e["OPTIONS"]=6]="OPTIONS";e[e["TRACE"]=7]="TRACE";e[e["COPY"]=8]="COPY";e[e["LOCK"]=9]="LOCK";e[e["MKCOL"]=10]="MKCOL";e[e["MOVE"]=11]="MOVE";e[e["PROPFIND"]=12]="PROPFIND";e[e["PROPPATCH"]=13]="PROPPATCH";e[e["SEARCH"]=14]="SEARCH";e[e["UNLOCK"]=15]="UNLOCK";e[e["BIND"]=16]="BIND";e[e["REBIND"]=17]="REBIND";e[e["UNBIND"]=18]="UNBIND";e[e["ACL"]=19]="ACL";e[e["REPORT"]=20]="REPORT";e[e["MKACTIVITY"]=21]="MKACTIVITY";e[e["CHECKOUT"]=22]="CHECKOUT";e[e["MERGE"]=23]="MERGE";e[e["M-SEARCH"]=24]="M-SEARCH";e[e["NOTIFY"]=25]="NOTIFY";e[e["SUBSCRIBE"]=26]="SUBSCRIBE";e[e["UNSUBSCRIBE"]=27]="UNSUBSCRIBE";e[e["PATCH"]=28]="PATCH";e[e["PURGE"]=29]="PURGE";e[e["MKCALENDAR"]=30]="MKCALENDAR";e[e["LINK"]=31]="LINK";e[e["UNLINK"]=32]="UNLINK";e[e["SOURCE"]=33]="SOURCE";e[e["PRI"]=34]="PRI";e[e["DESCRIBE"]=35]="DESCRIBE";e[e["ANNOUNCE"]=36]="ANNOUNCE";e[e["SETUP"]=37]="SETUP";e[e["PLAY"]=38]="PLAY";e[e["PAUSE"]=39]="PAUSE";e[e["TEARDOWN"]=40]="TEARDOWN";e[e["GET_PARAMETER"]=41]="GET_PARAMETER";e[e["SET_PARAMETER"]=42]="SET_PARAMETER";e[e["REDIRECT"]=43]="REDIRECT";e[e["RECORD"]=44]="RECORD";e[e["FLUSH"]=45]="FLUSH"})(a=t.METHODS||(t.METHODS={}));t.METHODS_HTTP=[a.DELETE,a.GET,a.HEAD,a.POST,a.PUT,a.CONNECT,a.OPTIONS,a.TRACE,a.COPY,a.LOCK,a.MKCOL,a.MOVE,a.PROPFIND,a.PROPPATCH,a.SEARCH,a.UNLOCK,a.BIND,a.REBIND,a.UNBIND,a.ACL,a.REPORT,a.MKACTIVITY,a.CHECKOUT,a.MERGE,a["M-SEARCH"],a.NOTIFY,a.SUBSCRIBE,a.UNSUBSCRIBE,a.PATCH,a.PURGE,a.MKCALENDAR,a.LINK,a.UNLINK,a.PRI,a.SOURCE];t.METHODS_ICE=[a.SOURCE];t.METHODS_RTSP=[a.OPTIONS,a.DESCRIBE,a.ANNOUNCE,a.SETUP,a.PLAY,a.PAUSE,a.TEARDOWN,a.GET_PARAMETER,a.SET_PARAMETER,a.REDIRECT,a.RECORD,a.FLUSH,a.GET,a.POST];t.METHOD_MAP=A.enumToMap(a);t.H_METHOD_MAP={};Object.keys(t.METHOD_MAP).forEach(e=>{if(/^H/.test(e)){t.H_METHOD_MAP[e]=t.METHOD_MAP[e]}});var c;(function(e){e[e["SAFE"]=0]="SAFE";e[e["SAFE_WITH_CB"]=1]="SAFE_WITH_CB";e[e["UNSAFE"]=2]="UNSAFE"})(c=t.FINISH||(t.FINISH={}));t.ALPHA=[];for(let e="A".charCodeAt(0);e<="Z".charCodeAt(0);e++){t.ALPHA.push(String.fromCharCode(e));t.ALPHA.push(String.fromCharCode(e+32))}t.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};t.HEX_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15};t.NUM=["0","1","2","3","4","5","6","7","8","9"];t.ALPHANUM=t.ALPHA.concat(t.NUM);t.MARK=["-","_",".","!","~","*","'","(",")"];t.USERINFO_CHARS=t.ALPHANUM.concat(t.MARK).concat(["%",";",":","&","=","+","$",","]);t.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(t.ALPHANUM);t.URL_CHAR=t.STRICT_URL_CHAR.concat(["\t","\f"]);for(let e=128;e<=255;e++){t.URL_CHAR.push(e)}t.HEX=t.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);t.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(t.ALPHANUM);t.TOKEN=t.STRICT_TOKEN.concat([" "]);t.HEADER_CHARS=["\t"];for(let e=32;e<=255;e++){if(e!==127){t.HEADER_CHARS.push(e)}}t.CONNECTION_TOKEN_CHARS=t.HEADER_CHARS.filter(e=>e!==44);t.MAJOR=t.NUM_MAP;t.MINOR=t.MAJOR;var l;(function(e){e[e["GENERAL"]=0]="GENERAL";e[e["CONNECTION"]=1]="CONNECTION";e[e["CONTENT_LENGTH"]=2]="CONTENT_LENGTH";e[e["TRANSFER_ENCODING"]=3]="TRANSFER_ENCODING";e[e["UPGRADE"]=4]="UPGRADE";e[e["CONNECTION_KEEP_ALIVE"]=5]="CONNECTION_KEEP_ALIVE";e[e["CONNECTION_CLOSE"]=6]="CONNECTION_CLOSE";e[e["CONNECTION_UPGRADE"]=7]="CONNECTION_UPGRADE";e[e["TRANSFER_ENCODING_CHUNKED"]=8]="TRANSFER_ENCODING_CHUNKED"})(l=t.HEADER_STATE||(t.HEADER_STATE={}));t.SPECIAL_HEADERS={connection:l.CONNECTION,"content-length":l.CONTENT_LENGTH,"proxy-connection":l.CONNECTION,"transfer-encoding":l.TRANSFER_ENCODING,upgrade:l.UPGRADE}},5381:(e,t,r)=>{const{Buffer:A}=r(4573);e.exports=A.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAy0sBQYAAAIAAAAAAAACAQIAAgICAAADAAAAAAMDAwMBAQEBAQEBAQEAAAIAAAAEBQFwARISBQMBAAIGCAF/AUGA1AQLB9EFIgZtZW1vcnkCAAtfaW5pdGlhbGl6ZQAIGV9faW5kaXJlY3RfZnVuY3Rpb25fdGFibGUBAAtsbGh0dHBfaW5pdAAJGGxsaHR0cF9zaG91bGRfa2VlcF9hbGl2ZQAvDGxsaHR0cF9hbGxvYwALBm1hbGxvYwAxC2xsaHR0cF9mcmVlAAwEZnJlZQAMD2xsaHR0cF9nZXRfdHlwZQANFWxsaHR0cF9nZXRfaHR0cF9tYWpvcgAOFWxsaHR0cF9nZXRfaHR0cF9taW5vcgAPEWxsaHR0cF9nZXRfbWV0aG9kABAWbGxodHRwX2dldF9zdGF0dXNfY29kZQAREmxsaHR0cF9nZXRfdXBncmFkZQASDGxsaHR0cF9yZXNldAATDmxsaHR0cF9leGVjdXRlABQUbGxodHRwX3NldHRpbm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gBEEBcjYCBCABQaDQACgCAEcNAEGU0AAgBDYCAAwBCyAEQf8BTQRAIARBeHFBtNAAaiEAAn9BjNAAKAIAIgJBASAEQQN2dCIDcUUEQEGM0AAgAiADcjYCACAADAELIAAoAggLIgIgATYCDCAAIAE2AgggASAANgIMIAEgAjYCCAwBC0EfIQIgBEH///8HTQRAIARBJiAEQQh2ZyIAa3ZBAXEgAEEBdGtBPmohAgsgASACNgIcIAFCADcCECACQQJ0QbzSAGohAAJAQZDQACgCACIDQQEgAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ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TC0GxAQwSC0GzAQwRC0GyAQwQC0G0AQwPC0G1AQwOC0G2AQwNC0G3AQwMC0G4AQwLC0G5AQwKC0G6AQwJC0G7AQwIC0HGAQwHC0G8AQwGC0G9AQwFC0G+AQwEC0G/AQwDC0HAAQwCC0HCAQwBC0HBAQshAwNAAkACQAJAAkACQAJAAkACQAJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAC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tBqAEMHAtBqQEMGwtBqgEMGgtBqwEMGQtBrAEMGAtBrQEMFwtBrgEMFgtBAQwVC0GvAQwUC0GwAQwTC0GxAQwSC0GzAQwRC0GyAQwQC0G0AQwPC0G1AQwOC0G2AQwNC0G3AQwMC0G4AQwLC0G5AQwKC0G6AQwJC0G7AQwIC0HGAQwHC0G8AQwGC0G9AQwFC0G+AQwEC0G/AQwDC0HAAQwCC0HCAQwBC0HBAQshAwNAAkACQAJAAkACQAJAAkACQAJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAC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ARw1kIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyiAgsgAkEANgIAIAZBAWohAUECDGULQYwBIQMgASAERg2gAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHwzwBqLQAARw1jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyhAgsgAkEANgIAIAZBAWohAUEfDGQLQY0BIQMgASAERg2fAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHyzwBqLQAARw1iIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAygAgsgAkEANgIAIAZBAWohAUEJDGMLIAEgBEYEQEGOASEDDJ8CCwJAAkAgAS0AAEHJAGsOBwBiYmJiYgFiCyABQQFqIQFB+AAhAwyGAgsgAUEBaiEBQfkAIQMMhQILQY8BIQMgASAERg2dAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGRzwBqLQAARw1gIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyeAgsgAkEANgIAIAZBAWohAUEYDGELQZABIQMgASAERg2cAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGXzwBqLQAARw1fIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAydAgsgAkEANgIAIAZBAWohAUEXDGALQZEBIQMgASAERg2bAiACKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIAEtAAAgAEGazwBqLQAARw1eIABBBkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAycAgsgAkEANgIAIAZBAWohAUEVDF8LQZIBIQMgASAERg2aAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGhzwBqLQAARw1dIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAybAgsgAkEANgIAIAZBAWohAUEeDF4LIAEgBEYEQEGTASE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AAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBB+swACwQBAAABAEGQzQALAQEAQZrNAAsGAgAAAAACAEGxzQALOgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQfDOAAuWAU5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")},6683:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.enumToMap=void 0;function enumToMap(e){const t={};Object.keys(e).forEach(r=>{const A=e[r];if(typeof A==="number"){t[r]=A}});return t}t.enumToMap=enumToMap},8444:(e,t,r)=>{const{kClients:A}=r(5424);const n=r(4586);const{kAgent:s,kMockAgentSet:o,kMockAgentGet:i,kDispatches:a,kIsMockActive:c,kNetConnect:l,kGetNetConnect:u,kOptions:d,kFactory:h}=r(2104);const g=r(8570);const f=r(3927);const{matchValue:E,buildMockOptions:Q}=r(7532);const{InvalidArgumentError:C,UndiciError:I}=r(9934);const B=r(5030);const p=r(2492);const m=r(4955);class MockAgent extends B{constructor(e){super(e);this[l]=true;this[c]=true;if(e?.agent&&typeof e.agent.dispatch!=="function"){throw new C("Argument opts.agent must implement Agent")}const t=e?.agent?e.agent:new n(e);this[s]=t;this[A]=t[A];this[d]=Q(e)}get(e){let t=this[i](e);if(!t){t=this[h](e);this[o](e,t)}return t}dispatch(e,t){this.get(e.origin);return this[s].dispatch(e,t)}async close(){await this[s].close();this[A].clear()}deactivate(){this[c]=false}activate(){this[c]=true}enableNetConnect(e){if(typeof e==="string"||typeof e==="function"||e instanceof RegExp){if(Array.isArray(this[l])){this[l].push(e)}else{this[l]=[e]}}else if(typeof e==="undefined"){this[l]=true}else{throw new C("Unsupported matcher. Must be one of String|Function|RegExp.")}}disableNetConnect(){this[l]=false}get isMockActive(){return this[c]}[o](e,t){this[A].set(e,t)}[h](e){const t=Object.assign({agent:this},this[d]);return this[d]&&this[d].connections===1?new g(e,t):new f(e,t)}[i](e){const t=this[A].get(e);if(t){return t}if(typeof e!=="string"){const t=this[h]("http://localhost:9999");this[o](e,t);return t}for(const[t,r]of Array.from(this[A])){if(r&&typeof t!=="string"&&E(t,e)){const t=this[h](e);this[o](e,t);t[a]=r[a];return t}}}[u](){return this[l]}pendingInterceptors(){const e=this[A];return Array.from(e.entries()).flatMap(([e,t])=>t[a].map(t=>({...t,origin:e}))).filter(({pending:e})=>e)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new m}={}){const t=this.pendingInterceptors();if(t.length===0){return}const r=new p("interceptor","interceptors").pluralize(t.length);throw new I(`\n${r.count} ${r.noun} ${r.is} pending:\n\n${e.format(t)}\n`.trim())}}e.exports=MockAgent},8570:(e,t,r)=>{const{promisify:A}=r(7975);const n=r(7140);const{buildMockDispatch:s}=r(7532);const{kDispatches:o,kMockAgent:i,kClose:a,kOriginalClose:c,kOrigin:l,kOriginalDispatch:u,kConnected:d}=r(2104);const{MockInterceptor:h}=r(9478);const g=r(5424);const{InvalidArgumentError:f}=r(9934);class MockClient extends n{constructor(e,t){super(e,t);if(!t||!t.agent||typeof t.agent.dispatch!=="function"){throw new f("Argument opts.agent must implement Agent")}this[i]=t.agent;this[l]=e;this[o]=[];this[d]=1;this[u]=this.dispatch;this[c]=this.close.bind(this);this.dispatch=s.call(this);this.close=this[a]}get[g.kConnected](){return this[d]}intercept(e){return new h(e,this[o])}async[a](){await A(this[c])();this[d]=0;this[i][g.kClients].delete(this[l])}}e.exports=MockClient},9654:(e,t,r)=>{const{UndiciError:A}=r(9934);const n=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED");class MockNotMatchedError extends A{constructor(e){super(e);Error.captureStackTrace(this,MockNotMatchedError);this.name="MockNotMatchedError";this.message=e||"The request does not match any registered mock dispatches";this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}static[Symbol.hasInstance](e){return e&&e[n]===true}[n]=true}e.exports={MockNotMatchedError:MockNotMatchedError}},9478:(e,t,r)=>{const{getResponseData:A,buildKey:n,addMockDispatch:s}=r(7532);const{kDispatches:o,kDispatchKey:i,kDefaultHeaders:a,kDefaultTrailers:c,kContentLength:l,kMockDispatch:u}=r(2104);const{InvalidArgumentError:d}=r(9934);const{buildURL:h}=r(8529);class MockScope{constructor(e){this[u]=e}delay(e){if(typeof e!=="number"||!Number.isInteger(e)||e<=0){throw new d("waitInMs must be a valid integer > 0")}this[u].delay=e;return this}persist(){this[u].persist=true;return this}times(e){if(typeof e!=="number"||!Number.isInteger(e)||e<=0){throw new d("repeatTimes must be a valid integer > 0")}this[u].times=e;return this}}class MockInterceptor{constructor(e,t){if(typeof e!=="object"){throw new d("opts must be an object")}if(typeof e.path==="undefined"){throw new d("opts.path must be defined")}if(typeof e.method==="undefined"){e.method="GET"}if(typeof e.path==="string"){if(e.query){e.path=h(e.path,e.query)}else{const t=new URL(e.path,"data://");e.path=t.pathname+t.search}}if(typeof e.method==="string"){e.method=e.method.toUpperCase()}this[i]=n(e);this[o]=t;this[a]={};this[c]={};this[l]=false}createMockScopeDispatchData({statusCode:e,data:t,responseOptions:r}){const n=A(t);const s=this[l]?{"content-length":n.length}:{};const o={...this[a],...s,...r.headers};const i={...this[c],...r.trailers};return{statusCode:e,data:t,headers:o,trailers:i}}validateReplyParameters(e){if(typeof e.statusCode==="undefined"){throw new d("statusCode must be defined")}if(typeof e.responseOptions!=="object"||e.responseOptions===null){throw new d("responseOptions must be an object")}}reply(e){if(typeof e==="function"){const wrappedDefaultsCallback=t=>{const r=e(t);if(typeof r!=="object"||r===null){throw new d("reply options callback must return an object")}const A={data:"",responseOptions:{},...r};this.validateReplyParameters(A);return{...this.createMockScopeDispatchData(A)}};const t=s(this[o],this[i],wrappedDefaultsCallback);return new MockScope(t)}const t={statusCode:e,data:arguments[1]===undefined?"":arguments[1],responseOptions:arguments[2]===undefined?{}:arguments[2]};this.validateReplyParameters(t);const r=this.createMockScopeDispatchData(t);const A=s(this[o],this[i],r);return new MockScope(A)}replyWithError(e){if(typeof e==="undefined"){throw new d("error must be defined")}const t=s(this[o],this[i],{error:e});return new MockScope(t)}defaultReplyHeaders(e){if(typeof e==="undefined"){throw new d("headers must be defined")}this[a]=e;return this}defaultReplyTrailers(e){if(typeof e==="undefined"){throw new d("trailers must be defined")}this[c]=e;return this}replyContentLength(){this[l]=true;return this}}e.exports.MockInterceptor=MockInterceptor;e.exports.MockScope=MockScope},3927:(e,t,r)=>{const{promisify:A}=r(7975);const n=r(2921);const{buildMockDispatch:s}=r(7532);const{kDispatches:o,kMockAgent:i,kClose:a,kOriginalClose:c,kOrigin:l,kOriginalDispatch:u,kConnected:d}=r(2104);const{MockInterceptor:h}=r(9478);const g=r(5424);const{InvalidArgumentError:f}=r(9934);class MockPool extends n{constructor(e,t){super(e,t);if(!t||!t.agent||typeof t.agent.dispatch!=="function"){throw new f("Argument opts.agent must implement Agent")}this[i]=t.agent;this[l]=e;this[o]=[];this[d]=1;this[u]=this.dispatch;this[c]=this.close.bind(this);this.dispatch=s.call(this);this.close=this[a]}get[g.kConnected](){return this[d]}intercept(e){return new h(e,this[o])}async[a](){await A(this[c])();this[d]=0;this[i][g.kClients].delete(this[l])}}e.exports=MockPool},2104:e=>{e.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected")}},7532:(e,t,r)=>{const{MockNotMatchedError:A}=r(9654);const{kDispatches:n,kMockAgent:s,kOriginalDispatch:o,kOrigin:i,kGetNetConnect:a}=r(2104);const{buildURL:c}=r(8529);const{STATUS_CODES:l}=r(7067);const{types:{isPromise:u}}=r(7975);function matchValue(e,t){if(typeof e==="string"){return e===t}if(e instanceof RegExp){return e.test(t)}if(typeof e==="function"){return e(t)===true}return false}function lowerCaseEntries(e){return Object.fromEntries(Object.entries(e).map(([e,t])=>[e.toLocaleLowerCase(),t]))}function getHeaderByName(e,t){if(Array.isArray(e)){for(let r=0;r!e).filter(({path:e})=>matchValue(safeUrl(e),n));if(s.length===0){throw new A(`Mock dispatch not matched for path '${n}'`)}s=s.filter(({method:e})=>matchValue(e,t.method));if(s.length===0){throw new A(`Mock dispatch not matched for method '${t.method}' on path '${n}'`)}s=s.filter(({body:e})=>typeof e!=="undefined"?matchValue(e,t.body):true);if(s.length===0){throw new A(`Mock dispatch not matched for body '${t.body}' on path '${n}'`)}s=s.filter(e=>matchHeaders(e,t.headers));if(s.length===0){const e=typeof t.headers==="object"?JSON.stringify(t.headers):t.headers;throw new A(`Mock dispatch not matched for headers '${e}' on path '${n}'`)}return s[0]}function addMockDispatch(e,t,r){const A={timesInvoked:0,times:1,persist:false,consumed:false};const n=typeof r==="function"?{callback:r}:{...r};const s={...A,...t,pending:true,data:{error:null,...n}};e.push(s);return s}function deleteMockDispatch(e,t){const r=e.findIndex(e=>{if(!e.consumed){return false}return matchKey(e,t)});if(r!==-1){e.splice(r,1)}}function buildKey(e){const{path:t,method:r,body:A,headers:n,query:s}=e;return{path:t,method:r,body:A,headers:n,query:s}}function generateKeyValues(e){const t=Object.keys(e);const r=[];for(let A=0;A=g;A.pending=h0){setTimeout(()=>{handleReply(this[n])},l)}else{handleReply(this[n])}function handleReply(A,n=o){const c=Array.isArray(e.headers)?buildHeadersFromArray(e.headers):e.headers;const l=typeof n==="function"?n({...e,headers:c}):n;if(u(l)){l.then(e=>handleReply(A,e));return}const d=getResponseData(l);const h=generateKeyValues(i);const g=generateKeyValues(a);t.onConnect?.(e=>t.onError(e),null);t.onHeaders?.(s,h,resume,getStatusText(s));t.onData?.(Buffer.from(d));t.onComplete?.(g);deleteMockDispatch(A,r)}function resume(){}return true}function buildMockDispatch(){const e=this[s];const t=this[i];const r=this[o];return function dispatch(n,s){if(e.isMockActive){try{mockDispatch.call(this,n,s)}catch(o){if(o instanceof A){const i=e[a]();if(i===false){throw new A(`${o.message}: subsequent request to origin ${t} was not allowed (net.connect disabled)`)}if(checkNetConnect(i,t)){r.call(this,n,s)}else{throw new A(`${o.message}: subsequent request to origin ${t} was not allowed (net.connect is not enabled for this origin)`)}}else{throw o}}}else{r.call(this,n,s)}}}function checkNetConnect(e,t){const r=new URL(t);if(e===true){return true}else if(Array.isArray(e)&&e.some(e=>matchValue(e,r.host))){return true}return false}function buildMockOptions(e){if(e){const{agent:t,...r}=e;return r}}e.exports={getResponseData:getResponseData,getMockDispatch:getMockDispatch,addMockDispatch:addMockDispatch,deleteMockDispatch:deleteMockDispatch,buildKey:buildKey,generateKeyValues:generateKeyValues,matchValue:matchValue,getResponse:getResponse,getStatusText:getStatusText,mockDispatch:mockDispatch,buildMockDispatch:buildMockDispatch,checkNetConnect:checkNetConnect,buildMockOptions:buildMockOptions,getHeaderByName:getHeaderByName,buildHeadersFromArray:buildHeadersFromArray}},4955:(e,t,r)=>{const{Transform:A}=r(7075);const{Console:n}=r(7540);const s=process.versions.icu?"✅":"Y ";const o=process.versions.icu?"❌":"N ";e.exports=class PendingInterceptorsFormatter{constructor({disableColors:e}={}){this.transform=new A({transform(e,t,r){r(null,e)}});this.logger=new n({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){const t=e.map(({method:e,path:t,data:{statusCode:r},persist:A,times:n,timesInvoked:i,origin:a})=>({Method:e,Origin:a,Path:t,"Status code":r,Persistent:A?s:o,Invocations:i,Remaining:A?Infinity:n-i}));this.logger.table(t);return this.transform.read().toString()}}},2492:e=>{const t={pronoun:"it",is:"is",was:"was",this:"this"};const r={pronoun:"they",is:"are",was:"were",this:"these"};e.exports=class Pluralizer{constructor(e,t){this.singular=e;this.plural=t}pluralize(e){const A=e===1;const n=A?t:r;const s=A?this.singular:this.plural;return{...n,count:e,noun:s}}}},4486:e=>{let t=0;const r=1e3;const A=(r>>1)-1;let n;const s=Symbol("kFastTimer");const o=[];const i=-2;const a=-1;const c=0;const l=1;function onTick(){t+=A;let e=0;let r=o.length;while(e=n._idleStart+n._idleTimeout){n._state=a;n._idleStart=-1;n._onTimeout(n._timerArg)}if(n._state===a){n._state=i;if(--r!==0){o[e]=o[r]}}else{++e}}o.length=r;if(o.length!==0){refreshTimeout()}}function refreshTimeout(){if(n){n.refresh()}else{clearTimeout(n);n=setTimeout(onTick,A);if(n.unref){n.unref()}}}class FastTimer{[s]=true;_state=i;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,t,r){this._onTimeout=e;this._idleTimeout=t;this._timerArg=r;this.refresh()}refresh(){if(this._state===i){o.push(this)}if(!n||o.length===1){refreshTimeout()}this._state=c}clear(){this._state=a;this._idleStart=-1}}e.exports={setTimeout(e,t,A){return t<=r?setTimeout(e,t,A):new FastTimer(e,t,A)},clearTimeout(e){if(e[s]){e.clear()}else{clearTimeout(e)}},setFastTimeout(e,t,r){return new FastTimer(e,t,r)},clearFastTimeout(e){e.clear()},now(){return t},tick(e=0){t+=e-r+1;onTick();onTick()},reset(){t=0;o.length=0;clearTimeout(n);n=null},kFastTimer:s}},9419:(e,t,r)=>{const{kConstruct:A}=r(8404);const{urlEquals:n,getFieldValues:s}=r(6893);const{kEnumerableProperty:o,isDisturbed:i}=r(8529);const{webidl:a}=r(5162);const{Response:c,cloneResponse:l,fromInnerResponse:u}=r(1328);const{Request:d,fromInnerRequest:h}=r(6398);const{kState:g}=r(6602);const{fetching:f}=r(8263);const{urlIsHttpHttpsScheme:E,createDeferredPromise:Q,readAllBytes:C}=r(3095);const I=r(4589);class Cache{#N;constructor(){if(arguments[0]!==A){a.illegalConstructor()}a.util.markAsUncloneable(this);this.#N=arguments[1]}async match(e,t={}){a.brandCheck(this,Cache);const r="Cache.match";a.argumentLengthCheck(arguments,1,r);e=a.converters.RequestInfo(e,r,"request");t=a.converters.CacheQueryOptions(t,r,"options");const A=this.#v(e,t,1);if(A.length===0){return}return A[0]}async matchAll(e=undefined,t={}){a.brandCheck(this,Cache);const r="Cache.matchAll";if(e!==undefined)e=a.converters.RequestInfo(e,r,"request");t=a.converters.CacheQueryOptions(t,r,"options");return this.#v(e,t)}async add(e){a.brandCheck(this,Cache);const t="Cache.add";a.argumentLengthCheck(arguments,1,t);e=a.converters.RequestInfo(e,t,"request");const r=[e];const A=this.addAll(r);return await A}async addAll(e){a.brandCheck(this,Cache);const t="Cache.addAll";a.argumentLengthCheck(arguments,1,t);const r=[];const A=[];for(let r of e){if(r===undefined){throw a.errors.conversionFailed({prefix:t,argument:"Argument 1",types:["undefined is not allowed"]})}r=a.converters.RequestInfo(r);if(typeof r==="string"){continue}const e=r[g];if(!E(e.url)||e.method!=="GET"){throw a.errors.exception({header:t,message:"Expected http/s scheme when method is not GET."})}}const n=[];for(const o of e){const e=new d(o)[g];if(!E(e.url)){throw a.errors.exception({header:t,message:"Expected http/s scheme."})}e.initiator="fetch";e.destination="subresource";A.push(e);const i=Q();n.push(f({request:e,processResponse(e){if(e.type==="error"||e.status===206||e.status<200||e.status>299){i.reject(a.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}))}else if(e.headersList.contains("vary")){const t=s(e.headersList.get("vary"));for(const e of t){if(e==="*"){i.reject(a.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(const e of n){e.abort()}return}}}},processResponseEndOfBody(e){if(e.aborted){i.reject(new DOMException("aborted","AbortError"));return}i.resolve(e)}}));r.push(i.promise)}const o=Promise.all(r);const i=await o;const c=[];let l=0;for(const e of i){const t={type:"put",request:A[l],response:e};c.push(t);l++}const u=Q();let h=null;try{this.#M(c)}catch(e){h=e}queueMicrotask(()=>{if(h===null){u.resolve(undefined)}else{u.reject(h)}});return u.promise}async put(e,t){a.brandCheck(this,Cache);const r="Cache.put";a.argumentLengthCheck(arguments,2,r);e=a.converters.RequestInfo(e,r,"request");t=a.converters.Response(t,r,"response");let A=null;if(e instanceof d){A=e[g]}else{A=new d(e)[g]}if(!E(A.url)||A.method!=="GET"){throw a.errors.exception({header:r,message:"Expected an http/s scheme when method is not GET"})}const n=t[g];if(n.status===206){throw a.errors.exception({header:r,message:"Got 206 status"})}if(n.headersList.contains("vary")){const e=s(n.headersList.get("vary"));for(const t of e){if(t==="*"){throw a.errors.exception({header:r,message:"Got * vary field value"})}}}if(n.body&&(i(n.body.stream)||n.body.stream.locked)){throw a.errors.exception({header:r,message:"Response body is locked or disturbed"})}const o=l(n);const c=Q();if(n.body!=null){const e=n.body.stream;const t=e.getReader();C(t).then(c.resolve,c.reject)}else{c.resolve(undefined)}const u=[];const h={type:"put",request:A,response:o};u.push(h);const f=await c.promise;if(o.body!=null){o.body.source=f}const I=Q();let B=null;try{this.#M(u)}catch(e){B=e}queueMicrotask(()=>{if(B===null){I.resolve()}else{I.reject(B)}});return I.promise}async delete(e,t={}){a.brandCheck(this,Cache);const r="Cache.delete";a.argumentLengthCheck(arguments,1,r);e=a.converters.RequestInfo(e,r,"request");t=a.converters.CacheQueryOptions(t,r,"options");let A=null;if(e instanceof d){A=e[g];if(A.method!=="GET"&&!t.ignoreMethod){return false}}else{I(typeof e==="string");A=new d(e)[g]}const n=[];const s={type:"delete",request:A,options:t};n.push(s);const o=Q();let i=null;let c;try{c=this.#M(n)}catch(e){i=e}queueMicrotask(()=>{if(i===null){o.resolve(!!c?.length)}else{o.reject(i)}});return o.promise}async keys(e=undefined,t={}){a.brandCheck(this,Cache);const r="Cache.keys";if(e!==undefined)e=a.converters.RequestInfo(e,r,"request");t=a.converters.CacheQueryOptions(t,r,"options");let A=null;if(e!==undefined){if(e instanceof d){A=e[g];if(A.method!=="GET"&&!t.ignoreMethod){return[]}}else if(typeof e==="string"){A=new d(e)[g]}}const n=Q();const s=[];if(e===undefined){for(const e of this.#N){s.push(e[0])}}else{const e=this.#U(A,t);for(const t of e){s.push(t[0])}}queueMicrotask(()=>{const e=[];for(const t of s){const r=h(t,(new AbortController).signal,"immutable");e.push(r)}n.resolve(Object.freeze(e))});return n.promise}#M(e){const t=this.#N;const r=[...t];const A=[];const n=[];try{for(const r of e){if(r.type!=="delete"&&r.type!=="put"){throw a.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'})}if(r.type==="delete"&&r.response!=null){throw a.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"})}if(this.#U(r.request,r.options,A).length){throw new DOMException("???","InvalidStateError")}let e;if(r.type==="delete"){e=this.#U(r.request,r.options);if(e.length===0){return[]}for(const r of e){const e=t.indexOf(r);I(e!==-1);t.splice(e,1)}}else if(r.type==="put"){if(r.response==null){throw a.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"})}const n=r.request;if(!E(n.url)){throw a.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"})}if(n.method!=="GET"){throw a.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"})}if(r.options!=null){throw a.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"})}e=this.#U(r.request);for(const r of e){const e=t.indexOf(r);I(e!==-1);t.splice(e,1)}t.push([r.request,r.response]);A.push([r.request,r.response])}n.push([r.request,r.response])}return n}catch(e){this.#N.length=0;this.#N=r;throw e}}#U(e,t,r){const A=[];const n=r??this.#N;for(const r of n){const[n,s]=r;if(this.#T(e,n,s,t)){A.push(r)}}return A}#T(e,t,r=null,A){const o=new URL(e.url);const i=new URL(t.url);if(A?.ignoreSearch){i.search="";o.search=""}if(!n(o,i,true)){return false}if(r==null||A?.ignoreVary||!r.headersList.contains("vary")){return true}const a=s(r.headersList.get("vary"));for(const r of a){if(r==="*"){return false}const A=t.headersList.get(r);const n=e.headersList.get(r);if(A!==n){return false}}return true}#v(e,t,r=Infinity){let A=null;if(e!==undefined){if(e instanceof d){A=e[g];if(A.method!=="GET"&&!t.ignoreMethod){return[]}}else if(typeof e==="string"){A=new d(e)[g]}}const n=[];if(e===undefined){for(const e of this.#N){n.push(e[1])}}else{const e=this.#U(A,t);for(const t of e){n.push(t[1])}}const s=[];for(const e of n){const t=u(e,"immutable");s.push(t.clone());if(s.length>=r){break}}return Object.freeze(s)}}Object.defineProperties(Cache.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:true},match:o,matchAll:o,add:o,addAll:o,put:o,delete:o,keys:o});const B=[{key:"ignoreSearch",converter:a.converters.boolean,defaultValue:()=>false},{key:"ignoreMethod",converter:a.converters.boolean,defaultValue:()=>false},{key:"ignoreVary",converter:a.converters.boolean,defaultValue:()=>false}];a.converters.CacheQueryOptions=a.dictionaryConverter(B);a.converters.MultiCacheQueryOptions=a.dictionaryConverter([...B,{key:"cacheName",converter:a.converters.DOMString}]);a.converters.Response=a.interfaceConverter(c);a.converters["sequence"]=a.sequenceConverter(a.converters.RequestInfo);e.exports={Cache:Cache}},2118:(e,t,r)=>{const{kConstruct:A}=r(8404);const{Cache:n}=r(9419);const{webidl:s}=r(5162);const{kEnumerableProperty:o}=r(8529);class CacheStorage{#L=new Map;constructor(){if(arguments[0]!==A){s.illegalConstructor()}s.util.markAsUncloneable(this)}async match(e,t={}){s.brandCheck(this,CacheStorage);s.argumentLengthCheck(arguments,1,"CacheStorage.match");e=s.converters.RequestInfo(e);t=s.converters.MultiCacheQueryOptions(t);if(t.cacheName!=null){if(this.#L.has(t.cacheName)){const r=this.#L.get(t.cacheName);const s=new n(A,r);return await s.match(e,t)}}else{for(const r of this.#L.values()){const s=new n(A,r);const o=await s.match(e,t);if(o!==undefined){return o}}}}async has(e){s.brandCheck(this,CacheStorage);const t="CacheStorage.has";s.argumentLengthCheck(arguments,1,t);e=s.converters.DOMString(e,t,"cacheName");return this.#L.has(e)}async open(e){s.brandCheck(this,CacheStorage);const t="CacheStorage.open";s.argumentLengthCheck(arguments,1,t);e=s.converters.DOMString(e,t,"cacheName");if(this.#L.has(e)){const t=this.#L.get(e);return new n(A,t)}const r=[];this.#L.set(e,r);return new n(A,r)}async delete(e){s.brandCheck(this,CacheStorage);const t="CacheStorage.delete";s.argumentLengthCheck(arguments,1,t);e=s.converters.DOMString(e,t,"cacheName");return this.#L.delete(e)}async keys(){s.brandCheck(this,CacheStorage);const e=this.#L.keys();return[...e]}}Object.defineProperties(CacheStorage.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:true},match:o,has:o,open:o,delete:o,keys:o});e.exports={CacheStorage:CacheStorage}},8404:(e,t,r)=>{e.exports={kConstruct:r(5424).kConstruct}},6893:(e,t,r)=>{const A=r(4589);const{URLSerializer:n}=r(5192);const{isValidHeaderName:s}=r(3095);function urlEquals(e,t,r=false){const A=n(e,r);const s=n(t,r);return A===s}function getFieldValues(e){A(e!==null);const t=[];for(let r of e.split(",")){r=r.trim();if(s(r)){t.push(r)}}return t}e.exports={urlEquals:urlEquals,getFieldValues:getFieldValues}},9265:e=>{const t=1024;const r=4096;e.exports={maxAttributeValueSize:t,maxNameValuePairSize:r}},6748:(e,t,r)=>{const{parseSetCookie:A}=r(2351);const{stringify:n}=r(190);const{webidl:s}=r(5162);const{Headers:o}=r(3257);function getCookies(e){s.argumentLengthCheck(arguments,1,"getCookies");s.brandCheck(e,o,{strict:false});const t=e.get("cookie");const r={};if(!t){return r}for(const e of t.split(";")){const[t,...A]=e.split("=");r[t.trim()]=A.join("=")}return r}function deleteCookie(e,t,r){s.brandCheck(e,o,{strict:false});const A="deleteCookie";s.argumentLengthCheck(arguments,2,A);t=s.converters.DOMString(t,A,"name");r=s.converters.DeleteCookieAttributes(r);setCookie(e,{name:t,value:"",expires:new Date(0),...r})}function getSetCookies(e){s.argumentLengthCheck(arguments,1,"getSetCookies");s.brandCheck(e,o,{strict:false});const t=e.getSetCookie();if(!t){return[]}return t.map(e=>A(e))}function setCookie(e,t){s.argumentLengthCheck(arguments,2,"setCookie");s.brandCheck(e,o,{strict:false});t=s.converters.Cookie(t);const r=n(t);if(r){e.append("Set-Cookie",r)}}s.converters.DeleteCookieAttributes=s.dictionaryConverter([{converter:s.nullableConverter(s.converters.DOMString),key:"path",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.DOMString),key:"domain",defaultValue:()=>null}]);s.converters.Cookie=s.dictionaryConverter([{converter:s.converters.DOMString,key:"name"},{converter:s.converters.DOMString,key:"value"},{converter:s.nullableConverter(e=>{if(typeof e==="number"){return s.converters["unsigned long long"](e)}return new Date(e)}),key:"expires",defaultValue:()=>null},{converter:s.nullableConverter(s.converters["long long"]),key:"maxAge",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.DOMString),key:"domain",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.DOMString),key:"path",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.boolean),key:"secure",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.boolean),key:"httpOnly",defaultValue:()=>null},{converter:s.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:s.sequenceConverter(s.converters.DOMString),key:"unparsed",defaultValue:()=>new Array(0)}]);e.exports={getCookies:getCookies,deleteCookie:deleteCookie,getSetCookies:getSetCookies,setCookie:setCookie}},2351:(e,t,r)=>{const{maxNameValuePairSize:A,maxAttributeValueSize:n}=r(9265);const{isCTLExcludingHtab:s}=r(190);const{collectASequenceOfCodePointsFast:o}=r(5192);const i=r(4589);function parseSetCookie(e){if(s(e)){return null}let t="";let r="";let n="";let i="";if(e.includes(";")){const A={position:0};t=o(";",e,A);r=e.slice(A.position)}else{t=e}if(!t.includes("=")){i=t}else{const e={position:0};n=o("=",t,e);i=t.slice(e.position+1)}n=n.trim();i=i.trim();if(n.length+i.length>A){return null}return{name:n,value:i,...parseUnparsedAttributes(r)}}function parseUnparsedAttributes(e,t={}){if(e.length===0){return t}i(e[0]===";");e=e.slice(1);let r="";if(e.includes(";")){r=o(";",e,{position:0});e=e.slice(r.length)}else{r=e;e=""}let A="";let s="";if(r.includes("=")){const e={position:0};A=o("=",r,e);s=r.slice(e.position+1)}else{A=r}A=A.trim();s=s.trim();if(s.length>n){return parseUnparsedAttributes(e,t)}const a=A.toLowerCase();if(a==="expires"){const e=new Date(s);t.expires=e}else if(a==="max-age"){const r=s.charCodeAt(0);if((r<48||r>57)&&s[0]!=="-"){return parseUnparsedAttributes(e,t)}if(!/^\d+$/.test(s)){return parseUnparsedAttributes(e,t)}const A=Number(s);t.maxAge=A}else if(a==="domain"){let e=s;if(e[0]==="."){e=e.slice(1)}e=e.toLowerCase();t.domain=e}else if(a==="path"){let e="";if(s.length===0||s[0]!=="/"){e="/"}else{e=s}t.path=e}else if(a==="secure"){t.secure=true}else if(a==="httponly"){t.httpOnly=true}else if(a==="samesite"){const e=s.toLowerCase();if(e==="none"){t.sameSite="None"}else if(e==="strict"){t.sameSite="Strict"}else if(e==="lax"){t.sameSite="Lax"}}else{t.unparsed??=[];t.unparsed.push(`${A}=${s}`)}return parseUnparsedAttributes(e,t)}e.exports={parseSetCookie:parseSetCookie,parseUnparsedAttributes:parseUnparsedAttributes}},190:e=>{function isCTLExcludingHtab(e){for(let t=0;t=0&&r<=8||r>=10&&r<=31||r===127){return true}}return false}function validateCookieName(e){for(let t=0;t126||r===34||r===40||r===41||r===60||r===62||r===64||r===44||r===59||r===58||r===92||r===47||r===91||r===93||r===63||r===61||r===123||r===125){throw new Error("Invalid cookie name")}}}function validateCookieValue(e){let t=e.length;let r=0;if(e[0]==='"'){if(t===1||e[t-1]!=='"'){throw new Error("Invalid cookie value")}--t;++r}while(r126||t===34||t===44||t===59||t===92){throw new Error("Invalid cookie value")}}}function validateCookiePath(e){for(let t=0;t126||r===59){throw new Error("Invalid cookie path")}}}function isLetterOrDigit(e){return e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122}function validateCookieDomain(e){if(e===" "){return}if(e.length>255){throw new Error("Invalid cookie domain")}let t=0;for(let r=0;r63){throw new Error("Invalid cookie domain")}}if(t===0||e.charCodeAt(e.length-1)===45){throw new Error("Invalid cookie domain")}}const t=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];const r=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];const A=Array(61).fill(0).map((e,t)=>t.toString().padStart(2,"0"));function toIMFDate(e){if(typeof e==="number"){e=new Date(e)}return`${t[e.getUTCDay()]}, ${A[e.getUTCDate()]} ${r[e.getUTCMonth()]} ${e.getUTCFullYear()} ${A[e.getUTCHours()]}:${A[e.getUTCMinutes()]}:${A[e.getUTCSeconds()]} GMT`}function validateCookieMaxAge(e){if(e<0){throw new Error("Invalid cookie max-age")}}function stringify(e){if(e.name.length===0){return null}validateCookieName(e.name);validateCookieValue(e.value);const t=[`${e.name}=${e.value}`];if(e.name.startsWith("__Secure-")){e.secure=true}if(e.name.startsWith("__Host-")){e.secure=true;e.domain=null;e.path="/"}if(e.secure){t.push("Secure")}if(e.httpOnly){t.push("HttpOnly")}if(typeof e.maxAge==="number"){validateCookieMaxAge(e.maxAge);t.push(`Max-Age=${e.maxAge}`)}if(e.domain){validateCookieDomain(e.domain);t.push(`Domain=${e.domain}`)}if(e.path){validateCookiePath(e.path);t.push(`Path=${e.path}`)}if(e.expires&&e.expires.toString()!=="Invalid Date"){t.push(`Expires=${toIMFDate(e.expires)}`)}if(e.sameSite){t.push(`SameSite=${e.sameSite}`)}for(const r of e.unparsed){if(!r.includes("=")){throw new Error("Invalid unparsed")}const[e,...A]=r.split("=");const n=e.trim();const s=A.join("=");validateCookieName(n);validateCookieValue(s);t.push(`${n}=${s}`)}return t.join("; ")}e.exports={isCTLExcludingHtab:isCTLExcludingHtab,validateCookieName:validateCookieName,validateCookiePath:validateCookiePath,validateCookieValue:validateCookieValue,toIMFDate:toIMFDate,stringify:stringify}},2900:(e,t,r)=>{const A=r(4573);const{Transform:n}=r(7075);const{isASCIINumber:s,isValidLastEventId:o}=r(1048);const i=[239,187,191];const a=10;const c=13;const l=58;const u=32;const d=A.kStringMaxLength;const h=Buffer.from("data");const g=Buffer.from("event");const f=Buffer.from("id");const E=Buffer.from("retry");const Q=1024;const C=131072;const I=128;function isASCIINumberBytes(e,t){if(t>=e.length){return false}for(let r=t;r57){return false}}return true}function isValidLastEventIdBytes(e,t){for(let r=t;r0?Math.min(C,Math.max(Q,Math.floor(this.maxEventSize/I))):0;this.maxDataLines=t;this.maxBufferedChunks=t;if(e.push){this.push=e.push}}_transform(e,t,r){if(e.length===0){r();return}if(this.maxEventSize>0&&this.chunks.length>=this.maxBufferedChunks&&e[0]!==a&&e[0]!==c){r(createMaxEventSizeExceededError());return}this.chunks.push(e);if(this.checkBOM){if(this.handleBOM()){r();return}}while(this.hasCurrentByte()){const e=this.currentByte();if(this.eventEndCheck){if(this.crlfCheck){if(e===a){this.crlfCheck=false;this.consumeCurrentByte();continue}this.crlfCheck=false}if(e===a||e===c){if(e===c){this.crlfCheck=true}this.consumeCurrentByte();if(this.hasPendingEvent()){this.processEvent(this.event)}this.clearEvent();continue}this.eventEndCheck=false;continue}if(e===a||e===c){if(e===c){this.crlfCheck=true}try{this.parseLine(this.readLine(),this.event)}catch(e){r(e);return}this.consumeCurrentByte();this.eventEndCheck=true;continue}if(this.maxEventSize>0&&++this.lineLength>this.maxEventSize+7){r(createMaxEventSizeExceededError());return}this.advanceCursor()}r()}_destroy(e,t){this.chunks.length=0;this.clearEvent();super._destroy(e,t)}parseLine(e,t){if(e.length===0){return}const r=e.indexOf(l);if(r===0){return}let A=e.length;let n=e.length;if(r!==-1){A=r;n=r+1;if(e[n]===u){++n}}if(isFieldName(e,A,h)){if(this.maxEventSize>0&&this.dataLineCount>=this.maxDataLines){throw createMaxEventSizeExceededError()}const r=e.length-n;const A=this.eventFieldSizes.data+(t.data===undefined?0:1)+r;this.setEventFieldSize("data",A);const s=e.toString("utf8",n);if(t.data===undefined){t.data=s}else{t.data+=`\n${s}`}this.dataLineCount++;return}if(isFieldName(e,A,E)){if(isASCIINumberBytes(e,n)){this.setEventFieldSize("retry",e.length-n);t.retry=e.toString("utf8",n)}return}if(isFieldName(e,A,f)){if(isValidLastEventIdBytes(e,n)){this.setEventFieldSize("id",e.length-n);t.id=e.toString("utf8",n)}return}if(isFieldName(e,A,g)){if(n0&&r>this.maxEventSize){throw createMaxEventSizeExceededError()}this.eventSize=r;this.eventFieldSizes[e]=t}processEvent(e){if(e.retry&&s(e.retry)){this.state.reconnectionTime=parseInt(e.retry,10)}if(e.id&&o(e.id)){this.state.lastEventId=e.id}if(e.data!==undefined){this.push({type:e.event||"message",options:{data:e.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}}clearEvent(){this.event.data=undefined;this.event.event=undefined;this.event.id=undefined;this.event.retry=undefined;this.eventSize=0;this.dataLineCount=0;this.eventFieldSizes.data=0;this.eventFieldSizes.event=0;this.eventFieldSizes.id=0;this.eventFieldSizes.retry=0}hasPendingEvent(){return this.event.data!==undefined||this.event.event!==undefined||this.event.id!==undefined||this.event.retry!==undefined}hasCurrentByte(){return this.chunkIndex=this.chunks[this.chunkIndex].length){this.chunkIndex++;this.pos=0}}syncLineStartToCursor(){this.lineChunkIndex=this.chunkIndex;this.linePos=this.pos;this.lineLength=0;this.dropConsumedChunks()}dropConsumedChunks(){if(this.lineChunkIndex>0){const e=this.lineChunkIndex;this.chunks.splice(0,e);this.lineChunkIndex=0;this.chunkIndex-=e}if(this.chunkIndex===this.chunks.length){this.chunks.length=0;this.chunkIndex=0;this.pos=0;this.lineChunkIndex=0;this.linePos=0}}readLine(){if(this.lineChunkIndex===this.chunkIndex){return this.chunks[this.chunkIndex].subarray(this.linePos,this.pos)}const e=[];let t=0;for(let r=this.lineChunkIndex;r<=this.chunkIndex;r++){const A=this.chunks[r];const n=r===this.lineChunkIndex?this.linePos:0;const s=r===this.chunkIndex?this.pos:A.length;const o=A.subarray(n,s);t+=o.length;e.push(o)}return Buffer.concat(e,t)}peekBufferedByte(e){let t=this.lineChunkIndex;let r=this.linePos;while(t0&&this.lineChunkIndex{const{pipeline:A}=r(7075);const{fetching:n}=r(8263);const{makeRequest:s}=r(6398);const{webidl:o}=r(5162);const{EventSourceStream:i}=r(2900);const{parseMIMEType:a}=r(5192);const{createFastMessageEvent:c}=r(659);const{isNetworkError:l}=r(1328);const{delay:u}=r(1048);const{kEnumerableProperty:d}=r(8529);const{environmentSettingsObject:h}=r(3095);const{getGlobalDispatcher:g}=r(4498);let f=false;const E=3e3;const Q=0;const C=1;const I=2;const B="anonymous";const p="use-credentials";class EventSource extends EventTarget{#x={open:null,error:null,message:null};#H=null;#G=false;#Y=Q;#P=null;#V=null;#r;#m;constructor(e,t={}){super();o.util.markAsUncloneable(this);const r="EventSource constructor";o.argumentLengthCheck(arguments,1,r);if(!f){f=true;process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})}e=o.converters.USVString(e,r,"url");t=o.converters.EventSourceInitDict(t,r,"eventSourceInitDict");this.#r=t.dispatcher;this.#m={lastEventId:"",reconnectionTime:E};const A=h;let n;try{n=new URL(e,A.settingsObject.baseUrl);this.#m.origin=n.origin}catch(e){throw new DOMException(e,"SyntaxError")}this.#H=n.href;let i=B;if(t.withCredentials){i=p;this.#G=true}const a={redirect:"follow",keepalive:true,mode:"cors",credentials:i==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};a.client=h.settingsObject;a.headersList=[["accept",{name:"accept",value:"text/event-stream"}]];a.cache="no-store";a.initiator="other";a.urlList=[new URL(this.#H)];this.#P=s(a);this.#J()}get readyState(){return this.#Y}get url(){return this.#H}get withCredentials(){return this.#G}#J(){if(this.#Y===I)return;this.#Y=Q;const e={request:this.#P,dispatcher:this.#r};const processEventSourceEndOfBody=e=>{if(l(e)){this.dispatchEvent(new Event("error"));this.close()}this.#O()};e.processResponseEndOfBody=processEventSourceEndOfBody;e.processResponse=e=>{if(l(e)){if(e.aborted){this.close();this.dispatchEvent(new Event("error"));return}else{this.#O();return}}const t=e.headersList.get("content-type",true);const r=t!==null?a(t):"failure";const n=r!=="failure"&&r.essence==="text/event-stream";if(e.status!==200||n===false){this.close();this.dispatchEvent(new Event("error"));return}this.#Y=C;this.dispatchEvent(new Event("open"));this.#m.origin=e.urlList[e.urlList.length-1].origin;const s=new i({eventSourceSettings:this.#m,maxEventSize:this.#r.eventSourceOptions?.maxEventSize,push:e=>{this.dispatchEvent(c(e.type,e.options))}});A(e.body.stream,s,e=>{if(e?.aborted===false){this.close();this.dispatchEvent(new Event("error"))}})};this.#V=n(e)}async#O(){if(this.#Y===I)return;this.#Y=Q;this.dispatchEvent(new Event("error"));await u(this.#m.reconnectionTime);if(this.#Y!==Q)return;if(this.#m.lastEventId.length){this.#P.headersList.set("last-event-id",this.#m.lastEventId,true)}this.#J()}close(){o.brandCheck(this,EventSource);if(this.#Y===I)return;this.#Y=I;this.#V.abort();this.#P=null}get onopen(){return this.#x.open}set onopen(e){if(this.#x.open){this.removeEventListener("open",this.#x.open)}if(typeof e==="function"){this.#x.open=e;this.addEventListener("open",e)}else{this.#x.open=null}}get onmessage(){return this.#x.message}set onmessage(e){if(this.#x.message){this.removeEventListener("message",this.#x.message)}if(typeof e==="function"){this.#x.message=e;this.addEventListener("message",e)}else{this.#x.message=null}}get onerror(){return this.#x.error}set onerror(e){if(this.#x.error){this.removeEventListener("error",this.#x.error)}if(typeof e==="function"){this.#x.error=e;this.addEventListener("error",e)}else{this.#x.error=null}}}const m={CONNECTING:{__proto__:null,configurable:false,enumerable:true,value:Q,writable:false},OPEN:{__proto__:null,configurable:false,enumerable:true,value:C,writable:false},CLOSED:{__proto__:null,configurable:false,enumerable:true,value:I,writable:false}};Object.defineProperties(EventSource,m);Object.defineProperties(EventSource.prototype,m);Object.defineProperties(EventSource.prototype,{close:d,onerror:d,onmessage:d,onopen:d,readyState:d,url:d,withCredentials:d});o.converters.EventSourceInitDict=o.dictionaryConverter([{key:"withCredentials",converter:o.converters.boolean,defaultValue:()=>false},{key:"dispatcher",converter:o.converters.any,defaultValue:()=>g()}]);e.exports={EventSource:EventSource,defaultReconnectionTime:E}},1048:e=>{function isValidLastEventId(e){return e.indexOf("\0")===-1}function isASCIINumber(e){if(e.length===0)return false;for(let t=0;t57)return false}return true}function delay(e){return new Promise(t=>{setTimeout(t,e).unref()})}e.exports={isValidLastEventId:isValidLastEventId,isASCIINumber:isASCIINumber,delay:delay}},6455:(e,t,r)=>{const A=r(8529);const{ReadableStreamFrom:n,isBlobLike:s,isReadableStreamLike:o,readableStreamClose:i,createDeferredPromise:a,fullyReadBody:c,extractMimeType:l,utf8DecodeBytes:u}=r(3095);const{FormData:d}=r(7653);const{kState:h}=r(6602);const{webidl:g}=r(5162);const{Blob:f}=r(4573);const E=r(4589);const{isErrored:Q,isDisturbed:C}=r(7075);const{isArrayBuffer:I}=r(3429);const{serializeAMimeType:B}=r(5192);const{multipartFormDataParser:p}=r(6701);let m;try{const e=r(7598);m=t=>e.randomInt(0,t)}catch{m=e=>Math.floor(Math.random(e))}const y=new TextEncoder;function noop(){}const w=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0;let b;if(w){b=new FinalizationRegistry(e=>{const t=e.deref();if(t&&!t.locked&&!C(t)&&!Q(t)){t.cancel("Response object has been garbage collected").catch(noop)}})}function extractBody(e,t=false){let r=null;if(e instanceof ReadableStream){r=e}else if(s(e)){r=e.stream()}else{r=new ReadableStream({async pull(e){const t=typeof c==="string"?y.encode(c):c;if(t.byteLength){e.enqueue(t)}queueMicrotask(()=>i(e))},start(){},type:"bytes"})}E(o(r));let a=null;let c=null;let l=null;let u=null;if(typeof e==="string"){c=e;u="text/plain;charset=UTF-8"}else if(e instanceof URLSearchParams){c=e.toString();u="application/x-www-form-urlencoded;charset=UTF-8"}else if(I(e)){c=new Uint8Array(e.slice())}else if(ArrayBuffer.isView(e)){c=new Uint8Array(e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength))}else if(A.isFormDataLike(e)){const t=`----formdata-undici-0${`${m(1e11)}`.padStart(11,"0")}`;const r=`--${t}\r\nContent-Disposition: form-data` +/*! formdata-polyfill. MIT License. Jimmy Wärting */;const escape=e=>e.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=e=>e.replace(/\r?\n|\r/g,"\r\n");const A=[];const n=new Uint8Array([13,10]);l=0;let s=false;for(const[t,o]of e){if(typeof o==="string"){const e=y.encode(r+`; name="${escape(normalizeLinefeeds(t))}"`+`\r\n\r\n${normalizeLinefeeds(o)}\r\n`);A.push(e);l+=e.byteLength}else{const e=y.encode(`${r}; name="${escape(normalizeLinefeeds(t))}"`+(o.name?`; filename="${escape(o.name)}"`:"")+"\r\n"+`Content-Type: ${o.type||"application/octet-stream"}\r\n\r\n`);A.push(e,o,n);if(typeof o.size==="number"){l+=e.byteLength+o.size+n.byteLength}else{s=true}}}const o=y.encode(`--${t}--\r\n`);A.push(o);l+=o.byteLength;if(s){l=null}c=e;a=async function*(){for(const e of A){if(e.stream){yield*e.stream()}else{yield e}}};u=`multipart/form-data; boundary=${t}`}else if(s(e)){c=e;l=e.size;if(e.type){u=e.type}}else if(typeof e[Symbol.asyncIterator]==="function"){if(t){throw new TypeError("keepalive")}if(A.isDisturbed(e)||e.locked){throw new TypeError("Response body object should not be disturbed or locked")}r=e instanceof ReadableStream?e:n(e)}if(typeof c==="string"||A.isBuffer(c)){l=Buffer.byteLength(c)}if(a!=null){let t;r=new ReadableStream({async start(){t=a(e)[Symbol.asyncIterator]()},async pull(e){const{value:A,done:n}=await t.next();if(n){queueMicrotask(()=>{e.close();e.byobRequest?.respond(0)})}else{if(!Q(r)){const t=new Uint8Array(A);if(t.byteLength){e.enqueue(t)}}}return e.desiredSize>0},async cancel(e){await t.return()},type:"bytes"})}const d={stream:r,source:c,length:l};return[d,u]}function safelyExtractBody(e,t=false){if(e instanceof ReadableStream){E(!A.isDisturbed(e),"The body has already been consumed.");E(!e.locked,"The stream is locked.")}return extractBody(e,t)}function cloneBody(e,t){const[r,A]=t.stream.tee();t.stream=r;return{stream:A,length:t.length,source:t.source}}function throwIfAborted(e){if(e.aborted){throw new DOMException("The operation was aborted.","AbortError")}}function bodyMixinMethods(e){const t={blob(){return consumeBody(this,e=>{let t=bodyMimeType(this);if(t===null){t=""}else if(t){t=B(t)}return new f([e],{type:t})},e)},arrayBuffer(){return consumeBody(this,e=>new Uint8Array(e).buffer,e)},text(){return consumeBody(this,u,e)},json(){return consumeBody(this,parseJSONFromBytes,e)},formData(){return consumeBody(this,e=>{const t=bodyMimeType(this);if(t!==null){switch(t.essence){case"multipart/form-data":{const r=p(e,t);if(r==="failure"){throw new TypeError("Failed to parse body as FormData.")}const A=new d;A[h]=r;return A}case"application/x-www-form-urlencoded":{const t=new URLSearchParams(e.toString());const r=new d;for(const[e,A]of t){r.append(e,A)}return r}}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},e)},bytes(){return consumeBody(this,e=>new Uint8Array(e),e)}};return t}function mixinBody(e){Object.assign(e.prototype,bodyMixinMethods(e))}async function consumeBody(e,t,r){g.brandCheck(e,r);if(bodyUnusable(e)){throw new TypeError("Body is unusable: Body has already been read")}throwIfAborted(e[h]);const A=a();const errorSteps=e=>A.reject(e);const successSteps=e=>{try{A.resolve(t(e))}catch(e){errorSteps(e)}};if(e[h].body==null){successSteps(Buffer.allocUnsafe(0));return A.promise}await c(e[h].body,successSteps,errorSteps);return A.promise}function bodyUnusable(e){const t=e[h].body;return t!=null&&(t.stream.locked||A.isDisturbed(t.stream))}function parseJSONFromBytes(e){return JSON.parse(u(e))}function bodyMimeType(e){const t=e[h].headersList;const r=l(t);if(r==="failure"){return null}return r}e.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody,streamRegistry:b,hasFinalizationRegistry:w,bodyUnusable:bodyUnusable}},5706:e=>{const t=["GET","HEAD","POST"];const r=new Set(t);const A=[101,204,205,304];const n=[301,302,303,307,308];const s=new Set(n);const o=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","4190","5060","5061","6000","6566","6665","6666","6667","6668","6669","6679","6697","10080"];const i=new Set(o);const a=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"];const c=new Set(a);const l=["follow","manual","error"];const u=["GET","HEAD","OPTIONS","TRACE"];const d=new Set(u);const h=["navigate","same-origin","no-cors","cors"];const g=["omit","same-origin","include"];const f=["default","no-store","reload","no-cache","force-cache","only-if-cached"];const E=["content-encoding","content-language","content-location","content-type","content-length"];const Q=["half"];const C=["CONNECT","TRACE","TRACK"];const I=new Set(C);const B=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""];const p=new Set(B);e.exports={subresource:B,forbiddenMethods:C,requestBodyHeader:E,referrerPolicy:a,requestRedirect:l,requestMode:h,requestCredentials:g,requestCache:f,redirectStatus:n,corsSafeListedMethods:t,nullBodyStatus:A,safeMethods:u,badPorts:o,requestDuplex:Q,subresourceSet:p,badPortsSet:i,redirectStatusSet:s,corsSafeListedMethodsSet:r,safeMethodsSet:d,forbiddenMethodsSet:I,referrerPolicySet:c}},5192:(e,t,r)=>{const A=r(4589);const n=new TextEncoder;const s=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/;const o=/[\u000A\u000D\u0009\u0020]/;const i=/[\u0009\u000A\u000C\u000D\u0020]/g;const a=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function dataURLProcessor(e){A(e.protocol==="data:");let t=URLSerializer(e,true);t=t.slice(5);const r={position:0};let n=collectASequenceOfCodePointsFast(",",t,r);const s=n.length;n=removeASCIIWhitespace(n,true,true);if(r.position>=t.length){return"failure"}r.position++;const o=t.slice(s+1);let i=stringPercentDecode(o);if(/;(\u0020){0,}base64$/i.test(n)){const e=isomorphicDecode(i);i=forgivingBase64(e);if(i==="failure"){return"failure"}n=n.slice(0,-6);n=n.replace(/(\u0020)+$/,"");n=n.slice(0,-1)}if(n.startsWith(";")){n="text/plain"+n}let a=parseMIMEType(n);if(a==="failure"){a=parseMIMEType("text/plain;charset=US-ASCII")}return{mimeType:a,body:i}}function URLSerializer(e,t=false){if(!t){return e.href}const r=e.href;const A=e.hash.length;const n=A===0?r:r.substring(0,r.length-A);if(!A&&r.endsWith("#")){return n.slice(0,-1)}return n}function collectASequenceOfCodePoints(e,t,r){let A="";while(r.position=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function hexByteToNumber(e){return e>=48&&e<=57?e-48:(e&223)-55}function percentDecode(e){const t=e.length;const r=new Uint8Array(t);let A=0;for(let n=0;ne.length){return"failure"}t.position++;let A=collectASequenceOfCodePointsFast(";",e,t);A=removeHTTPWhitespace(A,false,true);if(A.length===0||!s.test(A)){return"failure"}const n=r.toLowerCase();const i=A.toLowerCase();const c={type:n,subtype:i,parameters:new Map,essence:`${n}/${i}`};while(t.positiono.test(e),e,t);let r=collectASequenceOfCodePoints(e=>e!==";"&&e!=="=",e,t);r=r.toLowerCase();if(t.positione.length){break}let A=null;if(e[t.position]==='"'){A=collectAnHTTPQuotedString(e,t,true);collectASequenceOfCodePointsFast(";",e,t)}else{A=collectASequenceOfCodePointsFast(";",e,t);A=removeHTTPWhitespace(A,false,true);if(A.length===0){continue}}if(r.length!==0&&s.test(r)&&(A.length===0||a.test(A))&&!c.parameters.has(r)){c.parameters.set(r,A)}}return c}function forgivingBase64(e){e=e.replace(i,"");let t=e.length;if(t%4===0){if(e.charCodeAt(t-1)===61){--t;if(e.charCodeAt(t-1)===61){--t}}}if(t%4===1){return"failure"}if(/[^+/0-9A-Za-z]/.test(e.length===t?e:e.substring(0,t))){return"failure"}const r=Buffer.from(e,"base64");return new Uint8Array(r.buffer,r.byteOffset,r.byteLength)}function collectAnHTTPQuotedString(e,t,r){const n=t.position;let s="";A(e[t.position]==='"');t.position++;while(true){s+=collectASequenceOfCodePoints(e=>e!=='"'&&e!=="\\",e,t);if(t.position>=e.length){break}const r=e[t.position];t.position++;if(r==="\\"){if(t.position>=e.length){s+="\\";break}s+=e[t.position];t.position++}else{A(r==='"');break}}if(r){return s}return e.slice(n,t.position)}function serializeAMimeType(e){A(e!=="failure");const{parameters:t,essence:r}=e;let n=r;for(let[e,r]of t.entries()){n+=";";n+=e;n+="=";if(!s.test(r)){r=r.replace(/(\\|")/g,"\\$1");r='"'+r;r+='"'}n+=r}return n}function isHTTPWhiteSpace(e){return e===13||e===10||e===9||e===32}function removeHTTPWhitespace(e,t=true,r=true){return removeChars(e,t,r,isHTTPWhiteSpace)}function isASCIIWhitespace(e){return e===13||e===10||e===9||e===12||e===32}function removeASCIIWhitespace(e,t=true,r=true){return removeChars(e,t,r,isASCIIWhitespace)}function removeChars(e,t,r,A){let n=0;let s=e.length-1;if(t){while(n0&&A(e.charCodeAt(s)))s--}return n===0&&s===e.length-1?e:e.slice(n,s+1)}function isomorphicDecode(e){const t=e.length;if((2<<15)-1>t){return String.fromCharCode.apply(null,e)}let r="";let A=0;let n=(2<<15)-1;while(At){n=t-A}r+=String.fromCharCode.apply(null,e.subarray(A,A+=n))}return r}function minimizeSupportedMimeType(e){switch(e.essence){case"application/ecmascript":case"application/javascript":case"application/x-ecmascript":case"application/x-javascript":case"text/ecmascript":case"text/javascript":case"text/javascript1.0":case"text/javascript1.1":case"text/javascript1.2":case"text/javascript1.3":case"text/javascript1.4":case"text/javascript1.5":case"text/jscript":case"text/livescript":case"text/x-ecmascript":case"text/x-javascript":return"text/javascript";case"application/json":case"text/json":return"application/json";case"image/svg+xml":return"image/svg+xml";case"text/xml":case"application/xml":return"application/xml"}if(e.subtype.endsWith("+json")){return"application/json"}if(e.subtype.endsWith("+xml")){return"application/xml"}return""}e.exports={dataURLProcessor:dataURLProcessor,URLSerializer:URLSerializer,collectASequenceOfCodePoints:collectASequenceOfCodePoints,collectASequenceOfCodePointsFast:collectASequenceOfCodePointsFast,stringPercentDecode:stringPercentDecode,parseMIMEType:parseMIMEType,collectAnHTTPQuotedString:collectAnHTTPQuotedString,serializeAMimeType:serializeAMimeType,removeChars:removeChars,removeHTTPWhitespace:removeHTTPWhitespace,minimizeSupportedMimeType:minimizeSupportedMimeType,HTTP_TOKEN_CODEPOINTS:s,isomorphicDecode:isomorphicDecode}},3090:(e,t,r)=>{const{kConnected:A,kSize:n}=r(5424);class CompatWeakRef{constructor(e){this.value=e}deref(){return this.value[A]===0&&this.value[n]===0?undefined:this.value}}class CompatFinalizer{constructor(e){this.finalizer=e}register(e,t){if(e.on){e.on("disconnect",()=>{if(e[A]===0&&e[n]===0){this.finalizer(t)}})}}unregister(e){}}e.exports=function(){if(process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")){process._rawDebug("Using compatibility WeakRef and FinalizationRegistry");return{WeakRef:CompatWeakRef,FinalizationRegistry:CompatFinalizer}}return{WeakRef:WeakRef,FinalizationRegistry:FinalizationRegistry}}},5733:(e,t,r)=>{const{Blob:A,File:n}=r(4573);const{kState:s}=r(6602);const{webidl:o}=r(5162);class FileLike{constructor(e,t,r={}){const A=t;const n=r.type;const o=r.lastModified??Date.now();this[s]={blobLike:e,name:A,type:n,lastModified:o}}stream(...e){o.brandCheck(this,FileLike);return this[s].blobLike.stream(...e)}arrayBuffer(...e){o.brandCheck(this,FileLike);return this[s].blobLike.arrayBuffer(...e)}slice(...e){o.brandCheck(this,FileLike);return this[s].blobLike.slice(...e)}text(...e){o.brandCheck(this,FileLike);return this[s].blobLike.text(...e)}get size(){o.brandCheck(this,FileLike);return this[s].blobLike.size}get type(){o.brandCheck(this,FileLike);return this[s].blobLike.type}get name(){o.brandCheck(this,FileLike);return this[s].name}get lastModified(){o.brandCheck(this,FileLike);return this[s].lastModified}get[Symbol.toStringTag](){return"File"}}o.converters.Blob=o.interfaceConverter(A);function isFileLike(e){return e instanceof n||e&&(typeof e.stream==="function"||typeof e.arrayBuffer==="function")&&e[Symbol.toStringTag]==="File"}e.exports={FileLike:FileLike,isFileLike:isFileLike}},6701:(e,t,r)=>{const{isUSVString:A,bufferToLowerCasedHeaderName:n}=r(8529);const{utf8DecodeBytes:s}=r(3095);const{HTTP_TOKEN_CODEPOINTS:o,isomorphicDecode:i}=r(5192);const{isFileLike:a}=r(5733);const{makeEntry:c}=r(7653);const l=r(4589);const{File:u}=r(4573);const d=globalThis.File??u;const h=Buffer.from('form-data; name="');const g=Buffer.from("; filename");const f=Buffer.from("--");const E=Buffer.from("--\r\n");function isAsciiString(e){for(let t=0;t70){return false}for(let r=0;r=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||t===39||t===45||t===95)){return false}}return true}function multipartFormDataParser(e,t){l(t!=="failure"&&t.essence==="multipart/form-data");const r=t.parameters.get("boundary");if(r===undefined){return"failure"}const n=Buffer.from(`--${r}`,"utf8");const o=[];const i={position:0};while(e[i.position]===13&&e[i.position+1]===10){i.position+=2}let u=e.length;while(e[u-1]===10&&e[u-2]===13){u-=2}if(u!==e.length){e=e.subarray(0,u)}while(true){if(e.subarray(i.position,i.position+n.length).equals(n)){i.position+=n.length}else{return"failure"}if(i.position===e.length-2&&bufferStartsWith(e,f,i)||i.position===e.length-4&&bufferStartsWith(e,E,i)){return o}if(e[i.position]!==13||e[i.position+1]!==10){return"failure"}i.position+=2;const t=parseMultipartFormDataHeaders(e,i);if(t==="failure"){return"failure"}let{name:r,filename:u,contentType:h,encoding:g}=t;i.position+=2;let Q;{const t=e.indexOf(n.subarray(2),i.position);if(t===-1){return"failure"}Q=e.subarray(i.position,t-4);i.position+=Q.length;if(g==="base64"){Q=Buffer.from(Q.toString(),"base64")}}if(e[i.position]!==13||e[i.position+1]!==10){return"failure"}else{i.position+=2}let C;if(u!==null){h??="text/plain";if(!isAsciiString(h)){h=""}C=new d([Q],u,{type:h})}else{C=s(Buffer.from(Q))}l(A(r));l(typeof C==="string"&&A(C)||a(C));o.push(c(r,C,u))}}function parseMultipartFormDataHeaders(e,t){let r=null;let A=null;let s=null;let a=null;while(true){if(e[t.position]===13&&e[t.position+1]===10){if(r===null){return"failure"}return{name:r,filename:A,contentType:s,encoding:a}}let c=collectASequenceOfBytes(e=>e!==10&&e!==13&&e!==58,e,t);c=removeChars(c,true,true,e=>e===9||e===32);if(!o.test(c.toString())){return"failure"}if(e[t.position]!==58){return"failure"}t.position++;collectASequenceOfBytes(e=>e===32||e===9,e,t);switch(n(c)){case"content-disposition":{r=A=null;if(!bufferStartsWith(e,h,t)){return"failure"}t.position+=17;r=parseMultipartFormDataName(e,t);if(r===null){return"failure"}if(bufferStartsWith(e,g,t)){let r=t.position+g.length;if(e[r]===42){t.position+=1;r+=1}if(e[r]!==61||e[r+1]!==34){return"failure"}t.position+=12;A=parseMultipartFormDataName(e,t);if(A===null){return"failure"}}break}case"content-type":{let r=collectASequenceOfBytes(e=>e!==10&&e!==13,e,t);r=removeChars(r,false,true,e=>e===9||e===32);s=i(r);break}case"content-transfer-encoding":{let r=collectASequenceOfBytes(e=>e!==10&&e!==13,e,t);r=removeChars(r,false,true,e=>e===9||e===32);a=i(r);break}default:{collectASequenceOfBytes(e=>e!==10&&e!==13,e,t)}}if(e[t.position]!==13&&e[t.position+1]!==10){return"failure"}else{t.position+=2}}}function parseMultipartFormDataName(e,t){l(e[t.position-1]===34);let r=collectASequenceOfBytes(e=>e!==10&&e!==13&&e!==34,e,t);if(e[t.position]!==34){return null}else{t.position++}r=(new TextDecoder).decode(r).replace(/%0A/gi,"\n").replace(/%0D/gi,"\r").replace(/%22/g,'"');return r}function collectASequenceOfBytes(e,t,r){let A=r.position;while(A0&&A(e[s]))s--}return n===0&&s===e.length-1?e:e.subarray(n,s+1)}function bufferStartsWith(e,t,r){if(e.length{const{isBlobLike:A,iteratorMixin:n}=r(3095);const{kState:s}=r(6602);const{kEnumerableProperty:o}=r(8529);const{FileLike:i,isFileLike:a}=r(5733);const{webidl:c}=r(5162);const{File:l}=r(4573);const u=r(7975);const d=globalThis.File??l;class FormData{constructor(e){c.util.markAsUncloneable(this);if(e!==undefined){throw c.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}this[s]=[]}append(e,t,r=undefined){c.brandCheck(this,FormData);const n="FormData.append";c.argumentLengthCheck(arguments,2,n);if(arguments.length===3&&!A(t)){throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'")}e=c.converters.USVString(e,n,"name");t=A(t)?c.converters.Blob(t,n,"value",{strict:false}):c.converters.USVString(t,n,"value");r=arguments.length===3?c.converters.USVString(r,n,"filename"):undefined;const o=makeEntry(e,t,r);this[s].push(o)}delete(e){c.brandCheck(this,FormData);const t="FormData.delete";c.argumentLengthCheck(arguments,1,t);e=c.converters.USVString(e,t,"name");this[s]=this[s].filter(t=>t.name!==e)}get(e){c.brandCheck(this,FormData);const t="FormData.get";c.argumentLengthCheck(arguments,1,t);e=c.converters.USVString(e,t,"name");const r=this[s].findIndex(t=>t.name===e);if(r===-1){return null}return this[s][r].value}getAll(e){c.brandCheck(this,FormData);const t="FormData.getAll";c.argumentLengthCheck(arguments,1,t);e=c.converters.USVString(e,t,"name");return this[s].filter(t=>t.name===e).map(e=>e.value)}has(e){c.brandCheck(this,FormData);const t="FormData.has";c.argumentLengthCheck(arguments,1,t);e=c.converters.USVString(e,t,"name");return this[s].findIndex(t=>t.name===e)!==-1}set(e,t,r=undefined){c.brandCheck(this,FormData);const n="FormData.set";c.argumentLengthCheck(arguments,2,n);if(arguments.length===3&&!A(t)){throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'")}e=c.converters.USVString(e,n,"name");t=A(t)?c.converters.Blob(t,n,"name",{strict:false}):c.converters.USVString(t,n,"name");r=arguments.length===3?c.converters.USVString(r,n,"name"):undefined;const o=makeEntry(e,t,r);const i=this[s].findIndex(t=>t.name===e);if(i!==-1){this[s]=[...this[s].slice(0,i),o,...this[s].slice(i+1).filter(t=>t.name!==e)]}else{this[s].push(o)}}[u.inspect.custom](e,t){const r=this[s].reduce((e,t)=>{if(e[t.name]){if(Array.isArray(e[t.name])){e[t.name].push(t.value)}else{e[t.name]=[e[t.name],t.value]}}else{e[t.name]=t.value}return e},{__proto__:null});t.depth??=e;t.colors??=true;const A=u.formatWithOptions(t,r);return`FormData ${A.slice(A.indexOf("]")+2)}`}}n("FormData",FormData,s,"name","value");Object.defineProperties(FormData.prototype,{append:o,delete:o,get:o,getAll:o,has:o,set:o,[Symbol.toStringTag]:{value:"FormData",configurable:true}});function makeEntry(e,t,r){if(typeof t==="string"){}else{if(!a(t)){t=t instanceof Blob?new d([t],"blob",{type:t.type}):new i(t,"blob",{type:t.type})}if(r!==undefined){const e={type:t.type,lastModified:t.lastModified};t=t instanceof l?new d([t],r,e):new i(t,r,e)}}return{name:e,value:t}}e.exports={FormData:FormData,makeEntry:makeEntry}},8712:e=>{const t=Symbol.for("undici.globalOrigin.1");function getGlobalOrigin(){return globalThis[t]}function setGlobalOrigin(e){if(e===undefined){Object.defineProperty(globalThis,t,{value:undefined,writable:true,enumerable:false,configurable:false});return}const r=new URL(e);if(r.protocol!=="http:"&&r.protocol!=="https:"){throw new TypeError(`Only http & https urls are allowed, received ${r.protocol}`)}Object.defineProperty(globalThis,t,{value:r,writable:true,enumerable:false,configurable:false})}e.exports={getGlobalOrigin:getGlobalOrigin,setGlobalOrigin:setGlobalOrigin}},3257:(e,t,r)=>{const{kConstruct:A}=r(5424);const{kEnumerableProperty:n}=r(8529);const{iteratorMixin:s,isValidHeaderName:o,isValidHeaderValue:i}=r(3095);const{webidl:a}=r(5162);const c=r(4589);const l=r(7975);const u=Symbol("headers map");const d=Symbol("headers map sorted");function isHTTPWhiteSpaceCharCode(e){return e===10||e===13||e===9||e===32}function headerValueNormalize(e){let t=0;let r=e.length;while(r>t&&isHTTPWhiteSpaceCharCode(e.charCodeAt(r-1)))--r;while(r>t&&isHTTPWhiteSpaceCharCode(e.charCodeAt(t)))++t;return t===0&&r===e.length?e:e.substring(t,r)}function fill(e,t){if(Array.isArray(t)){for(let r=0;r>","record"]})}}function appendHeader(e,t,r){r=headerValueNormalize(r);if(!o(t)){throw a.errors.invalidArgument({prefix:"Headers.append",value:t,type:"header name"})}else if(!i(r)){throw a.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}if(h(e)==="immutable"){throw new TypeError("immutable")}return f(e).append(t,r,false)}function compareHeaderName(e,t){return e[0]>1);if(t[i][0]<=a[0]){o=i+1}else{s=i}}if(A!==i){n=A;while(n>o){t[n]=t[--n]}t[o]=a}}if(!r.next().done){throw new TypeError("Unreachable")}return t}else{let e=0;for(const{0:r,1:{value:A}}of this[u]){t[e++]=[r,A];c(A!==null)}return t.sort(compareHeaderName)}}}class Headers{#_;#$;constructor(e=undefined){a.util.markAsUncloneable(this);if(e===A){return}this.#$=new HeadersList;this.#_="none";if(e!==undefined){e=a.converters.HeadersInit(e,"Headers contructor","init");fill(this,e)}}append(e,t){a.brandCheck(this,Headers);a.argumentLengthCheck(arguments,2,"Headers.append");const r="Headers.append";e=a.converters.ByteString(e,r,"name");t=a.converters.ByteString(t,r,"value");return appendHeader(this,e,t)}delete(e){a.brandCheck(this,Headers);a.argumentLengthCheck(arguments,1,"Headers.delete");const t="Headers.delete";e=a.converters.ByteString(e,t,"name");if(!o(e)){throw a.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"})}if(this.#_==="immutable"){throw new TypeError("immutable")}if(!this.#$.contains(e,false)){return}this.#$.delete(e,false)}get(e){a.brandCheck(this,Headers);a.argumentLengthCheck(arguments,1,"Headers.get");const t="Headers.get";e=a.converters.ByteString(e,t,"name");if(!o(e)){throw a.errors.invalidArgument({prefix:t,value:e,type:"header name"})}return this.#$.get(e,false)}has(e){a.brandCheck(this,Headers);a.argumentLengthCheck(arguments,1,"Headers.has");const t="Headers.has";e=a.converters.ByteString(e,t,"name");if(!o(e)){throw a.errors.invalidArgument({prefix:t,value:e,type:"header name"})}return this.#$.contains(e,false)}set(e,t){a.brandCheck(this,Headers);a.argumentLengthCheck(arguments,2,"Headers.set");const r="Headers.set";e=a.converters.ByteString(e,r,"name");t=a.converters.ByteString(t,r,"value");t=headerValueNormalize(t);if(!o(e)){throw a.errors.invalidArgument({prefix:r,value:e,type:"header name"})}else if(!i(t)){throw a.errors.invalidArgument({prefix:r,value:t,type:"header value"})}if(this.#_==="immutable"){throw new TypeError("immutable")}this.#$.set(e,t,false)}getSetCookie(){a.brandCheck(this,Headers);const e=this.#$.cookies;if(e){return[...e]}return[]}get[d](){if(this.#$[d]){return this.#$[d]}const e=[];const t=this.#$.toSortedArray();const r=this.#$.cookies;if(r===null||r.length===1){return this.#$[d]=t}for(let A=0;A>"](e,t,r,A.bind(e))}return a.converters["record"](e,t,r)}throw a.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};e.exports={fill:fill,compareHeaderName:compareHeaderName,Headers:Headers,HeadersList:HeadersList,getHeadersGuard:h,setHeadersGuard:g,setHeadersList:E,getHeadersList:f}},8263:(e,t,r)=>{const{makeNetworkError:A,makeAppropriateNetworkError:n,filterResponse:s,makeResponse:o,fromInnerResponse:i}=r(1328);const{HeadersList:a}=r(3257);const{Request:c,cloneRequest:l}=r(6398);const u=r(8522);const{bytesMatch:d,makePolicyContainer:h,clonePolicyContainer:g,requestBadPort:f,TAOCheck:E,appendRequestOriginHeader:Q,responseLocationURL:C,requestCurrentURL:I,setRequestReferrerPolicyOnRedirect:B,tryUpgradeRequestToAPotentiallyTrustworthyURL:p,createOpaqueTimingInfo:m,appendFetchMetadata:y,corsCheck:w,crossOriginResourcePolicyCheck:b,determineRequestsReferrer:k,coarsenedSharedCurrentTime:D,createDeferredPromise:R,isBlobLike:S,sameOrigin:F,isCancelled:N,isAborted:v,isErrorLike:M,fullyReadBody:U,readableStreamClose:T,isomorphicEncode:L,urlIsLocal:x,urlIsHttpHttpsScheme:H,urlHasHttpsScheme:G,clampAndCoarsenConnectionTimingInfo:Y,simpleRangeHeaderValue:P,buildContentRange:V,createInflate:J,extractMimeType:O}=r(3095);const{kState:$,kDispatcher:W}=r(6602);const q=r(4589);const{safelyExtractBody:z,extractBody:j}=r(6455);const{redirectStatusSet:K,nullBodyStatus:Z,safeMethodsSet:X,requestBodyHeader:ee,subresourceSet:te}=r(5706);const re=r(8474);const{Readable:Ae,pipeline:ne,finished:se}=r(7075);const{addAbortListener:oe,isErrored:ie,isReadable:ae,bufferToLowerCasedHeaderName:ce}=r(8529);const{dataURLProcessor:le,serializeAMimeType:ue,minimizeSupportedMimeType:de}=r(5192);const{getGlobalDispatcher:he}=r(4498);const{webidl:ge}=r(5162);const{STATUS_CODES:fe}=r(7067);const Ee=["GET","HEAD"];const Qe=typeof __UNDICI_IS_NODE__!=="undefined"||typeof esbuildDetection!=="undefined"?"node":"undici";let Ce;class Fetch extends re{constructor(e){super();this.dispatcher=e;this.connection=null;this.dump=false;this.state="ongoing"}terminate(e){if(this.state!=="ongoing"){return}this.state="terminated";this.connection?.destroy(e);this.emit("terminated",e)}abort(e){if(this.state!=="ongoing"){return}this.state="aborted";if(!e){e=new DOMException("The operation was aborted.","AbortError")}this.serializedAbortReason=e;this.connection?.destroy(e);this.emit("terminated",e)}}function handleFetchDone(e){finalizeAndReportTiming(e,"fetch")}function fetch(e,t=undefined){ge.argumentLengthCheck(arguments,1,"globalThis.fetch");let r=R();let A;try{A=new c(e,t)}catch(e){r.reject(e);return r.promise}const n=A[$];if(A.signal.aborted){abortFetch(r,n,null,A.signal.reason);return r.promise}const s=n.client.globalObject;if(s?.constructor?.name==="ServiceWorkerGlobalScope"){n.serviceWorkers="none"}let o=null;let a=false;let l=null;oe(A.signal,()=>{a=true;q(l!=null);l.abort(A.signal.reason);const e=o?.deref();abortFetch(r,n,e,A.signal.reason)});const processResponse=e=>{if(a){return}if(e.aborted){abortFetch(r,n,o,l.serializedAbortReason);return}if(e.type==="error"){r.reject(new TypeError("fetch failed",{cause:e.error}));return}o=new WeakRef(i(e,"immutable"));r.resolve(o.deref());r=null};l=fetching({request:n,processResponseEndOfBody:handleFetchDone,processResponse:processResponse,dispatcher:A[W]});return r.promise}function finalizeAndReportTiming(e,t="other"){if(e.type==="error"&&e.aborted){return}if(!e.urlList?.length){return}const r=e.urlList[0];let A=e.timingInfo;let n=e.cacheState;if(!H(r)){return}if(A===null){return}if(!e.timingAllowPassed){A=m({startTime:A.startTime});n=""}A.endTime=D();e.timingInfo=A;Ie(A,r.href,t,globalThis,n)}const Ie=performance.markResourceTiming;function abortFetch(e,t,r,A){if(e){e.reject(A)}if(t.body!=null&&ae(t.body?.stream)){t.body.stream.cancel(A).catch(e=>{if(e.code==="ERR_INVALID_STATE"){return}throw e})}if(r==null){return}const n=r[$];if(n.body!=null&&ae(n.body?.stream)){n.body.stream.cancel(A).catch(e=>{if(e.code==="ERR_INVALID_STATE"){return}throw e})}}function fetching({request:e,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:A,processResponseEndOfBody:n,processResponseConsumeBody:s,useParallelQueue:o=false,dispatcher:i=he()}){q(i);let a=null;let c=false;if(e.client!=null){a=e.client.globalObject;c=e.client.crossOriginIsolatedCapability}const l=D(c);const u=m({startTime:l});const d={controller:new Fetch(i),request:e,timingInfo:u,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:A,processResponseConsumeBody:s,processResponseEndOfBody:n,taskDestination:a,crossOriginIsolatedCapability:c};q(!e.body||e.body.stream);if(e.window==="client"){e.window=e.client?.globalObject?.constructor?.name==="Window"?e.client:"no-window"}if(e.origin==="client"){e.origin=e.client.origin}if(e.policyContainer==="client"){if(e.client!=null){e.policyContainer=g(e.client.policyContainer)}else{e.policyContainer=h()}}if(!e.headersList.contains("accept",true)){const t="*/*";e.headersList.append("accept",t,true)}if(!e.headersList.contains("accept-language",true)){e.headersList.append("accept-language","*",true)}if(e.priority===null){}if(te.has(e.destination)){}mainFetch(d).catch(e=>{d.controller.terminate(e)});return d.controller}async function mainFetch(e,t=false){const r=e.request;let n=null;if(r.localURLsOnly&&!x(I(r))){n=A("local URLs only")}p(r);if(f(r)==="blocked"){n=A("bad port")}if(r.referrerPolicy===""){r.referrerPolicy=r.policyContainer.referrerPolicy}if(r.referrer!=="no-referrer"){r.referrer=k(r)}if(n===null){n=await(async()=>{const t=I(r);if(F(t,r.url)&&r.responseTainting==="basic"||t.protocol==="data:"||(r.mode==="navigate"||r.mode==="websocket")){r.responseTainting="basic";return await schemeFetch(e)}if(r.mode==="same-origin"){return A('request mode cannot be "same-origin"')}if(r.mode==="no-cors"){if(r.redirect!=="follow"){return A('redirect mode cannot be "follow" for "no-cors" request')}r.responseTainting="opaque";return await schemeFetch(e)}if(!H(I(r))){return A("URL scheme must be a HTTP(S) scheme")}r.responseTainting="cors";return await httpFetch(e)})()}if(t){return n}if(n.status!==0&&!n.internalResponse){if(r.responseTainting==="cors"){}if(r.responseTainting==="basic"){n=s(n,"basic")}else if(r.responseTainting==="cors"){n=s(n,"cors")}else if(r.responseTainting==="opaque"){n=s(n,"opaque")}else{q(false)}}let o=n.status===0?n:n.internalResponse;if(o.urlList.length===0){o.urlList.push(...r.urlList)}if(!r.timingAllowFailed){n.timingAllowPassed=true}if(n.type==="opaque"&&o.status===206&&o.rangeRequested&&!r.headers.contains("range",true)){n=o=A()}if(n.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||Z.includes(o.status))){o.body=null;e.controller.dump=true}if(r.integrity){const processBodyError=t=>fetchFinale(e,A(t));if(r.responseTainting==="opaque"||n.body==null){processBodyError(n.error);return}const processBody=t=>{if(!d(t,r.integrity)){processBodyError("integrity mismatch");return}n.body=z(t)[0];fetchFinale(e,n)};await U(n.body,processBody,processBodyError)}else{fetchFinale(e,n)}}function schemeFetch(e){if(N(e)&&e.request.redirectCount===0){return Promise.resolve(n(e))}const{request:t}=e;const{protocol:s}=I(t);switch(s){case"about:":{return Promise.resolve(A("about scheme is not supported"))}case"blob:":{if(!Ce){Ce=r(4573).resolveObjectURL}const e=I(t);if(e.search.length!==0){return Promise.resolve(A("NetworkError when attempting to fetch resource."))}const n=Ce(e.toString());if(t.method!=="GET"||!S(n)){return Promise.resolve(A("invalid method"))}const s=o();const i=n.size;const a=L(`${i}`);const c=n.type;if(!t.headersList.contains("range",true)){const e=j(n);s.statusText="OK";s.body=e[0];s.headersList.set("content-length",a,true);s.headersList.set("content-type",c,true)}else{s.rangeRequested=true;const e=t.headersList.get("range",true);const r=P(e,true);if(r==="failure"){return Promise.resolve(A("failed to fetch the data URL"))}let{rangeStartValue:o,rangeEndValue:a}=r;if(o===null){o=i-a;a=o+a-1}else{if(o>=i){return Promise.resolve(A("Range start is greater than the blob's size."))}if(a===null||a>=i){a=i-1}}const l=n.slice(o,a,c);const u=j(l);s.body=u[0];const d=L(`${l.size}`);const h=V(o,a,i);s.status=206;s.statusText="Partial Content";s.headersList.set("content-length",d,true);s.headersList.set("content-type",c,true);s.headersList.set("content-range",h,true)}return Promise.resolve(s)}case"data:":{const e=I(t);const r=le(e);if(r==="failure"){return Promise.resolve(A("failed to fetch the data URL"))}const n=ue(r.mimeType);return Promise.resolve(o({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:n}]],body:z(r.body)[0]}))}case"file:":{return Promise.resolve(A("not implemented... yet..."))}case"http:":case"https:":{return httpFetch(e).catch(e=>A(e))}default:{return Promise.resolve(A("unknown scheme"))}}}function finalizeResponse(e,t){e.request.done=true;if(e.processResponseDone!=null){queueMicrotask(()=>e.processResponseDone(t))}}function fetchFinale(e,t){let r=e.timingInfo;const processResponseEndOfBody=()=>{const A=Date.now();if(e.request.destination==="document"){e.controller.fullTimingInfo=r}e.controller.reportTimingSteps=()=>{if(e.request.url.protocol!=="https:"){return}r.endTime=A;let n=t.cacheState;const s=t.bodyInfo;if(!t.timingAllowPassed){r=m(r);n=""}let o=0;if(e.request.mode!=="navigator"||!t.hasCrossOriginRedirects){o=t.status;const e=O(t.headersList);if(e!=="failure"){s.contentType=de(e)}}if(e.request.initiatorType!=null){Ie(r,e.request.url.href,e.request.initiatorType,globalThis,n,s,o)}};const processResponseEndOfBodyTask=()=>{e.request.done=true;if(e.processResponseEndOfBody!=null){queueMicrotask(()=>e.processResponseEndOfBody(t))}if(e.request.initiatorType!=null){e.controller.reportTimingSteps()}};queueMicrotask(()=>processResponseEndOfBodyTask())};if(e.processResponse!=null){queueMicrotask(()=>{e.processResponse(t);e.processResponse=null})}const A=t.type==="error"?t:t.internalResponse??t;if(A.body==null){processResponseEndOfBody()}else{se(A.body.stream,()=>{processResponseEndOfBody()})}}async function httpFetch(e){const t=e.request;let r=null;let n=null;const s=e.timingInfo;if(t.serviceWorkers==="all"){}if(r===null){if(t.redirect==="follow"){t.serviceWorkers="none"}n=r=await httpNetworkOrCacheFetch(e);if(t.responseTainting==="cors"&&w(t,r)==="failure"){return A("cors failure")}if(E(t,r)==="failure"){t.timingAllowFailed=true}}if((t.responseTainting==="opaque"||r.type==="opaque")&&b(t.origin,t.client,t.destination,n)==="blocked"){return A("blocked")}if(K.has(n.status)){if(t.redirect!=="manual"){e.controller.connection.destroy(undefined,false)}if(t.redirect==="error"){r=A("unexpected redirect")}else if(t.redirect==="manual"){r=n}else if(t.redirect==="follow"){r=await httpRedirectFetch(e,r)}else{q(false)}}r.timingInfo=s;return r}function httpRedirectFetch(e,t){const r=e.request;const n=t.internalResponse?t.internalResponse:t;let s;try{s=C(n,I(r).hash);if(s==null){return t}}catch(e){return Promise.resolve(A(e))}if(!H(s)){return Promise.resolve(A("URL scheme must be a HTTP(S) scheme"))}if(r.redirectCount===20){return Promise.resolve(A("redirect count exceeded"))}r.redirectCount+=1;if(r.mode==="cors"&&(s.username||s.password)&&!F(r,s)){return Promise.resolve(A('cross origin not allowed for request mode "cors"'))}if(r.responseTainting==="cors"&&(s.username||s.password)){return Promise.resolve(A('URL cannot contain credentials for request mode "cors"'))}if(n.status!==303&&r.body!=null&&r.body.source==null){return Promise.resolve(A())}if([301,302].includes(n.status)&&r.method==="POST"||n.status===303&&!Ee.includes(r.method)){r.method="GET";r.body=null;for(const e of ee){r.headersList.delete(e)}}if(!F(I(r),s)){r.headersList.delete("authorization",true);r.headersList.delete("proxy-authorization",true);r.headersList.delete("cookie",true);r.headersList.delete("host",true)}if(r.body!=null){q(r.body.source!=null);r.body=z(r.body.source)[0]}const o=e.timingInfo;o.redirectEndTime=o.postRedirectStartTime=D(e.crossOriginIsolatedCapability);if(o.redirectStartTime===0){o.redirectStartTime=o.startTime}r.urlList.push(s);B(r,n);return mainFetch(e,true)}async function httpNetworkOrCacheFetch(e,t=false,r=false){const s=e.request;let o=null;let i=null;let a=null;const c=null;const u=false;if(s.window==="no-window"&&s.redirect==="error"){o=e;i=s}else{i=l(s);o={...e};o.request=i}const d=s.credentials==="include"||s.credentials==="same-origin"&&s.responseTainting==="basic";const h=i.body?i.body.length:null;let g=null;if(i.body==null&&["POST","PUT"].includes(i.method)){g="0"}if(h!=null){g=L(`${h}`)}if(g!=null){i.headersList.append("content-length",g,true)}if(h!=null&&i.keepalive){}if(i.referrer instanceof URL){i.headersList.append("referer",L(i.referrer.href),true)}Q(i);y(i);if(!i.headersList.contains("user-agent",true)){i.headersList.append("user-agent",Qe)}if(i.cache==="default"&&(i.headersList.contains("if-modified-since",true)||i.headersList.contains("if-none-match",true)||i.headersList.contains("if-unmodified-since",true)||i.headersList.contains("if-match",true)||i.headersList.contains("if-range",true))){i.cache="no-store"}if(i.cache==="no-cache"&&!i.preventNoCacheCacheControlHeaderModification&&!i.headersList.contains("cache-control",true)){i.headersList.append("cache-control","max-age=0",true)}if(i.cache==="no-store"||i.cache==="reload"){if(!i.headersList.contains("pragma",true)){i.headersList.append("pragma","no-cache",true)}if(!i.headersList.contains("cache-control",true)){i.headersList.append("cache-control","no-cache",true)}}if(i.headersList.contains("range",true)){i.headersList.append("accept-encoding","identity",true)}if(!i.headersList.contains("accept-encoding",true)){if(G(I(i))){i.headersList.append("accept-encoding","br, gzip, deflate",true)}else{i.headersList.append("accept-encoding","gzip, deflate",true)}}i.headersList.delete("host",true);if(d){}if(c==null){i.cache="no-store"}if(i.cache!=="no-store"&&i.cache!=="reload"){}if(a==null){if(i.cache==="only-if-cached"){return A("only if cached")}const e=await httpNetworkFetch(o,d,r);if(!X.has(i.method)&&e.status>=200&&e.status<=399){}if(u&&e.status===304){}if(a==null){a=e}}a.urlList=[...i.urlList];if(i.headersList.contains("range",true)){a.rangeRequested=true}a.requestIncludesCredentials=d;if(a.status===407){if(s.window==="no-window"){return A()}if(N(e)){return n(e)}return A("proxy authentication required")}if(a.status===421&&!r&&(s.body==null||s.body.source!=null)){if(N(e)){return n(e)}e.controller.connection.destroy();a=await httpNetworkOrCacheFetch(e,t,true)}if(t){}return a}async function httpNetworkFetch(e,t=false,r=false){q(!e.controller.connection||e.controller.connection.destroyed);e.controller.connection={abort:null,destroyed:false,destroy(e,t=true){if(!this.destroyed){this.destroyed=true;if(t){this.abort?.(e??new DOMException("The operation was aborted.","AbortError"))}}}};const s=e.request;let i=null;const c=e.timingInfo;const l=null;if(l==null){s.cache="no-store"}const d=r?"yes":"no";if(s.mode==="websocket"){}else{}let h=null;if(s.body==null&&e.processRequestEndOfBody){queueMicrotask(()=>e.processRequestEndOfBody())}else if(s.body!=null){const processBodyChunk=async function*(t){if(N(e)){return}yield t;e.processRequestBodyChunkLength?.(t.byteLength)};const processEndOfBody=()=>{if(N(e)){return}if(e.processRequestEndOfBody){e.processRequestEndOfBody()}};const processBodyError=t=>{if(N(e)){return}if(t.name==="AbortError"){e.controller.abort()}else{e.controller.terminate(t)}};h=async function*(){try{for await(const e of s.body.stream){yield*processBodyChunk(e)}processEndOfBody()}catch(e){processBodyError(e)}}()}try{const{body:t,status:r,statusText:A,headersList:n,socket:s}=await dispatch({body:h});if(s){i=o({status:r,statusText:A,headersList:n,socket:s})}else{const s=t[Symbol.asyncIterator]();e.controller.next=()=>s.next();i=o({status:r,statusText:A,headersList:n})}}catch(t){if(t.name==="AbortError"){e.controller.connection.destroy();return n(e,t)}return A(t)}const pullAlgorithm=async()=>{await e.controller.resume()};const cancelAlgorithm=t=>{if(!N(e)){e.controller.abort(t)}};const g=new ReadableStream({async start(t){e.controller.controller=t},async pull(e){await pullAlgorithm(e)},async cancel(e){await cancelAlgorithm(e)},type:"bytes"});i.body={stream:g,source:null,length:null};if(!e.controller.resume){e.controller.on("terminated",onAborted)}e.controller.resume=async()=>{while(true){let t;let r;try{const{done:r,value:A}=await e.controller.next();if(v(e)){break}t=r?undefined:A}catch(A){if(e.controller.ended&&!c.encodedBodySize){t=undefined}else{t=A;r=true}}if(t===undefined){T(e.controller.controller);finalizeResponse(e,i);return}c.decodedBodySize+=t?.byteLength??0;if(r){e.controller.terminate(t);return}const A=new Uint8Array(t);if(A.byteLength){e.controller.controller.enqueue(A)}if(ie(g)){e.controller.terminate();return}if(e.controller.controller.desiredSize<=0){return}}};function onAborted(t){if(v(e)){i.aborted=true;if(ae(g)){e.controller.controller.error(e.controller.serializedAbortReason)}}else{if(ae(g)){e.controller.controller.error(new TypeError("terminated",{cause:M(t)?t:undefined}))}}e.controller.connection.destroy()}return i;function dispatch({body:t}){const r=I(s);const A=e.controller.dispatcher;return new Promise((n,o)=>A.dispatch({path:r.pathname+r.search,origin:r.origin,method:s.method,body:A.isMockActive?s.body&&(s.body.source||s.body.stream):t,headers:s.headersList.entries,maxRedirections:0,upgrade:s.mode==="websocket"?"websocket":undefined},{body:null,abort:null,onConnect(t){const{connection:r}=e.controller;c.finalConnectionTimingInfo=Y(undefined,c.postRedirectStartTime,e.crossOriginIsolatedCapability);if(r.destroyed){t(new DOMException("The operation was aborted.","AbortError"))}else{e.controller.on("terminated",t);this.abort=r.abort=t}c.finalNetworkRequestStartTime=D(e.crossOriginIsolatedCapability)},onResponseStarted(){c.finalNetworkResponseStartTime=D(e.crossOriginIsolatedCapability)},onHeaders(e,t,r,A){if(e<200){return}let o="";const i=new a;for(let e=0;er){this.abort(new Error(`too many content-encodings in response: ${t.length}, maximum allowed is ${r}`));return true}for(let e=t.length-1;e>=0;--e){const r=t[e].trim();if(r==="x-gzip"||r==="gzip"){c.push(u.createGunzip({flush:u.constants.Z_SYNC_FLUSH,finishFlush:u.constants.Z_SYNC_FLUSH}))}else if(r==="deflate"){c.push(J({flush:u.constants.Z_SYNC_FLUSH,finishFlush:u.constants.Z_SYNC_FLUSH}))}else if(r==="br"){c.push(u.createBrotliDecompress({flush:u.constants.BROTLI_OPERATION_FLUSH,finishFlush:u.constants.BROTLI_OPERATION_FLUSH}))}else{c.length=0;break}}}this.body=new Ae({read:r});const d=this.onError.bind(this);n({status:e,statusText:A,headersList:i,body:c.length?ne(this.body,...c,e=>{if(e){this.onError(e)}}).on("error",d):this.body.on("error",d)});return true},onData(t){if(e.controller.dump){return}const r=t;c.encodedBodySize+=r.byteLength;return this.body.push(r)},onComplete(){if(this.abort){e.controller.off("terminated",this.abort)}e.controller.ended=true;this.body.push(null)},onError(t){if(this.abort){e.controller.off("terminated",this.abort)}this.body?.destroy(t);e.controller.terminate(t);o(t)},onUpgrade(e,t,r){if(e!==101){return}const A=new a;for(let e=0;e{const{extractBody:A,mixinBody:n,cloneBody:s,bodyUnusable:o}=r(6455);const{Headers:i,fill:a,HeadersList:c,setHeadersGuard:l,getHeadersGuard:u,setHeadersList:d,getHeadersList:h}=r(3257);const{FinalizationRegistry:g}=r(3090)();const f=r(8529);const E=r(7975);const{isValidHTTPToken:Q,sameOrigin:C,environmentSettingsObject:I}=r(3095);const{forbiddenMethodsSet:B,corsSafeListedMethodsSet:p,referrerPolicy:m,requestRedirect:y,requestMode:w,requestCredentials:b,requestCache:k,requestDuplex:D}=r(5706);const{kEnumerableProperty:R,normalizedMethodRecordsBase:S,normalizedMethodRecords:F}=f;const{kHeaders:N,kSignal:v,kState:M,kDispatcher:U}=r(6602);const{webidl:T}=r(5162);const{URLSerializer:L}=r(5192);const{kConstruct:x}=r(5424);const H=r(4589);const{getMaxListeners:G,setMaxListeners:Y,getEventListeners:P,defaultMaxListeners:V}=r(8474);const J=Symbol("abortController");const O=new g(({signal:e,abort:t})=>{e.removeEventListener("abort",t)});const $=new WeakMap;function buildAbort(e){return abort;function abort(){const t=e.deref();if(t!==undefined){O.unregister(abort);this.removeEventListener("abort",abort);t.abort(this.reason);const e=$.get(t.signal);if(e!==undefined){if(e.size!==0){for(const t of e){const e=t.deref();if(e!==undefined){e.abort(this.reason)}}e.clear()}$.delete(t.signal)}}}}let W=false;class Request{constructor(e,t={}){T.util.markAsUncloneable(this);if(e===x){return}const r="Request constructor";T.argumentLengthCheck(arguments,1,r);e=T.converters.RequestInfo(e,r,"input");t=T.converters.RequestInit(t,r,"init");let n=null;let s=null;const u=I.settingsObject.baseUrl;let g=null;if(typeof e==="string"){this[U]=t.dispatcher;let r;try{r=new URL(e,u)}catch(t){throw new TypeError("Failed to parse URL from "+e,{cause:t})}if(r.username||r.password){throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+e)}n=makeRequest({urlList:[r]});s="cors"}else{this[U]=t.dispatcher||e[U];H(e instanceof Request);n=e[M];g=e[v]}const E=I.settingsObject.origin;let m="client";if(n.window?.constructor?.name==="EnvironmentSettingsObject"&&C(n.window,E)){m=n.window}if(t.window!=null){throw new TypeError(`'window' option '${m}' must be null`)}if("window"in t){m="no-window"}n=makeRequest({method:n.method,headersList:n.headersList,unsafeRequest:n.unsafeRequest,client:I.settingsObject,window:m,priority:n.priority,origin:n.origin,referrer:n.referrer,referrerPolicy:n.referrerPolicy,mode:n.mode,credentials:n.credentials,cache:n.cache,redirect:n.redirect,integrity:n.integrity,keepalive:n.keepalive,reloadNavigation:n.reloadNavigation,historyNavigation:n.historyNavigation,urlList:[...n.urlList]});const y=Object.keys(t).length!==0;if(y){if(n.mode==="navigate"){n.mode="same-origin"}n.reloadNavigation=false;n.historyNavigation=false;n.origin="client";n.referrer="client";n.referrerPolicy="";n.url=n.urlList[n.urlList.length-1];n.urlList=[n.url]}if(t.referrer!==undefined){const e=t.referrer;if(e===""){n.referrer="no-referrer"}else{let t;try{t=new URL(e,u)}catch(t){throw new TypeError(`Referrer "${e}" is not a valid URL.`,{cause:t})}if(t.protocol==="about:"&&t.hostname==="client"||E&&!C(t,I.settingsObject.baseUrl)){n.referrer="client"}else{n.referrer=t}}}if(t.referrerPolicy!==undefined){n.referrerPolicy=t.referrerPolicy}let w;if(t.mode!==undefined){w=t.mode}else{w=s}if(w==="navigate"){throw T.errors.exception({header:"Request constructor",message:"invalid request mode navigate."})}if(w!=null){n.mode=w}if(t.credentials!==undefined){n.credentials=t.credentials}if(t.cache!==undefined){n.cache=t.cache}if(n.cache==="only-if-cached"&&n.mode!=="same-origin"){throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode")}if(t.redirect!==undefined){n.redirect=t.redirect}if(t.integrity!=null){n.integrity=String(t.integrity)}if(t.keepalive!==undefined){n.keepalive=Boolean(t.keepalive)}if(t.method!==undefined){let e=t.method;const r=F[e];if(r!==undefined){n.method=r}else{if(!Q(e)){throw new TypeError(`'${e}' is not a valid HTTP method.`)}const t=e.toUpperCase();if(B.has(t)){throw new TypeError(`'${e}' HTTP method is unsupported.`)}e=S[t]??e;n.method=e}if(!W&&n.method==="patch"){process.emitWarning("Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.",{code:"UNDICI-FETCH-patch"});W=true}}if(t.signal!==undefined){g=t.signal}this[M]=n;const b=new AbortController;this[v]=b.signal;if(g!=null){if(!g||typeof g.aborted!=="boolean"||typeof g.addEventListener!=="function"){throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.")}if(g.aborted){b.abort(g.reason)}else{this[J]=b;const e=new WeakRef(b);const t=buildAbort(e);try{if(typeof G==="function"&&G(g)===V){Y(1500,g)}else if(P(g,"abort").length>=V){Y(1500,g)}}catch{}f.addAbortListener(g,t);O.register(b,{signal:g,abort:t},t)}}this[N]=new i(x);d(this[N],n.headersList);l(this[N],"request");if(w==="no-cors"){if(!p.has(n.method)){throw new TypeError(`'${n.method} is unsupported in no-cors mode.`)}l(this[N],"request-no-cors")}if(y){const e=h(this[N]);const r=t.headers!==undefined?t.headers:new c(e);e.clear();if(r instanceof c){for(const{name:t,value:A}of r.rawValues()){e.append(t,A,false)}e.cookies=r.cookies}else{a(this[N],r)}}const k=e instanceof Request?e[M].body:null;if((t.body!=null||k!=null)&&(n.method==="GET"||n.method==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body.")}let D=null;if(t.body!=null){const[e,r]=A(t.body,n.keepalive);D=e;if(r&&!h(this[N]).contains("content-type",true)){this[N].append("content-type",r)}}const R=D??k;if(R!=null&&R.source==null){if(D!=null&&t.duplex==null){throw new TypeError("RequestInit: duplex option is required when sending a body.")}if(n.mode!=="same-origin"&&n.mode!=="cors"){throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"')}n.useCORSPreflightFlag=true}let L=R;if(D==null&&k!=null){if(o(e)){throw new TypeError("Cannot construct a Request with a Request object that has already been used.")}const t=new TransformStream;k.stream.pipeThrough(t);L={source:k.source,length:k.length,stream:t.readable}}this[M].body=L}get method(){T.brandCheck(this,Request);return this[M].method}get url(){T.brandCheck(this,Request);return L(this[M].url)}get headers(){T.brandCheck(this,Request);return this[N]}get destination(){T.brandCheck(this,Request);return this[M].destination}get referrer(){T.brandCheck(this,Request);if(this[M].referrer==="no-referrer"){return""}if(this[M].referrer==="client"){return"about:client"}return this[M].referrer.toString()}get referrerPolicy(){T.brandCheck(this,Request);return this[M].referrerPolicy}get mode(){T.brandCheck(this,Request);return this[M].mode}get credentials(){return this[M].credentials}get cache(){T.brandCheck(this,Request);return this[M].cache}get redirect(){T.brandCheck(this,Request);return this[M].redirect}get integrity(){T.brandCheck(this,Request);return this[M].integrity}get keepalive(){T.brandCheck(this,Request);return this[M].keepalive}get isReloadNavigation(){T.brandCheck(this,Request);return this[M].reloadNavigation}get isHistoryNavigation(){T.brandCheck(this,Request);return this[M].historyNavigation}get signal(){T.brandCheck(this,Request);return this[v]}get body(){T.brandCheck(this,Request);return this[M].body?this[M].body.stream:null}get bodyUsed(){T.brandCheck(this,Request);return!!this[M].body&&f.isDisturbed(this[M].body.stream)}get duplex(){T.brandCheck(this,Request);return"half"}clone(){T.brandCheck(this,Request);if(o(this)){throw new TypeError("unusable")}const e=cloneRequest(this[M]);const t=new AbortController;if(this.signal.aborted){t.abort(this.signal.reason)}else{let e=$.get(this.signal);if(e===undefined){e=new Set;$.set(this.signal,e)}const r=new WeakRef(t);e.add(r);f.addAbortListener(t.signal,buildAbort(r))}return fromInnerRequest(e,t.signal,u(this[N]))}[E.inspect.custom](e,t){if(t.depth===null){t.depth=2}t.colors??=true;const r={method:this.method,url:this.url,headers:this.headers,destination:this.destination,referrer:this.referrer,referrerPolicy:this.referrerPolicy,mode:this.mode,credentials:this.credentials,cache:this.cache,redirect:this.redirect,integrity:this.integrity,keepalive:this.keepalive,isReloadNavigation:this.isReloadNavigation,isHistoryNavigation:this.isHistoryNavigation,signal:this.signal};return`Request ${E.formatWithOptions(t,r)}`}}n(Request);function makeRequest(e){return{method:e.method??"GET",localURLsOnly:e.localURLsOnly??false,unsafeRequest:e.unsafeRequest??false,body:e.body??null,client:e.client??null,reservedClient:e.reservedClient??null,replacesClientId:e.replacesClientId??"",window:e.window??"client",keepalive:e.keepalive??false,serviceWorkers:e.serviceWorkers??"all",initiator:e.initiator??"",destination:e.destination??"",priority:e.priority??null,origin:e.origin??"client",policyContainer:e.policyContainer??"client",referrer:e.referrer??"client",referrerPolicy:e.referrerPolicy??"",mode:e.mode??"no-cors",useCORSPreflightFlag:e.useCORSPreflightFlag??false,credentials:e.credentials??"same-origin",useCredentials:e.useCredentials??false,cache:e.cache??"default",redirect:e.redirect??"follow",integrity:e.integrity??"",cryptoGraphicsNonceMetadata:e.cryptoGraphicsNonceMetadata??"",parserMetadata:e.parserMetadata??"",reloadNavigation:e.reloadNavigation??false,historyNavigation:e.historyNavigation??false,userActivation:e.userActivation??false,taintedOrigin:e.taintedOrigin??false,redirectCount:e.redirectCount??0,responseTainting:e.responseTainting??"basic",preventNoCacheCacheControlHeaderModification:e.preventNoCacheCacheControlHeaderModification??false,done:e.done??false,timingAllowFailed:e.timingAllowFailed??false,urlList:e.urlList,url:e.urlList[0],headersList:e.headersList?new c(e.headersList):new c}}function cloneRequest(e){const t=makeRequest({...e,body:null});if(e.body!=null){t.body=s(t,e.body)}return t}function fromInnerRequest(e,t,r){const A=new Request(x);A[M]=e;A[v]=t;A[N]=new i(x);d(A[N],e.headersList);l(A[N],r);return A}Object.defineProperties(Request.prototype,{method:R,url:R,headers:R,redirect:R,clone:R,signal:R,duplex:R,destination:R,body:R,bodyUsed:R,isHistoryNavigation:R,isReloadNavigation:R,keepalive:R,integrity:R,cache:R,credentials:R,attribute:R,referrerPolicy:R,referrer:R,mode:R,[Symbol.toStringTag]:{value:"Request",configurable:true}});T.converters.Request=T.interfaceConverter(Request);T.converters.RequestInfo=function(e,t,r){if(typeof e==="string"){return T.converters.USVString(e,t,r)}if(e instanceof Request){return T.converters.Request(e,t,r)}return T.converters.USVString(e,t,r)};T.converters.AbortSignal=T.interfaceConverter(AbortSignal);T.converters.RequestInit=T.dictionaryConverter([{key:"method",converter:T.converters.ByteString},{key:"headers",converter:T.converters.HeadersInit},{key:"body",converter:T.nullableConverter(T.converters.BodyInit)},{key:"referrer",converter:T.converters.USVString},{key:"referrerPolicy",converter:T.converters.DOMString,allowedValues:m},{key:"mode",converter:T.converters.DOMString,allowedValues:w},{key:"credentials",converter:T.converters.DOMString,allowedValues:b},{key:"cache",converter:T.converters.DOMString,allowedValues:k},{key:"redirect",converter:T.converters.DOMString,allowedValues:y},{key:"integrity",converter:T.converters.DOMString},{key:"keepalive",converter:T.converters.boolean},{key:"signal",converter:T.nullableConverter(e=>T.converters.AbortSignal(e,"RequestInit","signal",{strict:false}))},{key:"window",converter:T.converters.any},{key:"duplex",converter:T.converters.DOMString,allowedValues:D},{key:"dispatcher",converter:T.converters.any}]);e.exports={Request:Request,makeRequest:makeRequest,fromInnerRequest:fromInnerRequest,cloneRequest:cloneRequest}},1328:(e,t,r)=>{const{Headers:A,HeadersList:n,fill:s,getHeadersGuard:o,setHeadersGuard:i,setHeadersList:a}=r(3257);const{extractBody:c,cloneBody:l,mixinBody:u,hasFinalizationRegistry:d,streamRegistry:h,bodyUnusable:g}=r(6455);const f=r(8529);const E=r(7975);const{kEnumerableProperty:Q}=f;const{isValidReasonPhrase:C,isCancelled:I,isAborted:B,isBlobLike:p,serializeJavascriptValueToJSONString:m,isErrorLike:y,isomorphicEncode:w,environmentSettingsObject:b}=r(3095);const{redirectStatusSet:k,nullBodyStatus:D}=r(5706);const{kState:R,kHeaders:S}=r(6602);const{webidl:F}=r(5162);const{FormData:N}=r(7653);const{URLSerializer:v}=r(5192);const{kConstruct:M}=r(5424);const U=r(4589);const{types:T}=r(7975);const L=new TextEncoder("utf-8");class Response{static error(){const e=fromInnerResponse(makeNetworkError(),"immutable");return e}static json(e,t={}){F.argumentLengthCheck(arguments,1,"Response.json");if(t!==null){t=F.converters.ResponseInit(t)}const r=L.encode(m(e));const A=c(r);const n=fromInnerResponse(makeResponse({}),"response");initializeResponse(n,t,{body:A[0],type:"application/json"});return n}static redirect(e,t=302){F.argumentLengthCheck(arguments,1,"Response.redirect");e=F.converters.USVString(e);t=F.converters["unsigned short"](t);let r;try{r=new URL(e,b.settingsObject.baseUrl)}catch(t){throw new TypeError(`Failed to parse URL from ${e}`,{cause:t})}if(!k.has(t)){throw new RangeError(`Invalid status code ${t}`)}const A=fromInnerResponse(makeResponse({}),"immutable");A[R].status=t;const n=w(v(r));A[R].headersList.append("location",n,true);return A}constructor(e=null,t={}){F.util.markAsUncloneable(this);if(e===M){return}if(e!==null){e=F.converters.BodyInit(e)}t=F.converters.ResponseInit(t);this[R]=makeResponse({});this[S]=new A(M);i(this[S],"response");a(this[S],this[R].headersList);let r=null;if(e!=null){const[t,A]=c(e);r={body:t,type:A}}initializeResponse(this,t,r)}get type(){F.brandCheck(this,Response);return this[R].type}get url(){F.brandCheck(this,Response);const e=this[R].urlList;const t=e[e.length-1]??null;if(t===null){return""}return v(t,true)}get redirected(){F.brandCheck(this,Response);return this[R].urlList.length>1}get status(){F.brandCheck(this,Response);return this[R].status}get ok(){F.brandCheck(this,Response);return this[R].status>=200&&this[R].status<=299}get statusText(){F.brandCheck(this,Response);return this[R].statusText}get headers(){F.brandCheck(this,Response);return this[S]}get body(){F.brandCheck(this,Response);return this[R].body?this[R].body.stream:null}get bodyUsed(){F.brandCheck(this,Response);return!!this[R].body&&f.isDisturbed(this[R].body.stream)}clone(){F.brandCheck(this,Response);if(g(this)){throw F.errors.exception({header:"Response.clone",message:"Body has already been consumed."})}const e=cloneResponse(this[R]);if(d&&this[R].body?.stream){h.register(this,new WeakRef(this[R].body.stream))}return fromInnerResponse(e,o(this[S]))}[E.inspect.custom](e,t){if(t.depth===null){t.depth=2}t.colors??=true;const r={status:this.status,statusText:this.statusText,headers:this.headers,body:this.body,bodyUsed:this.bodyUsed,ok:this.ok,redirected:this.redirected,type:this.type,url:this.url};return`Response ${E.formatWithOptions(t,r)}`}}u(Response);Object.defineProperties(Response.prototype,{type:Q,url:Q,status:Q,ok:Q,redirected:Q,statusText:Q,headers:Q,clone:Q,body:Q,bodyUsed:Q,[Symbol.toStringTag]:{value:"Response",configurable:true}});Object.defineProperties(Response,{json:Q,redirect:Q,error:Q});function cloneResponse(e){if(e.internalResponse){return filterResponse(cloneResponse(e.internalResponse),e.type)}const t=makeResponse({...e,body:null});if(e.body!=null){t.body=l(t,e.body)}return t}function makeResponse(e){return{aborted:false,rangeRequested:false,timingAllowPassed:false,requestIncludesCredentials:false,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...e,headersList:e?.headersList?new n(e?.headersList):new n,urlList:e?.urlList?[...e.urlList]:[]}}function makeNetworkError(e){const t=y(e);return makeResponse({type:"error",status:0,error:t?e:new Error(e?String(e):e),aborted:e&&e.name==="AbortError"})}function isNetworkError(e){return e.type==="error"&&e.status===0}function makeFilteredResponse(e,t){t={internalResponse:e,...t};return new Proxy(e,{get(e,r){return r in t?t[r]:e[r]},set(e,r,A){U(!(r in t));e[r]=A;return true}})}function filterResponse(e,t){if(t==="basic"){return makeFilteredResponse(e,{type:"basic",headersList:e.headersList})}else if(t==="cors"){return makeFilteredResponse(e,{type:"cors",headersList:e.headersList})}else if(t==="opaque"){return makeFilteredResponse(e,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null})}else if(t==="opaqueredirect"){return makeFilteredResponse(e,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null})}else{U(false)}}function makeAppropriateNetworkError(e,t=null){U(I(e));return B(e)?makeNetworkError(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:t})):makeNetworkError(Object.assign(new DOMException("Request was cancelled."),{cause:t}))}function initializeResponse(e,t,r){if(t.status!==null&&(t.status<200||t.status>599)){throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.')}if("statusText"in t&&t.statusText!=null){if(!C(String(t.statusText))){throw new TypeError("Invalid statusText")}}if("status"in t&&t.status!=null){e[R].status=t.status}if("statusText"in t&&t.statusText!=null){e[R].statusText=t.statusText}if("headers"in t&&t.headers!=null){s(e[S],t.headers)}if(r){if(D.includes(e.status)){throw F.errors.exception({header:"Response constructor",message:`Invalid response status code ${e.status}`})}e[R].body=r.body;if(r.type!=null&&!e[R].headersList.contains("content-type",true)){e[R].headersList.append("content-type",r.type,true)}}}function fromInnerResponse(e,t){const r=new Response(M);r[R]=e;r[S]=new A(M);a(r[S],e.headersList);i(r[S],t);if(d&&e.body?.stream){h.register(r,new WeakRef(e.body.stream))}return r}F.converters.ReadableStream=F.interfaceConverter(ReadableStream);F.converters.FormData=F.interfaceConverter(N);F.converters.URLSearchParams=F.interfaceConverter(URLSearchParams);F.converters.XMLHttpRequestBodyInit=function(e,t,r){if(typeof e==="string"){return F.converters.USVString(e,t,r)}if(p(e)){return F.converters.Blob(e,t,r,{strict:false})}if(ArrayBuffer.isView(e)||T.isArrayBuffer(e)){return F.converters.BufferSource(e,t,r)}if(f.isFormDataLike(e)){return F.converters.FormData(e,t,r,{strict:false})}if(e instanceof URLSearchParams){return F.converters.URLSearchParams(e,t,r)}return F.converters.DOMString(e,t,r)};F.converters.BodyInit=function(e,t,r){if(e instanceof ReadableStream){return F.converters.ReadableStream(e,t,r)}if(e?.[Symbol.asyncIterator]){return e}return F.converters.XMLHttpRequestBodyInit(e,t,r)};F.converters.ResponseInit=F.dictionaryConverter([{key:"status",converter:F.converters["unsigned short"],defaultValue:()=>200},{key:"statusText",converter:F.converters.ByteString,defaultValue:()=>""},{key:"headers",converter:F.converters.HeadersInit}]);e.exports={isNetworkError:isNetworkError,makeNetworkError:makeNetworkError,makeResponse:makeResponse,makeAppropriateNetworkError:makeAppropriateNetworkError,filterResponse:filterResponse,Response:Response,cloneResponse:cloneResponse,fromInnerResponse:fromInnerResponse}},6602:e=>{e.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}},3095:(e,t,r)=>{const{Transform:A}=r(7075);const n=r(8522);const{redirectStatusSet:s,referrerPolicySet:o,badPortsSet:i}=r(5706);const{getGlobalOrigin:a}=r(8712);const{collectASequenceOfCodePoints:c,collectAnHTTPQuotedString:l,removeChars:u,parseMIMEType:d}=r(5192);const{performance:h}=r(643);const{isBlobLike:g,ReadableStreamFrom:f,isValidHTTPToken:E,normalizedMethodRecordsBase:Q}=r(8529);const C=r(4589);const{isUint8Array:I}=r(3429);const{webidl:B}=r(5162);let p=[];let m;try{m=r(7598);const e=["sha256","sha384","sha512"];p=m.getHashes().filter(t=>e.includes(t))}catch{}function responseURL(e){const t=e.urlList;const r=t.length;return r===0?null:t[r-1].toString()}function responseLocationURL(e,t){if(!s.has(e.status)){return null}let r=e.headersList.get("location",true);if(r!==null&&isValidHeaderValue(r)){if(!isValidEncodedURL(r)){r=normalizeBinaryStringToUtf8(r)}r=new URL(r,responseURL(e))}if(r&&!r.hash){r.hash=t}return r}function isValidEncodedURL(e){for(let t=0;t126||r<32){return false}}return true}function normalizeBinaryStringToUtf8(e){return Buffer.from(e,"binary").toString("utf8")}function requestCurrentURL(e){return e.urlList[e.urlList.length-1]}function requestBadPort(e){const t=requestCurrentURL(e);if(urlIsHttpHttpsScheme(t)&&i.has(t.port)){return"blocked"}return"allowed"}function isErrorLike(e){return e instanceof Error||(e?.constructor?.name==="Error"||e?.constructor?.name==="DOMException")}function isValidReasonPhrase(e){for(let t=0;t=32&&r<=126||r>=128&&r<=255)){return false}}return true}const y=E;function isValidHeaderValue(e){return(e[0]==="\t"||e[0]===" "||e[e.length-1]==="\t"||e[e.length-1]===" "||e.includes("\n")||e.includes("\r")||e.includes("\0"))===false}function setRequestReferrerPolicyOnRedirect(e,t){const{headersList:r}=t;const A=(r.get("referrer-policy",true)??"").split(",");let n="";if(A.length>0){for(let e=A.length;e!==0;e--){const t=A[e-1].trim();if(o.has(t)){n=t;break}}}if(n!==""){e.referrerPolicy=n}}function crossOriginResourcePolicyCheck(){return"allowed"}function corsCheck(){return"success"}function TAOCheck(){return"success"}function appendFetchMetadata(e){let t=null;t=e.mode;e.headersList.set("sec-fetch-mode",t,true)}function appendRequestOriginHeader(e){let t=e.origin;if(t==="client"||t===undefined){return}if(e.responseTainting==="cors"||e.mode==="websocket"){e.headersList.append("origin",t,true)}else if(e.method!=="GET"&&e.method!=="HEAD"){switch(e.referrerPolicy){case"no-referrer":t=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":if(e.origin&&urlHasHttpsScheme(e.origin)&&!urlHasHttpsScheme(requestCurrentURL(e))){t=null}break;case"same-origin":if(!sameOrigin(e,requestCurrentURL(e))){t=null}break;default:}e.headersList.append("origin",t,true)}}function coarsenTime(e,t){return e}function clampAndCoarsenConnectionTimingInfo(e,t,r){if(!e?.startTime||e.startTime4096){A=n}const s=sameOrigin(e,A);const o=isURLPotentiallyTrustworthy(A)&&!isURLPotentiallyTrustworthy(e.url);switch(t){case"origin":return n!=null?n:stripURLForReferrer(r,true);case"unsafe-url":return A;case"same-origin":return s?n:"no-referrer";case"origin-when-cross-origin":return s?A:n;case"strict-origin-when-cross-origin":{const t=requestCurrentURL(e);if(sameOrigin(A,t)){return A}if(isURLPotentiallyTrustworthy(A)&&!isURLPotentiallyTrustworthy(t)){return"no-referrer"}return n}case"strict-origin":case"no-referrer-when-downgrade":default:return o?"no-referrer":n}}function stripURLForReferrer(e,t){C(e instanceof URL);e=new URL(e);if(e.protocol==="file:"||e.protocol==="about:"||e.protocol==="blank:"){return"no-referrer"}e.username="";e.password="";e.hash="";if(t){e.pathname="";e.search=""}return e}function isURLPotentiallyTrustworthy(e){if(!(e instanceof URL)){return false}if(e.href==="about:blank"||e.href==="about:srcdoc"){return true}if(e.protocol==="data:")return true;if(e.protocol==="file:")return true;return isOriginPotentiallyTrustworthy(e.origin);function isOriginPotentiallyTrustworthy(e){if(e==null||e==="null")return false;const t=new URL(e);if(t.protocol==="https:"||t.protocol==="wss:"){return true}if(/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(t.hostname)||(t.hostname==="localhost"||t.hostname.includes("localhost."))||t.hostname.endsWith(".localhost")){return true}return false}}function bytesMatch(e,t){if(m===undefined){return true}const r=parseMetadata(t);if(r==="no metadata"){return true}if(r.length===0){return true}const A=getStrongestMetadata(r);const n=filterMetadataListByAlgorithm(r,A);for(const t of n){const r=t.algo;const A=t.hash;let n=m.createHash(r).update(e).digest("base64");if(n[n.length-1]==="="){if(n[n.length-2]==="="){n=n.slice(0,-2)}else{n=n.slice(0,-1)}}if(compareBase64Mixed(n,A)){return true}}return false}const w=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function parseMetadata(e){const t=[];let r=true;for(const A of e.split(" ")){r=false;const e=w.exec(A);if(e===null||e.groups===undefined||e.groups.algo===undefined){continue}const n=e.groups.algo.toLowerCase();if(p.includes(n)){t.push(e.groups)}}if(r===true){return"no metadata"}return t}function getStrongestMetadata(e){let t=e[0].algo;if(t[3]==="5"){return t}for(let r=1;r{e=r;t=A});return{promise:r,resolve:e,reject:t}}function isAborted(e){return e.controller.state==="aborted"}function isCancelled(e){return e.controller.state==="aborted"||e.controller.state==="terminated"}function normalizeMethod(e){return Q[e.toLowerCase()]??e}function serializeJavascriptValueToJSONString(e){const t=JSON.stringify(e);if(t===undefined){throw new TypeError("Value is not JSON serializable")}C(typeof t==="string");return t}const b=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function createIterator(e,t,r=0,A=1){class FastIterableIterator{#W;#q;#z;constructor(e,t){this.#W=e;this.#q=t;this.#z=0}next(){if(typeof this!=="object"||this===null||!(#W in this)){throw new TypeError(`'next' called on an object that does not implement interface ${e} Iterator.`)}const n=this.#z;const s=this.#W[t];const o=s.length;if(n>=o){return{value:undefined,done:true}}const{[r]:i,[A]:a}=s[n];this.#z=n+1;let c;switch(this.#q){case"key":c=i;break;case"value":c=a;break;case"key+value":c=[i,a];break}return{value:c,done:false}}}delete FastIterableIterator.prototype.constructor;Object.setPrototypeOf(FastIterableIterator.prototype,b);Object.defineProperties(FastIterableIterator.prototype,{[Symbol.toStringTag]:{writable:false,enumerable:false,configurable:true,value:`${e} Iterator`},next:{writable:true,enumerable:true,configurable:true}});return function(e,t){return new FastIterableIterator(e,t)}}function iteratorMixin(e,t,r,A=0,n=1){const s=createIterator(e,r,A,n);const o={keys:{writable:true,enumerable:true,configurable:true,value:function keys(){B.brandCheck(this,t);return s(this,"key")}},values:{writable:true,enumerable:true,configurable:true,value:function values(){B.brandCheck(this,t);return s(this,"value")}},entries:{writable:true,enumerable:true,configurable:true,value:function entries(){B.brandCheck(this,t);return s(this,"key+value")}},forEach:{writable:true,enumerable:true,configurable:true,value:function forEach(r,A=globalThis){B.brandCheck(this,t);B.argumentLengthCheck(arguments,1,`${e}.forEach`);if(typeof r!=="function"){throw new TypeError(`Failed to execute 'forEach' on '${e}': parameter 1 is not of type 'Function'.`)}for(const{0:e,1:t}of s(this,"key+value")){r.call(A,t,e,this)}}}};return Object.defineProperties(t.prototype,{...o,[Symbol.iterator]:{writable:true,enumerable:false,configurable:true,value:o.entries.value}})}async function fullyReadBody(e,t,r){const A=t;const n=r;let s;try{s=e.stream.getReader()}catch(e){n(e);return}try{A(await readAllBytes(s))}catch(e){n(e)}}function isReadableStreamLike(e){return e instanceof ReadableStream||e[Symbol.toStringTag]==="ReadableStream"&&typeof e.tee==="function"}function readableStreamClose(e){try{e.close();e.byobRequest?.respond(0)}catch(e){if(!e.message.includes("Controller is already closed")&&!e.message.includes("ReadableStream is already closed")){throw e}}}const k=/[^\x00-\xFF]/;function isomorphicEncode(e){C(!k.test(e));return e}async function readAllBytes(e){const t=[];let r=0;while(true){const{done:A,value:n}=await e.read();if(A){return Buffer.concat(t,r)}if(!I(n)){throw new TypeError("Received non-Uint8Array chunk")}t.push(n);r+=n.length}}function urlIsLocal(e){C("protocol"in e);const t=e.protocol;return t==="about:"||t==="blob:"||t==="data:"}function urlHasHttpsScheme(e){return typeof e==="string"&&e[5]===":"&&e[0]==="h"&&e[1]==="t"&&e[2]==="t"&&e[3]==="p"&&e[4]==="s"||e.protocol==="https:"}function urlIsHttpHttpsScheme(e){C("protocol"in e);const t=e.protocol;return t==="http:"||t==="https:"}function simpleRangeHeaderValue(e,t){const r=e;if(!r.startsWith("bytes")){return"failure"}const A={position:5};if(t){c(e=>e==="\t"||e===" ",r,A)}if(r.charCodeAt(A.position)!==61){return"failure"}A.position++;if(t){c(e=>e==="\t"||e===" ",r,A)}const n=c(e=>{const t=e.charCodeAt(0);return t>=48&&t<=57},r,A);const s=n.length?Number(n):null;if(t){c(e=>e==="\t"||e===" ",r,A)}if(r.charCodeAt(A.position)!==45){return"failure"}A.position++;if(t){c(e=>e==="\t"||e===" ",r,A)}const o=c(e=>{const t=e.charCodeAt(0);return t>=48&&t<=57},r,A);const i=o.length?Number(o):null;if(A.positioni){return"failure"}return{rangeStartValue:s,rangeEndValue:i}}function buildContentRange(e,t,r){let A="bytes ";A+=isomorphicEncode(`${e}`);A+="-";A+=isomorphicEncode(`${t}`);A+="/";A+=isomorphicEncode(`${r}`);return A}class InflateStream extends A{#j;constructor(e){super();this.#j=e}_transform(e,t,r){if(!this._inflateStream){if(e.length===0){r();return}this._inflateStream=(e[0]&15)===8?n.createInflate(this.#j):n.createInflateRaw(this.#j);this._inflateStream.on("data",this.push.bind(this));this._inflateStream.on("end",()=>this.push(null));this._inflateStream.on("error",e=>this.destroy(e))}this._inflateStream.write(e,t,r)}_final(e){if(this._inflateStream){this._inflateStream.end();this._inflateStream=null}e()}}function createInflate(e){return new InflateStream(e)}function extractMimeType(e){let t=null;let r=null;let A=null;const n=getDecodeSplit("content-type",e);if(n===null){return"failure"}for(const e of n){const n=d(e);if(n==="failure"||n.essence==="*/*"){continue}A=n;if(A.essence!==r){t=null;if(A.parameters.has("charset")){t=A.parameters.get("charset")}r=A.essence}else if(!A.parameters.has("charset")&&t!==null){A.parameters.set("charset",t)}}if(A==null){return"failure"}return A}function gettingDecodingSplitting(e){const t=e;const r={position:0};const A=[];let n="";while(r.positione!=='"'&&e!==",",t,r);if(r.positione===9||e===32);A.push(n);n=""}return A}function getDecodeSplit(e,t){const r=t.get(e,true);if(r===null){return null}return gettingDecodingSplitting(r)}const D=new TextDecoder;function utf8DecodeBytes(e){if(e.length===0){return""}if(e[0]===239&&e[1]===187&&e[2]===191){e=e.subarray(3)}const t=D.decode(e);return t}class EnvironmentSettingsObjectBase{get baseUrl(){return a()}get origin(){return this.baseUrl?.origin}policyContainer=makePolicyContainer()}class EnvironmentSettingsObject{settingsObject=new EnvironmentSettingsObjectBase}const R=new EnvironmentSettingsObject;e.exports={isAborted:isAborted,isCancelled:isCancelled,isValidEncodedURL:isValidEncodedURL,createDeferredPromise:createDeferredPromise,ReadableStreamFrom:f,tryUpgradeRequestToAPotentiallyTrustworthyURL:tryUpgradeRequestToAPotentiallyTrustworthyURL,clampAndCoarsenConnectionTimingInfo:clampAndCoarsenConnectionTimingInfo,coarsenedSharedCurrentTime:coarsenedSharedCurrentTime,determineRequestsReferrer:determineRequestsReferrer,makePolicyContainer:makePolicyContainer,clonePolicyContainer:clonePolicyContainer,appendFetchMetadata:appendFetchMetadata,appendRequestOriginHeader:appendRequestOriginHeader,TAOCheck:TAOCheck,corsCheck:corsCheck,crossOriginResourcePolicyCheck:crossOriginResourcePolicyCheck,createOpaqueTimingInfo:createOpaqueTimingInfo,setRequestReferrerPolicyOnRedirect:setRequestReferrerPolicyOnRedirect,isValidHTTPToken:E,requestBadPort:requestBadPort,requestCurrentURL:requestCurrentURL,responseURL:responseURL,responseLocationURL:responseLocationURL,isBlobLike:g,isURLPotentiallyTrustworthy:isURLPotentiallyTrustworthy,isValidReasonPhrase:isValidReasonPhrase,sameOrigin:sameOrigin,normalizeMethod:normalizeMethod,serializeJavascriptValueToJSONString:serializeJavascriptValueToJSONString,iteratorMixin:iteratorMixin,createIterator:createIterator,isValidHeaderName:y,isValidHeaderValue:isValidHeaderValue,isErrorLike:isErrorLike,fullyReadBody:fullyReadBody,bytesMatch:bytesMatch,isReadableStreamLike:isReadableStreamLike,readableStreamClose:readableStreamClose,isomorphicEncode:isomorphicEncode,urlIsLocal:urlIsLocal,urlHasHttpsScheme:urlHasHttpsScheme,urlIsHttpHttpsScheme:urlIsHttpHttpsScheme,readAllBytes:readAllBytes,simpleRangeHeaderValue:simpleRangeHeaderValue,buildContentRange:buildContentRange,parseMetadata:parseMetadata,createInflate:createInflate,extractMimeType:extractMimeType,getDecodeSplit:getDecodeSplit,utf8DecodeBytes:utf8DecodeBytes,environmentSettingsObject:R}},5162:(e,t,r)=>{const{types:A,inspect:n}=r(7975);const{markAsUncloneable:s}=r(5919);const{toUSVString:o}=r(8529);const i={};i.converters={};i.util={};i.errors={};i.errors.exception=function(e){return new TypeError(`${e.header}: ${e.message}`)};i.errors.conversionFailed=function(e){const t=e.types.length===1?"":" one of";const r=`${e.argument} could not be converted to`+`${t}: ${e.types.join(", ")}.`;return i.errors.exception({header:e.prefix,message:r})};i.errors.invalidArgument=function(e){return i.errors.exception({header:e.prefix,message:`"${e.value}" is an invalid ${e.type}.`})};i.brandCheck=function(e,t,r){if(r?.strict!==false){if(!(e instanceof t)){const e=new TypeError("Illegal invocation");e.code="ERR_INVALID_THIS";throw e}}else{if(e?.[Symbol.toStringTag]!==t.prototype[Symbol.toStringTag]){const e=new TypeError("Illegal invocation");e.code="ERR_INVALID_THIS";throw e}}};i.argumentLengthCheck=function({length:e},t,r){if(e{});i.util.ConvertToInt=function(e,t,r,A){let n;let s;if(t===64){n=Math.pow(2,53)-1;if(r==="unsigned"){s=0}else{s=Math.pow(-2,53)+1}}else if(r==="unsigned"){s=0;n=Math.pow(2,t)-1}else{s=Math.pow(-2,t)-1;n=Math.pow(2,t-1)-1}let o=Number(e);if(o===0){o=0}if(A?.enforceRange===true){if(Number.isNaN(o)||o===Number.POSITIVE_INFINITY||o===Number.NEGATIVE_INFINITY){throw i.errors.exception({header:"Integer conversion",message:`Could not convert ${i.util.Stringify(e)} to an integer.`})}o=i.util.IntegerPart(o);if(on){throw i.errors.exception({header:"Integer conversion",message:`Value must be between ${s}-${n}, got ${o}.`})}return o}if(!Number.isNaN(o)&&A?.clamp===true){o=Math.min(Math.max(o,s),n);if(Math.floor(o)%2===0){o=Math.floor(o)}else{o=Math.ceil(o)}return o}if(Number.isNaN(o)||o===0&&Object.is(0,o)||o===Number.POSITIVE_INFINITY||o===Number.NEGATIVE_INFINITY){return 0}o=i.util.IntegerPart(o);o=o%Math.pow(2,t);if(r==="signed"&&o>=Math.pow(2,t)-1){return o-Math.pow(2,t)}return o};i.util.IntegerPart=function(e){const t=Math.floor(Math.abs(e));if(e<0){return-1*t}return t};i.util.Stringify=function(e){const t=i.util.Type(e);switch(t){case"Symbol":return`Symbol(${e.description})`;case"Object":return n(e);case"String":return`"${e}"`;default:return`${e}`}};i.sequenceConverter=function(e){return(t,r,A,n)=>{if(i.util.Type(t)!=="Object"){throw i.errors.exception({header:r,message:`${A} (${i.util.Stringify(t)}) is not iterable.`})}const s=typeof n==="function"?n():t?.[Symbol.iterator]?.();const o=[];let a=0;if(s===undefined||typeof s.next!=="function"){throw i.errors.exception({header:r,message:`${A} is not iterable.`})}while(true){const{done:t,value:n}=s.next();if(t){break}o.push(e(n,r,`${A}[${a++}]`))}return o}};i.recordConverter=function(e,t){return(r,n,s)=>{if(i.util.Type(r)!=="Object"){throw i.errors.exception({header:n,message:`${s} ("${i.util.Type(r)}") is not an Object.`})}const o={};if(!A.isProxy(r)){const A=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(const i of A){const A=e(i,n,s);const a=t(r[i],n,s);o[A]=a}return o}const a=Reflect.ownKeys(r);for(const A of a){const i=Reflect.getOwnPropertyDescriptor(r,A);if(i?.enumerable){const i=e(A,n,s);const a=t(r[A],n,s);o[i]=a}}return o}};i.interfaceConverter=function(e){return(t,r,A,n)=>{if(n?.strict!==false&&!(t instanceof e)){throw i.errors.exception({header:r,message:`Expected ${A} ("${i.util.Stringify(t)}") to be an instance of ${e.name}.`})}return t}};i.dictionaryConverter=function(e){return(t,r,A)=>{const n=i.util.Type(t);const s={};if(n==="Null"||n==="Undefined"){return s}else if(n!=="Object"){throw i.errors.exception({header:r,message:`Expected ${t} to be one of: Null, Undefined, Object.`})}for(const n of e){const{key:e,defaultValue:o,required:a,converter:c}=n;if(a===true){if(!Object.hasOwn(t,e)){throw i.errors.exception({header:r,message:`Missing required key "${e}".`})}}let l=t[e];const u=Object.hasOwn(n,"defaultValue");if(u&&l!==null){l??=o()}if(a||u||l!==undefined){l=c(l,r,`${A}.${e}`);if(n.allowedValues&&!n.allowedValues.includes(l)){throw i.errors.exception({header:r,message:`${l} is not an accepted type. Expected one of ${n.allowedValues.join(", ")}.`})}s[e]=l}}return s}};i.nullableConverter=function(e){return(t,r,A)=>{if(t===null){return t}return e(t,r,A)}};i.converters.DOMString=function(e,t,r,A){if(e===null&&A?.legacyNullToEmptyString){return""}if(typeof e==="symbol"){throw i.errors.exception({header:t,message:`${r} is a symbol, which cannot be converted to a DOMString.`})}return String(e)};i.converters.ByteString=function(e,t,r){const A=i.converters.DOMString(e,t,r);for(let e=0;e255){throw new TypeError("Cannot convert argument to a ByteString because the character at "+`index ${e} has a value of ${A.charCodeAt(e)} which is greater than 255.`)}}return A};i.converters.USVString=o;i.converters.boolean=function(e){const t=Boolean(e);return t};i.converters.any=function(e){return e};i.converters["long long"]=function(e,t,r){const A=i.util.ConvertToInt(e,64,"signed",undefined,t,r);return A};i.converters["unsigned long long"]=function(e,t,r){const A=i.util.ConvertToInt(e,64,"unsigned",undefined,t,r);return A};i.converters["unsigned long"]=function(e,t,r){const A=i.util.ConvertToInt(e,32,"unsigned",undefined,t,r);return A};i.converters["unsigned short"]=function(e,t,r,A){const n=i.util.ConvertToInt(e,16,"unsigned",A,t,r);return n};i.converters.ArrayBuffer=function(e,t,r,n){if(i.util.Type(e)!=="Object"||!A.isAnyArrayBuffer(e)){throw i.errors.conversionFailed({prefix:t,argument:`${r} ("${i.util.Stringify(e)}")`,types:["ArrayBuffer"]})}if(n?.allowShared===false&&A.isSharedArrayBuffer(e)){throw i.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}if(e.resizable||e.growable){throw i.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."})}return e};i.converters.TypedArray=function(e,t,r,n,s){if(i.util.Type(e)!=="Object"||!A.isTypedArray(e)||e.constructor.name!==t.name){throw i.errors.conversionFailed({prefix:r,argument:`${n} ("${i.util.Stringify(e)}")`,types:[t.name]})}if(s?.allowShared===false&&A.isSharedArrayBuffer(e.buffer)){throw i.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}if(e.buffer.resizable||e.buffer.growable){throw i.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."})}return e};i.converters.DataView=function(e,t,r,n){if(i.util.Type(e)!=="Object"||!A.isDataView(e)){throw i.errors.exception({header:t,message:`${r} is not a DataView.`})}if(n?.allowShared===false&&A.isSharedArrayBuffer(e.buffer)){throw i.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}if(e.buffer.resizable||e.buffer.growable){throw i.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."})}return e};i.converters.BufferSource=function(e,t,r,n){if(A.isAnyArrayBuffer(e)){return i.converters.ArrayBuffer(e,t,r,{...n,allowShared:false})}if(A.isTypedArray(e)){return i.converters.TypedArray(e,e.constructor,t,r,{...n,allowShared:false})}if(A.isDataView(e)){return i.converters.DataView(e,t,r,{...n,allowShared:false})}throw i.errors.conversionFailed({prefix:t,argument:`${r} ("${i.util.Stringify(e)}")`,types:["BufferSource"]})};i.converters["sequence"]=i.sequenceConverter(i.converters.ByteString);i.converters["sequence>"]=i.sequenceConverter(i.converters["sequence"]);i.converters["record"]=i.recordConverter(i.converters.ByteString,i.converters.ByteString);e.exports={webidl:i}},9944:e=>{function getEncoding(e){if(!e){return"failure"}switch(e.trim().toLowerCase()){case"unicode-1-1-utf-8":case"unicode11utf8":case"unicode20utf8":case"utf-8":case"utf8":case"x-unicode20utf8":return"UTF-8";case"866":case"cp866":case"csibm866":case"ibm866":return"IBM866";case"csisolatin2":case"iso-8859-2":case"iso-ir-101":case"iso8859-2":case"iso88592":case"iso_8859-2":case"iso_8859-2:1987":case"l2":case"latin2":return"ISO-8859-2";case"csisolatin3":case"iso-8859-3":case"iso-ir-109":case"iso8859-3":case"iso88593":case"iso_8859-3":case"iso_8859-3:1988":case"l3":case"latin3":return"ISO-8859-3";case"csisolatin4":case"iso-8859-4":case"iso-ir-110":case"iso8859-4":case"iso88594":case"iso_8859-4":case"iso_8859-4:1988":case"l4":case"latin4":return"ISO-8859-4";case"csisolatincyrillic":case"cyrillic":case"iso-8859-5":case"iso-ir-144":case"iso8859-5":case"iso88595":case"iso_8859-5":case"iso_8859-5:1988":return"ISO-8859-5";case"arabic":case"asmo-708":case"csiso88596e":case"csiso88596i":case"csisolatinarabic":case"ecma-114":case"iso-8859-6":case"iso-8859-6-e":case"iso-8859-6-i":case"iso-ir-127":case"iso8859-6":case"iso88596":case"iso_8859-6":case"iso_8859-6:1987":return"ISO-8859-6";case"csisolatingreek":case"ecma-118":case"elot_928":case"greek":case"greek8":case"iso-8859-7":case"iso-ir-126":case"iso8859-7":case"iso88597":case"iso_8859-7":case"iso_8859-7:1987":case"sun_eu_greek":return"ISO-8859-7";case"csiso88598e":case"csisolatinhebrew":case"hebrew":case"iso-8859-8":case"iso-8859-8-e":case"iso-ir-138":case"iso8859-8":case"iso88598":case"iso_8859-8":case"iso_8859-8:1988":case"visual":return"ISO-8859-8";case"csiso88598i":case"iso-8859-8-i":case"logical":return"ISO-8859-8-I";case"csisolatin6":case"iso-8859-10":case"iso-ir-157":case"iso8859-10":case"iso885910":case"l6":case"latin6":return"ISO-8859-10";case"iso-8859-13":case"iso8859-13":case"iso885913":return"ISO-8859-13";case"iso-8859-14":case"iso8859-14":case"iso885914":return"ISO-8859-14";case"csisolatin9":case"iso-8859-15":case"iso8859-15":case"iso885915":case"iso_8859-15":case"l9":return"ISO-8859-15";case"iso-8859-16":return"ISO-8859-16";case"cskoi8r":case"koi":case"koi8":case"koi8-r":case"koi8_r":return"KOI8-R";case"koi8-ru":case"koi8-u":return"KOI8-U";case"csmacintosh":case"mac":case"macintosh":case"x-mac-roman":return"macintosh";case"iso-8859-11":case"iso8859-11":case"iso885911":case"tis-620":case"windows-874":return"windows-874";case"cp1250":case"windows-1250":case"x-cp1250":return"windows-1250";case"cp1251":case"windows-1251":case"x-cp1251":return"windows-1251";case"ansi_x3.4-1968":case"ascii":case"cp1252":case"cp819":case"csisolatin1":case"ibm819":case"iso-8859-1":case"iso-ir-100":case"iso8859-1":case"iso88591":case"iso_8859-1":case"iso_8859-1:1987":case"l1":case"latin1":case"us-ascii":case"windows-1252":case"x-cp1252":return"windows-1252";case"cp1253":case"windows-1253":case"x-cp1253":return"windows-1253";case"cp1254":case"csisolatin5":case"iso-8859-9":case"iso-ir-148":case"iso8859-9":case"iso88599":case"iso_8859-9":case"iso_8859-9:1989":case"l5":case"latin5":case"windows-1254":case"x-cp1254":return"windows-1254";case"cp1255":case"windows-1255":case"x-cp1255":return"windows-1255";case"cp1256":case"windows-1256":case"x-cp1256":return"windows-1256";case"cp1257":case"windows-1257":case"x-cp1257":return"windows-1257";case"cp1258":case"windows-1258":case"x-cp1258":return"windows-1258";case"x-mac-cyrillic":case"x-mac-ukrainian":return"x-mac-cyrillic";case"chinese":case"csgb2312":case"csiso58gb231280":case"gb2312":case"gb_2312":case"gb_2312-80":case"gbk":case"iso-ir-58":case"x-gbk":return"GBK";case"gb18030":return"gb18030";case"big5":case"big5-hkscs":case"cn-big5":case"csbig5":case"x-x-big5":return"Big5";case"cseucpkdfmtjapanese":case"euc-jp":case"x-euc-jp":return"EUC-JP";case"csiso2022jp":case"iso-2022-jp":return"ISO-2022-JP";case"csshiftjis":case"ms932":case"ms_kanji":case"shift-jis":case"shift_jis":case"sjis":case"windows-31j":case"x-sjis":return"Shift_JIS";case"cseuckr":case"csksc56011987":case"euc-kr":case"iso-ir-149":case"korean":case"ks_c_5601-1987":case"ks_c_5601-1989":case"ksc5601":case"ksc_5601":case"windows-949":return"EUC-KR";case"csiso2022kr":case"hz-gb-2312":case"iso-2022-cn":case"iso-2022-cn-ext":case"iso-2022-kr":case"replacement":return"replacement";case"unicodefffe":case"utf-16be":return"UTF-16BE";case"csunicode":case"iso-10646-ucs-2":case"ucs-2":case"unicode":case"unicodefeff":case"utf-16":case"utf-16le":return"UTF-16LE";case"x-user-defined":return"x-user-defined";default:return"failure"}}e.exports={getEncoding:getEncoding}},5660:(e,t,r)=>{const{staticPropertyDescriptors:A,readOperation:n,fireAProgressEvent:s}=r(857);const{kState:o,kError:i,kResult:a,kEvents:c,kAborted:l}=r(7192);const{webidl:u}=r(5162);const{kEnumerableProperty:d}=r(8529);class FileReader extends EventTarget{constructor(){super();this[o]="empty";this[a]=null;this[i]=null;this[c]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer");e=u.converters.Blob(e,{strict:false});n(this,e,"ArrayBuffer")}readAsBinaryString(e){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString");e=u.converters.Blob(e,{strict:false});n(this,e,"BinaryString")}readAsText(e,t=undefined){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,"FileReader.readAsText");e=u.converters.Blob(e,{strict:false});if(t!==undefined){t=u.converters.DOMString(t,"FileReader.readAsText","encoding")}n(this,e,"Text",t)}readAsDataURL(e){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL");e=u.converters.Blob(e,{strict:false});n(this,e,"DataURL")}abort(){if(this[o]==="empty"||this[o]==="done"){this[a]=null;return}if(this[o]==="loading"){this[o]="done";this[a]=null}this[l]=true;s("abort",this);if(this[o]!=="loading"){s("loadend",this)}}get readyState(){u.brandCheck(this,FileReader);switch(this[o]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){u.brandCheck(this,FileReader);return this[a]}get error(){u.brandCheck(this,FileReader);return this[i]}get onloadend(){u.brandCheck(this,FileReader);return this[c].loadend}set onloadend(e){u.brandCheck(this,FileReader);if(this[c].loadend){this.removeEventListener("loadend",this[c].loadend)}if(typeof e==="function"){this[c].loadend=e;this.addEventListener("loadend",e)}else{this[c].loadend=null}}get onerror(){u.brandCheck(this,FileReader);return this[c].error}set onerror(e){u.brandCheck(this,FileReader);if(this[c].error){this.removeEventListener("error",this[c].error)}if(typeof e==="function"){this[c].error=e;this.addEventListener("error",e)}else{this[c].error=null}}get onloadstart(){u.brandCheck(this,FileReader);return this[c].loadstart}set onloadstart(e){u.brandCheck(this,FileReader);if(this[c].loadstart){this.removeEventListener("loadstart",this[c].loadstart)}if(typeof e==="function"){this[c].loadstart=e;this.addEventListener("loadstart",e)}else{this[c].loadstart=null}}get onprogress(){u.brandCheck(this,FileReader);return this[c].progress}set onprogress(e){u.brandCheck(this,FileReader);if(this[c].progress){this.removeEventListener("progress",this[c].progress)}if(typeof e==="function"){this[c].progress=e;this.addEventListener("progress",e)}else{this[c].progress=null}}get onload(){u.brandCheck(this,FileReader);return this[c].load}set onload(e){u.brandCheck(this,FileReader);if(this[c].load){this.removeEventListener("load",this[c].load)}if(typeof e==="function"){this[c].load=e;this.addEventListener("load",e)}else{this[c].load=null}}get onabort(){u.brandCheck(this,FileReader);return this[c].abort}set onabort(e){u.brandCheck(this,FileReader);if(this[c].abort){this.removeEventListener("abort",this[c].abort)}if(typeof e==="function"){this[c].abort=e;this.addEventListener("abort",e)}else{this[c].abort=null}}}FileReader.EMPTY=FileReader.prototype.EMPTY=0;FileReader.LOADING=FileReader.prototype.LOADING=1;FileReader.DONE=FileReader.prototype.DONE=2;Object.defineProperties(FileReader.prototype,{EMPTY:A,LOADING:A,DONE:A,readAsArrayBuffer:d,readAsBinaryString:d,readAsText:d,readAsDataURL:d,abort:d,readyState:d,result:d,error:d,onloadstart:d,onprogress:d,onload:d,onabort:d,onerror:d,onloadend:d,[Symbol.toStringTag]:{value:"FileReader",writable:false,enumerable:false,configurable:true}});Object.defineProperties(FileReader,{EMPTY:A,LOADING:A,DONE:A});e.exports={FileReader:FileReader}},4732:(e,t,r)=>{const{webidl:A}=r(5162);const n=Symbol("ProgressEvent state");class ProgressEvent extends Event{constructor(e,t={}){e=A.converters.DOMString(e,"ProgressEvent constructor","type");t=A.converters.ProgressEventInit(t??{});super(e,t);this[n]={lengthComputable:t.lengthComputable,loaded:t.loaded,total:t.total}}get lengthComputable(){A.brandCheck(this,ProgressEvent);return this[n].lengthComputable}get loaded(){A.brandCheck(this,ProgressEvent);return this[n].loaded}get total(){A.brandCheck(this,ProgressEvent);return this[n].total}}A.converters.ProgressEventInit=A.dictionaryConverter([{key:"lengthComputable",converter:A.converters.boolean,defaultValue:()=>false},{key:"loaded",converter:A.converters["unsigned long long"],defaultValue:()=>0},{key:"total",converter:A.converters["unsigned long long"],defaultValue:()=>0},{key:"bubbles",converter:A.converters.boolean,defaultValue:()=>false},{key:"cancelable",converter:A.converters.boolean,defaultValue:()=>false},{key:"composed",converter:A.converters.boolean,defaultValue:()=>false}]);e.exports={ProgressEvent:ProgressEvent}},7192:e=>{e.exports={kState:Symbol("FileReader state"),kResult:Symbol("FileReader result"),kError:Symbol("FileReader error"),kLastProgressEventFired:Symbol("FileReader last progress event fired timestamp"),kEvents:Symbol("FileReader events"),kAborted:Symbol("FileReader aborted")}},857:(e,t,r)=>{const{kState:A,kError:n,kResult:s,kAborted:o,kLastProgressEventFired:i}=r(7192);const{ProgressEvent:a}=r(4732);const{getEncoding:c}=r(9944);const{serializeAMimeType:l,parseMIMEType:u}=r(5192);const{types:d}=r(7975);const{StringDecoder:h}=r(3193);const{btoa:g}=r(4573);const f={enumerable:true,writable:false,configurable:false};function readOperation(e,t,r,a){if(e[A]==="loading"){throw new DOMException("Invalid state","InvalidStateError")}e[A]="loading";e[s]=null;e[n]=null;const c=t.stream();const l=c.getReader();const u=[];let h=l.read();let g=true;(async()=>{while(!e[o]){try{const{done:c,value:f}=await h;if(g&&!e[o]){queueMicrotask(()=>{fireAProgressEvent("loadstart",e)})}g=false;if(!c&&d.isUint8Array(f)){u.push(f);if((e[i]===undefined||Date.now()-e[i]>=50)&&!e[o]){e[i]=Date.now();queueMicrotask(()=>{fireAProgressEvent("progress",e)})}h=l.read()}else if(c){queueMicrotask(()=>{e[A]="done";try{const A=packageData(u,r,t.type,a);if(e[o]){return}e[s]=A;fireAProgressEvent("load",e)}catch(t){e[n]=t;fireAProgressEvent("error",e)}if(e[A]!=="loading"){fireAProgressEvent("loadend",e)}});break}}catch(t){if(e[o]){return}queueMicrotask(()=>{e[A]="done";e[n]=t;fireAProgressEvent("error",e);if(e[A]!=="loading"){fireAProgressEvent("loadend",e)}});break}}})()}function fireAProgressEvent(e,t){const r=new a(e,{bubbles:false,cancelable:false});t.dispatchEvent(r)}function packageData(e,t,r,A){switch(t){case"DataURL":{let t="data:";const A=u(r||"application/octet-stream");if(A!=="failure"){t+=l(A)}t+=";base64,";const n=new h("latin1");for(const r of e){t+=g(n.write(r))}t+=g(n.end());return t}case"Text":{let t="failure";if(A){t=c(A)}if(t==="failure"&&r){const e=u(r);if(e!=="failure"){t=c(e.parameters.get("charset"))}}if(t==="failure"){t="UTF-8"}return decode(e,t)}case"ArrayBuffer":{const t=combineByteSequences(e);return t.buffer}case"BinaryString":{let t="";const r=new h("latin1");for(const A of e){t+=r.write(A)}t+=r.end();return t}}}function decode(e,t){const r=combineByteSequences(e);const A=BOMSniffing(r);let n=0;if(A!==null){t=A;n=A==="UTF-8"?3:2}const s=r.slice(n);return new TextDecoder(t).decode(s)}function BOMSniffing(e){const[t,r,A]=e;if(t===239&&r===187&&A===191){return"UTF-8"}else if(t===254&&r===255){return"UTF-16BE"}else if(t===255&&r===254){return"UTF-16LE"}return null}function combineByteSequences(e){const t=e.reduce((e,t)=>e+t.byteLength,0);let r=0;return e.reduce((e,t)=>{e.set(t,r);r+=t.byteLength;return e},new Uint8Array(t))}e.exports={staticPropertyDescriptors:f,readOperation:readOperation,fireAProgressEvent:fireAProgressEvent}},6890:(e,t,r)=>{const{uid:A,states:n,sentCloseFrameState:s,emptyBuffer:o,opcodes:i}=r(6869);const{kReadyState:a,kSentClose:c,kByteParser:l,kReceivedClose:u,kResponse:d}=r(5457);const{fireEvent:h,failWebsocketConnection:g,isClosing:f,isClosed:E,isEstablished:Q,parseExtensions:C}=r(1226);const{channels:I}=r(1509);const{CloseEvent:B}=r(659);const{makeRequest:p}=r(6398);const{fetching:m}=r(8263);const{Headers:y,getHeadersList:w}=r(3257);const{getDecodeSplit:b}=r(3095);const{WebsocketFrameSend:k}=r(2129);let D;try{D=r(7598)}catch{}function establishWebSocketConnection(e,t,r,n,s,o){const i=e;i.protocol=e.protocol==="ws:"?"http:":"https:";const a=p({urlList:[i],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(o.headers){const e=w(new y(o.headers));a.headersList=e}const c=D.randomBytes(16).toString("base64");a.headersList.append("sec-websocket-key",c);a.headersList.append("sec-websocket-version","13");for(const e of t){a.headersList.append("sec-websocket-protocol",e)}const l="permessage-deflate; client_max_window_bits";a.headersList.append("sec-websocket-extensions",l);const u=m({request:a,useParallelQueue:true,dispatcher:o.dispatcher,processResponse(e){if(e.type==="error"||e.status!==101){g(n,"Received network error or non-101 status code.");return}if(t.length!==0&&!e.headersList.get("Sec-WebSocket-Protocol")){g(n,"Server did not respond with sent protocols.");return}if(e.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){g(n,'Server did not set Upgrade header to "websocket".');return}if(e.headersList.get("Connection")?.toLowerCase()!=="upgrade"){g(n,'Server did not set Connection header to "upgrade".');return}const r=e.headersList.get("Sec-WebSocket-Accept");const o=D.createHash("sha1").update(c+A).digest("base64");if(r!==o){g(n,"Incorrect hash received in Sec-WebSocket-Accept header.");return}const i=e.headersList.get("Sec-WebSocket-Extensions");let l;if(i!==null){l=C(i);if(!l.has("permessage-deflate")){g(n,"Sec-WebSocket-Extensions header does not match.");return}}const u=e.headersList.get("Sec-WebSocket-Protocol");if(u!==null){const e=b("sec-websocket-protocol",a.headersList);if(e===null||!e.includes(u)){g(n,"Protocol was not set in the opening handshake.");return}}e.socket.on("data",onSocketData);e.socket.on("close",onSocketClose);e.socket.on("error",onSocketError);if(I.open.hasSubscribers){I.open.publish({address:e.socket.address(),protocol:u,extensions:i})}s(e,l)}});return u}function closeWebSocketConnection(e,t,r,A){if(f(e)||E(e)){}else if(!Q(e)){g(e,"Connection was closed before it was established.");e[a]=n.CLOSING}else if(e[c]===s.NOT_SENT){e[c]=s.PROCESSING;const l=new k;if(t!==undefined&&r===undefined){l.frameData=Buffer.allocUnsafe(2);l.frameData.writeUInt16BE(t,0)}else if(t!==undefined&&r!==undefined){l.frameData=Buffer.allocUnsafe(2+A);l.frameData.writeUInt16BE(t,0);l.frameData.write(r,2,"utf-8")}else{l.frameData=o}const u=e[d].socket;u.write(l.createFrame(i.CLOSE));e[c]=s.SENT;e[a]=n.CLOSING}else{e[a]=n.CLOSING}}function onSocketData(e){if(!this.ws[l].write(e)){this.pause()}}function onSocketClose(){const{ws:e}=this;const{[d]:t}=e;t.socket.off("data",onSocketData);t.socket.off("close",onSocketClose);t.socket.off("error",onSocketError);const r=e[c]===s.SENT&&e[u];let A=1005;let o="";const i=e[l].closingInfo;if(i&&!i.error){A=i.code??1005;o=i.reason}else if(!e[u]){A=1006}e[a]=n.CLOSED;h("close",e,(e,t)=>new B(e,t),{wasClean:r,code:A,reason:o});if(I.close.hasSubscribers){I.close.publish({websocket:e,code:A,reason:o})}}function onSocketError(e){const{ws:t}=this;t[a]=n.CLOSING;if(I.socketError.hasSubscribers){I.socketError.publish(e)}this.destroy()}e.exports={establishWebSocketConnection:establishWebSocketConnection,closeWebSocketConnection:closeWebSocketConnection}},6869:e=>{const t="258EAFA5-E914-47DA-95CA-C5AB0DC85B11";const r={enumerable:true,writable:false,configurable:false};const A={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3};const n={NOT_SENT:0,PROCESSING:1,SENT:2};const s={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10};const o=2**16-1;const i={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4};const a=Buffer.allocUnsafe(0);const c={string:1,typedArray:2,arrayBuffer:3,blob:4};e.exports={uid:t,sentCloseFrameState:n,staticPropertyDescriptors:r,states:A,opcodes:s,maxUnsigned16Bit:o,parserStates:i,emptyBuffer:a,sendHints:c}},659:(e,t,r)=>{const{webidl:A}=r(5162);const{kEnumerableProperty:n}=r(8529);const{kConstruct:s}=r(5424);const{MessagePort:o}=r(5919);class MessageEvent extends Event{#K;constructor(e,t={}){if(e===s){super(arguments[1],arguments[2]);A.util.markAsUncloneable(this);return}const r="MessageEvent constructor";A.argumentLengthCheck(arguments,1,r);e=A.converters.DOMString(e,r,"type");t=A.converters.MessageEventInit(t,r,"eventInitDict");super(e,t);this.#K=t;A.util.markAsUncloneable(this)}get data(){A.brandCheck(this,MessageEvent);return this.#K.data}get origin(){A.brandCheck(this,MessageEvent);return this.#K.origin}get lastEventId(){A.brandCheck(this,MessageEvent);return this.#K.lastEventId}get source(){A.brandCheck(this,MessageEvent);return this.#K.source}get ports(){A.brandCheck(this,MessageEvent);if(!Object.isFrozen(this.#K.ports)){Object.freeze(this.#K.ports)}return this.#K.ports}initMessageEvent(e,t=false,r=false,n=null,s="",o="",i=null,a=[]){A.brandCheck(this,MessageEvent);A.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent");return new MessageEvent(e,{bubbles:t,cancelable:r,data:n,origin:s,lastEventId:o,source:i,ports:a})}static createFastMessageEvent(e,t){const r=new MessageEvent(s,e,t);r.#K=t;r.#K.data??=null;r.#K.origin??="";r.#K.lastEventId??="";r.#K.source??=null;r.#K.ports??=[];return r}}const{createFastMessageEvent:i}=MessageEvent;delete MessageEvent.createFastMessageEvent;class CloseEvent extends Event{#K;constructor(e,t={}){const r="CloseEvent constructor";A.argumentLengthCheck(arguments,1,r);e=A.converters.DOMString(e,r,"type");t=A.converters.CloseEventInit(t);super(e,t);this.#K=t;A.util.markAsUncloneable(this)}get wasClean(){A.brandCheck(this,CloseEvent);return this.#K.wasClean}get code(){A.brandCheck(this,CloseEvent);return this.#K.code}get reason(){A.brandCheck(this,CloseEvent);return this.#K.reason}}class ErrorEvent extends Event{#K;constructor(e,t){const r="ErrorEvent constructor";A.argumentLengthCheck(arguments,1,r);super(e,t);A.util.markAsUncloneable(this);e=A.converters.DOMString(e,r,"type");t=A.converters.ErrorEventInit(t??{});this.#K=t}get message(){A.brandCheck(this,ErrorEvent);return this.#K.message}get filename(){A.brandCheck(this,ErrorEvent);return this.#K.filename}get lineno(){A.brandCheck(this,ErrorEvent);return this.#K.lineno}get colno(){A.brandCheck(this,ErrorEvent);return this.#K.colno}get error(){A.brandCheck(this,ErrorEvent);return this.#K.error}}Object.defineProperties(MessageEvent.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:true},data:n,origin:n,lastEventId:n,source:n,ports:n,initMessageEvent:n});Object.defineProperties(CloseEvent.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:true},reason:n,code:n,wasClean:n});Object.defineProperties(ErrorEvent.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:true},message:n,filename:n,lineno:n,colno:n,error:n});A.converters.MessagePort=A.interfaceConverter(o);A.converters["sequence"]=A.sequenceConverter(A.converters.MessagePort);const a=[{key:"bubbles",converter:A.converters.boolean,defaultValue:()=>false},{key:"cancelable",converter:A.converters.boolean,defaultValue:()=>false},{key:"composed",converter:A.converters.boolean,defaultValue:()=>false}];A.converters.MessageEventInit=A.dictionaryConverter([...a,{key:"data",converter:A.converters.any,defaultValue:()=>null},{key:"origin",converter:A.converters.USVString,defaultValue:()=>""},{key:"lastEventId",converter:A.converters.DOMString,defaultValue:()=>""},{key:"source",converter:A.nullableConverter(A.converters.MessagePort),defaultValue:()=>null},{key:"ports",converter:A.converters["sequence"],defaultValue:()=>new Array(0)}]);A.converters.CloseEventInit=A.dictionaryConverter([...a,{key:"wasClean",converter:A.converters.boolean,defaultValue:()=>false},{key:"code",converter:A.converters["unsigned short"],defaultValue:()=>0},{key:"reason",converter:A.converters.USVString,defaultValue:()=>""}]);A.converters.ErrorEventInit=A.dictionaryConverter([...a,{key:"message",converter:A.converters.DOMString,defaultValue:()=>""},{key:"filename",converter:A.converters.USVString,defaultValue:()=>""},{key:"lineno",converter:A.converters["unsigned long"],defaultValue:()=>0},{key:"colno",converter:A.converters["unsigned long"],defaultValue:()=>0},{key:"error",converter:A.converters.any}]);e.exports={MessageEvent:MessageEvent,CloseEvent:CloseEvent,ErrorEvent:ErrorEvent,createFastMessageEvent:i}},2129:(e,t,r)=>{const{maxUnsigned16Bit:A}=r(6869);const n=16386;let s;let o=null;let i=n;try{s=r(7598)}catch{s={randomFillSync:function randomFillSync(e,t,r){for(let t=0;tA){o+=8;s=127}else if(n>125){o+=2;s=126}const i=Buffer.allocUnsafe(n+o);i[0]=i[1]=0;i[0]|=128;i[0]=(i[0]&240)+e; +/*! ws. MIT License. Einar Otto Stangvik */i[o-4]=r[0];i[o-3]=r[1];i[o-2]=r[2];i[o-1]=r[3];i[1]=s;if(s===126){i.writeUInt16BE(n,2)}else if(s===127){i[2]=i[3]=0;i.writeUIntBE(n,4,6)}i[1]|=128;for(let e=0;e{const{createInflateRaw:A,Z_DEFAULT_WINDOWBITS:n}=r(8522);const{isValidClientWindowBits:s}=r(1226);const{MessageSizeExceededError:o}=r(9934);const i=Buffer.from([0,0,255,255]);const a=Symbol("kBuffer");const c=Symbol("kLength");class PerMessageDeflate{#Z;#f={};#X=0;constructor(e,t){this.#f.serverNoContextTakeover=e.has("server_no_context_takeover");this.#f.serverMaxWindowBits=e.get("server_max_window_bits");this.#X=t.maxPayloadSize}decompress(e,t,r){if(!this.#Z){let e=n;if(this.#f.serverMaxWindowBits){if(!s(this.#f.serverMaxWindowBits)){r(new Error("Invalid server_max_window_bits"));return}e=Number.parseInt(this.#f.serverMaxWindowBits)}try{this.#Z=A({windowBits:e})}catch(e){r(e);return}this.#Z[a]=[];this.#Z[c]=0;this.#Z.on("data",e=>{this.#Z[c]+=e.length;if(this.#X>0&&this.#Z[c]>this.#X){r(new o);this.#Z.removeAllListeners();this.#Z.destroy();this.#Z=null;return}this.#Z[a].push(e)});this.#Z.on("error",e=>{this.#Z=null;r(e)})}this.#Z.write(e);if(t){this.#Z.write(i)}this.#Z.flush(()=>{if(!this.#Z){return}const e=Buffer.concat(this.#Z[a],this.#Z[c]);this.#Z[a].length=0;this.#Z[c]=0;r(null,e)})}}e.exports={PerMessageDeflate:PerMessageDeflate}},5183:(e,t,r)=>{const{Writable:A}=r(7075);const n=r(4589);const{parserStates:s,opcodes:o,states:i,emptyBuffer:a,sentCloseFrameState:c}=r(6869);const{kReadyState:l,kSentClose:u,kResponse:d,kReceivedClose:h}=r(5457);const{channels:g}=r(1509);const{isValidStatusCode:f,isValidOpcode:E,failWebsocketConnection:Q,websocketMessageReceived:C,utf8Decode:I,isControlFrame:B,isTextBinaryFrame:p,isContinuationFrame:m}=r(1226);const{WebsocketFrameSend:y}=r(2129);const{closeWebSocketConnection:w}=r(6890);const{PerMessageDeflate:b}=r(7350);const{MessageSizeExceededError:k}=r(9934);function failWebsocketConnectionWithCode(e,t,r){w(e,t,r,Buffer.byteLength(r));Q(e,r)}class ByteParser extends A{#ee=[];#te=0;#re=0;#Ae=false;#m=s.INFO;#ne={};#se=[];#oe;#ie;#X;constructor(e,t,r={}){super();this.ws=e;this.#oe=t==null?new Map:t;this.#ie=r.maxFragments??0;this.#X=r.maxPayloadSize??0;if(this.#oe.has("permessage-deflate")){this.#oe.set("permessage-deflate",new b(t,r))}}_write(e,t,r){this.#ee.push(e);this.#re+=e.length;this.#Ae=true;this.run(r)}#ae(){if(this.#X>0&&!B(this.#ne.opcode)&&this.#ne.payloadLength+this.#te>this.#X){failWebsocketConnectionWithCode(this.ws,1009,"Payload size exceeds maximum allowed size");return false}return true}run(e){while(this.#Ae){if(this.#m===s.INFO){if(this.#re<2){return e()}const t=this.consume(2);const r=(t[0]&128)!==0;const A=t[0]&15;const n=(t[1]&128)===128;const i=!r&&A!==o.CONTINUATION;const a=t[1]&127;const c=t[0]&64;const l=t[0]&32;const u=t[0]&16;if(!E(A)){Q(this.ws,"Invalid opcode received");return e()}if(n){Q(this.ws,"Frame cannot be masked");return e()}if(c!==0&&!this.#oe.has("permessage-deflate")){Q(this.ws,"Expected RSV1 to be clear.");return}if(l!==0||u!==0){Q(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(i&&!p(A)){Q(this.ws,"Invalid frame type was fragmented.");return}if(p(A)&&this.#se.length>0){Q(this.ws,"Expected continuation frame");return}if(this.#ne.fragmented&&i){Q(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((a>125||i)&&B(A)){Q(this.ws,"Control frame either too large or fragmented");return}if(m(A)&&this.#se.length===0&&!this.#ne.compressed){Q(this.ws,"Unexpected continuation frame");return}if(a<=125){this.#ne.payloadLength=a;this.#m=s.READ_DATA;if(!this.#ae()){return}}else if(a===126){this.#m=s.PAYLOADLENGTH_16}else if(a===127){this.#m=s.PAYLOADLENGTH_64}if(p(A)){this.#ne.binaryType=A;this.#ne.compressed=c!==0}this.#ne.opcode=A;this.#ne.masked=n;this.#ne.fin=r;this.#ne.fragmented=i}else if(this.#m===s.PAYLOADLENGTH_16){if(this.#re<2){return e()}const t=this.consume(2);this.#ne.payloadLength=t.readUInt16BE(0);this.#m=s.READ_DATA;if(!this.#ae()){return}}else if(this.#m===s.PAYLOADLENGTH_64){if(this.#re<8){return e()}const t=this.consume(8);const r=t.readUInt32BE(0);const A=t.readUInt32BE(4);if(r!==0||A>2**31-1){Q(this.ws,"Received payload length > 2^31 bytes.");return}this.#ne.payloadLength=A;this.#m=s.READ_DATA;if(!this.#ae()){return}}else if(this.#m===s.READ_DATA){if(this.#re{if(this.destroyed)return;this.#Ae=true;this.run(e)});return}}else{if(!this.#ne.compressed){if(!this.writeFragments(t)){return}if(this.#X>0&&this.#te>this.#X){failWebsocketConnectionWithCode(this.ws,1009,(new k).message);return}if(!this.#ne.fragmented&&this.#ne.fin){C(this.ws,this.#ne.binaryType,this.consumeFragments())}this.#m=s.INFO}else{this.#oe.get("permessage-deflate").decompress(t,this.#ne.fin,(t,r)=>{if(t){const e=t instanceof k?1009:1007;failWebsocketConnectionWithCode(this.ws,e,t.message);return}if(!this.writeFragments(r)){return}if(this.#X>0&&this.#te>this.#X){failWebsocketConnectionWithCode(this.ws,1009,(new k).message);return}if(!this.#ne.fin){this.#m=s.INFO;this.#Ae=true;this.run(e);return}C(this.ws,this.#ne.binaryType,this.consumeFragments());this.#Ae=true;this.#m=s.INFO;this.run(e)});this.#Ae=false;break}}}}}consume(e){if(e>this.#re){throw new Error("Called consume() before buffers satiated.")}else if(e===0){return a}if(this.#ee[0].length===e){this.#re-=this.#ee[0].length;return this.#ee.shift()}const t=Buffer.allocUnsafe(e);let r=0;while(r!==e){const A=this.#ee[0];const{length:n}=A;if(n+r===e){t.set(this.#ee.shift(),r);break}else if(n+r>e){t.set(A.subarray(0,e-r),r);this.#ee[0]=A.subarray(e-r);break}else{t.set(this.#ee.shift(),r);r+=A.length}}this.#re-=e;return t}writeFragments(e){if(this.#ie>0&&this.#se.length===this.#ie){failWebsocketConnectionWithCode(this.ws,1008,"Too many message fragments");return false}this.#te+=e.length;this.#se.push(e);return true}consumeFragments(){const e=this.#se;if(e.length===1){this.#te=0;return e.shift()}const t=Buffer.concat(e,this.#te);this.#se=[];this.#te=0;return t}parseCloseBody(e){n(e.length!==1);let t;if(e.length>=2){t=e.readUInt16BE(0)}if(t!==undefined&&!f(t)){return{code:1002,reason:"Invalid status code",error:true}}let r=e.subarray(2);if(r[0]===239&&r[1]===187&&r[2]===191){r=r.subarray(3)}try{r=I(r)}catch{return{code:1007,reason:"Invalid UTF-8",error:true}}return{code:t,reason:r,error:false}}parseControlFrame(e){const{opcode:t,payloadLength:r}=this.#ne;if(t===o.CLOSE){if(r===1){Q(this.ws,"Received close frame with a 1-byte body.");return false}this.#ne.closeInfo=this.parseCloseBody(e);if(this.#ne.closeInfo.error){const{code:e,reason:t}=this.#ne.closeInfo;w(this.ws,e,t,t.length);Q(this.ws,t);return false}if(this.ws[u]!==c.SENT){let e=a;if(this.#ne.closeInfo.code){e=Buffer.allocUnsafe(2);e.writeUInt16BE(this.#ne.closeInfo.code,0)}const t=new y(e);this.ws[d].socket.write(t.createFrame(o.CLOSE),e=>{if(!e){this.ws[u]=c.SENT}})}this.ws[l]=i.CLOSING;this.ws[h]=true;return false}else if(t===o.PING){if(!this.ws[h]){const t=new y(e);this.ws[d].socket.write(t.createFrame(o.PONG));if(g.ping.hasSubscribers){g.ping.publish({payload:e})}}}else if(t===o.PONG){if(g.pong.hasSubscribers){g.pong.publish({payload:e})}}return true}get closingInfo(){return this.#ne.closeInfo}}e.exports={ByteParser:ByteParser}},9051:(e,t,r)=>{const{WebsocketFrameSend:A}=r(2129);const{opcodes:n,sendHints:s}=r(6869);const o=r(4007);const i=Buffer[Symbol.species];class SendQueue{#ce=new o;#le=false;#ue;constructor(e){this.#ue=e}add(e,t,r){if(r!==s.blob){const A=createFrame(e,r);if(!this.#le){this.#ue.write(A,t)}else{const e={promise:null,callback:t,frame:A};this.#ce.push(e)}return}const A={promise:e.arrayBuffer().then(e=>{A.promise=null;A.frame=createFrame(e,r)}),callback:t,frame:null};this.#ce.push(A);if(!this.#le){this.#de()}}async#de(){this.#le=true;const e=this.#ce;while(!e.isEmpty()){const t=e.shift();if(t.promise!==null){await t.promise}this.#ue.write(t.frame,t.callback);t.callback=t.frame=null}this.#le=false}}function createFrame(e,t){return new A(toBuffer(e,t)).createFrame(t===s.string?n.TEXT:n.BINARY)}function toBuffer(e,t){switch(t){case s.string:return Buffer.from(e);case s.arrayBuffer:case s.blob:return new i(e);case s.typedArray:return new i(e.buffer,e.byteOffset,e.byteLength)}}e.exports={SendQueue:SendQueue}},5457:e=>{e.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},1226:(e,t,r)=>{const{kReadyState:A,kController:n,kResponse:s,kBinaryType:o,kWebSocketURL:i}=r(5457);const{states:a,opcodes:c}=r(6869);const{ErrorEvent:l,createFastMessageEvent:u}=r(659);const{isUtf8:d}=r(4573);const{collectASequenceOfCodePointsFast:h,removeHTTPWhitespace:g}=r(5192);function isConnecting(e){return e[A]===a.CONNECTING}function isEstablished(e){return e[A]===a.OPEN}function isClosing(e){return e[A]===a.CLOSING}function isClosed(e){return e[A]===a.CLOSED}function fireEvent(e,t,r=(e,t)=>new Event(e,t),A={}){const n=r(e,A);t.dispatchEvent(n)}function websocketMessageReceived(e,t,r){if(e[A]!==a.OPEN){return}let n;if(t===c.TEXT){try{n=Q(r)}catch{failWebsocketConnection(e,"Received invalid UTF-8 in text frame.");return}}else if(t===c.BINARY){if(e[o]==="blob"){n=new Blob([r])}else{n=toArrayBuffer(r)}}fireEvent("message",e,u,{origin:e[i].origin,data:n})}function toArrayBuffer(e){if(e.byteLength===e.buffer.byteLength){return e.buffer}return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}function isValidSubprotocol(e){if(e.length===0){return false}for(let t=0;t126||r===34||r===40||r===41||r===44||r===47||r===58||r===59||r===60||r===61||r===62||r===63||r===64||r===91||r===92||r===93||r===123||r===125){return false}}return true}function isValidStatusCode(e){if(e>=1e3&&e<1015){return e!==1004&&e!==1005&&e!==1006}return e>=3e3&&e<=4999}function failWebsocketConnection(e,t){const{[n]:r,[s]:A}=e;r.abort();if(A?.socket&&!A.socket.destroyed){A.socket.destroy()}if(t){fireEvent("error",e,(e,t)=>new l(e,t),{error:new Error(t),message:t})}}function isControlFrame(e){return e===c.CLOSE||e===c.PING||e===c.PONG}function isContinuationFrame(e){return e===c.CONTINUATION}function isTextBinaryFrame(e){return e===c.TEXT||e===c.BINARY}function isValidOpcode(e){return isTextBinaryFrame(e)||isContinuationFrame(e)||isControlFrame(e)}function parseExtensions(e){const t={position:0};const r=new Map;while(t.position57){return false}}const t=Number.parseInt(e,10);return t>=8&&t<=15}const f=typeof process.versions.icu==="string";const E=f?new TextDecoder("utf-8",{fatal:true}):undefined;const Q=f?E.decode.bind(E):function(e){if(d(e)){return e.toString("utf-8")}throw new TypeError("Invalid utf-8 received.")};e.exports={isConnecting:isConnecting,isEstablished:isEstablished,isClosing:isClosing,isClosed:isClosed,fireEvent:fireEvent,isValidSubprotocol:isValidSubprotocol,isValidStatusCode:isValidStatusCode,failWebsocketConnection:failWebsocketConnection,websocketMessageReceived:websocketMessageReceived,utf8Decode:Q,isControlFrame:isControlFrame,isContinuationFrame:isContinuationFrame,isTextBinaryFrame:isTextBinaryFrame,isValidOpcode:isValidOpcode,parseExtensions:parseExtensions,isValidClientWindowBits:isValidClientWindowBits}},9708:(e,t,r)=>{const{webidl:A}=r(5162);const{URLSerializer:n}=r(5192);const{environmentSettingsObject:s}=r(3095);const{staticPropertyDescriptors:o,states:i,sentCloseFrameState:a,sendHints:c}=r(6869);const{kWebSocketURL:l,kReadyState:u,kController:d,kBinaryType:h,kResponse:g,kSentClose:f,kByteParser:E}=r(5457);const{isConnecting:Q,isEstablished:C,isClosing:I,isValidSubprotocol:B,fireEvent:p}=r(1226);const{establishWebSocketConnection:m,closeWebSocketConnection:y}=r(6890);const{ByteParser:w}=r(5183);const{kEnumerableProperty:b,isBlobLike:k}=r(8529);const{getGlobalDispatcher:D}=r(4498);const{types:R}=r(7975);const{ErrorEvent:S,CloseEvent:F}=r(659);const{SendQueue:N}=r(9051);class WebSocket extends EventTarget{#x={open:null,error:null,close:null,message:null};#he=0;#ge="";#oe="";#fe;constructor(e,t=[]){super();A.util.markAsUncloneable(this);const r="WebSocket constructor";A.argumentLengthCheck(arguments,1,r);const n=A.converters["DOMString or sequence or WebSocketInit"](t,r,"options");e=A.converters.USVString(e,r,"url");t=n.protocols;const o=s.settingsObject.baseUrl;let i;try{i=new URL(e,o)}catch(e){throw new DOMException(e,"SyntaxError")}if(i.protocol==="http:"){i.protocol="ws:"}else if(i.protocol==="https:"){i.protocol="wss:"}if(i.protocol!=="ws:"&&i.protocol!=="wss:"){throw new DOMException(`Expected a ws: or wss: protocol, got ${i.protocol}`,"SyntaxError")}if(i.hash||i.href.endsWith("#")){throw new DOMException("Got fragment","SyntaxError")}if(typeof t==="string"){t=[t]}if(t.length!==new Set(t.map(e=>e.toLowerCase())).size){throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError")}if(t.length>0&&!t.every(e=>B(e))){throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError")}this[l]=new URL(i.href);const c=s.settingsObject;this[d]=m(i,t,c,this,(e,t)=>this.#Ee(e,t),n);this[u]=WebSocket.CONNECTING;this[f]=a.NOT_SENT;this[h]="blob"}close(e=undefined,t=undefined){A.brandCheck(this,WebSocket);const r="WebSocket.close";if(e!==undefined){e=A.converters["unsigned short"](e,r,"code",{clamp:true})}if(t!==undefined){t=A.converters.USVString(t,r,"reason")}if(e!==undefined){if(e!==1e3&&(e<3e3||e>4999)){throw new DOMException("invalid code","InvalidAccessError")}}let n=0;if(t!==undefined){n=Buffer.byteLength(t);if(n>123){throw new DOMException(`Reason must be less than 123 bytes; received ${n}`,"SyntaxError")}}y(this,e,t,n)}send(e){A.brandCheck(this,WebSocket);const t="WebSocket.send";A.argumentLengthCheck(arguments,1,t);e=A.converters.WebSocketSendData(e,t,"data");if(Q(this)){throw new DOMException("Sent before connected.","InvalidStateError")}if(!C(this)||I(this)){return}if(typeof e==="string"){const t=Buffer.byteLength(e);this.#he+=t;this.#fe.add(e,()=>{this.#he-=t},c.string)}else if(R.isArrayBuffer(e)){this.#he+=e.byteLength;this.#fe.add(e,()=>{this.#he-=e.byteLength},c.arrayBuffer)}else if(ArrayBuffer.isView(e)){this.#he+=e.byteLength;this.#fe.add(e,()=>{this.#he-=e.byteLength},c.typedArray)}else if(k(e)){this.#he+=e.size;this.#fe.add(e,()=>{this.#he-=e.size},c.blob)}}get readyState(){A.brandCheck(this,WebSocket);return this[u]}get bufferedAmount(){A.brandCheck(this,WebSocket);return this.#he}get url(){A.brandCheck(this,WebSocket);return n(this[l])}get extensions(){A.brandCheck(this,WebSocket);return this.#oe}get protocol(){A.brandCheck(this,WebSocket);return this.#ge}get onopen(){A.brandCheck(this,WebSocket);return this.#x.open}set onopen(e){A.brandCheck(this,WebSocket);if(this.#x.open){this.removeEventListener("open",this.#x.open)}if(typeof e==="function"){this.#x.open=e;this.addEventListener("open",e)}else{this.#x.open=null}}get onerror(){A.brandCheck(this,WebSocket);return this.#x.error}set onerror(e){A.brandCheck(this,WebSocket);if(this.#x.error){this.removeEventListener("error",this.#x.error)}if(typeof e==="function"){this.#x.error=e;this.addEventListener("error",e)}else{this.#x.error=null}}get onclose(){A.brandCheck(this,WebSocket);return this.#x.close}set onclose(e){A.brandCheck(this,WebSocket);if(this.#x.close){this.removeEventListener("close",this.#x.close)}if(typeof e==="function"){this.#x.close=e;this.addEventListener("close",e)}else{this.#x.close=null}}get onmessage(){A.brandCheck(this,WebSocket);return this.#x.message}set onmessage(e){A.brandCheck(this,WebSocket);if(this.#x.message){this.removeEventListener("message",this.#x.message)}if(typeof e==="function"){this.#x.message=e;this.addEventListener("message",e)}else{this.#x.message=null}}get binaryType(){A.brandCheck(this,WebSocket);return this[h]}set binaryType(e){A.brandCheck(this,WebSocket);if(e!=="blob"&&e!=="arraybuffer"){this[h]="blob"}else{this[h]=e}}#Ee(e,t){this[g]=e;const r=this[d]?.dispatcher?.webSocketOptions;const A=r?.maxFragments;const n=r?.maxPayloadSize;const s=new w(this,t,{maxFragments:A,maxPayloadSize:n});s.on("drain",onParserDrain);s.on("error",onParserError.bind(this));e.socket.ws=this;this[E]=s;this.#fe=new N(e.socket);this[u]=i.OPEN;const o=e.headersList.get("sec-websocket-extensions");if(o!==null){this.#oe=o}const a=e.headersList.get("sec-websocket-protocol");if(a!==null){this.#ge=a}p("open",this)}}WebSocket.CONNECTING=WebSocket.prototype.CONNECTING=i.CONNECTING;WebSocket.OPEN=WebSocket.prototype.OPEN=i.OPEN;WebSocket.CLOSING=WebSocket.prototype.CLOSING=i.CLOSING;WebSocket.CLOSED=WebSocket.prototype.CLOSED=i.CLOSED;Object.defineProperties(WebSocket.prototype,{CONNECTING:o,OPEN:o,CLOSING:o,CLOSED:o,url:b,readyState:b,bufferedAmount:b,onopen:b,onerror:b,onclose:b,close:b,onmessage:b,binaryType:b,send:b,extensions:b,protocol:b,[Symbol.toStringTag]:{value:"WebSocket",writable:false,enumerable:false,configurable:true}});Object.defineProperties(WebSocket,{CONNECTING:o,OPEN:o,CLOSING:o,CLOSED:o});A.converters["sequence"]=A.sequenceConverter(A.converters.DOMString);A.converters["DOMString or sequence"]=function(e,t,r){if(A.util.Type(e)==="Object"&&Symbol.iterator in e){return A.converters["sequence"](e)}return A.converters.DOMString(e,t,r)};A.converters.WebSocketInit=A.dictionaryConverter([{key:"protocols",converter:A.converters["DOMString or sequence"],defaultValue:()=>new Array(0)},{key:"dispatcher",converter:A.converters.any,defaultValue:()=>D()},{key:"headers",converter:A.nullableConverter(A.converters.HeadersInit)}]);A.converters["DOMString or sequence or WebSocketInit"]=function(e){if(A.util.Type(e)==="Object"&&!(Symbol.iterator in e)){return A.converters.WebSocketInit(e)}return{protocols:A.converters["DOMString or sequence"](e)}};A.converters.WebSocketSendData=function(e){if(A.util.Type(e)==="Object"){if(k(e)){return A.converters.Blob(e,{strict:false})}if(ArrayBuffer.isView(e)||R.isArrayBuffer(e)){return A.converters.BufferSource(e)}}return A.converters.USVString(e)};function onParserDrain(){this.ws[g].socket.resume()}function onParserError(e){let t;let r;if(e instanceof F){t=e.reason;r=e.code}else{t=e.message}p("error",this,()=>new S("error",{error:e,message:t}));y(this,r)}e.exports={WebSocket:WebSocket}},2613:t=>{t.exports=e(import.meta.url)("assert")},4434:t=>{t.exports=e(import.meta.url)("events")},8611:t=>{t.exports=e(import.meta.url)("http")},5692:t=>{t.exports=e(import.meta.url)("https")},9278:t=>{t.exports=e(import.meta.url)("net")},4589:t=>{t.exports=e(import.meta.url)("node:assert")},6698:t=>{t.exports=e(import.meta.url)("node:async_hooks")},4573:t=>{t.exports=e(import.meta.url)("node:buffer")},7540:t=>{t.exports=e(import.meta.url)("node:console")},7598:t=>{t.exports=e(import.meta.url)("node:crypto")},3053:t=>{t.exports=e(import.meta.url)("node:diagnostics_channel")},610:t=>{t.exports=e(import.meta.url)("node:dns")},8474:t=>{t.exports=e(import.meta.url)("node:events")},7067:t=>{t.exports=e(import.meta.url)("node:http")},2467:t=>{t.exports=e(import.meta.url)("node:http2")},7030:t=>{t.exports=e(import.meta.url)("node:net")},643:t=>{t.exports=e(import.meta.url)("node:perf_hooks")},1792:t=>{t.exports=e(import.meta.url)("node:querystring")},7075:t=>{t.exports=e(import.meta.url)("node:stream")},1692:t=>{t.exports=e(import.meta.url)("node:tls")},3136:t=>{t.exports=e(import.meta.url)("node:url")},7975:t=>{t.exports=e(import.meta.url)("node:util")},3429:t=>{t.exports=e(import.meta.url)("node:util/types")},5919:t=>{t.exports=e(import.meta.url)("node:worker_threads")},8522:t=>{t.exports=e(import.meta.url)("node:zlib")},3193:t=>{t.exports=e(import.meta.url)("string_decoder")},4756:t=>{t.exports=e(import.meta.url)("tls")},9023:t=>{t.exports=e(import.meta.url)("util")},2027:(e,t,r)=>{const{normalizeIPv6:A,removeDotSegments:n,removeDotSegmentsRelative:s,recomposeAuthority:o,normalizePercentEncoding:i,normalizePathEncoding:a,serializePathEncoding:c,normalizeQueryFragmentEncoding:l,encodeQuery:u,encodeFragment:d,reescapeHostDelimiters:h,isIPv4:g,nonSimpleDomain:f}=r(7622);const{SCHEMES:E,getSchemeHandler:Q}=r(8043);const C=/^[A-Za-z][A-Za-z0-9+.-]*$/u;const I="URI scheme is malformed.";const B="URI host is malformed.";const p=/[\0-\x20"#/:<>?@[\\\]^`{|}\x7F]/u;function validateScheme(e){const t=String(e);if(!C.test(t)){throw new TypeError(I)}return t}function normalize(e,t){if(typeof e==="string"){e=normalizeString(e,t)}else if(typeof e==="object"){e=parse(serialize(e,t),t)}return e}function resolve(e,t,r){const n=r?Object.assign({scheme:"null"},r):{scheme:"null"};const{parsed:s,malformedAuthorityOrPort:o,malformedPercentEncoding:i,malformedSchemeSpecific:a,malformedHost:c,malformedScheme:l}=parseWithStatus(e,n);const{parsed:u,malformedAuthorityOrPort:d,malformedPercentEncoding:h,malformedSchemeSpecific:f,malformedHost:E,malformedScheme:C}=parseWithStatus(t,n);if(o||d||i||h||a||f||c||E||l||C){throw new Error(s.error||u.error||"URI is malformed.")}const I=resolveComponent(s,u,n,true);const p=Q(r&&r.scheme||I.scheme);const m=I.host;const y=m!==undefined&&m!==""&&(g(m)||A(m).isIPV6);if(hasForbiddenDomainHost(I,r||{},p,y)){throw new Error(B)}canonicalizeHost(I,r||{},p,y);const w=m&&m.indexOf("%")!==-1&&!/\P{ASCII}/u.test(m);if(I.error&&!w){throw new Error(I.error)}n.skipEscape=true;return serialize(I,n)}function resolveComponent(e,t,r,A){const o={};if(!A){e=parse(serialize(e,r),r);t=parse(serialize(t,r),r)}r=r||{};if(!r.tolerant&&t.scheme){o.scheme=t.scheme;o.userinfo=t.userinfo;o.host=t.host;o.port=t.port;o.path=n(t.path||"");o.query=t.query}else{if(t.userinfo!==undefined||t.host!==undefined||t.port!==undefined){o.userinfo=t.userinfo;o.host=t.host;o.port=t.port;o.path=n(t.path||"");o.query=t.query}else{if(!t.path){o.path=e.path;if(t.query!==undefined){o.query=t.query}else{o.query=e.query}}else{if(t.path[0]==="/"){o.path=n(t.path)}else{const r=e.userinfo!==undefined||e.host!==undefined||e.port!==undefined;if(r&&!e.path){o.path="/"+t.path}else if(!e.path){o.path=t.path}else{o.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path}o.path=e.scheme===undefined&&!r&&o.path[0]!=="/"?s(o.path):n(o.path)}o.query=t.query}o.userinfo=e.userinfo;o.host=e.host;o.port=e.port}o.scheme=e.scheme}o.fragment=t.fragment;return o}function equal(e,t,r){const A=normalizeComparableURI(e,r);const n=normalizeComparableURI(t,r);return A!==undefined&&n!==undefined&&A===n}function serialize(e,t){const r={host:e.host,scheme:e.scheme,userinfo:e.userinfo,port:e.port,path:e.path,query:e.query,nid:e.nid,nss:e.nss,uuid:e.uuid,fragment:e.fragment,reference:e.reference,resourceName:e.resourceName,secure:e.secure,error:""};const A=Object.assign({},t);const a=[];if(r.scheme){r.scheme=validateScheme(r.scheme)}const l=Q(A.scheme||r.scheme);if(l&&l.serialize)l.serialize(r,A);const h=r.userinfo!==undefined||r.host!==undefined||r.port!==undefined;const g=(r.scheme===undefined||A.reference==="suffix")&&!h;const f=!A.skipEscape&&g;if(r.path!==undefined){if(!A.skipEscape){r.path=c(r.path,f)}else{r.path=i(r.path)}}if(A.reference!=="suffix"&&r.scheme){r.scheme=validateScheme(r.scheme);a.push(r.scheme,":")}const E=o(r);if(E!==undefined){if(A.reference!=="suffix"){a.push("//")}a.push(E);if(r.path&&r.path[0]!=="/"){a.push("/")}}if(r.path!==undefined){let e=r.path;if(!A.absolutePath&&(!l||!l.absolutePath)){e=g&&e[0]!=="/"?s(e):n(e)}if(g){e=c(e,true)}if(E===undefined&&e[0]==="/"&&e[1]==="/"){e="/%2F"+e.slice(2)}a.push(e)}if(r.query!==undefined){a.push("?",u(r.query))}if(r.fragment!==undefined){a.push("#",d(r.fragment))}return a.join("")}const m=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;const y=/^(?:[^#/:?]+:)?\/\/([^/?#]*)/;const w=/^(?:[^#/:?]+:)?([/\\\t\n\r]*)/;function getParseError(e,t){if(t[2]!==undefined&&e.path&&e.path[0]!=="/"){return'URI path must start with "/" when authority is present.'}if(typeof e.port==="number"&&(e.port<0||e.port>65535)){return"URI port is malformed."}return undefined}function hasMalformedPercentEncoding(e){if(e===undefined)return false;let t=e.indexOf("%");while(t!==-1){if(t+2>=e.length||!/^[\da-f]{2}$/iu.test(e.slice(t+1,t+3))){return true}t=e.indexOf("%",t+3)}return false}function isIPLiteral(e){return e[0]==="["&&e[e.length-1]==="]"}function hasMalformedComponentPercentEncoding(e){const t=e[4];return hasMalformedPercentEncoding(e[3])||t!==undefined&&!isIPLiteral(t)&&hasMalformedPercentEncoding(t)||hasMalformedPercentEncoding(e[6])||hasMalformedPercentEncoding(e[7])||hasMalformedPercentEncoding(e[8])}function canonicalizeHost(e,t,r,A){if(hasForbiddenDomainHost(e,t,r,A)){e.error=e.error||B;return true}if(!t.unicodeSupport&&(!r||!r.unicodeSupport)&&e.host&&!isIPLiteral(e.host)&&(t.domainHost||r&&r.domainHost)&&A===false&&f(e.host)){let t;try{t=new URL("http://"+e.host)}catch(t){e.error=e.error||"Host's domain name can not be converted to ASCII: "+t;return true}if(!isHostOnlyURL(t)){e.error=e.error||B;return true}e.host=t.hostname}return false}function hasForbiddenDomainHost(e,t,r,A){return Boolean(e.host&&A===false&&!isIPLiteral(e.host)&&(t.domainHost||r&&r.domainHost)&&p.test(e.host))}function isHostOnlyURL(e){return e.username===""&&e.password===""&&e.port===""&&e.pathname==="/"&&e.search===""&&e.hash===""&&e.hostname!==""}function parseWithStatus(e,t){const r=Object.assign({},t);const n={scheme:undefined,userinfo:undefined,host:"",port:undefined,path:"",query:undefined,fragment:undefined};let s=false;let o=false;let c=false;let u=false;let d=false;let f=false;let p=false;if(r.reference==="suffix"){if(r.scheme){e=r.scheme+":"+e}else{e="//"+e}}const b=e.match(y);if(b!==null&&b[1].indexOf("\\")!==-1){n.error="URI authority must not contain a literal backslash.";s=true}const k=e.match(w);if(k!==null){const e=k[1];const t=e.replace(/[\t\n\r]/g,"");if(t.length>=2){if(t.slice(0,2)!=="//"){n.error=n.error||"URI authority must not contain a literal backslash.";s=true}else if(e.length!==t.length){n.error=n.error||"URI authority introducer must not contain whitespace.";s=true}}}const D=e.match(m);if(D){n.scheme=D[1];n.userinfo=D[3];n.host=D[4];n.port=parseInt(D[5],10);n.path=D[6]||"";n.query=D[7];n.fragment=D[8];if(n.scheme!==undefined){if(C.test(n.scheme)){n.scheme=n.scheme.toLowerCase()}else{n.error=n.error||I;f=true}}o=hasMalformedComponentPercentEncoding(D);if(o){n.error=n.error||"URI contains malformed percent-encoding."}if(isNaN(n.port)){n.port=D[5]}const t=getParseError(n,D);if(t!==undefined){n.error=n.error||t;s=true}if(n.host){const e=g(n.host);if(e===false){const e=isIPLiteral(n.host);const t=n.host.indexOf("[")!==-1||n.host.indexOf("]")!==-1;const r=A(n.host);p=r.isIPV6||r.isIPVFuture===true;d=t&&(!e||r.error===true);n.host=p?r.host:r.host.toLowerCase();if(d){n.error=n.error||B;s=true}}else{p=true}}if(n.scheme===undefined&&n.userinfo===undefined&&n.host===undefined&&n.port===undefined&&n.query===undefined&&!n.path){n.reference="same-document"}else if(n.scheme===undefined){n.reference="relative"}else if(n.fragment===undefined){n.reference="absolute"}else{n.reference="uri"}if(r.reference&&r.reference!=="suffix"&&r.reference!==n.reference){n.error=n.error||"URI is not a "+r.reference+" reference."}const m=Q(r.scheme||n.scheme);if(!d){u=canonicalizeHost(n,r,m,p)}if(e.indexOf("%")!==-1&&n.host!==undefined&&!d){let e=p?n.host:i(n.host,true);if(!p){e=i(e.toLowerCase())}n.host=p||r.scheme!=="null"?h(e,p):e}if(!m||m&&!m.skipNormalize){if(n.path){n.path=a(n.path)}if(n.query){n.query=l(n.query)}if(n.fragment){n.fragment=l(n.fragment)}}if(m&&m.parse){m.parse(n,r);if(m===E.urn&&n.nid===undefined){c=true}}}else{n.error=n.error||"URI can not be parsed."}return{parsed:n,malformedAuthorityOrPort:s,malformedPercentEncoding:o,malformedSchemeSpecific:c,malformedHost:u,malformedScheme:f}}function parse(e,t){return parseWithStatus(e,t).parsed}function normalizeString(e,t){return normalizeStringWithStatus(e,t).normalized}function normalizeStringWithStatus(e,t){const{parsed:r,malformedAuthorityOrPort:A,malformedPercentEncoding:n,malformedSchemeSpecific:s,malformedHost:o,malformedScheme:i}=parseWithStatus(e,t);return{normalized:A||n||s||o||i?e:serialize(r,t),malformedAuthorityOrPort:A,malformedPercentEncoding:n,malformedSchemeSpecific:s,malformedHost:o,malformedScheme:i}}function normalizeComparableURI(e,t){if(typeof e!=="string"&&typeof e!=="object"){return undefined}let r;try{r=typeof e==="string"?e:serialize(e,t)}catch{return undefined}const{normalized:A,malformedAuthorityOrPort:n,malformedPercentEncoding:s,malformedSchemeSpecific:o,malformedHost:i,malformedScheme:a}=normalizeStringWithStatus(r,t);return n||s||o||i||a?undefined:A}const b={SCHEMES:E,normalize:normalize,resolve:resolve,resolveComponent:resolveComponent,equal:equal,serialize:serialize,parse:parse};e.exports=b;e.exports["default"]=b;e.exports.fastUri=b},8043:(e,t,r)=>{const{isUUID:A}=r(7622);const n=/^([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-./:;=@]|%[\da-f]{2})+)$/iu;const s=["http","https","ws","wss","urn","urn:uuid"];function isValidSchemeName(e){return s.indexOf(e)!==-1}function wsIsSecure(e){if(e.secure===true){return true}else if(e.secure===false){return false}else if(e.scheme){return e.scheme.length===3&&(e.scheme[0]==="w"||e.scheme[0]==="W")&&(e.scheme[1]==="s"||e.scheme[1]==="S")&&(e.scheme[2]==="s"||e.scheme[2]==="S")}else{return false}}function httpParse(e){if(!e.host){e.error=e.error||"HTTP URIs must have a host."}return e}function httpSerialize(e){const t=String(e.scheme).toLowerCase()==="https";if(e.port===(t?443:80)||e.port===""){e.port=undefined}if(!e.path){e.path="/"}return e}function wsParse(e){e.secure=wsIsSecure(e);e.resourceName=(e.path||"/")+(e.query?"?"+e.query:"");e.path=undefined;e.query=undefined;return e}function wsSerialize(e){if(e.port===(wsIsSecure(e)?443:80)||e.port===""){e.port=undefined}if(typeof e.secure==="boolean"){e.scheme=e.secure?"wss":"ws";e.secure=undefined}if(e.resourceName){const t=e.resourceName.indexOf("?");const r=t===-1?e.resourceName:e.resourceName.slice(0,t);e.path=r&&r!=="/"?r:undefined;e.query=t===-1?undefined:e.resourceName.slice(t+1);e.resourceName=undefined}e.fragment=undefined;return e}function urnParse(e,t){if(!e.path){e.error="URN can not be parsed";return e}const r=e.path.match(n);if(r&&r[0]===e.path){const A=t.scheme||e.scheme||"urn";e.nid=r[1].toLowerCase();e.nss=r[2];const n=`${A}:${t.nid||e.nid}`;const s=getSchemeHandler(n);e.path=undefined;if(s){e=s.parse(e,t)}}else{e.error=e.error||"URN can not be parsed."}return e}function urnSerialize(e,t){if(e.nid===undefined){throw new Error("URN without nid cannot be serialized")}const r=t.scheme||e.scheme||"urn";const A=e.nid.toLowerCase();const n=`${r}:${t.nid||A}`;const s=getSchemeHandler(n);if(s){e=s.serialize(e,t)}const o=e;const i=e.nss;o.path=`${A||t.nid}:${i}`;t.skipEscape=true;return o}function urnuuidParse(e,t){const r=e;r.uuid=r.nss;r.nss=undefined;if(!t.tolerant&&(!r.uuid||!A(r.uuid))){r.error=r.error||"UUID is not valid."}return r}function urnuuidSerialize(e){const t=e;t.nss=(e.uuid||"").toLowerCase();return t}const o={scheme:"http",domainHost:true,parse:httpParse,serialize:httpSerialize};const i={scheme:"https",domainHost:o.domainHost,parse:httpParse,serialize:httpSerialize};const a={scheme:"ws",domainHost:true,parse:wsParse,serialize:wsSerialize};const c={scheme:"wss",domainHost:a.domainHost,parse:a.parse,serialize:a.serialize};const l={scheme:"urn",parse:urnParse,serialize:urnSerialize,skipNormalize:true};const u={scheme:"urn:uuid",parse:urnuuidParse,serialize:urnuuidSerialize,skipNormalize:true};const d={http:o,https:i,ws:a,wss:c,urn:l,"urn:uuid":u};Object.setPrototypeOf(d,null);function getSchemeHandler(e){return e&&(d[e]||d[e.toLowerCase()])||undefined}e.exports={wsIsSecure:wsIsSecure,SCHEMES:d,isValidSchemeName:isValidSchemeName,getSchemeHandler:getSchemeHandler}},7622:e=>{const t=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);const r=RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);const A=RegExp.prototype.test.bind(/^\d*$/u);const n=RegExp.prototype.test.bind(/^[\da-f]{2}$/iu);const s=RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu);const o=RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:@/]$/u);const i=RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:@/?]$/u);const a=RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:]$/u);const c=new Array(256);{const e="0123456789ABCDEF";for(let t=0;t<256;t++){c[t]="%"+e[t>>4]+e[t&15]}}function percentEncodeNonAscii(e){if(e<2048){return c[192|e>>6]+c[128|e&63]}if(e<65536){return c[224|e>>12]+c[128|e>>6&63]+c[128|e&63]}return c[240|e>>18]+c[128|e>>12&63]+c[128|e>>6&63]+c[128|e&63]}function stringArrayToHexStripped(e){let t="";let r=0;let A=0;for(A=0;A=48&&r<=57||r>=65&&r<=70||r>=97&&r<=102)){return""}t+=e[A];break}for(A+=1;A=48&&r<=57||r>=65&&r<=70||r>=97&&r<=102)){return""}t+=e[A]}return t}const l=RegExp.prototype.test.bind(/^[\dA-Fa-f]{1,4}$/);const u=RegExp.prototype.test.bind(/^[vV][\dA-Fa-f]+\.[A-Za-z\d\-._~!$&'()*+,;=:]+$/);const d=RegExp.prototype.test.bind(/^[A-Za-z\d\-._~]$/);const h=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function isZoneIdentifier(e){if(e.length===0)return false;for(let t=0;tr){r=n;t=A}}else{A=-1;n=0}}if(r<2)return e.join(":");const s=e.slice(0,t).join(":");const o=e.slice(t+r).join(":");return s+"::"+o}function normalizeIPv6Address(e){const t=e.indexOf("::");if(t!==-1&&e.indexOf("::",t+1)!==-1)return undefined;const A=t===-1?e.split(":"):e.slice(0,t).split(":");const n=t===-1?[]:e.slice(t+2).split(":");if(t!==-1){if(A.length===1&&A[0]==="")A.length=0;if(n.length===1&&n[0]==="")n.length=0}const s=A.concat(n);let o=0;for(let e=0;e=8)return undefined;const i=s.slice(0,A.length);for(let e=o;e<8;e++)i.push("0");for(let e=A.length;eg[e])}function normalizePercentEncoding(e,t=false){if(e.indexOf("%")===-1){return e}let r="";for(let A=0;A57343){t+=percentEncodeNonAscii(n)}else if(n<=56319&&r+1=56320&&A<=57343){t+=percentEncodeNonAscii(65536+(n-55296<<10)+(A-56320));r++}else{t+=percentEncodeNonAscii(65533)}}else{t+=percentEncodeNonAscii(65533)}}}return t}function serializePathEncoding(e,t=false){let r="";let A=t&&e[0]!=="/";for(let t=0;t57343){r+=percentEncodeNonAscii(A)}else if(A<=56319&&t+1=56320&&n<=57343){r+=percentEncodeNonAscii(65536+(A-55296<<10)+(n-56320));t++}else{r+=percentEncodeNonAscii(65533)}}else{r+=percentEncodeNonAscii(65533)}}}return r}function encodeComponent(e,t){let r="";for(let A=0;A57343){r+=percentEncodeNonAscii(t)}else if(t<=56319&&A+1=56320&&n<=57343){r+=percentEncodeNonAscii(65536+(t-55296<<10)+(n-56320));A++}else{r+=percentEncodeNonAscii(65533)}}else{r+=percentEncodeNonAscii(65533)}}}return r}function encodeUserinfo(e){return encodeComponent(e,a)}function encodeQuery(e){return encodeComponent(e,i)}function encodeFragment(e){return encodeComponent(e,i)}function isEscapeSafe(e){return e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122||e===42||e===43||e===45||e===46||e===47||e===64||e===95}function normalizeQueryFragmentEncoding(e){let t="";for(let r=0;r57343){t+=percentEncodeNonAscii(n)}else if(n<=56319&&r+1=56320&&A<=57343){t+=percentEncodeNonAscii(65536+(n-55296<<10)+(A-56320));r++}else{t+=percentEncodeNonAscii(65533)}}else{t+=percentEncodeNonAscii(65533)}}}return t}function escapePreservingEscapes(e){let t="";for(let r=0;r{e.exports=JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON AnySchema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},5849:e=>{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/applicator","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/applicator":true},"$dynamicAnchor":"meta","title":"Applicator vocabulary meta-schema","type":["object","boolean"],"properties":{"prefixItems":{"$ref":"#/$defs/schemaArray"},"items":{"$dynamicRef":"#meta"},"contains":{"$dynamicRef":"#meta"},"additionalProperties":{"$dynamicRef":"#meta"},"properties":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"},"propertyNames":{"format":"regex"},"default":{}},"dependentSchemas":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"},"default":{}},"propertyNames":{"$dynamicRef":"#meta"},"if":{"$dynamicRef":"#meta"},"then":{"$dynamicRef":"#meta"},"else":{"$dynamicRef":"#meta"},"allOf":{"$ref":"#/$defs/schemaArray"},"anyOf":{"$ref":"#/$defs/schemaArray"},"oneOf":{"$ref":"#/$defs/schemaArray"},"not":{"$dynamicRef":"#meta"}},"$defs":{"schemaArray":{"type":"array","minItems":1,"items":{"$dynamicRef":"#meta"}}}}')},1305:e=>{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/content","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/content":true},"$dynamicAnchor":"meta","title":"Content vocabulary meta-schema","type":["object","boolean"],"properties":{"contentEncoding":{"type":"string"},"contentMediaType":{"type":"string"},"contentSchema":{"$dynamicRef":"#meta"}}}')},7255:e=>{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/core","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/core":true},"$dynamicAnchor":"meta","title":"Core vocabulary meta-schema","type":["object","boolean"],"properties":{"$id":{"$ref":"#/$defs/uriReferenceString","$comment":"Non-empty fragments not allowed.","pattern":"^[^#]*#?$"},"$schema":{"$ref":"#/$defs/uriString"},"$ref":{"$ref":"#/$defs/uriReferenceString"},"$anchor":{"$ref":"#/$defs/anchorString"},"$dynamicRef":{"$ref":"#/$defs/uriReferenceString"},"$dynamicAnchor":{"$ref":"#/$defs/anchorString"},"$vocabulary":{"type":"object","propertyNames":{"$ref":"#/$defs/uriString"},"additionalProperties":{"type":"boolean"}},"$comment":{"type":"string"},"$defs":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"}}},"$defs":{"anchorString":{"type":"string","pattern":"^[A-Za-z_][-A-Za-z0-9._]*$"},"uriString":{"type":"string","format":"uri"},"uriReferenceString":{"type":"string","format":"uri-reference"}}}')},2427:e=>{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/format-annotation","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/format-annotation":true},"$dynamicAnchor":"meta","title":"Format vocabulary meta-schema for annotation results","type":["object","boolean"],"properties":{"format":{"type":"string"}}}')},1976:e=>{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/meta-data","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/meta-data":true},"$dynamicAnchor":"meta","title":"Meta-data vocabulary meta-schema","type":["object","boolean"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"default":true,"deprecated":{"type":"boolean","default":false},"readOnly":{"type":"boolean","default":false},"writeOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true}}}')},3488:e=>{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/unevaluated","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/unevaluated":true},"$dynamicAnchor":"meta","title":"Unevaluated applicator vocabulary meta-schema","type":["object","boolean"],"properties":{"unevaluatedItems":{"$dynamicRef":"#meta"},"unevaluatedProperties":{"$dynamicRef":"#meta"}}}')},5619:e=>{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/validation","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/validation":true},"$dynamicAnchor":"meta","title":"Validation vocabulary meta-schema","type":["object","boolean"],"properties":{"type":{"anyOf":[{"$ref":"#/$defs/simpleTypes"},{"type":"array","items":{"$ref":"#/$defs/simpleTypes"},"minItems":1,"uniqueItems":true}]},"const":true,"enum":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/$defs/nonNegativeInteger"},"minLength":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"maxItems":{"$ref":"#/$defs/nonNegativeInteger"},"minItems":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"maxContains":{"$ref":"#/$defs/nonNegativeInteger"},"minContains":{"$ref":"#/$defs/nonNegativeInteger","default":1},"maxProperties":{"$ref":"#/$defs/nonNegativeInteger"},"minProperties":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"required":{"$ref":"#/$defs/stringArray"},"dependentRequired":{"type":"object","additionalProperties":{"$ref":"#/$defs/stringArray"}}},"$defs":{"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"$ref":"#/$defs/nonNegativeInteger","default":0},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}}}')},8097:e=>{e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/schema","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/core":true,"https://json-schema.org/draft/2020-12/vocab/applicator":true,"https://json-schema.org/draft/2020-12/vocab/unevaluated":true,"https://json-schema.org/draft/2020-12/vocab/validation":true,"https://json-schema.org/draft/2020-12/vocab/meta-data":true,"https://json-schema.org/draft/2020-12/vocab/format-annotation":true,"https://json-schema.org/draft/2020-12/vocab/content":true},"$dynamicAnchor":"meta","title":"Core and Validation specifications meta-schema","allOf":[{"$ref":"meta/core"},{"$ref":"meta/applicator"},{"$ref":"meta/unevaluated"},{"$ref":"meta/validation"},{"$ref":"meta/meta-data"},{"$ref":"meta/format-annotation"},{"$ref":"meta/content"}],"type":["object","boolean"],"$comment":"This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.","properties":{"definitions":{"$comment":"\\"definitions\\" has been replaced by \\"$defs\\".","type":"object","additionalProperties":{"$dynamicRef":"#meta"},"deprecated":true,"default":{}},"dependencies":{"$comment":"\\"dependencies\\" has been split and replaced by \\"dependentSchemas\\" and \\"dependentRequired\\" in order to serve their differing semantics.","type":"object","additionalProperties":{"anyOf":[{"$dynamicRef":"#meta"},{"$ref":"meta/validation#/$defs/stringArray"}]},"deprecated":true,"default":{}},"$recursiveAnchor":{"$comment":"\\"$recursiveAnchor\\" has been replaced by \\"$dynamicAnchor\\".","$ref":"meta/core#/$defs/anchorString","deprecated":true},"$recursiveRef":{"$comment":"\\"$recursiveRef\\" has been replaced by \\"$dynamicRef\\".","$ref":"meta/core#/$defs/uriReferenceString","deprecated":true}}}')},7628:e=>{e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')}};var r={};function __nccwpck_require__(e){var A=r[e];if(A!==undefined){return A.exports}var n=r[e]={exports:{}};var s=true;try{t[e](n,n.exports,__nccwpck_require__);s=false}finally{if(s)delete r[e]}return n.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=decodeURIComponent(new URL(".",import.meta.url).pathname).slice(import.meta.url.match(/^file:\/\/\/\w:/)?1:0,-1)+"/";var A={};const n=e(import.meta.url)("os");function utils_toCommandValue(e){if(e===null||e===undefined){return""}else if(typeof e==="string"||e instanceof String){return e}return JSON.stringify(e)}function utils_toCommandProperties(e){if(!Object.keys(e).length){return{}}return{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}}function command_issueCommand(e,t,r){const A=new Command(e,t,r);process.stdout.write(A.toString()+n.EOL)}function command_issue(e,t=""){command_issueCommand(e,{},t)}const s="::";class Command{constructor(e,t,r){if(!e){e="missing.command"}this.command=e;this.properties=t;this.message=r}toString(){let e=s+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let t=true;for(const r in this.properties){if(this.properties.hasOwnProperty(r)){const A=this.properties[r];if(A){if(t){t=false}else{e+=","}e+=`${r}=${escapeProperty(A)}`}}}}e+=`${s}${escapeData(this.message)}`;return e}}function escapeData(e){return utils_toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(e){return utils_toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}const o=e(import.meta.url)("crypto");const i=e(import.meta.url)("fs");function file_command_issueFileCommand(e,t){const r=process.env[`GITHUB_${e}`];if(!r){throw new Error(`Unable to find environment variable for file command ${e}`)}if(!i.existsSync(r)){throw new Error(`Missing file at path: ${r}`)}i.appendFileSync(r,`${utils_toCommandValue(t)}${n.EOL}`,{encoding:"utf8"})}function file_command_prepareKeyValueMessage(e,t){const r=`ghadelimiter_${o.randomUUID()}`;const A=utils_toCommandValue(t);if(e.includes(r)){throw new Error(`Unexpected input: name should not contain the delimiter "${r}"`)}if(A.includes(r)){throw new Error(`Unexpected input: value should not contain the delimiter "${r}"`)}return`${e}<<${r}${n.EOL}${A}${n.EOL}${r}`}const a=e(import.meta.url)("path");var c=__nccwpck_require__(8611);var l=__nccwpck_require__(5692);function getProxyUrl(e){const t=e.protocol==="https:";if(checkBypass(e)){return undefined}const r=(()=>{if(t){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(r){try{return new DecodedURL(r)}catch(e){if(!r.startsWith("http://")&&!r.startsWith("https://"))return new DecodedURL(`http://${r}`)}}else{return undefined}}function checkBypass(e){if(!e.hostname){return false}const t=e.hostname;if(isLoopbackAddress(t)){return true}const r=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!r){return false}let A;if(e.port){A=Number(e.port)}else if(e.protocol==="http:"){A=80}else if(e.protocol==="https:"){A=443}const n=[e.hostname.toUpperCase()];if(typeof A==="number"){n.push(`${n[0]}:${A}`)}for(const e of r.split(",").map(e=>e.trim().toUpperCase()).filter(e=>e)){if(e==="*"||n.some(t=>t===e||t.endsWith(`.${e}`)||e.startsWith(".")&&t.endsWith(`${e}`))){return true}}return false}function isLoopbackAddress(e){const t=e.toLowerCase();return t==="localhost"||t.startsWith("127.")||t.startsWith("[::1]")||t.startsWith("[0:0:0:0:0:0:0:1]")}class DecodedURL extends URL{constructor(e,t){super(e,t);this._decodedUsername=decodeURIComponent(super.username);this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}var u=__nccwpck_require__(7013);var d=__nccwpck_require__(9309);var h=undefined&&undefined.__awaiter||function(e,t,r,A){function adopt(e){return e instanceof r?e:new r(function(t){t(e)})}return new(r||(r=Promise))(function(r,n){function fulfilled(e){try{step(A.next(e))}catch(e){n(e)}}function rejected(e){try{step(A["throw"](e))}catch(e){n(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((A=A.apply(e,t||[])).next())})};var g;(function(e){e[e["OK"]=200]="OK";e[e["MultipleChoices"]=300]="MultipleChoices";e[e["MovedPermanently"]=301]="MovedPermanently";e[e["ResourceMoved"]=302]="ResourceMoved";e[e["SeeOther"]=303]="SeeOther";e[e["NotModified"]=304]="NotModified";e[e["UseProxy"]=305]="UseProxy";e[e["SwitchProxy"]=306]="SwitchProxy";e[e["TemporaryRedirect"]=307]="TemporaryRedirect";e[e["PermanentRedirect"]=308]="PermanentRedirect";e[e["BadRequest"]=400]="BadRequest";e[e["Unauthorized"]=401]="Unauthorized";e[e["PaymentRequired"]=402]="PaymentRequired";e[e["Forbidden"]=403]="Forbidden";e[e["NotFound"]=404]="NotFound";e[e["MethodNotAllowed"]=405]="MethodNotAllowed";e[e["NotAcceptable"]=406]="NotAcceptable";e[e["ProxyAuthenticationRequired"]=407]="ProxyAuthenticationRequired";e[e["RequestTimeout"]=408]="RequestTimeout";e[e["Conflict"]=409]="Conflict";e[e["Gone"]=410]="Gone";e[e["TooManyRequests"]=429]="TooManyRequests";e[e["InternalServerError"]=500]="InternalServerError";e[e["NotImplemented"]=501]="NotImplemented";e[e["BadGateway"]=502]="BadGateway";e[e["ServiceUnavailable"]=503]="ServiceUnavailable";e[e["GatewayTimeout"]=504]="GatewayTimeout"})(g||(g={}));var f;(function(e){e["Accept"]="accept";e["ContentType"]="content-type"})(f||(f={}));var E;(function(e){e["ApplicationJson"]="application/json"})(E||(E={}));function lib_getProxyUrl(e){const t=pm.getProxyUrl(new URL(e));return t?t.href:""}const Q=[g.MovedPermanently,g.ResourceMoved,g.SeeOther,g.TemporaryRedirect,g.PermanentRedirect];const C=[g.BadGateway,g.ServiceUnavailable,g.GatewayTimeout];const I=null&&["OPTIONS","GET","DELETE","HEAD"];const B=10;const p=5;class HttpClientError extends Error{constructor(e,t){super(e);this.name="HttpClientError";this.statusCode=t;Object.setPrototypeOf(this,HttpClientError.prototype)}}class HttpClientResponse{constructor(e){this.message=e}readBody(){return h(this,void 0,void 0,function*(){return new Promise(e=>h(this,void 0,void 0,function*(){let t=Buffer.alloc(0);this.message.on("data",e=>{t=Buffer.concat([t,e])});this.message.on("end",()=>{e(t.toString())})}))})}readBodyBuffer(){return h(this,void 0,void 0,function*(){return new Promise(e=>h(this,void 0,void 0,function*(){const t=[];this.message.on("data",e=>{t.push(e)});this.message.on("end",()=>{e(Buffer.concat(t))})}))})}}function isHttps(e){const t=new URL(e);return t.protocol==="https:"}class lib_HttpClient{constructor(e,t,r){this._ignoreSslError=false;this._allowRedirects=true;this._allowRedirectDowngrade=false;this._maxRedirects=50;this._allowRetries=false;this._maxRetries=1;this._keepAlive=false;this._disposed=false;this.userAgent=this._getUserAgentWithOrchestrationId(e);this.handlers=t||[];this.requestOptions=r;if(r){if(r.ignoreSslError!=null){this._ignoreSslError=r.ignoreSslError}this._socketTimeout=r.socketTimeout;if(r.allowRedirects!=null){this._allowRedirects=r.allowRedirects}if(r.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=r.allowRedirectDowngrade}if(r.maxRedirects!=null){this._maxRedirects=Math.max(r.maxRedirects,0)}if(r.keepAlive!=null){this._keepAlive=r.keepAlive}if(r.allowRetries!=null){this._allowRetries=r.allowRetries}if(r.maxRetries!=null){this._maxRetries=r.maxRetries}}}options(e,t){return h(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,t||{})})}get(e,t){return h(this,void 0,void 0,function*(){return this.request("GET",e,null,t||{})})}del(e,t){return h(this,void 0,void 0,function*(){return this.request("DELETE",e,null,t||{})})}post(e,t,r){return h(this,void 0,void 0,function*(){return this.request("POST",e,t,r||{})})}patch(e,t,r){return h(this,void 0,void 0,function*(){return this.request("PATCH",e,t,r||{})})}put(e,t,r){return h(this,void 0,void 0,function*(){return this.request("PUT",e,t,r||{})})}head(e,t){return h(this,void 0,void 0,function*(){return this.request("HEAD",e,null,t||{})})}sendStream(e,t,r,A){return h(this,void 0,void 0,function*(){return this.request(e,t,r,A)})}getJson(e){return h(this,arguments,void 0,function*(e,t={}){t[f.Accept]=this._getExistingOrDefaultHeader(t,f.Accept,E.ApplicationJson);const r=yield this.get(e,t);return this._processResponse(r,this.requestOptions)})}postJson(e,t){return h(this,arguments,void 0,function*(e,t,r={}){const A=JSON.stringify(t,null,2);r[f.Accept]=this._getExistingOrDefaultHeader(r,f.Accept,E.ApplicationJson);r[f.ContentType]=this._getExistingOrDefaultContentTypeHeader(r,E.ApplicationJson);const n=yield this.post(e,A,r);return this._processResponse(n,this.requestOptions)})}putJson(e,t){return h(this,arguments,void 0,function*(e,t,r={}){const A=JSON.stringify(t,null,2);r[f.Accept]=this._getExistingOrDefaultHeader(r,f.Accept,E.ApplicationJson);r[f.ContentType]=this._getExistingOrDefaultContentTypeHeader(r,E.ApplicationJson);const n=yield this.put(e,A,r);return this._processResponse(n,this.requestOptions)})}patchJson(e,t){return h(this,arguments,void 0,function*(e,t,r={}){const A=JSON.stringify(t,null,2);r[f.Accept]=this._getExistingOrDefaultHeader(r,f.Accept,E.ApplicationJson);r[f.ContentType]=this._getExistingOrDefaultContentTypeHeader(r,E.ApplicationJson);const n=yield this.patch(e,A,r);return this._processResponse(n,this.requestOptions)})}request(e,t,r,A){return h(this,void 0,void 0,function*(){if(this._disposed){throw new Error("Client has already been disposed.")}const n=new URL(t);let s=this._prepareRequest(e,n,A);const o=this._allowRetries&&I.includes(e)?this._maxRetries+1:1;let i=0;let a;do{a=yield this.requestRaw(s,r);if(a&&a.message&&a.message.statusCode===g.Unauthorized){let e;for(const t of this.handlers){if(t.canHandleAuthentication(a)){e=t;break}}if(e){return e.handleAuthentication(this,s,r)}else{return a}}let t=this._maxRedirects;while(a.message.statusCode&&Q.includes(a.message.statusCode)&&this._allowRedirects&&t>0){const o=a.message.headers["location"];if(!o){break}const i=new URL(o);if(n.protocol==="https:"&&n.protocol!==i.protocol&&!this._allowRedirectDowngrade){throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.")}yield a.readBody();if(i.hostname!==n.hostname){for(const e in A){if(e.toLowerCase()==="authorization"){delete A[e]}}}s=this._prepareRequest(e,i,A);a=yield this.requestRaw(s,r);t--}if(!a.message.statusCode||!C.includes(a.message.statusCode)){return a}i+=1;if(i{function callbackForResult(e,t){if(e){A(e)}else if(!t){A(new Error("Unknown error"))}else{r(t)}}this.requestRawWithCallback(e,t,callbackForResult)})})}requestRawWithCallback(e,t,r){if(typeof t==="string"){if(!e.options.headers){e.options.headers={}}e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8")}let A=false;function handleResult(e,t){if(!A){A=true;r(e,t)}}const n=e.httpModule.request(e.options,e=>{const t=new HttpClientResponse(e);handleResult(undefined,t)});let s;n.on("socket",e=>{s=e});n.setTimeout(this._socketTimeout||3*6e4,()=>{if(s){s.end()}handleResult(new Error(`Request timeout: ${e.options.path}`))});n.on("error",function(e){handleResult(e)});if(t&&typeof t==="string"){n.write(t,"utf8")}if(t&&typeof t!=="string"){t.on("close",function(){n.end()});t.pipe(n)}else{n.end()}}getAgent(e){const t=new URL(e);return this._getAgent(t)}getAgentDispatcher(e){const t=new URL(e);const r=pm.getProxyUrl(t);const A=r&&r.hostname;if(!A){return}return this._getProxyAgentDispatcher(t,r)}_prepareRequest(e,t,r){const A={};A.parsedUrl=t;const n=A.parsedUrl.protocol==="https:";A.httpModule=n?https:http;const s=n?443:80;A.options={};A.options.host=A.parsedUrl.hostname;A.options.port=A.parsedUrl.port?parseInt(A.parsedUrl.port):s;A.options.path=(A.parsedUrl.pathname||"")+(A.parsedUrl.search||"");A.options.method=e;A.options.headers=this._mergeHeaders(r);if(this.userAgent!=null){A.options.headers["user-agent"]=this.userAgent}A.options.agent=this._getAgent(A.parsedUrl);if(this.handlers){for(const e of this.handlers){e.prepareRequest(A.options)}}return A}_mergeHeaders(e){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(e||{}))}return lowercaseKeys(e||{})}_getExistingOrDefaultHeader(e,t,r){let A;if(this.requestOptions&&this.requestOptions.headers){const e=lowercaseKeys(this.requestOptions.headers)[t];if(e){A=typeof e==="number"?e.toString():e}}const n=e[t];if(n!==undefined){return typeof n==="number"?n.toString():n}if(A!==undefined){return A}return r}_getExistingOrDefaultContentTypeHeader(e,t){let r;if(this.requestOptions&&this.requestOptions.headers){const e=lowercaseKeys(this.requestOptions.headers)[f.ContentType];if(e){if(typeof e==="number"){r=String(e)}else if(Array.isArray(e)){r=e.join(", ")}else{r=e}}}const A=e[f.ContentType];if(A!==undefined){if(typeof A==="number"){return String(A)}else if(Array.isArray(A)){return A.join(", ")}else{return A}}if(r!==undefined){return r}return t}_getAgent(e){let t;const r=pm.getProxyUrl(e);const A=r&&r.hostname;if(this._keepAlive&&A){t=this._proxyAgent}if(!A){t=this._agent}if(t){return t}const n=e.protocol==="https:";let s=100;if(this.requestOptions){s=this.requestOptions.maxSockets||http.globalAgent.maxSockets}if(r&&r.hostname){const e={maxSockets:s,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(r.username||r.password)&&{proxyAuth:`${r.username}:${r.password}`}),{host:r.hostname,port:r.port})};let A;const o=r.protocol==="https:";if(n){A=o?tunnel.httpsOverHttps:tunnel.httpsOverHttp}else{A=o?tunnel.httpOverHttps:tunnel.httpOverHttp}t=A(e);this._proxyAgent=t}if(!t){const e={keepAlive:this._keepAlive,maxSockets:s};t=n?new https.Agent(e):new http.Agent(e);this._agent=t}if(n&&this._ignoreSslError){t.options=Object.assign(t.options||{},{rejectUnauthorized:false})}return t}_getProxyAgentDispatcher(e,t){let r;if(this._keepAlive){r=this._proxyAgentDispatcher}if(r){return r}const A=e.protocol==="https:";r=new ProxyAgent(Object.assign({uri:t.href,pipelining:!this._keepAlive?0:1},(t.username||t.password)&&{token:`Basic ${Buffer.from(`${t.username}:${t.password}`).toString("base64")}`}));this._proxyAgentDispatcher=r;if(A&&this._ignoreSslError){r.options=Object.assign(r.options.requestTls||{},{rejectUnauthorized:false})}return r}_getUserAgentWithOrchestrationId(e){const t=e||"actions/http-client";const r=process.env["ACTIONS_ORCHESTRATION_ID"];if(r){const e=r.replace(/[^a-z0-9_.-]/gi,"_");return`${t} actions_orchestration_id/${e}`}return t}_performExponentialBackoff(e){return h(this,void 0,void 0,function*(){e=Math.min(B,e);const t=p*Math.pow(2,e);return new Promise(e=>setTimeout(()=>e(),t))})}_processResponse(e,t){return h(this,void 0,void 0,function*(){return new Promise((r,A)=>h(this,void 0,void 0,function*(){const n=e.message.statusCode||0;const s={statusCode:n,result:null,headers:{}};if(n===g.NotFound){r(s)}function dateTimeDeserializer(e,t){if(typeof t==="string"){const e=new Date(t);if(!isNaN(e.valueOf())){return e}}return t}let o;let i;try{i=yield e.readBody();if(i&&i.length>0){if(t&&t.deserializeDates){o=JSON.parse(i,dateTimeDeserializer)}else{o=JSON.parse(i)}s.result=o}s.headers=e.message.headers}catch(e){}if(n>299){let e;if(o&&o.message){e=o.message}else if(i&&i.length>0){e=i}else{e=`Failed request: (${n})`}const t=new HttpClientError(e,n);t.result=s.result;A(t)}else{r(s)}}))})}}const lowercaseKeys=e=>Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{});var m=undefined&&undefined.__awaiter||function(e,t,r,A){function adopt(e){return e instanceof r?e:new r(function(t){t(e)})}return new(r||(r=Promise))(function(r,n){function fulfilled(e){try{step(A.next(e))}catch(e){n(e)}}function rejected(e){try{step(A["throw"](e))}catch(e){n(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((A=A.apply(e,t||[])).next())})};class BasicCredentialHandler{constructor(e,t){this.username=e;this.password=t}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return m(this,void 0,void 0,function*(){throw new Error("not implemented")})}}class auth_BearerCredentialHandler{constructor(e){this.token=e}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Bearer ${this.token}`}canHandleAuthentication(){return false}handleAuthentication(){return m(this,void 0,void 0,function*(){throw new Error("not implemented")})}}class PersonalAccessTokenCredentialHandler{constructor(e){this.token=e}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return m(this,void 0,void 0,function*(){throw new Error("not implemented")})}}var y=undefined&&undefined.__awaiter||function(e,t,r,A){function adopt(e){return e instanceof r?e:new r(function(t){t(e)})}return new(r||(r=Promise))(function(r,n){function fulfilled(e){try{step(A.next(e))}catch(e){n(e)}}function rejected(e){try{step(A["throw"](e))}catch(e){n(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((A=A.apply(e,t||[])).next())})};class oidc_utils_OidcClient{static createHttpClient(e=true,t=10){const r={allowRetries:e,maxRetries:t};return new HttpClient("actions/oidc-client",[new BearerCredentialHandler(oidc_utils_OidcClient.getRequestToken())],r)}static getRequestToken(){const e=process.env["ACTIONS_ID_TOKEN_REQUEST_TOKEN"];if(!e){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable")}return e}static getIDTokenUrl(){const e=process.env["ACTIONS_ID_TOKEN_REQUEST_URL"];if(!e){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable")}return e}static getCall(e){return y(this,void 0,void 0,function*(){var t;const r=oidc_utils_OidcClient.createHttpClient();const A=yield r.getJson(e).catch(e=>{throw new Error(`Failed to get ID Token. \n \n Error Code : ${e.statusCode}\n \n Error Message: ${e.message}`)});const n=(t=A.result)===null||t===void 0?void 0:t.value;if(!n){throw new Error("Response json body do not have ID Token field")}return n})}static getIDToken(e){return y(this,void 0,void 0,function*(){try{let t=oidc_utils_OidcClient.getIDTokenUrl();if(e){const r=encodeURIComponent(e);t=`${t}&audience=${r}`}debug(`ID token url is ${t}`);const r=yield oidc_utils_OidcClient.getCall(t);setSecret(r);return r}catch(e){throw new Error(`Error message: ${e.message}`)}})}}var w=undefined&&undefined.__awaiter||function(e,t,r,A){function adopt(e){return e instanceof r?e:new r(function(t){t(e)})}return new(r||(r=Promise))(function(r,n){function fulfilled(e){try{step(A.next(e))}catch(e){n(e)}}function rejected(e){try{step(A["throw"](e))}catch(e){n(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((A=A.apply(e,t||[])).next())})};const{access:b,appendFile:k,writeFile:D}=i.promises;const R="GITHUB_STEP_SUMMARY";const S="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";class Summary{constructor(){this._buffer=""}filePath(){return w(this,void 0,void 0,function*(){if(this._filePath){return this._filePath}const e=process.env[R];if(!e){throw new Error(`Unable to find environment variable for $${R}. Check if your runtime environment supports job summaries.`)}try{yield b(e,i.constants.R_OK|i.constants.W_OK)}catch(t){throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}this._filePath=e;return this._filePath})}wrap(e,t,r={}){const A=Object.entries(r).map(([e,t])=>` ${e}="${t}"`).join("");if(!t){return`<${e}${A}>`}return`<${e}${A}>${t}`}write(e){return w(this,void 0,void 0,function*(){const t=!!(e===null||e===void 0?void 0:e.overwrite);const r=yield this.filePath();const A=t?D:k;yield A(r,this._buffer,{encoding:"utf8"});return this.emptyBuffer()})}clear(){return w(this,void 0,void 0,function*(){return this.emptyBuffer().write({overwrite:true})})}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){this._buffer="";return this}addRaw(e,t=false){this._buffer+=e;return t?this.addEOL():this}addEOL(){return this.addRaw(n.EOL)}addCodeBlock(e,t){const r=Object.assign({},t&&{lang:t});const A=this.wrap("pre",this.wrap("code",e),r);return this.addRaw(A).addEOL()}addList(e,t=false){const r=t?"ol":"ul";const A=e.map(e=>this.wrap("li",e)).join("");const n=this.wrap(r,A);return this.addRaw(n).addEOL()}addTable(e){const t=e.map(e=>{const t=e.map(e=>{if(typeof e==="string"){return this.wrap("td",e)}const{header:t,data:r,colspan:A,rowspan:n}=e;const s=t?"th":"td";const o=Object.assign(Object.assign({},A&&{colspan:A}),n&&{rowspan:n});return this.wrap(s,r,o)}).join("");return this.wrap("tr",t)}).join("");const r=this.wrap("table",t);return this.addRaw(r).addEOL()}addDetails(e,t){const r=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(r).addEOL()}addImage(e,t,r){const{width:A,height:n}=r||{};const s=Object.assign(Object.assign({},A&&{width:A}),n&&{height:n});const o=this.wrap("img",null,Object.assign({src:e,alt:t},s));return this.addRaw(o).addEOL()}addHeading(e,t){const r=`h${t}`;const A=["h1","h2","h3","h4","h5","h6"].includes(r)?r:"h1";const n=this.wrap(A,e);return this.addRaw(n).addEOL()}addSeparator(){const e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){const e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,t){const r=Object.assign({},t&&{cite:t});const A=this.wrap("blockquote",e,r);return this.addRaw(A).addEOL()}addLink(e,t){const r=this.wrap("a",e,{href:t});return this.addRaw(r).addEOL()}}const F=new Summary;const N=null&&F;const v=F;function toPosixPath(e){return e.replace(/[\\]/g,"/")}function toWin32Path(e){return e.replace(/[/]/g,"\\")}function toPlatformPath(e){return e.replace(/[/\\]/g,path.sep)}var M=__nccwpck_require__(3193);var U=__nccwpck_require__(4434);const T=e(import.meta.url)("child_process");var L=__nccwpck_require__(2613);var x=undefined&&undefined.__awaiter||function(e,t,r,A){function adopt(e){return e instanceof r?e:new r(function(t){t(e)})}return new(r||(r=Promise))(function(r,n){function fulfilled(e){try{step(A.next(e))}catch(e){n(e)}}function rejected(e){try{step(A["throw"](e))}catch(e){n(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((A=A.apply(e,t||[])).next())})};const{chmod:H,copyFile:G,lstat:Y,mkdir:P,open:V,readdir:J,rename:O,rm:$,rmdir:W,stat:q,symlink:z,unlink:j}=i.promises;const K=process.platform==="win32";function readlink(e){return x(this,void 0,void 0,function*(){const t=yield fs.promises.readlink(e);if(K&&!t.endsWith("\\")){return`${t}\\`}return t})}const Z=268435456;const X=i.constants.O_RDONLY;function exists(e){return x(this,void 0,void 0,function*(){try{yield q(e)}catch(e){if(e.code==="ENOENT"){return false}throw e}return true})}function isDirectory(e){return x(this,arguments,void 0,function*(e,t=false){const r=t?yield q(e):yield Y(e);return r.isDirectory()})}function isRooted(e){e=normalizeSeparators(e);if(!e){throw new Error('isRooted() parameter "p" cannot be empty')}if(K){return e.startsWith("\\")||/^[A-Z]:/i.test(e)}return e.startsWith("/")}function tryGetExecutablePath(e,t){return x(this,void 0,void 0,function*(){let r=undefined;try{r=yield q(e)}catch(t){if(t.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}}if(r&&r.isFile()){if(K){const r=a.extname(e).toUpperCase();if(t.some(e=>e.toUpperCase()===r)){return e}}else{if(isUnixExecutable(r)){return e}}}const A=e;for(const n of t){e=A+n;r=undefined;try{r=yield q(e)}catch(t){if(t.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}}if(r&&r.isFile()){if(K){try{const t=a.dirname(e);const r=a.basename(e).toUpperCase();for(const A of yield J(t)){if(r===A.toUpperCase()){e=a.join(t,A);break}}}catch(t){console.log(`Unexpected error attempting to determine the actual case of the file '${e}': ${t}`)}return e}else{if(isUnixExecutable(r)){return e}}}}return""})}function normalizeSeparators(e){e=e||"";if(K){e=e.replace(/\//g,"\\");return e.replace(/\\\\+/g,"\\")}return e.replace(/\/\/+/g,"/")}function isUnixExecutable(e){return(e.mode&1)>0||(e.mode&8)>0&&process.getgid!==undefined&&e.gid===process.getgid()||(e.mode&64)>0&&process.getuid!==undefined&&e.uid===process.getuid()}function getCmdPath(){var e;return(e=process.env["COMSPEC"])!==null&&e!==void 0?e:`cmd.exe`}var ee=undefined&&undefined.__awaiter||function(e,t,r,A){function adopt(e){return e instanceof r?e:new r(function(t){t(e)})}return new(r||(r=Promise))(function(r,n){function fulfilled(e){try{step(A.next(e))}catch(e){n(e)}}function rejected(e){try{step(A["throw"](e))}catch(e){n(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((A=A.apply(e,t||[])).next())})};function cp(e,t){return ee(this,arguments,void 0,function*(e,t,r={}){const{force:A,recursive:n,copySourceDirectory:s}=readCopyOptions(r);const o=(yield ioUtil.exists(t))?yield ioUtil.stat(t):null;if(o&&o.isFile()&&!A){return}const i=o&&o.isDirectory()&&s?path.join(t,path.basename(e)):t;if(!(yield ioUtil.exists(e))){throw new Error(`no such file or directory: ${e}`)}const a=yield ioUtil.stat(e);if(a.isDirectory()){if(!n){throw new Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`)}else{yield cpDirRecursive(e,i,0,A)}}else{if(path.relative(e,i)===""){throw new Error(`'${i}' and '${e}' are the same file`)}yield io_copyFile(e,i,A)}})}function mv(e,t){return ee(this,arguments,void 0,function*(e,t,r={}){if(yield ioUtil.exists(t)){let A=true;if(yield ioUtil.isDirectory(t)){t=path.join(t,path.basename(e));A=yield ioUtil.exists(t)}if(A){if(r.force==null||r.force){yield rmRF(t)}else{throw new Error("Destination already exists")}}}yield mkdirP(path.dirname(t));yield ioUtil.rename(e,t)})}function rmRF(e){return ee(this,void 0,void 0,function*(){if(ioUtil.IS_WINDOWS){if(/[*"<>|]/.test(e)){throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows')}}try{yield ioUtil.rm(e,{force:true,maxRetries:3,recursive:true,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}})}function mkdirP(e){return ee(this,void 0,void 0,function*(){ok(e,"a path argument must be provided");yield ioUtil.mkdir(e,{recursive:true})})}function which(e,t){return ee(this,void 0,void 0,function*(){if(!e){throw new Error("parameter 'tool' is required")}if(t){const t=yield which(e,false);if(!t){if(K){throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`)}else{throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`)}}return t}const r=yield findInPath(e);if(r&&r.length>0){return r[0]}return""})}function findInPath(e){return ee(this,void 0,void 0,function*(){if(!e){throw new Error("parameter 'tool' is required")}const t=[];if(K&&process.env["PATHEXT"]){for(const e of process.env["PATHEXT"].split(a.delimiter)){if(e){t.push(e)}}}if(isRooted(e)){const r=yield tryGetExecutablePath(e,t);if(r){return[r]}return[]}if(e.includes(a.sep)){return[]}const r=[];if(process.env.PATH){for(const e of process.env.PATH.split(a.delimiter)){if(e){r.push(e)}}}const A=[];for(const n of r){const r=yield tryGetExecutablePath(a.join(n,e),t);if(r){A.push(r)}}return A})}function readCopyOptions(e){const t=e.force==null?true:e.force;const r=Boolean(e.recursive);const A=e.copySourceDirectory==null?true:Boolean(e.copySourceDirectory);return{force:t,recursive:r,copySourceDirectory:A}}function cpDirRecursive(e,t,r,A){return ee(this,void 0,void 0,function*(){if(r>=255)return;r++;yield mkdirP(t);const n=yield ioUtil.readdir(e);for(const s of n){const n=`${e}/${s}`;const o=`${t}/${s}`;const i=yield ioUtil.lstat(n);if(i.isDirectory()){yield cpDirRecursive(n,o,r,A)}else{yield io_copyFile(n,o,A)}}yield ioUtil.chmod(t,(yield ioUtil.stat(e)).mode)})}function io_copyFile(e,t,r){return ee(this,void 0,void 0,function*(){if((yield ioUtil.lstat(e)).isSymbolicLink()){try{yield ioUtil.lstat(t);yield ioUtil.unlink(t)}catch(e){if(e.code==="EPERM"){yield ioUtil.chmod(t,"0666");yield ioUtil.unlink(t)}}const r=yield ioUtil.readlink(e);yield ioUtil.symlink(r,t,ioUtil.IS_WINDOWS?"junction":null)}else if(!(yield ioUtil.exists(t))||r){yield ioUtil.copyFile(e,t)}})}const te=e(import.meta.url)("timers");var re=undefined&&undefined.__awaiter||function(e,t,r,A){function adopt(e){return e instanceof r?e:new r(function(t){t(e)})}return new(r||(r=Promise))(function(r,n){function fulfilled(e){try{step(A.next(e))}catch(e){n(e)}}function rejected(e){try{step(A["throw"](e))}catch(e){n(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((A=A.apply(e,t||[])).next())})};const Ae=process.platform==="win32";class ToolRunner extends U.EventEmitter{constructor(e,t,r){super();if(!e){throw new Error("Parameter 'toolPath' cannot be null or empty.")}this.toolPath=e;this.args=t||[];this.options=r||{}}_debug(e){if(this.options.listeners&&this.options.listeners.debug){this.options.listeners.debug(e)}}_getCommandString(e,t){const r=this._getSpawnFileName();const A=this._getSpawnArgs(e);let n=t?"":"[command]";if(Ae){if(this._isCmdFile()){n+=r;for(const e of A){n+=` ${e}`}}else if(e.windowsVerbatimArguments){n+=`"${r}"`;for(const e of A){n+=` ${e}`}}else{n+=this._windowsQuoteCmdArg(r);for(const e of A){n+=` ${this._windowsQuoteCmdArg(e)}`}}}else{n+=r;for(const e of A){n+=` ${e}`}}return n}_processLineBuffer(e,t,r){try{let A=t+e.toString();let s=A.indexOf(n.EOL);while(s>-1){const e=A.substring(0,s);r(e);A=A.substring(s+n.EOL.length);s=A.indexOf(n.EOL)}return A}catch(e){this._debug(`error processing line. Failed with error ${e}`);return""}}_getSpawnFileName(){if(Ae){if(this._isCmdFile()){return process.env["COMSPEC"]||"cmd.exe"}}return this.toolPath}_getSpawnArgs(e){if(Ae){if(this._isCmdFile()){let t=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(const r of this.args){t+=" ";t+=e.windowsVerbatimArguments?r:this._windowsQuoteCmdArg(r)}t+='"';return[t]}}return this.args}_endsWith(e,t){return e.endsWith(t)}_isCmdFile(){const e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT")}_windowsQuoteCmdArg(e){if(!this._isCmdFile()){return this._uvQuoteCmdArg(e)}if(!e){return'""'}const t=[" ","\t","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'];let r=false;for(const A of e){if(t.some(e=>e===A)){r=true;break}}if(!r){return e}let A='"';let n=true;for(let t=e.length;t>0;t--){A+=e[t-1];if(n&&e[t-1]==="\\"){A+="\\"}else if(e[t-1]==='"'){n=true;A+='"'}else{n=false}}A+='"';return A.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e){return'""'}if(!e.includes(" ")&&!e.includes("\t")&&!e.includes('"')){return e}if(!e.includes('"')&&!e.includes("\\")){return`"${e}"`}let t='"';let r=true;for(let A=e.length;A>0;A--){t+=e[A-1];if(r&&e[A-1]==="\\"){t+="\\"}else if(e[A-1]==='"'){r=true;t+="\\"}else{r=false}}t+='"';return t.split("").reverse().join("")}_cloneExecOptions(e){e=e||{};const t={cwd:e.cwd||process.cwd(),env:e.env||process.env,silent:e.silent||false,windowsVerbatimArguments:e.windowsVerbatimArguments||false,failOnStdErr:e.failOnStdErr||false,ignoreReturnCode:e.ignoreReturnCode||false,delay:e.delay||1e4};t.outStream=e.outStream||process.stdout;t.errStream=e.errStream||process.stderr;return t}_getSpawnOptions(e,t){e=e||{};const r={};r.cwd=e.cwd;r.env=e.env;r["windowsVerbatimArguments"]=e.windowsVerbatimArguments||this._isCmdFile();if(e.windowsVerbatimArguments){r.argv0=`"${t}"`}return r}exec(){return re(this,void 0,void 0,function*(){if(!isRooted(this.toolPath)&&(this.toolPath.includes("/")||Ae&&this.toolPath.includes("\\"))){this.toolPath=a.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)}this.toolPath=yield which(this.toolPath,true);return new Promise((e,t)=>re(this,void 0,void 0,function*(){this._debug(`exec tool: ${this.toolPath}`);this._debug("arguments:");for(const e of this.args){this._debug(` ${e}`)}const r=this._cloneExecOptions(this.options);if(!r.silent&&r.outStream){r.outStream.write(this._getCommandString(r)+n.EOL)}const A=new ExecState(r,this.toolPath);A.on("debug",e=>{this._debug(e)});if(this.options.cwd&&!(yield exists(this.options.cwd))){return t(new Error(`The cwd: ${this.options.cwd} does not exist!`))}const s=this._getSpawnFileName();const o=T.spawn(s,this._getSpawnArgs(r),this._getSpawnOptions(this.options,s));let i="";if(o.stdout){o.stdout.on("data",e=>{if(this.options.listeners&&this.options.listeners.stdout){this.options.listeners.stdout(e)}if(!r.silent&&r.outStream){r.outStream.write(e)}i=this._processLineBuffer(e,i,e=>{if(this.options.listeners&&this.options.listeners.stdline){this.options.listeners.stdline(e)}})})}let a="";if(o.stderr){o.stderr.on("data",e=>{A.processStderr=true;if(this.options.listeners&&this.options.listeners.stderr){this.options.listeners.stderr(e)}if(!r.silent&&r.errStream&&r.outStream){const t=r.failOnStdErr?r.errStream:r.outStream;t.write(e)}a=this._processLineBuffer(e,a,e=>{if(this.options.listeners&&this.options.listeners.errline){this.options.listeners.errline(e)}})})}o.on("error",e=>{A.processError=e.message;A.processExited=true;A.processClosed=true;A.CheckComplete()});o.on("exit",e=>{A.processExitCode=e;A.processExited=true;this._debug(`Exit code ${e} received from tool '${this.toolPath}'`);A.CheckComplete()});o.on("close",e=>{A.processExitCode=e;A.processExited=true;A.processClosed=true;this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);A.CheckComplete()});A.on("done",(r,A)=>{if(i.length>0){this.emit("stdline",i)}if(a.length>0){this.emit("errline",a)}o.removeAllListeners();if(r){t(r)}else{e(A)}});if(this.options.input){if(!o.stdin){throw new Error("child process missing stdin")}o.stdin.end(this.options.input)}}))})}}function argStringToArray(e){const t=[];let r=false;let A=false;let n="";function append(e){if(A&&e!=='"'){n+="\\"}n+=e;A=false}for(let s=0;s0){t.push(n);n=""}continue}append(o)}if(n.length>0){t.push(n.trim())}return t}class ExecState extends U.EventEmitter{constructor(e,t){super();this.processClosed=false;this.processError="";this.processExitCode=0;this.processExited=false;this.processStderr=false;this.delay=1e4;this.done=false;this.timeout=null;if(!t){throw new Error("toolPath must not be empty")}this.options=e;this.toolPath=t;if(e.delay){this.delay=e.delay}}CheckComplete(){if(this.done){return}if(this.processClosed){this._setResult()}else if(this.processExited){this.timeout=(0,te.setTimeout)(ExecState.HandleTimeout,this.delay,this)}}_debug(e){this.emit("debug",e)}_setResult(){let e;if(this.processExited){if(this.processError){e=new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`)}else if(this.processExitCode!==0&&!this.options.ignoreReturnCode){e=new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`)}else if(this.processStderr&&this.options.failOnStdErr){e=new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`)}}if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.done=true;this.emit("done",e,this.processExitCode)}static HandleTimeout(e){if(e.done){return}if(!e.processClosed&&e.processExited){const t=`The STDIO streams did not close within ${e.delay/1e3} seconds of the exit event from process '${e.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;e._debug(t)}e._setResult()}}var ne=undefined&&undefined.__awaiter||function(e,t,r,A){function adopt(e){return e instanceof r?e:new r(function(t){t(e)})}return new(r||(r=Promise))(function(r,n){function fulfilled(e){try{step(A.next(e))}catch(e){n(e)}}function rejected(e){try{step(A["throw"](e))}catch(e){n(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((A=A.apply(e,t||[])).next())})};function exec_exec(e,t,r){return ne(this,void 0,void 0,function*(){const A=tr.argStringToArray(e);if(A.length===0){throw new Error(`Parameter 'commandLine' cannot be null or empty.`)}const n=A[0];t=A.slice(1).concat(t||[]);const s=new tr.ToolRunner(n,t,r);return s.exec()})}function getExecOutput(e,t,r){return ne(this,void 0,void 0,function*(){var A,n;let s="";let o="";const i=new StringDecoder("utf8");const a=new StringDecoder("utf8");const c=(A=r===null||r===void 0?void 0:r.listeners)===null||A===void 0?void 0:A.stdout;const l=(n=r===null||r===void 0?void 0:r.listeners)===null||n===void 0?void 0:n.stderr;const stdErrListener=e=>{o+=a.write(e);if(l){l(e)}};const stdOutListener=e=>{s+=i.write(e);if(c){c(e)}};const u=Object.assign(Object.assign({},r===null||r===void 0?void 0:r.listeners),{stdout:stdOutListener,stderr:stdErrListener});const d=yield exec_exec(e,t,Object.assign(Object.assign({},r),{listeners:u}));s+=i.end();o+=a.end();return{exitCode:d,stdout:s,stderr:o}})}var se=undefined&&undefined.__awaiter||function(e,t,r,A){function adopt(e){return e instanceof r?e:new r(function(t){t(e)})}return new(r||(r=Promise))(function(r,n){function fulfilled(e){try{step(A.next(e))}catch(e){n(e)}}function rejected(e){try{step(A["throw"](e))}catch(e){n(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((A=A.apply(e,t||[])).next())})};const getWindowsInfo=()=>se(void 0,void 0,void 0,function*(){const{stdout:e}=yield exec.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',undefined,{silent:true});const{stdout:t}=yield exec.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',undefined,{silent:true});return{name:t.trim(),version:e.trim()}});const getMacOsInfo=()=>se(void 0,void 0,void 0,function*(){var e,t,r,A;const{stdout:n}=yield exec.getExecOutput("sw_vers",undefined,{silent:true});const s=(t=(e=n.match(/ProductVersion:\s*(.+)/))===null||e===void 0?void 0:e[1])!==null&&t!==void 0?t:"";const o=(A=(r=n.match(/ProductName:\s*(.+)/))===null||r===void 0?void 0:r[1])!==null&&A!==void 0?A:"";return{name:o,version:s}});const getLinuxInfo=()=>se(void 0,void 0,void 0,function*(){const{stdout:e}=yield exec.getExecOutput("lsb_release",["-i","-r","-s"],{silent:true});const[t,r]=e.trim().split("\n");return{name:t,version:r}});const oe=n.platform();const ie=n.arch();const ae=oe==="win32";const ce=oe==="darwin";const le=oe==="linux";function getDetails(){return se(this,void 0,void 0,function*(){return Object.assign(Object.assign({},yield ae?getWindowsInfo():ce?getMacOsInfo():getLinuxInfo()),{platform:oe,arch:ie,isWindows:ae,isMacOS:ce,isLinux:le})})}var ue=undefined&&undefined.__awaiter||function(e,t,r,A){function adopt(e){return e instanceof r?e:new r(function(t){t(e)})}return new(r||(r=Promise))(function(r,n){function fulfilled(e){try{step(A.next(e))}catch(e){n(e)}}function rejected(e){try{step(A["throw"](e))}catch(e){n(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((A=A.apply(e,t||[])).next())})};var de;(function(e){e[e["Success"]=0]="Success";e[e["Failure"]=1]="Failure"})(de||(de={}));function exportVariable(e,t){const r=toCommandValue(t);process.env[e]=r;const A=process.env["GITHUB_ENV"]||"";if(A){return issueFileCommand("ENV",prepareKeyValueMessage(e,t))}issueCommand("set-env",{name:e},r)}function core_setSecret(e){command_issueCommand("add-mask",{},e)}function addPath(e){const t=process.env["GITHUB_PATH"]||"";if(t){issueFileCommand("PATH",e)}else{issueCommand("add-path",{},e)}process.env["PATH"]=`${e}${path.delimiter}${process.env["PATH"]}`}function getInput(e,t){const r=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!r){throw new Error(`Input required and not supplied: ${e}`)}if(t&&t.trimWhitespace===false){return r}return r.trim()}function getMultilineInput(e,t){const r=getInput(e,t).split("\n").filter(e=>e!=="");if(t&&t.trimWhitespace===false){return r}return r.map(e=>e.trim())}function getBooleanInput(e,t){const r=["true","True","TRUE"];const A=["false","False","FALSE"];const n=getInput(e,t);if(r.includes(n))return true;if(A.includes(n))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}function setOutput(e,t){const r=process.env["GITHUB_OUTPUT"]||"";if(r){return file_command_issueFileCommand("OUTPUT",file_command_prepareKeyValueMessage(e,t))}process.stdout.write(n.EOL);command_issueCommand("set-output",{name:e},utils_toCommandValue(t))}function setCommandEcho(e){issue("echo",e?"on":"off")}function setFailed(e){process.exitCode=de.Failure;error(e)}function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}function core_debug(e){issueCommand("debug",{},e)}function error(e,t={}){command_issueCommand("error",utils_toCommandProperties(t),e instanceof Error?e.toString():e)}function warning(e,t={}){command_issueCommand("warning",utils_toCommandProperties(t),e instanceof Error?e.toString():e)}function notice(e,t={}){issueCommand("notice",toCommandProperties(t),e instanceof Error?e.toString():e)}function info(e){process.stdout.write(e+os.EOL)}function startGroup(e){issue("group",e)}function endGroup(){issue("endgroup")}function group(e,t){return ue(this,void 0,void 0,function*(){startGroup(e);let r;try{r=yield t()}finally{endGroup()}return r})}function saveState(e,t){const r=process.env["GITHUB_STATE"]||"";if(r){return issueFileCommand("STATE",prepareKeyValueMessage(e,t))}issueCommand("save-state",{name:e},toCommandValue(t))}function getState(e){return process.env[`STATE_${e}`]||""}function getIDToken(e){return ue(this,void 0,void 0,function*(){return yield OidcClient.getIDToken(e)})}function stripAngleBracketText(e){let t=false;let r="";for(const A of e){if(A==="<")t=true;else if(A===">")t=false;else if(!t)r+=A}return r}function redactJwtLikeTokens(e){const t=[];let r="";let A=0;for(const n of e.matchAll(/[\w-]+/g)){t.push({text:n[0],start:n.index,end:n.index+n[0].length});if(t.length<3)continue;const s=t[0],o=t[1],i=t[2];const a=s.text.indexOf("eyJ");if(a>=0&&a+3e.replace(/%[a-f0-9]{2}/gi,e=>e.toUpperCase());const r=normalize(e);const A=normalize(t);let n=0;let s="";let o=r.indexOf(A,n);while(o!==-1){s+=e.slice(n,o)+"[REDACTED]";n=o+t.length;o=r.indexOf(A,n)}return s+e.slice(n)}function redactKnownSecrets(e,t=[]){for(const r of[...t].filter(Boolean).sort((e,t)=>t.length-e.length)){for(const t of new Set([r,encodeURIComponent(new URLSearchParams({v:r}).get("v")),new URLSearchParams({v:r}).toString().slice(2)]))e=t.includes("%")?redactEncodedSecret(e,t):e.split(t).join("[REDACTED]")}return e.replace(/\bBearer\s+[^\s,;]+/gi,"Bearer [REDACTED]").replace(/\b(?:ghp_|github_pat_|npm_)[A-Za-z0-9_]+/g,"[REDACTED]").replace(/\b(?:client_secret|password|access_token|token)\s*[=:]\s*[^\s&,;]+/gi,"[REDACTED]").replace(/(?:x-approuter-authorization|authorization)\s*:[^\r\n]+/gi,"[REDACTED]")}function sanitizeBoundedText(e,t=1e3,r=[]){if(!Number.isSafeInteger(t)||t<0)throw new Error("Invalid text limit.");return redactKnownSecrets(e,r).replace(/[\u0000-\u0008\u000b\u000c\u000e-\u001f\u007f-\u009f]/g," ").slice(0,t)}function sanitizeLabel(e,t=[]){return sanitizeBoundedText(e,1e3,t).replace(/[\r\n\u2028\u2029]/g," ").replace(/\s+/g," ").trim().slice(0,75)}function sanitizeErrorMessage(e,t=[]){return sanitizeBoundedText(e,1e3,t).replace(/https?:\/\/\S+/gi,"[URL]").split(/\s+at\s+\S+\s*\(/)[0].trim()||"Operation failed."}const he=new Set(["event-json","event-file","traffic-split-json","decision-reason","cancel-reason"]);function isConfidentialInputName(e){return/token|secret|password|credential|webhook|authorization|private[-_]?key|api[-_]?key/i.test(e)||["client-id","resource"].includes(e.toLowerCase().replaceAll("_","-"))}function definitionsChecked(e){if(e.length>50||new Set(e.map(({name:e})=>e)).size!==e.length||e.some(({name:e})=>!/^[a-z][a-z0-9-]{0,63}$/.test(e)))throw new Error("Invalid action input definitions.")}function canonicalHostname(e){let t=e.length;while(e.charCodeAt(t-1)===46)t--;return e.slice(0,t)}function sanitizeActionText(e,t=256,r=[]){return sanitizeBoundedText(redactJwtLikeTokens(redactKnownSecrets(e,r)).replace(/https?:\/\/[^\s<>"']+/gi,e=>{try{const t=new URL(e);return t.username||t.password||t.search||t.hash||/^hooks\.slack(?:-gov)?\.com$/i.test(canonicalHostname(t.hostname))?"[REDACTED URL]":e}catch{return"[REDACTED URL]"}}),t,r)}function captureActionInputs(e,t,r){definitionsChecked(e);const confidential=e=>e.confidential||isConfidentialInputName(e.name);const A=new Map;for(const n of[...e.filter(confidential),...e.filter(e=>!confidential(e))]){const e=t(n.name);if(confidential(n)&&e)r(e);A.set(n.name,e)}return Object.fromEntries(e.map(({name:e})=>[e,A.get(e)]))}function createActionInputContext(e,t,r){definitionsChecked(e);const A=[...r.secrets??[],...e.filter(e=>e.confidential||isConfidentialInputName(e.name)).map(e=>t[e.name]??"")];let n=false;const s=Object.fromEntries(e.map(e=>{const{name:s}=e;if(e.confidential||isConfidentialInputName(s))return[s,"[REDACTED]"];const o=r.validated&&Object.hasOwn(r.effective??{},s)?r.effective[s]:t[s]??"";if(e.display==="presence"||he.has(s))return[s,o?"[PROVIDED: VALUE OMITTED]":"(not set)"];let i=o||"(not set)";if(e.display==="url-origin"&&o){try{const e=new URL(o);i=e.protocol==="https:"&&!e.username&&!e.password&&!e.search&&!e.hash&&e.pathname==="/"?e.origin:"[INVALID OR PRIVATE URL]"}catch{i="[INVALID OR PRIVATE URL]"}}i=sanitizeActionText(i,Number.MAX_SAFE_INTEGER,A);if(r.sanitize)i=sanitizeActionText(r.sanitize(i,Number.MAX_SAFE_INTEGER),Number.MAX_SAFE_INTEGER,A);const a=[...i];if(a.length>256){i=`${a.slice(0,242).join("")}… [truncated]`;n=true}return[s,i]}));return{inputs:s,inputsValidated:r.validated,inputsTruncated:n}}const ge=e(import.meta.url)("node:fs/promises");const fe=e(import.meta.url)("node:path");var Ee=__nccwpck_require__(9474);var Qe=__nccwpck_require__(8078);const Ce={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://commercekit.tools/schemas/notification-event-v1.schema.json",title:"CommerceKit NotificationEvent v1",type:"object",required:["schemaVersion","eventId","eventType","status","occurredAt","source","data"],properties:{schemaVersion:{const:1},eventId:{type:"string",minLength:1,maxLength:128},eventType:{enum:["check.completed","ccv2.build.started","ccv2.build.completed","ccv2.deployment.started","ccv2.deployment.action-required","ccv2.deployment.completed","ccv2.build-cleanup.completed","commercekit.setup.completed"]},status:{enum:["started","success","warning","failure","cancelled","internal-error","action-required"]},occurredAt:{type:"string",format:"date-time",maxLength:64},source:{type:"object",required:["product","component"],properties:{product:{const:"commercekit"},component:{enum:["cli-check","ccv2-build","ccv2-deploy","workflow","ccv2-build-cleanup","setup-commercekit"]},version:{type:"string",maxLength:64}},additionalProperties:true},context:{type:"object",properties:{repository:{type:"string",maxLength:200},ref:{type:"string",maxLength:300},commit:{type:"string",maxLength:128},actor:{type:"string",maxLength:128},workflow:{type:"string",maxLength:200},job:{type:"string",maxLength:200},runId:{type:"string",maxLength:64},runAttempt:{type:"integer",minimum:1},runUrl:{type:"string",format:"uri",maxLength:2048},environment:{type:"string",maxLength:128}},additionalProperties:true},data:{type:"object"},links:{type:"array",maxItems:3,items:{type:"object",required:["label","url"],properties:{label:{type:"string",minLength:1,maxLength:80},url:{type:"string",format:"uri",maxLength:2048}},additionalProperties:true}}},allOf:[{if:{properties:{eventType:{const:"check.completed"}}},then:{properties:{status:{enum:["success","warning","failure","cancelled","internal-error"]},data:{$ref:"#/$defs/check"}},allOf:[{if:{properties:{status:{enum:["success","warning","failure"]}}},then:{properties:{data:{required:["filesChecked","errors","warnings"]}}}}]}},{if:{properties:{eventType:{const:"ccv2.build.started"}}},then:{properties:{status:{const:"started"},data:{$ref:"#/$defs/build"}}}},{if:{properties:{eventType:{const:"ccv2.build.completed"}}},then:{properties:{status:{enum:["success","failure","cancelled","internal-error"]},data:{$ref:"#/$defs/build"}}}},{if:{properties:{eventType:{const:"ccv2.deployment.started"}}},then:{properties:{status:{const:"started"},data:{$ref:"#/$defs/deployment"}}}},{if:{properties:{eventType:{const:"ccv2.deployment.action-required"}}},then:{properties:{status:{const:"action-required"},data:{$ref:"#/$defs/deployment"}}}},{if:{properties:{eventType:{const:"ccv2.deployment.completed"}}},then:{properties:{status:{enum:["success","failure","cancelled","internal-error"]},data:{$ref:"#/$defs/deployment"}}}},{if:{properties:{eventType:{const:"ccv2.build-cleanup.completed"}}},then:{properties:{status:{enum:["success","warning","failure","cancelled","internal-error"]},data:{$ref:"#/$defs/cleanup"}}}},{if:{properties:{eventType:{const:"commercekit.setup.completed"}}},then:{properties:{status:{enum:["success","warning","failure","cancelled","internal-error"]},data:{$ref:"#/$defs/setup"}}}}],$defs:{error:{type:"object",required:["message"],properties:{code:{type:"string",maxLength:100},message:{type:"string",minLength:1,maxLength:1e3}},additionalProperties:true},check:{type:"object",properties:{mode:{enum:["full","changed"]},changedFrom:{type:"string",maxLength:200},filesChecked:{type:"integer",minimum:0},errors:{type:"integer",minimum:0},warnings:{type:"integer",minimum:0},durationMs:{type:"integer",minimum:0},error:{$ref:"#/$defs/error"},inputs:{$ref:"#/$defs/actionInputs"},inputsValidated:{type:"boolean"},inputsTruncated:{type:"boolean"},issues:{type:"array",maxItems:3,items:{$ref:"#/$defs/error"}}},additionalProperties:true},build:{type:"object",properties:{subscriptionCode:{type:"string",maxLength:128},applicationCode:{type:"string",maxLength:128},buildCode:{type:"string",maxLength:128},buildName:{type:"string",maxLength:200},branch:{type:"string",maxLength:300},buildStatus:{type:"string",maxLength:100},durationMs:{type:"integer",minimum:0},retryCount:{type:"integer",minimum:0},error:{$ref:"#/$defs/error"},inputs:{$ref:"#/$defs/actionInputs"},inputsValidated:{type:"boolean"},inputsTruncated:{type:"boolean"},issues:{type:"array",maxItems:3,items:{$ref:"#/$defs/error"}}},additionalProperties:true},deployment:{type:"object",properties:{subscriptionCode:{type:"string",maxLength:128},applicationCode:{type:"string",maxLength:128},deploymentCode:{type:"string",maxLength:128},buildCode:{type:"string",maxLength:128},environmentCode:{type:"string",maxLength:128},deploymentMode:{type:"string",maxLength:100},databaseUpdateMode:{type:"string",maxLength:100},deploymentStatus:{type:"string",maxLength:100},durationMs:{type:"integer",minimum:0},decisionType:{type:"string",maxLength:100},error:{$ref:"#/$defs/error"},inputs:{$ref:"#/$defs/actionInputs"},inputsValidated:{type:"boolean"},inputsTruncated:{type:"boolean"},issues:{type:"array",maxItems:3,items:{$ref:"#/$defs/error"}}},additionalProperties:true},cleanup:{type:"object",required:["mode","subscriptionCode","retentionDays","keepLatest","cleanupStatus","scannedCount","eligibleCount","plannedCount","deletionRequestedCount","skippedCount","failedCount","unknownCount","deferredCount","durationMs"],properties:{mode:{enum:["dry-run","apply"]},subscriptionCode:{type:"string",minLength:1,maxLength:128},applicationCode:{type:"string",minLength:1,maxLength:128},retentionDays:{type:"integer",minimum:1,maximum:36500},keepLatest:{type:"integer",minimum:1,maximum:1e4},cleanupStatus:{type:"string",minLength:1,maxLength:100},scannedCount:{type:"integer",minimum:0,maximum:9007199254740991},eligibleCount:{type:"integer",minimum:0,maximum:9007199254740991},plannedCount:{type:"integer",minimum:0,maximum:9007199254740991},deletionRequestedCount:{type:"integer",minimum:0,maximum:9007199254740991},skippedCount:{type:"integer",minimum:0,maximum:9007199254740991},failedCount:{type:"integer",minimum:0,maximum:9007199254740991},unknownCount:{type:"integer",minimum:0,maximum:9007199254740991},deferredCount:{type:"integer",minimum:0,maximum:9007199254740991},durationMs:{type:"integer",minimum:0,maximum:9007199254740991},error:{$ref:"#/$defs/error"},inputs:{$ref:"#/$defs/cleanupInputs"},inputsValidated:{type:"boolean"},inputsTruncated:{type:"boolean"},protectedCount:{type:"integer",minimum:0,maximum:9007199254740991},blockedCount:{type:"integer",minimum:0,maximum:9007199254740991},issues:{type:"array",maxItems:3,items:{$ref:"#/$defs/error"}}},additionalProperties:true},cleanupInputs:{type:"object",required:["token-endpoint","client-id","client-secret","resource","subscription-code","api-base-url","application-code","retention-days","keep-latest","dry-run","max-deletions","exclude-build-codes","timeout-minutes","continue-on-delete-error"],properties:{"token-endpoint":{const:"[REDACTED]"},"client-id":{const:"[REDACTED]"},"client-secret":{const:"[REDACTED]"},resource:{const:"[REDACTED]"},"subscription-code":{type:"string",maxLength:256},"api-base-url":{type:"string",maxLength:256},"application-code":{type:"string",maxLength:256},"retention-days":{type:"string",maxLength:256},"keep-latest":{type:"string",maxLength:256},"dry-run":{type:"string",maxLength:256},"max-deletions":{type:"string",maxLength:256},"exclude-build-codes":{type:"string",maxLength:256},"timeout-minutes":{type:"string",maxLength:256},"continue-on-delete-error":{type:"string",maxLength:256}},additionalProperties:false},actionInputs:{type:"object",maxProperties:50,propertyNames:{type:"string",pattern:"^[a-z][a-z0-9-]{0,63}$"},additionalProperties:{type:"string",maxLength:256},patternProperties:{"(?:token|secret|password|credential|webhook|authorization|private-key|api-key)":{const:"[REDACTED]"},"^(?:client-id|resource)$":{const:"[REDACTED]"}}},setup:{type:"object",properties:{inputs:{$ref:"#/$defs/actionInputs"},inputsValidated:{type:"boolean"},inputsTruncated:{type:"boolean"},issues:{type:"array",maxItems:3,items:{$ref:"#/$defs/error"}},requestedVersion:{type:"string",maxLength:256},version:{type:"string",maxLength:128},target:{type:"string",maxLength:128},buildId:{type:"string",maxLength:128},cacheHit:{type:"boolean"},durationMs:{type:"integer",minimum:0,maximum:9007199254740991},error:{$ref:"#/$defs/error"}},additionalProperties:true}},additionalProperties:true};function validateNotificationLink(e){try{if(e.length>2048||/[\u0000-\u0020\u007f\\]/.test(e))throw Error();const t=new URL(e);if(t.protocol!=="https:"||!t.hostname||t.username||t.password||e.includes("#"))throw Error();return t}catch{throw new Error("Invalid notification HTTPS link.")}}function validateGitHubRunUrl(e){return validateNotificationLink(e)}const Ie=new Ee.Ajv2020({strict:false,validateFormats:true});Qe(Ie);const Be=Ie.compile(Ce);function validate_validateNotificationEvent(e){if(!e||typeof e!=="object"||Array.isArray(e)||!Be(e))throw new Error("Invalid NotificationEvent v1.");const t=e;for(const e of t.links??[])validateNotificationLink(e.url);if(t.context?.runUrl!==undefined)validateGitHubRunUrl(t.context.runUrl);return t}function parseNotificationEventJson(e,t={}){if((new TextEncoder).encode(e).length>(t.maxBytes??65536))throw new Error("NotificationEvent exceeds byte limit.");let r;try{r=JSON.parse(e)}catch{throw new Error("Invalid NotificationEvent JSON.")}return validate_validateNotificationEvent(r)}function validateEvent(e){try{validateNotificationEvent(e)}catch(e){throw notificationError(e)}}function notificationError(e){const t=e instanceof Error?e.message:"";if(t==="NotificationEvent exceeds byte limit.")return new Error("Event JSON exceeds the 64 KiB limit.");if(t==="Invalid NotificationEvent JSON.")return new Error("Event input is not valid JSON.");if(t==="Invalid notification HTTPS link.")return new Error("NotificationEvent links and context.runUrl must be bounded HTTPS URLs without credentials or fragments.");return new Error("Invalid NotificationEvent v1 JSON object: check schema version, data and eventType/status combination.")}const pe=64*1024;async function parseEvent(e){if(Boolean(e.json)===Boolean(e.file))throw new Error("Supply exactly one of event-json or event-file.");let t;if(e.file){const r=(0,fe.resolve)(e.file);const A=await(0,ge.lstat)(r);if(A.isSymbolicLink()||!A.isFile())throw new Error("event-file must be a regular non-symbolic-link file.");if(A.size>pe)throw new Error("event-file exceeds the 64 KiB limit.");t=await(0,ge.readFile)(r,"utf8")}else t=e.json;try{return parseNotificationEventJson(t,{maxBytes:pe})}catch(e){throw notificationError(e)}}const object=e=>e&&typeof e==="object"&&!Array.isArray(e)?e:{};const bound=(e,t)=>{const r=[...e];const A="… [truncated]";return r.length>t?`${r.slice(0,t-A.length).join("")}${A}`:e};function cleanupDetails(e,t,r){const A=t.mode==="dry-run"?"DRY RUN":"APPLY";const n=r(t.deletionRequestedCount)||"0";const s=r(t.cleanupStatus)||"unreported";const o=object(t.error);const i=Array.isArray(t.issues)?t.issues.slice(0,3).map(object):[];const a=bound(r(o.message)||r(i[0]?.message),160);const c=e==="success"?"CCv2 build cleanup completed":e==="warning"?"CCv2 build cleanup completed with warnings":e==="cancelled"?"CCv2 build cleanup cancelled":"CCv2 build cleanup failed";const l=e==="warning"?"Cleanup requires attention; review the reported issues.":e==="cancelled"?"Cleanup was cancelled before completion.":s==="outcome-unknown"?"A deletion request outcome could not be established; further deletion was stopped.":s==="blocked"?"Safety evidence did not permit cleanup.":"Cleanup could not complete; review the workflow report.";const u=e==="success"?t.mode==="dry-run"?`${A}: ${r(t.plannedCount)} planned targets; ${n} deletion requests accepted. Cleanup was not applied.`:`${A}: ${n} build deletion requests accepted. Physical removal is not confirmed. Outcome: ${s}.`:`${A}: ${a||l} ${n} deletion requests accepted. Outcome: ${s}.`;const d=[["Scanned","scannedCount"],["Eligible","eligibleCount"],["Planned","plannedCount"],["Requests accepted","deletionRequestedCount"],["Protected","protectedCount"],["Blocked","blockedCount"],["Skipped","skippedCount"],["Deferred","deferredCount"],["Failed","failedCount"],["Unknown","unknownCount"]].map(([e,A])=>({label:e,value:r(t[A])||"Not reported"}));const h=[{title:"Result",facts:d}];return{title:c,summary:u,sections:h}}const objectValue=e=>e&&typeof e==="object"&&!Array.isArray(e)?e:{};function confidentialValues(e){return Object.entries(objectValue(e.inputs)).filter(([e,t])=>isConfidentialInputName(e)&&typeof t==="string"&&t!=="[REDACTED]").map(([,e])=>e)}function safeActionLink(e,t){try{validateNotificationLink(e);return sanitizeActionText(e,Number.MAX_SAFE_INTEGER,t)===e}catch{return false}}function detailSections(e,t,r){const A=objectValue(t.inputs);const n=Object.entries(A);const s=[];if(n.length){const e=n.filter(([e])=>/^[a-z][a-z0-9-]{0,63}$/.test(e)).slice(0,50);const A=createActionInputContext(e.map(([e])=>({name:e})),Object.fromEntries(e.map(([e,t])=>[e,typeof t==="string"?t:""])),{validated:t.inputsValidated===true});s.push(...Object.entries(A.inputs).map(([e,t])=>({label:e,value:r(t)||"Not included"})));s.push({label:"Input validation",value:t.inputsValidated===true?"Passed":t.inputsValidated===false?"Incomplete":"Not reported"},{label:"Input truncation",value:t.inputsTruncated===true||A.inputsTruncated?"Some values were truncated; review the workflow configuration.":"No input truncation reported."});if(n.length!==e.length)s.push({label:"Input context limits",value:"Some invalid or excess input names were omitted."})}else s.push({label:"Input context",value:"Complete input context was not included in this event."});const o=objectValue(t.error);const i=Array.isArray(t.issues)?t.issues.slice(0,3).map(objectValue):[];const a=[...r(o.code)?[{label:"Error code",value:r(o.code)}]:[],...r(o.message)?[{label:"Error",value:r(o.message)}]:[],...i.map((e,t)=>({label:r(e.code)||`Issue ${t+1}`,value:r(e.message)||"Review the workflow report."}))];if(!a.length)a.push({label:"Details",value:e==="success"||e==="started"?"No issues were reported in this event.":"Review the workflow for details about this outcome."});return[{title:"Inputs",facts:s},{title:"Issues",facts:a}]}const me=[{pattern:/\bBearer\s+[A-Za-z0-9._~+/-]+=*/gi,replace:()=>"Bearer [REDACTED]"},{pattern:/https:\/\/hooks\.slack(?:-gov)?\.com\/services\/[A-Za-z0-9/_-]+/gi,replace:()=>"[REDACTED SLACK WEBHOOK]"},{pattern:/\b(?:ghp_|github_pat_)[A-Za-z0-9_]+/gi,replace:()=>"[REDACTED GITHUB TOKEN]"},{pattern:/\b(client_secret|password|token)(\s*[=:]\s*)([^\s&,;]+)/gi,replace:e=>{const t=e.search(/[=:]/);return`${e.slice(0,t+1)}${e.slice(t+1,e.length-e.match(/[^\s&,;]+$/)[0].length)}[REDACTED]`}},{pattern:/\b(authorization\s*:\s*)([^\r\n]+)/gi,replace:e=>`${e.slice(0,e.indexOf(":")+1)} [REDACTED]`},{pattern:/https:\/\/[^\s?#]+\?[^\s#]*/gi,replace:e=>{try{const t=new URL(e);const r=/^(?:sig|signature|token|secret|code|key|auth|authorization|client_secret)$/i;if([...t.searchParams.keys()].some(e=>r.test(e)))return"[REDACTED URL]"}catch{}return e}}];function sanitize(e){let t=e;for(const e of me)t=t.replace(e.pattern,e.replace);return sanitizeActionText(t.replace(/[\u0000-\u0008\u000B\u000C\u000E-\u001F\u007F]/g," "),1e3)}function sanitize_sanitizeLabel(e){return sanitize(e.replace(/[\r\n\u2028\u2029]/g," ").replace(/[\u0000-\u001F\u007F]/g," ")).replace(/\s+/g," ").trim().slice(0,75)}function safePlainText(e){return sanitize(e).replace(/@/g,"@").replace(/[\r\n\u2028\u2029]/g," ")}const ye={started:{label:"Started",icon:"ℹ️",tone:"info",accent:"#1877C9"},success:{label:"Succeeded",icon:"✅",tone:"success",accent:"#168A45"},warning:{label:"Completed with warnings",icon:"⚠️",tone:"warning",accent:"#B7791F"},failure:{label:"Failed",icon:"❌",tone:"danger",accent:"#C62828"},"internal-error":{label:"CommerceKit error",icon:"❌",tone:"danger",accent:"#C62828"},cancelled:{label:"Cancelled",icon:"⏹️",tone:"neutral",accent:"#6B7280"},"action-required":{label:"Action required",icon:"⚠️",tone:"warning",accent:"#B7791F"}};function getNotificationStyle(e){if(!Object.hasOwn(ye,e))throw new Error("Invalid notification status.");return Object.freeze({...ye[e]})}const providerStyle=e=>{const t=getNotificationStyle(e);return{...t,teams:{info:"accent",success:"good",warning:"warning",danger:"attention",neutral:"default"}[t.tone]}};const we={started:providerStyle("started"),success:providerStyle("success"),warning:providerStyle("warning"),failure:providerStyle("failure"),"internal-error":providerStyle("internal-error"),cancelled:providerStyle("cancelled"),"action-required":providerStyle("action-required")};const stringValue=e=>typeof e==="string"?sanitize(e):typeof e==="number"&&Number.isFinite(e)?String(e):"";const duration=e=>typeof e==="number"?`${Math.round(e/1e3)}s`:"";const occurred=e=>`${new Date(e).toISOString().slice(0,19).replace("T"," ")} UTC`;function createPresentation(e,t=[]){const r=we[e.status],A=e.data,n=e.context??{};const s=[...t,...confidentialValues(A)];const str=e=>stringValue(typeof e==="string"?redactKnownSecrets(e,s):e);const o=[];let i="",a="",c="";const l=[];const u=[];const highlight=(e,t)=>{const r=str(t);if(r)l.push({label:e,value:r})};const add=(e,t)=>{const r=str(t);if(r)u.push({label:e,value:r})};if(e.eventType==="commercekit.setup.completed"){i="CommerceKit · CLI setup";a=e.status==="success"?"CommerceKit CLI setup succeeded":e.status==="warning"?"CommerceKit CLI setup completed with warnings":e.status==="cancelled"?"CommerceKit CLI setup cancelled":e.status==="internal-error"?"CommerceKit CLI setup encountered an internal error":"CommerceKit CLI setup failed";c=e.status==="success"?`CommerceKit CLI ${str(A.version)||"installation"} was installed and verified.`:str(A.error?.message)||(e.status==="warning"?"CommerceKit CLI setup completed with warnings; review the reported issues.":e.status==="cancelled"?"CommerceKit CLI setup was cancelled before completion.":"CommerceKit CLI setup did not complete.");highlight("CLI version",A.version||A.requestedVersion);add("Requested version",A.requestedVersion);add("Target",A.target);add("Build identity",A.buildId);add("Cache reused",typeof A.cacheHit==="boolean"?String(A.cacheHit):undefined);add("Duration",duration(A.durationMs))}else if(e.eventType==="check.completed"){i="CommerceKit · Check";a=e.status==="success"?"CommerceKit check succeeded":e.status==="warning"?"CommerceKit check completed with warnings":e.status==="failure"?"CommerceKit check failed":e.status==="cancelled"?"CommerceKit check cancelled":"CommerceKit check encountered an internal error";const t=["filesChecked","errors","warnings"].every(e=>typeof A[e]==="number");const r=A.errors;const s=A.warnings;const o=A.filesChecked;c=t?e.status==="success"?`${o} files checked with no errors.`:e.status==="warning"?`${s} warnings across ${o} files.`:e.status==="failure"?`${r} errors and ${s} warnings across ${o} files.`:str(A.error?.message)||(e.status==="cancelled"?"The check was cancelled before completion.":"CommerceKit could not complete the check."):str(A.error?.message)||(e.status==="cancelled"?"The check was cancelled before completion.":"CommerceKit could not complete the check.");highlight("Repository",n.repository);add("Mode",A.mode);add("Changed from",A.changedFrom);add("Files checked",A.filesChecked);add("Errors",A.errors);add("Warnings",A.warnings);add("Duration",duration(A.durationMs))}else if(e.eventType==="ccv2.build-cleanup.completed"){i="CommerceKit · CCv2 build cleanup";const t=cleanupDetails(e.status,A,str);a=t.title;c=t.summary;for(const e of t.sections[0].facts)u.push(e);add("Retention days",A.retentionDays);add("Keep latest",A.keepLatest);highlight("Mode",A.mode==="dry-run"?"DRY RUN":"APPLY");add("Subscription",A.subscriptionCode);add("Application",A.applicationCode||"All applications");add("Duration",duration(A.durationMs))}else if(e.eventType.startsWith("ccv2.build.")){i="CommerceKit · CCv2 build";a=e.status==="started"?"CCv2 build started":e.status==="success"?"CCv2 build succeeded":e.status==="failure"?"CCv2 build failed":e.status==="cancelled"?"CCv2 build cancelled":"CCv2 build encountered an internal error";const t=str(A.buildCode),r=str(A.buildName),s=str(A.applicationCode),o=t?`Build ${t}`:"The build",u=str(A.error?.message);c=e.status==="started"?`${o} has started${str(A.branch)?` from ${str(A.branch)}`:""}.`:e.status==="success"?`${o} is ready for deployment.`:e.status==="failure"?u||`${o} failed. Review the workflow run for details.`:e.status==="cancelled"?`${o} was cancelled.`:u||"CommerceKit could not complete the build workflow.";highlight(t?"Build code":r?"Build name":"Application",t||r||s);add("Subscription",A.subscriptionCode);if(l[0]?.label!=="Application")add("Application",A.applicationCode);add("Branch",A.branch);if(l[0]?.label!=="Build name")add("Build name",A.buildName);add("Status",A.buildStatus);add("Duration",duration(A.durationMs));add("Retries",A.retryCount);add("Environment",n.environment)}else{i="CommerceKit · CCv2 deployment";a=e.status==="started"?"CCv2 deployment started":e.status==="action-required"?"CCv2 deployment requires a decision":e.status==="success"?"CCv2 deployment succeeded":e.status==="failure"?"CCv2 deployment failed":e.status==="cancelled"?"CCv2 deployment cancelled":"CCv2 deployment encountered an internal error";const t=str(A.deploymentCode),r=str(A.environmentCode)||str(n.environment),s=t?`Deployment ${t}`:"The deployment",o=r?` in ${r}`:"",u=str(A.error?.message);c=e.status==="started"?`${s} has started${o}.`:e.status==="action-required"?`${s} is waiting for a decision${o}. Review the workflow run to continue.`:e.status==="success"?`${s} completed${o}.`:e.status==="failure"?u||`${s} failed${o}. Review the workflow run for details.`:e.status==="cancelled"?`${s} was cancelled${o}.`:u||"CommerceKit could not complete the deployment workflow.";highlight(t?"Deployment code":"Environment",t||r);if(l[0]?.label!=="Environment")add("Environment",r);add("Subscription",A.subscriptionCode);add("Application",A.applicationCode);add("Build code",A.buildCode);add("Strategy",A.deploymentMode);add("Database update",A.databaseUpdateMode);add("Status",A.deploymentStatus);add("Duration",duration(A.durationMs));add("Decision",A.decisionType)}if(e.eventType!=="check.completed")add("Repository",n.repository);highlight("Occurred",occurred(e.occurredAt));o.push({title:"Result",facts:u},...detailSections(e.status,A,str));const d=(e.links??[]).filter(e=>safeActionLink(e.url,s));const h=d.length>0?d.map(e=>({label:safePlainText(sanitize_sanitizeLabel(str(e.label))),url:e.url})):typeof n.runUrl==="string"&&safeActionLink(n.runUrl,s)?[{label:"View workflow",url:n.runUrl}]:[];const g=[str(n.workflow),str(n.runId)?`Run ${str(n.runId)}`:"",typeof n.runAttempt==="number"?`Attempt ${n.runAttempt}`:""].filter(Boolean).join(" · ");return{category:i,title:a,status:e.status,statusLabel:r.label,icon:r.icon,tone:r.tone,accent:r.accent,summary:sanitize(c).slice(0,1e3)||undefined,highlights:l.slice(0,2),facts:u,...o.length?{sections:o}:{},actions:h.slice(0,3),footer:g?sanitize(g):undefined}}function previewPresentation(e,t){const r=[...e.highlights,...e.facts,...(e.sections??[]).flatMap(e=>e.facts)].filter(({label:e,value:t})=>isConfidentialInputName(e)&&t!=="[REDACTED]").map(({value:e})=>e);let A=false;const text=(e,n=t)=>{const s=[...sanitizeActionText(e,Number.MAX_SAFE_INTEGER,r)];const o="… [truncated]";if(s.length<=n)return s.join("");A=true;return`${s.slice(0,n-o.length).join("")}${o}`};const facts=e=>e.map(({label:e,value:t})=>({label:text(e,100),value:isConfidentialInputName(e)?"[REDACTED]":text(t)}));const n={...e,category:text(e.category,100),title:text(e.title,120),summary:e.summary?text(e.summary,Math.min(1e3,t*4)):undefined,highlights:facts(e.highlights),actions:e.actions.filter(e=>safeActionLink(e.url,r)).map(e=>({label:text(e.label,75),url:e.url})),facts:facts(e.facts),...e.sections?{sections:e.sections.map(e=>({title:text(e.title,100),facts:facts(e.facts)}))}:{},footer:e.footer?text(e.footer,256):undefined};if(A)n.footer=`${n.footer?`${n.footer} · `:""}⚠️ Display values were truncated; review the workflow report.`;return n}const esc=e=>e.replace(/&/g,"&").replace(//g,">").replace(/@/g,"@").replace(/[\r\n\u2028\u2029]/g," ");const field=e=>({type:"mrkdwn",text:`*${esc(e.label)}*\n${escapeMrkdwn(esc(e.value))}`.slice(0,2e3),verbatim:true});function renderSlack(e){const t=previewPresentation(e,256);const r=t.sections?.some(e=>e.title==="Result");const A=[{type:"context",elements:[{type:"plain_text",text:`${t.category} · ${t.statusLabel}`.slice(0,300),emoji:false}]}];const n=[{type:"header",text:{type:"plain_text",text:`${t.icon} ${t.title}`.slice(0,150),emoji:true}}];if(t.highlights.length)n.push({type:"section",fields:t.highlights.slice(0,2).map(field)});if(t.highlights.length&&(t.summary||t.facts.length))n.push({type:"divider"});if(t.summary)n.push({type:"section",text:{type:"plain_text",text:t.summary.slice(0,3e3),emoji:true}});const s=[...t.facts.length&&!r?[{title:"Result",facts:t.facts}]:[],...t.sections??[]];for(const e of s){n.push({type:"section",text:{type:"plain_text",text:e.title.slice(0,3e3),emoji:false}});for(let t=0;t({type:"button",text:{type:"plain_text",text:e.label.slice(0,75)},url:e.url,action_id:`notification_action_${t}`}))});if(t.footer)n.push({type:"context",elements:[{type:"plain_text",text:t.footer.slice(0,500),emoji:true}]});const o=[t.statusLabel,t.title,t.highlights.find(e=>e.label!=="Occurred")?.value,t.actions[0]?.label&&t.actions[0]?.url,t.summary].filter(Boolean).join(" · ");const i=escapeMrkdwn(esc(o));if(n.length+A.length>50)throw new Error("Slack message exceeds the Block Kit block limit.");return{text:i.length>3900?`${i.slice(0,3899)}…`:i,mrkdwn:false,blocks:A,attachments:[{color:t.accent,blocks:n}],unfurl_links:false,unfurl_media:false}}function escapeMrkdwn(e){return e.replace(/\\/g,"\\\\").replace(/([*_`~])/g,"\\$1")}var be=__nccwpck_require__(4573);const ke=27*1024;function renderTeams(e){for(const t of[256,128,64,32]){const r=renderTeamsPreview(previewPresentation(e,t));if(be.Buffer.byteLength(JSON.stringify(r),"utf8")<=ke)return r}throw new Error("Teams Workflow card exceeds the 27 KiB safety limit.")}function renderTeamsPreview(e){const t=e.sections?.some(e=>e.title==="Result");const r=[{type:"Container",style:{info:"accent",success:"good",warning:"warning",danger:"attention",neutral:"default"}[e.tone],items:[{type:"TextBlock",text:`${safeText(e.category)} · ${e.icon} ${safeText(e.statusLabel)}`,size:"Small",weight:"Bolder",wrap:true},{type:"TextBlock",text:safeText(e.title),weight:"Bolder",size:"Large",wrap:true,spacing:"Medium"},...e.summary?[{type:"TextBlock",text:safeText(e.summary),wrap:true,spacing:"Medium"}]:[]]}];if(e.highlights.length)r.push({type:"FactSet",facts:e.highlights.slice(0,2).map(e=>({title:safeText(e.label),value:safeText(e.value)})),spacing:"Medium"});const A=[...e.facts.length&&!t?[{title:"Result",facts:e.facts}]:[],...e.sections??[]];for(const e of A){r.push({type:"TextBlock",text:safeText(e.title),weight:"Bolder",wrap:true,spacing:"Medium"});for(let t=0;t({title:safeText(e.label),value:safeText(e.value)})),spacing:"Small"})}if(e.footer)r.push({type:"TextBlock",text:safeText(e.footer),isSubtle:true,size:"Small",wrap:true,spacing:"Medium"});const n={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",contentUrl:null,content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:r,...e.actions.length?{actions:e.actions.slice(0,3).map(e=>({type:"Action.OpenUrl",title:safeText(e.label),url:e.url}))}:{}}}]};return n}function safeText(e){return sanitize(e).replace(/\\/g,"\\\\").replace(/([*_`~\x5B\x5D<>])/g,"\\$1").replace(/\r?\n/g," ")}var De=__nccwpck_require__(7030);const Re=new De.BlockList;for(const[e,t]of[["0.0.0.0",8],["10.0.0.0",8],["127.0.0.0",8],["169.254.0.0",16],["172.16.0.0",12],["192.168.0.0",16]])Re.addSubnet(e,t,"ipv4");Re.addAddress("::","ipv6");Re.addAddress("::1","ipv6");Re.addSubnet("fc00::",7,"ipv6");Re.addSubnet("fe80::",10,"ipv6");function validateWebhook(e,t){if(/[\u0000-\u001f\u007f]/.test(e))throw new Error("Webhook URL contains control characters.");let r;try{r=new URL(e)}catch{throw new Error("Webhook URL is malformed.")}if(r.protocol!=="https:"||r.username||r.password||r.hash||!r.hostname)throw new Error("Webhook URL must use HTTPS without credentials or fragments.");const A=r.hostname.toLowerCase().replace(/^\[|\]$/g,"");if(t==="slack"&&!["hooks.slack.com","hooks.slack-gov.com"].includes(A))throw new Error("Slack webhook URL must use an official Slack webhook host.");if(t==="teams-workflow"){const e=A.replace(/\.$/,"");if(e==="localhost"||e.endsWith(".localhost")||e.endsWith(".local"))throw new Error("Teams webhook URL cannot use a local host.");const t=(0,De.isIP)(A);if(t&&Re.check(A,t===6?"ipv6":"ipv4"))throw new Error("Teams webhook URL cannot use a private, loopback, link-local, or unspecified address.")}return r}function retryAfterMs(e,t=Date.now()){if(!e)return undefined;const r=Number(e);const A=Number.isFinite(r)?r*1e3:Date.parse(e)-t;if(!Number.isFinite(A)||A<0)return undefined;return Math.min(A,5e3)}const Se=new Set([429,500,502,503,504]);async function deliver(e,t,r,A=fetch,n=e=>new Promise(t=>setTimeout(t,e))){let s="Notification delivery failed.";for(let o=1;o<=3;o++){let i;try{const e=new AbortController,n=setTimeout(()=>e.abort(),1e4);try{i=await A(t,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(r),redirect:"error",credentials:"omit",signal:e.signal})}finally{clearTimeout(n)}}catch(e){const t=e instanceof Error?e.cause:undefined;if(t instanceof Error&&/unexpected redirect/i.test(t.message))throw Object.assign(new Error("Notification webhook redirected; redirects are not allowed."),{attempts:o});const r=e instanceof Error&&e.name==="AbortError";s=r?"Notification request timed out.":"Notification request failed due to a network error.";if(o===3)throw Object.assign(new Error(s),{attempts:o})}if(i){if(i.status>=200&&i.status<300)return{attempts:o};s=`${e==="slack"?"Slack":"Teams Workflow"} webhook returned HTTP ${i.status}${o===3?"; retry limit exhausted.":"."}`;if(!Se.has(i.status)||o===3)throw Object.assign(new Error(s),{attempts:o})}const a=i?retryAfterMs(i.headers.get("retry-after")):undefined;await n(a??Math.min(250*2**(o-1),1e3))}throw Object.assign(new Error(s),{attempts:3})}const Fe={repository:["GITHUB_REPOSITORY",200],ref:["GITHUB_REF",300],commit:["GITHUB_SHA",128],actor:["GITHUB_ACTOR",128],workflow:["GITHUB_WORKFLOW",200],job:["GITHUB_JOB",200],runId:["GITHUB_RUN_ID",64]};function extractSafeGitHubContext(e){const t={};for(const[r,[A,n]]of Object.entries(Fe)){const s=e[A]?.trim();if(!s||s.length>n||/[\u0000-\u001f\u007f-\u009f]/.test(s))continue;if(r==="repository"&&!/^[A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+$/.test(s))continue;if(r==="runId"&&!/^\d+$/.test(s))continue;t[r]=s}const r=Number(e.GITHUB_RUN_ATTEMPT);if(Number.isSafeInteger(r)&&r>=1)t.runAttempt=r;try{const r=validateGitHubRunUrl(e.GITHUB_SERVER_URL??"https://github.com");if(r.search||r.pathname!=="/")throw Error();if(t.repository&&t.runId)t.runUrl=validateGitHubRunUrl(`${r.origin}/${t.repository}/actions/runs/${t.runId}`).href}catch{}return t}function merge(e,t){const r={...e};for(const[e,A]of Object.entries(t))if(e!=="runUrl"&&(r[e]===undefined||r[e]===""))r[e]=A;if((r.runUrl===undefined||r.runUrl==="")&&t.runUrl){const e=validateGitHubRunUrl(t.runUrl).origin;if(typeof r.repository==="string"&&/^[A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+$/.test(r.repository)&&typeof r.runId==="string"&&/^\d+$/.test(r.runId))r.runUrl=`${e}/${r.repository}/actions/runs/${r.runId}`}if(r.runUrl!==undefined)validateGitHubRunUrl(r.runUrl);return r}function mergeProducerContext(e,t){return merge(e,t)}function mergeNotifierContext(e,t){return merge(e,t)}function enrichContext(e,t=process.env){const r=e.context??{};const A=extractSafeGitHubContext({...t,GITHUB_SERVER_URL:t.GITHUB_SERVER_URL?.trim()||"",GITHUB_REPOSITORY:r.repository||t.GITHUB_REPOSITORY,GITHUB_RUN_ID:r.runId||t.GITHUB_RUN_ID});return{...e,context:mergeNotifierContext(r,A)}}function renderActionSummary(e){const t=[...e.secrets??[],...Object.entries(e.inputContext?.inputs??{}).filter(([e])=>isConfidentialInputName(e)).map(([,e])=>e==="[REDACTED]"?"":e)];let r=false;const text=(e,A=256)=>{const n=[...sanitizeActionText(String(e),Number.MAX_SAFE_INTEGER,t)];if(n.length>A)r=true;const s=n.length>A?`${n.slice(0,A-13).join("")}… [truncated]`:n.join("");return s.replace(/&/g,"&").replace(//g,">").replace(/([\\`*_[\]{}()|!#~])/g,"\\$1").replace(/@/g,"@").replace(/[\r\n\u2028\u2029]/g," ")};const A=getNotificationStyle(e.status);const n=[`## ${A.icon} ${text(e.title,200)} — ${A.label}`,""];const table=(e,t,A,s=50)=>{n.push(`### ${text(e,100)}`,"",`| ${t.slice(0,8).map(e=>text(e,80)).join(" | ")} |`,`| ${t.slice(0,8).map(()=>"---").join(" | ")} |`);for(const e of A.slice(0,s))n.push(`| ${e.slice(0,8).map(e=>text(e)).join(" | ")} |`);n.push("");if(A.length>s||t.length>8||A.some(e=>e.length>8))r=true};if(e.description)n.push(text(e.description,1e3),"");if(e.facts?.length)table("Result",["Detail","Value"],e.facts.map(({label:e,value:t})=>[e,t]));if(e.inputContext){const t=e.inputContext;table("Inputs",["Input","Value"],Object.entries(t.inputs).map(([e,t])=>[e,isConfidentialInputName(e)?"[REDACTED]":t]));n.push(`Validated: ${t.inputsValidated}; truncated: ${t.inputsTruncated}.`,"");if(!t.inputsValidated)n.push("⚠️ Input validation did not complete; values reflect safely captured settings.","");if(t.inputsTruncated)n.push("⚠️ Some input values were truncated before reporting.","")}const s=[...e.error?[e.error]:[],...e.issues??[]];if(s.length)table("Issues",["Code","Detail"],s.map(e=>[e.code??"unreported",e.message]),4);for(const t of(e.sections??[]).slice(0,8))table(t.title,t.headers,t.rows);if((e.sections?.length??0)>8)r=true;const o=[];if((e.links?.length??0)>3)r=true;for(const r of(e.links??[]).slice(0,3)){try{const e=validateNotificationLink(r.url);if([...e.searchParams.entries()].some(([e,r])=>isConfidentialInputName(e)||/^(sig|signature|code|key|auth)$/i.test(e)||sanitizeActionText(r,Number.MAX_SAFE_INTEGER,t)!==r)||redactJwtLikeTokens(redactKnownSecrets(r.url,t))!==r.url||sanitizeActionText(e.origin,2048)!==e.origin)continue;o.push(`[${text(r.label,80)}](${e.href.replace(/\(/g,"%28").replace(/\)/g,"%29")})`)}catch{}}if(o.length)n.push("### Workflow","",o.join(" · "),"");const i=64*1024-256;let a="";for(const e of n){if((new TextEncoder).encode(a+e+"\n").length>i){r=true;break}a+=`${e}\n`}if(r)a+="\n⚠️ Some details were omitted due to summary limits.\n";return a}const Ne=[{name:"provider"},{name:"event-json",display:"presence"},{name:"event-file",display:"presence"},{name:"webhook-url",confidential:true},{name:"fail-on-notification-error"}];function safeNotifyMessage(e,t){if(e&&typeof e==="object"&&"code"in e&&["ENOENT","EACCES","EPERM","EISDIR"].includes(String(e.code)))return"Event file could not be read. Check that event-file points to a readable regular file.";const r=e instanceof Error?e.message:"";if(/^(?:provider must be slack or teams-workflow\.|webhook-url is required\.|fail-on-notification-error must be true or false\.|Supply exactly one of event-json or event-file\.|Webhook URL (?:contains control characters|is malformed|must use HTTPS without credentials or fragments)\.|Slack webhook URL must use an official Slack webhook host\.|Teams webhook URL cannot use a (?:local host|private, loopback, link-local, or unspecified address)\.|event-file must be a regular non-symbolic-link file\.|event-file exceeds the 64 KiB limit\.|Event (?:JSON exceeds the 64 KiB limit|input is not valid JSON)\.|Invalid NotificationEvent v1 JSON object: check schema version, data and eventType\/status combination\.|NotificationEvent links and context\.runUrl must be bounded HTTPS URLs without credentials or fragments\.|Notification webhook redirected; redirects are not allowed\.|Notification request (?:timed out|failed due to a network error)\.|(?:Slack|Teams Workflow) webhook returned HTTP \d{3}(?:; retry limit exhausted)?\.|Teams Workflow card exceeds the 27 KiB safety limit\.|Slack message exceeds the Block Kit block limit\.)$/u.test(r))return sanitizeActionText(r,1e3,t);return"Notification action failed. Review the configured inputs and workflow logs."}async function reportDelivery(e){try{const t=[e.rawInputs["webhook-url"]??""];const r=extractSafeGitHubContext(process.env);const A=createActionInputContext(Ne,e.rawInputs,{validated:e.inputsValidated,effective:{"fail-on-notification-error":e.rawInputs["fail-on-notification-error"]||"false"},secrets:t});const n=renderActionSummary({title:"CommerceKit Notifications",status:e.severity,description:e.delivered?"The notification was delivered.":"The notification was not delivered.",inputContext:A,facts:[{label:"Delivered",value:e.delivered},{label:"Provider",value:e.provider||"Not validated"},{label:"Event type",value:e.eventType||"Not parsed"},{label:"Source outcome",value:e.sourceStatus||"Not parsed"},{label:"Delivery attempts",value:e.attempts},{label:"Duration (ms)",value:e.durationMs}],...e.error?{error:{code:!e.inputsValidated?"notification-configuration-failed":e.attempts?"notification-not-delivered":"notification-payload-failed",message:e.error}}:{},...e.outputFailure?{issues:[{code:"notification-output-failure",message:"One or more Action outputs could not be written. The known delivery result and attempt count are preserved above."}]}:{},...r.runUrl?{links:[{label:"View workflow",url:r.runUrl}]}:{},secrets:t});await v.addRaw(n).write()}catch{warning("Notification job summary could not be written; delivery outputs and the Action outcome are preserved.")}}async function runAction(){const e=Date.now();let t={};let r="",A="",n="";let s=0;let o=false;let i=false;let a="failure";let c;let l;try{t=captureActionInputs(Ne,e=>getInput(e),core_setSecret);const e=t["fail-on-notification-error"]||"false";const l=t["provider"];if(l!=="slack"&&l!=="teams-workflow")throw new Error("provider must be slack or teams-workflow.");r=l;const u=t["webhook-url"];if(!u)throw new Error("webhook-url is required.");if(!["true","false"].includes(e))throw new Error("fail-on-notification-error must be true or false.");const d=await parseEvent({json:t["event-json"]||undefined,file:t["event-file"]||undefined});const h=enrichContext(d);A=String(h.eventType);n=String(h.status);const g=validateWebhook(u,l);o=true;const f=createPresentation(h,[u]);const E=l==="slack"?renderSlack(f):renderTeams(f);try{const e=await deliver(l,g,E);s=e.attempts;i=true;a="success"}catch(t){const r=t&&typeof t==="object"&&"attempts"in t?t.attempts:undefined;s=typeof r==="number"&&Number.isSafeInteger(r)&&r>=0&&r<=3?r:0;c=safeNotifyMessage(t,[u]);if(e==="true")throw t;a="warning";warning(c)}}catch(e){a="failure";c=safeNotifyMessage(e,[t["webhook-url"]??""]);l=c}finally{let u=false;for(const[e,t]of[["delivered",i?"true":"false"],["provider",r],["event-type",A],["status",n],["attempts",String(s)]]){try{setOutput(e,t)}catch{u=true}}if(u){a="failure";l??="Notification delivery state was preserved, but one or more Action outputs could not be written."}await reportDelivery({rawInputs:t,inputsValidated:o,severity:a,delivered:i,provider:r,eventType:A,sourceStatus:n,attempts:s,outputFailure:u,durationMs:Math.max(0,Date.now()-e),...c?{error:c}:{}});if(l)setFailed(l)}}runAction().catch(()=>{setFailed("Notification action failed unexpectedly.")}); \ No newline at end of file diff --git a/docs/cleanup-notification-validation.md b/docs/cleanup-notification-validation.md index 835182e..e8d9d8b 100644 --- a/docs/cleanup-notification-validation.md +++ b/docs/cleanup-notification-validation.md @@ -1,5 +1,11 @@ # Cleanup notification validation +> This report records the earlier published 0.0.5 baseline. Current ecosystem UI +> and summary candidate evidence is in +> [ecosystem-reporting-validation.md](ecosystem-reporting-validation.md). Historical +> claims about unchanged non-cleanup snapshots do not describe the intentional +> common-layout updates in the new candidate. + ## Published registry integration The notification-contract publication gate is resolved. Notify pins the exact diff --git a/docs/ecosystem-reporting-validation.md b/docs/ecosystem-reporting-validation.md new file mode 100644 index 0000000..4d7d2a9 --- /dev/null +++ b/docs/ecosystem-reporting-validation.md @@ -0,0 +1,89 @@ +# Ecosystem reporting consistency validation + +## Published dependency and provenance + +The owner-authorized [package-only run 43678067818](https://github.com/commercekit-tools/action-kit/actions/runs/43678067818) +published exact `@commercekit-tools/notification-contract@0.0.6` from action-kit +main `3fecce40414d709884fa48e48eca278f470b20b0` after main CI/CodeQL passed. +Notify now uses that actual registry dependency, lockfile and standalone bundle. +No candidate switch, local file dependency or shared-source checkout is required. + +- Inspected Notify main: `6331ff4a60956a3a2b546e84d737c9338ca46bda`. +- Feature source before registry adoption: `41e699d13bd183bd51551e45c386cf9e8f77d6dd`. +- Registry integrity: + `sha512-n6F84900sDPBeYm5dnf8HLCM9B2DUVATEeF717dqKsSXTJtq1FIj/3hZ2UcNTtXe7v8R90HYF6HIom4auM8Kyw==`. +- Registry shasum: `8030f643d1dd6d741caa2c3c0ba321ad82b30cca`. +- Published artifact SHA256: + `e4b79576328c2992a96fed087e9ba6e63970e8b54d6fca976a6652702a7a73a9`. +- Normal standalone bundle SHA256: + `e9142b35852702017cd44d067c3681ad1bb6e5c2b13ec6f4d666919539d4ac92`, + byte-identical to the reviewed private candidate. + +Required public APIs and installed version were verified. The schema check now +requires the exact published version and manifest pin; candidate escape paths +were removed. No new package, replacement schema, OAuth/transport subsystem or +duplicated delivery implementation was introduced. + +## Behavior verified + +All five event families use the shared status map and Result/Inputs/Issues +sections. Every supplied input name survives provider bounds; legacy inputs are +explicitly unavailable. Source outcomes, integer counters, cancellation, +action-required and deletion-initiation semantics remain accurate. Confidential +names are forced redacted even for direct malformed presentation callers. +Known secrets, including encoded variants and the current webhook, redact across +inputs, context, error/issue text and links before escaping/truncation. + +Notify captures its five inputs with webhook masking first. Event JSON and file +paths are represented only by presence. Its own GitHub summary separates delivery +from source outcome: successful delivery of a failure event remains delivery +success; default delivery failure is a warning; fatal delivery/configuration +failures remain failure. Independent output-write faults retain accepted delivery +and attempts as a separate Action contract issue. Summary failures preserve the +original outcome. No resend was introduced. + +## Executed normal registry checks + +Status vocabulary: PASS, FAIL, BLOCKED, NOT RUN. + +| Check | Status | Evidence | +| ------------------------------------------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | +| Frozen registry install and public exports | PASS | Exact 0.0.6 and all reporting APIs verified | +| Full normal quality | PASS | 188 tests/13 files; no candidate environment flag | +| Coverage | PASS | 98.12% statements, 93.22% branches, 97.29% functions, 98.95% lines; existing configuration unchanged, no exclusions or threshold changes | +| Actual standalone bundle | PASS | 58 process cases without node_modules/registry credentials; all provider fetches mocked | +| Public schema and provider snapshots | PASS | 20 fixtures and 40 intentionally updated common-layout snapshots with independent semantic assertions | +| Bounds and reporting faults | PASS | 21 Unicode-valued inputs plus maximum errors/issues/links; Teams 27 KiB/Slack 50 blocks; first-one/first-two output faults preserve accepted delivery | +| Bundle consistency, scan, audit and workflow lint | PASS | Byte-consistent bundle; scan passed; no known vulnerabilities; actionlint/diff checks passed | +| Final hosted checks | NOT RUN | Current-head normal CI and CodeQL must pass before merge | +| Live Slack/Teams smoke | NOT RUN | Explicit test-send workflow was not dispatched | + +Commands actually executed: normal `pnpm install --frozen-lockfile`, public-export +assertions, `pnpm bundle`, complete `pnpm quality`, actionlint and diff checks. +The quality gate covers formatting, lint, strict types, schema/fixture checks, +coverage, bundle consistency, public scan and production audit. Registry +publication/bundle compatibility is resolved; hosted final-head checks remain +required and are not bypassed. + +The standalone matrix covers every fixture for both providers, setup outcomes, +fatal/nonfatal delivery errors, invalid payloads, file privacy, reflected/encoded +webhook masking and output-file fault preservation. No real provider request or +SAP call was made. + +## Historical candidate phase + +Exact-source private tarballs were tested before publication, including the +privacy-fixed source `475cc4db42f79310240496201f90d7047aa54330`. Their integrity +matches the published package. The old preparation procedure is archived at +immutable Notify commit +[`41e699d13bd183bd51551e45c386cf9e8f77d6dd`](https://github.com/commercekit-tools/notify/tree/41e699d13bd183bd51551e45c386cf9e8f77d6dd). +Normal development no longer needs candidate flags or private file dependencies. + +## Remaining release gates + +Final-head normal CI and CodeQL must pass before merge. Producers must emit safe +input context to supply every setting; legacy events cannot supply omitted data. +Action release/Marketplace review and live provider smoke remain separate owner +steps. Passing mocked tests is not evidence of live delivery or production SAP +guarantees. This update creates no Git tag, Action release, deployment, live +provider send, real SAP operation or deletion enablement. diff --git a/docs/notification-event-v1.md b/docs/notification-event-v1.md index 965466e..c2549f9 100644 --- a/docs/notification-event-v1.md +++ b/docs/notification-event-v1.md @@ -1,16 +1,20 @@ # NotificationEvent v1 +> The ecosystem reporting extension is supplied by exact published contract +> 0.0.6 and bundled for runtime consumers. See +> [registry-backed validation](ecosystem-reporting-validation.md). + NotificationEvent is a provider-neutral JSON contract. Producers create a compact event; this Action validates it and turns it into a shared presentation before rendering a provider payload. -Required members are `schemaVersion: 1`, `eventId`, `eventType`, `status`, ISO date-time `occurredAt`, `source` (`product: commercekit`, one of `cli-check`, `ccv2-build`, `ccv2-deploy`, `ccv2-build-cleanup`, `workflow`), and event-specific `data`. Optional `context` fields include repository, ref, commit, actor, workflow, job, runId, runAttempt, runUrl, and environment. Up to three HTTPS links may be included. +Required members are `schemaVersion: 1`, `eventId`, `eventType`, `status`, ISO date-time `occurredAt`, `source` (`product: commercekit`, one of `setup-commercekit`, `cli-check`, `ccv2-build`, `ccv2-deploy`, `ccv2-build-cleanup`, `workflow`), and event-specific `data`. Optional `context` fields include repository, ref, commit, actor, workflow, job, runId, runAttempt, runUrl, and environment. Up to three HTTPS links may be included. -Supported event types: `ccv2.build-cleanup.completed`, `check.completed`, `ccv2.build.started`, `ccv2.build.completed`, `ccv2.deployment.started`, `ccv2.deployment.action-required`, `ccv2.deployment.completed`. Statuses: `started`, `success`, `warning`, `failure`, `cancelled`, `internal-error`, `action-required`. Compatibility rules are checked in code and represented in the schema. +Supported event types: `commercekit.setup.completed`, `ccv2.build-cleanup.completed`, `check.completed`, `ccv2.build.started`, `ccv2.build.completed`, `ccv2.deployment.started`, `ccv2.deployment.action-required`, `ccv2.deployment.completed`. Statuses: `started`, `success`, `warning`, `failure`, `cancelled`, `internal-error`, `action-required`. Compatibility rules are checked in code and represented in the schema. Check data may contain mode, changedFrom, filesChecked, errors, warnings, durationMs, and a safe error summary. Build data may contain subscriptionCode, applicationCode, buildCode, buildName, branch, buildStatus, durationMs, retryCount, and error. Deployment data may contain subscriptionCode, applicationCode, deploymentCode, buildCode, environmentCode, deploymentMode, databaseUpdateMode, deploymentStatus, durationMs, decisionType, and error. The error object has optional code and required message. Source contents, diagnostics, credentials, raw API responses, and provider payloads are outside the contract. All input is limited to 64 KiB. Strings and arrays have schema bounds. Additive unknown fields are ignored and never rendered; unknown event types and schema versions fail. Additive optional fields preserve v1; changed meaning or removed required fields require a new schema version. Event schema, Action, and producer versions evolve independently. -The machine-readable schema is available through the public `@commercekit-tools/notification-contract/schema` export (JSON import attribute required). Notify pins package version `0.0.5`; package SemVer and event schemaVersion are independent. +The machine-readable schema is available through the public `@commercekit-tools/notification-contract/schema` export (JSON import attribute required). Notify pins package version `0.0.6`; package SemVer and event schemaVersion are independent. For `check.completed` with `success`, `warning`, or `failure`, `data.filesChecked`, `data.errors`, and `data.warnings` are required non-negative integers. They may be omitted for `cancelled` and `internal-error`. `context.runUrl`, like every event link, must be a bounded HTTPS URL without credentials or fragment. The Action may fill missing context fields from the documented GitHub Actions environment variables; it does not read the full GitHub event payload or copy arbitrary environment values. @@ -18,7 +22,7 @@ The optional `links` array carries operational destinations supplied by the prod ## Shared notification language -The presentation calls the three operations **CommerceKit check**, **CCv2 build**, and **CCv2 deployment**. Across operations, common outcomes use the same title endings: **succeeded**, **failed**, **cancelled**, and **encountered an internal error**. The shared status theme supplies the same textual status and icon to Slack and Teams Workflows. **Completed with warnings** applies to checks and cleanup; **action required** applies to deployments. A failed operation and an internal CommerceKit error remain distinct statuses. Operation-specific summaries and facts explain what happened without changing that outcome vocabulary. +The baseline presentation calls the three operations **CommerceKit check**, **CCv2 build**, and **CCv2 deployment**. Across operations, common outcomes use the same title endings: **succeeded**, **failed**, **cancelled**, and **encountered an internal error**. The shared status theme supplies the same textual status and icon to Slack and Teams Workflows. **Completed with warnings** applies to checks and cleanup; **action required** applies to deployments. A failed operation and an internal CommerceKit error remain distinct statuses. Operation-specific summaries and facts explain what happened without changing that outcome vocabulary. The schema `$id` is a logical canonical identifier, not a runtime download endpoint. Runtime validation uses the schema bundled from the installed contract package. This repository no longer vendors a separate schema. @@ -36,5 +40,22 @@ bounded groups. Failure messages include safe error codes/explanations; warnings include their issue codes/explanations. Accepted deletion requests never mean confirmed physical removal. Missing fields in older events are identified as unreported rather than invented. No credentials or raw API responses are added. -Notify consumes published notification-contract 0.0.5 through an exact registry +Notify consumes published notification-contract 0.0.6 through an exact registry dependency and bundles its public runtime exports. The event remains schemaVersion 1. + +## Ecosystem reporting extension + +The existing package owns optional input context and safe issues for check, +build and deployment events, and a new `commercekit.setup.completed` event. The +setup event includes requested/verified version, target, build identity, cache +reuse, duration and safe errors when available. All existing event semantics and +schemaVersion 1 remain unchanged; Build/Deploy completed warnings are not +invented. Input snapshots allow at most 50 bounded values, force confidential +names to `[REDACTED]` and carry validation/truncation flags. + +Both provider renderers use the shared visual status map and Result/Inputs/Issues +layout. Every supplied input name is shown, with bounded previews and explicit +metadata. Missing legacy input context is reported as unavailable. Operational +count meanings, cancellation neutrality, and deployment action-required warnings +are preserved. Dynamic text and validated links also redact the current webhook +and encoded known-secret forms; only safe operational URLs become buttons. diff --git a/docs/shared-contract-migration.md b/docs/shared-contract-migration.md index ca1f841..aa94bf7 100644 --- a/docs/shared-contract-migration.md +++ b/docs/shared-contract-migration.md @@ -1,6 +1,12 @@ # Shared contract migration -The original migration moved the pre-extraction baseline `015479e4340f61598d2125532acf6474381ca976` to `@commercekit-tools/notification-contract@0.0.2`. Notify now pins `0.0.5`; this additive package upgrade preserves the schema, rendering and delivery policies described below. Notify remains unreleased. +Current ecosystem reporting consumes exact published contract 0.0.6; +[registry validation](ecosystem-reporting-validation.md) records its authorized +publication, exact integrity and normal consumer checks. The historical +snapshot-preservation statements below describe earlier extraction/adoption. The +present UI intentionally updates all 40 provider snapshots to common sections. + +The original migration moved the pre-extraction baseline `015479e4340f61598d2125532acf6474381ca976` to `@commercekit-tools/notification-contract@0.0.2`. Notify now pins `0.0.6`; existing event semantics and delivery policies remain, while the common presentation update is documented separately. Notify remains unreleased. ## Ownership inventory @@ -66,3 +72,27 @@ normal registry validation and archived candidate provenance are recorded in [cleanup validation](cleanup-notification-validation.md). This dependency update creates no Action release or Git release tag and does not authorize deployment, provider delivery or real SAP operations. + +## Ecosystem reporting 0.0.6 adoption + +The existing contract supplies shared input context, visual status primitives, +pure GitHub summary rendering and setup completion support. Notify retains +provider escaping, bounded card layout and delivery policy. Its theme adapts the +shared style without redefining colors/icons. Every event family uses consistent +Result/Inputs/Issues sections and explicit legacy-context absence; no nine-fact +truncation silently drops context. Own Notify summaries report delivery separately +from source outcome and preserve known accepted delivery during reporting faults. + +The owner-authorized package-only publication run +[43678067818](https://github.com/commercekit-tools/action-kit/actions/runs/43678067818) +published 0.0.6 from main `3fecce40414d709884fa48e48eca278f470b20b0`. +Actual registry integrity matches the reviewed private candidate. Normal source +now uses an exact registry dependency/lockfile and regenerated standalone bundle; +no candidate switch, local file link, vendored schema or action-kit source +checkout is needed. See the validation report for executed normal checks. +Historical candidate preparation remains available at immutable Notify commit +`41e699d13bd183bd51551e45c386cf9e8f77d6dd`. + +Publication does not create an Action release or authorize Git tags, deployment, +live provider sends or real SAP operations. Those release and live-validation +gates remain separate owner decisions. diff --git a/package.json b/package.json index 1b0864d..69457ad 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ }, "dependencies": { "@actions/core": "3.0.1", - "@commercekit-tools/notification-contract": "0.0.5" + "@commercekit-tools/notification-contract": "0.0.6" }, "devDependencies": { "@eslint/js": "10.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ad3ce80..bdf7421 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -173,8 +173,8 @@ importers: specifier: 3.0.1 version: 3.0.1 '@commercekit-tools/notification-contract': - specifier: 0.0.5 - version: 0.0.5 + specifier: 0.0.6 + version: 0.0.6 devDependencies: '@eslint/js': specifier: 10.0.1 @@ -248,8 +248,8 @@ packages: '@cacheable/utils@2.5.0': resolution: {integrity: sha512-buipgOVDkkPXNR5+xBpDw7Zk2n1EvU7qBJCNUcL7rhQ//kfpOXPAvQ511Os0vpLYJ1pZnvudNytkQt2hst3wqA==} - '@commercekit-tools/notification-contract@0.0.5': - resolution: {integrity: sha512-SMcyyWaeHdtlztt99xtWlJycSAspSTGvCaWJH7M2+u+on77JHwo8boTBOc9UUC0BQHDPo/VHmOj4gpt/XIbqmw==, tarball: https://npm.pkg.github.com/download/@commercekit-tools/notification-contract/0.0.5/dba01de9635ba79f14ac2bb477c8c828dd4d223f} + '@commercekit-tools/notification-contract@0.0.6': + resolution: {integrity: sha512-n6F84900sDPBeYm5dnf8HLCM9B2DUVATEeF717dqKsSXTJtq1FIj/3hZ2UcNTtXe7v8R90HYF6HIom4auM8Kyw==, tarball: https://npm.pkg.github.com/download/@commercekit-tools/notification-contract/0.0.6/8030f643d1dd6d741caa2c3c0ba321ad82b30cca} engines: {node: '>=24.21.0'} '@eslint-community/eslint-utils@4.10.1': @@ -1147,7 +1147,7 @@ snapshots: hashery: 1.5.1 keyv: 5.6.0 - '@commercekit-tools/notification-contract@0.0.5': + '@commercekit-tools/notification-contract@0.0.6': dependencies: ajv: 8.20.0 ajv-formats: 3.0.1(ajv@8.20.0) diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 68c5b8c..4de29fc 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,4 +1,4 @@ minimumReleaseAgeExclude: - - '@commercekit-tools/notification-contract@0.0.5' + - '@commercekit-tools/notification-contract@0.0.6' overrides: minimatch: 11.0.1 diff --git a/scripts/schema-check.mjs b/scripts/schema-check.mjs index f323028..8e2eb5a 100644 --- a/scripts/schema-check.mjs +++ b/scripts/schema-check.mjs @@ -7,8 +7,8 @@ import { parseNotificationEventJson } from '@commercekit-tools/notification-cont const root = new URL('../', import.meta.url); const manifest = JSON.parse(await readFile(new URL('package.json', root), 'utf8')); -assert.equal(metadata.version, '0.0.5'); -assert.equal(manifest.dependencies['@commercekit-tools/notification-contract'], '0.0.5'); +assert.equal(metadata.version, '0.0.6'); +assert.equal(manifest.dependencies['@commercekit-tools/notification-contract'], '0.0.6'); assert.equal(schema.$schema, 'https://json-schema.org/draft/2020-12/schema'); assert.equal(schema.properties.schemaVersion.const, 1); assert(!existsSync(new URL('schema/notification-event-v1.schema.json', root)), 'Local schema must not be vendored.'); @@ -22,6 +22,7 @@ assert.deepEqual( [...types].sort(), [ 'ccv2.build-cleanup.completed', + 'commercekit.setup.completed', 'check.completed', 'ccv2.build.started', 'ccv2.build.completed', @@ -31,6 +32,4 @@ assert.deepEqual( ].sort(), ); assert.deepEqual([...schema.properties.eventType.enum].sort(), [...types].sort()); -console.log( - 'Published notification contract 0.0.5: public schema export, all fixtures and supported event types verified.', -); +console.log('Published notification contract 0.0.6: public schema, fixtures and event types verified.'); diff --git a/src/action.ts b/src/action.ts index 08de1e4..00d0937 100644 --- a/src/action.ts +++ b/src/action.ts @@ -1,4 +1,5 @@ import * as core from '@actions/core'; +import { captureActionInputs } from '@commercekit-tools/notification-contract'; import { parseEvent } from './event/parse.js'; import { createPresentation } from './presentation/create-presentation.js'; import { renderSlack } from './providers/slack/render.js'; @@ -6,52 +7,90 @@ import { renderTeams } from './providers/teams-workflow/render.js'; import { validateWebhook } from './delivery/url-validation.js'; import { deliver } from './delivery/webhook.js'; import { enrichContext } from './event/enrich-context.js'; +import { notifyInputDefinitions, reportDelivery, safeNotifyMessage } from './reporting.js'; export async function runAction(): Promise { + const started = Date.now(); + let rawInputs: Record = {}; let provider = '', eventType = '', - status = '', - attempts = '0'; - let failOn = 'false'; + status = ''; + let attempts = 0; + let inputsValidated = false; + let delivered = false; + let severity: 'success' | 'warning' | 'failure' = 'failure'; + let problem: string | undefined; + let fatalMessage: string | undefined; try { - failOn = core.getInput('fail-on-notification-error') || 'false'; - provider = core.getInput('provider', { required: true }); - if (provider !== 'slack' && provider !== 'teams-workflow') + rawInputs = captureActionInputs(notifyInputDefinitions, (name) => core.getInput(name), core.setSecret); + const failOn = rawInputs['fail-on-notification-error'] || 'false'; + const selected = rawInputs['provider']; + if (selected !== 'slack' && selected !== 'teams-workflow') throw new Error('provider must be slack or teams-workflow.'); - const webhook = core.getInput('webhook-url', { required: true }); - core.setSecret(webhook); + provider = selected; + const webhook = rawInputs['webhook-url']; + if (!webhook) throw new Error('webhook-url is required.'); if (!['true', 'false'].includes(failOn)) throw new Error('fail-on-notification-error must be true or false.'); const parsedEvent = await parseEvent({ - json: core.getInput('event-json') || undefined, - file: core.getInput('event-file') || undefined, + json: rawInputs['event-json'] || undefined, + file: rawInputs['event-file'] || undefined, }); const event = enrichContext(parsedEvent); eventType = String(event.eventType); status = String(event.status); - const url = validateWebhook(webhook, provider); - const presentation = createPresentation(event); - const payload = provider === 'slack' ? renderSlack(presentation) : renderTeams(presentation); + const url = validateWebhook(webhook, selected); + inputsValidated = true; + const presentation = createPresentation(event, [webhook]); + const payload = selected === 'slack' ? renderSlack(presentation) : renderTeams(presentation); try { - const result = await deliver(provider, url, payload); - attempts = String(result.attempts); - core.setOutput('delivered', 'true'); + const result = await deliver(selected, url, payload); + attempts = result.attempts; + delivered = true; + severity = 'success'; } catch (error) { - attempts = String((error as { attempts?: number }).attempts ?? 0); - core.setOutput('delivered', 'false'); - const message = error instanceof Error ? error.message : 'Notification delivery failed.'; + const count = error && typeof error === 'object' && 'attempts' in error ? error.attempts : undefined; + attempts = typeof count === 'number' && Number.isSafeInteger(count) && count >= 0 && count <= 3 ? count : 0; + problem = safeNotifyMessage(error, [webhook]); if (failOn === 'true') throw error; - core.warning(message); + severity = 'warning'; + core.warning(problem); } - core.setOutput('provider', provider); - core.setOutput('event-type', eventType); - core.setOutput('status', status); - core.setOutput('attempts', attempts); } catch (error) { - core.setOutput('delivered', 'false'); - core.setOutput('provider', provider); - core.setOutput('event-type', eventType); - core.setOutput('status', status); - core.setOutput('attempts', attempts); - const safeMessage = error instanceof Error ? error.message : 'Notification action failed.'; - core.setFailed(safeMessage); + severity = 'failure'; + problem = safeNotifyMessage(error, [rawInputs['webhook-url'] ?? '']); + fatalMessage = problem; + } finally { + let outputFailure = false; + for (const [name, value] of [ + ['delivered', delivered ? 'true' : 'false'], + ['provider', provider], + ['event-type', eventType], + ['status', status], + ['attempts', String(attempts)], + ]) { + try { + core.setOutput(name!, value); + } catch { + outputFailure = true; + } + } + if (outputFailure) { + severity = 'failure'; + fatalMessage ??= + 'Notification delivery state was preserved, but one or more Action outputs could not be written.'; + } + await reportDelivery({ + rawInputs, + inputsValidated, + severity, + delivered, + provider, + eventType, + sourceStatus: status, + attempts, + outputFailure, + durationMs: Math.max(0, Date.now() - started), + ...(problem ? { error: problem } : {}), + }); + if (fatalMessage) core.setFailed(fatalMessage); } } diff --git a/src/main.ts b/src/main.ts index 9abcd69..e045990 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,10 +1,5 @@ import { runAction } from './action.js'; import * as core from '@actions/core'; runAction().catch(() => { - core.setOutput('delivered', 'false'); - core.setOutput('provider', ''); - core.setOutput('event-type', ''); - core.setOutput('status', ''); - core.setOutput('attempts', '0'); core.setFailed('Notification action failed unexpectedly.'); }); diff --git a/src/presentation/cleanup.ts b/src/presentation/cleanup.ts index d1037f3..fa50994 100644 --- a/src/presentation/cleanup.ts +++ b/src/presentation/cleanup.ts @@ -1,23 +1,6 @@ import type { NotificationStatus } from '@commercekit-tools/notification-contract'; import type { Presentation } from './types.js'; -const inputNames = [ - 'token-endpoint', - 'client-id', - 'client-secret', - 'resource', - 'subscription-code', - 'api-base-url', - 'application-code', - 'retention-days', - 'keep-latest', - 'dry-run', - 'max-deletions', - 'exclude-build-codes', - 'timeout-minutes', - 'continue-on-delete-error', -] as const; -const confidential = new Set(['token-endpoint', 'client-id', 'client-secret', 'resource']); type Data = Record; type Format = (_value: unknown) => string; const object = (value: unknown): Data => @@ -28,14 +11,6 @@ const bound = (value: string, maximum: number): string => { return characters.length > maximum ? `${characters.slice(0, maximum - ending.length).join('')}${ending}` : value; }; -/** Defense for direct presentation callers; validated new events already redact these. */ -export function cleanupConfidentialValues(data: Data): string[] { - const inputs = object(data.inputs); - return [...confidential] - .map((name) => inputs[name]) - .filter((value): value is string => typeof value === 'string' && value.length > 0 && value !== '[REDACTED]'); -} - export function cleanupDetails(status: NotificationStatus, data: Data, format: Format) { const mode = data.mode === 'dry-run' ? 'DRY RUN' : 'APPLY'; const accepted = format(data.deletionRequestedCount) || '0'; @@ -79,57 +54,6 @@ export function cleanupDetails(status: NotificationStatus, data: Data, format: F ['Failed', 'failedCount'], ['Unknown', 'unknownCount'], ].map(([label, key]) => ({ label: label!, value: format(data[key!]) || 'Not reported' })); - const sections: NonNullable = [{ title: 'Cleanup counts', facts: counts }]; - const hasInputs = data.inputs && typeof data.inputs === 'object' && !Array.isArray(data.inputs); - if (hasInputs) { - const inputs = object(data.inputs); - sections.push({ - title: data.inputsValidated === false ? 'Inputs — validation failed' : 'Cleanup inputs', - facts: inputNames.map((name) => ({ - label: name, - value: confidential.has(name) ? '[REDACTED]' : bound(format(inputs[name]) || 'Not included', 256), - })), - }); - } else { - sections.push({ - title: 'Cleanup policy', - facts: [ - { label: 'retention-days', value: format(data.retentionDays) || 'Not reported' }, - { label: 'keep-latest', value: format(data.keepLatest) || 'Not reported' }, - { label: 'Input context', value: 'Complete input context was not included in this event.' }, - ], - }); - } - if (data.inputsTruncated === true || data.inputsValidated === false) { - sections.push({ - title: 'Input notes', - facts: [ - ...(data.inputsValidated === false - ? [{ label: 'Validation', value: 'The supplied inputs were rejected before cleanup started.' }] - : []), - ...(data.inputsTruncated === true - ? [{ label: 'Truncation', value: 'Some input values are truncated; review the workflow configuration.' }] - : []), - ], - }); - } - if (format(error.code) || format(error.message)) { - sections.push({ - title: 'What went wrong', - facts: [ - ...(format(error.code) ? [{ label: 'Error code', value: bound(format(error.code), 100) }] : []), - ...(format(error.message) ? [{ label: 'Error', value: bound(format(error.message), 160) }] : []), - ], - }); - } - if (issues.length) { - sections.push({ - title: 'Cleanup issues', - facts: issues.map((issue, index) => ({ - label: bound(format(issue.code), 100) || `Issue ${index + 1}`, - value: bound(format(issue.message), 160) || 'Review the workflow report.', - })), - }); - } + const sections: NonNullable = [{ title: 'Result', facts: counts }]; return { title, summary, sections }; } diff --git a/src/presentation/create-presentation.ts b/src/presentation/create-presentation.ts index dcd75df..d0acba6 100644 --- a/src/presentation/create-presentation.ts +++ b/src/presentation/create-presentation.ts @@ -1,5 +1,6 @@ import { redactKnownSecrets } from '@commercekit-tools/notification-contract'; -import { cleanupConfidentialValues, cleanupDetails } from './cleanup.js'; +import { cleanupDetails } from './cleanup.js'; +import { confidentialValues, detailSections, safeActionLink } from './details.js'; import type { NotificationEvent } from '@commercekit-tools/notification-contract'; import { sanitize, sanitizeLabel, safePlainText } from './sanitize.js'; import { theme } from './theme.js'; @@ -8,11 +9,11 @@ const stringValue = (v: unknown): string => typeof v === 'string' ? sanitize(v) : typeof v === 'number' && Number.isFinite(v) ? String(v) : ''; const duration = (v: unknown): string => (typeof v === 'number' ? `${Math.round(v / 1000)}s` : ''); const occurred = (value: string): string => `${new Date(value).toISOString().slice(0, 19).replace('T', ' ')} UTC`; -export function createPresentation(event: NotificationEvent): Presentation { +export function createPresentation(event: NotificationEvent, secrets: readonly string[] = []): Presentation { const t = theme[event.status], d = event.data as Record, c = (event.context ?? {}) as Record; - const confidential = event.eventType === 'ccv2.build-cleanup.completed' ? cleanupConfidentialValues(d) : []; + const confidential = [...secrets, ...confidentialValues(d)]; const str = (value: unknown): string => stringValue(typeof value === 'string' ? redactKnownSecrets(value, confidential) : value); const sections: NonNullable = []; @@ -29,7 +30,34 @@ export function createPresentation(event: NotificationEvent): Presentation { const v = str(value); if (v) facts.push({ label, value: v }); }; - if (event.eventType === 'check.completed') { + if (event.eventType === 'commercekit.setup.completed') { + category = 'CommerceKit · CLI setup'; + title = + event.status === 'success' + ? 'CommerceKit CLI setup succeeded' + : event.status === 'warning' + ? 'CommerceKit CLI setup completed with warnings' + : event.status === 'cancelled' + ? 'CommerceKit CLI setup cancelled' + : event.status === 'internal-error' + ? 'CommerceKit CLI setup encountered an internal error' + : 'CommerceKit CLI setup failed'; + summary = + event.status === 'success' + ? `CommerceKit CLI ${str(d.version) || 'installation'} was installed and verified.` + : str((d.error as Record | undefined)?.message) || + (event.status === 'warning' + ? 'CommerceKit CLI setup completed with warnings; review the reported issues.' + : event.status === 'cancelled' + ? 'CommerceKit CLI setup was cancelled before completion.' + : 'CommerceKit CLI setup did not complete.'); + highlight('CLI version', d.version || d.requestedVersion); + add('Requested version', d.requestedVersion); + add('Target', d.target); + add('Build identity', d.buildId); + add('Cache reused', typeof d.cacheHit === 'boolean' ? String(d.cacheHit) : undefined); + add('Duration', duration(d.durationMs)); + } else if (event.eventType === 'check.completed') { category = 'CommerceKit · Check'; title = event.status === 'success' @@ -72,7 +100,9 @@ export function createPresentation(event: NotificationEvent): Presentation { const cleanup = cleanupDetails(event.status, d, str); title = cleanup.title; summary = cleanup.summary; - sections.push(...cleanup.sections); + for (const fact of cleanup.sections[0]!.facts) facts.push(fact); + add('Retention days', d.retentionDays); + add('Keep latest', d.keepLatest); highlight('Mode', d.mode === 'dry-run' ? 'DRY RUN' : 'APPLY'); add('Subscription', d.subscriptionCode); add('Application', d.applicationCode || 'All applications'); @@ -105,6 +135,7 @@ export function createPresentation(event: NotificationEvent): Presentation { ? `${subject} was cancelled.` : error || 'CommerceKit could not complete the build workflow.'; highlight(code ? 'Build code' : name ? 'Build name' : 'Application', code || name || application); + add('Subscription', d.subscriptionCode); if (highlights[0]?.label !== 'Application') add('Application', d.applicationCode); add('Branch', d.branch); if (highlights[0]?.label !== 'Build name') add('Build name', d.buildName); @@ -145,6 +176,8 @@ export function createPresentation(event: NotificationEvent): Presentation { : error || 'CommerceKit could not complete the deployment workflow.'; highlight(code ? 'Deployment code' : 'Environment', code || environment); if (highlights[0]?.label !== 'Environment') add('Environment', environment); + add('Subscription', d.subscriptionCode); + add('Application', d.applicationCode); add('Build code', d.buildCode); add('Strategy', d.deploymentMode); add('Database update', d.databaseUpdateMode); @@ -154,11 +187,12 @@ export function createPresentation(event: NotificationEvent): Presentation { } if (event.eventType !== 'check.completed') add('Repository', c.repository); highlight('Occurred', occurred(event.occurredAt)); - const eventLinks = (event.links ?? []).filter((link) => redactKnownSecrets(link.url, confidential) === link.url); + sections.push({ title: 'Result', facts }, ...detailSections(event.status, d, str)); + const eventLinks = (event.links ?? []).filter((link) => safeActionLink(link.url, confidential)); const links = eventLinks.length > 0 ? eventLinks.map((link) => ({ label: safePlainText(sanitizeLabel(str(link.label))), url: link.url })) - : typeof c.runUrl === 'string' && redactKnownSecrets(c.runUrl, confidential) === c.runUrl + : typeof c.runUrl === 'string' && safeActionLink(c.runUrl, confidential) ? [{ label: 'View workflow', url: c.runUrl }] : []; const footer = [ @@ -178,7 +212,7 @@ export function createPresentation(event: NotificationEvent): Presentation { accent: t.accent, summary: sanitize(summary).slice(0, 1000) || undefined, highlights: highlights.slice(0, 2), - facts: facts.slice(0, 9), + facts, ...(sections.length ? { sections } : {}), actions: links.slice(0, 3), footer: footer ? sanitize(footer) : undefined, diff --git a/src/presentation/details.ts b/src/presentation/details.ts new file mode 100644 index 0000000..81f3928 --- /dev/null +++ b/src/presentation/details.ts @@ -0,0 +1,84 @@ +import { + createActionInputContext, + isConfidentialInputName, + sanitizeActionText, + validateNotificationLink, +} from '@commercekit-tools/notification-contract'; +import type { NotificationStatus } from '@commercekit-tools/notification-contract'; +import type { Presentation } from './types.js'; + +type Data = Record; +type Format = (_value: unknown) => string; +export const objectValue = (value: unknown): Data => + value && typeof value === 'object' && !Array.isArray(value) ? (value as Data) : {}; +export function confidentialValues(data: Data): string[] { + return Object.entries(objectValue(data.inputs)) + .filter(([name, value]) => isConfidentialInputName(name) && typeof value === 'string' && value !== '[REDACTED]') + .map(([, value]) => value as string); +} +export function safeActionLink(value: string, secrets: readonly string[]): boolean { + try { + validateNotificationLink(value); + return sanitizeActionText(value, Number.MAX_SAFE_INTEGER, secrets) === value; + } catch { + return false; + } +} +export function detailSections( + status: NotificationStatus, + data: Data, + format: Format, +): NonNullable { + const provided = objectValue(data.inputs); + const entries = Object.entries(provided); + const inputs: Presentation['facts'] = []; + if (entries.length) { + const validNames = entries.filter(([name]) => /^[a-z][a-z0-9-]{0,63}$/.test(name)).slice(0, 50); + const snapshot = createActionInputContext( + validNames.map(([name]) => ({ name })), + Object.fromEntries(validNames.map(([name, value]) => [name, typeof value === 'string' ? value : ''])), + { validated: data.inputsValidated === true }, + ); + inputs.push( + ...Object.entries(snapshot.inputs).map(([label, value]) => ({ label, value: format(value) || 'Not included' })), + ); + inputs.push( + { + label: 'Input validation', + value: + data.inputsValidated === true ? 'Passed' : data.inputsValidated === false ? 'Incomplete' : 'Not reported', + }, + { + label: 'Input truncation', + value: + data.inputsTruncated === true || snapshot.inputsTruncated + ? 'Some values were truncated; review the workflow configuration.' + : 'No input truncation reported.', + }, + ); + if (entries.length !== validNames.length) + inputs.push({ label: 'Input context limits', value: 'Some invalid or excess input names were omitted.' }); + } else inputs.push({ label: 'Input context', value: 'Complete input context was not included in this event.' }); + const error = objectValue(data.error); + const issues = Array.isArray(data.issues) ? data.issues.slice(0, 3).map(objectValue) : []; + const issueFacts: Presentation['facts'] = [ + ...(format(error.code) ? [{ label: 'Error code', value: format(error.code) }] : []), + ...(format(error.message) ? [{ label: 'Error', value: format(error.message) }] : []), + ...issues.map((issue, index) => ({ + label: format(issue.code) || `Issue ${index + 1}`, + value: format(issue.message) || 'Review the workflow report.', + })), + ]; + if (!issueFacts.length) + issueFacts.push({ + label: 'Details', + value: + status === 'success' || status === 'started' + ? 'No issues were reported in this event.' + : 'Review the workflow for details about this outcome.', + }); + return [ + { title: 'Inputs', facts: inputs }, + { title: 'Issues', facts: issueFacts }, + ]; +} diff --git a/src/presentation/preview.ts b/src/presentation/preview.ts new file mode 100644 index 0000000..207bb47 --- /dev/null +++ b/src/presentation/preview.ts @@ -0,0 +1,50 @@ +import { isConfidentialInputName, sanitizeActionText } from '@commercekit-tools/notification-contract'; +import { safeActionLink } from './details.js'; +import type { Presentation } from './types.js'; + +/** Provider display budget; preserve every field name and explicitly mark shortened values. */ +export function previewPresentation(source: Presentation, maximum: number): Presentation { + const secrets = [ + ...source.highlights, + ...source.facts, + ...(source.sections ?? []).flatMap((section) => section.facts), + ] + .filter(({ label, value }) => isConfidentialInputName(label) && value !== '[REDACTED]') + .map(({ value }) => value); + let limited = false; + const text = (value: string, bound = maximum) => { + const characters = [...sanitizeActionText(value, Number.MAX_SAFE_INTEGER, secrets)]; + const ending = '… [truncated]'; + if (characters.length <= bound) return characters.join(''); + limited = true; + return `${characters.slice(0, bound - ending.length).join('')}${ending}`; + }; + const facts = (values: Presentation['facts']) => + values.map(({ label, value }) => ({ + label: text(label, 100), + value: isConfidentialInputName(label) ? '[REDACTED]' : text(value), + })); + const output = { + ...source, + category: text(source.category, 100), + title: text(source.title, 120), + summary: source.summary ? text(source.summary, Math.min(1000, maximum * 4)) : undefined, + highlights: facts(source.highlights), + actions: source.actions + .filter((action) => safeActionLink(action.url, secrets)) + .map((action) => ({ label: text(action.label, 75), url: action.url })), + facts: facts(source.facts), + ...(source.sections + ? { + sections: source.sections.map((section) => ({ + title: text(section.title, 100), + facts: facts(section.facts), + })), + } + : {}), + footer: source.footer ? text(source.footer, 256) : undefined, + }; + if (limited) + output.footer = `${output.footer ? `${output.footer} · ` : ''}⚠️ Display values were truncated; review the workflow report.`; + return output; +} diff --git a/src/presentation/sanitize.ts b/src/presentation/sanitize.ts index aaf0397..ae7f781 100644 --- a/src/presentation/sanitize.ts +++ b/src/presentation/sanitize.ts @@ -1,3 +1,4 @@ +import { sanitizeActionText } from '@commercekit-tools/notification-contract'; // Notify preserves its established redaction labels, webhook/query URL filtering, // and provider text behavior; the package sanitizers are not equivalent. interface Rule { @@ -41,7 +42,7 @@ const rules: Rule[] = [ export function sanitize(value: string): string { let sanitized = value; for (const rule of rules) sanitized = sanitized.replace(rule.pattern, rule.replace); - return sanitized.replace(/[\u0000-\u0008\u000B\u000C\u000E-\u001F\u007F]/g, ' ').slice(0, 1000); + return sanitizeActionText(sanitized.replace(/[\u0000-\u0008\u000B\u000C\u000E-\u001F\u007F]/g, ' '), 1000); } export function sanitizeLabel(value: string): string { diff --git a/src/presentation/theme.ts b/src/presentation/theme.ts index f51daf8..44ab02f 100644 --- a/src/presentation/theme.ts +++ b/src/presentation/theme.ts @@ -1,19 +1,21 @@ -import type { NotificationStatus as Status } from '@commercekit-tools/notification-contract'; -export const theme: Record< - Status, - { - label: string; - icon: string; - tone: 'info' | 'success' | 'warning' | 'danger' | 'neutral'; - accent: string; - teams: string; - } -> = { - started: { label: 'Started', icon: 'ℹ️', tone: 'info', accent: '#1877C9', teams: 'accent' }, - success: { label: 'Succeeded', icon: '✅', tone: 'success', accent: '#168A45', teams: 'good' }, - warning: { label: 'Completed with warnings', icon: '⚠️', tone: 'warning', accent: '#B7791F', teams: 'warning' }, - failure: { label: 'Failed', icon: '❌', tone: 'danger', accent: '#C62828', teams: 'attention' }, - 'internal-error': { label: 'CommerceKit error', icon: '❌', tone: 'danger', accent: '#C62828', teams: 'attention' }, - cancelled: { label: 'Cancelled', icon: '⏹️', tone: 'neutral', accent: '#6B7280', teams: 'default' }, - 'action-required': { label: 'Action required', icon: '⚠️', tone: 'warning', accent: '#B7791F', teams: 'warning' }, +import { getNotificationStyle } from '@commercekit-tools/notification-contract'; +import type { NotificationStatus } from '@commercekit-tools/notification-contract'; +const providerStyle = (status: NotificationStatus) => { + const style = getNotificationStyle(status); + return { + ...style, + teams: ({ info: 'accent', success: 'good', warning: 'warning', danger: 'attention', neutral: 'default' } as const)[ + style.tone + ], + }; +}; +/** Provider-specific Teams style adapts the shared visual contract without redefining statuses. */ +export const theme = { + started: providerStyle('started'), + success: providerStyle('success'), + warning: providerStyle('warning'), + failure: providerStyle('failure'), + 'internal-error': providerStyle('internal-error'), + cancelled: providerStyle('cancelled'), + 'action-required': providerStyle('action-required'), }; diff --git a/src/providers/slack/render.ts b/src/providers/slack/render.ts index 22699e8..28ef1b5 100644 --- a/src/providers/slack/render.ts +++ b/src/providers/slack/render.ts @@ -1,3 +1,4 @@ +import { previewPresentation } from '../../presentation/preview.js'; import type { Presentation } from '../../presentation/types.js'; export const esc = (s: string) => s @@ -11,7 +12,9 @@ const field = (f: { label: string; value: string }) => ({ text: `*${esc(f.label)}*\n${escapeMrkdwn(esc(f.value))}`.slice(0, 2000), verbatim: true, }); -export function renderSlack(p: Presentation) { +export function renderSlack(source: Presentation) { + const p = previewPresentation(source, 256); + const hasResultSection = p.sections?.some((section) => section.title === 'Result'); const lead = [ { type: 'context', @@ -25,12 +28,11 @@ export function renderSlack(p: Presentation) { if (p.highlights.length && (p.summary || p.facts.length)) blocks.push({ type: 'divider' }); if (p.summary) blocks.push({ type: 'section', text: { type: 'plain_text', text: p.summary.slice(0, 3000), emoji: true } }); - if (p.facts.length) - blocks.push({ - type: 'section', - fields: p.facts.slice(0, 10).map(field), - }); - for (const section of p.sections ?? []) { + const sections = [ + ...(p.facts.length && !hasResultSection ? [{ title: 'Result', facts: p.facts }] : []), + ...(p.sections ?? []), + ]; + for (const section of sections) { blocks.push({ type: 'section', text: { type: 'plain_text', text: section.title.slice(0, 3000), emoji: false } }); for (let start = 0; start < section.facts.length; start += 10) blocks.push({ type: 'section', fields: section.facts.slice(start, start + 10).map(field) }); diff --git a/src/providers/teams-workflow/render.ts b/src/providers/teams-workflow/render.ts index 43b95c8..2b5ac76 100644 --- a/src/providers/teams-workflow/render.ts +++ b/src/providers/teams-workflow/render.ts @@ -1,8 +1,17 @@ import { Buffer } from 'node:buffer'; +import { previewPresentation } from '../../presentation/preview.js'; import type { Presentation } from '../../presentation/types.js'; import { sanitize } from '../../presentation/sanitize.js'; export const TEAMS_MAX_BYTES = 27 * 1024; -export function renderTeams(p: Presentation) { +export function renderTeams(source: Presentation) { + for (const maximum of [256, 128, 64, 32]) { + const payload = renderTeamsPreview(previewPresentation(source, maximum)); + if (Buffer.byteLength(JSON.stringify(payload), 'utf8') <= TEAMS_MAX_BYTES) return payload; + } + throw new Error('Teams Workflow card exceeds the 27 KiB safety limit.'); +} +function renderTeamsPreview(p: Presentation) { + const hasResultSection = p.sections?.some((section) => section.title === 'Result'); const body: Record[] = [ { type: 'Container', @@ -28,19 +37,11 @@ export function renderTeams(p: Presentation) { facts: p.highlights.slice(0, 2).map((f) => ({ title: safeText(f.label), value: safeText(f.value) })), spacing: 'Medium', }); - if (p.facts.length) - body.push({ - type: 'Container', - style: 'emphasis', - spacing: 'Medium', - items: [ - { - type: 'FactSet', - facts: p.facts.slice(0, 10).map((f) => ({ title: safeText(f.label), value: safeText(f.value) })), - }, - ], - }); - for (const section of p.sections ?? []) { + const sections = [ + ...(p.facts.length && !hasResultSection ? [{ title: 'Result', facts: p.facts }] : []), + ...(p.sections ?? []), + ]; + for (const section of sections) { body.push({ type: 'TextBlock', text: safeText(section.title), weight: 'Bolder', wrap: true, spacing: 'Medium' }); for (let start = 0; start < section.facts.length; start += 10) body.push({ @@ -82,8 +83,6 @@ export function renderTeams(p: Presentation) { }, ], }; - if (Buffer.byteLength(JSON.stringify(payload), 'utf8') > TEAMS_MAX_BYTES) - throw new Error('Teams Workflow card exceeds the 27 KiB safety limit.'); return payload; } diff --git a/src/reporting.ts b/src/reporting.ts new file mode 100644 index 0000000..8cac227 --- /dev/null +++ b/src/reporting.ts @@ -0,0 +1,103 @@ +import * as core from '@actions/core'; +import { + createActionInputContext, + extractSafeGitHubContext, + renderActionSummary, + sanitizeActionText, +} from '@commercekit-tools/notification-contract'; +import type { NotificationStatus } from '@commercekit-tools/notification-contract'; + +export const notifyInputDefinitions = [ + { name: 'provider' }, + { name: 'event-json', display: 'presence' }, + { name: 'event-file', display: 'presence' }, + { name: 'webhook-url', confidential: true }, + { name: 'fail-on-notification-error' }, +] as const; + +/** Only reviewed diagnostic forms can become public errors; arbitrary exceptions stay private. */ +export function safeNotifyMessage(error: unknown, secrets: readonly string[]): string { + if ( + error && + typeof error === 'object' && + 'code' in error && + ['ENOENT', 'EACCES', 'EPERM', 'EISDIR'].includes(String(error.code)) + ) + return 'Event file could not be read. Check that event-file points to a readable regular file.'; + const message = error instanceof Error ? error.message : ''; + if ( + /^(?:provider must be slack or teams-workflow\.|webhook-url is required\.|fail-on-notification-error must be true or false\.|Supply exactly one of event-json or event-file\.|Webhook URL (?:contains control characters|is malformed|must use HTTPS without credentials or fragments)\.|Slack webhook URL must use an official Slack webhook host\.|Teams webhook URL cannot use a (?:local host|private, loopback, link-local, or unspecified address)\.|event-file must be a regular non-symbolic-link file\.|event-file exceeds the 64 KiB limit\.|Event (?:JSON exceeds the 64 KiB limit|input is not valid JSON)\.|Invalid NotificationEvent v1 JSON object: check schema version, data and eventType\/status combination\.|NotificationEvent links and context\.runUrl must be bounded HTTPS URLs without credentials or fragments\.|Notification webhook redirected; redirects are not allowed\.|Notification request (?:timed out|failed due to a network error)\.|(?:Slack|Teams Workflow) webhook returned HTTP \d{3}(?:; retry limit exhausted)?\.|Teams Workflow card exceeds the 27 KiB safety limit\.|Slack message exceeds the Block Kit block limit\.)$/u.test( + message, + ) + ) + return sanitizeActionText(message, 1000, secrets); + return 'Notification action failed. Review the configured inputs and workflow logs.'; +} + +export async function reportDelivery(outcome: { + rawInputs: Record; + inputsValidated: boolean; + severity: NotificationStatus; + delivered: boolean; + provider: string; + eventType: string; + sourceStatus: string; + attempts: number; + durationMs: number; + outputFailure?: boolean; + error?: string; +}): Promise { + try { + const secrets = [outcome.rawInputs['webhook-url'] ?? '']; + const context = extractSafeGitHubContext(process.env); + const inputContext = createActionInputContext(notifyInputDefinitions, outcome.rawInputs, { + validated: outcome.inputsValidated, + effective: { 'fail-on-notification-error': outcome.rawInputs['fail-on-notification-error'] || 'false' }, + secrets, + }); + const summary = renderActionSummary({ + title: 'CommerceKit Notifications', + status: outcome.severity, + description: outcome.delivered ? 'The notification was delivered.' : 'The notification was not delivered.', + inputContext, + facts: [ + { label: 'Delivered', value: outcome.delivered }, + { label: 'Provider', value: outcome.provider || 'Not validated' }, + { label: 'Event type', value: outcome.eventType || 'Not parsed' }, + { label: 'Source outcome', value: outcome.sourceStatus || 'Not parsed' }, + { label: 'Delivery attempts', value: outcome.attempts }, + { label: 'Duration (ms)', value: outcome.durationMs }, + ], + ...(outcome.error + ? { + error: { + code: !outcome.inputsValidated + ? 'notification-configuration-failed' + : outcome.attempts + ? 'notification-not-delivered' + : 'notification-payload-failed', + message: outcome.error, + }, + } + : {}), + ...(outcome.outputFailure + ? { + issues: [ + { + code: 'notification-output-failure', + message: + 'One or more Action outputs could not be written. The known delivery result and attempt count are preserved above.', + }, + ], + } + : {}), + ...(context.runUrl ? { links: [{ label: 'View workflow', url: context.runUrl }] } : {}), + secrets, + }); + await core.summary.addRaw(summary).write(); + } catch { + core.warning( + 'Notification job summary could not be written; delivery outputs and the Action outcome are preserved.', + ); + } +} diff --git a/tests/__snapshots__/fixtures.test.ts.snap b/tests/__snapshots__/fixtures.test.ts.snap index a8dac39..be20fbf 100644 --- a/tests/__snapshots__/fixtures.test.ts.snap +++ b/tests/__snapshots__/fixtures.test.ts.snap @@ -41,6 +41,14 @@ build-example", }, "type": "section", }, + { + "text": { + "emoji": false, + "text": "Result", + "type": "plain_text", + }, + "type": "section", + }, { "fields": [ { @@ -52,6 +60,44 @@ example-org/project", ], "type": "section", }, + { + "text": { + "emoji": false, + "text": "Inputs", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*Input context* +Complete input context was not included in this event.", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, + { + "text": { + "emoji": false, + "text": "Issues", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*Details* +Review the workflow for details about this outcome.", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, { "elements": [ { @@ -155,20 +201,55 @@ exports[`golden synthetic events > validates and renders each supported event fi "type": "FactSet", }, { - "items": [ + "spacing": "Medium", + "text": "Result", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ { - "facts": [ - { - "title": "Repository", - "value": "example-org/project", - }, - ], - "type": "FactSet", + "title": "Repository", + "value": "example-org/project", }, ], + "spacing": "Small", + "type": "FactSet", + }, + { "spacing": "Medium", - "style": "emphasis", - "type": "Container", + "text": "Inputs", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Input context", + "value": "Complete input context was not included in this event.", + }, + ], + "spacing": "Small", + "type": "FactSet", + }, + { + "spacing": "Medium", + "text": "Issues", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Details", + "value": "Review the workflow for details about this outcome.", + }, + ], + "spacing": "Small", + "type": "FactSet", }, { "isSubtle": true, @@ -231,6 +312,14 @@ build-example", }, "type": "section", }, + { + "text": { + "emoji": false, + "text": "Result", + "type": "plain_text", + }, + "type": "section", + }, { "fields": [ { @@ -242,6 +331,44 @@ example-org/project", ], "type": "section", }, + { + "text": { + "emoji": false, + "text": "Inputs", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*Input context* +Complete input context was not included in this event.", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, + { + "text": { + "emoji": false, + "text": "Issues", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*Error* +The example build did not pass validation.", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, { "elements": [ { @@ -345,20 +472,55 @@ exports[`golden synthetic events > validates and renders each supported event fi "type": "FactSet", }, { - "items": [ + "spacing": "Medium", + "text": "Result", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ { - "facts": [ - { - "title": "Repository", - "value": "example-org/project", - }, - ], - "type": "FactSet", + "title": "Repository", + "value": "example-org/project", }, ], + "spacing": "Small", + "type": "FactSet", + }, + { "spacing": "Medium", - "style": "emphasis", - "type": "Container", + "text": "Inputs", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Input context", + "value": "Complete input context was not included in this event.", + }, + ], + "spacing": "Small", + "type": "FactSet", + }, + { + "spacing": "Medium", + "text": "Issues", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Error", + "value": "The example build did not pass validation.", + }, + ], + "spacing": "Small", + "type": "FactSet", }, { "isSubtle": true, @@ -421,6 +583,14 @@ Main build", }, "type": "section", }, + { + "text": { + "emoji": false, + "text": "Result", + "type": "plain_text", + }, + "type": "section", + }, { "fields": [ { @@ -444,6 +614,44 @@ example-org/project", ], "type": "section", }, + { + "text": { + "emoji": false, + "text": "Inputs", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*Input context* +Complete input context was not included in this event.", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, + { + "text": { + "emoji": false, + "text": "Issues", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*Error* +CommerceKit could not create the example build.", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, { "elements": [ { @@ -547,47 +755,82 @@ exports[`golden synthetic events > validates and renders each supported event fi "type": "FactSet", }, { - "items": [ + "spacing": "Medium", + "text": "Result", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Application", + "value": "commerce-cloud", + }, { - "facts": [ - { - "title": "Application", - "value": "commerce-cloud", - }, - { - "title": "Branch", - "value": "main", - }, - { - "title": "Repository", - "value": "example-org/project", - }, - ], - "type": "FactSet", + "title": "Branch", + "value": "main", + }, + { + "title": "Repository", + "value": "example-org/project", }, ], + "spacing": "Small", + "type": "FactSet", + }, + { "spacing": "Medium", - "style": "emphasis", - "type": "Container", + "text": "Inputs", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Input context", + "value": "Complete input context was not included in this event.", + }, + ], + "spacing": "Small", + "type": "FactSet", }, { - "isSubtle": true, - "size": "Small", "spacing": "Medium", - "text": "CommerceKit CI · Run 123456", + "text": "Issues", "type": "TextBlock", + "weight": "Bolder", "wrap": true, }, - ], - "type": "AdaptiveCard", - "version": "1.2", - }, - "contentType": "application/vnd.microsoft.card.adaptive", - "contentUrl": null, - }, - ], - "type": "message", -} + { + "facts": [ + { + "title": "Error", + "value": "CommerceKit could not create the example build.", + }, + ], + "spacing": "Small", + "type": "FactSet", + }, + { + "isSubtle": true, + "size": "Small", + "spacing": "Medium", + "text": "CommerceKit CI · Run 123456", + "type": "TextBlock", + "wrap": true, + }, + ], + "type": "AdaptiveCard", + "version": "1.2", + }, + "contentType": "application/vnd.microsoft.card.adaptive", + "contentUrl": null, + }, + ], + "type": "message", +} `; exports[`golden synthetic events > validates and renders each supported event fixture deterministically > build-started.json: Slack 1`] = ` @@ -631,6 +874,14 @@ Main build", }, "type": "section", }, + { + "text": { + "emoji": false, + "text": "Result", + "type": "plain_text", + }, + "type": "section", + }, { "fields": [ { @@ -654,6 +905,44 @@ example-org/project", ], "type": "section", }, + { + "text": { + "emoji": false, + "text": "Inputs", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*Input context* +Complete input context was not included in this event.", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, + { + "text": { + "emoji": false, + "text": "Issues", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*Details* +No issues were reported in this event.", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, { "elements": [ { @@ -757,28 +1046,63 @@ exports[`golden synthetic events > validates and renders each supported event fi "type": "FactSet", }, { - "items": [ + "spacing": "Medium", + "text": "Result", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Application", + "value": "commerce-cloud", + }, + { + "title": "Branch", + "value": "main", + }, { - "facts": [ - { - "title": "Application", - "value": "commerce-cloud", - }, - { - "title": "Branch", - "value": "main", - }, - { - "title": "Repository", - "value": "example-org/project", - }, - ], - "type": "FactSet", + "title": "Repository", + "value": "example-org/project", }, ], + "spacing": "Small", + "type": "FactSet", + }, + { "spacing": "Medium", - "style": "emphasis", - "type": "Container", + "text": "Inputs", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Input context", + "value": "Complete input context was not included in this event.", + }, + ], + "spacing": "Small", + "type": "FactSet", + }, + { + "spacing": "Medium", + "text": "Issues", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Details", + "value": "No issues were reported in this event.", + }, + ], + "spacing": "Small", + "type": "FactSet", }, { "isSubtle": true, @@ -841,6 +1165,14 @@ build-example", }, "type": "section", }, + { + "text": { + "emoji": false, + "text": "Result", + "type": "plain_text", + }, + "type": "section", + }, { "fields": [ { @@ -864,6 +1196,44 @@ example-org/project", ], "type": "section", }, + { + "text": { + "emoji": false, + "text": "Inputs", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*Input context* +Complete input context was not included in this event.", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, + { + "text": { + "emoji": false, + "text": "Issues", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*Details* +No issues were reported in this event.", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, { "elements": [ { @@ -981,28 +1351,63 @@ exports[`golden synthetic events > validates and renders each supported event fi "type": "FactSet", }, { - "items": [ + "spacing": "Medium", + "text": "Result", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Application", + "value": "commerce-cloud", + }, + { + "title": "Status", + "value": "SUCCESS", + }, { - "facts": [ - { - "title": "Application", - "value": "commerce-cloud", - }, - { - "title": "Status", - "value": "SUCCESS", - }, - { - "title": "Repository", - "value": "example-org/project", - }, - ], - "type": "FactSet", + "title": "Repository", + "value": "example-org/project", }, ], + "spacing": "Small", + "type": "FactSet", + }, + { "spacing": "Medium", - "style": "emphasis", - "type": "Container", + "text": "Inputs", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Input context", + "value": "Complete input context was not included in this event.", + }, + ], + "spacing": "Small", + "type": "FactSet", + }, + { + "spacing": "Medium", + "text": "Issues", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Details", + "value": "No issues were reported in this event.", + }, + ], + "spacing": "Small", + "type": "FactSet", }, { "isSubtle": true, @@ -1065,6 +1470,52 @@ example-org/project", }, "type": "section", }, + { + "text": { + "emoji": false, + "text": "Result", + "type": "plain_text", + }, + "type": "section", + }, + { + "text": { + "emoji": false, + "text": "Inputs", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*Input context* +Complete input context was not included in this event.", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, + { + "text": { + "emoji": false, + "text": "Issues", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*Details* +Review the workflow for details about this outcome.", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, { "elements": [ { @@ -1168,23 +1619,64 @@ exports[`golden synthetic events > validates and renders each supported event fi "type": "FactSet", }, { - "isSubtle": true, - "size": "Small", "spacing": "Medium", - "text": "CommerceKit CI · Run 123456", + "text": "Result", "type": "TextBlock", + "weight": "Bolder", "wrap": true, }, - ], - "type": "AdaptiveCard", - "version": "1.2", - }, - "contentType": "application/vnd.microsoft.card.adaptive", - "contentUrl": null, - }, - ], - "type": "message", -} + { + "spacing": "Medium", + "text": "Inputs", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Input context", + "value": "Complete input context was not included in this event.", + }, + ], + "spacing": "Small", + "type": "FactSet", + }, + { + "spacing": "Medium", + "text": "Issues", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Details", + "value": "Review the workflow for details about this outcome.", + }, + ], + "spacing": "Small", + "type": "FactSet", + }, + { + "isSubtle": true, + "size": "Small", + "spacing": "Medium", + "text": "CommerceKit CI · Run 123456", + "type": "TextBlock", + "wrap": true, + }, + ], + "type": "AdaptiveCard", + "version": "1.2", + }, + "contentType": "application/vnd.microsoft.card.adaptive", + "contentUrl": null, + }, + ], + "type": "message", +} `; exports[`golden synthetic events > validates and renders each supported event fixture deterministically > check-failure.json: Slack 1`] = ` @@ -1228,6 +1720,14 @@ example-org/project", }, "type": "section", }, + { + "text": { + "emoji": false, + "text": "Result", + "type": "plain_text", + }, + "type": "section", + }, { "fields": [ { @@ -1257,6 +1757,44 @@ changed", ], "type": "section", }, + { + "text": { + "emoji": false, + "text": "Inputs", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*Input context* +Complete input context was not included in this event.", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, + { + "text": { + "emoji": false, + "text": "Issues", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*Details* +Review the workflow for details about this outcome.", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, { "elements": [ { @@ -1360,32 +1898,67 @@ exports[`golden synthetic events > validates and renders each supported event fi "type": "FactSet", }, { - "items": [ + "spacing": "Medium", + "text": "Result", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Mode", + "value": "changed", + }, + { + "title": "Files checked", + "value": "18", + }, + { + "title": "Errors", + "value": "2", + }, { - "facts": [ - { - "title": "Mode", - "value": "changed", - }, - { - "title": "Files checked", - "value": "18", - }, - { - "title": "Errors", - "value": "2", - }, - { - "title": "Warnings", - "value": "3", - }, - ], - "type": "FactSet", + "title": "Warnings", + "value": "3", }, ], + "spacing": "Small", + "type": "FactSet", + }, + { "spacing": "Medium", - "style": "emphasis", - "type": "Container", + "text": "Inputs", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Input context", + "value": "Complete input context was not included in this event.", + }, + ], + "spacing": "Small", + "type": "FactSet", + }, + { + "spacing": "Medium", + "text": "Issues", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Details", + "value": "Review the workflow for details about this outcome.", + }, + ], + "spacing": "Small", + "type": "FactSet", }, { "isSubtle": true, @@ -1448,6 +2021,52 @@ example-org/project", }, "type": "section", }, + { + "text": { + "emoji": false, + "text": "Result", + "type": "plain_text", + }, + "type": "section", + }, + { + "text": { + "emoji": false, + "text": "Inputs", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*Input context* +Complete input context was not included in this event.", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, + { + "text": { + "emoji": false, + "text": "Issues", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*Error* +The check could not be completed.", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, { "elements": [ { @@ -1550,6 +2169,47 @@ exports[`golden synthetic events > validates and renders each supported event fi "spacing": "Medium", "type": "FactSet", }, + { + "spacing": "Medium", + "text": "Result", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "spacing": "Medium", + "text": "Inputs", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Input context", + "value": "Complete input context was not included in this event.", + }, + ], + "spacing": "Small", + "type": "FactSet", + }, + { + "spacing": "Medium", + "text": "Issues", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Error", + "value": "The check could not be completed.", + }, + ], + "spacing": "Small", + "type": "FactSet", + }, { "isSubtle": true, "size": "Small", @@ -1611,6 +2271,14 @@ example-org/project", }, "type": "section", }, + { + "text": { + "emoji": false, + "text": "Result", + "type": "plain_text", + }, + "type": "section", + }, { "fields": [ { @@ -1647,34 +2315,72 @@ full", "type": "section", }, { - "elements": [ - { - "action_id": "notification_action_0", - "text": { - "text": "View workflow", - "type": "plain_text", - }, - "type": "button", - "url": "https://github.com/example-org/project/actions/runs/123456", - }, - ], - "type": "actions", + "text": { + "emoji": false, + "text": "Inputs", + "type": "plain_text", + }, + "type": "section", }, { - "elements": [ + "fields": [ { - "emoji": true, - "text": "CommerceKit CI · Run 123456", - "type": "plain_text", + "text": "*Input context* +Complete input context was not included in this event.", + "type": "mrkdwn", + "verbatim": true, }, ], - "type": "context", + "type": "section", }, - ], - "color": "#168A45", - }, - ], - "blocks": [ + { + "text": { + "emoji": false, + "text": "Issues", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*Details* +No issues were reported in this event.", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, + { + "elements": [ + { + "action_id": "notification_action_0", + "text": { + "text": "View workflow", + "type": "plain_text", + }, + "type": "button", + "url": "https://github.com/example-org/project/actions/runs/123456", + }, + ], + "type": "actions", + }, + { + "elements": [ + { + "emoji": true, + "text": "CommerceKit CI · Run 123456", + "type": "plain_text", + }, + ], + "type": "context", + }, + ], + "color": "#168A45", + }, + ], + "blocks": [ { "elements": [ { @@ -1749,36 +2455,71 @@ exports[`golden synthetic events > validates and renders each supported event fi "type": "FactSet", }, { - "items": [ + "spacing": "Medium", + "text": "Result", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Mode", + "value": "full", + }, + { + "title": "Files checked", + "value": "18", + }, + { + "title": "Errors", + "value": "0", + }, + { + "title": "Warnings", + "value": "0", + }, { - "facts": [ - { - "title": "Mode", - "value": "full", - }, - { - "title": "Files checked", - "value": "18", - }, - { - "title": "Errors", - "value": "0", - }, - { - "title": "Warnings", - "value": "0", - }, - { - "title": "Duration", - "value": "4s", - }, - ], - "type": "FactSet", + "title": "Duration", + "value": "4s", }, ], + "spacing": "Small", + "type": "FactSet", + }, + { "spacing": "Medium", - "style": "emphasis", - "type": "Container", + "text": "Inputs", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Input context", + "value": "Complete input context was not included in this event.", + }, + ], + "spacing": "Small", + "type": "FactSet", + }, + { + "spacing": "Medium", + "text": "Issues", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Details", + "value": "No issues were reported in this event.", + }, + ], + "spacing": "Small", + "type": "FactSet", }, { "isSubtle": true, @@ -1841,6 +2582,14 @@ example-org/project", }, "type": "section", }, + { + "text": { + "emoji": false, + "text": "Result", + "type": "plain_text", + }, + "type": "section", + }, { "fields": [ { @@ -1870,6 +2619,44 @@ changed", ], "type": "section", }, + { + "text": { + "emoji": false, + "text": "Inputs", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*Input context* +Complete input context was not included in this event.", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, + { + "text": { + "emoji": false, + "text": "Issues", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*Details* +Review the workflow for details about this outcome.", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, { "elements": [ { @@ -1973,32 +2760,67 @@ exports[`golden synthetic events > validates and renders each supported event fi "type": "FactSet", }, { - "items": [ + "spacing": "Medium", + "text": "Result", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Mode", + "value": "changed", + }, + { + "title": "Files checked", + "value": "18", + }, + { + "title": "Errors", + "value": "0", + }, { - "facts": [ - { - "title": "Mode", - "value": "changed", - }, - { - "title": "Files checked", - "value": "18", - }, - { - "title": "Errors", - "value": "0", - }, - { - "title": "Warnings", - "value": "3", - }, - ], - "type": "FactSet", + "title": "Warnings", + "value": "3", }, ], + "spacing": "Small", + "type": "FactSet", + }, + { "spacing": "Medium", - "style": "emphasis", - "type": "Container", + "text": "Inputs", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Input context", + "value": "Complete input context was not included in this event.", + }, + ], + "spacing": "Small", + "type": "FactSet", + }, + { + "spacing": "Medium", + "text": "Issues", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Details", + "value": "Review the workflow for details about this outcome.", + }, + ], + "spacing": "Small", + "type": "FactSet", }, { "isSubtle": true, @@ -2061,39 +2883,10 @@ DRY RUN", }, "type": "section", }, - { - "fields": [ - { - "text": "*Subscription* -subscription-example", - "type": "mrkdwn", - "verbatim": true, - }, - { - "text": "*Application* -application-example", - "type": "mrkdwn", - "verbatim": true, - }, - { - "text": "*Duration* -1s", - "type": "mrkdwn", - "verbatim": true, - }, - { - "text": "*Repository* -example-org/project", - "type": "mrkdwn", - "verbatim": true, - }, - ], - "type": "section", - }, { "text": { "emoji": false, - "text": "Cleanup counts", + "text": "Result", "type": "plain_text", }, "type": "section", @@ -2163,10 +2956,51 @@ example-org/project", ], "type": "section", }, + { + "fields": [ + { + "text": "*Retention days* +30", + "type": "mrkdwn", + "verbatim": true, + }, + { + "text": "*Keep latest* +10", + "type": "mrkdwn", + "verbatim": true, + }, + { + "text": "*Subscription* +subscription-example", + "type": "mrkdwn", + "verbatim": true, + }, + { + "text": "*Application* +application-example", + "type": "mrkdwn", + "verbatim": true, + }, + { + "text": "*Duration* +1s", + "type": "mrkdwn", + "verbatim": true, + }, + { + "text": "*Repository* +example-org/project", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, { "text": { "emoji": false, - "text": "Cleanup inputs", + "text": "Inputs", "type": "plain_text", }, "type": "section", @@ -2262,13 +3096,25 @@ false", "type": "mrkdwn", "verbatim": true, }, - ], - "type": "section", - }, + { + "text": "*Input validation* +Passed", + "type": "mrkdwn", + "verbatim": true, + }, + { + "text": "*Input truncation* +No input truncation reported.", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, { "text": { "emoji": false, - "text": "What went wrong", + "text": "Issues", "type": "plain_text", }, "type": "section", @@ -2392,37 +3238,9 @@ exports[`golden synthetic events > validates and renders each supported event fi "spacing": "Medium", "type": "FactSet", }, - { - "items": [ - { - "facts": [ - { - "title": "Subscription", - "value": "subscription-example", - }, - { - "title": "Application", - "value": "application-example", - }, - { - "title": "Duration", - "value": "1s", - }, - { - "title": "Repository", - "value": "example-org/project", - }, - ], - "type": "FactSet", - }, - ], - "spacing": "Medium", - "style": "emphasis", - "type": "Container", - }, { "spacing": "Medium", - "text": "Cleanup counts", + "text": "Result", "type": "TextBlock", "weight": "Bolder", "wrap": true, @@ -2473,9 +3291,39 @@ exports[`golden synthetic events > validates and renders each supported event fi "spacing": "Small", "type": "FactSet", }, + { + "facts": [ + { + "title": "Retention days", + "value": "30", + }, + { + "title": "Keep latest", + "value": "10", + }, + { + "title": "Subscription", + "value": "subscription-example", + }, + { + "title": "Application", + "value": "application-example", + }, + { + "title": "Duration", + "value": "1s", + }, + { + "title": "Repository", + "value": "example-org/project", + }, + ], + "spacing": "Small", + "type": "FactSet", + }, { "spacing": "Medium", - "text": "Cleanup inputs", + "text": "Inputs", "type": "TextBlock", "weight": "Bolder", "wrap": true, @@ -2544,13 +3392,21 @@ exports[`golden synthetic events > validates and renders each supported event fi "title": "continue-on-delete-error", "value": "false", }, + { + "title": "Input validation", + "value": "Passed", + }, + { + "title": "Input truncation", + "value": "No input truncation reported.", + }, ], "spacing": "Small", "type": "FactSet", }, { "spacing": "Medium", - "text": "What went wrong", + "text": "Issues", "type": "TextBlock", "weight": "Bolder", "wrap": true, @@ -2630,39 +3486,10 @@ DRY RUN", }, "type": "section", }, - { - "fields": [ - { - "text": "*Subscription* -subscription-example", - "type": "mrkdwn", - "verbatim": true, - }, - { - "text": "*Application* -application-example", - "type": "mrkdwn", - "verbatim": true, - }, - { - "text": "*Duration* -1s", - "type": "mrkdwn", - "verbatim": true, - }, - { - "text": "*Repository* -example-org/project", - "type": "mrkdwn", - "verbatim": true, - }, - ], - "type": "section", - }, { "text": { "emoji": false, - "text": "Cleanup counts", + "text": "Result", "type": "plain_text", }, "type": "section", @@ -2732,28 +3559,57 @@ Not reported", ], "type": "section", }, - { - "text": { - "emoji": false, - "text": "Cleanup policy", - "type": "plain_text", - }, - "type": "section", - }, { "fields": [ { - "text": "*retention-days* + "text": "*Retention days* 30", "type": "mrkdwn", "verbatim": true, }, { - "text": "*keep-latest* + "text": "*Keep latest* 10", "type": "mrkdwn", "verbatim": true, }, + { + "text": "*Subscription* +subscription-example", + "type": "mrkdwn", + "verbatim": true, + }, + { + "text": "*Application* +application-example", + "type": "mrkdwn", + "verbatim": true, + }, + { + "text": "*Duration* +1s", + "type": "mrkdwn", + "verbatim": true, + }, + { + "text": "*Repository* +example-org/project", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, + { + "text": { + "emoji": false, + "text": "Inputs", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ { "text": "*Input context* Complete input context was not included in this event.", @@ -2763,6 +3619,25 @@ Complete input context was not included in this event.", ], "type": "section", }, + { + "text": { + "emoji": false, + "text": "Issues", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*Details* +No issues were reported in this event.", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, { "elements": [ { @@ -2865,37 +3740,9 @@ exports[`golden synthetic events > validates and renders each supported event fi "spacing": "Medium", "type": "FactSet", }, - { - "items": [ - { - "facts": [ - { - "title": "Subscription", - "value": "subscription-example", - }, - { - "title": "Application", - "value": "application-example", - }, - { - "title": "Duration", - "value": "1s", - }, - { - "title": "Repository", - "value": "example-org/project", - }, - ], - "type": "FactSet", - }, - ], - "spacing": "Medium", - "style": "emphasis", - "type": "Container", - }, { "spacing": "Medium", - "text": "Cleanup counts", + "text": "Result", "type": "TextBlock", "weight": "Bolder", "wrap": true, @@ -2946,23 +3793,45 @@ exports[`golden synthetic events > validates and renders each supported event fi "spacing": "Small", "type": "FactSet", }, - { - "spacing": "Medium", - "text": "Cleanup policy", - "type": "TextBlock", - "weight": "Bolder", - "wrap": true, - }, { "facts": [ { - "title": "retention-days", + "title": "Retention days", "value": "30", }, { - "title": "keep-latest", + "title": "Keep latest", "value": "10", }, + { + "title": "Subscription", + "value": "subscription-example", + }, + { + "title": "Application", + "value": "application-example", + }, + { + "title": "Duration", + "value": "1s", + }, + { + "title": "Repository", + "value": "example-org/project", + }, + ], + "spacing": "Small", + "type": "FactSet", + }, + { + "spacing": "Medium", + "text": "Inputs", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ { "title": "Input context", "value": "Complete input context was not included in this event.", @@ -2971,6 +3840,23 @@ exports[`golden synthetic events > validates and renders each supported event fi "spacing": "Small", "type": "FactSet", }, + { + "spacing": "Medium", + "text": "Issues", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Details", + "value": "No issues were reported in this event.", + }, + ], + "spacing": "Small", + "type": "FactSet", + }, { "isSubtle": true, "size": "Small", @@ -3032,39 +3918,10 @@ DRY RUN", }, "type": "section", }, - { - "fields": [ - { - "text": "*Subscription* -subscription-example", - "type": "mrkdwn", - "verbatim": true, - }, - { - "text": "*Application* -application-example", - "type": "mrkdwn", - "verbatim": true, - }, - { - "text": "*Duration* -1s", - "type": "mrkdwn", - "verbatim": true, - }, - { - "text": "*Repository* -example-org/project", - "type": "mrkdwn", - "verbatim": true, - }, - ], - "type": "section", - }, { "text": { "emoji": false, - "text": "Cleanup counts", + "text": "Result", "type": "plain_text", }, "type": "section", @@ -3134,59 +3991,100 @@ example-org/project", ], "type": "section", }, - { - "text": { - "emoji": false, - "text": "Cleanup inputs", - "type": "plain_text", - }, - "type": "section", - }, { "fields": [ { - "text": "*token-endpoint* -[REDACTED]", - "type": "mrkdwn", - "verbatim": true, - }, - { - "text": "*client-id* -[REDACTED]", + "text": "*Retention days* +30", "type": "mrkdwn", "verbatim": true, }, { - "text": "*client-secret* -[REDACTED]", + "text": "*Keep latest* +10", "type": "mrkdwn", "verbatim": true, }, { - "text": "*resource* -[REDACTED]", + "text": "*Subscription* +subscription-example", "type": "mrkdwn", "verbatim": true, }, { - "text": "*subscription-code* -subscription-example", + "text": "*Application* +application-example", "type": "mrkdwn", "verbatim": true, }, { - "text": "*api-base-url* -https://sandbox.example.test", + "text": "*Duration* +1s", "type": "mrkdwn", "verbatim": true, }, { - "text": "*application-code* -application-example", + "text": "*Repository* +example-org/project", "type": "mrkdwn", "verbatim": true, }, - { + ], + "type": "section", + }, + { + "text": { + "emoji": false, + "text": "Inputs", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*token-endpoint* +[REDACTED]", + "type": "mrkdwn", + "verbatim": true, + }, + { + "text": "*client-id* +[REDACTED]", + "type": "mrkdwn", + "verbatim": true, + }, + { + "text": "*client-secret* +[REDACTED]", + "type": "mrkdwn", + "verbatim": true, + }, + { + "text": "*resource* +[REDACTED]", + "type": "mrkdwn", + "verbatim": true, + }, + { + "text": "*subscription-code* +subscription-example", + "type": "mrkdwn", + "verbatim": true, + }, + { + "text": "*api-base-url* +https://sandbox.example.test", + "type": "mrkdwn", + "verbatim": true, + }, + { + "text": "*application-code* +application-example", + "type": "mrkdwn", + "verbatim": true, + }, + { "text": "*retention-days* 30", "type": "mrkdwn", @@ -3233,13 +4131,25 @@ false", "type": "mrkdwn", "verbatim": true, }, + { + "text": "*Input validation* +Passed", + "type": "mrkdwn", + "verbatim": true, + }, + { + "text": "*Input truncation* +No input truncation reported.", + "type": "mrkdwn", + "verbatim": true, + }, ], "type": "section", }, { "text": { "emoji": false, - "text": "Cleanup issues", + "text": "Issues", "type": "plain_text", }, "type": "section", @@ -3357,37 +4267,9 @@ exports[`golden synthetic events > validates and renders each supported event fi "spacing": "Medium", "type": "FactSet", }, - { - "items": [ - { - "facts": [ - { - "title": "Subscription", - "value": "subscription-example", - }, - { - "title": "Application", - "value": "application-example", - }, - { - "title": "Duration", - "value": "1s", - }, - { - "title": "Repository", - "value": "example-org/project", - }, - ], - "type": "FactSet", - }, - ], - "spacing": "Medium", - "style": "emphasis", - "type": "Container", - }, { "spacing": "Medium", - "text": "Cleanup counts", + "text": "Result", "type": "TextBlock", "weight": "Bolder", "wrap": true, @@ -3438,9 +4320,39 @@ exports[`golden synthetic events > validates and renders each supported event fi "spacing": "Small", "type": "FactSet", }, + { + "facts": [ + { + "title": "Retention days", + "value": "30", + }, + { + "title": "Keep latest", + "value": "10", + }, + { + "title": "Subscription", + "value": "subscription-example", + }, + { + "title": "Application", + "value": "application-example", + }, + { + "title": "Duration", + "value": "1s", + }, + { + "title": "Repository", + "value": "example-org/project", + }, + ], + "spacing": "Small", + "type": "FactSet", + }, { "spacing": "Medium", - "text": "Cleanup inputs", + "text": "Inputs", "type": "TextBlock", "weight": "Bolder", "wrap": true, @@ -3509,13 +4421,21 @@ exports[`golden synthetic events > validates and renders each supported event fi "title": "continue-on-delete-error", "value": "false", }, + { + "title": "Input validation", + "value": "Passed", + }, + { + "title": "Input truncation", + "value": "No input truncation reported.", + }, ], "spacing": "Small", "type": "FactSet", }, { "spacing": "Medium", - "text": "Cleanup issues", + "text": "Issues", "type": "TextBlock", "weight": "Bolder", "wrap": true, @@ -3591,6 +4511,14 @@ deploy-example", }, "type": "section", }, + { + "text": { + "emoji": false, + "text": "Result", + "type": "plain_text", + }, + "type": "section", + }, { "fields": [ { @@ -3608,6 +4536,44 @@ example-org/project", ], "type": "section", }, + { + "text": { + "emoji": false, + "text": "Inputs", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*Input context* +Complete input context was not included in this event.", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, + { + "text": { + "emoji": false, + "text": "Issues", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*Details* +Review the workflow for details about this outcome.", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, { "elements": [ { @@ -3725,24 +4691,59 @@ exports[`golden synthetic events > validates and renders each supported event fi "type": "FactSet", }, { - "items": [ + "spacing": "Medium", + "text": "Result", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ { - "facts": [ - { - "title": "Decision", - "value": "approval", - }, - { - "title": "Repository", - "value": "example-org/project", - }, - ], - "type": "FactSet", + "title": "Decision", + "value": "approval", + }, + { + "title": "Repository", + "value": "example-org/project", }, ], + "spacing": "Small", + "type": "FactSet", + }, + { "spacing": "Medium", - "style": "emphasis", - "type": "Container", + "text": "Inputs", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Input context", + "value": "Complete input context was not included in this event.", + }, + ], + "spacing": "Small", + "type": "FactSet", + }, + { + "spacing": "Medium", + "text": "Issues", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Details", + "value": "Review the workflow for details about this outcome.", + }, + ], + "spacing": "Small", + "type": "FactSet", }, { "isSubtle": true, @@ -3805,6 +4806,14 @@ deploy-example", }, "type": "section", }, + { + "text": { + "emoji": false, + "text": "Result", + "type": "plain_text", + }, + "type": "section", + }, { "fields": [ { @@ -3816,6 +4825,44 @@ example-org/project", ], "type": "section", }, + { + "text": { + "emoji": false, + "text": "Inputs", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*Input context* +Complete input context was not included in this event.", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, + { + "text": { + "emoji": false, + "text": "Issues", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*Details* +Review the workflow for details about this outcome.", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, { "elements": [ { @@ -3919,42 +4966,77 @@ exports[`golden synthetic events > validates and renders each supported event fi "type": "FactSet", }, { - "items": [ + "spacing": "Medium", + "text": "Result", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ { - "facts": [ - { - "title": "Repository", - "value": "example-org/project", - }, - ], - "type": "FactSet", + "title": "Repository", + "value": "example-org/project", }, ], - "spacing": "Medium", - "style": "emphasis", - "type": "Container", + "spacing": "Small", + "type": "FactSet", }, { - "isSubtle": true, - "size": "Small", "spacing": "Medium", - "text": "CommerceKit CI · Run 123456", + "text": "Inputs", "type": "TextBlock", + "weight": "Bolder", "wrap": true, }, - ], - "type": "AdaptiveCard", - "version": "1.2", - }, - "contentType": "application/vnd.microsoft.card.adaptive", - "contentUrl": null, - }, - ], - "type": "message", -} -`; - -exports[`golden synthetic events > validates and renders each supported event fixture deterministically > deployment-failure.json: Slack 1`] = ` + { + "facts": [ + { + "title": "Input context", + "value": "Complete input context was not included in this event.", + }, + ], + "spacing": "Small", + "type": "FactSet", + }, + { + "spacing": "Medium", + "text": "Issues", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Details", + "value": "Review the workflow for details about this outcome.", + }, + ], + "spacing": "Small", + "type": "FactSet", + }, + { + "isSubtle": true, + "size": "Small", + "spacing": "Medium", + "text": "CommerceKit CI · Run 123456", + "type": "TextBlock", + "wrap": true, + }, + ], + "type": "AdaptiveCard", + "version": "1.2", + }, + "contentType": "application/vnd.microsoft.card.adaptive", + "contentUrl": null, + }, + ], + "type": "message", +} +`; + +exports[`golden synthetic events > validates and renders each supported event fixture deterministically > deployment-failure.json: Slack 1`] = ` { "attachments": [ { @@ -3995,6 +5077,14 @@ deploy-example", }, "type": "section", }, + { + "text": { + "emoji": false, + "text": "Result", + "type": "plain_text", + }, + "type": "section", + }, { "fields": [ { @@ -4006,6 +5096,44 @@ example-org/project", ], "type": "section", }, + { + "text": { + "emoji": false, + "text": "Inputs", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*Input context* +Complete input context was not included in this event.", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, + { + "text": { + "emoji": false, + "text": "Issues", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*Error* +The example deployment did not pass its health check.", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, { "elements": [ { @@ -4109,20 +5237,55 @@ exports[`golden synthetic events > validates and renders each supported event fi "type": "FactSet", }, { - "items": [ + "spacing": "Medium", + "text": "Result", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Repository", + "value": "example-org/project", + }, + ], + "spacing": "Small", + "type": "FactSet", + }, + { + "spacing": "Medium", + "text": "Inputs", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ { - "facts": [ - { - "title": "Repository", - "value": "example-org/project", - }, - ], - "type": "FactSet", + "title": "Input context", + "value": "Complete input context was not included in this event.", }, ], + "spacing": "Small", + "type": "FactSet", + }, + { "spacing": "Medium", - "style": "emphasis", - "type": "Container", + "text": "Issues", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Error", + "value": "The example deployment did not pass its health check.", + }, + ], + "spacing": "Small", + "type": "FactSet", }, { "isSubtle": true, @@ -4179,6 +5342,14 @@ exports[`golden synthetic events > validates and renders each supported event fi }, "type": "section", }, + { + "text": { + "emoji": false, + "text": "Result", + "type": "plain_text", + }, + "type": "section", + }, { "fields": [ { @@ -4190,6 +5361,44 @@ example-org/project", ], "type": "section", }, + { + "text": { + "emoji": false, + "text": "Inputs", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*Input context* +Complete input context was not included in this event.", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, + { + "text": { + "emoji": false, + "text": "Issues", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*Error* +Workflow could not complete deployment.", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, { "elements": [ { @@ -4289,20 +5498,55 @@ exports[`golden synthetic events > validates and renders each supported event fi "type": "FactSet", }, { - "items": [ + "spacing": "Medium", + "text": "Result", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ { - "facts": [ - { - "title": "Repository", - "value": "example-org/project", - }, - ], - "type": "FactSet", + "title": "Repository", + "value": "example-org/project", }, ], + "spacing": "Small", + "type": "FactSet", + }, + { "spacing": "Medium", - "style": "emphasis", - "type": "Container", + "text": "Inputs", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Input context", + "value": "Complete input context was not included in this event.", + }, + ], + "spacing": "Small", + "type": "FactSet", + }, + { + "spacing": "Medium", + "text": "Issues", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Error", + "value": "Workflow could not complete deployment.", + }, + ], + "spacing": "Small", + "type": "FactSet", }, { "isSubtle": true, @@ -4365,6 +5609,14 @@ deploy-example", }, "type": "section", }, + { + "text": { + "emoji": false, + "text": "Result", + "type": "plain_text", + }, + "type": "section", + }, { "fields": [ { @@ -4382,6 +5634,44 @@ example-org/project", ], "type": "section", }, + { + "text": { + "emoji": false, + "text": "Inputs", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*Input context* +Complete input context was not included in this event.", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, + { + "text": { + "emoji": false, + "text": "Issues", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*Details* +No issues were reported in this event.", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, { "elements": [ { @@ -4485,24 +5775,59 @@ exports[`golden synthetic events > validates and renders each supported event fi "type": "FactSet", }, { - "items": [ + "spacing": "Medium", + "text": "Result", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ { - "facts": [ - { - "title": "Environment", - "value": "staging", - }, - { - "title": "Repository", - "value": "example-org/project", - }, - ], - "type": "FactSet", + "title": "Environment", + "value": "staging", + }, + { + "title": "Repository", + "value": "example-org/project", }, ], + "spacing": "Small", + "type": "FactSet", + }, + { "spacing": "Medium", - "style": "emphasis", - "type": "Container", + "text": "Inputs", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Input context", + "value": "Complete input context was not included in this event.", + }, + ], + "spacing": "Small", + "type": "FactSet", + }, + { + "spacing": "Medium", + "text": "Issues", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Details", + "value": "No issues were reported in this event.", + }, + ], + "spacing": "Small", + "type": "FactSet", }, { "isSubtle": true, @@ -4565,6 +5890,14 @@ deploy-example", }, "type": "section", }, + { + "text": { + "emoji": false, + "text": "Result", + "type": "plain_text", + }, + "type": "section", + }, { "fields": [ { @@ -4588,6 +5921,44 @@ example-org/project", ], "type": "section", }, + { + "text": { + "emoji": false, + "text": "Inputs", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*Input context* +Complete input context was not included in this event.", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, + { + "text": { + "emoji": false, + "text": "Issues", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*Details* +No issues were reported in this event.", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, { "elements": [ { @@ -4691,28 +6062,63 @@ exports[`golden synthetic events > validates and renders each supported event fi "type": "FactSet", }, { - "items": [ + "spacing": "Medium", + "text": "Result", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ { - "facts": [ - { - "title": "Environment", - "value": "staging", - }, - { - "title": "Build code", - "value": "build-example", - }, - { - "title": "Repository", - "value": "example-org/project", - }, - ], - "type": "FactSet", + "title": "Environment", + "value": "staging", + }, + { + "title": "Build code", + "value": "build-example", + }, + { + "title": "Repository", + "value": "example-org/project", }, ], + "spacing": "Small", + "type": "FactSet", + }, + { "spacing": "Medium", - "style": "emphasis", - "type": "Container", + "text": "Inputs", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Input context", + "value": "Complete input context was not included in this event.", + }, + ], + "spacing": "Small", + "type": "FactSet", + }, + { + "spacing": "Medium", + "text": "Issues", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Details", + "value": "No issues were reported in this event.", + }, + ], + "spacing": "Small", + "type": "FactSet", }, { "isSubtle": true, @@ -4733,3 +6139,344 @@ exports[`golden synthetic events > validates and renders each supported event fi "type": "message", } `; + +exports[`golden synthetic events > validates and renders each supported event fixture deterministically > setup-success.json: Slack 1`] = ` +{ + "attachments": [ + { + "blocks": [ + { + "text": { + "emoji": true, + "text": "✅ CommerceKit CLI setup succeeded", + "type": "plain_text", + }, + "type": "header", + }, + { + "fields": [ + { + "text": "*CLI version* +0.1.0-preview.2", + "type": "mrkdwn", + "verbatim": true, + }, + { + "text": "*Occurred* +2026-11-01 20:20:00 UTC", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, + { + "type": "divider", + }, + { + "text": { + "emoji": true, + "text": "CommerceKit CLI 0.1.0-preview.2 was installed and verified.", + "type": "plain_text", + }, + "type": "section", + }, + { + "text": { + "emoji": false, + "text": "Result", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*Requested version* +0.1.0-preview.2", + "type": "mrkdwn", + "verbatim": true, + }, + { + "text": "*Target* +linux-x64", + "type": "mrkdwn", + "verbatim": true, + }, + { + "text": "*Build identity* +bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb", + "type": "mrkdwn", + "verbatim": true, + }, + { + "text": "*Cache reused* +true", + "type": "mrkdwn", + "verbatim": true, + }, + { + "text": "*Duration* +1s", + "type": "mrkdwn", + "verbatim": true, + }, + { + "text": "*Repository* +example-org/project", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, + { + "text": { + "emoji": false, + "text": "Inputs", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*version* +0.1.0-preview.2", + "type": "mrkdwn", + "verbatim": true, + }, + { + "text": "*Input validation* +Passed", + "type": "mrkdwn", + "verbatim": true, + }, + { + "text": "*Input truncation* +No input truncation reported.", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, + { + "text": { + "emoji": false, + "text": "Issues", + "type": "plain_text", + }, + "type": "section", + }, + { + "fields": [ + { + "text": "*Details* +No issues were reported in this event.", + "type": "mrkdwn", + "verbatim": true, + }, + ], + "type": "section", + }, + { + "elements": [ + { + "action_id": "notification_action_0", + "text": { + "text": "View workflow", + "type": "plain_text", + }, + "type": "button", + "url": "https://github.com/example-org/project/actions/runs/123456", + }, + ], + "type": "actions", + }, + { + "elements": [ + { + "emoji": true, + "text": "Integration · Run 123456 · Attempt 1", + "type": "plain_text", + }, + ], + "type": "context", + }, + ], + "color": "#168A45", + }, + ], + "blocks": [ + { + "elements": [ + { + "emoji": false, + "text": "CommerceKit · CLI setup · Succeeded", + "type": "plain_text", + }, + ], + "type": "context", + }, + ], + "mrkdwn": false, + "text": "Succeeded · CommerceKit CLI setup succeeded · 0.1.0-preview.2 · https://github.com/example-org/project/actions/runs/123456 · CommerceKit CLI 0.1.0-preview.2 was installed and verified.", + "unfurl_links": false, + "unfurl_media": false, +} +`; + +exports[`golden synthetic events > validates and renders each supported event fixture deterministically > setup-success.json: Teams Workflows 1`] = ` +{ + "attachments": [ + { + "content": { + "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", + "actions": [ + { + "title": "View workflow", + "type": "Action.OpenUrl", + "url": "https://github.com/example-org/project/actions/runs/123456", + }, + ], + "body": [ + { + "items": [ + { + "size": "Small", + "text": "CommerceKit · CLI setup · ✅ Succeeded", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "size": "Large", + "spacing": "Medium", + "text": "CommerceKit CLI setup succeeded", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "spacing": "Medium", + "text": "CommerceKit CLI 0.1.0-preview.2 was installed and verified.", + "type": "TextBlock", + "wrap": true, + }, + ], + "style": "good", + "type": "Container", + }, + { + "facts": [ + { + "title": "CLI version", + "value": "0.1.0-preview.2", + }, + { + "title": "Occurred", + "value": "2026-11-01 20:20:00 UTC", + }, + ], + "spacing": "Medium", + "type": "FactSet", + }, + { + "spacing": "Medium", + "text": "Result", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Requested version", + "value": "0.1.0-preview.2", + }, + { + "title": "Target", + "value": "linux-x64", + }, + { + "title": "Build identity", + "value": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb", + }, + { + "title": "Cache reused", + "value": "true", + }, + { + "title": "Duration", + "value": "1s", + }, + { + "title": "Repository", + "value": "example-org/project", + }, + ], + "spacing": "Small", + "type": "FactSet", + }, + { + "spacing": "Medium", + "text": "Inputs", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "version", + "value": "0.1.0-preview.2", + }, + { + "title": "Input validation", + "value": "Passed", + }, + { + "title": "Input truncation", + "value": "No input truncation reported.", + }, + ], + "spacing": "Small", + "type": "FactSet", + }, + { + "spacing": "Medium", + "text": "Issues", + "type": "TextBlock", + "weight": "Bolder", + "wrap": true, + }, + { + "facts": [ + { + "title": "Details", + "value": "No issues were reported in this event.", + }, + ], + "spacing": "Small", + "type": "FactSet", + }, + { + "isSubtle": true, + "size": "Small", + "spacing": "Medium", + "text": "Integration · Run 123456 · Attempt 1", + "type": "TextBlock", + "wrap": true, + }, + ], + "type": "AdaptiveCard", + "version": "1.2", + }, + "contentType": "application/vnd.microsoft.card.adaptive", + "contentUrl": null, + }, + ], + "type": "message", +} +`; diff --git a/tests/action.test.ts b/tests/action.test.ts index d8ddd21..0484d01 100644 --- a/tests/action.test.ts +++ b/tests/action.test.ts @@ -1,6 +1,13 @@ import { it, expect, vi, beforeEach } from 'vitest'; const { core, fetcher } = vi.hoisted(() => ({ - core: { getInput: vi.fn(), setSecret: vi.fn(), setOutput: vi.fn(), setFailed: vi.fn(), warning: vi.fn() }, + core: { + getInput: vi.fn(), + setSecret: vi.fn(), + setOutput: vi.fn(), + setFailed: vi.fn(), + warning: vi.fn(), + summary: { addRaw: vi.fn(), write: vi.fn() }, + }, fetcher: vi.fn(), })); vi.mock('@actions/core', () => core); @@ -16,6 +23,8 @@ const event = JSON.stringify({ }); beforeEach(() => { vi.clearAllMocks(); + core.summary.addRaw.mockReset().mockReturnValue(core.summary); + core.summary.write.mockReset().mockResolvedValue(core.summary); vi.stubGlobal('fetch', fetcher); fetcher.mockResolvedValue(new Response('', { status: 200 })); core.getInput.mockImplementation( @@ -38,11 +47,22 @@ it('runs the complete successful action and sets safe outputs', async () => { expect(core.setOutput).toHaveBeenCalledWith('delivered', 'true'); expect(core.setOutput).toHaveBeenCalledWith('attempts', '1'); expect(core.setFailed).not.toHaveBeenCalled(); + expect(summary()).toContain('✅'); + expect(summary()).toContain('Succeeded'); + for (const name of ['provider', 'event-json', 'event-file', 'webhook-url', 'fail-on-notification-error']) + expect(summary()).toContain(name); + expect(summary()).not.toContain('https://hooks.slack.com/services/fake/fake/fake'); + expect(summary()).not.toContain(event); + expect(core.getInput).toHaveBeenCalledTimes(5); + expect(core.getInput.mock.calls[0][0]).toBe('webhook-url'); + expect(core.setSecret.mock.invocationCallOrder[0]).toBeLessThan(core.getInput.mock.invocationCallOrder[1]); }); it('warns and succeeds on delivery failure by default', async () => { fetcher.mockRejectedValue(new TypeError('hidden')); await runAction(); expect(core.warning).toHaveBeenCalledWith(expect.stringContaining('network error')); + expect(summary()).toContain('⚠️'); + expect(summary()).toContain('Completed with warnings'); expect(core.setOutput).toHaveBeenCalledWith('delivered', 'false'); expect(core.setFailed).not.toHaveBeenCalled(); }); @@ -82,6 +102,112 @@ it('converts an input-read exception into failure and safe outputs', async () => throw new Error('private input exception'); }); await runAction(); - expect(core.setFailed).toHaveBeenCalledWith('private input exception'); + expect(core.setFailed).toHaveBeenCalledWith( + 'Notification action failed. Review the configured inputs and workflow logs.', + ); + expect(summary()).not.toContain('private input exception'); expect(core.setOutput).toHaveBeenCalledWith('delivered', 'false'); }); + +function summary(): string { + return String(core.summary.addRaw.mock.calls.at(-1)?.[0]); +} +it('delivering a failure source event remains successful notification delivery', async () => { + const source = JSON.parse(event); + source.status = 'failure'; + source.data.errors = 1; + const previous = core.getInput.getMockImplementation()!; + core.getInput.mockImplementation((name: string) => (name === 'event-json' ? JSON.stringify(source) : previous(name))); + await runAction(); + expect(core.setOutput).toHaveBeenCalledWith('delivered', 'true'); + expect(core.setOutput).toHaveBeenCalledWith('status', 'failure'); + expect(core.setFailed).not.toHaveBeenCalled(); + expect(summary()).toContain('✅'); + expect(summary()).toContain('Source outcome'); + expect(summary()).toContain('failure'); +}); +it('preserves successful delivery and outputs if summary writing fails', async () => { + core.summary.write.mockRejectedValueOnce(new Error('private summary detail')); + await runAction(); + expect(core.setOutput).toHaveBeenCalledWith('delivered', 'true'); + expect(core.setFailed).not.toHaveBeenCalled(); + expect(core.warning).toHaveBeenCalledWith( + 'Notification job summary could not be written; delivery outputs and the Action outcome are preserved.', + ); + expect(JSON.stringify(core.warning.mock.calls)).not.toContain('private summary detail'); +}); +it('does not print event-file paths or expose filesystem exceptions', async () => { + const previous = core.getInput.getMockImplementation()!; + core.getInput.mockImplementation((name: string) => + name === 'event-json' ? '' : name === 'event-file' ? '/private/synthetic-secret-report.json' : previous(name), + ); + await runAction(); + expect(fetcher).not.toHaveBeenCalled(); + expect(core.setFailed).toHaveBeenCalledWith( + 'Event file could not be read. Check that event-file points to a readable regular file.', + ); + expect(summary()).not.toContain('/private/synthetic-secret-report.json'); + expect(summary()).toContain('VALUE OMITTED'); + expect(summary()).toContain('❌'); +}); +it.each(['True', '0', 'yes'])('rejects malformed delivery-error policy %s', async (value) => { + const previous = core.getInput.getMockImplementation()!; + core.getInput.mockImplementation((name: string) => (name === 'fail-on-notification-error' ? value : previous(name))); + await runAction(); + expect(fetcher).not.toHaveBeenCalled(); + expect(core.setFailed).toHaveBeenCalledWith('fail-on-notification-error must be true or false.'); + expect(summary()).toContain('❌'); +}); + +it.each(['slack', 'teams-workflow'])( + 'never reflects its own %s webhook into the delivered event or summary', + async (provider) => { + const webhook = + provider === 'slack' + ? 'https://hooks.slack.com/services/synthetic/fake/private' + : 'https://public.example.test/private/synthetic-hook'; + const source = JSON.parse(event); + source.status = 'failure'; + source.data.errors = 1; + const lowerEncoded = encodeURIComponent(webhook).replace(/%[0-9A-F]{2}/gu, (part) => part.toLowerCase()); + source.data.error = { message: `Rejected ${webhook} and ${encodeURIComponent(webhook)} and ${lowerEncoded}` }; + source.context = { repository: 'synthetic/project', runUrl: webhook }; + source.links = [{ label: 'Private target', url: webhook }]; + const values: Record = { + provider, + 'webhook-url': webhook, + 'event-json': JSON.stringify(source), + 'event-file': '', + 'fail-on-notification-error': 'false', + }; + core.getInput.mockImplementation((name: string) => values[name] ?? ''); + await runAction(); + const payload = String(fetcher.mock.calls[0][1].body); + expect(payload).not.toContain(webhook); + expect(payload).not.toContain(encodeURIComponent(webhook)); + expect(payload).not.toContain(lowerEncoded); + expect(summary()).not.toContain(webhook); + expect(summary()).not.toContain(encodeURIComponent(webhook)); + expect(core.setOutput).toHaveBeenCalledWith('delivered', 'true'); + expect(core.setFailed).not.toHaveBeenCalled(); + }, +); + +it.each([1, 2])('preserves accepted delivery when the first %s output writes fail', async (count) => { + for (let index = 0; index < count; index++) + core.setOutput.mockImplementationOnce(() => { + throw new Error('private output detail'); + }); + await runAction(); + expect(fetcher).toHaveBeenCalledOnce(); + expect(core.setOutput).toHaveBeenCalledWith('delivered', 'true'); + expect(core.setOutput).not.toHaveBeenCalledWith('delivered', 'false'); + expect(core.setOutput).toHaveBeenCalledWith('attempts', '1'); + expect(core.setFailed).toHaveBeenCalledWith( + 'Notification delivery state was preserved, but one or more Action outputs could not be written.', + ); + expect(summary()).toContain('The notification was delivered.'); + expect(summary()).toContain('notification-output-failure'); + expect(summary()).not.toContain('notification-not-delivered'); + expect(summary()).not.toContain('private output detail'); +}); diff --git a/tests/bundle.test.ts b/tests/bundle.test.ts index 4d83bc2..6cacbac 100644 --- a/tests/bundle.test.ts +++ b/tests/bundle.test.ts @@ -1,103 +1,189 @@ -import { it, expect } from 'vitest'; -import { mkdtemp, readFile, writeFile, copyFile, rm } from 'node:fs/promises'; -import { execFileSync } from 'node:child_process'; +import { describe, expect, it } from 'vitest'; +import { mkdtemp, readFile, writeFile, copyFile, rm, readdir } from 'node:fs/promises'; +import { spawnSync } from 'node:child_process'; import { tmpdir } from 'node:os'; import { join } from 'node:path'; +import { getNotificationStyle, validateNotificationEvent } from '@commercekit-tools/notification-contract'; -it('runs the standalone bundle without node_modules or registry authentication using a mocked provider', async () => { - const dir = await mkdtemp(join(tmpdir(), 'notify-bundle-')); +async function bundleRun( + event: string, + provider: 'slack' | 'teams-workflow', + options: { + httpStatus?: number; + failOn?: string; + exitCode?: number; + extraInputs?: Record; + useFile?: boolean; + outputFailures?: number; + } = {}, +) { + const dir = await mkdtemp(join(tmpdir(), 'notify-consistent-bundle-')); + const webhook = + provider === 'slack' + ? 'https://hooks.slack.com/services/synthetic/fake/private' + : 'https://public.example.test/private/synthetic-hook'; try { await copyFile(new URL('../dist/index.js', import.meta.url), join(dir, 'index.mjs')); await writeFile(join(dir, 'output'), ''); + await writeFile(join(dir, 'summary'), ''); + if (options.useFile) await writeFile(join(dir, 'event.json'), event); await writeFile( join(dir, 'preload.mjs'), - `import { writeFileSync } from 'node:fs'; - globalThis.fetch = async (_url, options) => { - writeFileSync('payload.json', options.body); - return new Response('', { status: 200 }); - };`, + `import fs from 'node:fs'; + import {syncBuiltinESMExports} from 'node:module'; + const {writeFileSync} = fs; + const originalAppend = fs.appendFileSync; + let outputFailures = ${options.outputFailures ?? 0}; + fs.appendFileSync = (path, ...args) => { + if(String(path) === ${JSON.stringify(join(dir, 'output'))} && outputFailures > 0) { outputFailures--; throw new Error('Synthetic private output failure.'); } + return originalAppend(path, ...args); + }; + syncBuiltinESMExports(); + globalThis.fetch = async (url, options) => { + if(String(url) !== ${JSON.stringify(webhook)}) throw new Error('Unexpected synthetic provider target.'); + writeFileSync('payload.json', options.body); + return new Response('', {status: ${options.httpStatus ?? 200}}); + };`, ); - const event = await readFile(new URL('./fixtures/events/build-success.json', import.meta.url), 'utf8'); - execFileSync(process.execPath, ['--import', join(dir, 'preload.mjs'), join(dir, 'index.mjs')], { + const result = spawnSync(process.execPath, ['--import', join(dir, 'preload.mjs'), join(dir, 'index.mjs')], { cwd: dir, env: { - INPUT_PROVIDER: 'slack', - 'INPUT_EVENT-JSON': event, - 'INPUT_WEBHOOK-URL': 'https://hooks.slack.com/services/fake/fake/fake', + INPUT_PROVIDER: provider, + 'INPUT_EVENT-JSON': options.useFile ? '' : event, + ...(options.useFile ? { 'INPUT_EVENT-FILE': join(dir, 'event.json') } : {}), + 'INPUT_WEBHOOK-URL': webhook, + 'INPUT_FAIL-ON-NOTIFICATION-ERROR': options.failOn ?? 'false', GITHUB_OUTPUT: join(dir, 'output'), + GITHUB_STEP_SUMMARY: join(dir, 'summary'), + ...options.extraInputs, }, - stdio: 'pipe', + encoding: 'utf8', timeout: 15000, }); - const payload = JSON.parse(await readFile(join(dir, 'payload.json'), 'utf8')); - expect(payload.text).toContain('CCv2 build succeeded'); + if (result.error) throw result.error; + expect(result.status, result.stdout + result.stderr).toBe(options.exitCode ?? 0); + const payload = await readFile(join(dir, 'payload.json'), 'utf8').catch(() => ''); const output = await readFile(join(dir, 'output'), 'utf8'); - expect(output).toMatch(/delivered<<[^\n]+\ntrue\n/); - expect(output).toMatch(/attempts<<[^\n]+\n1\n/); + const summary = await readFile(join(dir, 'summary'), 'utf8'); + const publicLogs = (result.stdout + result.stderr) + .split(/\r?\n/u) + .filter((line) => !line.startsWith('::add-mask::')) + .join('\n'); + for (const text of [payload, output, summary, publicLogs]) { + expect(text).not.toContain(webhook); + expect(text).not.toContain(encodeURIComponent(webhook)); + } + for (const name of ['provider', 'event-json', 'event-file', 'webhook-url', 'fail-on-notification-error']) + expect(summary).toContain(name); + expect(summary).toContain('Result'); + expect(summary).toContain('Inputs'); + expect(summary).not.toContain(dir); + return { payload, output, summary, publicLogs }; } finally { await rm(dir, { recursive: true, force: true }); } -}); +} -for (const provider of ['slack', 'teams-workflow']) - for (const status of ['success', 'failure', 'warning']) - it(`runs the published ${provider} cleanup ${status} bundle with complete redacted context`, async () => { - const dir = await mkdtemp(join(tmpdir(), 'notify-cleanup-bundle-')); - try { - await copyFile(new URL('../dist/index.js', import.meta.url), join(dir, 'index.mjs')); - await writeFile(join(dir, 'output'), ''); - await writeFile( - join(dir, 'preload.mjs'), - `import { writeFileSync } from 'node:fs'; - globalThis.fetch = async (_url, options) => { - writeFileSync('payload.json', options.body); - return new Response('', { status: 200 }); - };`, - ); +const fixtures = (await readdir(new URL('./fixtures/events/', import.meta.url))) + .filter((name) => name.endsWith('.json')) + .sort(); +describe('actual standalone bundle without node_modules, registry credentials or live providers', () => { + for (const provider of ['slack', 'teams-workflow'] as const) + for (const fixture of fixtures) + it(`${provider}: renders ${fixture} with source semantics and a successful delivery summary`, async () => { + const source = await readFile(new URL(`./fixtures/events/${fixture}`, import.meta.url), 'utf8'); + const event = validateNotificationEvent(JSON.parse(source)); + const result = await bundleRun(source, provider); + expect(result.output).toMatch(/delivered<<[^\n]+\ntrue\n/); + expect(result.output).toMatch(/attempts<<[^\n]+\n1\n/); + expect(result.output).toMatch(new RegExp(`status<<[^\\n]+\\n${event.status}\\n`)); + for (const title of ['Result', 'Inputs', 'Issues']) expect(result.payload).toContain(title); + expect(result.payload).toContain(getNotificationStyle(event.status).icon); + expect(result.summary).toContain('✅'); + expect(result.summary).toContain('The notification was delivered.'); + expect(result.summary).toContain(event.eventType); + expect(result.summary).toContain(event.status); + for (const name of Object.keys(event.data.inputs ?? {})) expect(result.payload).toContain(name); + }); + for (const provider of ['slack', 'teams-workflow'] as const) + for (const failOn of ['false', 'true']) + it(`${provider}: preserves ${failOn === 'true' ? 'fatal failure' : 'nonfatal warning'} delivery policy in outputs and summary`, async () => { + const source = await readFile(new URL('./fixtures/events/build-success.json', import.meta.url), 'utf8'); + const result = await bundleRun(source, provider, { + httpStatus: 400, + failOn, + exitCode: failOn === 'true' ? 1 : 0, + }); + expect(result.output).toMatch(/delivered<<[^\n]+\nfalse\n/); + expect(result.output).toMatch(/attempts<<[^\n]+\n1\n/); + expect(result.summary).toContain(failOn === 'true' ? '❌' : '⚠️'); + expect(result.summary).toContain('HTTP 400'); + expect(result.summary).toContain('The notification was not delivered.'); + expect(result.summary).toContain('Source outcome'); + }); + for (const provider of ['slack', 'teams-workflow'] as const) + for (const status of ['failure', 'warning', 'cancelled', 'internal-error'] as const) + it(`${provider}: renders setup ${status} without confusing source and delivery outcomes`, async () => { const event = JSON.parse( - await readFile(new URL('./fixtures/events/cleanup-warning.json', import.meta.url), 'utf8'), + await readFile(new URL('./fixtures/events/setup-success.json', import.meta.url), 'utf8'), ); event.status = status; - if (status === 'success') { - event.data.mode = 'apply'; - event.data.cleanupStatus = 'success'; - event.data.deletionRequestedCount = 2; - event.data.inputs['dry-run'] = 'false'; - delete event.data.issues; - } else if (status === 'failure') { - event.data.cleanupStatus = 'failed'; - event.data.error = { code: 'authorization-failure', message: 'CCv2 authorization failed (HTTP 403).' }; - delete event.data.issues; - } - execFileSync(process.execPath, ['--import', join(dir, 'preload.mjs'), join(dir, 'index.mjs')], { - cwd: dir, - env: { - INPUT_PROVIDER: provider, - 'INPUT_EVENT-JSON': JSON.stringify(event), - 'INPUT_WEBHOOK-URL': - provider === 'slack' - ? 'https://hooks.slack.com/services/fake/fake/fake' - : 'https://public.example.test/workflow', - GITHUB_OUTPUT: join(dir, 'output'), - }, - stdio: 'pipe', - timeout: 15000, - }); - const payload = await readFile(join(dir, 'payload.json'), 'utf8'); - for (const name of Object.keys(event.data.inputs)) expect(payload).toContain(name); - expect(payload).toContain('https://sandbox.example.test'); - expect(payload).toContain('REDACTED'); - expect(payload).toContain( - status === 'warning' - ? 'SAP deletion eligibility could not be verified' - : status === 'failure' - ? 'HTTP 403' - : '2 build deletion requests accepted', - ); - const output = await readFile(join(dir, 'output'), 'utf8'); - expect(output).toMatch(/delivered<<[^\n]+\ntrue\n/); - expect(output).toMatch(new RegExp(`status<<[^\\n]+\\n${status}\\n`)); - } finally { - await rm(dir, { recursive: true, force: true }); - } + if (status === 'failure' || status === 'internal-error') + event.data.error = { code: 'setup-failed', message: 'CLI installation verification failed.' }; + if (status === 'warning') + event.data.issues = [{ code: 'setup-attention', message: 'A setup condition requires attention.' }]; + const result = await bundleRun(JSON.stringify(event), provider); + expect(result.payload).toContain(getNotificationStyle(status).icon); + expect(result.output).toMatch(new RegExp(`status<<[^\\n]+\\n${status}\\n`)); + expect(result.summary).toContain('✅'); + expect(result.summary).toContain('The notification was delivered.'); + }); + it('reads an event file without exposing its path or payload in its own summary', async () => { + const source = await readFile(new URL('./fixtures/events/setup-success.json', import.meta.url), 'utf8'); + const result = await bundleRun(source, 'teams-workflow', { useFile: true }); + expect(result.summary).toContain('VALUE OMITTED'); + expect(result.summary).not.toContain(source); + expect(result.summary).not.toContain('event.json'); + expect(result.output).toMatch(/delivered<<[^\n]+\ntrue\n/); + }); + for (const outputFailures of [1, 2]) + it(`keeps accepted delivery authoritative after ${outputFailures} output-file writes fail`, async () => { + const source = await readFile(new URL('./fixtures/events/build-success.json', import.meta.url), 'utf8'); + const result = await bundleRun(source, 'teams-workflow', { outputFailures, exitCode: 1 }); + expect(result.payload).toContain('CCv2 build succeeded'); + expect(result.output).not.toMatch(/delivered<<[^\n]+\nfalse\n/); + expect(result.output).toMatch(/attempts<<[^\n]+\n1\n/); + expect(result.summary).toContain('The notification was delivered.'); + expect(result.summary).toContain('notification-output-failure'); + expect(result.summary).not.toContain('notification-not-delivered'); + expect(result.publicLogs).not.toContain('Synthetic private output failure'); + }); + it('reports invalid JSON as a failure with safely omitted input content', async () => { + const source = JSON.stringify({ secret: ['eyJsynthetic', 'payload', 'signature'].join('.') }); + const result = await bundleRun(source, 'slack', { exitCode: 1 }); + expect(result.payload).toBe(''); + expect(result.summary).toContain('❌'); + expect(result.summary).toContain('Invalid NotificationEvent'); + expect(result.summary).toContain('VALUE OMITTED'); + expect(result.summary).not.toContain(source); + }); + for (const provider of ['slack', 'teams-workflow'] as const) + it(`${provider}: redacts reflected current webhook values in source errors, links and context`, async () => { + const webhook = + provider === 'slack' + ? 'https://hooks.slack.com/services/synthetic/fake/private' + : 'https://public.example.test/private/synthetic-hook'; + const source = JSON.parse( + await readFile(new URL('./fixtures/events/build-failure.json', import.meta.url), 'utf8'), + ); + const lowerEncoded = encodeURIComponent(webhook).replace(/%[0-9A-F]{2}/gu, (part) => part.toLowerCase()); + source.data.error = { message: `Rejected ${webhook} and ${encodeURIComponent(webhook)} and ${lowerEncoded}` }; + source.context = { repository: 'synthetic/project', runUrl: webhook }; + source.links = [{ label: 'Private destination', url: webhook }]; + const result = await bundleRun(JSON.stringify(source), provider); + expect(result.payload).toContain('REDACTED'); + expect(result.payload).not.toContain(lowerEncoded); + expect(result.summary).toContain('✅'); + expect(result.output).toMatch(/delivered<<[^\n]+\ntrue\n/); }); +}); diff --git a/tests/cleanup-context.test.ts b/tests/cleanup-context.test.ts index 2dc01c7..c3a368f 100644 --- a/tests/cleanup-context.test.ts +++ b/tests/cleanup-context.test.ts @@ -170,7 +170,7 @@ describe('complete cleanup notification context', () => { const p = createPresentation(legacy); expect(p.facts).toContainEqual({ label: 'Application', value: 'All applications' }); expect(p.facts).toContainEqual({ label: 'Repository', value: 'example/integration' }); - expect(p.sections?.find((section) => section.title === 'Cleanup policy')?.facts).toContainEqual({ + expect(p.sections?.find((section) => section.title === 'Inputs')?.facts).toContainEqual({ label: 'Input context', value: 'Complete input context was not included in this event.', }); @@ -209,7 +209,7 @@ describe('complete cleanup notification context', () => { expect(p.actions).toEqual([]); expect( p.sections - ?.find((section) => section.title === 'Cleanup inputs') + ?.find((section) => section.title === 'Inputs') ?.facts.filter((fact) => ['token-endpoint', 'client-id', 'client-secret', 'resource'].includes(fact.label)) .map((fact) => fact.value), ).toEqual(Array(4).fill('[REDACTED]')); @@ -229,8 +229,8 @@ describe('complete cleanup notification context', () => { }); const p = createPresentation(rejected); const both = JSON.stringify([renderSlack(p), renderTeams(p)]); - expect(both).toContain('validation failed'); - expect(both).toContain('rejected before cleanup'); + expect(both).toContain('Input validation'); + expect(both).toContain('Incomplete'); expect(both).toContain('truncated'); expect(both).not.toContain(''); for (const name of Object.keys(inputs)) expect(both).toContain(name); @@ -271,16 +271,17 @@ describe('complete cleanup notification context', () => { }); const p = createPresentation(incomplete); expect(p.summary).toBeTruthy(); - expect(p.sections?.find((section) => section.title === 'Cleanup issues')?.facts[0].value).toBe( - 'Review the workflow report.', - ); + expect( + p.sections?.find((section) => section.title === 'Issues')?.facts.find((fact) => fact.label === 'Issue 1') + ?.value, + ).toBe('Review the workflow report.'); } const incomplete = event('success'); Object.assign(incomplete.data, { inputs: { ...inputs, 'application-code': '' }, cleanupStatus: '' }); const p = createPresentation(incomplete); - expect(p.sections?.find((section) => section.title === 'Cleanup inputs')?.facts).toContainEqual({ + expect(p.sections?.find((section) => section.title === 'Inputs')?.facts).toContainEqual({ label: 'application-code', - value: 'Not included', + value: '(not set)', }); }); }); diff --git a/tests/contract-security.test.ts b/tests/contract-security.test.ts index f636009..8372064 100644 --- a/tests/contract-security.test.ts +++ b/tests/contract-security.test.ts @@ -126,21 +126,22 @@ describe('input and delivery safety', () => { { attempts: 2 }, ); }); - it('rejects a Teams card above the 27 KiB safety cap', () => { - expect(() => - renderTeams({ - category: 'CommerceKit · Test', - title: 'Synthetic', - status: 'success', - statusLabel: 'Succeeded', - icon: '✅', - tone: 'success', - accent: '#168A45', - highlights: [], - facts: Array.from({ length: 10 }, (_, index) => ({ label: `Fact ${index}`, value: '界'.repeat(1000) })), - actions: [], - }), - ).toThrow(/27 KiB/); + it('bounds large Teams display values with explicit truncation under the 27 KiB safety cap', () => { + const payload = renderTeams({ + category: 'CommerceKit · Test', + title: 'Synthetic', + status: 'success', + statusLabel: 'Succeeded', + icon: '✅', + tone: 'success', + accent: '#168A45', + highlights: [], + facts: Array.from({ length: 10 }, (_, index) => ({ label: `Fact ${index}`, value: '界'.repeat(1000) })), + actions: [], + }); + expect(Buffer.byteLength(JSON.stringify(payload))).toBeLessThanOrEqual(27 * 1024); + expect(JSON.stringify(payload)).toContain('truncated'); + for (let index = 0; index < 10; index++) expect(JSON.stringify(payload)).toContain(`Fact ${index}`); }); }); diff --git a/tests/fixtures.test.ts b/tests/fixtures.test.ts index dd172ec..b1d81c8 100644 --- a/tests/fixtures.test.ts +++ b/tests/fixtures.test.ts @@ -7,6 +7,7 @@ import { renderTeams } from '../src/providers/teams-workflow/render.js'; import { theme } from '../src/presentation/theme.js'; const titles: Record = { + 'setup-success': 'CommerceKit CLI setup succeeded', 'cleanup-success': 'CCv2 build cleanup completed', 'cleanup-warning': 'CCv2 build cleanup completed with warnings', 'cleanup-failure': 'CCv2 build cleanup failed', @@ -32,7 +33,7 @@ describe('golden synthetic events', () => { const names = (await readdir(new URL('./fixtures/events/', import.meta.url))) .filter((n) => n.endsWith('.json')) .sort(); - expect(names).toHaveLength(19); + expect(names).toHaveLength(20); for (const name of names) { const event = JSON.parse(await readFile(new URL(`./fixtures/events/${name}`, import.meta.url), 'utf8')); validateEvent(event); @@ -94,19 +95,11 @@ describe('golden synthetic events', () => { { label: 'Occurred', value: '2026-11-01 20:20:00 UTC' }, ]); expect(presentation.facts.map((fact) => fact.label)).toEqual(['Application', 'Status', 'Repository']); - expect(renderSlack(presentation).attachments[0].blocks.map((block) => block.type)).toEqual([ - 'header', - 'section', - 'divider', - 'section', - 'section', - 'actions', - 'context', - ]); + const slack = renderSlack(presentation); + for (const title of ['Result', 'Inputs', 'Issues']) expect(JSON.stringify(slack)).toContain(title); const card = renderTeams(presentation).attachments[0].content; - expect(card.body.map((element) => element.type)).toEqual(['Container', 'FactSet', 'Container', 'TextBlock']); expect(card.body[0]).toMatchObject({ style: 'good' }); - expect(card.body[2]).toMatchObject({ style: 'emphasis' }); + for (const title of ['Result', 'Inputs', 'Issues']) expect(JSON.stringify(card)).toContain(title); expect(card.actions).toMatchObject([ { type: 'Action.OpenUrl', title: 'View workflow' }, { type: 'Action.OpenUrl', title: 'View build progress' }, diff --git a/tests/fixtures/events/setup-success.json b/tests/fixtures/events/setup-success.json new file mode 100644 index 0000000..80711da --- /dev/null +++ b/tests/fixtures/events/setup-success.json @@ -0,0 +1,26 @@ +{ + "schemaVersion": 1, + "eventId": "ckevt_setup_success", + "eventType": "commercekit.setup.completed", + "status": "success", + "occurredAt": "2026-11-01T20:20:00Z", + "source": { "product": "commercekit", "component": "setup-commercekit" }, + "context": { + "repository": "example-org/project", + "workflow": "Integration", + "runId": "123456", + "runAttempt": 1, + "runUrl": "https://github.com/example-org/project/actions/runs/123456" + }, + "data": { + "requestedVersion": "0.1.0-preview.2", + "version": "0.1.0-preview.2", + "target": "linux-x64", + "buildId": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb", + "cacheHit": true, + "durationMs": 1000, + "inputs": { "version": "0.1.0-preview.2" }, + "inputsValidated": true, + "inputsTruncated": false + } +} diff --git a/tests/package-integration.test.ts b/tests/package-integration.test.ts index 2e56f57..463f4b0 100644 --- a/tests/package-integration.test.ts +++ b/tests/package-integration.test.ts @@ -19,7 +19,7 @@ import { renderTeams } from '../src/providers/teams-workflow/render.js'; const text = await readFile(new URL('./fixtures/events/build-success.json', import.meta.url), 'utf8'); it('uses the pinned package and its public schema export', () => { - expect(metadata.version).toBe('0.0.5'); + expect(metadata.version).toBe('0.0.6'); expect(schema.properties.schemaVersion.const).toBe(1); }); diff --git a/tests/reporting-consistency.test.ts b/tests/reporting-consistency.test.ts new file mode 100644 index 0000000..c407857 --- /dev/null +++ b/tests/reporting-consistency.test.ts @@ -0,0 +1,161 @@ +import { readFile } from 'node:fs/promises'; +import { describe, expect, it } from 'vitest'; +import { getNotificationStyle, validateNotificationEvent } from '@commercekit-tools/notification-contract'; +import { createPresentation } from '../src/presentation/create-presentation.js'; +import { renderSlack } from '../src/providers/slack/render.js'; +import { renderTeams, TEAMS_MAX_BYTES } from '../src/providers/teams-workflow/render.js'; + +async function fixture(name: string) { + return validateNotificationEvent( + JSON.parse(await readFile(new URL(`./fixtures/events/${name}.json`, import.meta.url), 'utf8')), + ); +} +const allFacts = (p: ReturnType) => p.sections?.flatMap((section) => section.facts) ?? []; +describe('ecosystem notification formatting', () => { + it.each([ + 'check-success', + 'check-warning', + 'check-failure', + 'build-started', + 'build-success', + 'build-failure', + 'deployment-action-required', + 'deployment-cancelled', + 'deployment-success', + 'cleanup-warning', + 'setup-success', + ])('uses the shared visual style and complete detail sections for %s', async (name) => { + const event = await fixture(name); + const p = createPresentation(event); + const style = getNotificationStyle(event.status); + expect(p).toMatchObject({ statusLabel: style.label, icon: style.icon, tone: style.tone, accent: style.accent }); + expect(p.sections?.map((section) => section.title)).toEqual(['Result', 'Inputs', 'Issues']); + expect(p.sections?.[0].facts).toEqual(p.facts); + const payload = JSON.stringify([renderSlack(p), renderTeams(p)]); + for (const title of ['Result', 'Inputs', 'Issues']) expect(payload).toContain(title); + if (!event.data.inputs) expect(payload).toContain('Complete input context was not included'); + }); + it('includes all build/deploy inputs, safe cross-field redaction and bounded Unicode previews', async () => { + for (const name of ['build-success', 'deployment-failure']) { + const base = await fixture(name); + const names = Array.from({ length: 21 }, (_, index) => `public-input-${index}`); + const inputs = Object.fromEntries(names.map((key) => [key, '🐬'.repeat(256)])); + const event = validateNotificationEvent({ + ...base, + data: { + ...base.data, + inputs: { ...inputs, 'client-secret': '[REDACTED]' }, + inputsValidated: true, + inputsTruncated: false, + error: { code: 'bounded-error', message: '🐬'.repeat(1000) }, + issues: Array.from({ length: 3 }, (_, index) => ({ code: `issue-${index}`, message: '🐬'.repeat(1000) })), + }, + links: Array.from({ length: 3 }, (_, index) => ({ + label: `Details ${index}`, + url: `https://example.test/${'x'.repeat(1900)}${index}`, + })), + }); + const p = createPresentation(event); + const teams = renderTeams(p); + const slack = renderSlack(p); + const text = JSON.stringify([teams, slack]); + for (const key of [...names, 'client-secret']) expect(text).toContain(key); + expect(Buffer.byteLength(JSON.stringify(teams))).toBeLessThanOrEqual(TEAMS_MAX_BYTES); + expect(slack.attachments[0].blocks.length + slack.blocks.length).toBeLessThanOrEqual(50); + expect(text).toContain('truncated'); + expect(allFacts(p).filter((fact) => names.includes(fact.label))).toHaveLength(21); + } + }); + it('defends raw direct presentation callers across inputs, context, errors and links', async () => { + for (const name of ['check-failure', 'build-failure', 'deployment-failure', 'setup-success']) { + const event = await fixture(name); + const credential = 'synthetic-private-value'; + const jwt = ['eyJsynthetic', 'payload', 'signature'].join('.'); + Object.assign(event, { + context: { repository: credential, runUrl: `https://example.test/${credential}` }, + links: [{ label: credential, url: `https://example.test/run?value=${credential}` }], + data: { + ...event.data, + inputs: { + 'client-secret': credential, + 'public-setting': `${credential} ${jwt}`, + 'event-file': '/private/event-data.json', + }, + inputsValidated: true, + error: { code: credential, message: `Rejected ${credential} ${jwt}` }, + }, + }); + const p = createPresentation(event); + const payloads = JSON.stringify([p, renderSlack(p), renderTeams(p)]); + for (const hidden of [credential, jwt, '/private/event-data.json']) expect(payloads).not.toContain(hidden); + expect(p.actions).toEqual([]); + expect(payloads).toContain('REDACTED'); + } + }); + it('retains more than nine result facts without silently dropping repository context', async () => { + const event = await fixture('cleanup-warning'); + const p = createPresentation(event); + expect(p.facts.length).toBeGreaterThan(9); + expect(p.facts.find((fact) => fact.label === 'Repository')).toBeTruthy(); + const text = JSON.stringify([renderSlack(p), renderTeams(p)]); + for (const fact of p.facts) expect(text).toContain(fact.label); + }); +}); + +it.each(['failure', 'warning', 'cancelled', 'internal-error'] as const)( + 'gives setup %s the shared semantic status and complete context', + async (status) => { + const base = await fixture('setup-success'); + const event = validateNotificationEvent({ ...base, status }); + const p = createPresentation(event); + const style = getNotificationStyle(status); + expect(p.statusLabel).toBe(style.label); + expect(p.icon).toBe(style.icon); + expect(p.tone).toBe(style.tone); + expect(p.summary).toBeTruthy(); + if (status === 'warning') expect(p.summary).toContain('warnings'); + if (status === 'cancelled') expect(p.tone).toBe('neutral'); + const text = JSON.stringify([renderSlack(p), renderTeams(p)]); + expect(text).toContain('version'); + expect(text).toContain('Result'); + expect(text).toContain('Issues'); + }, +); +it('handles sparse direct renderer input and enforces hard provider caps without losing bounded fields', () => { + const minimal = { + category: 'CommerceKit · Direct renderer', + title: 'Synthetic', + status: 'success' as const, + statusLabel: 'Succeeded', + icon: '✅', + tone: 'success' as const, + accent: '#168A45', + highlights: [], + facts: [], + actions: [], + }; + expect(JSON.stringify(renderSlack(minimal))).toContain('Synthetic'); + expect(JSON.stringify(renderTeams(minimal))).toContain('Synthetic'); + const excessive = { + ...minimal, + facts: Array.from({ length: 500 }, (_, index) => ({ label: `Fact ${index}`, value: '🐬'.repeat(256) })), + }; + expect(() => renderSlack(excessive)).toThrow('Block Kit block limit'); + expect(() => renderTeams(excessive)).toThrow('27 KiB'); +}); +it('defends malformed direct input names/values and explains excess context rather than silently broadening it', async () => { + const base = await fixture('build-failure'); + const entries = Object.fromEntries( + Array.from({ length: 51 }, (_, index) => [`public-${index}`, index === 0 ? null : 'value']), + ); + Object.assign(base.data, { + inputs: { ...entries, 'Invalid Secret Name': 'synthetic-private-value' }, + inputsValidated: false, + issues: [null, { message: '' }], + }); + const p = createPresentation(base); + const rendered = JSON.stringify([p, renderSlack(p), renderTeams(p)]); + expect(rendered).not.toContain('synthetic-private-value'); + expect(rendered).toContain('invalid or excess input names were omitted'); + expect(rendered).toContain('Review the workflow report.'); +}); diff --git a/tests/sanitization.test.ts b/tests/sanitization.test.ts index 20a4fe7..1e311b3 100644 --- a/tests/sanitization.test.ts +++ b/tests/sanitization.test.ts @@ -10,10 +10,10 @@ describe('sanitization rules', () => { 'Use [REDACTED SLACK WEBHOOK] now', ], ['GitHub PAT', 'ghp_fakeExampleToken123', '[REDACTED GITHUB TOKEN]'], - ['client_secret', 'client_secret=sample-secret', 'client_secret=[REDACTED]'], - ['password', 'password:sample-secret', 'password:[REDACTED]'], - ['token assignment', 'token = sample-secret', 'token = [REDACTED]'], - ['Authorization header', 'Authorization: Bearer sample-secret', 'Authorization: [REDACTED]'], + ['client_secret', 'client_secret=sample-secret', '[REDACTED]'], + ['password', 'password:sample-secret', '[REDACTED]'], + ['token assignment', 'token = sample-secret', '[REDACTED]'], + ['Authorization header', 'Authorization: Bearer sample-secret', '[REDACTED]'], ['secret query URL', 'https://example.test/hook?sig=sample-secret&mode=go', '[REDACTED URL]'], ])('sanitizes %s exactly', (_name, input, expected) => expect(sanitize(input)).toBe(expected));