@powerlines/plugin-env 0.16.59 → 0.16.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -16
- package/dist/_virtual/{rolldown_runtime.cjs → _rolldown/runtime.cjs} +1 -3
- package/dist/_virtual/{rolldown_runtime.mjs → _rolldown/runtime.mjs} +2 -3
- package/dist/babel/index.cjs +1 -0
- package/dist/babel/plugin.cjs +20 -19
- package/dist/babel/plugin.d.cts +0 -1
- package/dist/babel/plugin.d.cts.map +1 -1
- package/dist/babel/plugin.d.mts +0 -1
- package/dist/babel/plugin.d.mts.map +1 -1
- package/dist/babel/plugin.mjs +3 -3
- package/dist/babel/plugin.mjs.map +1 -1
- package/dist/components/docs.cjs +26 -25
- package/dist/components/docs.d.cts.map +1 -1
- package/dist/components/docs.d.mts.map +1 -1
- package/dist/components/docs.mjs +1 -1
- package/dist/components/env-builtin.cjs +155 -153
- package/dist/components/env-builtin.d.cts +0 -1
- package/dist/components/env-builtin.d.cts.map +1 -1
- package/dist/components/env-builtin.d.mts +0 -1
- package/dist/components/env-builtin.d.mts.map +1 -1
- package/dist/components/env-builtin.mjs +1 -1
- package/dist/components/index.cjs +1 -0
- package/dist/helpers/automd-generator.cjs +4 -3
- package/dist/helpers/automd-generator.d.cts +2 -3
- package/dist/helpers/automd-generator.d.cts.map +1 -1
- package/dist/helpers/automd-generator.d.mts +2 -3
- package/dist/helpers/automd-generator.d.mts.map +1 -1
- package/dist/helpers/automd-generator.mjs +1 -1
- package/dist/helpers/automd-generator.mjs.map +1 -1
- package/dist/helpers/create-reflection-resource.cjs +1 -0
- package/dist/helpers/create-reflection-resource.d.cts +0 -1
- package/dist/helpers/create-reflection-resource.d.cts.map +1 -1
- package/dist/helpers/create-reflection-resource.d.mts +0 -1
- package/dist/helpers/create-reflection-resource.d.mts.map +1 -1
- package/dist/helpers/create-reflection-resource.mjs.map +1 -1
- package/dist/helpers/docs-helper.cjs +4 -2
- package/dist/helpers/docs-helper.d.cts +0 -1
- package/dist/helpers/docs-helper.d.cts.map +1 -1
- package/dist/helpers/docs-helper.d.mts +0 -1
- package/dist/helpers/docs-helper.d.mts.map +1 -1
- package/dist/helpers/docs-helper.mjs +1 -1
- package/dist/helpers/docs-helper.mjs.map +1 -1
- package/dist/helpers/index.cjs +1 -0
- package/dist/helpers/load.cjs +19 -17
- package/dist/helpers/load.d.cts +0 -1
- package/dist/helpers/load.d.cts.map +1 -1
- package/dist/helpers/load.d.mts +0 -1
- package/dist/helpers/load.d.mts.map +1 -1
- package/dist/helpers/load.mjs +2 -2
- package/dist/helpers/load.mjs.map +1 -1
- package/dist/helpers/persistence.cjs +59 -58
- package/dist/helpers/persistence.d.cts +0 -1
- package/dist/helpers/persistence.d.cts.map +1 -1
- package/dist/helpers/persistence.d.mts +0 -1
- package/dist/helpers/persistence.d.mts.map +1 -1
- package/dist/helpers/persistence.mjs +15 -15
- package/dist/helpers/persistence.mjs.map +1 -1
- package/dist/helpers/reflect.cjs +40 -39
- package/dist/helpers/reflect.d.cts.map +1 -1
- package/dist/helpers/reflect.d.mts.map +1 -1
- package/dist/helpers/reflect.mjs +2 -2
- package/dist/helpers/reflect.mjs.map +1 -1
- package/dist/helpers/source-file-env.cjs +8 -7
- package/dist/helpers/source-file-env.d.cts.map +1 -1
- package/dist/helpers/source-file-env.d.mts.map +1 -1
- package/dist/helpers/source-file-env.mjs.map +1 -1
- package/dist/helpers/template-helpers.cjs +6 -5
- package/dist/helpers/template-helpers.d.cts +0 -1
- package/dist/helpers/template-helpers.d.cts.map +1 -1
- package/dist/helpers/template-helpers.d.mts +0 -1
- package/dist/helpers/template-helpers.d.mts.map +1 -1
- package/dist/helpers/template-helpers.mjs.map +1 -1
- package/dist/index.cjs +49 -49
- package/dist/index.d.cts +0 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +0 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +5 -6
- package/dist/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.2/node_modules/c12/dist/index.cjs +7 -7
- package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.2/node_modules/c12/dist/index.mjs +6 -6
- package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.2/node_modules/c12/dist/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/_format.cjs +6 -6
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/_format.mjs +6 -6
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/_format.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/json.cjs +3 -3
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/json.mjs +3 -3
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/json.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/js-yaml.cjs +655 -655
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/js-yaml.mjs +655 -655
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/js-yaml.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/json5.cjs +179 -179
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/json5.mjs +179 -179
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/json5.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/jsonc-parser.cjs +188 -188
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/jsonc-parser.mjs +188 -188
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/jsonc-parser.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/smol-toml.cjs +297 -297
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/smol-toml.mjs +297 -297
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/smol-toml.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/rolldown-runtime.cjs +8 -8
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/rolldown-runtime.mjs +8 -8
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/rolldown-runtime.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/json5.cjs +3 -3
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/json5.mjs +4 -4
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/json5.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/jsonc.cjs +3 -3
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/jsonc.mjs +3 -3
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/jsonc.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/yaml.cjs +2 -2
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/yaml.mjs +2 -2
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/yaml.mjs.map +1 -1
- package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/lib/main.cjs +5 -5
- package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/lib/main.mjs +4 -4
- package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/lib/main.mjs.map +1 -1
- package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/package.cjs +2 -2
- package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/package.mjs +1 -1
- package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/package.mjs.map +1 -1
- package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.cjs +18 -18
- package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.mjs +2 -2
- package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.cjs +1308 -1311
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.mjs +1294 -1297
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.mjs.map +1 -1
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.cjs +2194 -2194
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.mjs +2193 -2193
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.mjs.map +1 -1
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.cjs +3 -3
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.mjs +2 -2
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs +3 -3
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs +2 -2
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs.map +1 -1
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.cjs +2 -2
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.cjs +34 -34
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.mjs +33 -33
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.mjs.map +1 -1
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.cjs +221 -223
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.mjs +220 -222
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.mjs.map +1 -1
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.cjs +2 -2
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.mjs +1 -1
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.cjs +2 -2
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.mjs +1 -1
- package/dist/node_modules/.pnpm/nypm@0.6.5/node_modules/nypm/dist/index.cjs +3 -3
- package/dist/node_modules/.pnpm/nypm@0.6.5/node_modules/nypm/dist/index.mjs +5 -5
- package/dist/node_modules/.pnpm/nypm@0.6.5/node_modules/nypm/dist/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.cjs +1 -1
- package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.cjs +6 -6
- package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.mjs +5 -5
- package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.cjs +10 -10
- package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.mjs +16 -16
- package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.cjs +412 -412
- package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.mjs +189 -189
- package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.mjs.map +1 -1
- package/dist/types/index.cjs +1 -0
- package/dist/types/plugin.cjs +20 -19
- package/dist/types/plugin.d.cts.map +1 -1
- package/dist/types/plugin.d.mts.map +1 -1
- package/dist/types/plugin.mjs.map +1 -1
- package/dist/types/runtime.cjs +1 -0
- package/dist/types/runtime.d.cts.map +1 -1
- package/dist/types/runtime.d.mts.map +1 -1
- package/dist/types/runtime.mjs.map +1 -1
- package/package.json +45 -26
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/parse-type-definition.cjs +0 -37
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/parse-type-definition.mjs +0 -38
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/parse-type-definition.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/to-array.cjs +0 -15
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/to-array.mjs +0 -15
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/to-array.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.cjs +0 -15
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.mjs +0 -15
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/index.cjs +0 -3
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/index.mjs +0 -5
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.cjs +0 -6
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.mjs +0 -7
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-collection.cjs +0 -1
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-collection.mjs +0 -3
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-object.cjs +0 -19
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-object.mjs +0 -20
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-object.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.cjs +0 -63
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.mjs +0 -64
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-string.cjs +0 -12
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-string.mjs +0 -12
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-string.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/type-detect.cjs +0 -15
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/type-detect.mjs +0 -17
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/type-detect.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-parent-path.cjs +0 -32
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-parent-path.mjs +0 -33
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-parent-path.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-type.cjs +0 -28
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-type.mjs +0 -29
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-type.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/join-paths.cjs +0 -122
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/join-paths.mjs +0 -123
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/join-paths.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/regex.cjs +0 -12
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/regex.mjs +0 -9
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/regex.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/slash.cjs +0 -15
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/slash.mjs +0 -15
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/slash.mjs.map +0 -1
- package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.cjs +0 -43
- package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs +0 -43
- package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __commonJSMin, __require } from "../../../../../../_virtual/
|
|
1
|
+
import { __commonJSMin, __require } from "../../../../../../_virtual/_rolldown/runtime.mjs";
|
|
2
2
|
import { require_node_fetch_native_DhEqb06g } from "./shared/node-fetch-native.DhEqb06g.mjs";
|
|
3
3
|
import { require_lib } from "../lib/index.mjs";
|
|
4
4
|
|
|
@@ -108,161 +108,161 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
108
108
|
function requireErrors() {
|
|
109
109
|
if (hasRequiredErrors) return errors;
|
|
110
110
|
hasRequiredErrors = 1;
|
|
111
|
-
const M = class M
|
|
111
|
+
const M = class M extends Error {
|
|
112
112
|
constructor(oA) {
|
|
113
113
|
super(oA), this.name = "UndiciError", this.code = "UND_ERR";
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
116
|
e(M, "UndiciError");
|
|
117
117
|
let A = M;
|
|
118
|
-
const Y = class Y
|
|
118
|
+
const Y = class Y extends A {
|
|
119
119
|
constructor(oA) {
|
|
120
120
|
super(oA), this.name = "ConnectTimeoutError", this.message = oA || "Connect Timeout Error", this.code = "UND_ERR_CONNECT_TIMEOUT";
|
|
121
121
|
}
|
|
122
122
|
};
|
|
123
123
|
e(Y, "ConnectTimeoutError");
|
|
124
124
|
let k = Y;
|
|
125
|
-
const m = class m
|
|
125
|
+
const m = class m extends A {
|
|
126
126
|
constructor(oA) {
|
|
127
127
|
super(oA), this.name = "HeadersTimeoutError", this.message = oA || "Headers Timeout Error", this.code = "UND_ERR_HEADERS_TIMEOUT";
|
|
128
128
|
}
|
|
129
129
|
};
|
|
130
130
|
e(m, "HeadersTimeoutError");
|
|
131
131
|
let c = m;
|
|
132
|
-
const f = class f
|
|
132
|
+
const f = class f extends A {
|
|
133
133
|
constructor(oA) {
|
|
134
134
|
super(oA), this.name = "HeadersOverflowError", this.message = oA || "Headers Overflow Error", this.code = "UND_ERR_HEADERS_OVERFLOW";
|
|
135
135
|
}
|
|
136
136
|
};
|
|
137
137
|
e(f, "HeadersOverflowError");
|
|
138
138
|
let B = f;
|
|
139
|
-
const n = class n
|
|
139
|
+
const n = class n extends A {
|
|
140
140
|
constructor(oA) {
|
|
141
141
|
super(oA), this.name = "BodyTimeoutError", this.message = oA || "Body Timeout Error", this.code = "UND_ERR_BODY_TIMEOUT";
|
|
142
142
|
}
|
|
143
143
|
};
|
|
144
144
|
e(n, "BodyTimeoutError");
|
|
145
145
|
let t = n;
|
|
146
|
-
const C = class C
|
|
146
|
+
const C = class C extends A {
|
|
147
147
|
constructor(oA, aA, EA, sA) {
|
|
148
148
|
super(oA), this.name = "ResponseStatusCodeError", this.message = oA || "Response Status Code Error", this.code = "UND_ERR_RESPONSE_STATUS_CODE", this.body = sA, this.status = aA, this.statusCode = aA, this.headers = EA;
|
|
149
149
|
}
|
|
150
150
|
};
|
|
151
151
|
e(C, "ResponseStatusCodeError");
|
|
152
152
|
let y = C;
|
|
153
|
-
const w = class w
|
|
153
|
+
const w = class w extends A {
|
|
154
154
|
constructor(oA) {
|
|
155
155
|
super(oA), this.name = "InvalidArgumentError", this.message = oA || "Invalid Argument Error", this.code = "UND_ERR_INVALID_ARG";
|
|
156
156
|
}
|
|
157
157
|
};
|
|
158
158
|
e(w, "InvalidArgumentError");
|
|
159
159
|
let R = w;
|
|
160
|
-
const S = class S
|
|
160
|
+
const S = class S extends A {
|
|
161
161
|
constructor(oA) {
|
|
162
162
|
super(oA), this.name = "InvalidReturnValueError", this.message = oA || "Invalid Return Value Error", this.code = "UND_ERR_INVALID_RETURN_VALUE";
|
|
163
163
|
}
|
|
164
164
|
};
|
|
165
165
|
e(S, "InvalidReturnValueError");
|
|
166
166
|
let F = S;
|
|
167
|
-
const x = class x
|
|
167
|
+
const x = class x extends A {
|
|
168
168
|
constructor(oA) {
|
|
169
169
|
super(oA), this.name = "AbortError", this.message = oA || "The operation was aborted";
|
|
170
170
|
}
|
|
171
171
|
};
|
|
172
172
|
e(x, "AbortError");
|
|
173
173
|
let Q = x;
|
|
174
|
-
const z = class z
|
|
174
|
+
const z = class z extends Q {
|
|
175
175
|
constructor(oA) {
|
|
176
176
|
super(oA), this.name = "AbortError", this.message = oA || "Request aborted", this.code = "UND_ERR_ABORTED";
|
|
177
177
|
}
|
|
178
178
|
};
|
|
179
179
|
e(z, "RequestAbortedError");
|
|
180
180
|
let D = z;
|
|
181
|
-
const $ = class
|
|
181
|
+
const $ = class $ extends A {
|
|
182
182
|
constructor(oA) {
|
|
183
183
|
super(oA), this.name = "InformationalError", this.message = oA || "Request information", this.code = "UND_ERR_INFO";
|
|
184
184
|
}
|
|
185
185
|
};
|
|
186
186
|
e($, "InformationalError");
|
|
187
187
|
let U = $;
|
|
188
|
-
const K = class K
|
|
188
|
+
const K = class K extends A {
|
|
189
189
|
constructor(oA) {
|
|
190
190
|
super(oA), this.name = "RequestContentLengthMismatchError", this.message = oA || "Request body length does not match content-length header", this.code = "UND_ERR_REQ_CONTENT_LENGTH_MISMATCH";
|
|
191
191
|
}
|
|
192
192
|
};
|
|
193
193
|
e(K, "RequestContentLengthMismatchError");
|
|
194
194
|
let r = K;
|
|
195
|
-
const nA = class nA
|
|
195
|
+
const nA = class nA extends A {
|
|
196
196
|
constructor(oA) {
|
|
197
197
|
super(oA), this.name = "ResponseContentLengthMismatchError", this.message = oA || "Response body length does not match content-length header", this.code = "UND_ERR_RES_CONTENT_LENGTH_MISMATCH";
|
|
198
198
|
}
|
|
199
199
|
};
|
|
200
200
|
e(nA, "ResponseContentLengthMismatchError");
|
|
201
201
|
let o = nA;
|
|
202
|
-
const iA = class iA
|
|
202
|
+
const iA = class iA extends A {
|
|
203
203
|
constructor(oA) {
|
|
204
204
|
super(oA), this.name = "ClientDestroyedError", this.message = oA || "The client is destroyed", this.code = "UND_ERR_DESTROYED";
|
|
205
205
|
}
|
|
206
206
|
};
|
|
207
207
|
e(iA, "ClientDestroyedError");
|
|
208
208
|
let N = iA;
|
|
209
|
-
const uA = class uA
|
|
209
|
+
const uA = class uA extends A {
|
|
210
210
|
constructor(oA) {
|
|
211
211
|
super(oA), this.name = "ClientClosedError", this.message = oA || "The client is closed", this.code = "UND_ERR_CLOSED";
|
|
212
212
|
}
|
|
213
213
|
};
|
|
214
214
|
e(uA, "ClientClosedError");
|
|
215
215
|
let l = uA;
|
|
216
|
-
const RA = class RA
|
|
216
|
+
const RA = class RA extends A {
|
|
217
217
|
constructor(oA, aA) {
|
|
218
218
|
super(oA), this.name = "SocketError", this.message = oA || "Socket error", this.code = "UND_ERR_SOCKET", this.socket = aA;
|
|
219
219
|
}
|
|
220
220
|
};
|
|
221
221
|
e(RA, "SocketError");
|
|
222
222
|
let I = RA;
|
|
223
|
-
const IA = class IA
|
|
223
|
+
const IA = class IA extends A {
|
|
224
224
|
constructor(oA) {
|
|
225
225
|
super(oA), this.name = "NotSupportedError", this.message = oA || "Not supported error", this.code = "UND_ERR_NOT_SUPPORTED";
|
|
226
226
|
}
|
|
227
227
|
};
|
|
228
228
|
e(IA, "NotSupportedError");
|
|
229
229
|
let p = IA;
|
|
230
|
-
const CA = class CA
|
|
230
|
+
const CA = class CA extends A {
|
|
231
231
|
constructor(oA) {
|
|
232
232
|
super(oA), this.name = "MissingUpstreamError", this.message = oA || "No upstream has been added to the BalancedPool", this.code = "UND_ERR_BPL_MISSING_UPSTREAM";
|
|
233
233
|
}
|
|
234
234
|
};
|
|
235
235
|
e(CA, "BalancedPoolMissingUpstreamError");
|
|
236
236
|
let b = CA;
|
|
237
|
-
const pA = class pA
|
|
237
|
+
const pA = class pA extends Error {
|
|
238
238
|
constructor(oA, aA, EA) {
|
|
239
239
|
super(oA), this.name = "HTTPParserError", this.code = aA ? `HPE_${aA}` : void 0, this.data = EA ? EA.toString() : void 0;
|
|
240
240
|
}
|
|
241
241
|
};
|
|
242
242
|
e(pA, "HTTPParserError");
|
|
243
243
|
let G = pA;
|
|
244
|
-
const fA = class fA
|
|
244
|
+
const fA = class fA extends A {
|
|
245
245
|
constructor(oA) {
|
|
246
246
|
super(oA), this.name = "ResponseExceededMaxSizeError", this.message = oA || "Response content exceeded max size", this.code = "UND_ERR_RES_EXCEEDED_MAX_SIZE";
|
|
247
247
|
}
|
|
248
248
|
};
|
|
249
249
|
e(fA, "ResponseExceededMaxSizeError");
|
|
250
250
|
let J = fA;
|
|
251
|
-
const kA = class kA
|
|
251
|
+
const kA = class kA extends A {
|
|
252
252
|
constructor(oA, aA, { headers: EA, data: sA }) {
|
|
253
253
|
super(oA), this.name = "RequestRetryError", this.message = oA || "Request retry error", this.code = "UND_ERR_REQ_RETRY", this.statusCode = aA, this.data = sA, this.headers = EA;
|
|
254
254
|
}
|
|
255
255
|
};
|
|
256
256
|
e(kA, "RequestRetryError");
|
|
257
257
|
let V = kA;
|
|
258
|
-
const bA = class bA
|
|
258
|
+
const bA = class bA extends A {
|
|
259
259
|
constructor(oA, aA, { headers: EA, data: sA }) {
|
|
260
260
|
super(oA), this.name = "ResponseError", this.message = oA || "Response error", this.code = "UND_ERR_RESPONSE", this.statusCode = aA, this.data = sA, this.headers = EA;
|
|
261
261
|
}
|
|
262
262
|
};
|
|
263
263
|
e(bA, "ResponseError");
|
|
264
264
|
let _ = bA;
|
|
265
|
-
const gA = class gA
|
|
265
|
+
const gA = class gA extends A {
|
|
266
266
|
constructor(oA, aA, EA) {
|
|
267
267
|
super(aA, {
|
|
268
268
|
cause: oA,
|
|
@@ -413,7 +413,7 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
413
413
|
function requireTree() {
|
|
414
414
|
if (hasRequiredTree) return tree_1;
|
|
415
415
|
hasRequiredTree = 1;
|
|
416
|
-
const { wellknownHeaderNames: A, headerNameLowerCasedRecord: k } = requireConstants$4(), y = class y
|
|
416
|
+
const { wellknownHeaderNames: A, headerNameLowerCasedRecord: k } = requireConstants$4(), y = class y {
|
|
417
417
|
constructor(Q, D, U) {
|
|
418
418
|
$A(this, "value", null);
|
|
419
419
|
$A(this, "left", null);
|
|
@@ -422,7 +422,7 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
422
422
|
$A(this, "code");
|
|
423
423
|
if (U === void 0 || U >= Q.length) throw new TypeError("Unreachable");
|
|
424
424
|
if ((this.code = Q.charCodeAt(U)) > 127) throw new TypeError("key must be ascii string");
|
|
425
|
-
Q.length !== ++U ? this.middle = new y
|
|
425
|
+
Q.length !== ++U ? this.middle = new y(Q, D, U) : this.value = D;
|
|
426
426
|
}
|
|
427
427
|
add(Q, D) {
|
|
428
428
|
const U = Q.length;
|
|
@@ -436,17 +436,17 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
436
436
|
break;
|
|
437
437
|
} else if (o.middle !== null) o = o.middle;
|
|
438
438
|
else {
|
|
439
|
-
o.middle = new y
|
|
439
|
+
o.middle = new y(Q, D, r);
|
|
440
440
|
break;
|
|
441
441
|
}
|
|
442
442
|
else if (o.code < N) if (o.left !== null) o = o.left;
|
|
443
443
|
else {
|
|
444
|
-
o.left = new y
|
|
444
|
+
o.left = new y(Q, D, r);
|
|
445
445
|
break;
|
|
446
446
|
}
|
|
447
447
|
else if (o.right !== null) o = o.right;
|
|
448
448
|
else {
|
|
449
|
-
o.right = new y
|
|
449
|
+
o.right = new y(Q, D, r);
|
|
450
450
|
break;
|
|
451
451
|
}
|
|
452
452
|
}
|
|
@@ -470,7 +470,7 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
470
470
|
};
|
|
471
471
|
e(y, "TstNode");
|
|
472
472
|
let c = y;
|
|
473
|
-
const R = class R
|
|
473
|
+
const R = class R {
|
|
474
474
|
constructor() {
|
|
475
475
|
$A(this, "node", null);
|
|
476
476
|
}
|
|
@@ -498,7 +498,7 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
498
498
|
function requireUtil$7() {
|
|
499
499
|
if (hasRequiredUtil$7) return util$7;
|
|
500
500
|
hasRequiredUtil$7 = 1;
|
|
501
|
-
const A = require$$0__default$1, { kDestroyed: k, kBodyUsed: c, kListeners: B, kBody: t } = requireSymbols$4(), { IncomingMessage: y } = http__default, R = Stream__default, F = require$$0__default$2, { Blob: Q } = require$$0__default, D = require$$0__default$3, { stringify: U } = require$$7__default, { EventEmitter: r } = require$$8__default, { InvalidArgumentError: o } = requireErrors(), { headerNameLowerCasedRecord: N } = requireConstants$4(), { tree: l } = requireTree(), [I, p] = process.versions.node.split(".").map((W) => Number(W)), QA = class QA
|
|
501
|
+
const A = require$$0__default$1, { kDestroyed: k, kBodyUsed: c, kListeners: B, kBody: t } = requireSymbols$4(), { IncomingMessage: y } = http__default, R = Stream__default, F = require$$0__default$2, { Blob: Q } = require$$0__default, D = require$$0__default$3, { stringify: U } = require$$7__default, { EventEmitter: r } = require$$8__default, { InvalidArgumentError: o } = requireErrors(), { headerNameLowerCasedRecord: N } = requireConstants$4(), { tree: l } = requireTree(), [I, p] = process.versions.node.split(".").map((W) => Number(W)), QA = class QA {
|
|
502
502
|
constructor(cA) {
|
|
503
503
|
this[t] = cA, this[c] = !1;
|
|
504
504
|
}
|
|
@@ -966,7 +966,7 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
966
966
|
function requireRequest$1() {
|
|
967
967
|
if (hasRequiredRequest$1) return request$1;
|
|
968
968
|
hasRequiredRequest$1 = 1;
|
|
969
|
-
const { InvalidArgumentError: A, NotSupportedError: k } = requireErrors(), c = require$$0__default$1, { isValidHTTPToken: B, isValidHeaderValue: t, isStream: y, destroy: R, isBuffer: F, isFormDataLike: Q, isIterable: D, isBlobLike: U, buildURL: r, validateHandler: o, getServerName: N, normalizedMethodRecords: l } = requireUtil$7(), { channels: I } = requireDiagnostics(), { headerNameLowerCasedRecord: p } = requireConstants$4(), b = /[^\u0021-\u00ff]/, G = Symbol("handler"), _ = class _
|
|
969
|
+
const { InvalidArgumentError: A, NotSupportedError: k } = requireErrors(), c = require$$0__default$1, { isValidHTTPToken: B, isValidHeaderValue: t, isStream: y, destroy: R, isBuffer: F, isFormDataLike: Q, isIterable: D, isBlobLike: U, buildURL: r, validateHandler: o, getServerName: N, normalizedMethodRecords: l } = requireUtil$7(), { channels: I } = requireDiagnostics(), { headerNameLowerCasedRecord: p } = requireConstants$4(), b = /[^\u0021-\u00ff]/, G = Symbol("handler"), _ = class _ {
|
|
970
970
|
constructor(M, { path: Y, method: m, body: f, headers: n, query: C, idempotent: w, blocking: S, upgrade: x, headersTimeout: z, bodyTimeout: $, reset: K, throwOnError: nA, expectContinue: iA, servername: uA }, RA) {
|
|
971
971
|
if (typeof Y != "string") throw new A("path must be a string");
|
|
972
972
|
if (Y[0] !== "/" && !(Y.startsWith("http://") || Y.startsWith("https://")) && m !== "CONNECT") throw new A("path must be an absolute URL or start with a slash");
|
|
@@ -1125,7 +1125,7 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1125
1125
|
var t, y;
|
|
1126
1126
|
if (hasRequiredDispatcher) return dispatcher;
|
|
1127
1127
|
hasRequiredDispatcher = 1;
|
|
1128
|
-
const A = require$$8__default, B = class B
|
|
1128
|
+
const A = require$$8__default, B = class B extends A {
|
|
1129
1129
|
dispatch() {
|
|
1130
1130
|
throw new Error("not implemented");
|
|
1131
1131
|
}
|
|
@@ -1147,7 +1147,7 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1147
1147
|
};
|
|
1148
1148
|
e(B, "Dispatcher");
|
|
1149
1149
|
let k = B;
|
|
1150
|
-
const R = class R
|
|
1150
|
+
const R = class R extends k {
|
|
1151
1151
|
constructor(D, U) {
|
|
1152
1152
|
super();
|
|
1153
1153
|
SA(this, t, null);
|
|
@@ -1173,7 +1173,7 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1173
1173
|
function requireDispatcherBase() {
|
|
1174
1174
|
if (hasRequiredDispatcherBase) return dispatcherBase;
|
|
1175
1175
|
hasRequiredDispatcherBase = 1;
|
|
1176
|
-
const A = requireDispatcher(), { ClientDestroyedError: k, ClientClosedError: c, InvalidArgumentError: B } = requireErrors(), { kDestroy: t, kClose: y, kClosed: R, kDestroyed: F, kDispatch: Q, kInterceptors: D } = requireSymbols$4(), U = Symbol("onDestroyed"), r = Symbol("onClosed"), o = Symbol("Intercepted Dispatch"), l = class l
|
|
1176
|
+
const A = requireDispatcher(), { ClientDestroyedError: k, ClientClosedError: c, InvalidArgumentError: B } = requireErrors(), { kDestroy: t, kClose: y, kClosed: R, kDestroyed: F, kDispatch: Q, kInterceptors: D } = requireSymbols$4(), U = Symbol("onDestroyed"), r = Symbol("onClosed"), o = Symbol("Intercepted Dispatch"), l = class l extends A {
|
|
1177
1177
|
constructor() {
|
|
1178
1178
|
super(), this[F] = !1, this[U] = null, this[R] = !1, this[r] = [];
|
|
1179
1179
|
}
|
|
@@ -1280,7 +1280,7 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1280
1280
|
B ? B.refresh() : (clearTimeout(B), B = setTimeout(U, c), B.unref && B.unref());
|
|
1281
1281
|
}
|
|
1282
1282
|
e(r, "refreshTimeout"), N = t;
|
|
1283
|
-
const l = class l
|
|
1283
|
+
const l = class l {
|
|
1284
1284
|
constructor(p, b, G) {
|
|
1285
1285
|
$A(this, N, !0);
|
|
1286
1286
|
$A(this, "_state", R);
|
|
@@ -2554,8 +2554,6 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2554
2554
|
const VA = Y(v);
|
|
2555
2555
|
return wA(tA, VA) ? tA : bA(tA) && !bA(VA) ? "no-referrer" : rA;
|
|
2556
2556
|
}
|
|
2557
|
-
case "strict-origin":
|
|
2558
|
-
case "no-referrer-when-downgrade":
|
|
2559
2557
|
default: return TA ? "no-referrer" : rA;
|
|
2560
2558
|
}
|
|
2561
2559
|
}
|
|
@@ -2672,7 +2670,7 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2672
2670
|
const PA = Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));
|
|
2673
2671
|
function ZA(v, X, j = 0, tA = 1) {
|
|
2674
2672
|
var FA, TA, VA;
|
|
2675
|
-
const YA = class YA
|
|
2673
|
+
const YA = class YA {
|
|
2676
2674
|
constructor(Qe, qA) {
|
|
2677
2675
|
SA(this, FA);
|
|
2678
2676
|
SA(this, TA);
|
|
@@ -2859,7 +2857,7 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2859
2857
|
return tA += QA(`${v}`), tA += "-", tA += QA(`${X}`), tA += "/", tA += QA(`${j}`), tA;
|
|
2860
2858
|
}
|
|
2861
2859
|
e(WA, "buildContentRange");
|
|
2862
|
-
const zA = class zA
|
|
2860
|
+
const zA = class zA extends A {
|
|
2863
2861
|
constructor(j) {
|
|
2864
2862
|
super();
|
|
2865
2863
|
SA(this, xA);
|
|
@@ -2918,7 +2916,7 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2918
2916
|
return v.length === 0 ? "" : (v[0] === 239 && v[1] === 187 && v[2] === 191 && (v = v.subarray(3)), eA.decode(v));
|
|
2919
2917
|
}
|
|
2920
2918
|
e(lA, "utf8DecodeBytes");
|
|
2921
|
-
const UA = class UA
|
|
2919
|
+
const UA = class UA {
|
|
2922
2920
|
constructor() {
|
|
2923
2921
|
$A(this, "policyContainer", CA());
|
|
2924
2922
|
}
|
|
@@ -2931,7 +2929,7 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2931
2929
|
};
|
|
2932
2930
|
e(UA, "EnvironmentSettingsObjectBase");
|
|
2933
2931
|
let BA = UA;
|
|
2934
|
-
const AA = class AA
|
|
2932
|
+
const AA = class AA {
|
|
2935
2933
|
constructor() {
|
|
2936
2934
|
$A(this, "settingsObject", new BA());
|
|
2937
2935
|
}
|
|
@@ -3007,7 +3005,7 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3007
3005
|
function requireFile() {
|
|
3008
3006
|
if (hasRequiredFile) return file;
|
|
3009
3007
|
hasRequiredFile = 1;
|
|
3010
|
-
const { Blob: A, File: k } = require$$0__default, { kState: c } = requireSymbols$3(), { webidl: B } = requireWebidl(), R = class R
|
|
3008
|
+
const { Blob: A, File: k } = require$$0__default, { kState: c } = requireSymbols$3(), { webidl: B } = requireWebidl(), R = class R {
|
|
3011
3009
|
constructor(Q, D, U = {}) {
|
|
3012
3010
|
this[c] = {
|
|
3013
3011
|
blobLike: Q,
|
|
@@ -3017,28 +3015,28 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3017
3015
|
};
|
|
3018
3016
|
}
|
|
3019
3017
|
stream(...Q) {
|
|
3020
|
-
return B.brandCheck(this, R
|
|
3018
|
+
return B.brandCheck(this, R), this[c].blobLike.stream(...Q);
|
|
3021
3019
|
}
|
|
3022
3020
|
arrayBuffer(...Q) {
|
|
3023
|
-
return B.brandCheck(this, R
|
|
3021
|
+
return B.brandCheck(this, R), this[c].blobLike.arrayBuffer(...Q);
|
|
3024
3022
|
}
|
|
3025
3023
|
slice(...Q) {
|
|
3026
|
-
return B.brandCheck(this, R
|
|
3024
|
+
return B.brandCheck(this, R), this[c].blobLike.slice(...Q);
|
|
3027
3025
|
}
|
|
3028
3026
|
text(...Q) {
|
|
3029
|
-
return B.brandCheck(this, R
|
|
3027
|
+
return B.brandCheck(this, R), this[c].blobLike.text(...Q);
|
|
3030
3028
|
}
|
|
3031
3029
|
get size() {
|
|
3032
|
-
return B.brandCheck(this, R
|
|
3030
|
+
return B.brandCheck(this, R), this[c].blobLike.size;
|
|
3033
3031
|
}
|
|
3034
3032
|
get type() {
|
|
3035
|
-
return B.brandCheck(this, R
|
|
3033
|
+
return B.brandCheck(this, R), this[c].blobLike.type;
|
|
3036
3034
|
}
|
|
3037
3035
|
get name() {
|
|
3038
|
-
return B.brandCheck(this, R
|
|
3036
|
+
return B.brandCheck(this, R), this[c].name;
|
|
3039
3037
|
}
|
|
3040
3038
|
get lastModified() {
|
|
3041
|
-
return B.brandCheck(this, R
|
|
3039
|
+
return B.brandCheck(this, R), this[c].lastModified;
|
|
3042
3040
|
}
|
|
3043
3041
|
get [Symbol.toStringTag]() {
|
|
3044
3042
|
return "File";
|
|
@@ -3060,7 +3058,7 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3060
3058
|
function requireFormdata() {
|
|
3061
3059
|
if (hasRequiredFormdata) return formdata;
|
|
3062
3060
|
hasRequiredFormdata = 1;
|
|
3063
|
-
const { isBlobLike: A, iteratorMixin: k } = requireUtil$6(), { kState: c } = requireSymbols$3(), { kEnumerableProperty: B } = requireUtil$7(), { FileLike: t, isFileLike: y } = requireFile(), { webidl: R } = requireWebidl(), { File: F } = require$$0__default, Q = require$$0__default$3, D = globalThis.File ?? F, o = class o
|
|
3061
|
+
const { isBlobLike: A, iteratorMixin: k } = requireUtil$6(), { kState: c } = requireSymbols$3(), { kEnumerableProperty: B } = requireUtil$7(), { FileLike: t, isFileLike: y } = requireFile(), { webidl: R } = requireWebidl(), { File: F } = require$$0__default, Q = require$$0__default$3, D = globalThis.File ?? F, o = class o {
|
|
3064
3062
|
constructor(l) {
|
|
3065
3063
|
if (R.util.markAsUncloneable(this), l !== void 0) throw R.errors.conversionFailed({
|
|
3066
3064
|
prefix: "FormData constructor",
|
|
@@ -3070,7 +3068,7 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3070
3068
|
this[c] = [];
|
|
3071
3069
|
}
|
|
3072
3070
|
append(l, I, p = void 0) {
|
|
3073
|
-
R.brandCheck(this, o
|
|
3071
|
+
R.brandCheck(this, o);
|
|
3074
3072
|
const b = "FormData.append";
|
|
3075
3073
|
if (R.argumentLengthCheck(arguments, 2, b), arguments.length === 3 && !A(I)) throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");
|
|
3076
3074
|
l = R.converters.USVString(l, b, "name"), I = A(I) ? R.converters.Blob(I, b, "value", { strict: !1 }) : R.converters.USVString(I, b, "value"), p = arguments.length === 3 ? R.converters.USVString(p, b, "filename") : void 0;
|
|
@@ -3078,29 +3076,29 @@ var require_proxy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3078
3076
|
this[c].push(G);
|
|
3079
3077
|
}
|
|
3080
3078
|
delete(l) {
|
|
3081
|
-
R.brandCheck(this, o
|
|
3079
|
+
R.brandCheck(this, o);
|
|
3082
3080
|
const I = "FormData.delete";
|
|
3083
3081
|
R.argumentLengthCheck(arguments, 1, I), l = R.converters.USVString(l, I, "name"), this[c] = this[c].filter((p) => p.name !== l);
|
|
3084
3082
|
}
|
|
3085
3083
|
get(l) {
|
|
3086
|
-
R.brandCheck(this, o
|
|
3084
|
+
R.brandCheck(this, o);
|
|
3087
3085
|
const I = "FormData.get";
|
|
3088
3086
|
R.argumentLengthCheck(arguments, 1, I), l = R.converters.USVString(l, I, "name");
|
|
3089
3087
|
const p = this[c].findIndex((b) => b.name === l);
|
|
3090
3088
|
return p === -1 ? null : this[c][p].value;
|
|
3091
3089
|
}
|
|
3092
3090
|
getAll(l) {
|
|
3093
|
-
R.brandCheck(this, o
|
|
3091
|
+
R.brandCheck(this, o);
|
|
3094
3092
|
const I = "FormData.getAll";
|
|
3095
3093
|
return R.argumentLengthCheck(arguments, 1, I), l = R.converters.USVString(l, I, "name"), this[c].filter((p) => p.name === l).map((p) => p.value);
|
|
3096
3094
|
}
|
|
3097
3095
|
has(l) {
|
|
3098
|
-
R.brandCheck(this, o
|
|
3096
|
+
R.brandCheck(this, o);
|
|
3099
3097
|
const I = "FormData.has";
|
|
3100
3098
|
return R.argumentLengthCheck(arguments, 1, I), l = R.converters.USVString(l, I, "name"), this[c].findIndex((p) => p.name === l) !== -1;
|
|
3101
3099
|
}
|
|
3102
3100
|
set(l, I, p = void 0) {
|
|
3103
|
-
R.brandCheck(this, o
|
|
3101
|
+
R.brandCheck(this, o);
|
|
3104
3102
|
const b = "FormData.set";
|
|
3105
3103
|
if (R.argumentLengthCheck(arguments, 2, b), arguments.length === 3 && !A(I)) throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");
|
|
3106
3104
|
l = R.converters.USVString(l, b, "name"), I = A(I) ? R.converters.Blob(I, b, "name", { strict: !1 }) : R.converters.USVString(I, b, "name"), p = arguments.length === 3 ? R.converters.USVString(p, b, "name") : void 0;
|
|
@@ -3514,7 +3512,7 @@ Content-Type: ${NA.type || "application/octet-stream"}\r
|
|
|
3514
3512
|
let wA = null, vA = NA();
|
|
3515
3513
|
vA.catch();
|
|
3516
3514
|
let dA = null, XA = null, KA = 0, OA = null;
|
|
3517
|
-
const PA = 0, ZA = 1, HA = 2 | ZA, se = 4 | ZA, ne = 8 | PA, oe = class oe
|
|
3515
|
+
const PA = 0, ZA = 1, HA = 2 | ZA, se = 4 | ZA, ne = 8 | PA, oe = class oe {
|
|
3518
3516
|
constructor(eA, lA, { exports: BA }) {
|
|
3519
3517
|
A(Number.isFinite(eA[$]) && eA[$] > 0), this.llhttp = BA, this.ptr = this.llhttp.llhttp_alloc(gA.TYPE.RESPONSE), this.client = eA, this.socket = lA, this.timeout = null, this.timeoutValue = null, this.timeoutType = null, this.statusCode = null, this.statusText = "", this.upgrade = !1, this.headers = [], this.headersSize = 0, this.headersMaxSize = eA[$], this.shouldKeepAlive = !1, this.paused = !1, this.resume = this.resume.bind(this), this.bytesRead = 0, this.keepAlive = "", this.contentLength = "", this.connection = "", this.maxResponseSize = eA[pA];
|
|
3520
3518
|
}
|
|
@@ -3877,7 +3875,7 @@ upgrade: ${MA}\r
|
|
|
3877
3875
|
}
|
|
3878
3876
|
}
|
|
3879
3877
|
e(te, "writeIterable");
|
|
3880
|
-
const Ie = class Ie
|
|
3878
|
+
const Ie = class Ie {
|
|
3881
3879
|
constructor({ abort: eA, socket: lA, request: BA, contentLength: hA, client: MA, expectsPayload: xA, header: zA }) {
|
|
3882
3880
|
this.socket = lA, this.request = BA, this.contentLength = hA, this.client = MA, this.bytesWritten = 0, this.expectsPayload = xA, this.header = zA, this.abort = eA, lA[q] = !0;
|
|
3883
3881
|
}
|
|
@@ -4175,7 +4173,7 @@ ${AA.toString(16)}\r
|
|
|
4175
4173
|
303,
|
|
4176
4174
|
307,
|
|
4177
4175
|
308
|
|
4178
|
-
], R = Symbol("body"), o = class o
|
|
4176
|
+
], R = Symbol("body"), o = class o {
|
|
4179
4177
|
constructor(I) {
|
|
4180
4178
|
this[R] = I, this[k] = !1;
|
|
4181
4179
|
}
|
|
@@ -4185,7 +4183,7 @@ ${AA.toString(16)}\r
|
|
|
4185
4183
|
};
|
|
4186
4184
|
e(o, "BodyAsyncIterable");
|
|
4187
4185
|
let F = o;
|
|
4188
|
-
const N = class N
|
|
4186
|
+
const N = class N {
|
|
4189
4187
|
constructor(I, p, b, G) {
|
|
4190
4188
|
if (p != null && (!Number.isInteger(p) || p < 0)) throw new B("maxRedirections must be a positive number");
|
|
4191
4189
|
A.validateHandler(G, b.method, b.upgrade), this.dispatch = I, this.location = null, this.abort = null, this.opts = {
|
|
@@ -4282,7 +4280,7 @@ ${AA.toString(16)}\r
|
|
|
4282
4280
|
return QA[w] ?? QA[aA]?.defaultPipelining ?? 1;
|
|
4283
4281
|
}
|
|
4284
4282
|
e(KA, "getPipelining");
|
|
4285
|
-
const Ae = class Ae
|
|
4283
|
+
const Ae = class Ae extends R {
|
|
4286
4284
|
constructor(W, { interceptors: cA, maxHeaderSize: yA, headersTimeout: LA, socketTimeout: JA, requestTimeout: WA, connectTimeout: te, bodyTimeout: ie, idleTimeout: oe, keepAlive: Ie, keepAliveTimeout: GA, maxKeepAliveTimeout: eA, keepAliveMaxTimeout: lA, keepAliveTimeoutThreshold: BA, socketPath: hA, pipelining: MA, tls: xA, strictContentLength: zA, maxCachedSessions: UA, maxRedirections: AA, connect: v, maxRequestsPerClient: X, localAddress: j, maxResponseSize: tA, autoSelectFamily: rA, autoSelectFamilyAttemptTimeout: FA, maxConcurrentStreams: TA, allowH2: VA } = {}) {
|
|
4287
4285
|
if (super(), Ie !== void 0) throw new F("unsupported keepAlive, use pipelining=0 instead");
|
|
4288
4286
|
if (JA !== void 0) throw new F("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");
|
|
@@ -4510,7 +4508,7 @@ ${AA.toString(16)}\r
|
|
|
4510
4508
|
var t;
|
|
4511
4509
|
if (hasRequiredFixedQueue) return fixedQueue;
|
|
4512
4510
|
hasRequiredFixedQueue = 1;
|
|
4513
|
-
const A = 2048, k = A - 1, B = class B
|
|
4511
|
+
const A = 2048, k = A - 1, B = class B {
|
|
4514
4512
|
constructor() {
|
|
4515
4513
|
this.bottom = 0, this.top = 0, this.list = new Array(A), this.next = null;
|
|
4516
4514
|
}
|
|
@@ -4551,7 +4549,7 @@ ${AA.toString(16)}\r
|
|
|
4551
4549
|
function requirePoolStats() {
|
|
4552
4550
|
if (hasRequiredPoolStats) return poolStats;
|
|
4553
4551
|
hasRequiredPoolStats = 1;
|
|
4554
|
-
const { kFree: A, kConnected: k, kPending: c, kQueued: B, kRunning: t, kSize: y } = requireSymbols$4(), R = Symbol("pool"), Q = class Q
|
|
4552
|
+
const { kFree: A, kConnected: k, kPending: c, kQueued: B, kRunning: t, kSize: y } = requireSymbols$4(), R = Symbol("pool"), Q = class Q {
|
|
4555
4553
|
constructor(U) {
|
|
4556
4554
|
this[R] = U;
|
|
4557
4555
|
}
|
|
@@ -4582,7 +4580,7 @@ ${AA.toString(16)}\r
|
|
|
4582
4580
|
function requirePoolBase() {
|
|
4583
4581
|
if (hasRequiredPoolBase) return poolBase;
|
|
4584
4582
|
hasRequiredPoolBase = 1;
|
|
4585
|
-
const A = requireDispatcherBase(), k = requireFixedQueue(), { kConnected: c, kSize: B, kRunning: t, kPending: y, kQueued: R, kBusy: F, kFree: Q, kUrl: D, kClose: U, kDestroy: r, kDispatch: o } = requireSymbols$4(), N = requirePoolStats(), l = Symbol("clients"), I = Symbol("needDrain"), p = Symbol("queue"), b = Symbol("closed resolve"), G = Symbol("onDrain"), J = Symbol("onConnect"), V = Symbol("onDisconnect"), _ = Symbol("onConnectionError"), q = Symbol("get dispatcher"), M = Symbol("add client"), Y = Symbol("remove client"), m = Symbol("stats"), n = class n
|
|
4583
|
+
const A = requireDispatcherBase(), k = requireFixedQueue(), { kConnected: c, kSize: B, kRunning: t, kPending: y, kQueued: R, kBusy: F, kFree: Q, kUrl: D, kClose: U, kDestroy: r, kDispatch: o } = requireSymbols$4(), N = requirePoolStats(), l = Symbol("clients"), I = Symbol("needDrain"), p = Symbol("queue"), b = Symbol("closed resolve"), G = Symbol("onDrain"), J = Symbol("onConnect"), V = Symbol("onDisconnect"), _ = Symbol("onConnectionError"), q = Symbol("get dispatcher"), M = Symbol("add client"), Y = Symbol("remove client"), m = Symbol("stats"), n = class n extends A {
|
|
4586
4584
|
constructor() {
|
|
4587
4585
|
super(), this[p] = new k(), this[l] = [], this[R] = 0;
|
|
4588
4586
|
const w = this;
|
|
@@ -4682,7 +4680,7 @@ ${AA.toString(16)}\r
|
|
|
4682
4680
|
return new y(b, G);
|
|
4683
4681
|
}
|
|
4684
4682
|
e(l, "defaultFactory");
|
|
4685
|
-
const p = class p
|
|
4683
|
+
const p = class p extends A {
|
|
4686
4684
|
constructor(G, { connections: J, factory: V = l, connect: _, connectTimeout: q, tls: M, maxCachedSessions: Y, socketPath: m, autoSelectFamily: f, autoSelectFamilyAttemptTimeout: n, allowH2: C, ...w } = {}) {
|
|
4687
4685
|
if (super(), J != null && (!Number.isFinite(J) || J < 0)) throw new R("invalid connections");
|
|
4688
4686
|
if (typeof V != "function") throw new R("factory must be a function.");
|
|
@@ -4739,7 +4737,7 @@ ${AA.toString(16)}\r
|
|
|
4739
4737
|
return new Q(Y, m);
|
|
4740
4738
|
}
|
|
4741
4739
|
e(_, "defaultFactory");
|
|
4742
|
-
const M = class M
|
|
4740
|
+
const M = class M extends c {
|
|
4743
4741
|
constructor(m = [], { factory: f = _, ...n } = {}) {
|
|
4744
4742
|
if (super(), this[N] = n, this[p] = -1, this[I] = 0, this[G] = this[N].maxWeightPerServer || 100, this[J] = this[N].errorPenalty || 15, Array.isArray(m) || (m = [m]), typeof f != "function") throw new k("factory must be a function.");
|
|
4745
4743
|
this[U] = n.interceptors?.BalancedPool && Array.isArray(n.interceptors.BalancedPool) ? n.interceptors.BalancedPool : [], this[o] = f;
|
|
@@ -4798,7 +4796,7 @@ ${AA.toString(16)}\r
|
|
|
4798
4796
|
return M && M.connections === 1 ? new D(q, M) : new Q(q, M);
|
|
4799
4797
|
}
|
|
4800
4798
|
e(J, "defaultFactory");
|
|
4801
|
-
const _ = class _
|
|
4799
|
+
const _ = class _ extends F {
|
|
4802
4800
|
constructor({ factory: M = J, maxRedirections: Y = 0, connect: m, ...f } = {}) {
|
|
4803
4801
|
if (super(), typeof M != "function") throw new A("factory must be a function.");
|
|
4804
4802
|
if (m != null && typeof m != "function" && typeof m != "object") throw new A("connect must be a function or an object");
|
|
@@ -4857,7 +4855,7 @@ ${AA.toString(16)}\r
|
|
|
4857
4855
|
return new R(n, C);
|
|
4858
4856
|
}
|
|
4859
4857
|
e(J, "defaultFactory");
|
|
4860
|
-
const V = e(() => {}, "noop"), f = class f
|
|
4858
|
+
const V = e(() => {}, "noop"), f = class f extends F {
|
|
4861
4859
|
constructor(w) {
|
|
4862
4860
|
super();
|
|
4863
4861
|
SA(this, Y);
|
|
@@ -4951,7 +4949,7 @@ ${AA.toString(16)}\r
|
|
|
4951
4949
|
"https:": 443
|
|
4952
4950
|
};
|
|
4953
4951
|
let o = !1;
|
|
4954
|
-
const M = class M
|
|
4952
|
+
const M = class M extends A {
|
|
4955
4953
|
constructor(f = {}) {
|
|
4956
4954
|
super();
|
|
4957
4955
|
SA(this, b);
|
|
@@ -5028,14 +5026,14 @@ ${AA.toString(16)}\r
|
|
|
5028
5026
|
return new Date(U).getTime() - r;
|
|
5029
5027
|
}
|
|
5030
5028
|
e(F, "calculateRetryAfterHeader");
|
|
5031
|
-
const D = class D
|
|
5029
|
+
const D = class D {
|
|
5032
5030
|
constructor(r, o) {
|
|
5033
5031
|
const { retryOptions: N, ...l } = r, { retry: I, maxRetries: p, maxTimeout: b, minTimeout: G, timeoutFactor: J, methods: V, errorCodes: _, retryAfter: q, statusCodes: M } = N ?? {};
|
|
5034
5032
|
this.dispatch = o.dispatch, this.handler = o.handler, this.opts = {
|
|
5035
5033
|
...l,
|
|
5036
5034
|
body: R(r.body)
|
|
5037
5035
|
}, this.abort = null, this.aborted = !1, this.retryOpts = {
|
|
5038
|
-
retry: I ?? D
|
|
5036
|
+
retry: I ?? D[k],
|
|
5039
5037
|
retryAfter: q ?? !0,
|
|
5040
5038
|
maxTimeout: b ?? 30 * 1e3,
|
|
5041
5039
|
minTimeout: G ?? 500,
|
|
@@ -5193,7 +5191,7 @@ ${AA.toString(16)}\r
|
|
|
5193
5191
|
var B, t;
|
|
5194
5192
|
if (hasRequiredRetryAgent) return retryAgent;
|
|
5195
5193
|
hasRequiredRetryAgent = 1;
|
|
5196
|
-
const A = requireDispatcher(), k = requireRetryHandler(), y = class y
|
|
5194
|
+
const A = requireDispatcher(), k = requireRetryHandler(), y = class y extends A {
|
|
5197
5195
|
constructor(Q, D = {}) {
|
|
5198
5196
|
super(D);
|
|
5199
5197
|
SA(this, B, null);
|
|
@@ -5225,7 +5223,7 @@ ${AA.toString(16)}\r
|
|
|
5225
5223
|
function requireReadable() {
|
|
5226
5224
|
if (hasRequiredReadable) return readable;
|
|
5227
5225
|
hasRequiredReadable = 1;
|
|
5228
|
-
const A = require$$0__default$1, { Readable: k } = Stream__default, { RequestAbortedError: c, NotSupportedError: B, InvalidArgumentError: t, AbortError: y } = requireErrors(), R = requireUtil$7(), { ReadableStreamFrom: F } = requireUtil$7(), Q = Symbol("kConsume"), D = Symbol("kReading"), U = Symbol("kBody"), r = Symbol("kAbort"), o = Symbol("kContentType"), N = Symbol("kContentLength"), l = e(() => {}, "noop"), m = class m
|
|
5226
|
+
const A = require$$0__default$1, { Readable: k } = Stream__default, { RequestAbortedError: c, NotSupportedError: B, InvalidArgumentError: t, AbortError: y } = requireErrors(), R = requireUtil$7(), { ReadableStreamFrom: F } = requireUtil$7(), Q = Symbol("kConsume"), D = Symbol("kReading"), U = Symbol("kBody"), r = Symbol("kAbort"), o = Symbol("kContentType"), N = Symbol("kContentLength"), l = e(() => {}, "noop"), m = class m extends k {
|
|
5229
5227
|
constructor({ resume: n, abort: C, contentType: w = "", contentLength: S, highWaterMark: x = 64 * 1024 }) {
|
|
5230
5228
|
super({
|
|
5231
5229
|
autoDestroy: !0,
|
|
@@ -5430,7 +5428,7 @@ ${AA.toString(16)}\r
|
|
|
5430
5428
|
function requireApiRequest() {
|
|
5431
5429
|
if (hasRequiredApiRequest) return apiRequest.exports;
|
|
5432
5430
|
hasRequiredApiRequest = 1;
|
|
5433
|
-
const A = require$$0__default$1, { Readable: k } = requireReadable(), { InvalidArgumentError: c, RequestAbortedError: B } = requireErrors(), t = requireUtil$7(), { getResolveErrorBodyCallback: y } = requireUtil$5(), { AsyncResource: R } = require$$5__default$2, D = class D
|
|
5431
|
+
const A = require$$0__default$1, { Readable: k } = requireReadable(), { InvalidArgumentError: c, RequestAbortedError: B } = requireErrors(), t = requireUtil$7(), { getResolveErrorBodyCallback: y } = requireUtil$5(), { AsyncResource: R } = require$$5__default$2, D = class D extends R {
|
|
5434
5432
|
constructor(r, o) {
|
|
5435
5433
|
if (!r || typeof r != "object") throw new c("invalid opts");
|
|
5436
5434
|
const { signal: N, method: l, opaque: I, body: p, onInfo: b, responseHeaders: G, throwOnError: J, highWaterMark: V } = r;
|
|
@@ -5555,7 +5553,7 @@ ${AA.toString(16)}\r
|
|
|
5555
5553
|
function requireApiStream() {
|
|
5556
5554
|
if (hasRequiredApiStream) return apiStream;
|
|
5557
5555
|
hasRequiredApiStream = 1;
|
|
5558
|
-
const A = require$$0__default$1, { finished: k, PassThrough: c } = Stream__default, { InvalidArgumentError: B, InvalidReturnValueError: t } = requireErrors(), y = requireUtil$7(), { getResolveErrorBodyCallback: R } = requireUtil$5(), { AsyncResource: F } = require$$5__default$2, { addSignal: Q, removeSignal: D } = requireAbortSignal(), o = class o
|
|
5556
|
+
const A = require$$0__default$1, { finished: k, PassThrough: c } = Stream__default, { InvalidArgumentError: B, InvalidReturnValueError: t } = requireErrors(), y = requireUtil$7(), { getResolveErrorBodyCallback: R } = requireUtil$5(), { AsyncResource: F } = require$$5__default$2, { addSignal: Q, removeSignal: D } = requireAbortSignal(), o = class o extends F {
|
|
5559
5557
|
constructor(l, I, p) {
|
|
5560
5558
|
if (!l || typeof l != "object") throw new B("invalid opts");
|
|
5561
5559
|
const { signal: b, method: G, opaque: J, body: V, onInfo: _, responseHeaders: q, throwOnError: M } = l;
|
|
@@ -5655,7 +5653,7 @@ ${AA.toString(16)}\r
|
|
|
5655
5653
|
function requireApiPipeline() {
|
|
5656
5654
|
if (hasRequiredApiPipeline) return apiPipeline;
|
|
5657
5655
|
hasRequiredApiPipeline = 1;
|
|
5658
|
-
const { Readable: A, Duplex: k, PassThrough: c } = Stream__default, { InvalidArgumentError: B, InvalidReturnValueError: t, RequestAbortedError: y } = requireErrors(), R = requireUtil$7(), { AsyncResource: F } = require$$5__default$2, { addSignal: Q, removeSignal: D } = requireAbortSignal(), U = require$$0__default$1, r = Symbol("resume"), p = class p
|
|
5656
|
+
const { Readable: A, Duplex: k, PassThrough: c } = Stream__default, { InvalidArgumentError: B, InvalidReturnValueError: t, RequestAbortedError: y } = requireErrors(), R = requireUtil$7(), { AsyncResource: F } = require$$5__default$2, { addSignal: Q, removeSignal: D } = requireAbortSignal(), U = require$$0__default$1, r = Symbol("resume"), p = class p extends A {
|
|
5659
5657
|
constructor() {
|
|
5660
5658
|
super({ autoDestroy: !0 }), this[r] = null;
|
|
5661
5659
|
}
|
|
@@ -5669,7 +5667,7 @@ ${AA.toString(16)}\r
|
|
|
5669
5667
|
};
|
|
5670
5668
|
e(p, "PipelineRequest");
|
|
5671
5669
|
let o = p;
|
|
5672
|
-
const b = class b
|
|
5670
|
+
const b = class b extends A {
|
|
5673
5671
|
constructor(V) {
|
|
5674
5672
|
super({ autoDestroy: !0 }), this[r] = V;
|
|
5675
5673
|
}
|
|
@@ -5682,7 +5680,7 @@ ${AA.toString(16)}\r
|
|
|
5682
5680
|
};
|
|
5683
5681
|
e(b, "PipelineResponse");
|
|
5684
5682
|
let N = b;
|
|
5685
|
-
const G = class G
|
|
5683
|
+
const G = class G extends F {
|
|
5686
5684
|
constructor(V, _) {
|
|
5687
5685
|
if (!V || typeof V != "object") throw new B("invalid opts");
|
|
5688
5686
|
if (typeof _ != "function") throw new B("invalid handler");
|
|
@@ -5793,7 +5791,7 @@ ${AA.toString(16)}\r
|
|
|
5793
5791
|
function requireApiUpgrade() {
|
|
5794
5792
|
if (hasRequiredApiUpgrade) return apiUpgrade;
|
|
5795
5793
|
hasRequiredApiUpgrade = 1;
|
|
5796
|
-
const { InvalidArgumentError: A, SocketError: k } = requireErrors(), { AsyncResource: c } = require$$5__default$2, B = requireUtil$7(), { addSignal: t, removeSignal: y } = requireAbortSignal(), R = require$$0__default$1, D = class D
|
|
5794
|
+
const { InvalidArgumentError: A, SocketError: k } = requireErrors(), { AsyncResource: c } = require$$5__default$2, B = requireUtil$7(), { addSignal: t, removeSignal: y } = requireAbortSignal(), R = require$$0__default$1, D = class D extends c {
|
|
5797
5795
|
constructor(r, o) {
|
|
5798
5796
|
if (!r || typeof r != "object") throw new A("invalid opts");
|
|
5799
5797
|
if (typeof o != "function") throw new A("invalid callback");
|
|
@@ -5856,7 +5854,7 @@ ${AA.toString(16)}\r
|
|
|
5856
5854
|
function requireApiConnect() {
|
|
5857
5855
|
if (hasRequiredApiConnect) return apiConnect;
|
|
5858
5856
|
hasRequiredApiConnect = 1;
|
|
5859
|
-
const A = require$$0__default$1, { AsyncResource: k } = require$$5__default$2, { InvalidArgumentError: c, SocketError: B } = requireErrors(), t = requireUtil$7(), { addSignal: y, removeSignal: R } = requireAbortSignal(), D = class D
|
|
5857
|
+
const A = require$$0__default$1, { AsyncResource: k } = require$$5__default$2, { InvalidArgumentError: c, SocketError: B } = requireErrors(), t = requireUtil$7(), { addSignal: y, removeSignal: R } = requireAbortSignal(), D = class D extends k {
|
|
5860
5858
|
constructor(r, o) {
|
|
5861
5859
|
if (!r || typeof r != "object") throw new c("invalid opts");
|
|
5862
5860
|
if (typeof o != "function") throw new c("invalid callback");
|
|
@@ -5923,9 +5921,9 @@ ${AA.toString(16)}\r
|
|
|
5923
5921
|
function requireMockErrors() {
|
|
5924
5922
|
if (hasRequiredMockErrors) return mockErrors;
|
|
5925
5923
|
hasRequiredMockErrors = 1;
|
|
5926
|
-
const { UndiciError: A } = requireErrors(), c = class c
|
|
5924
|
+
const { UndiciError: A } = requireErrors(), c = class c extends A {
|
|
5927
5925
|
constructor(t) {
|
|
5928
|
-
super(t), Error.captureStackTrace(this, c
|
|
5926
|
+
super(t), Error.captureStackTrace(this, c), this.name = "MockNotMatchedError", this.message = t || "The request does not match any registered mock dispatches", this.code = "UND_MOCK_ERR_MOCK_NOT_MATCHED";
|
|
5929
5927
|
}
|
|
5930
5928
|
};
|
|
5931
5929
|
e(c, "MockNotMatchedError");
|
|
@@ -6151,7 +6149,7 @@ ${AA.toString(16)}\r
|
|
|
6151
6149
|
function requireMockInterceptor() {
|
|
6152
6150
|
if (hasRequiredMockInterceptor) return mockInterceptor;
|
|
6153
6151
|
hasRequiredMockInterceptor = 1;
|
|
6154
|
-
const { getResponseData: A, buildKey: k, addMockDispatch: c } = requireMockUtils(), { kDispatches: B, kDispatchKey: t, kDefaultHeaders: y, kDefaultTrailers: R, kContentLength: F, kMockDispatch: Q } = requireMockSymbols(), { InvalidArgumentError: D } = requireErrors(), { buildURL: U } = requireUtil$7(), N = class N
|
|
6152
|
+
const { getResponseData: A, buildKey: k, addMockDispatch: c } = requireMockUtils(), { kDispatches: B, kDispatchKey: t, kDefaultHeaders: y, kDefaultTrailers: R, kContentLength: F, kMockDispatch: Q } = requireMockSymbols(), { InvalidArgumentError: D } = requireErrors(), { buildURL: U } = requireUtil$7(), N = class N {
|
|
6155
6153
|
constructor(p) {
|
|
6156
6154
|
this[Q] = p;
|
|
6157
6155
|
}
|
|
@@ -6169,7 +6167,7 @@ ${AA.toString(16)}\r
|
|
|
6169
6167
|
};
|
|
6170
6168
|
e(N, "MockScope");
|
|
6171
6169
|
let r = N;
|
|
6172
|
-
const l = class l
|
|
6170
|
+
const l = class l {
|
|
6173
6171
|
constructor(p, b) {
|
|
6174
6172
|
if (typeof p != "object") throw new D("opts must be an object");
|
|
6175
6173
|
if (typeof p.path > "u") throw new D("opts.path must be defined");
|
|
@@ -6247,7 +6245,7 @@ ${AA.toString(16)}\r
|
|
|
6247
6245
|
function requireMockClient() {
|
|
6248
6246
|
if (hasRequiredMockClient) return mockClient;
|
|
6249
6247
|
hasRequiredMockClient = 1;
|
|
6250
|
-
const { promisify: A } = require$$0__default$3, k = requireClient(), { buildMockDispatch: c } = requireMockUtils(), { kDispatches: B, kMockAgent: t, kClose: y, kOriginalClose: R, kOrigin: F, kOriginalDispatch: Q, kConnected: D } = requireMockSymbols(), { MockInterceptor: U } = requireMockInterceptor(), r = requireSymbols$4(), { InvalidArgumentError: o } = requireErrors(), l = class l
|
|
6248
|
+
const { promisify: A } = require$$0__default$3, k = requireClient(), { buildMockDispatch: c } = requireMockUtils(), { kDispatches: B, kMockAgent: t, kClose: y, kOriginalClose: R, kOrigin: F, kOriginalDispatch: Q, kConnected: D } = requireMockSymbols(), { MockInterceptor: U } = requireMockInterceptor(), r = requireSymbols$4(), { InvalidArgumentError: o } = requireErrors(), l = class l extends k {
|
|
6251
6249
|
constructor(p, b) {
|
|
6252
6250
|
if (super(p, b), !b || !b.agent || typeof b.agent.dispatch != "function") throw new o("Argument opts.agent must implement Agent");
|
|
6253
6251
|
this[t] = b.agent, this[F] = p, this[B] = [], this[D] = 1, this[Q] = this.dispatch, this[R] = this.close.bind(this), this.dispatch = c.call(this), this.close = this[y];
|
|
@@ -6270,7 +6268,7 @@ ${AA.toString(16)}\r
|
|
|
6270
6268
|
function requireMockPool() {
|
|
6271
6269
|
if (hasRequiredMockPool) return mockPool;
|
|
6272
6270
|
hasRequiredMockPool = 1;
|
|
6273
|
-
const { promisify: A } = require$$0__default$3, k = requirePool(), { buildMockDispatch: c } = requireMockUtils(), { kDispatches: B, kMockAgent: t, kClose: y, kOriginalClose: R, kOrigin: F, kOriginalDispatch: Q, kConnected: D } = requireMockSymbols(), { MockInterceptor: U } = requireMockInterceptor(), r = requireSymbols$4(), { InvalidArgumentError: o } = requireErrors(), l = class l
|
|
6271
|
+
const { promisify: A } = require$$0__default$3, k = requirePool(), { buildMockDispatch: c } = requireMockUtils(), { kDispatches: B, kMockAgent: t, kClose: y, kOriginalClose: R, kOrigin: F, kOriginalDispatch: Q, kConnected: D } = requireMockSymbols(), { MockInterceptor: U } = requireMockInterceptor(), r = requireSymbols$4(), { InvalidArgumentError: o } = requireErrors(), l = class l extends k {
|
|
6274
6272
|
constructor(p, b) {
|
|
6275
6273
|
if (super(p, b), !b || !b.agent || typeof b.agent.dispatch != "function") throw new o("Argument opts.agent must implement Agent");
|
|
6276
6274
|
this[t] = b.agent, this[F] = p, this[B] = [], this[D] = 1, this[Q] = this.dispatch, this[R] = this.close.bind(this), this.dispatch = c.call(this), this.close = this[y];
|
|
@@ -6354,7 +6352,7 @@ ${AA.toString(16)}\r
|
|
|
6354
6352
|
function requireMockAgent() {
|
|
6355
6353
|
if (hasRequiredMockAgent) return mockAgent;
|
|
6356
6354
|
hasRequiredMockAgent = 1;
|
|
6357
|
-
const { kClients: A } = requireSymbols$4(), k = requireAgent(), { kAgent: c, kMockAgentSet: B, kMockAgentGet: t, kDispatches: y, kIsMockActive: R, kNetConnect: F, kGetNetConnect: Q, kOptions: D, kFactory: U } = requireMockSymbols(), r = requireMockClient(), o = requireMockPool(), { matchValue: N, buildMockOptions: l } = requireMockUtils(), { InvalidArgumentError: I, UndiciError: p } = requireErrors(), b = requireDispatcher(), G = requirePluralizer(), J = requirePendingInterceptorsFormatter(), _ = class _
|
|
6355
|
+
const { kClients: A } = requireSymbols$4(), k = requireAgent(), { kAgent: c, kMockAgentSet: B, kMockAgentGet: t, kDispatches: y, kIsMockActive: R, kNetConnect: F, kGetNetConnect: Q, kOptions: D, kFactory: U } = requireMockSymbols(), r = requireMockClient(), o = requireMockPool(), { matchValue: N, buildMockOptions: l } = requireMockUtils(), { InvalidArgumentError: I, UndiciError: p } = requireErrors(), b = requireDispatcher(), G = requirePluralizer(), J = requirePendingInterceptorsFormatter(), _ = class _ extends b {
|
|
6358
6356
|
constructor(M) {
|
|
6359
6357
|
if (super(M), this[F] = !0, this[R] = !0, M?.agent && typeof M.agent.dispatch != "function") throw new I("Argument opts.agent must implement Agent");
|
|
6360
6358
|
const Y = M?.agent ? M.agent : new k(M);
|
|
@@ -6531,7 +6529,7 @@ ${M.format(Y)}
|
|
|
6531
6529
|
var R, F, Q, D, U, r, o, N, xe;
|
|
6532
6530
|
if (hasRequiredDump) return dump;
|
|
6533
6531
|
hasRequiredDump = 1;
|
|
6534
|
-
const A = requireUtil$7(), { InvalidArgumentError: k, RequestAbortedError: c } = requireErrors(), B = requireDecoratorHandler(), I = class I
|
|
6532
|
+
const A = requireUtil$7(), { InvalidArgumentError: k, RequestAbortedError: c } = requireErrors(), B = requireDecoratorHandler(), I = class I extends B {
|
|
6535
6533
|
constructor({ maxSize: G }, J) {
|
|
6536
6534
|
super(J);
|
|
6537
6535
|
SA(this, N);
|
|
@@ -6587,7 +6585,7 @@ ${M.format(Y)}
|
|
|
6587
6585
|
var Q, D, U, r, We, qe, I, p, b, G, J;
|
|
6588
6586
|
if (hasRequiredDns) return dns;
|
|
6589
6587
|
hasRequiredDns = 1;
|
|
6590
|
-
const { isIP: A } = require$$0__default$2, { lookup: k } = require$$1__default$3, c = requireDecoratorHandler(), { InvalidArgumentError: B, InformationalError: t } = requireErrors(), y = Math.pow(2, 31) - 1, l = class l
|
|
6588
|
+
const { isIP: A } = require$$0__default$2, { lookup: k } = require$$1__default$3, c = requireDecoratorHandler(), { InvalidArgumentError: B, InformationalError: t } = requireErrors(), y = Math.pow(2, 31) - 1, l = class l {
|
|
6591
6589
|
constructor(q) {
|
|
6592
6590
|
SA(this, r);
|
|
6593
6591
|
SA(this, Q, 0);
|
|
@@ -6674,7 +6672,7 @@ ${M.format(Y)}
|
|
|
6674
6672
|
return m = C.ips[w] ?? null, m == null ? m : Date.now() - m.timestamp > m.ttl ? (C.ips.splice(w, 1), this.pick(q, M, Y)) : m;
|
|
6675
6673
|
}, "#defaultPick"), e(l, "DNSInstance");
|
|
6676
6674
|
let R = l;
|
|
6677
|
-
const V = class V
|
|
6675
|
+
const V = class V extends c {
|
|
6678
6676
|
constructor(M, { origin: Y, handler: m, dispatch: f }, n) {
|
|
6679
6677
|
super(m);
|
|
6680
6678
|
SA(this, I, null);
|
|
@@ -6807,10 +6805,10 @@ ${M.format(Y)}
|
|
|
6807
6805
|
return m[0] < f[0] ? -1 : 1;
|
|
6808
6806
|
}
|
|
6809
6807
|
e(l, "compareHeaderName");
|
|
6810
|
-
const _ = class _
|
|
6808
|
+
const _ = class _ {
|
|
6811
6809
|
constructor(f) {
|
|
6812
6810
|
$A(this, "cookies", null);
|
|
6813
|
-
f instanceof _
|
|
6811
|
+
f instanceof _ ? (this[Q] = new Map(f[Q]), this[D] = f[D], this.cookies = f.cookies === null ? null : [...f.cookies]) : (this[Q] = new Map(f), this[D] = null);
|
|
6814
6812
|
}
|
|
6815
6813
|
contains(f, n) {
|
|
6816
6814
|
return this[Q].has(n ? f : f.toLowerCase());
|
|
@@ -6888,19 +6886,19 @@ ${M.format(Y)}
|
|
|
6888
6886
|
};
|
|
6889
6887
|
e(_, "HeadersList");
|
|
6890
6888
|
let I = _;
|
|
6891
|
-
const Y = class Y
|
|
6889
|
+
const Y = class Y {
|
|
6892
6890
|
constructor(f = void 0) {
|
|
6893
6891
|
SA(this, q);
|
|
6894
6892
|
SA(this, M);
|
|
6895
6893
|
y.util.markAsUncloneable(this), f !== A && (mA(this, M, new I()), mA(this, q, "none"), f !== void 0 && (f = y.converters.HeadersInit(f, "Headers contructor", "init"), o(this, f)));
|
|
6896
6894
|
}
|
|
6897
6895
|
append(f, n) {
|
|
6898
|
-
y.brandCheck(this, Y
|
|
6896
|
+
y.brandCheck(this, Y), y.argumentLengthCheck(arguments, 2, "Headers.append");
|
|
6899
6897
|
const C = "Headers.append";
|
|
6900
6898
|
return f = y.converters.ByteString(f, C, "name"), n = y.converters.ByteString(n, C, "value"), N(this, f, n);
|
|
6901
6899
|
}
|
|
6902
6900
|
delete(f) {
|
|
6903
|
-
if (y.brandCheck(this, Y
|
|
6901
|
+
if (y.brandCheck(this, Y), y.argumentLengthCheck(arguments, 1, "Headers.delete"), f = y.converters.ByteString(f, "Headers.delete", "name"), !B(f)) throw y.errors.invalidArgument({
|
|
6904
6902
|
prefix: "Headers.delete",
|
|
6905
6903
|
value: f,
|
|
6906
6904
|
type: "header name"
|
|
@@ -6909,7 +6907,7 @@ ${M.format(Y)}
|
|
|
6909
6907
|
Z(this, M).contains(f, !1) && Z(this, M).delete(f, !1);
|
|
6910
6908
|
}
|
|
6911
6909
|
get(f) {
|
|
6912
|
-
y.brandCheck(this, Y
|
|
6910
|
+
y.brandCheck(this, Y), y.argumentLengthCheck(arguments, 1, "Headers.get");
|
|
6913
6911
|
const n = "Headers.get";
|
|
6914
6912
|
if (f = y.converters.ByteString(f, n, "name"), !B(f)) throw y.errors.invalidArgument({
|
|
6915
6913
|
prefix: n,
|
|
@@ -6919,7 +6917,7 @@ ${M.format(Y)}
|
|
|
6919
6917
|
return Z(this, M).get(f, !1);
|
|
6920
6918
|
}
|
|
6921
6919
|
has(f) {
|
|
6922
|
-
y.brandCheck(this, Y
|
|
6920
|
+
y.brandCheck(this, Y), y.argumentLengthCheck(arguments, 1, "Headers.has");
|
|
6923
6921
|
const n = "Headers.has";
|
|
6924
6922
|
if (f = y.converters.ByteString(f, n, "name"), !B(f)) throw y.errors.invalidArgument({
|
|
6925
6923
|
prefix: n,
|
|
@@ -6929,7 +6927,7 @@ ${M.format(Y)}
|
|
|
6929
6927
|
return Z(this, M).contains(f, !1);
|
|
6930
6928
|
}
|
|
6931
6929
|
set(f, n) {
|
|
6932
|
-
y.brandCheck(this, Y
|
|
6930
|
+
y.brandCheck(this, Y), y.argumentLengthCheck(arguments, 2, "Headers.set");
|
|
6933
6931
|
const C = "Headers.set";
|
|
6934
6932
|
if (f = y.converters.ByteString(f, C, "name"), n = y.converters.ByteString(n, C, "value"), n = r(n), B(f)) {
|
|
6935
6933
|
if (!t(n)) throw y.errors.invalidArgument({
|
|
@@ -6946,7 +6944,7 @@ ${M.format(Y)}
|
|
|
6946
6944
|
Z(this, M).set(f, n, !1);
|
|
6947
6945
|
}
|
|
6948
6946
|
getSetCookie() {
|
|
6949
|
-
y.brandCheck(this, Y
|
|
6947
|
+
y.brandCheck(this, Y);
|
|
6950
6948
|
const f = Z(this, M).cookies;
|
|
6951
6949
|
return f ? [...f] : [];
|
|
6952
6950
|
}
|
|
@@ -7021,7 +7019,7 @@ ${M.format(Y)}
|
|
|
7021
7019
|
function requireResponse() {
|
|
7022
7020
|
if (hasRequiredResponse) return response;
|
|
7023
7021
|
hasRequiredResponse = 1;
|
|
7024
|
-
const { Headers: A, HeadersList: k, fill: c, getHeadersGuard: B, setHeadersGuard: t, setHeadersList: y } = requireHeaders(), { extractBody: R, cloneBody: F, mixinBody: Q, hasFinalizationRegistry: D, streamRegistry: U, bodyUnusable: r } = requireBody(), o = requireUtil$7(), N = require$$0__default$3, { kEnumerableProperty: l } = o, { isValidReasonPhrase: I, isCancelled: p, isAborted: b, isBlobLike: G, serializeJavascriptValueToJSONString: J, isErrorLike: V, isomorphicEncode: _, environmentSettingsObject: q } = requireUtil$6(), { redirectStatusSet: M, nullBodyStatus: Y } = requireConstants$2(), { kState: m, kHeaders: f } = requireSymbols$3(), { webidl: n } = requireWebidl(), { FormData: C } = requireFormdata(), { URLSerializer: w } = requireDataUrl(), { kConstruct: S } = requireSymbols$4(), x = require$$0__default$1, { types: z } = require$$0__default$3, $ = new TextEncoder("utf-8"), bA = class bA
|
|
7022
|
+
const { Headers: A, HeadersList: k, fill: c, getHeadersGuard: B, setHeadersGuard: t, setHeadersList: y } = requireHeaders(), { extractBody: R, cloneBody: F, mixinBody: Q, hasFinalizationRegistry: D, streamRegistry: U, bodyUnusable: r } = requireBody(), o = requireUtil$7(), N = require$$0__default$3, { kEnumerableProperty: l } = o, { isValidReasonPhrase: I, isCancelled: p, isAborted: b, isBlobLike: G, serializeJavascriptValueToJSONString: J, isErrorLike: V, isomorphicEncode: _, environmentSettingsObject: q } = requireUtil$6(), { redirectStatusSet: M, nullBodyStatus: Y } = requireConstants$2(), { kState: m, kHeaders: f } = requireSymbols$3(), { webidl: n } = requireWebidl(), { FormData: C } = requireFormdata(), { URLSerializer: w } = requireDataUrl(), { kConstruct: S } = requireSymbols$4(), x = require$$0__default$1, { types: z } = require$$0__default$3, $ = new TextEncoder("utf-8"), bA = class bA {
|
|
7025
7023
|
static error() {
|
|
7026
7024
|
return kA(uA(), "immutable");
|
|
7027
7025
|
}
|
|
@@ -7061,36 +7059,36 @@ ${M.format(Y)}
|
|
|
7061
7059
|
fA(this, oA, aA);
|
|
7062
7060
|
}
|
|
7063
7061
|
get type() {
|
|
7064
|
-
return n.brandCheck(this, bA
|
|
7062
|
+
return n.brandCheck(this, bA), this[m].type;
|
|
7065
7063
|
}
|
|
7066
7064
|
get url() {
|
|
7067
|
-
n.brandCheck(this, bA
|
|
7065
|
+
n.brandCheck(this, bA);
|
|
7068
7066
|
const DA = this[m].urlList, oA = DA[DA.length - 1] ?? null;
|
|
7069
7067
|
return oA === null ? "" : w(oA, !0);
|
|
7070
7068
|
}
|
|
7071
7069
|
get redirected() {
|
|
7072
|
-
return n.brandCheck(this, bA
|
|
7070
|
+
return n.brandCheck(this, bA), this[m].urlList.length > 1;
|
|
7073
7071
|
}
|
|
7074
7072
|
get status() {
|
|
7075
|
-
return n.brandCheck(this, bA
|
|
7073
|
+
return n.brandCheck(this, bA), this[m].status;
|
|
7076
7074
|
}
|
|
7077
7075
|
get ok() {
|
|
7078
|
-
return n.brandCheck(this, bA
|
|
7076
|
+
return n.brandCheck(this, bA), this[m].status >= 200 && this[m].status <= 299;
|
|
7079
7077
|
}
|
|
7080
7078
|
get statusText() {
|
|
7081
|
-
return n.brandCheck(this, bA
|
|
7079
|
+
return n.brandCheck(this, bA), this[m].statusText;
|
|
7082
7080
|
}
|
|
7083
7081
|
get headers() {
|
|
7084
|
-
return n.brandCheck(this, bA
|
|
7082
|
+
return n.brandCheck(this, bA), this[f];
|
|
7085
7083
|
}
|
|
7086
7084
|
get body() {
|
|
7087
|
-
return n.brandCheck(this, bA
|
|
7085
|
+
return n.brandCheck(this, bA), this[m].body ? this[m].body.stream : null;
|
|
7088
7086
|
}
|
|
7089
7087
|
get bodyUsed() {
|
|
7090
|
-
return n.brandCheck(this, bA
|
|
7088
|
+
return n.brandCheck(this, bA), !!this[m].body && o.isDisturbed(this[m].body.stream);
|
|
7091
7089
|
}
|
|
7092
7090
|
clone() {
|
|
7093
|
-
if (n.brandCheck(this, bA
|
|
7091
|
+
if (n.brandCheck(this, bA), r(this)) throw n.errors.exception({
|
|
7094
7092
|
header: "Response.clone",
|
|
7095
7093
|
message: "Body has already been consumed."
|
|
7096
7094
|
});
|
|
@@ -7268,7 +7266,7 @@ ${M.format(Y)}
|
|
|
7268
7266
|
function requireDispatcherWeakref() {
|
|
7269
7267
|
if (hasRequiredDispatcherWeakref) return dispatcherWeakref;
|
|
7270
7268
|
hasRequiredDispatcherWeakref = 1;
|
|
7271
|
-
const { kConnected: A, kSize: k } = requireSymbols$4(), t = class t
|
|
7269
|
+
const { kConnected: A, kSize: k } = requireSymbols$4(), t = class t {
|
|
7272
7270
|
constructor(F) {
|
|
7273
7271
|
this.value = F;
|
|
7274
7272
|
}
|
|
@@ -7278,7 +7276,7 @@ ${M.format(Y)}
|
|
|
7278
7276
|
};
|
|
7279
7277
|
e(t, "CompatWeakRef");
|
|
7280
7278
|
let c = t;
|
|
7281
|
-
const y = class y
|
|
7279
|
+
const y = class y {
|
|
7282
7280
|
constructor(F) {
|
|
7283
7281
|
this.finalizer = F;
|
|
7284
7282
|
}
|
|
@@ -7331,7 +7329,7 @@ ${M.format(Y)}
|
|
|
7331
7329
|
}
|
|
7332
7330
|
e(kA, "buildAbort");
|
|
7333
7331
|
let bA = !1;
|
|
7334
|
-
const EA = class EA
|
|
7332
|
+
const EA = class EA {
|
|
7335
7333
|
constructor(NA, wA = {}) {
|
|
7336
7334
|
if (z.util.markAsUncloneable(this), NA === K) return;
|
|
7337
7335
|
const vA = "Request constructor";
|
|
@@ -7349,7 +7347,7 @@ ${M.format(Y)}
|
|
|
7349
7347
|
}
|
|
7350
7348
|
if (cA.username || cA.password) throw new TypeError("Request cannot be constructed from a URL that includes credentials: " + NA);
|
|
7351
7349
|
dA = DA({ urlList: [cA] }), XA = "cors";
|
|
7352
|
-
} else this[x] = wA.dispatcher || NA[x], nA(NA instanceof EA
|
|
7350
|
+
} else this[x] = wA.dispatcher || NA[x], nA(NA instanceof EA), dA = NA[S], OA = NA[w];
|
|
7353
7351
|
const PA = p.settingsObject.origin;
|
|
7354
7352
|
let ZA = "client";
|
|
7355
7353
|
if (dA.window?.constructor?.name === "EnvironmentSettingsObject" && I(dA.window, PA) && (ZA = dA.window), wA.window != null) throw new TypeError(`'window' option '${ZA}' must be null`);
|
|
@@ -7434,7 +7432,7 @@ ${M.format(Y)}
|
|
|
7434
7432
|
cA.cookies = yA.cookies;
|
|
7435
7433
|
} else y(this[C], yA);
|
|
7436
7434
|
}
|
|
7437
|
-
const jA = NA instanceof EA
|
|
7435
|
+
const jA = NA instanceof EA ? NA[S].body : null;
|
|
7438
7436
|
if ((wA.body != null || jA != null) && (dA.method === "GET" || dA.method === "HEAD")) throw new TypeError("Request with GET/HEAD method cannot have body.");
|
|
7439
7437
|
let Ae = null;
|
|
7440
7438
|
if (wA.body != null) {
|
|
@@ -7460,61 +7458,61 @@ ${M.format(Y)}
|
|
|
7460
7458
|
this[S].body = W;
|
|
7461
7459
|
}
|
|
7462
7460
|
get method() {
|
|
7463
|
-
return z.brandCheck(this, EA
|
|
7461
|
+
return z.brandCheck(this, EA), this[S].method;
|
|
7464
7462
|
}
|
|
7465
7463
|
get url() {
|
|
7466
|
-
return z.brandCheck(this, EA
|
|
7464
|
+
return z.brandCheck(this, EA), $(this[S].url);
|
|
7467
7465
|
}
|
|
7468
7466
|
get headers() {
|
|
7469
|
-
return z.brandCheck(this, EA
|
|
7467
|
+
return z.brandCheck(this, EA), this[C];
|
|
7470
7468
|
}
|
|
7471
7469
|
get destination() {
|
|
7472
|
-
return z.brandCheck(this, EA
|
|
7470
|
+
return z.brandCheck(this, EA), this[S].destination;
|
|
7473
7471
|
}
|
|
7474
7472
|
get referrer() {
|
|
7475
|
-
return z.brandCheck(this, EA
|
|
7473
|
+
return z.brandCheck(this, EA), this[S].referrer === "no-referrer" ? "" : this[S].referrer === "client" ? "about:client" : this[S].referrer.toString();
|
|
7476
7474
|
}
|
|
7477
7475
|
get referrerPolicy() {
|
|
7478
|
-
return z.brandCheck(this, EA
|
|
7476
|
+
return z.brandCheck(this, EA), this[S].referrerPolicy;
|
|
7479
7477
|
}
|
|
7480
7478
|
get mode() {
|
|
7481
|
-
return z.brandCheck(this, EA
|
|
7479
|
+
return z.brandCheck(this, EA), this[S].mode;
|
|
7482
7480
|
}
|
|
7483
7481
|
get credentials() {
|
|
7484
7482
|
return this[S].credentials;
|
|
7485
7483
|
}
|
|
7486
7484
|
get cache() {
|
|
7487
|
-
return z.brandCheck(this, EA
|
|
7485
|
+
return z.brandCheck(this, EA), this[S].cache;
|
|
7488
7486
|
}
|
|
7489
7487
|
get redirect() {
|
|
7490
|
-
return z.brandCheck(this, EA
|
|
7488
|
+
return z.brandCheck(this, EA), this[S].redirect;
|
|
7491
7489
|
}
|
|
7492
7490
|
get integrity() {
|
|
7493
|
-
return z.brandCheck(this, EA
|
|
7491
|
+
return z.brandCheck(this, EA), this[S].integrity;
|
|
7494
7492
|
}
|
|
7495
7493
|
get keepalive() {
|
|
7496
|
-
return z.brandCheck(this, EA
|
|
7494
|
+
return z.brandCheck(this, EA), this[S].keepalive;
|
|
7497
7495
|
}
|
|
7498
7496
|
get isReloadNavigation() {
|
|
7499
|
-
return z.brandCheck(this, EA
|
|
7497
|
+
return z.brandCheck(this, EA), this[S].reloadNavigation;
|
|
7500
7498
|
}
|
|
7501
7499
|
get isHistoryNavigation() {
|
|
7502
|
-
return z.brandCheck(this, EA
|
|
7500
|
+
return z.brandCheck(this, EA), this[S].historyNavigation;
|
|
7503
7501
|
}
|
|
7504
7502
|
get signal() {
|
|
7505
|
-
return z.brandCheck(this, EA
|
|
7503
|
+
return z.brandCheck(this, EA), this[w];
|
|
7506
7504
|
}
|
|
7507
7505
|
get body() {
|
|
7508
|
-
return z.brandCheck(this, EA
|
|
7506
|
+
return z.brandCheck(this, EA), this[S].body ? this[S].body.stream : null;
|
|
7509
7507
|
}
|
|
7510
7508
|
get bodyUsed() {
|
|
7511
|
-
return z.brandCheck(this, EA
|
|
7509
|
+
return z.brandCheck(this, EA), !!this[S].body && o.isDisturbed(this[S].body.stream);
|
|
7512
7510
|
}
|
|
7513
7511
|
get duplex() {
|
|
7514
|
-
return z.brandCheck(this, EA
|
|
7512
|
+
return z.brandCheck(this, EA), "half";
|
|
7515
7513
|
}
|
|
7516
7514
|
clone() {
|
|
7517
|
-
if (z.brandCheck(this, EA
|
|
7515
|
+
if (z.brandCheck(this, EA), B(this)) throw new TypeError("unusable");
|
|
7518
7516
|
const NA = oA(this[S]), wA = new AbortController();
|
|
7519
7517
|
if (this.signal.aborted) wA.abort(this.signal.reason);
|
|
7520
7518
|
else {
|
|
@@ -7713,7 +7711,7 @@ ${M.format(Y)}
|
|
|
7713
7711
|
hasRequiredFetch = 1;
|
|
7714
7712
|
const { makeNetworkError: A, makeAppropriateNetworkError: k, filterResponse: c, makeResponse: B, fromInnerResponse: t } = requireResponse(), { HeadersList: y } = requireHeaders(), { Request: R, cloneRequest: F } = requireRequest(), Q = zlib__default, { bytesMatch: D, makePolicyContainer: U, clonePolicyContainer: r, requestBadPort: o, TAOCheck: N, appendRequestOriginHeader: l, responseLocationURL: I, requestCurrentURL: p, setRequestReferrerPolicyOnRedirect: b, tryUpgradeRequestToAPotentiallyTrustworthyURL: G, createOpaqueTimingInfo: J, appendFetchMetadata: V, corsCheck: _, crossOriginResourcePolicyCheck: q, determineRequestsReferrer: M, coarsenedSharedCurrentTime: Y, createDeferredPromise: m, isBlobLike: f, sameOrigin: n, isCancelled: C, isAborted: w, isErrorLike: S, fullyReadBody: x, readableStreamClose: z, isomorphicEncode: $, urlIsLocal: K, urlIsHttpHttpsScheme: nA, urlHasHttpsScheme: iA, clampAndCoarsenConnectionTimingInfo: uA, simpleRangeHeaderValue: RA, buildContentRange: IA, createInflate: CA, extractMimeType: pA } = requireUtil$6(), { kState: fA, kDispatcher: kA } = requireSymbols$3(), bA = require$$0__default$1, { safelyExtractBody: gA, extractBody: DA } = requireBody(), { redirectStatusSet: oA, nullBodyStatus: aA, safeMethodsSet: EA, requestBodyHeader: sA, subresourceSet: NA } = requireConstants$2(), wA = require$$8__default, { Readable: vA, pipeline: dA, finished: XA } = Stream__default, { addAbortListener: KA, isErrored: OA, isReadable: PA, bufferToLowerCasedHeaderName: ZA } = requireUtil$7(), { dataURLProcessor: HA, serializeAMimeType: se, minimizeSupportedMimeType: ne } = requireDataUrl(), { getGlobalDispatcher: jA } = requireGlobal(), { webidl: Ae } = requireWebidl(), { STATUS_CODES: QA } = http__default, W = ["GET", "HEAD"], cA = typeof __UNDICI_IS_NODE__ < "u" || typeof esbuildDetection < "u" ? "node" : "undici";
|
|
7715
7713
|
let yA;
|
|
7716
|
-
const UA = class UA
|
|
7714
|
+
const UA = class UA extends wA {
|
|
7717
7715
|
constructor(v) {
|
|
7718
7716
|
super(), this.dispatcher = v, this.connection = null, this.dump = !1, this.state = "ongoing";
|
|
7719
7717
|
}
|
|
@@ -8177,7 +8175,7 @@ ${M.format(Y)}
|
|
|
8177
8175
|
function requireProgressevent() {
|
|
8178
8176
|
if (hasRequiredProgressevent) return progressevent;
|
|
8179
8177
|
hasRequiredProgressevent = 1;
|
|
8180
|
-
const { webidl: A } = requireWebidl(), k = Symbol("ProgressEvent state"), B = class B
|
|
8178
|
+
const { webidl: A } = requireWebidl(), k = Symbol("ProgressEvent state"), B = class B extends Event {
|
|
8181
8179
|
constructor(y, R = {}) {
|
|
8182
8180
|
y = A.converters.DOMString(y, "ProgressEvent constructor", "type"), R = A.converters.ProgressEventInit(R ?? {}), super(y, R), this[k] = {
|
|
8183
8181
|
lengthComputable: R.lengthComputable,
|
|
@@ -8186,13 +8184,13 @@ ${M.format(Y)}
|
|
|
8186
8184
|
};
|
|
8187
8185
|
}
|
|
8188
8186
|
get lengthComputable() {
|
|
8189
|
-
return A.brandCheck(this, B
|
|
8187
|
+
return A.brandCheck(this, B), this[k].lengthComputable;
|
|
8190
8188
|
}
|
|
8191
8189
|
get loaded() {
|
|
8192
|
-
return A.brandCheck(this, B
|
|
8190
|
+
return A.brandCheck(this, B), this[k].loaded;
|
|
8193
8191
|
}
|
|
8194
8192
|
get total() {
|
|
8195
|
-
return A.brandCheck(this, B
|
|
8193
|
+
return A.brandCheck(this, B), this[k].total;
|
|
8196
8194
|
}
|
|
8197
8195
|
};
|
|
8198
8196
|
e(B, "ProgressEvent");
|
|
@@ -8582,7 +8580,7 @@ ${M.format(Y)}
|
|
|
8582
8580
|
function requireFilereader() {
|
|
8583
8581
|
if (hasRequiredFilereader) return filereader;
|
|
8584
8582
|
hasRequiredFilereader = 1;
|
|
8585
|
-
const { staticPropertyDescriptors: A, readOperation: k, fireAProgressEvent: c } = requireUtil$4(), { kState: B, kError: t, kResult: y, kEvents: R, kAborted: F } = requireSymbols$2(), { webidl: Q } = requireWebidl(), { kEnumerableProperty: D } = requireUtil$7(), r = class r
|
|
8583
|
+
const { staticPropertyDescriptors: A, readOperation: k, fireAProgressEvent: c } = requireUtil$4(), { kState: B, kError: t, kResult: y, kEvents: R, kAborted: F } = requireSymbols$2(), { webidl: Q } = requireWebidl(), { kEnumerableProperty: D } = requireUtil$7(), r = class r extends EventTarget {
|
|
8586
8584
|
constructor() {
|
|
8587
8585
|
super(), this[B] = "empty", this[y] = null, this[t] = null, this[R] = {
|
|
8588
8586
|
loadend: null,
|
|
@@ -8594,16 +8592,16 @@ ${M.format(Y)}
|
|
|
8594
8592
|
};
|
|
8595
8593
|
}
|
|
8596
8594
|
readAsArrayBuffer(N) {
|
|
8597
|
-
Q.brandCheck(this, r
|
|
8595
|
+
Q.brandCheck(this, r), Q.argumentLengthCheck(arguments, 1, "FileReader.readAsArrayBuffer"), N = Q.converters.Blob(N, { strict: !1 }), k(this, N, "ArrayBuffer");
|
|
8598
8596
|
}
|
|
8599
8597
|
readAsBinaryString(N) {
|
|
8600
|
-
Q.brandCheck(this, r
|
|
8598
|
+
Q.brandCheck(this, r), Q.argumentLengthCheck(arguments, 1, "FileReader.readAsBinaryString"), N = Q.converters.Blob(N, { strict: !1 }), k(this, N, "BinaryString");
|
|
8601
8599
|
}
|
|
8602
8600
|
readAsText(N, l = void 0) {
|
|
8603
|
-
Q.brandCheck(this, r
|
|
8601
|
+
Q.brandCheck(this, r), Q.argumentLengthCheck(arguments, 1, "FileReader.readAsText"), N = Q.converters.Blob(N, { strict: !1 }), l !== void 0 && (l = Q.converters.DOMString(l, "FileReader.readAsText", "encoding")), k(this, N, "Text", l);
|
|
8604
8602
|
}
|
|
8605
8603
|
readAsDataURL(N) {
|
|
8606
|
-
Q.brandCheck(this, r
|
|
8604
|
+
Q.brandCheck(this, r), Q.argumentLengthCheck(arguments, 1, "FileReader.readAsDataURL"), N = Q.converters.Blob(N, { strict: !1 }), k(this, N, "DataURL");
|
|
8607
8605
|
}
|
|
8608
8606
|
abort() {
|
|
8609
8607
|
if (this[B] === "empty" || this[B] === "done") {
|
|
@@ -8613,53 +8611,53 @@ ${M.format(Y)}
|
|
|
8613
8611
|
this[B] === "loading" && (this[B] = "done", this[y] = null), this[F] = !0, c("abort", this), this[B] !== "loading" && c("loadend", this);
|
|
8614
8612
|
}
|
|
8615
8613
|
get readyState() {
|
|
8616
|
-
switch (Q.brandCheck(this, r
|
|
8614
|
+
switch (Q.brandCheck(this, r), this[B]) {
|
|
8617
8615
|
case "empty": return this.EMPTY;
|
|
8618
8616
|
case "loading": return this.LOADING;
|
|
8619
8617
|
case "done": return this.DONE;
|
|
8620
8618
|
}
|
|
8621
8619
|
}
|
|
8622
8620
|
get result() {
|
|
8623
|
-
return Q.brandCheck(this, r
|
|
8621
|
+
return Q.brandCheck(this, r), this[y];
|
|
8624
8622
|
}
|
|
8625
8623
|
get error() {
|
|
8626
|
-
return Q.brandCheck(this, r
|
|
8624
|
+
return Q.brandCheck(this, r), this[t];
|
|
8627
8625
|
}
|
|
8628
8626
|
get onloadend() {
|
|
8629
|
-
return Q.brandCheck(this, r
|
|
8627
|
+
return Q.brandCheck(this, r), this[R].loadend;
|
|
8630
8628
|
}
|
|
8631
8629
|
set onloadend(N) {
|
|
8632
|
-
Q.brandCheck(this, r
|
|
8630
|
+
Q.brandCheck(this, r), this[R].loadend && this.removeEventListener("loadend", this[R].loadend), typeof N == "function" ? (this[R].loadend = N, this.addEventListener("loadend", N)) : this[R].loadend = null;
|
|
8633
8631
|
}
|
|
8634
8632
|
get onerror() {
|
|
8635
|
-
return Q.brandCheck(this, r
|
|
8633
|
+
return Q.brandCheck(this, r), this[R].error;
|
|
8636
8634
|
}
|
|
8637
8635
|
set onerror(N) {
|
|
8638
|
-
Q.brandCheck(this, r
|
|
8636
|
+
Q.brandCheck(this, r), this[R].error && this.removeEventListener("error", this[R].error), typeof N == "function" ? (this[R].error = N, this.addEventListener("error", N)) : this[R].error = null;
|
|
8639
8637
|
}
|
|
8640
8638
|
get onloadstart() {
|
|
8641
|
-
return Q.brandCheck(this, r
|
|
8639
|
+
return Q.brandCheck(this, r), this[R].loadstart;
|
|
8642
8640
|
}
|
|
8643
8641
|
set onloadstart(N) {
|
|
8644
|
-
Q.brandCheck(this, r
|
|
8642
|
+
Q.brandCheck(this, r), this[R].loadstart && this.removeEventListener("loadstart", this[R].loadstart), typeof N == "function" ? (this[R].loadstart = N, this.addEventListener("loadstart", N)) : this[R].loadstart = null;
|
|
8645
8643
|
}
|
|
8646
8644
|
get onprogress() {
|
|
8647
|
-
return Q.brandCheck(this, r
|
|
8645
|
+
return Q.brandCheck(this, r), this[R].progress;
|
|
8648
8646
|
}
|
|
8649
8647
|
set onprogress(N) {
|
|
8650
|
-
Q.brandCheck(this, r
|
|
8648
|
+
Q.brandCheck(this, r), this[R].progress && this.removeEventListener("progress", this[R].progress), typeof N == "function" ? (this[R].progress = N, this.addEventListener("progress", N)) : this[R].progress = null;
|
|
8651
8649
|
}
|
|
8652
8650
|
get onload() {
|
|
8653
|
-
return Q.brandCheck(this, r
|
|
8651
|
+
return Q.brandCheck(this, r), this[R].load;
|
|
8654
8652
|
}
|
|
8655
8653
|
set onload(N) {
|
|
8656
|
-
Q.brandCheck(this, r
|
|
8654
|
+
Q.brandCheck(this, r), this[R].load && this.removeEventListener("load", this[R].load), typeof N == "function" ? (this[R].load = N, this.addEventListener("load", N)) : this[R].load = null;
|
|
8657
8655
|
}
|
|
8658
8656
|
get onabort() {
|
|
8659
|
-
return Q.brandCheck(this, r
|
|
8657
|
+
return Q.brandCheck(this, r), this[R].abort;
|
|
8660
8658
|
}
|
|
8661
8659
|
set onabort(N) {
|
|
8662
|
-
Q.brandCheck(this, r
|
|
8660
|
+
Q.brandCheck(this, r), this[R].abort && this.removeEventListener("abort", this[R].abort), typeof N == "function" ? (this[R].abort = N, this.addEventListener("abort", N)) : this[R].abort = null;
|
|
8663
8661
|
}
|
|
8664
8662
|
};
|
|
8665
8663
|
e(r, "FileReader");
|
|
@@ -8726,33 +8724,33 @@ ${M.format(Y)}
|
|
|
8726
8724
|
var J, V, pe, ue, Oe, be;
|
|
8727
8725
|
if (hasRequiredCache) return cache;
|
|
8728
8726
|
hasRequiredCache = 1;
|
|
8729
|
-
const { kConstruct: A } = requireSymbols$1(), { urlEquals: k, getFieldValues: c } = requireUtil$3(), { kEnumerableProperty: B, isDisturbed: t } = requireUtil$7(), { webidl: y } = requireWebidl(), { Response: R, cloneResponse: F, fromInnerResponse: Q } = requireResponse(), { Request: D, fromInnerRequest: U } = requireRequest(), { kState: r } = requireSymbols$3(), { fetching: o } = requireFetch(), { urlIsHttpHttpsScheme: N, createDeferredPromise: l, readAllBytes: I } = requireUtil$6(), p = require$$0__default$1, m = class m
|
|
8727
|
+
const { kConstruct: A } = requireSymbols$1(), { urlEquals: k, getFieldValues: c } = requireUtil$3(), { kEnumerableProperty: B, isDisturbed: t } = requireUtil$7(), { webidl: y } = requireWebidl(), { Response: R, cloneResponse: F, fromInnerResponse: Q } = requireResponse(), { Request: D, fromInnerRequest: U } = requireRequest(), { kState: r } = requireSymbols$3(), { fetching: o } = requireFetch(), { urlIsHttpHttpsScheme: N, createDeferredPromise: l, readAllBytes: I } = requireUtil$6(), p = require$$0__default$1, m = class m {
|
|
8730
8728
|
constructor() {
|
|
8731
8729
|
SA(this, V);
|
|
8732
8730
|
SA(this, J);
|
|
8733
8731
|
arguments[0] !== A && y.illegalConstructor(), y.util.markAsUncloneable(this), mA(this, J, arguments[1]);
|
|
8734
8732
|
}
|
|
8735
8733
|
async match(n, C = {}) {
|
|
8736
|
-
y.brandCheck(this, m
|
|
8734
|
+
y.brandCheck(this, m);
|
|
8737
8735
|
const w = "Cache.match";
|
|
8738
8736
|
y.argumentLengthCheck(arguments, 1, w), n = y.converters.RequestInfo(n, w, "request"), C = y.converters.CacheQueryOptions(C, w, "options");
|
|
8739
8737
|
const S = ee(this, V, be).call(this, n, C, 1);
|
|
8740
8738
|
if (S.length !== 0) return S[0];
|
|
8741
8739
|
}
|
|
8742
8740
|
async matchAll(n = void 0, C = {}) {
|
|
8743
|
-
y.brandCheck(this, m
|
|
8741
|
+
y.brandCheck(this, m);
|
|
8744
8742
|
const w = "Cache.matchAll";
|
|
8745
8743
|
return n !== void 0 && (n = y.converters.RequestInfo(n, w, "request")), C = y.converters.CacheQueryOptions(C, w, "options"), ee(this, V, be).call(this, n, C);
|
|
8746
8744
|
}
|
|
8747
8745
|
async add(n) {
|
|
8748
|
-
y.brandCheck(this, m
|
|
8746
|
+
y.brandCheck(this, m);
|
|
8749
8747
|
const C = "Cache.add";
|
|
8750
8748
|
y.argumentLengthCheck(arguments, 1, C), n = y.converters.RequestInfo(n, C, "request");
|
|
8751
8749
|
const w = [n];
|
|
8752
8750
|
return await this.addAll(w);
|
|
8753
8751
|
}
|
|
8754
8752
|
async addAll(n) {
|
|
8755
|
-
y.brandCheck(this, m
|
|
8753
|
+
y.brandCheck(this, m);
|
|
8756
8754
|
const C = "Cache.addAll";
|
|
8757
8755
|
y.argumentLengthCheck(arguments, 1, C);
|
|
8758
8756
|
const w = [], S = [];
|
|
@@ -8828,7 +8826,7 @@ ${M.format(Y)}
|
|
|
8828
8826
|
}), iA.promise;
|
|
8829
8827
|
}
|
|
8830
8828
|
async put(n, C) {
|
|
8831
|
-
y.brandCheck(this, m
|
|
8829
|
+
y.brandCheck(this, m);
|
|
8832
8830
|
const w = "Cache.put";
|
|
8833
8831
|
y.argumentLengthCheck(arguments, 2, w), n = y.converters.RequestInfo(n, w, "request"), C = y.converters.Response(C, w, "response");
|
|
8834
8832
|
let S = null;
|
|
@@ -8875,7 +8873,7 @@ ${M.format(Y)}
|
|
|
8875
8873
|
}), uA.promise;
|
|
8876
8874
|
}
|
|
8877
8875
|
async delete(n, C = {}) {
|
|
8878
|
-
y.brandCheck(this, m
|
|
8876
|
+
y.brandCheck(this, m);
|
|
8879
8877
|
const w = "Cache.delete";
|
|
8880
8878
|
y.argumentLengthCheck(arguments, 1, w), n = y.converters.RequestInfo(n, w, "request"), C = y.converters.CacheQueryOptions(C, w, "options");
|
|
8881
8879
|
let S = null;
|
|
@@ -8900,7 +8898,7 @@ ${M.format(Y)}
|
|
|
8900
8898
|
}), $.promise;
|
|
8901
8899
|
}
|
|
8902
8900
|
async keys(n = void 0, C = {}) {
|
|
8903
|
-
y.brandCheck(this, m
|
|
8901
|
+
y.brandCheck(this, m);
|
|
8904
8902
|
const w = "Cache.keys";
|
|
8905
8903
|
n !== void 0 && (n = y.converters.RequestInfo(n, w, "request")), C = y.converters.CacheQueryOptions(C, w, "options");
|
|
8906
8904
|
let S = null;
|
|
@@ -9051,13 +9049,13 @@ ${M.format(Y)}
|
|
|
9051
9049
|
var y;
|
|
9052
9050
|
if (hasRequiredCachestorage) return cachestorage;
|
|
9053
9051
|
hasRequiredCachestorage = 1;
|
|
9054
|
-
const { kConstruct: A } = requireSymbols$1(), { Cache: k } = requireCache(), { webidl: c } = requireWebidl(), { kEnumerableProperty: B } = requireUtil$7(), R = class R
|
|
9052
|
+
const { kConstruct: A } = requireSymbols$1(), { Cache: k } = requireCache(), { webidl: c } = requireWebidl(), { kEnumerableProperty: B } = requireUtil$7(), R = class R {
|
|
9055
9053
|
constructor() {
|
|
9056
9054
|
SA(this, y, /* @__PURE__ */ new Map());
|
|
9057
9055
|
arguments[0] !== A && c.illegalConstructor(), c.util.markAsUncloneable(this);
|
|
9058
9056
|
}
|
|
9059
9057
|
async match(Q, D = {}) {
|
|
9060
|
-
if (c.brandCheck(this, R
|
|
9058
|
+
if (c.brandCheck(this, R), c.argumentLengthCheck(arguments, 1, "CacheStorage.match"), Q = c.converters.RequestInfo(Q), D = c.converters.MultiCacheQueryOptions(D), D.cacheName != null) {
|
|
9061
9059
|
if (Z(this, y).has(D.cacheName)) return await new k(A, Z(this, y).get(D.cacheName)).match(Q, D);
|
|
9062
9060
|
} else for (const U of Z(this, y).values()) {
|
|
9063
9061
|
const o = await new k(A, U).match(Q, D);
|
|
@@ -9065,24 +9063,24 @@ ${M.format(Y)}
|
|
|
9065
9063
|
}
|
|
9066
9064
|
}
|
|
9067
9065
|
async has(Q) {
|
|
9068
|
-
c.brandCheck(this, R
|
|
9066
|
+
c.brandCheck(this, R);
|
|
9069
9067
|
const D = "CacheStorage.has";
|
|
9070
9068
|
return c.argumentLengthCheck(arguments, 1, D), Q = c.converters.DOMString(Q, D, "cacheName"), Z(this, y).has(Q);
|
|
9071
9069
|
}
|
|
9072
9070
|
async open(Q) {
|
|
9073
|
-
c.brandCheck(this, R
|
|
9071
|
+
c.brandCheck(this, R);
|
|
9074
9072
|
const D = "CacheStorage.open";
|
|
9075
9073
|
if (c.argumentLengthCheck(arguments, 1, D), Q = c.converters.DOMString(Q, D, "cacheName"), Z(this, y).has(Q)) return new k(A, Z(this, y).get(Q));
|
|
9076
9074
|
const U = [];
|
|
9077
9075
|
return Z(this, y).set(Q, U), new k(A, U);
|
|
9078
9076
|
}
|
|
9079
9077
|
async delete(Q) {
|
|
9080
|
-
c.brandCheck(this, R
|
|
9078
|
+
c.brandCheck(this, R);
|
|
9081
9079
|
const D = "CacheStorage.delete";
|
|
9082
9080
|
return c.argumentLengthCheck(arguments, 1, D), Q = c.converters.DOMString(Q, D, "cacheName"), Z(this, y).delete(Q);
|
|
9083
9081
|
}
|
|
9084
9082
|
async keys() {
|
|
9085
|
-
return c.brandCheck(this, R
|
|
9083
|
+
return c.brandCheck(this, R), [...Z(this, y).keys()];
|
|
9086
9084
|
}
|
|
9087
9085
|
};
|
|
9088
9086
|
y = /* @__PURE__ */ new WeakMap(), e(R, "CacheStorage");
|
|
@@ -9376,7 +9374,7 @@ ${M.format(Y)}
|
|
|
9376
9374
|
var D, o, l;
|
|
9377
9375
|
if (hasRequiredEvents) return events;
|
|
9378
9376
|
hasRequiredEvents = 1;
|
|
9379
|
-
const { webidl: A } = requireWebidl(), { kEnumerableProperty: k } = requireUtil$7(), { kConstruct: c } = requireSymbols$4(), { MessagePort: B } = require$$1__default, r = class r
|
|
9377
|
+
const { webidl: A } = requireWebidl(), { kEnumerableProperty: k } = requireUtil$7(), { kConstruct: c } = requireSymbols$4(), { MessagePort: B } = require$$1__default, r = class r extends Event {
|
|
9380
9378
|
constructor(G, J = {}) {
|
|
9381
9379
|
var b = (...U) => (super(...U), SA(this, D), this);
|
|
9382
9380
|
if (G === c) {
|
|
@@ -9387,22 +9385,22 @@ ${M.format(Y)}
|
|
|
9387
9385
|
A.argumentLengthCheck(arguments, 1, V), G = A.converters.DOMString(G, V, "type"), J = A.converters.MessageEventInit(J, V, "eventInitDict"), b(G, J), mA(this, D, J), A.util.markAsUncloneable(this);
|
|
9388
9386
|
}
|
|
9389
9387
|
get data() {
|
|
9390
|
-
return A.brandCheck(this, r
|
|
9388
|
+
return A.brandCheck(this, r), Z(this, D).data;
|
|
9391
9389
|
}
|
|
9392
9390
|
get origin() {
|
|
9393
|
-
return A.brandCheck(this, r
|
|
9391
|
+
return A.brandCheck(this, r), Z(this, D).origin;
|
|
9394
9392
|
}
|
|
9395
9393
|
get lastEventId() {
|
|
9396
|
-
return A.brandCheck(this, r
|
|
9394
|
+
return A.brandCheck(this, r), Z(this, D).lastEventId;
|
|
9397
9395
|
}
|
|
9398
9396
|
get source() {
|
|
9399
|
-
return A.brandCheck(this, r
|
|
9397
|
+
return A.brandCheck(this, r), Z(this, D).source;
|
|
9400
9398
|
}
|
|
9401
9399
|
get ports() {
|
|
9402
|
-
return A.brandCheck(this, r
|
|
9400
|
+
return A.brandCheck(this, r), Object.isFrozen(Z(this, D).ports) || Object.freeze(Z(this, D).ports), Z(this, D).ports;
|
|
9403
9401
|
}
|
|
9404
9402
|
initMessageEvent(G, J = !1, V = !1, _ = null, q = "", M = "", Y = null, m = []) {
|
|
9405
|
-
return A.brandCheck(this, r
|
|
9403
|
+
return A.brandCheck(this, r), A.argumentLengthCheck(arguments, 1, "MessageEvent.initMessageEvent"), new r(G, {
|
|
9406
9404
|
bubbles: J,
|
|
9407
9405
|
cancelable: V,
|
|
9408
9406
|
data: _,
|
|
@@ -9414,7 +9412,7 @@ ${M.format(Y)}
|
|
|
9414
9412
|
}
|
|
9415
9413
|
static createFastMessageEvent(G, J) {
|
|
9416
9414
|
var _, q, M, Y, m;
|
|
9417
|
-
const V = new r
|
|
9415
|
+
const V = new r(c, G, J);
|
|
9418
9416
|
return mA(V, D, J), (_ = Z(V, D)).data ?? (_.data = null), (q = Z(V, D)).origin ?? (q.origin = ""), (M = Z(V, D)).lastEventId ?? (M.lastEventId = ""), (Y = Z(V, D)).source ?? (Y.source = null), (m = Z(V, D)).ports ?? (m.ports = []), V;
|
|
9419
9417
|
}
|
|
9420
9418
|
};
|
|
@@ -9422,7 +9420,7 @@ ${M.format(Y)}
|
|
|
9422
9420
|
let t = r;
|
|
9423
9421
|
const { createFastMessageEvent: y } = t;
|
|
9424
9422
|
delete t.createFastMessageEvent;
|
|
9425
|
-
const N = class N
|
|
9423
|
+
const N = class N extends Event {
|
|
9426
9424
|
constructor(G, J = {}) {
|
|
9427
9425
|
const V = "CloseEvent constructor";
|
|
9428
9426
|
A.argumentLengthCheck(arguments, 1, V), G = A.converters.DOMString(G, V, "type"), J = A.converters.CloseEventInit(J);
|
|
@@ -9431,18 +9429,18 @@ ${M.format(Y)}
|
|
|
9431
9429
|
mA(this, o, J), A.util.markAsUncloneable(this);
|
|
9432
9430
|
}
|
|
9433
9431
|
get wasClean() {
|
|
9434
|
-
return A.brandCheck(this, N
|
|
9432
|
+
return A.brandCheck(this, N), Z(this, o).wasClean;
|
|
9435
9433
|
}
|
|
9436
9434
|
get code() {
|
|
9437
|
-
return A.brandCheck(this, N
|
|
9435
|
+
return A.brandCheck(this, N), Z(this, o).code;
|
|
9438
9436
|
}
|
|
9439
9437
|
get reason() {
|
|
9440
|
-
return A.brandCheck(this, N
|
|
9438
|
+
return A.brandCheck(this, N), Z(this, o).reason;
|
|
9441
9439
|
}
|
|
9442
9440
|
};
|
|
9443
9441
|
o = /* @__PURE__ */ new WeakMap(), e(N, "CloseEvent");
|
|
9444
9442
|
let R = N;
|
|
9445
|
-
const I = class I
|
|
9443
|
+
const I = class I extends Event {
|
|
9446
9444
|
constructor(G, J) {
|
|
9447
9445
|
const V = "ErrorEvent constructor";
|
|
9448
9446
|
A.argumentLengthCheck(arguments, 1, V);
|
|
@@ -9451,19 +9449,19 @@ ${M.format(Y)}
|
|
|
9451
9449
|
A.util.markAsUncloneable(this), G = A.converters.DOMString(G, V, "type"), J = A.converters.ErrorEventInit(J ?? {}), mA(this, l, J);
|
|
9452
9450
|
}
|
|
9453
9451
|
get message() {
|
|
9454
|
-
return A.brandCheck(this, I
|
|
9452
|
+
return A.brandCheck(this, I), Z(this, l).message;
|
|
9455
9453
|
}
|
|
9456
9454
|
get filename() {
|
|
9457
|
-
return A.brandCheck(this, I
|
|
9455
|
+
return A.brandCheck(this, I), Z(this, l).filename;
|
|
9458
9456
|
}
|
|
9459
9457
|
get lineno() {
|
|
9460
|
-
return A.brandCheck(this, I
|
|
9458
|
+
return A.brandCheck(this, I), Z(this, l).lineno;
|
|
9461
9459
|
}
|
|
9462
9460
|
get colno() {
|
|
9463
|
-
return A.brandCheck(this, I
|
|
9461
|
+
return A.brandCheck(this, I), Z(this, l).colno;
|
|
9464
9462
|
}
|
|
9465
9463
|
get error() {
|
|
9466
|
-
return A.brandCheck(this, I
|
|
9464
|
+
return A.brandCheck(this, I), Z(this, l).error;
|
|
9467
9465
|
}
|
|
9468
9466
|
};
|
|
9469
9467
|
l = /* @__PURE__ */ new WeakMap(), e(I, "ErrorEvent");
|
|
@@ -9675,7 +9673,7 @@ ${M.format(Y)}
|
|
|
9675
9673
|
return x[A] === y.CLOSED;
|
|
9676
9674
|
}
|
|
9677
9675
|
e(I, "isClosed");
|
|
9678
|
-
function p(x, z, $ = (nA
|
|
9676
|
+
function p(x, z, $ = (nA, iA) => new Event(nA, iA), K = {}) {
|
|
9679
9677
|
const nA = $(x, K);
|
|
9680
9678
|
z.dispatchEvent(nA);
|
|
9681
9679
|
}
|
|
@@ -9801,7 +9799,7 @@ ${M.format(Y)}
|
|
|
9801
9799
|
];
|
|
9802
9800
|
}
|
|
9803
9801
|
e(y, "generateMask");
|
|
9804
|
-
const F = class F
|
|
9802
|
+
const F = class F {
|
|
9805
9803
|
constructor(D) {
|
|
9806
9804
|
this.frameData = D;
|
|
9807
9805
|
}
|
|
@@ -9941,7 +9939,7 @@ ${M.format(Y)}
|
|
|
9941
9939
|
0,
|
|
9942
9940
|
255,
|
|
9943
9941
|
255
|
|
9944
|
-
]), t = Symbol("kBuffer"), y = Symbol("kLength"), D = class D
|
|
9942
|
+
]), t = Symbol("kBuffer"), y = Symbol("kLength"), D = class D {
|
|
9945
9943
|
constructor(r) {
|
|
9946
9944
|
SA(this, F);
|
|
9947
9945
|
SA(this, Q, {});
|
|
@@ -9978,7 +9976,7 @@ ${M.format(Y)}
|
|
|
9978
9976
|
var Y, m, f, n, C, w, S;
|
|
9979
9977
|
if (hasRequiredReceiver) return receiver;
|
|
9980
9978
|
hasRequiredReceiver = 1;
|
|
9981
|
-
const { Writable: A } = Stream__default, k = require$$0__default$1, { parserStates: c, opcodes: B, states: t, emptyBuffer: y, sentCloseFrameState: R } = requireConstants(), { kReadyState: F, kSentClose: Q, kResponse: D, kReceivedClose: U } = requireSymbols(), { channels: r } = requireDiagnostics(), { isValidStatusCode: o, isValidOpcode: N, failWebsocketConnection: l, websocketMessageReceived: I, utf8Decode: p, isControlFrame: b, isTextBinaryFrame: G, isContinuationFrame: J } = requireUtil$1(), { WebsocketFrameSend: V } = requireFrame(), { closeWebSocketConnection: _ } = requireConnection(), { PerMessageDeflate: q } = requirePermessageDeflate(), x = class x
|
|
9979
|
+
const { Writable: A } = Stream__default, k = require$$0__default$1, { parserStates: c, opcodes: B, states: t, emptyBuffer: y, sentCloseFrameState: R } = requireConstants(), { kReadyState: F, kSentClose: Q, kResponse: D, kReceivedClose: U } = requireSymbols(), { channels: r } = requireDiagnostics(), { isValidStatusCode: o, isValidOpcode: N, failWebsocketConnection: l, websocketMessageReceived: I, utf8Decode: p, isControlFrame: b, isTextBinaryFrame: G, isContinuationFrame: J } = requireUtil$1(), { WebsocketFrameSend: V } = requireFrame(), { closeWebSocketConnection: _ } = requireConnection(), { PerMessageDeflate: q } = requirePermessageDeflate(), x = class x extends A {
|
|
9982
9980
|
constructor(K, nA) {
|
|
9983
9981
|
super();
|
|
9984
9982
|
SA(this, Y, []);
|
|
@@ -10148,7 +10146,7 @@ ${M.format(Y)}
|
|
|
10148
10146
|
var Q, D, U, r, Pe;
|
|
10149
10147
|
if (hasRequiredSender) return sender;
|
|
10150
10148
|
hasRequiredSender = 1;
|
|
10151
|
-
const { WebsocketFrameSend: A } = requireFrame(), { opcodes: k, sendHints: c } = requireConstants(), B = requireFixedQueue(), t = Buffer[Symbol.species], N = class N
|
|
10149
|
+
const { WebsocketFrameSend: A } = requireFrame(), { opcodes: k, sendHints: c } = requireConstants(), B = requireFixedQueue(), t = Buffer[Symbol.species], N = class N {
|
|
10152
10150
|
constructor(I) {
|
|
10153
10151
|
SA(this, r);
|
|
10154
10152
|
SA(this, Q, new B());
|
|
@@ -10210,7 +10208,7 @@ ${M.format(Y)}
|
|
|
10210
10208
|
var z, $, K, nA, iA, uA, Ze;
|
|
10211
10209
|
if (hasRequiredWebsocket) return websocket;
|
|
10212
10210
|
hasRequiredWebsocket = 1;
|
|
10213
|
-
const { webidl: A } = requireWebidl(), { URLSerializer: k } = requireDataUrl(), { environmentSettingsObject: c } = requireUtil$6(), { staticPropertyDescriptors: B, states: t, sentCloseFrameState: y, sendHints: R } = requireConstants(), { kWebSocketURL: F, kReadyState: Q, kController: D, kBinaryType: U, kResponse: r, kSentClose: o, kByteParser: N } = requireSymbols(), { isConnecting: l, isEstablished: I, isClosing: p, isValidSubprotocol: b, fireEvent: G } = requireUtil$1(), { establishWebSocketConnection: J, closeWebSocketConnection: V } = requireConnection(), { ByteParser: _ } = requireReceiver(), { kEnumerableProperty: q, isBlobLike: M } = requireUtil$7(), { getGlobalDispatcher: Y } = requireGlobal(), { types: m } = require$$0__default$3, { ErrorEvent: f, CloseEvent: n } = requireEvents(), { SendQueue: C } = requireSender(), IA = class IA
|
|
10211
|
+
const { webidl: A } = requireWebidl(), { URLSerializer: k } = requireDataUrl(), { environmentSettingsObject: c } = requireUtil$6(), { staticPropertyDescriptors: B, states: t, sentCloseFrameState: y, sendHints: R } = requireConstants(), { kWebSocketURL: F, kReadyState: Q, kController: D, kBinaryType: U, kResponse: r, kSentClose: o, kByteParser: N } = requireSymbols(), { isConnecting: l, isEstablished: I, isClosing: p, isValidSubprotocol: b, fireEvent: G } = requireUtil$1(), { establishWebSocketConnection: J, closeWebSocketConnection: V } = requireConnection(), { ByteParser: _ } = requireReceiver(), { kEnumerableProperty: q, isBlobLike: M } = requireUtil$7(), { getGlobalDispatcher: Y } = requireGlobal(), { types: m } = require$$0__default$3, { ErrorEvent: f, CloseEvent: n } = requireEvents(), { SendQueue: C } = requireSender(), IA = class IA extends EventTarget {
|
|
10214
10212
|
constructor(fA, kA = []) {
|
|
10215
10213
|
super();
|
|
10216
10214
|
SA(this, uA);
|
|
@@ -10242,10 +10240,10 @@ ${M.format(Y)}
|
|
|
10242
10240
|
if (kA.length > 0 && !kA.every((EA) => b(EA))) throw new DOMException("Invalid Sec-WebSocket-Protocol value", "SyntaxError");
|
|
10243
10241
|
this[F] = new URL(oA.href);
|
|
10244
10242
|
const aA = c.settingsObject;
|
|
10245
|
-
this[D] = J(oA, kA, aA, this, (EA, sA) => ee(this, uA, Ze).call(this, EA, sA), gA), this[Q] = IA
|
|
10243
|
+
this[D] = J(oA, kA, aA, this, (EA, sA) => ee(this, uA, Ze).call(this, EA, sA), gA), this[Q] = IA.CONNECTING, this[o] = y.NOT_SENT, this[U] = "blob";
|
|
10246
10244
|
}
|
|
10247
10245
|
close(fA = void 0, kA = void 0) {
|
|
10248
|
-
A.brandCheck(this, IA
|
|
10246
|
+
A.brandCheck(this, IA);
|
|
10249
10247
|
const bA = "WebSocket.close";
|
|
10250
10248
|
if (fA !== void 0 && (fA = A.converters["unsigned short"](fA, bA, "code", { clamp: !0 })), kA !== void 0 && (kA = A.converters.USVString(kA, bA, "reason")), fA !== void 0 && fA !== 1e3 && (fA < 3e3 || fA > 4999)) throw new DOMException("invalid code", "InvalidAccessError");
|
|
10251
10249
|
let gA = 0;
|
|
@@ -10253,7 +10251,7 @@ ${M.format(Y)}
|
|
|
10253
10251
|
V(this, fA, kA, gA);
|
|
10254
10252
|
}
|
|
10255
10253
|
send(fA) {
|
|
10256
|
-
A.brandCheck(this, IA
|
|
10254
|
+
A.brandCheck(this, IA);
|
|
10257
10255
|
const kA = "WebSocket.send";
|
|
10258
10256
|
if (A.argumentLengthCheck(arguments, 1, kA), fA = A.converters.WebSocketSendData(fA, kA, "data"), l(this)) throw new DOMException("Sent before connected.", "InvalidStateError");
|
|
10259
10257
|
if (!(!I(this) || p(this))) if (typeof fA == "string") {
|
|
@@ -10270,49 +10268,49 @@ ${M.format(Y)}
|
|
|
10270
10268
|
}, R.blob));
|
|
10271
10269
|
}
|
|
10272
10270
|
get readyState() {
|
|
10273
|
-
return A.brandCheck(this, IA
|
|
10271
|
+
return A.brandCheck(this, IA), this[Q];
|
|
10274
10272
|
}
|
|
10275
10273
|
get bufferedAmount() {
|
|
10276
|
-
return A.brandCheck(this, IA
|
|
10274
|
+
return A.brandCheck(this, IA), Z(this, $);
|
|
10277
10275
|
}
|
|
10278
10276
|
get url() {
|
|
10279
|
-
return A.brandCheck(this, IA
|
|
10277
|
+
return A.brandCheck(this, IA), k(this[F]);
|
|
10280
10278
|
}
|
|
10281
10279
|
get extensions() {
|
|
10282
|
-
return A.brandCheck(this, IA
|
|
10280
|
+
return A.brandCheck(this, IA), Z(this, nA);
|
|
10283
10281
|
}
|
|
10284
10282
|
get protocol() {
|
|
10285
|
-
return A.brandCheck(this, IA
|
|
10283
|
+
return A.brandCheck(this, IA), Z(this, K);
|
|
10286
10284
|
}
|
|
10287
10285
|
get onopen() {
|
|
10288
|
-
return A.brandCheck(this, IA
|
|
10286
|
+
return A.brandCheck(this, IA), Z(this, z).open;
|
|
10289
10287
|
}
|
|
10290
10288
|
set onopen(fA) {
|
|
10291
|
-
A.brandCheck(this, IA
|
|
10289
|
+
A.brandCheck(this, IA), Z(this, z).open && this.removeEventListener("open", Z(this, z).open), typeof fA == "function" ? (Z(this, z).open = fA, this.addEventListener("open", fA)) : Z(this, z).open = null;
|
|
10292
10290
|
}
|
|
10293
10291
|
get onerror() {
|
|
10294
|
-
return A.brandCheck(this, IA
|
|
10292
|
+
return A.brandCheck(this, IA), Z(this, z).error;
|
|
10295
10293
|
}
|
|
10296
10294
|
set onerror(fA) {
|
|
10297
|
-
A.brandCheck(this, IA
|
|
10295
|
+
A.brandCheck(this, IA), Z(this, z).error && this.removeEventListener("error", Z(this, z).error), typeof fA == "function" ? (Z(this, z).error = fA, this.addEventListener("error", fA)) : Z(this, z).error = null;
|
|
10298
10296
|
}
|
|
10299
10297
|
get onclose() {
|
|
10300
|
-
return A.brandCheck(this, IA
|
|
10298
|
+
return A.brandCheck(this, IA), Z(this, z).close;
|
|
10301
10299
|
}
|
|
10302
10300
|
set onclose(fA) {
|
|
10303
|
-
A.brandCheck(this, IA
|
|
10301
|
+
A.brandCheck(this, IA), Z(this, z).close && this.removeEventListener("close", Z(this, z).close), typeof fA == "function" ? (Z(this, z).close = fA, this.addEventListener("close", fA)) : Z(this, z).close = null;
|
|
10304
10302
|
}
|
|
10305
10303
|
get onmessage() {
|
|
10306
|
-
return A.brandCheck(this, IA
|
|
10304
|
+
return A.brandCheck(this, IA), Z(this, z).message;
|
|
10307
10305
|
}
|
|
10308
10306
|
set onmessage(fA) {
|
|
10309
|
-
A.brandCheck(this, IA
|
|
10307
|
+
A.brandCheck(this, IA), Z(this, z).message && this.removeEventListener("message", Z(this, z).message), typeof fA == "function" ? (Z(this, z).message = fA, this.addEventListener("message", fA)) : Z(this, z).message = null;
|
|
10310
10308
|
}
|
|
10311
10309
|
get binaryType() {
|
|
10312
|
-
return A.brandCheck(this, IA
|
|
10310
|
+
return A.brandCheck(this, IA), this[U];
|
|
10313
10311
|
}
|
|
10314
10312
|
set binaryType(fA) {
|
|
10315
|
-
A.brandCheck(this, IA
|
|
10313
|
+
A.brandCheck(this, IA), fA !== "blob" && fA !== "arraybuffer" ? this[U] = "blob" : this[U] = fA;
|
|
10316
10314
|
}
|
|
10317
10315
|
};
|
|
10318
10316
|
z = /* @__PURE__ */ new WeakMap(), $ = /* @__PURE__ */ new WeakMap(), K = /* @__PURE__ */ new WeakMap(), nA = /* @__PURE__ */ new WeakMap(), iA = /* @__PURE__ */ new WeakMap(), uA = /* @__PURE__ */ new WeakSet(), Ze = e(function(fA, kA) {
|
|
@@ -10427,7 +10425,7 @@ ${M.format(Y)}
|
|
|
10427
10425
|
239,
|
|
10428
10426
|
187,
|
|
10429
10427
|
191
|
|
10430
|
-
], t = 10, y = 13, R = 58, F = 32, D = class D
|
|
10428
|
+
], t = 10, y = 13, R = 58, F = 32, D = class D extends A {
|
|
10431
10429
|
constructor(o = {}) {
|
|
10432
10430
|
o.readableObjectMode = !0;
|
|
10433
10431
|
super(o);
|
|
@@ -10556,7 +10554,7 @@ ${p}`;
|
|
|
10556
10554
|
hasRequiredEventsource = 1;
|
|
10557
10555
|
const { pipeline: A } = Stream__default, { fetching: k } = requireFetch(), { makeRequest: c } = requireRequest(), { webidl: B } = requireWebidl(), { EventSourceStream: t } = requireEventsourceStream(), { parseMIMEType: y } = requireDataUrl(), { createFastMessageEvent: R } = requireEvents(), { isNetworkError: F } = requireResponse(), { delay: Q } = requireUtil(), { kEnumerableProperty: D } = requireUtil$7(), { environmentSettingsObject: U } = requireUtil$6();
|
|
10558
10556
|
let r = !1;
|
|
10559
|
-
const o = 3e3, N = 0, l = 1, I = 2, p = "anonymous", b = "use-credentials", x = class x
|
|
10557
|
+
const o = 3e3, N = 0, l = 1, I = 2, p = "anonymous", b = "use-credentials", x = class x extends EventTarget {
|
|
10560
10558
|
constructor(K, nA = {}) {
|
|
10561
10559
|
super();
|
|
10562
10560
|
SA(this, C);
|
|
@@ -10610,7 +10608,7 @@ ${p}`;
|
|
|
10610
10608
|
return Z(this, q);
|
|
10611
10609
|
}
|
|
10612
10610
|
close() {
|
|
10613
|
-
B.brandCheck(this, x
|
|
10611
|
+
B.brandCheck(this, x), Z(this, M) !== I && (mA(this, M, I), Z(this, m).abort(), mA(this, Y, null));
|
|
10614
10612
|
}
|
|
10615
10613
|
get onopen() {
|
|
10616
10614
|
return Z(this, V).open;
|
|
@@ -10856,7 +10854,7 @@ ${p}`;
|
|
|
10856
10854
|
Object.defineProperty(A, "__esModule", { value: !0 }), A.Agent = void 0;
|
|
10857
10855
|
const y = B(require$$0__default$6), R = B(require$$0__default$5), F = require$$1__default$4;
|
|
10858
10856
|
t(requireHelpers(), A);
|
|
10859
|
-
const Q = Symbol("AgentBaseInternalState"), U = class U
|
|
10857
|
+
const Q = Symbol("AgentBaseInternalState"), U = class U extends R.Agent {
|
|
10860
10858
|
constructor(o) {
|
|
10861
10859
|
super(o), this[Q] = {};
|
|
10862
10860
|
}
|
|
@@ -11459,7 +11457,7 @@ ${p}`;
|
|
|
11459
11457
|
return l && l.__esModule ? l : { default: l };
|
|
11460
11458
|
};
|
|
11461
11459
|
Object.defineProperty(dist$1, "__esModule", { value: !0 }), dist$1.HttpProxyAgent = void 0;
|
|
11462
|
-
const t = c(require$$0__default$6), y = c(require$$1__default$7), R = B(requireSrc()), F = require$$3__default, Q = requireDist$2(), D = require$$5__default$4, U = (0, R.default)("http-proxy-agent"), N = class N
|
|
11460
|
+
const t = c(require$$0__default$6), y = c(require$$1__default$7), R = B(requireSrc()), F = require$$3__default, Q = requireDist$2(), D = require$$5__default$4, U = (0, R.default)("http-proxy-agent"), N = class N extends Q.Agent {
|
|
11463
11461
|
constructor(I, p) {
|
|
11464
11462
|
super(p), this.proxy = typeof I == "string" ? new D.URL(I) : I, this.proxyHeaders = p?.headers ?? {}, U("Creating new HttpProxyAgent instance: %o", this.proxy.href);
|
|
11465
11463
|
const b = (this.proxy.hostname || this.proxy.host).replace(/^\[|\]$/g, ""), G = this.proxy.port ? parseInt(this.proxy.port, 10) : this.proxy.protocol === "https:" ? 443 : 80;
|
|
@@ -11607,7 +11605,7 @@ ${p}`;
|
|
|
11607
11605
|
const t = c(require$$0__default$6), y = c(require$$1__default$7), R = B(require$$2__default), F = B(requireSrc()), Q = requireDist$2(), D = require$$5__default$4, U = requireParseProxyResponse(), r = (0, F.default)("https-proxy-agent"), o = e((b) => b.servername === void 0 && b.host && !t.isIP(b.host) ? {
|
|
11608
11606
|
...b,
|
|
11609
11607
|
servername: b.host
|
|
11610
|
-
} : b, "setServernameFromNonIpHost"), p = class p
|
|
11608
|
+
} : b, "setServernameFromNonIpHost"), p = class p extends Q.Agent {
|
|
11611
11609
|
constructor(G, J) {
|
|
11612
11610
|
super(J), this.options = { path: void 0 }, this.proxy = typeof G == "string" ? new D.URL(G) : G, this.proxyHeaders = J?.headers ?? {}, r("Creating new HttpsProxyAgent instance: %o", this.proxy.href);
|
|
11613
11611
|
const V = (this.proxy.hostname || this.proxy.host).replace(/^\[|\]$/g, ""), _ = this.proxy.port ? parseInt(this.proxy.port, 10) : this.proxy.protocol === "https:" ? 443 : 80;
|