@bleedingdev/modern-js-utils 3.2.0-ultramodern.0
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/LICENSE +21 -0
- package/README.md +26 -0
- package/dist/cjs/cli/alias.js +82 -0
- package/dist/cjs/cli/applyOptionsChain.js +50 -0
- package/dist/cjs/cli/commands.js +69 -0
- package/dist/cjs/cli/common.js +59 -0
- package/dist/cjs/cli/config.js +39 -0
- package/dist/cjs/cli/constants.js +136 -0
- package/dist/cjs/cli/ensure.js +56 -0
- package/dist/cjs/cli/fs.js +46 -0
- package/dist/cjs/cli/get/config.js +48 -0
- package/dist/cjs/cli/get/data.js +106 -0
- package/dist/cjs/cli/get/index.js +112 -0
- package/dist/cjs/cli/index.js +212 -0
- package/dist/cjs/cli/is/config.js +86 -0
- package/dist/cjs/cli/is/env.js +52 -0
- package/dist/cjs/cli/is/index.js +79 -0
- package/dist/cjs/cli/is/project.js +147 -0
- package/dist/cjs/cli/is/type.js +84 -0
- package/dist/cjs/cli/logger.js +39 -0
- package/dist/cjs/cli/modulePath.js +87 -0
- package/dist/cjs/cli/monorepo.js +110 -0
- package/dist/cjs/cli/package.js +97 -0
- package/dist/cjs/cli/path.js +111 -0
- package/dist/cjs/cli/port.js +79 -0
- package/dist/cjs/cli/prettyInstructions.js +117 -0
- package/dist/cjs/cli/require.js +127 -0
- package/dist/cjs/cli/route.js +76 -0
- package/dist/cjs/cli/runtimeExports.js +86 -0
- package/dist/cjs/cli/tsconfig.js +51 -0
- package/dist/cjs/cli/version.js +67 -0
- package/dist/cjs/cli/watch.js +87 -0
- package/dist/cjs/compiled.js +209 -0
- package/dist/cjs/import.js +56 -0
- package/dist/cjs/index.js +72 -0
- package/dist/cjs/universal/constants.js +84 -0
- package/dist/cjs/universal/index.js +36 -0
- package/dist/cjs/universal/path.js +36 -0
- package/dist/cjs/universal/pluginDagSort.js +75 -0
- package/dist/compiled/address/index.js +171 -0
- package/dist/compiled/address/lib/address.d.ts +28 -0
- package/dist/compiled/address/package.json +1 -0
- package/dist/compiled/browserslist/index.d.ts +178 -0
- package/dist/compiled/browserslist/index.js +1329 -0
- package/dist/compiled/browserslist/license +20 -0
- package/dist/compiled/browserslist/package.json +1 -0
- package/dist/compiled/chalk/index.d.ts +415 -0
- package/dist/compiled/chalk/index.js +2368 -0
- package/dist/compiled/chalk/license +9 -0
- package/dist/compiled/chalk/package.json +1 -0
- package/dist/compiled/chokidar/anymatch/index.d.ts +19 -0
- package/dist/compiled/chokidar/fsevents.node +0 -0
- package/dist/compiled/chokidar/index.js +4162 -0
- package/dist/compiled/chokidar/index.js.LICENSE.txt +41 -0
- package/dist/compiled/chokidar/license +21 -0
- package/dist/compiled/chokidar/package.json +1 -0
- package/dist/compiled/chokidar/types/index.d.ts +188 -0
- package/dist/compiled/commander/index.js +1540 -0
- package/dist/compiled/commander/index.mjs +2 -0
- package/dist/compiled/commander/license +22 -0
- package/dist/compiled/commander/package.json +1 -0
- package/dist/compiled/commander/typings/index.d.ts +890 -0
- package/dist/compiled/debug/index.d.ts +54 -0
- package/dist/compiled/debug/index.js +621 -0
- package/dist/compiled/debug/license +20 -0
- package/dist/compiled/debug/ms/index.d.ts +25 -0
- package/dist/compiled/debug/package.json +1 -0
- package/dist/compiled/dotenv/index.js +101 -0
- package/dist/compiled/dotenv/license +23 -0
- package/dist/compiled/dotenv/package.json +1 -0
- package/dist/compiled/dotenv/types/index.d.ts +59 -0
- package/dist/compiled/dotenv-expand/index.d.ts +15 -0
- package/dist/compiled/dotenv-expand/index.js +54 -0
- package/dist/compiled/dotenv-expand/license +24 -0
- package/dist/compiled/dotenv-expand/package.json +1 -0
- package/dist/compiled/execa/index.d.ts +564 -0
- package/dist/compiled/execa/index.js +1738 -0
- package/dist/compiled/execa/license +9 -0
- package/dist/compiled/execa/package.json +1 -0
- package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/adapters/fs.d.ts +20 -0
- package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/index.d.ts +12 -0
- package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/providers/async.d.ts +7 -0
- package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/settings.d.ts +20 -0
- package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/types/index.d.ts +20 -0
- package/dist/compiled/fast-glob/@nodelib/fs.stat/out/adapters/fs.d.ts +13 -0
- package/dist/compiled/fast-glob/@nodelib/fs.stat/out/index.d.ts +12 -0
- package/dist/compiled/fast-glob/@nodelib/fs.stat/out/providers/async.d.ts +4 -0
- package/dist/compiled/fast-glob/@nodelib/fs.stat/out/settings.d.ts +16 -0
- package/dist/compiled/fast-glob/@nodelib/fs.stat/out/types/index.d.ts +4 -0
- package/dist/compiled/fast-glob/@nodelib/fs.walk/out/index.d.ts +14 -0
- package/dist/compiled/fast-glob/@nodelib/fs.walk/out/providers/async.d.ts +12 -0
- package/dist/compiled/fast-glob/@nodelib/fs.walk/out/readers/async.d.ts +30 -0
- package/dist/compiled/fast-glob/@nodelib/fs.walk/out/readers/reader.d.ts +6 -0
- package/dist/compiled/fast-glob/@nodelib/fs.walk/out/settings.d.ts +30 -0
- package/dist/compiled/fast-glob/@nodelib/fs.walk/out/types/index.d.ts +8 -0
- package/dist/compiled/fast-glob/index.js +4665 -0
- package/dist/compiled/fast-glob/index.js.LICENSE.txt +38 -0
- package/dist/compiled/fast-glob/license +21 -0
- package/dist/compiled/fast-glob/out/index.d.ts +27 -0
- package/dist/compiled/fast-glob/out/managers/tasks.d.ts +22 -0
- package/dist/compiled/fast-glob/out/settings.d.ts +164 -0
- package/dist/compiled/fast-glob/out/types/index.d.ts +31 -0
- package/dist/compiled/fast-glob/package.json +1 -0
- package/dist/compiled/filesize/filesize.d.ts +131 -0
- package/dist/compiled/filesize/index.js +198 -0
- package/dist/compiled/filesize/index.js.LICENSE.txt +7 -0
- package/dist/compiled/filesize/license +28 -0
- package/dist/compiled/filesize/package.json +1 -0
- package/dist/compiled/fs-extra/index.d.ts +563 -0
- package/dist/compiled/fs-extra/index.js +2222 -0
- package/dist/compiled/fs-extra/license +15 -0
- package/dist/compiled/fs-extra/package.json +1 -0
- package/dist/compiled/glob/index.d.ts +91 -0
- package/dist/compiled/glob/index.js +2011 -0
- package/dist/compiled/glob/license +21 -0
- package/dist/compiled/glob/minimatch/index.d.ts +204 -0
- package/dist/compiled/glob/package.json +1 -0
- package/dist/compiled/globby/index.d.ts +186 -0
- package/dist/compiled/globby/index.js +690 -0
- package/dist/compiled/globby/license +9 -0
- package/dist/compiled/globby/package.json +1 -0
- package/dist/compiled/gzip-size/index.d.ts +96 -0
- package/dist/compiled/gzip-size/index.js +157 -0
- package/dist/compiled/gzip-size/license +9 -0
- package/dist/compiled/gzip-size/package.json +1 -0
- package/dist/compiled/import-lazy/index.d.ts +26 -0
- package/dist/compiled/import-lazy/index.js +45 -0
- package/dist/compiled/import-lazy/license +9 -0
- package/dist/compiled/import-lazy/package.json +1 -0
- package/dist/compiled/inquirer/index.d.ts +997 -0
- package/dist/compiled/inquirer/index.js +20167 -0
- package/dist/compiled/inquirer/index.js.LICENSE.txt +7 -0
- package/dist/compiled/inquirer/lib/objects/choice.d.ts +65 -0
- package/dist/compiled/inquirer/lib/objects/choices.d.ts +206 -0
- package/dist/compiled/inquirer/lib/objects/separator.d.ts +37 -0
- package/dist/compiled/inquirer/lib/ui/baseUI.d.ts +37 -0
- package/dist/compiled/inquirer/lib/ui/bottom-bar.d.ts +65 -0
- package/dist/compiled/inquirer/lib/ui/prompt.d.ts +104 -0
- package/dist/compiled/inquirer/license +22 -0
- package/dist/compiled/inquirer/package.json +1 -0
- package/dist/compiled/inquirer/through/index.d.ts +25 -0
- package/dist/compiled/js-yaml/index.d.ts +154 -0
- package/dist/compiled/js-yaml/index.js +2191 -0
- package/dist/compiled/js-yaml/index.mjs +2167 -0
- package/dist/compiled/js-yaml/index.mjs.LICENSE.txt +1 -0
- package/dist/compiled/js-yaml/license +21 -0
- package/dist/compiled/js-yaml/package.json +1 -0
- package/dist/compiled/json5/index.js +983 -0
- package/dist/compiled/json5/lib/index.d.ts +4 -0
- package/dist/compiled/json5/lib/parse.d.ts +15 -0
- package/dist/compiled/json5/lib/stringify.d.ts +89 -0
- package/dist/compiled/json5/package.json +1 -0
- package/dist/compiled/lodash/common/array.d.ts +2126 -0
- package/dist/compiled/lodash/common/collection.d.ts +1930 -0
- package/dist/compiled/lodash/common/common.d.ts +280 -0
- package/dist/compiled/lodash/common/date.d.ts +23 -0
- package/dist/compiled/lodash/common/function.d.ts +1446 -0
- package/dist/compiled/lodash/common/lang.d.ts +1693 -0
- package/dist/compiled/lodash/common/math.d.ts +405 -0
- package/dist/compiled/lodash/common/number.d.ts +131 -0
- package/dist/compiled/lodash/common/object.d.ts +2519 -0
- package/dist/compiled/lodash/common/seq.d.ts +210 -0
- package/dist/compiled/lodash/common/string.d.ts +788 -0
- package/dist/compiled/lodash/common/util.d.ts +1220 -0
- package/dist/compiled/lodash/index.d.ts +46 -0
- package/dist/compiled/lodash/index.js +1 -0
- package/dist/compiled/lodash/index.mjs +1 -0
- package/dist/compiled/lodash/license +47 -0
- package/dist/compiled/lodash/package.json +1 -0
- package/dist/compiled/mime-types/index.d.ts +14 -0
- package/dist/compiled/mime-types/index.js +116 -0
- package/dist/compiled/mime-types/index.js.LICENSE.txt +13 -0
- package/dist/compiled/mime-types/license +23 -0
- package/dist/compiled/mime-types/package.json +1 -0
- package/dist/compiled/minimist/index.d.ts +95 -0
- package/dist/compiled/minimist/index.js +202 -0
- package/dist/compiled/minimist/license +18 -0
- package/dist/compiled/minimist/package.json +1 -0
- package/dist/compiled/nanoid/index.d.ts +91 -0
- package/dist/compiled/nanoid/index.js +83 -0
- package/dist/compiled/nanoid/index.mjs +69 -0
- package/dist/compiled/nanoid/license +20 -0
- package/dist/compiled/nanoid/package.json +1 -0
- package/dist/compiled/ora/cli-spinners/index.d.ts +125 -0
- package/dist/compiled/ora/index.d.ts +277 -0
- package/dist/compiled/ora/index.js +3936 -0
- package/dist/compiled/ora/index.js.LICENSE.txt +1 -0
- package/dist/compiled/ora/license +9 -0
- package/dist/compiled/ora/package.json +1 -0
- package/dist/compiled/pkg-up/index.d.ts +48 -0
- package/dist/compiled/pkg-up/index.js +15 -0
- package/dist/compiled/pkg-up/license +9 -0
- package/dist/compiled/pkg-up/package.json +1 -0
- package/dist/compiled/semver/classes/comparator.d.ts +17 -0
- package/dist/compiled/semver/classes/range.d.ts +21 -0
- package/dist/compiled/semver/classes/semver.d.ts +62 -0
- package/dist/compiled/semver/functions/clean.d.ts +8 -0
- package/dist/compiled/semver/functions/cmp.d.ts +16 -0
- package/dist/compiled/semver/functions/coerce.d.ts +12 -0
- package/dist/compiled/semver/functions/compare-build.d.ts +16 -0
- package/dist/compiled/semver/functions/compare-loose.d.ts +5 -0
- package/dist/compiled/semver/functions/compare.d.ts +20 -0
- package/dist/compiled/semver/functions/diff.d.ts +13 -0
- package/dist/compiled/semver/functions/eq.d.ts +9 -0
- package/dist/compiled/semver/functions/gt.d.ts +9 -0
- package/dist/compiled/semver/functions/gte.d.ts +9 -0
- package/dist/compiled/semver/functions/inc.d.ts +15 -0
- package/dist/compiled/semver/functions/lt.d.ts +9 -0
- package/dist/compiled/semver/functions/lte.d.ts +8 -0
- package/dist/compiled/semver/functions/major.d.ts +9 -0
- package/dist/compiled/semver/functions/minor.d.ts +9 -0
- package/dist/compiled/semver/functions/neq.d.ts +9 -0
- package/dist/compiled/semver/functions/parse.d.ts +12 -0
- package/dist/compiled/semver/functions/patch.d.ts +9 -0
- package/dist/compiled/semver/functions/prerelease.d.ts +12 -0
- package/dist/compiled/semver/functions/rcompare.d.ts +15 -0
- package/dist/compiled/semver/functions/rsort.d.ts +9 -0
- package/dist/compiled/semver/functions/satisfies.d.ts +14 -0
- package/dist/compiled/semver/functions/sort.d.ts +9 -0
- package/dist/compiled/semver/functions/valid.d.ts +11 -0
- package/dist/compiled/semver/index.d.ts +133 -0
- package/dist/compiled/semver/index.js +1779 -0
- package/dist/compiled/semver/internals/identifiers.d.ts +13 -0
- package/dist/compiled/semver/license +15 -0
- package/dist/compiled/semver/package.json +1 -0
- package/dist/compiled/semver/ranges/gtr.d.ts +14 -0
- package/dist/compiled/semver/ranges/intersects.d.ts +13 -0
- package/dist/compiled/semver/ranges/ltr.d.ts +14 -0
- package/dist/compiled/semver/ranges/max-satisfying.d.ts +14 -0
- package/dist/compiled/semver/ranges/min-satisfying.d.ts +14 -0
- package/dist/compiled/semver/ranges/min-version.d.ts +10 -0
- package/dist/compiled/semver/ranges/outside.d.ts +15 -0
- package/dist/compiled/semver/ranges/simplify.d.ts +14 -0
- package/dist/compiled/semver/ranges/subset.d.ts +13 -0
- package/dist/compiled/semver/ranges/to-comparators.d.ts +9 -0
- package/dist/compiled/semver/ranges/valid.d.ts +12 -0
- package/dist/compiled/signale/index.d.ts +162 -0
- package/dist/compiled/signale/index.js +1704 -0
- package/dist/compiled/signale/package.json +1 -0
- package/dist/compiled/slash/index.d.ts +25 -0
- package/dist/compiled/slash/index.js +32 -0
- package/dist/compiled/slash/license +9 -0
- package/dist/compiled/slash/package.json +1 -0
- package/dist/compiled/strip-ansi/index.d.ts +17 -0
- package/dist/compiled/strip-ansi/index.js +34 -0
- package/dist/compiled/strip-ansi/license +9 -0
- package/dist/compiled/strip-ansi/package.json +1 -0
- package/dist/compiled/tsconfig-paths/index.js +629 -0
- package/dist/compiled/tsconfig-paths/index.mjs +2 -0
- package/dist/compiled/tsconfig-paths/lib/config-loader.d.ts +33 -0
- package/dist/compiled/tsconfig-paths/lib/filesystem.d.ts +34 -0
- package/dist/compiled/tsconfig-paths/lib/index.d.ts +5 -0
- package/dist/compiled/tsconfig-paths/lib/mapping-entry.d.ts +18 -0
- package/dist/compiled/tsconfig-paths/lib/match-path-async.d.ts +21 -0
- package/dist/compiled/tsconfig-paths/lib/match-path-sync.d.ts +32 -0
- package/dist/compiled/tsconfig-paths/lib/register.d.ts +12 -0
- package/dist/compiled/tsconfig-paths/lib/try-path.d.ts +15 -0
- package/dist/compiled/tsconfig-paths/lib/tsconfig-loader.d.ts +28 -0
- package/dist/compiled/tsconfig-paths/license +21 -0
- package/dist/compiled/tsconfig-paths/package.json +1 -0
- package/dist/compiled/upath/index.js +135 -0
- package/dist/compiled/upath/license +22 -0
- package/dist/compiled/upath/package.json +1 -0
- package/dist/compiled/upath/upath.d.ts +241 -0
- package/dist/compiled/url-join/index.d.ts +17 -0
- package/dist/compiled/url-join/index.js +61 -0
- package/dist/compiled/url-join/license +21 -0
- package/dist/compiled/url-join/package.json +1 -0
- package/dist/compiled/webpack-chain/index.js +1475 -0
- package/dist/compiled/webpack-chain/license +373 -0
- package/dist/compiled/webpack-chain/package.json +1 -0
- package/dist/compiled/webpack-chain/types/index.d.ts +599 -0
- package/dist/esm/cli/alias.mjs +31 -0
- package/dist/esm/cli/applyOptionsChain.mjs +16 -0
- package/dist/esm/cli/commands.mjs +23 -0
- package/dist/esm/cli/common.mjs +9 -0
- package/dist/esm/cli/config.mjs +5 -0
- package/dist/esm/cli/constants.mjs +30 -0
- package/dist/esm/cli/ensure.mjs +9 -0
- package/dist/esm/cli/fs.mjs +9 -0
- package/dist/esm/cli/get/config.mjs +14 -0
- package/dist/esm/cli/get/data.mjs +49 -0
- package/dist/esm/cli/get/index.mjs +18 -0
- package/dist/esm/cli/index.mjs +23 -0
- package/dist/esm/cli/is/config.mjs +37 -0
- package/dist/esm/cli/is/env.mjs +6 -0
- package/dist/esm/cli/is/index.mjs +4 -0
- package/dist/esm/cli/is/project.mjs +75 -0
- package/dist/esm/cli/is/type.mjs +26 -0
- package/dist/esm/cli/logger.mjs +1 -0
- package/dist/esm/cli/modulePath.mjs +33 -0
- package/dist/esm/cli/monorepo.mjs +50 -0
- package/dist/esm/cli/package.mjs +51 -0
- package/dist/esm/cli/path.mjs +35 -0
- package/dist/esm/cli/port.mjs +35 -0
- package/dist/esm/cli/prettyInstructions.mjs +70 -0
- package/dist/esm/cli/require.mjs +79 -0
- package/dist/esm/cli/route.mjs +36 -0
- package/dist/esm/cli/runtimeExports.mjs +42 -0
- package/dist/esm/cli/tsconfig.mjs +7 -0
- package/dist/esm/cli/version.mjs +24 -0
- package/dist/esm/cli/watch.mjs +40 -0
- package/dist/esm/compiled.mjs +45 -0
- package/dist/esm/import.mjs +9 -0
- package/dist/esm/index.mjs +3 -0
- package/dist/esm/rslib-runtime.mjs +12 -0
- package/dist/esm/universal/constants.mjs +14 -0
- package/dist/esm/universal/index.mjs +1 -0
- package/dist/esm/universal/path.mjs +2 -0
- package/dist/esm/universal/pluginDagSort.mjs +41 -0
- package/dist/esm-node/cli/alias.mjs +32 -0
- package/dist/esm-node/cli/applyOptionsChain.mjs +17 -0
- package/dist/esm-node/cli/commands.mjs +24 -0
- package/dist/esm-node/cli/common.mjs +10 -0
- package/dist/esm-node/cli/config.mjs +6 -0
- package/dist/esm-node/cli/constants.mjs +31 -0
- package/dist/esm-node/cli/ensure.mjs +10 -0
- package/dist/esm-node/cli/fs.mjs +10 -0
- package/dist/esm-node/cli/get/config.mjs +15 -0
- package/dist/esm-node/cli/get/data.mjs +50 -0
- package/dist/esm-node/cli/get/index.mjs +19 -0
- package/dist/esm-node/cli/index.mjs +24 -0
- package/dist/esm-node/cli/is/config.mjs +38 -0
- package/dist/esm-node/cli/is/env.mjs +7 -0
- package/dist/esm-node/cli/is/index.mjs +5 -0
- package/dist/esm-node/cli/is/project.mjs +76 -0
- package/dist/esm-node/cli/is/type.mjs +27 -0
- package/dist/esm-node/cli/logger.mjs +2 -0
- package/dist/esm-node/cli/modulePath.mjs +34 -0
- package/dist/esm-node/cli/monorepo.mjs +51 -0
- package/dist/esm-node/cli/package.mjs +52 -0
- package/dist/esm-node/cli/path.mjs +36 -0
- package/dist/esm-node/cli/port.mjs +36 -0
- package/dist/esm-node/cli/prettyInstructions.mjs +71 -0
- package/dist/esm-node/cli/require.mjs +80 -0
- package/dist/esm-node/cli/route.mjs +37 -0
- package/dist/esm-node/cli/runtimeExports.mjs +43 -0
- package/dist/esm-node/cli/tsconfig.mjs +8 -0
- package/dist/esm-node/cli/version.mjs +25 -0
- package/dist/esm-node/cli/watch.mjs +41 -0
- package/dist/esm-node/compiled.mjs +45 -0
- package/dist/esm-node/import.mjs +10 -0
- package/dist/esm-node/index.mjs +4 -0
- package/dist/esm-node/universal/constants.mjs +15 -0
- package/dist/esm-node/universal/index.mjs +2 -0
- package/dist/esm-node/universal/path.mjs +3 -0
- package/dist/esm-node/universal/pluginDagSort.mjs +42 -0
- package/dist/types/cli/alias.d.ts +20 -0
- package/dist/types/cli/applyOptionsChain.d.ts +3 -0
- package/dist/types/cli/commands.d.ts +8 -0
- package/dist/types/cli/common.d.ts +9 -0
- package/dist/types/cli/config.d.ts +4 -0
- package/dist/types/cli/constants.d.ts +55 -0
- package/dist/types/cli/ensure.d.ts +8 -0
- package/dist/types/cli/fs.d.ts +7 -0
- package/dist/types/cli/get/config.d.ts +1 -0
- package/dist/types/cli/get/data.d.ts +6 -0
- package/dist/types/cli/get/index.d.ts +11 -0
- package/dist/types/cli/index.d.ts +23 -0
- package/dist/types/cli/is/config.d.ts +22 -0
- package/dist/types/cli/is/env.d.ts +8 -0
- package/dist/types/cli/is/index.d.ts +4 -0
- package/dist/types/cli/is/project.d.ts +39 -0
- package/dist/types/cli/is/type.d.ts +15 -0
- package/dist/types/cli/logger.d.ts +1 -0
- package/dist/types/cli/modulePath.d.ts +5 -0
- package/dist/types/cli/monorepo.d.ts +9 -0
- package/dist/types/cli/package.d.ts +5 -0
- package/dist/types/cli/path.d.ts +11 -0
- package/dist/types/cli/port.d.ts +12 -0
- package/dist/types/cli/prettyInstructions.d.ts +9 -0
- package/dist/types/cli/require.d.ts +9 -0
- package/dist/types/cli/route.d.ts +4 -0
- package/dist/types/cli/runtimeExports.d.ts +5 -0
- package/dist/types/cli/tsconfig.d.ts +1 -0
- package/dist/types/cli/version.d.ts +4 -0
- package/dist/types/cli/watch.d.ts +8 -0
- package/dist/types/compiled.d.ts +37 -0
- package/dist/types/import.d.ts +5 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/universal/constants.d.ts +47 -0
- package/dist/types/universal/index.d.ts +1 -0
- package/dist/types/universal/path.d.ts +1 -0
- package/dist/types/universal/pluginDagSort.d.ts +1 -0
- package/package.json +174 -0
- package/rslib.config.mts +162 -0
- package/rstest.config.mts +8 -0
|
@@ -0,0 +1,3936 @@
|
|
|
1
|
+
/*! LICENSE: index.js.LICENSE.txt */
|
|
2
|
+
(()=>{
|
|
3
|
+
var e = {
|
|
4
|
+
695: (e, t, r)=>{
|
|
5
|
+
"use strict";
|
|
6
|
+
const { Buffer: i } = r(300);
|
|
7
|
+
const n = Symbol.for("BufferList");
|
|
8
|
+
function BufferList(e) {
|
|
9
|
+
if (!(this instanceof BufferList)) return new BufferList(e);
|
|
10
|
+
BufferList._init.call(this, e);
|
|
11
|
+
}
|
|
12
|
+
BufferList._init = function(e) {
|
|
13
|
+
Object.defineProperty(this, n, {
|
|
14
|
+
value: true
|
|
15
|
+
});
|
|
16
|
+
this._bufs = [];
|
|
17
|
+
this.length = 0;
|
|
18
|
+
if (e) this.append(e);
|
|
19
|
+
};
|
|
20
|
+
BufferList.prototype._new = function(e) {
|
|
21
|
+
return new BufferList(e);
|
|
22
|
+
};
|
|
23
|
+
BufferList.prototype._offset = function(e) {
|
|
24
|
+
if (0 === e) return [
|
|
25
|
+
0,
|
|
26
|
+
0
|
|
27
|
+
];
|
|
28
|
+
let t = 0;
|
|
29
|
+
for(let r = 0; r < this._bufs.length; r++){
|
|
30
|
+
const i = t + this._bufs[r].length;
|
|
31
|
+
if (e < i || r === this._bufs.length - 1) return [
|
|
32
|
+
r,
|
|
33
|
+
e - t
|
|
34
|
+
];
|
|
35
|
+
t = i;
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
BufferList.prototype._reverseOffset = function(e) {
|
|
39
|
+
const t = e[0];
|
|
40
|
+
let r = e[1];
|
|
41
|
+
for(let e = 0; e < t; e++)r += this._bufs[e].length;
|
|
42
|
+
return r;
|
|
43
|
+
};
|
|
44
|
+
BufferList.prototype.get = function(e) {
|
|
45
|
+
if (e > this.length || e < 0) return;
|
|
46
|
+
const t = this._offset(e);
|
|
47
|
+
return this._bufs[t[0]][t[1]];
|
|
48
|
+
};
|
|
49
|
+
BufferList.prototype.slice = function(e, t) {
|
|
50
|
+
if ("number" == typeof e && e < 0) e += this.length;
|
|
51
|
+
if ("number" == typeof t && t < 0) t += this.length;
|
|
52
|
+
return this.copy(null, 0, e, t);
|
|
53
|
+
};
|
|
54
|
+
BufferList.prototype.copy = function(e, t, r, n) {
|
|
55
|
+
if ("number" != typeof r || r < 0) r = 0;
|
|
56
|
+
if ("number" != typeof n || n > this.length) n = this.length;
|
|
57
|
+
if (r >= this.length) return e || i.alloc(0);
|
|
58
|
+
if (n <= 0) return e || i.alloc(0);
|
|
59
|
+
const copy = !!e;
|
|
60
|
+
const s = this._offset(r);
|
|
61
|
+
const a = n - r;
|
|
62
|
+
let o = a;
|
|
63
|
+
let f = copy && t || 0;
|
|
64
|
+
let l = s[1];
|
|
65
|
+
if (0 === r && n === this.length) {
|
|
66
|
+
if (!copy) return 1 === this._bufs.length ? this._bufs[0] : i.concat(this._bufs, this.length);
|
|
67
|
+
for(let t = 0; t < this._bufs.length; t++){
|
|
68
|
+
this._bufs[t].copy(e, f);
|
|
69
|
+
f += this._bufs[t].length;
|
|
70
|
+
}
|
|
71
|
+
return e;
|
|
72
|
+
}
|
|
73
|
+
if (o <= this._bufs[s[0]].length - l) return copy ? this._bufs[s[0]].copy(e, t, l, l + o) : this._bufs[s[0]].slice(l, l + o);
|
|
74
|
+
if (!copy) e = i.allocUnsafe(a);
|
|
75
|
+
for(let t = s[0]; t < this._bufs.length; t++){
|
|
76
|
+
const r = this._bufs[t].length - l;
|
|
77
|
+
if (o > r) {
|
|
78
|
+
this._bufs[t].copy(e, f, l);
|
|
79
|
+
f += r;
|
|
80
|
+
} else {
|
|
81
|
+
this._bufs[t].copy(e, f, l, l + o);
|
|
82
|
+
f += r;
|
|
83
|
+
break;
|
|
84
|
+
}
|
|
85
|
+
o -= r;
|
|
86
|
+
if (l) l = 0;
|
|
87
|
+
}
|
|
88
|
+
if (e.length > f) return e.slice(0, f);
|
|
89
|
+
return e;
|
|
90
|
+
};
|
|
91
|
+
BufferList.prototype.shallowSlice = function(e, t) {
|
|
92
|
+
e = e || 0;
|
|
93
|
+
t = "number" != typeof t ? this.length : t;
|
|
94
|
+
if (e < 0) e += this.length;
|
|
95
|
+
if (t < 0) t += this.length;
|
|
96
|
+
if (e === t) return this._new();
|
|
97
|
+
const r = this._offset(e);
|
|
98
|
+
const i = this._offset(t);
|
|
99
|
+
const n = this._bufs.slice(r[0], i[0] + 1);
|
|
100
|
+
if (0 === i[1]) n.pop();
|
|
101
|
+
else n[n.length - 1] = n[n.length - 1].slice(0, i[1]);
|
|
102
|
+
if (0 !== r[1]) n[0] = n[0].slice(r[1]);
|
|
103
|
+
return this._new(n);
|
|
104
|
+
};
|
|
105
|
+
BufferList.prototype.toString = function(e, t, r) {
|
|
106
|
+
return this.slice(t, r).toString(e);
|
|
107
|
+
};
|
|
108
|
+
BufferList.prototype.consume = function(e) {
|
|
109
|
+
e = Math.trunc(e);
|
|
110
|
+
if (Number.isNaN(e) || e <= 0) return this;
|
|
111
|
+
while(this._bufs.length)if (e >= this._bufs[0].length) {
|
|
112
|
+
e -= this._bufs[0].length;
|
|
113
|
+
this.length -= this._bufs[0].length;
|
|
114
|
+
this._bufs.shift();
|
|
115
|
+
} else {
|
|
116
|
+
this._bufs[0] = this._bufs[0].slice(e);
|
|
117
|
+
this.length -= e;
|
|
118
|
+
break;
|
|
119
|
+
}
|
|
120
|
+
return this;
|
|
121
|
+
};
|
|
122
|
+
BufferList.prototype.duplicate = function() {
|
|
123
|
+
const e = this._new();
|
|
124
|
+
for(let t = 0; t < this._bufs.length; t++)e.append(this._bufs[t]);
|
|
125
|
+
return e;
|
|
126
|
+
};
|
|
127
|
+
BufferList.prototype.append = function(e) {
|
|
128
|
+
if (null == e) return this;
|
|
129
|
+
if (e.buffer) this._appendBuffer(i.from(e.buffer, e.byteOffset, e.byteLength));
|
|
130
|
+
else if (Array.isArray(e)) for(let t = 0; t < e.length; t++)this.append(e[t]);
|
|
131
|
+
else if (this._isBufferList(e)) for(let t = 0; t < e._bufs.length; t++)this.append(e._bufs[t]);
|
|
132
|
+
else {
|
|
133
|
+
if ("number" == typeof e) e = e.toString();
|
|
134
|
+
this._appendBuffer(i.from(e));
|
|
135
|
+
}
|
|
136
|
+
return this;
|
|
137
|
+
};
|
|
138
|
+
BufferList.prototype._appendBuffer = function(e) {
|
|
139
|
+
this._bufs.push(e);
|
|
140
|
+
this.length += e.length;
|
|
141
|
+
};
|
|
142
|
+
BufferList.prototype.indexOf = function(e, t, r) {
|
|
143
|
+
if (void 0 === r && "string" == typeof t) {
|
|
144
|
+
r = t;
|
|
145
|
+
t = void 0;
|
|
146
|
+
}
|
|
147
|
+
if ("function" == typeof e || Array.isArray(e)) throw new TypeError('The "value" argument must be one of type string, Buffer, BufferList, or Uint8Array.');
|
|
148
|
+
if ("number" == typeof e) e = i.from([
|
|
149
|
+
e
|
|
150
|
+
]);
|
|
151
|
+
else if ("string" == typeof e) e = i.from(e, r);
|
|
152
|
+
else if (this._isBufferList(e)) e = e.slice();
|
|
153
|
+
else if (Array.isArray(e.buffer)) e = i.from(e.buffer, e.byteOffset, e.byteLength);
|
|
154
|
+
else if (!i.isBuffer(e)) e = i.from(e);
|
|
155
|
+
t = Number(t || 0);
|
|
156
|
+
if (isNaN(t)) t = 0;
|
|
157
|
+
if (t < 0) t = this.length + t;
|
|
158
|
+
if (t < 0) t = 0;
|
|
159
|
+
if (0 === e.length) return t > this.length ? this.length : t;
|
|
160
|
+
const n = this._offset(t);
|
|
161
|
+
let s = n[0];
|
|
162
|
+
let a = n[1];
|
|
163
|
+
for(; s < this._bufs.length; s++){
|
|
164
|
+
const t = this._bufs[s];
|
|
165
|
+
while(a < t.length){
|
|
166
|
+
const r = t.length - a;
|
|
167
|
+
if (r >= e.length) {
|
|
168
|
+
const r = t.indexOf(e, a);
|
|
169
|
+
if (-1 !== r) return this._reverseOffset([
|
|
170
|
+
s,
|
|
171
|
+
r
|
|
172
|
+
]);
|
|
173
|
+
a = t.length - e.length + 1;
|
|
174
|
+
} else {
|
|
175
|
+
const t = this._reverseOffset([
|
|
176
|
+
s,
|
|
177
|
+
a
|
|
178
|
+
]);
|
|
179
|
+
if (this._match(t, e)) return t;
|
|
180
|
+
a++;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
a = 0;
|
|
184
|
+
}
|
|
185
|
+
return -1;
|
|
186
|
+
};
|
|
187
|
+
BufferList.prototype._match = function(e, t) {
|
|
188
|
+
if (this.length - e < t.length) return false;
|
|
189
|
+
for(let r = 0; r < t.length; r++)if (this.get(e + r) !== t[r]) return false;
|
|
190
|
+
return true;
|
|
191
|
+
};
|
|
192
|
+
(function() {
|
|
193
|
+
const e = {
|
|
194
|
+
readDoubleBE: 8,
|
|
195
|
+
readDoubleLE: 8,
|
|
196
|
+
readFloatBE: 4,
|
|
197
|
+
readFloatLE: 4,
|
|
198
|
+
readInt32BE: 4,
|
|
199
|
+
readInt32LE: 4,
|
|
200
|
+
readUInt32BE: 4,
|
|
201
|
+
readUInt32LE: 4,
|
|
202
|
+
readInt16BE: 2,
|
|
203
|
+
readInt16LE: 2,
|
|
204
|
+
readUInt16BE: 2,
|
|
205
|
+
readUInt16LE: 2,
|
|
206
|
+
readInt8: 1,
|
|
207
|
+
readUInt8: 1,
|
|
208
|
+
readIntBE: null,
|
|
209
|
+
readIntLE: null,
|
|
210
|
+
readUIntBE: null,
|
|
211
|
+
readUIntLE: null
|
|
212
|
+
};
|
|
213
|
+
for(const t in e)(function(t) {
|
|
214
|
+
if (null === e[t]) BufferList.prototype[t] = function(e, r) {
|
|
215
|
+
return this.slice(e, e + r)[t](0, r);
|
|
216
|
+
};
|
|
217
|
+
else BufferList.prototype[t] = function(r = 0) {
|
|
218
|
+
return this.slice(r, r + e[t])[t](0);
|
|
219
|
+
};
|
|
220
|
+
})(t);
|
|
221
|
+
})();
|
|
222
|
+
BufferList.prototype._isBufferList = function(e) {
|
|
223
|
+
return e instanceof BufferList || BufferList.isBufferList(e);
|
|
224
|
+
};
|
|
225
|
+
BufferList.isBufferList = function(e) {
|
|
226
|
+
return null != e && e[n];
|
|
227
|
+
};
|
|
228
|
+
e.exports = BufferList;
|
|
229
|
+
},
|
|
230
|
+
49: (e, t, r)=>{
|
|
231
|
+
"use strict";
|
|
232
|
+
const i = r(505).Duplex;
|
|
233
|
+
const n = r(315);
|
|
234
|
+
const s = r(695);
|
|
235
|
+
function BufferListStream(e) {
|
|
236
|
+
if (!(this instanceof BufferListStream)) return new BufferListStream(e);
|
|
237
|
+
if ("function" == typeof e) {
|
|
238
|
+
this._callback = e;
|
|
239
|
+
const t = (function(e) {
|
|
240
|
+
if (this._callback) {
|
|
241
|
+
this._callback(e);
|
|
242
|
+
this._callback = null;
|
|
243
|
+
}
|
|
244
|
+
}).bind(this);
|
|
245
|
+
this.on("pipe", function(e) {
|
|
246
|
+
e.on("error", t);
|
|
247
|
+
});
|
|
248
|
+
this.on("unpipe", function(e) {
|
|
249
|
+
e.removeListener("error", t);
|
|
250
|
+
});
|
|
251
|
+
e = null;
|
|
252
|
+
}
|
|
253
|
+
s._init.call(this, e);
|
|
254
|
+
i.call(this);
|
|
255
|
+
}
|
|
256
|
+
n(BufferListStream, i);
|
|
257
|
+
Object.assign(BufferListStream.prototype, s.prototype);
|
|
258
|
+
BufferListStream.prototype._new = function(e) {
|
|
259
|
+
return new BufferListStream(e);
|
|
260
|
+
};
|
|
261
|
+
BufferListStream.prototype._write = function(e, t, r) {
|
|
262
|
+
this._appendBuffer(e);
|
|
263
|
+
if ("function" == typeof r) r();
|
|
264
|
+
};
|
|
265
|
+
BufferListStream.prototype._read = function(e) {
|
|
266
|
+
if (!this.length) return this.push(null);
|
|
267
|
+
e = Math.min(e, this.length);
|
|
268
|
+
this.push(this.slice(0, e));
|
|
269
|
+
this.consume(e);
|
|
270
|
+
};
|
|
271
|
+
BufferListStream.prototype.end = function(e) {
|
|
272
|
+
i.prototype.end.call(this, e);
|
|
273
|
+
if (this._callback) {
|
|
274
|
+
this._callback(null, this.slice());
|
|
275
|
+
this._callback = null;
|
|
276
|
+
}
|
|
277
|
+
};
|
|
278
|
+
BufferListStream.prototype._destroy = function(e, t) {
|
|
279
|
+
this._bufs.length = 0;
|
|
280
|
+
this.length = 0;
|
|
281
|
+
t(e);
|
|
282
|
+
};
|
|
283
|
+
BufferListStream.prototype._isBufferList = function(e) {
|
|
284
|
+
return e instanceof BufferListStream || e instanceof s || BufferListStream.isBufferList(e);
|
|
285
|
+
};
|
|
286
|
+
BufferListStream.isBufferList = s.isBufferList;
|
|
287
|
+
e.exports = BufferListStream;
|
|
288
|
+
e.exports.BufferListStream = BufferListStream;
|
|
289
|
+
e.exports.BufferList = s;
|
|
290
|
+
},
|
|
291
|
+
805: (e, t, r)=>{
|
|
292
|
+
"use strict";
|
|
293
|
+
const i = r(598);
|
|
294
|
+
let n = false;
|
|
295
|
+
t.show = (e = process.stderr)=>{
|
|
296
|
+
if (!e.isTTY) return;
|
|
297
|
+
n = false;
|
|
298
|
+
e.write("[?25h");
|
|
299
|
+
};
|
|
300
|
+
t.hide = (e = process.stderr)=>{
|
|
301
|
+
if (!e.isTTY) return;
|
|
302
|
+
i();
|
|
303
|
+
n = true;
|
|
304
|
+
e.write("[?25l");
|
|
305
|
+
};
|
|
306
|
+
t.toggle = (e, r)=>{
|
|
307
|
+
if (void 0 !== e) n = e;
|
|
308
|
+
if (n) t.show(r);
|
|
309
|
+
else t.hide(r);
|
|
310
|
+
};
|
|
311
|
+
},
|
|
312
|
+
414: (e, t, r)=>{
|
|
313
|
+
"use strict";
|
|
314
|
+
const i = Object.assign({}, r(32));
|
|
315
|
+
const n = Object.keys(i);
|
|
316
|
+
Object.defineProperty(i, "random", {
|
|
317
|
+
get () {
|
|
318
|
+
const e = Math.floor(Math.random() * n.length);
|
|
319
|
+
const t = n[e];
|
|
320
|
+
return i[t];
|
|
321
|
+
}
|
|
322
|
+
});
|
|
323
|
+
e.exports = i;
|
|
324
|
+
},
|
|
325
|
+
332: (e)=>{
|
|
326
|
+
var t = function() {
|
|
327
|
+
"use strict";
|
|
328
|
+
function clone(e, t, r, i) {
|
|
329
|
+
if ("object" == typeof t) {
|
|
330
|
+
r = t.depth;
|
|
331
|
+
i = t.prototype;
|
|
332
|
+
t.filter;
|
|
333
|
+
t = t.circular;
|
|
334
|
+
}
|
|
335
|
+
var s = [];
|
|
336
|
+
var a = [];
|
|
337
|
+
var o = "u" > typeof Buffer;
|
|
338
|
+
if (void 0 === t) t = true;
|
|
339
|
+
if (void 0 === r) r = 1 / 0;
|
|
340
|
+
function _clone(e, r) {
|
|
341
|
+
if (null === e) return null;
|
|
342
|
+
if (0 == r) return e;
|
|
343
|
+
var n;
|
|
344
|
+
var f;
|
|
345
|
+
if ("object" != typeof e) return e;
|
|
346
|
+
if (clone.__isArray(e)) n = [];
|
|
347
|
+
else if (clone.__isRegExp(e)) {
|
|
348
|
+
n = new RegExp(e.source, __getRegExpFlags(e));
|
|
349
|
+
if (e.lastIndex) n.lastIndex = e.lastIndex;
|
|
350
|
+
} else if (clone.__isDate(e)) n = new Date(e.getTime());
|
|
351
|
+
else if (o && Buffer.isBuffer(e)) {
|
|
352
|
+
n = Buffer.allocUnsafe ? Buffer.allocUnsafe(e.length) : new Buffer(e.length);
|
|
353
|
+
e.copy(n);
|
|
354
|
+
return n;
|
|
355
|
+
} else if (void 0 === i) {
|
|
356
|
+
f = Object.getPrototypeOf(e);
|
|
357
|
+
n = Object.create(f);
|
|
358
|
+
} else {
|
|
359
|
+
n = Object.create(i);
|
|
360
|
+
f = i;
|
|
361
|
+
}
|
|
362
|
+
if (t) {
|
|
363
|
+
var l = s.indexOf(e);
|
|
364
|
+
if (-1 != l) return a[l];
|
|
365
|
+
s.push(e);
|
|
366
|
+
a.push(n);
|
|
367
|
+
}
|
|
368
|
+
for(var u in e){
|
|
369
|
+
var h;
|
|
370
|
+
if (f) h = Object.getOwnPropertyDescriptor(f, u);
|
|
371
|
+
if (!h || null != h.set) n[u] = _clone(e[u], r - 1);
|
|
372
|
+
}
|
|
373
|
+
return n;
|
|
374
|
+
}
|
|
375
|
+
return _clone(e, r);
|
|
376
|
+
}
|
|
377
|
+
clone.clonePrototype = function(e) {
|
|
378
|
+
if (null === e) return null;
|
|
379
|
+
var c = function() {};
|
|
380
|
+
c.prototype = e;
|
|
381
|
+
return new c;
|
|
382
|
+
};
|
|
383
|
+
function __objToStr(e) {
|
|
384
|
+
return Object.prototype.toString.call(e);
|
|
385
|
+
}
|
|
386
|
+
clone.__objToStr = __objToStr;
|
|
387
|
+
function __isDate(e) {
|
|
388
|
+
return "object" == typeof e && "[object Date]" === __objToStr(e);
|
|
389
|
+
}
|
|
390
|
+
clone.__isDate = __isDate;
|
|
391
|
+
function __isArray(e) {
|
|
392
|
+
return "object" == typeof e && "[object Array]" === __objToStr(e);
|
|
393
|
+
}
|
|
394
|
+
clone.__isArray = __isArray;
|
|
395
|
+
function __isRegExp(e) {
|
|
396
|
+
return "object" == typeof e && "[object RegExp]" === __objToStr(e);
|
|
397
|
+
}
|
|
398
|
+
clone.__isRegExp = __isRegExp;
|
|
399
|
+
function __getRegExpFlags(e) {
|
|
400
|
+
var t = "";
|
|
401
|
+
if (e.global) t += "g";
|
|
402
|
+
if (e.ignoreCase) t += "i";
|
|
403
|
+
if (e.multiline) t += "m";
|
|
404
|
+
return t;
|
|
405
|
+
}
|
|
406
|
+
clone.__getRegExpFlags = __getRegExpFlags;
|
|
407
|
+
return clone;
|
|
408
|
+
}();
|
|
409
|
+
if (e.exports) e.exports = t;
|
|
410
|
+
},
|
|
411
|
+
906: (e, t, r)=>{
|
|
412
|
+
var i = r(332);
|
|
413
|
+
e.exports = function(e, t) {
|
|
414
|
+
e = e || {};
|
|
415
|
+
Object.keys(t).forEach(function(r) {
|
|
416
|
+
if (void 0 === e[r]) e[r] = i(t[r]);
|
|
417
|
+
});
|
|
418
|
+
return e;
|
|
419
|
+
};
|
|
420
|
+
},
|
|
421
|
+
315: (e, t, r)=>{
|
|
422
|
+
try {
|
|
423
|
+
var i = r(837);
|
|
424
|
+
if ("function" != typeof i.inherits) throw "";
|
|
425
|
+
e.exports = i.inherits;
|
|
426
|
+
} catch (t) {
|
|
427
|
+
e.exports = r(494);
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
|
+
494: (e)=>{
|
|
431
|
+
if ("function" == typeof Object.create) e.exports = function(e, t) {
|
|
432
|
+
if (t) {
|
|
433
|
+
e.super_ = t;
|
|
434
|
+
e.prototype = Object.create(t.prototype, {
|
|
435
|
+
constructor: {
|
|
436
|
+
value: e,
|
|
437
|
+
enumerable: false,
|
|
438
|
+
writable: true,
|
|
439
|
+
configurable: true
|
|
440
|
+
}
|
|
441
|
+
});
|
|
442
|
+
}
|
|
443
|
+
};
|
|
444
|
+
else e.exports = function(e, t) {
|
|
445
|
+
if (t) {
|
|
446
|
+
e.super_ = t;
|
|
447
|
+
var TempCtor = function() {};
|
|
448
|
+
TempCtor.prototype = t.prototype;
|
|
449
|
+
e.prototype = new TempCtor;
|
|
450
|
+
e.prototype.constructor = e;
|
|
451
|
+
}
|
|
452
|
+
};
|
|
453
|
+
},
|
|
454
|
+
520: (e)=>{
|
|
455
|
+
"use strict";
|
|
456
|
+
e.exports = ({ stream: e = process.stdout } = {})=>Boolean(e && e.isTTY && "dumb" !== process.env.TERM && !("CI" in process.env));
|
|
457
|
+
},
|
|
458
|
+
457: (e)=>{
|
|
459
|
+
"use strict";
|
|
460
|
+
e.exports = ()=>{
|
|
461
|
+
if ("win32" !== process.platform) return true;
|
|
462
|
+
return Boolean(process.env.CI) || Boolean(process.env.WT_SESSION) || "vscode" === process.env.TERM_PROGRAM || "xterm-256color" === process.env.TERM || "alacritty" === process.env.TERM;
|
|
463
|
+
};
|
|
464
|
+
},
|
|
465
|
+
59: (e, t, r)=>{
|
|
466
|
+
"use strict";
|
|
467
|
+
const i = r(234);
|
|
468
|
+
const n = r(457);
|
|
469
|
+
const s = {
|
|
470
|
+
info: i.blue("ℹ"),
|
|
471
|
+
success: i.green("✔"),
|
|
472
|
+
warning: i.yellow("⚠"),
|
|
473
|
+
error: i.red("✖")
|
|
474
|
+
};
|
|
475
|
+
const a = {
|
|
476
|
+
info: i.blue("i"),
|
|
477
|
+
success: i.green("√"),
|
|
478
|
+
warning: i.yellow("‼"),
|
|
479
|
+
error: i.red("×")
|
|
480
|
+
};
|
|
481
|
+
e.exports = n() ? s : a;
|
|
482
|
+
},
|
|
483
|
+
693: (e)=>{
|
|
484
|
+
"use strict";
|
|
485
|
+
const mimicFn = (e, t)=>{
|
|
486
|
+
for (const r of Reflect.ownKeys(t))Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
487
|
+
return e;
|
|
488
|
+
};
|
|
489
|
+
e.exports = mimicFn;
|
|
490
|
+
e.exports["default"] = mimicFn;
|
|
491
|
+
},
|
|
492
|
+
591: (e, t, r)=>{
|
|
493
|
+
"use strict";
|
|
494
|
+
const i = r(693);
|
|
495
|
+
const n = new WeakMap;
|
|
496
|
+
const onetime = (e, t = {})=>{
|
|
497
|
+
if ("function" != typeof e) throw new TypeError("Expected a function");
|
|
498
|
+
let r;
|
|
499
|
+
let s = 0;
|
|
500
|
+
const a = e.displayName || e.name || "<anonymous>";
|
|
501
|
+
const onetime = function(...i) {
|
|
502
|
+
n.set(onetime, ++s);
|
|
503
|
+
if (1 === s) {
|
|
504
|
+
r = e.apply(this, i);
|
|
505
|
+
e = null;
|
|
506
|
+
} else if (true === t.throw) throw new Error(`Function \`${a}\` can only be called once`);
|
|
507
|
+
return r;
|
|
508
|
+
};
|
|
509
|
+
i(onetime, e);
|
|
510
|
+
n.set(onetime, s);
|
|
511
|
+
return onetime;
|
|
512
|
+
};
|
|
513
|
+
e.exports = onetime;
|
|
514
|
+
e.exports["default"] = onetime;
|
|
515
|
+
e.exports.callCount = (e)=>{
|
|
516
|
+
if (!n.has(e)) throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);
|
|
517
|
+
return n.get(e);
|
|
518
|
+
};
|
|
519
|
+
},
|
|
520
|
+
942: (e, t, r)=>{
|
|
521
|
+
"use strict";
|
|
522
|
+
const i = r(521);
|
|
523
|
+
const n = r(234);
|
|
524
|
+
const s = r(805);
|
|
525
|
+
const a = r(414);
|
|
526
|
+
const o = r(59);
|
|
527
|
+
const f = r(286);
|
|
528
|
+
const l = r(74);
|
|
529
|
+
const u = r(520);
|
|
530
|
+
const h = r(457);
|
|
531
|
+
const { BufferListStream: d } = r(49);
|
|
532
|
+
const p = Symbol("text");
|
|
533
|
+
const _ = Symbol("prefixText");
|
|
534
|
+
const b = 3;
|
|
535
|
+
class StdinDiscarder {
|
|
536
|
+
constructor(){
|
|
537
|
+
this.requests = 0;
|
|
538
|
+
this.mutedStream = new d;
|
|
539
|
+
this.mutedStream.pipe(process.stdout);
|
|
540
|
+
const e = this;
|
|
541
|
+
this.ourEmit = function(t, r, ...i) {
|
|
542
|
+
const { stdin: n } = process;
|
|
543
|
+
if (e.requests > 0 || n.emit === e.ourEmit) {
|
|
544
|
+
if ("keypress" === t) return;
|
|
545
|
+
if ("data" === t && r.includes(b)) process.emit("SIGINT");
|
|
546
|
+
Reflect.apply(e.oldEmit, this, [
|
|
547
|
+
t,
|
|
548
|
+
r,
|
|
549
|
+
...i
|
|
550
|
+
]);
|
|
551
|
+
} else Reflect.apply(process.stdin.emit, this, [
|
|
552
|
+
t,
|
|
553
|
+
r,
|
|
554
|
+
...i
|
|
555
|
+
]);
|
|
556
|
+
};
|
|
557
|
+
}
|
|
558
|
+
start() {
|
|
559
|
+
this.requests++;
|
|
560
|
+
if (1 === this.requests) this.realStart();
|
|
561
|
+
}
|
|
562
|
+
stop() {
|
|
563
|
+
if (this.requests <= 0) throw new Error("`stop` called more times than `start`");
|
|
564
|
+
this.requests--;
|
|
565
|
+
if (0 === this.requests) this.realStop();
|
|
566
|
+
}
|
|
567
|
+
realStart() {
|
|
568
|
+
if ("win32" === process.platform) return;
|
|
569
|
+
this.rl = i.createInterface({
|
|
570
|
+
input: process.stdin,
|
|
571
|
+
output: this.mutedStream
|
|
572
|
+
});
|
|
573
|
+
this.rl.on("SIGINT", ()=>{
|
|
574
|
+
if (0 === process.listenerCount("SIGINT")) process.emit("SIGINT");
|
|
575
|
+
else {
|
|
576
|
+
this.rl.close();
|
|
577
|
+
process.kill(process.pid, "SIGINT");
|
|
578
|
+
}
|
|
579
|
+
});
|
|
580
|
+
}
|
|
581
|
+
realStop() {
|
|
582
|
+
if ("win32" === process.platform) return;
|
|
583
|
+
this.rl.close();
|
|
584
|
+
this.rl = void 0;
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
let g;
|
|
588
|
+
class Ora {
|
|
589
|
+
constructor(e){
|
|
590
|
+
if (!g) g = new StdinDiscarder;
|
|
591
|
+
if ("string" == typeof e) e = {
|
|
592
|
+
text: e
|
|
593
|
+
};
|
|
594
|
+
this.options = {
|
|
595
|
+
text: "",
|
|
596
|
+
color: "cyan",
|
|
597
|
+
stream: process.stderr,
|
|
598
|
+
discardStdin: true,
|
|
599
|
+
...e
|
|
600
|
+
};
|
|
601
|
+
this.spinner = this.options.spinner;
|
|
602
|
+
this.color = this.options.color;
|
|
603
|
+
this.hideCursor = false !== this.options.hideCursor;
|
|
604
|
+
this.interval = this.options.interval || this.spinner.interval || 100;
|
|
605
|
+
this.stream = this.options.stream;
|
|
606
|
+
this.id = void 0;
|
|
607
|
+
this.isEnabled = "boolean" == typeof this.options.isEnabled ? this.options.isEnabled : u({
|
|
608
|
+
stream: this.stream
|
|
609
|
+
});
|
|
610
|
+
this.isSilent = "boolean" == typeof this.options.isSilent ? this.options.isSilent : false;
|
|
611
|
+
this.text = this.options.text;
|
|
612
|
+
this.prefixText = this.options.prefixText;
|
|
613
|
+
this.linesToClear = 0;
|
|
614
|
+
this.indent = this.options.indent;
|
|
615
|
+
this.discardStdin = this.options.discardStdin;
|
|
616
|
+
this.isDiscardingStdin = false;
|
|
617
|
+
}
|
|
618
|
+
get indent() {
|
|
619
|
+
return this._indent;
|
|
620
|
+
}
|
|
621
|
+
set indent(e = 0) {
|
|
622
|
+
if (!(e >= 0 && Number.isInteger(e))) throw new Error("The `indent` option must be an integer from 0 and up");
|
|
623
|
+
this._indent = e;
|
|
624
|
+
}
|
|
625
|
+
_updateInterval(e) {
|
|
626
|
+
if (void 0 !== e) this.interval = e;
|
|
627
|
+
}
|
|
628
|
+
get spinner() {
|
|
629
|
+
return this._spinner;
|
|
630
|
+
}
|
|
631
|
+
set spinner(e) {
|
|
632
|
+
this.frameIndex = 0;
|
|
633
|
+
if ("object" == typeof e) {
|
|
634
|
+
if (void 0 === e.frames) throw new Error("The given spinner must have a `frames` property");
|
|
635
|
+
this._spinner = e;
|
|
636
|
+
} else if (h()) if (void 0 === e) this._spinner = a.dots;
|
|
637
|
+
else if ("default" !== e && a[e]) this._spinner = a[e];
|
|
638
|
+
else throw new Error(`There is no built-in spinner named '${e}'. See https://github.com/sindresorhus/cli-spinners/blob/main/spinners.json for a full list.`);
|
|
639
|
+
else this._spinner = a.line;
|
|
640
|
+
this._updateInterval(this._spinner.interval);
|
|
641
|
+
}
|
|
642
|
+
get text() {
|
|
643
|
+
return this[p];
|
|
644
|
+
}
|
|
645
|
+
set text(e) {
|
|
646
|
+
this[p] = e;
|
|
647
|
+
this.updateLineCount();
|
|
648
|
+
}
|
|
649
|
+
get prefixText() {
|
|
650
|
+
return this[_];
|
|
651
|
+
}
|
|
652
|
+
set prefixText(e) {
|
|
653
|
+
this[_] = e;
|
|
654
|
+
this.updateLineCount();
|
|
655
|
+
}
|
|
656
|
+
get isSpinning() {
|
|
657
|
+
return void 0 !== this.id;
|
|
658
|
+
}
|
|
659
|
+
getFullPrefixText(e = this[_], t = " ") {
|
|
660
|
+
if ("string" == typeof e) return e + t;
|
|
661
|
+
if ("function" == typeof e) return e() + t;
|
|
662
|
+
return "";
|
|
663
|
+
}
|
|
664
|
+
updateLineCount() {
|
|
665
|
+
const e = this.stream.columns || 80;
|
|
666
|
+
const t = this.getFullPrefixText(this.prefixText, "-");
|
|
667
|
+
this.lineCount = 0;
|
|
668
|
+
for (const r of f(t + "--" + this[p]).split("\n"))this.lineCount += Math.max(1, Math.ceil(l(r) / e));
|
|
669
|
+
}
|
|
670
|
+
get isEnabled() {
|
|
671
|
+
return this._isEnabled && !this.isSilent;
|
|
672
|
+
}
|
|
673
|
+
set isEnabled(e) {
|
|
674
|
+
if ("boolean" != typeof e) throw new TypeError("The `isEnabled` option must be a boolean");
|
|
675
|
+
this._isEnabled = e;
|
|
676
|
+
}
|
|
677
|
+
get isSilent() {
|
|
678
|
+
return this._isSilent;
|
|
679
|
+
}
|
|
680
|
+
set isSilent(e) {
|
|
681
|
+
if ("boolean" != typeof e) throw new TypeError("The `isSilent` option must be a boolean");
|
|
682
|
+
this._isSilent = e;
|
|
683
|
+
}
|
|
684
|
+
frame() {
|
|
685
|
+
const { frames: e } = this.spinner;
|
|
686
|
+
let t = e[this.frameIndex];
|
|
687
|
+
if (this.color) t = n[this.color](t);
|
|
688
|
+
this.frameIndex = ++this.frameIndex % e.length;
|
|
689
|
+
const r = "string" == typeof this.prefixText && "" !== this.prefixText ? this.prefixText + " " : "";
|
|
690
|
+
const i = "string" == typeof this.text ? " " + this.text : "";
|
|
691
|
+
return r + t + i;
|
|
692
|
+
}
|
|
693
|
+
clear() {
|
|
694
|
+
if (!this.isEnabled || !this.stream.isTTY) return this;
|
|
695
|
+
for(let e = 0; e < this.linesToClear; e++){
|
|
696
|
+
if (e > 0) this.stream.moveCursor(0, -1);
|
|
697
|
+
this.stream.clearLine();
|
|
698
|
+
this.stream.cursorTo(this.indent);
|
|
699
|
+
}
|
|
700
|
+
this.linesToClear = 0;
|
|
701
|
+
return this;
|
|
702
|
+
}
|
|
703
|
+
render() {
|
|
704
|
+
if (this.isSilent) return this;
|
|
705
|
+
this.clear();
|
|
706
|
+
this.stream.write(this.frame());
|
|
707
|
+
this.linesToClear = this.lineCount;
|
|
708
|
+
return this;
|
|
709
|
+
}
|
|
710
|
+
start(e) {
|
|
711
|
+
if (e) this.text = e;
|
|
712
|
+
if (this.isSilent) return this;
|
|
713
|
+
if (!this.isEnabled) {
|
|
714
|
+
if (this.text) this.stream.write(`- ${this.text}\n`);
|
|
715
|
+
return this;
|
|
716
|
+
}
|
|
717
|
+
if (this.isSpinning) return this;
|
|
718
|
+
if (this.hideCursor) s.hide(this.stream);
|
|
719
|
+
if (this.discardStdin && process.stdin.isTTY) {
|
|
720
|
+
this.isDiscardingStdin = true;
|
|
721
|
+
g.start();
|
|
722
|
+
}
|
|
723
|
+
this.render();
|
|
724
|
+
this.id = setInterval(this.render.bind(this), this.interval);
|
|
725
|
+
return this;
|
|
726
|
+
}
|
|
727
|
+
stop() {
|
|
728
|
+
if (!this.isEnabled) return this;
|
|
729
|
+
clearInterval(this.id);
|
|
730
|
+
this.id = void 0;
|
|
731
|
+
this.frameIndex = 0;
|
|
732
|
+
this.clear();
|
|
733
|
+
if (this.hideCursor) s.show(this.stream);
|
|
734
|
+
if (this.discardStdin && process.stdin.isTTY && this.isDiscardingStdin) {
|
|
735
|
+
g.stop();
|
|
736
|
+
this.isDiscardingStdin = false;
|
|
737
|
+
}
|
|
738
|
+
return this;
|
|
739
|
+
}
|
|
740
|
+
succeed(e) {
|
|
741
|
+
return this.stopAndPersist({
|
|
742
|
+
symbol: o.success,
|
|
743
|
+
text: e
|
|
744
|
+
});
|
|
745
|
+
}
|
|
746
|
+
fail(e) {
|
|
747
|
+
return this.stopAndPersist({
|
|
748
|
+
symbol: o.error,
|
|
749
|
+
text: e
|
|
750
|
+
});
|
|
751
|
+
}
|
|
752
|
+
warn(e) {
|
|
753
|
+
return this.stopAndPersist({
|
|
754
|
+
symbol: o.warning,
|
|
755
|
+
text: e
|
|
756
|
+
});
|
|
757
|
+
}
|
|
758
|
+
info(e) {
|
|
759
|
+
return this.stopAndPersist({
|
|
760
|
+
symbol: o.info,
|
|
761
|
+
text: e
|
|
762
|
+
});
|
|
763
|
+
}
|
|
764
|
+
stopAndPersist(e = {}) {
|
|
765
|
+
if (this.isSilent) return this;
|
|
766
|
+
const t = e.prefixText || this.prefixText;
|
|
767
|
+
const r = e.text || this.text;
|
|
768
|
+
const i = "string" == typeof r ? " " + r : "";
|
|
769
|
+
this.stop();
|
|
770
|
+
this.stream.write(`${this.getFullPrefixText(t, " ")}${e.symbol || " "}${i}\n`);
|
|
771
|
+
return this;
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
const oraFactory = function(e) {
|
|
775
|
+
return new Ora(e);
|
|
776
|
+
};
|
|
777
|
+
e.exports = oraFactory;
|
|
778
|
+
e.exports.promise = (e, t)=>{
|
|
779
|
+
if ("function" != typeof e.then) throw new TypeError("Parameter `action` must be a Promise");
|
|
780
|
+
const r = new Ora(t);
|
|
781
|
+
r.start();
|
|
782
|
+
(async ()=>{
|
|
783
|
+
try {
|
|
784
|
+
await e;
|
|
785
|
+
r.succeed();
|
|
786
|
+
} catch {
|
|
787
|
+
r.fail();
|
|
788
|
+
}
|
|
789
|
+
})();
|
|
790
|
+
return r;
|
|
791
|
+
};
|
|
792
|
+
},
|
|
793
|
+
959: (e)=>{
|
|
794
|
+
"use strict";
|
|
795
|
+
const t = {};
|
|
796
|
+
function createErrorType(e, r, i) {
|
|
797
|
+
if (!i) i = Error;
|
|
798
|
+
function getMessage(e, t, i) {
|
|
799
|
+
if ("string" == typeof r) return r;
|
|
800
|
+
return r(e, t, i);
|
|
801
|
+
}
|
|
802
|
+
class NodeError extends i {
|
|
803
|
+
constructor(e, t, r){
|
|
804
|
+
super(getMessage(e, t, r));
|
|
805
|
+
}
|
|
806
|
+
}
|
|
807
|
+
NodeError.prototype.name = i.name;
|
|
808
|
+
NodeError.prototype.code = e;
|
|
809
|
+
t[e] = NodeError;
|
|
810
|
+
}
|
|
811
|
+
function oneOf(e, t) {
|
|
812
|
+
if (!Array.isArray(e)) return `of ${t} ${String(e)}`;
|
|
813
|
+
{
|
|
814
|
+
const r = e.length;
|
|
815
|
+
e = e.map((e)=>String(e));
|
|
816
|
+
if (r > 2) return `one of ${t} ${e.slice(0, r - 1).join(", ")}, or ` + e[r - 1];
|
|
817
|
+
if (2 === r) return `one of ${t} ${e[0]} or ${e[1]}`;
|
|
818
|
+
return `of ${t} ${e[0]}`;
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
function startsWith(e, t, r) {
|
|
822
|
+
return e.substr(!r || r < 0 ? 0 : +r, t.length) === t;
|
|
823
|
+
}
|
|
824
|
+
function endsWith(e, t, r) {
|
|
825
|
+
if (void 0 === r || r > e.length) r = e.length;
|
|
826
|
+
return e.substring(r - t.length, r) === t;
|
|
827
|
+
}
|
|
828
|
+
function includes(e, t, r) {
|
|
829
|
+
if ("number" != typeof r) r = 0;
|
|
830
|
+
if (r + t.length > e.length) return false;
|
|
831
|
+
return -1 !== e.indexOf(t, r);
|
|
832
|
+
}
|
|
833
|
+
createErrorType("ERR_INVALID_OPT_VALUE", function(e, t) {
|
|
834
|
+
return 'The value "' + t + '" is invalid for option "' + e + '"';
|
|
835
|
+
}, TypeError);
|
|
836
|
+
createErrorType("ERR_INVALID_ARG_TYPE", function(e, t, r) {
|
|
837
|
+
let i;
|
|
838
|
+
if ("string" == typeof t && startsWith(t, "not ")) {
|
|
839
|
+
i = "must not be";
|
|
840
|
+
t = t.replace(/^not /, "");
|
|
841
|
+
} else i = "must be";
|
|
842
|
+
let n;
|
|
843
|
+
if (endsWith(e, " argument")) n = `The ${e} ${i} ${oneOf(t, "type")}`;
|
|
844
|
+
else {
|
|
845
|
+
const r = includes(e, ".") ? "property" : "argument";
|
|
846
|
+
n = `The "${e}" ${r} ${i} ${oneOf(t, "type")}`;
|
|
847
|
+
}
|
|
848
|
+
n += `. Received type ${typeof r}`;
|
|
849
|
+
return n;
|
|
850
|
+
}, TypeError);
|
|
851
|
+
createErrorType("ERR_STREAM_PUSH_AFTER_EOF", "stream.push() after EOF");
|
|
852
|
+
createErrorType("ERR_METHOD_NOT_IMPLEMENTED", function(e) {
|
|
853
|
+
return "The " + e + " method is not implemented";
|
|
854
|
+
});
|
|
855
|
+
createErrorType("ERR_STREAM_PREMATURE_CLOSE", "Premature close");
|
|
856
|
+
createErrorType("ERR_STREAM_DESTROYED", function(e) {
|
|
857
|
+
return "Cannot call " + e + " after a stream was destroyed";
|
|
858
|
+
});
|
|
859
|
+
createErrorType("ERR_MULTIPLE_CALLBACK", "Callback called multiple times");
|
|
860
|
+
createErrorType("ERR_STREAM_CANNOT_PIPE", "Cannot pipe, not readable");
|
|
861
|
+
createErrorType("ERR_STREAM_WRITE_AFTER_END", "write after end");
|
|
862
|
+
createErrorType("ERR_STREAM_NULL_VALUES", "May not write null values to stream", TypeError);
|
|
863
|
+
createErrorType("ERR_UNKNOWN_ENCODING", function(e) {
|
|
864
|
+
return "Unknown encoding: " + e;
|
|
865
|
+
}, TypeError);
|
|
866
|
+
createErrorType("ERR_STREAM_UNSHIFT_AFTER_END_EVENT", "stream.unshift() after end event");
|
|
867
|
+
e.exports.q = t;
|
|
868
|
+
},
|
|
869
|
+
548: (e, t, r)=>{
|
|
870
|
+
"use strict";
|
|
871
|
+
var i = Object.keys || function(e) {
|
|
872
|
+
var t = [];
|
|
873
|
+
for(var r in e)t.push(r);
|
|
874
|
+
return t;
|
|
875
|
+
};
|
|
876
|
+
e.exports = Duplex;
|
|
877
|
+
var n = r(852);
|
|
878
|
+
var s = r(379);
|
|
879
|
+
r(315)(Duplex, n);
|
|
880
|
+
var a = i(s.prototype);
|
|
881
|
+
for(var o = 0; o < a.length; o++){
|
|
882
|
+
var f = a[o];
|
|
883
|
+
if (!Duplex.prototype[f]) Duplex.prototype[f] = s.prototype[f];
|
|
884
|
+
}
|
|
885
|
+
function Duplex(e) {
|
|
886
|
+
if (!(this instanceof Duplex)) return new Duplex(e);
|
|
887
|
+
n.call(this, e);
|
|
888
|
+
s.call(this, e);
|
|
889
|
+
this.allowHalfOpen = true;
|
|
890
|
+
if (e) {
|
|
891
|
+
if (false === e.readable) this.readable = false;
|
|
892
|
+
if (false === e.writable) this.writable = false;
|
|
893
|
+
if (false === e.allowHalfOpen) {
|
|
894
|
+
this.allowHalfOpen = false;
|
|
895
|
+
this.once("end", onend);
|
|
896
|
+
}
|
|
897
|
+
}
|
|
898
|
+
}
|
|
899
|
+
Object.defineProperty(Duplex.prototype, "writableHighWaterMark", {
|
|
900
|
+
enumerable: false,
|
|
901
|
+
get: function() {
|
|
902
|
+
return this._writableState.highWaterMark;
|
|
903
|
+
}
|
|
904
|
+
});
|
|
905
|
+
Object.defineProperty(Duplex.prototype, "writableBuffer", {
|
|
906
|
+
enumerable: false,
|
|
907
|
+
get: function() {
|
|
908
|
+
return this._writableState && this._writableState.getBuffer();
|
|
909
|
+
}
|
|
910
|
+
});
|
|
911
|
+
Object.defineProperty(Duplex.prototype, "writableLength", {
|
|
912
|
+
enumerable: false,
|
|
913
|
+
get: function() {
|
|
914
|
+
return this._writableState.length;
|
|
915
|
+
}
|
|
916
|
+
});
|
|
917
|
+
function onend() {
|
|
918
|
+
if (this._writableState.ended) return;
|
|
919
|
+
process.nextTick(onEndNT, this);
|
|
920
|
+
}
|
|
921
|
+
function onEndNT(e) {
|
|
922
|
+
e.end();
|
|
923
|
+
}
|
|
924
|
+
Object.defineProperty(Duplex.prototype, "destroyed", {
|
|
925
|
+
enumerable: false,
|
|
926
|
+
get: function() {
|
|
927
|
+
if (void 0 === this._readableState || void 0 === this._writableState) return false;
|
|
928
|
+
return this._readableState.destroyed && this._writableState.destroyed;
|
|
929
|
+
},
|
|
930
|
+
set: function(e) {
|
|
931
|
+
if (void 0 === this._readableState || void 0 === this._writableState) return;
|
|
932
|
+
this._readableState.destroyed = e;
|
|
933
|
+
this._writableState.destroyed = e;
|
|
934
|
+
}
|
|
935
|
+
});
|
|
936
|
+
},
|
|
937
|
+
184: (e, t, r)=>{
|
|
938
|
+
"use strict";
|
|
939
|
+
e.exports = PassThrough;
|
|
940
|
+
var i = r(770);
|
|
941
|
+
r(315)(PassThrough, i);
|
|
942
|
+
function PassThrough(e) {
|
|
943
|
+
if (!(this instanceof PassThrough)) return new PassThrough(e);
|
|
944
|
+
i.call(this, e);
|
|
945
|
+
}
|
|
946
|
+
PassThrough.prototype._transform = function(e, t, r) {
|
|
947
|
+
r(null, e);
|
|
948
|
+
};
|
|
949
|
+
},
|
|
950
|
+
852: (e, t, r)=>{
|
|
951
|
+
"use strict";
|
|
952
|
+
e.exports = Readable;
|
|
953
|
+
var i;
|
|
954
|
+
Readable.ReadableState = ReadableState;
|
|
955
|
+
r(361).EventEmitter;
|
|
956
|
+
var s = function(e, t) {
|
|
957
|
+
return e.listeners(t).length;
|
|
958
|
+
};
|
|
959
|
+
var a = r(604);
|
|
960
|
+
var o = r(300).Buffer;
|
|
961
|
+
var f = global.Uint8Array || function() {};
|
|
962
|
+
function _uint8ArrayToBuffer(e) {
|
|
963
|
+
return o.from(e);
|
|
964
|
+
}
|
|
965
|
+
function _isUint8Array(e) {
|
|
966
|
+
return o.isBuffer(e) || e instanceof f;
|
|
967
|
+
}
|
|
968
|
+
var l = r(837);
|
|
969
|
+
var u;
|
|
970
|
+
u = l && l.debuglog ? l.debuglog("stream") : function() {};
|
|
971
|
+
var h = r(706);
|
|
972
|
+
var d = r(97);
|
|
973
|
+
var p = r(841), _ = p.getHighWaterMark;
|
|
974
|
+
var b = r(959).q, g = b.ERR_INVALID_ARG_TYPE, y = b.ERR_STREAM_PUSH_AFTER_EOF, m = b.ERR_METHOD_NOT_IMPLEMENTED, v = b.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;
|
|
975
|
+
var w;
|
|
976
|
+
var S;
|
|
977
|
+
var R;
|
|
978
|
+
r(315)(Readable, a);
|
|
979
|
+
var E = d.errorOrDestroy;
|
|
980
|
+
var x = [
|
|
981
|
+
"error",
|
|
982
|
+
"close",
|
|
983
|
+
"destroy",
|
|
984
|
+
"pause",
|
|
985
|
+
"resume"
|
|
986
|
+
];
|
|
987
|
+
function prependListener(e, t, r) {
|
|
988
|
+
if ("function" == typeof e.prependListener) return e.prependListener(t, r);
|
|
989
|
+
if (e._events && e._events[t]) if (Array.isArray(e._events[t])) e._events[t].unshift(r);
|
|
990
|
+
else e._events[t] = [
|
|
991
|
+
r,
|
|
992
|
+
e._events[t]
|
|
993
|
+
];
|
|
994
|
+
else e.on(t, r);
|
|
995
|
+
}
|
|
996
|
+
function ReadableState(e, t, n) {
|
|
997
|
+
i = i || r(548);
|
|
998
|
+
e = e || {};
|
|
999
|
+
if ("boolean" != typeof n) n = t instanceof i;
|
|
1000
|
+
this.objectMode = !!e.objectMode;
|
|
1001
|
+
if (n) this.objectMode = this.objectMode || !!e.readableObjectMode;
|
|
1002
|
+
this.highWaterMark = _(this, e, "readableHighWaterMark", n);
|
|
1003
|
+
this.buffer = new h;
|
|
1004
|
+
this.length = 0;
|
|
1005
|
+
this.pipes = null;
|
|
1006
|
+
this.pipesCount = 0;
|
|
1007
|
+
this.flowing = null;
|
|
1008
|
+
this.ended = false;
|
|
1009
|
+
this.endEmitted = false;
|
|
1010
|
+
this.reading = false;
|
|
1011
|
+
this.sync = true;
|
|
1012
|
+
this.needReadable = false;
|
|
1013
|
+
this.emittedReadable = false;
|
|
1014
|
+
this.readableListening = false;
|
|
1015
|
+
this.resumeScheduled = false;
|
|
1016
|
+
this.paused = true;
|
|
1017
|
+
this.emitClose = false !== e.emitClose;
|
|
1018
|
+
this.autoDestroy = !!e.autoDestroy;
|
|
1019
|
+
this.destroyed = false;
|
|
1020
|
+
this.defaultEncoding = e.defaultEncoding || "utf8";
|
|
1021
|
+
this.awaitDrain = 0;
|
|
1022
|
+
this.readingMore = false;
|
|
1023
|
+
this.decoder = null;
|
|
1024
|
+
this.encoding = null;
|
|
1025
|
+
if (e.encoding) {
|
|
1026
|
+
if (!w) w = r(259).s;
|
|
1027
|
+
this.decoder = new w(e.encoding);
|
|
1028
|
+
this.encoding = e.encoding;
|
|
1029
|
+
}
|
|
1030
|
+
}
|
|
1031
|
+
function Readable(e) {
|
|
1032
|
+
i = i || r(548);
|
|
1033
|
+
if (!(this instanceof Readable)) return new Readable(e);
|
|
1034
|
+
var t = this instanceof i;
|
|
1035
|
+
this._readableState = new ReadableState(e, this, t);
|
|
1036
|
+
this.readable = true;
|
|
1037
|
+
if (e) {
|
|
1038
|
+
if ("function" == typeof e.read) this._read = e.read;
|
|
1039
|
+
if ("function" == typeof e.destroy) this._destroy = e.destroy;
|
|
1040
|
+
}
|
|
1041
|
+
a.call(this);
|
|
1042
|
+
}
|
|
1043
|
+
Object.defineProperty(Readable.prototype, "destroyed", {
|
|
1044
|
+
enumerable: false,
|
|
1045
|
+
get: function() {
|
|
1046
|
+
if (void 0 === this._readableState) return false;
|
|
1047
|
+
return this._readableState.destroyed;
|
|
1048
|
+
},
|
|
1049
|
+
set: function(e) {
|
|
1050
|
+
if (!this._readableState) return;
|
|
1051
|
+
this._readableState.destroyed = e;
|
|
1052
|
+
}
|
|
1053
|
+
});
|
|
1054
|
+
Readable.prototype.destroy = d.destroy;
|
|
1055
|
+
Readable.prototype._undestroy = d.undestroy;
|
|
1056
|
+
Readable.prototype._destroy = function(e, t) {
|
|
1057
|
+
t(e);
|
|
1058
|
+
};
|
|
1059
|
+
Readable.prototype.push = function(e, t) {
|
|
1060
|
+
var r = this._readableState;
|
|
1061
|
+
var i;
|
|
1062
|
+
if (r.objectMode) i = true;
|
|
1063
|
+
else if ("string" == typeof e) {
|
|
1064
|
+
t = t || r.defaultEncoding;
|
|
1065
|
+
if (t !== r.encoding) {
|
|
1066
|
+
e = o.from(e, t);
|
|
1067
|
+
t = "";
|
|
1068
|
+
}
|
|
1069
|
+
i = true;
|
|
1070
|
+
}
|
|
1071
|
+
return readableAddChunk(this, e, t, false, i);
|
|
1072
|
+
};
|
|
1073
|
+
Readable.prototype.unshift = function(e) {
|
|
1074
|
+
return readableAddChunk(this, e, null, true, false);
|
|
1075
|
+
};
|
|
1076
|
+
function readableAddChunk(e, t, r, i, n) {
|
|
1077
|
+
u("readableAddChunk", t);
|
|
1078
|
+
var s = e._readableState;
|
|
1079
|
+
if (null === t) {
|
|
1080
|
+
s.reading = false;
|
|
1081
|
+
onEofChunk(e, s);
|
|
1082
|
+
} else {
|
|
1083
|
+
var a;
|
|
1084
|
+
if (!n) a = chunkInvalid(s, t);
|
|
1085
|
+
if (a) E(e, a);
|
|
1086
|
+
else if (s.objectMode || t && t.length > 0) {
|
|
1087
|
+
if ("string" != typeof t && !s.objectMode && Object.getPrototypeOf(t) !== o.prototype) t = _uint8ArrayToBuffer(t);
|
|
1088
|
+
if (i) if (s.endEmitted) E(e, new v);
|
|
1089
|
+
else addChunk(e, s, t, true);
|
|
1090
|
+
else if (s.ended) E(e, new y);
|
|
1091
|
+
else {
|
|
1092
|
+
if (s.destroyed) return false;
|
|
1093
|
+
s.reading = false;
|
|
1094
|
+
if (s.decoder && !r) {
|
|
1095
|
+
t = s.decoder.write(t);
|
|
1096
|
+
if (s.objectMode || 0 !== t.length) addChunk(e, s, t, false);
|
|
1097
|
+
else maybeReadMore(e, s);
|
|
1098
|
+
} else addChunk(e, s, t, false);
|
|
1099
|
+
}
|
|
1100
|
+
} else if (!i) {
|
|
1101
|
+
s.reading = false;
|
|
1102
|
+
maybeReadMore(e, s);
|
|
1103
|
+
}
|
|
1104
|
+
}
|
|
1105
|
+
return !s.ended && (s.length < s.highWaterMark || 0 === s.length);
|
|
1106
|
+
}
|
|
1107
|
+
function addChunk(e, t, r, i) {
|
|
1108
|
+
if (t.flowing && 0 === t.length && !t.sync) {
|
|
1109
|
+
t.awaitDrain = 0;
|
|
1110
|
+
e.emit("data", r);
|
|
1111
|
+
} else {
|
|
1112
|
+
t.length += t.objectMode ? 1 : r.length;
|
|
1113
|
+
if (i) t.buffer.unshift(r);
|
|
1114
|
+
else t.buffer.push(r);
|
|
1115
|
+
if (t.needReadable) emitReadable(e);
|
|
1116
|
+
}
|
|
1117
|
+
maybeReadMore(e, t);
|
|
1118
|
+
}
|
|
1119
|
+
function chunkInvalid(e, t) {
|
|
1120
|
+
var r;
|
|
1121
|
+
if (!_isUint8Array(t) && "string" != typeof t && void 0 !== t && !e.objectMode) r = new g("chunk", [
|
|
1122
|
+
"string",
|
|
1123
|
+
"Buffer",
|
|
1124
|
+
"Uint8Array"
|
|
1125
|
+
], t);
|
|
1126
|
+
return r;
|
|
1127
|
+
}
|
|
1128
|
+
Readable.prototype.isPaused = function() {
|
|
1129
|
+
return false === this._readableState.flowing;
|
|
1130
|
+
};
|
|
1131
|
+
Readable.prototype.setEncoding = function(e) {
|
|
1132
|
+
if (!w) w = r(259).s;
|
|
1133
|
+
var t = new w(e);
|
|
1134
|
+
this._readableState.decoder = t;
|
|
1135
|
+
this._readableState.encoding = this._readableState.decoder.encoding;
|
|
1136
|
+
var i = this._readableState.buffer.head;
|
|
1137
|
+
var n = "";
|
|
1138
|
+
while(null !== i){
|
|
1139
|
+
n += t.write(i.data);
|
|
1140
|
+
i = i.next;
|
|
1141
|
+
}
|
|
1142
|
+
this._readableState.buffer.clear();
|
|
1143
|
+
if ("" !== n) this._readableState.buffer.push(n);
|
|
1144
|
+
this._readableState.length = n.length;
|
|
1145
|
+
return this;
|
|
1146
|
+
};
|
|
1147
|
+
var T = 1073741824;
|
|
1148
|
+
function computeNewHighWaterMark(e) {
|
|
1149
|
+
if (e >= T) e = T;
|
|
1150
|
+
else {
|
|
1151
|
+
e--;
|
|
1152
|
+
e |= e >>> 1;
|
|
1153
|
+
e |= e >>> 2;
|
|
1154
|
+
e |= e >>> 4;
|
|
1155
|
+
e |= e >>> 8;
|
|
1156
|
+
e |= e >>> 16;
|
|
1157
|
+
e++;
|
|
1158
|
+
}
|
|
1159
|
+
return e;
|
|
1160
|
+
}
|
|
1161
|
+
function howMuchToRead(e, t) {
|
|
1162
|
+
if (e <= 0 || 0 === t.length && t.ended) return 0;
|
|
1163
|
+
if (t.objectMode) return 1;
|
|
1164
|
+
if (e !== e) if (t.flowing && t.length) return t.buffer.head.data.length;
|
|
1165
|
+
else return t.length;
|
|
1166
|
+
if (e > t.highWaterMark) t.highWaterMark = computeNewHighWaterMark(e);
|
|
1167
|
+
if (e <= t.length) return e;
|
|
1168
|
+
if (!t.ended) {
|
|
1169
|
+
t.needReadable = true;
|
|
1170
|
+
return 0;
|
|
1171
|
+
}
|
|
1172
|
+
return t.length;
|
|
1173
|
+
}
|
|
1174
|
+
Readable.prototype.read = function(e) {
|
|
1175
|
+
u("read", e);
|
|
1176
|
+
e = parseInt(e, 10);
|
|
1177
|
+
var t = this._readableState;
|
|
1178
|
+
var r = e;
|
|
1179
|
+
if (0 !== e) t.emittedReadable = false;
|
|
1180
|
+
if (0 === e && t.needReadable && ((0 !== t.highWaterMark ? t.length >= t.highWaterMark : t.length > 0) || t.ended)) {
|
|
1181
|
+
u("read: emitReadable", t.length, t.ended);
|
|
1182
|
+
if (0 === t.length && t.ended) endReadable(this);
|
|
1183
|
+
else emitReadable(this);
|
|
1184
|
+
return null;
|
|
1185
|
+
}
|
|
1186
|
+
e = howMuchToRead(e, t);
|
|
1187
|
+
if (0 === e && t.ended) {
|
|
1188
|
+
if (0 === t.length) endReadable(this);
|
|
1189
|
+
return null;
|
|
1190
|
+
}
|
|
1191
|
+
var i = t.needReadable;
|
|
1192
|
+
u("need readable", i);
|
|
1193
|
+
if (0 === t.length || t.length - e < t.highWaterMark) {
|
|
1194
|
+
i = true;
|
|
1195
|
+
u("length less than watermark", i);
|
|
1196
|
+
}
|
|
1197
|
+
if (t.ended || t.reading) {
|
|
1198
|
+
i = false;
|
|
1199
|
+
u("reading or ended", i);
|
|
1200
|
+
} else if (i) {
|
|
1201
|
+
u("do read");
|
|
1202
|
+
t.reading = true;
|
|
1203
|
+
t.sync = true;
|
|
1204
|
+
if (0 === t.length) t.needReadable = true;
|
|
1205
|
+
this._read(t.highWaterMark);
|
|
1206
|
+
t.sync = false;
|
|
1207
|
+
if (!t.reading) e = howMuchToRead(r, t);
|
|
1208
|
+
}
|
|
1209
|
+
var n;
|
|
1210
|
+
n = e > 0 ? fromList(e, t) : null;
|
|
1211
|
+
if (null === n) {
|
|
1212
|
+
t.needReadable = t.length <= t.highWaterMark;
|
|
1213
|
+
e = 0;
|
|
1214
|
+
} else {
|
|
1215
|
+
t.length -= e;
|
|
1216
|
+
t.awaitDrain = 0;
|
|
1217
|
+
}
|
|
1218
|
+
if (0 === t.length) {
|
|
1219
|
+
if (!t.ended) t.needReadable = true;
|
|
1220
|
+
if (r !== e && t.ended) endReadable(this);
|
|
1221
|
+
}
|
|
1222
|
+
if (null !== n) this.emit("data", n);
|
|
1223
|
+
return n;
|
|
1224
|
+
};
|
|
1225
|
+
function onEofChunk(e, t) {
|
|
1226
|
+
u("onEofChunk");
|
|
1227
|
+
if (t.ended) return;
|
|
1228
|
+
if (t.decoder) {
|
|
1229
|
+
var r = t.decoder.end();
|
|
1230
|
+
if (r && r.length) {
|
|
1231
|
+
t.buffer.push(r);
|
|
1232
|
+
t.length += t.objectMode ? 1 : r.length;
|
|
1233
|
+
}
|
|
1234
|
+
}
|
|
1235
|
+
t.ended = true;
|
|
1236
|
+
if (t.sync) emitReadable(e);
|
|
1237
|
+
else {
|
|
1238
|
+
t.needReadable = false;
|
|
1239
|
+
if (!t.emittedReadable) {
|
|
1240
|
+
t.emittedReadable = true;
|
|
1241
|
+
emitReadable_(e);
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1244
|
+
}
|
|
1245
|
+
function emitReadable(e) {
|
|
1246
|
+
var t = e._readableState;
|
|
1247
|
+
u("emitReadable", t.needReadable, t.emittedReadable);
|
|
1248
|
+
t.needReadable = false;
|
|
1249
|
+
if (!t.emittedReadable) {
|
|
1250
|
+
u("emitReadable", t.flowing);
|
|
1251
|
+
t.emittedReadable = true;
|
|
1252
|
+
process.nextTick(emitReadable_, e);
|
|
1253
|
+
}
|
|
1254
|
+
}
|
|
1255
|
+
function emitReadable_(e) {
|
|
1256
|
+
var t = e._readableState;
|
|
1257
|
+
u("emitReadable_", t.destroyed, t.length, t.ended);
|
|
1258
|
+
if (!t.destroyed && (t.length || t.ended)) {
|
|
1259
|
+
e.emit("readable");
|
|
1260
|
+
t.emittedReadable = false;
|
|
1261
|
+
}
|
|
1262
|
+
t.needReadable = !t.flowing && !t.ended && t.length <= t.highWaterMark;
|
|
1263
|
+
flow(e);
|
|
1264
|
+
}
|
|
1265
|
+
function maybeReadMore(e, t) {
|
|
1266
|
+
if (!t.readingMore) {
|
|
1267
|
+
t.readingMore = true;
|
|
1268
|
+
process.nextTick(maybeReadMore_, e, t);
|
|
1269
|
+
}
|
|
1270
|
+
}
|
|
1271
|
+
function maybeReadMore_(e, t) {
|
|
1272
|
+
while(!t.reading && !t.ended && (t.length < t.highWaterMark || t.flowing && 0 === t.length)){
|
|
1273
|
+
var r = t.length;
|
|
1274
|
+
u("maybeReadMore read 0");
|
|
1275
|
+
e.read(0);
|
|
1276
|
+
if (r === t.length) break;
|
|
1277
|
+
}
|
|
1278
|
+
t.readingMore = false;
|
|
1279
|
+
}
|
|
1280
|
+
Readable.prototype._read = function(e) {
|
|
1281
|
+
E(this, new m("_read()"));
|
|
1282
|
+
};
|
|
1283
|
+
Readable.prototype.pipe = function(e, t) {
|
|
1284
|
+
var r = this;
|
|
1285
|
+
var i = this._readableState;
|
|
1286
|
+
switch(i.pipesCount){
|
|
1287
|
+
case 0:
|
|
1288
|
+
i.pipes = e;
|
|
1289
|
+
break;
|
|
1290
|
+
case 1:
|
|
1291
|
+
i.pipes = [
|
|
1292
|
+
i.pipes,
|
|
1293
|
+
e
|
|
1294
|
+
];
|
|
1295
|
+
break;
|
|
1296
|
+
default:
|
|
1297
|
+
i.pipes.push(e);
|
|
1298
|
+
break;
|
|
1299
|
+
}
|
|
1300
|
+
i.pipesCount += 1;
|
|
1301
|
+
u("pipe count=%d opts=%j", i.pipesCount, t);
|
|
1302
|
+
var n = (!t || false !== t.end) && e !== process.stdout && e !== process.stderr;
|
|
1303
|
+
var a = n ? onend : unpipe;
|
|
1304
|
+
if (i.endEmitted) process.nextTick(a);
|
|
1305
|
+
else r.once("end", a);
|
|
1306
|
+
e.on("unpipe", onunpipe);
|
|
1307
|
+
function onunpipe(e, t) {
|
|
1308
|
+
u("onunpipe");
|
|
1309
|
+
if (e === r) {
|
|
1310
|
+
if (t && false === t.hasUnpiped) {
|
|
1311
|
+
t.hasUnpiped = true;
|
|
1312
|
+
cleanup();
|
|
1313
|
+
}
|
|
1314
|
+
}
|
|
1315
|
+
}
|
|
1316
|
+
function onend() {
|
|
1317
|
+
u("onend");
|
|
1318
|
+
e.end();
|
|
1319
|
+
}
|
|
1320
|
+
var o = pipeOnDrain(r);
|
|
1321
|
+
e.on("drain", o);
|
|
1322
|
+
var f = false;
|
|
1323
|
+
function cleanup() {
|
|
1324
|
+
u("cleanup");
|
|
1325
|
+
e.removeListener("close", onclose);
|
|
1326
|
+
e.removeListener("finish", onfinish);
|
|
1327
|
+
e.removeListener("drain", o);
|
|
1328
|
+
e.removeListener("error", onerror);
|
|
1329
|
+
e.removeListener("unpipe", onunpipe);
|
|
1330
|
+
r.removeListener("end", onend);
|
|
1331
|
+
r.removeListener("end", unpipe);
|
|
1332
|
+
r.removeListener("data", ondata);
|
|
1333
|
+
f = true;
|
|
1334
|
+
if (i.awaitDrain && (!e._writableState || e._writableState.needDrain)) o();
|
|
1335
|
+
}
|
|
1336
|
+
r.on("data", ondata);
|
|
1337
|
+
function ondata(t) {
|
|
1338
|
+
u("ondata");
|
|
1339
|
+
var n = e.write(t);
|
|
1340
|
+
u("dest.write", n);
|
|
1341
|
+
if (false === n) {
|
|
1342
|
+
if ((1 === i.pipesCount && i.pipes === e || i.pipesCount > 1 && -1 !== indexOf(i.pipes, e)) && !f) {
|
|
1343
|
+
u("false write response, pause", i.awaitDrain);
|
|
1344
|
+
i.awaitDrain++;
|
|
1345
|
+
}
|
|
1346
|
+
r.pause();
|
|
1347
|
+
}
|
|
1348
|
+
}
|
|
1349
|
+
function onerror(t) {
|
|
1350
|
+
u("onerror", t);
|
|
1351
|
+
unpipe();
|
|
1352
|
+
e.removeListener("error", onerror);
|
|
1353
|
+
if (0 === s(e, "error")) E(e, t);
|
|
1354
|
+
}
|
|
1355
|
+
prependListener(e, "error", onerror);
|
|
1356
|
+
function onclose() {
|
|
1357
|
+
e.removeListener("finish", onfinish);
|
|
1358
|
+
unpipe();
|
|
1359
|
+
}
|
|
1360
|
+
e.once("close", onclose);
|
|
1361
|
+
function onfinish() {
|
|
1362
|
+
u("onfinish");
|
|
1363
|
+
e.removeListener("close", onclose);
|
|
1364
|
+
unpipe();
|
|
1365
|
+
}
|
|
1366
|
+
e.once("finish", onfinish);
|
|
1367
|
+
function unpipe() {
|
|
1368
|
+
u("unpipe");
|
|
1369
|
+
r.unpipe(e);
|
|
1370
|
+
}
|
|
1371
|
+
e.emit("pipe", r);
|
|
1372
|
+
if (!i.flowing) {
|
|
1373
|
+
u("pipe resume");
|
|
1374
|
+
r.resume();
|
|
1375
|
+
}
|
|
1376
|
+
return e;
|
|
1377
|
+
};
|
|
1378
|
+
function pipeOnDrain(e) {
|
|
1379
|
+
return function() {
|
|
1380
|
+
var t = e._readableState;
|
|
1381
|
+
u("pipeOnDrain", t.awaitDrain);
|
|
1382
|
+
if (t.awaitDrain) t.awaitDrain--;
|
|
1383
|
+
if (0 === t.awaitDrain && s(e, "data")) {
|
|
1384
|
+
t.flowing = true;
|
|
1385
|
+
flow(e);
|
|
1386
|
+
}
|
|
1387
|
+
};
|
|
1388
|
+
}
|
|
1389
|
+
Readable.prototype.unpipe = function(e) {
|
|
1390
|
+
var t = this._readableState;
|
|
1391
|
+
var r = {
|
|
1392
|
+
hasUnpiped: false
|
|
1393
|
+
};
|
|
1394
|
+
if (0 === t.pipesCount) return this;
|
|
1395
|
+
if (1 === t.pipesCount) {
|
|
1396
|
+
if (e && e !== t.pipes) return this;
|
|
1397
|
+
if (!e) e = t.pipes;
|
|
1398
|
+
t.pipes = null;
|
|
1399
|
+
t.pipesCount = 0;
|
|
1400
|
+
t.flowing = false;
|
|
1401
|
+
if (e) e.emit("unpipe", this, r);
|
|
1402
|
+
return this;
|
|
1403
|
+
}
|
|
1404
|
+
if (!e) {
|
|
1405
|
+
var i = t.pipes;
|
|
1406
|
+
var n = t.pipesCount;
|
|
1407
|
+
t.pipes = null;
|
|
1408
|
+
t.pipesCount = 0;
|
|
1409
|
+
t.flowing = false;
|
|
1410
|
+
for(var s = 0; s < n; s++)i[s].emit("unpipe", this, {
|
|
1411
|
+
hasUnpiped: false
|
|
1412
|
+
});
|
|
1413
|
+
return this;
|
|
1414
|
+
}
|
|
1415
|
+
var a = indexOf(t.pipes, e);
|
|
1416
|
+
if (-1 === a) return this;
|
|
1417
|
+
t.pipes.splice(a, 1);
|
|
1418
|
+
t.pipesCount -= 1;
|
|
1419
|
+
if (1 === t.pipesCount) t.pipes = t.pipes[0];
|
|
1420
|
+
e.emit("unpipe", this, r);
|
|
1421
|
+
return this;
|
|
1422
|
+
};
|
|
1423
|
+
Readable.prototype.on = function(e, t) {
|
|
1424
|
+
var r = a.prototype.on.call(this, e, t);
|
|
1425
|
+
var i = this._readableState;
|
|
1426
|
+
if ("data" === e) {
|
|
1427
|
+
i.readableListening = this.listenerCount("readable") > 0;
|
|
1428
|
+
if (false !== i.flowing) this.resume();
|
|
1429
|
+
} else if ("readable" === e) {
|
|
1430
|
+
if (!i.endEmitted && !i.readableListening) {
|
|
1431
|
+
i.readableListening = i.needReadable = true;
|
|
1432
|
+
i.flowing = false;
|
|
1433
|
+
i.emittedReadable = false;
|
|
1434
|
+
u("on readable", i.length, i.reading);
|
|
1435
|
+
if (i.length) emitReadable(this);
|
|
1436
|
+
else if (!i.reading) process.nextTick(nReadingNextTick, this);
|
|
1437
|
+
}
|
|
1438
|
+
}
|
|
1439
|
+
return r;
|
|
1440
|
+
};
|
|
1441
|
+
Readable.prototype.addListener = Readable.prototype.on;
|
|
1442
|
+
Readable.prototype.removeListener = function(e, t) {
|
|
1443
|
+
var r = a.prototype.removeListener.call(this, e, t);
|
|
1444
|
+
if ("readable" === e) process.nextTick(updateReadableListening, this);
|
|
1445
|
+
return r;
|
|
1446
|
+
};
|
|
1447
|
+
Readable.prototype.removeAllListeners = function(e) {
|
|
1448
|
+
var t = a.prototype.removeAllListeners.apply(this, arguments);
|
|
1449
|
+
if ("readable" === e || void 0 === e) process.nextTick(updateReadableListening, this);
|
|
1450
|
+
return t;
|
|
1451
|
+
};
|
|
1452
|
+
function updateReadableListening(e) {
|
|
1453
|
+
var t = e._readableState;
|
|
1454
|
+
t.readableListening = e.listenerCount("readable") > 0;
|
|
1455
|
+
if (t.resumeScheduled && !t.paused) t.flowing = true;
|
|
1456
|
+
else if (e.listenerCount("data") > 0) e.resume();
|
|
1457
|
+
}
|
|
1458
|
+
function nReadingNextTick(e) {
|
|
1459
|
+
u("readable nexttick read 0");
|
|
1460
|
+
e.read(0);
|
|
1461
|
+
}
|
|
1462
|
+
Readable.prototype.resume = function() {
|
|
1463
|
+
var e = this._readableState;
|
|
1464
|
+
if (!e.flowing) {
|
|
1465
|
+
u("resume");
|
|
1466
|
+
e.flowing = !e.readableListening;
|
|
1467
|
+
resume(this, e);
|
|
1468
|
+
}
|
|
1469
|
+
e.paused = false;
|
|
1470
|
+
return this;
|
|
1471
|
+
};
|
|
1472
|
+
function resume(e, t) {
|
|
1473
|
+
if (!t.resumeScheduled) {
|
|
1474
|
+
t.resumeScheduled = true;
|
|
1475
|
+
process.nextTick(resume_, e, t);
|
|
1476
|
+
}
|
|
1477
|
+
}
|
|
1478
|
+
function resume_(e, t) {
|
|
1479
|
+
u("resume", t.reading);
|
|
1480
|
+
if (!t.reading) e.read(0);
|
|
1481
|
+
t.resumeScheduled = false;
|
|
1482
|
+
e.emit("resume");
|
|
1483
|
+
flow(e);
|
|
1484
|
+
if (t.flowing && !t.reading) e.read(0);
|
|
1485
|
+
}
|
|
1486
|
+
Readable.prototype.pause = function() {
|
|
1487
|
+
u("call pause flowing=%j", this._readableState.flowing);
|
|
1488
|
+
if (false !== this._readableState.flowing) {
|
|
1489
|
+
u("pause");
|
|
1490
|
+
this._readableState.flowing = false;
|
|
1491
|
+
this.emit("pause");
|
|
1492
|
+
}
|
|
1493
|
+
this._readableState.paused = true;
|
|
1494
|
+
return this;
|
|
1495
|
+
};
|
|
1496
|
+
function flow(e) {
|
|
1497
|
+
var t = e._readableState;
|
|
1498
|
+
u("flow", t.flowing);
|
|
1499
|
+
while(t.flowing && null !== e.read());
|
|
1500
|
+
}
|
|
1501
|
+
Readable.prototype.wrap = function(e) {
|
|
1502
|
+
var t = this;
|
|
1503
|
+
var r = this._readableState;
|
|
1504
|
+
var i = false;
|
|
1505
|
+
e.on("end", function() {
|
|
1506
|
+
u("wrapped end");
|
|
1507
|
+
if (r.decoder && !r.ended) {
|
|
1508
|
+
var e = r.decoder.end();
|
|
1509
|
+
if (e && e.length) t.push(e);
|
|
1510
|
+
}
|
|
1511
|
+
t.push(null);
|
|
1512
|
+
});
|
|
1513
|
+
e.on("data", function(n) {
|
|
1514
|
+
u("wrapped data");
|
|
1515
|
+
if (r.decoder) n = r.decoder.write(n);
|
|
1516
|
+
if (r.objectMode && null == n) return;
|
|
1517
|
+
if (!r.objectMode && (!n || !n.length)) return;
|
|
1518
|
+
var s = t.push(n);
|
|
1519
|
+
if (!s) {
|
|
1520
|
+
i = true;
|
|
1521
|
+
e.pause();
|
|
1522
|
+
}
|
|
1523
|
+
});
|
|
1524
|
+
for(var n in e)if (void 0 === this[n] && "function" == typeof e[n]) this[n] = function(t) {
|
|
1525
|
+
return function() {
|
|
1526
|
+
return e[t].apply(e, arguments);
|
|
1527
|
+
};
|
|
1528
|
+
}(n);
|
|
1529
|
+
for(var s = 0; s < x.length; s++)e.on(x[s], this.emit.bind(this, x[s]));
|
|
1530
|
+
this._read = function(t) {
|
|
1531
|
+
u("wrapped _read", t);
|
|
1532
|
+
if (i) {
|
|
1533
|
+
i = false;
|
|
1534
|
+
e.resume();
|
|
1535
|
+
}
|
|
1536
|
+
};
|
|
1537
|
+
return this;
|
|
1538
|
+
};
|
|
1539
|
+
if ("function" == typeof Symbol) Readable.prototype[Symbol.asyncIterator] = function() {
|
|
1540
|
+
if (void 0 === S) S = r(87);
|
|
1541
|
+
return S(this);
|
|
1542
|
+
};
|
|
1543
|
+
Object.defineProperty(Readable.prototype, "readableHighWaterMark", {
|
|
1544
|
+
enumerable: false,
|
|
1545
|
+
get: function() {
|
|
1546
|
+
return this._readableState.highWaterMark;
|
|
1547
|
+
}
|
|
1548
|
+
});
|
|
1549
|
+
Object.defineProperty(Readable.prototype, "readableBuffer", {
|
|
1550
|
+
enumerable: false,
|
|
1551
|
+
get: function() {
|
|
1552
|
+
return this._readableState && this._readableState.buffer;
|
|
1553
|
+
}
|
|
1554
|
+
});
|
|
1555
|
+
Object.defineProperty(Readable.prototype, "readableFlowing", {
|
|
1556
|
+
enumerable: false,
|
|
1557
|
+
get: function() {
|
|
1558
|
+
return this._readableState.flowing;
|
|
1559
|
+
},
|
|
1560
|
+
set: function(e) {
|
|
1561
|
+
if (this._readableState) this._readableState.flowing = e;
|
|
1562
|
+
}
|
|
1563
|
+
});
|
|
1564
|
+
Readable._fromList = fromList;
|
|
1565
|
+
Object.defineProperty(Readable.prototype, "readableLength", {
|
|
1566
|
+
enumerable: false,
|
|
1567
|
+
get: function() {
|
|
1568
|
+
return this._readableState.length;
|
|
1569
|
+
}
|
|
1570
|
+
});
|
|
1571
|
+
function fromList(e, t) {
|
|
1572
|
+
if (0 === t.length) return null;
|
|
1573
|
+
var r;
|
|
1574
|
+
if (t.objectMode) r = t.buffer.shift();
|
|
1575
|
+
else if (!e || e >= t.length) {
|
|
1576
|
+
r = t.decoder ? t.buffer.join("") : 1 === t.buffer.length ? t.buffer.first() : t.buffer.concat(t.length);
|
|
1577
|
+
t.buffer.clear();
|
|
1578
|
+
} else r = t.buffer.consume(e, t.decoder);
|
|
1579
|
+
return r;
|
|
1580
|
+
}
|
|
1581
|
+
function endReadable(e) {
|
|
1582
|
+
var t = e._readableState;
|
|
1583
|
+
u("endReadable", t.endEmitted);
|
|
1584
|
+
if (!t.endEmitted) {
|
|
1585
|
+
t.ended = true;
|
|
1586
|
+
process.nextTick(endReadableNT, t, e);
|
|
1587
|
+
}
|
|
1588
|
+
}
|
|
1589
|
+
function endReadableNT(e, t) {
|
|
1590
|
+
u("endReadableNT", e.endEmitted, e.length);
|
|
1591
|
+
if (!e.endEmitted && 0 === e.length) {
|
|
1592
|
+
e.endEmitted = true;
|
|
1593
|
+
t.readable = false;
|
|
1594
|
+
t.emit("end");
|
|
1595
|
+
if (e.autoDestroy) {
|
|
1596
|
+
var r = t._writableState;
|
|
1597
|
+
if (!r || r.autoDestroy && r.finished) t.destroy();
|
|
1598
|
+
}
|
|
1599
|
+
}
|
|
1600
|
+
}
|
|
1601
|
+
if ("function" == typeof Symbol) Readable.from = function(e, t) {
|
|
1602
|
+
if (void 0 === R) R = r(668);
|
|
1603
|
+
return R(Readable, e, t);
|
|
1604
|
+
};
|
|
1605
|
+
function indexOf(e, t) {
|
|
1606
|
+
for(var r = 0, i = e.length; r < i; r++)if (e[r] === t) return r;
|
|
1607
|
+
return -1;
|
|
1608
|
+
}
|
|
1609
|
+
},
|
|
1610
|
+
770: (e, t, r)=>{
|
|
1611
|
+
"use strict";
|
|
1612
|
+
e.exports = Transform;
|
|
1613
|
+
var i = r(959).q, n = i.ERR_METHOD_NOT_IMPLEMENTED, s = i.ERR_MULTIPLE_CALLBACK, a = i.ERR_TRANSFORM_ALREADY_TRANSFORMING, o = i.ERR_TRANSFORM_WITH_LENGTH_0;
|
|
1614
|
+
var f = r(548);
|
|
1615
|
+
r(315)(Transform, f);
|
|
1616
|
+
function afterTransform(e, t) {
|
|
1617
|
+
var r = this._transformState;
|
|
1618
|
+
r.transforming = false;
|
|
1619
|
+
var i = r.writecb;
|
|
1620
|
+
if (null === i) return this.emit("error", new s);
|
|
1621
|
+
r.writechunk = null;
|
|
1622
|
+
r.writecb = null;
|
|
1623
|
+
if (null != t) this.push(t);
|
|
1624
|
+
i(e);
|
|
1625
|
+
var n = this._readableState;
|
|
1626
|
+
n.reading = false;
|
|
1627
|
+
if (n.needReadable || n.length < n.highWaterMark) this._read(n.highWaterMark);
|
|
1628
|
+
}
|
|
1629
|
+
function Transform(e) {
|
|
1630
|
+
if (!(this instanceof Transform)) return new Transform(e);
|
|
1631
|
+
f.call(this, e);
|
|
1632
|
+
this._transformState = {
|
|
1633
|
+
afterTransform: afterTransform.bind(this),
|
|
1634
|
+
needTransform: false,
|
|
1635
|
+
transforming: false,
|
|
1636
|
+
writecb: null,
|
|
1637
|
+
writechunk: null,
|
|
1638
|
+
writeencoding: null
|
|
1639
|
+
};
|
|
1640
|
+
this._readableState.needReadable = true;
|
|
1641
|
+
this._readableState.sync = false;
|
|
1642
|
+
if (e) {
|
|
1643
|
+
if ("function" == typeof e.transform) this._transform = e.transform;
|
|
1644
|
+
if ("function" == typeof e.flush) this._flush = e.flush;
|
|
1645
|
+
}
|
|
1646
|
+
this.on("prefinish", prefinish);
|
|
1647
|
+
}
|
|
1648
|
+
function prefinish() {
|
|
1649
|
+
var e = this;
|
|
1650
|
+
if ("function" != typeof this._flush || this._readableState.destroyed) done(this, null, null);
|
|
1651
|
+
else this._flush(function(t, r) {
|
|
1652
|
+
done(e, t, r);
|
|
1653
|
+
});
|
|
1654
|
+
}
|
|
1655
|
+
Transform.prototype.push = function(e, t) {
|
|
1656
|
+
this._transformState.needTransform = false;
|
|
1657
|
+
return f.prototype.push.call(this, e, t);
|
|
1658
|
+
};
|
|
1659
|
+
Transform.prototype._transform = function(e, t, r) {
|
|
1660
|
+
r(new n("_transform()"));
|
|
1661
|
+
};
|
|
1662
|
+
Transform.prototype._write = function(e, t, r) {
|
|
1663
|
+
var i = this._transformState;
|
|
1664
|
+
i.writecb = r;
|
|
1665
|
+
i.writechunk = e;
|
|
1666
|
+
i.writeencoding = t;
|
|
1667
|
+
if (!i.transforming) {
|
|
1668
|
+
var n = this._readableState;
|
|
1669
|
+
if (i.needTransform || n.needReadable || n.length < n.highWaterMark) this._read(n.highWaterMark);
|
|
1670
|
+
}
|
|
1671
|
+
};
|
|
1672
|
+
Transform.prototype._read = function(e) {
|
|
1673
|
+
var t = this._transformState;
|
|
1674
|
+
if (null === t.writechunk || t.transforming) t.needTransform = true;
|
|
1675
|
+
else {
|
|
1676
|
+
t.transforming = true;
|
|
1677
|
+
this._transform(t.writechunk, t.writeencoding, t.afterTransform);
|
|
1678
|
+
}
|
|
1679
|
+
};
|
|
1680
|
+
Transform.prototype._destroy = function(e, t) {
|
|
1681
|
+
f.prototype._destroy.call(this, e, function(e) {
|
|
1682
|
+
t(e);
|
|
1683
|
+
});
|
|
1684
|
+
};
|
|
1685
|
+
function done(e, t, r) {
|
|
1686
|
+
if (t) return e.emit("error", t);
|
|
1687
|
+
if (null != r) e.push(r);
|
|
1688
|
+
if (e._writableState.length) throw new o;
|
|
1689
|
+
if (e._transformState.transforming) throw new a;
|
|
1690
|
+
return e.push(null);
|
|
1691
|
+
}
|
|
1692
|
+
},
|
|
1693
|
+
379: (e, t, r)=>{
|
|
1694
|
+
"use strict";
|
|
1695
|
+
e.exports = Writable;
|
|
1696
|
+
function CorkedRequest(e) {
|
|
1697
|
+
var t = this;
|
|
1698
|
+
this.next = null;
|
|
1699
|
+
this.entry = null;
|
|
1700
|
+
this.finish = function() {
|
|
1701
|
+
onCorkedFinish(t, e);
|
|
1702
|
+
};
|
|
1703
|
+
}
|
|
1704
|
+
var i;
|
|
1705
|
+
Writable.WritableState = WritableState;
|
|
1706
|
+
var n = {
|
|
1707
|
+
deprecate: r(125)
|
|
1708
|
+
};
|
|
1709
|
+
var s = r(604);
|
|
1710
|
+
var a = r(300).Buffer;
|
|
1711
|
+
var o = global.Uint8Array || function() {};
|
|
1712
|
+
function _uint8ArrayToBuffer(e) {
|
|
1713
|
+
return a.from(e);
|
|
1714
|
+
}
|
|
1715
|
+
function _isUint8Array(e) {
|
|
1716
|
+
return a.isBuffer(e) || e instanceof o;
|
|
1717
|
+
}
|
|
1718
|
+
var f = r(97);
|
|
1719
|
+
var l = r(841), u = l.getHighWaterMark;
|
|
1720
|
+
var h = r(959).q, d = h.ERR_INVALID_ARG_TYPE, p = h.ERR_METHOD_NOT_IMPLEMENTED, _ = h.ERR_MULTIPLE_CALLBACK, b = h.ERR_STREAM_CANNOT_PIPE, g = h.ERR_STREAM_DESTROYED, y = h.ERR_STREAM_NULL_VALUES, m = h.ERR_STREAM_WRITE_AFTER_END, v = h.ERR_UNKNOWN_ENCODING;
|
|
1721
|
+
var w = f.errorOrDestroy;
|
|
1722
|
+
r(315)(Writable, s);
|
|
1723
|
+
function nop() {}
|
|
1724
|
+
function WritableState(e, t, n) {
|
|
1725
|
+
i = i || r(548);
|
|
1726
|
+
e = e || {};
|
|
1727
|
+
if ("boolean" != typeof n) n = t instanceof i;
|
|
1728
|
+
this.objectMode = !!e.objectMode;
|
|
1729
|
+
if (n) this.objectMode = this.objectMode || !!e.writableObjectMode;
|
|
1730
|
+
this.highWaterMark = u(this, e, "writableHighWaterMark", n);
|
|
1731
|
+
this.finalCalled = false;
|
|
1732
|
+
this.needDrain = false;
|
|
1733
|
+
this.ending = false;
|
|
1734
|
+
this.ended = false;
|
|
1735
|
+
this.finished = false;
|
|
1736
|
+
this.destroyed = false;
|
|
1737
|
+
var s = false === e.decodeStrings;
|
|
1738
|
+
this.decodeStrings = !s;
|
|
1739
|
+
this.defaultEncoding = e.defaultEncoding || "utf8";
|
|
1740
|
+
this.length = 0;
|
|
1741
|
+
this.writing = false;
|
|
1742
|
+
this.corked = 0;
|
|
1743
|
+
this.sync = true;
|
|
1744
|
+
this.bufferProcessing = false;
|
|
1745
|
+
this.onwrite = function(e) {
|
|
1746
|
+
onwrite(t, e);
|
|
1747
|
+
};
|
|
1748
|
+
this.writecb = null;
|
|
1749
|
+
this.writelen = 0;
|
|
1750
|
+
this.bufferedRequest = null;
|
|
1751
|
+
this.lastBufferedRequest = null;
|
|
1752
|
+
this.pendingcb = 0;
|
|
1753
|
+
this.prefinished = false;
|
|
1754
|
+
this.errorEmitted = false;
|
|
1755
|
+
this.emitClose = false !== e.emitClose;
|
|
1756
|
+
this.autoDestroy = !!e.autoDestroy;
|
|
1757
|
+
this.bufferedRequestCount = 0;
|
|
1758
|
+
this.corkedRequestsFree = new CorkedRequest(this);
|
|
1759
|
+
}
|
|
1760
|
+
WritableState.prototype.getBuffer = function() {
|
|
1761
|
+
var e = this.bufferedRequest;
|
|
1762
|
+
var t = [];
|
|
1763
|
+
while(e){
|
|
1764
|
+
t.push(e);
|
|
1765
|
+
e = e.next;
|
|
1766
|
+
}
|
|
1767
|
+
return t;
|
|
1768
|
+
};
|
|
1769
|
+
(function() {
|
|
1770
|
+
try {
|
|
1771
|
+
Object.defineProperty(WritableState.prototype, "buffer", {
|
|
1772
|
+
get: n.deprecate(function() {
|
|
1773
|
+
return this.getBuffer();
|
|
1774
|
+
}, "_writableState.buffer is deprecated. Use _writableState.getBuffer instead.", "DEP0003")
|
|
1775
|
+
});
|
|
1776
|
+
} catch (e) {}
|
|
1777
|
+
})();
|
|
1778
|
+
var S;
|
|
1779
|
+
if ("function" == typeof Symbol && Symbol.hasInstance && "function" == typeof Function.prototype[Symbol.hasInstance]) {
|
|
1780
|
+
S = Function.prototype[Symbol.hasInstance];
|
|
1781
|
+
Object.defineProperty(Writable, Symbol.hasInstance, {
|
|
1782
|
+
value: function(e) {
|
|
1783
|
+
if (S.call(this, e)) return true;
|
|
1784
|
+
if (this !== Writable) return false;
|
|
1785
|
+
return e && e._writableState instanceof WritableState;
|
|
1786
|
+
}
|
|
1787
|
+
});
|
|
1788
|
+
} else S = function(e) {
|
|
1789
|
+
return e instanceof this;
|
|
1790
|
+
};
|
|
1791
|
+
function Writable(e) {
|
|
1792
|
+
i = i || r(548);
|
|
1793
|
+
var t = this instanceof i;
|
|
1794
|
+
if (!t && !S.call(Writable, this)) return new Writable(e);
|
|
1795
|
+
this._writableState = new WritableState(e, this, t);
|
|
1796
|
+
this.writable = true;
|
|
1797
|
+
if (e) {
|
|
1798
|
+
if ("function" == typeof e.write) this._write = e.write;
|
|
1799
|
+
if ("function" == typeof e.writev) this._writev = e.writev;
|
|
1800
|
+
if ("function" == typeof e.destroy) this._destroy = e.destroy;
|
|
1801
|
+
if ("function" == typeof e.final) this._final = e.final;
|
|
1802
|
+
}
|
|
1803
|
+
s.call(this);
|
|
1804
|
+
}
|
|
1805
|
+
Writable.prototype.pipe = function() {
|
|
1806
|
+
w(this, new b);
|
|
1807
|
+
};
|
|
1808
|
+
function writeAfterEnd(e, t) {
|
|
1809
|
+
var r = new m;
|
|
1810
|
+
w(e, r);
|
|
1811
|
+
process.nextTick(t, r);
|
|
1812
|
+
}
|
|
1813
|
+
function validChunk(e, t, r, i) {
|
|
1814
|
+
var n;
|
|
1815
|
+
if (null === r) n = new y;
|
|
1816
|
+
else if ("string" != typeof r && !t.objectMode) n = new d("chunk", [
|
|
1817
|
+
"string",
|
|
1818
|
+
"Buffer"
|
|
1819
|
+
], r);
|
|
1820
|
+
if (n) {
|
|
1821
|
+
w(e, n);
|
|
1822
|
+
process.nextTick(i, n);
|
|
1823
|
+
return false;
|
|
1824
|
+
}
|
|
1825
|
+
return true;
|
|
1826
|
+
}
|
|
1827
|
+
Writable.prototype.write = function(e, t, r) {
|
|
1828
|
+
var i = this._writableState;
|
|
1829
|
+
var n = false;
|
|
1830
|
+
var s = !i.objectMode && _isUint8Array(e);
|
|
1831
|
+
if (s && !a.isBuffer(e)) e = _uint8ArrayToBuffer(e);
|
|
1832
|
+
if ("function" == typeof t) {
|
|
1833
|
+
r = t;
|
|
1834
|
+
t = null;
|
|
1835
|
+
}
|
|
1836
|
+
if (s) t = "buffer";
|
|
1837
|
+
else if (!t) t = i.defaultEncoding;
|
|
1838
|
+
if ("function" != typeof r) r = nop;
|
|
1839
|
+
if (i.ending) writeAfterEnd(this, r);
|
|
1840
|
+
else if (s || validChunk(this, i, e, r)) {
|
|
1841
|
+
i.pendingcb++;
|
|
1842
|
+
n = writeOrBuffer(this, i, s, e, t, r);
|
|
1843
|
+
}
|
|
1844
|
+
return n;
|
|
1845
|
+
};
|
|
1846
|
+
Writable.prototype.cork = function() {
|
|
1847
|
+
this._writableState.corked++;
|
|
1848
|
+
};
|
|
1849
|
+
Writable.prototype.uncork = function() {
|
|
1850
|
+
var e = this._writableState;
|
|
1851
|
+
if (e.corked) {
|
|
1852
|
+
e.corked--;
|
|
1853
|
+
if (!e.writing && !e.corked && !e.bufferProcessing && e.bufferedRequest) clearBuffer(this, e);
|
|
1854
|
+
}
|
|
1855
|
+
};
|
|
1856
|
+
Writable.prototype.setDefaultEncoding = function(e) {
|
|
1857
|
+
if ("string" == typeof e) e = e.toLowerCase();
|
|
1858
|
+
if (!([
|
|
1859
|
+
"hex",
|
|
1860
|
+
"utf8",
|
|
1861
|
+
"utf-8",
|
|
1862
|
+
"ascii",
|
|
1863
|
+
"binary",
|
|
1864
|
+
"base64",
|
|
1865
|
+
"ucs2",
|
|
1866
|
+
"ucs-2",
|
|
1867
|
+
"utf16le",
|
|
1868
|
+
"utf-16le",
|
|
1869
|
+
"raw"
|
|
1870
|
+
].indexOf((e + "").toLowerCase()) > -1)) throw new v(e);
|
|
1871
|
+
this._writableState.defaultEncoding = e;
|
|
1872
|
+
return this;
|
|
1873
|
+
};
|
|
1874
|
+
Object.defineProperty(Writable.prototype, "writableBuffer", {
|
|
1875
|
+
enumerable: false,
|
|
1876
|
+
get: function() {
|
|
1877
|
+
return this._writableState && this._writableState.getBuffer();
|
|
1878
|
+
}
|
|
1879
|
+
});
|
|
1880
|
+
function decodeChunk(e, t, r) {
|
|
1881
|
+
if (!e.objectMode && false !== e.decodeStrings && "string" == typeof t) t = a.from(t, r);
|
|
1882
|
+
return t;
|
|
1883
|
+
}
|
|
1884
|
+
Object.defineProperty(Writable.prototype, "writableHighWaterMark", {
|
|
1885
|
+
enumerable: false,
|
|
1886
|
+
get: function() {
|
|
1887
|
+
return this._writableState.highWaterMark;
|
|
1888
|
+
}
|
|
1889
|
+
});
|
|
1890
|
+
function writeOrBuffer(e, t, r, i, n, s) {
|
|
1891
|
+
if (!r) {
|
|
1892
|
+
var a = decodeChunk(t, i, n);
|
|
1893
|
+
if (i !== a) {
|
|
1894
|
+
r = true;
|
|
1895
|
+
n = "buffer";
|
|
1896
|
+
i = a;
|
|
1897
|
+
}
|
|
1898
|
+
}
|
|
1899
|
+
var o = t.objectMode ? 1 : i.length;
|
|
1900
|
+
t.length += o;
|
|
1901
|
+
var f = t.length < t.highWaterMark;
|
|
1902
|
+
if (!f) t.needDrain = true;
|
|
1903
|
+
if (t.writing || t.corked) {
|
|
1904
|
+
var l = t.lastBufferedRequest;
|
|
1905
|
+
t.lastBufferedRequest = {
|
|
1906
|
+
chunk: i,
|
|
1907
|
+
encoding: n,
|
|
1908
|
+
isBuf: r,
|
|
1909
|
+
callback: s,
|
|
1910
|
+
next: null
|
|
1911
|
+
};
|
|
1912
|
+
if (l) l.next = t.lastBufferedRequest;
|
|
1913
|
+
else t.bufferedRequest = t.lastBufferedRequest;
|
|
1914
|
+
t.bufferedRequestCount += 1;
|
|
1915
|
+
} else doWrite(e, t, false, o, i, n, s);
|
|
1916
|
+
return f;
|
|
1917
|
+
}
|
|
1918
|
+
function doWrite(e, t, r, i, n, s, a) {
|
|
1919
|
+
t.writelen = i;
|
|
1920
|
+
t.writecb = a;
|
|
1921
|
+
t.writing = true;
|
|
1922
|
+
t.sync = true;
|
|
1923
|
+
if (t.destroyed) t.onwrite(new g("write"));
|
|
1924
|
+
else if (r) e._writev(n, t.onwrite);
|
|
1925
|
+
else e._write(n, s, t.onwrite);
|
|
1926
|
+
t.sync = false;
|
|
1927
|
+
}
|
|
1928
|
+
function onwriteError(e, t, r, i, n) {
|
|
1929
|
+
--t.pendingcb;
|
|
1930
|
+
if (r) {
|
|
1931
|
+
process.nextTick(n, i);
|
|
1932
|
+
process.nextTick(finishMaybe, e, t);
|
|
1933
|
+
e._writableState.errorEmitted = true;
|
|
1934
|
+
w(e, i);
|
|
1935
|
+
} else {
|
|
1936
|
+
n(i);
|
|
1937
|
+
e._writableState.errorEmitted = true;
|
|
1938
|
+
w(e, i);
|
|
1939
|
+
finishMaybe(e, t);
|
|
1940
|
+
}
|
|
1941
|
+
}
|
|
1942
|
+
function onwriteStateUpdate(e) {
|
|
1943
|
+
e.writing = false;
|
|
1944
|
+
e.writecb = null;
|
|
1945
|
+
e.length -= e.writelen;
|
|
1946
|
+
e.writelen = 0;
|
|
1947
|
+
}
|
|
1948
|
+
function onwrite(e, t) {
|
|
1949
|
+
var r = e._writableState;
|
|
1950
|
+
var i = r.sync;
|
|
1951
|
+
var n = r.writecb;
|
|
1952
|
+
if ("function" != typeof n) throw new _;
|
|
1953
|
+
onwriteStateUpdate(r);
|
|
1954
|
+
if (t) onwriteError(e, r, i, t, n);
|
|
1955
|
+
else {
|
|
1956
|
+
var s = needFinish(r) || e.destroyed;
|
|
1957
|
+
if (!s && !r.corked && !r.bufferProcessing && r.bufferedRequest) clearBuffer(e, r);
|
|
1958
|
+
if (i) process.nextTick(afterWrite, e, r, s, n);
|
|
1959
|
+
else afterWrite(e, r, s, n);
|
|
1960
|
+
}
|
|
1961
|
+
}
|
|
1962
|
+
function afterWrite(e, t, r, i) {
|
|
1963
|
+
if (!r) onwriteDrain(e, t);
|
|
1964
|
+
t.pendingcb--;
|
|
1965
|
+
i();
|
|
1966
|
+
finishMaybe(e, t);
|
|
1967
|
+
}
|
|
1968
|
+
function onwriteDrain(e, t) {
|
|
1969
|
+
if (0 === t.length && t.needDrain) {
|
|
1970
|
+
t.needDrain = false;
|
|
1971
|
+
e.emit("drain");
|
|
1972
|
+
}
|
|
1973
|
+
}
|
|
1974
|
+
function clearBuffer(e, t) {
|
|
1975
|
+
t.bufferProcessing = true;
|
|
1976
|
+
var r = t.bufferedRequest;
|
|
1977
|
+
if (e._writev && r && r.next) {
|
|
1978
|
+
var i = t.bufferedRequestCount;
|
|
1979
|
+
var n = new Array(i);
|
|
1980
|
+
var s = t.corkedRequestsFree;
|
|
1981
|
+
s.entry = r;
|
|
1982
|
+
var a = 0;
|
|
1983
|
+
var o = true;
|
|
1984
|
+
while(r){
|
|
1985
|
+
n[a] = r;
|
|
1986
|
+
if (!r.isBuf) o = false;
|
|
1987
|
+
r = r.next;
|
|
1988
|
+
a += 1;
|
|
1989
|
+
}
|
|
1990
|
+
n.allBuffers = o;
|
|
1991
|
+
doWrite(e, t, true, t.length, n, "", s.finish);
|
|
1992
|
+
t.pendingcb++;
|
|
1993
|
+
t.lastBufferedRequest = null;
|
|
1994
|
+
if (s.next) {
|
|
1995
|
+
t.corkedRequestsFree = s.next;
|
|
1996
|
+
s.next = null;
|
|
1997
|
+
} else t.corkedRequestsFree = new CorkedRequest(t);
|
|
1998
|
+
t.bufferedRequestCount = 0;
|
|
1999
|
+
} else {
|
|
2000
|
+
while(r){
|
|
2001
|
+
var f = r.chunk;
|
|
2002
|
+
var l = r.encoding;
|
|
2003
|
+
var u = r.callback;
|
|
2004
|
+
var h = t.objectMode ? 1 : f.length;
|
|
2005
|
+
doWrite(e, t, false, h, f, l, u);
|
|
2006
|
+
r = r.next;
|
|
2007
|
+
t.bufferedRequestCount--;
|
|
2008
|
+
if (t.writing) break;
|
|
2009
|
+
}
|
|
2010
|
+
if (null === r) t.lastBufferedRequest = null;
|
|
2011
|
+
}
|
|
2012
|
+
t.bufferedRequest = r;
|
|
2013
|
+
t.bufferProcessing = false;
|
|
2014
|
+
}
|
|
2015
|
+
Writable.prototype._write = function(e, t, r) {
|
|
2016
|
+
r(new p("_write()"));
|
|
2017
|
+
};
|
|
2018
|
+
Writable.prototype._writev = null;
|
|
2019
|
+
Writable.prototype.end = function(e, t, r) {
|
|
2020
|
+
var i = this._writableState;
|
|
2021
|
+
if ("function" == typeof e) {
|
|
2022
|
+
r = e;
|
|
2023
|
+
e = null;
|
|
2024
|
+
t = null;
|
|
2025
|
+
} else if ("function" == typeof t) {
|
|
2026
|
+
r = t;
|
|
2027
|
+
t = null;
|
|
2028
|
+
}
|
|
2029
|
+
if (null != e) this.write(e, t);
|
|
2030
|
+
if (i.corked) {
|
|
2031
|
+
i.corked = 1;
|
|
2032
|
+
this.uncork();
|
|
2033
|
+
}
|
|
2034
|
+
if (!i.ending) endWritable(this, i, r);
|
|
2035
|
+
return this;
|
|
2036
|
+
};
|
|
2037
|
+
Object.defineProperty(Writable.prototype, "writableLength", {
|
|
2038
|
+
enumerable: false,
|
|
2039
|
+
get: function() {
|
|
2040
|
+
return this._writableState.length;
|
|
2041
|
+
}
|
|
2042
|
+
});
|
|
2043
|
+
function needFinish(e) {
|
|
2044
|
+
return e.ending && 0 === e.length && null === e.bufferedRequest && !e.finished && !e.writing;
|
|
2045
|
+
}
|
|
2046
|
+
function callFinal(e, t) {
|
|
2047
|
+
e._final(function(r) {
|
|
2048
|
+
t.pendingcb--;
|
|
2049
|
+
if (r) w(e, r);
|
|
2050
|
+
t.prefinished = true;
|
|
2051
|
+
e.emit("prefinish");
|
|
2052
|
+
finishMaybe(e, t);
|
|
2053
|
+
});
|
|
2054
|
+
}
|
|
2055
|
+
function prefinish(e, t) {
|
|
2056
|
+
if (!t.prefinished && !t.finalCalled) if ("function" != typeof e._final || t.destroyed) {
|
|
2057
|
+
t.prefinished = true;
|
|
2058
|
+
e.emit("prefinish");
|
|
2059
|
+
} else {
|
|
2060
|
+
t.pendingcb++;
|
|
2061
|
+
t.finalCalled = true;
|
|
2062
|
+
process.nextTick(callFinal, e, t);
|
|
2063
|
+
}
|
|
2064
|
+
}
|
|
2065
|
+
function finishMaybe(e, t) {
|
|
2066
|
+
var r = needFinish(t);
|
|
2067
|
+
if (r) {
|
|
2068
|
+
prefinish(e, t);
|
|
2069
|
+
if (0 === t.pendingcb) {
|
|
2070
|
+
t.finished = true;
|
|
2071
|
+
e.emit("finish");
|
|
2072
|
+
if (t.autoDestroy) {
|
|
2073
|
+
var i = e._readableState;
|
|
2074
|
+
if (!i || i.autoDestroy && i.endEmitted) e.destroy();
|
|
2075
|
+
}
|
|
2076
|
+
}
|
|
2077
|
+
}
|
|
2078
|
+
return r;
|
|
2079
|
+
}
|
|
2080
|
+
function endWritable(e, t, r) {
|
|
2081
|
+
t.ending = true;
|
|
2082
|
+
finishMaybe(e, t);
|
|
2083
|
+
if (r) if (t.finished) process.nextTick(r);
|
|
2084
|
+
else e.once("finish", r);
|
|
2085
|
+
t.ended = true;
|
|
2086
|
+
e.writable = false;
|
|
2087
|
+
}
|
|
2088
|
+
function onCorkedFinish(e, t, r) {
|
|
2089
|
+
var i = e.entry;
|
|
2090
|
+
e.entry = null;
|
|
2091
|
+
while(i){
|
|
2092
|
+
var n = i.callback;
|
|
2093
|
+
t.pendingcb--;
|
|
2094
|
+
n(r);
|
|
2095
|
+
i = i.next;
|
|
2096
|
+
}
|
|
2097
|
+
t.corkedRequestsFree.next = e;
|
|
2098
|
+
}
|
|
2099
|
+
Object.defineProperty(Writable.prototype, "destroyed", {
|
|
2100
|
+
enumerable: false,
|
|
2101
|
+
get: function() {
|
|
2102
|
+
if (void 0 === this._writableState) return false;
|
|
2103
|
+
return this._writableState.destroyed;
|
|
2104
|
+
},
|
|
2105
|
+
set: function(e) {
|
|
2106
|
+
if (!this._writableState) return;
|
|
2107
|
+
this._writableState.destroyed = e;
|
|
2108
|
+
}
|
|
2109
|
+
});
|
|
2110
|
+
Writable.prototype.destroy = f.destroy;
|
|
2111
|
+
Writable.prototype._undestroy = f.undestroy;
|
|
2112
|
+
Writable.prototype._destroy = function(e, t) {
|
|
2113
|
+
t(e);
|
|
2114
|
+
};
|
|
2115
|
+
},
|
|
2116
|
+
87: (e, t, r)=>{
|
|
2117
|
+
"use strict";
|
|
2118
|
+
var i;
|
|
2119
|
+
function _defineProperty(e, t, r) {
|
|
2120
|
+
if (t in e) Object.defineProperty(e, t, {
|
|
2121
|
+
value: r,
|
|
2122
|
+
enumerable: true,
|
|
2123
|
+
configurable: true,
|
|
2124
|
+
writable: true
|
|
2125
|
+
});
|
|
2126
|
+
else e[t] = r;
|
|
2127
|
+
return e;
|
|
2128
|
+
}
|
|
2129
|
+
var n = r(641);
|
|
2130
|
+
var s = Symbol("lastResolve");
|
|
2131
|
+
var a = Symbol("lastReject");
|
|
2132
|
+
var o = Symbol("error");
|
|
2133
|
+
var f = Symbol("ended");
|
|
2134
|
+
var l = Symbol("lastPromise");
|
|
2135
|
+
var u = Symbol("handlePromise");
|
|
2136
|
+
var h = Symbol("stream");
|
|
2137
|
+
function createIterResult(e, t) {
|
|
2138
|
+
return {
|
|
2139
|
+
value: e,
|
|
2140
|
+
done: t
|
|
2141
|
+
};
|
|
2142
|
+
}
|
|
2143
|
+
function readAndResolve(e) {
|
|
2144
|
+
var t = e[s];
|
|
2145
|
+
if (null !== t) {
|
|
2146
|
+
var r = e[h].read();
|
|
2147
|
+
if (null !== r) {
|
|
2148
|
+
e[l] = null;
|
|
2149
|
+
e[s] = null;
|
|
2150
|
+
e[a] = null;
|
|
2151
|
+
t(createIterResult(r, false));
|
|
2152
|
+
}
|
|
2153
|
+
}
|
|
2154
|
+
}
|
|
2155
|
+
function onReadable(e) {
|
|
2156
|
+
process.nextTick(readAndResolve, e);
|
|
2157
|
+
}
|
|
2158
|
+
function wrapForNext(e, t) {
|
|
2159
|
+
return function(r, i) {
|
|
2160
|
+
e.then(function() {
|
|
2161
|
+
if (t[f]) return void r(createIterResult(void 0, true));
|
|
2162
|
+
t[u](r, i);
|
|
2163
|
+
}, i);
|
|
2164
|
+
};
|
|
2165
|
+
}
|
|
2166
|
+
var d = Object.getPrototypeOf(function() {});
|
|
2167
|
+
var p = Object.setPrototypeOf((i = {
|
|
2168
|
+
get stream () {
|
|
2169
|
+
return this[h];
|
|
2170
|
+
},
|
|
2171
|
+
next: function() {
|
|
2172
|
+
var e = this;
|
|
2173
|
+
var t = this[o];
|
|
2174
|
+
if (null !== t) return Promise.reject(t);
|
|
2175
|
+
if (this[f]) return Promise.resolve(createIterResult(void 0, true));
|
|
2176
|
+
if (this[h].destroyed) return new Promise(function(t, r) {
|
|
2177
|
+
process.nextTick(function() {
|
|
2178
|
+
if (e[o]) r(e[o]);
|
|
2179
|
+
else t(createIterResult(void 0, true));
|
|
2180
|
+
});
|
|
2181
|
+
});
|
|
2182
|
+
var r = this[l];
|
|
2183
|
+
var i;
|
|
2184
|
+
if (r) i = new Promise(wrapForNext(r, this));
|
|
2185
|
+
else {
|
|
2186
|
+
var n = this[h].read();
|
|
2187
|
+
if (null !== n) return Promise.resolve(createIterResult(n, false));
|
|
2188
|
+
i = new Promise(this[u]);
|
|
2189
|
+
}
|
|
2190
|
+
this[l] = i;
|
|
2191
|
+
return i;
|
|
2192
|
+
}
|
|
2193
|
+
}, _defineProperty(i, Symbol.asyncIterator, function() {
|
|
2194
|
+
return this;
|
|
2195
|
+
}), _defineProperty(i, "return", function() {
|
|
2196
|
+
var e = this;
|
|
2197
|
+
return new Promise(function(t, r) {
|
|
2198
|
+
e[h].destroy(null, function(e) {
|
|
2199
|
+
if (e) return void r(e);
|
|
2200
|
+
t(createIterResult(void 0, true));
|
|
2201
|
+
});
|
|
2202
|
+
});
|
|
2203
|
+
}), i), d);
|
|
2204
|
+
var _ = function(e) {
|
|
2205
|
+
var t;
|
|
2206
|
+
var r = Object.create(p, (t = {}, _defineProperty(t, h, {
|
|
2207
|
+
value: e,
|
|
2208
|
+
writable: true
|
|
2209
|
+
}), _defineProperty(t, s, {
|
|
2210
|
+
value: null,
|
|
2211
|
+
writable: true
|
|
2212
|
+
}), _defineProperty(t, a, {
|
|
2213
|
+
value: null,
|
|
2214
|
+
writable: true
|
|
2215
|
+
}), _defineProperty(t, o, {
|
|
2216
|
+
value: null,
|
|
2217
|
+
writable: true
|
|
2218
|
+
}), _defineProperty(t, f, {
|
|
2219
|
+
value: e._readableState.endEmitted,
|
|
2220
|
+
writable: true
|
|
2221
|
+
}), _defineProperty(t, u, {
|
|
2222
|
+
value: function(e, t) {
|
|
2223
|
+
var i = r[h].read();
|
|
2224
|
+
if (i) {
|
|
2225
|
+
r[l] = null;
|
|
2226
|
+
r[s] = null;
|
|
2227
|
+
r[a] = null;
|
|
2228
|
+
e(createIterResult(i, false));
|
|
2229
|
+
} else {
|
|
2230
|
+
r[s] = e;
|
|
2231
|
+
r[a] = t;
|
|
2232
|
+
}
|
|
2233
|
+
},
|
|
2234
|
+
writable: true
|
|
2235
|
+
}), t));
|
|
2236
|
+
r[l] = null;
|
|
2237
|
+
n(e, function(e) {
|
|
2238
|
+
if (e && "ERR_STREAM_PREMATURE_CLOSE" !== e.code) {
|
|
2239
|
+
var t = r[a];
|
|
2240
|
+
if (null !== t) {
|
|
2241
|
+
r[l] = null;
|
|
2242
|
+
r[s] = null;
|
|
2243
|
+
r[a] = null;
|
|
2244
|
+
t(e);
|
|
2245
|
+
}
|
|
2246
|
+
r[o] = e;
|
|
2247
|
+
return;
|
|
2248
|
+
}
|
|
2249
|
+
var i = r[s];
|
|
2250
|
+
if (null !== i) {
|
|
2251
|
+
r[l] = null;
|
|
2252
|
+
r[s] = null;
|
|
2253
|
+
r[a] = null;
|
|
2254
|
+
i(createIterResult(void 0, true));
|
|
2255
|
+
}
|
|
2256
|
+
r[f] = true;
|
|
2257
|
+
});
|
|
2258
|
+
e.on("readable", onReadable.bind(null, r));
|
|
2259
|
+
return r;
|
|
2260
|
+
};
|
|
2261
|
+
e.exports = _;
|
|
2262
|
+
},
|
|
2263
|
+
706: (e, t, r)=>{
|
|
2264
|
+
"use strict";
|
|
2265
|
+
function ownKeys(e, t) {
|
|
2266
|
+
var r = Object.keys(e);
|
|
2267
|
+
if (Object.getOwnPropertySymbols) {
|
|
2268
|
+
var i = Object.getOwnPropertySymbols(e);
|
|
2269
|
+
if (t) i = i.filter(function(t) {
|
|
2270
|
+
return Object.getOwnPropertyDescriptor(e, t).enumerable;
|
|
2271
|
+
});
|
|
2272
|
+
r.push.apply(r, i);
|
|
2273
|
+
}
|
|
2274
|
+
return r;
|
|
2275
|
+
}
|
|
2276
|
+
function _objectSpread(e) {
|
|
2277
|
+
for(var t = 1; t < arguments.length; t++){
|
|
2278
|
+
var r = null != arguments[t] ? arguments[t] : {};
|
|
2279
|
+
if (t % 2) ownKeys(Object(r), true).forEach(function(t) {
|
|
2280
|
+
_defineProperty(e, t, r[t]);
|
|
2281
|
+
});
|
|
2282
|
+
else if (Object.getOwnPropertyDescriptors) Object.defineProperties(e, Object.getOwnPropertyDescriptors(r));
|
|
2283
|
+
else ownKeys(Object(r)).forEach(function(t) {
|
|
2284
|
+
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t));
|
|
2285
|
+
});
|
|
2286
|
+
}
|
|
2287
|
+
return e;
|
|
2288
|
+
}
|
|
2289
|
+
function _defineProperty(e, t, r) {
|
|
2290
|
+
if (t in e) Object.defineProperty(e, t, {
|
|
2291
|
+
value: r,
|
|
2292
|
+
enumerable: true,
|
|
2293
|
+
configurable: true,
|
|
2294
|
+
writable: true
|
|
2295
|
+
});
|
|
2296
|
+
else e[t] = r;
|
|
2297
|
+
return e;
|
|
2298
|
+
}
|
|
2299
|
+
function _classCallCheck(e, t) {
|
|
2300
|
+
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
2301
|
+
}
|
|
2302
|
+
function _defineProperties(e, t) {
|
|
2303
|
+
for(var r = 0; r < t.length; r++){
|
|
2304
|
+
var i = t[r];
|
|
2305
|
+
i.enumerable = i.enumerable || false;
|
|
2306
|
+
i.configurable = true;
|
|
2307
|
+
if ("value" in i) i.writable = true;
|
|
2308
|
+
Object.defineProperty(e, i.key, i);
|
|
2309
|
+
}
|
|
2310
|
+
}
|
|
2311
|
+
function _createClass(e, t, r) {
|
|
2312
|
+
if (t) _defineProperties(e.prototype, t);
|
|
2313
|
+
if (r) _defineProperties(e, r);
|
|
2314
|
+
return e;
|
|
2315
|
+
}
|
|
2316
|
+
var i = r(300), n = i.Buffer;
|
|
2317
|
+
var s = r(837), a = s.inspect;
|
|
2318
|
+
var o = a && a.custom || "inspect";
|
|
2319
|
+
function copyBuffer(e, t, r) {
|
|
2320
|
+
n.prototype.copy.call(e, t, r);
|
|
2321
|
+
}
|
|
2322
|
+
e.exports = function() {
|
|
2323
|
+
function BufferList() {
|
|
2324
|
+
_classCallCheck(this, BufferList);
|
|
2325
|
+
this.head = null;
|
|
2326
|
+
this.tail = null;
|
|
2327
|
+
this.length = 0;
|
|
2328
|
+
}
|
|
2329
|
+
_createClass(BufferList, [
|
|
2330
|
+
{
|
|
2331
|
+
key: "push",
|
|
2332
|
+
value: function(e) {
|
|
2333
|
+
var t = {
|
|
2334
|
+
data: e,
|
|
2335
|
+
next: null
|
|
2336
|
+
};
|
|
2337
|
+
if (this.length > 0) this.tail.next = t;
|
|
2338
|
+
else this.head = t;
|
|
2339
|
+
this.tail = t;
|
|
2340
|
+
++this.length;
|
|
2341
|
+
}
|
|
2342
|
+
},
|
|
2343
|
+
{
|
|
2344
|
+
key: "unshift",
|
|
2345
|
+
value: function(e) {
|
|
2346
|
+
var t = {
|
|
2347
|
+
data: e,
|
|
2348
|
+
next: this.head
|
|
2349
|
+
};
|
|
2350
|
+
if (0 === this.length) this.tail = t;
|
|
2351
|
+
this.head = t;
|
|
2352
|
+
++this.length;
|
|
2353
|
+
}
|
|
2354
|
+
},
|
|
2355
|
+
{
|
|
2356
|
+
key: "shift",
|
|
2357
|
+
value: function() {
|
|
2358
|
+
if (0 === this.length) return;
|
|
2359
|
+
var e = this.head.data;
|
|
2360
|
+
if (1 === this.length) this.head = this.tail = null;
|
|
2361
|
+
else this.head = this.head.next;
|
|
2362
|
+
--this.length;
|
|
2363
|
+
return e;
|
|
2364
|
+
}
|
|
2365
|
+
},
|
|
2366
|
+
{
|
|
2367
|
+
key: "clear",
|
|
2368
|
+
value: function() {
|
|
2369
|
+
this.head = this.tail = null;
|
|
2370
|
+
this.length = 0;
|
|
2371
|
+
}
|
|
2372
|
+
},
|
|
2373
|
+
{
|
|
2374
|
+
key: "join",
|
|
2375
|
+
value: function(e) {
|
|
2376
|
+
if (0 === this.length) return "";
|
|
2377
|
+
var t = this.head;
|
|
2378
|
+
var r = "" + t.data;
|
|
2379
|
+
while(t = t.next)r += e + t.data;
|
|
2380
|
+
return r;
|
|
2381
|
+
}
|
|
2382
|
+
},
|
|
2383
|
+
{
|
|
2384
|
+
key: "concat",
|
|
2385
|
+
value: function(e) {
|
|
2386
|
+
if (0 === this.length) return n.alloc(0);
|
|
2387
|
+
var t = n.allocUnsafe(e >>> 0);
|
|
2388
|
+
var r = this.head;
|
|
2389
|
+
var i = 0;
|
|
2390
|
+
while(r){
|
|
2391
|
+
copyBuffer(r.data, t, i);
|
|
2392
|
+
i += r.data.length;
|
|
2393
|
+
r = r.next;
|
|
2394
|
+
}
|
|
2395
|
+
return t;
|
|
2396
|
+
}
|
|
2397
|
+
},
|
|
2398
|
+
{
|
|
2399
|
+
key: "consume",
|
|
2400
|
+
value: function(e, t) {
|
|
2401
|
+
var r;
|
|
2402
|
+
if (e < this.head.data.length) {
|
|
2403
|
+
r = this.head.data.slice(0, e);
|
|
2404
|
+
this.head.data = this.head.data.slice(e);
|
|
2405
|
+
} else r = e === this.head.data.length ? this.shift() : t ? this._getString(e) : this._getBuffer(e);
|
|
2406
|
+
return r;
|
|
2407
|
+
}
|
|
2408
|
+
},
|
|
2409
|
+
{
|
|
2410
|
+
key: "first",
|
|
2411
|
+
value: function() {
|
|
2412
|
+
return this.head.data;
|
|
2413
|
+
}
|
|
2414
|
+
},
|
|
2415
|
+
{
|
|
2416
|
+
key: "_getString",
|
|
2417
|
+
value: function(e) {
|
|
2418
|
+
var t = this.head;
|
|
2419
|
+
var r = 1;
|
|
2420
|
+
var i = t.data;
|
|
2421
|
+
e -= i.length;
|
|
2422
|
+
while(t = t.next){
|
|
2423
|
+
var n = t.data;
|
|
2424
|
+
var s = e > n.length ? n.length : e;
|
|
2425
|
+
if (s === n.length) i += n;
|
|
2426
|
+
else i += n.slice(0, e);
|
|
2427
|
+
e -= s;
|
|
2428
|
+
if (0 === e) {
|
|
2429
|
+
if (s === n.length) {
|
|
2430
|
+
++r;
|
|
2431
|
+
if (t.next) this.head = t.next;
|
|
2432
|
+
else this.head = this.tail = null;
|
|
2433
|
+
} else {
|
|
2434
|
+
this.head = t;
|
|
2435
|
+
t.data = n.slice(s);
|
|
2436
|
+
}
|
|
2437
|
+
break;
|
|
2438
|
+
}
|
|
2439
|
+
++r;
|
|
2440
|
+
}
|
|
2441
|
+
this.length -= r;
|
|
2442
|
+
return i;
|
|
2443
|
+
}
|
|
2444
|
+
},
|
|
2445
|
+
{
|
|
2446
|
+
key: "_getBuffer",
|
|
2447
|
+
value: function(e) {
|
|
2448
|
+
var t = n.allocUnsafe(e);
|
|
2449
|
+
var r = this.head;
|
|
2450
|
+
var i = 1;
|
|
2451
|
+
r.data.copy(t);
|
|
2452
|
+
e -= r.data.length;
|
|
2453
|
+
while(r = r.next){
|
|
2454
|
+
var s = r.data;
|
|
2455
|
+
var a = e > s.length ? s.length : e;
|
|
2456
|
+
s.copy(t, t.length - e, 0, a);
|
|
2457
|
+
e -= a;
|
|
2458
|
+
if (0 === e) {
|
|
2459
|
+
if (a === s.length) {
|
|
2460
|
+
++i;
|
|
2461
|
+
if (r.next) this.head = r.next;
|
|
2462
|
+
else this.head = this.tail = null;
|
|
2463
|
+
} else {
|
|
2464
|
+
this.head = r;
|
|
2465
|
+
r.data = s.slice(a);
|
|
2466
|
+
}
|
|
2467
|
+
break;
|
|
2468
|
+
}
|
|
2469
|
+
++i;
|
|
2470
|
+
}
|
|
2471
|
+
this.length -= i;
|
|
2472
|
+
return t;
|
|
2473
|
+
}
|
|
2474
|
+
},
|
|
2475
|
+
{
|
|
2476
|
+
key: o,
|
|
2477
|
+
value: function(e, t) {
|
|
2478
|
+
return a(this, _objectSpread({}, t, {
|
|
2479
|
+
depth: 0,
|
|
2480
|
+
customInspect: false
|
|
2481
|
+
}));
|
|
2482
|
+
}
|
|
2483
|
+
}
|
|
2484
|
+
]);
|
|
2485
|
+
return BufferList;
|
|
2486
|
+
}();
|
|
2487
|
+
},
|
|
2488
|
+
97: (e)=>{
|
|
2489
|
+
"use strict";
|
|
2490
|
+
function destroy(e, t) {
|
|
2491
|
+
var r = this;
|
|
2492
|
+
var i = this._readableState && this._readableState.destroyed;
|
|
2493
|
+
var n = this._writableState && this._writableState.destroyed;
|
|
2494
|
+
if (i || n) {
|
|
2495
|
+
if (t) t(e);
|
|
2496
|
+
else if (e) if (this._writableState) {
|
|
2497
|
+
if (!this._writableState.errorEmitted) {
|
|
2498
|
+
this._writableState.errorEmitted = true;
|
|
2499
|
+
process.nextTick(emitErrorNT, this, e);
|
|
2500
|
+
}
|
|
2501
|
+
} else process.nextTick(emitErrorNT, this, e);
|
|
2502
|
+
return this;
|
|
2503
|
+
}
|
|
2504
|
+
if (this._readableState) this._readableState.destroyed = true;
|
|
2505
|
+
if (this._writableState) this._writableState.destroyed = true;
|
|
2506
|
+
this._destroy(e || null, function(e) {
|
|
2507
|
+
if (!t && e) if (r._writableState) if (r._writableState.errorEmitted) process.nextTick(emitCloseNT, r);
|
|
2508
|
+
else {
|
|
2509
|
+
r._writableState.errorEmitted = true;
|
|
2510
|
+
process.nextTick(emitErrorAndCloseNT, r, e);
|
|
2511
|
+
}
|
|
2512
|
+
else process.nextTick(emitErrorAndCloseNT, r, e);
|
|
2513
|
+
else if (t) {
|
|
2514
|
+
process.nextTick(emitCloseNT, r);
|
|
2515
|
+
t(e);
|
|
2516
|
+
} else process.nextTick(emitCloseNT, r);
|
|
2517
|
+
});
|
|
2518
|
+
return this;
|
|
2519
|
+
}
|
|
2520
|
+
function emitErrorAndCloseNT(e, t) {
|
|
2521
|
+
emitErrorNT(e, t);
|
|
2522
|
+
emitCloseNT(e);
|
|
2523
|
+
}
|
|
2524
|
+
function emitCloseNT(e) {
|
|
2525
|
+
if (e._writableState && !e._writableState.emitClose) return;
|
|
2526
|
+
if (e._readableState && !e._readableState.emitClose) return;
|
|
2527
|
+
e.emit("close");
|
|
2528
|
+
}
|
|
2529
|
+
function undestroy() {
|
|
2530
|
+
if (this._readableState) {
|
|
2531
|
+
this._readableState.destroyed = false;
|
|
2532
|
+
this._readableState.reading = false;
|
|
2533
|
+
this._readableState.ended = false;
|
|
2534
|
+
this._readableState.endEmitted = false;
|
|
2535
|
+
}
|
|
2536
|
+
if (this._writableState) {
|
|
2537
|
+
this._writableState.destroyed = false;
|
|
2538
|
+
this._writableState.ended = false;
|
|
2539
|
+
this._writableState.ending = false;
|
|
2540
|
+
this._writableState.finalCalled = false;
|
|
2541
|
+
this._writableState.prefinished = false;
|
|
2542
|
+
this._writableState.finished = false;
|
|
2543
|
+
this._writableState.errorEmitted = false;
|
|
2544
|
+
}
|
|
2545
|
+
}
|
|
2546
|
+
function emitErrorNT(e, t) {
|
|
2547
|
+
e.emit("error", t);
|
|
2548
|
+
}
|
|
2549
|
+
function errorOrDestroy(e, t) {
|
|
2550
|
+
var r = e._readableState;
|
|
2551
|
+
var i = e._writableState;
|
|
2552
|
+
if (r && r.autoDestroy || i && i.autoDestroy) e.destroy(t);
|
|
2553
|
+
else e.emit("error", t);
|
|
2554
|
+
}
|
|
2555
|
+
e.exports = {
|
|
2556
|
+
destroy: destroy,
|
|
2557
|
+
undestroy: undestroy,
|
|
2558
|
+
errorOrDestroy: errorOrDestroy
|
|
2559
|
+
};
|
|
2560
|
+
},
|
|
2561
|
+
641: (e, t, r)=>{
|
|
2562
|
+
"use strict";
|
|
2563
|
+
var i = r(959).q.ERR_STREAM_PREMATURE_CLOSE;
|
|
2564
|
+
function once(e) {
|
|
2565
|
+
var t = false;
|
|
2566
|
+
return function() {
|
|
2567
|
+
if (t) return;
|
|
2568
|
+
t = true;
|
|
2569
|
+
for(var r = arguments.length, i = new Array(r), n = 0; n < r; n++)i[n] = arguments[n];
|
|
2570
|
+
e.apply(this, i);
|
|
2571
|
+
};
|
|
2572
|
+
}
|
|
2573
|
+
function noop() {}
|
|
2574
|
+
function isRequest(e) {
|
|
2575
|
+
return e.setHeader && "function" == typeof e.abort;
|
|
2576
|
+
}
|
|
2577
|
+
function eos(e, t, r) {
|
|
2578
|
+
if ("function" == typeof t) return eos(e, null, t);
|
|
2579
|
+
if (!t) t = {};
|
|
2580
|
+
r = once(r || noop);
|
|
2581
|
+
var n = t.readable || false !== t.readable && e.readable;
|
|
2582
|
+
var s = t.writable || false !== t.writable && e.writable;
|
|
2583
|
+
var a = function() {
|
|
2584
|
+
if (!e.writable) f();
|
|
2585
|
+
};
|
|
2586
|
+
var o = e._writableState && e._writableState.finished;
|
|
2587
|
+
var f = function() {
|
|
2588
|
+
s = false;
|
|
2589
|
+
o = true;
|
|
2590
|
+
if (!n) r.call(e);
|
|
2591
|
+
};
|
|
2592
|
+
var l = e._readableState && e._readableState.endEmitted;
|
|
2593
|
+
var u = function() {
|
|
2594
|
+
n = false;
|
|
2595
|
+
l = true;
|
|
2596
|
+
if (!s) r.call(e);
|
|
2597
|
+
};
|
|
2598
|
+
var h = function(t) {
|
|
2599
|
+
r.call(e, t);
|
|
2600
|
+
};
|
|
2601
|
+
var d = function() {
|
|
2602
|
+
var t;
|
|
2603
|
+
if (n && !l) {
|
|
2604
|
+
if (!e._readableState || !e._readableState.ended) t = new i;
|
|
2605
|
+
return r.call(e, t);
|
|
2606
|
+
}
|
|
2607
|
+
if (s && !o) {
|
|
2608
|
+
if (!e._writableState || !e._writableState.ended) t = new i;
|
|
2609
|
+
return r.call(e, t);
|
|
2610
|
+
}
|
|
2611
|
+
};
|
|
2612
|
+
var p = function() {
|
|
2613
|
+
e.req.on("finish", f);
|
|
2614
|
+
};
|
|
2615
|
+
if (isRequest(e)) {
|
|
2616
|
+
e.on("complete", f);
|
|
2617
|
+
e.on("abort", d);
|
|
2618
|
+
if (e.req) p();
|
|
2619
|
+
else e.on("request", p);
|
|
2620
|
+
} else if (s && !e._writableState) {
|
|
2621
|
+
e.on("end", a);
|
|
2622
|
+
e.on("close", a);
|
|
2623
|
+
}
|
|
2624
|
+
e.on("end", u);
|
|
2625
|
+
e.on("finish", f);
|
|
2626
|
+
if (false !== t.error) e.on("error", h);
|
|
2627
|
+
e.on("close", d);
|
|
2628
|
+
return function() {
|
|
2629
|
+
e.removeListener("complete", f);
|
|
2630
|
+
e.removeListener("abort", d);
|
|
2631
|
+
e.removeListener("request", p);
|
|
2632
|
+
if (e.req) e.req.removeListener("finish", f);
|
|
2633
|
+
e.removeListener("end", a);
|
|
2634
|
+
e.removeListener("close", a);
|
|
2635
|
+
e.removeListener("finish", f);
|
|
2636
|
+
e.removeListener("end", u);
|
|
2637
|
+
e.removeListener("error", h);
|
|
2638
|
+
e.removeListener("close", d);
|
|
2639
|
+
};
|
|
2640
|
+
}
|
|
2641
|
+
e.exports = eos;
|
|
2642
|
+
},
|
|
2643
|
+
668: (e, t, r)=>{
|
|
2644
|
+
"use strict";
|
|
2645
|
+
function asyncGeneratorStep(e, t, r, i, n, s, a) {
|
|
2646
|
+
try {
|
|
2647
|
+
var o = e[s](a);
|
|
2648
|
+
var f = o.value;
|
|
2649
|
+
} catch (e) {
|
|
2650
|
+
r(e);
|
|
2651
|
+
return;
|
|
2652
|
+
}
|
|
2653
|
+
if (o.done) t(f);
|
|
2654
|
+
else Promise.resolve(f).then(i, n);
|
|
2655
|
+
}
|
|
2656
|
+
function _asyncToGenerator(e) {
|
|
2657
|
+
return function() {
|
|
2658
|
+
var t = this, r = arguments;
|
|
2659
|
+
return new Promise(function(i, n) {
|
|
2660
|
+
var s = e.apply(t, r);
|
|
2661
|
+
function _next(e) {
|
|
2662
|
+
asyncGeneratorStep(s, i, n, _next, _throw, "next", e);
|
|
2663
|
+
}
|
|
2664
|
+
function _throw(e) {
|
|
2665
|
+
asyncGeneratorStep(s, i, n, _next, _throw, "throw", e);
|
|
2666
|
+
}
|
|
2667
|
+
_next(void 0);
|
|
2668
|
+
});
|
|
2669
|
+
};
|
|
2670
|
+
}
|
|
2671
|
+
function ownKeys(e, t) {
|
|
2672
|
+
var r = Object.keys(e);
|
|
2673
|
+
if (Object.getOwnPropertySymbols) {
|
|
2674
|
+
var i = Object.getOwnPropertySymbols(e);
|
|
2675
|
+
if (t) i = i.filter(function(t) {
|
|
2676
|
+
return Object.getOwnPropertyDescriptor(e, t).enumerable;
|
|
2677
|
+
});
|
|
2678
|
+
r.push.apply(r, i);
|
|
2679
|
+
}
|
|
2680
|
+
return r;
|
|
2681
|
+
}
|
|
2682
|
+
function _objectSpread(e) {
|
|
2683
|
+
for(var t = 1; t < arguments.length; t++){
|
|
2684
|
+
var r = null != arguments[t] ? arguments[t] : {};
|
|
2685
|
+
if (t % 2) ownKeys(Object(r), true).forEach(function(t) {
|
|
2686
|
+
_defineProperty(e, t, r[t]);
|
|
2687
|
+
});
|
|
2688
|
+
else if (Object.getOwnPropertyDescriptors) Object.defineProperties(e, Object.getOwnPropertyDescriptors(r));
|
|
2689
|
+
else ownKeys(Object(r)).forEach(function(t) {
|
|
2690
|
+
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t));
|
|
2691
|
+
});
|
|
2692
|
+
}
|
|
2693
|
+
return e;
|
|
2694
|
+
}
|
|
2695
|
+
function _defineProperty(e, t, r) {
|
|
2696
|
+
if (t in e) Object.defineProperty(e, t, {
|
|
2697
|
+
value: r,
|
|
2698
|
+
enumerable: true,
|
|
2699
|
+
configurable: true,
|
|
2700
|
+
writable: true
|
|
2701
|
+
});
|
|
2702
|
+
else e[t] = r;
|
|
2703
|
+
return e;
|
|
2704
|
+
}
|
|
2705
|
+
var i = r(959).q.ERR_INVALID_ARG_TYPE;
|
|
2706
|
+
function from(e, t, r) {
|
|
2707
|
+
var n;
|
|
2708
|
+
if (t && "function" == typeof t.next) n = t;
|
|
2709
|
+
else if (t && t[Symbol.asyncIterator]) n = t[Symbol.asyncIterator]();
|
|
2710
|
+
else if (t && t[Symbol.iterator]) n = t[Symbol.iterator]();
|
|
2711
|
+
else throw new i("iterable", [
|
|
2712
|
+
"Iterable"
|
|
2713
|
+
], t);
|
|
2714
|
+
var s = new e(_objectSpread({
|
|
2715
|
+
objectMode: true
|
|
2716
|
+
}, r));
|
|
2717
|
+
var a = false;
|
|
2718
|
+
s._read = function() {
|
|
2719
|
+
if (!a) {
|
|
2720
|
+
a = true;
|
|
2721
|
+
next();
|
|
2722
|
+
}
|
|
2723
|
+
};
|
|
2724
|
+
function next() {
|
|
2725
|
+
return _next2.apply(this, arguments);
|
|
2726
|
+
}
|
|
2727
|
+
function _next2() {
|
|
2728
|
+
_next2 = _asyncToGenerator(function*() {
|
|
2729
|
+
try {
|
|
2730
|
+
var e = yield n.next(), t = e.value, r = e.done;
|
|
2731
|
+
if (r) s.push(null);
|
|
2732
|
+
else if (s.push((yield t))) next();
|
|
2733
|
+
else a = false;
|
|
2734
|
+
} catch (e) {
|
|
2735
|
+
s.destroy(e);
|
|
2736
|
+
}
|
|
2737
|
+
});
|
|
2738
|
+
return _next2.apply(this, arguments);
|
|
2739
|
+
}
|
|
2740
|
+
return s;
|
|
2741
|
+
}
|
|
2742
|
+
e.exports = from;
|
|
2743
|
+
},
|
|
2744
|
+
899: (e, t, r)=>{
|
|
2745
|
+
"use strict";
|
|
2746
|
+
var i;
|
|
2747
|
+
function once(e) {
|
|
2748
|
+
var t = false;
|
|
2749
|
+
return function() {
|
|
2750
|
+
if (t) return;
|
|
2751
|
+
t = true;
|
|
2752
|
+
e.apply(void 0, arguments);
|
|
2753
|
+
};
|
|
2754
|
+
}
|
|
2755
|
+
var n = r(959).q, s = n.ERR_MISSING_ARGS, a = n.ERR_STREAM_DESTROYED;
|
|
2756
|
+
function noop(e) {
|
|
2757
|
+
if (e) throw e;
|
|
2758
|
+
}
|
|
2759
|
+
function isRequest(e) {
|
|
2760
|
+
return e.setHeader && "function" == typeof e.abort;
|
|
2761
|
+
}
|
|
2762
|
+
function destroyer(e, t, n, s) {
|
|
2763
|
+
s = once(s);
|
|
2764
|
+
var o = false;
|
|
2765
|
+
e.on("close", function() {
|
|
2766
|
+
o = true;
|
|
2767
|
+
});
|
|
2768
|
+
if (void 0 === i) i = r(641);
|
|
2769
|
+
i(e, {
|
|
2770
|
+
readable: t,
|
|
2771
|
+
writable: n
|
|
2772
|
+
}, function(e) {
|
|
2773
|
+
if (e) return s(e);
|
|
2774
|
+
o = true;
|
|
2775
|
+
s();
|
|
2776
|
+
});
|
|
2777
|
+
var f = false;
|
|
2778
|
+
return function(t) {
|
|
2779
|
+
if (o) return;
|
|
2780
|
+
if (f) return;
|
|
2781
|
+
f = true;
|
|
2782
|
+
if (isRequest(e)) return e.abort();
|
|
2783
|
+
if ("function" == typeof e.destroy) return e.destroy();
|
|
2784
|
+
s(t || new a("pipe"));
|
|
2785
|
+
};
|
|
2786
|
+
}
|
|
2787
|
+
function call(e) {
|
|
2788
|
+
e();
|
|
2789
|
+
}
|
|
2790
|
+
function pipe(e, t) {
|
|
2791
|
+
return e.pipe(t);
|
|
2792
|
+
}
|
|
2793
|
+
function popCallback(e) {
|
|
2794
|
+
if (!e.length) return noop;
|
|
2795
|
+
if ("function" != typeof e[e.length - 1]) return noop;
|
|
2796
|
+
return e.pop();
|
|
2797
|
+
}
|
|
2798
|
+
function pipeline() {
|
|
2799
|
+
for(var e = arguments.length, t = new Array(e), r = 0; r < e; r++)t[r] = arguments[r];
|
|
2800
|
+
var i = popCallback(t);
|
|
2801
|
+
if (Array.isArray(t[0])) t = t[0];
|
|
2802
|
+
if (t.length < 2) throw new s("streams");
|
|
2803
|
+
var n;
|
|
2804
|
+
var a = t.map(function(e, r) {
|
|
2805
|
+
var s = r < t.length - 1;
|
|
2806
|
+
var o = r > 0;
|
|
2807
|
+
return destroyer(e, s, o, function(e) {
|
|
2808
|
+
if (!n) n = e;
|
|
2809
|
+
if (e) a.forEach(call);
|
|
2810
|
+
if (s) return;
|
|
2811
|
+
a.forEach(call);
|
|
2812
|
+
i(n);
|
|
2813
|
+
});
|
|
2814
|
+
});
|
|
2815
|
+
return t.reduce(pipe);
|
|
2816
|
+
}
|
|
2817
|
+
e.exports = pipeline;
|
|
2818
|
+
},
|
|
2819
|
+
841: (e, t, r)=>{
|
|
2820
|
+
"use strict";
|
|
2821
|
+
var i = r(959).q.ERR_INVALID_OPT_VALUE;
|
|
2822
|
+
function highWaterMarkFrom(e, t, r) {
|
|
2823
|
+
return null != e.highWaterMark ? e.highWaterMark : t ? e[r] : null;
|
|
2824
|
+
}
|
|
2825
|
+
function getHighWaterMark(e, t, r, n) {
|
|
2826
|
+
var s = highWaterMarkFrom(t, n, r);
|
|
2827
|
+
if (null != s) {
|
|
2828
|
+
if (!(isFinite(s) && Math.floor(s) === s) || s < 0) {
|
|
2829
|
+
var a = n ? r : "highWaterMark";
|
|
2830
|
+
throw new i(a, s);
|
|
2831
|
+
}
|
|
2832
|
+
return Math.floor(s);
|
|
2833
|
+
}
|
|
2834
|
+
return e.objectMode ? 16 : 16384;
|
|
2835
|
+
}
|
|
2836
|
+
e.exports = {
|
|
2837
|
+
getHighWaterMark: getHighWaterMark
|
|
2838
|
+
};
|
|
2839
|
+
},
|
|
2840
|
+
604: (e, t, r)=>{
|
|
2841
|
+
e.exports = r(781);
|
|
2842
|
+
},
|
|
2843
|
+
505: (e, t, r)=>{
|
|
2844
|
+
var i = r(781);
|
|
2845
|
+
if ("disable" === process.env.READABLE_STREAM && i) {
|
|
2846
|
+
e.exports = i.Readable;
|
|
2847
|
+
Object.assign(e.exports, i);
|
|
2848
|
+
e.exports.Stream = i;
|
|
2849
|
+
} else {
|
|
2850
|
+
t = e.exports = r(852);
|
|
2851
|
+
t.Stream = i || t;
|
|
2852
|
+
t.Readable = t;
|
|
2853
|
+
t.Writable = r(379);
|
|
2854
|
+
t.Duplex = r(548);
|
|
2855
|
+
t.Transform = r(770);
|
|
2856
|
+
t.PassThrough = r(184);
|
|
2857
|
+
t.finished = r(641);
|
|
2858
|
+
t.pipeline = r(899);
|
|
2859
|
+
}
|
|
2860
|
+
},
|
|
2861
|
+
598: (e, t, r)=>{
|
|
2862
|
+
"use strict";
|
|
2863
|
+
const i = r(591);
|
|
2864
|
+
const n = r(580);
|
|
2865
|
+
e.exports = i(()=>{
|
|
2866
|
+
n(()=>{
|
|
2867
|
+
process.stderr.write("[?25h");
|
|
2868
|
+
}, {
|
|
2869
|
+
alwaysLast: true
|
|
2870
|
+
});
|
|
2871
|
+
});
|
|
2872
|
+
},
|
|
2873
|
+
105: (e, t, r)=>{
|
|
2874
|
+
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */ var i = r(300);
|
|
2875
|
+
var n = i.Buffer;
|
|
2876
|
+
function copyProps(e, t) {
|
|
2877
|
+
for(var r in e)t[r] = e[r];
|
|
2878
|
+
}
|
|
2879
|
+
if (n.from && n.alloc && n.allocUnsafe && n.allocUnsafeSlow) e.exports = i;
|
|
2880
|
+
else {
|
|
2881
|
+
copyProps(i, t);
|
|
2882
|
+
t.Buffer = SafeBuffer;
|
|
2883
|
+
}
|
|
2884
|
+
function SafeBuffer(e, t, r) {
|
|
2885
|
+
return n(e, t, r);
|
|
2886
|
+
}
|
|
2887
|
+
SafeBuffer.prototype = Object.create(n.prototype);
|
|
2888
|
+
copyProps(n, SafeBuffer);
|
|
2889
|
+
SafeBuffer.from = function(e, t, r) {
|
|
2890
|
+
if ("number" == typeof e) throw new TypeError("Argument must not be a number");
|
|
2891
|
+
return n(e, t, r);
|
|
2892
|
+
};
|
|
2893
|
+
SafeBuffer.alloc = function(e, t, r) {
|
|
2894
|
+
if ("number" != typeof e) throw new TypeError("Argument must be a number");
|
|
2895
|
+
var i = n(e);
|
|
2896
|
+
if (void 0 !== t) if ("string" == typeof r) i.fill(t, r);
|
|
2897
|
+
else i.fill(t);
|
|
2898
|
+
else i.fill(0);
|
|
2899
|
+
return i;
|
|
2900
|
+
};
|
|
2901
|
+
SafeBuffer.allocUnsafe = function(e) {
|
|
2902
|
+
if ("number" != typeof e) throw new TypeError("Argument must be a number");
|
|
2903
|
+
return n(e);
|
|
2904
|
+
};
|
|
2905
|
+
SafeBuffer.allocUnsafeSlow = function(e) {
|
|
2906
|
+
if ("number" != typeof e) throw new TypeError("Argument must be a number");
|
|
2907
|
+
return i.SlowBuffer(e);
|
|
2908
|
+
};
|
|
2909
|
+
},
|
|
2910
|
+
580: (e, t, r)=>{
|
|
2911
|
+
var i = global.process;
|
|
2912
|
+
const processOk = function(e) {
|
|
2913
|
+
return e && "object" == typeof e && "function" == typeof e.removeListener && "function" == typeof e.emit && "function" == typeof e.reallyExit && "function" == typeof e.listeners && "function" == typeof e.kill && "number" == typeof e.pid && "function" == typeof e.on;
|
|
2914
|
+
};
|
|
2915
|
+
if (processOk(i)) {
|
|
2916
|
+
var n = r(491);
|
|
2917
|
+
var s = r(357);
|
|
2918
|
+
var a = /^win/i.test(i.platform);
|
|
2919
|
+
var o = r(361);
|
|
2920
|
+
if ("function" != typeof o) o = o.EventEmitter;
|
|
2921
|
+
var f;
|
|
2922
|
+
if (i.__signal_exit_emitter__) f = i.__signal_exit_emitter__;
|
|
2923
|
+
else {
|
|
2924
|
+
f = i.__signal_exit_emitter__ = new o;
|
|
2925
|
+
f.count = 0;
|
|
2926
|
+
f.emitted = {};
|
|
2927
|
+
}
|
|
2928
|
+
if (!f.infinite) {
|
|
2929
|
+
f.setMaxListeners(1 / 0);
|
|
2930
|
+
f.infinite = true;
|
|
2931
|
+
}
|
|
2932
|
+
e.exports = function(e, t) {
|
|
2933
|
+
if (!processOk(global.process)) return function() {};
|
|
2934
|
+
n.equal(typeof e, "function", "a callback must be provided for exit handler");
|
|
2935
|
+
if (false === d) p();
|
|
2936
|
+
var r = "exit";
|
|
2937
|
+
if (t && t.alwaysLast) r = "afterexit";
|
|
2938
|
+
var remove = function() {
|
|
2939
|
+
f.removeListener(r, e);
|
|
2940
|
+
if (0 === f.listeners("exit").length && 0 === f.listeners("afterexit").length) l();
|
|
2941
|
+
};
|
|
2942
|
+
f.on(r, e);
|
|
2943
|
+
return remove;
|
|
2944
|
+
};
|
|
2945
|
+
var l = function() {
|
|
2946
|
+
if (!d || !processOk(global.process)) return;
|
|
2947
|
+
d = false;
|
|
2948
|
+
s.forEach(function(e) {
|
|
2949
|
+
try {
|
|
2950
|
+
i.removeListener(e, h[e]);
|
|
2951
|
+
} catch (e) {}
|
|
2952
|
+
});
|
|
2953
|
+
i.emit = g;
|
|
2954
|
+
i.reallyExit = _;
|
|
2955
|
+
f.count -= 1;
|
|
2956
|
+
};
|
|
2957
|
+
e.exports.unload = l;
|
|
2958
|
+
var u = function(e, t, r) {
|
|
2959
|
+
if (f.emitted[e]) return;
|
|
2960
|
+
f.emitted[e] = true;
|
|
2961
|
+
f.emit(e, t, r);
|
|
2962
|
+
};
|
|
2963
|
+
var h = {};
|
|
2964
|
+
s.forEach(function(e) {
|
|
2965
|
+
h[e] = function() {
|
|
2966
|
+
if (!processOk(global.process)) return;
|
|
2967
|
+
var t = i.listeners(e);
|
|
2968
|
+
if (t.length === f.count) {
|
|
2969
|
+
l();
|
|
2970
|
+
u("exit", null, e);
|
|
2971
|
+
u("afterexit", null, e);
|
|
2972
|
+
if (a && "SIGHUP" === e) e = "SIGINT";
|
|
2973
|
+
i.kill(i.pid, e);
|
|
2974
|
+
}
|
|
2975
|
+
};
|
|
2976
|
+
});
|
|
2977
|
+
e.exports.signals = function() {
|
|
2978
|
+
return s;
|
|
2979
|
+
};
|
|
2980
|
+
var d = false;
|
|
2981
|
+
var p = function() {
|
|
2982
|
+
if (d || !processOk(global.process)) return;
|
|
2983
|
+
d = true;
|
|
2984
|
+
f.count += 1;
|
|
2985
|
+
s = s.filter(function(e) {
|
|
2986
|
+
try {
|
|
2987
|
+
i.on(e, h[e]);
|
|
2988
|
+
return true;
|
|
2989
|
+
} catch (e) {
|
|
2990
|
+
return false;
|
|
2991
|
+
}
|
|
2992
|
+
});
|
|
2993
|
+
i.emit = y;
|
|
2994
|
+
i.reallyExit = b;
|
|
2995
|
+
};
|
|
2996
|
+
e.exports.load = p;
|
|
2997
|
+
var _ = i.reallyExit;
|
|
2998
|
+
var b = function(e) {
|
|
2999
|
+
if (!processOk(global.process)) return;
|
|
3000
|
+
i.exitCode = e || 0;
|
|
3001
|
+
u("exit", i.exitCode, null);
|
|
3002
|
+
u("afterexit", i.exitCode, null);
|
|
3003
|
+
_.call(i, i.exitCode);
|
|
3004
|
+
};
|
|
3005
|
+
var g = i.emit;
|
|
3006
|
+
var y = function(e, t) {
|
|
3007
|
+
if (!("exit" === e && processOk(global.process))) return g.apply(this, arguments);
|
|
3008
|
+
if (void 0 !== t) i.exitCode = t;
|
|
3009
|
+
var r = g.apply(this, arguments);
|
|
3010
|
+
u("exit", i.exitCode, null);
|
|
3011
|
+
u("afterexit", i.exitCode, null);
|
|
3012
|
+
return r;
|
|
3013
|
+
};
|
|
3014
|
+
} else e.exports = function() {
|
|
3015
|
+
return function() {};
|
|
3016
|
+
};
|
|
3017
|
+
},
|
|
3018
|
+
357: (e)=>{
|
|
3019
|
+
e.exports = [
|
|
3020
|
+
"SIGABRT",
|
|
3021
|
+
"SIGALRM",
|
|
3022
|
+
"SIGHUP",
|
|
3023
|
+
"SIGINT",
|
|
3024
|
+
"SIGTERM"
|
|
3025
|
+
];
|
|
3026
|
+
if ("win32" !== process.platform) e.exports.push("SIGVTALRM", "SIGXCPU", "SIGXFSZ", "SIGUSR2", "SIGTRAP", "SIGSYS", "SIGQUIT", "SIGIOT");
|
|
3027
|
+
if ("linux" === process.platform) e.exports.push("SIGIO", "SIGPOLL", "SIGPWR", "SIGSTKFLT", "SIGUNUSED");
|
|
3028
|
+
},
|
|
3029
|
+
259: (e, t, r)=>{
|
|
3030
|
+
"use strict";
|
|
3031
|
+
var i = r(105).Buffer;
|
|
3032
|
+
var n = i.isEncoding || function(e) {
|
|
3033
|
+
e = "" + e;
|
|
3034
|
+
switch(e && e.toLowerCase()){
|
|
3035
|
+
case "hex":
|
|
3036
|
+
case "utf8":
|
|
3037
|
+
case "utf-8":
|
|
3038
|
+
case "ascii":
|
|
3039
|
+
case "binary":
|
|
3040
|
+
case "base64":
|
|
3041
|
+
case "ucs2":
|
|
3042
|
+
case "ucs-2":
|
|
3043
|
+
case "utf16le":
|
|
3044
|
+
case "utf-16le":
|
|
3045
|
+
case "raw":
|
|
3046
|
+
return true;
|
|
3047
|
+
default:
|
|
3048
|
+
return false;
|
|
3049
|
+
}
|
|
3050
|
+
};
|
|
3051
|
+
function _normalizeEncoding(e) {
|
|
3052
|
+
if (!e) return "utf8";
|
|
3053
|
+
var t;
|
|
3054
|
+
while(true)switch(e){
|
|
3055
|
+
case "utf8":
|
|
3056
|
+
case "utf-8":
|
|
3057
|
+
return "utf8";
|
|
3058
|
+
case "ucs2":
|
|
3059
|
+
case "ucs-2":
|
|
3060
|
+
case "utf16le":
|
|
3061
|
+
case "utf-16le":
|
|
3062
|
+
return "utf16le";
|
|
3063
|
+
case "latin1":
|
|
3064
|
+
case "binary":
|
|
3065
|
+
return "latin1";
|
|
3066
|
+
case "base64":
|
|
3067
|
+
case "ascii":
|
|
3068
|
+
case "hex":
|
|
3069
|
+
return e;
|
|
3070
|
+
default:
|
|
3071
|
+
if (t) return;
|
|
3072
|
+
e = ("" + e).toLowerCase();
|
|
3073
|
+
t = true;
|
|
3074
|
+
}
|
|
3075
|
+
}
|
|
3076
|
+
function normalizeEncoding(e) {
|
|
3077
|
+
var t = _normalizeEncoding(e);
|
|
3078
|
+
if ("string" != typeof t && (i.isEncoding === n || !n(e))) throw new Error("Unknown encoding: " + e);
|
|
3079
|
+
return t || e;
|
|
3080
|
+
}
|
|
3081
|
+
t.s = StringDecoder;
|
|
3082
|
+
function StringDecoder(e) {
|
|
3083
|
+
this.encoding = normalizeEncoding(e);
|
|
3084
|
+
var t;
|
|
3085
|
+
switch(this.encoding){
|
|
3086
|
+
case "utf16le":
|
|
3087
|
+
this.text = utf16Text;
|
|
3088
|
+
this.end = utf16End;
|
|
3089
|
+
t = 4;
|
|
3090
|
+
break;
|
|
3091
|
+
case "utf8":
|
|
3092
|
+
this.fillLast = utf8FillLast;
|
|
3093
|
+
t = 4;
|
|
3094
|
+
break;
|
|
3095
|
+
case "base64":
|
|
3096
|
+
this.text = base64Text;
|
|
3097
|
+
this.end = base64End;
|
|
3098
|
+
t = 3;
|
|
3099
|
+
break;
|
|
3100
|
+
default:
|
|
3101
|
+
this.write = simpleWrite;
|
|
3102
|
+
this.end = simpleEnd;
|
|
3103
|
+
return;
|
|
3104
|
+
}
|
|
3105
|
+
this.lastNeed = 0;
|
|
3106
|
+
this.lastTotal = 0;
|
|
3107
|
+
this.lastChar = i.allocUnsafe(t);
|
|
3108
|
+
}
|
|
3109
|
+
StringDecoder.prototype.write = function(e) {
|
|
3110
|
+
if (0 === e.length) return "";
|
|
3111
|
+
var t;
|
|
3112
|
+
var r;
|
|
3113
|
+
if (this.lastNeed) {
|
|
3114
|
+
t = this.fillLast(e);
|
|
3115
|
+
if (void 0 === t) return "";
|
|
3116
|
+
r = this.lastNeed;
|
|
3117
|
+
this.lastNeed = 0;
|
|
3118
|
+
} else r = 0;
|
|
3119
|
+
if (r < e.length) return t ? t + this.text(e, r) : this.text(e, r);
|
|
3120
|
+
return t || "";
|
|
3121
|
+
};
|
|
3122
|
+
StringDecoder.prototype.end = utf8End;
|
|
3123
|
+
StringDecoder.prototype.text = utf8Text;
|
|
3124
|
+
StringDecoder.prototype.fillLast = function(e) {
|
|
3125
|
+
if (this.lastNeed <= e.length) {
|
|
3126
|
+
e.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed);
|
|
3127
|
+
return this.lastChar.toString(this.encoding, 0, this.lastTotal);
|
|
3128
|
+
}
|
|
3129
|
+
e.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, e.length);
|
|
3130
|
+
this.lastNeed -= e.length;
|
|
3131
|
+
};
|
|
3132
|
+
function utf8CheckByte(e) {
|
|
3133
|
+
if (e <= 127) return 0;
|
|
3134
|
+
if (e >> 5 === 6) return 2;
|
|
3135
|
+
if (e >> 4 === 14) return 3;
|
|
3136
|
+
if (e >> 3 === 30) return 4;
|
|
3137
|
+
return e >> 6 === 2 ? -1 : -2;
|
|
3138
|
+
}
|
|
3139
|
+
function utf8CheckIncomplete(e, t, r) {
|
|
3140
|
+
var i = t.length - 1;
|
|
3141
|
+
if (i < r) return 0;
|
|
3142
|
+
var n = utf8CheckByte(t[i]);
|
|
3143
|
+
if (n >= 0) {
|
|
3144
|
+
if (n > 0) e.lastNeed = n - 1;
|
|
3145
|
+
return n;
|
|
3146
|
+
}
|
|
3147
|
+
if (--i < r || -2 === n) return 0;
|
|
3148
|
+
n = utf8CheckByte(t[i]);
|
|
3149
|
+
if (n >= 0) {
|
|
3150
|
+
if (n > 0) e.lastNeed = n - 2;
|
|
3151
|
+
return n;
|
|
3152
|
+
}
|
|
3153
|
+
if (--i < r || -2 === n) return 0;
|
|
3154
|
+
n = utf8CheckByte(t[i]);
|
|
3155
|
+
if (n >= 0) {
|
|
3156
|
+
if (n > 0) if (2 === n) n = 0;
|
|
3157
|
+
else e.lastNeed = n - 3;
|
|
3158
|
+
return n;
|
|
3159
|
+
}
|
|
3160
|
+
return 0;
|
|
3161
|
+
}
|
|
3162
|
+
function utf8CheckExtraBytes(e, t, r) {
|
|
3163
|
+
if ((192 & t[0]) !== 128) {
|
|
3164
|
+
e.lastNeed = 0;
|
|
3165
|
+
return "�";
|
|
3166
|
+
}
|
|
3167
|
+
if (e.lastNeed > 1 && t.length > 1) {
|
|
3168
|
+
if ((192 & t[1]) !== 128) {
|
|
3169
|
+
e.lastNeed = 1;
|
|
3170
|
+
return "�";
|
|
3171
|
+
}
|
|
3172
|
+
if (e.lastNeed > 2 && t.length > 2) {
|
|
3173
|
+
if ((192 & t[2]) !== 128) {
|
|
3174
|
+
e.lastNeed = 2;
|
|
3175
|
+
return "�";
|
|
3176
|
+
}
|
|
3177
|
+
}
|
|
3178
|
+
}
|
|
3179
|
+
}
|
|
3180
|
+
function utf8FillLast(e) {
|
|
3181
|
+
var t = this.lastTotal - this.lastNeed;
|
|
3182
|
+
var r = utf8CheckExtraBytes(this, e, t);
|
|
3183
|
+
if (void 0 !== r) return r;
|
|
3184
|
+
if (this.lastNeed <= e.length) {
|
|
3185
|
+
e.copy(this.lastChar, t, 0, this.lastNeed);
|
|
3186
|
+
return this.lastChar.toString(this.encoding, 0, this.lastTotal);
|
|
3187
|
+
}
|
|
3188
|
+
e.copy(this.lastChar, t, 0, e.length);
|
|
3189
|
+
this.lastNeed -= e.length;
|
|
3190
|
+
}
|
|
3191
|
+
function utf8Text(e, t) {
|
|
3192
|
+
var r = utf8CheckIncomplete(this, e, t);
|
|
3193
|
+
if (!this.lastNeed) return e.toString("utf8", t);
|
|
3194
|
+
this.lastTotal = r;
|
|
3195
|
+
var i = e.length - (r - this.lastNeed);
|
|
3196
|
+
e.copy(this.lastChar, 0, i);
|
|
3197
|
+
return e.toString("utf8", t, i);
|
|
3198
|
+
}
|
|
3199
|
+
function utf8End(e) {
|
|
3200
|
+
var t = e && e.length ? this.write(e) : "";
|
|
3201
|
+
if (this.lastNeed) return t + "�";
|
|
3202
|
+
return t;
|
|
3203
|
+
}
|
|
3204
|
+
function utf16Text(e, t) {
|
|
3205
|
+
if ((e.length - t) % 2 === 0) {
|
|
3206
|
+
var r = e.toString("utf16le", t);
|
|
3207
|
+
if (r) {
|
|
3208
|
+
var i = r.charCodeAt(r.length - 1);
|
|
3209
|
+
if (i >= 55296 && i <= 56319) {
|
|
3210
|
+
this.lastNeed = 2;
|
|
3211
|
+
this.lastTotal = 4;
|
|
3212
|
+
this.lastChar[0] = e[e.length - 2];
|
|
3213
|
+
this.lastChar[1] = e[e.length - 1];
|
|
3214
|
+
return r.slice(0, -1);
|
|
3215
|
+
}
|
|
3216
|
+
}
|
|
3217
|
+
return r;
|
|
3218
|
+
}
|
|
3219
|
+
this.lastNeed = 1;
|
|
3220
|
+
this.lastTotal = 2;
|
|
3221
|
+
this.lastChar[0] = e[e.length - 1];
|
|
3222
|
+
return e.toString("utf16le", t, e.length - 1);
|
|
3223
|
+
}
|
|
3224
|
+
function utf16End(e) {
|
|
3225
|
+
var t = e && e.length ? this.write(e) : "";
|
|
3226
|
+
if (this.lastNeed) {
|
|
3227
|
+
var r = this.lastTotal - this.lastNeed;
|
|
3228
|
+
return t + this.lastChar.toString("utf16le", 0, r);
|
|
3229
|
+
}
|
|
3230
|
+
return t;
|
|
3231
|
+
}
|
|
3232
|
+
function base64Text(e, t) {
|
|
3233
|
+
var r = (e.length - t) % 3;
|
|
3234
|
+
if (0 === r) return e.toString("base64", t);
|
|
3235
|
+
this.lastNeed = 3 - r;
|
|
3236
|
+
this.lastTotal = 3;
|
|
3237
|
+
if (1 === r) this.lastChar[0] = e[e.length - 1];
|
|
3238
|
+
else {
|
|
3239
|
+
this.lastChar[0] = e[e.length - 2];
|
|
3240
|
+
this.lastChar[1] = e[e.length - 1];
|
|
3241
|
+
}
|
|
3242
|
+
return e.toString("base64", t, e.length - r);
|
|
3243
|
+
}
|
|
3244
|
+
function base64End(e) {
|
|
3245
|
+
var t = e && e.length ? this.write(e) : "";
|
|
3246
|
+
if (this.lastNeed) return t + this.lastChar.toString("base64", 0, 3 - this.lastNeed);
|
|
3247
|
+
return t;
|
|
3248
|
+
}
|
|
3249
|
+
function simpleWrite(e) {
|
|
3250
|
+
return e.toString(this.encoding);
|
|
3251
|
+
}
|
|
3252
|
+
function simpleEnd(e) {
|
|
3253
|
+
return e && e.length ? this.write(e) : "";
|
|
3254
|
+
}
|
|
3255
|
+
},
|
|
3256
|
+
125: (e, t, r)=>{
|
|
3257
|
+
e.exports = r(837).deprecate;
|
|
3258
|
+
},
|
|
3259
|
+
70: (e)=>{
|
|
3260
|
+
e.exports = [
|
|
3261
|
+
[
|
|
3262
|
+
768,
|
|
3263
|
+
879
|
|
3264
|
+
],
|
|
3265
|
+
[
|
|
3266
|
+
1155,
|
|
3267
|
+
1158
|
|
3268
|
+
],
|
|
3269
|
+
[
|
|
3270
|
+
1160,
|
|
3271
|
+
1161
|
|
3272
|
+
],
|
|
3273
|
+
[
|
|
3274
|
+
1425,
|
|
3275
|
+
1469
|
|
3276
|
+
],
|
|
3277
|
+
[
|
|
3278
|
+
1471,
|
|
3279
|
+
1471
|
|
3280
|
+
],
|
|
3281
|
+
[
|
|
3282
|
+
1473,
|
|
3283
|
+
1474
|
|
3284
|
+
],
|
|
3285
|
+
[
|
|
3286
|
+
1476,
|
|
3287
|
+
1477
|
|
3288
|
+
],
|
|
3289
|
+
[
|
|
3290
|
+
1479,
|
|
3291
|
+
1479
|
|
3292
|
+
],
|
|
3293
|
+
[
|
|
3294
|
+
1536,
|
|
3295
|
+
1539
|
|
3296
|
+
],
|
|
3297
|
+
[
|
|
3298
|
+
1552,
|
|
3299
|
+
1557
|
|
3300
|
+
],
|
|
3301
|
+
[
|
|
3302
|
+
1611,
|
|
3303
|
+
1630
|
|
3304
|
+
],
|
|
3305
|
+
[
|
|
3306
|
+
1648,
|
|
3307
|
+
1648
|
|
3308
|
+
],
|
|
3309
|
+
[
|
|
3310
|
+
1750,
|
|
3311
|
+
1764
|
|
3312
|
+
],
|
|
3313
|
+
[
|
|
3314
|
+
1767,
|
|
3315
|
+
1768
|
|
3316
|
+
],
|
|
3317
|
+
[
|
|
3318
|
+
1770,
|
|
3319
|
+
1773
|
|
3320
|
+
],
|
|
3321
|
+
[
|
|
3322
|
+
1807,
|
|
3323
|
+
1807
|
|
3324
|
+
],
|
|
3325
|
+
[
|
|
3326
|
+
1809,
|
|
3327
|
+
1809
|
|
3328
|
+
],
|
|
3329
|
+
[
|
|
3330
|
+
1840,
|
|
3331
|
+
1866
|
|
3332
|
+
],
|
|
3333
|
+
[
|
|
3334
|
+
1958,
|
|
3335
|
+
1968
|
|
3336
|
+
],
|
|
3337
|
+
[
|
|
3338
|
+
2027,
|
|
3339
|
+
2035
|
|
3340
|
+
],
|
|
3341
|
+
[
|
|
3342
|
+
2305,
|
|
3343
|
+
2306
|
|
3344
|
+
],
|
|
3345
|
+
[
|
|
3346
|
+
2364,
|
|
3347
|
+
2364
|
|
3348
|
+
],
|
|
3349
|
+
[
|
|
3350
|
+
2369,
|
|
3351
|
+
2376
|
|
3352
|
+
],
|
|
3353
|
+
[
|
|
3354
|
+
2381,
|
|
3355
|
+
2381
|
|
3356
|
+
],
|
|
3357
|
+
[
|
|
3358
|
+
2385,
|
|
3359
|
+
2388
|
|
3360
|
+
],
|
|
3361
|
+
[
|
|
3362
|
+
2402,
|
|
3363
|
+
2403
|
|
3364
|
+
],
|
|
3365
|
+
[
|
|
3366
|
+
2433,
|
|
3367
|
+
2433
|
|
3368
|
+
],
|
|
3369
|
+
[
|
|
3370
|
+
2492,
|
|
3371
|
+
2492
|
|
3372
|
+
],
|
|
3373
|
+
[
|
|
3374
|
+
2497,
|
|
3375
|
+
2500
|
|
3376
|
+
],
|
|
3377
|
+
[
|
|
3378
|
+
2509,
|
|
3379
|
+
2509
|
|
3380
|
+
],
|
|
3381
|
+
[
|
|
3382
|
+
2530,
|
|
3383
|
+
2531
|
|
3384
|
+
],
|
|
3385
|
+
[
|
|
3386
|
+
2561,
|
|
3387
|
+
2562
|
|
3388
|
+
],
|
|
3389
|
+
[
|
|
3390
|
+
2620,
|
|
3391
|
+
2620
|
|
3392
|
+
],
|
|
3393
|
+
[
|
|
3394
|
+
2625,
|
|
3395
|
+
2626
|
|
3396
|
+
],
|
|
3397
|
+
[
|
|
3398
|
+
2631,
|
|
3399
|
+
2632
|
|
3400
|
+
],
|
|
3401
|
+
[
|
|
3402
|
+
2635,
|
|
3403
|
+
2637
|
|
3404
|
+
],
|
|
3405
|
+
[
|
|
3406
|
+
2672,
|
|
3407
|
+
2673
|
|
3408
|
+
],
|
|
3409
|
+
[
|
|
3410
|
+
2689,
|
|
3411
|
+
2690
|
|
3412
|
+
],
|
|
3413
|
+
[
|
|
3414
|
+
2748,
|
|
3415
|
+
2748
|
|
3416
|
+
],
|
|
3417
|
+
[
|
|
3418
|
+
2753,
|
|
3419
|
+
2757
|
|
3420
|
+
],
|
|
3421
|
+
[
|
|
3422
|
+
2759,
|
|
3423
|
+
2760
|
|
3424
|
+
],
|
|
3425
|
+
[
|
|
3426
|
+
2765,
|
|
3427
|
+
2765
|
|
3428
|
+
],
|
|
3429
|
+
[
|
|
3430
|
+
2786,
|
|
3431
|
+
2787
|
|
3432
|
+
],
|
|
3433
|
+
[
|
|
3434
|
+
2817,
|
|
3435
|
+
2817
|
|
3436
|
+
],
|
|
3437
|
+
[
|
|
3438
|
+
2876,
|
|
3439
|
+
2876
|
|
3440
|
+
],
|
|
3441
|
+
[
|
|
3442
|
+
2879,
|
|
3443
|
+
2879
|
|
3444
|
+
],
|
|
3445
|
+
[
|
|
3446
|
+
2881,
|
|
3447
|
+
2883
|
|
3448
|
+
],
|
|
3449
|
+
[
|
|
3450
|
+
2893,
|
|
3451
|
+
2893
|
|
3452
|
+
],
|
|
3453
|
+
[
|
|
3454
|
+
2902,
|
|
3455
|
+
2902
|
|
3456
|
+
],
|
|
3457
|
+
[
|
|
3458
|
+
2946,
|
|
3459
|
+
2946
|
|
3460
|
+
],
|
|
3461
|
+
[
|
|
3462
|
+
3008,
|
|
3463
|
+
3008
|
|
3464
|
+
],
|
|
3465
|
+
[
|
|
3466
|
+
3021,
|
|
3467
|
+
3021
|
|
3468
|
+
],
|
|
3469
|
+
[
|
|
3470
|
+
3134,
|
|
3471
|
+
3136
|
|
3472
|
+
],
|
|
3473
|
+
[
|
|
3474
|
+
3142,
|
|
3475
|
+
3144
|
|
3476
|
+
],
|
|
3477
|
+
[
|
|
3478
|
+
3146,
|
|
3479
|
+
3149
|
|
3480
|
+
],
|
|
3481
|
+
[
|
|
3482
|
+
3157,
|
|
3483
|
+
3158
|
|
3484
|
+
],
|
|
3485
|
+
[
|
|
3486
|
+
3260,
|
|
3487
|
+
3260
|
|
3488
|
+
],
|
|
3489
|
+
[
|
|
3490
|
+
3263,
|
|
3491
|
+
3263
|
|
3492
|
+
],
|
|
3493
|
+
[
|
|
3494
|
+
3270,
|
|
3495
|
+
3270
|
|
3496
|
+
],
|
|
3497
|
+
[
|
|
3498
|
+
3276,
|
|
3499
|
+
3277
|
|
3500
|
+
],
|
|
3501
|
+
[
|
|
3502
|
+
3298,
|
|
3503
|
+
3299
|
|
3504
|
+
],
|
|
3505
|
+
[
|
|
3506
|
+
3393,
|
|
3507
|
+
3395
|
|
3508
|
+
],
|
|
3509
|
+
[
|
|
3510
|
+
3405,
|
|
3511
|
+
3405
|
|
3512
|
+
],
|
|
3513
|
+
[
|
|
3514
|
+
3530,
|
|
3515
|
+
3530
|
|
3516
|
+
],
|
|
3517
|
+
[
|
|
3518
|
+
3538,
|
|
3519
|
+
3540
|
|
3520
|
+
],
|
|
3521
|
+
[
|
|
3522
|
+
3542,
|
|
3523
|
+
3542
|
|
3524
|
+
],
|
|
3525
|
+
[
|
|
3526
|
+
3633,
|
|
3527
|
+
3633
|
|
3528
|
+
],
|
|
3529
|
+
[
|
|
3530
|
+
3636,
|
|
3531
|
+
3642
|
|
3532
|
+
],
|
|
3533
|
+
[
|
|
3534
|
+
3655,
|
|
3535
|
+
3662
|
|
3536
|
+
],
|
|
3537
|
+
[
|
|
3538
|
+
3761,
|
|
3539
|
+
3761
|
|
3540
|
+
],
|
|
3541
|
+
[
|
|
3542
|
+
3764,
|
|
3543
|
+
3769
|
|
3544
|
+
],
|
|
3545
|
+
[
|
|
3546
|
+
3771,
|
|
3547
|
+
3772
|
|
3548
|
+
],
|
|
3549
|
+
[
|
|
3550
|
+
3784,
|
|
3551
|
+
3789
|
|
3552
|
+
],
|
|
3553
|
+
[
|
|
3554
|
+
3864,
|
|
3555
|
+
3865
|
|
3556
|
+
],
|
|
3557
|
+
[
|
|
3558
|
+
3893,
|
|
3559
|
+
3893
|
|
3560
|
+
],
|
|
3561
|
+
[
|
|
3562
|
+
3895,
|
|
3563
|
+
3895
|
|
3564
|
+
],
|
|
3565
|
+
[
|
|
3566
|
+
3897,
|
|
3567
|
+
3897
|
|
3568
|
+
],
|
|
3569
|
+
[
|
|
3570
|
+
3953,
|
|
3571
|
+
3966
|
|
3572
|
+
],
|
|
3573
|
+
[
|
|
3574
|
+
3968,
|
|
3575
|
+
3972
|
|
3576
|
+
],
|
|
3577
|
+
[
|
|
3578
|
+
3974,
|
|
3579
|
+
3975
|
|
3580
|
+
],
|
|
3581
|
+
[
|
|
3582
|
+
3984,
|
|
3583
|
+
3991
|
|
3584
|
+
],
|
|
3585
|
+
[
|
|
3586
|
+
3993,
|
|
3587
|
+
4028
|
|
3588
|
+
],
|
|
3589
|
+
[
|
|
3590
|
+
4038,
|
|
3591
|
+
4038
|
|
3592
|
+
],
|
|
3593
|
+
[
|
|
3594
|
+
4141,
|
|
3595
|
+
4144
|
|
3596
|
+
],
|
|
3597
|
+
[
|
|
3598
|
+
4146,
|
|
3599
|
+
4146
|
|
3600
|
+
],
|
|
3601
|
+
[
|
|
3602
|
+
4150,
|
|
3603
|
+
4151
|
|
3604
|
+
],
|
|
3605
|
+
[
|
|
3606
|
+
4153,
|
|
3607
|
+
4153
|
|
3608
|
+
],
|
|
3609
|
+
[
|
|
3610
|
+
4184,
|
|
3611
|
+
4185
|
|
3612
|
+
],
|
|
3613
|
+
[
|
|
3614
|
+
4448,
|
|
3615
|
+
4607
|
|
3616
|
+
],
|
|
3617
|
+
[
|
|
3618
|
+
4959,
|
|
3619
|
+
4959
|
|
3620
|
+
],
|
|
3621
|
+
[
|
|
3622
|
+
5906,
|
|
3623
|
+
5908
|
|
3624
|
+
],
|
|
3625
|
+
[
|
|
3626
|
+
5938,
|
|
3627
|
+
5940
|
|
3628
|
+
],
|
|
3629
|
+
[
|
|
3630
|
+
5970,
|
|
3631
|
+
5971
|
|
3632
|
+
],
|
|
3633
|
+
[
|
|
3634
|
+
6002,
|
|
3635
|
+
6003
|
|
3636
|
+
],
|
|
3637
|
+
[
|
|
3638
|
+
6068,
|
|
3639
|
+
6069
|
|
3640
|
+
],
|
|
3641
|
+
[
|
|
3642
|
+
6071,
|
|
3643
|
+
6077
|
|
3644
|
+
],
|
|
3645
|
+
[
|
|
3646
|
+
6086,
|
|
3647
|
+
6086
|
|
3648
|
+
],
|
|
3649
|
+
[
|
|
3650
|
+
6089,
|
|
3651
|
+
6099
|
|
3652
|
+
],
|
|
3653
|
+
[
|
|
3654
|
+
6109,
|
|
3655
|
+
6109
|
|
3656
|
+
],
|
|
3657
|
+
[
|
|
3658
|
+
6155,
|
|
3659
|
+
6157
|
|
3660
|
+
],
|
|
3661
|
+
[
|
|
3662
|
+
6313,
|
|
3663
|
+
6313
|
|
3664
|
+
],
|
|
3665
|
+
[
|
|
3666
|
+
6432,
|
|
3667
|
+
6434
|
|
3668
|
+
],
|
|
3669
|
+
[
|
|
3670
|
+
6439,
|
|
3671
|
+
6440
|
|
3672
|
+
],
|
|
3673
|
+
[
|
|
3674
|
+
6450,
|
|
3675
|
+
6450
|
|
3676
|
+
],
|
|
3677
|
+
[
|
|
3678
|
+
6457,
|
|
3679
|
+
6459
|
|
3680
|
+
],
|
|
3681
|
+
[
|
|
3682
|
+
6679,
|
|
3683
|
+
6680
|
|
3684
|
+
],
|
|
3685
|
+
[
|
|
3686
|
+
6912,
|
|
3687
|
+
6915
|
|
3688
|
+
],
|
|
3689
|
+
[
|
|
3690
|
+
6964,
|
|
3691
|
+
6964
|
|
3692
|
+
],
|
|
3693
|
+
[
|
|
3694
|
+
6966,
|
|
3695
|
+
6970
|
|
3696
|
+
],
|
|
3697
|
+
[
|
|
3698
|
+
6972,
|
|
3699
|
+
6972
|
|
3700
|
+
],
|
|
3701
|
+
[
|
|
3702
|
+
6978,
|
|
3703
|
+
6978
|
|
3704
|
+
],
|
|
3705
|
+
[
|
|
3706
|
+
7019,
|
|
3707
|
+
7027
|
|
3708
|
+
],
|
|
3709
|
+
[
|
|
3710
|
+
7616,
|
|
3711
|
+
7626
|
|
3712
|
+
],
|
|
3713
|
+
[
|
|
3714
|
+
7678,
|
|
3715
|
+
7679
|
|
3716
|
+
],
|
|
3717
|
+
[
|
|
3718
|
+
8203,
|
|
3719
|
+
8207
|
|
3720
|
+
],
|
|
3721
|
+
[
|
|
3722
|
+
8234,
|
|
3723
|
+
8238
|
|
3724
|
+
],
|
|
3725
|
+
[
|
|
3726
|
+
8288,
|
|
3727
|
+
8291
|
|
3728
|
+
],
|
|
3729
|
+
[
|
|
3730
|
+
8298,
|
|
3731
|
+
8303
|
|
3732
|
+
],
|
|
3733
|
+
[
|
|
3734
|
+
8400,
|
|
3735
|
+
8431
|
|
3736
|
+
],
|
|
3737
|
+
[
|
|
3738
|
+
12330,
|
|
3739
|
+
12335
|
|
3740
|
+
],
|
|
3741
|
+
[
|
|
3742
|
+
12441,
|
|
3743
|
+
12442
|
|
3744
|
+
],
|
|
3745
|
+
[
|
|
3746
|
+
43014,
|
|
3747
|
+
43014
|
|
3748
|
+
],
|
|
3749
|
+
[
|
|
3750
|
+
43019,
|
|
3751
|
+
43019
|
|
3752
|
+
],
|
|
3753
|
+
[
|
|
3754
|
+
43045,
|
|
3755
|
+
43046
|
|
3756
|
+
],
|
|
3757
|
+
[
|
|
3758
|
+
64286,
|
|
3759
|
+
64286
|
|
3760
|
+
],
|
|
3761
|
+
[
|
|
3762
|
+
65024,
|
|
3763
|
+
65039
|
|
3764
|
+
],
|
|
3765
|
+
[
|
|
3766
|
+
65056,
|
|
3767
|
+
65059
|
|
3768
|
+
],
|
|
3769
|
+
[
|
|
3770
|
+
65279,
|
|
3771
|
+
65279
|
|
3772
|
+
],
|
|
3773
|
+
[
|
|
3774
|
+
65529,
|
|
3775
|
+
65531
|
|
3776
|
+
],
|
|
3777
|
+
[
|
|
3778
|
+
68097,
|
|
3779
|
+
68099
|
|
3780
|
+
],
|
|
3781
|
+
[
|
|
3782
|
+
68101,
|
|
3783
|
+
68102
|
|
3784
|
+
],
|
|
3785
|
+
[
|
|
3786
|
+
68108,
|
|
3787
|
+
68111
|
|
3788
|
+
],
|
|
3789
|
+
[
|
|
3790
|
+
68152,
|
|
3791
|
+
68154
|
|
3792
|
+
],
|
|
3793
|
+
[
|
|
3794
|
+
68159,
|
|
3795
|
+
68159
|
|
3796
|
+
],
|
|
3797
|
+
[
|
|
3798
|
+
119143,
|
|
3799
|
+
119145
|
|
3800
|
+
],
|
|
3801
|
+
[
|
|
3802
|
+
119155,
|
|
3803
|
+
119170
|
|
3804
|
+
],
|
|
3805
|
+
[
|
|
3806
|
+
119173,
|
|
3807
|
+
119179
|
|
3808
|
+
],
|
|
3809
|
+
[
|
|
3810
|
+
119210,
|
|
3811
|
+
119213
|
|
3812
|
+
],
|
|
3813
|
+
[
|
|
3814
|
+
119362,
|
|
3815
|
+
119364
|
|
3816
|
+
],
|
|
3817
|
+
[
|
|
3818
|
+
917505,
|
|
3819
|
+
917505
|
|
3820
|
+
],
|
|
3821
|
+
[
|
|
3822
|
+
917536,
|
|
3823
|
+
917631
|
|
3824
|
+
],
|
|
3825
|
+
[
|
|
3826
|
+
917760,
|
|
3827
|
+
917999
|
|
3828
|
+
]
|
|
3829
|
+
];
|
|
3830
|
+
},
|
|
3831
|
+
74: (e, t, r)=>{
|
|
3832
|
+
"use strict";
|
|
3833
|
+
var i = r(906);
|
|
3834
|
+
var n = r(70);
|
|
3835
|
+
var s = {
|
|
3836
|
+
nul: 0,
|
|
3837
|
+
control: 0
|
|
3838
|
+
};
|
|
3839
|
+
e.exports = function(e) {
|
|
3840
|
+
return wcswidth(e, s);
|
|
3841
|
+
};
|
|
3842
|
+
e.exports.config = function(e) {
|
|
3843
|
+
e = i(e || {}, s);
|
|
3844
|
+
return function(t) {
|
|
3845
|
+
return wcswidth(t, e);
|
|
3846
|
+
};
|
|
3847
|
+
};
|
|
3848
|
+
function wcswidth(e, t) {
|
|
3849
|
+
if ("string" != typeof e) return wcwidth(e, t);
|
|
3850
|
+
var r = 0;
|
|
3851
|
+
for(var i = 0; i < e.length; i++){
|
|
3852
|
+
var n = wcwidth(e.charCodeAt(i), t);
|
|
3853
|
+
if (n < 0) return -1;
|
|
3854
|
+
r += n;
|
|
3855
|
+
}
|
|
3856
|
+
return r;
|
|
3857
|
+
}
|
|
3858
|
+
function wcwidth(e, t) {
|
|
3859
|
+
if (0 === e) return t.nul;
|
|
3860
|
+
if (e < 32 || e >= 127 && e < 160) return t.control;
|
|
3861
|
+
if (bisearch(e)) return 0;
|
|
3862
|
+
return 1 + (e >= 4352 && (e <= 4447 || 9001 == e || 9002 == e || e >= 11904 && e <= 42191 && 12351 != e || e >= 44032 && e <= 55203 || e >= 63744 && e <= 64255 || e >= 65040 && e <= 65049 || e >= 65072 && e <= 65135 || e >= 65280 && e <= 65376 || e >= 65504 && e <= 65510 || e >= 131072 && e <= 196605 || e >= 196608 && e <= 262141));
|
|
3863
|
+
}
|
|
3864
|
+
function bisearch(e) {
|
|
3865
|
+
var t = 0;
|
|
3866
|
+
var r = n.length - 1;
|
|
3867
|
+
var i;
|
|
3868
|
+
if (e < n[0][0] || e > n[r][1]) return false;
|
|
3869
|
+
while(r >= t){
|
|
3870
|
+
i = Math.floor((t + r) / 2);
|
|
3871
|
+
if (e > n[i][1]) t = i + 1;
|
|
3872
|
+
else {
|
|
3873
|
+
if (!(e < n[i][0])) return true;
|
|
3874
|
+
r = i - 1;
|
|
3875
|
+
}
|
|
3876
|
+
}
|
|
3877
|
+
return false;
|
|
3878
|
+
}
|
|
3879
|
+
},
|
|
3880
|
+
234: (e)=>{
|
|
3881
|
+
"use strict";
|
|
3882
|
+
e.exports = require("../chalk");
|
|
3883
|
+
},
|
|
3884
|
+
286: (e)=>{
|
|
3885
|
+
"use strict";
|
|
3886
|
+
e.exports = require("../strip-ansi");
|
|
3887
|
+
},
|
|
3888
|
+
491: (e)=>{
|
|
3889
|
+
"use strict";
|
|
3890
|
+
e.exports = require("assert");
|
|
3891
|
+
},
|
|
3892
|
+
300: (e)=>{
|
|
3893
|
+
"use strict";
|
|
3894
|
+
e.exports = require("buffer");
|
|
3895
|
+
},
|
|
3896
|
+
361: (e)=>{
|
|
3897
|
+
"use strict";
|
|
3898
|
+
e.exports = require("events");
|
|
3899
|
+
},
|
|
3900
|
+
521: (e)=>{
|
|
3901
|
+
"use strict";
|
|
3902
|
+
e.exports = require("readline");
|
|
3903
|
+
},
|
|
3904
|
+
781: (e)=>{
|
|
3905
|
+
"use strict";
|
|
3906
|
+
e.exports = require("stream");
|
|
3907
|
+
},
|
|
3908
|
+
837: (e)=>{
|
|
3909
|
+
"use strict";
|
|
3910
|
+
e.exports = require("util");
|
|
3911
|
+
},
|
|
3912
|
+
32: (e)=>{
|
|
3913
|
+
"use strict";
|
|
3914
|
+
e.exports = JSON.parse('{"dots":{"interval":80,"frames":["⠋","⠙","⠹","⠸","⠼","⠴","⠦","⠧","⠇","⠏"]},"dots2":{"interval":80,"frames":["⣾","⣽","⣻","⢿","⡿","⣟","⣯","⣷"]},"dots3":{"interval":80,"frames":["⠋","⠙","⠚","⠞","⠖","⠦","⠴","⠲","⠳","⠓"]},"dots4":{"interval":80,"frames":["⠄","⠆","⠇","⠋","⠙","⠸","⠰","⠠","⠰","⠸","⠙","⠋","⠇","⠆"]},"dots5":{"interval":80,"frames":["⠋","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋"]},"dots6":{"interval":80,"frames":["⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠴","⠲","⠒","⠂","⠂","⠒","⠚","⠙","⠉","⠁"]},"dots7":{"interval":80,"frames":["⠈","⠉","⠋","⠓","⠒","⠐","⠐","⠒","⠖","⠦","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈"]},"dots8":{"interval":80,"frames":["⠁","⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈","⠈"]},"dots9":{"interval":80,"frames":["⢹","⢺","⢼","⣸","⣇","⡧","⡗","⡏"]},"dots10":{"interval":80,"frames":["⢄","⢂","⢁","⡁","⡈","⡐","⡠"]},"dots11":{"interval":100,"frames":["⠁","⠂","⠄","⡀","⢀","⠠","⠐","⠈"]},"dots12":{"interval":80,"frames":["⢀⠀","⡀⠀","⠄⠀","⢂⠀","⡂⠀","⠅⠀","⢃⠀","⡃⠀","⠍⠀","⢋⠀","⡋⠀","⠍⠁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⢈⠩","⡀⢙","⠄⡙","⢂⠩","⡂⢘","⠅⡘","⢃⠨","⡃⢐","⠍⡐","⢋⠠","⡋⢀","⠍⡁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⠈⠩","⠀⢙","⠀⡙","⠀⠩","⠀⢘","⠀⡘","⠀⠨","⠀⢐","⠀⡐","⠀⠠","⠀⢀","⠀⡀"]},"dots8Bit":{"interval":80,"frames":["⠀","⠁","⠂","⠃","⠄","⠅","⠆","⠇","⡀","⡁","⡂","⡃","⡄","⡅","⡆","⡇","⠈","⠉","⠊","⠋","⠌","⠍","⠎","⠏","⡈","⡉","⡊","⡋","⡌","⡍","⡎","⡏","⠐","⠑","⠒","⠓","⠔","⠕","⠖","⠗","⡐","⡑","⡒","⡓","⡔","⡕","⡖","⡗","⠘","⠙","⠚","⠛","⠜","⠝","⠞","⠟","⡘","⡙","⡚","⡛","⡜","⡝","⡞","⡟","⠠","⠡","⠢","⠣","⠤","⠥","⠦","⠧","⡠","⡡","⡢","⡣","⡤","⡥","⡦","⡧","⠨","⠩","⠪","⠫","⠬","⠭","⠮","⠯","⡨","⡩","⡪","⡫","⡬","⡭","⡮","⡯","⠰","⠱","⠲","⠳","⠴","⠵","⠶","⠷","⡰","⡱","⡲","⡳","⡴","⡵","⡶","⡷","⠸","⠹","⠺","⠻","⠼","⠽","⠾","⠿","⡸","⡹","⡺","⡻","⡼","⡽","⡾","⡿","⢀","⢁","⢂","⢃","⢄","⢅","⢆","⢇","⣀","⣁","⣂","⣃","⣄","⣅","⣆","⣇","⢈","⢉","⢊","⢋","⢌","⢍","⢎","⢏","⣈","⣉","⣊","⣋","⣌","⣍","⣎","⣏","⢐","⢑","⢒","⢓","⢔","⢕","⢖","⢗","⣐","⣑","⣒","⣓","⣔","⣕","⣖","⣗","⢘","⢙","⢚","⢛","⢜","⢝","⢞","⢟","⣘","⣙","⣚","⣛","⣜","⣝","⣞","⣟","⢠","⢡","⢢","⢣","⢤","⢥","⢦","⢧","⣠","⣡","⣢","⣣","⣤","⣥","⣦","⣧","⢨","⢩","⢪","⢫","⢬","⢭","⢮","⢯","⣨","⣩","⣪","⣫","⣬","⣭","⣮","⣯","⢰","⢱","⢲","⢳","⢴","⢵","⢶","⢷","⣰","⣱","⣲","⣳","⣴","⣵","⣶","⣷","⢸","⢹","⢺","⢻","⢼","⢽","⢾","⢿","⣸","⣹","⣺","⣻","⣼","⣽","⣾","⣿"]},"line":{"interval":130,"frames":["-","\\\\","|","/"]},"line2":{"interval":100,"frames":["⠂","-","–","—","–","-"]},"pipe":{"interval":100,"frames":["┤","┘","┴","└","├","┌","┬","┐"]},"simpleDots":{"interval":400,"frames":[". ",".. ","..."," "]},"simpleDotsScrolling":{"interval":200,"frames":[". ",".. ","..."," .."," ."," "]},"star":{"interval":70,"frames":["✶","✸","✹","✺","✹","✷"]},"star2":{"interval":80,"frames":["+","x","*"]},"flip":{"interval":70,"frames":["_","_","_","-","`","`","\'","´","-","_","_","_"]},"hamburger":{"interval":100,"frames":["☱","☲","☴"]},"growVertical":{"interval":120,"frames":["▁","▃","▄","▅","▆","▇","▆","▅","▄","▃"]},"growHorizontal":{"interval":120,"frames":["▏","▎","▍","▌","▋","▊","▉","▊","▋","▌","▍","▎"]},"balloon":{"interval":140,"frames":[" ",".","o","O","@","*"," "]},"balloon2":{"interval":120,"frames":[".","o","O","°","O","o","."]},"noise":{"interval":100,"frames":["▓","▒","░"]},"bounce":{"interval":120,"frames":["⠁","⠂","⠄","⠂"]},"boxBounce":{"interval":120,"frames":["▖","▘","▝","▗"]},"boxBounce2":{"interval":100,"frames":["▌","▀","▐","▄"]},"triangle":{"interval":50,"frames":["◢","◣","◤","◥"]},"arc":{"interval":100,"frames":["◜","◠","◝","◞","◡","◟"]},"circle":{"interval":120,"frames":["◡","⊙","◠"]},"squareCorners":{"interval":180,"frames":["◰","◳","◲","◱"]},"circleQuarters":{"interval":120,"frames":["◴","◷","◶","◵"]},"circleHalves":{"interval":50,"frames":["◐","◓","◑","◒"]},"squish":{"interval":100,"frames":["╫","╪"]},"toggle":{"interval":250,"frames":["⊶","⊷"]},"toggle2":{"interval":80,"frames":["▫","▪"]},"toggle3":{"interval":120,"frames":["□","■"]},"toggle4":{"interval":100,"frames":["■","□","▪","▫"]},"toggle5":{"interval":100,"frames":["▮","▯"]},"toggle6":{"interval":300,"frames":["ဝ","၀"]},"toggle7":{"interval":80,"frames":["⦾","⦿"]},"toggle8":{"interval":100,"frames":["◍","◌"]},"toggle9":{"interval":100,"frames":["◉","◎"]},"toggle10":{"interval":100,"frames":["㊂","㊀","㊁"]},"toggle11":{"interval":50,"frames":["⧇","⧆"]},"toggle12":{"interval":120,"frames":["☗","☖"]},"toggle13":{"interval":80,"frames":["=","*","-"]},"arrow":{"interval":100,"frames":["←","↖","↑","↗","→","↘","↓","↙"]},"arrow2":{"interval":80,"frames":["⬆️ ","↗️ ","➡️ ","↘️ ","⬇️ ","↙️ ","⬅️ ","↖️ "]},"arrow3":{"interval":120,"frames":["▹▹▹▹▹","▸▹▹▹▹","▹▸▹▹▹","▹▹▸▹▹","▹▹▹▸▹","▹▹▹▹▸"]},"bouncingBar":{"interval":80,"frames":["[ ]","[= ]","[== ]","[=== ]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},"bouncingBall":{"interval":80,"frames":["( ● )","( ● )","( ● )","( ● )","( ●)","( ● )","( ● )","( ● )","( ● )","(● )"]},"smiley":{"interval":200,"frames":["😄 ","😝 "]},"monkey":{"interval":300,"frames":["🙈 ","🙈 ","🙉 ","🙊 "]},"hearts":{"interval":100,"frames":["💛 ","💙 ","💜 ","💚 ","❤️ "]},"clock":{"interval":100,"frames":["🕛 ","🕐 ","🕑 ","🕒 ","🕓 ","🕔 ","🕕 ","🕖 ","🕗 ","🕘 ","🕙 ","🕚 "]},"earth":{"interval":180,"frames":["🌍 ","🌎 ","🌏 "]},"material":{"interval":17,"frames":["█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███████▁▁▁▁▁▁▁▁▁▁▁▁▁","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","██████████▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","█████████████▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁██████████████▁▁▁▁","▁▁▁██████████████▁▁▁","▁▁▁▁█████████████▁▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁▁▁████████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁██████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","██████▁▁▁▁▁▁▁▁▁▁▁▁▁█","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁▁█████████████▁▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁▁███████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁▁█████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁"]},"moon":{"interval":80,"frames":["🌑 ","🌒 ","🌓 ","🌔 ","🌕 ","🌖 ","🌗 ","🌘 "]},"runner":{"interval":140,"frames":["🚶 ","🏃 "]},"pong":{"interval":80,"frames":["▐⠂ ▌","▐⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂▌","▐ ⠠▌","▐ ⡀▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐⠠ ▌"]},"shark":{"interval":120,"frames":["▐|\\\\____________▌","▐_|\\\\___________▌","▐__|\\\\__________▌","▐___|\\\\_________▌","▐____|\\\\________▌","▐_____|\\\\_______▌","▐______|\\\\______▌","▐_______|\\\\_____▌","▐________|\\\\____▌","▐_________|\\\\___▌","▐__________|\\\\__▌","▐___________|\\\\_▌","▐____________|\\\\▌","▐____________/|▌","▐___________/|_▌","▐__________/|__▌","▐_________/|___▌","▐________/|____▌","▐_______/|_____▌","▐______/|______▌","▐_____/|_______▌","▐____/|________▌","▐___/|_________▌","▐__/|__________▌","▐_/|___________▌","▐/|____________▌"]},"dqpb":{"interval":100,"frames":["d","q","p","b"]},"weather":{"interval":100,"frames":["☀️ ","☀️ ","☀️ ","🌤 ","⛅️ ","🌥 ","☁️ ","🌧 ","🌨 ","🌧 ","🌨 ","🌧 ","🌨 ","⛈ ","🌨 ","🌧 ","🌨 ","☁️ ","🌥 ","⛅️ ","🌤 ","☀️ ","☀️ "]},"christmas":{"interval":400,"frames":["🌲","🎄"]},"grenade":{"interval":80,"frames":["، ","′ "," ´ "," ‾ "," ⸌"," ⸊"," |"," ⁎"," ⁕"," ෴ "," ⁓"," "," "," "]},"point":{"interval":125,"frames":["∙∙∙","●∙∙","∙●∙","∙∙●","∙∙∙"]},"layer":{"interval":150,"frames":["-","=","≡"]},"betaWave":{"interval":80,"frames":["ρββββββ","βρβββββ","ββρββββ","βββρβββ","ββββρββ","βββββρβ","ββββββρ"]},"fingerDance":{"interval":160,"frames":["🤘 ","🤟 ","🖖 ","✋ ","🤚 ","👆 "]},"fistBump":{"interval":80,"frames":["🤜 🤛 ","🤜 🤛 ","🤜 🤛 "," 🤜 🤛 "," 🤜🤛 "," 🤜✨🤛 ","🤜 ✨ 🤛 "]},"soccerHeader":{"interval":80,"frames":[" 🧑⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 "]},"mindblown":{"interval":160,"frames":["😐 ","😐 ","😮 ","😮 ","😦 ","😦 ","😧 ","😧 ","🤯 ","💥 ","✨ "," "," "," "]},"speaker":{"interval":160,"frames":["🔈 ","🔉 ","🔊 ","🔉 "]},"orangePulse":{"interval":100,"frames":["🔸 ","🔶 ","🟠 ","🟠 ","🔶 "]},"bluePulse":{"interval":100,"frames":["🔹 ","🔷 ","🔵 ","🔵 ","🔷 "]},"orangeBluePulse":{"interval":100,"frames":["🔸 ","🔶 ","🟠 ","🟠 ","🔶 ","🔹 ","🔷 ","🔵 ","🔵 ","🔷 "]},"timeTravel":{"interval":100,"frames":["🕛 ","🕚 ","🕙 ","🕘 ","🕗 ","🕖 ","🕕 ","🕔 ","🕓 ","🕒 ","🕑 ","🕐 "]},"aesthetic":{"interval":80,"frames":["▰▱▱▱▱▱▱","▰▰▱▱▱▱▱","▰▰▰▱▱▱▱","▰▰▰▰▱▱▱","▰▰▰▰▰▱▱","▰▰▰▰▰▰▱","▰▰▰▰▰▰▰","▰▱▱▱▱▱▱"]}}');
|
|
3915
|
+
}
|
|
3916
|
+
};
|
|
3917
|
+
var t = {};
|
|
3918
|
+
function __nccwpck_require__(r) {
|
|
3919
|
+
var i = t[r];
|
|
3920
|
+
if (void 0 !== i) return i.exports;
|
|
3921
|
+
var n = t[r] = {
|
|
3922
|
+
exports: {}
|
|
3923
|
+
};
|
|
3924
|
+
var s = true;
|
|
3925
|
+
try {
|
|
3926
|
+
e[r](n, n.exports, __nccwpck_require__);
|
|
3927
|
+
s = false;
|
|
3928
|
+
} finally{
|
|
3929
|
+
if (s) delete t[r];
|
|
3930
|
+
}
|
|
3931
|
+
return n.exports;
|
|
3932
|
+
}
|
|
3933
|
+
if (void 0 !== __nccwpck_require__) __nccwpck_require__.ab = __dirname + "/";
|
|
3934
|
+
var r = __nccwpck_require__(942);
|
|
3935
|
+
module.exports = r;
|
|
3936
|
+
})();
|