@comate/zulu 0.0.9 → 0.0.11
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/comate-engine/bin/comate.js +10 -0
- package/comate-engine/fallbackServer.js +1 -0
- package/comate-engine/node_modules/@comate/plugin-engine/dist/index.d.ts +188 -0
- package/comate-engine/node_modules/@comate/plugin-engine/dist/index.js +36 -0
- package/comate-engine/node_modules/@comate/plugin-engine/package.json +49 -0
- package/comate-engine/node_modules/@comate/plugin-host/bin.js +44 -0
- package/comate-engine/node_modules/@comate/plugin-host/dist/index.js +1 -0
- package/comate-engine/node_modules/@comate/plugin-host/dist/main.d.ts +14 -0
- package/comate-engine/node_modules/@comate/plugin-host/dist/main.js +9 -0
- package/comate-engine/node_modules/@comate/plugin-host/dist/user-Btg63hPI.js +36 -0
- package/comate-engine/node_modules/@comate/plugin-host/package.json +47 -0
- package/comate-engine/node_modules/@comate/plugin-shared-internals/dist/index.d.ts +2849 -0
- package/comate-engine/node_modules/@comate/plugin-shared-internals/dist/index.js +36 -0
- package/comate-engine/node_modules/@comate/plugin-shared-internals/package.json +72 -0
- package/comate-engine/node_modules/@comate/preview-proxy/bin/preview.js +13 -0
- package/comate-engine/node_modules/@comate/preview-proxy/dist/index.js +350 -0
- package/comate-engine/node_modules/@comate/preview-proxy/package.json +83 -0
- package/comate-engine/node_modules/@comate/preview-proxy/static/comate-preview-injector.css +1 -0
- package/comate-engine/node_modules/@comate/preview-proxy/static/comate-preview-injector.js +2 -0
- package/comate-engine/node_modules/@comate/preview-proxy/static/comate-preview-injector.js.LICENSE.txt +58 -0
- package/comate-engine/node_modules/compare-versions/LICENSE +21 -0
- package/comate-engine/node_modules/compare-versions/README.md +133 -0
- package/comate-engine/node_modules/compare-versions/lib/esm/compare.d.ts +19 -0
- package/comate-engine/node_modules/compare-versions/lib/esm/compare.js +44 -0
- package/comate-engine/node_modules/compare-versions/lib/esm/compare.js.map +1 -0
- package/comate-engine/node_modules/compare-versions/lib/esm/compareVersions.d.ts +8 -0
- package/comate-engine/node_modules/compare-versions/lib/esm/compareVersions.js +29 -0
- package/comate-engine/node_modules/compare-versions/lib/esm/compareVersions.js.map +1 -0
- package/comate-engine/node_modules/compare-versions/lib/esm/index.d.ts +5 -0
- package/comate-engine/node_modules/compare-versions/lib/esm/index.js +5 -0
- package/comate-engine/node_modules/compare-versions/lib/esm/index.js.map +1 -0
- package/comate-engine/node_modules/compare-versions/lib/esm/satisfies.d.ts +14 -0
- package/comate-engine/node_modules/compare-versions/lib/esm/satisfies.js +66 -0
- package/comate-engine/node_modules/compare-versions/lib/esm/satisfies.js.map +1 -0
- package/comate-engine/node_modules/compare-versions/lib/esm/utils.d.ts +7 -0
- package/comate-engine/node_modules/compare-versions/lib/esm/utils.js +37 -0
- package/comate-engine/node_modules/compare-versions/lib/esm/utils.js.map +1 -0
- package/comate-engine/node_modules/compare-versions/lib/esm/validate.d.ts +28 -0
- package/comate-engine/node_modules/compare-versions/lib/esm/validate.js +31 -0
- package/comate-engine/node_modules/compare-versions/lib/esm/validate.js.map +1 -0
- package/comate-engine/node_modules/compare-versions/lib/umd/index.js +216 -0
- package/comate-engine/node_modules/compare-versions/lib/umd/index.js.map +1 -0
- package/comate-engine/node_modules/compare-versions/package.json +45 -0
- package/comate-engine/node_modules/compare-versions/src/compare.ts +54 -0
- package/comate-engine/node_modules/compare-versions/src/compareVersions.ts +31 -0
- package/comate-engine/node_modules/compare-versions/src/index.ts +5 -0
- package/comate-engine/node_modules/compare-versions/src/satisfies.ts +69 -0
- package/comate-engine/node_modules/compare-versions/src/utils.ts +50 -0
- package/comate-engine/node_modules/compare-versions/src/validate.ts +36 -0
- package/comate-engine/node_modules/pkce-challenge/LICENSE +21 -0
- package/comate-engine/node_modules/pkce-challenge/README.md +55 -0
- package/comate-engine/node_modules/pkce-challenge/dist/index.browser.d.ts +19 -0
- package/comate-engine/node_modules/pkce-challenge/dist/index.browser.js +72 -0
- package/comate-engine/node_modules/pkce-challenge/dist/index.node.cjs +80 -0
- package/comate-engine/node_modules/pkce-challenge/dist/index.node.d.cts +19 -0
- package/comate-engine/node_modules/pkce-challenge/dist/index.node.d.ts +19 -0
- package/comate-engine/node_modules/pkce-challenge/dist/index.node.js +75 -0
- package/comate-engine/node_modules/pkce-challenge/package.json +58 -0
- package/comate-engine/node_modules/web-streams-polyfill/LICENSE +22 -0
- package/comate-engine/node_modules/web-streams-polyfill/README.md +119 -0
- package/comate-engine/node_modules/web-streams-polyfill/dist/polyfill.es5.js +8 -0
- package/comate-engine/node_modules/web-streams-polyfill/dist/polyfill.js +8 -0
- package/comate-engine/node_modules/web-streams-polyfill/dist/ponyfill.es5.js +8 -0
- package/comate-engine/node_modules/web-streams-polyfill/dist/ponyfill.es5.mjs +8 -0
- package/comate-engine/node_modules/web-streams-polyfill/dist/ponyfill.js +8 -0
- package/comate-engine/node_modules/web-streams-polyfill/dist/ponyfill.mjs +8 -0
- package/comate-engine/node_modules/web-streams-polyfill/package.json +98 -0
- package/comate-engine/node_modules/web-streams-polyfill/types/polyfill.d.ts +28 -0
- package/comate-engine/node_modules/web-streams-polyfill/types/ponyfill.d.ts +809 -0
- package/comate-engine/node_modules/web-streams-polyfill/types/tsdoc-metadata.json +11 -0
- package/comate-engine/package.json +91 -0
- package/comate-engine/plugins/aiscan/assets/icon.svg +12 -0
- package/comate-engine/plugins/aiscan/dist/index.js +53861 -0
- package/comate-engine/plugins/aiscan/package.json +67 -0
- package/comate-engine/plugins/appdev/assets/icon.png +0 -0
- package/comate-engine/plugins/appdev/dist/help.md +12 -0
- package/comate-engine/plugins/appdev/dist/index.d.ts +2 -0
- package/comate-engine/plugins/appdev/dist/index.js +194 -0
- package/comate-engine/plugins/appdev/dist/providers/err.d.ts +8 -0
- package/comate-engine/plugins/appdev/dist/providers/err.js +37 -0
- package/comate-engine/plugins/appdev/dist/providers/fallback.d.ts +5 -0
- package/comate-engine/plugins/appdev/dist/providers/fallback.js +28 -0
- package/comate-engine/plugins/appdev/dist/providers/help.d.ts +8 -0
- package/comate-engine/plugins/appdev/dist/providers/help.js +19 -0
- package/comate-engine/plugins/appdev/dist/providers/medusa.d.ts +8 -0
- package/comate-engine/plugins/appdev/dist/providers/medusa.js +39 -0
- package/comate-engine/plugins/appdev/dist/providers/qa.d.ts +8 -0
- package/comate-engine/plugins/appdev/dist/providers/qa.js +33 -0
- package/comate-engine/plugins/appdev/package.json +67 -0
- package/comate-engine/plugins/bfc/assets/bfc-icon.png +0 -0
- package/comate-engine/plugins/bfc/dist/config/config.d.ts +4 -0
- package/comate-engine/plugins/bfc/dist/config/config.js +4 -0
- package/comate-engine/plugins/bfc/dist/help.md +11 -0
- package/comate-engine/plugins/bfc/dist/index.d.ts +2 -0
- package/comate-engine/plugins/bfc/dist/index.js +452 -0
- package/comate-engine/plugins/bfc/dist/providers/bfcInstructMode.d.ts +8 -0
- package/comate-engine/plugins/bfc/dist/providers/bfcInstructMode.js +77 -0
- package/comate-engine/plugins/bfc/dist/providers/genAbnormalCode.d.ts +8 -0
- package/comate-engine/plugins/bfc/dist/providers/genAbnormalCode.js +71 -0
- package/comate-engine/plugins/bfc/dist/providers/genBfcCode.d.ts +8 -0
- package/comate-engine/plugins/bfc/dist/providers/genBfcCode.js +74 -0
- package/comate-engine/plugins/bfc/dist/providers/getBatchCases.d.ts +10 -0
- package/comate-engine/plugins/bfc/dist/providers/getBatchCases.js +71 -0
- package/comate-engine/plugins/bfc/dist/providers/help.d.ts +8 -0
- package/comate-engine/plugins/bfc/dist/providers/help.js +19 -0
- package/comate-engine/plugins/bfc/dist/service/generateService.d.ts +14 -0
- package/comate-engine/plugins/bfc/dist/service/generateService.js +27 -0
- package/comate-engine/plugins/bfc/package.json +85 -0
- package/comate-engine/plugins/bpm/assets/bpm.png +0 -0
- package/comate-engine/plugins/bpm/dist/index.js +313 -0
- package/comate-engine/plugins/bpm/package.json +65 -0
- package/comate-engine/plugins/casebuilder/assets/icon.svg +1 -0
- package/comate-engine/plugins/casebuilder/dist/help.md +33 -0
- package/comate-engine/plugins/casebuilder/dist/index.js +837 -0
- package/comate-engine/plugins/casebuilder/package.json +80 -0
- package/comate-engine/plugins/centrino/assets/icon.png +0 -0
- package/comate-engine/plugins/centrino/dist/help.md +30 -0
- package/comate-engine/plugins/centrino/dist/index.js +1046 -0
- package/comate-engine/plugins/centrino/package.json +68 -0
- package/comate-engine/plugins/cnap/assets/cnap.png +0 -0
- package/comate-engine/plugins/cnap/dist/help.md +11 -0
- package/comate-engine/plugins/cnap/dist/index.js +171 -0
- package/comate-engine/plugins/cnap/package.json +65 -0
- package/comate-engine/plugins/demo-feature/assets/icon.svg +1 -0
- package/comate-engine/plugins/demo-feature/dist/help.md +1 -0
- package/comate-engine/plugins/demo-feature/dist/index.d.ts +2 -0
- package/comate-engine/plugins/demo-feature/dist/index.js +36008 -0
- package/comate-engine/plugins/demo-feature/dist/providers/codeQuery.d.ts +12 -0
- package/comate-engine/plugins/demo-feature/dist/providers/codeQuery.js +23 -0
- package/comate-engine/plugins/demo-feature/dist/providers/codeSearch.d.ts +8 -0
- package/comate-engine/plugins/demo-feature/dist/providers/codeSearch.js +26 -0
- package/comate-engine/plugins/demo-feature/dist/providers/config.d.ts +13 -0
- package/comate-engine/plugins/demo-feature/dist/providers/config.js +25 -0
- package/comate-engine/plugins/demo-feature/dist/providers/context.d.ts +10 -0
- package/comate-engine/plugins/demo-feature/dist/providers/context.js +49 -0
- package/comate-engine/plugins/demo-feature/dist/providers/debugAgent.d.ts +8 -0
- package/comate-engine/plugins/demo-feature/dist/providers/debugAgent.js +65 -0
- package/comate-engine/plugins/demo-feature/dist/providers/explainCode.d.ts +9 -0
- package/comate-engine/plugins/demo-feature/dist/providers/explainCode.js +24 -0
- package/comate-engine/plugins/demo-feature/dist/providers/fallback.d.ts +5 -0
- package/comate-engine/plugins/demo-feature/dist/providers/fallback.js +23 -0
- package/comate-engine/plugins/demo-feature/dist/providers/file.d.ts +13 -0
- package/comate-engine/plugins/demo-feature/dist/providers/file.js +36 -0
- package/comate-engine/plugins/demo-feature/dist/providers/help.d.ts +8 -0
- package/comate-engine/plugins/demo-feature/dist/providers/help.js +19 -0
- package/comate-engine/plugins/demo-feature/dist/providers/information.d.ts +13 -0
- package/comate-engine/plugins/demo-feature/dist/providers/information.js +23 -0
- package/comate-engine/plugins/demo-feature/dist/providers/knowledge.d.ts +15 -0
- package/comate-engine/plugins/demo-feature/dist/providers/knowledge.js +71 -0
- package/comate-engine/plugins/demo-feature/dist/providers/log.d.ts +12 -0
- package/comate-engine/plugins/demo-feature/dist/providers/log.js +21 -0
- package/comate-engine/plugins/demo-feature/dist/providers/onlyCode.d.ts +8 -0
- package/comate-engine/plugins/demo-feature/dist/providers/onlyCode.js +23 -0
- package/comate-engine/plugins/demo-feature/dist/providers/pluginConfig.d.ts +8 -0
- package/comate-engine/plugins/demo-feature/dist/providers/pluginConfig.js +47 -0
- package/comate-engine/plugins/demo-feature/dist/providers/prompt.d.ts +7 -0
- package/comate-engine/plugins/demo-feature/dist/providers/prompt.js +7 -0
- package/comate-engine/plugins/demo-feature/dist/providers/ragProvider.d.ts +8 -0
- package/comate-engine/plugins/demo-feature/dist/providers/ragProvider.js +17 -0
- package/comate-engine/plugins/demo-feature/dist/providers/render.d.ts +8 -0
- package/comate-engine/plugins/demo-feature/dist/providers/render.js +75 -0
- package/comate-engine/plugins/demo-feature/dist/providers/renderJsx.d.ts +10 -0
- package/comate-engine/plugins/demo-feature/dist/providers/renderJsx.js +173 -0
- package/comate-engine/plugins/demo-feature/dist/providers/section.d.ts +8 -0
- package/comate-engine/plugins/demo-feature/dist/providers/section.js +136 -0
- package/comate-engine/plugins/demo-feature/dist/providers/selectedKnowledge.d.ts +12 -0
- package/comate-engine/plugins/demo-feature/dist/providers/selectedKnowledge.js +17 -0
- package/comate-engine/plugins/demo-feature/dist/providers/streaming.d.ts +8 -0
- package/comate-engine/plugins/demo-feature/dist/providers/streaming.js +29 -0
- package/comate-engine/plugins/demo-feature/dist/providers/userDetail.d.ts +8 -0
- package/comate-engine/plugins/demo-feature/dist/providers/userDetail.js +28 -0
- package/comate-engine/plugins/demo-feature/package.json +214 -0
- package/comate-engine/plugins/demo-timer/assets/icon.svg +2 -0
- package/comate-engine/plugins/demo-timer/dist/index.js +463 -0
- package/comate-engine/plugins/demo-timer/package.json +73 -0
- package/comate-engine/plugins/dev-tools/assets/icon.png +0 -0
- package/comate-engine/plugins/dev-tools/dist/help.md +18 -0
- package/comate-engine/plugins/dev-tools/dist/index.js +166160 -0
- package/comate-engine/plugins/dev-tools/package.json +95 -0
- package/comate-engine/plugins/devaux/assets/icon.svg +1 -0
- package/comate-engine/plugins/devaux/dist/help.md +41 -0
- package/comate-engine/plugins/devaux/dist/index.js +73829 -0
- package/comate-engine/plugins/devaux/dist/static/tree-sitter-cpp.wasm +0 -0
- package/comate-engine/plugins/devaux/dist/static/tree-sitter-go.wasm +0 -0
- package/comate-engine/plugins/devaux/dist/static/tree-sitter.wasm +0 -0
- package/comate-engine/plugins/devaux/dist/tree-sitter.wasm +0 -0
- package/comate-engine/plugins/devaux/package.json +83 -0
- package/comate-engine/plugins/f2c/assets/icon.svg +11 -0
- package/comate-engine/plugins/f2c/dist/help.md +13 -0
- package/comate-engine/plugins/f2c/dist/index.js +64551 -0
- package/comate-engine/plugins/f2c/package.json +56 -0
- package/comate-engine/plugins/fcnap/assets/icon.png +0 -0
- package/comate-engine/plugins/fcnap/dist/help.md +9 -0
- package/comate-engine/plugins/fcnap/dist/index.js +105 -0
- package/comate-engine/plugins/fcnap/package.json +50 -0
- package/comate-engine/plugins/front-end-skills/assets/icon.svg +1 -0
- package/comate-engine/plugins/front-end-skills/dist/help.md +17 -0
- package/comate-engine/plugins/front-end-skills/dist/index.js +8172 -0
- package/comate-engine/plugins/front-end-skills/package.json +79 -0
- package/comate-engine/plugins/gdp/assets/icon.png +0 -0
- package/comate-engine/plugins/gdp/dist/help.md +11 -0
- package/comate-engine/plugins/gdp/dist/index.js +53065 -0
- package/comate-engine/plugins/gdp/package.json +79 -0
- package/comate-engine/plugins/git/assets/git.svg +1 -0
- package/comate-engine/plugins/git/assets/icon.svg +1 -0
- package/comate-engine/plugins/git/dist/help.md +7 -0
- package/comate-engine/plugins/git/dist/index.js +32675 -0
- package/comate-engine/plugins/git/package.json +91 -0
- package/comate-engine/plugins/harmonyos/assets/harmonyos.png +0 -0
- package/comate-engine/plugins/harmonyos/dist/index.js +78 -0
- package/comate-engine/plugins/harmonyos/package.json +37 -0
- package/comate-engine/plugins/iapi/assets/icon.png +0 -0
- package/comate-engine/plugins/iapi/dist/help.md +13 -0
- package/comate-engine/plugins/iapi/dist/index.js +458 -0
- package/comate-engine/plugins/iapi/dist/static/lang/tree-sitter-go.wasm +0 -0
- package/comate-engine/plugins/iapi/dist/static/lang/tree-sitter-java.wasm +0 -0
- package/comate-engine/plugins/iapi/dist/static/tree-sitter-go.wasm +0 -0
- package/comate-engine/plugins/iapi/dist/static/tree-sitter-java.wasm +0 -0
- package/comate-engine/plugins/iapi/dist/tree-sitter.wasm +0 -0
- package/comate-engine/plugins/iapi/package.json +102 -0
- package/comate-engine/plugins/icafe/assets/icafe.svg +1 -0
- package/comate-engine/plugins/icafe/dist/help.md +5 -0
- package/comate-engine/plugins/icafe/dist/index.js +885 -0
- package/comate-engine/plugins/icafe/package.json +74 -0
- package/comate-engine/plugins/ievalue/assets/iEValue.svg +10 -0
- package/comate-engine/plugins/ievalue/dist/index.js +2920 -0
- package/comate-engine/plugins/ievalue/package.json +88 -0
- package/comate-engine/plugins/ipipe/assets/iPipePlugin.png +0 -0
- package/comate-engine/plugins/ipipe/dist/help.md +15 -0
- package/comate-engine/plugins/ipipe/dist/index.js +7264 -0
- package/comate-engine/plugins/ipipe/package.json +62 -0
- package/comate-engine/plugins/jarvis/assets/icon.svg +1 -0
- package/comate-engine/plugins/jarvis/dist/help.md +17 -0
- package/comate-engine/plugins/jarvis/dist/index.js +140416 -0
- package/comate-engine/plugins/jarvis/package.json +93 -0
- package/comate-engine/plugins/mapsearch/assets/mapsearchicon.png +0 -0
- package/comate-engine/plugins/mapsearch/dist/help.md +4 -0
- package/comate-engine/plugins/mapsearch/dist/index.js +145 -0
- package/comate-engine/plugins/mapsearch/package.json +53 -0
- package/comate-engine/plugins/paddle/assets/icon.png +0 -0
- package/comate-engine/plugins/paddle/assets/paconvert-3.0.1-py3-none-any.whl +0 -0
- package/comate-engine/plugins/paddle/dist/help.md +31 -0
- package/comate-engine/plugins/paddle/dist/index.js +1011 -0
- package/comate-engine/plugins/paddle/package.json +129 -0
- package/comate-engine/plugins/robot/assets/Robot.png +0 -0
- package/comate-engine/plugins/robot/dist/index.js +288 -0
- package/comate-engine/plugins/robot/package.json +67 -0
- package/comate-engine/plugins/security/assets/comate.png +0 -0
- package/comate-engine/plugins/security/dist/index.js +18393 -0
- package/comate-engine/plugins/security/package.json +82 -0
- package/comate-engine/plugins/smartapp/assets/icon.png +0 -0
- package/comate-engine/plugins/smartapp/dist/help.md +4 -0
- package/comate-engine/plugins/smartapp/dist/index.js +113 -0
- package/comate-engine/plugins/smartapp/package.json +54 -0
- package/comate-engine/plugins/springer/assets/icon.png +0 -0
- package/comate-engine/plugins/springer/dist/help.md +4 -0
- package/comate-engine/plugins/springer/dist/index.js +94525 -0
- package/comate-engine/plugins/springer/package.json +71 -0
- package/comate-engine/plugins/testmate/assets/icon.svg +1 -0
- package/comate-engine/plugins/testmate/dist/help.md +62 -0
- package/comate-engine/plugins/testmate/dist/index.js +21483 -0
- package/comate-engine/plugins/testmate/package.json +85 -0
- package/comate-engine/plugins/tor/assets/TorPlugin.png +0 -0
- package/comate-engine/plugins/tor/dist/help.md +22 -0
- package/comate-engine/plugins/tor/dist/index.js +807 -0
- package/comate-engine/plugins/tor/package.json +99 -0
- package/comate-engine/plugins/weiyun/assets/icon.png +0 -0
- package/comate-engine/plugins/weiyun/dist/help.md +11 -0
- package/comate-engine/plugins/weiyun/dist/index.js +100491 -0
- package/comate-engine/plugins/weiyun/package.json +55 -0
- package/comate-engine/plugins/wenku/assets/icon.svg +1 -0
- package/comate-engine/plugins/wenku/dist/index.js +249 -0
- package/comate-engine/plugins/wenku/package.json +55 -0
- package/comate-engine/plugins/workcard/assets/favicon.png +0 -0
- package/comate-engine/plugins/workcard/dist/help.md +30 -0
- package/comate-engine/plugins/workcard/dist/index.js +490 -0
- package/comate-engine/plugins/workcard/package.json +95 -0
- package/comate-engine/plugins/xiaomi-aiot/assets/icon.png +0 -0
- package/comate-engine/plugins/xiaomi-aiot/dist/help.md +6 -0
- package/comate-engine/plugins/xiaomi-aiot/dist/index.js +37466 -0
- package/comate-engine/plugins/xiaomi-aiot/package.json +63 -0
- package/comate-engine/server.d.ts +3 -0
- package/comate-engine/server.js +474 -0
- package/dist/bundle/index.js +29 -58174
- package/package.json +2 -1
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import e from"node:path";import t from"node:fs/promises";import n,{createWriteStream as i,createReadStream as s,realpathSync as o,statSync as a,Stats as r}from"node:fs";import c from"fs";import p from"constants";import l,{Readable as u}from"stream";import d from"util";import m from"assert";import f from"path";import h from"os";import x from"http";import g from"https";import v from"url";import b from"crypto";import y from"tty";import w from"zlib";import _,{EventEmitter as E}from"events";import S,{homedir as k,constants as R}from"node:os";import T from"node:process";import O,{fileURLToPath as A,URL as C,pathToFileURL as P}from"node:url";import{Transform as L}from"node:stream";import"node:crypto";import{Buffer as j}from"node:buffer";import I,{ChildProcess as N}from"node:child_process";import F from"child_process";import{setTimeout as D}from"node:timers/promises";import{debuglog as M,format as $,inspect as B}from"node:util";import U from"node:assert";import{builtinModules as z}from"node:module";import H from"node:v8";const G="LOG";class q{current=0;next(){return++this.current}}class W{tasks=new Map;start(e){const t=this.tasks.get(e)??function(){const e={};if(e.promise=new Promise((t=>e.resolve=t)),"object"!=typeof(t=e).promise||"function"!=typeof t.resolve)throw new Error("Failed to create a pending task due to unexpected system error");var t;return e}();return this.tasks.set(e,t),t.promise}resolve(e,t){const n=this.tasks.get(e);return n&&(n.resolve(t),this.tasks.delete(e)),!!n}remove(e){return this.tasks.delete(e)}}class K{chunksCount=-1;queue=[];put(e,t,n){if(this.chunksCount>=0)return;const i=this.queue.at(e);if(i&&"pending"===i.state)i.resolve({value:t,done:!1});else{const n={state:"resolved",value:t};this.queue[e]=n}n&&(this.chunksCount=this.queue.length)}[Symbol.asyncIterator](){const e={cursor:0};return{next:()=>{const t=e.cursor;if(this.chunksCount>=0&&t>=this.chunksCount)return Promise.resolve({value:void 0,done:!0});const n=this.queue.at(t);if(e.cursor++,n)return"resolved"===n.state?Promise.resolve({value:n.value,done:!1}):n.promise;const i={state:"pending"};return i.promise=new Promise((e=>i.resolve=e)),this.queue[t]=i,i.promise}}}}class V{tasks=new Map;start(e){const t=this.tasks.get(e)??new K;return this.tasks.set(e,t),t}put(e,t,n,i){const s=this.tasks.get(e);return s&&(s.put(t,n,i),i&&this.tasks.delete(e)),!!s}}const Y="SESSION_FINISH";class Q{sessionId;parent;lifeCycleConnected;listeners=new Map;channel;timeoutTimer;executions=new W;streams=new V;incrementer=new q;constructor(e,t){"string"==typeof e.association?(this.parent=null,this.sessionId=e.association):(this.parent=e.association,this.sessionId=e.association.sessionId),this.lifeCycleConnected=e.options?.lifeCycleConnected??!0,this.channel=t,this.initializeListeners(),this.timeoutTimer=setTimeout((()=>this.log("warn",this.constructor.name,"SessionTimeout")),3e5)}async handleMessage(e,t,n){e!==G&&this.log("system",this.constructor.name,"HandleMessage",{actionName:e}),await(this.listeners.get(e)?.(t,n)),n&&(this.streams.put(n.executionId,n.segmentOrder,t,n.done),this.executions.resolve(n.executionId,t))}start(e){this.log("system",this.constructor.name,"SessionStart"),this.send({action:"SESSION_START"}),this.send(e)}finish(){clearTimeout(this.timeoutTimer),this.log("system",this.constructor.name,"SessionFinish"),this.send({action:Y})}log(e,t,n,i){this.parent?this.parent.log(e,t,n,i):this.send({action:G,payload:{level:e,source:t,action:n,detail:i??{}}})}send(e,t){const n=t??{executionId:this.incrementer.next(),segmentOrder:0,done:!0},i={sessionId:this.sessionId,data:e,execution:n};return this.channel.send(i),this.executions.start(n.executionId)}sendStreaming(e,t){const n=t??{executionId:this.incrementer.next(),segmentOrder:0,done:!0},i={sessionId:this.sessionId,data:e,execution:n};return this.channel.send(i),this.streams.start(n.executionId)}setListener(e,t){if(this.listeners.has(e))throw new Error(`Duplicate listener on action ${e.toString()}`);this.listeners.set(e,t)}forwardMessageToParent(e){this.setListener(e,(async(t,n)=>{this.parent&&this.parent.send({action:e,payload:t},n)}))}initializeListeners(){this.forwardMessageToParent(G),this.setListener(Y,(async()=>{this.parent&&this.lifeCycleConnected&&this.parent.send({action:Y})}))}}class X{implement;sessions=new Map;tasks=new W;constructor(e){if("function"!=typeof e.send)throw new Error("Cannot send data over channel");this.implement=e}start(){this.implement.on("message",(async e=>{if(t=e,!t?.sessionId)return;var t;const{data:{action:n,payload:i},sessionId:s,execution:o}=e;if("string"!=typeof n)return;const a=this.sessions.get(s)??this.createSession({association:s});this.sessions.set(s,a),await a.handleMessage(n,i,o),n===Y&&(this.sessions.delete(s),this.tasks.resolve(s))}))}async startSession(e,t,n){const i=this.createSession({association:e,options:n});this.sessions.set(i.sessionId,i);try{return i.start(t),setTimeout((()=>this.tasks.resolve(i.sessionId)),1e3),this.tasks.start(i.sessionId)}catch(e){throw this.sessions.delete(i.sessionId),this.tasks.remove(i.sessionId),e}}send(e,t,n){return this.sessions.get(e)?.send(t,n)}log(e,t,n={}){const i={sessionId:null,data:{action:G,payload:{level:"system",source:e,action:t,detail:n}}};this.implement.send(i)}}const J="REQUEST_PERMISSION";var Z;!function(e){e.WorkspaceFileSystem="WorkspaceFileSystem",e.FullDiskFileSystem="FullDiskFileSystem",e.CodeSecurity="CodeSecurity",e.UserDetail="UserDetail"}(Z||(Z={}));const ee="ASK_LLM",te="ASK_LLM_STREAMING";var ne,ie,se;!function(e){e[e.Text=0]="Text",e[e.Code=1]="Code",e[e.Function=2]="Function",e[e.ExplainCode=3]="ExplainCode",e[e.DocCommentForCode=4]="DocCommentForCode",e[e.CommentForCode=5]="CommentForCode"}(ne||(ne={})),function(e){e.Default="default-model",e.ErnieBot="ernie-bot",e.ErnieBot128="ernie-bot-3-128",e.ErnieBot4="ernie-bot-4",e.ErnieBot4Turbo="ernie-bot-4-turbo",e.ErnieBot4Turbo128="ernie-bot-4-turbo-128"}(ie||(ie={})),function(e){e.Default="default-model",e.ErnieBot="ernie-bot",e.ErnieBot4="ernie-bot-4"}(se||(se={}));const oe="GET_PLUGIN_CONFIG",ae="INFORMATION_QUERY";var re,ce;!function(e){e.CURRENT_FILE="CURRENT_FILE",e.FILE="FILE",e.FOLDER="FOLDER",e.REPO="REPO",e.SYSTEM="SYSTEM",e.NORMAL="NORMAL",e.URL="URL",e.WEB="WEB",e.API="API",e.API_PROJECT="API_PROJECT",e.CODE="CODE",e.TEMP="TEMP",e.TERMINAL="TERMINAL"}(re||(re={})),function(e){e.Text="TEXT",e.Code="CODE",e.File="FILE"}(ce||(ce={}));var pe;!function(e){e.INIT="INIT",e.PROCESSING="PROCESSING",e.SUCCEED="SUCCEED",e.FAIL="FAIL"}(pe||(pe={}));const le="ACCEPT_DIR";var ue,de,me,fe;!function(e){e.Failed="failed",e.Success="success",e.InProgress="inProgress",e.Cancelled="cancelled"}(ue||(ue={})),function(e){e.UNREADY="unready",e.READY="ready",e.RUNNING="running",e.SUCCESS="success",e.FAILED="failed",e.CANCELLED="cancelled"}(de||(de={})),function(e){e.SecuBotConversation="SecuBotConversation",e.DebugBotConversation="DebugBotConversation",e.TestBotConversation="TestBotConversation",e.E2EBotConversation="E2EBotConversation",e.F2cBotConversation="F2cBotConversation"}(me||(me={})),me.SecuBotConversation,me.DebugBotConversation,me.TestBotConversation,me.E2EBotConversation,me.F2cBotConversation,function(e){e.Ready="Ready",e.Running="Running",e.Failed="Failed",e.Completed="Completed",e.Cancelled="Cancelled"}(fe||(fe={}));const he="ACTION_DEBUG_TASK_PROCESS",xe="ACTION_ASK_RAG",ge="CODE_SEARCH";async function ve(n){const i=e.join(n,"package.json"),s=JSON.parse(await t.readFile(i,"utf-8")).comate;if(!s)throw new Error(`No comate field in ${i}`);return function(e){if(!e.name)throw new Error("Missing plugin name");if(!e.entry)throw new Error(`Missing entry for plugin ${e.name}`);if(e.capabilities.filter((e=>"Fallback"===e.type)).length>1)throw new Error("Only one fallback capability is allowed")}(s),s}var be="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function ye(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var we={},_e={fromCallback:function(e){return Object.defineProperty((function(...t){if("function"!=typeof t[t.length-1])return new Promise(((n,i)=>{t.push(((e,t)=>null!=e?i(e):n(t))),e.apply(this,t)}));e.apply(this,t)}),"name",{value:e.name})},fromPromise:function(e){return Object.defineProperty((function(...t){const n=t[t.length-1];if("function"!=typeof n)return e.apply(this,t);t.pop(),e.apply(this,t).then((e=>n(null,e)),n)}),"name",{value:e.name})}},Ee=p,Se=process.cwd,ke=null,Re=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return ke||(ke=Se.call(process)),ke};try{process.cwd()}catch(e){}if("function"==typeof process.chdir){var Te=process.chdir;process.chdir=function(e){ke=null,Te.call(process,e)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,Te)}var Oe=function(e){Ee.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&function(e){e.lchmod=function(t,n,i){e.open(t,Ee.O_WRONLY|Ee.O_SYMLINK,n,(function(t,s){t?i&&i(t):e.fchmod(s,n,(function(t){e.close(s,(function(e){i&&i(t||e)}))}))}))},e.lchmodSync=function(t,n){var i,s=e.openSync(t,Ee.O_WRONLY|Ee.O_SYMLINK,n),o=!0;try{i=e.fchmodSync(s,n),o=!1}finally{if(o)try{e.closeSync(s)}catch(e){}else e.closeSync(s)}return i}}(e);e.lutimes||function(e){Ee.hasOwnProperty("O_SYMLINK")&&e.futimes?(e.lutimes=function(t,n,i,s){e.open(t,Ee.O_SYMLINK,(function(t,o){t?s&&s(t):e.futimes(o,n,i,(function(t){e.close(o,(function(e){s&&s(t||e)}))}))}))},e.lutimesSync=function(t,n,i){var s,o=e.openSync(t,Ee.O_SYMLINK),a=!0;try{s=e.futimesSync(o,n,i),a=!1}finally{if(a)try{e.closeSync(o)}catch(e){}else e.closeSync(o)}return s}):e.futimes&&(e.lutimes=function(e,t,n,i){i&&process.nextTick(i)},e.lutimesSync=function(){})}(e);e.chown=i(e.chown),e.fchown=i(e.fchown),e.lchown=i(e.lchown),e.chmod=t(e.chmod),e.fchmod=t(e.fchmod),e.lchmod=t(e.lchmod),e.chownSync=s(e.chownSync),e.fchownSync=s(e.fchownSync),e.lchownSync=s(e.lchownSync),e.chmodSync=n(e.chmodSync),e.fchmodSync=n(e.fchmodSync),e.lchmodSync=n(e.lchmodSync),e.stat=o(e.stat),e.fstat=o(e.fstat),e.lstat=o(e.lstat),e.statSync=a(e.statSync),e.fstatSync=a(e.fstatSync),e.lstatSync=a(e.lstatSync),e.chmod&&!e.lchmod&&(e.lchmod=function(e,t,n){n&&process.nextTick(n)},e.lchmodSync=function(){});e.chown&&!e.lchown&&(e.lchown=function(e,t,n,i){i&&process.nextTick(i)},e.lchownSync=function(){});"win32"===Re&&(e.rename="function"!=typeof e.rename?e.rename:function(t){function n(n,i,s){var o=Date.now(),a=0;t(n,i,(function r(c){if(c&&("EACCES"===c.code||"EPERM"===c.code||"EBUSY"===c.code)&&Date.now()-o<6e4)return setTimeout((function(){e.stat(i,(function(e,o){e&&"ENOENT"===e.code?t(n,i,r):s(c)}))}),a),void(a<100&&(a+=10));s&&s(c)}))}return Object.setPrototypeOf&&Object.setPrototypeOf(n,t),n}(e.rename));function t(t){return t?function(n,i,s){return t.call(e,n,i,(function(e){r(e)&&(e=null),s&&s.apply(this,arguments)}))}:t}function n(t){return t?function(n,i){try{return t.call(e,n,i)}catch(e){if(!r(e))throw e}}:t}function i(t){return t?function(n,i,s,o){return t.call(e,n,i,s,(function(e){r(e)&&(e=null),o&&o.apply(this,arguments)}))}:t}function s(t){return t?function(n,i,s){try{return t.call(e,n,i,s)}catch(e){if(!r(e))throw e}}:t}function o(t){return t?function(n,i,s){function o(e,t){t&&(t.uid<0&&(t.uid+=4294967296),t.gid<0&&(t.gid+=4294967296)),s&&s.apply(this,arguments)}return"function"==typeof i&&(s=i,i=null),i?t.call(e,n,i,o):t.call(e,n,o)}:t}function a(t){return t?function(n,i){var s=i?t.call(e,n,i):t.call(e,n);return s&&(s.uid<0&&(s.uid+=4294967296),s.gid<0&&(s.gid+=4294967296)),s}:t}function r(e){return!e||("ENOSYS"===e.code||!(process.getuid&&0===process.getuid()||"EINVAL"!==e.code&&"EPERM"!==e.code))}e.read="function"!=typeof e.read?e.read:function(t){function n(n,i,s,o,a,r){var c;if(r&&"function"==typeof r){var p=0;c=function(l,u,d){if(l&&"EAGAIN"===l.code&&p<10)return p++,t.call(e,n,i,s,o,a,c);r.apply(this,arguments)}}return t.call(e,n,i,s,o,a,c)}return Object.setPrototypeOf&&Object.setPrototypeOf(n,t),n}(e.read),e.readSync="function"!=typeof e.readSync?e.readSync:(c=e.readSync,function(t,n,i,s,o){for(var a=0;;)try{return c.call(e,t,n,i,s,o)}catch(e){if("EAGAIN"===e.code&&a<10){a++;continue}throw e}});var c};var Ae=l.Stream,Ce=function(e){return{ReadStream:function t(n,i){if(!(this instanceof t))return new t(n,i);Ae.call(this);var s=this;this.path=n,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=65536,i=i||{};for(var o=Object.keys(i),a=0,r=o.length;a<r;a++){var c=o[a];this[c]=i[c]}this.encoding&&this.setEncoding(this.encoding);if(void 0!==this.start){if("number"!=typeof this.start)throw TypeError("start must be a Number");if(void 0===this.end)this.end=1/0;else if("number"!=typeof this.end)throw TypeError("end must be a Number");if(this.start>this.end)throw new Error("start must be <= end");this.pos=this.start}if(null!==this.fd)return void process.nextTick((function(){s._read()}));e.open(this.path,this.flags,this.mode,(function(e,t){if(e)return s.emit("error",e),void(s.readable=!1);s.fd=t,s.emit("open",t),s._read()}))},WriteStream:function t(n,i){if(!(this instanceof t))return new t(n,i);Ae.call(this),this.path=n,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,i=i||{};for(var s=Object.keys(i),o=0,a=s.length;o<a;o++){var r=s[o];this[r]=i[r]}if(void 0!==this.start){if("number"!=typeof this.start)throw TypeError("start must be a Number");if(this.start<0)throw new Error("start must be >= zero");this.pos=this.start}this.busy=!1,this._queue=[],null===this.fd&&(this._open=e.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}};var Pe=function(e){if(null===e||"object"!=typeof e)return e;if(e instanceof Object)var t={__proto__:Le(e)};else t=Object.create(null);return Object.getOwnPropertyNames(e).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})),t},Le=Object.getPrototypeOf||function(e){return e.__proto__};var je,Ie,Ne=c,Fe=Oe,De=Ce,Me=Pe,$e=d;function Be(e,t){Object.defineProperty(e,je,{get:function(){return t}})}"function"==typeof Symbol&&"function"==typeof Symbol.for?(je=Symbol.for("graceful-fs.queue"),Ie=Symbol.for("graceful-fs.previous")):(je="___graceful-fs.queue",Ie="___graceful-fs.previous");var Ue=function(){};if($e.debuglog?Ue=$e.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(Ue=function(){var e=$e.format.apply($e,arguments);e="GFS4: "+e.split(/\n/).join("\nGFS4: "),console.error(e)}),!Ne[je]){var ze=be[je]||[];Be(Ne,ze),Ne.close=function(e){function t(t,n){return e.call(Ne,t,(function(e){e||Ke(),"function"==typeof n&&n.apply(this,arguments)}))}return Object.defineProperty(t,Ie,{value:e}),t}(Ne.close),Ne.closeSync=function(e){function t(t){e.apply(Ne,arguments),Ke()}return Object.defineProperty(t,Ie,{value:e}),t}(Ne.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",(function(){Ue(Ne[je]),m.equal(Ne[je].length,0)}))}be[je]||Be(be,Ne[je]);var He,Ge=qe(Me(Ne));function qe(e){Fe(e),e.gracefulify=qe,e.createReadStream=function(t,n){return new e.ReadStream(t,n)},e.createWriteStream=function(t,n){return new e.WriteStream(t,n)};var t=e.readFile;e.readFile=function(e,n,i){"function"==typeof n&&(i=n,n=null);return function e(n,i,s,o){return t(n,i,(function(t){!t||"EMFILE"!==t.code&&"ENFILE"!==t.code?"function"==typeof s&&s.apply(this,arguments):We([e,[n,i,s],t,o||Date.now(),Date.now()])}))}(e,n,i)};var n=e.writeFile;e.writeFile=function(e,t,i,s){"function"==typeof i&&(s=i,i=null);return function e(t,i,s,o,a){return n(t,i,s,(function(n){!n||"EMFILE"!==n.code&&"ENFILE"!==n.code?"function"==typeof o&&o.apply(this,arguments):We([e,[t,i,s,o],n,a||Date.now(),Date.now()])}))}(e,t,i,s)};var i=e.appendFile;i&&(e.appendFile=function(e,t,n,s){"function"==typeof n&&(s=n,n=null);return function e(t,n,s,o,a){return i(t,n,s,(function(i){!i||"EMFILE"!==i.code&&"ENFILE"!==i.code?"function"==typeof o&&o.apply(this,arguments):We([e,[t,n,s,o],i,a||Date.now(),Date.now()])}))}(e,t,n,s)});var s=e.copyFile;s&&(e.copyFile=function(e,t,n,i){"function"==typeof n&&(i=n,n=0);return function e(t,n,i,o,a){return s(t,n,i,(function(s){!s||"EMFILE"!==s.code&&"ENFILE"!==s.code?"function"==typeof o&&o.apply(this,arguments):We([e,[t,n,i,o],s,a||Date.now(),Date.now()])}))}(e,t,n,i)});var o=e.readdir;e.readdir=function(e,t,n){"function"==typeof t&&(n=t,t=null);var i=a.test(process.version)?function(e,t,n,i){return o(e,s(e,t,n,i))}:function(e,t,n,i){return o(e,t,s(e,t,n,i))};return i(e,t,n);function s(e,t,n,s){return function(o,a){!o||"EMFILE"!==o.code&&"ENFILE"!==o.code?(a&&a.sort&&a.sort(),"function"==typeof n&&n.call(this,o,a)):We([i,[e,t,n],o,s||Date.now(),Date.now()])}}};var a=/^v[0-5]\./;if("v0.8"===process.version.substr(0,4)){var r=De(e);d=r.ReadStream,m=r.WriteStream}var c=e.ReadStream;c&&(d.prototype=Object.create(c.prototype),d.prototype.open=function(){var e=this;h(e.path,e.flags,e.mode,(function(t,n){t?(e.autoClose&&e.destroy(),e.emit("error",t)):(e.fd=n,e.emit("open",n),e.read())}))});var p=e.WriteStream;p&&(m.prototype=Object.create(p.prototype),m.prototype.open=function(){var e=this;h(e.path,e.flags,e.mode,(function(t,n){t?(e.destroy(),e.emit("error",t)):(e.fd=n,e.emit("open",n))}))}),Object.defineProperty(e,"ReadStream",{get:function(){return d},set:function(e){d=e},enumerable:!0,configurable:!0}),Object.defineProperty(e,"WriteStream",{get:function(){return m},set:function(e){m=e},enumerable:!0,configurable:!0});var l=d;Object.defineProperty(e,"FileReadStream",{get:function(){return l},set:function(e){l=e},enumerable:!0,configurable:!0});var u=m;function d(e,t){return this instanceof d?(c.apply(this,arguments),this):d.apply(Object.create(d.prototype),arguments)}function m(e,t){return this instanceof m?(p.apply(this,arguments),this):m.apply(Object.create(m.prototype),arguments)}Object.defineProperty(e,"FileWriteStream",{get:function(){return u},set:function(e){u=e},enumerable:!0,configurable:!0});var f=e.open;function h(e,t,n,i){return"function"==typeof n&&(i=n,n=null),function e(t,n,i,s,o){return f(t,n,i,(function(a,r){!a||"EMFILE"!==a.code&&"ENFILE"!==a.code?"function"==typeof s&&s.apply(this,arguments):We([e,[t,n,i,s],a,o||Date.now(),Date.now()])}))}(e,t,n,i)}return e.open=h,e}function We(e){Ue("ENQUEUE",e[0].name,e[1]),Ne[je].push(e),Ve()}function Ke(){for(var e=Date.now(),t=0;t<Ne[je].length;++t)Ne[je][t].length>2&&(Ne[je][t][3]=e,Ne[je][t][4]=e);Ve()}function Ve(){if(clearTimeout(He),He=void 0,0!==Ne[je].length){var e=Ne[je].shift(),t=e[0],n=e[1],i=e[2],s=e[3],o=e[4];if(void 0===s)Ue("RETRY",t.name,n),t.apply(null,n);else if(Date.now()-s>=6e4){Ue("TIMEOUT",t.name,n);var a=n.pop();"function"==typeof a&&a.call(null,i)}else{var r=Date.now()-o,c=Math.max(o-s,1);r>=Math.min(1.2*c,100)?(Ue("RETRY",t.name,n),t.apply(null,n.concat([s]))):Ne[je].push(e)}void 0===He&&(He=setTimeout(Ve,0))}}process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!Ne.__patched&&(Ge=qe(Ne),Ne.__patched=!0),function(e){const t=_e.fromCallback,n=Ge,i=["access","appendFile","chmod","chown","close","copyFile","fchmod","fchown","fdatasync","fstat","fsync","ftruncate","futimes","lchmod","lchown","link","lstat","mkdir","mkdtemp","open","opendir","readdir","readFile","readlink","realpath","rename","rm","rmdir","stat","symlink","truncate","unlink","utimes","writeFile"].filter((e=>"function"==typeof n[e]));Object.assign(e,n),i.forEach((i=>{e[i]=t(n[i])})),e.exists=function(e,t){return"function"==typeof t?n.exists(e,t):new Promise((t=>n.exists(e,t)))},e.read=function(e,t,i,s,o,a){return"function"==typeof a?n.read(e,t,i,s,o,a):new Promise(((a,r)=>{n.read(e,t,i,s,o,((e,t,n)=>{if(e)return r(e);a({bytesRead:t,buffer:n})}))}))},e.write=function(e,t,...i){return"function"==typeof i[i.length-1]?n.write(e,t,...i):new Promise(((s,o)=>{n.write(e,t,...i,((e,t,n)=>{if(e)return o(e);s({bytesWritten:t,buffer:n})}))}))},e.readv=function(e,t,...i){return"function"==typeof i[i.length-1]?n.readv(e,t,...i):new Promise(((s,o)=>{n.readv(e,t,...i,((e,t,n)=>{if(e)return o(e);s({bytesRead:t,buffers:n})}))}))},e.writev=function(e,t,...i){return"function"==typeof i[i.length-1]?n.writev(e,t,...i):new Promise(((s,o)=>{n.writev(e,t,...i,((e,t,n)=>{if(e)return o(e);s({bytesWritten:t,buffers:n})}))}))},"function"==typeof n.realpath.native?e.realpath.native=t(n.realpath.native):process.emitWarning("fs.realpath.native is not a function. Is fs being monkey-patched?","Warning","fs-extra-WARN0003")}(we);var Ye={},Qe={};const Xe=f;Qe.checkPath=function(e){if("win32"===process.platform){if(/[<>:"|?*]/.test(e.replace(Xe.parse(e).root,""))){const t=new Error(`Path contains invalid characters: ${e}`);throw t.code="EINVAL",t}}};const Je=we,{checkPath:Ze}=Qe,et=e=>"number"==typeof e?e:{mode:511,...e}.mode;Ye.makeDir=async(e,t)=>(Ze(e),Je.mkdir(e,{mode:et(t),recursive:!0})),Ye.makeDirSync=(e,t)=>(Ze(e),Je.mkdirSync(e,{mode:et(t),recursive:!0}));const tt=_e.fromPromise,{makeDir:nt,makeDirSync:it}=Ye,st=tt(nt);var ot={mkdirs:st,mkdirsSync:it,mkdirp:st,mkdirpSync:it,ensureDir:st,ensureDirSync:it};const at=_e.fromPromise,rt=we;var ct={pathExists:at((function(e){return rt.access(e).then((()=>!0)).catch((()=>!1))})),pathExistsSync:rt.existsSync};const pt=we;var lt={utimesMillis:(0,_e.fromPromise)((async function(e,t,n){const i=await pt.open(e,"r+");let s=null;try{await pt.futimes(i,t,n)}finally{try{await pt.close(i)}catch(e){s=e}}if(s)throw s})),utimesMillisSync:function(e,t,n){const i=pt.openSync(e,"r+");return pt.futimesSync(i,t,n),pt.closeSync(i)}};const ut=we,dt=f,mt=_e.fromPromise;function ft(e,t){return t.ino&&t.dev&&t.ino===e.ino&&t.dev===e.dev}function ht(e,t){const n=dt.resolve(e).split(dt.sep).filter((e=>e)),i=dt.resolve(t).split(dt.sep).filter((e=>e));return n.every(((e,t)=>i[t]===e))}function xt(e,t,n){return`Cannot ${n} '${e}' to a subdirectory of itself, '${t}'.`}var gt={checkPaths:mt((async function(e,t,n,i){const{srcStat:s,destStat:o}=await function(e,t,n){const i=n.dereference?e=>ut.stat(e,{bigint:!0}):e=>ut.lstat(e,{bigint:!0});return Promise.all([i(e),i(t).catch((e=>{if("ENOENT"===e.code)return null;throw e}))]).then((([e,t])=>({srcStat:e,destStat:t})))}(e,t,i);if(o){if(ft(s,o)){const i=dt.basename(e),a=dt.basename(t);if("move"===n&&i!==a&&i.toLowerCase()===a.toLowerCase())return{srcStat:s,destStat:o,isChangingCase:!0};throw new Error("Source and destination must not be the same.")}if(s.isDirectory()&&!o.isDirectory())throw new Error(`Cannot overwrite non-directory '${t}' with directory '${e}'.`);if(!s.isDirectory()&&o.isDirectory())throw new Error(`Cannot overwrite directory '${t}' with non-directory '${e}'.`)}if(s.isDirectory()&&ht(e,t))throw new Error(xt(e,t,n));return{srcStat:s,destStat:o}})),checkPathsSync:function(e,t,n,i){const{srcStat:s,destStat:o}=function(e,t,n){let i;const s=n.dereference?e=>ut.statSync(e,{bigint:!0}):e=>ut.lstatSync(e,{bigint:!0}),o=s(e);try{i=s(t)}catch(e){if("ENOENT"===e.code)return{srcStat:o,destStat:null};throw e}return{srcStat:o,destStat:i}}(e,t,i);if(o){if(ft(s,o)){const i=dt.basename(e),a=dt.basename(t);if("move"===n&&i!==a&&i.toLowerCase()===a.toLowerCase())return{srcStat:s,destStat:o,isChangingCase:!0};throw new Error("Source and destination must not be the same.")}if(s.isDirectory()&&!o.isDirectory())throw new Error(`Cannot overwrite non-directory '${t}' with directory '${e}'.`);if(!s.isDirectory()&&o.isDirectory())throw new Error(`Cannot overwrite directory '${t}' with non-directory '${e}'.`)}if(s.isDirectory()&&ht(e,t))throw new Error(xt(e,t,n));return{srcStat:s,destStat:o}},checkParentPaths:mt((async function e(t,n,i,s){const o=dt.resolve(dt.dirname(t)),a=dt.resolve(dt.dirname(i));if(a===o||a===dt.parse(a).root)return;let r;try{r=await ut.stat(a,{bigint:!0})}catch(e){if("ENOENT"===e.code)return;throw e}if(ft(n,r))throw new Error(xt(t,i,s));return e(t,n,a,s)})),checkParentPathsSync:function e(t,n,i,s){const o=dt.resolve(dt.dirname(t)),a=dt.resolve(dt.dirname(i));if(a===o||a===dt.parse(a).root)return;let r;try{r=ut.statSync(a,{bigint:!0})}catch(e){if("ENOENT"===e.code)return;throw e}if(ft(n,r))throw new Error(xt(t,i,s));return e(t,n,a,s)},isSrcSubdir:ht,areIdentical:ft};const vt=we,bt=f,{mkdirs:yt}=ot,{pathExists:wt}=ct,{utimesMillis:_t}=lt,Et=gt;async function St(e,t,n){return!n.filter||n.filter(e,t)}async function kt(e,t,n,i){const s=i.dereference?vt.stat:vt.lstat,o=await s(t);if(o.isDirectory())return async function(e,t,n,i,s){t||await vt.mkdir(i);const o=await vt.readdir(n);await Promise.all(o.map((async e=>{const t=bt.join(n,e),o=bt.join(i,e);if(!await St(t,o,s))return;const{destStat:a}=await Et.checkPaths(t,o,"copy",s);return kt(a,t,o,s)}))),t||await vt.chmod(i,e.mode)}(o,e,t,n,i);if(o.isFile()||o.isCharacterDevice()||o.isBlockDevice())return async function(e,t,n,i,s){if(!t)return Rt(e,n,i,s);if(s.overwrite)return await vt.unlink(i),Rt(e,n,i,s);if(s.errorOnExist)throw new Error(`'${i}' already exists`)}(o,e,t,n,i);if(o.isSymbolicLink())return async function(e,t,n,i){let s=await vt.readlink(t);i.dereference&&(s=bt.resolve(process.cwd(),s));if(!e)return vt.symlink(s,n);let o=null;try{o=await vt.readlink(n)}catch(e){if("EINVAL"===e.code||"UNKNOWN"===e.code)return vt.symlink(s,n);throw e}i.dereference&&(o=bt.resolve(process.cwd(),o));if(Et.isSrcSubdir(s,o))throw new Error(`Cannot copy '${s}' to a subdirectory of itself, '${o}'.`);if(Et.isSrcSubdir(o,s))throw new Error(`Cannot overwrite '${o}' with '${s}'.`);return await vt.unlink(n),vt.symlink(s,n)}(e,t,n,i);if(o.isSocket())throw new Error(`Cannot copy a socket file: ${t}`);if(o.isFIFO())throw new Error(`Cannot copy a FIFO pipe: ${t}`);throw new Error(`Unknown file: ${t}`)}async function Rt(e,t,n,i){if(await vt.copyFile(t,n),i.preserveTimestamps){0==(128&e.mode)&&await function(e,t){return vt.chmod(e,128|t)}(n,e.mode);const i=await vt.stat(t);await _t(n,i.atime,i.mtime)}return vt.chmod(n,e.mode)}var Tt=async function(e,t,n={}){"function"==typeof n&&(n={filter:n}),n.clobber=!("clobber"in n)||!!n.clobber,n.overwrite="overwrite"in n?!!n.overwrite:n.clobber,n.preserveTimestamps&&"ia32"===process.arch&&process.emitWarning("Using the preserveTimestamps option in 32-bit node is not recommended;\n\n\tsee https://github.com/jprichardson/node-fs-extra/issues/269","Warning","fs-extra-WARN0001");const{srcStat:i,destStat:s}=await Et.checkPaths(e,t,"copy",n);if(await Et.checkParentPaths(e,i,t,"copy"),!await St(e,t,n))return;const o=bt.dirname(t);await wt(o)||await yt(o),await kt(s,e,t,n)};const Ot=Ge,At=f,Ct=ot.mkdirsSync,Pt=lt.utimesMillisSync,Lt=gt;function jt(e,t,n,i){const s=(i.dereference?Ot.statSync:Ot.lstatSync)(t);if(s.isDirectory())return function(e,t,n,i,s){return t?Ft(n,i,s):function(e,t,n,i){return Ot.mkdirSync(n),Ft(t,n,i),Nt(n,e)}(e.mode,n,i,s)}(s,e,t,n,i);if(s.isFile()||s.isCharacterDevice()||s.isBlockDevice())return function(e,t,n,i,s){return t?function(e,t,n,i){if(i.overwrite)return Ot.unlinkSync(n),It(e,t,n,i);if(i.errorOnExist)throw new Error(`'${n}' already exists`)}(e,n,i,s):It(e,n,i,s)}(s,e,t,n,i);if(s.isSymbolicLink())return function(e,t,n,i){let s=Ot.readlinkSync(t);i.dereference&&(s=At.resolve(process.cwd(),s));if(e){let e;try{e=Ot.readlinkSync(n)}catch(e){if("EINVAL"===e.code||"UNKNOWN"===e.code)return Ot.symlinkSync(s,n);throw e}if(i.dereference&&(e=At.resolve(process.cwd(),e)),Lt.isSrcSubdir(s,e))throw new Error(`Cannot copy '${s}' to a subdirectory of itself, '${e}'.`);if(Lt.isSrcSubdir(e,s))throw new Error(`Cannot overwrite '${e}' with '${s}'.`);return function(e,t){return Ot.unlinkSync(t),Ot.symlinkSync(e,t)}(s,n)}return Ot.symlinkSync(s,n)}(e,t,n,i);if(s.isSocket())throw new Error(`Cannot copy a socket file: ${t}`);if(s.isFIFO())throw new Error(`Cannot copy a FIFO pipe: ${t}`);throw new Error(`Unknown file: ${t}`)}function It(e,t,n,i){return Ot.copyFileSync(t,n),i.preserveTimestamps&&function(e,t,n){(function(e){return 0==(128&e)})(e)&&function(e,t){Nt(e,128|t)}(n,e);(function(e,t){const n=Ot.statSync(e);Pt(t,n.atime,n.mtime)})(t,n)}(e.mode,t,n),Nt(n,e.mode)}function Nt(e,t){return Ot.chmodSync(e,t)}function Ft(e,t,n){Ot.readdirSync(e).forEach((i=>function(e,t,n,i){const s=At.join(t,e),o=At.join(n,e);if(i.filter&&!i.filter(s,o))return;const{destStat:a}=Lt.checkPathsSync(s,o,"copy",i);return jt(a,s,o,i)}(i,e,t,n)))}var Dt=function(e,t,n){"function"==typeof n&&(n={filter:n}),(n=n||{}).clobber=!("clobber"in n)||!!n.clobber,n.overwrite="overwrite"in n?!!n.overwrite:n.clobber,n.preserveTimestamps&&"ia32"===process.arch&&process.emitWarning("Using the preserveTimestamps option in 32-bit node is not recommended;\n\n\tsee https://github.com/jprichardson/node-fs-extra/issues/269","Warning","fs-extra-WARN0002");const{srcStat:i,destStat:s}=Lt.checkPathsSync(e,t,"copy",n);if(Lt.checkParentPathsSync(e,i,t,"copy"),n.filter&&!n.filter(e,t))return;const o=At.dirname(t);return Ot.existsSync(o)||Ct(o),jt(s,e,t,n)};var Mt={copy:(0,_e.fromPromise)(Tt),copySync:Dt};const $t=Ge;var Bt={remove:(0,_e.fromCallback)((function(e,t){$t.rm(e,{recursive:!0,force:!0},t)})),removeSync:function(e){$t.rmSync(e,{recursive:!0,force:!0})}};const Ut=_e.fromPromise,zt=we,Ht=f,Gt=ot,qt=Bt,Wt=Ut((async function(e){let t;try{t=await zt.readdir(e)}catch{return Gt.mkdirs(e)}return Promise.all(t.map((t=>qt.remove(Ht.join(e,t)))))}));function Kt(e){let t;try{t=zt.readdirSync(e)}catch{return Gt.mkdirsSync(e)}t.forEach((t=>{t=Ht.join(e,t),qt.removeSync(t)}))}var Vt={emptyDirSync:Kt,emptydirSync:Kt,emptyDir:Wt,emptydir:Wt};const Yt=_e.fromPromise,Qt=f,Xt=we,Jt=ot;var Zt={createFile:Yt((async function(e){let t;try{t=await Xt.stat(e)}catch{}if(t&&t.isFile())return;const n=Qt.dirname(e);let i=null;try{i=await Xt.stat(n)}catch(t){if("ENOENT"===t.code)return await Jt.mkdirs(n),void await Xt.writeFile(e,"");throw t}i.isDirectory()?await Xt.writeFile(e,""):await Xt.readdir(n)})),createFileSync:function(e){let t;try{t=Xt.statSync(e)}catch{}if(t&&t.isFile())return;const n=Qt.dirname(e);try{Xt.statSync(n).isDirectory()||Xt.readdirSync(n)}catch(e){if(!e||"ENOENT"!==e.code)throw e;Jt.mkdirsSync(n)}Xt.writeFileSync(e,"")}};const en=_e.fromPromise,tn=f,nn=we,sn=ot,{pathExists:on}=ct,{areIdentical:an}=gt;var rn={createLink:en((async function(e,t){let n,i;try{n=await nn.lstat(t)}catch{}try{i=await nn.lstat(e)}catch(e){throw e.message=e.message.replace("lstat","ensureLink"),e}if(n&&an(i,n))return;const s=tn.dirname(t);await on(s)||await sn.mkdirs(s),await nn.link(e,t)})),createLinkSync:function(e,t){let n;try{n=nn.lstatSync(t)}catch{}try{const t=nn.lstatSync(e);if(n&&an(t,n))return}catch(e){throw e.message=e.message.replace("lstat","ensureLink"),e}const i=tn.dirname(t);return nn.existsSync(i)||sn.mkdirsSync(i),nn.linkSync(e,t)}};const cn=f,pn=we,{pathExists:ln}=ct;var un={symlinkPaths:(0,_e.fromPromise)((async function(e,t){if(cn.isAbsolute(e)){try{await pn.lstat(e)}catch(e){throw e.message=e.message.replace("lstat","ensureSymlink"),e}return{toCwd:e,toDst:e}}const n=cn.dirname(t),i=cn.join(n,e);if(await ln(i))return{toCwd:i,toDst:e};try{await pn.lstat(e)}catch(e){throw e.message=e.message.replace("lstat","ensureSymlink"),e}return{toCwd:e,toDst:cn.relative(n,e)}})),symlinkPathsSync:function(e,t){if(cn.isAbsolute(e)){if(!pn.existsSync(e))throw new Error("absolute srcpath does not exist");return{toCwd:e,toDst:e}}const n=cn.dirname(t),i=cn.join(n,e);if(pn.existsSync(i))return{toCwd:i,toDst:e};if(!pn.existsSync(e))throw new Error("relative srcpath does not exist");return{toCwd:e,toDst:cn.relative(n,e)}}};const dn=we;var mn={symlinkType:(0,_e.fromPromise)((async function(e,t){if(t)return t;let n;try{n=await dn.lstat(e)}catch{return"file"}return n&&n.isDirectory()?"dir":"file"})),symlinkTypeSync:function(e,t){if(t)return t;let n;try{n=dn.lstatSync(e)}catch{return"file"}return n&&n.isDirectory()?"dir":"file"}};const fn=_e.fromPromise,hn=f,xn=we,{mkdirs:gn,mkdirsSync:vn}=ot,{symlinkPaths:bn,symlinkPathsSync:yn}=un,{symlinkType:wn,symlinkTypeSync:_n}=mn,{pathExists:En}=ct,{areIdentical:Sn}=gt;var kn={createSymlink:fn((async function(e,t,n){let i;try{i=await xn.lstat(t)}catch{}if(i&&i.isSymbolicLink()){const[n,i]=await Promise.all([xn.stat(e),xn.stat(t)]);if(Sn(n,i))return}const s=await bn(e,t);e=s.toDst;const o=await wn(s.toCwd,n),a=hn.dirname(t);return await En(a)||await gn(a),xn.symlink(e,t,o)})),createSymlinkSync:function(e,t,n){let i;try{i=xn.lstatSync(t)}catch{}if(i&&i.isSymbolicLink()){const n=xn.statSync(e),i=xn.statSync(t);if(Sn(n,i))return}const s=yn(e,t);e=s.toDst,n=_n(s.toCwd,n);const o=hn.dirname(t);return xn.existsSync(o)||vn(o),xn.symlinkSync(e,t,n)}};const{createFile:Rn,createFileSync:Tn}=Zt,{createLink:On,createLinkSync:An}=rn,{createSymlink:Cn,createSymlinkSync:Pn}=kn;var Ln={createFile:Rn,createFileSync:Tn,ensureFile:Rn,ensureFileSync:Tn,createLink:On,createLinkSync:An,ensureLink:On,ensureLinkSync:An,createSymlink:Cn,createSymlinkSync:Pn,ensureSymlink:Cn,ensureSymlinkSync:Pn};var jn={stringify:function(e,{EOL:t="\n",finalEOL:n=!0,replacer:i=null,spaces:s}={}){const o=n?t:"";return JSON.stringify(e,i,s).replace(/\n/g,t)+o},stripBom:function(e){return Buffer.isBuffer(e)&&(e=e.toString("utf8")),e.replace(/^\uFEFF/,"")}};let In;try{In=Ge}catch(e){In=c}const Nn=_e,{stringify:Fn,stripBom:Dn}=jn;const Mn=Nn.fromPromise((async function(e,t={}){"string"==typeof t&&(t={encoding:t});const n=t.fs||In,i=!("throws"in t)||t.throws;let s,o=await Nn.fromCallback(n.readFile)(e,t);o=Dn(o);try{s=JSON.parse(o,t?t.reviver:null)}catch(t){if(i)throw t.message=`${e}: ${t.message}`,t;return null}return s}));const $n=Nn.fromPromise((async function(e,t,n={}){const i=n.fs||In,s=Fn(t,n);await Nn.fromCallback(i.writeFile)(e,s,n)}));const Bn={readFile:Mn,readFileSync:function(e,t={}){"string"==typeof t&&(t={encoding:t});const n=t.fs||In,i=!("throws"in t)||t.throws;try{let i=n.readFileSync(e,t);return i=Dn(i),JSON.parse(i,t.reviver)}catch(t){if(i)throw t.message=`${e}: ${t.message}`,t;return null}},writeFile:$n,writeFileSync:function(e,t,n={}){const i=n.fs||In,s=Fn(t,n);return i.writeFileSync(e,s,n)}};var Un={readJson:Bn.readFile,readJsonSync:Bn.readFileSync,writeJson:Bn.writeFile,writeJsonSync:Bn.writeFileSync};const zn=_e.fromPromise,Hn=we,Gn=f,qn=ot,Wn=ct.pathExists;var Kn={outputFile:zn((async function(e,t,n="utf-8"){const i=Gn.dirname(e);return await Wn(i)||await qn.mkdirs(i),Hn.writeFile(e,t,n)})),outputFileSync:function(e,...t){const n=Gn.dirname(e);Hn.existsSync(n)||qn.mkdirsSync(n),Hn.writeFileSync(e,...t)}};const{stringify:Vn}=jn,{outputFile:Yn}=Kn;var Qn=async function(e,t,n={}){const i=Vn(t,n);await Yn(e,i,n)};const{stringify:Xn}=jn,{outputFileSync:Jn}=Kn;var Zn=function(e,t,n){const i=Xn(t,n);Jn(e,i,n)};const ei=_e.fromPromise,ti=Un;ti.outputJson=ei(Qn),ti.outputJsonSync=Zn,ti.outputJSON=ti.outputJson,ti.outputJSONSync=ti.outputJsonSync,ti.writeJSON=ti.writeJson,ti.writeJSONSync=ti.writeJsonSync,ti.readJSON=ti.readJson,ti.readJSONSync=ti.readJsonSync;var ni=ti;const ii=we,si=f,{copy:oi}=Mt,{remove:ai}=Bt,{mkdirp:ri}=ot,{pathExists:ci}=ct,pi=gt;var li=async function(e,t,n={}){const i=n.overwrite||n.clobber||!1,{srcStat:s,isChangingCase:o=!1}=await pi.checkPaths(e,t,"move",n);await pi.checkParentPaths(e,s,t,"move");const a=si.dirname(t);return si.parse(a).root!==a&&await ri(a),async function(e,t,n,i){if(!i)if(n)await ai(t);else if(await ci(t))throw new Error("dest already exists.");try{await ii.rename(e,t)}catch(i){if("EXDEV"!==i.code)throw i;await async function(e,t,n){const i={overwrite:n,errorOnExist:!0,preserveTimestamps:!0};return await oi(e,t,i),ai(e)}(e,t,n)}}(e,t,i,o)};const ui=Ge,di=f,mi=Mt.copySync,fi=Bt.removeSync,hi=ot.mkdirpSync,xi=gt;function gi(e,t,n){try{ui.renameSync(e,t)}catch(i){if("EXDEV"!==i.code)throw i;return function(e,t,n){const i={overwrite:n,errorOnExist:!0,preserveTimestamps:!0};return mi(e,t,i),fi(e)}(e,t,n)}}var vi=function(e,t,n){const i=(n=n||{}).overwrite||n.clobber||!1,{srcStat:s,isChangingCase:o=!1}=xi.checkPathsSync(e,t,"move",n);return xi.checkParentPathsSync(e,s,t,"move"),function(e){const t=di.dirname(e);return di.parse(t).root===t}(t)||hi(di.dirname(t)),function(e,t,n,i){if(i)return gi(e,t,n);if(n)return fi(t),gi(e,t,n);if(ui.existsSync(t))throw new Error("dest already exists.");return gi(e,t,n)}(e,t,i,o)};var bi={move:(0,_e.fromPromise)(li),moveSync:vi},yi=ye({...we,...Mt,...Vt,...Ln,...ni,...ot,...bi,...Kn,...ct,...Bt});function wi(e,t){return function(){return e.apply(t,arguments)}}process.platform,yi.emptyDir,yi.remove,yi.readJSON,yi.writeJSON;const{toString:_i}=Object.prototype,{getPrototypeOf:Ei}=Object,{iterator:Si,toStringTag:ki}=Symbol,Ri=(e=>t=>{const n=_i.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ti=e=>(e=e.toLowerCase(),t=>Ri(t)===e),Oi=e=>t=>typeof t===e,{isArray:Ai}=Array,Ci=Oi("undefined");const Pi=Ti("ArrayBuffer");const Li=Oi("string"),ji=Oi("function"),Ii=Oi("number"),Ni=e=>null!==e&&"object"==typeof e,Fi=e=>{if("object"!==Ri(e))return!1;const t=Ei(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||ki in e||Si in e)},Di=Ti("Date"),Mi=Ti("File"),$i=Ti("Blob"),Bi=Ti("FileList"),Ui=Ti("URLSearchParams"),[zi,Hi,Gi,qi]=["ReadableStream","Request","Response","Headers"].map(Ti);function Wi(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let i,s;if("object"!=typeof e&&(e=[e]),Ai(e))for(i=0,s=e.length;i<s;i++)t.call(null,e[i],i,e);else{const s=n?Object.getOwnPropertyNames(e):Object.keys(e),o=s.length;let a;for(i=0;i<o;i++)a=s[i],t.call(null,e[a],a,e)}}function Ki(e,t){t=t.toLowerCase();const n=Object.keys(e);let i,s=n.length;for(;s-- >0;)if(i=n[s],t===i.toLowerCase())return i;return null}const Vi="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Yi=e=>!Ci(e)&&e!==Vi;const Qi=(Xi="undefined"!=typeof Uint8Array&&Ei(Uint8Array),e=>Xi&&e instanceof Xi);var Xi;const Ji=Ti("HTMLFormElement"),Zi=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),es=Ti("RegExp"),ts=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),i={};Wi(n,((n,s)=>{let o;!1!==(o=t(n,s,e))&&(i[s]=o||n)})),Object.defineProperties(e,i)};const ns=Ti("AsyncFunction"),is=(ss="function"==typeof setImmediate,os=ji(Vi.postMessage),ss?setImmediate:os?(as=`axios@${Math.random()}`,rs=[],Vi.addEventListener("message",(({source:e,data:t})=>{e===Vi&&t===as&&rs.length&&rs.shift()()}),!1),e=>{rs.push(e),Vi.postMessage(as,"*")}):e=>setTimeout(e));var ss,os,as,rs;const cs="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Vi):"undefined"!=typeof process&&process.nextTick||is;var ps={isArray:Ai,isArrayBuffer:Pi,isBuffer:function(e){return null!==e&&!Ci(e)&&null!==e.constructor&&!Ci(e.constructor)&&ji(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||ji(e.append)&&("formdata"===(t=Ri(e))||"object"===t&&ji(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Pi(e.buffer),t},isString:Li,isNumber:Ii,isBoolean:e=>!0===e||!1===e,isObject:Ni,isPlainObject:Fi,isReadableStream:zi,isRequest:Hi,isResponse:Gi,isHeaders:qi,isUndefined:Ci,isDate:Di,isFile:Mi,isBlob:$i,isRegExp:es,isFunction:ji,isStream:e=>Ni(e)&&ji(e.pipe),isURLSearchParams:Ui,isTypedArray:Qi,isFileList:Bi,forEach:Wi,merge:function e(){const{caseless:t}=Yi(this)&&this||{},n={},i=(i,s)=>{const o=t&&Ki(n,s)||s;Fi(n[o])&&Fi(i)?n[o]=e(n[o],i):Fi(i)?n[o]=e({},i):Ai(i)?n[o]=i.slice():n[o]=i};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&Wi(arguments[e],i);return n},extend:(e,t,n,{allOwnKeys:i}={})=>(Wi(t,((t,i)=>{n&&ji(t)?e[i]=wi(t,n):e[i]=t}),{allOwnKeys:i}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,i)=>{e.prototype=Object.create(t.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,i)=>{let s,o,a;const r={};if(t=t||{},null==e)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)a=s[o],i&&!i(a,e,t)||r[a]||(t[a]=e[a],r[a]=!0);e=!1!==n&&Ei(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:Ri,kindOfTest:Ti,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const i=e.indexOf(t,n);return-1!==i&&i===n},toArray:e=>{if(!e)return null;if(Ai(e))return e;let t=e.length;if(!Ii(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Si]).call(e);let i;for(;(i=n.next())&&!i.done;){const n=i.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const i=[];for(;null!==(n=e.exec(t));)i.push(n);return i},isHTMLForm:Ji,hasOwnProperty:Zi,hasOwnProp:Zi,reduceDescriptors:ts,freezeMethods:e=>{ts(e,((t,n)=>{if(ji(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const i=e[n];ji(i)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},i=e=>{e.forEach((e=>{n[e]=!0}))};return Ai(e)?i(e):i(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:Ki,global:Vi,isContextDefined:Yi,isSpecCompliantForm:function(e){return!!(e&&ji(e.append)&&"FormData"===e[ki]&&e[Si])},toJSONObject:e=>{const t=new Array(10),n=(e,i)=>{if(Ni(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[i]=e;const s=Ai(e)?[]:{};return Wi(e,((e,t)=>{const o=n(e,i+1);!Ci(o)&&(s[t]=o)})),t[i]=void 0,s}}return e};return n(e,0)},isAsyncFn:ns,isThenable:e=>e&&(Ni(e)||ji(e))&&ji(e.then)&&ji(e.catch),setImmediate:is,asap:cs,isIterable:e=>null!=e&&ji(e[Si])};function ls(e,t,n,i,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),i&&(this.request=i),s&&(this.response=s,this.status=s.status?s.status:null)}ps.inherits(ls,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:ps.toJSONObject(this.config),code:this.code,status:this.status}}});const us=ls.prototype,ds={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{ds[e]={value:e}})),Object.defineProperties(ls,ds),Object.defineProperty(us,"isAxiosError",{value:!0}),ls.from=(e,t,n,i,s,o)=>{const a=Object.create(us);return ps.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),ls.call(a,e.message,t,n,i,s),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};var ms=l.Stream,fs=hs;function hs(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}d.inherits(hs,ms),hs.create=function(e,t){var n=new this;for(var i in t=t||{})n[i]=t[i];n.source=e;var s=e.emit;return e.emit=function(){return n._handleEmit(arguments),s.apply(e,arguments)},e.on("error",(function(){})),n.pauseStream&&e.pause(),n},Object.defineProperty(hs.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),hs.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},hs.prototype.resume=function(){this._released||this.release(),this.source.resume()},hs.prototype.pause=function(){this.source.pause()},hs.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},hs.prototype.pipe=function(){var e=ms.prototype.pipe.apply(this,arguments);return this.resume(),e},hs.prototype._handleEmit=function(e){this._released?this.emit.apply(this,e):("data"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e))},hs.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}};var xs=d,gs=l.Stream,vs=fs,bs=ys;function ys(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}xs.inherits(ys,gs),ys.create=function(e){var t=new this;for(var n in e=e||{})t[n]=e[n];return t},ys.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},ys.prototype.append=function(e){if(ys.isStreamLike(e)){if(!(e instanceof vs)){var t=vs.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=t}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},ys.prototype.pipe=function(e,t){return gs.prototype.pipe.call(this,e,t),this.resume(),e},ys.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop)this._pendingNext=!0;else{this._insideLoop=!0;try{do{this._pendingNext=!1,this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=!1}}},ys.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){ys.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},ys.prototype._pipeNext=function(e){if(this._currentStream=e,ys.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},ys.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},ys.prototype.write=function(e){this.emit("data",e)},ys.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},ys.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit("resume")},ys.prototype.end=function(){this._reset(),this.emit("end")},ys.prototype.destroy=function(){this._reset(),this.emit("close")},ys.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},ys.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},ys.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach((function(t){t.dataSize&&(e.dataSize+=t.dataSize)})),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},ys.prototype._emitError=function(e){this._reset(),this.emit("error",e)};var ws={},_s={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}};
|
|
2
|
+
/*!
|
|
3
|
+
* mime-types
|
|
4
|
+
* Copyright(c) 2014 Jonathan Ong
|
|
5
|
+
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
6
|
+
* MIT Licensed
|
|
7
|
+
*/
|
|
8
|
+
!function(e){var t,n,i,s=_s,o=f.extname,a=/^\s*([^;\s]*)(?:;|\s|$)/,r=/^text\//i;function c(e){if(!e||"string"!=typeof e)return!1;var t=a.exec(e),n=t&&s[t[1].toLowerCase()];return n&&n.charset?n.charset:!(!t||!r.test(t[1]))&&"UTF-8"}e.charset=c,e.charsets={lookup:c},e.contentType=function(t){if(!t||"string"!=typeof t)return!1;var n=-1===t.indexOf("/")?e.lookup(t):t;if(!n)return!1;if(-1===n.indexOf("charset")){var i=e.charset(n);i&&(n+="; charset="+i.toLowerCase())}return n},e.extension=function(t){if(!t||"string"!=typeof t)return!1;var n=a.exec(t),i=n&&e.extensions[n[1].toLowerCase()];if(!i||!i.length)return!1;return i[0]},e.extensions=Object.create(null),e.lookup=function(t){if(!t||"string"!=typeof t)return!1;var n=o("x."+t).toLowerCase().substr(1);if(!n)return!1;return e.types[n]||!1},e.types=Object.create(null),t=e.extensions,n=e.types,i=["nginx","apache",void 0,"iana"],Object.keys(s).forEach((function(e){var o=s[e],a=o.extensions;if(a&&a.length){t[e]=a;for(var r=0;r<a.length;r++){var c=a[r];if(n[c]){var p=i.indexOf(s[n[c]].source),l=i.indexOf(o.source);if("application/octet-stream"!==n[c]&&(p>l||p===l&&"application/"===n[c].substr(0,12)))continue}n[c]=e}}}))}(ws);var Es=function(e){var t="function"==typeof setImmediate?setImmediate:"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick:null;t?t(e):setTimeout(e,0)};var Ss=Es,ks=function(e){var t=!1;return Ss((function(){t=!0})),function(n,i){t?e(n,i):Ss((function(){e(n,i)}))}};var Rs=function(e){Object.keys(e.jobs).forEach(Ts.bind(e)),e.jobs={}};function Ts(e){"function"==typeof this.jobs[e]&&this.jobs[e]()}var Os=ks,As=Rs,Cs=function(e,t,n,i){var s=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[s]=function(e,t,n,i){var s;s=2==e.length?e(n,Os(i)):e(n,t,Os(i));return s}(t,s,e[s],(function(e,t){s in n.jobs&&(delete n.jobs[s],e?As(n):n.results[s]=t,i(e,n.results))}))};var Ps=function(e,t){var n=!Array.isArray(e),i={index:0,keyedList:n||t?Object.keys(e):null,jobs:{},results:n?{}:[],size:n?Object.keys(e).length:e.length};t&&i.keyedList.sort(n?t:function(n,i){return t(e[n],e[i])});return i};var Ls=Rs,js=ks,Is=function(e){if(!Object.keys(this.jobs).length)return;this.index=this.size,Ls(this),js(e)(null,this.results)};var Ns=Cs,Fs=Ps,Ds=Is,Ms=function(e,t,n){var i=Fs(e);for(;i.index<(i.keyedList||e).length;)Ns(e,t,i,(function(e,t){e?n(e,t):0!==Object.keys(i.jobs).length||n(null,i.results)})),i.index++;return Ds.bind(i,n)};var $s={exports:{}},Bs=Cs,Us=Ps,zs=Is;function Hs(e,t){return e<t?-1:e>t?1:0}$s.exports=function(e,t,n,i){var s=Us(e,n);return Bs(e,t,s,(function n(o,a){o?i(o,a):(s.index++,s.index<(s.keyedList||e).length?Bs(e,t,s,n):i(null,s.results))})),zs.bind(s,i)},$s.exports.ascending=Hs,$s.exports.descending=function(e,t){return-1*Hs(e,t)};var Gs=$s.exports,qs=Gs,Ws=function(e,t,n){return qs(e,t,null,n)};var Ks={parallel:Ms,serial:Ws,serialOrdered:Gs},Vs=bs,Ys=d,Qs=f,Xs=x,Js=g,Zs=v.parse,eo=c,to=l.Stream,no=ws,io=Ks,so=function(e,t){return Object.keys(t).forEach((function(n){e[n]=e[n]||t[n]})),e},oo=ao;function ao(e){if(!(this instanceof ao))return new ao(e);for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],Vs.call(this),e=e||{})this[t]=e[t]}Ys.inherits(ao,Vs),ao.LINE_BREAK="\r\n",ao.DEFAULT_CONTENT_TYPE="application/octet-stream",ao.prototype.append=function(e,t,n){"string"==typeof(n=n||{})&&(n={filename:n});var i=Vs.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),Ys.isArray(t))this._error(new Error("Arrays are not supported."));else{var s=this._multiPartHeader(e,t,n),o=this._multiPartFooter();i(s),i(t),i(o),this._trackLength(s,t,n)}},ao.prototype._trackLength=function(e,t,n){var i=0;null!=n.knownLength?i+=+n.knownLength:Buffer.isBuffer(t)?i=t.length:"string"==typeof t&&(i=Buffer.byteLength(t)),this._valueLength+=i,this._overheadLength+=Buffer.byteLength(e)+ao.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty("httpVersion")||t instanceof to)&&(n.knownLength||this._valuesToMeasure.push(t))},ao.prototype._lengthRetriever=function(e,t){e.hasOwnProperty("fd")?null!=e.end&&e.end!=1/0&&null!=e.start?t(null,e.end+1-(e.start?e.start:0)):eo.stat(e.path,(function(n,i){var s;n?t(n):(s=i.size-(e.start?e.start:0),t(null,s))})):e.hasOwnProperty("httpVersion")?t(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",(function(n){e.pause(),t(null,+n.headers["content-length"])})),e.resume()):t("Unknown stream")},ao.prototype._multiPartHeader=function(e,t,n){if("string"==typeof n.header)return n.header;var i,s=this._getContentDisposition(t,n),o=this._getContentType(t,n),a="",r={"Content-Disposition":["form-data",'name="'+e+'"'].concat(s||[]),"Content-Type":[].concat(o||[])};for(var c in"object"==typeof n.header&&so(r,n.header),r)r.hasOwnProperty(c)&&null!=(i=r[c])&&(Array.isArray(i)||(i=[i]),i.length&&(a+=c+": "+i.join("; ")+ao.LINE_BREAK));return"--"+this.getBoundary()+ao.LINE_BREAK+a+ao.LINE_BREAK},ao.prototype._getContentDisposition=function(e,t){var n,i;return"string"==typeof t.filepath?n=Qs.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?n=Qs.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(n=Qs.basename(e.client._httpMessage.path||"")),n&&(i='filename="'+n+'"'),i},ao.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e.name&&(n=no.lookup(e.name)),!n&&e.path&&(n=no.lookup(e.path)),!n&&e.readable&&e.hasOwnProperty("httpVersion")&&(n=e.headers["content-type"]),n||!t.filepath&&!t.filename||(n=no.lookup(t.filepath||t.filename)),n||"object"!=typeof e||(n=ao.DEFAULT_CONTENT_TYPE),n},ao.prototype._multiPartFooter=function(){return function(e){var t=ao.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}.bind(this)},ao.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+ao.LINE_BREAK},ao.prototype.getHeaders=function(e){var t,n={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(n[t.toLowerCase()]=e[t]);return n},ao.prototype.setBoundary=function(e){this._boundary=e},ao.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},ao.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),n=0,i=this._streams.length;n<i;n++)"function"!=typeof this._streams[n]&&(e=Buffer.isBuffer(this._streams[n])?Buffer.concat([e,this._streams[n]]):Buffer.concat([e,Buffer.from(this._streams[n])]),"string"==typeof this._streams[n]&&this._streams[n].substring(2,t.length+2)===t||(e=Buffer.concat([e,Buffer.from(ao.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])},ao.prototype._generateBoundary=function(){for(var e="--------------------------",t=0;t<24;t++)e+=Math.floor(10*Math.random()).toString(16);this._boundary=e},ao.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),e},ao.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e},ao.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;this._streams.length&&(t+=this._lastBoundary().length),this._valuesToMeasure.length?io.parallel(this._valuesToMeasure,this._lengthRetriever,(function(n,i){n?e(n):(i.forEach((function(e){t+=e})),e(null,t))})):process.nextTick(e.bind(this,null,t))},ao.prototype.submit=function(e,t){var n,i,s={method:"post"};return"string"==typeof e?(e=Zs(e),i=so({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},s)):(i=so(e,s)).port||(i.port="https:"==i.protocol?443:80),i.headers=this.getHeaders(e.headers),n="https:"==i.protocol?Js.request(i):Xs.request(i),this.getLength(function(e,i){if(e&&"Unknown stream"!==e)this._error(e);else if(i&&n.setHeader("Content-Length",i),this.pipe(n),t){var s,o=function(e,i){return n.removeListener("error",o),n.removeListener("response",s),t.call(this,e,i)};s=o.bind(this,null),n.on("error",o),n.on("response",s)}}.bind(this)),n},ao.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))},ao.prototype.toString=function(){return"[object FormData]"};var ro=ye(oo);function co(e){return ps.isPlainObject(e)||ps.isArray(e)}function po(e){return ps.endsWith(e,"[]")?e.slice(0,-2):e}function lo(e,t,n){return e?e.concat(t).map((function(e,t){return e=po(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const uo=ps.toFlatObject(ps,{},null,(function(e){return/^is[A-Z]/.test(e)}));function mo(e,t,n){if(!ps.isObject(e))throw new TypeError("target must be an object");t=t||new(ro||FormData);const i=(n=ps.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!ps.isUndefined(t[e])}))).metaTokens,s=n.visitor||p,o=n.dots,a=n.indexes,r=(n.Blob||"undefined"!=typeof Blob&&Blob)&&ps.isSpecCompliantForm(t);if(!ps.isFunction(s))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(ps.isDate(e))return e.toISOString();if(!r&&ps.isBlob(e))throw new ls("Blob is not supported. Use a Buffer instead.");return ps.isArrayBuffer(e)||ps.isTypedArray(e)?r&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function p(e,n,s){let r=e;if(e&&!s&&"object"==typeof e)if(ps.endsWith(n,"{}"))n=i?n:n.slice(0,-2),e=JSON.stringify(e);else if(ps.isArray(e)&&function(e){return ps.isArray(e)&&!e.some(co)}(e)||(ps.isFileList(e)||ps.endsWith(n,"[]"))&&(r=ps.toArray(e)))return n=po(n),r.forEach((function(e,i){!ps.isUndefined(e)&&null!==e&&t.append(!0===a?lo([n],i,o):null===a?n:n+"[]",c(e))})),!1;return!!co(e)||(t.append(lo(s,n,o),c(e)),!1)}const l=[],u=Object.assign(uo,{defaultVisitor:p,convertValue:c,isVisitable:co});if(!ps.isObject(e))throw new TypeError("data must be an object");return function e(n,i){if(!ps.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+i.join("."));l.push(n),ps.forEach(n,(function(n,o){!0===(!(ps.isUndefined(n)||null===n)&&s.call(t,n,ps.isString(o)?o.trim():o,i,u))&&e(n,i?i.concat(o):[o])})),l.pop()}}(e),t}function fo(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ho(e,t){this._pairs=[],e&&mo(e,this,t)}const xo=ho.prototype;function go(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function vo(e,t,n){if(!t)return e;const i=n&&n.encode||go;ps.isFunction(n)&&(n={serialize:n});const s=n&&n.serialize;let o;if(o=s?s(t,n):ps.isURLSearchParams(t)?t.toString():new ho(t,n).toString(i),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}xo.append=function(e,t){this._pairs.push([e,t])},xo.toString=function(e){const t=e?function(t){return e.call(this,t,fo)}:fo;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};class bo{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){ps.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}var yo={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},wo=v.URLSearchParams;const _o="abcdefghijklmnopqrstuvwxyz",Eo="0123456789",So={DIGIT:Eo,ALPHA:_o,ALPHA_DIGIT:_o+_o.toUpperCase()+Eo};var ko={isNode:!0,classes:{URLSearchParams:wo,FormData:ro,Blob:"undefined"!=typeof Blob&&Blob||null},ALPHABET:So,generateString:(e=16,t=So.ALPHA_DIGIT)=>{let n="";const{length:i}=t,s=new Uint32Array(e);b.randomFillSync(s);for(let o=0;o<e;o++)n+=t[s[o]%i];return n},protocols:["http","https","file","data"]};const Ro="undefined"!=typeof window&&"undefined"!=typeof document,To="object"==typeof navigator&&navigator||void 0,Oo=Ro&&(!To||["ReactNative","NativeScript","NS"].indexOf(To.product)<0),Ao="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Co=Ro&&window.location.href||"http://localhost";var Po={...Object.freeze({__proto__:null,hasBrowserEnv:Ro,hasStandardBrowserEnv:Oo,hasStandardBrowserWebWorkerEnv:Ao,navigator:To,origin:Co}),...ko};function Lo(e){function t(e,n,i,s){let o=e[s++];if("__proto__"===o)return!0;const a=Number.isFinite(+o),r=s>=e.length;if(o=!o&&ps.isArray(i)?i.length:o,r)return ps.hasOwnProp(i,o)?i[o]=[i[o],n]:i[o]=n,!a;i[o]&&ps.isObject(i[o])||(i[o]=[]);return t(e,n,i[o],s)&&ps.isArray(i[o])&&(i[o]=function(e){const t={},n=Object.keys(e);let i;const s=n.length;let o;for(i=0;i<s;i++)o=n[i],t[o]=e[o];return t}(i[o])),!a}if(ps.isFormData(e)&&ps.isFunction(e.entries)){const n={};return ps.forEachEntry(e,((e,i)=>{t(function(e){return ps.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),i,n,0)})),n}return null}const jo={transitional:yo,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",i=n.indexOf("application/json")>-1,s=ps.isObject(e);s&&ps.isHTMLForm(e)&&(e=new FormData(e));if(ps.isFormData(e))return i?JSON.stringify(Lo(e)):e;if(ps.isArrayBuffer(e)||ps.isBuffer(e)||ps.isStream(e)||ps.isFile(e)||ps.isBlob(e)||ps.isReadableStream(e))return e;if(ps.isArrayBufferView(e))return e.buffer;if(ps.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(s){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return mo(e,new Po.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,i){return Po.isNode&&ps.isBuffer(e)?(this.append(t,e.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((o=ps.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return mo(o?{"files[]":e}:e,t&&new t,this.formSerializer)}}return s||i?(t.setContentType("application/json",!1),function(e,t,n){if(ps.isString(e))try{return(t||JSON.parse)(e),ps.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||jo.transitional,n=t&&t.forcedJSONParsing,i="json"===this.responseType;if(ps.isResponse(e)||ps.isReadableStream(e))return e;if(e&&ps.isString(e)&&(n&&!this.responseType||i)){const n=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw ls.from(e,ls.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Po.classes.FormData,Blob:Po.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ps.forEach(["delete","get","head","post","put","patch"],(e=>{jo.headers[e]={}}));var Io=jo;const No=ps.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const Fo=Symbol("internals");function Do(e){return e&&String(e).trim().toLowerCase()}function Mo(e){return!1===e||null==e?e:ps.isArray(e)?e.map(Mo):String(e)}function $o(e,t,n,i,s){return ps.isFunction(i)?i.call(this,t,n):(s&&(t=n),ps.isString(t)?ps.isString(i)?-1!==t.indexOf(i):ps.isRegExp(i)?i.test(t):void 0:void 0)}class Bo{constructor(e){e&&this.set(e)}set(e,t,n){const i=this;function s(e,t,n){const s=Do(t);if(!s)throw new Error("header name must be a non-empty string");const o=ps.findKey(i,s);(!o||void 0===i[o]||!0===n||void 0===n&&!1!==i[o])&&(i[o||t]=Mo(e))}const o=(e,t)=>ps.forEach(e,((e,n)=>s(e,n,t)));if(ps.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(ps.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))o((e=>{const t={};let n,i,s;return e&&e.split("\n").forEach((function(e){s=e.indexOf(":"),n=e.substring(0,s).trim().toLowerCase(),i=e.substring(s+1).trim(),!n||t[n]&&No[n]||("set-cookie"===n?t[n]?t[n].push(i):t[n]=[i]:t[n]=t[n]?t[n]+", "+i:i)})),t})(e),t);else if(ps.isObject(e)&&ps.isIterable(e)){let n,i,s={};for(const t of e){if(!ps.isArray(t))throw TypeError("Object iterator must return a key-value pair");s[i=t[0]]=(n=s[i])?ps.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}o(s,t)}else null!=e&&s(t,e,n);return this}get(e,t){if(e=Do(e)){const n=ps.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(e);)t[i[1]]=i[2];return t}(e);if(ps.isFunction(t))return t.call(this,e,n);if(ps.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Do(e)){const n=ps.findKey(this,e);return!(!n||void 0===this[n]||t&&!$o(0,this[n],n,t))}return!1}delete(e,t){const n=this;let i=!1;function s(e){if(e=Do(e)){const s=ps.findKey(n,e);!s||t&&!$o(0,n[s],s,t)||(delete n[s],i=!0)}}return ps.isArray(e)?e.forEach(s):s(e),i}clear(e){const t=Object.keys(this);let n=t.length,i=!1;for(;n--;){const s=t[n];e&&!$o(0,this[s],s,e,!0)||(delete this[s],i=!0)}return i}normalize(e){const t=this,n={};return ps.forEach(this,((i,s)=>{const o=ps.findKey(n,s);if(o)return t[o]=Mo(i),void delete t[s];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(s):String(s).trim();a!==s&&delete t[s],t[a]=Mo(i),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return ps.forEach(this,((n,i)=>{null!=n&&!1!==n&&(t[i]=e&&ps.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[Fo]=this[Fo]={accessors:{}}).accessors,n=this.prototype;function i(e){const i=Do(e);t[i]||(!function(e,t){const n=ps.toCamelCase(" "+t);["get","set","has"].forEach((i=>{Object.defineProperty(e,i+n,{value:function(e,n,s){return this[i].call(this,t,e,n,s)},configurable:!0})}))}(n,e),t[i]=!0)}return ps.isArray(e)?e.forEach(i):i(e),this}}Bo.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),ps.reduceDescriptors(Bo.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),ps.freezeMethods(Bo);var Uo=Bo;function zo(e,t){const n=this||Io,i=t||n,s=Uo.from(i.headers);let o=i.data;return ps.forEach(e,(function(e){o=e.call(n,o,s.normalize(),t?t.status:void 0)})),s.normalize(),o}function Ho(e){return!(!e||!e.__CANCEL__)}function Go(e,t,n){ls.call(this,null==e?"canceled":e,ls.ERR_CANCELED,t,n),this.name="CanceledError"}function qo(e,t,n){const i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(new ls("Request failed with status code "+n.status,[ls.ERR_BAD_REQUEST,ls.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function Wo(e,t,n){let i=!function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}(t);return e&&(i||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}ps.inherits(Go,ls,{__CANCEL__:!0});var Ko={},Vo=v.parse,Yo={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},Qo=String.prototype.endsWith||function(e){return e.length<=this.length&&-1!==this.indexOf(e,this.length-e.length)};function Xo(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}Ko.getProxyForUrl=function(e){var t="string"==typeof e?Vo(e):e||{},n=t.protocol,i=t.host,s=t.port;if("string"!=typeof i||!i||"string"!=typeof n)return"";if(n=n.split(":",1)[0],!function(e,t){var n=(Xo("npm_config_no_proxy")||Xo("no_proxy")).toLowerCase();if(!n)return!0;if("*"===n)return!1;return n.split(/[,\s]/).every((function(n){if(!n)return!0;var i=n.match(/^(.+):(\d+)$/),s=i?i[1]:n,o=i?parseInt(i[2]):0;return!(!o||o===t)||(/^[.*]/.test(s)?("*"===s.charAt(0)&&(s=s.slice(1)),!Qo.call(e,s)):e!==s)}))}(i=i.replace(/:\d*$/,""),s=parseInt(s)||Yo[n]||0))return"";var o=Xo("npm_config_"+n+"_proxy")||Xo(n+"_proxy")||Xo("npm_config_proxy")||Xo("all_proxy");return o&&-1===o.indexOf("://")&&(o=n+"://"+o),o};var Jo,Zo,ea,ta,na,ia={exports:{}},sa={exports:{}},oa={exports:{}};function aa(){if(Zo)return Jo;Zo=1;var e=1e3,t=60*e,n=60*t,i=24*n,s=7*i,o=365.25*i;function a(e,t,n,i){var s=t>=1.5*n;return Math.round(e/n)+" "+i+(s?"s":"")}return Jo=function(r,c){c=c||{};var p=typeof r;if("string"===p&&r.length>0)return function(a){if((a=String(a)).length>100)return;var r=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(a);if(!r)return;var c=parseFloat(r[1]);switch((r[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*o;case"weeks":case"week":case"w":return c*s;case"days":case"day":case"d":return c*i;case"hours":case"hour":case"hrs":case"hr":case"h":return c*n;case"minutes":case"minute":case"mins":case"min":case"m":return c*t;case"seconds":case"second":case"secs":case"sec":case"s":return c*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(r);if("number"===p&&isFinite(r))return c.long?function(s){var o=Math.abs(s);if(o>=i)return a(s,o,i,"day");if(o>=n)return a(s,o,n,"hour");if(o>=t)return a(s,o,t,"minute");if(o>=e)return a(s,o,e,"second");return s+" ms"}(r):function(s){var o=Math.abs(s);if(o>=i)return Math.round(s/i)+"d";if(o>=n)return Math.round(s/n)+"h";if(o>=t)return Math.round(s/t)+"m";if(o>=e)return Math.round(s/e)+"s";return s+"ms"}(r);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(r))}}function ra(){if(ta)return ea;return ta=1,ea=function(e){function t(e){let i,s,o,a=null;function r(...e){if(!r.enabled)return;const n=r,s=Number(new Date),o=s-(i||s);n.diff=o,n.prev=i,n.curr=s,i=s,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((i,s)=>{if("%%"===i)return"%";a++;const o=t.formatters[s];if("function"==typeof o){const t=e[a];i=o.call(n,t),e.splice(a,1),a--}return i})),t.formatArgs.call(n,e);(n.log||t.log).apply(n,e)}return r.namespace=e,r.useColors=t.useColors(),r.color=t.selectColor(e),r.extend=n,r.destroy=t.destroy,Object.defineProperty(r,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(s!==t.namespaces&&(s=t.namespaces,o=t.enabled(e)),o),set:e=>{a=e}}),"function"==typeof t.init&&t.init(r),r}function n(e,n){const i=t(this.namespace+(void 0===n?":":n)+e);return i.log=this.log,i}function i(e,t){let n=0,i=0,s=-1,o=0;for(;n<e.length;)if(i<t.length&&(t[i]===e[n]||"*"===t[i]))"*"===t[i]?(s=i,o=n,i++):(n++,i++);else{if(-1===s)return!1;i=s+1,o++,n=o}for(;i<t.length&&"*"===t[i];)i++;return i===t.length}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names,...t.skips.map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of n)"-"===e[0]?t.skips.push(e.slice(1)):t.names.push(e)},t.enabled=function(e){for(const n of t.skips)if(i(e,n))return!1;for(const n of t.names)if(i(e,n))return!0;return!1},t.humanize=aa(),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t},ea}var ca,pa,la,ua,da,ma,fa,ha={exports:{}};function xa(){return pa?ca:(pa=1,ca=(e,t)=>{t=t||process.argv;const n=e.startsWith("-")?"":1===e.length?"-":"--",i=t.indexOf(n+e),s=t.indexOf("--");return-1!==i&&(-1===s||i<s)})}function ga(){if(ua)return la;ua=1;const e=h,t=xa(),n=process.env;let i;function s(s){const o=function(s){if(!1===i)return 0;if(t("color=16m")||t("color=full")||t("color=truecolor"))return 3;if(t("color=256"))return 2;if(s&&!s.isTTY&&!0!==i)return 0;const o=i?1:0;if("win32"===process.platform){const t=e.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(t[0])>=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in n)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((e=>e in n))||"codeship"===n.CI_NAME?1:o;if("TEAMCITY_VERSION"in n)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(n.TEAMCITY_VERSION)?1:0;if("truecolor"===n.COLORTERM)return 3;if("TERM_PROGRAM"in n){const e=parseInt((n.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(n.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(n.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(n.TERM)||"COLORTERM"in n?1:(n.TERM,o)}(s);return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(o)}return t("no-color")||t("no-colors")||t("color=false")?i=!1:(t("color")||t("colors")||t("color=true")||t("color=always"))&&(i=!0),"FORCE_COLOR"in n&&(i=0===n.FORCE_COLOR.length||0!==parseInt(n.FORCE_COLOR,10)),la={supportsColor:s,stdout:s(process.stdout),stderr:s(process.stderr)}}function va(){return da||(da=1,function(e,t){const n=y,i=d;t.init=function(e){e.inspectOpts={};const n=Object.keys(t.inspectOpts);for(let i=0;i<n.length;i++)e.inspectOpts[n[i]]=t.inspectOpts[n[i]]},t.log=function(...e){return process.stderr.write(i.formatWithOptions(t.inspectOpts,...e)+"\n")},t.formatArgs=function(n){const{namespace:i,useColors:s}=this;if(s){const t=this.color,s="[3"+(t<8?t:"8;5;"+t),o=` ${s};1m${i} [0m`;n[0]=o+n[0].split("\n").join("\n"+o),n.push(s+"m+"+e.exports.humanize(this.diff)+"[0m")}else n[0]=function(){if(t.inspectOpts.hideDate)return"";return(new Date).toISOString()+" "}()+i+" "+n[0]},t.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},t.load=function(){return process.env.DEBUG},t.useColors=function(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):n.isatty(process.stderr.fd)},t.destroy=i.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{const e=ga();e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const n=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let i=process.env[t];return i=!!/^(yes|on|true|enabled)$/i.test(i)||!/^(no|off|false|disabled)$/i.test(i)&&("null"===i?null:Number(i)),e[n]=i,e}),{}),e.exports=ra()(t);const{formatters:s}=e.exports;s.o=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")},s.O=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts)}}(ha,ha.exports)),ha.exports}function ba(){return ma||(ma=1,"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?sa.exports=(na||(na=1,function(e,t){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let i=0,s=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(i++,"%c"===e&&(s=i))})),t.splice(s,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=ra()(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}(oa,oa.exports)),oa.exports):sa.exports=va()),sa.exports}var ya,wa,_a,Ea=v,Sa=Ea.URL,ka=x,Ra=g,Ta=l.Writable,Oa=m,Aa=function(){if(!fa){try{fa=ba()("follow-redirects")}catch(e){}"function"!=typeof fa&&(fa=function(){})}fa.apply(null,arguments)};ya="undefined"!=typeof process,wa="undefined"!=typeof window&&"undefined"!=typeof document,_a=Qa(Error.captureStackTrace),ya||!wa&&_a||console.warn("The follow-redirects package should be excluded from browser builds.");var Ca=!1;try{Oa(new Sa(""))}catch(Sf){Ca="ERR_INVALID_URL"===Sf.code}var Pa=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],La=["abort","aborted","connect","error","socket","timeout"],ja=Object.create(null);La.forEach((function(e){ja[e]=function(t,n,i){this._redirectable.emit(e,t,n,i)}}));var Ia=Ka("ERR_INVALID_URL","Invalid URL",TypeError),Na=Ka("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),Fa=Ka("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",Na),Da=Ka("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),Ma=Ka("ERR_STREAM_WRITE_AFTER_END","write after end"),$a=Ta.prototype.destroy||za;function Ba(e,t){Ta.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var n=this;this._onNativeResponse=function(e){try{n._processResponse(e)}catch(e){n.emit("error",e instanceof Na?e:new Na({cause:e}))}},this._performRequest()}function Ua(e){var t={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(e).forEach((function(i){var s=i+":",o=n[s]=e[i],a=t[i]=Object.create(o);Object.defineProperties(a,{request:{value:function(e,i,o){var a;return a=e,Sa&&a instanceof Sa?e=qa(e):Ya(e)?e=qa(Ha(e)):(o=i,i=Ga(e),e={protocol:s}),Qa(i)&&(o=i,i=null),(i=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,i)).nativeProtocols=n,Ya(i.host)||Ya(i.hostname)||(i.hostname="::1"),Oa.equal(i.protocol,s,"protocol mismatch"),Aa("options",i),new Ba(i,o)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,n){var i=a.request(e,t,n);return i.end(),i},configurable:!0,enumerable:!0,writable:!0}})})),t}function za(){}function Ha(e){var t;if(Ca)t=new Sa(e);else if(!Ya((t=Ga(Ea.parse(e))).protocol))throw new Ia({input:e});return t}function Ga(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new Ia({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new Ia({input:e.href||e});return e}function qa(e,t){var n=t||{};for(var i of Pa)n[i]=e[i];return n.hostname.startsWith("[")&&(n.hostname=n.hostname.slice(1,-1)),""!==n.port&&(n.port=Number(n.port)),n.path=n.search?n.pathname+n.search:n.pathname,n}function Wa(e,t){var n;for(var i in t)e.test(i)&&(n=t[i],delete t[i]);return null==n?void 0:String(n).trim()}function Ka(e,t,n){function i(n){Qa(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,n||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return i.prototype=new(n||Error),Object.defineProperties(i.prototype,{constructor:{value:i,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),i}function Va(e,t){for(var n of La)e.removeListener(n,ja[n]);e.on("error",za),e.destroy(t)}function Ya(e){return"string"==typeof e||e instanceof String}function Qa(e){return"function"==typeof e}Ba.prototype=Object.create(Ta.prototype),Ba.prototype.abort=function(){Va(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},Ba.prototype.destroy=function(e){return Va(this._currentRequest,e),$a.call(this,e),this},Ba.prototype.write=function(e,t,n){if(this._ending)throw new Ma;if(!Ya(e)&&("object"!=typeof(i=e)||!("length"in i)))throw new TypeError("data should be a string, Buffer or Uint8Array");var i;Qa(t)&&(n=t,t=null),0!==e.length?this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,n)):(this.emit("error",new Da),this.abort()):n&&n()},Ba.prototype.end=function(e,t,n){if(Qa(e)?(n=e,e=t=null):Qa(t)&&(n=t,t=null),e){var i=this,s=this._currentRequest;this.write(e,t,(function(){i._ended=!0,s.end(null,null,n)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,n)},Ba.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},Ba.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},Ba.prototype.setTimeout=function(e,t){var n=this;function i(t){t.setTimeout(e),t.removeListener("timeout",t.destroy),t.addListener("timeout",t.destroy)}function s(t){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout((function(){n.emit("timeout"),o()}),e),i(t)}function o(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",o),n.removeListener("error",o),n.removeListener("response",o),n.removeListener("close",o),t&&n.removeListener("timeout",t),n.socket||n._currentRequest.removeListener("socket",s)}return t&&this.on("timeout",t),this.socket?s(this.socket):this._currentRequest.once("socket",s),this.on("socket",i),this.on("abort",o),this.on("error",o),this.on("response",o),this.on("close",o),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){Ba.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(Ba.prototype,e,{get:function(){return this._currentRequest[e]}})})),Ba.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),e.host&&(e.hostname||(e.hostname=e.host),delete e.host),!e.pathname&&e.path){var t=e.path.indexOf("?");t<0?e.pathname=e.path:(e.pathname=e.path.substring(0,t),e.search=e.path.substring(t))}},Ba.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t)throw new TypeError("Unsupported protocol "+e);if(this._options.agents){var n=e.slice(0,-1);this._options.agent=this._options.agents[n]}var i=this._currentRequest=t.request(this._options,this._onNativeResponse);for(var s of(i._redirectable=this,La))i.on(s,ja[s]);if(this._currentUrl=/^\//.test(this._options.path)?Ea.format(this._options):this._options.path,this._isRedirect){var o=0,a=this,r=this._requestBodyBuffers;!function e(t){if(i===a._currentRequest)if(t)a.emit("error",t);else if(o<r.length){var n=r[o++];i.finished||i.write(n.data,n.encoding,e)}else a._ended&&i.end()}()}},Ba.prototype._processResponse=function(e){var t=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:t});var n,i=e.headers.location;if(!i||!1===this._options.followRedirects||t<300||t>=400)return e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),void(this._requestBodyBuffers=[]);if(Va(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new Fa;var s=this._options.beforeRedirect;s&&(n=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var o=this._options.method;((301===t||302===t)&&"POST"===this._options.method||303===t&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],Wa(/^content-/i,this._options.headers));var a,r,c=Wa(/^host$/i,this._options.headers),p=Ha(this._currentUrl),l=c||p.host,u=/^\w+:/.test(i)?this._currentUrl:Ea.format(Object.assign(p,{host:l})),d=(a=i,r=u,Ca?new Sa(a,r):Ha(Ea.resolve(r,a)));if(Aa("redirecting to",d.href),this._isRedirect=!0,qa(d,this._options),(d.protocol!==p.protocol&&"https:"!==d.protocol||d.host!==l&&!function(e,t){Oa(Ya(e)&&Ya(t));var n=e.length-t.length-1;return n>0&&"."===e[n]&&e.endsWith(t)}(d.host,l))&&Wa(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),Qa(s)){var m={headers:e.headers,statusCode:t},f={url:u,method:o,headers:n};s(this._options,m,f),this._sanitizeOptions(this._options)}this._performRequest()},ia.exports=Ua({http:ka,https:Ra}),ia.exports.wrap=Ua;var Xa=ye(ia.exports);const Ja="1.9.0";function Za(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const er=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;const tr=Symbol("internals");class nr extends l.Transform{constructor(e){super({readableHighWaterMark:(e=ps.toFlatObject(e,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,((e,t)=>!ps.isUndefined(t[e])))).chunkSize});const t=this[tr]={timeWindow:e.timeWindow,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(e=>{"progress"===e&&(t.isCaptured||(t.isCaptured=!0))}))}_read(e){const t=this[tr];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,n){const i=this[tr],s=i.maxRate,o=this.readableHighWaterMark,a=i.timeWindow,r=s/(1e3/a),c=!1!==i.minChunkSize?Math.max(i.minChunkSize,.01*r):0,p=(e,t)=>{const n=Buffer.byteLength(e);i.bytesSeen+=n,i.bytes+=n,i.isCaptured&&this.emit("progress",i.bytesSeen),this.push(e)?process.nextTick(t):i.onReadCallback=()=>{i.onReadCallback=null,process.nextTick(t)}},l=(e,t)=>{const n=Buffer.byteLength(e);let l,u=null,d=o,m=0;if(s){const e=Date.now();(!i.ts||(m=e-i.ts)>=a)&&(i.ts=e,l=r-i.bytes,i.bytes=l<0?-l:0,m=0),l=r-i.bytes}if(s){if(l<=0)return setTimeout((()=>{t(null,e)}),a-m);l<d&&(d=l)}d&&n>d&&n-d>c&&(u=e.subarray(d),e=e.subarray(0,d)),p(e,u?()=>{process.nextTick(t,null,u)}:t)};l(e,(function e(t,i){if(t)return n(t);i?l(i,e):n(null)}))}}var ir=nr;const{asyncIterator:sr}=Symbol,or=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[sr]?yield*e[sr]():yield e},ar=Po.ALPHABET.ALPHA_DIGIT+"-_",rr="function"==typeof TextEncoder?new TextEncoder:new d.TextEncoder,cr="\r\n",pr=rr.encode(cr);class lr{constructor(e,t){const{escapeName:n}=this.constructor,i=ps.isString(t);let s=`Content-Disposition: form-data; name="${n(e)}"${!i&&t.name?`; filename="${n(t.name)}"`:""}${cr}`;i?t=rr.encode(String(t).replace(/\r?\n|\r\n?/g,cr)):s+=`Content-Type: ${t.type||"application/octet-stream"}${cr}`,this.headers=rr.encode(s+cr),this.contentLength=i?t.byteLength:t.size,this.size=this.headers.byteLength+this.contentLength+2,this.name=e,this.value=t}async*encode(){yield this.headers;const{value:e}=this;ps.isTypedArray(e)?yield e:yield*or(e),yield pr}static escapeName(e){return String(e).replace(/[\r\n"]/g,(e=>({"\r":"%0D","\n":"%0A",'"':"%22"}[e])))}}class ur extends l.Transform{__transform(e,t,n){this.push(e),n()}_transform(e,t,n){if(0!==e.length&&(this._transform=this.__transform,120!==e[0])){const e=Buffer.alloc(2);e[0]=120,e[1]=156,this.push(e,t)}this.__transform(e,t,n)}}const dr=(e,t)=>ps.isAsyncFn(e)?function(...n){const i=n.pop();e.apply(this,n).then((e=>{try{t?i(null,...t(e)):i(null,e)}catch(e){i(e)}}),i)}:e;const mr=(e,t,n=3)=>{let i=0;const s=function(e,t){e=e||10;const n=new Array(e),i=new Array(e);let s,o=0,a=0;return t=void 0!==t?t:1e3,function(r){const c=Date.now(),p=i[a];s||(s=c),n[o]=r,i[o]=c;let l=a,u=0;for(;l!==o;)u+=n[l++],l%=e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),c-s<t)return;const d=p&&c-p;return d?Math.round(1e3*u/d):void 0}}(50,250);return function(e,t){let n,i,s=0,o=1e3/t;const a=(t,o=Date.now())=>{s=o,n=null,i&&(clearTimeout(i),i=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),r=t-s;r>=o?a(e,t):(n=e,i||(i=setTimeout((()=>{i=null,a(n)}),o-r)))},()=>n&&a(n)]}((n=>{const o=n.loaded,a=n.lengthComputable?n.total:void 0,r=o-i,c=s(r);i=o;e({loaded:o,total:a,progress:a?o/a:void 0,bytes:r,rate:c||void 0,estimated:c&&a&&o<=a?(a-o)/c:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0})}),n)},fr=(e,t)=>{const n=null!=e;return[i=>t[0]({lengthComputable:n,total:e,loaded:i}),t[1]]},hr=e=>(...t)=>ps.asap((()=>e(...t))),xr={flush:w.constants.Z_SYNC_FLUSH,finishFlush:w.constants.Z_SYNC_FLUSH},gr={flush:w.constants.BROTLI_OPERATION_FLUSH,finishFlush:w.constants.BROTLI_OPERATION_FLUSH},vr=ps.isFunction(w.createBrotliDecompress),{http:br,https:yr}=Xa,wr=/https:?/,_r=Po.protocols.map((e=>e+":")),Er=(e,[t,n])=>(e.on("end",n).on("error",n),t);function Sr(e,t){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t)}function kr(e,t,n){let i=t;if(!i&&!1!==i){const e=Ko.getProxyForUrl(n);e&&(i=new URL(e))}if(i){if(i.username&&(i.auth=(i.username||"")+":"+(i.password||"")),i.auth){(i.auth.username||i.auth.password)&&(i.auth=(i.auth.username||"")+":"+(i.auth.password||""));const t=Buffer.from(i.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+t}e.headers.host=e.hostname+(e.port?":"+e.port:"");const t=i.hostname||i.host;e.hostname=t,e.host=t,e.port=i.port,e.path=n,i.protocol&&(e.protocol=i.protocol.includes(":")?i.protocol:`${i.protocol}:`)}e.beforeRedirects.proxy=function(e){kr(e,t,e.href)}}const Rr="undefined"!=typeof process&&"process"===ps.kindOf(process),Tr=(e,t)=>(({address:e,family:t})=>{if(!ps.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}})(ps.isObject(e)?e:{address:e,family:t});var Or=Rr&&function(e){return t=async function(t,n,i){let{data:s,lookup:o,family:a}=e;const{responseType:r,responseEncoding:c}=e,p=e.method.toUpperCase();let m,f,h=!1;if(o){const e=dr(o,(e=>ps.isArray(e)?e:[e]));o=(t,n,i)=>{e(t,n,((e,t,s)=>{if(e)return i(e);const o=ps.isArray(t)?t.map((e=>Tr(e))):[Tr(t,s)];n.all?i(e,o):i(e,o[0].address,o[0].family)}))}}const v=new E,b=()=>{e.cancelToken&&e.cancelToken.unsubscribe(y),e.signal&&e.signal.removeEventListener("abort",y),v.removeAllListeners()};function y(t){v.emit("abort",!t||t.type?new Go(null,e,f):t)}i(((e,t)=>{m=!0,t&&(h=!0,b())})),v.once("abort",n),(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(y),e.signal&&(e.signal.aborted?y():e.signal.addEventListener("abort",y)));const _=Wo(e.baseURL,e.url,e.allowAbsoluteUrls),S=new URL(_,Po.hasBrowserEnv?Po.origin:void 0),k=S.protocol||_r[0];if("data:"===k){let i;if("GET"!==p)return qo(t,n,{status:405,statusText:"method not allowed",headers:{},config:e});try{i=function(e,t,n){const i=n&&n.Blob||Po.classes.Blob,s=Za(e);if(void 0===t&&i&&(t=!0),"data"===s){e=s.length?e.slice(s.length+1):e;const n=er.exec(e);if(!n)throw new ls("Invalid URL",ls.ERR_INVALID_URL);const o=n[1],a=n[2],r=n[3],c=Buffer.from(decodeURIComponent(r),a?"base64":"utf8");if(t){if(!i)throw new ls("Blob is not supported",ls.ERR_NOT_SUPPORT);return new i([c],{type:o})}return c}throw new ls("Unsupported protocol "+s,ls.ERR_NOT_SUPPORT)}(e.url,"blob"===r,{Blob:e.env&&e.env.Blob})}catch(t){throw ls.from(t,ls.ERR_BAD_REQUEST,e)}return"text"===r?(i=i.toString(c),c&&"utf8"!==c||(i=ps.stripBOM(i))):"stream"===r&&(i=l.Readable.from(i)),qo(t,n,{data:i,status:200,statusText:"OK",headers:new Uo,config:e})}if(-1===_r.indexOf(k))return n(new ls("Unsupported protocol "+k,ls.ERR_BAD_REQUEST,e));const R=Uo.from(e.headers).normalize();R.set("User-Agent","axios/"+Ja,!1);const{onUploadProgress:T,onDownloadProgress:O}=e,A=e.maxRate;let C,P;if(ps.isSpecCompliantForm(s)){const e=R.getContentType(/boundary=([-_\w\d]{10,70})/i);s=((e,t,n)=>{const{tag:i="form-data-boundary",size:s=25,boundary:o=i+"-"+Po.generateString(s,ar)}=n||{};if(!ps.isFormData(e))throw TypeError("FormData instance required");if(o.length<1||o.length>70)throw Error("boundary must be 10-70 characters long");const a=rr.encode("--"+o+cr),r=rr.encode("--"+o+"--"+cr);let c=r.byteLength;const p=Array.from(e.entries()).map((([e,t])=>{const n=new lr(e,t);return c+=n.size,n}));c+=a.byteLength*p.length,c=ps.toFiniteNumber(c);const l={"Content-Type":`multipart/form-data; boundary=${o}`};return Number.isFinite(c)&&(l["Content-Length"]=c),t&&t(l),u.from(async function*(){for(const e of p)yield a,yield*e.encode();yield r}())})(s,(e=>{R.set(e)}),{tag:`axios-${Ja}-boundary`,boundary:e&&e[1]||void 0})}else if(ps.isFormData(s)&&ps.isFunction(s.getHeaders)){if(R.set(s.getHeaders()),!R.hasContentLength())try{const e=await d.promisify(s.getLength).call(s);Number.isFinite(e)&&e>=0&&R.setContentLength(e)}catch(e){}}else if(ps.isBlob(s)||ps.isFile(s))s.size&&R.setContentType(s.type||"application/octet-stream"),R.setContentLength(s.size||0),s=l.Readable.from(or(s));else if(s&&!ps.isStream(s)){if(Buffer.isBuffer(s));else if(ps.isArrayBuffer(s))s=Buffer.from(new Uint8Array(s));else{if(!ps.isString(s))return n(new ls("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",ls.ERR_BAD_REQUEST,e));s=Buffer.from(s,"utf-8")}if(R.setContentLength(s.length,!1),e.maxBodyLength>-1&&s.length>e.maxBodyLength)return n(new ls("Request body larger than maxBodyLength limit",ls.ERR_BAD_REQUEST,e))}const L=ps.toFiniteNumber(R.getContentLength());let j,I;ps.isArray(A)?(C=A[0],P=A[1]):C=P=A,s&&(T||C)&&(ps.isStream(s)||(s=l.Readable.from(s,{objectMode:!1})),s=l.pipeline([s,new ir({maxRate:ps.toFiniteNumber(C)})],ps.noop),T&&s.on("progress",Er(s,fr(L,mr(hr(T),!1,3))))),e.auth&&(j=(e.auth.username||"")+":"+(e.auth.password||"")),!j&&S.username&&(j=S.username+":"+S.password),j&&R.delete("authorization");try{I=vo(S.pathname+S.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(t){const i=new Error(t.message);return i.config=e,i.url=e.url,i.exists=!0,n(i)}R.set("Accept-Encoding","gzip, compress, deflate"+(vr?", br":""),!1);const N={path:I,method:p,headers:R.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:j,protocol:k,family:a,beforeRedirect:Sr,beforeRedirects:{}};let F;!ps.isUndefined(o)&&(N.lookup=o),e.socketPath?N.socketPath=e.socketPath:(N.hostname=S.hostname.startsWith("[")?S.hostname.slice(1,-1):S.hostname,N.port=S.port,kr(N,e.proxy,k+"//"+S.hostname+(S.port?":"+S.port:"")+N.path));const D=wr.test(N.protocol);if(N.agent=D?e.httpsAgent:e.httpAgent,e.transport?F=e.transport:0===e.maxRedirects?F=D?g:x:(e.maxRedirects&&(N.maxRedirects=e.maxRedirects),e.beforeRedirect&&(N.beforeRedirects.config=e.beforeRedirect),F=D?yr:br),e.maxBodyLength>-1?N.maxBodyLength=e.maxBodyLength:N.maxBodyLength=1/0,e.insecureHTTPParser&&(N.insecureHTTPParser=e.insecureHTTPParser),f=F.request(N,(function(i){if(f.destroyed)return;const s=[i],o=+i.headers["content-length"];if(O||P){const e=new ir({maxRate:ps.toFiniteNumber(P)});O&&e.on("progress",Er(e,fr(o,mr(hr(O),!0,3)))),s.push(e)}let a=i;const u=i.req||f;if(!1!==e.decompress&&i.headers["content-encoding"])switch("HEAD"!==p&&204!==i.statusCode||delete i.headers["content-encoding"],(i.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":s.push(w.createUnzip(xr)),delete i.headers["content-encoding"];break;case"deflate":s.push(new ur),s.push(w.createUnzip(xr)),delete i.headers["content-encoding"];break;case"br":vr&&(s.push(w.createBrotliDecompress(gr)),delete i.headers["content-encoding"])}a=s.length>1?l.pipeline(s,ps.noop):s[0];const d=l.finished(a,(()=>{d(),b()})),m={status:i.statusCode,statusText:i.statusMessage,headers:new Uo(i.headers),config:e,request:u};if("stream"===r)m.data=a,qo(t,n,m);else{const i=[];let s=0;a.on("data",(function(t){i.push(t),s+=t.length,e.maxContentLength>-1&&s>e.maxContentLength&&(h=!0,a.destroy(),n(new ls("maxContentLength size of "+e.maxContentLength+" exceeded",ls.ERR_BAD_RESPONSE,e,u)))})),a.on("aborted",(function(){if(h)return;const t=new ls("stream has been aborted",ls.ERR_BAD_RESPONSE,e,u);a.destroy(t),n(t)})),a.on("error",(function(t){f.destroyed||n(ls.from(t,null,e,u))})),a.on("end",(function(){try{let e=1===i.length?i[0]:Buffer.concat(i);"arraybuffer"!==r&&(e=e.toString(c),c&&"utf8"!==c||(e=ps.stripBOM(e))),m.data=e}catch(t){return n(ls.from(t,null,e,m.request,m))}qo(t,n,m)}))}v.once("abort",(e=>{a.destroyed||(a.emit("error",e),a.destroy())}))})),v.once("abort",(e=>{n(e),f.destroy(e)})),f.on("error",(function(t){n(ls.from(t,null,e,f))})),f.on("socket",(function(e){e.setKeepAlive(!0,6e4)})),e.timeout){const t=parseInt(e.timeout,10);if(Number.isNaN(t))return void n(new ls("error trying to parse `config.timeout` to int",ls.ERR_BAD_OPTION_VALUE,e,f));f.setTimeout(t,(function(){if(m)return;let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const i=e.transitional||yo;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new ls(t,i.clarifyTimeoutError?ls.ETIMEDOUT:ls.ECONNABORTED,e,f)),y()}))}if(ps.isStream(s)){let t=!1,n=!1;s.on("end",(()=>{t=!0})),s.once("error",(e=>{n=!0,f.destroy(e)})),s.on("close",(()=>{t||n||y(new Go("Request stream has been aborted",e,f))})),s.pipe(f)}else f.end(s)},new Promise(((e,n)=>{let i,s;const o=(e,t)=>{s||(s=!0,i&&i(e,t))},a=e=>{o(e,!0),n(e)};t((t=>{o(t),e(t)}),a,(e=>i=e)).catch(a)}));var t},Ar=Po.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Po.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Po.origin),Po.navigator&&/(msie|trident)/i.test(Po.navigator.userAgent)):()=>!0,Cr=Po.hasStandardBrowserEnv?{write(e,t,n,i,s,o){const a=[e+"="+encodeURIComponent(t)];ps.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),ps.isString(i)&&a.push("path="+i),ps.isString(s)&&a.push("domain="+s),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};const Pr=e=>e instanceof Uo?{...e}:e;function Lr(e,t){t=t||{};const n={};function i(e,t,n,i){return ps.isPlainObject(e)&&ps.isPlainObject(t)?ps.merge.call({caseless:i},e,t):ps.isPlainObject(t)?ps.merge({},t):ps.isArray(t)?t.slice():t}function s(e,t,n,s){return ps.isUndefined(t)?ps.isUndefined(e)?void 0:i(void 0,e,0,s):i(e,t,0,s)}function o(e,t){if(!ps.isUndefined(t))return i(void 0,t)}function a(e,t){return ps.isUndefined(t)?ps.isUndefined(e)?void 0:i(void 0,e):i(void 0,t)}function r(n,s,o){return o in t?i(n,s):o in e?i(void 0,n):void 0}const c={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:r,headers:(e,t,n)=>s(Pr(e),Pr(t),0,!0)};return ps.forEach(Object.keys(Object.assign({},e,t)),(function(i){const o=c[i]||s,a=o(e[i],t[i],i);ps.isUndefined(a)&&o!==r||(n[i]=a)})),n}var jr=e=>{const t=Lr({},e);let n,{data:i,withXSRFToken:s,xsrfHeaderName:o,xsrfCookieName:a,headers:r,auth:c}=t;if(t.headers=r=Uo.from(r),t.url=vo(Wo(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),c&&r.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),ps.isFormData(i))if(Po.hasStandardBrowserEnv||Po.hasStandardBrowserWebWorkerEnv)r.setContentType(void 0);else if(!1!==(n=r.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];r.setContentType([e||"multipart/form-data",...t].join("; "))}if(Po.hasStandardBrowserEnv&&(s&&ps.isFunction(s)&&(s=s(t)),s||!1!==s&&Ar(t.url))){const e=o&&a&&Cr.read(a);e&&r.set(o,e)}return t};var Ir="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const i=jr(e);let s=i.data;const o=Uo.from(i.headers).normalize();let a,r,c,p,l,{responseType:u,onUploadProgress:d,onDownloadProgress:m}=i;function f(){p&&p(),l&&l(),i.cancelToken&&i.cancelToken.unsubscribe(a),i.signal&&i.signal.removeEventListener("abort",a)}let h=new XMLHttpRequest;function x(){if(!h)return;const i=Uo.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders());qo((function(e){t(e),f()}),(function(e){n(e),f()}),{data:u&&"text"!==u&&"json"!==u?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:i,config:e,request:h}),h=null}h.open(i.method.toUpperCase(),i.url,!0),h.timeout=i.timeout,"onloadend"in h?h.onloadend=x:h.onreadystatechange=function(){h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))&&setTimeout(x)},h.onabort=function(){h&&(n(new ls("Request aborted",ls.ECONNABORTED,e,h)),h=null)},h.onerror=function(){n(new ls("Network Error",ls.ERR_NETWORK,e,h)),h=null},h.ontimeout=function(){let t=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const s=i.transitional||yo;i.timeoutErrorMessage&&(t=i.timeoutErrorMessage),n(new ls(t,s.clarifyTimeoutError?ls.ETIMEDOUT:ls.ECONNABORTED,e,h)),h=null},void 0===s&&o.setContentType(null),"setRequestHeader"in h&&ps.forEach(o.toJSON(),(function(e,t){h.setRequestHeader(t,e)})),ps.isUndefined(i.withCredentials)||(h.withCredentials=!!i.withCredentials),u&&"json"!==u&&(h.responseType=i.responseType),m&&([c,l]=mr(m,!0),h.addEventListener("progress",c)),d&&h.upload&&([r,p]=mr(d),h.upload.addEventListener("progress",r),h.upload.addEventListener("loadend",p)),(i.cancelToken||i.signal)&&(a=t=>{h&&(n(!t||t.type?new Go(null,e,h):t),h.abort(),h=null)},i.cancelToken&&i.cancelToken.subscribe(a),i.signal&&(i.signal.aborted?a():i.signal.addEventListener("abort",a)));const g=Za(i.url);g&&-1===Po.protocols.indexOf(g)?n(new ls("Unsupported protocol "+g+":",ls.ERR_BAD_REQUEST,e)):h.send(s||null)}))};var Nr=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,i=new AbortController;const s=function(e){if(!n){n=!0,a();const t=e instanceof Error?e:this.reason;i.abort(t instanceof ls?t:new Go(t instanceof Error?t.message:t))}};let o=t&&setTimeout((()=>{o=null,s(new ls(`timeout ${t} of ms exceeded`,ls.ETIMEDOUT))}),t);const a=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(s):e.removeEventListener("abort",s)})),e=null)};e.forEach((e=>e.addEventListener("abort",s)));const{signal:r}=i;return r.unsubscribe=()=>ps.asap(a),r}};const Fr=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let i,s=0;for(;s<n;)i=s+t,yield e.slice(s,i),s=i},Dr=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},Mr=(e,t,n,i)=>{const s=async function*(e,t){for await(const n of Dr(e))yield*Fr(n,t)}(e,t);let o,a=0,r=e=>{o||(o=!0,i&&i(e))};return new ReadableStream({async pull(e){try{const{done:t,value:i}=await s.next();if(t)return r(),void e.close();let o=i.byteLength;if(n){let e=a+=o;n(e)}e.enqueue(new Uint8Array(i))}catch(e){throw r(e),e}},cancel:e=>(r(e),s.return())},{highWaterMark:2})},$r="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Br=$r&&"function"==typeof ReadableStream,Ur=$r&&("function"==typeof TextEncoder?(zr=new TextEncoder,e=>zr.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var zr;const Hr=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},Gr=Br&&Hr((()=>{let e=!1;const t=new Request(Po.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),qr=Br&&Hr((()=>ps.isReadableStream(new Response("").body))),Wr={stream:qr&&(e=>e.body)};var Kr;$r&&(Kr=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Wr[e]&&(Wr[e]=ps.isFunction(Kr[e])?t=>t[e]():(t,n)=>{throw new ls(`Response type '${e}' is not supported`,ls.ERR_NOT_SUPPORT,n)})})));const Vr=async(e,t)=>{const n=ps.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(ps.isBlob(e))return e.size;if(ps.isSpecCompliantForm(e)){const t=new Request(Po.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return ps.isArrayBufferView(e)||ps.isArrayBuffer(e)?e.byteLength:(ps.isURLSearchParams(e)&&(e+=""),ps.isString(e)?(await Ur(e)).byteLength:void 0)})(t):n};var Yr=$r&&(async e=>{let{url:t,method:n,data:i,signal:s,cancelToken:o,timeout:a,onDownloadProgress:r,onUploadProgress:c,responseType:p,headers:l,withCredentials:u="same-origin",fetchOptions:d}=jr(e);p=p?(p+"").toLowerCase():"text";let m,f=Nr([s,o&&o.toAbortSignal()],a);const h=f&&f.unsubscribe&&(()=>{f.unsubscribe()});let x;try{if(c&&Gr&&"get"!==n&&"head"!==n&&0!==(x=await Vr(l,i))){let e,n=new Request(t,{method:"POST",body:i,duplex:"half"});if(ps.isFormData(i)&&(e=n.headers.get("content-type"))&&l.setContentType(e),n.body){const[e,t]=fr(x,mr(hr(c)));i=Mr(n.body,65536,e,t)}}ps.isString(u)||(u=u?"include":"omit");const s="credentials"in Request.prototype;m=new Request(t,{...d,signal:f,method:n.toUpperCase(),headers:l.normalize().toJSON(),body:i,duplex:"half",credentials:s?u:void 0});let o=await fetch(m);const a=qr&&("stream"===p||"response"===p);if(qr&&(r||a&&h)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=o[t]}));const t=ps.toFiniteNumber(o.headers.get("content-length")),[n,i]=r&&fr(t,mr(hr(r),!0))||[];o=new Response(Mr(o.body,65536,n,(()=>{i&&i(),h&&h()})),e)}p=p||"text";let g=await Wr[ps.findKey(Wr,p)||"text"](o,e);return!a&&h&&h(),await new Promise(((t,n)=>{qo(t,n,{data:g,headers:Uo.from(o.headers),status:o.status,statusText:o.statusText,config:e,request:m})}))}catch(t){if(h&&h(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new ls("Network Error",ls.ERR_NETWORK,e,m),{cause:t.cause||t});throw ls.from(t,t&&t.code,e,m)}});const Qr={http:Or,xhr:Ir,fetch:Yr};ps.forEach(Qr,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const Xr=e=>`- ${e}`,Jr=e=>ps.isFunction(e)||null===e||!1===e;var Zr=e=>{e=ps.isArray(e)?e:[e];const{length:t}=e;let n,i;const s={};for(let o=0;o<t;o++){let t;if(n=e[o],i=n,!Jr(n)&&(i=Qr[(t=String(n)).toLowerCase()],void 0===i))throw new ls(`Unknown adapter '${t}'`);if(i)break;s[t||"#"+o]=i}if(!i){const e=Object.entries(s).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new ls("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(Xr).join("\n"):" "+Xr(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return i};function ec(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Go(null,e)}function tc(e){ec(e),e.headers=Uo.from(e.headers),e.data=zo.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return Zr(e.adapter||Io.adapter)(e).then((function(t){return ec(e),t.data=zo.call(e,e.transformResponse,t),t.headers=Uo.from(t.headers),t}),(function(t){return Ho(t)||(ec(e),t&&t.response&&(t.response.data=zo.call(e,e.transformResponse,t.response),t.response.headers=Uo.from(t.response.headers))),Promise.reject(t)}))}const nc={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{nc[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const ic={};nc.transitional=function(e,t,n){function i(e,t){return"[Axios v1.9.0] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,s,o)=>{if(!1===e)throw new ls(i(s," has been removed"+(t?" in "+t:"")),ls.ERR_DEPRECATED);return t&&!ic[s]&&(ic[s]=!0,console.warn(i(s," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,s,o)}},nc.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};var sc={assertOptions:function(e,t,n){if("object"!=typeof e)throw new ls("options must be an object",ls.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let s=i.length;for(;s-- >0;){const o=i[s],a=t[o];if(a){const t=e[o],n=void 0===t||a(t,o,e);if(!0!==n)throw new ls("option "+o+" must be "+n,ls.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new ls("Unknown option "+o,ls.ERR_BAD_OPTION)}},validators:nc};const oc=sc.validators;class ac{constructor(e){this.defaults=e||{},this.interceptors={request:new bo,response:new bo}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Lr(this.defaults,t);const{transitional:n,paramsSerializer:i,headers:s}=t;void 0!==n&&sc.assertOptions(n,{silentJSONParsing:oc.transitional(oc.boolean),forcedJSONParsing:oc.transitional(oc.boolean),clarifyTimeoutError:oc.transitional(oc.boolean)},!1),null!=i&&(ps.isFunction(i)?t.paramsSerializer={serialize:i}:sc.assertOptions(i,{encode:oc.function,serialize:oc.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),sc.assertOptions(t,{baseUrl:oc.spelling("baseURL"),withXsrfToken:oc.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=s&&ps.merge(s.common,s[t.method]);s&&ps.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete s[e]})),t.headers=Uo.concat(o,s);const a=[];let r=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(r=r&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const c=[];let p;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let l,u=0;if(!r){const e=[tc.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,c),l=e.length,p=Promise.resolve(t);u<l;)p=p.then(e[u++],e[u++]);return p}l=a.length;let d=t;for(u=0;u<l;){const e=a[u++],t=a[u++];try{d=e(d)}catch(e){t.call(this,e);break}}try{p=tc.call(this,d)}catch(e){return Promise.reject(e)}for(u=0,l=c.length;u<l;)p=p.then(c[u++],c[u++]);return p}getUri(e){return vo(Wo((e=Lr(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}ps.forEach(["delete","get","head","options"],(function(e){ac.prototype[e]=function(t,n){return this.request(Lr(n||{},{method:e,url:t,data:(n||{}).data}))}})),ps.forEach(["post","put","patch"],(function(e){function t(t){return function(n,i,s){return this.request(Lr(s||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}ac.prototype[e]=t(),ac.prototype[e+"Form"]=t(!0)}));var rc=ac;class cc{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const i=new Promise((e=>{n.subscribe(e),t=e})).then(e);return i.cancel=function(){n.unsubscribe(t)},i},e((function(e,i,s){n.reason||(n.reason=new Go(e,i,s),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new cc((function(t){e=t})),cancel:e}}}var pc=cc;const lc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(lc).forEach((([e,t])=>{lc[t]=e}));var uc=lc;const dc=function e(t){const n=new rc(t),i=wi(rc.prototype.request,n);return ps.extend(i,rc.prototype,n,{allOwnKeys:!0}),ps.extend(i,n,null,{allOwnKeys:!0}),i.create=function(n){return e(Lr(t,n))},i}(Io);var mc,fc,hc;dc.Axios=rc,dc.CanceledError=Go,dc.CancelToken=pc,dc.isCancel=Ho,dc.VERSION=Ja,dc.toFormData=mo,dc.AxiosError=ls,dc.Cancel=dc.CanceledError,dc.all=function(e){return Promise.all(e)},dc.spread=function(e){return function(t){return e.apply(null,t)}},dc.isAxiosError=function(e){return ps.isObject(e)&&!0===e.isAxiosError},dc.mergeConfig=Lr,dc.AxiosHeaders=Uo,dc.formToJSON=e=>Lo(ps.isHTMLForm(e)?new FormData(e):e),dc.getAdapter=Zr,dc.HttpStatusCode=uc,dc.default=dc,function(e){e.SAAS="saas",e.INTERNAL="internal",e.POC="poc"}(mc||(mc={})),function(e){e.PRODUCTION="production",e.DEVELOPMENT="development",e.TEST="test"}(fc||(fc={})),function(e){e.VSCODE="vscode",e.JETBRAINS="jetbrains"}(hc||(hc={}));const xc="https://comate.baidu.com",gc="https://comate.baidu-int.com",vc="https://comate-cop.now.baidu.com",bc=(()=>{try{if("ide"===process.env.IDE){const t=e.join(function(){const t="Comate";switch(S.platform()){case"win32":return e.join(k(),"AppData","Roaming",t,"User");case"darwin":return e.join(k(),"Library","Application Support",t,"User");default:return e.join(k(),".config",t,"User")}}(),"loginMode.json");return JSON.parse(n.readFileSync(t,"utf8"))}return{}}catch(e){return{}}})(),yc="uuap"===bc.loginMode;let wc="ide"===process.env.IDE&&yc?mc.INTERNAL:process.env.PLATFORM||mc.INTERNAL,_c=process.env.ENVIRONMENT||fc.PRODUCTION,Ec=process.env.DISPLAY_LANGUAGE||"zh",Sc=process.env.ACCEPT_LANGUAGE||"zh-CN,zh";const kc={[mc.SAAS]:{[fc.PRODUCTION]:xc,[fc.DEVELOPMENT]:xc,[fc.TEST]:vc},[mc.INTERNAL]:{[fc.PRODUCTION]:gc,[fc.DEVELOPMENT]:gc,[fc.TEST]:"https://comate-test.now.baidu.com"},[mc.POC]:{[fc.PRODUCTION]:xc,[fc.DEVELOPMENT]:xc,[fc.TEST]:vc}};let Rc=process.env.HTTP_HOST;"en"===Ec?(Ec="en",Sc="en-US,en"):(Ec="zh",Sc="zh-CN,zh"),mc.SAAS;const Tc={},Oc=process.env.HTTP_PROXY_URL||"",{protocol:Ac,hostname:Cc,port:Pc}=function(e){const t={protocol:"http",hostname:"localhost",port:"9090"};if(!e)return t;try{const n=e.replace(/^\w+:\/\//,""),[i,s]=n.split(":");return{protocol:/^(\w+):\/\//.exec(e)?.[1]||t.protocol,hostname:i||t.hostname,port:s||t.port}}catch(e){return console.error("Error parsing proxy URL:",e),t}}(Oc),Lc=dc.create(Tc);dc.create(Tc),Lc.interceptors.request.use((async e=>{const t={...e,baseURL:Rc||(kc?.[wc]?.[_c]??gc)};return t.headers["Accept-Language"]=Sc,Oc&&(t.proxy={host:Cc,port:Number(Pc),protocol:Ac}),t})),dc.CanceledError,process.env.PLATFORM,process.env.IDE,process.env.NODE_ENV;var jc={exports:{}},Ic={};const Nc=f,Fc="\\\\/",Dc=`[^${Fc}]`,Mc="\\.",$c="\\/",Bc="[^/]",Uc=`(?:${$c}|$)`,zc=`(?:^|${$c})`,Hc=`${Mc}{1,2}${Uc}`,Gc={DOT_LITERAL:Mc,PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:$c,ONE_CHAR:"(?=.)",QMARK:Bc,END_ANCHOR:Uc,DOTS_SLASH:Hc,NO_DOT:`(?!${Mc})`,NO_DOTS:`(?!${zc}${Hc})`,NO_DOT_SLASH:`(?!${Mc}{0,1}${Uc})`,NO_DOTS_SLASH:`(?!${Hc})`,QMARK_NO_DOT:`[^.${$c}]`,STAR:`${Bc}*?`,START_ANCHOR:zc},qc={...Gc,SLASH_LITERAL:`[${Fc}]`,QMARK:Dc,STAR:`${Dc}*?`,DOTS_SLASH:`${Mc}{1,2}(?:[${Fc}]|$)`,NO_DOT:`(?!${Mc})`,NO_DOTS:`(?!(?:^|[${Fc}])${Mc}{1,2}(?:[${Fc}]|$))`,NO_DOT_SLASH:`(?!${Mc}{0,1}(?:[${Fc}]|$))`,NO_DOTS_SLASH:`(?!${Mc}{1,2}(?:[${Fc}]|$))`,QMARK_NO_DOT:`[^.${Fc}]`,START_ANCHOR:`(?:^|[${Fc}])`,END_ANCHOR:`(?:[${Fc}]|$)`};var Wc={MAX_LENGTH:65536,POSIX_REGEX_SOURCE:{alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"},REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:Nc.sep,extglobChars:e=>({"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}),globChars:e=>!0===e?qc:Gc};!function(e){const t=f,n="win32"===process.platform,{REGEX_BACKSLASH:i,REGEX_REMOVE_BACKSLASH:s,REGEX_SPECIAL_CHARS:o,REGEX_SPECIAL_CHARS_GLOBAL:a}=Wc;e.isObject=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),e.hasRegexChars=e=>o.test(e),e.isRegexChar=t=>1===t.length&&e.hasRegexChars(t),e.escapeRegex=e=>e.replace(a,"\\$1"),e.toPosixSlashes=e=>e.replace(i,"/"),e.removeBackslashes=e=>e.replace(s,(e=>"\\"===e?"":e)),e.supportsLookbehinds=()=>{const e=process.version.slice(1).split(".").map(Number);return 3===e.length&&e[0]>=9||8===e[0]&&e[1]>=10},e.isWindows=e=>e&&"boolean"==typeof e.windows?e.windows:!0===n||"\\"===t.sep,e.escapeLast=(t,n,i)=>{const s=t.lastIndexOf(n,i);return-1===s?t:"\\"===t[s-1]?e.escapeLast(t,n,s-1):`${t.slice(0,s)}\\${t.slice(s)}`},e.removePrefix=(e,t={})=>{let n=e;return n.startsWith("./")&&(n=n.slice(2),t.prefix="./"),n},e.wrapOutput=(e,t={},n={})=>{let i=`${n.contains?"":"^"}(?:${e})${n.contains?"":"$"}`;return!0===t.negated&&(i=`(?:^(?!${i}).*$)`),i}}(Ic);const Kc=Ic,{CHAR_ASTERISK:Vc,CHAR_AT:Yc,CHAR_BACKWARD_SLASH:Qc,CHAR_COMMA:Xc,CHAR_DOT:Jc,CHAR_EXCLAMATION_MARK:Zc,CHAR_FORWARD_SLASH:ep,CHAR_LEFT_CURLY_BRACE:tp,CHAR_LEFT_PARENTHESES:np,CHAR_LEFT_SQUARE_BRACKET:ip,CHAR_PLUS:sp,CHAR_QUESTION_MARK:op,CHAR_RIGHT_CURLY_BRACE:ap,CHAR_RIGHT_PARENTHESES:rp,CHAR_RIGHT_SQUARE_BRACKET:cp}=Wc,pp=e=>e===ep||e===Qc,lp=e=>{!0!==e.isPrefix&&(e.depth=e.isGlobstar?1/0:1)};var up=(e,t)=>{const n=t||{},i=e.length-1,s=!0===n.parts||!0===n.scanToEnd,o=[],a=[],r=[];let c,p,l=e,u=-1,d=0,m=0,f=!1,h=!1,x=!1,g=!1,v=!1,b=!1,y=!1,w=!1,_=!1,E=!1,S=0,k={value:"",depth:0,isGlob:!1};const R=()=>u>=i,T=()=>(c=p,l.charCodeAt(++u));for(;u<i;){let e;if(p=T(),p!==Qc){if(!0===b||p===tp){for(S++;!0!==R()&&(p=T());)if(p!==Qc)if(p!==tp){if(!0!==b&&p===Jc&&(p=T())===Jc){if(f=k.isBrace=!0,x=k.isGlob=!0,E=!0,!0===s)continue;break}if(!0!==b&&p===Xc){if(f=k.isBrace=!0,x=k.isGlob=!0,E=!0,!0===s)continue;break}if(p===ap&&(S--,0===S)){b=!1,f=k.isBrace=!0,E=!0;break}}else S++;else y=k.backslashes=!0,T();if(!0===s)continue;break}if(p!==ep){if(!0!==n.noext){if(!0===(p===sp||p===Yc||p===Vc||p===op||p===Zc)&&l.charCodeAt(u+1)===np){if(x=k.isGlob=!0,g=k.isExtglob=!0,E=!0,p===Zc&&u===d&&(_=!0),!0===s){for(;!0!==R()&&(p=T());)if(p!==Qc){if(p===rp){x=k.isGlob=!0,E=!0;break}}else y=k.backslashes=!0,p=T();continue}break}}if(p===Vc){if(c===Vc&&(v=k.isGlobstar=!0),x=k.isGlob=!0,E=!0,!0===s)continue;break}if(p===op){if(x=k.isGlob=!0,E=!0,!0===s)continue;break}if(p===ip){for(;!0!==R()&&(e=T());)if(e!==Qc){if(e===cp){h=k.isBracket=!0,x=k.isGlob=!0,E=!0;break}}else y=k.backslashes=!0,T();if(!0===s)continue;break}if(!0===n.nonegate||p!==Zc||u!==d){if(!0!==n.noparen&&p===np){if(x=k.isGlob=!0,!0===s){for(;!0!==R()&&(p=T());)if(p!==np){if(p===rp){E=!0;break}}else y=k.backslashes=!0,p=T();continue}break}if(!0===x){if(E=!0,!0===s)continue;break}}else w=k.negated=!0,d++}else{if(o.push(u),a.push(k),k={value:"",depth:0,isGlob:!1},!0===E)continue;if(c===Jc&&u===d+1){d+=2;continue}m=u+1}}else y=k.backslashes=!0,p=T(),p===tp&&(b=!0)}!0===n.noext&&(g=!1,x=!1);let O=l,A="",C="";d>0&&(A=l.slice(0,d),l=l.slice(d),m-=d),O&&!0===x&&m>0?(O=l.slice(0,m),C=l.slice(m)):!0===x?(O="",C=l):O=l,O&&""!==O&&"/"!==O&&O!==l&&pp(O.charCodeAt(O.length-1))&&(O=O.slice(0,-1)),!0===n.unescape&&(C&&(C=Kc.removeBackslashes(C)),O&&!0===y&&(O=Kc.removeBackslashes(O)));const P={prefix:A,input:e,start:d,base:O,glob:C,isBrace:f,isBracket:h,isGlob:x,isExtglob:g,isGlobstar:v,negated:w,negatedExtglob:_};if(!0===n.tokens&&(P.maxDepth=0,pp(p)||a.push(k),P.tokens=a),!0===n.parts||!0===n.tokens){let t;for(let i=0;i<o.length;i++){const s=t?t+1:d,c=o[i],p=e.slice(s,c);n.tokens&&(0===i&&0!==d?(a[i].isPrefix=!0,a[i].value=A):a[i].value=p,lp(a[i]),P.maxDepth+=a[i].depth),0===i&&""===p||r.push(p),t=c}if(t&&t+1<e.length){const i=e.slice(t+1);r.push(i),n.tokens&&(a[a.length-1].value=i,lp(a[a.length-1]),P.maxDepth+=a[a.length-1].depth)}P.slashes=o,P.parts=r}return P};const dp=Wc,mp=Ic,{MAX_LENGTH:fp,POSIX_REGEX_SOURCE:hp,REGEX_NON_SPECIAL_CHARS:xp,REGEX_SPECIAL_CHARS_BACKREF:gp,REPLACEMENTS:vp}=dp,bp=(e,t)=>{if("function"==typeof t.expandRange)return t.expandRange(...e,t);e.sort();const n=`[${e.join("-")}]`;try{new RegExp(n)}catch(t){return e.map((e=>mp.escapeRegex(e))).join("..")}return n},yp=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,wp=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");e=vp[e]||e;const n={...t},i="number"==typeof n.maxLength?Math.min(fp,n.maxLength):fp;let s=e.length;if(s>i)throw new SyntaxError(`Input length: ${s}, exceeds maximum allowed length: ${i}`);const o={type:"bos",value:"",output:n.prepend||""},a=[o],r=n.capture?"":"?:",c=mp.isWindows(t),p=dp.globChars(c),l=dp.extglobChars(p),{DOT_LITERAL:u,PLUS_LITERAL:d,SLASH_LITERAL:m,ONE_CHAR:f,DOTS_SLASH:h,NO_DOT:x,NO_DOT_SLASH:g,NO_DOTS_SLASH:v,QMARK:b,QMARK_NO_DOT:y,STAR:w,START_ANCHOR:_}=p,E=e=>`(${r}(?:(?!${_}${e.dot?h:u}).)*?)`,S=n.dot?"":x,k=n.dot?b:y;let R=!0===n.bash?E(n):w;n.capture&&(R=`(${R})`),"boolean"==typeof n.noext&&(n.noextglob=n.noext);const T={input:e,index:-1,start:0,dot:!0===n.dot,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:a};e=mp.removePrefix(e,T),s=e.length;const O=[],A=[],C=[];let P,L=o;const j=()=>T.index===s-1,I=T.peek=(t=1)=>e[T.index+t],N=T.advance=()=>e[++T.index]||"",F=()=>e.slice(T.index+1),D=(e="",t=0)=>{T.consumed+=e,T.index+=t},M=e=>{T.output+=null!=e.output?e.output:e.value,D(e.value)},$=()=>{let e=1;for(;"!"===I()&&("("!==I(2)||"?"===I(3));)N(),T.start++,e++;return e%2!=0&&(T.negated=!0,T.start++,!0)},B=e=>{T[e]++,C.push(e)},U=e=>{T[e]--,C.pop()},z=e=>{if("globstar"===L.type){const t=T.braces>0&&("comma"===e.type||"brace"===e.type),n=!0===e.extglob||O.length&&("pipe"===e.type||"paren"===e.type);"slash"===e.type||"paren"===e.type||t||n||(T.output=T.output.slice(0,-L.output.length),L.type="star",L.value="*",L.output=R,T.output+=L.output)}if(O.length&&"paren"!==e.type&&(O[O.length-1].inner+=e.value),(e.value||e.output)&&M(e),L&&"text"===L.type&&"text"===e.type)return L.value+=e.value,void(L.output=(L.output||"")+e.value);e.prev=L,a.push(e),L=e},H=(e,t)=>{const i={...l[t],conditions:1,inner:""};i.prev=L,i.parens=T.parens,i.output=T.output;const s=(n.capture?"(":"")+i.open;B("parens"),z({type:e,value:t,output:T.output?"":f}),z({type:"paren",extglob:!0,value:N(),output:s}),O.push(i)},G=e=>{let i,s=e.close+(n.capture?")":"");if("negate"===e.type){let o=R;if(e.inner&&e.inner.length>1&&e.inner.includes("/")&&(o=E(n)),(o!==R||j()||/^\)+$/.test(F()))&&(s=e.close=`)$))${o}`),e.inner.includes("*")&&(i=F())&&/^\.[^\\/.]+$/.test(i)){const n=wp(i,{...t,fastpaths:!1}).output;s=e.close=`)${n})${o})`}"bos"===e.prev.type&&(T.negatedExtglob=!0)}z({type:"paren",extglob:!0,value:P,output:s}),U("parens")};if(!1!==n.fastpaths&&!/(^[*!]|[/()[\]{}"])/.test(e)){let i=!1,s=e.replace(gp,((e,t,n,s,o,a)=>"\\"===s?(i=!0,e):"?"===s?t?t+s+(o?b.repeat(o.length):""):0===a?k+(o?b.repeat(o.length):""):b.repeat(n.length):"."===s?u.repeat(n.length):"*"===s?t?t+s+(o?R:""):R:t?e:`\\${e}`));return!0===i&&(s=!0===n.unescape?s.replace(/\\/g,""):s.replace(/\\+/g,(e=>e.length%2==0?"\\\\":e?"\\":""))),s===e&&!0===n.contains?(T.output=e,T):(T.output=mp.wrapOutput(s,T,t),T)}for(;!j();){if(P=N(),"\0"===P)continue;if("\\"===P){const e=I();if("/"===e&&!0!==n.bash)continue;if("."===e||";"===e)continue;if(!e){P+="\\",z({type:"text",value:P});continue}const t=/^\\+/.exec(F());let i=0;if(t&&t[0].length>2&&(i=t[0].length,T.index+=i,i%2!=0&&(P+="\\")),!0===n.unescape?P=N():P+=N(),0===T.brackets){z({type:"text",value:P});continue}}if(T.brackets>0&&("]"!==P||"["===L.value||"[^"===L.value)){if(!1!==n.posix&&":"===P){const e=L.value.slice(1);if(e.includes("[")&&(L.posix=!0,e.includes(":"))){const e=L.value.lastIndexOf("["),t=L.value.slice(0,e),n=L.value.slice(e+2),i=hp[n];if(i){L.value=t+i,T.backtrack=!0,N(),o.output||1!==a.indexOf(L)||(o.output=f);continue}}}("["===P&&":"!==I()||"-"===P&&"]"===I())&&(P=`\\${P}`),"]"!==P||"["!==L.value&&"[^"!==L.value||(P=`\\${P}`),!0===n.posix&&"!"===P&&"["===L.value&&(P="^"),L.value+=P,M({value:P});continue}if(1===T.quotes&&'"'!==P){P=mp.escapeRegex(P),L.value+=P,M({value:P});continue}if('"'===P){T.quotes=1===T.quotes?0:1,!0===n.keepQuotes&&z({type:"text",value:P});continue}if("("===P){B("parens"),z({type:"paren",value:P});continue}if(")"===P){if(0===T.parens&&!0===n.strictBrackets)throw new SyntaxError(yp("opening","("));const e=O[O.length-1];if(e&&T.parens===e.parens+1){G(O.pop());continue}z({type:"paren",value:P,output:T.parens?")":"\\)"}),U("parens");continue}if("["===P){if(!0!==n.nobracket&&F().includes("]"))B("brackets");else{if(!0!==n.nobracket&&!0===n.strictBrackets)throw new SyntaxError(yp("closing","]"));P=`\\${P}`}z({type:"bracket",value:P});continue}if("]"===P){if(!0===n.nobracket||L&&"bracket"===L.type&&1===L.value.length){z({type:"text",value:P,output:`\\${P}`});continue}if(0===T.brackets){if(!0===n.strictBrackets)throw new SyntaxError(yp("opening","["));z({type:"text",value:P,output:`\\${P}`});continue}U("brackets");const e=L.value.slice(1);if(!0===L.posix||"^"!==e[0]||e.includes("/")||(P=`/${P}`),L.value+=P,M({value:P}),!1===n.literalBrackets||mp.hasRegexChars(e))continue;const t=mp.escapeRegex(L.value);if(T.output=T.output.slice(0,-L.value.length),!0===n.literalBrackets){T.output+=t,L.value=t;continue}L.value=`(${r}${t}|${L.value})`,T.output+=L.value;continue}if("{"===P&&!0!==n.nobrace){B("braces");const e={type:"brace",value:P,output:"(",outputIndex:T.output.length,tokensIndex:T.tokens.length};A.push(e),z(e);continue}if("}"===P){const e=A[A.length-1];if(!0===n.nobrace||!e){z({type:"text",value:P,output:P});continue}let t=")";if(!0===e.dots){const e=a.slice(),i=[];for(let t=e.length-1;t>=0&&(a.pop(),"brace"!==e[t].type);t--)"dots"!==e[t].type&&i.unshift(e[t].value);t=bp(i,n),T.backtrack=!0}if(!0!==e.comma&&!0!==e.dots){const n=T.output.slice(0,e.outputIndex),i=T.tokens.slice(e.tokensIndex);e.value=e.output="\\{",P=t="\\}",T.output=n;for(const e of i)T.output+=e.output||e.value}z({type:"brace",value:P,output:t}),U("braces"),A.pop();continue}if("|"===P){O.length>0&&O[O.length-1].conditions++,z({type:"text",value:P});continue}if(","===P){let e=P;const t=A[A.length-1];t&&"braces"===C[C.length-1]&&(t.comma=!0,e="|"),z({type:"comma",value:P,output:e});continue}if("/"===P){if("dot"===L.type&&T.index===T.start+1){T.start=T.index+1,T.consumed="",T.output="",a.pop(),L=o;continue}z({type:"slash",value:P,output:m});continue}if("."===P){if(T.braces>0&&"dot"===L.type){"."===L.value&&(L.output=u);const e=A[A.length-1];L.type="dots",L.output+=P,L.value+=P,e.dots=!0;continue}if(T.braces+T.parens===0&&"bos"!==L.type&&"slash"!==L.type){z({type:"text",value:P,output:u});continue}z({type:"dot",value:P,output:u});continue}if("?"===P){if(!(L&&"("===L.value)&&!0!==n.noextglob&&"("===I()&&"?"!==I(2)){H("qmark",P);continue}if(L&&"paren"===L.type){const e=I();let t=P;if("<"===e&&!mp.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");("("===L.value&&!/[!=<:]/.test(e)||"<"===e&&!/<([!=]|\w+>)/.test(F()))&&(t=`\\${P}`),z({type:"text",value:P,output:t});continue}if(!0!==n.dot&&("slash"===L.type||"bos"===L.type)){z({type:"qmark",value:P,output:y});continue}z({type:"qmark",value:P,output:b});continue}if("!"===P){if(!0!==n.noextglob&&"("===I()&&("?"!==I(2)||!/[!=<:]/.test(I(3)))){H("negate",P);continue}if(!0!==n.nonegate&&0===T.index){$();continue}}if("+"===P){if(!0!==n.noextglob&&"("===I()&&"?"!==I(2)){H("plus",P);continue}if(L&&"("===L.value||!1===n.regex){z({type:"plus",value:P,output:d});continue}if(L&&("bracket"===L.type||"paren"===L.type||"brace"===L.type)||T.parens>0){z({type:"plus",value:P});continue}z({type:"plus",value:d});continue}if("@"===P){if(!0!==n.noextglob&&"("===I()&&"?"!==I(2)){z({type:"at",extglob:!0,value:P,output:""});continue}z({type:"text",value:P});continue}if("*"!==P){"$"!==P&&"^"!==P||(P=`\\${P}`);const e=xp.exec(F());e&&(P+=e[0],T.index+=e[0].length),z({type:"text",value:P});continue}if(L&&("globstar"===L.type||!0===L.star)){L.type="star",L.star=!0,L.value+=P,L.output=R,T.backtrack=!0,T.globstar=!0,D(P);continue}let t=F();if(!0!==n.noextglob&&/^\([^?]/.test(t)){H("star",P);continue}if("star"===L.type){if(!0===n.noglobstar){D(P);continue}const i=L.prev,s=i.prev,o="slash"===i.type||"bos"===i.type,a=s&&("star"===s.type||"globstar"===s.type);if(!0===n.bash&&(!o||t[0]&&"/"!==t[0])){z({type:"star",value:P,output:""});continue}const r=T.braces>0&&("comma"===i.type||"brace"===i.type),c=O.length&&("pipe"===i.type||"paren"===i.type);if(!o&&"paren"!==i.type&&!r&&!c){z({type:"star",value:P,output:""});continue}for(;"/**"===t.slice(0,3);){const n=e[T.index+4];if(n&&"/"!==n)break;t=t.slice(3),D("/**",3)}if("bos"===i.type&&j()){L.type="globstar",L.value+=P,L.output=E(n),T.output=L.output,T.globstar=!0,D(P);continue}if("slash"===i.type&&"bos"!==i.prev.type&&!a&&j()){T.output=T.output.slice(0,-(i.output+L.output).length),i.output=`(?:${i.output}`,L.type="globstar",L.output=E(n)+(n.strictSlashes?")":"|$)"),L.value+=P,T.globstar=!0,T.output+=i.output+L.output,D(P);continue}if("slash"===i.type&&"bos"!==i.prev.type&&"/"===t[0]){const e=void 0!==t[1]?"|$":"";T.output=T.output.slice(0,-(i.output+L.output).length),i.output=`(?:${i.output}`,L.type="globstar",L.output=`${E(n)}${m}|${m}${e})`,L.value+=P,T.output+=i.output+L.output,T.globstar=!0,D(P+N()),z({type:"slash",value:"/",output:""});continue}if("bos"===i.type&&"/"===t[0]){L.type="globstar",L.value+=P,L.output=`(?:^|${m}|${E(n)}${m})`,T.output=L.output,T.globstar=!0,D(P+N()),z({type:"slash",value:"/",output:""});continue}T.output=T.output.slice(0,-L.output.length),L.type="globstar",L.output=E(n),L.value+=P,T.output+=L.output,T.globstar=!0,D(P);continue}const i={type:"star",value:P,output:R};!0!==n.bash?!L||"bracket"!==L.type&&"paren"!==L.type||!0!==n.regex?(T.index!==T.start&&"slash"!==L.type&&"dot"!==L.type||("dot"===L.type?(T.output+=g,L.output+=g):!0===n.dot?(T.output+=v,L.output+=v):(T.output+=S,L.output+=S),"*"!==I()&&(T.output+=f,L.output+=f)),z(i)):(i.output=P,z(i)):(i.output=".*?","bos"!==L.type&&"slash"!==L.type||(i.output=S+i.output),z(i))}for(;T.brackets>0;){if(!0===n.strictBrackets)throw new SyntaxError(yp("closing","]"));T.output=mp.escapeLast(T.output,"["),U("brackets")}for(;T.parens>0;){if(!0===n.strictBrackets)throw new SyntaxError(yp("closing",")"));T.output=mp.escapeLast(T.output,"("),U("parens")}for(;T.braces>0;){if(!0===n.strictBrackets)throw new SyntaxError(yp("closing","}"));T.output=mp.escapeLast(T.output,"{"),U("braces")}if(!0===n.strictSlashes||"star"!==L.type&&"bracket"!==L.type||z({type:"maybe_slash",value:"",output:`${m}?`}),!0===T.backtrack){T.output="";for(const e of T.tokens)T.output+=null!=e.output?e.output:e.value,e.suffix&&(T.output+=e.suffix)}return T};wp.fastpaths=(e,t)=>{const n={...t},i="number"==typeof n.maxLength?Math.min(fp,n.maxLength):fp,s=e.length;if(s>i)throw new SyntaxError(`Input length: ${s}, exceeds maximum allowed length: ${i}`);e=vp[e]||e;const o=mp.isWindows(t),{DOT_LITERAL:a,SLASH_LITERAL:r,ONE_CHAR:c,DOTS_SLASH:p,NO_DOT:l,NO_DOTS:u,NO_DOTS_SLASH:d,STAR:m,START_ANCHOR:f}=dp.globChars(o),h=n.dot?u:l,x=n.dot?d:l,g=n.capture?"":"?:";let v=!0===n.bash?".*?":m;n.capture&&(v=`(${v})`);const b=e=>!0===e.noglobstar?v:`(${g}(?:(?!${f}${e.dot?p:a}).)*?)`,y=e=>{switch(e){case"*":return`${h}${c}${v}`;case".*":return`${a}${c}${v}`;case"*.*":return`${h}${v}${a}${c}${v}`;case"*/*":return`${h}${v}${r}${c}${x}${v}`;case"**":return h+b(n);case"**/*":return`(?:${h}${b(n)}${r})?${x}${c}${v}`;case"**/*.*":return`(?:${h}${b(n)}${r})?${x}${v}${a}${c}${v}`;case"**/.*":return`(?:${h}${b(n)}${r})?${a}${c}${v}`;default:{const t=/^(.*?)\.(\w+)$/.exec(e);if(!t)return;const n=y(t[1]);if(!n)return;return n+a+t[2]}}},w=mp.removePrefix(e,{negated:!1,prefix:""});let _=y(w);return _&&!0!==n.strictSlashes&&(_+=`${r}?`),_};const _p=f,Ep=up,Sp=wp,kp=Ic,Rp=Wc,Tp=(e,t,n=!1)=>{if(Array.isArray(e)){const i=e.map((e=>Tp(e,t,n))),s=e=>{for(const t of i){const n=t(e);if(n)return n}return!1};return s}const i=(s=e)&&"object"==typeof s&&!Array.isArray(s)&&e.tokens&&e.input;var s;if(""===e||"string"!=typeof e&&!i)throw new TypeError("Expected pattern to be a non-empty string");const o=t||{},a=kp.isWindows(t),r=i?Tp.compileRe(e,t):Tp.makeRe(e,t,!1,!0),c=r.state;delete r.state;let p=()=>!1;if(o.ignore){const e={...t,ignore:null,onMatch:null,onResult:null};p=Tp(o.ignore,e,n)}const l=(n,i=!1)=>{const{isMatch:s,match:l,output:u}=Tp.test(n,r,t,{glob:e,posix:a}),d={glob:e,state:c,regex:r,posix:a,input:n,output:u,match:l,isMatch:s};return"function"==typeof o.onResult&&o.onResult(d),!1===s?(d.isMatch=!1,!!i&&d):p(n)?("function"==typeof o.onIgnore&&o.onIgnore(d),d.isMatch=!1,!!i&&d):("function"==typeof o.onMatch&&o.onMatch(d),!i||d)};return n&&(l.state=c),l};Tp.test=(e,t,n,{glob:i,posix:s}={})=>{if("string"!=typeof e)throw new TypeError("Expected input to be a string");if(""===e)return{isMatch:!1,output:""};const o=n||{},a=o.format||(s?kp.toPosixSlashes:null);let r=e===i,c=r&&a?a(e):e;return!1===r&&(c=a?a(e):e,r=c===i),!1!==r&&!0!==o.capture||(r=!0===o.matchBase||!0===o.basename?Tp.matchBase(e,t,n,s):t.exec(c)),{isMatch:Boolean(r),match:r,output:c}},Tp.matchBase=(e,t,n,i=kp.isWindows(n))=>(t instanceof RegExp?t:Tp.makeRe(t,n)).test(_p.basename(e)),Tp.isMatch=(e,t,n)=>Tp(t,n)(e),Tp.parse=(e,t)=>Array.isArray(e)?e.map((e=>Tp.parse(e,t))):Sp(e,{...t,fastpaths:!1}),Tp.scan=(e,t)=>Ep(e,t),Tp.compileRe=(e,t,n=!1,i=!1)=>{if(!0===n)return e.output;const s=t||{},o=s.contains?"":"^",a=s.contains?"":"$";let r=`${o}(?:${e.output})${a}`;e&&!0===e.negated&&(r=`^(?!${r}).*$`);const c=Tp.toRegex(r,t);return!0===i&&(c.state=e),c},Tp.makeRe=(e,t={},n=!1,i=!1)=>{if(!e||"string"!=typeof e)throw new TypeError("Expected a non-empty string");let s={negated:!1,fastpaths:!0};return!1===t.fastpaths||"."!==e[0]&&"*"!==e[0]||(s.output=Sp.fastpaths(e,t)),s.output||(s=Sp(e,t)),Tp.compileRe(s,t,n,i)},Tp.toRegex=(e,t)=>{try{const n=t||{};return new RegExp(e,n.flags||(n.nocase?"i":""))}catch(e){if(t&&!0===t.debug)throw e;return/$^/}},Tp.constants=Rp;var Op=Tp,Ap=jc.exports;Object.defineProperty(Ap,"__esModule",{value:!0});const Cp=Op,Pp=function(e,t){if("string"!=typeof e)throw new TypeError("expected path to be a string");if("\\"===e||"/"===e)return"/";var n=e.length;if(n<=1)return e;var i="";if(n>4&&"\\"===e[3]){var s=e[2];"?"!==s&&"."!==s||"\\\\"!==e.slice(0,2)||(e=e.slice(2),i="//")}var o=e.split(/[/\\]+/);return!1!==t&&""===o[o.length-1]&&o.pop(),i+o.join("/")},Lp={returnIndex:!1},jp=(e,t,n,i)=>{const s=Array.isArray(n),o=s?n[0]:n;if(!s&&"string"!=typeof o)throw new TypeError("anymatch: second argument must be a string: got "+Object.prototype.toString.call(o));const a=Pp(o,!1);for(let e=0;e<t.length;e++){if((0,t[e])(a))return!!i&&-1}const r=s&&[a].concat(n.slice(1));for(let t=0;t<e.length;t++){const n=e[t];if(s?n(...r):n(a))return!i||t}return!!i&&-1},Ip=(e,t,n=Lp)=>{if(null==e)throw new TypeError("anymatch: specify first argument");const i="boolean"==typeof n?{returnIndex:n}:n,s=i.returnIndex||!1,o=(a=e,Array.isArray(a)?a:[a]);var a;const r=o.filter((e=>"string"==typeof e&&"!"===e.charAt(0))).map((e=>e.slice(1))).map((e=>Cp(e,i))),c=o.filter((e=>"string"!=typeof e||"string"==typeof e&&"!"!==e.charAt(0))).map((e=>((e,t)=>{if("function"==typeof e)return e;if("string"==typeof e){const n=Cp(e,t);return t=>e===t||n(t)}return e instanceof RegExp?t=>e.test(t):e=>!1})(e,i)));return null==t?(e,t=!1)=>jp(c,r,e,"boolean"==typeof t&&t):jp(c,r,t,s)};Ip.default=Ip,jc.exports=Ip;var Np=ye(jc.exports);const Fp=l.PassThrough,Dp=Array.prototype.slice;var Mp=function(){const e=[],t=Dp.call(arguments);let n=!1,i=t[t.length-1];i&&!Array.isArray(i)&&null==i.pipe?t.pop():i={};const s=!1!==i.end,o=!0===i.pipeError;null==i.objectMode&&(i.objectMode=!0);null==i.highWaterMark&&(i.highWaterMark=65536);const a=Fp(i);function r(){for(let t=0,n=arguments.length;t<n;t++)e.push($p(arguments[t],i));return c(),this}function c(){if(n)return;n=!0;let t=e.shift();if(!t)return void process.nextTick(p);Array.isArray(t)||(t=[t]);let i=t.length+1;function s(){--i>0||(n=!1,c())}function r(e){function t(){e.removeListener("merge2UnpipeEnd",t),e.removeListener("end",t),o&&e.removeListener("error",n),s()}function n(e){a.emit("error",e)}if(e._readableState.endEmitted)return s();e.on("merge2UnpipeEnd",t),e.on("end",t),o&&e.on("error",n),e.pipe(a,{end:!1}),e.resume()}for(let e=0;e<t.length;e++)r(t[e]);s()}function p(){n=!1,a.emit("queueDrain"),s&&a.end()}a.setMaxListeners(0),a.add=r,a.on("unpipe",(function(e){e.emit("merge2UnpipeEnd")})),t.length&&r.apply(null,t);return a};function $p(e,t){if(Array.isArray(e))for(let n=0,i=e.length;n<i;n++)e[n]=$p(e[n],t);else{if(!e._readableState&&e.pipe&&(e=e.pipe(Fp(t))),!e._readableState||!e.pause||!e.pipe)throw new Error("Only readable stream can be merged.");e.pause()}return e}var Bp=ye(Mp),Up={},zp={},Hp={};Object.defineProperty(Hp,"__esModule",{value:!0}),Hp.splitWhen=Hp.flatten=void 0,Hp.flatten=function(e){return e.reduce(((e,t)=>[].concat(e,t)),[])},Hp.splitWhen=function(e,t){const n=[[]];let i=0;for(const s of e)t(s)?(i++,n[i]=[]):n[i].push(s);return n};var Gp={};Object.defineProperty(Gp,"__esModule",{value:!0}),Gp.isEnoentCodeError=void 0,Gp.isEnoentCodeError=function(e){return"ENOENT"===e.code};var qp={};Object.defineProperty(qp,"__esModule",{value:!0}),qp.createDirentFromStats=void 0;let Wp=class{constructor(e,t){this.name=e,this.isBlockDevice=t.isBlockDevice.bind(t),this.isCharacterDevice=t.isCharacterDevice.bind(t),this.isDirectory=t.isDirectory.bind(t),this.isFIFO=t.isFIFO.bind(t),this.isFile=t.isFile.bind(t),this.isSocket=t.isSocket.bind(t),this.isSymbolicLink=t.isSymbolicLink.bind(t)}};qp.createDirentFromStats=function(e,t){return new Wp(e,t)};var Kp={};Object.defineProperty(Kp,"__esModule",{value:!0}),Kp.convertPosixPathToPattern=Kp.convertWindowsPathToPattern=Kp.convertPathToPattern=Kp.escapePosixPath=Kp.escapeWindowsPath=Kp.escape=Kp.removeLeadingDotSegment=Kp.makeAbsolute=Kp.unixify=void 0;const Vp=f,Yp="win32"===h.platform(),Qp=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g,Xp=/(\\?)([()[\]{}]|^!|[!+@](?=\())/g,Jp=/^\\\\([.?])/,Zp=/\\(?![!()+@[\]{}])/g;function el(e){return e.replace(Xp,"\\$2")}function tl(e){return e.replace(Qp,"\\$2")}function nl(e){return el(e).replace(Jp,"//$1").replace(Zp,"/")}function il(e){return tl(e)}Kp.unixify=function(e){return e.replace(/\\/g,"/")},Kp.makeAbsolute=function(e,t){return Vp.resolve(e,t)},Kp.removeLeadingDotSegment=function(e){if("."===e.charAt(0)){const t=e.charAt(1);if("/"===t||"\\"===t)return e.slice(2)}return e},Kp.escape=Yp?el:tl,Kp.escapeWindowsPath=el,Kp.escapePosixPath=tl,Kp.convertPathToPattern=Yp?nl:il,Kp.convertWindowsPathToPattern=nl,Kp.convertPosixPathToPattern=il;var sl,ol={},al=function(e){if("string"!=typeof e||""===e)return!1;for(var t;t=/(\\).|([@?!+*]\(.*\))/g.exec(e);){if(t[2])return!0;e=e.slice(t.index+t[0].length)}return!1},rl={"{":"}","(":")","[":"]"},cl=function(e){if("!"===e[0])return!0;for(var t=0,n=-2,i=-2,s=-2,o=-2,a=-2;t<e.length;){if("*"===e[t])return!0;if("?"===e[t+1]&&/[\].+)]/.test(e[t]))return!0;if(-1!==i&&"["===e[t]&&"]"!==e[t+1]&&(i<t&&(i=e.indexOf("]",t)),i>t)){if(-1===a||a>i)return!0;if(-1===(a=e.indexOf("\\",t))||a>i)return!0}if(-1!==s&&"{"===e[t]&&"}"!==e[t+1]&&(s=e.indexOf("}",t))>t&&(-1===(a=e.indexOf("\\",t))||a>s))return!0;if(-1!==o&&"("===e[t]&&"?"===e[t+1]&&/[:!=]/.test(e[t+2])&&")"!==e[t+3]&&(o=e.indexOf(")",t))>t&&(-1===(a=e.indexOf("\\",t))||a>o))return!0;if(-1!==n&&"("===e[t]&&"|"!==e[t+1]&&(n<t&&(n=e.indexOf("|",t)),-1!==n&&")"!==e[n+1]&&(o=e.indexOf(")",n))>n&&(-1===(a=e.indexOf("\\",n))||a>o)))return!0;if("\\"===e[t]){var r=e[t+1];t+=2;var c=rl[r];if(c){var p=e.indexOf(c,t);-1!==p&&(t=p+1)}if("!"===e[t])return!0}else t++}return!1},pl=function(e){if("!"===e[0])return!0;for(var t=0;t<e.length;){if(/[*?{}()[\]]/.test(e[t]))return!0;if("\\"===e[t]){var n=e[t+1];t+=2;var i=rl[n];if(i){var s=e.indexOf(i,t);-1!==s&&(t=s+1)}if("!"===e[t])return!0}else t++}return!1},ll=function(e,t){if("string"!=typeof e||""===e)return!1;if(al(e))return!0;var n=cl;return t&&!1===t.strict&&(n=pl),n(e)},ul=f.posix.dirname,dl="win32"===h.platform(),ml=/\\/g,fl=/[\{\[].*[\}\]]$/,hl=/(^|[^\\])([\{\[]|\([^\)]+$)/,xl=/\\([\!\*\?\|\[\]\(\)\{\}])/g,gl={};
|
|
9
|
+
/*!
|
|
10
|
+
* is-extglob <https://github.com/jonschlinkert/is-extglob>
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2014-2016, Jon Schlinkert.
|
|
13
|
+
* Licensed under the MIT License.
|
|
14
|
+
*/(sl=gl).isInteger=e=>"number"==typeof e?Number.isInteger(e):"string"==typeof e&&""!==e.trim()&&Number.isInteger(Number(e)),sl.find=(e,t)=>e.nodes.find((e=>e.type===t)),sl.exceedsLimit=(e,t,n=1,i)=>!1!==i&&!(!sl.isInteger(e)||!sl.isInteger(t))&&(Number(t)-Number(e))/Number(n)>=i,sl.escapeNode=(e,t=0,n)=>{const i=e.nodes[t];i&&(n&&i.type===n||"open"===i.type||"close"===i.type)&&!0!==i.escaped&&(i.value="\\"+i.value,i.escaped=!0)},sl.encloseBrace=e=>"brace"===e.type&&e.commas>>0+e.ranges>>0==0&&(e.invalid=!0,!0),sl.isInvalidBrace=e=>!("brace"!==e.type||!0!==e.invalid&&!e.dollar&&(e.commas>>0+e.ranges>>0!=0&&!0===e.open&&!0===e.close||(e.invalid=!0,0))),sl.isOpenOrClose=e=>"open"===e.type||"close"===e.type||!0===e.open||!0===e.close,sl.reduce=e=>e.reduce(((e,t)=>("text"===t.type&&e.push(t.value),"range"===t.type&&(t.type="text"),e)),[]),sl.flatten=(...e)=>{const t=[],n=e=>{for(let i=0;i<e.length;i++){const s=e[i];Array.isArray(s)?n(s):void 0!==s&&t.push(s)}return t};return n(e),t};const vl=gl;var bl=(e,t={})=>{const n=(e,i={})=>{const s=t.escapeInvalid&&vl.isInvalidBrace(i),o=!0===e.invalid&&!0===t.escapeInvalid;let a="";if(e.value)return(s||o)&&vl.isOpenOrClose(e)?"\\"+e.value:e.value;if(e.value)return e.value;if(e.nodes)for(const t of e.nodes)a+=n(t);return a};return n(e)};
|
|
15
|
+
/*!
|
|
16
|
+
* is-number <https://github.com/jonschlinkert/is-number>
|
|
17
|
+
*
|
|
18
|
+
* Copyright (c) 2014-present, Jon Schlinkert.
|
|
19
|
+
* Released under the MIT License.
|
|
20
|
+
*/
|
|
21
|
+
/*!
|
|
22
|
+
* to-regex-range <https://github.com/micromatch/to-regex-range>
|
|
23
|
+
*
|
|
24
|
+
* Copyright (c) 2015-present, Jon Schlinkert.
|
|
25
|
+
* Released under the MIT License.
|
|
26
|
+
*/
|
|
27
|
+
const yl=function(e){return"number"==typeof e?e-e==0:"string"==typeof e&&""!==e.trim()&&(Number.isFinite?Number.isFinite(+e):isFinite(+e))},wl=(e,t,n)=>{if(!1===yl(e))throw new TypeError("toRegexRange: expected the first argument to be a number");if(void 0===t||e===t)return String(e);if(!1===yl(t))throw new TypeError("toRegexRange: expected the second argument to be a number.");let i={relaxZeros:!0,...n};"boolean"==typeof i.strictZeros&&(i.relaxZeros=!1===i.strictZeros);let s=e+":"+t+"="+String(i.relaxZeros)+String(i.shorthand)+String(i.capture)+String(i.wrap);if(wl.cache.hasOwnProperty(s))return wl.cache[s].result;let o=Math.min(e,t),a=Math.max(e,t);if(1===Math.abs(o-a)){let n=e+"|"+t;return i.capture?`(${n})`:!1===i.wrap?n:`(?:${n})`}let r=Pl(e)||Pl(t),c={min:e,max:t,a:o,b:a},p=[],l=[];if(r&&(c.isPadded=r,c.maxLen=String(c.max).length),o<0){l=El(a<0?Math.abs(a):1,Math.abs(o),c,i),o=c.a=0}return a>=0&&(p=El(o,a,c,i)),c.negatives=l,c.positives=p,c.result=function(e,t,n){let i=Sl(e,t,"-",!1)||[],s=Sl(t,e,"",!1)||[],o=Sl(e,t,"-?",!0)||[];return i.concat(o).concat(s).join("|")}(l,p),!0===i.capture?c.result=`(${c.result})`:!1!==i.wrap&&p.length+l.length>1&&(c.result=`(?:${c.result})`),wl.cache[s]=c,c.result};function _l(e,t,n){if(e===t)return{pattern:e,count:[],digits:0};let i=function(e,t){let n=[];for(let i=0;i<e.length;i++)n.push([e[i],t[i]]);return n}(e,t),s=i.length,o="",a=0;for(let e=0;e<s;e++){let[t,n]=i[e];t===n?o+=t:"0"!==t||"9"!==n?o+=Cl(t,n):a++}return a&&(o+=!0===n.shorthand?"\\d":"[0-9]"),{pattern:o,count:[a],digits:s}}function El(e,t,n,i){let s,o=function(e,t){let n=1,i=1,s=Tl(e,n),o=new Set([t]);for(;e<=s&&s<=t;)o.add(s),n+=1,s=Tl(e,n);for(s=Ol(t+1,i)-1;e<s&&s<=t;)o.add(s),i+=1,s=Ol(t+1,i)-1;return o=[...o],o.sort(kl),o}(e,t),a=[],r=e;for(let e=0;e<o.length;e++){let t=o[e],c=_l(String(r),String(t),i),p="";n.isPadded||!s||s.pattern!==c.pattern?(n.isPadded&&(p=Ll(t,n,i)),c.string=p+c.pattern+Al(c.count),a.push(c),r=t+1,s=c):(s.count.length>1&&s.count.pop(),s.count.push(c.count[0]),s.string=s.pattern+Al(s.count),r=t+1)}return a}function Sl(e,t,n,i,s){let o=[];for(let s of e){let{string:e}=s;i||Rl(t,"string",e)||o.push(n+e),i&&Rl(t,"string",e)&&o.push(n+e)}return o}function kl(e,t){return e>t?1:t>e?-1:0}function Rl(e,t,n){return e.some((e=>e[t]===n))}function Tl(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function Ol(e,t){return e-e%Math.pow(10,t)}function Al(e){let[t=0,n=""]=e;return n||t>1?`{${t+(n?","+n:"")}}`:""}function Cl(e,t,n){return`[${e}${t-e==1?"":"-"}${t}]`}function Pl(e){return/^-?(0+)\d/.test(e)}function Ll(e,t,n){if(!t.isPadded)return e;let i=Math.abs(t.maxLen-String(e).length),s=!1!==n.relaxZeros;switch(i){case 0:return"";case 1:return s?"0?":"0";case 2:return s?"0{0,2}":"00";default:return s?`0{0,${i}}`:`0{${i}}`}}wl.cache={},wl.clearCache=()=>wl.cache={};
|
|
28
|
+
/*!
|
|
29
|
+
* fill-range <https://github.com/jonschlinkert/fill-range>
|
|
30
|
+
*
|
|
31
|
+
* Copyright (c) 2014-present, Jon Schlinkert.
|
|
32
|
+
* Licensed under the MIT License.
|
|
33
|
+
*/
|
|
34
|
+
const jl=d,Il=wl,Nl=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),Fl=e=>"number"==typeof e||"string"==typeof e&&""!==e,Dl=e=>Number.isInteger(+e),Ml=e=>{let t=`${e}`,n=-1;if("-"===t[0]&&(t=t.slice(1)),"0"===t)return!1;for(;"0"===t[++n];);return n>0},$l=(e,t,n)=>{if(t>0){let n="-"===e[0]?"-":"";n&&(e=e.slice(1)),e=n+e.padStart(n?t-1:t,"0")}return!1===n?String(e):e},Bl=(e,t)=>{let n="-"===e[0]?"-":"";for(n&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return n?"-"+e:e},Ul=(e,t,n,i)=>{if(n)return Il(e,t,{wrap:!1,...i});let s=String.fromCharCode(e);return e===t?s:`[${s}-${String.fromCharCode(t)}]`},zl=(e,t,n)=>{if(Array.isArray(e)){let t=!0===n.wrap,i=n.capture?"":"?:";return t?`(${i}${e.join("|")})`:e.join("|")}return Il(e,t,n)},Hl=(...e)=>new RangeError("Invalid range arguments: "+jl.inspect(...e)),Gl=(e,t,n)=>{if(!0===n.strictRanges)throw Hl([e,t]);return[]},ql=(e,t,n=1,i={})=>{let s=Number(e),o=Number(t);if(!Number.isInteger(s)||!Number.isInteger(o)){if(!0===i.strictRanges)throw Hl([e,t]);return[]}0===s&&(s=0),0===o&&(o=0);let a=s>o,r=String(e),c=String(t),p=String(n);n=Math.max(Math.abs(n),1);let l=Ml(r)||Ml(c)||Ml(p),u=l?Math.max(r.length,c.length,p.length):0,d=!1===l&&!1===((e,t,n)=>"string"==typeof e||"string"==typeof t||!0===n.stringify)(e,t,i),m=i.transform||(e=>t=>!0===e?Number(t):String(t))(d);if(i.toRegex&&1===n)return Ul(Bl(e,u),Bl(t,u),!0,i);let f={negatives:[],positives:[]},h=[],x=0;for(;a?s>=o:s<=o;)!0===i.toRegex&&n>1?f[(g=s)<0?"negatives":"positives"].push(Math.abs(g)):h.push($l(m(s,x),u,d)),s=a?s-n:s+n,x++;var g;return!0===i.toRegex?n>1?((e,t,n)=>{e.negatives.sort(((e,t)=>e<t?-1:e>t?1:0)),e.positives.sort(((e,t)=>e<t?-1:e>t?1:0));let i,s=t.capture?"":"?:",o="",a="";return e.positives.length&&(o=e.positives.map((e=>Bl(String(e),n))).join("|")),e.negatives.length&&(a=`-(${s}${e.negatives.map((e=>Bl(String(e),n))).join("|")})`),i=o&&a?`${o}|${a}`:o||a,t.wrap?`(${s}${i})`:i})(f,i,u):zl(h,null,{wrap:!1,...i}):h},Wl=(e,t,n,i={})=>{if(null==t&&Fl(e))return[e];if(!Fl(e)||!Fl(t))return Gl(e,t,i);if("function"==typeof n)return Wl(e,t,1,{transform:n});if(Nl(n))return Wl(e,t,0,n);let s={...i};return!0===s.capture&&(s.wrap=!0),n=n||s.step||1,Dl(n)?Dl(e)&&Dl(t)?ql(e,t,n,s):((e,t,n=1,i={})=>{if(!Dl(e)&&e.length>1||!Dl(t)&&t.length>1)return Gl(e,t,i);let s=i.transform||(e=>String.fromCharCode(e)),o=`${e}`.charCodeAt(0),a=`${t}`.charCodeAt(0),r=o>a,c=Math.min(o,a),p=Math.max(o,a);if(i.toRegex&&1===n)return Ul(c,p,!1,i);let l=[],u=0;for(;r?o>=a:o<=a;)l.push(s(o,u)),o=r?o-n:o+n,u++;return!0===i.toRegex?zl(l,null,{wrap:!1,options:i}):l})(e,t,Math.max(Math.abs(n),1),s):null==n||Nl(n)?Wl(e,t,1,n):((e,t)=>{if(!0===t.strictRanges)throw new TypeError(`Expected step "${e}" to be a number`);return[]})(n,s)};const Kl=Wl,Vl=gl;var Yl=(e,t={})=>{const n=(e,i={})=>{const s=Vl.isInvalidBrace(i),o=!0===e.invalid&&!0===t.escapeInvalid,a=!0===s||!0===o,r=!0===t.escapeInvalid?"\\":"";let c="";if(!0===e.isOpen)return r+e.value;if(!0===e.isClose)return console.log("node.isClose",r,e.value),r+e.value;if("open"===e.type)return a?r+e.value:"(";if("close"===e.type)return a?r+e.value:")";if("comma"===e.type)return"comma"===e.prev.type?"":a?e.value:"|";if(e.value)return e.value;if(e.nodes&&e.ranges>0){const n=Vl.reduce(e.nodes),i=Kl(...n,{...t,wrap:!1,toRegex:!0,strictZeros:!0});if(0!==i.length)return n.length>1&&i.length>1?`(${i})`:i}if(e.nodes)for(const t of e.nodes)c+=n(t,e);return c};return n(e)};const Ql=Wl,Xl=bl,Jl=gl,Zl=(e="",t="",n=!1)=>{const i=[];if(e=[].concat(e),!(t=[].concat(t)).length)return e;if(!e.length)return n?Jl.flatten(t).map((e=>`{${e}}`)):t;for(const s of e)if(Array.isArray(s))for(const e of s)i.push(Zl(e,t,n));else for(let e of t)!0===n&&"string"==typeof e&&(e=`{${e}}`),i.push(Array.isArray(e)?Zl(s,e,n):s+e);return Jl.flatten(i)};var eu=(e,t={})=>{const n=void 0===t.rangeLimit?1e3:t.rangeLimit,i=(e,s={})=>{e.queue=[];let o=s,a=s.queue;for(;"brace"!==o.type&&"root"!==o.type&&o.parent;)o=o.parent,a=o.queue;if(e.invalid||e.dollar)return void a.push(Zl(a.pop(),Xl(e,t)));if("brace"===e.type&&!0!==e.invalid&&2===e.nodes.length)return void a.push(Zl(a.pop(),["{}"]));if(e.nodes&&e.ranges>0){const i=Jl.reduce(e.nodes);if(Jl.exceedsLimit(...i,t.step,n))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let s=Ql(...i,t);return 0===s.length&&(s=Xl(e,t)),a.push(Zl(a.pop(),s)),void(e.nodes=[])}const r=Jl.encloseBrace(e);let c=e.queue,p=e;for(;"brace"!==p.type&&"root"!==p.type&&p.parent;)p=p.parent,c=p.queue;for(let t=0;t<e.nodes.length;t++){const n=e.nodes[t];"comma"!==n.type||"brace"!==e.type?"close"!==n.type?n.value&&"open"!==n.type?c.push(Zl(c.pop(),n.value)):n.nodes&&i(n,e):a.push(Zl(a.pop(),c,r)):(1===t&&c.push(""),c.push(""))}return c};return Jl.flatten(i(e))};const tu=bl,{MAX_LENGTH:nu,CHAR_BACKSLASH:iu,CHAR_BACKTICK:su,CHAR_COMMA:ou,CHAR_DOT:au,CHAR_LEFT_PARENTHESES:ru,CHAR_RIGHT_PARENTHESES:cu,CHAR_LEFT_CURLY_BRACE:pu,CHAR_RIGHT_CURLY_BRACE:lu,CHAR_LEFT_SQUARE_BRACKET:uu,CHAR_RIGHT_SQUARE_BRACKET:du,CHAR_DOUBLE_QUOTE:mu,CHAR_SINGLE_QUOTE:fu,CHAR_NO_BREAK_SPACE:hu,CHAR_ZERO_WIDTH_NOBREAK_SPACE:xu}={MAX_LENGTH:1e4,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:"\n",CHAR_NO_BREAK_SPACE:" ",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"};var gu=(e,t={})=>{if("string"!=typeof e)throw new TypeError("Expected a string");const n=t||{},i="number"==typeof n.maxLength?Math.min(nu,n.maxLength):nu;if(e.length>i)throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${i})`);const s={type:"root",input:e,nodes:[]},o=[s];let a=s,r=s,c=0;const p=e.length;let l,u=0,d=0;const m=()=>e[u++],f=e=>{if("text"===e.type&&"dot"===r.type&&(r.type="text"),!r||"text"!==r.type||"text"!==e.type)return a.nodes.push(e),e.parent=a,e.prev=r,r=e,e;r.value+=e.value};for(f({type:"bos"});u<p;)if(a=o[o.length-1],l=m(),l!==xu&&l!==hu)if(l!==iu)if(l!==du)if(l!==uu)if(l!==ru)if(l!==cu)if(l!==mu&&l!==fu&&l!==su)if(l!==pu)if(l!==lu)if(l===ou&&d>0){if(a.ranges>0){a.ranges=0;const e=a.nodes.shift();a.nodes=[e,{type:"text",value:tu(a)}]}f({type:"comma",value:l}),a.commas++}else if(l===au&&d>0&&0===a.commas){const e=a.nodes;if(0===d||0===e.length){f({type:"text",value:l});continue}if("dot"===r.type){if(a.range=[],r.value+=l,r.type="range",3!==a.nodes.length&&5!==a.nodes.length){a.invalid=!0,a.ranges=0,r.type="text";continue}a.ranges++,a.args=[];continue}if("range"===r.type){e.pop();const t=e[e.length-1];t.value+=r.value+l,r=t,a.ranges--;continue}f({type:"dot",value:l})}else f({type:"text",value:l});else{if("brace"!==a.type){f({type:"text",value:l});continue}const e="close";a=o.pop(),a.close=!0,f({type:e,value:l}),d--,a=o[o.length-1]}else{d++;const e=r.value&&"$"===r.value.slice(-1)||!0===a.dollar;a=f({type:"brace",open:!0,close:!1,dollar:e,depth:d,commas:0,ranges:0,nodes:[]}),o.push(a),f({type:"open",value:l})}else{const e=l;let n;for(!0!==t.keepQuotes&&(l="");u<p&&(n=m());)if(n!==iu){if(n===e){!0===t.keepQuotes&&(l+=n);break}l+=n}else l+=n+m();f({type:"text",value:l})}else{if("paren"!==a.type){f({type:"text",value:l});continue}a=o.pop(),f({type:"text",value:l}),a=o[o.length-1]}else a=f({type:"paren",nodes:[]}),o.push(a),f({type:"text",value:l});else{let e;for(c++;u<p&&(e=m());)if(l+=e,e!==uu)if(e!==iu){if(e===du&&(c--,0===c))break}else l+=m();else c++;f({type:"text",value:l})}else f({type:"text",value:"\\"+l});else f({type:"text",value:(t.keepEscaping?l:"")+m()});do{if(a=o.pop(),"root"!==a.type){a.nodes.forEach((e=>{e.nodes||("open"===e.type&&(e.isOpen=!0),"close"===e.type&&(e.isClose=!0),e.nodes||(e.type="text"),e.invalid=!0)}));const e=o[o.length-1],t=e.nodes.indexOf(a);e.nodes.splice(t,1,...a.nodes)}}while(o.length>0);return f({type:"eos"}),s};const vu=bl,bu=Yl,yu=eu,wu=gu,_u=(e,t={})=>{let n=[];if(Array.isArray(e))for(const i of e){const e=_u.create(i,t);Array.isArray(e)?n.push(...e):n.push(e)}else n=[].concat(_u.create(e,t));return t&&!0===t.expand&&!0===t.nodupes&&(n=[...new Set(n)]),n};_u.parse=(e,t={})=>wu(e,t),_u.stringify=(e,t={})=>vu("string"==typeof e?_u.parse(e,t):e,t),_u.compile=(e,t={})=>("string"==typeof e&&(e=_u.parse(e,t)),bu(e,t)),_u.expand=(e,t={})=>{"string"==typeof e&&(e=_u.parse(e,t));let n=yu(e,t);return!0===t.noempty&&(n=n.filter(Boolean)),!0===t.nodupes&&(n=[...new Set(n)]),n},_u.create=(e,t={})=>""===e||e.length<3?[e]:!0!==t.expand?_u.compile(e,t):_u.expand(e,t);const Eu=d,Su=_u,ku=Op,Ru=Ic,Tu=e=>""===e||"./"===e,Ou=(e,t,n)=>{t=[].concat(t),e=[].concat(e);let i=new Set,s=new Set,o=new Set,a=0,r=e=>{o.add(e.output),n&&n.onResult&&n.onResult(e)};for(let o=0;o<t.length;o++){let c=ku(String(t[o]),{...n,onResult:r},!0),p=c.state.negated||c.state.negatedExtglob;p&&a++;for(let t of e){let e=c(t,!0);(p?!e.isMatch:e.isMatch)&&(p?i.add(e.output):(i.delete(e.output),s.add(e.output)))}}let c=(a===t.length?[...o]:[...s]).filter((e=>!i.has(e)));if(n&&0===c.length){if(!0===n.failglob)throw new Error(`No matches found for "${t.join(", ")}"`);if(!0===n.nonull||!0===n.nullglob)return n.unescape?t.map((e=>e.replace(/\\/g,""))):t}return c};Ou.match=Ou,Ou.matcher=(e,t)=>ku(e,t),Ou.any=Ou.isMatch=(e,t,n)=>ku(t,n)(e),Ou.not=(e,t,n={})=>{t=[].concat(t).map(String);let i=new Set,s=[],o=new Set(Ou(e,t,{...n,onResult:e=>{n.onResult&&n.onResult(e),s.push(e.output)}}));for(let e of s)o.has(e)||i.add(e);return[...i]},Ou.contains=(e,t,n)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${Eu.inspect(e)}"`);if(Array.isArray(t))return t.some((t=>Ou.contains(e,t,n)));if("string"==typeof t){if(Tu(e)||Tu(t))return!1;if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t))return!0}return Ou.isMatch(e,t,{...n,contains:!0})},Ou.matchKeys=(e,t,n)=>{if(!Ru.isObject(e))throw new TypeError("Expected the first argument to be an object");let i=Ou(Object.keys(e),t,n),s={};for(let t of i)s[t]=e[t];return s},Ou.some=(e,t,n)=>{let i=[].concat(e);for(let e of[].concat(t)){let t=ku(String(e),n);if(i.some((e=>t(e))))return!0}return!1},Ou.every=(e,t,n)=>{let i=[].concat(e);for(let e of[].concat(t)){let t=ku(String(e),n);if(!i.every((e=>t(e))))return!1}return!0},Ou.all=(e,t,n)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${Eu.inspect(e)}"`);return[].concat(t).every((t=>ku(t,n)(e)))},Ou.capture=(e,t,n)=>{let i=Ru.isWindows(n),s=ku.makeRe(String(e),{...n,capture:!0}).exec(i?Ru.toPosixSlashes(t):t);if(s)return s.slice(1).map((e=>void 0===e?"":e))},Ou.makeRe=(...e)=>ku.makeRe(...e),Ou.scan=(...e)=>ku.scan(...e),Ou.parse=(e,t)=>{let n=[];for(let i of[].concat(e||[]))for(let e of Su(String(i),t))n.push(ku.parse(e,t));return n},Ou.braces=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return t&&!0===t.nobrace||!/\{.*\}/.test(e)?[e]:Su(e,t)},Ou.braceExpand=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return Ou.braces(e,{...t,expand:!0})};var Au=Ou;Object.defineProperty(ol,"__esModule",{value:!0}),ol.removeDuplicateSlashes=ol.matchAny=ol.convertPatternsToRe=ol.makeRe=ol.getPatternParts=ol.expandBraceExpansion=ol.expandPatternsWithBraceExpansion=ol.isAffectDepthOfReadingPattern=ol.endsWithSlashGlobStar=ol.hasGlobStar=ol.getBaseDirectory=ol.isPatternRelatedToParentDirectory=ol.getPatternsOutsideCurrentDirectory=ol.getPatternsInsideCurrentDirectory=ol.getPositivePatterns=ol.getNegativePatterns=ol.isPositivePattern=ol.isNegativePattern=ol.convertToNegativePattern=ol.convertToPositivePattern=ol.isDynamicPattern=ol.isStaticPattern=void 0;const Cu=f,Pu=function(e,t){Object.assign({flipBackslashes:!0},t).flipBackslashes&&dl&&e.indexOf("/")<0&&(e=e.replace(ml,"/")),fl.test(e)&&(e+="/"),e+="a";do{e=ul(e)}while(ll(e)||hl.test(e));return e.replace(xl,"$1")},Lu=Au,ju="**",Iu="\\",Nu=/[*?]|^!/,Fu=/\[[^[]*]/,Du=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,Mu=/[!*+?@]\([^(]*\)/,$u=/,|\.\./,Bu=/(?!^)\/{2,}/g;function Uu(e,t={}){return!zu(e,t)}function zu(e,t={}){return""!==e&&(!(!1!==t.caseSensitiveMatch&&!e.includes(Iu))||(!!(Nu.test(e)||Fu.test(e)||Du.test(e))||(!(!1===t.extglob||!Mu.test(e))||!(!1===t.braceExpansion||!function(e){const t=e.indexOf("{");if(-1===t)return!1;const n=e.indexOf("}",t+1);if(-1===n)return!1;const i=e.slice(t,n);return $u.test(i)}(e)))))}function Hu(e){return e.startsWith("!")&&"("!==e[1]}function Gu(e){return!Hu(e)}function qu(e){return e.startsWith("..")||e.startsWith("./..")}function Wu(e){return e.endsWith("/"+ju)}function Ku(e){const t=Lu.braces(e,{expand:!0,nodupes:!0,keepEscaping:!0});return t.sort(((e,t)=>e.length-t.length)),t.filter((e=>""!==e))}function Vu(e,t){return Lu.makeRe(e,t)}ol.isStaticPattern=Uu,ol.isDynamicPattern=zu,ol.convertToPositivePattern=function(e){return Hu(e)?e.slice(1):e},ol.convertToNegativePattern=function(e){return"!"+e},ol.isNegativePattern=Hu,ol.isPositivePattern=Gu,ol.getNegativePatterns=function(e){return e.filter(Hu)},ol.getPositivePatterns=function(e){return e.filter(Gu)},ol.getPatternsInsideCurrentDirectory=function(e){return e.filter((e=>!qu(e)))},ol.getPatternsOutsideCurrentDirectory=function(e){return e.filter(qu)},ol.isPatternRelatedToParentDirectory=qu,ol.getBaseDirectory=function(e){return Pu(e,{flipBackslashes:!1})},ol.hasGlobStar=function(e){return e.includes(ju)},ol.endsWithSlashGlobStar=Wu,ol.isAffectDepthOfReadingPattern=function(e){const t=Cu.basename(e);return Wu(e)||Uu(t)},ol.expandPatternsWithBraceExpansion=function(e){return e.reduce(((e,t)=>e.concat(Ku(t))),[])},ol.expandBraceExpansion=Ku,ol.getPatternParts=function(e,t){let{parts:n}=Lu.scan(e,Object.assign(Object.assign({},t),{parts:!0}));return 0===n.length&&(n=[e]),n[0].startsWith("/")&&(n[0]=n[0].slice(1),n.unshift("")),n},ol.makeRe=Vu,ol.convertPatternsToRe=function(e,t){return e.map((e=>Vu(e,t)))},ol.matchAny=function(e,t){return t.some((t=>t.test(e)))},ol.removeDuplicateSlashes=function(e){return e.replace(Bu,"/")};var Yu={};Object.defineProperty(Yu,"__esModule",{value:!0}),Yu.merge=void 0;const Qu=Mp;function Xu(e){e.forEach((e=>e.emit("close")))}Yu.merge=function(e){const t=Qu(e);return e.forEach((e=>{e.once("error",(e=>t.emit("error",e)))})),t.once("close",(()=>Xu(e))),t.once("end",(()=>Xu(e))),t};var Ju={};Object.defineProperty(Ju,"__esModule",{value:!0}),Ju.isEmpty=Ju.isString=void 0,Ju.isString=function(e){return"string"==typeof e},Ju.isEmpty=function(e){return""===e},Object.defineProperty(zp,"__esModule",{value:!0}),zp.string=zp.stream=zp.pattern=zp.path=zp.fs=zp.errno=zp.array=void 0;const Zu=Hp;zp.array=Zu;const ed=Gp;zp.errno=ed;const td=qp;zp.fs=td;const nd=Kp;zp.path=nd;const id=ol;zp.pattern=id;const sd=Yu;zp.stream=sd;const od=Ju;zp.string=od,Object.defineProperty(Up,"__esModule",{value:!0}),Up.convertPatternGroupToTask=Up.convertPatternGroupsToTasks=Up.groupPatternsByBaseDirectory=Up.getNegativePatternsAsPositive=Up.getPositivePatterns=Up.convertPatternsToTasks=Up.generate=void 0;const ad=zp;function rd(e,t){let n=e;return t.braceExpansion&&(n=ad.pattern.expandPatternsWithBraceExpansion(n)),t.baseNameMatch&&(n=n.map((e=>e.includes("/")?e:`**/${e}`))),n.map((e=>ad.pattern.removeDuplicateSlashes(e)))}function cd(e,t,n){const i=[],s=ad.pattern.getPatternsOutsideCurrentDirectory(e),o=ad.pattern.getPatternsInsideCurrentDirectory(e),a=ud(s),r=ud(o);return i.push(...dd(a,t,n)),"."in r?i.push(md(".",o,t,n)):i.push(...dd(r,t,n)),i}function pd(e){return ad.pattern.getPositivePatterns(e)}function ld(e,t){return ad.pattern.getNegativePatterns(e).concat(t).map(ad.pattern.convertToPositivePattern)}function ud(e){return e.reduce(((e,t)=>{const n=ad.pattern.getBaseDirectory(t);return n in e?e[n].push(t):e[n]=[t],e}),{})}function dd(e,t,n){return Object.keys(e).map((i=>md(i,e[i],t,n)))}function md(e,t,n,i){return{dynamic:i,positive:t,negative:n,base:e,patterns:[].concat(t,n.map(ad.pattern.convertToNegativePattern))}}Up.generate=function(e,t){const n=rd(e,t),i=rd(t.ignore,t),s=pd(n),o=ld(n,i),a=s.filter((e=>ad.pattern.isStaticPattern(e,t))),r=s.filter((e=>ad.pattern.isDynamicPattern(e,t))),c=cd(a,o,!1),p=cd(r,o,!0);return c.concat(p)},Up.convertPatternsToTasks=cd,Up.getPositivePatterns=pd,Up.getNegativePatternsAsPositive=ld,Up.groupPatternsByBaseDirectory=ud,Up.convertPatternGroupsToTasks=dd,Up.convertPatternGroupToTask=md;var fd={},hd={},xd={},gd={},vd={},bd={},yd={},wd={},_d={};function Ed(e,t){e(t)}function Sd(e,t){e(null,t)}Object.defineProperty(_d,"__esModule",{value:!0}),_d.read=void 0,_d.read=function(e,t,n){t.fs.lstat(e,((i,s)=>{null===i?s.isSymbolicLink()&&t.followSymbolicLink?t.fs.stat(e,((e,i)=>{if(null!==e)return t.throwErrorOnBrokenSymbolicLink?void Ed(n,e):void Sd(n,s);t.markSymbolicLink&&(i.isSymbolicLink=()=>!0),Sd(n,i)})):Sd(n,s):Ed(n,i)}))};var kd={};Object.defineProperty(kd,"__esModule",{value:!0}),kd.read=void 0,kd.read=function(e,t){const n=t.fs.lstatSync(e);if(!n.isSymbolicLink()||!t.followSymbolicLink)return n;try{const n=t.fs.statSync(e);return t.markSymbolicLink&&(n.isSymbolicLink=()=>!0),n}catch(e){if(!t.throwErrorOnBrokenSymbolicLink)return n;throw e}};var Rd={},Td={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.createFileSystemAdapter=e.FILE_SYSTEM_ADAPTER=void 0;const t=c;e.FILE_SYSTEM_ADAPTER={lstat:t.lstat,stat:t.stat,lstatSync:t.lstatSync,statSync:t.statSync},e.createFileSystemAdapter=function(t){return void 0===t?e.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},e.FILE_SYSTEM_ADAPTER),t)}}(Td),Object.defineProperty(Rd,"__esModule",{value:!0});const Od=Td;Rd.default=class{constructor(e={}){this._options=e,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=Od.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(e,t){return null!=e?e:t}},Object.defineProperty(wd,"__esModule",{value:!0}),wd.statSync=wd.stat=wd.Settings=void 0;const Ad=_d,Cd=kd,Pd=Rd;function Ld(e={}){return e instanceof Pd.default?e:new Pd.default(e)}
|
|
35
|
+
/*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */let jd;wd.Settings=Pd.default,wd.stat=function(e,t,n){"function"!=typeof t?Ad.read(e,Ld(t),n):Ad.read(e,Ld(),t)},wd.statSync=function(e,t){const n=Ld(t);return Cd.read(e,n)};var Id=function(e,t){let n,i,s,o=!0;Array.isArray(e)?(n=[],i=e.length):(s=Object.keys(e),n={},i=s.length);function a(e){function i(){t&&t(e,n),t=null}o?Nd(i):i()}function r(e,t,s){n[e]=s,(0==--i||t)&&a(t)}i?s?s.forEach((function(t){e[t]((function(e,n){r(t,e,n)}))})):e.forEach((function(e,t){e((function(e,n){r(t,e,n)}))})):a(null);o=!1};
|
|
36
|
+
/*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */const Nd="function"==typeof queueMicrotask?queueMicrotask.bind("undefined"!=typeof window?window:be):e=>(jd||(jd=Promise.resolve())).then(e).catch((e=>setTimeout((()=>{throw e}),0)));var Fd={};Object.defineProperty(Fd,"__esModule",{value:!0}),Fd.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;const Dd=process.versions.node.split(".");if(void 0===Dd[0]||void 0===Dd[1])throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);const Md=Number.parseInt(Dd[0],10),$d=Number.parseInt(Dd[1],10),Bd=Md>10,Ud=10===Md&&$d>=10;Fd.IS_SUPPORT_READDIR_WITH_FILE_TYPES=Bd||Ud;var zd={},Hd={};Object.defineProperty(Hd,"__esModule",{value:!0}),Hd.createDirentFromStats=void 0;class Gd{constructor(e,t){this.name=e,this.isBlockDevice=t.isBlockDevice.bind(t),this.isCharacterDevice=t.isCharacterDevice.bind(t),this.isDirectory=t.isDirectory.bind(t),this.isFIFO=t.isFIFO.bind(t),this.isFile=t.isFile.bind(t),this.isSocket=t.isSocket.bind(t),this.isSymbolicLink=t.isSymbolicLink.bind(t)}}Hd.createDirentFromStats=function(e,t){return new Gd(e,t)},Object.defineProperty(zd,"__esModule",{value:!0}),zd.fs=void 0;const qd=Hd;zd.fs=qd;var Wd={};Object.defineProperty(Wd,"__esModule",{value:!0}),Wd.joinPathSegments=void 0,Wd.joinPathSegments=function(e,t,n){return e.endsWith(n)?e+t:e+n+t},Object.defineProperty(yd,"__esModule",{value:!0}),yd.readdir=yd.readdirWithFileTypes=yd.read=void 0;const Kd=wd,Vd=Id,Yd=Fd,Qd=zd,Xd=Wd;function Jd(e,t,n){t.fs.readdir(e,{withFileTypes:!0},((i,s)=>{if(null!==i)return void em(n,i);const o=s.map((n=>({dirent:n,name:n.name,path:Xd.joinPathSegments(e,n.name,t.pathSegmentSeparator)})));if(!t.followSymbolicLinks)return void tm(n,o);const a=o.map((e=>function(e,t){return n=>{e.dirent.isSymbolicLink()?t.fs.stat(e.path,((i,s)=>{if(null!==i)return t.throwErrorOnBrokenSymbolicLink?void n(i):void n(null,e);e.dirent=Qd.fs.createDirentFromStats(e.name,s),n(null,e)})):n(null,e)}}(e,t)));Vd(a,((e,t)=>{null===e?tm(n,t):em(n,e)}))}))}function Zd(e,t,n){t.fs.readdir(e,((i,s)=>{if(null!==i)return void em(n,i);const o=s.map((n=>{const i=Xd.joinPathSegments(e,n,t.pathSegmentSeparator);return e=>{Kd.stat(i,t.fsStatSettings,((s,o)=>{if(null!==s)return void e(s);const a={name:n,path:i,dirent:Qd.fs.createDirentFromStats(n,o)};t.stats&&(a.stats=o),e(null,a)}))}}));Vd(o,((e,t)=>{null===e?tm(n,t):em(n,e)}))}))}function em(e,t){e(t)}function tm(e,t){e(null,t)}yd.read=function(e,t,n){t.stats||!Yd.IS_SUPPORT_READDIR_WITH_FILE_TYPES?Zd(e,t,n):Jd(e,t,n)},yd.readdirWithFileTypes=Jd,yd.readdir=Zd;var nm={};Object.defineProperty(nm,"__esModule",{value:!0}),nm.readdir=nm.readdirWithFileTypes=nm.read=void 0;const im=wd,sm=Fd,om=zd,am=Wd;function rm(e,t){return t.fs.readdirSync(e,{withFileTypes:!0}).map((n=>{const i={dirent:n,name:n.name,path:am.joinPathSegments(e,n.name,t.pathSegmentSeparator)};if(i.dirent.isSymbolicLink()&&t.followSymbolicLinks)try{const e=t.fs.statSync(i.path);i.dirent=om.fs.createDirentFromStats(i.name,e)}catch(e){if(t.throwErrorOnBrokenSymbolicLink)throw e}return i}))}function cm(e,t){return t.fs.readdirSync(e).map((n=>{const i=am.joinPathSegments(e,n,t.pathSegmentSeparator),s=im.statSync(i,t.fsStatSettings),o={name:n,path:i,dirent:om.fs.createDirentFromStats(n,s)};return t.stats&&(o.stats=s),o}))}nm.read=function(e,t){return!t.stats&&sm.IS_SUPPORT_READDIR_WITH_FILE_TYPES?rm(e,t):cm(e,t)},nm.readdirWithFileTypes=rm,nm.readdir=cm;var pm={},lm={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.createFileSystemAdapter=e.FILE_SYSTEM_ADAPTER=void 0;const t=c;e.FILE_SYSTEM_ADAPTER={lstat:t.lstat,stat:t.stat,lstatSync:t.lstatSync,statSync:t.statSync,readdir:t.readdir,readdirSync:t.readdirSync},e.createFileSystemAdapter=function(t){return void 0===t?e.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},e.FILE_SYSTEM_ADAPTER),t)}}(lm),Object.defineProperty(pm,"__esModule",{value:!0});const um=f,dm=wd,mm=lm;pm.default=class{constructor(e={}){this._options=e,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=mm.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,um.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new dm.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return null!=e?e:t}},Object.defineProperty(bd,"__esModule",{value:!0}),bd.Settings=bd.scandirSync=bd.scandir=void 0;const fm=yd,hm=nm,xm=pm;function gm(e={}){return e instanceof xm.default?e:new xm.default(e)}bd.Settings=xm.default,bd.scandir=function(e,t,n){"function"!=typeof t?fm.read(e,gm(t),n):fm.read(e,gm(),t)},bd.scandirSync=function(e,t){const n=gm(t);return hm.read(e,n)};var vm={exports:{}};var bm=function(e){var t=new e,n=t;return{get:function(){var i=t;return i.next?t=i.next:(t=new e,n=t),i.next=null,i},release:function(e){n.next=e,n=e}}};function ym(e,t,n){if("function"==typeof e&&(n=t,t=e,e=null),!(n>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");var i=bm(_m),s=null,o=null,a=0,r=null,c={push:function(l,u){var d=i.get();d.context=e,d.release=p,d.value=l,d.callback=u||wm,d.errorHandler=r,a>=n||c.paused?o?(o.next=d,o=d):(s=d,o=d,c.saturated()):(a++,t.call(e,d.value,d.worked))},drain:wm,saturated:wm,pause:function(){c.paused=!0},paused:!1,get concurrency(){return n},set concurrency(e){if(!(e>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");if(n=e,!c.paused)for(;s&&a<n;)a++,p()},running:function(){return a},resume:function(){if(!c.paused)return;if(c.paused=!1,null===s)return a++,void p();for(;s&&a<n;)a++,p()},idle:function(){return 0===a&&0===c.length()},length:function(){var e=s,t=0;for(;e;)e=e.next,t++;return t},getQueue:function(){var e=s,t=[];for(;e;)t.push(e.value),e=e.next;return t},unshift:function(l,u){var d=i.get();d.context=e,d.release=p,d.value=l,d.callback=u||wm,d.errorHandler=r,a>=n||c.paused?s?(d.next=s,s=d):(s=d,o=d,c.saturated()):(a++,t.call(e,d.value,d.worked))},empty:wm,kill:function(){s=null,o=null,c.drain=wm},killAndDrain:function(){s=null,o=null,c.drain(),c.drain=wm},error:function(e){r=e}};return c;function p(r){r&&i.release(r);var p=s;p&&a<=n?c.paused?a--:(o===s&&(o=null),s=p.next,p.next=null,t.call(e,p.value,p.worked),null===o&&c.empty()):0==--a&&c.drain()}}function wm(){}function _m(){this.value=null,this.callback=wm,this.next=null,this.release=wm,this.context=null,this.errorHandler=null;var e=this;this.worked=function(t,n){var i=e.callback,s=e.errorHandler,o=e.value;e.value=null,e.callback=wm,e.errorHandler&&s(t,o),i.call(e.context,t,n),e.release(e)}}vm.exports=ym,vm.exports.promise=function(e,t,n){"function"==typeof e&&(n=t,t=e,e=null);var i=ym(e,(function(e,n){t.call(this,e).then((function(e){n(null,e)}),n)}),n),s=i.push,o=i.unshift;return i.push=function(e){var t=new Promise((function(t,n){s(e,(function(e,i){e?n(e):t(i)}))}));return t.catch(wm),t},i.unshift=function(e){var t=new Promise((function(t,n){o(e,(function(e,i){e?n(e):t(i)}))}));return t.catch(wm),t},i.drained=function(){if(i.idle())return new Promise((function(e){e()}));var e=i.drain,t=new Promise((function(t){i.drain=function(){e(),t()}}));return t},i};var Em=vm.exports,Sm={};Object.defineProperty(Sm,"__esModule",{value:!0}),Sm.joinPathSegments=Sm.replacePathSegmentSeparator=Sm.isAppliedFilter=Sm.isFatalError=void 0,Sm.isFatalError=function(e,t){return null===e.errorFilter||!e.errorFilter(t)},Sm.isAppliedFilter=function(e,t){return null===e||e(t)},Sm.replacePathSegmentSeparator=function(e,t){return e.split(/[/\\]/).join(t)},Sm.joinPathSegments=function(e,t,n){return""===e?t:e.endsWith(n)?e+t:e+n+t};var km={};Object.defineProperty(km,"__esModule",{value:!0});const Rm=Sm;km.default=class{constructor(e,t){this._root=e,this._settings=t,this._root=Rm.replacePathSegmentSeparator(e,t.pathSegmentSeparator)}},Object.defineProperty(vd,"__esModule",{value:!0});const Tm=_,Om=bd,Am=Em,Cm=Sm,Pm=km;class Lm extends Pm.default{constructor(e,t){super(e,t),this._settings=t,this._scandir=Om.scandir,this._emitter=new Tm.EventEmitter,this._queue=Am(this._worker.bind(this),this._settings.concurrency),this._isFatalError=!1,this._isDestroyed=!1,this._queue.drain=()=>{this._isFatalError||this._emitter.emit("end")}}read(){return this._isFatalError=!1,this._isDestroyed=!1,setImmediate((()=>{this._pushToQueue(this._root,this._settings.basePath)})),this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed)throw new Error("The reader is already destroyed");this._isDestroyed=!0,this._queue.killAndDrain()}onEntry(e){this._emitter.on("entry",e)}onError(e){this._emitter.once("error",e)}onEnd(e){this._emitter.once("end",e)}_pushToQueue(e,t){const n={directory:e,base:t};this._queue.push(n,(e=>{null!==e&&this._handleError(e)}))}_worker(e,t){this._scandir(e.directory,this._settings.fsScandirSettings,((n,i)=>{if(null===n){for(const t of i)this._handleEntry(t,e.base);t(null,void 0)}else t(n,void 0)}))}_handleError(e){!this._isDestroyed&&Cm.isFatalError(this._settings,e)&&(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",e))}_handleEntry(e,t){if(this._isDestroyed||this._isFatalError)return;const n=e.path;void 0!==t&&(e.path=Cm.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),Cm.isAppliedFilter(this._settings.entryFilter,e)&&this._emitEntry(e),e.dirent.isDirectory()&&Cm.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,void 0===t?void 0:e.path)}_emitEntry(e){this._emitter.emit("entry",e)}}vd.default=Lm,Object.defineProperty(gd,"__esModule",{value:!0});const jm=vd;gd.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new jm.default(this._root,this._settings),this._storage=[]}read(e){this._reader.onError((t=>{!function(e,t){e(t)}(e,t)})),this._reader.onEntry((e=>{this._storage.push(e)})),this._reader.onEnd((()=>{!function(e,t){e(null,t)}(e,this._storage)})),this._reader.read()}};var Im={};Object.defineProperty(Im,"__esModule",{value:!0});const Nm=l,Fm=vd;Im.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new Fm.default(this._root,this._settings),this._stream=new Nm.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return this._reader.onError((e=>{this._stream.emit("error",e)})),this._reader.onEntry((e=>{this._stream.push(e)})),this._reader.onEnd((()=>{this._stream.push(null)})),this._reader.read(),this._stream}};var Dm={},Mm={};Object.defineProperty(Mm,"__esModule",{value:!0});const $m=bd,Bm=Sm,Um=km;class zm extends Um.default{constructor(){super(...arguments),this._scandir=$m.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(e,t){this._queue.add({directory:e,base:t})}_handleQueue(){for(const e of this._queue.values())this._handleDirectory(e.directory,e.base)}_handleDirectory(e,t){try{const n=this._scandir(e,this._settings.fsScandirSettings);for(const e of n)this._handleEntry(e,t)}catch(e){this._handleError(e)}}_handleError(e){if(Bm.isFatalError(this._settings,e))throw e}_handleEntry(e,t){const n=e.path;void 0!==t&&(e.path=Bm.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),Bm.isAppliedFilter(this._settings.entryFilter,e)&&this._pushToStorage(e),e.dirent.isDirectory()&&Bm.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,void 0===t?void 0:e.path)}_pushToStorage(e){this._storage.push(e)}}Mm.default=zm,Object.defineProperty(Dm,"__esModule",{value:!0});const Hm=Mm;Dm.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new Hm.default(this._root,this._settings)}read(){return this._reader.read()}};var Gm={};Object.defineProperty(Gm,"__esModule",{value:!0});const qm=f,Wm=bd;Gm.default=class{constructor(e={}){this._options=e,this.basePath=this._getValue(this._options.basePath,void 0),this.concurrency=this._getValue(this._options.concurrency,Number.POSITIVE_INFINITY),this.deepFilter=this._getValue(this._options.deepFilter,null),this.entryFilter=this._getValue(this._options.entryFilter,null),this.errorFilter=this._getValue(this._options.errorFilter,null),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,qm.sep),this.fsScandirSettings=new Wm.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return null!=e?e:t}},Object.defineProperty(xd,"__esModule",{value:!0}),xd.Settings=xd.walkStream=xd.walkSync=xd.walk=void 0;const Km=gd,Vm=Im,Ym=Dm,Qm=Gm;function Xm(e={}){return e instanceof Qm.default?e:new Qm.default(e)}xd.Settings=Qm.default,xd.walk=function(e,t,n){"function"!=typeof t?new Km.default(e,Xm(t)).read(n):new Km.default(e,Xm()).read(t)},xd.walkSync=function(e,t){const n=Xm(t);return new Ym.default(e,n).read()},xd.walkStream=function(e,t){const n=Xm(t);return new Vm.default(e,n).read()};var Jm={};Object.defineProperty(Jm,"__esModule",{value:!0});const Zm=f,ef=wd,tf=zp;Jm.default=class{constructor(e){this._settings=e,this._fsStatSettings=new ef.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(e){return Zm.resolve(this._settings.cwd,e)}_makeEntry(e,t){const n={name:t,path:t,dirent:tf.fs.createDirentFromStats(t,e)};return this._settings.stats&&(n.stats=e),n}_isFatalError(e){return!tf.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}};var nf={};Object.defineProperty(nf,"__esModule",{value:!0});const sf=l,of=wd,af=xd,rf=Jm;class cf extends rf.default{constructor(){super(...arguments),this._walkStream=af.walkStream,this._stat=of.stat}dynamic(e,t){return this._walkStream(e,t)}static(e,t){const n=e.map(this._getFullEntryPath,this),i=new sf.PassThrough({objectMode:!0});i._write=(s,o,a)=>this._getEntry(n[s],e[s],t).then((e=>{null!==e&&t.entryFilter(e)&&i.push(e),s===n.length-1&&i.end(),a()})).catch(a);for(let e=0;e<n.length;e++)i.write(e);return i}_getEntry(e,t,n){return this._getStat(e).then((e=>this._makeEntry(e,t))).catch((e=>{if(n.errorFilter(e))return null;throw e}))}_getStat(e){return new Promise(((t,n)=>{this._stat(e,this._fsStatSettings,((e,i)=>null===e?t(i):n(e)))}))}}nf.default=cf,Object.defineProperty(hd,"__esModule",{value:!0});const pf=xd,lf=Jm,uf=nf;class df extends lf.default{constructor(){super(...arguments),this._walkAsync=pf.walk,this._readerStream=new uf.default(this._settings)}dynamic(e,t){return new Promise(((n,i)=>{this._walkAsync(e,t,((e,t)=>{null===e?n(t):i(e)}))}))}async static(e,t){const n=[],i=this._readerStream.static(e,t);return new Promise(((e,t)=>{i.once("error",t),i.on("data",(e=>n.push(e))),i.once("end",(()=>e(n)))}))}}hd.default=df;var mf={},ff={},hf={},xf={};Object.defineProperty(xf,"__esModule",{value:!0});const gf=zp;xf.default=class{constructor(e,t,n){this._patterns=e,this._settings=t,this._micromatchOptions=n,this._storage=[],this._fillStorage()}_fillStorage(){for(const e of this._patterns){const t=this._getPatternSegments(e),n=this._splitSegmentsIntoSections(t);this._storage.push({complete:n.length<=1,pattern:e,segments:t,sections:n})}}_getPatternSegments(e){return gf.pattern.getPatternParts(e,this._micromatchOptions).map((e=>gf.pattern.isDynamicPattern(e,this._settings)?{dynamic:!0,pattern:e,patternRe:gf.pattern.makeRe(e,this._micromatchOptions)}:{dynamic:!1,pattern:e}))}_splitSegmentsIntoSections(e){return gf.array.splitWhen(e,(e=>e.dynamic&&gf.pattern.hasGlobStar(e.pattern)))}},Object.defineProperty(hf,"__esModule",{value:!0});const vf=xf;class bf extends vf.default{match(e){const t=e.split("/"),n=t.length,i=this._storage.filter((e=>!e.complete||e.segments.length>n));for(const e of i){const i=e.sections[0];if(!e.complete&&n>i.length)return!0;if(t.every(((t,n)=>{const i=e.segments[n];return!(!i.dynamic||!i.patternRe.test(t))||!i.dynamic&&i.pattern===t})))return!0}return!1}}hf.default=bf,Object.defineProperty(ff,"__esModule",{value:!0});const yf=zp,wf=hf;ff.default=class{constructor(e,t){this._settings=e,this._micromatchOptions=t}getFilter(e,t,n){const i=this._getMatcher(t),s=this._getNegativePatternsRe(n);return t=>this._filter(e,t,i,s)}_getMatcher(e){return new wf.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){const t=e.filter(yf.pattern.isAffectDepthOfReadingPattern);return yf.pattern.convertPatternsToRe(t,this._micromatchOptions)}_filter(e,t,n,i){if(this._isSkippedByDeep(e,t.path))return!1;if(this._isSkippedSymbolicLink(t))return!1;const s=yf.path.removeLeadingDotSegment(t.path);return!this._isSkippedByPositivePatterns(s,n)&&this._isSkippedByNegativePatterns(s,i)}_isSkippedByDeep(e,t){return this._settings.deep!==1/0&&this._getEntryLevel(e,t)>=this._settings.deep}_getEntryLevel(e,t){const n=t.split("/").length;if(""===e)return n;return n-e.split("/").length}_isSkippedSymbolicLink(e){return!this._settings.followSymbolicLinks&&e.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(e,t){return!this._settings.baseNameMatch&&!t.match(e)}_isSkippedByNegativePatterns(e,t){return!yf.pattern.matchAny(e,t)}};var _f={};Object.defineProperty(_f,"__esModule",{value:!0});const Ef=zp;_f.default=class{constructor(e,t){this._settings=e,this._micromatchOptions=t,this.index=new Map}getFilter(e,t){const n=Ef.pattern.convertPatternsToRe(e,this._micromatchOptions),i=Ef.pattern.convertPatternsToRe(t,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}));return e=>this._filter(e,n,i)}_filter(e,t,n){const i=Ef.path.removeLeadingDotSegment(e.path);if(this._settings.unique&&this._isDuplicateEntry(i))return!1;if(this._onlyFileFilter(e)||this._onlyDirectoryFilter(e))return!1;if(this._isSkippedByAbsoluteNegativePatterns(i,n))return!1;const s=e.dirent.isDirectory(),o=this._isMatchToPatterns(i,t,s)&&!this._isMatchToPatterns(i,n,s);return this._settings.unique&&o&&this._createIndexRecord(i),o}_isDuplicateEntry(e){return this.index.has(e)}_createIndexRecord(e){this.index.set(e,void 0)}_onlyFileFilter(e){return this._settings.onlyFiles&&!e.dirent.isFile()}_onlyDirectoryFilter(e){return this._settings.onlyDirectories&&!e.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(e,t){if(!this._settings.absolute)return!1;const n=Ef.path.makeAbsolute(this._settings.cwd,e);return Ef.pattern.matchAny(n,t)}_isMatchToPatterns(e,t,n){const i=Ef.pattern.matchAny(e,t);return!i&&n?Ef.pattern.matchAny(e+"/",t):i}};var Sf={};Object.defineProperty(Sf,"__esModule",{value:!0});const kf=zp;Sf.default=class{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return kf.errno.isEnoentCodeError(e)||this._settings.suppressErrors}};var Rf={};Object.defineProperty(Rf,"__esModule",{value:!0});const Tf=zp;Rf.default=class{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let t=e.path;return this._settings.absolute&&(t=Tf.path.makeAbsolute(this._settings.cwd,t),t=Tf.path.unixify(t)),this._settings.markDirectories&&e.dirent.isDirectory()&&(t+="/"),this._settings.objectMode?Object.assign(Object.assign({},e),{path:t}):t}},Object.defineProperty(mf,"__esModule",{value:!0});const Of=f,Af=ff,Cf=_f,Pf=Sf,Lf=Rf;mf.default=class{constructor(e){this._settings=e,this.errorFilter=new Pf.default(this._settings),this.entryFilter=new Cf.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new Af.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new Lf.default(this._settings)}_getRootDirectory(e){return Of.resolve(this._settings.cwd,e.base)}_getReaderOptions(e){const t="."===e.base?"":e.base;return{basePath:t,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(t,e.positive,e.negative),entryFilter:this.entryFilter.getFilter(e.positive,e.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:!0,strictSlashes:!1}}},Object.defineProperty(fd,"__esModule",{value:!0});const jf=hd,If=mf;class Nf extends If.default{constructor(){super(...arguments),this._reader=new jf.default(this._settings)}async read(e){const t=this._getRootDirectory(e),n=this._getReaderOptions(e);return(await this.api(t,e,n)).map((e=>n.transform(e)))}api(e,t,n){return t.dynamic?this._reader.dynamic(e,n):this._reader.static(t.patterns,n)}}fd.default=Nf;var Ff={};Object.defineProperty(Ff,"__esModule",{value:!0});const Df=l,Mf=nf,$f=mf;class Bf extends $f.default{constructor(){super(...arguments),this._reader=new Mf.default(this._settings)}read(e){const t=this._getRootDirectory(e),n=this._getReaderOptions(e),i=this.api(t,e,n),s=new Df.Readable({objectMode:!0,read:()=>{}});return i.once("error",(e=>s.emit("error",e))).on("data",(e=>s.emit("data",n.transform(e)))).once("end",(()=>s.emit("end"))),s.once("close",(()=>i.destroy())),s}api(e,t,n){return t.dynamic?this._reader.dynamic(e,n):this._reader.static(t.patterns,n)}}Ff.default=Bf;var Uf={},zf={};Object.defineProperty(zf,"__esModule",{value:!0});const Hf=wd,Gf=xd,qf=Jm;class Wf extends qf.default{constructor(){super(...arguments),this._walkSync=Gf.walkSync,this._statSync=Hf.statSync}dynamic(e,t){return this._walkSync(e,t)}static(e,t){const n=[];for(const i of e){const e=this._getFullEntryPath(i),s=this._getEntry(e,i,t);null!==s&&t.entryFilter(s)&&n.push(s)}return n}_getEntry(e,t,n){try{const n=this._getStat(e);return this._makeEntry(n,t)}catch(e){if(n.errorFilter(e))return null;throw e}}_getStat(e){return this._statSync(e,this._fsStatSettings)}}zf.default=Wf,Object.defineProperty(Uf,"__esModule",{value:!0});const Kf=zf,Vf=mf;class Yf extends Vf.default{constructor(){super(...arguments),this._reader=new Kf.default(this._settings)}read(e){const t=this._getRootDirectory(e),n=this._getReaderOptions(e);return this.api(t,e,n).map(n.transform)}api(e,t,n){return t.dynamic?this._reader.dynamic(e,n):this._reader.static(t.patterns,n)}}Uf.default=Yf;var Qf={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;const t=c,n=h,i=Math.max(n.cpus().length,1);e.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:t.lstat,lstatSync:t.lstatSync,stat:t.stat,statSync:t.statSync,readdir:t.readdir,readdirSync:t.readdirSync};e.default=class{constructor(e={}){this._options=e,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,i),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories&&(this.onlyFiles=!1),this.stats&&(this.objectMode=!0),this.ignore=[].concat(this.ignore)}_getValue(e,t){return void 0===e?t:e}_getFileSystemMethods(t={}){return Object.assign(Object.assign({},e.DEFAULT_FILE_SYSTEM_ADAPTER),t)}}}(Qf);const Xf=Up,Jf=fd,Zf=Ff,eh=Uf,th=Qf,nh=zp;async function ih(e,t){oh(e);const n=sh(e,Jf.default,t),i=await Promise.all(n);return nh.array.flatten(i)}function sh(e,t,n){const i=[].concat(e),s=new th.default(n),o=Xf.generate(i,s),a=new t(s);return o.map(a.read,a)}function oh(e){if(![].concat(e).every((e=>nh.string.isString(e)&&!nh.string.isEmpty(e))))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}!function(e){function t(e,t){oh(e);const n=sh(e,eh.default,t);return nh.array.flatten(n)}function n(e,t){oh(e);const n=sh(e,Zf.default,t);return nh.stream.merge(n)}var i,s;e.glob=e,e.globSync=t,e.globStream=n,e.async=e,e.sync=t,e.stream=n,e.generateTasks=function(e,t){oh(e);const n=[].concat(e),i=new th.default(t);return Xf.generate(n,i)},e.isDynamicPattern=function(e,t){oh(e);const n=new th.default(t);return nh.pattern.isDynamicPattern(e,n)},e.escapePath=function(e){return oh(e),nh.path.escape(e)},e.convertPathToPattern=function(e){return oh(e),nh.path.convertPathToPattern(e)},(i=e.posix||(e.posix={})).escapePath=function(e){return oh(e),nh.path.escapePosixPath(e)},i.convertPathToPattern=function(e){return oh(e),nh.path.convertPosixPathToPattern(e)},(s=e.win32||(e.win32={})).escapePath=function(e){return oh(e),nh.path.escapeWindowsPath(e)},s.convertPathToPattern=function(e){return oh(e),nh.path.convertWindowsPathToPattern(e)}}(ih||(ih={}));var ah=ye(ih),rh={exports:{}},ch={};const{promisify:ph}=d,lh=c;async function uh(e,t,n){if("string"!=typeof n)throw new TypeError("Expected a string, got "+typeof n);try{return(await ph(lh[e])(n))[t]()}catch(e){if("ENOENT"===e.code)return!1;throw e}}function dh(e,t,n){if("string"!=typeof n)throw new TypeError("Expected a string, got "+typeof n);try{return lh[e](n)[t]()}catch(e){if("ENOENT"===e.code)return!1;throw e}}ch.isFile=uh.bind(null,"stat","isFile"),ch.isDirectory=uh.bind(null,"stat","isDirectory"),ch.isSymlink=uh.bind(null,"lstat","isSymbolicLink"),ch.isFileSync=dh.bind(null,"statSync","isFile"),ch.isDirectorySync=dh.bind(null,"statSync","isDirectory"),ch.isSymlinkSync=dh.bind(null,"lstatSync","isSymbolicLink");const mh=f,fh=ch,hh=e=>e.length>1?`{${e.join(",")}}`:e[0],xh=(e,t)=>{const n="!"===e[0]?e.slice(1):e;return mh.isAbsolute(n)?n:mh.join(t,n)},gh=(e,t)=>{if(t.files&&!Array.isArray(t.files))throw new TypeError(`Expected \`files\` to be of type \`Array\` but received type \`${typeof t.files}\``);if(t.extensions&&!Array.isArray(t.extensions))throw new TypeError(`Expected \`extensions\` to be of type \`Array\` but received type \`${typeof t.extensions}\``);return t.files&&t.extensions?t.files.map((n=>mh.posix.join(e,((e,t)=>mh.extname(e)?`**/${e}`:`**/${e}.${hh(t)}`)(n,t.extensions)))):t.files?t.files.map((t=>mh.posix.join(e,`**/${t}`))):t.extensions?[mh.posix.join(e,`**/*.${hh(t.extensions)}`)]:[mh.posix.join(e,"**")]};rh.exports=async(e,t)=>{if("string"!=typeof(t={cwd:process.cwd(),...t}).cwd)throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof t.cwd}\``);const n=await Promise.all([].concat(e).map((async e=>await fh.isDirectory(xh(e,t.cwd))?gh(e,t):e)));return[].concat.apply([],n)},rh.exports.sync=(e,t)=>{if("string"!=typeof(t={cwd:process.cwd(),...t}).cwd)throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof t.cwd}\``);const n=[].concat(e).map((e=>fh.isDirectorySync(xh(e,t.cwd))?gh(e,t):e));return[].concat.apply([],n)};var vh=ye(rh.exports);function bh(e){return Array.isArray(e)?e:[e]}const yh=/^\s+$/,wh=/(?:[^\\]|^)\\$/,_h=/^\\!/,Eh=/^\\#/,Sh=/\r?\n/g,kh=/^\.*\/|^\.+$/;let Rh="node-ignore";"undefined"!=typeof Symbol&&(Rh=Symbol.for("node-ignore"));const Th=Rh,Oh=/([0-z])-([0-z])/g,Ah=()=>!1,Ch=[[/^\uFEFF/,()=>""],[/((?:\\\\)*?)(\\?\s+)$/,(e,t,n)=>t+(0===n.indexOf("\\")?" ":"")],[/(\\+?)\s/g,(e,t)=>{const{length:n}=t;return t.slice(0,n-n%2)+" "}],[/[\\$.|*+(){^]/g,e=>`\\${e}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(e,t,n)=>t+6<n.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(e,t,n)=>t+n.replace(/\\\*/g,"[^\\/]*")],[/\\\\\\(?=[$.|*+(){^])/g,()=>"\\"],[/\\\\/g,()=>"\\"],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(e,t,n,i,s)=>"\\"===t?`\\[${n}${(e=>{const{length:t}=e;return e.slice(0,t-t%2)})(i)}${s}`:"]"===s&&i.length%2==0?`[${(e=>e.replace(Oh,((e,t,n)=>t.charCodeAt(0)<=n.charCodeAt(0)?e:"")))(n)}${i}]`:"[]"],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(e,t)=>`${t?`${t}[^/]+`:"[^/]*"}(?=$|\\/$)`]],Ph=Object.create(null),Lh=e=>"string"==typeof e;class jh{constructor(e,t,n,i){this.origin=e,this.pattern=t,this.negative=n,this.regex=i}}const Ih=(e,t)=>{const n=e;let i=!1;0===e.indexOf("!")&&(i=!0,e=e.substr(1));const s=((e,t)=>{let n=Ph[e];return n||(n=Ch.reduce(((t,[n,i])=>t.replace(n,i.bind(e))),e),Ph[e]=n),t?new RegExp(n,"i"):new RegExp(n)})(e=e.replace(_h,"!").replace(Eh,"#"),t);return new jh(n,e,i,s)},Nh=(e,t)=>{throw new t(e)},Fh=(e,t,n)=>{if(!Lh(e))return n(`path must be a string, but got \`${t}\``,TypeError);if(!e)return n("path must not be empty",TypeError);if(Fh.isNotRelative(e)){return n(`path should be a ${"`path.relative()`d"} string, but got "${t}"`,RangeError)}return!0},Dh=e=>kh.test(e);Fh.isNotRelative=Dh,Fh.convert=e=>e;class Mh{constructor({ignorecase:e=!0,ignoreCase:t=e,allowRelativePaths:n=!1}={}){var i,s,o;i=this,s=Th,o=!0,Object.defineProperty(i,s,{value:o}),this._rules=[],this._ignoreCase=t,this._allowRelativePaths=n,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(e){if(e&&e[Th])return this._rules=this._rules.concat(e._rules),void(this._added=!0);if((e=>e&&Lh(e)&&!yh.test(e)&&!wh.test(e)&&0!==e.indexOf("#"))(e)){const t=Ih(e,this._ignoreCase);this._added=!0,this._rules.push(t)}}add(e){return this._added=!1,bh(Lh(e)?(e=>e.split(Sh))(e):e).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(e){return this.add(e)}_testOne(e,t){let n=!1,i=!1;return this._rules.forEach((s=>{const{negative:o}=s;if(i===o&&n!==i||o&&!n&&!i&&!t)return;s.regex.test(e)&&(n=!o,i=o)})),{ignored:n,unignored:i}}_test(e,t,n,i){const s=e&&Fh.convert(e);return Fh(s,e,this._allowRelativePaths?Ah:Nh),this._t(s,t,n,i)}_t(e,t,n,i){if(e in t)return t[e];if(i||(i=e.split("/")),i.pop(),!i.length)return t[e]=this._testOne(e,n);const s=this._t(i.join("/")+"/",t,n,i);return t[e]=s.ignored?s:this._testOne(e,n)}ignores(e){return this._test(e,this._ignoreCache,!1).ignored}createFilter(){return e=>!this.ignores(e)}filter(e){return bh(e).filter(this.createFilter())}test(e){return this._test(e,this._testCache,!0)}}const $h=e=>new Mh(e);$h.isPathValid=e=>Fh(e&&Fh.convert(e),e,Ah),$h.default=$h;var Bh=$h;if("undefined"!=typeof process&&(process.env&&process.env.IGNORE_TEST_WIN32||"win32"===process.platform)){const e=e=>/^\\\\\?\\/.test(e)||/["<>|\u0000-\u001F]+/u.test(e)?e:e.replace(/\\/g,"/");Fh.convert=e;const t=/^[a-z]:\//i;Fh.isNotRelative=e=>t.test(e)||Dh(e)}var Uh=ye(Bh);function zh(e){const t=/^\\\\\?\\/.test(e),n=/[^\u0000-\u0080]+/.test(e);return t||n?e:e.replace(/\\/g,"/")}const Hh=e=>e instanceof URL?A(e):e;class Gh extends L{constructor(e){super({objectMode:!0,transform(t,n,i){i(void 0,e(t)?t:void 0)}})}}const qh=e=>"!"===e[0],Wh={ignore:["**/node_modules","**/flow-typed","**/coverage","**/.git"],absolute:!0,dot:!0},Kh=(t,n)=>{const i=zh(e.relative(n,e.dirname(t.filePath)));return t.content.split(/\r?\n/).filter((e=>e&&!e.startsWith("#"))).map((t=>((t,n)=>qh(t)?"!"+e.posix.join(n,t.slice(1)):e.posix.join(n,t))(t,i)))},Vh=(t,n)=>{const i=t.flatMap((e=>Kh(e,n))),s=Uh().add(i);return t=>(t=((t,n)=>{if(n=zh(n),e.isAbsolute(t)){if(zh(t).startsWith(n))return e.relative(n,t);throw new Error(`Path ${t} is not in cwd ${n}`)}return t})(t=Hh(t),n),!!t&&s.ignores(zh(t)))},Yh=(e,t)=>{const{cwd:i,suppressErrors:s,deep:o}=((e={})=>({cwd:Hh(e.cwd)||T.cwd(),suppressErrors:Boolean(e.suppressErrors),deep:"number"==typeof e.deep?e.deep:Number.POSITIVE_INFINITY}))(t),a=ah.sync(e,{cwd:i,suppressErrors:s,deep:o,...Wh}).map((e=>({filePath:e,content:n.readFileSync(e,"utf8")})));return Vh(a,i)},Qh=e=>((e=>{if(e.some((e=>"string"!=typeof e)))throw new TypeError("Patterns must be a string or an array of strings")})(e=[...new Set([e].flat())]),e),Xh=(e={})=>((e=>{if(!e.cwd)return;let t;try{t=n.statSync(e.cwd)}catch{return}if(!t.isDirectory())throw new Error("The `cwd` option must be a path to a directory")})(e={...e,ignore:e.ignore||[],expandDirectories:void 0===e.expandDirectories||e.expandDirectories,cwd:Hh(e.cwd)}),e),Jh=e=>{const t=(e=>{const{ignoreFiles:t,gitignore:n}=e,i=t?Qh(t):[];return n&&i.push("**/.gitignore"),i})(e);return Zh(t.length>0&&Yh(t,e))},Zh=t=>{const n=new Set;return i=>{const s=i.path||i,o=e.normalize(s),a=n.has(o)||t&&t(s);return n.add(o),!a}},ex=(e,t)=>{const n=((e,t)=>{const n=[];for(;e.length>0;){const i=e.findIndex((e=>qh(e)));if(-1===i){n.push({patterns:e,options:t});break}const s=e[i].slice(1);for(const e of n)e.options.ignore.push(s);0!==i&&n.push({patterns:e.slice(0,i),options:{...t,ignore:[...t.ignore,s]}}),e=e.slice(i+1)}return n})(e,t),{cwd:i,expandDirectories:s}=t;if(!s)return n;const o=((e,t)=>({...t?{cwd:t}:{},...Array.isArray(e)?{files:e}:e}))(s,i),a=i?{cwd:i}:void 0;return n.map((e=>{let{patterns:t,options:n}=e;return t=vh.sync(t,o),n.ignore=vh.sync(n.ignore,a),{patterns:t,options:n}}))},tx=(nx=(e,t)=>{const n=ex(e,t),i=Jh(t);return((e,t)=>Bp(e).pipe(new Gh((e=>t(e)))))(n.map((e=>ah.stream(e.patterns,e.options))),i)},(e,t)=>nx(Qh(e),Xh(t)));var nx;const ix=[{id:"bat",extensions:[".bat",".cmd"]},{id:"clojure",extensions:[".clj",".cljs",".cljc",".cljx",".clojure",".edn"]},{id:"coffeescript",extensions:[".coffee",".cson",".iced"]},{id:"jsonc",extensions:[".code-workspace","language-configuration.json","icon-theme.json","color-theme.json"],names:["settings.json","launch.json","tasks.json","keybindings.json","extensions.json","argv.json","profiles.json","devcontainer.json",".devcontainer.json"]},{id:"json",extensions:[".code-profile"]},{id:"c",extensions:[".c",".i"]},{id:"cpp",extensions:[".cpp",".cc",".cxx",".c++",".hpp",".hh",".hxx",".h++",".h",".ii",".ino",".inl",".ipp",".ixx",".tpp",".txx",".hpp.in",".h.in"]},{id:"cuda-cpp",extensions:[".cu",".cuh"]},{id:"csharp",extensions:[".cs",".csx",".cake"]},{id:"css",extensions:[".css"],mimeTypes:["text/css"]},{id:"dart",extensions:[".dart"]},{id:"diff",extensions:[".diff",".patch",".rej"]},{id:"dockerfile",extensions:[".dockerfile",".containerfile"],patterns:["Dockerfile.*","Containerfile.*"],names:["Dockerfile","Containerfile"]},{id:"ignore",names:[".vscodeignore"]},{id:"fsharp",extensions:[".fs",".fsi",".fsx",".fsscript"]},{id:"git-commit",names:["COMMIT_EDITMSG","MERGE_MSG"]},{id:"git-rebase",patterns:["**/rebase-merge/done"],names:["git-rebase-todo"]},{id:"ignore",extensions:[".gitignore_global",".gitignore",".git-blame-ignore-revs"]},{id:"go",extensions:[".go"]},{id:"groovy",extensions:[".groovy",".gvy",".gradle",".jenkinsfile",".nf"],firstLine:"^#!.*\\bgroovy\\b",patterns:["Jenkinsfile*"],names:["Jenkinsfile"]},{id:"handlebars",extensions:[".handlebars",".hbs",".hjs"],mimeTypes:["text/x-handlebars-template"]},{id:"hlsl",extensions:[".hlsl",".hlsli",".fx",".fxh",".vsh",".psh",".cginc",".compute"]},{id:"html",extensions:[".html",".htm",".shtml",".xhtml",".xht",".mdoc",".jsp",".asp",".aspx",".jshtm",".volt",".ejs",".rhtml"],mimeTypes:["text/html","text/x-jshtm","text/template","text/ng-template","application/xhtml+xml"]},{id:"ini",extensions:[".ini"]},{id:"properties",extensions:[".conf",".properties",".cfg",".directory",".gitattributes",".gitconfig",".gitmodules",".editorconfig",".repo"],patterns:["**/.config/git/config","**/.git/config"],names:["gitconfig",".env"]},{id:"java",extensions:[".java",".jav"]},{id:"javascriptreact",extensions:[".jsx"]},{id:"javascript",extensions:[".js",".es6",".mjs",".cjs",".pac"],firstLine:"^#!.*\\bnode",names:["jakefile"],mimeTypes:["text/javascript"]},{id:"jsx-tags"},{id:"json",extensions:[".json",".bowerrc",".jscsrc",".webmanifest",".js.map",".css.map",".ts.map",".har",".jslintrc",".jsonld",".geojson",".ipynb",".vuerc"],names:["composer.lock",".watchmanconfig"],mimeTypes:["application/json","application/manifest+json"]},{id:"jsonc",extensions:[".jsonc",".eslintrc",".eslintrc.json",".jsfmtrc",".jshintrc",".swcrc",".hintrc",".babelrc"],names:["babel.config.json",".babelrc.json",".ember-cli","typedoc.json"]},{id:"jsonl",extensions:[".jsonl"],names:[]},{id:"snippets",extensions:[".code-snippets"],patterns:["**/User/snippets/*.json","**/User/profiles/*/snippets/*.json"]},{id:"julia",extensions:[".jl"],firstLine:"^#!\\s*/.*\\bjulia[0-9.-]*\\b"},{id:"juliamarkdown",extensions:[".jmd"]},{id:"tex",extensions:[".sty",".cls",".bbx",".cbx"]},{id:"latex",extensions:[".tex",".ltx",".ctx"]},{id:"bibtex",extensions:[".bib"]},{id:"cpp_embedded_latex"},{id:"markdown_latex_combined"},{id:"less",extensions:[".less"],mimeTypes:["text/x-less","text/less"]},{id:"log",extensions:[".log","*.log.?"]},{id:"lua",extensions:[".lua"]},{id:"makefile",extensions:[".mak",".mk"],firstLine:"^#!\\s*/usr/bin/make",names:["Makefile","makefile","GNUmakefile","OCamlMakefile"]},{id:"markdown",extensions:[".md",".mkd",".mdwn",".mdown",".markdown",".markdn",".mdtxt",".mdtext",".workbook"]},{id:"markdown-math"},{id:"ignore",extensions:[".npmignore"]},{id:"properties",extensions:[".npmrc"]},{id:"objective-c",extensions:[".m"]},{id:"objective-cpp",extensions:[".mm"]},{id:"perl",extensions:[".pl",".pm",".pod",".t",".PL",".psgi"],firstLine:"^#!.*\\bperl\\b"},{id:"raku",extensions:[".raku",".rakumod",".rakutest",".rakudoc",".nqp",".p6",".pl6",".pm6"],firstLine:"(^#!.*\\bperl6\\b)|use\\s+v6|raku|=begin\\spod|my\\sclass"},{id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],firstLine:"^#!\\s*/.*\\bphp\\b",mimeTypes:["application/x-php"]},{id:"powershell",extensions:[".ps1",".psm1",".psd1",".pssc",".psrc"],firstLine:"^#!\\s*/.*\\bpwsh\\b"},{id:"jade",extensions:[".pug",".jade"]},{id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi",".pyi",".ipy",".pyt"],firstLine:"^#!\\s*/?.*\\bpython[0-9.-]*\\b",names:["SConstruct","SConscript"]},{id:"r",extensions:[".r",".rhistory",".rprofile",".rt"]},{id:"razor",extensions:[".cshtml",".razor"],mimeTypes:["text/x-cshtml"]},{id:"restructuredtext",extensions:[".rst"]},{id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".rake",".ru",".erb",".podspec",".rbi"],firstLine:"^#!\\s*/.*\\bruby\\b",names:["rakefile","gemfile","guardfile","podfile","capfile","cheffile","hobofile","vagrantfile","appraisals","rantfile","berksfile","berksfile.lock","thorfile","puppetfile","dangerfile","brewfile","fastfile","appfile","deliverfile","matchfile","scanfile","snapfile","gymfile"]},{id:"rust",extensions:[".rs"]},{id:"scss",extensions:[".scss"],mimeTypes:["text/x-scss","text/scss"]},{id:"search-result",extensions:[".code-search"]},{id:"shaderlab",extensions:[".shader"]},{id:"shellscript",extensions:[".sh",".bash",".bashrc",".bash_aliases",".bash_profile",".bash_login",".ebuild",".profile",".bash_logout",".xprofile",".xsession",".xsessionrc",".Xsession",".zsh",".zshrc",".zprofile",".zlogin",".zlogout",".zshenv",".zsh-theme",".fish",".ksh",".csh",".cshrc",".tcshrc",".yashrc",".yash_profile"],firstLine:"^#!.*\\b(bash|fish|zsh|sh|ksh|dtksh|pdksh|mksh|ash|dash|yash|sh|csh|jcsh|tcsh|itcsh).*|^#\\s*-\\*-[^*]*mode:\\s*shell-script[^*]*-\\*-",patterns:[".env.*"],names:["APKBUILD","PKGBUILD",".envrc",".hushlogin","zshrc","zshenv","zlogin","zprofile","zlogout","bashrc_Apple_Terminal","zshrc_Apple_Terminal"],mimeTypes:["text/x-shellscript"]},{id:"sql",extensions:[".sql",".dsql"]},{id:"swift",extensions:[".swift"]},{id:"typescript",extensions:[".ts",".cts",".mts"]},{id:"typescriptreact",extensions:[".tsx"]},{id:"jsonc",patterns:["tsconfig.*.json","jsconfig.*.json","tsconfig-*.json","jsconfig-*.json"],names:["tsconfig.json","jsconfig.json"]},{id:"json",extensions:[".tsbuildinfo"]},{id:"vb",extensions:[".vb",".brs",".vbs",".bas",".vba"]},{id:"xml",extensions:[".xml",".xsd",".ascx",".atom",".axml",".axaml",".bpmn",".cpt",".csl",".csproj",".csproj.user",".dita",".ditamap",".dtd",".ent",".mod",".dtml",".fsproj",".fxml",".iml",".isml",".jmx",".launch",".menu",".mxml",".nuspec",".opml",".owl",".proj",".props",".pt",".publishsettings",".pubxml",".pubxml.user",".rbxlx",".rbxmx",".rdf",".rng",".rss",".shproj",".storyboard",".svg",".targets",".tld",".tmx",".vbproj",".vbproj.user",".vcxproj",".vcxproj.filters",".wsdl",".wxi",".wxl",".wxs",".xaml",".xbl",".xib",".xlf",".xliff",".xpdl",".xul",".xoml"],firstLine:"(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)"},{id:"xsl",extensions:[".xsl",".xslt"]},{id:"dockercompose",patterns:["compose.yml","compose.yaml","compose.*.yml","compose.*.yaml","*docker*compose*.yml","*docker*compose*.yaml"]},{id:"yaml",extensions:[".yml",".eyaml",".eyml",".yaml",".cff",".yaml-tmlanguage",".yaml-tmpreferences",".yaml-tmtheme"],firstLine:"^#cloud-config"}];class sx{static default=new sx;entries=[];static{for(const e of ix)sx.default.registerLanguage(e.id,e)}registerLanguage(t,n){const i=(t=>{const{extensions:n,names:i,patterns:s,firstLine:o}=t,a=o?new RegExp(o):null,r=s?Np(s.map((e=>e.includes("/")?`**/${e}`:e))):null;return(t,s)=>!!(n&&n.includes(e.extname(t))||i&&i.includes(t)||r&&r(t)||a&&a.test(s))})(n);this.entries.push({id:t,detect:i})}detect(e,t){const n=t.indexOf("\n"),i=-1===n?t:t.slice(0,n),s=this.entries.find((t=>t.detect(e,i.trim())));return s?.id??null}}const ox=10,ax=10,rx=5,cx=2,px=20,lx=30;function ux(e){return e.split("/").reduce(((e,t)=>t.includes("**")?e+cx:t.includes("*")?e+rx:e+ax),0)}class dx{selector;languageDetector;globWeights=new Map;constructor(e,t){this.selector=e,this.languageDetector=t;for(const e of this.selector.activeFilePath??[])this.globWeights.set(e,ux(e));for(const e of this.selector.workspaceFile??[])this.globWeights.set(e,ux(e))}async match(e,t){const n=[this.matchLanguage(t),this.matchActiveFilePath(e,t),this.matchActiveFileContent(t),this.matchSelectedContent(t),this.matchWorkspaceFile(e)],i=await Promise.all(n);return i.includes(0)?0:i.reduce(((e,t)=>"number"==typeof t?Math.max(e,0)+t:e),-1)}async matchLanguage(e){if(!this.selector.language?.length)return null;const t=this.languageDetector.detect(e.activeFilePath,e.activeFileContent);return!t||this.selector.language.includes(t)?ox:0}async matchActiveFilePath(e,t){if(!this.selector.activeFilePath?.length)return null;const n={cwd:e,matchBase:!0,returnIndex:!0},i=Np(this.selector.activeFilePath,t.activeFilePath,n);if(i<0)return 0;const s=this.selector.activeFilePath[i];return this.globWeights.get(s)??0}async matchActiveFileContent(e){if(!this.selector.activeFileContent?.length)return null;return this.selector.activeFileContent.filter((t=>e.activeFileContent.includes(t))).length*px}async matchSelectedContent(e){if(!this.selector.selectedContent?.length)return null;return this.selector.selectedContent.filter((t=>e.selectedCode.includes(t))).length*px}async matchWorkspaceFile(e){if(!this.selector.workspaceFile?.length)return null;const t={cwd:e,gitignore:!0};for await(const e of tx(this.selector.workspaceFile,t))return lx;return 0}}function mx(e){return["Prompt","Skill"].includes(e)}function fx(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let hx={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function xx(e){hx=e}const gx=/[&<>"']/,vx=new RegExp(gx.source,"g"),bx=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,yx=new RegExp(bx.source,"g"),wx={"&":"&","<":"<",">":">",'"':""","'":"'"},_x=e=>wx[e];function Ex(e,t){if(t){if(gx.test(e))return e.replace(vx,_x)}else if(bx.test(e))return e.replace(yx,_x);return e}const Sx=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function kx(e){return e.replace(Sx,((e,t)=>"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const Rx=/(^|[^\[])\^/g;function Tx(e,t){let n="string"==typeof e?e:e.source;t=t||"";const i={replace:(e,t)=>{let s="string"==typeof t?t:t.source;return s=s.replace(Rx,"$1"),n=n.replace(e,s),i},getRegex:()=>new RegExp(n,t)};return i}function Ox(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch(e){return null}return e}const Ax={exec:()=>null};function Cx(e,t){const n=e.replace(/\|/g,((e,t,n)=>{let i=!1,s=t;for(;--s>=0&&"\\"===n[s];)i=!i;return i?"|":" |"})),i=n.split(/ \|/);let s=0;if(i[0].trim()||i.shift(),i.length>0&&!i[i.length-1].trim()&&i.pop(),t)if(i.length>t)i.splice(t);else for(;i.length<t;)i.push("");for(;s<i.length;s++)i[s]=i[s].trim().replace(/\\\|/g,"|");return i}function Px(e,t,n){const i=e.length;if(0===i)return"";let s=0;for(;s<i;){const o=e.charAt(i-s-1);if(o!==t||n){if(o===t||!n)break;s++}else s++}return e.slice(0,i-s)}function Lx(e,t,n,i){const s=t.href,o=t.title?Ex(t.title):null,a=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){i.state.inLink=!0;const e={type:"link",raw:n,href:s,title:o,text:a,tokens:i.inlineTokens(a)};return i.state.inLink=!1,e}return{type:"image",raw:n,href:s,title:o,text:Ex(a)}}class jx{options;rules;lexer;constructor(e){this.options=e||hx}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const e=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:Px(e,"\n")}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const e=t[0],n=function(e,t){const n=e.match(/^(\s+)(?:```)/);if(null===n)return t;const i=n[1];return t.split("\n").map((e=>{const t=e.match(/^\s+/);if(null===t)return e;const[n]=t;return n.length>=i.length?e.slice(i.length):e})).join("\n")}(e,t[3]||"");return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:n}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(/#$/.test(e)){const t=Px(e,"#");this.options.pedantic?e=t.trim():t&&!/ $/.test(t)||(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){const e=Px(t[0].replace(/^ *>[ \t]?/gm,""),"\n"),n=this.lexer.state.top;this.lexer.state.top=!0;const i=this.lexer.blockTokens(e);return this.lexer.state.top=n,{type:"blockquote",raw:t[0],tokens:i,text:e}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim();const i=n.length>1,s={type:"list",raw:"",ordered:i,start:i?+n.slice(0,-1):"",loose:!1,items:[]};n=i?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=i?n:"[*+-]");const o=new RegExp(`^( {0,3}${n})((?:[\t ][^\\n]*)?(?:\\n|$))`);let a="",r="",c=!1;for(;e;){let n=!1;if(!(t=o.exec(e)))break;if(this.rules.block.hr.test(e))break;a=t[0],e=e.substring(a.length);let i=t[2].split("\n",1)[0].replace(/^\t+/,(e=>" ".repeat(3*e.length))),p=e.split("\n",1)[0],l=0;this.options.pedantic?(l=2,r=i.trimStart()):(l=t[2].search(/[^ ]/),l=l>4?1:l,r=i.slice(l),l+=t[1].length);let u=!1;if(!i&&/^ *$/.test(p)&&(a+=p+"\n",e=e.substring(p.length+1),n=!0),!n){const t=new RegExp(`^ {0,${Math.min(3,l-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),n=new RegExp(`^ {0,${Math.min(3,l-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),s=new RegExp(`^ {0,${Math.min(3,l-1)}}(?:\`\`\`|~~~)`),o=new RegExp(`^ {0,${Math.min(3,l-1)}}#`);for(;e;){const c=e.split("\n",1)[0];if(p=c,this.options.pedantic&&(p=p.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),s.test(p))break;if(o.test(p))break;if(t.test(p))break;if(n.test(e))break;if(p.search(/[^ ]/)>=l||!p.trim())r+="\n"+p.slice(l);else{if(u)break;if(i.search(/[^ ]/)>=4)break;if(s.test(i))break;if(o.test(i))break;if(n.test(i))break;r+="\n"+p}u||p.trim()||(u=!0),a+=c+"\n",e=e.substring(c.length+1),i=p.slice(l)}}s.loose||(c?s.loose=!0:/\n *\n *$/.test(a)&&(c=!0));let d,m=null;this.options.gfm&&(m=/^\[[ xX]\] /.exec(r),m&&(d="[ ] "!==m[0],r=r.replace(/^\[[ xX]\] +/,""))),s.items.push({type:"list_item",raw:a,task:!!m,checked:d,loose:!1,text:r,tokens:[]}),s.raw+=a}s.items[s.items.length-1].raw=a.trimEnd(),s.items[s.items.length-1].text=r.trimEnd(),s.raw=s.raw.trimEnd();for(let e=0;e<s.items.length;e++)if(this.lexer.state.top=!1,s.items[e].tokens=this.lexer.blockTokens(s.items[e].text,[]),!s.loose){const t=s.items[e].tokens.filter((e=>"space"===e.type)),n=t.length>0&&t.some((e=>/\n.*\n/.test(e.raw)));s.loose=n}if(s.loose)for(let e=0;e<s.items.length;e++)s.items[e].loose=!0;return s}}html(e){const t=this.rules.block.html.exec(e);if(t){return{type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]}}}def(e){const t=this.rules.block.def.exec(e);if(t){const e=t[1].toLowerCase().replace(/\s+/g," "),n=t[2]?t[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",i=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:n,title:i}}}table(e){const t=this.rules.block.table.exec(e);if(!t)return;if(!/[:|]/.test(t[2]))return;const n=Cx(t[1]),i=t[2].replace(/^\||\| *$/g,"").split("|"),s=t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[],o={type:"table",raw:t[0],header:[],align:[],rows:[]};if(n.length===i.length){for(const e of i)/^ *-+: *$/.test(e)?o.align.push("right"):/^ *:-+: *$/.test(e)?o.align.push("center"):/^ *:-+ *$/.test(e)?o.align.push("left"):o.align.push(null);for(const e of n)o.header.push({text:e,tokens:this.lexer.inline(e)});for(const e of s)o.rows.push(Cx(e,o.header.length).map((e=>({text:e,tokens:this.lexer.inline(e)}))));return o}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t){const e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){const t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:Ex(t[1])}}tag(e){const t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const e=t[2].trim();if(!this.options.pedantic&&/^</.test(e)){if(!/>$/.test(e))return;const t=Px(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{const e=function(e,t){if(-1===e.indexOf(t[1]))return-1;let n=0;for(let i=0;i<e.length;i++)if("\\"===e[i])i++;else if(e[i]===t[0])n++;else if(e[i]===t[1]&&(n--,n<0))return i;return-1}(t[2],"()");if(e>-1){const n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let n=t[2],i="";if(this.options.pedantic){const e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);e&&(n=e[1],i=e[3])}else i=t[3]?t[3].slice(1,-1):"";return n=n.trim(),/^</.test(n)&&(n=this.options.pedantic&&!/>$/.test(e)?n.slice(1):n.slice(1,-1)),Lx(t,{href:n?n.replace(this.rules.inline.anyPunctuation,"$1"):n,title:i?i.replace(this.rules.inline.anyPunctuation,"$1"):i},t[0],this.lexer)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){const e=t[(n[2]||n[1]).replace(/\s+/g," ").toLowerCase()];if(!e){const e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return Lx(n,e,n[0],this.lexer)}}emStrong(e,t,n=""){let i=this.rules.inline.emStrongLDelim.exec(e);if(!i)return;if(i[3]&&n.match(/[\p{L}\p{N}]/u))return;if(!(i[1]||i[2]||"")||!n||this.rules.inline.punctuation.exec(n)){const n=[...i[0]].length-1;let s,o,a=n,r=0;const c="*"===i[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(c.lastIndex=0,t=t.slice(-1*e.length+n);null!=(i=c.exec(t));){if(s=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!s)continue;if(o=[...s].length,i[3]||i[4]){a+=o;continue}if((i[5]||i[6])&&n%3&&!((n+o)%3)){r+=o;continue}if(a-=o,a>0)continue;o=Math.min(o,o+a+r);const t=[...i[0]][0].length,c=e.slice(0,n+i.index+t+o);if(Math.min(n,o)%2){const e=c.slice(1,-1);return{type:"em",raw:c,text:e,tokens:this.lexer.inlineTokens(e)}}const p=c.slice(2,-2);return{type:"strong",raw:c,text:p,tokens:this.lexer.inlineTokens(p)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(/\n/g," ");const n=/[^ ]/.test(e),i=/^ /.test(e)&&/ $/.test(e);return n&&i&&(e=e.substring(1,e.length-1)),e=Ex(e,!0),{type:"codespan",raw:t[0],text:e}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){const t=this.rules.inline.autolink.exec(e);if(t){let e,n;return"@"===t[2]?(e=Ex(t[1]),n="mailto:"+e):(e=Ex(t[1]),n=e),{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,n;if("@"===t[2])e=Ex(t[0]),n="mailto:"+e;else{let i;do{i=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??""}while(i!==t[0]);e=Ex(t[0]),n="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){const t=this.rules.inline.text.exec(e);if(t){let e;return e=this.lexer.state.inRawBlock?t[0]:Ex(t[0]),{type:"text",raw:t[0],text:e}}}}const Ix=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Nx=/(?:[*+-]|\d{1,9}[.)])/,Fx=Tx(/^(?!bull )((?:.|\n(?!\s*?\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,Nx).getRegex(),Dx=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Mx=/(?!\s*\])(?:\\.|[^\[\]\\])+/,$x=Tx(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",Mx).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Bx=Tx(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Nx).getRegex(),Ux="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",zx=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,Hx=Tx("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",zx).replace("tag",Ux).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Gx=Tx(Dx).replace("hr",Ix).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ux).getRegex(),qx={blockquote:Tx(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Gx).getRegex(),code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,def:$x,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:Ix,html:Hx,lheading:Fx,list:Bx,newline:/^(?: *(?:\n|$))+/,paragraph:Gx,table:Ax,text:/^[^\n]+/},Wx=Tx("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Ix).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ux).getRegex(),Kx={...qx,table:Wx,paragraph:Tx(Dx).replace("hr",Ix).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Wx).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ux).getRegex()},Vx={...qx,html:Tx("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",zx).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Ax,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Tx(Dx).replace("hr",Ix).replace("heading"," *#{1,6} *[^\n]").replace("lheading",Fx).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Yx=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Qx=/^( {2,}|\\)\n(?!\s*$)/,Xx="\\p{P}$+<=>`^|~",Jx=Tx(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,Xx).getRegex(),Zx=Tx(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,Xx).getRegex(),eg=Tx("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,Xx).getRegex(),tg=Tx("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,Xx).getRegex(),ng=Tx(/\\([punct])/,"gu").replace(/punct/g,Xx).getRegex(),ig=Tx(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),sg=Tx(zx).replace("(?:--\x3e|$)","--\x3e").getRegex(),og=Tx("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",sg).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),ag=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,rg=Tx(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",ag).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),cg=Tx(/^!?\[(label)\]\[(ref)\]/).replace("label",ag).replace("ref",Mx).getRegex(),pg=Tx(/^!?\[(ref)\](?:\[\])?/).replace("ref",Mx).getRegex(),lg={_backpedal:Ax,anyPunctuation:ng,autolink:ig,blockSkip:/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,br:Qx,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:Ax,emStrongLDelim:Zx,emStrongRDelimAst:eg,emStrongRDelimUnd:tg,escape:Yx,link:rg,nolink:pg,punctuation:Jx,reflink:cg,reflinkSearch:Tx("reflink|nolink(?!\\()","g").replace("reflink",cg).replace("nolink",pg).getRegex(),tag:og,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:Ax},ug={...lg,link:Tx(/^!?\[(label)\]\((.*?)\)/).replace("label",ag).getRegex(),reflink:Tx(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ag).getRegex()},dg={...lg,escape:Tx(Yx).replace("])","~|])").getRegex(),url:Tx(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},mg={...dg,br:Tx(Qx).replace("{2,}","*").getRegex(),text:Tx(dg.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},fg={normal:qx,gfm:Kx,pedantic:Vx},hg={normal:lg,gfm:dg,breaks:mg,pedantic:ug};class xg{tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||hx,this.options.tokenizer=this.options.tokenizer||new jx,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const t={block:fg.normal,inline:hg.normal};this.options.pedantic?(t.block=fg.pedantic,t.inline=hg.pedantic):this.options.gfm&&(t.block=fg.gfm,this.options.breaks?t.inline=hg.breaks:t.inline=hg.gfm),this.tokenizer.rules=t}static get rules(){return{block:fg,inline:hg}}static lex(e,t){return new xg(t).lex(e)}static lexInline(e,t){return new xg(t).inlineTokens(e)}lex(e){e=e.replace(/\r\n|\r/g,"\n"),this.blockTokens(e,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){const t=this.inlineQueue[e];this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[]){let n,i,s,o;for(e=this.options.pedantic?e.replace(/\t/g," ").replace(/^ +$/gm,""):e.replace(/^( *)(\t+)/gm,((e,t,n)=>t+" ".repeat(n.length)));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((i=>!!(n=i.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))))if(n=this.tokenizer.space(e))e=e.substring(n.raw.length),1===n.raw.length&&t.length>0?t[t.length-1].raw+="\n":t.push(n);else if(n=this.tokenizer.code(e))e=e.substring(n.raw.length),i=t[t.length-1],!i||"paragraph"!==i.type&&"text"!==i.type?t.push(n):(i.raw+="\n"+n.raw,i.text+="\n"+n.text,this.inlineQueue[this.inlineQueue.length-1].src=i.text);else if(n=this.tokenizer.fences(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.heading(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.hr(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.blockquote(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.list(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.html(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.def(e))e=e.substring(n.raw.length),i=t[t.length-1],!i||"paragraph"!==i.type&&"text"!==i.type?this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title}):(i.raw+="\n"+n.raw,i.text+="\n"+n.raw,this.inlineQueue[this.inlineQueue.length-1].src=i.text);else if(n=this.tokenizer.table(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.lheading(e))e=e.substring(n.raw.length),t.push(n);else{if(s=e,this.options.extensions&&this.options.extensions.startBlock){let t=1/0;const n=e.slice(1);let i;this.options.extensions.startBlock.forEach((e=>{i=e.call({lexer:this},n),"number"==typeof i&&i>=0&&(t=Math.min(t,i))})),t<1/0&&t>=0&&(s=e.substring(0,t+1))}if(this.state.top&&(n=this.tokenizer.paragraph(s)))i=t[t.length-1],o&&"paragraph"===i.type?(i.raw+="\n"+n.raw,i.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):t.push(n),o=s.length!==e.length,e=e.substring(n.raw.length);else if(n=this.tokenizer.text(e))e=e.substring(n.raw.length),i=t[t.length-1],i&&"text"===i.type?(i.raw+="\n"+n.raw,i.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):t.push(n);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n,i,s,o,a,r,c=e;if(this.tokens.links){const e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(o=this.tokenizer.rules.inline.reflinkSearch.exec(c));)e.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(c=c.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(o=this.tokenizer.rules.inline.blockSkip.exec(c));)c=c.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(o=this.tokenizer.rules.inline.anyPunctuation.exec(c));)c=c.slice(0,o.index)+"++"+c.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(a||(r=""),a=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((i=>!!(n=i.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))))if(n=this.tokenizer.escape(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.tag(e))e=e.substring(n.raw.length),i=t[t.length-1],i&&"text"===n.type&&"text"===i.type?(i.raw+=n.raw,i.text+=n.text):t.push(n);else if(n=this.tokenizer.link(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(n.raw.length),i=t[t.length-1],i&&"text"===n.type&&"text"===i.type?(i.raw+=n.raw,i.text+=n.text):t.push(n);else if(n=this.tokenizer.emStrong(e,c,r))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.codespan(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.br(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.del(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.autolink(e))e=e.substring(n.raw.length),t.push(n);else if(this.state.inLink||!(n=this.tokenizer.url(e))){if(s=e,this.options.extensions&&this.options.extensions.startInline){let t=1/0;const n=e.slice(1);let i;this.options.extensions.startInline.forEach((e=>{i=e.call({lexer:this},n),"number"==typeof i&&i>=0&&(t=Math.min(t,i))})),t<1/0&&t>=0&&(s=e.substring(0,t+1))}if(n=this.tokenizer.inlineText(s))e=e.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(r=n.raw.slice(-1)),a=!0,i=t[t.length-1],i&&"text"===i.type?(i.raw+=n.raw,i.text+=n.text):t.push(n);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}else e=e.substring(n.raw.length),t.push(n);return t}}class gg{options;constructor(e){this.options=e||hx}code(e,t,n){const i=(t||"").match(/^\S*/)?.[0];return e=e.replace(/\n$/,"")+"\n",i?'<pre><code class="language-'+Ex(i)+'">'+(n?e:Ex(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:Ex(e,!0))+"</code></pre>\n"}blockquote(e){return`<blockquote>\n${e}</blockquote>\n`}html(e,t){return e}heading(e,t,n){return`<h${t}>${e}</h${t}>\n`}hr(){return"<hr>\n"}list(e,t,n){const i=t?"ol":"ul";return"<"+i+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+i+">\n"}listitem(e,t,n){return`<li>${e}</li>\n`}checkbox(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph(e){return`<p>${e}</p>\n`}table(e,t){return t&&(t=`<tbody>${t}</tbody>`),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"}tablerow(e){return`<tr>\n${e}</tr>\n`}tablecell(e,t){const n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+e+`</${n}>\n`}strong(e){return`<strong>${e}</strong>`}em(e){return`<em>${e}</em>`}codespan(e){return`<code>${e}</code>`}br(){return"<br>"}del(e){return`<del>${e}</del>`}link(e,t,n){const i=Ox(e);if(null===i)return n;let s='<a href="'+(e=i)+'"';return t&&(s+=' title="'+t+'"'),s+=">"+n+"</a>",s}image(e,t,n){const i=Ox(e);if(null===i)return n;let s=`<img src="${e=i}" alt="${n}"`;return t&&(s+=` title="${t}"`),s+=">",s}text(e){return e}}class vg{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,n){return""+n}image(e,t,n){return""+n}br(){return""}}class bg{options;renderer;textRenderer;constructor(e){this.options=e||hx,this.options.renderer=this.options.renderer||new gg,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new vg}static parse(e,t){return new bg(t).parse(e)}static parseInline(e,t){return new bg(t).parseInline(e)}parse(e,t=!0){let n="";for(let i=0;i<e.length;i++){const s=e[i];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[s.type]){const e=s,t=this.options.extensions.renderers[e.type].call({parser:this},e);if(!1!==t||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(e.type)){n+=t||"";continue}}switch(s.type){case"space":continue;case"hr":n+=this.renderer.hr();continue;case"heading":{const e=s;n+=this.renderer.heading(this.parseInline(e.tokens),e.depth,kx(this.parseInline(e.tokens,this.textRenderer)));continue}case"code":{const e=s;n+=this.renderer.code(e.text,e.lang,!!e.escaped);continue}case"table":{const e=s;let t="",i="";for(let t=0;t<e.header.length;t++)i+=this.renderer.tablecell(this.parseInline(e.header[t].tokens),{header:!0,align:e.align[t]});t+=this.renderer.tablerow(i);let o="";for(let t=0;t<e.rows.length;t++){const n=e.rows[t];i="";for(let t=0;t<n.length;t++)i+=this.renderer.tablecell(this.parseInline(n[t].tokens),{header:!1,align:e.align[t]});o+=this.renderer.tablerow(i)}n+=this.renderer.table(t,o);continue}case"blockquote":{const e=s,t=this.parse(e.tokens);n+=this.renderer.blockquote(t);continue}case"list":{const e=s,t=e.ordered,i=e.start,o=e.loose;let a="";for(let t=0;t<e.items.length;t++){const n=e.items[t],i=n.checked,s=n.task;let r="";if(n.task){const e=this.renderer.checkbox(!!i);o?n.tokens.length>0&&"paragraph"===n.tokens[0].type?(n.tokens[0].text=e+" "+n.tokens[0].text,n.tokens[0].tokens&&n.tokens[0].tokens.length>0&&"text"===n.tokens[0].tokens[0].type&&(n.tokens[0].tokens[0].text=e+" "+n.tokens[0].tokens[0].text)):n.tokens.unshift({type:"text",text:e+" "}):r+=e+" "}r+=this.parse(n.tokens,o),a+=this.renderer.listitem(r,s,!!i)}n+=this.renderer.list(a,t,i);continue}case"html":{const e=s;n+=this.renderer.html(e.text,e.block);continue}case"paragraph":{const e=s;n+=this.renderer.paragraph(this.parseInline(e.tokens));continue}case"text":{let o=s,a=o.tokens?this.parseInline(o.tokens):o.text;for(;i+1<e.length&&"text"===e[i+1].type;)o=e[++i],a+="\n"+(o.tokens?this.parseInline(o.tokens):o.text);n+=t?this.renderer.paragraph(a):a;continue}default:{const e='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return n}parseInline(e,t){t=t||this.renderer;let n="";for(let i=0;i<e.length;i++){const s=e[i];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[s.type]){const e=this.options.extensions.renderers[s.type].call({parser:this},s);if(!1!==e||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(s.type)){n+=e||"";continue}}switch(s.type){case"escape":{const e=s;n+=t.text(e.text);break}case"html":{const e=s;n+=t.html(e.text);break}case"link":{const e=s;n+=t.link(e.href,e.title,this.parseInline(e.tokens,t));break}case"image":{const e=s;n+=t.image(e.href,e.title,e.text);break}case"strong":{const e=s;n+=t.strong(this.parseInline(e.tokens,t));break}case"em":{const e=s;n+=t.em(this.parseInline(e.tokens,t));break}case"codespan":{const e=s;n+=t.codespan(e.text);break}case"br":n+=t.br();break;case"del":{const e=s;n+=t.del(this.parseInline(e.tokens,t));break}case"text":{const e=s;n+=t.text(e.text);break}default:{const e='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return n}}class yg{options;constructor(e){this.options=e||hx}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}}const wg=new class{defaults={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};options=this.setOptions;parse=this.#e(xg.lex,bg.parse);parseInline=this.#e(xg.lexInline,bg.parseInline);Parser=bg;Renderer=gg;TextRenderer=vg;Lexer=xg;Tokenizer=jx;Hooks=yg;constructor(...e){this.use(...e)}walkTokens(e,t){let n=[];for(const i of e)switch(n=n.concat(t.call(this,i)),i.type){case"table":{const e=i;for(const i of e.header)n=n.concat(this.walkTokens(i.tokens,t));for(const i of e.rows)for(const e of i)n=n.concat(this.walkTokens(e.tokens,t));break}case"list":{const e=i;n=n.concat(this.walkTokens(e.items,t));break}default:{const e=i;this.defaults.extensions?.childTokens?.[e.type]?this.defaults.extensions.childTokens[e.type].forEach((i=>{const s=e[i].flat(1/0);n=n.concat(this.walkTokens(s,t))})):e.tokens&&(n=n.concat(this.walkTokens(e.tokens,t)))}}return n}use(...e){const t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach((e=>{const n={...e};if(n.async=this.defaults.async||n.async||!1,e.extensions&&(e.extensions.forEach((e=>{if(!e.name)throw new Error("extension name required");if("renderer"in e){const n=t.renderers[e.name];t.renderers[e.name]=n?function(...t){let i=e.renderer.apply(this,t);return!1===i&&(i=n.apply(this,t)),i}:e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");const n=t[e.level];n?n.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)})),n.extensions=t),e.renderer){const t=this.defaults.renderer||new gg(this.defaults);for(const n in e.renderer){if(!(n in t))throw new Error(`renderer '${n}' does not exist`);if("options"===n)continue;const i=n,s=e.renderer[i],o=t[i];t[i]=(...e)=>{let n=s.apply(t,e);return!1===n&&(n=o.apply(t,e)),n||""}}n.renderer=t}if(e.tokenizer){const t=this.defaults.tokenizer||new jx(this.defaults);for(const n in e.tokenizer){if(!(n in t))throw new Error(`tokenizer '${n}' does not exist`);if(["options","rules","lexer"].includes(n))continue;const i=n,s=e.tokenizer[i],o=t[i];t[i]=(...e)=>{let n=s.apply(t,e);return!1===n&&(n=o.apply(t,e)),n}}n.tokenizer=t}if(e.hooks){const t=this.defaults.hooks||new yg;for(const n in e.hooks){if(!(n in t))throw new Error(`hook '${n}' does not exist`);if("options"===n)continue;const i=n,s=e.hooks[i],o=t[i];yg.passThroughHooks.has(n)?t[i]=e=>{if(this.defaults.async)return Promise.resolve(s.call(t,e)).then((e=>o.call(t,e)));const n=s.call(t,e);return o.call(t,n)}:t[i]=(...e)=>{let n=s.apply(t,e);return!1===n&&(n=o.apply(t,e)),n}}n.hooks=t}if(e.walkTokens){const t=this.defaults.walkTokens,i=e.walkTokens;n.walkTokens=function(e){let n=[];return n.push(i.call(this,e)),t&&(n=n.concat(t.call(this,e))),n}}this.defaults={...this.defaults,...n}})),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return xg.lex(e,t??this.defaults)}parser(e,t){return bg.parse(e,t??this.defaults)}#e(e,t){return(n,i)=>{const s={...i},o={...this.defaults,...s};!0===this.defaults.async&&!1===s.async&&(o.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),o.async=!0);const a=this.#t(!!o.silent,!!o.async);if(null==n)return a(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof n)return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(o.hooks&&(o.hooks.options=o),o.async)return Promise.resolve(o.hooks?o.hooks.preprocess(n):n).then((t=>e(t,o))).then((e=>o.hooks?o.hooks.processAllTokens(e):e)).then((e=>o.walkTokens?Promise.all(this.walkTokens(e,o.walkTokens)).then((()=>e)):e)).then((e=>t(e,o))).then((e=>o.hooks?o.hooks.postprocess(e):e)).catch(a);try{o.hooks&&(n=o.hooks.preprocess(n));let i=e(n,o);o.hooks&&(i=o.hooks.processAllTokens(i)),o.walkTokens&&this.walkTokens(i,o.walkTokens);let s=t(i,o);return o.hooks&&(s=o.hooks.postprocess(s)),s}catch(e){return a(e)}}}#t(e,t){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",e){const e="<p>An error occurred:</p><pre>"+Ex(n.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}};function _g(e,t){return wg.parse(e,t)}_g.options=_g.setOptions=function(e){return wg.setOptions(e),_g.defaults=wg.defaults,xx(_g.defaults),_g},_g.getDefaults=fx,_g.defaults=hx,_g.use=function(...e){return wg.use(...e),_g.defaults=wg.defaults,xx(_g.defaults),_g},_g.walkTokens=function(e,t){return wg.walkTokens(e,t)},_g.parseInline=wg.parseInline,_g.Parser=bg,_g.parser=bg.parse,_g.Renderer=gg,_g.TextRenderer=vg,_g.Lexer=xg,_g.lexer=xg.lex,_g.Tokenizer=jx,_g.Hooks=yg,_g.parse=_g,_g.options,_g.setOptions,_g.use,_g.walkTokens,_g.parseInline,bg.parse,xg.lex;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.stringSimilarity=void 0;e.stringSimilarity=function(e,t,n,i){if(void 0===n&&(n=2),void 0===i&&(i=!1),i||(e=e.toLowerCase(),t=t.toLowerCase()),e.length<n||t.length<n)return 0;for(var s=new Map,o=0;o<e.length-(n-1);o++){var a=e.substr(o,n);s.set(a,s.has(a)?s.get(a)+1:1)}for(var r=0,c=0;c<t.length-(n-1);c++){var p=t.substr(c,n),l=s.has(p)?s.get(p):0;l>0&&(s.set(p,l-1),r++)}return 2*r/(e.length+t.length-2*(n-1))},e.default=e.stringSimilarity}({});var Eg=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},Sg=Eg,kg=Object.create,Rg=function(){function e(){}return function(t){if(!Sg(t))return{};if(kg)return kg(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var Tg=function(){},Og=Rg,Ag=Tg;function Cg(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}Cg.prototype=Og(Ag.prototype),Cg.prototype.constructor=Cg;var Pg=Cg;var Lg=function(e,t){for(var n=-1,i=t.length,s=e.length;++n<i;)e[s+n]=t[n];return e},jg="object"==typeof be&&be&&be.Object===Object&&be,Ig="object"==typeof self&&self&&self.Object===Object&&self,Ng=jg||Ig||Function("return this")(),Fg=Ng.Symbol,Dg=Fg,Mg=Object.prototype,$g=Mg.hasOwnProperty,Bg=Mg.toString,Ug=Dg?Dg.toStringTag:void 0;var zg=function(e){var t=$g.call(e,Ug),n=e[Ug];try{e[Ug]=void 0;var i=!0}catch(e){}var s=Bg.call(e);return i&&(t?e[Ug]=n:delete e[Ug]),s},Hg=Object.prototype.toString;var Gg=zg,qg=function(e){return Hg.call(e)},Wg=Fg?Fg.toStringTag:void 0;var Kg=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Wg&&Wg in Object(e)?Gg(e):qg(e)};var Vg=function(e){return null!=e&&"object"==typeof e},Yg=Kg,Qg=Vg;var Xg=function(e){return Qg(e)&&"[object Arguments]"==Yg(e)},Jg=Vg,Zg=Object.prototype,ev=Zg.hasOwnProperty,tv=Zg.propertyIsEnumerable,nv=Xg(function(){return arguments}())?Xg:function(e){return Jg(e)&&ev.call(e,"callee")&&!tv.call(e,"callee")},iv=Array.isArray,sv=nv,ov=iv,av=Fg?Fg.isConcatSpreadable:void 0;var rv=Lg,cv=function(e){return ov(e)||sv(e)||!!(av&&e&&e[av])};var pv=function e(t,n,i,s,o){var a=-1,r=t.length;for(i||(i=cv),o||(o=[]);++a<r;){var c=t[a];n>0&&i(c)?n>1?e(c,n-1,i,s,o):rv(o,c):s||(o[o.length]=c)}return o},lv=pv;var uv=function(e){return(null==e?0:e.length)?lv(e,1):[]};var dv=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)},mv=Math.max;var fv=function(e,t,n){return t=mv(void 0===t?e.length-1:t,0),function(){for(var i=arguments,s=-1,o=mv(i.length-t,0),a=Array(o);++s<o;)a[s]=i[t+s];s=-1;for(var r=Array(t+1);++s<t;)r[s]=i[s];return r[t]=n(a),dv(e,this,r)}};var hv=function(e){return function(){return e}},xv=Kg,gv=Eg;var vv,bv=function(e){if(!gv(e))return!1;var t=xv(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},yv=Ng["__core-js_shared__"],wv=(vv=/[^.]+$/.exec(yv&&yv.keys&&yv.keys.IE_PROTO||""))?"Symbol(src)_1."+vv:"";var _v=function(e){return!!wv&&wv in e},Ev=Function.prototype.toString;var Sv=bv,kv=_v,Rv=Eg,Tv=function(e){if(null!=e){try{return Ev.call(e)}catch(e){}try{return e+""}catch(e){}}return""},Ov=/^\[object .+?Constructor\]$/,Av=Function.prototype,Cv=Object.prototype,Pv=Av.toString,Lv=Cv.hasOwnProperty,jv=RegExp("^"+Pv.call(Lv).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var Iv=function(e){return!(!Rv(e)||kv(e))&&(Sv(e)?jv:Ov).test(Tv(e))},Nv=function(e,t){return null==e?void 0:e[t]};var Fv=function(e,t){var n=Nv(e,t);return Iv(n)?n:void 0},Dv=Fv,Mv=function(){try{var e=Dv(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();var $v=hv,Bv=Mv,Uv=Bv?function(e,t){return Bv(e,"toString",{configurable:!0,enumerable:!1,value:$v(t),writable:!0})}:function(e){return e},zv=Uv,Hv=Date.now;var Gv=function(e){var t=0,n=0;return function(){var i=Hv(),s=16-(i-n);if(n=i,s>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(zv),qv=uv,Wv=fv,Kv=Gv;var Vv=function(e){return Kv(Wv(e,void 0,qv),e+"")},Yv=Fv(Ng,"WeakMap");var Qv=Yv&&new Yv,Xv=Qv?function(e){return Qv.get(e)}:function(){},Jv={},Zv=Object.prototype.hasOwnProperty;var eb=function(e){for(var t=e.name+"",n=Jv[t],i=Zv.call(Jv,t)?n.length:0;i--;){var s=n[i],o=s.func;if(null==o||o==e)return s.name}return t},tb=Rg,nb=Tg;function ib(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}ib.prototype=tb(nb.prototype),ib.prototype.constructor=ib;var sb=ib;var ob=function(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n<i;)t[n]=e[n];return t},ab=sb,rb=Pg,cb=ob;var pb=sb,lb=Pg,ub=Tg,db=iv,mb=Vg,fb=function(e){if(e instanceof ab)return e.clone();var t=new rb(e.__wrapped__,e.__chain__);return t.__actions__=cb(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t},hb=Object.prototype.hasOwnProperty;function xb(e){if(mb(e)&&!db(e)&&!(e instanceof pb)){if(e instanceof lb)return e;if(hb.call(e,"__wrapped__"))return fb(e)}return new lb(e)}xb.prototype=ub.prototype,xb.prototype.constructor=xb;var gb=sb,vb=Xv,bb=eb,yb=xb;var wb=function(e){var t=bb(e),n=yb[t];if("function"!=typeof n||!(t in gb.prototype))return!1;if(e===n)return!0;var i=vb(n);return!!i&&e===i[0]},_b=Pg,Eb=Vv,Sb=Xv,kb=eb,Rb=iv,Tb=wb;var Ob,Ab=function(e){return Eb((function(t){var n=t.length,i=n,s=_b.prototype.thru;for(e&&t.reverse();i--;){var o=t[i];if("function"!=typeof o)throw new TypeError("Expected a function");if(s&&!a&&"wrapper"==kb(o))var a=new _b([],!0)}for(i=a?i:n;++i<n;){o=t[i];var r=kb(o),c="wrapper"==r?Sb(o):void 0;a=c&&Tb(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?a[kb(c[0])].apply(a,c[3]):1==o.length&&Tb(o)?a[r]():a.thru(o)}return function(){var e=arguments,i=e[0];if(a&&1==e.length&&Rb(i))return a.plant(i).value();for(var s=0,o=n?t[s].apply(this,e):i;++s<n;)o=t[s].call(this,o);return o}}))};Ab(),function(e){e.EDIT="edit",e.PREVIEW="preview"}(Ob||(Ob={}));for(var Cb,Pb,Lb,jb,Ib,Nb,Fb,Db,Mb,$b,Bb,Ub,zb,Hb,Gb,qb,Wb,Kb,Vb,Yb,Qb,Xb,Jb,Zb,ey,ty,ny,iy,sy,oy=0;oy<4;oy++)(4294967296*Math.random()).toString(16);!function(e){e.VERSION_UPDATE_TITLE="version.update.title",e.VERSION_UPDATE_INSTALL="version.update.install",e.VERSION_UPDATE_IGNORE="version.update.ignore",e.COMMON_GENERATE_ERROR="common.generate.error",e.COMMON_UNKNOWN_ERROR="common.unknown.error",e.COMMON_REQUEST_ERROR="common.request.error",e.COMMON_CODE="common.code",e.COMMON_FUNCTION="common.function",e.COMMON_USING="common.using",e.COMMON_WITHOUT="common.without",e.COMMON_COMMA="common.comma",e.COMMON_FRAMEWORK="common.framework",e.COMMON_RELATED="common.related",e.COMMON_PROMPT="common.prompt",e.COMMON_THINKING="common.thinking",e.COMMON_SEARCH_RESULT="common.searchResult",e.COMMON_AUTHORIZE="common.authorize",e.COMMON_DENY="common.deny",e.COMMON_NAVIGATE_TO_SETTING="common.navigateToSetting",e.COMMON_CUSTOMIZE_ERROR="common.customize.error",e.COMMON_PRIVATE_ERROR="common.private.error",e.LOG_LEVEL_PLACEHOLDER="log.level.placeholder",e.DO_NOT_SHOW_AGAIN="do.not.show.again"}(Cb||(Cb={})),function(e){e.NOT_SUPPORT="statusBar.not.support.text",e.ENABLE="statusBar.enable.text",e.NO_SUGGESTIONS="statusBar.nosuggestions",e.TITLE="statusBar.title"}(Pb||(Pb={})),function(e){e.PANEL_ACCEPT="completion.panel.accept.text",e.PANEL_ACCEPT_TOOLTIP="completion.panel.accept.tooltip",e.PANEL_CODELENS_DISABLED="completion.panel.codelens.disabled.text",e.PANEL_TITLE="completion.panel.title",e.PANEL_EMPTY="completion.panel.empty.text",e.PANEL_HIDDEN="completion.panel.hidden.text",e.PANEL_SYNTHESIZING="completion.panel.synthesizing.text",e.DECORATION_BASIC="completion.decoration.basic",e.DECORATION_WITH_WIDGET="completion.decoration.widget.text",e.DECORATION_ACCEPT_LINE="completion.decoration.acceptLine.text"}(Lb||(Lb={})),function(e){e.EMPTY_TEXT="nl2code.empty.text",e.NO_SELECTION="nl2code.no.selection.text"}(jb||(jb={})),function(e){e.CODELENS_TITLE="optimize.codelens.title",e.CODELENS_TOOLTIP="optimize.codelens.tooltip",e.OPTIMIZE_ERROR="optimize.error",e.OPTIMIZE_CODE_PROMPT="optimize.code.prompt",e.NO_SELECTION="optimize.no.selection.text",e.OPTIMIZE_FUNCTION_PROMPT="optimize.function.prompt"}(Ib||(Ib={})),function(e){e.EXPLAIN_SELECTED_CODE="explain.codeActions.title",e.OPTIMIZE_SELECTED_CODE="optimize.codeActions.title",e.INLINECHAT_SELECTED_CODE="inlinechat.codeActions.title"}(Nb||(Nb={})),function(e){e.CODELENS_TITLE="chatTrial.codelens.title"}(Fb||(Fb={})),function(e){e.CODELENS_TITLE="inlinechat.codelens.title"}(Db||(Db={})),function(e){e.CHAT_TIPS_TITLE="chatTips.selectedCode.title",e.CHAT_TIPS_CODE_BLANK_ROW_TITLE="chatTips.blankRow.title"}(Mb||(Mb={})),function(e){e.GENERATING_TITLE="decorations.generating.title",e.LINE_COMMENT_CODE_TRIGGER_TITLE="decorations.lineComent.trigger.title"}($b||($b={})),function(e){e.PROMPT="comment.prompt",e.CODELENS_TITLE="comment.codelens.title",e.CODELENS_TOOLTIP="comment.codelens.tooltip",e.INLINECHAT_TITLE="comment.inlinechat.title",e.GENERATE_ERROR="comment.generate.error"}(Bb||(Bb={})),function(e){e.PROMPT="docstring.prompt",e.CODELENS_TITLE="docstring.codelens.title",e.CODELENS_TOOLTIP="docstring.codelens.tooltip",e.INLINECHAT_TITLE="docstring.inlinechat.title",e.GENERATE_ERROR="docstring.generate.error"}(Ub||(Ub={})),function(e){e.PROMPT="split.prompt",e.CODELENS_TITLE="split.codelens.title",e.CODELENS_TOOLTIP="split.codelens.tooltip",e.GENERATE_ERROR="split.generate.error"}(zb||(zb={})),function(e){e.CODELENS_TITLE="explain.codelens.title",e.CODELENS_TOOLTIP="explain.codelens.tooltip",e.GENERATE_ERROR="explain.generate.error",e.NO_SELECTION="explain.no.selection.text",e.PROMPT="explain.prompt"}(Hb||(Hb={})),function(e){e.CODELENS_TITLE="unitTest.codelens.title",e.CODELENS_TOOLTIP="unitTest.codelens.tooltip",e.GENERATE_ERROR="unitTest.generate.error",e.ACCEPT_ERROR="unitTest.accept.error",e.PROMPT="unitTest.prompt"}(Gb||(Gb={})),function(e){e.PROMPT="inlineLog.prompt",e.CODELENS_TITLE="inlineLog.codelens.title",e.CODELENS_TOOLTIP="inlineLog.codelens.tooltip",e.GENERATE_ERROR="inlineLog.generate.error"}(qb||(qb={})),function(e){e.TITLE="diff.title",e.ACCEPT="diff.accept",e.REJECT="diff.reject",e.OPEN_DUAL_SCREEN_DIFF="diff.dualScreenDiff.open"}(Wb||(Wb={})),function(e){e.WEBVIEW_TITLE="chat.webview.title",e.NO_INSERT_POSITION="chat.no.insertPosition.text"}(Kb||(Kb={})),function(e){e.PATH_ERROR="accept.path.error"}(Vb||(Vb={})),function(e){e.ACTION="quickFix.action.text",e.PROMPT="quickFix.prompt",e.PROMPT_SUFFIX="quickFix.prompt.suffix",e.GENERATE_ERROR="quickFix.generate.error",e.FIX_MAX_LEN="quickFix.fix.maxLen.text"}(Yb||(Yb={})),function(e){e.LOGIN_MESSAGE="login.message",e.LOGIN_ACTION_TEXT="login.action.text",e.LOGIN_ACTION_WITH_LICENSE="login.action.withLicense.text",e.LOGIN_DEVICE_ERROR="login.device.error",e.LOGIN_LOGGING_IN="login.loggingIn.text",e.LOGIN_SUCCESS="login.success",e.LOGIN_IDE_SUCCESS="login.ide.success",e.LOGIN_FAILED="login.failed",e.LOGIN_TOKEN_ERROR="login.token.error",e.LOGIN_KEY_ERROR="login.key.error",e.LOGIN_INTERNAL_USER="login.internalUser.message",e.LOGIN_INSTALL_INTERNAL="login.install.internal",e.LOGIN_AGREEMENT="login.agreement.message",e.RENEW_ACTION="renew.action.text",e.QUICK_PICK_PLACEHOLDER="command.quick.pick.placeholder"}(Qb||(Qb={})),function(e){e.TOOLTIP="regexHover.tooltip",e.PROMPT="regexHover.prompt"}(Xb||(Xb={})),function(e){e.MAXIMUM_FILES="embeddings.maximum.files.message",e.PROGRESS="embeddings.progress.message",e.PROGRESS_TOOLTIP="embeddings.progress.tooltip.message"}(Jb||(Jb={})),function(e){e.TITLE="openPlatform.title.text",e.WEBVIEW_TITLE="openPlatform.webview.title"}(Zb||(Zb={})),function(e){e.MODAL_AUTH_TITLE="autoWork.auth.modal.title",e.INDEXING_MESSAGE="autoWork.indexing.message",e.CONNECTION_INTERRUPT="autoWork.connection.interrupt.message",e.INDEXING_REMINDER="autoWork.indexing.reminder.text",e.ERROR="autoWork.error",e.TASK_THOUGHT="autoWork.task.thought",e.TASK_ANSWER="autoWork.task.answer",e.AUTO_DEBUG="autoWork.autoDebug",e.AUTO_DEBUG_PROMPT="autoWork.autoDebug.prompt",e.AUTO_DEBUG_STAGE_THOUGHT="autoWork.autoDebug.thought",e.AUTO_DEBUG_STAGE_SEARCH="autoWork.autoDebug.search",e.AUTO_DEBUG_STAGE_ANSWER="autoWork.autoDebug.answer"}(ey||(ey={})),function(e){e.PERMISSION_WORKSPACE="comatePlus.permission.workspace.text",e.PERMISSION_DISK="comatePlus.permission.disk.text",e.PERMISSION_USER="comatePlus.permission.user.text",e.AUTH_MESSAGE="comatePlus.auth.message",e.USER_INFO_ERROR="comatePlus.userInfo.error",e.CLEAR_PERMISSION="comatePlus.clear.permission",e.SPLIT_ERROR="comatePlus.split.error",e.NO_SELECTION="comatePlus.noSelection",e.NOT_A_FUNCTION="comatePlus.not.function.text"}(ty||(ty={})),function(e){e.INLINECHAT_GENERATE="inlinechat.placeholder.generate",e.INLINECHAT_SELECTED="inlinechat.placeholder.selected",e.INLINECHAT_UNSELECTED="inlinechat.placeholder.unselected",e.INLINECHAT_TITLE="inlinechat.title",e.INLINCHAT_ERROR="inlinechat.placeholder.error"}(ny||(ny={})),function(e){e.GENERATE_ERROR="messageGenerate.generate.error",e.NO_DIFF_ERROR="messageGenerate.noDiff.error",e.GET_DIFF_ERROR="messageGenerate.getDiff.error",e.EMPTY_CONTENT_ERROR="messageGenerate.emptyContent.error"}(iy||(iy={})),function(e){e.GENERATE_ERROR="kernel.zulu.error"}(sy||(sy={}));class ay{groupManager;description;registry;setupContext;pluginChannel=null;cleanupHandlers=[];constructor(e){this.groupManager=e.groupManager,this.description=e.plugin,this.registry=e.registry,this.setupContext={description:e.plugin,directory:e.directory,inspectPort:e.inspectPort}}async setup(){await this.groupManager.joinGroup(this.setupContext,{onSetup:e=>this.setupRunningStatus(e),onExit:()=>this.cleanup()})}startSession(e,t,n,i){return this.pluginChannel?.startSession(e,{action:t,payload:n},i)}sendMessage(e,t,n){return this.pluginChannel?.send(e,t,n)}async dispose(){await this.groupManager.exitGroup(this.setupContext),this.cleanup()}setupRunningStatus(e){this.pluginChannel=e;this.registry.loadCapabilitiesForPlugin(this.description.capabilities.map((e=>({owner:this.description,name:e.name,type:e.type,displayName:e.displayName,placeholder:e.placeholder,defaultUserMessage:e.defaultUserMessage,displayTag:e.displayTag,enableSmartApply:e.enableSmartApply,visibilitySelector:e.visibilitySelector,querySelector:e.querySelector}))))}cleanup(){this.pluginChannel&&(this.pluginChannel=null),this.registry.unloadCapabilitiesForPlugin(this.description.name)}}function ry(e){return Array.isArray?Array.isArray(e):"[object Array]"===xy(e)}const cy=1/0;function py(e){return null==e?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-cy?"-0":t}(e)}function ly(e){return"string"==typeof e}function uy(e){return"number"==typeof e}function dy(e){return!0===e||!1===e||function(e){return my(e)&&null!==e}(e)&&"[object Boolean]"==xy(e)}function my(e){return"object"==typeof e}function fy(e){return null!=e}function hy(e){return!e.trim().length}function xy(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const gy=e=>`Missing ${e} property in key`,vy=e=>`Property 'weight' in key '${e}' must be a positive integer`,by=Object.prototype.hasOwnProperty;class yy{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let n=wy(e);this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight})),this._keys.forEach((e=>{e.weight/=t}))}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function wy(e){let t=null,n=null,i=null,s=1,o=null;if(ly(e)||ry(e))i=e,t=_y(e),n=Ey(e);else{if(!by.call(e,"name"))throw new Error(gy("name"));const a=e.name;if(i=a,by.call(e,"weight")&&(s=e.weight,s<=0))throw new Error(vy(a));t=_y(a),n=Ey(a),o=e.getFn}return{path:t,id:n,weight:s,src:i,getFn:o}}function _y(e){return ry(e)?e:e.split(".")}function Ey(e){return ry(e)?e.join("."):e}const Sy={useExtendedSearch:!1,getFn:function(e,t){let n=[],i=!1;const s=(e,t,o)=>{if(fy(e))if(t[o]){const a=e[t[o]];if(!fy(a))return;if(o===t.length-1&&(ly(a)||uy(a)||dy(a)))n.push(py(a));else if(ry(a)){i=!0;for(let e=0,n=a.length;e<n;e+=1)s(a[e],t,o+1)}else t.length&&s(a,t,o+1)}else n.push(e)};return s(e,ly(t)?t.split("."):t,0),i?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var ky={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,...Sy};const Ry=/[^ ]+/g;class Ty{constructor({getFn:e=ky.getFn,fieldNormWeight:t=ky.fieldNormWeight}={}){this.norm=function(e=1,t=3){const n=new Map,i=Math.pow(10,t);return{get(t){const s=t.match(Ry).length;if(n.has(s))return n.get(s);const o=1/Math.pow(s,.5*e),a=parseFloat(Math.round(o*i)/i);return n.set(s,a),a},clear(){n.clear()}}}(t,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach(((e,t)=>{this._keysMap[e.id]=t}))}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,ly(this.docs[0])?this.docs.forEach(((e,t)=>{this._addString(e,t)})):this.docs.forEach(((e,t)=>{this._addObject(e,t)})),this.norm.clear())}add(e){const t=this.size();ly(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t<n;t+=1)this.records[t].i-=1}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!fy(e)||hy(e))return;let n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}_addObject(e,t){let n={i:t,$:{}};this.keys.forEach(((t,i)=>{let s=t.getFn?t.getFn(e):this.getFn(e,t.path);if(fy(s))if(ry(s)){let e=[];const t=[{nestedArrIndex:-1,value:s}];for(;t.length;){const{nestedArrIndex:n,value:i}=t.pop();if(fy(i))if(ly(i)&&!hy(i)){let t={v:i,i:n,n:this.norm.get(i)};e.push(t)}else ry(i)&&i.forEach(((e,n)=>{t.push({nestedArrIndex:n,value:e})}))}n.$[i]=e}else if(ly(s)&&!hy(s)){let e={v:s,n:this.norm.get(s)};n.$[i]=e}})),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function Oy(e,t,{getFn:n=ky.getFn,fieldNormWeight:i=ky.fieldNormWeight}={}){const s=new Ty({getFn:n,fieldNormWeight:i});return s.setKeys(e.map(wy)),s.setSources(t),s.create(),s}function Ay(e,{errors:t=0,currentLocation:n=0,expectedLocation:i=0,distance:s=ky.distance,ignoreLocation:o=ky.ignoreLocation}={}){const a=t/e.length;if(o)return a;const r=Math.abs(i-n);return s?a+r/s:r?1:a}const Cy=32;function Py(e,t,n,{location:i=ky.location,distance:s=ky.distance,threshold:o=ky.threshold,findAllMatches:a=ky.findAllMatches,minMatchCharLength:r=ky.minMatchCharLength,includeMatches:c=ky.includeMatches,ignoreLocation:p=ky.ignoreLocation}={}){if(t.length>Cy)throw new Error(`Pattern length exceeds max of ${Cy}.`);const l=t.length,u=e.length,d=Math.max(0,Math.min(i,u));let m=o,f=d;const h=r>1||c,x=h?Array(u):[];let g;for(;(g=e.indexOf(t,f))>-1;){let e=Ay(t,{currentLocation:g,expectedLocation:d,distance:s,ignoreLocation:p});if(m=Math.min(e,m),f=g+l,h){let e=0;for(;e<l;)x[g+e]=1,e+=1}}f=-1;let v=[],b=1,y=l+u;const w=1<<l-1;for(let i=0;i<l;i+=1){let o=0,r=y;for(;o<r;){Ay(t,{errors:i,currentLocation:d+r,expectedLocation:d,distance:s,ignoreLocation:p})<=m?o=r:y=r,r=Math.floor((y-o)/2+o)}y=r;let c=Math.max(1,d-r+1),g=a?u:Math.min(d+r,u)+l,_=Array(g+2);_[g+1]=(1<<i)-1;for(let o=g;o>=c;o-=1){let a=o-1,r=n[e.charAt(a)];if(h&&(x[a]=+!!r),_[o]=(_[o+1]<<1|1)&r,i&&(_[o]|=(v[o+1]|v[o])<<1|1|v[o+1]),_[o]&w&&(b=Ay(t,{errors:i,currentLocation:a,expectedLocation:d,distance:s,ignoreLocation:p}),b<=m)){if(m=b,f=a,f<=d)break;c=Math.max(1,2*d-f)}}if(Ay(t,{errors:i+1,currentLocation:d,expectedLocation:d,distance:s,ignoreLocation:p})>m)break;v=_}const _={isMatch:f>=0,score:Math.max(.001,b)};if(h){const e=function(e=[],t=ky.minMatchCharLength){let n=[],i=-1,s=-1,o=0;for(let a=e.length;o<a;o+=1){let a=e[o];a&&-1===i?i=o:a||-1===i||(s=o-1,s-i+1>=t&&n.push([i,s]),i=-1)}return e[o-1]&&o-i>=t&&n.push([i,o-1]),n}(x,r);e.length?c&&(_.indices=e):_.isMatch=!1}return _}function Ly(e){let t={};for(let n=0,i=e.length;n<i;n+=1){const s=e.charAt(n);t[s]=(t[s]||0)|1<<i-n-1}return t}class jy{constructor(e,{location:t=ky.location,threshold:n=ky.threshold,distance:i=ky.distance,includeMatches:s=ky.includeMatches,findAllMatches:o=ky.findAllMatches,minMatchCharLength:a=ky.minMatchCharLength,isCaseSensitive:r=ky.isCaseSensitive,ignoreLocation:c=ky.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:i,includeMatches:s,findAllMatches:o,minMatchCharLength:a,isCaseSensitive:r,ignoreLocation:c},this.pattern=r?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const p=(e,t)=>{this.chunks.push({pattern:e,alphabet:Ly(e),startIndex:t})},l=this.pattern.length;if(l>Cy){let e=0;const t=l%Cy,n=l-t;for(;e<n;)p(this.pattern.substr(e,Cy),e),e+=Cy;if(t){const e=l-Cy;p(this.pattern.substr(e),e)}}else p(this.pattern,0)}searchIn(e){const{isCaseSensitive:t,includeMatches:n}=this.options;if(t||(e=e.toLowerCase()),this.pattern===e){let t={isMatch:!0,score:0};return n&&(t.indices=[[0,e.length-1]]),t}const{location:i,distance:s,threshold:o,findAllMatches:a,minMatchCharLength:r,ignoreLocation:c}=this.options;let p=[],l=0,u=!1;this.chunks.forEach((({pattern:t,alphabet:d,startIndex:m})=>{const{isMatch:f,score:h,indices:x}=Py(e,t,d,{location:i+m,distance:s,threshold:o,findAllMatches:a,minMatchCharLength:r,includeMatches:n,ignoreLocation:c});f&&(u=!0),l+=h,f&&x&&(p=[...p,...x])}));let d={isMatch:u,score:u?l/this.chunks.length:1};return u&&n&&(d.indices=p),d}}class Iy{constructor(e){this.pattern=e}static isMultiMatch(e){return Ny(e,this.multiRegex)}static isSingleMatch(e){return Ny(e,this.singleRegex)}search(){}}function Ny(e,t){const n=e.match(t);return n?n[1]:null}class Fy extends Iy{constructor(e,{location:t=ky.location,threshold:n=ky.threshold,distance:i=ky.distance,includeMatches:s=ky.includeMatches,findAllMatches:o=ky.findAllMatches,minMatchCharLength:a=ky.minMatchCharLength,isCaseSensitive:r=ky.isCaseSensitive,ignoreLocation:c=ky.ignoreLocation}={}){super(e),this._bitapSearch=new jy(e,{location:t,threshold:n,distance:i,includeMatches:s,findAllMatches:o,minMatchCharLength:a,isCaseSensitive:r,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class Dy extends Iy{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,n=0;const i=[],s=this.pattern.length;for(;(t=e.indexOf(this.pattern,n))>-1;)n=t+s,i.push([t,n-1]);const o=!!i.length;return{isMatch:o,score:o?0:1,indices:i}}}const My=[class extends Iy{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},Dy,class extends Iy{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},class extends Iy{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends Iy{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends Iy{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}},class extends Iy{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},Fy],$y=My.length,By=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/;const Uy=new Set([Fy.type,Dy.type]);class zy{constructor(e,{isCaseSensitive:t=ky.isCaseSensitive,includeMatches:n=ky.includeMatches,minMatchCharLength:i=ky.minMatchCharLength,ignoreLocation:s=ky.ignoreLocation,findAllMatches:o=ky.findAllMatches,location:a=ky.location,threshold:r=ky.threshold,distance:c=ky.distance}={}){this.query=null,this.options={isCaseSensitive:t,includeMatches:n,minMatchCharLength:i,findAllMatches:o,ignoreLocation:s,location:a,threshold:r,distance:c},this.pattern=t?e:e.toLowerCase(),this.query=function(e,t={}){return e.split("|").map((e=>{let n=e.trim().split(By).filter((e=>e&&!!e.trim())),i=[];for(let e=0,s=n.length;e<s;e+=1){const s=n[e];let o=!1,a=-1;for(;!o&&++a<$y;){const e=My[a];let n=e.isMultiMatch(s);n&&(i.push(new e(n,t)),o=!0)}if(!o)for(a=-1;++a<$y;){const e=My[a];let n=e.isSingleMatch(s);if(n){i.push(new e(n,t));break}}}return i}))}(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){const t=this.query;if(!t)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:i}=this.options;e=i?e:e.toLowerCase();let s=0,o=[],a=0;for(let i=0,r=t.length;i<r;i+=1){const r=t[i];o.length=0,s=0;for(let t=0,i=r.length;t<i;t+=1){const i=r[t],{isMatch:c,indices:p,score:l}=i.search(e);if(!c){a=0,s=0,o.length=0;break}if(s+=1,a+=l,n){const e=i.constructor.type;Uy.has(e)?o=[...o,...p]:o.push(p)}}if(s){let e={isMatch:!0,score:a/s};return n&&(e.indices=o),e}}return{isMatch:!1,score:1}}}const Hy=[];function Gy(e,t){for(let n=0,i=Hy.length;n<i;n+=1){let i=Hy[n];if(i.condition(e,t))return new i(e,t)}return new jy(e,t)}const qy="$and",Wy="$or",Ky="$path",Vy="$val",Yy=e=>!(!e[qy]&&!e[Wy]),Qy=e=>({[qy]:Object.keys(e).map((t=>({[t]:e[t]})))});function Xy(e,t,{auto:n=!0}={}){const i=e=>{let s=Object.keys(e);const o=(e=>!!e[Ky])(e);if(!o&&s.length>1&&!Yy(e))return i(Qy(e));if((e=>!ry(e)&&my(e)&&!Yy(e))(e)){const i=o?e[Ky]:s[0],a=o?e[Vy]:e[i];if(!ly(a))throw new Error((e=>`Invalid value for key ${e}`)(i));const r={keyId:Ey(i),pattern:a};return n&&(r.searcher=Gy(a,t)),r}let a={children:[],operator:s[0]};return s.forEach((t=>{const n=e[t];ry(n)&&n.forEach((e=>{a.children.push(i(e))}))})),a};return Yy(e)||(e=Qy(e)),i(e)}function Jy(e,t){const n=e.matches;t.matches=[],fy(n)&&n.forEach((e=>{if(!fy(e.indices)||!e.indices.length)return;const{indices:n,value:i}=e;let s={indices:n,value:i};e.key&&(s.key=e.key.src),e.idx>-1&&(s.refIndex=e.idx),t.matches.push(s)}))}function Zy(e,t){t.score=e.score}class ew{constructor(e,t={},n){this.options={...ky,...t},this.options.useExtendedSearch,this._keyStore=new yy(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof Ty))throw new Error("Incorrect 'index' type");this._myIndex=t||Oy(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){fy(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=(()=>!1)){const t=[];for(let n=0,i=this._docs.length;n<i;n+=1){const s=this._docs[n];e(s,n)&&(this.removeAt(n),n-=1,i-=1,t.push(s))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){const{includeMatches:n,includeScore:i,shouldSort:s,sortFn:o,ignoreFieldNorm:a}=this.options;let r=ly(e)?ly(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=ky.ignoreFieldNorm}){e.forEach((e=>{let n=1;e.matches.forEach((({key:e,norm:i,score:s})=>{const o=e?e.weight:null;n*=Math.pow(0===s&&o?Number.EPSILON:s,(o||1)*(t?1:i))})),e.score=n}))}(r,{ignoreFieldNorm:a}),s&&r.sort(o),uy(t)&&t>-1&&(r=r.slice(0,t)),function(e,t,{includeMatches:n=ky.includeMatches,includeScore:i=ky.includeScore}={}){const s=[];return n&&s.push(Jy),i&&s.push(Zy),e.map((e=>{const{idx:n}=e,i={item:t[n],refIndex:n};return s.length&&s.forEach((t=>{t(e,i)})),i}))}(r,this._docs,{includeMatches:n,includeScore:i})}_searchStringList(e){const t=Gy(e,this.options),{records:n}=this._myIndex,i=[];return n.forEach((({v:e,i:n,n:s})=>{if(!fy(e))return;const{isMatch:o,score:a,indices:r}=t.searchIn(e);o&&i.push({item:e,idx:n,matches:[{score:a,value:e,norm:s,indices:r}]})})),i}_searchLogical(e){const t=Xy(e,this.options),n=(e,t,i)=>{if(!e.children){const{keyId:n,searcher:s}=e,o=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:s});return o&&o.length?[{idx:i,item:t,matches:o}]:[]}const s=[];for(let o=0,a=e.children.length;o<a;o+=1){const a=e.children[o],r=n(a,t,i);if(r.length)s.push(...r);else if(e.operator===qy)return[]}return s},i=this._myIndex.records,s={},o=[];return i.forEach((({$:e,i:i})=>{if(fy(e)){let a=n(t,e,i);a.length&&(s[i]||(s[i]={idx:i,item:e,matches:[]},o.push(s[i])),a.forEach((({matches:e})=>{s[i].matches.push(...e)})))}})),o}_searchObjectList(e){const t=Gy(e,this.options),{keys:n,records:i}=this._myIndex,s=[];return i.forEach((({$:e,i:i})=>{if(!fy(e))return;let o=[];n.forEach(((n,i)=>{o.push(...this._findMatches({key:n,value:e[i],searcher:t}))})),o.length&&s.push({idx:i,item:e,matches:o})})),s}_findMatches({key:e,value:t,searcher:n}){if(!fy(t))return[];let i=[];if(ry(t))t.forEach((({v:t,i:s,n:o})=>{if(!fy(t))return;const{isMatch:a,score:r,indices:c}=n.searchIn(t);a&&i.push({score:r,key:e,value:t,idx:s,norm:o,indices:c})}));else{const{v:s,n:o}=t,{isMatch:a,score:r,indices:c}=n.searchIn(s);a&&i.push({score:r,key:e,value:s,norm:o,indices:c})}return i}}ew.version="7.0.0",ew.createIndex=Oy,ew.parseIndex=function(e,{getFn:t=ky.getFn,fieldNormWeight:n=ky.fieldNormWeight}={}){const{keys:i,records:s}=e,o=new Ty({getFn:t,fieldNormWeight:n});return o.setKeys(i),o.setIndexRecords(s),o},ew.config=ky,ew.parseQuery=Xy,function(...e){Hy.push(...e)}(zy);class tw{capabilities=[];listAllCapabilities(){return this.capabilities.map((({visibilitySelector:e,...t})=>t))}async suggestCapabilitiesByMatch(e){const{pluginName:t,capabilityKeyword:n}=e,i=[];for(const s of this.capabilities){if(!e.canHandle(s.type))continue;if(t&&s.owner.name!==t)continue;if(0===await s.visibilityMatcher.match(e.cwd,e.context))continue;if(n){i.push({...s});continue}const o=await s.queryMatcher.match(e.cwd,e.context);0!==o&&i.push({...s,queryScore:o})}if(!n)return i;return new ew(i,{keys:["displayName"]}).search(n).map((e=>e.item))}loadCapabilitiesForPlugin(e){const t=e.map((e=>this.compileCapabilityInfo(e)));this.capabilities=this.capabilities.concat(t)}unloadCapabilitiesForPlugin(e){this.capabilities=this.capabilities.filter((t=>t.owner.name!==e))}compileCapabilityInfo(e){return{...e,visibilityMatcher:new dx(e.visibilitySelector??{},sx.default),queryMatcher:new dx(e.querySelector??{},sx.default)}}}class nw extends Q{plugins;constructor(e,t,n){super(e,t),this.plugins=n.plugins}initializeListeners(){super.initializeListeners(),this.forwardSessionTask("CHAT_QUERY"),this.forwardSessionTask("ACTION_SECUBOT"),this.forwardSessionTask("ACTION_CUSTOM_COMMAND"),this.forwardSessionTask("DIAGNOSTIC_SCAN"),this.forwardSessionTask("ACTION_START_BACKGROUND_SERVICE"),this.forwardExecution(J),this.forwardExecution(ee),this.forwardExecution(xe),this.forwardExecution(te),this.forwardExecution(he),this.forwardExecution(oe),this.forwardExecution(ae),this.forwardExecution(ge),this.forwardExecution(le),this.forwardSessionTask("START_ISCAN"),this.forwardSessionTask("SA_SCAN_DIAGNOSTIC"),this.forwardSessionTask("PLUS_MODULE_LIST_FETCH")}forwardExecution(e){this.setListener(e,(async(t,n)=>{const i=this.plugins.get(t.pluginName);i?await i.sendMessage(this.sessionId,{action:e,payload:t},n):this.logPluginNotFound(t.pluginName)}))}forwardSessionTask(e){this.setListener(e,(async t=>{const n=this.plugins.get(t.pluginName);n?await n.startSession(this,e,t):this.logPluginNotFound(t.pluginName)}))}logPluginNotFound(e){this.log("error",this.constructor.name,"PluginNotFound",{pluginName:e})}}class iw extends X{plugins;registry;constructor(e,t,n){super(e),this.registry=t,this.plugins=n}createSession(e){return new nw(e,this.implement,{plugins:this.plugins,registry:this.registry})}}class sw extends Q{initializeListeners(){super.initializeListeners(),this.forwardMessageToParent(J),this.forwardMessageToParent(ee),this.forwardMessageToParent(xe),this.forwardMessageToParent(te),this.forwardMessageToParent(he),this.forwardMessageToParent(oe),this.forwardMessageToParent(ae),this.forwardMessageToParent("CHAT_TASK_PROGRESS"),this.forwardMessageToParent("DIAGNOSTIC_SCAN_TASK_PROGRESS"),this.forwardMessageToParent("DIAGNOSTIC_SCAN_TASK_COUNT"),this.forwardMessageToParent("ACTION_SECUBOT_TASK_PROGRESS"),this.forwardMessageToParent(ge),this.forwardMessageToParent(le),this.forwardMessageToParent("ISCAN_RESULT"),this.forwardMessageToParent("ISCAN_JOB_BUILD_ID"),this.forwardMessageToParent("SA_SCAN_DIAGNOSTIC_RESULT"),this.forwardMessageToParent("PLUS_MODULE_LIST_RESULT")}}class ow extends X{createSession(e){return new sw(e,this.implement)}}class aw{groups=new Map;async joinGroup(e,{onExit:t,onSetup:n}){const{description:i,directory:s,inspectPort:o}=e,a=this.getGroupKey({description:i,directory:s,inspectPort:o}),r=this.groups.get(a)??this.createGroup(a,o);r.plugins.set(i.name,{description:i,directory:s,onExit:t,onSetup:n}),await this.onPluginJoinGroup(r,e)}async exitGroup(e){const t=this.getGroupKey(e),n=this.groups.get(t);n&&(n.plugins.delete(e.description.name),await this.onPluginExitGroup(n,e),n.plugins.size||(this.destroyGroup(n),this.groups.delete(n.key)))}createGroup(e,t){const n={key:e,value:this.createGroupValue(e,t),plugins:new Map};return this.groups.set(e,n),n}}class rw extends Error{constructor(e){super(e),this.name="TimeoutError"}}class cw extends Error{constructor(e){super(),this.name="AbortError",this.message=e}}const pw=e=>void 0===globalThis.DOMException?new cw(e):new DOMException(e),lw=e=>{const t=void 0===e.reason?pw("This operation was aborted."):e.reason;return t instanceof Error?t:pw(t)};const uw=e=>{const t=e.addEventListener||e.on||e.addListener,n=e.removeEventListener||e.off||e.removeListener;if(!t||!n)throw new TypeError("Emitter is not compatible");return{addListener:t.bind(e),removeListener:n.bind(e)}};function dw(e,t,n){let i;const s=new Promise(((s,o)=>{if(!((n={rejectionEvents:["error"],multiArgs:!1,resolveImmediately:!1,...n}).count>=0)||n.count!==Number.POSITIVE_INFINITY&&!Number.isInteger(n.count))throw new TypeError("The `count` option should be at least 0 or more");n.signal?.throwIfAborted();const a=[t].flat(),r=[],{addListener:c,removeListener:p}=uw(e),l=(...e)=>{const t=n.multiArgs?e:e[0];n.filter&&!n.filter(t)||(r.push(t),n.count===r.length&&(i(),s(r)))},u=e=>{i(),o(e)};i=()=>{for(const e of a)p(e,l);for(const e of n.rejectionEvents)p(e,u)};for(const e of a)c(e,l);for(const e of n.rejectionEvents)c(e,u);n.signal&&n.signal.addEventListener("abort",(()=>{u(n.signal.reason)}),{once:!0}),n.resolveImmediately&&s(r)}));if(s.cancel=i,"number"==typeof n.timeout){const e=function(e,t){const{milliseconds:n,fallback:i,message:s,customTimers:o={setTimeout:setTimeout,clearTimeout:clearTimeout}}=t;let a;const r=new Promise(((r,c)=>{if("number"!=typeof n||1!==Math.sign(n))throw new TypeError(`Expected \`milliseconds\` to be a positive number, got \`${n}\``);if(t.signal){const{signal:e}=t;e.aborted&&c(lw(e)),e.addEventListener("abort",(()=>{c(lw(e))}))}if(n===Number.POSITIVE_INFINITY)return void e.then(r,c);const p=new rw;a=o.setTimeout.call(void 0,(()=>{if(i)try{r(i())}catch(e){c(e)}else"function"==typeof e.cancel&&e.cancel(),!1===s?r():s instanceof Error?c(s):(p.message=s??`Promise timed out after ${n} milliseconds`,c(p))}),n),(async()=>{try{r(await e)}catch(e){c(e)}})()})),c=r.finally((()=>{c.clear()}));return c.clear=()=>{o.clearTimeout.call(void 0,a),a=void 0},c}(s,{milliseconds:n.timeout});return e.cancel=i,e}return s}var mw,fw,hw,xw,gw,vw={exports:{}};gw="win32"===process.platform||be.TESTING_WINDOWS?function(){if(fw)return mw;fw=1,mw=n,n.sync=function(n,i){return t(e.statSync(n),n,i)};var e=c;function t(e,t,n){return!(!e.isSymbolicLink()&&!e.isFile())&&function(e,t){var n=void 0!==t.pathExt?t.pathExt:process.env.PATHEXT;if(!n)return!0;if(-1!==(n=n.split(";")).indexOf(""))return!0;for(var i=0;i<n.length;i++){var s=n[i].toLowerCase();if(s&&e.substr(-s.length).toLowerCase()===s)return!0}return!1}(t,n)}function n(n,i,s){e.stat(n,(function(e,o){s(e,!e&&t(o,n,i))}))}return mw}():function(){if(xw)return hw;xw=1,hw=t,t.sync=function(t,i){return n(e.statSync(t),i)};var e=c;function t(t,i,s){e.stat(t,(function(e,t){s(e,!e&&n(t,i))}))}function n(e,t){return e.isFile()&&function(e,t){var n=e.mode,i=e.uid,s=e.gid,o=void 0!==t.uid?t.uid:process.getuid&&process.getuid(),a=void 0!==t.gid?t.gid:process.getgid&&process.getgid(),r=parseInt("100",8),c=parseInt("010",8);return n&parseInt("001",8)||n&c&&s===a||n&r&&i===o||n&(r|c)&&0===o}(e,t)}return hw}();var bw=yw;function yw(e,t,n){if("function"==typeof t&&(n=t,t={}),!n){if("function"!=typeof Promise)throw new TypeError("callback not provided");return new Promise((function(n,i){yw(e,t||{},(function(e,t){e?i(e):n(t)}))}))}gw(e,t||{},(function(e,i){e&&("EACCES"===e.code||t&&t.ignoreErrors)&&(e=null,i=!1),n(e,i)}))}yw.sync=function(e,t){try{return gw.sync(e,t||{})}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e}};const ww="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,_w=f,Ew=ww?";":":",Sw=bw,kw=e=>Object.assign(new Error(`not found: ${e}`),{code:"ENOENT"}),Rw=(e,t)=>{const n=t.colon||Ew,i=e.match(/\//)||ww&&e.match(/\\/)?[""]:[...ww?[process.cwd()]:[],...(t.path||process.env.PATH||"").split(n)],s=ww?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",o=ww?s.split(n):[""];return ww&&-1!==e.indexOf(".")&&""!==o[0]&&o.unshift(""),{pathEnv:i,pathExt:o,pathExtExe:s}},Tw=(e,t,n)=>{"function"==typeof t&&(n=t,t={}),t||(t={});const{pathEnv:i,pathExt:s,pathExtExe:o}=Rw(e,t),a=[],r=n=>new Promise(((s,o)=>{if(n===i.length)return t.all&&a.length?s(a):o(kw(e));const r=i[n],p=/^".*"$/.test(r)?r.slice(1,-1):r,l=_w.join(p,e),u=!p&&/^\.[\\\/]/.test(e)?e.slice(0,2)+l:l;s(c(u,n,0))})),c=(e,n,i)=>new Promise(((p,l)=>{if(i===s.length)return p(r(n+1));const u=s[i];Sw(e+u,{pathExt:o},((s,o)=>{if(!s&&o){if(!t.all)return p(e+u);a.push(e+u)}return p(c(e,n,i+1))}))}));return n?r(0).then((e=>n(null,e)),n):r(0)};var Ow=Tw;Tw.sync=(e,t)=>{t=t||{};const{pathEnv:n,pathExt:i,pathExtExe:s}=Rw(e,t),o=[];for(let a=0;a<n.length;a++){const r=n[a],c=/^".*"$/.test(r)?r.slice(1,-1):r,p=_w.join(c,e),l=!c&&/^\.[\\\/]/.test(e)?e.slice(0,2)+p:p;for(let e=0;e<i.length;e++){const n=l+i[e];try{if(Sw.sync(n,{pathExt:s})){if(!t.all)return n;o.push(n)}}catch(e){}}}if(t.all&&o.length)return o;if(t.nothrow)return null;throw kw(e)};var Aw={exports:{}};const Cw=(e={})=>{const t=e.env||process.env;return"win32"!==(e.platform||process.platform)?"PATH":Object.keys(t).reverse().find((e=>"PATH"===e.toUpperCase()))||"Path"};Aw.exports=Cw,Aw.exports.default=Cw;var Pw=Aw.exports;const Lw=f,jw=Ow,Iw=Pw;function Nw(e,t){const n=e.options.env||process.env,i=process.cwd(),s=null!=e.options.cwd,o=s&&void 0!==process.chdir&&!process.chdir.disabled;if(o)try{process.chdir(e.options.cwd)}catch(e){}let a;try{a=jw.sync(e.command,{path:n[Iw({env:n})],pathExt:t?Lw.delimiter:void 0})}catch(e){}finally{o&&process.chdir(i)}return a&&(a=Lw.resolve(s?e.options.cwd:"",a)),a}var Fw=function(e){return Nw(e)||Nw(e,!0)},Dw={};const Mw=/([()\][%!^"`<>&|;, *?])/g;Dw.command=function(e){return e=e.replace(Mw,"^$1")},Dw.argument=function(e,t){return e=(e=`"${e=(e=(e=`${e}`).replace(/(\\*)"/g,'$1$1\\"')).replace(/(\\*)$/,"$1$1")}"`).replace(Mw,"^$1"),t&&(e=e.replace(Mw,"^$1")),e};const $w=/^#!(.*)/;const Bw=c,Uw=(e="")=>{const t=e.match($w);if(!t)return null;const[n,i]=t[0].replace(/#! ?/,"").split(" "),s=n.split("/").pop();return"env"===s?i:i?`${s} ${i}`:s};const zw=f,Hw=Fw,Gw=Dw,qw=function(e){const t=Buffer.alloc(150);let n;try{n=Bw.openSync(e,"r"),Bw.readSync(n,t,0,150,0),Bw.closeSync(n)}catch(e){}return Uw(t.toString())},Ww="win32"===process.platform,Kw=/\.(?:com|exe)$/i,Vw=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function Yw(e){if(!Ww)return e;const t=function(e){e.file=Hw(e);const t=e.file&&qw(e.file);return t?(e.args.unshift(e.file),e.command=t,Hw(e)):e.file}(e),n=!Kw.test(t);if(e.options.forceShell||n){const n=Vw.test(t);e.command=zw.normalize(e.command),e.command=Gw.command(e.command),e.args=e.args.map((e=>Gw.argument(e,n)));const i=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${i}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0}return e}var Qw=function(e,t,n){t&&!Array.isArray(t)&&(n=t,t=null);const i={command:e,args:t=t?t.slice(0):[],options:n=Object.assign({},n),file:void 0,original:{command:e,args:t}};return n.shell?i:Yw(i)};const Xw="win32"===process.platform;function Jw(e,t){return Object.assign(new Error(`${t} ${e.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${t} ${e.command}`,path:e.command,spawnargs:e.args})}function Zw(e,t){return Xw&&1===e&&!t.file?Jw(t.original,"spawn"):null}var e_={hookChildProcess:function(e,t){if(!Xw)return;const n=e.emit;e.emit=function(i,s){if("exit"===i){const i=Zw(s,t);if(i)return n.call(e,"error",i)}return n.apply(e,arguments)}},verifyENOENT:Zw,verifyENOENTSync:function(e,t){return Xw&&1===e&&!t.file?Jw(t.original,"spawnSync"):null},notFoundError:Jw};const t_=F,n_=Qw,i_=e_;function s_(e,t,n){const i=n_(e,t,n),s=t_.spawn(i.command,i.args,i.options);return i_.hookChildProcess(s,i),s}vw.exports=s_,vw.exports.spawn=s_,vw.exports.sync=function(e,t,n){const i=n_(e,t,n),s=t_.spawnSync(i.command,i.args,i.options);return s.error=s.error||i_.verifyENOENTSync(s.status,i),s},vw.exports._parse=n_,vw.exports._enoent=i_;var o_=ye(vw.exports);function a_(e={}){const{env:t=process.env,platform:n=process.platform}=e;return"win32"!==n?"PATH":Object.keys(t).reverse().find((e=>"PATH"===e.toUpperCase()))||"Path"}const r_=(t,n)=>{let i;for(;i!==n;)t.push(e.join(n,"node_modules/.bin")),i=n,n=e.resolve(n,"..")},c_=(t,n,i)=>{const s=n instanceof URL?A(n):n;t.push(e.resolve(i,s,".."))},p_=({env:t=T.env,...n}={})=>{const i=a_({env:t={...t}});return n.path=t[i],t[i]=(({cwd:t=T.cwd(),path:n=T.env[a_()],preferLocal:i=!0,execPath:s=T.execPath,addExecPath:o=!0}={})=>{const a=t instanceof URL?A(t):t,r=e.resolve(a),c=[];return i&&r_(c,r),o&&c_(c,s,r),[...c,n].join(e.delimiter)})(n),t},l_=(e,t,n,i)=>{if("length"===n||"prototype"===n)return;if("arguments"===n||"caller"===n)return;const s=Object.getOwnPropertyDescriptor(e,n),o=Object.getOwnPropertyDescriptor(t,n);!u_(s,o)&&i||Object.defineProperty(e,n,o)},u_=function(e,t){return void 0===e||e.configurable||e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable&&(e.writable||e.value===t.value)},d_=(e,t)=>`/* Wrapped ${e}*/\n${t}`,m_=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),f_=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name");function h_(e,t,{ignoreNonConfigurable:n=!1}={}){const{name:i}=e;for(const i of Reflect.ownKeys(t))l_(e,t,i,n);return((e,t)=>{const n=Object.getPrototypeOf(t);n!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,n)})(e,t),((e,t,n)=>{const i=""===n?"":`with ${n.trim()}() `,s=d_.bind(null,i,t.toString());Object.defineProperty(s,"name",f_),Object.defineProperty(e,"toString",{...m_,value:s})})(e,t,i),e}const x_=new WeakMap,g_=(e,t={})=>{if("function"!=typeof e)throw new TypeError("Expected a function");let n,i=0;const s=e.displayName||e.name||"<anonymous>",o=function(...a){if(x_.set(o,++i),1===i)n=e.apply(this,a),e=null;else if(!0===t.throw)throw new Error(`Function \`${s}\` can only be called once`);return n};return h_(o,e),x_.set(o,i),o};g_.callCount=e=>{if(!x_.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return x_.get(e)};const v_=(e,t)=>({name:`SIGRT${t+1}`,number:b_+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),b_=34,y_=64,w_=[{name:"SIGHUP",number:1,action:"terminate",description:"Terminal closed",standard:"posix"},{name:"SIGINT",number:2,action:"terminate",description:"User interruption with CTRL-C",standard:"ansi"},{name:"SIGQUIT",number:3,action:"core",description:"User interruption with CTRL-\\",standard:"posix"},{name:"SIGILL",number:4,action:"core",description:"Invalid machine instruction",standard:"ansi"},{name:"SIGTRAP",number:5,action:"core",description:"Debugger breakpoint",standard:"posix"},{name:"SIGABRT",number:6,action:"core",description:"Aborted",standard:"ansi"},{name:"SIGIOT",number:6,action:"core",description:"Aborted",standard:"bsd"},{name:"SIGBUS",number:7,action:"core",description:"Bus error due to misaligned, non-existing address or paging error",standard:"bsd"},{name:"SIGEMT",number:7,action:"terminate",description:"Command should be emulated but is not implemented",standard:"other"},{name:"SIGFPE",number:8,action:"core",description:"Floating point arithmetic error",standard:"ansi"},{name:"SIGKILL",number:9,action:"terminate",description:"Forced termination",standard:"posix",forced:!0},{name:"SIGUSR1",number:10,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGSEGV",number:11,action:"core",description:"Segmentation fault",standard:"ansi"},{name:"SIGUSR2",number:12,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGPIPE",number:13,action:"terminate",description:"Broken pipe or socket",standard:"posix"},{name:"SIGALRM",number:14,action:"terminate",description:"Timeout or timer",standard:"posix"},{name:"SIGTERM",number:15,action:"terminate",description:"Termination",standard:"ansi"},{name:"SIGSTKFLT",number:16,action:"terminate",description:"Stack is empty or overflowed",standard:"other"},{name:"SIGCHLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"posix"},{name:"SIGCLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"other"},{name:"SIGCONT",number:18,action:"unpause",description:"Unpaused",standard:"posix",forced:!0},{name:"SIGSTOP",number:19,action:"pause",description:"Paused",standard:"posix",forced:!0},{name:"SIGTSTP",number:20,action:"pause",description:'Paused using CTRL-Z or "suspend"',standard:"posix"},{name:"SIGTTIN",number:21,action:"pause",description:"Background process cannot read terminal input",standard:"posix"},{name:"SIGBREAK",number:21,action:"terminate",description:"User interruption with CTRL-BREAK",standard:"other"},{name:"SIGTTOU",number:22,action:"pause",description:"Background process cannot write to terminal output",standard:"posix"},{name:"SIGURG",number:23,action:"ignore",description:"Socket received out-of-band data",standard:"bsd"},{name:"SIGXCPU",number:24,action:"core",description:"Process timed out",standard:"bsd"},{name:"SIGXFSZ",number:25,action:"core",description:"File too big",standard:"bsd"},{name:"SIGVTALRM",number:26,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGPROF",number:27,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGWINCH",number:28,action:"ignore",description:"Terminal window size changed",standard:"bsd"},{name:"SIGIO",number:29,action:"terminate",description:"I/O is available",standard:"other"},{name:"SIGPOLL",number:29,action:"terminate",description:"Watched event",standard:"other"},{name:"SIGINFO",number:29,action:"ignore",description:"Request for process information",standard:"other"},{name:"SIGPWR",number:30,action:"terminate",description:"Device running out of power",standard:"systemv"},{name:"SIGSYS",number:31,action:"core",description:"Invalid system call",standard:"other"},{name:"SIGUNUSED",number:31,action:"terminate",description:"Invalid system call",standard:"other"}],__=()=>{const e=(()=>{const e=y_-b_+1;return Array.from({length:e},v_)})();return[...w_,...e].map(E_)},E_=({name:e,number:t,description:n,action:i,forced:s=!1,standard:o})=>{const{signals:{[e]:a}}=R,r=void 0!==a;return{name:e,number:r?a:t,description:n,supported:r,action:i,forced:s,standard:o}},S_=({name:e,number:t,description:n,supported:i,action:s,forced:o,standard:a})=>[e,{name:e,number:t,description:n,supported:i,action:s,forced:o,standard:a}],k_=(()=>{const e=__();return Object.fromEntries(e.map(S_))})(),R_=(e,t)=>{const n=T_(e,t);if(void 0===n)return{};const{name:i,description:s,supported:o,action:a,forced:r,standard:c}=n;return{[e]:{name:i,number:e,description:s,supported:o,action:a,forced:r,standard:c}}},T_=(e,t)=>{const n=t.find((({name:t})=>R.signals[t]===e));return void 0!==n?n:t.find((t=>t.number===e))};(()=>{const e=__(),t=y_+1,n=Array.from({length:t},((t,n)=>R_(n,e)));Object.assign({},...n)})();const O_=({stdout:e,stderr:t,all:n,error:i,signal:s,exitCode:o,command:a,escapedCommand:r,timedOut:c,isCanceled:p,killed:l,parsed:{options:{timeout:u,cwd:d=T.cwd()}}})=>{o=null===o?void 0:o;const m=void 0===(s=null===s?void 0:s)?void 0:k_[s].description,f=(({timedOut:e,timeout:t,errorCode:n,signal:i,signalDescription:s,exitCode:o,isCanceled:a})=>e?`timed out after ${t} milliseconds`:a?"was canceled":void 0!==n?`failed with ${n}`:void 0!==i?`was killed with ${i} (${s})`:void 0!==o?`failed with exit code ${o}`:"failed")({timedOut:c,timeout:u,errorCode:i&&i.code,signal:s,signalDescription:m,exitCode:o,isCanceled:p}),h=`Command ${f}: ${a}`,x="[object Error]"===Object.prototype.toString.call(i),g=x?`${h}\n${i.message}`:h,v=[g,t,e].filter(Boolean).join("\n");return x?(i.originalMessage=i.message,i.message=v):i=new Error(v),i.shortMessage=g,i.command=a,i.escapedCommand=r,i.exitCode=o,i.signal=s,i.signalDescription=m,i.stdout=e,i.stderr=t,i.cwd=d,void 0!==n&&(i.all=n),"bufferedData"in i&&delete i.bufferedData,i.failed=!0,i.timedOut=Boolean(c),i.isCanceled=p,i.killed=l&&!c,i},A_=["stdin","stdout","stderr"],C_=e=>{if(!e)return;const{stdio:t}=e;if(void 0===t)return A_.map((t=>e[t]));if((e=>A_.some((t=>void 0!==e[t])))(e))throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${A_.map((e=>`\`${e}\``)).join(", ")}`);if("string"==typeof t)return t;if(!Array.isArray(t))throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);const n=Math.max(t.length,A_.length);return Array.from({length:n},((e,n)=>t[n]))},P_=e=>{const t=C_(e);return"ipc"===t?"ipc":void 0===t||"string"==typeof t?[t,t,t,"ipc"]:t.includes("ipc")?t:[...t,"ipc"]},L_=[];L_.push("SIGHUP","SIGINT","SIGTERM"),"win32"!==process.platform&&L_.push("SIGALRM","SIGABRT","SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),"linux"===process.platform&&L_.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT");const j_=e=>!!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,I_=Symbol.for("signal-exit emitter"),N_=globalThis,F_=Object.defineProperty.bind(Object);class D_{emitted={afterExit:!1,exit:!1};listeners={afterExit:[],exit:[]};count=0;id=Math.random();constructor(){if(N_[I_])return N_[I_];F_(N_,I_,{value:this,writable:!1,enumerable:!1,configurable:!1})}on(e,t){this.listeners[e].push(t)}removeListener(e,t){const n=this.listeners[e],i=n.indexOf(t);-1!==i&&(0===i&&1===n.length?n.length=0:n.splice(i,1))}emit(e,t,n){if(this.emitted[e])return!1;this.emitted[e]=!0;let i=!1;for(const s of this.listeners[e])i=!0===s(t,n)||i;return"exit"===e&&(i=this.emit("afterExit",t,n)||i),i}}class M_{}const $_=globalThis.process,{onExit:B_,load:U_,unload:z_}=(H_=j_($_)?new class extends M_{#n="win32"===$_.platform?"SIGINT":"SIGHUP";#i=new D_;#s;#o;#a;#r={};#c=!1;constructor(e){super(),this.#s=e,this.#r={};for(const t of L_)this.#r[t]=()=>{const n=this.#s.listeners(t);let{count:i}=this.#i;const s=e;if("object"==typeof s.__signal_exit_emitter__&&"number"==typeof s.__signal_exit_emitter__.count&&(i+=s.__signal_exit_emitter__.count),n.length===i){this.unload();const n=this.#i.emit("exit",null,t),i="SIGHUP"===t?this.#n:t;n||e.kill(e.pid,i)}};this.#a=e.reallyExit,this.#o=e.emit}onExit(e,t){if(!j_(this.#s))return()=>{};!1===this.#c&&this.load();const n=t?.alwaysLast?"afterExit":"exit";return this.#i.on(n,e),()=>{this.#i.removeListener(n,e),0===this.#i.listeners.exit.length&&0===this.#i.listeners.afterExit.length&&this.unload()}}load(){if(!this.#c){this.#c=!0,this.#i.count+=1;for(const e of L_)try{const t=this.#r[e];t&&this.#s.on(e,t)}catch(e){}this.#s.emit=(e,...t)=>this.#p(e,...t),this.#s.reallyExit=e=>this.#l(e)}}unload(){this.#c&&(this.#c=!1,L_.forEach((e=>{const t=this.#r[e];if(!t)throw new Error("Listener not defined for signal: "+e);try{this.#s.removeListener(e,t)}catch(e){}})),this.#s.emit=this.#o,this.#s.reallyExit=this.#a,this.#i.count-=1)}#l(e){return j_(this.#s)?(this.#s.exitCode=e||0,this.#i.emit("exit",this.#s.exitCode,null),this.#a.call(this.#s,this.#s.exitCode)):0}#p(e,...t){const n=this.#o;if("exit"===e&&j_(this.#s)){"number"==typeof t[0]&&(this.#s.exitCode=t[0]);const i=n.call(this.#s,e,...t);return this.#i.emit("exit",this.#s.exitCode,null),i}return n.call(this.#s,e,...t)}}($_):new class extends M_{onExit(){return()=>{}}load(){}unload(){}},{onExit:(e,t)=>H_.onExit(e,t),load:()=>H_.load(),unload:()=>H_.unload()});var H_;const G_=(e,t="SIGTERM",n={})=>{const i=e(t);return q_(e,t,n,i),i},q_=(e,t,n,i)=>{if(!W_(t,n,i))return;const s=V_(n),o=setTimeout((()=>{e("SIGKILL")}),s);o.unref&&o.unref()},W_=(e,{forceKillAfterTimeout:t},n)=>K_(e)&&!1!==t&&n,K_=e=>e===S.constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase(),V_=({forceKillAfterTimeout:e=!0})=>{if(!0===e)return 5e3;if(!Number.isFinite(e)||e<0)throw new TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e},Y_=(e,t)=>{e.kill()&&(t.isCanceled=!0)},Q_=(e,{timeout:t,killSignal:n="SIGTERM"},i)=>{if(0===t||void 0===t)return i;let s;const o=new Promise(((i,o)=>{s=setTimeout((()=>{((e,t,n)=>{e.kill(t),n(Object.assign(new Error("Timed out"),{timedOut:!0,signal:t}))})(e,n,o)}),t)})),a=i.finally((()=>{clearTimeout(s)}));return Promise.race([o,a])},X_=({timeout:e})=>{if(void 0!==e&&(!Number.isFinite(e)||e<0))throw new TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`)},J_=async(e,{cleanup:t,detached:n},i)=>{if(!t||n)return i;const s=B_((()=>{e.kill()}));return i.finally((()=>{s()}))};function Z_(e){return null!==e&&"object"==typeof e&&"function"==typeof e.pipe}function eE(e){return Z_(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState}const tE=(e,t,n)=>{if("string"==typeof n)return e[t].pipe(i(n)),e;if(eE(n))return e[t].pipe(n),e;if(!(e=>e instanceof N&&"function"==typeof e.then)(n))throw new TypeError("The second argument must be a string, a stream or an Execa child process.");if(!eE(n.stdin))throw new TypeError("The target child process's stdin must be available.");return e[t].pipe(n.stdin),n},nE=e=>{null!==e.stdout&&(e.pipeStdout=tE.bind(void 0,e,"stdout")),null!==e.stderr&&(e.pipeStderr=tE.bind(void 0,e,"stderr")),void 0!==e.all&&(e.pipeAll=tE.bind(void 0,e,"all"))},iE=async(e,{init:t,convertChunk:n,getSize:i,truncateChunk:s,addChunk:o,getFinalChunk:a,finalize:r},{maxBuffer:c=Number.POSITIVE_INFINITY}={})=>{if(!rE(e))throw new Error("The first argument must be a Readable, a ReadableStream, or an async iterable.");const p=t();p.length=0;try{for await(const t of e){const e=n[cE(t)](t,p);oE({convertedChunk:e,state:p,getSize:i,truncateChunk:s,addChunk:o,maxBuffer:c})}return sE({state:p,convertChunk:n,getSize:i,truncateChunk:s,addChunk:o,getFinalChunk:a,maxBuffer:c}),r(p)}catch(e){throw e.bufferedData=r(p),e}},sE=({state:e,getSize:t,truncateChunk:n,addChunk:i,getFinalChunk:s,maxBuffer:o})=>{const a=s(e);void 0!==a&&oE({convertedChunk:a,state:e,getSize:t,truncateChunk:n,addChunk:i,maxBuffer:o})},oE=({convertedChunk:e,state:t,getSize:n,truncateChunk:i,addChunk:s,maxBuffer:o})=>{const a=n(e),r=t.length+a;if(r<=o)return void aE(e,t,s,r);const c=i(e,o-t.length);throw void 0!==c&&aE(c,t,s,o),new lE},aE=(e,t,n,i)=>{t.contents=n(e,t,i),t.length=i},rE=e=>"object"==typeof e&&null!==e&&"function"==typeof e[Symbol.asyncIterator],cE=e=>{const t=typeof e;if("string"===t)return"string";if("object"!==t||null===e)return"others";if(globalThis.Buffer?.isBuffer(e))return"buffer";const n=pE.call(e);return"[object ArrayBuffer]"===n?"arrayBuffer":"[object DataView]"===n?"dataView":Number.isInteger(e.byteLength)&&Number.isInteger(e.byteOffset)&&"[object ArrayBuffer]"===pE.call(e.buffer)?"typedArray":"others"},{toString:pE}=Object.prototype;class lE extends Error{name="MaxBufferError";constructor(){super("maxBuffer exceeded")}}const uE=e=>{throw new Error(`Streams in object mode are not supported: ${String(e)}`)},dE=e=>e.length;const mE=new TextEncoder,fE=e=>new Uint8Array(e),hE=e=>new Uint8Array(e.buffer,e.byteOffset,e.byteLength),xE=(e,t)=>{if(t<=e.byteLength)return e;const n=new ArrayBuffer(vE(t));return new Uint8Array(n).set(new Uint8Array(e),0),n},gE=(e,t)=>{if(t<=e.maxByteLength)return e.resize(t),e;const n=new ArrayBuffer(t,{maxByteLength:vE(t)});return new Uint8Array(n).set(new Uint8Array(e),0),n},vE=e=>bE**Math.ceil(Math.log(e)/Math.log(bE)),bE=2,yE=()=>"resize"in ArrayBuffer.prototype,wE={init:()=>({contents:new ArrayBuffer(0)}),convertChunk:{string:e=>mE.encode(e),buffer:fE,arrayBuffer:fE,dataView:hE,typedArray:hE,others:uE},getSize:dE,truncateChunk:(e,t)=>e.slice(0,t),addChunk:(e,{contents:t,length:n},i)=>{const s=yE()?gE(t,i):xE(t,i);return new Uint8Array(s).set(e,n),s},getFinalChunk:()=>{},finalize:({contents:e,length:t})=>yE()?e:e.slice(0,t)};async function _E(e,t){if(!("Buffer"in globalThis))throw new Error("getStreamAsBuffer() is only supported in Node.js");try{return EE(await async function(e,t){return iE(e,wE,t)}(e,t))}catch(e){throw void 0!==e.bufferedData&&(e.bufferedData=EE(e.bufferedData)),e}}const EE=e=>globalThis.Buffer.from(e);const SE=(e,{textDecoder:t})=>t.decode(e,{stream:!0}),kE={init:()=>({contents:"",textDecoder:new TextDecoder}),convertChunk:{string:e=>e,buffer:SE,arrayBuffer:SE,dataView:SE,typedArray:SE,others:uE},getSize:dE,truncateChunk:(e,t)=>e.slice(0,t),addChunk:(e,{contents:t})=>t+e,getFinalChunk:({textDecoder:e})=>{const t=e.decode();return""===t?void 0:t},finalize:({contents:e})=>e},{PassThrough:RE}=l;var TE=function(){var e=[],t=new RE({objectMode:!0});return t.setMaxListeners(0),t.add=n,t.isEmpty=function(){return 0==e.length},t.on("unpipe",i),Array.prototype.slice.call(arguments).forEach(n),t;function n(s){return Array.isArray(s)?(s.forEach(n),this):(e.push(s),s.once("end",i.bind(null,s)),s.once("error",t.emit.bind(t,"error")),s.pipe(t,{end:!1}),this)}function i(n){!(e=e.filter((function(e){return e!==n}))).length&&t.readable&&t.end()}},OE=ye(TE);const AE=({input:e,inputFile:t})=>"string"!=typeof t?e:((e=>{if(void 0!==e)throw new TypeError("The `input` and `inputFile` options cannot be both set.")})(e),s(t)),CE=(e,t)=>{const n=AE(t);void 0!==n&&(Z_(n)?n.pipe(e.stdin):e.stdin.end(n))},PE=(e,{all:t})=>{if(!t||!e.stdout&&!e.stderr)return;const n=OE();return e.stdout&&n.add(e.stdout),e.stderr&&n.add(e.stderr),n},LE=async(e,t)=>{if(e&&void 0!==t){await D(0),e.destroy();try{return await t}catch(e){return e.bufferedData}}},jE=(e,{encoding:t,buffer:n,maxBuffer:i})=>{if(e&&n)return"utf8"===t||"utf-8"===t?async function(e,t){return iE(e,kE,t)}(e,{maxBuffer:i}):null===t||"buffer"===t?_E(e,{maxBuffer:i}):IE(e,i,t)},IE=async(e,t,n)=>(await _E(e,{maxBuffer:t})).toString(n),NE=async({stdout:e,stderr:t,all:n},{encoding:i,buffer:s,maxBuffer:o},a)=>{const r=jE(e,{encoding:i,buffer:s,maxBuffer:o}),c=jE(t,{encoding:i,buffer:s,maxBuffer:o}),p=jE(n,{encoding:i,buffer:s,maxBuffer:2*o});try{return await Promise.all([a,r,c,p])}catch(i){return Promise.all([{error:i,signal:i.signal,timedOut:i.timedOut},LE(e,r),LE(t,c),LE(n,p)])}},FE=(async()=>{})().constructor.prototype,DE=["then","catch","finally"].map((e=>[e,Reflect.getOwnPropertyDescriptor(FE,e)])),ME=(e,t)=>{for(const[n,i]of DE){const s="function"==typeof t?(...e)=>Reflect.apply(i.value,t(),e):i.value.bind(t);Reflect.defineProperty(e,n,{...i,value:s})}},$E=e=>new Promise(((t,n)=>{e.on("exit",((e,n)=>{t({exitCode:e,signal:n})})),e.on("error",(e=>{n(e)})),e.stdin&&e.stdin.on("error",(e=>{n(e)}))})),BE=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],UE=/^[\w.-]+$/,zE=(e,t)=>BE(e,t).join(" "),HE=(e,t)=>BE(e,t).map((e=>(e=>"string"!=typeof e||UE.test(e)?e:`"${e.replaceAll('"','\\"')}"`)(e))).join(" "),GE=M("execa").enabled,qE=(e,t)=>String(e).padStart(t,"0"),WE=(e,{verbose:t})=>{t&&T.stderr.write(`[${(()=>{const e=new Date;return`${qE(e.getHours(),2)}:${qE(e.getMinutes(),2)}:${qE(e.getSeconds(),2)}.${qE(e.getMilliseconds(),3)}`})()}] ${e}\n`)},KE=(t,n,i={})=>{const s=o_._parse(t,n,i);return t=s.command,n=s.args,(i={maxBuffer:1e8,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:(i=s.options).cwd||T.cwd(),execPath:T.execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:GE,...i}).env=(({env:e,extendEnv:t,preferLocal:n,localDir:i,execPath:s})=>{const o=t?{...T.env,...e}:e;return n?p_({env:o,cwd:i,execPath:s}):o})(i),i.stdio=C_(i),"win32"===T.platform&&"cmd"===e.basename(t,".exe")&&n.unshift("/q"),{file:t,args:n,options:i,parsed:s}},VE=(e,t,n)=>"string"==typeof t||j.isBuffer(t)?e.stripFinalNewline?function(e){const t="string"==typeof e?"\n":"\n".charCodeAt(),n="string"==typeof e?"\r":"\r".charCodeAt();return e[e.length-1]===t&&(e=e.slice(0,-1)),e[e.length-1]===n&&(e=e.slice(0,-1)),e}(t):t:void 0===n?void 0:"";function YE(e,t,n){const i=KE(e,t,n),s=zE(e,t),o=HE(e,t);let a;WE(o,i.options),X_(i.options);try{a=I.spawn(i.file,i.args,i.options)}catch(e){const t=new I.ChildProcess,n=Promise.reject(O_({error:e,stdout:"",stderr:"",all:"",command:s,escapedCommand:o,parsed:i,timedOut:!1,isCanceled:!1,killed:!1}));return ME(t,n),t}const r=$E(a),c=Q_(a,i.options,r),p=J_(a,i.options,c);a.kill=G_.bind(null,a.kill.bind(a)),a.cancel=Y_.bind(null,a,{isCanceled:!1});const l=g_((async()=>{const[{error:e,exitCode:t,signal:n,timedOut:r},c,l,u]=await NE(a,i.options,p),d=VE(i.options,c),m=VE(i.options,l),f=VE(i.options,u);if(e||0!==t||null!==n){const c=O_({error:e,exitCode:t,signal:n,stdout:d,stderr:m,all:f,command:s,escapedCommand:o,parsed:i,timedOut:r,isCanceled:!!i.options.signal&&i.options.signal.aborted,killed:a.killed});if(!i.options.reject)return c;throw c}return{command:s,escapedCommand:o,exitCode:0,stdout:d,stderr:m,all:f,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}}));return CE(a,i.options),a.all=PE(a,i.options),nE(a),ME(a,l),a}const QE={}.hasOwnProperty,XE=/^([A-Z][a-z\d]*)+$/,JE=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),ZE={};function eS(e,t="and"){return e.length<3?e.join(` ${t} `):`${e.slice(0,-1).join(", ")}, ${t} ${e[e.length-1]}`}const tS=new Map;let nS;function iS(e,t,n){return tS.set(e,t),function(e,t){return n;function n(...n){const i=Error.stackTraceLimit;sS()&&(Error.stackTraceLimit=0);const s=new e;sS()&&(Error.stackTraceLimit=i);const o=function(e,t,n){const i=tS.get(e);if(U(void 0!==i,"expected `message` to be found"),"function"==typeof i)return U(i.length<=t.length,`Code: ${e}; The provided arguments length (${t.length}) does not match the required ones (${i.length}).`),Reflect.apply(i,n,t);const s=/%[dfijoOs]/g;let o=0;for(;null!==s.exec(i);)o++;return U(o===t.length,`Code: ${e}; The provided arguments length (${t.length}) does not match the required ones (${o}).`),0===t.length?i:(t.unshift(i),Reflect.apply($,null,t))}(t,n,s);return Object.defineProperties(s,{message:{value:o,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${t}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),oS(s),s.code=t,s}}(n,e)}function sS(){try{if(H.startupSnapshot.isBuildingSnapshot())return!1}catch{}const e=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return void 0===e?Object.isExtensible(Error):QE.call(e,"writable")&&void 0!==e.writable?e.writable:void 0!==e.set}ZE.ERR_INVALID_ARG_TYPE=iS("ERR_INVALID_ARG_TYPE",((e,t,n)=>{U("string"==typeof e,"'name' must be a string"),Array.isArray(t)||(t=[t]);let i="The ";if(e.endsWith(" argument"))i+=`${e} `;else{const t=e.includes(".")?"property":"argument";i+=`"${e}" ${t} `}i+="must be ";const s=[],o=[],a=[];for(const e of t)U("string"==typeof e,"All expected entries have to be of type string"),JE.has(e)?s.push(e.toLowerCase()):null===XE.exec(e)?(U("object"!==e,'The value "object" should be written as "Object"'),a.push(e)):o.push(e);if(o.length>0){const e=s.indexOf("object");-1!==e&&(s.slice(e,1),o.push("Object"))}return s.length>0&&(i+=`${s.length>1?"one of type":"of type"} ${eS(s,"or")}`,(o.length>0||a.length>0)&&(i+=" or ")),o.length>0&&(i+=`an instance of ${eS(o,"or")}`,a.length>0&&(i+=" or ")),a.length>0&&(a.length>1?i+=`one of ${eS(a,"or")}`:(a[0].toLowerCase()!==a[0]&&(i+="an "),i+=`${a[0]}`)),i+=`. Received ${function(e){if(null==e)return String(e);if("function"==typeof e&&e.name)return`function ${e.name}`;if("object"==typeof e)return e.constructor&&e.constructor.name?`an instance of ${e.constructor.name}`:`${B(e,{depth:-1})}`;let t=B(e,{colors:!1});t.length>28&&(t=`${t.slice(0,25)}...`);return`type ${typeof e} (${t})`}(n)}`,i}),TypeError),ZE.ERR_INVALID_MODULE_SPECIFIER=iS("ERR_INVALID_MODULE_SPECIFIER",((e,t,n=void 0)=>`Invalid module "${e}" ${t}${n?` imported from ${n}`:""}`),TypeError),ZE.ERR_INVALID_PACKAGE_CONFIG=iS("ERR_INVALID_PACKAGE_CONFIG",((e,t,n)=>`Invalid package config ${e}${t?` while importing ${t}`:""}${n?`. ${n}`:""}`),Error),ZE.ERR_INVALID_PACKAGE_TARGET=iS("ERR_INVALID_PACKAGE_TARGET",((e,t,n,i=!1,s=void 0)=>{const o="string"==typeof n&&!i&&n.length>0&&!n.startsWith("./");return"."===t?(U(!1===i),`Invalid "exports" main target ${JSON.stringify(n)} defined in the package config ${e}package.json${s?` imported from ${s}`:""}${o?'; targets must start with "./"':""}`):`Invalid "${i?"imports":"exports"}" target ${JSON.stringify(n)} defined for '${t}' in the package config ${e}package.json${s?` imported from ${s}`:""}${o?'; targets must start with "./"':""}`}),Error),ZE.ERR_MODULE_NOT_FOUND=iS("ERR_MODULE_NOT_FOUND",((e,t,n=!1)=>`Cannot find ${n?"module":"package"} '${e}' imported from ${t}`),Error),ZE.ERR_NETWORK_IMPORT_DISALLOWED=iS("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error),ZE.ERR_PACKAGE_IMPORT_NOT_DEFINED=iS("ERR_PACKAGE_IMPORT_NOT_DEFINED",((e,t,n)=>`Package import specifier "${e}" is not defined${t?` in package ${t}package.json`:""} imported from ${n}`),TypeError),ZE.ERR_PACKAGE_PATH_NOT_EXPORTED=iS("ERR_PACKAGE_PATH_NOT_EXPORTED",((e,t,n=void 0)=>"."===t?`No "exports" main defined in ${e}package.json${n?` imported from ${n}`:""}`:`Package subpath '${t}' is not defined by "exports" in ${e}package.json${n?` imported from ${n}`:""}`),Error),ZE.ERR_UNSUPPORTED_DIR_IMPORT=iS("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),ZE.ERR_UNKNOWN_FILE_EXTENSION=iS("ERR_UNKNOWN_FILE_EXTENSION",((e,t)=>`Unknown file extension "${e}" for ${t}`),TypeError),ZE.ERR_INVALID_ARG_VALUE=iS("ERR_INVALID_ARG_VALUE",((e,t,n="is invalid")=>{let i=B(t);i.length>128&&(i=`${i.slice(0,128)}...`);return`The ${e.includes(".")?"property":"argument"} '${e}' ${n}. Received ${i}`}),TypeError);const oS=function(e){const t="__node_internal_"+e.name;return Object.defineProperty(e,"name",{value:t}),e}((function(e){const t=sS();return t&&(nS=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(e),t&&(Error.stackTraceLimit=nS),e}));const aS={}.hasOwnProperty,{ERR_INVALID_PACKAGE_CONFIG:rS}=ZE,cS=new Map,pS={read:function(t,{base:i,specifier:s}){const o=cS.get(t);if(o)return o;let a;try{a=n.readFileSync(e.toNamespacedPath(t),"utf8")}catch(e){const t=e;if("ENOENT"!==t.code)throw t}const r={exists:!1,pjsonPath:t,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};if(void 0!==a){let e;try{e=JSON.parse(a)}catch(e){const n=e,o=new rS(t,(i?`"${s}" from `:"")+A(i||s),n.message);throw o.cause=n,o}r.exists=!0,aS.call(e,"name")&&"string"==typeof e.name&&(r.name=e.name),aS.call(e,"main")&&"string"==typeof e.main&&(r.main=e.main),aS.call(e,"exports")&&(r.exports=e.exports),aS.call(e,"imports")&&(r.imports=e.imports),!aS.call(e,"type")||"commonjs"!==e.type&&"module"!==e.type||(r.type=e.type)}return cS.set(t,r),r}};function lS(e){let t=new C("package.json",e);for(;;){if(t.pathname.endsWith("node_modules/package.json"))break;const n=pS.read(A(t),{specifier:e});if(n.exists)return n;const i=t;if(t=new C("../package.json",t),t.pathname===i.pathname)break}return{pjsonPath:A(t),exists:!1,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0}}function uS(e){return lS(e).type}const{ERR_UNKNOWN_FILE_EXTENSION:dS}=ZE,mS={}.hasOwnProperty,fS={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"};const hS={__proto__:null,"data:":function(e){const{1:t}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(e.pathname)||[null,null,null];return function(e){return e&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(e)?"module":"application/json"===e?"json":null}(t)},"file:":function(e,t,n){const i=function(e){const t=e.pathname;let n=t.length;for(;n--;){const e=t.codePointAt(n);if(47===e)return"";if(46===e)return 47===t.codePointAt(n-1)?"":t.slice(n)}return""}(e);if(".js"===i){const t=uS(e);return"none"!==t?t:"commonjs"}if(""===i){const t=uS(e);return"none"===t||"commonjs"===t?"commonjs":"module"}const s=fS[i];if(s)return s;if(n)return;const o=A(e);throw new dS(i,o)},"http:":xS,"https:":xS,"node:":()=>"builtin"};function xS(){}function gS(e,t){const n=e.protocol;return mS.call(hS,n)&&hS[n](e,t,!0)||null}const{ERR_INVALID_ARG_VALUE:vS}=ZE,bS=Object.freeze(["node","import"]),yS=new Set(bS);function wS(e){if(void 0!==e&&e!==bS){if(!Array.isArray(e))throw new vS("conditions",e,"expected an array");return new Set(e)}return yS}const _S=RegExp.prototype[Symbol.replace],{ERR_NETWORK_IMPORT_DISALLOWED:ES,ERR_INVALID_MODULE_SPECIFIER:SS,ERR_INVALID_PACKAGE_CONFIG:kS,ERR_INVALID_PACKAGE_TARGET:RS,ERR_MODULE_NOT_FOUND:TS,ERR_PACKAGE_IMPORT_NOT_DEFINED:OS,ERR_PACKAGE_PATH_NOT_EXPORTED:AS,ERR_UNSUPPORTED_DIR_IMPORT:CS}=ZE,PS={}.hasOwnProperty,LS=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i,jS=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i,IS=/^\.|%|\\/,NS=/\*/g,FS=/%2f|%5c/i,DS=new Set,MS=/[/\\]{2}/;function $S(e,t,n,i,s,o,a){if(T.noDeprecation)return;const r=A(i),c=null!==MS.exec(a?e:t);T.emitWarning(`Use of deprecated ${c?"double slash":"leading or trailing slash matching"} resolving "${e}" for module request "${t}" ${t===n?"":`matched to "${n}" `}in the "${s?"imports":"exports"}" field module resolution of the package at ${r}${o?` imported from ${A(o)}`:""}.`,"DeprecationWarning","DEP0166")}function BS(t,n,i,s){if(T.noDeprecation)return;if("module"!==gS(t,{parentURL:i.href}))return;const o=A(t.href),a=A(new C(".",n)),r=A(i);s?e.resolve(a,s)!==o&&T.emitWarning(`Package ${a} has a "main" field set to "${s}", excluding the full filename and extension to the resolved file at "${o.slice(a.length)}", imported from ${r}.\n Automatic extension resolution of the "main" field is deprecated for ES modules.`,"DeprecationWarning","DEP0151"):T.emitWarning(`No "main" or "exports" field defined in the package.json for ${a} resolving the main entry point "${o.slice(a.length)}", imported from ${r}.\nDefault "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function US(e){try{return a(e)}catch{return new r}}function zS(e){const t=a(e,{throwIfNoEntry:!1}),n=t?t.isFile():void 0;return null!=n&&n}function HS(e,t,n){let i;if(void 0!==t.main){if(i=new C(t.main,e),zS(i))return i;const s=[`./${t.main}.js`,`./${t.main}.json`,`./${t.main}.node`,`./${t.main}/index.js`,`./${t.main}/index.json`,`./${t.main}/index.node`];let o=-1;for(;++o<s.length&&(i=new C(s[o],e),!zS(i));)i=void 0;if(i)return BS(i,e,n,t.main),i}const s=["./index.js","./index.json","./index.node"];let o=-1;for(;++o<s.length&&(i=new C(s[o],e),!zS(i));)i=void 0;if(i)return BS(i,e,n,t.main),i;throw new TS(A(new C(".",e)),A(n))}function GS(e,t,n){return new AS(A(new C(".",t)),e,n&&A(n))}function qS(e,t,n,i,s){return t="object"==typeof t&&null!==t?JSON.stringify(t,null,""):`${t}`,new RS(A(new C(".",n)),e,t,i,s&&A(s))}function WS(e,t,n,i,s,o,a,r,c){if(""!==t&&!o&&"/"!==e[e.length-1])throw qS(n,e,i,a,s);if(!e.startsWith("./")){if(a&&!e.startsWith("../")&&!e.startsWith("/")){let n=!1;try{new C(e),n=!0}catch{}if(!n){return ZS(o?_S.call(NS,e,(()=>t)):e+t,i,c)}}throw qS(n,e,i,a,s)}if(null!==LS.exec(e.slice(2))){if(null!==jS.exec(e.slice(2)))throw qS(n,e,i,a,s);if(!r){const r=o?n.replace("*",(()=>t)):n+t;$S(o?_S.call(NS,e,(()=>t)):e,r,n,i,a,s,!0)}}const p=new C(e,i),l=p.pathname,u=new C(".",i).pathname;if(!l.startsWith(u))throw qS(n,e,i,a,s);if(""===t)return p;if(null!==LS.exec(t)){const c=o?n.replace("*",(()=>t)):n+t;if(null===jS.exec(t)){if(!r){$S(o?_S.call(NS,e,(()=>t)):e,c,n,i,a,s,!1)}}else!function(e,t,n,i,s){const o=`request is not a valid match in pattern "${t}" for the "${i?"imports":"exports"}" resolution of ${A(n)}`;throw new SS(e,o,s&&A(s))}(c,n,i,a,s)}return o?new C(_S.call(NS,p.href,(()=>t))):new C(t,p)}function KS(e){const t=Number(e);return`${t}`===e&&(t>=0&&t<4294967295)}function VS(e,t,n,i,s,o,a,r,c){if("string"==typeof t)return WS(t,n,i,e,s,o,a,r,c);if(Array.isArray(t)){const p=t;if(0===p.length)return null;let l,u=-1;for(;++u<p.length;){const t=p[u];let d;try{d=VS(e,t,n,i,s,o,a,r,c)}catch(e){if(l=e,"ERR_INVALID_PACKAGE_TARGET"===e.code)continue;throw e}if(void 0!==d){if(null!==d)return d;l=null}}if(null==l)return null;throw l}if("object"==typeof t&&null!==t){const p=Object.getOwnPropertyNames(t);let l=-1;for(;++l<p.length;){if(KS(p[l]))throw new kS(A(e),s,'"exports" cannot contain numeric property keys.')}for(l=-1;++l<p.length;){const u=p[l];if("default"===u||c&&c.has(u)){const p=VS(e,t[u],n,i,s,o,a,r,c);if(void 0===p)continue;return p}}return null}if(null===t)return null;throw qS(i,t,e,a,s)}function YS(e,t,n){if(T.noDeprecation)return;const i=A(t);DS.has(i+"|"+e)||(DS.add(i+"|"+e),T.emitWarning(`Use of deprecated trailing slash pattern mapping "${e}" in the "exports" field module resolution of the package at ${i}${n?` imported from ${A(n)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function QS(e,t,n,i,s){let o=n.exports;if(function(e,t,n){if("string"==typeof e||Array.isArray(e))return!0;if("object"!=typeof e||null===e)return!1;const i=Object.getOwnPropertyNames(e);let s=!1,o=0,a=-1;for(;++a<i.length;){const e=i[a],r=""===e||"."!==e[0];if(0==o++)s=r;else if(s!==r)throw new kS(A(t),n,"\"exports\" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.")}return s}(o,e,i)&&(o={".":o}),PS.call(o,t)&&!t.includes("*")&&!t.endsWith("/")){const n=VS(e,o[t],"",t,i,!1,!1,!1,s);if(null==n)throw GS(t,e,i);return n}let a="",r="";const c=Object.getOwnPropertyNames(o);let p=-1;for(;++p<c.length;){const n=c[p],s=n.indexOf("*");if(-1!==s&&t.startsWith(n.slice(0,s))){t.endsWith("/")&&YS(t,e,i);const o=n.slice(s+1);t.length>=n.length&&t.endsWith(o)&&1===XS(a,n)&&n.lastIndexOf("*")===s&&(a=n,r=t.slice(s,t.length-o.length))}}if(a){const n=VS(e,o[a],r,a,i,!0,!1,t.endsWith("/"),s);if(null==n)throw GS(t,e,i);return n}throw GS(t,e,i)}function XS(e,t){const n=e.indexOf("*"),i=t.indexOf("*"),s=-1===n?e.length:n+1,o=-1===i?t.length:i+1;return s>o?-1:o>s||-1===n?1:-1===i||e.length>t.length?-1:t.length>e.length?1:0}function JS(e,t,n){if("#"===e||e.startsWith("#/")||e.endsWith("/")){throw new SS(e,"is not a valid internal imports specifier name",A(t))}let i;const s=lS(t);if(s.exists){i=P(s.pjsonPath);const o=s.imports;if(o)if(PS.call(o,e)&&!e.includes("*")){const s=VS(i,o[e],"",e,t,!1,!0,!1,n);if(null!=s)return s}else{let s="",a="";const r=Object.getOwnPropertyNames(o);let c=-1;for(;++c<r.length;){const t=r[c],n=t.indexOf("*");if(-1!==n&&e.startsWith(t.slice(0,-1))){const i=t.slice(n+1);e.length>=t.length&&e.endsWith(i)&&1===XS(s,t)&&t.lastIndexOf("*")===n&&(s=t,a=e.slice(n,e.length-i.length))}}if(s){const e=VS(i,o[s],a,s,t,!0,!0,!1,n);if(null!=e)return e}}}throw function(e,t,n){return new OS(e,t&&A(new C(".",t)),A(n))}(e,i,t)}function ZS(e,t,n){if(z.includes(e))return new C("node:"+e);const{packageName:i,packageSubpath:s,isScoped:o}=function(e,t){let n=e.indexOf("/"),i=!0,s=!1;"@"===e[0]&&(s=!0,-1===n||0===e.length?i=!1:n=e.indexOf("/",n+1));const o=-1===n?e:e.slice(0,n);if(null!==IS.exec(o)&&(i=!1),!i)throw new SS(e,"is not a valid package name",A(t));return{packageName:o,packageSubpath:"."+(-1===n?"":e.slice(n)),isScoped:s}}(e,t),a=lS(t);if(a.exists){const e=P(a.pjsonPath);if(a.name===i&&void 0!==a.exports&&null!==a.exports)return QS(e,s,a,t,n)}let r,c=new C("./node_modules/"+i+"/package.json",t),p=A(c);do{if(!US(p.slice(0,-13)).isDirectory()){r=p,c=new C((o?"../../../../node_modules/":"../../../node_modules/")+i+"/package.json",c),p=A(c);continue}const a=pS.read(p,{base:t,specifier:e});return void 0!==a.exports&&null!==a.exports?QS(c,s,a,t,n):"."===s?HS(c,a,t):new C(s,c)}while(p.length!==r.length);throw new TS(i,A(t),!1)}function ek(e){return""!==e&&("/"===e[0]||function(e){if("."===e[0]){if(1===e.length||"/"===e[1])return!0;if("."===e[1]&&(2===e.length||"/"===e[2]))return!0}return!1}(e))}function tk(t,n,i,s){const a=n.protocol,r="http:"===a||"https:"===a;let c;if(ek(t))c=new C(t,n);else if(r||"#"!==t[0])try{c=new C(t)}catch{r||(c=ZS(t,n,i))}else c=JS(t,n,i);return U(void 0!==c,"expected to be defined"),"file:"!==c.protocol?c:function(t,n,i){if(null!==FS.exec(t.pathname))throw new SS(t.pathname,'must not include encoded "/" or "\\" characters',A(n));let s;try{s=A(t)}catch(e){const i=e;throw Object.defineProperty(i,"input",{value:String(t)}),Object.defineProperty(i,"module",{value:String(n)}),i}const a=US(s.endsWith("/")?s.slice(-1):s);if(a.isDirectory()){const e=new CS(s,A(n));throw e.url=String(t),e}if(!a.isFile()){const e=new TS(s||t.pathname,n&&A(n),!0);throw e.url=String(t),e}if(!i){const n=o(s),{search:i,hash:a}=t;(t=P(n+(s.endsWith(e.sep)?"/":""))).search=i,t.hash=a}return t}(c,n,s)}function nk(e){if(void 0!==e&&"string"!=typeof e&&!function(e){return Boolean(e&&"object"==typeof e&&"href"in e&&"string"==typeof e.href&&"protocol"in e&&"string"==typeof e.protocol&&e.href&&e.protocol)}(e))throw new ZE.ERR_INVALID_ARG_TYPE("parentURL",["string","URL"],e)}function ik(e,t={}){const{parentURL:n}=t;let i,s;if(U(void 0!==n,"expected `parentURL` to be defined"),nk(n),n)try{i=new C(n)}catch{}try{s=ek(e)?new C(e,i):new C(e);if("data:"===s.protocol)return{url:s.href,format:null}}catch{}const o=function(e,t,n){if(n){const i=n.protocol;if("http:"===i||"https:"===i){if(ek(e)){const i=t?.protocol;if(i&&"https:"!==i&&"http:"!==i)throw new ES(e,n,"remote imports cannot import from a local location.");return{url:t?.href||""}}if(z.includes(e))throw new ES(e,n,"remote imports cannot import from a local location.");throw new ES(e,n,"only relative and absolute specifiers are supported.")}}}(e,s,i);if(o)return o;if(s&&"node:"===s.protocol)return{url:e};const a=wS(t.conditions),r=tk(e,new C(n),a,!1);return{url:r.href,format:gS(r,{parentURL:n})}}const sk=O.fileURLToPath(function(e,t){if(!t)throw new Error("Please pass `parent`: `import-meta-resolve` cannot ponyfill that");try{return ik(e,{parentURL:t}).url}catch(e){const t=e;if(("ERR_UNSUPPORTED_DIR_IMPORT"===t.code||"ERR_MODULE_NOT_FOUND"===t.code)&&"string"==typeof t.url)return t.url;throw e}}("@comate/plugin-host/bin",import.meta.url));function ok(e,t){const n=["--no-warnings",...t.nodeOptions??[]],i=function(e,t,n={}){t&&!Array.isArray(t)&&"object"==typeof t&&(n=t,t=[]);const i=P_(n),s=T.execArgv.filter((e=>!e.startsWith("--inspect"))),{nodePath:o=T.execPath,nodeOptions:a=s}=n;return YE(o,[...a,e,...Array.isArray(t)?t:[]],{...n,stdin:void 0,stdout:void 0,stderr:void 0,stdio:i,shell:!1})}(sk,[],{nodeOptions:n,env:{...process.env,COMATE_PLUGIN_GROUP_KEY:e}});return i.on("exit",(e=>{e&&t.onUnexpectedExit?.(e)})),i.catch((e=>{e&&t.onUnexpectedError?.(e)})),i.on("message",(e=>{if(!e.comateInternalEvent)return;const n=e.comateInternalEvent;"PLUGIN_SETUP"===n.type&&t.onPluginSetup?.(n.payload.pluginName)})),i}async function ak(e,t){await async function(e){return new Promise((t=>{const n={comateInternalEvent:{type:"PING"}},i=setInterval((()=>e.send(n)),100),s=setTimeout((()=>{clearInterval(i),t(!1)}),1e3);e.once("message",(()=>{clearTimeout(s),clearInterval(i),t(!0)}))}))}(e);const n={comateInternalEvent:{type:"PLUGIN_ATTACH",payload:{directory:t.directory}}};e?.send(n);return function(e,t,n){"function"==typeof n&&(n={filter:n});const i=dw(e,t,n={...n,count:1,resolveImmediately:!1}),s=i.then((e=>e[0]));return s.cancel=i.cancel,s}(e,"message",(e=>{const n=e.comateInternalEvent;return"PLUGIN_SETUP"===n?.type&&n.payload.pluginName===t.name}))}class rk{deletedFilePath=[];diagnosticCache=new Map([]);async start(e){await this.init(e),this.watch(e)}put(e){this.diagnosticCache.set(e.filename,{diagnostics:e.diagnostics})}get(e){this.beforeGet(e);return this.diagnosticCache.get(e.context?.activeFilePath)}hasDiagnostics(){for(const e of this.diagnosticCache.values())if(e.diagnostics.length>0)return!0;return!1}isDirectory(e){try{return n.lstatSync(e).isDirectory()}catch(e){return!1}}isModifiedRecently(e,t){try{const i=n.statSync(e);return!(Date.now()-i.mtimeMs>t)}catch(e){return!1}}isAddedRecently(e,t){try{const i=n.statSync(e);return!(Date.now()-i.birthtimeMs>t)}catch(e){return!1}}async getChangedFiles(t,n){try{const{stdout:i}=await YE("git",["status","-s"],{cwd:t}),{stdout:s}=await YE("git",["ls-files","--others","--exclude-standard"],{cwd:t}),o=i.split("\n").filter((e=>e.trim())),a=s.split("\n").filter((e=>e.trim())).map((e=>`?? ${e}`)),r={added:[],deleted:[],modified:[]};return[...new Set([...o,...a])].forEach((i=>{const s=i.slice(0,2),o=i.slice(3).trim(),a=e.join(t,o.replace(/^"|"$/g,""));if(this.isDirectory(a))return;const c=this.isModifiedRecently(a,n),p=this.isAddedRecently(a,n);switch(s){case"??":p?r.added.push(a):c&&r.modified.push(a);break;case"D ":case" D":this.deletedFilePath.includes(a)||(this.deletedFilePath.push(a),r.deleted.push(a));break;case"M ":case" M":case"MM":case"AM":case" AM":case"MA":c&&r.modified.push(a)}})),r}catch{return{added:[],deleted:[],modified:[]}}}watch(e){let t=!1;setInterval((async()=>{if(t)return;t=!0;const n=await this.getChangedFiles(e.systemInfo.cwd,5e3),{added:i,modified:s,deleted:o}=n,a=s.length+i.length+o.length;a>0&&a<100&&await this.handleChangedFiles(e,n),t=!1}),5e3)}}const ck=516096;class pk{conversationBuffer=new Map([]);cleanupInterval;constructor(){this.cleanupInterval=setInterval((()=>this.cleanup()),36e5)}dispose(){this.cleanupInterval&&clearInterval(this.cleanupInterval),this.conversationBuffer.clear()}clear(e){e?this.conversationBuffer.delete(e):this.conversationBuffer.clear()}get(e){const t=this.conversationBuffer.get(e);return t?(t.lastAccessed=Date.now(),t.messages.slice(-10)):[]}putUser(e,t,n){const i={...n};if("object"==typeof e){const{onlyQuery:t}=e;t&&(i.originalQuery=t)}const s=this.conversationBuffer.get(t);if(s){if(s.messages.push(i),s.lastAccessed=Date.now(),this.getTotalChars(s.messages)>ck)for(;this.getTotalChars(s.messages)>ck&&s.messages.length>1;)s.messages.shift()}else this.conversationBuffer.set(t,{messages:[i],lastAccessed:Date.now()})}putAssistant(e,t){const n=this.conversationBuffer.get(e);if(n){if(n.messages.push({role:"assistant",content:t}),n.lastAccessed=Date.now(),this.getTotalChars(n.messages)>ck)for(;this.getTotalChars(n.messages)>ck&&n.messages.length>1;)n.messages.shift();n.messages.length>10&&(n.messages=n.messages.slice(-10))}}getConversationId(e,t,n){let i=`${t}/${n}`;if("object"==typeof e){const{byPlugin:n}=e;n&&(i=t)}return i}trimConversation(e,t=516096){const n=this.conversationBuffer.get(e);if(n){let e=0;const i=[];for(let s=n.messages.length-1;s>=0;s--){const o=n.messages[s];s!==n.messages.length-1&&o.originalQuery&&(o.content=o.originalQuery);const a=o.content.length;if(!(e+a<=t))break;i.unshift(o),e+=a}return i}return null}cleanup(){const e=Date.now();for(const[t,n]of this.conversationBuffer.entries())e-n.lastAccessed>864e5&&this.conversationBuffer.delete(t)}getTotalChars(e){return e.reduce(((e,t)=>e+t.content.length),0)}}class lk{channelGroupManager;registry=new tw;plugins=new Map;ideChannel;pluginDirectories;localConfig;constructor(e){this.pluginDirectories=e.pluginDirectories,this.localConfig=e.localConfig,this.channelGroupManager=e.channelGroupManager,this.ideChannel=new iw(e.channel??process,this.registry,this.plugins)}async start(){this.ideChannel.start();for(const e of this.pluginDirectories)await this.run(e)}async stop(){for(const e of this.plugins.values())await e.dispose()}listAllCapabilities(){return this.registry.listAllCapabilities()}async suggestCapabilitiesByMatch(e){const t={canHandle:mx,cwd:e.systemInfo.cwd,context:e.context};return await this.registry.suggestCapabilitiesByMatch(t)}async run(e){this.ideChannel.log(this.constructor.name,"PluginLoadStart",{directory:e});try{const t=await ve(e),n=this.localConfig?.[t.name]?.debug?.inspectPort,i={plugin:t,directory:e,registry:this.registry,groupManager:this.channelGroupManager,inspectPort:n},s=new ay(i);await s.setup(),this.plugins.set(t.name,s),this.ideChannel.log(this.constructor.name,"PluginLoadFish",{directory:e})}catch{this.ideChannel.log(this.constructor.name,"PluginLoadError",{directory:e})}}}export{aw as ChannelGroupManager,pk as ConversationBufferMemory,rk as DiagnosticCache,ow as PluginChannel,lk as PluginEngine,ok as forkPluginProcess,ak as invokePluginSetupToProcess};
|