@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.
Files changed (285) hide show
  1. package/comate-engine/bin/comate.js +10 -0
  2. package/comate-engine/fallbackServer.js +1 -0
  3. package/comate-engine/node_modules/@comate/plugin-engine/dist/index.d.ts +188 -0
  4. package/comate-engine/node_modules/@comate/plugin-engine/dist/index.js +36 -0
  5. package/comate-engine/node_modules/@comate/plugin-engine/package.json +49 -0
  6. package/comate-engine/node_modules/@comate/plugin-host/bin.js +44 -0
  7. package/comate-engine/node_modules/@comate/plugin-host/dist/index.js +1 -0
  8. package/comate-engine/node_modules/@comate/plugin-host/dist/main.d.ts +14 -0
  9. package/comate-engine/node_modules/@comate/plugin-host/dist/main.js +9 -0
  10. package/comate-engine/node_modules/@comate/plugin-host/dist/user-Btg63hPI.js +36 -0
  11. package/comate-engine/node_modules/@comate/plugin-host/package.json +47 -0
  12. package/comate-engine/node_modules/@comate/plugin-shared-internals/dist/index.d.ts +2849 -0
  13. package/comate-engine/node_modules/@comate/plugin-shared-internals/dist/index.js +36 -0
  14. package/comate-engine/node_modules/@comate/plugin-shared-internals/package.json +72 -0
  15. package/comate-engine/node_modules/@comate/preview-proxy/bin/preview.js +13 -0
  16. package/comate-engine/node_modules/@comate/preview-proxy/dist/index.js +350 -0
  17. package/comate-engine/node_modules/@comate/preview-proxy/package.json +83 -0
  18. package/comate-engine/node_modules/@comate/preview-proxy/static/comate-preview-injector.css +1 -0
  19. package/comate-engine/node_modules/@comate/preview-proxy/static/comate-preview-injector.js +2 -0
  20. package/comate-engine/node_modules/@comate/preview-proxy/static/comate-preview-injector.js.LICENSE.txt +58 -0
  21. package/comate-engine/node_modules/compare-versions/LICENSE +21 -0
  22. package/comate-engine/node_modules/compare-versions/README.md +133 -0
  23. package/comate-engine/node_modules/compare-versions/lib/esm/compare.d.ts +19 -0
  24. package/comate-engine/node_modules/compare-versions/lib/esm/compare.js +44 -0
  25. package/comate-engine/node_modules/compare-versions/lib/esm/compare.js.map +1 -0
  26. package/comate-engine/node_modules/compare-versions/lib/esm/compareVersions.d.ts +8 -0
  27. package/comate-engine/node_modules/compare-versions/lib/esm/compareVersions.js +29 -0
  28. package/comate-engine/node_modules/compare-versions/lib/esm/compareVersions.js.map +1 -0
  29. package/comate-engine/node_modules/compare-versions/lib/esm/index.d.ts +5 -0
  30. package/comate-engine/node_modules/compare-versions/lib/esm/index.js +5 -0
  31. package/comate-engine/node_modules/compare-versions/lib/esm/index.js.map +1 -0
  32. package/comate-engine/node_modules/compare-versions/lib/esm/satisfies.d.ts +14 -0
  33. package/comate-engine/node_modules/compare-versions/lib/esm/satisfies.js +66 -0
  34. package/comate-engine/node_modules/compare-versions/lib/esm/satisfies.js.map +1 -0
  35. package/comate-engine/node_modules/compare-versions/lib/esm/utils.d.ts +7 -0
  36. package/comate-engine/node_modules/compare-versions/lib/esm/utils.js +37 -0
  37. package/comate-engine/node_modules/compare-versions/lib/esm/utils.js.map +1 -0
  38. package/comate-engine/node_modules/compare-versions/lib/esm/validate.d.ts +28 -0
  39. package/comate-engine/node_modules/compare-versions/lib/esm/validate.js +31 -0
  40. package/comate-engine/node_modules/compare-versions/lib/esm/validate.js.map +1 -0
  41. package/comate-engine/node_modules/compare-versions/lib/umd/index.js +216 -0
  42. package/comate-engine/node_modules/compare-versions/lib/umd/index.js.map +1 -0
  43. package/comate-engine/node_modules/compare-versions/package.json +45 -0
  44. package/comate-engine/node_modules/compare-versions/src/compare.ts +54 -0
  45. package/comate-engine/node_modules/compare-versions/src/compareVersions.ts +31 -0
  46. package/comate-engine/node_modules/compare-versions/src/index.ts +5 -0
  47. package/comate-engine/node_modules/compare-versions/src/satisfies.ts +69 -0
  48. package/comate-engine/node_modules/compare-versions/src/utils.ts +50 -0
  49. package/comate-engine/node_modules/compare-versions/src/validate.ts +36 -0
  50. package/comate-engine/node_modules/pkce-challenge/LICENSE +21 -0
  51. package/comate-engine/node_modules/pkce-challenge/README.md +55 -0
  52. package/comate-engine/node_modules/pkce-challenge/dist/index.browser.d.ts +19 -0
  53. package/comate-engine/node_modules/pkce-challenge/dist/index.browser.js +72 -0
  54. package/comate-engine/node_modules/pkce-challenge/dist/index.node.cjs +80 -0
  55. package/comate-engine/node_modules/pkce-challenge/dist/index.node.d.cts +19 -0
  56. package/comate-engine/node_modules/pkce-challenge/dist/index.node.d.ts +19 -0
  57. package/comate-engine/node_modules/pkce-challenge/dist/index.node.js +75 -0
  58. package/comate-engine/node_modules/pkce-challenge/package.json +58 -0
  59. package/comate-engine/node_modules/web-streams-polyfill/LICENSE +22 -0
  60. package/comate-engine/node_modules/web-streams-polyfill/README.md +119 -0
  61. package/comate-engine/node_modules/web-streams-polyfill/dist/polyfill.es5.js +8 -0
  62. package/comate-engine/node_modules/web-streams-polyfill/dist/polyfill.js +8 -0
  63. package/comate-engine/node_modules/web-streams-polyfill/dist/ponyfill.es5.js +8 -0
  64. package/comate-engine/node_modules/web-streams-polyfill/dist/ponyfill.es5.mjs +8 -0
  65. package/comate-engine/node_modules/web-streams-polyfill/dist/ponyfill.js +8 -0
  66. package/comate-engine/node_modules/web-streams-polyfill/dist/ponyfill.mjs +8 -0
  67. package/comate-engine/node_modules/web-streams-polyfill/package.json +98 -0
  68. package/comate-engine/node_modules/web-streams-polyfill/types/polyfill.d.ts +28 -0
  69. package/comate-engine/node_modules/web-streams-polyfill/types/ponyfill.d.ts +809 -0
  70. package/comate-engine/node_modules/web-streams-polyfill/types/tsdoc-metadata.json +11 -0
  71. package/comate-engine/package.json +91 -0
  72. package/comate-engine/plugins/aiscan/assets/icon.svg +12 -0
  73. package/comate-engine/plugins/aiscan/dist/index.js +53861 -0
  74. package/comate-engine/plugins/aiscan/package.json +67 -0
  75. package/comate-engine/plugins/appdev/assets/icon.png +0 -0
  76. package/comate-engine/plugins/appdev/dist/help.md +12 -0
  77. package/comate-engine/plugins/appdev/dist/index.d.ts +2 -0
  78. package/comate-engine/plugins/appdev/dist/index.js +194 -0
  79. package/comate-engine/plugins/appdev/dist/providers/err.d.ts +8 -0
  80. package/comate-engine/plugins/appdev/dist/providers/err.js +37 -0
  81. package/comate-engine/plugins/appdev/dist/providers/fallback.d.ts +5 -0
  82. package/comate-engine/plugins/appdev/dist/providers/fallback.js +28 -0
  83. package/comate-engine/plugins/appdev/dist/providers/help.d.ts +8 -0
  84. package/comate-engine/plugins/appdev/dist/providers/help.js +19 -0
  85. package/comate-engine/plugins/appdev/dist/providers/medusa.d.ts +8 -0
  86. package/comate-engine/plugins/appdev/dist/providers/medusa.js +39 -0
  87. package/comate-engine/plugins/appdev/dist/providers/qa.d.ts +8 -0
  88. package/comate-engine/plugins/appdev/dist/providers/qa.js +33 -0
  89. package/comate-engine/plugins/appdev/package.json +67 -0
  90. package/comate-engine/plugins/bfc/assets/bfc-icon.png +0 -0
  91. package/comate-engine/plugins/bfc/dist/config/config.d.ts +4 -0
  92. package/comate-engine/plugins/bfc/dist/config/config.js +4 -0
  93. package/comate-engine/plugins/bfc/dist/help.md +11 -0
  94. package/comate-engine/plugins/bfc/dist/index.d.ts +2 -0
  95. package/comate-engine/plugins/bfc/dist/index.js +452 -0
  96. package/comate-engine/plugins/bfc/dist/providers/bfcInstructMode.d.ts +8 -0
  97. package/comate-engine/plugins/bfc/dist/providers/bfcInstructMode.js +77 -0
  98. package/comate-engine/plugins/bfc/dist/providers/genAbnormalCode.d.ts +8 -0
  99. package/comate-engine/plugins/bfc/dist/providers/genAbnormalCode.js +71 -0
  100. package/comate-engine/plugins/bfc/dist/providers/genBfcCode.d.ts +8 -0
  101. package/comate-engine/plugins/bfc/dist/providers/genBfcCode.js +74 -0
  102. package/comate-engine/plugins/bfc/dist/providers/getBatchCases.d.ts +10 -0
  103. package/comate-engine/plugins/bfc/dist/providers/getBatchCases.js +71 -0
  104. package/comate-engine/plugins/bfc/dist/providers/help.d.ts +8 -0
  105. package/comate-engine/plugins/bfc/dist/providers/help.js +19 -0
  106. package/comate-engine/plugins/bfc/dist/service/generateService.d.ts +14 -0
  107. package/comate-engine/plugins/bfc/dist/service/generateService.js +27 -0
  108. package/comate-engine/plugins/bfc/package.json +85 -0
  109. package/comate-engine/plugins/bpm/assets/bpm.png +0 -0
  110. package/comate-engine/plugins/bpm/dist/index.js +313 -0
  111. package/comate-engine/plugins/bpm/package.json +65 -0
  112. package/comate-engine/plugins/casebuilder/assets/icon.svg +1 -0
  113. package/comate-engine/plugins/casebuilder/dist/help.md +33 -0
  114. package/comate-engine/plugins/casebuilder/dist/index.js +837 -0
  115. package/comate-engine/plugins/casebuilder/package.json +80 -0
  116. package/comate-engine/plugins/centrino/assets/icon.png +0 -0
  117. package/comate-engine/plugins/centrino/dist/help.md +30 -0
  118. package/comate-engine/plugins/centrino/dist/index.js +1046 -0
  119. package/comate-engine/plugins/centrino/package.json +68 -0
  120. package/comate-engine/plugins/cnap/assets/cnap.png +0 -0
  121. package/comate-engine/plugins/cnap/dist/help.md +11 -0
  122. package/comate-engine/plugins/cnap/dist/index.js +171 -0
  123. package/comate-engine/plugins/cnap/package.json +65 -0
  124. package/comate-engine/plugins/demo-feature/assets/icon.svg +1 -0
  125. package/comate-engine/plugins/demo-feature/dist/help.md +1 -0
  126. package/comate-engine/plugins/demo-feature/dist/index.d.ts +2 -0
  127. package/comate-engine/plugins/demo-feature/dist/index.js +36008 -0
  128. package/comate-engine/plugins/demo-feature/dist/providers/codeQuery.d.ts +12 -0
  129. package/comate-engine/plugins/demo-feature/dist/providers/codeQuery.js +23 -0
  130. package/comate-engine/plugins/demo-feature/dist/providers/codeSearch.d.ts +8 -0
  131. package/comate-engine/plugins/demo-feature/dist/providers/codeSearch.js +26 -0
  132. package/comate-engine/plugins/demo-feature/dist/providers/config.d.ts +13 -0
  133. package/comate-engine/plugins/demo-feature/dist/providers/config.js +25 -0
  134. package/comate-engine/plugins/demo-feature/dist/providers/context.d.ts +10 -0
  135. package/comate-engine/plugins/demo-feature/dist/providers/context.js +49 -0
  136. package/comate-engine/plugins/demo-feature/dist/providers/debugAgent.d.ts +8 -0
  137. package/comate-engine/plugins/demo-feature/dist/providers/debugAgent.js +65 -0
  138. package/comate-engine/plugins/demo-feature/dist/providers/explainCode.d.ts +9 -0
  139. package/comate-engine/plugins/demo-feature/dist/providers/explainCode.js +24 -0
  140. package/comate-engine/plugins/demo-feature/dist/providers/fallback.d.ts +5 -0
  141. package/comate-engine/plugins/demo-feature/dist/providers/fallback.js +23 -0
  142. package/comate-engine/plugins/demo-feature/dist/providers/file.d.ts +13 -0
  143. package/comate-engine/plugins/demo-feature/dist/providers/file.js +36 -0
  144. package/comate-engine/plugins/demo-feature/dist/providers/help.d.ts +8 -0
  145. package/comate-engine/plugins/demo-feature/dist/providers/help.js +19 -0
  146. package/comate-engine/plugins/demo-feature/dist/providers/information.d.ts +13 -0
  147. package/comate-engine/plugins/demo-feature/dist/providers/information.js +23 -0
  148. package/comate-engine/plugins/demo-feature/dist/providers/knowledge.d.ts +15 -0
  149. package/comate-engine/plugins/demo-feature/dist/providers/knowledge.js +71 -0
  150. package/comate-engine/plugins/demo-feature/dist/providers/log.d.ts +12 -0
  151. package/comate-engine/plugins/demo-feature/dist/providers/log.js +21 -0
  152. package/comate-engine/plugins/demo-feature/dist/providers/onlyCode.d.ts +8 -0
  153. package/comate-engine/plugins/demo-feature/dist/providers/onlyCode.js +23 -0
  154. package/comate-engine/plugins/demo-feature/dist/providers/pluginConfig.d.ts +8 -0
  155. package/comate-engine/plugins/demo-feature/dist/providers/pluginConfig.js +47 -0
  156. package/comate-engine/plugins/demo-feature/dist/providers/prompt.d.ts +7 -0
  157. package/comate-engine/plugins/demo-feature/dist/providers/prompt.js +7 -0
  158. package/comate-engine/plugins/demo-feature/dist/providers/ragProvider.d.ts +8 -0
  159. package/comate-engine/plugins/demo-feature/dist/providers/ragProvider.js +17 -0
  160. package/comate-engine/plugins/demo-feature/dist/providers/render.d.ts +8 -0
  161. package/comate-engine/plugins/demo-feature/dist/providers/render.js +75 -0
  162. package/comate-engine/plugins/demo-feature/dist/providers/renderJsx.d.ts +10 -0
  163. package/comate-engine/plugins/demo-feature/dist/providers/renderJsx.js +173 -0
  164. package/comate-engine/plugins/demo-feature/dist/providers/section.d.ts +8 -0
  165. package/comate-engine/plugins/demo-feature/dist/providers/section.js +136 -0
  166. package/comate-engine/plugins/demo-feature/dist/providers/selectedKnowledge.d.ts +12 -0
  167. package/comate-engine/plugins/demo-feature/dist/providers/selectedKnowledge.js +17 -0
  168. package/comate-engine/plugins/demo-feature/dist/providers/streaming.d.ts +8 -0
  169. package/comate-engine/plugins/demo-feature/dist/providers/streaming.js +29 -0
  170. package/comate-engine/plugins/demo-feature/dist/providers/userDetail.d.ts +8 -0
  171. package/comate-engine/plugins/demo-feature/dist/providers/userDetail.js +28 -0
  172. package/comate-engine/plugins/demo-feature/package.json +214 -0
  173. package/comate-engine/plugins/demo-timer/assets/icon.svg +2 -0
  174. package/comate-engine/plugins/demo-timer/dist/index.js +463 -0
  175. package/comate-engine/plugins/demo-timer/package.json +73 -0
  176. package/comate-engine/plugins/dev-tools/assets/icon.png +0 -0
  177. package/comate-engine/plugins/dev-tools/dist/help.md +18 -0
  178. package/comate-engine/plugins/dev-tools/dist/index.js +166160 -0
  179. package/comate-engine/plugins/dev-tools/package.json +95 -0
  180. package/comate-engine/plugins/devaux/assets/icon.svg +1 -0
  181. package/comate-engine/plugins/devaux/dist/help.md +41 -0
  182. package/comate-engine/plugins/devaux/dist/index.js +73829 -0
  183. package/comate-engine/plugins/devaux/dist/static/tree-sitter-cpp.wasm +0 -0
  184. package/comate-engine/plugins/devaux/dist/static/tree-sitter-go.wasm +0 -0
  185. package/comate-engine/plugins/devaux/dist/static/tree-sitter.wasm +0 -0
  186. package/comate-engine/plugins/devaux/dist/tree-sitter.wasm +0 -0
  187. package/comate-engine/plugins/devaux/package.json +83 -0
  188. package/comate-engine/plugins/f2c/assets/icon.svg +11 -0
  189. package/comate-engine/plugins/f2c/dist/help.md +13 -0
  190. package/comate-engine/plugins/f2c/dist/index.js +64551 -0
  191. package/comate-engine/plugins/f2c/package.json +56 -0
  192. package/comate-engine/plugins/fcnap/assets/icon.png +0 -0
  193. package/comate-engine/plugins/fcnap/dist/help.md +9 -0
  194. package/comate-engine/plugins/fcnap/dist/index.js +105 -0
  195. package/comate-engine/plugins/fcnap/package.json +50 -0
  196. package/comate-engine/plugins/front-end-skills/assets/icon.svg +1 -0
  197. package/comate-engine/plugins/front-end-skills/dist/help.md +17 -0
  198. package/comate-engine/plugins/front-end-skills/dist/index.js +8172 -0
  199. package/comate-engine/plugins/front-end-skills/package.json +79 -0
  200. package/comate-engine/plugins/gdp/assets/icon.png +0 -0
  201. package/comate-engine/plugins/gdp/dist/help.md +11 -0
  202. package/comate-engine/plugins/gdp/dist/index.js +53065 -0
  203. package/comate-engine/plugins/gdp/package.json +79 -0
  204. package/comate-engine/plugins/git/assets/git.svg +1 -0
  205. package/comate-engine/plugins/git/assets/icon.svg +1 -0
  206. package/comate-engine/plugins/git/dist/help.md +7 -0
  207. package/comate-engine/plugins/git/dist/index.js +32675 -0
  208. package/comate-engine/plugins/git/package.json +91 -0
  209. package/comate-engine/plugins/harmonyos/assets/harmonyos.png +0 -0
  210. package/comate-engine/plugins/harmonyos/dist/index.js +78 -0
  211. package/comate-engine/plugins/harmonyos/package.json +37 -0
  212. package/comate-engine/plugins/iapi/assets/icon.png +0 -0
  213. package/comate-engine/plugins/iapi/dist/help.md +13 -0
  214. package/comate-engine/plugins/iapi/dist/index.js +458 -0
  215. package/comate-engine/plugins/iapi/dist/static/lang/tree-sitter-go.wasm +0 -0
  216. package/comate-engine/plugins/iapi/dist/static/lang/tree-sitter-java.wasm +0 -0
  217. package/comate-engine/plugins/iapi/dist/static/tree-sitter-go.wasm +0 -0
  218. package/comate-engine/plugins/iapi/dist/static/tree-sitter-java.wasm +0 -0
  219. package/comate-engine/plugins/iapi/dist/tree-sitter.wasm +0 -0
  220. package/comate-engine/plugins/iapi/package.json +102 -0
  221. package/comate-engine/plugins/icafe/assets/icafe.svg +1 -0
  222. package/comate-engine/plugins/icafe/dist/help.md +5 -0
  223. package/comate-engine/plugins/icafe/dist/index.js +885 -0
  224. package/comate-engine/plugins/icafe/package.json +74 -0
  225. package/comate-engine/plugins/ievalue/assets/iEValue.svg +10 -0
  226. package/comate-engine/plugins/ievalue/dist/index.js +2920 -0
  227. package/comate-engine/plugins/ievalue/package.json +88 -0
  228. package/comate-engine/plugins/ipipe/assets/iPipePlugin.png +0 -0
  229. package/comate-engine/plugins/ipipe/dist/help.md +15 -0
  230. package/comate-engine/plugins/ipipe/dist/index.js +7264 -0
  231. package/comate-engine/plugins/ipipe/package.json +62 -0
  232. package/comate-engine/plugins/jarvis/assets/icon.svg +1 -0
  233. package/comate-engine/plugins/jarvis/dist/help.md +17 -0
  234. package/comate-engine/plugins/jarvis/dist/index.js +140416 -0
  235. package/comate-engine/plugins/jarvis/package.json +93 -0
  236. package/comate-engine/plugins/mapsearch/assets/mapsearchicon.png +0 -0
  237. package/comate-engine/plugins/mapsearch/dist/help.md +4 -0
  238. package/comate-engine/plugins/mapsearch/dist/index.js +145 -0
  239. package/comate-engine/plugins/mapsearch/package.json +53 -0
  240. package/comate-engine/plugins/paddle/assets/icon.png +0 -0
  241. package/comate-engine/plugins/paddle/assets/paconvert-3.0.1-py3-none-any.whl +0 -0
  242. package/comate-engine/plugins/paddle/dist/help.md +31 -0
  243. package/comate-engine/plugins/paddle/dist/index.js +1011 -0
  244. package/comate-engine/plugins/paddle/package.json +129 -0
  245. package/comate-engine/plugins/robot/assets/Robot.png +0 -0
  246. package/comate-engine/plugins/robot/dist/index.js +288 -0
  247. package/comate-engine/plugins/robot/package.json +67 -0
  248. package/comate-engine/plugins/security/assets/comate.png +0 -0
  249. package/comate-engine/plugins/security/dist/index.js +18393 -0
  250. package/comate-engine/plugins/security/package.json +82 -0
  251. package/comate-engine/plugins/smartapp/assets/icon.png +0 -0
  252. package/comate-engine/plugins/smartapp/dist/help.md +4 -0
  253. package/comate-engine/plugins/smartapp/dist/index.js +113 -0
  254. package/comate-engine/plugins/smartapp/package.json +54 -0
  255. package/comate-engine/plugins/springer/assets/icon.png +0 -0
  256. package/comate-engine/plugins/springer/dist/help.md +4 -0
  257. package/comate-engine/plugins/springer/dist/index.js +94525 -0
  258. package/comate-engine/plugins/springer/package.json +71 -0
  259. package/comate-engine/plugins/testmate/assets/icon.svg +1 -0
  260. package/comate-engine/plugins/testmate/dist/help.md +62 -0
  261. package/comate-engine/plugins/testmate/dist/index.js +21483 -0
  262. package/comate-engine/plugins/testmate/package.json +85 -0
  263. package/comate-engine/plugins/tor/assets/TorPlugin.png +0 -0
  264. package/comate-engine/plugins/tor/dist/help.md +22 -0
  265. package/comate-engine/plugins/tor/dist/index.js +807 -0
  266. package/comate-engine/plugins/tor/package.json +99 -0
  267. package/comate-engine/plugins/weiyun/assets/icon.png +0 -0
  268. package/comate-engine/plugins/weiyun/dist/help.md +11 -0
  269. package/comate-engine/plugins/weiyun/dist/index.js +100491 -0
  270. package/comate-engine/plugins/weiyun/package.json +55 -0
  271. package/comate-engine/plugins/wenku/assets/icon.svg +1 -0
  272. package/comate-engine/plugins/wenku/dist/index.js +249 -0
  273. package/comate-engine/plugins/wenku/package.json +55 -0
  274. package/comate-engine/plugins/workcard/assets/favicon.png +0 -0
  275. package/comate-engine/plugins/workcard/dist/help.md +30 -0
  276. package/comate-engine/plugins/workcard/dist/index.js +490 -0
  277. package/comate-engine/plugins/workcard/package.json +95 -0
  278. package/comate-engine/plugins/xiaomi-aiot/assets/icon.png +0 -0
  279. package/comate-engine/plugins/xiaomi-aiot/dist/help.md +6 -0
  280. package/comate-engine/plugins/xiaomi-aiot/dist/index.js +37466 -0
  281. package/comate-engine/plugins/xiaomi-aiot/package.json +63 -0
  282. package/comate-engine/server.d.ts +3 -0
  283. package/comate-engine/server.js +474 -0
  284. package/dist/bundle/index.js +29 -58174
  285. package/package.json +2 -1
@@ -0,0 +1,36 @@
1
+ import e from"node:path";import t from"node:fs/promises";import n,{promises as i,exists as s,mkdir as a,existsSync as o,readFileSync 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 h,{basename as f}from"path";import x,{EOL as v}from"os";import g from"http";import b from"https";import y from"url";import _ from"crypto";import w from"tty";import E from"zlib";import k,{EventEmitter as S}from"events";import T,{homedir as R}from"node:os";import A from"node:process";import{fileURLToPath as C}from"node:url";import{Transform as O}from"node:stream";import j from"node:crypto";const P="CHAT_QUERY",L="CHAT_TASK_PROGRESS",N="LOG",I={p:["children"],span:["children"],ul:["children"],ol:["children"],em:["children"],strong:["children"],code:["children"],blockquote:["children"],h1:["children"],h2:["children"],h3:["children"],h4:["children"],h5:["children"],h6:["children"],li:["children"],table:["children"],thead:["children"],tbody:["children"],tr:["children"],th:["children"],td:["children"],br:[],hr:[],img:["src","alt","width","height"],a:["href","children"]};function D(e){return!!I[e.type]}const F=new Set(["command-button"]);function M(e){return!!e&&(Array.isArray(e)?e.some(M):"string"!=typeof e&&(!!F.has(e.type)||(!!F.has(e.children?.type)||!!e.children&&(Array.isArray(e.children)?e.children.some(M):M(e.children)))))}function $(e){return"object"==typeof e&&"command"in e&&("draw"===e.command||"fail"===e.command)}function U(e){return"object"==typeof e&&"command"in e&&"section"===e.command}function B(e){return $(e)?e.content:U(e)?null:e}class z{current=0;next(){return++this.current}}class H{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 q{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 G{tasks=new Map;start(e){const t=this.tasks.get(e)??new q;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 W="SESSION_START",K="SESSION_FINISH";class V{sessionId;parent;lifeCycleConnected;listeners=new Map;channel;timeoutTimer;executions=new H;streams=new G;incrementer=new z;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!==N&&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:W}),this.send(e)}finish(){clearTimeout(this.timeoutTimer),this.log("system",this.constructor.name,"SessionFinish"),this.send({action:K})}log(e,t,n,i){this.parent?this.parent.log(e,t,n,i):this.send({action:N,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(N),this.setListener(K,(async()=>{this.parent&&this.lifeCycleConnected&&this.parent.send({action:K})}))}}class Q{implement;sessions=new Map;tasks=new H;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:a}=e;if("string"!=typeof n)return;const o=this.sessions.get(s)??this.createSession({association:s});this.sessions.set(s,o),await o.handleMessage(n,i,a),n===K&&(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:N,payload:{level:"system",source:e,action:t,detail:n}}};this.implement.send(i)}}const Y="REQUEST_PERMISSION";var J;!function(e){e.WorkspaceFileSystem="WorkspaceFileSystem",e.FullDiskFileSystem="FullDiskFileSystem",e.CodeSecurity="CodeSecurity",e.UserDetail="UserDetail"}(J||(J={}));const Z="ASK_LLM",X="ASK_LLM_STREAMING";var ee,te,ne;!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"}(ee||(ee={})),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"}(te||(te={})),function(e){e.Default="default-model",e.ErnieBot="ernie-bot",e.ErnieBot4="ernie-bot-4"}(ne||(ne={}));const ie="GET_PLUGIN_CONFIG",se="UPDATE_ENGINE_CONFIG",ae="PLUS_MODULE_LIST_FETCH",oe="PLUS_MODULE_LIST_RESULT",re="INFORMATION_QUERY";var ce,pe;!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"}(ce||(ce={})),function(e){e.Text="TEXT",e.Code="CODE",e.File="FILE"}(pe||(pe={}));const le="SCAN_QUERY",ue="WILL_SCAN",de="SCAN_TASK",me="RELEASE_SCAN_TASK",he="SCAN_TASK_PROGRESS",fe="SCAN_CACHE_COUNT",xe="COMATE_PLUS_SA_SCAN_INIT",ve="COMATE_PLUS_SA_SCAN_DIAGNOSTIC",ge="SA_SCAN_DIAGNOSTIC",be="SA_SCAN_DIAGNOSTIC_RESULT",ye="ACTION_START_BACKGROUND_SERVICE",_e="QUERY_SELECTOR",we="ACTION_CUSTOM_COMMAND",Ee="COMATE_PLUS_DIAGNOSTIC_SCAN",ke="DIAGNOSTIC_SCAN_TASK_PROGRESS",Se="DIAGNOSTIC_SCAN",Te="DIAGNOSTIC_SCAN_TASK_COUNT";var Re;!function(e){e.INIT="INIT",e.PROCESSING="PROCESSING",e.SUCCEED="SUCCEED",e.FAIL="FAIL"}(Re||(Re={}));const Ae="ACCEPT_DIR";var Ce,Oe,je;!function(e){e.Failed="failed",e.Success="success",e.InProgress="inProgress",e.Cancelled="cancelled"}(Ce||(Ce={})),function(e){e.UNREADY="unready",e.READY="ready",e.RUNNING="running",e.SUCCESS="success",e.FAILED="failed",e.CANCELLED="cancelled"}(Oe||(Oe={})),function(e){e.SecuBotConversation="SecuBotConversation",e.DebugBotConversation="DebugBotConversation",e.TestBotConversation="TestBotConversation",e.E2EBotConversation="E2EBotConversation",e.F2cBotConversation="F2cBotConversation"}(je||(je={}));const Pe={[je.SecuBotConversation]:"安全智能体",[je.DebugBotConversation]:"Debug智能体",[je.TestBotConversation]:"单测智能体",[je.E2EBotConversation]:"端到端智能体",[je.F2cBotConversation]:"F2C智能体"};var Le;!function(e){e.Ready="Ready",e.Running="Running",e.Failed="Failed",e.Completed="Completed",e.Cancelled="Cancelled"}(Le||(Le={}));const Ne="ACTION_DEBUG_TASK_PROCESS",Ie="ACTION_ASK_RAG",De="ACTION_GENERATE_MESSAGE",Fe="ACTION_GENERATE_MESSAGE_REPORT",Me="ACTION_BRANCH_CHANGE",$e="ACTION_SECUBOT",Ue="ACTION_SECUBOT_TASK_PROGRESS",Be="为我的代码库扫描可能的安全漏洞",ze="CODE_SEARCH",He="START_ISCAN_AND_GET_SEC_RESULT",qe="START_ISCAN_BY_SAVE",Ge="START_ISCAN",We="ISCAN_RESULT",Ke="ISCAN_JOB_BUILD_ID",Ve="SCAN_NOTIFICATION",Qe=".comate/mcp.json";async function Ye(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 Je;(()=>{var e={470:e=>{function t(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function n(e,t){for(var n,i="",s=0,a=-1,o=0,r=0;r<=e.length;++r){if(r<e.length)n=e.charCodeAt(r);else{if(47===n)break;n=47}if(47===n){if(a===r-1||1===o);else if(a!==r-1&&2===o){if(i.length<2||2!==s||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2))if(i.length>2){var c=i.lastIndexOf("/");if(c!==i.length-1){-1===c?(i="",s=0):s=(i=i.slice(0,c)).length-1-i.lastIndexOf("/"),a=r,o=0;continue}}else if(2===i.length||1===i.length){i="",s=0,a=r,o=0;continue}t&&(i.length>0?i+="/..":i="..",s=2)}else i.length>0?i+="/"+e.slice(a+1,r):i=e.slice(a+1,r),s=r-a-1;a=r,o=0}else 46===n&&-1!==o?++o:o=-1}return i}var i={resolve:function(){for(var e,i="",s=!1,a=arguments.length-1;a>=-1&&!s;a--){var o;a>=0?o=arguments[a]:(void 0===e&&(e=process.cwd()),o=e),t(o),0!==o.length&&(i=o+"/"+i,s=47===o.charCodeAt(0))}return i=n(i,!s),s?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(e){if(t(e),0===e.length)return".";var i=47===e.charCodeAt(0),s=47===e.charCodeAt(e.length-1);return 0!==(e=n(e,!i)).length||i||(e="."),e.length>0&&s&&(e+="/"),i?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,n=0;n<arguments.length;++n){var s=arguments[n];t(s),s.length>0&&(void 0===e?e=s:e+="/"+s)}return void 0===e?".":i.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n)return"";if((e=i.resolve(e))===(n=i.resolve(n)))return"";for(var s=1;s<e.length&&47===e.charCodeAt(s);++s);for(var a=e.length,o=a-s,r=1;r<n.length&&47===n.charCodeAt(r);++r);for(var c=n.length-r,p=o<c?o:c,l=-1,u=0;u<=p;++u){if(u===p){if(c>p){if(47===n.charCodeAt(r+u))return n.slice(r+u+1);if(0===u)return n.slice(r+u)}else o>p&&(47===e.charCodeAt(s+u)?l=u:0===u&&(l=0));break}var d=e.charCodeAt(s+u);if(d!==n.charCodeAt(r+u))break;47===d&&(l=u)}var m="";for(u=s+l+1;u<=a;++u)u!==a&&47!==e.charCodeAt(u)||(0===m.length?m+="..":m+="/..");return m.length>0?m+n.slice(r+l):(r+=l,47===n.charCodeAt(r)&&++r,n.slice(r))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var n=e.charCodeAt(0),i=47===n,s=-1,a=!0,o=e.length-1;o>=1;--o)if(47===(n=e.charCodeAt(o))){if(!a){s=o;break}}else a=!1;return-1===s?i?"/":".":i&&1===s?"//":e.slice(0,s)},basename:function(e,n){if(void 0!==n&&"string"!=typeof n)throw new TypeError('"ext" argument must be a string');t(e);var i,s=0,a=-1,o=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var r=n.length-1,c=-1;for(i=e.length-1;i>=0;--i){var p=e.charCodeAt(i);if(47===p){if(!o){s=i+1;break}}else-1===c&&(o=!1,c=i+1),r>=0&&(p===n.charCodeAt(r)?-1==--r&&(a=i):(r=-1,a=c))}return s===a?a=c:-1===a&&(a=e.length),e.slice(s,a)}for(i=e.length-1;i>=0;--i)if(47===e.charCodeAt(i)){if(!o){s=i+1;break}}else-1===a&&(o=!1,a=i+1);return-1===a?"":e.slice(s,a)},extname:function(e){t(e);for(var n=-1,i=0,s=-1,a=!0,o=0,r=e.length-1;r>=0;--r){var c=e.charCodeAt(r);if(47!==c)-1===s&&(a=!1,s=r+1),46===c?-1===n?n=r:1!==o&&(o=1):-1!==n&&(o=-1);else if(!a){i=r+1;break}}return-1===n||-1===s||0===o||1===o&&n===s-1&&n===i+1?"":e.slice(n,s)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var n=t.dir||t.root,i=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+i:n+"/"+i:i}(0,e)},parse:function(e){t(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var i,s=e.charCodeAt(0),a=47===s;a?(n.root="/",i=1):i=0;for(var o=-1,r=0,c=-1,p=!0,l=e.length-1,u=0;l>=i;--l)if(47!==(s=e.charCodeAt(l)))-1===c&&(p=!1,c=l+1),46===s?-1===o?o=l:1!==u&&(u=1):-1!==o&&(u=-1);else if(!p){r=l+1;break}return-1===o||-1===c||0===u||1===u&&o===c-1&&o===r+1?-1!==c&&(n.base=n.name=0===r&&a?e.slice(1,c):e.slice(r,c)):(0===r&&a?(n.name=e.slice(1,o),n.base=e.slice(1,c)):(n.name=e.slice(r,o),n.base=e.slice(r,c)),n.ext=e.slice(o,c)),r>0?n.dir=e.slice(0,r-1):a&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};i.posix=i,e.exports=i}},t={};function n(i){var s=t[i];if(void 0!==s)return s.exports;var a=t[i]={exports:{}};return e[i](a,a.exports,n),a.exports}n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{let e;if(n.r(i),n.d(i,{URI:()=>l,Utils:()=>k}),"object"==typeof process)e="win32"===process.platform;else if("object"==typeof navigator){let t=navigator.userAgent;e=t.indexOf("Windows")>=0}const t=/^\w[\w\d+.-]*$/,s=/^\//,a=/^\/\//;function o(e,n){if(!e.scheme&&n)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!t.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!s.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(a.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}const r="",c="/",p=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class l{static isUri(e){return e instanceof l||!!e&&"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString}scheme;authority;path;query;fragment;constructor(e,t,n,i,s,a=!1){"object"==typeof e?(this.scheme=e.scheme||r,this.authority=e.authority||r,this.path=e.path||r,this.query=e.query||r,this.fragment=e.fragment||r):(this.scheme=function(e,t){return e||t?e:"file"}(e,a),this.authority=t||r,this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==c&&(t=c+t):t=c}return t}(this.scheme,n||r),this.query=i||r,this.fragment=s||r,o(this,a))}get fsPath(){return x(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:i,query:s,fragment:a}=e;return void 0===t?t=this.scheme:null===t&&(t=r),void 0===n?n=this.authority:null===n&&(n=r),void 0===i?i=this.path:null===i&&(i=r),void 0===s?s=this.query:null===s&&(s=r),void 0===a?a=this.fragment:null===a&&(a=r),t===this.scheme&&n===this.authority&&i===this.path&&s===this.query&&a===this.fragment?this:new d(t,n,i,s,a)}static parse(e,t=!1){const n=p.exec(e);return n?new d(n[2]||r,y(n[4]||r),y(n[5]||r),y(n[7]||r),y(n[9]||r),t):new d(r,r,r,r,r)}static file(t){let n=r;if(e&&(t=t.replace(/\\/g,c)),t[0]===c&&t[1]===c){const e=t.indexOf(c,2);-1===e?(n=t.substring(2),t=c):(n=t.substring(2,e),t=t.substring(e)||c)}return new d("file",n,t,r,r)}static from(e){const t=new d(e.scheme,e.authority,e.path,e.query,e.fragment);return o(t,!0),t}toString(e=!1){return v(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof l)return e;{const t=new d(e);return t._formatted=e.external,t._fsPath=e._sep===u?e.fsPath:null,t}}return e}}const u=e?1:void 0;class d extends l{_formatted=null;_fsPath=null;get fsPath(){return this._fsPath||(this._fsPath=x(this,!1)),this._fsPath}toString(e=!1){return e?v(this,!0):(this._formatted||(this._formatted=v(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=u),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const m={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function h(e,t,n){let i,s=-1;for(let a=0;a<e.length;a++){const o=e.charCodeAt(a);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o||n&&91===o||n&&93===o||n&&58===o)-1!==s&&(i+=encodeURIComponent(e.substring(s,a)),s=-1),void 0!==i&&(i+=e.charAt(a));else{void 0===i&&(i=e.substr(0,a));const t=m[o];void 0!==t?(-1!==s&&(i+=encodeURIComponent(e.substring(s,a)),s=-1),i+=t):-1===s&&(s=a)}}return-1!==s&&(i+=encodeURIComponent(e.substring(s))),void 0!==i?i:e}function f(e){let t;for(let n=0;n<e.length;n++){const i=e.charCodeAt(n);35===i||63===i?(void 0===t&&(t=e.substr(0,n)),t+=m[i]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function x(t,n){let i;return i=t.authority&&t.path.length>1&&"file"===t.scheme?`//${t.authority}${t.path}`:47===t.path.charCodeAt(0)&&(t.path.charCodeAt(1)>=65&&t.path.charCodeAt(1)<=90||t.path.charCodeAt(1)>=97&&t.path.charCodeAt(1)<=122)&&58===t.path.charCodeAt(2)?n?t.path.substr(1):t.path[1].toLowerCase()+t.path.substr(2):t.path,e&&(i=i.replace(/\//g,"\\")),i}function v(e,t){const n=t?f:h;let i="",{scheme:s,authority:a,path:o,query:r,fragment:p}=e;if(s&&(i+=s,i+=":"),(a||"file"===s)&&(i+=c,i+=c),a){let e=a.indexOf("@");if(-1!==e){const t=a.substr(0,e);a=a.substr(e+1),e=t.lastIndexOf(":"),-1===e?i+=n(t,!1,!1):(i+=n(t.substr(0,e),!1,!1),i+=":",i+=n(t.substr(e+1),!1,!0)),i+="@"}a=a.toLowerCase(),e=a.lastIndexOf(":"),-1===e?i+=n(a,!1,!0):(i+=n(a.substr(0,e),!1,!0),i+=a.substr(e))}if(o){if(o.length>=3&&47===o.charCodeAt(0)&&58===o.charCodeAt(2)){const e=o.charCodeAt(1);e>=65&&e<=90&&(o=`/${String.fromCharCode(e+32)}:${o.substr(3)}`)}else if(o.length>=2&&58===o.charCodeAt(1)){const e=o.charCodeAt(0);e>=65&&e<=90&&(o=`${String.fromCharCode(e+32)}:${o.substr(2)}`)}i+=n(o,!0,!1)}return r&&(i+="?",i+=n(r,!1,!1)),p&&(i+="#",i+=t?p:h(p,!1,!1)),i}function g(e){try{return decodeURIComponent(e)}catch{return e.length>3?e.substr(0,3)+g(e.substr(3)):e}}const b=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function y(e){return e.match(b)?e.replace(b,(e=>g(e))):e}var _=n(470);const w=_.posix||_,E="/";var k;!function(e){e.joinPath=function(e,...t){return e.with({path:w.join(e.path,...t)})},e.resolvePath=function(e,...t){let n=e.path,i=!1;n[0]!==E&&(n=E+n,i=!0);let s=w.resolve(n,...t);return i&&s[0]===E&&!e.authority&&(s=s.substring(1)),e.with({path:s})},e.dirname=function(e){if(0===e.path.length||e.path===E)return e;let t=w.dirname(e.path);return 1===t.length&&46===t.charCodeAt(0)&&(t=""),e.with({path:t})},e.basename=function(e){return w.basename(e.path)},e.extname=function(e){return w.extname(e.path)}}(k||(k={}))})(),Je=i})();const{URI:Ze,Utils:Xe}=Je;var et="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function tt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var nt={},it={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})}},st=p,at=process.cwd,ot=null,rt=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return ot||(ot=at.call(process)),ot};try{process.cwd()}catch(e){}if("function"==typeof process.chdir){var ct=process.chdir;process.chdir=function(e){ot=null,ct.call(process,e)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,ct)}var pt=function(e){st.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&function(e){e.lchmod=function(t,n,i){e.open(t,st.O_WRONLY|st.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,st.O_WRONLY|st.O_SYMLINK,n),a=!0;try{i=e.fchmodSync(s,n),a=!1}finally{if(a)try{e.closeSync(s)}catch(e){}else e.closeSync(s)}return i}}(e);e.lutimes||function(e){st.hasOwnProperty("O_SYMLINK")&&e.futimes?(e.lutimes=function(t,n,i,s){e.open(t,st.O_SYMLINK,(function(t,a){t?s&&s(t):e.futimes(a,n,i,(function(t){e.close(a,(function(e){s&&s(t||e)}))}))}))},e.lutimesSync=function(t,n,i){var s,a=e.openSync(t,st.O_SYMLINK),o=!0;try{s=e.futimesSync(a,n,i),o=!1}finally{if(o)try{e.closeSync(a)}catch(e){}else e.closeSync(a)}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=a(e.stat),e.fstat=a(e.fstat),e.lstat=a(e.lstat),e.statSync=o(e.statSync),e.fstatSync=o(e.fstatSync),e.lstatSync=o(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"===rt&&(e.rename="function"!=typeof e.rename?e.rename:function(t){function n(n,i,s){var a=Date.now(),o=0;t(n,i,(function r(c){if(c&&("EACCES"===c.code||"EPERM"===c.code||"EBUSY"===c.code)&&Date.now()-a<6e4)return setTimeout((function(){e.stat(i,(function(e,a){e&&"ENOENT"===e.code?t(n,i,r):s(c)}))}),o),void(o<100&&(o+=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,a){return t.call(e,n,i,s,(function(e){r(e)&&(e=null),a&&a.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 a(t){return t?function(n,i,s){function a(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,a):t.call(e,n,a)}:t}function o(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,a,o,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,a,o,c);r.apply(this,arguments)}}return t.call(e,n,i,s,a,o,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,a){for(var o=0;;)try{return c.call(e,t,n,i,s,a)}catch(e){if("EAGAIN"===e.code&&o<10){o++;continue}throw e}});var c};var lt=l.Stream,ut=function(e){return{ReadStream:function t(n,i){if(!(this instanceof t))return new t(n,i);lt.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 a=Object.keys(i),o=0,r=a.length;o<r;o++){var c=a[o];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);lt.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),a=0,o=s.length;a<o;a++){var r=s[a];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 dt=function(e){if(null===e||"object"!=typeof e)return e;if(e instanceof Object)var t={__proto__:mt(e)};else t=Object.create(null);return Object.getOwnPropertyNames(e).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})),t},mt=Object.getPrototypeOf||function(e){return e.__proto__};var ht,ft,xt=c,vt=pt,gt=ut,bt=dt,yt=d;function _t(e,t){Object.defineProperty(e,ht,{get:function(){return t}})}"function"==typeof Symbol&&"function"==typeof Symbol.for?(ht=Symbol.for("graceful-fs.queue"),ft=Symbol.for("graceful-fs.previous")):(ht="___graceful-fs.queue",ft="___graceful-fs.previous");var wt=function(){};if(yt.debuglog?wt=yt.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(wt=function(){var e=yt.format.apply(yt,arguments);e="GFS4: "+e.split(/\n/).join("\nGFS4: "),console.error(e)}),!xt[ht]){var Et=et[ht]||[];_t(xt,Et),xt.close=function(e){function t(t,n){return e.call(xt,t,(function(e){e||At(),"function"==typeof n&&n.apply(this,arguments)}))}return Object.defineProperty(t,ft,{value:e}),t}(xt.close),xt.closeSync=function(e){function t(t){e.apply(xt,arguments),At()}return Object.defineProperty(t,ft,{value:e}),t}(xt.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",(function(){wt(xt[ht]),m.equal(xt[ht].length,0)}))}et[ht]||_t(et,xt[ht]);var kt,St=Tt(bt(xt));function Tt(e){vt(e),e.gracefulify=Tt,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,a){return t(n,i,(function(t){!t||"EMFILE"!==t.code&&"ENFILE"!==t.code?"function"==typeof s&&s.apply(this,arguments):Rt([e,[n,i,s],t,a||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,a,o){return n(t,i,s,(function(n){!n||"EMFILE"!==n.code&&"ENFILE"!==n.code?"function"==typeof a&&a.apply(this,arguments):Rt([e,[t,i,s,a],n,o||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,a,o){return i(t,n,s,(function(i){!i||"EMFILE"!==i.code&&"ENFILE"!==i.code?"function"==typeof a&&a.apply(this,arguments):Rt([e,[t,n,s,a],i,o||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,a,o){return s(t,n,i,(function(s){!s||"EMFILE"!==s.code&&"ENFILE"!==s.code?"function"==typeof a&&a.apply(this,arguments):Rt([e,[t,n,i,a],s,o||Date.now(),Date.now()])}))}(e,t,n,i)});var a=e.readdir;e.readdir=function(e,t,n){"function"==typeof t&&(n=t,t=null);var i=o.test(process.version)?function(e,t,n,i){return a(e,s(e,t,n,i))}:function(e,t,n,i){return a(e,t,s(e,t,n,i))};return i(e,t,n);function s(e,t,n,s){return function(a,o){!a||"EMFILE"!==a.code&&"ENFILE"!==a.code?(o&&o.sort&&o.sort(),"function"==typeof n&&n.call(this,a,o)):Rt([i,[e,t,n],a,s||Date.now(),Date.now()])}}};var o=/^v[0-5]\./;if("v0.8"===process.version.substr(0,4)){var r=gt(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;f(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;f(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 h=e.open;function f(e,t,n,i){return"function"==typeof n&&(i=n,n=null),function e(t,n,i,s,a){return h(t,n,i,(function(o,r){!o||"EMFILE"!==o.code&&"ENFILE"!==o.code?"function"==typeof s&&s.apply(this,arguments):Rt([e,[t,n,i,s],o,a||Date.now(),Date.now()])}))}(e,t,n,i)}return e.open=f,e}function Rt(e){wt("ENQUEUE",e[0].name,e[1]),xt[ht].push(e),Ct()}function At(){for(var e=Date.now(),t=0;t<xt[ht].length;++t)xt[ht][t].length>2&&(xt[ht][t][3]=e,xt[ht][t][4]=e);Ct()}function Ct(){if(clearTimeout(kt),kt=void 0,0!==xt[ht].length){var e=xt[ht].shift(),t=e[0],n=e[1],i=e[2],s=e[3],a=e[4];if(void 0===s)wt("RETRY",t.name,n),t.apply(null,n);else if(Date.now()-s>=6e4){wt("TIMEOUT",t.name,n);var o=n.pop();"function"==typeof o&&o.call(null,i)}else{var r=Date.now()-a,c=Math.max(a-s,1);r>=Math.min(1.2*c,100)?(wt("RETRY",t.name,n),t.apply(null,n.concat([s]))):xt[ht].push(e)}void 0===kt&&(kt=setTimeout(Ct,0))}}process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!xt.__patched&&(St=Tt(xt),xt.__patched=!0),function(e){const t=it.fromCallback,n=St,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,a,o){return"function"==typeof o?n.read(e,t,i,s,a,o):new Promise(((o,r)=>{n.read(e,t,i,s,a,((e,t,n)=>{if(e)return r(e);o({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,a)=>{n.write(e,t,...i,((e,t,n)=>{if(e)return a(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,a)=>{n.readv(e,t,...i,((e,t,n)=>{if(e)return a(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,a)=>{n.writev(e,t,...i,((e,t,n)=>{if(e)return a(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")}(nt);var Ot={},jt={};const Pt=h;jt.checkPath=function(e){if("win32"===process.platform){if(/[<>:"|?*]/.test(e.replace(Pt.parse(e).root,""))){const t=new Error(`Path contains invalid characters: ${e}`);throw t.code="EINVAL",t}}};const Lt=nt,{checkPath:Nt}=jt,It=e=>"number"==typeof e?e:{mode:511,...e}.mode;Ot.makeDir=async(e,t)=>(Nt(e),Lt.mkdir(e,{mode:It(t),recursive:!0})),Ot.makeDirSync=(e,t)=>(Nt(e),Lt.mkdirSync(e,{mode:It(t),recursive:!0}));const Dt=it.fromPromise,{makeDir:Ft,makeDirSync:Mt}=Ot,$t=Dt(Ft);var Ut={mkdirs:$t,mkdirsSync:Mt,mkdirp:$t,mkdirpSync:Mt,ensureDir:$t,ensureDirSync:Mt};const Bt=it.fromPromise,zt=nt;var Ht={pathExists:Bt((function(e){return zt.access(e).then((()=>!0)).catch((()=>!1))})),pathExistsSync:zt.existsSync};const qt=nt;var Gt={utimesMillis:(0,it.fromPromise)((async function(e,t,n){const i=await qt.open(e,"r+");let s=null;try{await qt.futimes(i,t,n)}finally{try{await qt.close(i)}catch(e){s=e}}if(s)throw s})),utimesMillisSync:function(e,t,n){const i=qt.openSync(e,"r+");return qt.futimesSync(i,t,n),qt.closeSync(i)}};const Wt=nt,Kt=h,Vt=it.fromPromise;function Qt(e,t){return t.ino&&t.dev&&t.ino===e.ino&&t.dev===e.dev}function Yt(e,t){const n=Kt.resolve(e).split(Kt.sep).filter((e=>e)),i=Kt.resolve(t).split(Kt.sep).filter((e=>e));return n.every(((e,t)=>i[t]===e))}function Jt(e,t,n){return`Cannot ${n} '${e}' to a subdirectory of itself, '${t}'.`}var Zt={checkPaths:Vt((async function(e,t,n,i){const{srcStat:s,destStat:a}=await function(e,t,n){const i=n.dereference?e=>Wt.stat(e,{bigint:!0}):e=>Wt.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(a){if(Qt(s,a)){const i=Kt.basename(e),o=Kt.basename(t);if("move"===n&&i!==o&&i.toLowerCase()===o.toLowerCase())return{srcStat:s,destStat:a,isChangingCase:!0};throw new Error("Source and destination must not be the same.")}if(s.isDirectory()&&!a.isDirectory())throw new Error(`Cannot overwrite non-directory '${t}' with directory '${e}'.`);if(!s.isDirectory()&&a.isDirectory())throw new Error(`Cannot overwrite directory '${t}' with non-directory '${e}'.`)}if(s.isDirectory()&&Yt(e,t))throw new Error(Jt(e,t,n));return{srcStat:s,destStat:a}})),checkPathsSync:function(e,t,n,i){const{srcStat:s,destStat:a}=function(e,t,n){let i;const s=n.dereference?e=>Wt.statSync(e,{bigint:!0}):e=>Wt.lstatSync(e,{bigint:!0}),a=s(e);try{i=s(t)}catch(e){if("ENOENT"===e.code)return{srcStat:a,destStat:null};throw e}return{srcStat:a,destStat:i}}(e,t,i);if(a){if(Qt(s,a)){const i=Kt.basename(e),o=Kt.basename(t);if("move"===n&&i!==o&&i.toLowerCase()===o.toLowerCase())return{srcStat:s,destStat:a,isChangingCase:!0};throw new Error("Source and destination must not be the same.")}if(s.isDirectory()&&!a.isDirectory())throw new Error(`Cannot overwrite non-directory '${t}' with directory '${e}'.`);if(!s.isDirectory()&&a.isDirectory())throw new Error(`Cannot overwrite directory '${t}' with non-directory '${e}'.`)}if(s.isDirectory()&&Yt(e,t))throw new Error(Jt(e,t,n));return{srcStat:s,destStat:a}},checkParentPaths:Vt((async function e(t,n,i,s){const a=Kt.resolve(Kt.dirname(t)),o=Kt.resolve(Kt.dirname(i));if(o===a||o===Kt.parse(o).root)return;let r;try{r=await Wt.stat(o,{bigint:!0})}catch(e){if("ENOENT"===e.code)return;throw e}if(Qt(n,r))throw new Error(Jt(t,i,s));return e(t,n,o,s)})),checkParentPathsSync:function e(t,n,i,s){const a=Kt.resolve(Kt.dirname(t)),o=Kt.resolve(Kt.dirname(i));if(o===a||o===Kt.parse(o).root)return;let r;try{r=Wt.statSync(o,{bigint:!0})}catch(e){if("ENOENT"===e.code)return;throw e}if(Qt(n,r))throw new Error(Jt(t,i,s));return e(t,n,o,s)},isSrcSubdir:Yt,areIdentical:Qt};const Xt=nt,en=h,{mkdirs:tn}=Ut,{pathExists:nn}=Ht,{utimesMillis:sn}=Gt,an=Zt;async function on(e,t,n){return!n.filter||n.filter(e,t)}async function rn(e,t,n,i){const s=i.dereference?Xt.stat:Xt.lstat,a=await s(t);if(a.isDirectory())return async function(e,t,n,i,s){t||await Xt.mkdir(i);const a=await Xt.readdir(n);await Promise.all(a.map((async e=>{const t=en.join(n,e),a=en.join(i,e);if(!await on(t,a,s))return;const{destStat:o}=await an.checkPaths(t,a,"copy",s);return rn(o,t,a,s)}))),t||await Xt.chmod(i,e.mode)}(a,e,t,n,i);if(a.isFile()||a.isCharacterDevice()||a.isBlockDevice())return async function(e,t,n,i,s){if(!t)return cn(e,n,i,s);if(s.overwrite)return await Xt.unlink(i),cn(e,n,i,s);if(s.errorOnExist)throw new Error(`'${i}' already exists`)}(a,e,t,n,i);if(a.isSymbolicLink())return async function(e,t,n,i){let s=await Xt.readlink(t);i.dereference&&(s=en.resolve(process.cwd(),s));if(!e)return Xt.symlink(s,n);let a=null;try{a=await Xt.readlink(n)}catch(e){if("EINVAL"===e.code||"UNKNOWN"===e.code)return Xt.symlink(s,n);throw e}i.dereference&&(a=en.resolve(process.cwd(),a));if(an.isSrcSubdir(s,a))throw new Error(`Cannot copy '${s}' to a subdirectory of itself, '${a}'.`);if(an.isSrcSubdir(a,s))throw new Error(`Cannot overwrite '${a}' with '${s}'.`);return await Xt.unlink(n),Xt.symlink(s,n)}(e,t,n,i);if(a.isSocket())throw new Error(`Cannot copy a socket file: ${t}`);if(a.isFIFO())throw new Error(`Cannot copy a FIFO pipe: ${t}`);throw new Error(`Unknown file: ${t}`)}async function cn(e,t,n,i){if(await Xt.copyFile(t,n),i.preserveTimestamps){0==(128&e.mode)&&await function(e,t){return Xt.chmod(e,128|t)}(n,e.mode);const i=await Xt.stat(t);await sn(n,i.atime,i.mtime)}return Xt.chmod(n,e.mode)}var pn=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 an.checkPaths(e,t,"copy",n);if(await an.checkParentPaths(e,i,t,"copy"),!await on(e,t,n))return;const a=en.dirname(t);await nn(a)||await tn(a),await rn(s,e,t,n)};const ln=St,un=h,dn=Ut.mkdirsSync,mn=Gt.utimesMillisSync,hn=Zt;function fn(e,t,n,i){const s=(i.dereference?ln.statSync:ln.lstatSync)(t);if(s.isDirectory())return function(e,t,n,i,s){return t?gn(n,i,s):function(e,t,n,i){return ln.mkdirSync(n),gn(t,n,i),vn(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 ln.unlinkSync(n),xn(e,t,n,i);if(i.errorOnExist)throw new Error(`'${n}' already exists`)}(e,n,i,s):xn(e,n,i,s)}(s,e,t,n,i);if(s.isSymbolicLink())return function(e,t,n,i){let s=ln.readlinkSync(t);i.dereference&&(s=un.resolve(process.cwd(),s));if(e){let e;try{e=ln.readlinkSync(n)}catch(e){if("EINVAL"===e.code||"UNKNOWN"===e.code)return ln.symlinkSync(s,n);throw e}if(i.dereference&&(e=un.resolve(process.cwd(),e)),hn.isSrcSubdir(s,e))throw new Error(`Cannot copy '${s}' to a subdirectory of itself, '${e}'.`);if(hn.isSrcSubdir(e,s))throw new Error(`Cannot overwrite '${e}' with '${s}'.`);return function(e,t){return ln.unlinkSync(t),ln.symlinkSync(e,t)}(s,n)}return ln.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 xn(e,t,n,i){return ln.copyFileSync(t,n),i.preserveTimestamps&&function(e,t,n){(function(e){return 0==(128&e)})(e)&&function(e,t){vn(e,128|t)}(n,e);(function(e,t){const n=ln.statSync(e);mn(t,n.atime,n.mtime)})(t,n)}(e.mode,t,n),vn(n,e.mode)}function vn(e,t){return ln.chmodSync(e,t)}function gn(e,t,n){ln.readdirSync(e).forEach((i=>function(e,t,n,i){const s=un.join(t,e),a=un.join(n,e);if(i.filter&&!i.filter(s,a))return;const{destStat:o}=hn.checkPathsSync(s,a,"copy",i);return fn(o,s,a,i)}(i,e,t,n)))}var bn=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}=hn.checkPathsSync(e,t,"copy",n);if(hn.checkParentPathsSync(e,i,t,"copy"),n.filter&&!n.filter(e,t))return;const a=un.dirname(t);return ln.existsSync(a)||dn(a),fn(s,e,t,n)};var yn={copy:(0,it.fromPromise)(pn),copySync:bn};const _n=St;var wn={remove:(0,it.fromCallback)((function(e,t){_n.rm(e,{recursive:!0,force:!0},t)})),removeSync:function(e){_n.rmSync(e,{recursive:!0,force:!0})}};const En=it.fromPromise,kn=nt,Sn=h,Tn=Ut,Rn=wn,An=En((async function(e){let t;try{t=await kn.readdir(e)}catch{return Tn.mkdirs(e)}return Promise.all(t.map((t=>Rn.remove(Sn.join(e,t)))))}));function Cn(e){let t;try{t=kn.readdirSync(e)}catch{return Tn.mkdirsSync(e)}t.forEach((t=>{t=Sn.join(e,t),Rn.removeSync(t)}))}var On={emptyDirSync:Cn,emptydirSync:Cn,emptyDir:An,emptydir:An};const jn=it.fromPromise,Pn=h,Ln=nt,Nn=Ut;var In={createFile:jn((async function(e){let t;try{t=await Ln.stat(e)}catch{}if(t&&t.isFile())return;const n=Pn.dirname(e);let i=null;try{i=await Ln.stat(n)}catch(t){if("ENOENT"===t.code)return await Nn.mkdirs(n),void await Ln.writeFile(e,"");throw t}i.isDirectory()?await Ln.writeFile(e,""):await Ln.readdir(n)})),createFileSync:function(e){let t;try{t=Ln.statSync(e)}catch{}if(t&&t.isFile())return;const n=Pn.dirname(e);try{Ln.statSync(n).isDirectory()||Ln.readdirSync(n)}catch(e){if(!e||"ENOENT"!==e.code)throw e;Nn.mkdirsSync(n)}Ln.writeFileSync(e,"")}};const Dn=it.fromPromise,Fn=h,Mn=nt,$n=Ut,{pathExists:Un}=Ht,{areIdentical:Bn}=Zt;var zn={createLink:Dn((async function(e,t){let n,i;try{n=await Mn.lstat(t)}catch{}try{i=await Mn.lstat(e)}catch(e){throw e.message=e.message.replace("lstat","ensureLink"),e}if(n&&Bn(i,n))return;const s=Fn.dirname(t);await Un(s)||await $n.mkdirs(s),await Mn.link(e,t)})),createLinkSync:function(e,t){let n;try{n=Mn.lstatSync(t)}catch{}try{const t=Mn.lstatSync(e);if(n&&Bn(t,n))return}catch(e){throw e.message=e.message.replace("lstat","ensureLink"),e}const i=Fn.dirname(t);return Mn.existsSync(i)||$n.mkdirsSync(i),Mn.linkSync(e,t)}};const Hn=h,qn=nt,{pathExists:Gn}=Ht;var Wn={symlinkPaths:(0,it.fromPromise)((async function(e,t){if(Hn.isAbsolute(e)){try{await qn.lstat(e)}catch(e){throw e.message=e.message.replace("lstat","ensureSymlink"),e}return{toCwd:e,toDst:e}}const n=Hn.dirname(t),i=Hn.join(n,e);if(await Gn(i))return{toCwd:i,toDst:e};try{await qn.lstat(e)}catch(e){throw e.message=e.message.replace("lstat","ensureSymlink"),e}return{toCwd:e,toDst:Hn.relative(n,e)}})),symlinkPathsSync:function(e,t){if(Hn.isAbsolute(e)){if(!qn.existsSync(e))throw new Error("absolute srcpath does not exist");return{toCwd:e,toDst:e}}const n=Hn.dirname(t),i=Hn.join(n,e);if(qn.existsSync(i))return{toCwd:i,toDst:e};if(!qn.existsSync(e))throw new Error("relative srcpath does not exist");return{toCwd:e,toDst:Hn.relative(n,e)}}};const Kn=nt;var Vn={symlinkType:(0,it.fromPromise)((async function(e,t){if(t)return t;let n;try{n=await Kn.lstat(e)}catch{return"file"}return n&&n.isDirectory()?"dir":"file"})),symlinkTypeSync:function(e,t){if(t)return t;let n;try{n=Kn.lstatSync(e)}catch{return"file"}return n&&n.isDirectory()?"dir":"file"}};const Qn=it.fromPromise,Yn=h,Jn=nt,{mkdirs:Zn,mkdirsSync:Xn}=Ut,{symlinkPaths:ei,symlinkPathsSync:ti}=Wn,{symlinkType:ni,symlinkTypeSync:ii}=Vn,{pathExists:si}=Ht,{areIdentical:ai}=Zt;var oi={createSymlink:Qn((async function(e,t,n){let i;try{i=await Jn.lstat(t)}catch{}if(i&&i.isSymbolicLink()){const[n,i]=await Promise.all([Jn.stat(e),Jn.stat(t)]);if(ai(n,i))return}const s=await ei(e,t);e=s.toDst;const a=await ni(s.toCwd,n),o=Yn.dirname(t);return await si(o)||await Zn(o),Jn.symlink(e,t,a)})),createSymlinkSync:function(e,t,n){let i;try{i=Jn.lstatSync(t)}catch{}if(i&&i.isSymbolicLink()){const n=Jn.statSync(e),i=Jn.statSync(t);if(ai(n,i))return}const s=ti(e,t);e=s.toDst,n=ii(s.toCwd,n);const a=Yn.dirname(t);return Jn.existsSync(a)||Xn(a),Jn.symlinkSync(e,t,n)}};const{createFile:ri,createFileSync:ci}=In,{createLink:pi,createLinkSync:li}=zn,{createSymlink:ui,createSymlinkSync:di}=oi;var mi={createFile:ri,createFileSync:ci,ensureFile:ri,ensureFileSync:ci,createLink:pi,createLinkSync:li,ensureLink:pi,ensureLinkSync:li,createSymlink:ui,createSymlinkSync:di,ensureSymlink:ui,ensureSymlinkSync:di};var hi={stringify:function(e,{EOL:t="\n",finalEOL:n=!0,replacer:i=null,spaces:s}={}){const a=n?t:"";return JSON.stringify(e,i,s).replace(/\n/g,t)+a},stripBom:function(e){return Buffer.isBuffer(e)&&(e=e.toString("utf8")),e.replace(/^\uFEFF/,"")}};let fi;try{fi=St}catch(e){fi=c}const xi=it,{stringify:vi,stripBom:gi}=hi;const bi=xi.fromPromise((async function(e,t={}){"string"==typeof t&&(t={encoding:t});const n=t.fs||fi,i=!("throws"in t)||t.throws;let s,a=await xi.fromCallback(n.readFile)(e,t);a=gi(a);try{s=JSON.parse(a,t?t.reviver:null)}catch(t){if(i)throw t.message=`${e}: ${t.message}`,t;return null}return s}));const yi=xi.fromPromise((async function(e,t,n={}){const i=n.fs||fi,s=vi(t,n);await xi.fromCallback(i.writeFile)(e,s,n)}));const _i={readFile:bi,readFileSync:function(e,t={}){"string"==typeof t&&(t={encoding:t});const n=t.fs||fi,i=!("throws"in t)||t.throws;try{let i=n.readFileSync(e,t);return i=gi(i),JSON.parse(i,t.reviver)}catch(t){if(i)throw t.message=`${e}: ${t.message}`,t;return null}},writeFile:yi,writeFileSync:function(e,t,n={}){const i=n.fs||fi,s=vi(t,n);return i.writeFileSync(e,s,n)}};var wi={readJson:_i.readFile,readJsonSync:_i.readFileSync,writeJson:_i.writeFile,writeJsonSync:_i.writeFileSync};const Ei=it.fromPromise,ki=nt,Si=h,Ti=Ut,Ri=Ht.pathExists;var Ai={outputFile:Ei((async function(e,t,n="utf-8"){const i=Si.dirname(e);return await Ri(i)||await Ti.mkdirs(i),ki.writeFile(e,t,n)})),outputFileSync:function(e,...t){const n=Si.dirname(e);ki.existsSync(n)||Ti.mkdirsSync(n),ki.writeFileSync(e,...t)}};const{stringify:Ci}=hi,{outputFile:Oi}=Ai;var ji=async function(e,t,n={}){const i=Ci(t,n);await Oi(e,i,n)};const{stringify:Pi}=hi,{outputFileSync:Li}=Ai;var Ni=function(e,t,n){const i=Pi(t,n);Li(e,i,n)};const Ii=it.fromPromise,Di=wi;Di.outputJson=Ii(ji),Di.outputJsonSync=Ni,Di.outputJSON=Di.outputJson,Di.outputJSONSync=Di.outputJsonSync,Di.writeJSON=Di.writeJson,Di.writeJSONSync=Di.writeJsonSync,Di.readJSON=Di.readJson,Di.readJSONSync=Di.readJsonSync;var Fi=Di;const Mi=nt,$i=h,{copy:Ui}=yn,{remove:Bi}=wn,{mkdirp:zi}=Ut,{pathExists:Hi}=Ht,qi=Zt;var Gi=async function(e,t,n={}){const i=n.overwrite||n.clobber||!1,{srcStat:s,isChangingCase:a=!1}=await qi.checkPaths(e,t,"move",n);await qi.checkParentPaths(e,s,t,"move");const o=$i.dirname(t);return $i.parse(o).root!==o&&await zi(o),async function(e,t,n,i){if(!i)if(n)await Bi(t);else if(await Hi(t))throw new Error("dest already exists.");try{await Mi.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 Ui(e,t,i),Bi(e)}(e,t,n)}}(e,t,i,a)};const Wi=St,Ki=h,Vi=yn.copySync,Qi=wn.removeSync,Yi=Ut.mkdirpSync,Ji=Zt;function Zi(e,t,n){try{Wi.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 Vi(e,t,i),Qi(e)}(e,t,n)}}var Xi=function(e,t,n){const i=(n=n||{}).overwrite||n.clobber||!1,{srcStat:s,isChangingCase:a=!1}=Ji.checkPathsSync(e,t,"move",n);return Ji.checkParentPathsSync(e,s,t,"move"),function(e){const t=Ki.dirname(e);return Ki.parse(t).root===t}(t)||Yi(Ki.dirname(t)),function(e,t,n,i){if(i)return Zi(e,t,n);if(n)return Qi(t),Zi(e,t,n);if(Wi.existsSync(t))throw new Error("dest already exists.");return Zi(e,t,n)}(e,t,i,a)};var es={move:(0,it.fromPromise)(Gi),moveSync:Xi},ts=tt({...nt,...yn,...On,...mi,...Fi,...Ut,...es,...Ai,...Ht,...wn}),ns=h,is=x;function ss(){return"homedir"in is?is.homedir():"win32"===(this.__platform||process.platform)?ns.resolve(process.env.USERPROFILE):ns.resolve(process.env.HOME)}var as=tt({__platform:process.platform,data:function(){switch(this.__platform||process.platform){case"win32":return ns.resolve(process.env.APPDATA);case"darwin":return ns.resolve(ns.join(ss.call(this),"Library/Application Support/"));default:return process.env.XDG_CONFIG_HOME?ns.resolve(process.env.XDG_CONFIG_HOME):ns.resolve(ns.join(ss.call(this),".config/"))}},desktop:function(){return ns.join(ss.call(this),"Desktop")},home:ss,tmp:function(){return"win32"===(this.__platform||process.platform)?ns.resolve(process.env.TEMP):ns.resolve("/tmp")}});async function os(e){try{return await i.readFile(e,"utf8")}catch(e){return""}}function rs(){try{return as.data()}catch(e){throw Error(`Failed to get ospath data: ${e.message}`)}}const cs=e=>"number"==typeof e?e:{mode:511,...e}.mode;const ps=(t,n)=>new Promise(((i,s)=>{try{!function(t){if("win32"===process.platform&&/[<>:"|?*]/.test(t.replace(e.parse(t).root,""))){const e=new Error(`Path contains invalid characters: ${t}`);throw e.code="EINVAL",e}}(t),a(t,{mode:cs(n)},i)}catch(e){s(e)}}));async function ls(e){try{return await new Promise((t=>s(e,t)))||await ps(e,{recursive:!0}),!0}catch(e){return!1}}const us=ts.emptyDir,ds=ts.remove,ms=ts.readJSON,hs=ts.writeJSON;function fs(e,t){return function(){return e.apply(t,arguments)}}const{toString:xs}=Object.prototype,{getPrototypeOf:vs}=Object,{iterator:gs,toStringTag:bs}=Symbol,ys=(_s=Object.create(null),e=>{const t=xs.call(e);return _s[t]||(_s[t]=t.slice(8,-1).toLowerCase())});var _s;const ws=e=>(e=e.toLowerCase(),t=>ys(t)===e),Es=e=>t=>typeof t===e,{isArray:ks}=Array,Ss=Es("undefined");const Ts=ws("ArrayBuffer");const Rs=Es("string"),As=Es("function"),Cs=Es("number"),Os=e=>null!==e&&"object"==typeof e,js=e=>{if("object"!==ys(e))return!1;const t=vs(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||bs in e||gs in e)},Ps=ws("Date"),Ls=ws("File"),Ns=ws("Blob"),Is=ws("FileList"),Ds=ws("URLSearchParams"),[Fs,Ms,$s,Us]=["ReadableStream","Request","Response","Headers"].map(ws);function Bs(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let i,s;if("object"!=typeof e&&(e=[e]),ks(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),a=s.length;let o;for(i=0;i<a;i++)o=s[i],t.call(null,e[o],o,e)}}function zs(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 Hs="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,qs=e=>!Ss(e)&&e!==Hs;const Gs=(Ws="undefined"!=typeof Uint8Array&&vs(Uint8Array),e=>Ws&&e instanceof Ws);var Ws;const Ks=ws("HTMLFormElement"),Vs=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Qs=ws("RegExp"),Ys=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),i={};Bs(n,((n,s)=>{let a;!1!==(a=t(n,s,e))&&(i[s]=a||n)})),Object.defineProperties(e,i)};const Js=ws("AsyncFunction"),Zs=(Xs="function"==typeof setImmediate,ea=As(Hs.postMessage),Xs?setImmediate:ea?(ta=`axios@${Math.random()}`,na=[],Hs.addEventListener("message",(({source:e,data:t})=>{e===Hs&&t===ta&&na.length&&na.shift()()}),!1),e=>{na.push(e),Hs.postMessage(ta,"*")}):e=>setTimeout(e));var Xs,ea,ta,na;const ia="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Hs):"undefined"!=typeof process&&process.nextTick||Zs;var sa={isArray:ks,isArrayBuffer:Ts,isBuffer:function(e){return null!==e&&!Ss(e)&&null!==e.constructor&&!Ss(e.constructor)&&As(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||As(e.append)&&("formdata"===(t=ys(e))||"object"===t&&As(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Ts(e.buffer),t},isString:Rs,isNumber:Cs,isBoolean:e=>!0===e||!1===e,isObject:Os,isPlainObject:js,isReadableStream:Fs,isRequest:Ms,isResponse:$s,isHeaders:Us,isUndefined:Ss,isDate:Ps,isFile:Ls,isBlob:Ns,isRegExp:Qs,isFunction:As,isStream:e=>Os(e)&&As(e.pipe),isURLSearchParams:Ds,isTypedArray:Gs,isFileList:Is,forEach:Bs,merge:function e(){const{caseless:t}=qs(this)&&this||{},n={},i=(i,s)=>{const a=t&&zs(n,s)||s;js(n[a])&&js(i)?n[a]=e(n[a],i):js(i)?n[a]=e({},i):ks(i)?n[a]=i.slice():n[a]=i};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&Bs(arguments[e],i);return n},extend:(e,t,n,{allOwnKeys:i}={})=>(Bs(t,((t,i)=>{n&&As(t)?e[i]=fs(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,a,o;const r={};if(t=t||{},null==e)return t;do{for(s=Object.getOwnPropertyNames(e),a=s.length;a-- >0;)o=s[a],i&&!i(o,e,t)||r[o]||(t[o]=e[o],r[o]=!0);e=!1!==n&&vs(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:ys,kindOfTest:ws,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(ks(e))return e;let t=e.length;if(!Cs(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[gs]).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:Ks,hasOwnProperty:Vs,hasOwnProp:Vs,reduceDescriptors:Ys,freezeMethods:e=>{Ys(e,((t,n)=>{if(As(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const i=e[n];As(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 ks(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:zs,global:Hs,isContextDefined:qs,isSpecCompliantForm:function(e){return!!(e&&As(e.append)&&"FormData"===e[bs]&&e[gs])},toJSONObject:e=>{const t=new Array(10),n=(e,i)=>{if(Os(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[i]=e;const s=ks(e)?[]:{};return Bs(e,((e,t)=>{const a=n(e,i+1);!Ss(a)&&(s[t]=a)})),t[i]=void 0,s}}return e};return n(e,0)},isAsyncFn:Js,isThenable:e=>e&&(Os(e)||As(e))&&As(e.then)&&As(e.catch),setImmediate:Zs,asap:ia,isIterable:e=>null!=e&&As(e[gs])};function aa(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)}sa.inherits(aa,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:sa.toJSONObject(this.config),code:this.code,status:this.status}}});const oa=aa.prototype,ra={};["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=>{ra[e]={value:e}})),Object.defineProperties(aa,ra),Object.defineProperty(oa,"isAxiosError",{value:!0}),aa.from=(e,t,n,i,s,a)=>{const o=Object.create(oa);return sa.toFlatObject(e,o,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),aa.call(o,e.message,t,n,i,s),o.cause=e,o.name=e.name,a&&Object.assign(o,a),o};var ca=l.Stream,pa=la;function la(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}d.inherits(la,ca),la.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(la.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),la.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},la.prototype.resume=function(){this._released||this.release(),this.source.resume()},la.prototype.pause=function(){this.source.pause()},la.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},la.prototype.pipe=function(){var e=ca.prototype.pipe.apply(this,arguments);return this.resume(),e},la.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))},la.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 ua=d,da=l.Stream,ma=pa,ha=fa;function fa(){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}ua.inherits(fa,da),fa.create=function(e){var t=new this;for(var n in e=e||{})t[n]=e[n];return t},fa.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},fa.prototype.append=function(e){if(fa.isStreamLike(e)){if(!(e instanceof ma)){var t=ma.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},fa.prototype.pipe=function(e,t){return da.prototype.pipe.call(this,e,t),this.resume(),e},fa.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}}},fa.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){fa.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},fa.prototype._pipeNext=function(e){if(this._currentStream=e,fa.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},fa.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},fa.prototype.write=function(e){this.emit("data",e)},fa.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},fa.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")},fa.prototype.end=function(){this._reset(),this.emit("end")},fa.prototype.destroy=function(){this._reset(),this.emit("close")},fa.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},fa.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},fa.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)},fa.prototype._emitError=function(e){this._reset(),this.emit("error",e)};var xa={},va={"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=va,a=h.extname,o=/^\s*([^;\s]*)(?:;|\s|$)/,r=/^text\//i;function c(e){if(!e||"string"!=typeof e)return!1;var t=o.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=o.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=a("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 a=s[e],o=a.extensions;if(o&&o.length){t[e]=o;for(var r=0;r<o.length;r++){var c=o[r];if(n[c]){var p=i.indexOf(s[n[c]].source),l=i.indexOf(a.source);if("application/octet-stream"!==n[c]&&(p>l||p===l&&"application/"===n[c].substr(0,12)))continue}n[c]=e}}}))}(xa);var ga=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 ba=ga,ya=function(e){var t=!1;return ba((function(){t=!0})),function(n,i){t?e(n,i):ba((function(){e(n,i)}))}};var _a=function(e){Object.keys(e.jobs).forEach(wa.bind(e)),e.jobs={}};function wa(e){"function"==typeof this.jobs[e]&&this.jobs[e]()}var Ea=ya,ka=_a,Sa=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,Ea(i)):e(n,t,Ea(i));return s}(t,s,e[s],(function(e,t){s in n.jobs&&(delete n.jobs[s],e?ka(n):n.results[s]=t,i(e,n.results))}))};var Ta=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 Ra=_a,Aa=ya,Ca=function(e){if(!Object.keys(this.jobs).length)return;this.index=this.size,Ra(this),Aa(e)(null,this.results)};var Oa=Sa,ja=Ta,Pa=Ca,La=function(e,t,n){var i=ja(e);for(;i.index<(i.keyedList||e).length;)Oa(e,t,i,(function(e,t){e?n(e,t):0!==Object.keys(i.jobs).length||n(null,i.results)})),i.index++;return Pa.bind(i,n)};var Na={exports:{}},Ia=Sa,Da=Ta,Fa=Ca;function Ma(e,t){return e<t?-1:e>t?1:0}Na.exports=function(e,t,n,i){var s=Da(e,n);return Ia(e,t,s,(function n(a,o){a?i(a,o):(s.index++,s.index<(s.keyedList||e).length?Ia(e,t,s,n):i(null,s.results))})),Fa.bind(s,i)},Na.exports.ascending=Ma,Na.exports.descending=function(e,t){return-1*Ma(e,t)};var $a=Na.exports,Ua=$a,Ba=function(e,t,n){return Ua(e,t,null,n)};var za={parallel:La,serial:Ba,serialOrdered:$a},Ha=ha,qa=d,Ga=h,Wa=g,Ka=b,Va=y.parse,Qa=c,Ya=l.Stream,Ja=xa,Za=za,Xa=function(e,t){return Object.keys(t).forEach((function(n){e[n]=e[n]||t[n]})),e},eo=to;function to(e){if(!(this instanceof to))return new to(e);for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],Ha.call(this),e=e||{})this[t]=e[t]}qa.inherits(to,Ha),to.LINE_BREAK="\r\n",to.DEFAULT_CONTENT_TYPE="application/octet-stream",to.prototype.append=function(e,t,n){"string"==typeof(n=n||{})&&(n={filename:n});var i=Ha.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),qa.isArray(t))this._error(new Error("Arrays are not supported."));else{var s=this._multiPartHeader(e,t,n),a=this._multiPartFooter();i(s),i(t),i(a),this._trackLength(s,t,n)}},to.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)+to.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty("httpVersion")||t instanceof Ya)&&(n.knownLength||this._valuesToMeasure.push(t))},to.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)):Qa.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")},to.prototype._multiPartHeader=function(e,t,n){if("string"==typeof n.header)return n.header;var i,s=this._getContentDisposition(t,n),a=this._getContentType(t,n),o="",r={"Content-Disposition":["form-data",'name="'+e+'"'].concat(s||[]),"Content-Type":[].concat(a||[])};for(var c in"object"==typeof n.header&&Xa(r,n.header),r)r.hasOwnProperty(c)&&null!=(i=r[c])&&(Array.isArray(i)||(i=[i]),i.length&&(o+=c+": "+i.join("; ")+to.LINE_BREAK));return"--"+this.getBoundary()+to.LINE_BREAK+o+to.LINE_BREAK},to.prototype._getContentDisposition=function(e,t){var n,i;return"string"==typeof t.filepath?n=Ga.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?n=Ga.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(n=Ga.basename(e.client._httpMessage.path||"")),n&&(i='filename="'+n+'"'),i},to.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e.name&&(n=Ja.lookup(e.name)),!n&&e.path&&(n=Ja.lookup(e.path)),!n&&e.readable&&e.hasOwnProperty("httpVersion")&&(n=e.headers["content-type"]),n||!t.filepath&&!t.filename||(n=Ja.lookup(t.filepath||t.filename)),n||"object"!=typeof e||(n=to.DEFAULT_CONTENT_TYPE),n},to.prototype._multiPartFooter=function(){return function(e){var t=to.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}.bind(this)},to.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+to.LINE_BREAK},to.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},to.prototype.setBoundary=function(e){this._boundary=e},to.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},to.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(to.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])},to.prototype._generateBoundary=function(){for(var e="--------------------------",t=0;t<24;t++)e+=Math.floor(10*Math.random()).toString(16);this._boundary=e},to.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},to.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e},to.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;this._streams.length&&(t+=this._lastBoundary().length),this._valuesToMeasure.length?Za.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))},to.prototype.submit=function(e,t){var n,i,s={method:"post"};return"string"==typeof e?(e=Va(e),i=Xa({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},s)):(i=Xa(e,s)).port||(i.port="https:"==i.protocol?443:80),i.headers=this.getHeaders(e.headers),n="https:"==i.protocol?Ka.request(i):Wa.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,a=function(e,i){return n.removeListener("error",a),n.removeListener("response",s),t.call(this,e,i)};s=a.bind(this,null),n.on("error",a),n.on("response",s)}}.bind(this)),n},to.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))},to.prototype.toString=function(){return"[object FormData]"};var no=tt(eo);function io(e){return sa.isPlainObject(e)||sa.isArray(e)}function so(e){return sa.endsWith(e,"[]")?e.slice(0,-2):e}function ao(e,t,n){return e?e.concat(t).map((function(e,t){return e=so(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const oo=sa.toFlatObject(sa,{},null,(function(e){return/^is[A-Z]/.test(e)}));function ro(e,t,n){if(!sa.isObject(e))throw new TypeError("target must be an object");t=t||new(no||FormData);const i=(n=sa.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!sa.isUndefined(t[e])}))).metaTokens,s=n.visitor||p,a=n.dots,o=n.indexes,r=(n.Blob||"undefined"!=typeof Blob&&Blob)&&sa.isSpecCompliantForm(t);if(!sa.isFunction(s))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(sa.isDate(e))return e.toISOString();if(!r&&sa.isBlob(e))throw new aa("Blob is not supported. Use a Buffer instead.");return sa.isArrayBuffer(e)||sa.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(sa.endsWith(n,"{}"))n=i?n:n.slice(0,-2),e=JSON.stringify(e);else if(sa.isArray(e)&&function(e){return sa.isArray(e)&&!e.some(io)}(e)||(sa.isFileList(e)||sa.endsWith(n,"[]"))&&(r=sa.toArray(e)))return n=so(n),r.forEach((function(e,i){!sa.isUndefined(e)&&null!==e&&t.append(!0===o?ao([n],i,a):null===o?n:n+"[]",c(e))})),!1;return!!io(e)||(t.append(ao(s,n,a),c(e)),!1)}const l=[],u=Object.assign(oo,{defaultVisitor:p,convertValue:c,isVisitable:io});if(!sa.isObject(e))throw new TypeError("data must be an object");return function e(n,i){if(!sa.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+i.join("."));l.push(n),sa.forEach(n,(function(n,a){!0===(!(sa.isUndefined(n)||null===n)&&s.call(t,n,sa.isString(a)?a.trim():a,i,u))&&e(n,i?i.concat(a):[a])})),l.pop()}}(e),t}function co(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function po(e,t){this._pairs=[],e&&ro(e,this,t)}const lo=po.prototype;function uo(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function mo(e,t,n){if(!t)return e;const i=n&&n.encode||uo;sa.isFunction(n)&&(n={serialize:n});const s=n&&n.serialize;let a;if(a=s?s(t,n):sa.isURLSearchParams(t)?t.toString():new po(t,n).toString(i),a){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}lo.append=function(e,t){this._pairs.push([e,t])},lo.toString=function(e){const t=e?function(t){return e.call(this,t,co)}:co;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};class ho{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){sa.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}var fo={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},xo=y.URLSearchParams;const vo="abcdefghijklmnopqrstuvwxyz",go="0123456789",bo={DIGIT:go,ALPHA:vo,ALPHA_DIGIT:vo+vo.toUpperCase()+go};var yo={isNode:!0,classes:{URLSearchParams:xo,FormData:no,Blob:"undefined"!=typeof Blob&&Blob||null},ALPHABET:bo,generateString:(e=16,t=bo.ALPHA_DIGIT)=>{let n="";const{length:i}=t,s=new Uint32Array(e);_.randomFillSync(s);for(let a=0;a<e;a++)n+=t[s[a]%i];return n},protocols:["http","https","file","data"]};const _o="undefined"!=typeof window&&"undefined"!=typeof document,wo="object"==typeof navigator&&navigator||void 0,Eo=_o&&(!wo||["ReactNative","NativeScript","NS"].indexOf(wo.product)<0),ko="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,So=_o&&window.location.href||"http://localhost";var To={...Object.freeze({__proto__:null,hasBrowserEnv:_o,hasStandardBrowserEnv:Eo,hasStandardBrowserWebWorkerEnv:ko,navigator:wo,origin:So}),...yo};function Ro(e){function t(e,n,i,s){let a=e[s++];if("__proto__"===a)return!0;const o=Number.isFinite(+a),r=s>=e.length;if(a=!a&&sa.isArray(i)?i.length:a,r)return sa.hasOwnProp(i,a)?i[a]=[i[a],n]:i[a]=n,!o;i[a]&&sa.isObject(i[a])||(i[a]=[]);return t(e,n,i[a],s)&&sa.isArray(i[a])&&(i[a]=function(e){const t={},n=Object.keys(e);let i;const s=n.length;let a;for(i=0;i<s;i++)a=n[i],t[a]=e[a];return t}(i[a])),!o}if(sa.isFormData(e)&&sa.isFunction(e.entries)){const n={};return sa.forEachEntry(e,((e,i)=>{t(function(e){return sa.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),i,n,0)})),n}return null}const Ao={transitional:fo,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",i=n.indexOf("application/json")>-1,s=sa.isObject(e);s&&sa.isHTMLForm(e)&&(e=new FormData(e));if(sa.isFormData(e))return i?JSON.stringify(Ro(e)):e;if(sa.isArrayBuffer(e)||sa.isBuffer(e)||sa.isStream(e)||sa.isFile(e)||sa.isBlob(e)||sa.isReadableStream(e))return e;if(sa.isArrayBufferView(e))return e.buffer;if(sa.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(s){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return ro(e,new To.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,i){return To.isNode&&sa.isBuffer(e)?(this.append(t,e.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((a=sa.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return ro(a?{"files[]":e}:e,t&&new t,this.formSerializer)}}return s||i?(t.setContentType("application/json",!1),function(e,t,n){if(sa.isString(e))try{return(t||JSON.parse)(e),sa.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Ao.transitional,n=t&&t.forcedJSONParsing,i="json"===this.responseType;if(sa.isResponse(e)||sa.isReadableStream(e))return e;if(e&&sa.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 aa.from(e,aa.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:To.classes.FormData,Blob:To.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};sa.forEach(["delete","get","head","post","put","patch"],(e=>{Ao.headers[e]={}}));var Co=Ao;const Oo=sa.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 jo=Symbol("internals");function Po(e){return e&&String(e).trim().toLowerCase()}function Lo(e){return!1===e||null==e?e:sa.isArray(e)?e.map(Lo):String(e)}function No(e,t,n,i,s){return sa.isFunction(i)?i.call(this,t,n):(s&&(t=n),sa.isString(t)?sa.isString(i)?-1!==t.indexOf(i):sa.isRegExp(i)?i.test(t):void 0:void 0)}class Io{constructor(e){e&&this.set(e)}set(e,t,n){const i=this;function s(e,t,n){const s=Po(t);if(!s)throw new Error("header name must be a non-empty string");const a=sa.findKey(i,s);(!a||void 0===i[a]||!0===n||void 0===n&&!1!==i[a])&&(i[a||t]=Lo(e))}const a=(e,t)=>sa.forEach(e,((e,n)=>s(e,n,t)));if(sa.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(sa.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))a((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]&&Oo[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(sa.isObject(e)&&sa.isIterable(e)){let n,i,s={};for(const t of e){if(!sa.isArray(t))throw TypeError("Object iterator must return a key-value pair");s[i=t[0]]=(n=s[i])?sa.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}a(s,t)}else null!=e&&s(t,e,n);return this}get(e,t){if(e=Po(e)){const n=sa.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(sa.isFunction(t))return t.call(this,e,n);if(sa.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Po(e)){const n=sa.findKey(this,e);return!(!n||void 0===this[n]||t&&!No(0,this[n],n,t))}return!1}delete(e,t){const n=this;let i=!1;function s(e){if(e=Po(e)){const s=sa.findKey(n,e);!s||t&&!No(0,n[s],s,t)||(delete n[s],i=!0)}}return sa.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&&!No(0,this[s],s,e,!0)||(delete this[s],i=!0)}return i}normalize(e){const t=this,n={};return sa.forEach(this,((i,s)=>{const a=sa.findKey(n,s);if(a)return t[a]=Lo(i),void delete t[s];const o=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(s):String(s).trim();o!==s&&delete t[s],t[o]=Lo(i),n[o]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return sa.forEach(this,((n,i)=>{null!=n&&!1!==n&&(t[i]=e&&sa.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[jo]=this[jo]={accessors:{}}).accessors,n=this.prototype;function i(e){const i=Po(e);t[i]||(!function(e,t){const n=sa.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 sa.isArray(e)?e.forEach(i):i(e),this}}Io.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),sa.reduceDescriptors(Io.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),sa.freezeMethods(Io);var Do=Io;function Fo(e,t){const n=this||Co,i=t||n,s=Do.from(i.headers);let a=i.data;return sa.forEach(e,(function(e){a=e.call(n,a,s.normalize(),t?t.status:void 0)})),s.normalize(),a}function Mo(e){return!(!e||!e.__CANCEL__)}function $o(e,t,n){aa.call(this,null==e?"canceled":e,aa.ERR_CANCELED,t,n),this.name="CanceledError"}function Uo(e,t,n){const i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(new aa("Request failed with status code "+n.status,[aa.ERR_BAD_REQUEST,aa.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function Bo(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}sa.inherits($o,aa,{__CANCEL__:!0});var zo={},Ho=y.parse,qo={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},Go=String.prototype.endsWith||function(e){return e.length<=this.length&&-1!==this.indexOf(e,this.length-e.length)};function Wo(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}zo.getProxyForUrl=function(e){var t="string"==typeof e?Ho(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=(Wo("npm_config_no_proxy")||Wo("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,a=i?parseInt(i[2]):0;return!(!a||a===t)||(/^[.*]/.test(s)?("*"===s.charAt(0)&&(s=s.slice(1)),!Go.call(e,s)):e!==s)}))}(i=i.replace(/:\d*$/,""),s=parseInt(s)||qo[n]||0))return"";var a=Wo("npm_config_"+n+"_proxy")||Wo(n+"_proxy")||Wo("npm_config_proxy")||Wo("all_proxy");return a&&-1===a.indexOf("://")&&(a=n+"://"+a),a};var Ko,Vo,Qo,Yo,Jo,Zo={exports:{}},Xo={exports:{}},er={exports:{}};function tr(){if(Vo)return Ko;Vo=1;var e=1e3,t=60*e,n=60*t,i=24*n,s=7*i,a=365.25*i;function o(e,t,n,i){var s=t>=1.5*n;return Math.round(e/n)+" "+i+(s?"s":"")}return Ko=function(r,c){c=c||{};var p=typeof r;if("string"===p&&r.length>0)return function(o){if((o=String(o)).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(o);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*a;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 a=Math.abs(s);if(a>=i)return o(s,a,i,"day");if(a>=n)return o(s,a,n,"hour");if(a>=t)return o(s,a,t,"minute");if(a>=e)return o(s,a,e,"second");return s+" ms"}(r):function(s){var a=Math.abs(s);if(a>=i)return Math.round(s/i)+"d";if(a>=n)return Math.round(s/n)+"h";if(a>=t)return Math.round(s/t)+"m";if(a>=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 nr(){if(Yo)return Qo;return Yo=1,Qo=function(e){function t(e){let i,s,a,o=null;function r(...e){if(!r.enabled)return;const n=r,s=Number(new Date),a=s-(i||s);n.diff=a,n.prev=i,n.curr=s,i=s,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((i,s)=>{if("%%"===i)return"%";o++;const a=t.formatters[s];if("function"==typeof a){const t=e[o];i=a.call(n,t),e.splice(o,1),o--}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!==o?o:(s!==t.namespaces&&(s=t.namespaces,a=t.enabled(e)),a),set:e=>{o=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,a=0;for(;n<e.length;)if(i<t.length&&(t[i]===e[n]||"*"===t[i]))"*"===t[i]?(s=i,a=n,i++):(n++,i++);else{if(-1===s)return!1;i=s+1,a++,n=a}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=tr(),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},Qo}var ir,sr,ar,or,rr,cr,pr,lr={exports:{}};function ur(){return sr?ir:(sr=1,ir=(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 dr(){if(or)return ar;or=1;const e=x,t=ur(),n=process.env;let i;function s(s){const a=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 a=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:a;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,a)}(s);return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(a)}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)),ar={supportsColor:s,stdout:s(process.stdout),stderr:s(process.stderr)}}function mr(){return rr||(rr=1,function(e,t){const n=w,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),a=` ${s};1m${i} `;n[0]=a+n[0].split("\n").join("\n"+a),n.push(s+"m+"+e.exports.humanize(this.diff)+"")}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=dr();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=nr()(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)}}(lr,lr.exports)),lr.exports}function hr(){return cr||(cr=1,"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?Xo.exports=(Jo||(Jo=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=nr()(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}(er,er.exports)),er.exports):Xo.exports=mr()),Xo.exports}var fr,xr,vr,gr=y,br=gr.URL,yr=g,_r=b,wr=l.Writable,Er=m,kr=function(){if(!pr){try{pr=hr()("follow-redirects")}catch(e){}"function"!=typeof pr&&(pr=function(){})}pr.apply(null,arguments)};fr="undefined"!=typeof process,xr="undefined"!=typeof window&&"undefined"!=typeof document,vr=Gr(Error.captureStackTrace),fr||!xr&&vr||console.warn("The follow-redirects package should be excluded from browser builds.");var Sr=!1;try{Er(new br(""))}catch(Yf){Sr="ERR_INVALID_URL"===Yf.code}var Tr=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],Rr=["abort","aborted","connect","error","socket","timeout"],Ar=Object.create(null);Rr.forEach((function(e){Ar[e]=function(t,n,i){this._redirectable.emit(e,t,n,i)}}));var Cr=zr("ERR_INVALID_URL","Invalid URL",TypeError),Or=zr("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),jr=zr("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",Or),Pr=zr("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),Lr=zr("ERR_STREAM_WRITE_AFTER_END","write after end"),Nr=wr.prototype.destroy||Fr;function Ir(e,t){wr.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 Or?e:new Or({cause:e}))}},this._performRequest()}function Dr(e){var t={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(e).forEach((function(i){var s=i+":",a=n[s]=e[i],o=t[i]=Object.create(a);Object.defineProperties(o,{request:{value:function(e,i,a){var o;return o=e,br&&o instanceof br?e=Ur(e):qr(e)?e=Ur(Mr(e)):(a=i,i=$r(e),e={protocol:s}),Gr(i)&&(a=i,i=null),(i=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,i)).nativeProtocols=n,qr(i.host)||qr(i.hostname)||(i.hostname="::1"),Er.equal(i.protocol,s,"protocol mismatch"),kr("options",i),new Ir(i,a)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,n){var i=o.request(e,t,n);return i.end(),i},configurable:!0,enumerable:!0,writable:!0}})})),t}function Fr(){}function Mr(e){var t;if(Sr)t=new br(e);else if(!qr((t=$r(gr.parse(e))).protocol))throw new Cr({input:e});return t}function $r(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new Cr({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new Cr({input:e.href||e});return e}function Ur(e,t){var n=t||{};for(var i of Tr)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 Br(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 zr(e,t,n){function i(n){Gr(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 Hr(e,t){for(var n of Rr)e.removeListener(n,Ar[n]);e.on("error",Fr),e.destroy(t)}function qr(e){return"string"==typeof e||e instanceof String}function Gr(e){return"function"==typeof e}Ir.prototype=Object.create(wr.prototype),Ir.prototype.abort=function(){Hr(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},Ir.prototype.destroy=function(e){return Hr(this._currentRequest,e),Nr.call(this,e),this},Ir.prototype.write=function(e,t,n){if(this._ending)throw new Lr;if(!qr(e)&&("object"!=typeof(i=e)||!("length"in i)))throw new TypeError("data should be a string, Buffer or Uint8Array");var i;Gr(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 Pr),this.abort()):n&&n()},Ir.prototype.end=function(e,t,n){if(Gr(e)?(n=e,e=t=null):Gr(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)},Ir.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},Ir.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},Ir.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"),a()}),e),i(t)}function a(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",a),n.removeListener("error",a),n.removeListener("response",a),n.removeListener("close",a),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",a),this.on("error",a),this.on("response",a),this.on("close",a),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){Ir.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(Ir.prototype,e,{get:function(){return this._currentRequest[e]}})})),Ir.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))}},Ir.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,Rr))i.on(s,Ar[s]);if(this._currentUrl=/^\//.test(this._options.path)?gr.format(this._options):this._options.path,this._isRedirect){var a=0,o=this,r=this._requestBodyBuffers;!function e(t){if(i===o._currentRequest)if(t)o.emit("error",t);else if(a<r.length){var n=r[a++];i.finished||i.write(n.data,n.encoding,e)}else o._ended&&i.end()}()}},Ir.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(Hr(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new jr;var s=this._options.beforeRedirect;s&&(n=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var a=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=[],Br(/^content-/i,this._options.headers));var o,r,c=Br(/^host$/i,this._options.headers),p=Mr(this._currentUrl),l=c||p.host,u=/^\w+:/.test(i)?this._currentUrl:gr.format(Object.assign(p,{host:l})),d=(o=i,r=u,Sr?new br(o,r):Mr(gr.resolve(r,o)));if(kr("redirecting to",d.href),this._isRedirect=!0,Ur(d,this._options),(d.protocol!==p.protocol&&"https:"!==d.protocol||d.host!==l&&!function(e,t){Er(qr(e)&&qr(t));var n=e.length-t.length-1;return n>0&&"."===e[n]&&e.endsWith(t)}(d.host,l))&&Br(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),Gr(s)){var m={headers:e.headers,statusCode:t},h={url:u,method:a,headers:n};s(this._options,m,h),this._sanitizeOptions(this._options)}this._performRequest()},Zo.exports=Dr({http:yr,https:_r}),Zo.exports.wrap=Dr;var Wr=tt(Zo.exports);const Kr="1.9.0";function Vr(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const Qr=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;const Yr=Symbol("internals");class Jr extends l.Transform{constructor(e){super({readableHighWaterMark:(e=sa.toFlatObject(e,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,((e,t)=>!sa.isUndefined(t[e])))).chunkSize});const t=this[Yr]={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[Yr];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,n){const i=this[Yr],s=i.maxRate,a=this.readableHighWaterMark,o=i.timeWindow,r=s/(1e3/o),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=a,m=0;if(s){const e=Date.now();(!i.ts||(m=e-i.ts)>=o)&&(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)}),o-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 Zr=Jr;const{asyncIterator:Xr}=Symbol,ec=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[Xr]?yield*e[Xr]():yield e},tc=To.ALPHABET.ALPHA_DIGIT+"-_",nc="function"==typeof TextEncoder?new TextEncoder:new d.TextEncoder,ic="\r\n",sc=nc.encode(ic);class ac{constructor(e,t){const{escapeName:n}=this.constructor,i=sa.isString(t);let s=`Content-Disposition: form-data; name="${n(e)}"${!i&&t.name?`; filename="${n(t.name)}"`:""}${ic}`;i?t=nc.encode(String(t).replace(/\r?\n|\r\n?/g,ic)):s+=`Content-Type: ${t.type||"application/octet-stream"}${ic}`,this.headers=nc.encode(s+ic),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;sa.isTypedArray(e)?yield e:yield*ec(e),yield sc}static escapeName(e){return String(e).replace(/[\r\n"]/g,(e=>({"\r":"%0D","\n":"%0A",'"':"%22"}[e])))}}class oc 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 rc=(e,t)=>sa.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 cc=(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,a=0,o=0;return t=void 0!==t?t:1e3,function(r){const c=Date.now(),p=i[o];s||(s=c),n[a]=r,i[a]=c;let l=o,u=0;for(;l!==a;)u+=n[l++],l%=e;if(a=(a+1)%e,a===o&&(o=(o+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,a=1e3/t;const o=(t,a=Date.now())=>{s=a,n=null,i&&(clearTimeout(i),i=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),r=t-s;r>=a?o(e,t):(n=e,i||(i=setTimeout((()=>{i=null,o(n)}),a-r)))},()=>n&&o(n)]}((n=>{const a=n.loaded,o=n.lengthComputable?n.total:void 0,r=a-i,c=s(r);i=a;e({loaded:a,total:o,progress:o?a/o:void 0,bytes:r,rate:c||void 0,estimated:c&&o&&a<=o?(o-a)/c:void 0,event:n,lengthComputable:null!=o,[t?"download":"upload"]:!0})}),n)},pc=(e,t)=>{const n=null!=e;return[i=>t[0]({lengthComputable:n,total:e,loaded:i}),t[1]]},lc=e=>(...t)=>sa.asap((()=>e(...t))),uc={flush:E.constants.Z_SYNC_FLUSH,finishFlush:E.constants.Z_SYNC_FLUSH},dc={flush:E.constants.BROTLI_OPERATION_FLUSH,finishFlush:E.constants.BROTLI_OPERATION_FLUSH},mc=sa.isFunction(E.createBrotliDecompress),{http:hc,https:fc}=Wr,xc=/https:?/,vc=To.protocols.map((e=>e+":")),gc=(e,[t,n])=>(e.on("end",n).on("error",n),t);function bc(e,t){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t)}function yc(e,t,n){let i=t;if(!i&&!1!==i){const e=zo.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){yc(e,t,e.href)}}const _c="undefined"!=typeof process&&"process"===sa.kindOf(process),wc=(e,t)=>(({address:e,family:t})=>{if(!sa.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}})(sa.isObject(e)?e:{address:e,family:t});var Ec=_c&&function(e){return t=async function(t,n,i){let{data:s,lookup:a,family:o}=e;const{responseType:r,responseEncoding:c}=e,p=e.method.toUpperCase();let m,h,f=!1;if(a){const e=rc(a,(e=>sa.isArray(e)?e:[e]));a=(t,n,i)=>{e(t,n,((e,t,s)=>{if(e)return i(e);const a=sa.isArray(t)?t.map((e=>wc(e))):[wc(t,s)];n.all?i(e,a):i(e,a[0].address,a[0].family)}))}}const x=new S,v=()=>{e.cancelToken&&e.cancelToken.unsubscribe(y),e.signal&&e.signal.removeEventListener("abort",y),x.removeAllListeners()};function y(t){x.emit("abort",!t||t.type?new $o(null,e,h):t)}i(((e,t)=>{m=!0,t&&(f=!0,v())})),x.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 _=Bo(e.baseURL,e.url,e.allowAbsoluteUrls),w=new URL(_,To.hasBrowserEnv?To.origin:void 0),k=w.protocol||vc[0];if("data:"===k){let i;if("GET"!==p)return Uo(t,n,{status:405,statusText:"method not allowed",headers:{},config:e});try{i=function(e,t,n){const i=n&&n.Blob||To.classes.Blob,s=Vr(e);if(void 0===t&&i&&(t=!0),"data"===s){e=s.length?e.slice(s.length+1):e;const n=Qr.exec(e);if(!n)throw new aa("Invalid URL",aa.ERR_INVALID_URL);const a=n[1],o=n[2],r=n[3],c=Buffer.from(decodeURIComponent(r),o?"base64":"utf8");if(t){if(!i)throw new aa("Blob is not supported",aa.ERR_NOT_SUPPORT);return new i([c],{type:a})}return c}throw new aa("Unsupported protocol "+s,aa.ERR_NOT_SUPPORT)}(e.url,"blob"===r,{Blob:e.env&&e.env.Blob})}catch(t){throw aa.from(t,aa.ERR_BAD_REQUEST,e)}return"text"===r?(i=i.toString(c),c&&"utf8"!==c||(i=sa.stripBOM(i))):"stream"===r&&(i=l.Readable.from(i)),Uo(t,n,{data:i,status:200,statusText:"OK",headers:new Do,config:e})}if(-1===vc.indexOf(k))return n(new aa("Unsupported protocol "+k,aa.ERR_BAD_REQUEST,e));const T=Do.from(e.headers).normalize();T.set("User-Agent","axios/"+Kr,!1);const{onUploadProgress:R,onDownloadProgress:A}=e,C=e.maxRate;let O,j;if(sa.isSpecCompliantForm(s)){const e=T.getContentType(/boundary=([-_\w\d]{10,70})/i);s=((e,t,n)=>{const{tag:i="form-data-boundary",size:s=25,boundary:a=i+"-"+To.generateString(s,tc)}=n||{};if(!sa.isFormData(e))throw TypeError("FormData instance required");if(a.length<1||a.length>70)throw Error("boundary must be 10-70 characters long");const o=nc.encode("--"+a+ic),r=nc.encode("--"+a+"--"+ic);let c=r.byteLength;const p=Array.from(e.entries()).map((([e,t])=>{const n=new ac(e,t);return c+=n.size,n}));c+=o.byteLength*p.length,c=sa.toFiniteNumber(c);const l={"Content-Type":`multipart/form-data; boundary=${a}`};return Number.isFinite(c)&&(l["Content-Length"]=c),t&&t(l),u.from(async function*(){for(const e of p)yield o,yield*e.encode();yield r}())})(s,(e=>{T.set(e)}),{tag:`axios-${Kr}-boundary`,boundary:e&&e[1]||void 0})}else if(sa.isFormData(s)&&sa.isFunction(s.getHeaders)){if(T.set(s.getHeaders()),!T.hasContentLength())try{const e=await d.promisify(s.getLength).call(s);Number.isFinite(e)&&e>=0&&T.setContentLength(e)}catch(e){}}else if(sa.isBlob(s)||sa.isFile(s))s.size&&T.setContentType(s.type||"application/octet-stream"),T.setContentLength(s.size||0),s=l.Readable.from(ec(s));else if(s&&!sa.isStream(s)){if(Buffer.isBuffer(s));else if(sa.isArrayBuffer(s))s=Buffer.from(new Uint8Array(s));else{if(!sa.isString(s))return n(new aa("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",aa.ERR_BAD_REQUEST,e));s=Buffer.from(s,"utf-8")}if(T.setContentLength(s.length,!1),e.maxBodyLength>-1&&s.length>e.maxBodyLength)return n(new aa("Request body larger than maxBodyLength limit",aa.ERR_BAD_REQUEST,e))}const P=sa.toFiniteNumber(T.getContentLength());let L,N;sa.isArray(C)?(O=C[0],j=C[1]):O=j=C,s&&(R||O)&&(sa.isStream(s)||(s=l.Readable.from(s,{objectMode:!1})),s=l.pipeline([s,new Zr({maxRate:sa.toFiniteNumber(O)})],sa.noop),R&&s.on("progress",gc(s,pc(P,cc(lc(R),!1,3))))),e.auth&&(L=(e.auth.username||"")+":"+(e.auth.password||"")),!L&&w.username&&(L=w.username+":"+w.password),L&&T.delete("authorization");try{N=mo(w.pathname+w.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)}T.set("Accept-Encoding","gzip, compress, deflate"+(mc?", br":""),!1);const I={path:N,method:p,headers:T.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:L,protocol:k,family:o,beforeRedirect:bc,beforeRedirects:{}};let D;!sa.isUndefined(a)&&(I.lookup=a),e.socketPath?I.socketPath=e.socketPath:(I.hostname=w.hostname.startsWith("[")?w.hostname.slice(1,-1):w.hostname,I.port=w.port,yc(I,e.proxy,k+"//"+w.hostname+(w.port?":"+w.port:"")+I.path));const F=xc.test(I.protocol);if(I.agent=F?e.httpsAgent:e.httpAgent,e.transport?D=e.transport:0===e.maxRedirects?D=F?b:g:(e.maxRedirects&&(I.maxRedirects=e.maxRedirects),e.beforeRedirect&&(I.beforeRedirects.config=e.beforeRedirect),D=F?fc:hc),e.maxBodyLength>-1?I.maxBodyLength=e.maxBodyLength:I.maxBodyLength=1/0,e.insecureHTTPParser&&(I.insecureHTTPParser=e.insecureHTTPParser),h=D.request(I,(function(i){if(h.destroyed)return;const s=[i],a=+i.headers["content-length"];if(A||j){const e=new Zr({maxRate:sa.toFiniteNumber(j)});A&&e.on("progress",gc(e,pc(a,cc(lc(A),!0,3)))),s.push(e)}let o=i;const u=i.req||h;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(E.createUnzip(uc)),delete i.headers["content-encoding"];break;case"deflate":s.push(new oc),s.push(E.createUnzip(uc)),delete i.headers["content-encoding"];break;case"br":mc&&(s.push(E.createBrotliDecompress(dc)),delete i.headers["content-encoding"])}o=s.length>1?l.pipeline(s,sa.noop):s[0];const d=l.finished(o,(()=>{d(),v()})),m={status:i.statusCode,statusText:i.statusMessage,headers:new Do(i.headers),config:e,request:u};if("stream"===r)m.data=o,Uo(t,n,m);else{const i=[];let s=0;o.on("data",(function(t){i.push(t),s+=t.length,e.maxContentLength>-1&&s>e.maxContentLength&&(f=!0,o.destroy(),n(new aa("maxContentLength size of "+e.maxContentLength+" exceeded",aa.ERR_BAD_RESPONSE,e,u)))})),o.on("aborted",(function(){if(f)return;const t=new aa("stream has been aborted",aa.ERR_BAD_RESPONSE,e,u);o.destroy(t),n(t)})),o.on("error",(function(t){h.destroyed||n(aa.from(t,null,e,u))})),o.on("end",(function(){try{let e=1===i.length?i[0]:Buffer.concat(i);"arraybuffer"!==r&&(e=e.toString(c),c&&"utf8"!==c||(e=sa.stripBOM(e))),m.data=e}catch(t){return n(aa.from(t,null,e,m.request,m))}Uo(t,n,m)}))}x.once("abort",(e=>{o.destroyed||(o.emit("error",e),o.destroy())}))})),x.once("abort",(e=>{n(e),h.destroy(e)})),h.on("error",(function(t){n(aa.from(t,null,e,h))})),h.on("socket",(function(e){e.setKeepAlive(!0,6e4)})),e.timeout){const t=parseInt(e.timeout,10);if(Number.isNaN(t))return void n(new aa("error trying to parse `config.timeout` to int",aa.ERR_BAD_OPTION_VALUE,e,h));h.setTimeout(t,(function(){if(m)return;let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const i=e.transitional||fo;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new aa(t,i.clarifyTimeoutError?aa.ETIMEDOUT:aa.ECONNABORTED,e,h)),y()}))}if(sa.isStream(s)){let t=!1,n=!1;s.on("end",(()=>{t=!0})),s.once("error",(e=>{n=!0,h.destroy(e)})),s.on("close",(()=>{t||n||y(new $o("Request stream has been aborted",e,h))})),s.pipe(h)}else h.end(s)},new Promise(((e,n)=>{let i,s;const a=(e,t)=>{s||(s=!0,i&&i(e,t))},o=e=>{a(e,!0),n(e)};t((t=>{a(t),e(t)}),o,(e=>i=e)).catch(o)}));var t},kc=To.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,To.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(To.origin),To.navigator&&/(msie|trident)/i.test(To.navigator.userAgent)):()=>!0,Sc=To.hasStandardBrowserEnv?{write(e,t,n,i,s,a){const o=[e+"="+encodeURIComponent(t)];sa.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),sa.isString(i)&&o.push("path="+i),sa.isString(s)&&o.push("domain="+s),!0===a&&o.push("secure"),document.cookie=o.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 Tc=e=>e instanceof Do?{...e}:e;function Rc(e,t){t=t||{};const n={};function i(e,t,n,i){return sa.isPlainObject(e)&&sa.isPlainObject(t)?sa.merge.call({caseless:i},e,t):sa.isPlainObject(t)?sa.merge({},t):sa.isArray(t)?t.slice():t}function s(e,t,n,s){return sa.isUndefined(t)?sa.isUndefined(e)?void 0:i(void 0,e,0,s):i(e,t,0,s)}function a(e,t){if(!sa.isUndefined(t))return i(void 0,t)}function o(e,t){return sa.isUndefined(t)?sa.isUndefined(e)?void 0:i(void 0,e):i(void 0,t)}function r(n,s,a){return a in t?i(n,s):a in e?i(void 0,n):void 0}const c={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:r,headers:(e,t,n)=>s(Tc(e),Tc(t),0,!0)};return sa.forEach(Object.keys(Object.assign({},e,t)),(function(i){const a=c[i]||s,o=a(e[i],t[i],i);sa.isUndefined(o)&&a!==r||(n[i]=o)})),n}var Ac=e=>{const t=Rc({},e);let n,{data:i,withXSRFToken:s,xsrfHeaderName:a,xsrfCookieName:o,headers:r,auth:c}=t;if(t.headers=r=Do.from(r),t.url=mo(Bo(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),c&&r.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),sa.isFormData(i))if(To.hasStandardBrowserEnv||To.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(To.hasStandardBrowserEnv&&(s&&sa.isFunction(s)&&(s=s(t)),s||!1!==s&&kc(t.url))){const e=a&&o&&Sc.read(o);e&&r.set(a,e)}return t};var Cc="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const i=Ac(e);let s=i.data;const a=Do.from(i.headers).normalize();let o,r,c,p,l,{responseType:u,onUploadProgress:d,onDownloadProgress:m}=i;function h(){p&&p(),l&&l(),i.cancelToken&&i.cancelToken.unsubscribe(o),i.signal&&i.signal.removeEventListener("abort",o)}let f=new XMLHttpRequest;function x(){if(!f)return;const i=Do.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders());Uo((function(e){t(e),h()}),(function(e){n(e),h()}),{data:u&&"text"!==u&&"json"!==u?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:i,config:e,request:f}),f=null}f.open(i.method.toUpperCase(),i.url,!0),f.timeout=i.timeout,"onloadend"in f?f.onloadend=x:f.onreadystatechange=function(){f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))&&setTimeout(x)},f.onabort=function(){f&&(n(new aa("Request aborted",aa.ECONNABORTED,e,f)),f=null)},f.onerror=function(){n(new aa("Network Error",aa.ERR_NETWORK,e,f)),f=null},f.ontimeout=function(){let t=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const s=i.transitional||fo;i.timeoutErrorMessage&&(t=i.timeoutErrorMessage),n(new aa(t,s.clarifyTimeoutError?aa.ETIMEDOUT:aa.ECONNABORTED,e,f)),f=null},void 0===s&&a.setContentType(null),"setRequestHeader"in f&&sa.forEach(a.toJSON(),(function(e,t){f.setRequestHeader(t,e)})),sa.isUndefined(i.withCredentials)||(f.withCredentials=!!i.withCredentials),u&&"json"!==u&&(f.responseType=i.responseType),m&&([c,l]=cc(m,!0),f.addEventListener("progress",c)),d&&f.upload&&([r,p]=cc(d),f.upload.addEventListener("progress",r),f.upload.addEventListener("loadend",p)),(i.cancelToken||i.signal)&&(o=t=>{f&&(n(!t||t.type?new $o(null,e,f):t),f.abort(),f=null)},i.cancelToken&&i.cancelToken.subscribe(o),i.signal&&(i.signal.aborted?o():i.signal.addEventListener("abort",o)));const v=Vr(i.url);v&&-1===To.protocols.indexOf(v)?n(new aa("Unsupported protocol "+v+":",aa.ERR_BAD_REQUEST,e)):f.send(s||null)}))};var Oc=(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,o();const t=e instanceof Error?e:this.reason;i.abort(t instanceof aa?t:new $o(t instanceof Error?t.message:t))}};let a=t&&setTimeout((()=>{a=null,s(new aa(`timeout ${t} of ms exceeded`,aa.ETIMEDOUT))}),t);const o=()=>{e&&(a&&clearTimeout(a),a=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=()=>sa.asap(o),r}};const jc=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},Pc=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()}},Lc=(e,t,n,i)=>{const s=async function*(e,t){for await(const n of Pc(e))yield*jc(n,t)}(e,t);let a,o=0,r=e=>{a||(a=!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 a=i.byteLength;if(n){let e=o+=a;n(e)}e.enqueue(new Uint8Array(i))}catch(e){throw r(e),e}},cancel:e=>(r(e),s.return())},{highWaterMark:2})},Nc="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Ic=Nc&&"function"==typeof ReadableStream,Dc=Nc&&("function"==typeof TextEncoder?(Fc=new TextEncoder,e=>Fc.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var Fc;const Mc=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},$c=Ic&&Mc((()=>{let e=!1;const t=new Request(To.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),Uc=Ic&&Mc((()=>sa.isReadableStream(new Response("").body))),Bc={stream:Uc&&(e=>e.body)};var zc;Nc&&(zc=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Bc[e]&&(Bc[e]=sa.isFunction(zc[e])?t=>t[e]():(t,n)=>{throw new aa(`Response type '${e}' is not supported`,aa.ERR_NOT_SUPPORT,n)})})));const Hc=async(e,t)=>{const n=sa.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(sa.isBlob(e))return e.size;if(sa.isSpecCompliantForm(e)){const t=new Request(To.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return sa.isArrayBufferView(e)||sa.isArrayBuffer(e)?e.byteLength:(sa.isURLSearchParams(e)&&(e+=""),sa.isString(e)?(await Dc(e)).byteLength:void 0)})(t):n};var qc=Nc&&(async e=>{let{url:t,method:n,data:i,signal:s,cancelToken:a,timeout:o,onDownloadProgress:r,onUploadProgress:c,responseType:p,headers:l,withCredentials:u="same-origin",fetchOptions:d}=Ac(e);p=p?(p+"").toLowerCase():"text";let m,h=Oc([s,a&&a.toAbortSignal()],o);const f=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let x;try{if(c&&$c&&"get"!==n&&"head"!==n&&0!==(x=await Hc(l,i))){let e,n=new Request(t,{method:"POST",body:i,duplex:"half"});if(sa.isFormData(i)&&(e=n.headers.get("content-type"))&&l.setContentType(e),n.body){const[e,t]=pc(x,cc(lc(c)));i=Lc(n.body,65536,e,t)}}sa.isString(u)||(u=u?"include":"omit");const s="credentials"in Request.prototype;m=new Request(t,{...d,signal:h,method:n.toUpperCase(),headers:l.normalize().toJSON(),body:i,duplex:"half",credentials:s?u:void 0});let a=await fetch(m);const o=Uc&&("stream"===p||"response"===p);if(Uc&&(r||o&&f)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=a[t]}));const t=sa.toFiniteNumber(a.headers.get("content-length")),[n,i]=r&&pc(t,cc(lc(r),!0))||[];a=new Response(Lc(a.body,65536,n,(()=>{i&&i(),f&&f()})),e)}p=p||"text";let v=await Bc[sa.findKey(Bc,p)||"text"](a,e);return!o&&f&&f(),await new Promise(((t,n)=>{Uo(t,n,{data:v,headers:Do.from(a.headers),status:a.status,statusText:a.statusText,config:e,request:m})}))}catch(t){if(f&&f(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new aa("Network Error",aa.ERR_NETWORK,e,m),{cause:t.cause||t});throw aa.from(t,t&&t.code,e,m)}});const Gc={http:Ec,xhr:Cc,fetch:qc};sa.forEach(Gc,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const Wc=e=>`- ${e}`,Kc=e=>sa.isFunction(e)||null===e||!1===e;var Vc=e=>{e=sa.isArray(e)?e:[e];const{length:t}=e;let n,i;const s={};for(let a=0;a<t;a++){let t;if(n=e[a],i=n,!Kc(n)&&(i=Gc[(t=String(n)).toLowerCase()],void 0===i))throw new aa(`Unknown adapter '${t}'`);if(i)break;s[t||"#"+a]=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 aa("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(Wc).join("\n"):" "+Wc(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return i};function Qc(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new $o(null,e)}function Yc(e){Qc(e),e.headers=Do.from(e.headers),e.data=Fo.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return Vc(e.adapter||Co.adapter)(e).then((function(t){return Qc(e),t.data=Fo.call(e,e.transformResponse,t),t.headers=Do.from(t.headers),t}),(function(t){return Mo(t)||(Qc(e),t&&t.response&&(t.response.data=Fo.call(e,e.transformResponse,t.response),t.response.headers=Do.from(t.response.headers))),Promise.reject(t)}))}const Jc={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{Jc[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const Zc={};Jc.transitional=function(e,t,n){function i(e,t){return"[Axios v1.9.0] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,s,a)=>{if(!1===e)throw new aa(i(s," has been removed"+(t?" in "+t:"")),aa.ERR_DEPRECATED);return t&&!Zc[s]&&(Zc[s]=!0,console.warn(i(s," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,s,a)}},Jc.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};var Xc={assertOptions:function(e,t,n){if("object"!=typeof e)throw new aa("options must be an object",aa.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let s=i.length;for(;s-- >0;){const a=i[s],o=t[a];if(o){const t=e[a],n=void 0===t||o(t,a,e);if(!0!==n)throw new aa("option "+a+" must be "+n,aa.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new aa("Unknown option "+a,aa.ERR_BAD_OPTION)}},validators:Jc};const ep=Xc.validators;class tp{constructor(e){this.defaults=e||{},this.interceptors={request:new ho,response:new ho}}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=Rc(this.defaults,t);const{transitional:n,paramsSerializer:i,headers:s}=t;void 0!==n&&Xc.assertOptions(n,{silentJSONParsing:ep.transitional(ep.boolean),forcedJSONParsing:ep.transitional(ep.boolean),clarifyTimeoutError:ep.transitional(ep.boolean)},!1),null!=i&&(sa.isFunction(i)?t.paramsSerializer={serialize:i}:Xc.assertOptions(i,{encode:ep.function,serialize:ep.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),Xc.assertOptions(t,{baseUrl:ep.spelling("baseURL"),withXsrfToken:ep.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let a=s&&sa.merge(s.common,s[t.method]);s&&sa.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete s[e]})),t.headers=Do.concat(a,s);const o=[];let r=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(r=r&&e.synchronous,o.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=[Yc.bind(this),void 0];for(e.unshift.apply(e,o),e.push.apply(e,c),l=e.length,p=Promise.resolve(t);u<l;)p=p.then(e[u++],e[u++]);return p}l=o.length;let d=t;for(u=0;u<l;){const e=o[u++],t=o[u++];try{d=e(d)}catch(e){t.call(this,e);break}}try{p=Yc.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 mo(Bo((e=Rc(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}sa.forEach(["delete","get","head","options"],(function(e){tp.prototype[e]=function(t,n){return this.request(Rc(n||{},{method:e,url:t,data:(n||{}).data}))}})),sa.forEach(["post","put","patch"],(function(e){function t(t){return function(n,i,s){return this.request(Rc(s||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}tp.prototype[e]=t(),tp.prototype[e+"Form"]=t(!0)}));var np=tp;class ip{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 $o(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 ip((function(t){e=t})),cancel:e}}}var sp=ip;const ap={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(ap).forEach((([e,t])=>{ap[t]=e}));var op=ap;const rp=function e(t){const n=new np(t),i=fs(np.prototype.request,n);return sa.extend(i,np.prototype,n,{allOwnKeys:!0}),sa.extend(i,n,null,{allOwnKeys:!0}),i.create=function(n){return e(Rc(t,n))},i}(Co);var cp,pp,lp;rp.Axios=np,rp.CanceledError=$o,rp.CancelToken=sp,rp.isCancel=Mo,rp.VERSION=Kr,rp.toFormData=ro,rp.AxiosError=aa,rp.Cancel=rp.CanceledError,rp.all=function(e){return Promise.all(e)},rp.spread=function(e){return function(t){return e.apply(null,t)}},rp.isAxiosError=function(e){return sa.isObject(e)&&!0===e.isAxiosError},rp.mergeConfig=Rc,rp.AxiosHeaders=Do,rp.formToJSON=e=>Ro(sa.isHTMLForm(e)?new FormData(e):e),rp.getAdapter=Vc,rp.HttpStatusCode=op,rp.default=rp,function(e){e.SAAS="saas",e.INTERNAL="internal",e.POC="poc"}(cp||(cp={})),function(e){e.PRODUCTION="production",e.DEVELOPMENT="development",e.TEST="test"}(pp||(pp={})),function(e){e.VSCODE="vscode",e.JETBRAINS="jetbrains"}(lp||(lp={}));const up="https://comate.baidu.com",dp="https://comate.baidu-int.com",mp="https://comate-cop.now.baidu.com",hp="https://comate-test.now.baidu.com",fp=(()=>{try{if("ide"===process.env.IDE){const t=e.join(function(){const t="Comate";switch(T.platform()){case"win32":return e.join(R(),"AppData","Roaming",t,"User");case"darwin":return e.join(R(),"Library","Application Support",t,"User");default:return e.join(R(),".config",t,"User")}}(),"loginMode.json");return JSON.parse(n.readFileSync(t,"utf8"))}return{}}catch(e){return{}}})(),xp="uuap"===fp.loginMode;let vp="ide"===process.env.IDE&&xp?cp.INTERNAL:process.env.PLATFORM||cp.INTERNAL,gp=process.env.ENVIRONMENT||pp.PRODUCTION,bp=process.env.DISPLAY_LANGUAGE||"zh",yp=process.env.ACCEPT_LANGUAGE||"zh-CN,zh";const _p={[cp.SAAS]:{[pp.PRODUCTION]:up,[pp.DEVELOPMENT]:up,[pp.TEST]:mp},[cp.INTERNAL]:{[pp.PRODUCTION]:dp,[pp.DEVELOPMENT]:dp,[pp.TEST]:hp},[cp.POC]:{[pp.PRODUCTION]:up,[pp.DEVELOPMENT]:up,[pp.TEST]:mp}};function wp(e){vp="ide"===process.env.IDE&&xp?cp.INTERNAL:e}function Ep(e,t){vp="ide"===process.env.IDE&&xp?cp.INTERNAL:e,gp=t}let kp=process.env.HTTP_HOST;function Sp(e){kp=e}const Tp=()=>kp||(_p?.[vp]?.[gp]??dp),Rp=e=>{"en"===e?(bp="en",yp="en-US,en"):(bp="zh",yp="zh-CN,zh")};Rp(bp),cp.SAAS;const Ap={},Cp=process.env.HTTP_PROXY_URL||"",{protocol:Op,hostname:jp,port:Pp}=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}}(Cp),Lp=rp.create(Ap),Np=rp.create(Ap);Lp.interceptors.request.use((async e=>{const t={...e,baseURL:Tp()};return t.headers["Accept-Language"]=yp,Cp&&(t.proxy={host:jp,port:Number(Pp),protocol:Op}),t}));const Ip=e=>rp.create(e),Dp=()=>rp.CancelToken.source(),Fp=rp.CanceledError;function Mp(e={},t={},n=1){for(const i in t)t.hasOwnProperty(i)&&(n<3&&"object"==typeof t[i]&&null!=t[i]&&e.hasOwnProperty(i)&&"object"==typeof e[i]&&null!=e[i]?e[i]=Mp(e[i],t[i],n+1):e[i]=t[i]);return e}async function $p(e){try{const t=await Lp("/api/v2/api/comateplus/configSets/config/enabled",{method:"POST",headers:{"Content-Type":"application/json","X-Username":e},data:JSON.stringify({username:e})});return 200===t.status?t.data.data:[]}catch(e){return[]}}async function Up(t){let n={};if(t&&t.length>0){const i=Ze.parse(t[0].uri).fsPath,s=e.join(i,".comate","plugin-local.json"),a=e.join(i,".comate","plugin.json");let o={},r={};try{o=JSON.parse(await os(s)||"{}")}catch{}try{r=JSON.parse(await os(a)||"{}")}catch{}n=Mp(r,o)}return n}async function Bp(e,t,n){let i={};const s=t.find((t=>t.pluginName===e))?.configValues;i={enabled:s?.enabled||!0,config:s?.values};return Mp(i,n[e])}function zp(){const e={};return e.promise=new Promise(((t,n)=>{e.resolve=t,e.reject=n})),e}const Hp=process.env.PLATFORM??"unknow-engine",qp=process.env.IDE??"unknown",Gp=["Importing JSON module","Debugger listening","SESSION_FINISH","COMATE_PLUS_INITIALIZED"],Wp="development"===process.env.NODE_ENV;class Kp{initParams;constructor(e){this.initParams=e}async logError(e,t){Wp||Gp.some((e=>t.includes(e)))||this.logUserAction({category:e,content:t},"error")}async logUserAction(e,t="event"){if(Wp)return;const n={type:t,event:e,platform:Hp,ide:qp,common:{app:`comate-${qp}`,license:this.initParams.license,username:this.initParams.username,version:this.initParams.version,ideVersion:this.initParams.ideVersion,os:{platform:T.platform(),arch:T.arch(),release:T.release()},timestamp:Date.now()}};Lp.post("/logger/comate.log",n,{headers:{"Content-Type":"application/json"}}).then((()=>{})).catch((()=>{}))}}function Vp(e){const t=e.split("\n"),n=t.pop()??"";return[t.filter((e=>""!==e)),n]}const Qp=e=>JSON.parse(e);class Yp{body;parse;cancellationToken;error=!1;errorMsg="";constructor(e,t=Qp,n){this.body=e,this.parse=t,this.cancellationToken=n}async*processSSE(){let e="";const t=new TextDecoder;try{for await(const n of this.body){const i=t.decode(n,{stream:!0});if(this.maybeCancel())return;const[s,a]=Vp(e+i);e=a;for(const e of s){if(e.startsWith(":heartbeat"))continue;const t=e.replace(/^data:/,"").trim();if(""!==t)try{const e=this.parse(t);e&&(yield e)}catch(e){return this.cancel(),this.error=!0,void(this.errorMsg=t)}}}}catch(e){if(this.maybeCancel())return;throw e}}maybeCancel(){const e=!!this.cancellationToken?.isCancellationRequested;return e&&this.cancel(),e}cancel(){this.body.destroy()}}async function Jp(e,t,n,i,s,a,o){const{knowledgeSets:r,additionalQueries:c,mergeUserKnowledge:p,queryRewrite:l,topK:u,score:d,checkPermission:m}=s||{};let h=i;r?.length&&(h=p?r.concat(h):r);const f=await Np(`${o?"":"/api/v2/api/aidevops/knowledge"}/rest/v1/retrieval${r&&!m?"/for-plugin":""}`,{method:"POST",baseURL:o||Tp(),headers:{"X-Source":"COMATE","Content-Type":"application/json","Uuap-login-name":e},data:JSON.stringify({query:t,retrievalType:n,workspaces:h,additionalQueries:c,queryRewrite:l,knowledgeUUIDs:a,topK:u,score:d})}).then((e=>e.data));return 200===f.code?f.data:f}async function Zp(e,t,n,i){const s=await Np((t?"":"/api/v2/api/aidevops/knowledge")+"/rest/v1/workspaces",{baseURL:t||Tp(),headers:{"X-Source":"COMATE","Uuap-login-name":e,"Cloud-login-name":n?encodeURIComponent(n):void 0,"X-Access-Token":t?"c138a4a8-64e1-451e-b193-80caba5dd0f2":void 0},params:{query:i}}).then((e=>e.data));return 200===s.code?s.data.list:s}async function Xp(e){await Np("/api/knowledge/ok",{baseURL:e||Tp()})}function el(e,t){return t?e.replace(/\{\{(\w+)\}\}/g,((e,n)=>{const i=t[n];return void 0!==i?String(i):e})):e}const tl=".comate/prompt",nl=t=>e.join(t,tl),il=(t,n)=>e.join(t,tl,`${n}.prompt`),sl=(t,n)=>{const i=nl(n);return e.relative(i,t)?.replace(/\.prompt$/,"")};var al={exports:{}},ol={};const rl=h,cl="\\\\/",pl=`[^${cl}]`,ll="\\.",ul="\\/",dl="[^/]",ml=`(?:${ul}|$)`,hl=`(?:^|${ul})`,fl=`${ll}{1,2}${ml}`,xl={DOT_LITERAL:ll,PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:ul,ONE_CHAR:"(?=.)",QMARK:dl,END_ANCHOR:ml,DOTS_SLASH:fl,NO_DOT:`(?!${ll})`,NO_DOTS:`(?!${hl}${fl})`,NO_DOT_SLASH:`(?!${ll}{0,1}${ml})`,NO_DOTS_SLASH:`(?!${fl})`,QMARK_NO_DOT:`[^.${ul}]`,STAR:`${dl}*?`,START_ANCHOR:hl},vl={...xl,SLASH_LITERAL:`[${cl}]`,QMARK:pl,STAR:`${pl}*?`,DOTS_SLASH:`${ll}{1,2}(?:[${cl}]|$)`,NO_DOT:`(?!${ll})`,NO_DOTS:`(?!(?:^|[${cl}])${ll}{1,2}(?:[${cl}]|$))`,NO_DOT_SLASH:`(?!${ll}{0,1}(?:[${cl}]|$))`,NO_DOTS_SLASH:`(?!${ll}{1,2}(?:[${cl}]|$))`,QMARK_NO_DOT:`[^.${cl}]`,START_ANCHOR:`(?:^|[${cl}])`,END_ANCHOR:`(?:[${cl}]|$)`};var gl={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:rl.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?vl:xl};!function(e){const t=h,n="win32"===process.platform,{REGEX_BACKSLASH:i,REGEX_REMOVE_BACKSLASH:s,REGEX_SPECIAL_CHARS:a,REGEX_SPECIAL_CHARS_GLOBAL:o}=gl;e.isObject=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),e.hasRegexChars=e=>a.test(e),e.isRegexChar=t=>1===t.length&&e.hasRegexChars(t),e.escapeRegex=e=>e.replace(o,"\\$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}}(ol);const bl=ol,{CHAR_ASTERISK:yl,CHAR_AT:_l,CHAR_BACKWARD_SLASH:wl,CHAR_COMMA:El,CHAR_DOT:kl,CHAR_EXCLAMATION_MARK:Sl,CHAR_FORWARD_SLASH:Tl,CHAR_LEFT_CURLY_BRACE:Rl,CHAR_LEFT_PARENTHESES:Al,CHAR_LEFT_SQUARE_BRACKET:Cl,CHAR_PLUS:Ol,CHAR_QUESTION_MARK:jl,CHAR_RIGHT_CURLY_BRACE:Pl,CHAR_RIGHT_PARENTHESES:Ll,CHAR_RIGHT_SQUARE_BRACKET:Nl}=gl,Il=e=>e===Tl||e===wl,Dl=e=>{!0!==e.isPrefix&&(e.depth=e.isGlobstar?1/0:1)};var Fl=(e,t)=>{const n=t||{},i=e.length-1,s=!0===n.parts||!0===n.scanToEnd,a=[],o=[],r=[];let c,p,l=e,u=-1,d=0,m=0,h=!1,f=!1,x=!1,v=!1,g=!1,b=!1,y=!1,_=!1,w=!1,E=!1,k=0,S={value:"",depth:0,isGlob:!1};const T=()=>u>=i,R=()=>(c=p,l.charCodeAt(++u));for(;u<i;){let e;if(p=R(),p!==wl){if(!0===b||p===Rl){for(k++;!0!==T()&&(p=R());)if(p!==wl)if(p!==Rl){if(!0!==b&&p===kl&&(p=R())===kl){if(h=S.isBrace=!0,x=S.isGlob=!0,E=!0,!0===s)continue;break}if(!0!==b&&p===El){if(h=S.isBrace=!0,x=S.isGlob=!0,E=!0,!0===s)continue;break}if(p===Pl&&(k--,0===k)){b=!1,h=S.isBrace=!0,E=!0;break}}else k++;else y=S.backslashes=!0,R();if(!0===s)continue;break}if(p!==Tl){if(!0!==n.noext){if(!0===(p===Ol||p===_l||p===yl||p===jl||p===Sl)&&l.charCodeAt(u+1)===Al){if(x=S.isGlob=!0,v=S.isExtglob=!0,E=!0,p===Sl&&u===d&&(w=!0),!0===s){for(;!0!==T()&&(p=R());)if(p!==wl){if(p===Ll){x=S.isGlob=!0,E=!0;break}}else y=S.backslashes=!0,p=R();continue}break}}if(p===yl){if(c===yl&&(g=S.isGlobstar=!0),x=S.isGlob=!0,E=!0,!0===s)continue;break}if(p===jl){if(x=S.isGlob=!0,E=!0,!0===s)continue;break}if(p===Cl){for(;!0!==T()&&(e=R());)if(e!==wl){if(e===Nl){f=S.isBracket=!0,x=S.isGlob=!0,E=!0;break}}else y=S.backslashes=!0,R();if(!0===s)continue;break}if(!0===n.nonegate||p!==Sl||u!==d){if(!0!==n.noparen&&p===Al){if(x=S.isGlob=!0,!0===s){for(;!0!==T()&&(p=R());)if(p!==Al){if(p===Ll){E=!0;break}}else y=S.backslashes=!0,p=R();continue}break}if(!0===x){if(E=!0,!0===s)continue;break}}else _=S.negated=!0,d++}else{if(a.push(u),o.push(S),S={value:"",depth:0,isGlob:!1},!0===E)continue;if(c===kl&&u===d+1){d+=2;continue}m=u+1}}else y=S.backslashes=!0,p=R(),p===Rl&&(b=!0)}!0===n.noext&&(v=!1,x=!1);let A=l,C="",O="";d>0&&(C=l.slice(0,d),l=l.slice(d),m-=d),A&&!0===x&&m>0?(A=l.slice(0,m),O=l.slice(m)):!0===x?(A="",O=l):A=l,A&&""!==A&&"/"!==A&&A!==l&&Il(A.charCodeAt(A.length-1))&&(A=A.slice(0,-1)),!0===n.unescape&&(O&&(O=bl.removeBackslashes(O)),A&&!0===y&&(A=bl.removeBackslashes(A)));const j={prefix:C,input:e,start:d,base:A,glob:O,isBrace:h,isBracket:f,isGlob:x,isExtglob:v,isGlobstar:g,negated:_,negatedExtglob:w};if(!0===n.tokens&&(j.maxDepth=0,Il(p)||o.push(S),j.tokens=o),!0===n.parts||!0===n.tokens){let t;for(let i=0;i<a.length;i++){const s=t?t+1:d,c=a[i],p=e.slice(s,c);n.tokens&&(0===i&&0!==d?(o[i].isPrefix=!0,o[i].value=C):o[i].value=p,Dl(o[i]),j.maxDepth+=o[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&&(o[o.length-1].value=i,Dl(o[o.length-1]),j.maxDepth+=o[o.length-1].depth)}j.slashes=a,j.parts=r}return j};const Ml=gl,$l=ol,{MAX_LENGTH:Ul,POSIX_REGEX_SOURCE:Bl,REGEX_NON_SPECIAL_CHARS:zl,REGEX_SPECIAL_CHARS_BACKREF:Hl,REPLACEMENTS:ql}=Ml,Gl=(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=>$l.escapeRegex(e))).join("..")}return n},Wl=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,Kl=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");e=ql[e]||e;const n={...t},i="number"==typeof n.maxLength?Math.min(Ul,n.maxLength):Ul;let s=e.length;if(s>i)throw new SyntaxError(`Input length: ${s}, exceeds maximum allowed length: ${i}`);const a={type:"bos",value:"",output:n.prepend||""},o=[a],r=n.capture?"":"?:",c=$l.isWindows(t),p=Ml.globChars(c),l=Ml.extglobChars(p),{DOT_LITERAL:u,PLUS_LITERAL:d,SLASH_LITERAL:m,ONE_CHAR:h,DOTS_SLASH:f,NO_DOT:x,NO_DOT_SLASH:v,NO_DOTS_SLASH:g,QMARK:b,QMARK_NO_DOT:y,STAR:_,START_ANCHOR:w}=p,E=e=>`(${r}(?:(?!${w}${e.dot?f:u}).)*?)`,k=n.dot?"":x,S=n.dot?b:y;let T=!0===n.bash?E(n):_;n.capture&&(T=`(${T})`),"boolean"==typeof n.noext&&(n.noextglob=n.noext);const R={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:o};e=$l.removePrefix(e,R),s=e.length;const A=[],C=[],O=[];let j,P=a;const L=()=>R.index===s-1,N=R.peek=(t=1)=>e[R.index+t],I=R.advance=()=>e[++R.index]||"",D=()=>e.slice(R.index+1),F=(e="",t=0)=>{R.consumed+=e,R.index+=t},M=e=>{R.output+=null!=e.output?e.output:e.value,F(e.value)},$=()=>{let e=1;for(;"!"===N()&&("("!==N(2)||"?"===N(3));)I(),R.start++,e++;return e%2!=0&&(R.negated=!0,R.start++,!0)},U=e=>{R[e]++,O.push(e)},B=e=>{R[e]--,O.pop()},z=e=>{if("globstar"===P.type){const t=R.braces>0&&("comma"===e.type||"brace"===e.type),n=!0===e.extglob||A.length&&("pipe"===e.type||"paren"===e.type);"slash"===e.type||"paren"===e.type||t||n||(R.output=R.output.slice(0,-P.output.length),P.type="star",P.value="*",P.output=T,R.output+=P.output)}if(A.length&&"paren"!==e.type&&(A[A.length-1].inner+=e.value),(e.value||e.output)&&M(e),P&&"text"===P.type&&"text"===e.type)return P.value+=e.value,void(P.output=(P.output||"")+e.value);e.prev=P,o.push(e),P=e},H=(e,t)=>{const i={...l[t],conditions:1,inner:""};i.prev=P,i.parens=R.parens,i.output=R.output;const s=(n.capture?"(":"")+i.open;U("parens"),z({type:e,value:t,output:R.output?"":h}),z({type:"paren",extglob:!0,value:I(),output:s}),A.push(i)},q=e=>{let i,s=e.close+(n.capture?")":"");if("negate"===e.type){let a=T;if(e.inner&&e.inner.length>1&&e.inner.includes("/")&&(a=E(n)),(a!==T||L()||/^\)+$/.test(D()))&&(s=e.close=`)$))${a}`),e.inner.includes("*")&&(i=D())&&/^\.[^\\/.]+$/.test(i)){const n=Kl(i,{...t,fastpaths:!1}).output;s=e.close=`)${n})${a})`}"bos"===e.prev.type&&(R.negatedExtglob=!0)}z({type:"paren",extglob:!0,value:j,output:s}),B("parens")};if(!1!==n.fastpaths&&!/(^[*!]|[/()[\]{}"])/.test(e)){let i=!1,s=e.replace(Hl,((e,t,n,s,a,o)=>"\\"===s?(i=!0,e):"?"===s?t?t+s+(a?b.repeat(a.length):""):0===o?S+(a?b.repeat(a.length):""):b.repeat(n.length):"."===s?u.repeat(n.length):"*"===s?t?t+s+(a?T:""):T: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?(R.output=e,R):(R.output=$l.wrapOutput(s,R,t),R)}for(;!L();){if(j=I(),"\0"===j)continue;if("\\"===j){const e=N();if("/"===e&&!0!==n.bash)continue;if("."===e||";"===e)continue;if(!e){j+="\\",z({type:"text",value:j});continue}const t=/^\\+/.exec(D());let i=0;if(t&&t[0].length>2&&(i=t[0].length,R.index+=i,i%2!=0&&(j+="\\")),!0===n.unescape?j=I():j+=I(),0===R.brackets){z({type:"text",value:j});continue}}if(R.brackets>0&&("]"!==j||"["===P.value||"[^"===P.value)){if(!1!==n.posix&&":"===j){const e=P.value.slice(1);if(e.includes("[")&&(P.posix=!0,e.includes(":"))){const e=P.value.lastIndexOf("["),t=P.value.slice(0,e),n=P.value.slice(e+2),i=Bl[n];if(i){P.value=t+i,R.backtrack=!0,I(),a.output||1!==o.indexOf(P)||(a.output=h);continue}}}("["===j&&":"!==N()||"-"===j&&"]"===N())&&(j=`\\${j}`),"]"!==j||"["!==P.value&&"[^"!==P.value||(j=`\\${j}`),!0===n.posix&&"!"===j&&"["===P.value&&(j="^"),P.value+=j,M({value:j});continue}if(1===R.quotes&&'"'!==j){j=$l.escapeRegex(j),P.value+=j,M({value:j});continue}if('"'===j){R.quotes=1===R.quotes?0:1,!0===n.keepQuotes&&z({type:"text",value:j});continue}if("("===j){U("parens"),z({type:"paren",value:j});continue}if(")"===j){if(0===R.parens&&!0===n.strictBrackets)throw new SyntaxError(Wl("opening","("));const e=A[A.length-1];if(e&&R.parens===e.parens+1){q(A.pop());continue}z({type:"paren",value:j,output:R.parens?")":"\\)"}),B("parens");continue}if("["===j){if(!0!==n.nobracket&&D().includes("]"))U("brackets");else{if(!0!==n.nobracket&&!0===n.strictBrackets)throw new SyntaxError(Wl("closing","]"));j=`\\${j}`}z({type:"bracket",value:j});continue}if("]"===j){if(!0===n.nobracket||P&&"bracket"===P.type&&1===P.value.length){z({type:"text",value:j,output:`\\${j}`});continue}if(0===R.brackets){if(!0===n.strictBrackets)throw new SyntaxError(Wl("opening","["));z({type:"text",value:j,output:`\\${j}`});continue}B("brackets");const e=P.value.slice(1);if(!0===P.posix||"^"!==e[0]||e.includes("/")||(j=`/${j}`),P.value+=j,M({value:j}),!1===n.literalBrackets||$l.hasRegexChars(e))continue;const t=$l.escapeRegex(P.value);if(R.output=R.output.slice(0,-P.value.length),!0===n.literalBrackets){R.output+=t,P.value=t;continue}P.value=`(${r}${t}|${P.value})`,R.output+=P.value;continue}if("{"===j&&!0!==n.nobrace){U("braces");const e={type:"brace",value:j,output:"(",outputIndex:R.output.length,tokensIndex:R.tokens.length};C.push(e),z(e);continue}if("}"===j){const e=C[C.length-1];if(!0===n.nobrace||!e){z({type:"text",value:j,output:j});continue}let t=")";if(!0===e.dots){const e=o.slice(),i=[];for(let t=e.length-1;t>=0&&(o.pop(),"brace"!==e[t].type);t--)"dots"!==e[t].type&&i.unshift(e[t].value);t=Gl(i,n),R.backtrack=!0}if(!0!==e.comma&&!0!==e.dots){const n=R.output.slice(0,e.outputIndex),i=R.tokens.slice(e.tokensIndex);e.value=e.output="\\{",j=t="\\}",R.output=n;for(const e of i)R.output+=e.output||e.value}z({type:"brace",value:j,output:t}),B("braces"),C.pop();continue}if("|"===j){A.length>0&&A[A.length-1].conditions++,z({type:"text",value:j});continue}if(","===j){let e=j;const t=C[C.length-1];t&&"braces"===O[O.length-1]&&(t.comma=!0,e="|"),z({type:"comma",value:j,output:e});continue}if("/"===j){if("dot"===P.type&&R.index===R.start+1){R.start=R.index+1,R.consumed="",R.output="",o.pop(),P=a;continue}z({type:"slash",value:j,output:m});continue}if("."===j){if(R.braces>0&&"dot"===P.type){"."===P.value&&(P.output=u);const e=C[C.length-1];P.type="dots",P.output+=j,P.value+=j,e.dots=!0;continue}if(R.braces+R.parens===0&&"bos"!==P.type&&"slash"!==P.type){z({type:"text",value:j,output:u});continue}z({type:"dot",value:j,output:u});continue}if("?"===j){if(!(P&&"("===P.value)&&!0!==n.noextglob&&"("===N()&&"?"!==N(2)){H("qmark",j);continue}if(P&&"paren"===P.type){const e=N();let t=j;if("<"===e&&!$l.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");("("===P.value&&!/[!=<:]/.test(e)||"<"===e&&!/<([!=]|\w+>)/.test(D()))&&(t=`\\${j}`),z({type:"text",value:j,output:t});continue}if(!0!==n.dot&&("slash"===P.type||"bos"===P.type)){z({type:"qmark",value:j,output:y});continue}z({type:"qmark",value:j,output:b});continue}if("!"===j){if(!0!==n.noextglob&&"("===N()&&("?"!==N(2)||!/[!=<:]/.test(N(3)))){H("negate",j);continue}if(!0!==n.nonegate&&0===R.index){$();continue}}if("+"===j){if(!0!==n.noextglob&&"("===N()&&"?"!==N(2)){H("plus",j);continue}if(P&&"("===P.value||!1===n.regex){z({type:"plus",value:j,output:d});continue}if(P&&("bracket"===P.type||"paren"===P.type||"brace"===P.type)||R.parens>0){z({type:"plus",value:j});continue}z({type:"plus",value:d});continue}if("@"===j){if(!0!==n.noextglob&&"("===N()&&"?"!==N(2)){z({type:"at",extglob:!0,value:j,output:""});continue}z({type:"text",value:j});continue}if("*"!==j){"$"!==j&&"^"!==j||(j=`\\${j}`);const e=zl.exec(D());e&&(j+=e[0],R.index+=e[0].length),z({type:"text",value:j});continue}if(P&&("globstar"===P.type||!0===P.star)){P.type="star",P.star=!0,P.value+=j,P.output=T,R.backtrack=!0,R.globstar=!0,F(j);continue}let t=D();if(!0!==n.noextglob&&/^\([^?]/.test(t)){H("star",j);continue}if("star"===P.type){if(!0===n.noglobstar){F(j);continue}const i=P.prev,s=i.prev,a="slash"===i.type||"bos"===i.type,o=s&&("star"===s.type||"globstar"===s.type);if(!0===n.bash&&(!a||t[0]&&"/"!==t[0])){z({type:"star",value:j,output:""});continue}const r=R.braces>0&&("comma"===i.type||"brace"===i.type),c=A.length&&("pipe"===i.type||"paren"===i.type);if(!a&&"paren"!==i.type&&!r&&!c){z({type:"star",value:j,output:""});continue}for(;"/**"===t.slice(0,3);){const n=e[R.index+4];if(n&&"/"!==n)break;t=t.slice(3),F("/**",3)}if("bos"===i.type&&L()){P.type="globstar",P.value+=j,P.output=E(n),R.output=P.output,R.globstar=!0,F(j);continue}if("slash"===i.type&&"bos"!==i.prev.type&&!o&&L()){R.output=R.output.slice(0,-(i.output+P.output).length),i.output=`(?:${i.output}`,P.type="globstar",P.output=E(n)+(n.strictSlashes?")":"|$)"),P.value+=j,R.globstar=!0,R.output+=i.output+P.output,F(j);continue}if("slash"===i.type&&"bos"!==i.prev.type&&"/"===t[0]){const e=void 0!==t[1]?"|$":"";R.output=R.output.slice(0,-(i.output+P.output).length),i.output=`(?:${i.output}`,P.type="globstar",P.output=`${E(n)}${m}|${m}${e})`,P.value+=j,R.output+=i.output+P.output,R.globstar=!0,F(j+I()),z({type:"slash",value:"/",output:""});continue}if("bos"===i.type&&"/"===t[0]){P.type="globstar",P.value+=j,P.output=`(?:^|${m}|${E(n)}${m})`,R.output=P.output,R.globstar=!0,F(j+I()),z({type:"slash",value:"/",output:""});continue}R.output=R.output.slice(0,-P.output.length),P.type="globstar",P.output=E(n),P.value+=j,R.output+=P.output,R.globstar=!0,F(j);continue}const i={type:"star",value:j,output:T};!0!==n.bash?!P||"bracket"!==P.type&&"paren"!==P.type||!0!==n.regex?(R.index!==R.start&&"slash"!==P.type&&"dot"!==P.type||("dot"===P.type?(R.output+=v,P.output+=v):!0===n.dot?(R.output+=g,P.output+=g):(R.output+=k,P.output+=k),"*"!==N()&&(R.output+=h,P.output+=h)),z(i)):(i.output=j,z(i)):(i.output=".*?","bos"!==P.type&&"slash"!==P.type||(i.output=k+i.output),z(i))}for(;R.brackets>0;){if(!0===n.strictBrackets)throw new SyntaxError(Wl("closing","]"));R.output=$l.escapeLast(R.output,"["),B("brackets")}for(;R.parens>0;){if(!0===n.strictBrackets)throw new SyntaxError(Wl("closing",")"));R.output=$l.escapeLast(R.output,"("),B("parens")}for(;R.braces>0;){if(!0===n.strictBrackets)throw new SyntaxError(Wl("closing","}"));R.output=$l.escapeLast(R.output,"{"),B("braces")}if(!0===n.strictSlashes||"star"!==P.type&&"bracket"!==P.type||z({type:"maybe_slash",value:"",output:`${m}?`}),!0===R.backtrack){R.output="";for(const e of R.tokens)R.output+=null!=e.output?e.output:e.value,e.suffix&&(R.output+=e.suffix)}return R};Kl.fastpaths=(e,t)=>{const n={...t},i="number"==typeof n.maxLength?Math.min(Ul,n.maxLength):Ul,s=e.length;if(s>i)throw new SyntaxError(`Input length: ${s}, exceeds maximum allowed length: ${i}`);e=ql[e]||e;const a=$l.isWindows(t),{DOT_LITERAL:o,SLASH_LITERAL:r,ONE_CHAR:c,DOTS_SLASH:p,NO_DOT:l,NO_DOTS:u,NO_DOTS_SLASH:d,STAR:m,START_ANCHOR:h}=Ml.globChars(a),f=n.dot?u:l,x=n.dot?d:l,v=n.capture?"":"?:";let g=!0===n.bash?".*?":m;n.capture&&(g=`(${g})`);const b=e=>!0===e.noglobstar?g:`(${v}(?:(?!${h}${e.dot?p:o}).)*?)`,y=e=>{switch(e){case"*":return`${f}${c}${g}`;case".*":return`${o}${c}${g}`;case"*.*":return`${f}${g}${o}${c}${g}`;case"*/*":return`${f}${g}${r}${c}${x}${g}`;case"**":return f+b(n);case"**/*":return`(?:${f}${b(n)}${r})?${x}${c}${g}`;case"**/*.*":return`(?:${f}${b(n)}${r})?${x}${g}${o}${c}${g}`;case"**/.*":return`(?:${f}${b(n)}${r})?${o}${c}${g}`;default:{const t=/^(.*?)\.(\w+)$/.exec(e);if(!t)return;const n=y(t[1]);if(!n)return;return n+o+t[2]}}},_=$l.removePrefix(e,{negated:!1,prefix:""});let w=y(_);return w&&!0!==n.strictSlashes&&(w+=`${r}?`),w};const Vl=h,Ql=Fl,Yl=Kl,Jl=ol,Zl=gl,Xl=(e,t,n=!1)=>{if(Array.isArray(e)){const i=e.map((e=>Xl(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 a=t||{},o=Jl.isWindows(t),r=i?Xl.compileRe(e,t):Xl.makeRe(e,t,!1,!0),c=r.state;delete r.state;let p=()=>!1;if(a.ignore){const e={...t,ignore:null,onMatch:null,onResult:null};p=Xl(a.ignore,e,n)}const l=(n,i=!1)=>{const{isMatch:s,match:l,output:u}=Xl.test(n,r,t,{glob:e,posix:o}),d={glob:e,state:c,regex:r,posix:o,input:n,output:u,match:l,isMatch:s};return"function"==typeof a.onResult&&a.onResult(d),!1===s?(d.isMatch=!1,!!i&&d):p(n)?("function"==typeof a.onIgnore&&a.onIgnore(d),d.isMatch=!1,!!i&&d):("function"==typeof a.onMatch&&a.onMatch(d),!i||d)};return n&&(l.state=c),l};Xl.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 a=n||{},o=a.format||(s?Jl.toPosixSlashes:null);let r=e===i,c=r&&o?o(e):e;return!1===r&&(c=o?o(e):e,r=c===i),!1!==r&&!0!==a.capture||(r=!0===a.matchBase||!0===a.basename?Xl.matchBase(e,t,n,s):t.exec(c)),{isMatch:Boolean(r),match:r,output:c}},Xl.matchBase=(e,t,n,i=Jl.isWindows(n))=>(t instanceof RegExp?t:Xl.makeRe(t,n)).test(Vl.basename(e)),Xl.isMatch=(e,t,n)=>Xl(t,n)(e),Xl.parse=(e,t)=>Array.isArray(e)?e.map((e=>Xl.parse(e,t))):Yl(e,{...t,fastpaths:!1}),Xl.scan=(e,t)=>Ql(e,t),Xl.compileRe=(e,t,n=!1,i=!1)=>{if(!0===n)return e.output;const s=t||{},a=s.contains?"":"^",o=s.contains?"":"$";let r=`${a}(?:${e.output})${o}`;e&&!0===e.negated&&(r=`^(?!${r}).*$`);const c=Xl.toRegex(r,t);return!0===i&&(c.state=e),c},Xl.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=Yl.fastpaths(e,t)),s.output||(s=Yl(e,t)),Xl.compileRe(s,t,n,i)},Xl.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/$^/}},Xl.constants=Zl;var eu=Xl,tu=al.exports;Object.defineProperty(tu,"__esModule",{value:!0});const nu=eu,iu=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 a=e.split(/[/\\]+/);return!1!==t&&""===a[a.length-1]&&a.pop(),i+a.join("/")},su={returnIndex:!1},au=(e,t,n,i)=>{const s=Array.isArray(n),a=s?n[0]:n;if(!s&&"string"!=typeof a)throw new TypeError("anymatch: second argument must be a string: got "+Object.prototype.toString.call(a));const o=iu(a,!1);for(let e=0;e<t.length;e++){if((0,t[e])(o))return!!i&&-1}const r=s&&[o].concat(n.slice(1));for(let t=0;t<e.length;t++){const n=e[t];if(s?n(...r):n(o))return!i||t}return!!i&&-1},ou=(e,t,n=su)=>{if(null==e)throw new TypeError("anymatch: specify first argument");const i="boolean"==typeof n?{returnIndex:n}:n,s=i.returnIndex||!1,a=(o=e,Array.isArray(o)?o:[o]);var o;const r=a.filter((e=>"string"==typeof e&&"!"===e.charAt(0))).map((e=>e.slice(1))).map((e=>nu(e,i))),c=a.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=nu(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)=>au(c,r,e,"boolean"==typeof t&&t):au(c,r,t,s)};ou.default=ou,al.exports=ou;var ru=tt(al.exports);const cu=l.PassThrough,pu=Array.prototype.slice;var lu=function(){const e=[],t=pu.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,a=!0===i.pipeError;null==i.objectMode&&(i.objectMode=!0);null==i.highWaterMark&&(i.highWaterMark=65536);const o=cu(i);function r(){for(let t=0,n=arguments.length;t<n;t++)e.push(uu(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),a&&e.removeListener("error",n),s()}function n(e){o.emit("error",e)}if(e._readableState.endEmitted)return s();e.on("merge2UnpipeEnd",t),e.on("end",t),a&&e.on("error",n),e.pipe(o,{end:!1}),e.resume()}for(let e=0;e<t.length;e++)r(t[e]);s()}function p(){n=!1,o.emit("queueDrain"),s&&o.end()}o.setMaxListeners(0),o.add=r,o.on("unpipe",(function(e){e.emit("merge2UnpipeEnd")})),t.length&&r.apply(null,t);return o};function uu(e,t){if(Array.isArray(e))for(let n=0,i=e.length;n<i;n++)e[n]=uu(e[n],t);else{if(!e._readableState&&e.pipe&&(e=e.pipe(cu(t))),!e._readableState||!e.pause||!e.pipe)throw new Error("Only readable stream can be merged.");e.pause()}return e}var du=tt(lu),mu={},hu={},fu={};Object.defineProperty(fu,"__esModule",{value:!0}),fu.splitWhen=fu.flatten=void 0,fu.flatten=function(e){return e.reduce(((e,t)=>[].concat(e,t)),[])},fu.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 xu={};Object.defineProperty(xu,"__esModule",{value:!0}),xu.isEnoentCodeError=void 0,xu.isEnoentCodeError=function(e){return"ENOENT"===e.code};var vu={};Object.defineProperty(vu,"__esModule",{value:!0}),vu.createDirentFromStats=void 0;let gu=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)}};vu.createDirentFromStats=function(e,t){return new gu(e,t)};var bu={};Object.defineProperty(bu,"__esModule",{value:!0}),bu.convertPosixPathToPattern=bu.convertWindowsPathToPattern=bu.convertPathToPattern=bu.escapePosixPath=bu.escapeWindowsPath=bu.escape=bu.removeLeadingDotSegment=bu.makeAbsolute=bu.unixify=void 0;const yu=h,_u="win32"===x.platform(),wu=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g,Eu=/(\\?)([()[\]{}]|^!|[!+@](?=\())/g,ku=/^\\\\([.?])/,Su=/\\(?![!()+@[\]{}])/g;function Tu(e){return e.replace(Eu,"\\$2")}function Ru(e){return e.replace(wu,"\\$2")}function Au(e){return Tu(e).replace(ku,"//$1").replace(Su,"/")}function Cu(e){return Ru(e)}bu.unixify=function(e){return e.replace(/\\/g,"/")},bu.makeAbsolute=function(e,t){return yu.resolve(e,t)},bu.removeLeadingDotSegment=function(e){if("."===e.charAt(0)){const t=e.charAt(1);if("/"===t||"\\"===t)return e.slice(2)}return e},bu.escape=_u?Tu:Ru,bu.escapeWindowsPath=Tu,bu.escapePosixPath=Ru,bu.convertPathToPattern=_u?Au:Cu,bu.convertWindowsPathToPattern=Au,bu.convertPosixPathToPattern=Cu;var Ou,ju={},Pu=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},Lu={"{":"}","(":")","[":"]"},Nu=function(e){if("!"===e[0])return!0;for(var t=0,n=-2,i=-2,s=-2,a=-2,o=-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===o||o>i)return!0;if(-1===(o=e.indexOf("\\",t))||o>i)return!0}if(-1!==s&&"{"===e[t]&&"}"!==e[t+1]&&(s=e.indexOf("}",t))>t&&(-1===(o=e.indexOf("\\",t))||o>s))return!0;if(-1!==a&&"("===e[t]&&"?"===e[t+1]&&/[:!=]/.test(e[t+2])&&")"!==e[t+3]&&(a=e.indexOf(")",t))>t&&(-1===(o=e.indexOf("\\",t))||o>a))return!0;if(-1!==n&&"("===e[t]&&"|"!==e[t+1]&&(n<t&&(n=e.indexOf("|",t)),-1!==n&&")"!==e[n+1]&&(a=e.indexOf(")",n))>n&&(-1===(o=e.indexOf("\\",n))||o>a)))return!0;if("\\"===e[t]){var r=e[t+1];t+=2;var c=Lu[r];if(c){var p=e.indexOf(c,t);-1!==p&&(t=p+1)}if("!"===e[t])return!0}else t++}return!1},Iu=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=Lu[n];if(i){var s=e.indexOf(i,t);-1!==s&&(t=s+1)}if("!"===e[t])return!0}else t++}return!1},Du=function(e,t){if("string"!=typeof e||""===e)return!1;if(Pu(e))return!0;var n=Nu;return t&&!1===t.strict&&(n=Iu),n(e)},Fu=h.posix.dirname,Mu="win32"===x.platform(),$u=/\\/g,Uu=/[\{\[].*[\}\]]$/,Bu=/(^|[^\\])([\{\[]|\([^\)]+$)/,zu=/\\([\!\*\?\|\[\]\(\)\{\}])/g,Hu={};
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
+ */(Ou=Hu).isInteger=e=>"number"==typeof e?Number.isInteger(e):"string"==typeof e&&""!==e.trim()&&Number.isInteger(Number(e)),Ou.find=(e,t)=>e.nodes.find((e=>e.type===t)),Ou.exceedsLimit=(e,t,n=1,i)=>!1!==i&&!(!Ou.isInteger(e)||!Ou.isInteger(t))&&(Number(t)-Number(e))/Number(n)>=i,Ou.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)},Ou.encloseBrace=e=>"brace"===e.type&&e.commas>>0+e.ranges>>0==0&&(e.invalid=!0,!0),Ou.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))),Ou.isOpenOrClose=e=>"open"===e.type||"close"===e.type||!0===e.open||!0===e.close,Ou.reduce=e=>e.reduce(((e,t)=>("text"===t.type&&e.push(t.value),"range"===t.type&&(t.type="text"),e)),[]),Ou.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 qu=Hu;var Gu=(e,t={})=>{const n=(e,i={})=>{const s=t.escapeInvalid&&qu.isInvalidBrace(i),a=!0===e.invalid&&!0===t.escapeInvalid;let o="";if(e.value)return(s||a)&&qu.isOpenOrClose(e)?"\\"+e.value:e.value;if(e.value)return e.value;if(e.nodes)for(const t of e.nodes)o+=n(t);return o};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 Wu=function(e){return"number"==typeof e?e-e==0:"string"==typeof e&&""!==e.trim()&&(Number.isFinite?Number.isFinite(+e):isFinite(+e))},Ku=(e,t,n)=>{if(!1===Wu(e))throw new TypeError("toRegexRange: expected the first argument to be a number");if(void 0===t||e===t)return String(e);if(!1===Wu(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(Ku.cache.hasOwnProperty(s))return Ku.cache[s].result;let a=Math.min(e,t),o=Math.max(e,t);if(1===Math.abs(a-o)){let n=e+"|"+t;return i.capture?`(${n})`:!1===i.wrap?n:`(?:${n})`}let r=id(e)||id(t),c={min:e,max:t,a:a,b:o},p=[],l=[];if(r&&(c.isPadded=r,c.maxLen=String(c.max).length),a<0){l=Qu(o<0?Math.abs(o):1,Math.abs(a),c,i),a=c.a=0}return o>=0&&(p=Qu(a,o,c,i)),c.negatives=l,c.positives=p,c.result=function(e,t,n){let i=Yu(e,t,"-",!1)||[],s=Yu(t,e,"",!1)||[],a=Yu(e,t,"-?",!0)||[];return i.concat(a).concat(s).join("|")}(l,p),!0===i.capture?c.result=`(${c.result})`:!1!==i.wrap&&p.length+l.length>1&&(c.result=`(?:${c.result})`),Ku.cache[s]=c,c.result};function Vu(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,a="",o=0;for(let e=0;e<s;e++){let[t,n]=i[e];t===n?a+=t:"0"!==t||"9"!==n?a+=nd(t,n):o++}return o&&(a+=!0===n.shorthand?"\\d":"[0-9]"),{pattern:a,count:[o],digits:s}}function Qu(e,t,n,i){let s,a=function(e,t){let n=1,i=1,s=Xu(e,n),a=new Set([t]);for(;e<=s&&s<=t;)a.add(s),n+=1,s=Xu(e,n);for(s=ed(t+1,i)-1;e<s&&s<=t;)a.add(s),i+=1,s=ed(t+1,i)-1;return a=[...a],a.sort(Ju),a}(e,t),o=[],r=e;for(let e=0;e<a.length;e++){let t=a[e],c=Vu(String(r),String(t),i),p="";n.isPadded||!s||s.pattern!==c.pattern?(n.isPadded&&(p=sd(t,n,i)),c.string=p+c.pattern+td(c.count),o.push(c),r=t+1,s=c):(s.count.length>1&&s.count.pop(),s.count.push(c.count[0]),s.string=s.pattern+td(s.count),r=t+1)}return o}function Yu(e,t,n,i,s){let a=[];for(let s of e){let{string:e}=s;i||Zu(t,"string",e)||a.push(n+e),i&&Zu(t,"string",e)&&a.push(n+e)}return a}function Ju(e,t){return e>t?1:t>e?-1:0}function Zu(e,t,n){return e.some((e=>e[t]===n))}function Xu(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function ed(e,t){return e-e%Math.pow(10,t)}function td(e){let[t=0,n=""]=e;return n||t>1?`{${t+(n?","+n:"")}}`:""}function nd(e,t,n){return`[${e}${t-e==1?"":"-"}${t}]`}function id(e){return/^-?(0+)\d/.test(e)}function sd(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}}`}}Ku.cache={},Ku.clearCache=()=>Ku.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 ad=d,od=Ku,rd=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),cd=e=>"number"==typeof e||"string"==typeof e&&""!==e,pd=e=>Number.isInteger(+e),ld=e=>{let t=`${e}`,n=-1;if("-"===t[0]&&(t=t.slice(1)),"0"===t)return!1;for(;"0"===t[++n];);return n>0},ud=(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},dd=(e,t)=>{let n="-"===e[0]?"-":"";for(n&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return n?"-"+e:e},md=(e,t,n,i)=>{if(n)return od(e,t,{wrap:!1,...i});let s=String.fromCharCode(e);return e===t?s:`[${s}-${String.fromCharCode(t)}]`},hd=(e,t,n)=>{if(Array.isArray(e)){let t=!0===n.wrap,i=n.capture?"":"?:";return t?`(${i}${e.join("|")})`:e.join("|")}return od(e,t,n)},fd=(...e)=>new RangeError("Invalid range arguments: "+ad.inspect(...e)),xd=(e,t,n)=>{if(!0===n.strictRanges)throw fd([e,t]);return[]},vd=(e,t,n=1,i={})=>{let s=Number(e),a=Number(t);if(!Number.isInteger(s)||!Number.isInteger(a)){if(!0===i.strictRanges)throw fd([e,t]);return[]}0===s&&(s=0),0===a&&(a=0);let o=s>a,r=String(e),c=String(t),p=String(n);n=Math.max(Math.abs(n),1);let l=ld(r)||ld(c)||ld(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 md(dd(e,u),dd(t,u),!0,i);let h={negatives:[],positives:[]},f=[],x=0;for(;o?s>=a:s<=a;)!0===i.toRegex&&n>1?h[(v=s)<0?"negatives":"positives"].push(Math.abs(v)):f.push(ud(m(s,x),u,d)),s=o?s-n:s+n,x++;var v;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?"":"?:",a="",o="";return e.positives.length&&(a=e.positives.map((e=>dd(String(e),n))).join("|")),e.negatives.length&&(o=`-(${s}${e.negatives.map((e=>dd(String(e),n))).join("|")})`),i=a&&o?`${a}|${o}`:a||o,t.wrap?`(${s}${i})`:i})(h,i,u):hd(f,null,{wrap:!1,...i}):f},gd=(e,t,n,i={})=>{if(null==t&&cd(e))return[e];if(!cd(e)||!cd(t))return xd(e,t,i);if("function"==typeof n)return gd(e,t,1,{transform:n});if(rd(n))return gd(e,t,0,n);let s={...i};return!0===s.capture&&(s.wrap=!0),n=n||s.step||1,pd(n)?pd(e)&&pd(t)?vd(e,t,n,s):((e,t,n=1,i={})=>{if(!pd(e)&&e.length>1||!pd(t)&&t.length>1)return xd(e,t,i);let s=i.transform||(e=>String.fromCharCode(e)),a=`${e}`.charCodeAt(0),o=`${t}`.charCodeAt(0),r=a>o,c=Math.min(a,o),p=Math.max(a,o);if(i.toRegex&&1===n)return md(c,p,!1,i);let l=[],u=0;for(;r?a>=o:a<=o;)l.push(s(a,u)),a=r?a-n:a+n,u++;return!0===i.toRegex?hd(l,null,{wrap:!1,options:i}):l})(e,t,Math.max(Math.abs(n),1),s):null==n||rd(n)?gd(e,t,1,n):((e,t)=>{if(!0===t.strictRanges)throw new TypeError(`Expected step "${e}" to be a number`);return[]})(n,s)};const bd=gd,yd=Hu;var _d=(e,t={})=>{const n=(e,i={})=>{const s=yd.isInvalidBrace(i),a=!0===e.invalid&&!0===t.escapeInvalid,o=!0===s||!0===a,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 o?r+e.value:"(";if("close"===e.type)return o?r+e.value:")";if("comma"===e.type)return"comma"===e.prev.type?"":o?e.value:"|";if(e.value)return e.value;if(e.nodes&&e.ranges>0){const n=yd.reduce(e.nodes),i=bd(...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 wd=gd,Ed=Gu,kd=Hu,Sd=(e="",t="",n=!1)=>{const i=[];if(e=[].concat(e),!(t=[].concat(t)).length)return e;if(!e.length)return n?kd.flatten(t).map((e=>`{${e}}`)):t;for(const s of e)if(Array.isArray(s))for(const e of s)i.push(Sd(e,t,n));else for(let e of t)!0===n&&"string"==typeof e&&(e=`{${e}}`),i.push(Array.isArray(e)?Sd(s,e,n):s+e);return kd.flatten(i)};var Td=(e,t={})=>{const n=void 0===t.rangeLimit?1e3:t.rangeLimit,i=(e,s={})=>{e.queue=[];let a=s,o=s.queue;for(;"brace"!==a.type&&"root"!==a.type&&a.parent;)a=a.parent,o=a.queue;if(e.invalid||e.dollar)return void o.push(Sd(o.pop(),Ed(e,t)));if("brace"===e.type&&!0!==e.invalid&&2===e.nodes.length)return void o.push(Sd(o.pop(),["{}"]));if(e.nodes&&e.ranges>0){const i=kd.reduce(e.nodes);if(kd.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=wd(...i,t);return 0===s.length&&(s=Ed(e,t)),o.push(Sd(o.pop(),s)),void(e.nodes=[])}const r=kd.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(Sd(c.pop(),n.value)):n.nodes&&i(n,e):o.push(Sd(o.pop(),c,r)):(1===t&&c.push(""),c.push(""))}return c};return kd.flatten(i(e))};const Rd=Gu,{MAX_LENGTH:Ad,CHAR_BACKSLASH:Cd,CHAR_BACKTICK:Od,CHAR_COMMA:jd,CHAR_DOT:Pd,CHAR_LEFT_PARENTHESES:Ld,CHAR_RIGHT_PARENTHESES:Nd,CHAR_LEFT_CURLY_BRACE:Id,CHAR_RIGHT_CURLY_BRACE:Dd,CHAR_LEFT_SQUARE_BRACKET:Fd,CHAR_RIGHT_SQUARE_BRACKET:Md,CHAR_DOUBLE_QUOTE:$d,CHAR_SINGLE_QUOTE:Ud,CHAR_NO_BREAK_SPACE:Bd,CHAR_ZERO_WIDTH_NOBREAK_SPACE:zd}={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 Hd=(e,t={})=>{if("string"!=typeof e)throw new TypeError("Expected a string");const n=t||{},i="number"==typeof n.maxLength?Math.min(Ad,n.maxLength):Ad;if(e.length>i)throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${i})`);const s={type:"root",input:e,nodes:[]},a=[s];let o=s,r=s,c=0;const p=e.length;let l,u=0,d=0;const m=()=>e[u++],h=e=>{if("text"===e.type&&"dot"===r.type&&(r.type="text"),!r||"text"!==r.type||"text"!==e.type)return o.nodes.push(e),e.parent=o,e.prev=r,r=e,e;r.value+=e.value};for(h({type:"bos"});u<p;)if(o=a[a.length-1],l=m(),l!==zd&&l!==Bd)if(l!==Cd)if(l!==Md)if(l!==Fd)if(l!==Ld)if(l!==Nd)if(l!==$d&&l!==Ud&&l!==Od)if(l!==Id)if(l!==Dd)if(l===jd&&d>0){if(o.ranges>0){o.ranges=0;const e=o.nodes.shift();o.nodes=[e,{type:"text",value:Rd(o)}]}h({type:"comma",value:l}),o.commas++}else if(l===Pd&&d>0&&0===o.commas){const e=o.nodes;if(0===d||0===e.length){h({type:"text",value:l});continue}if("dot"===r.type){if(o.range=[],r.value+=l,r.type="range",3!==o.nodes.length&&5!==o.nodes.length){o.invalid=!0,o.ranges=0,r.type="text";continue}o.ranges++,o.args=[];continue}if("range"===r.type){e.pop();const t=e[e.length-1];t.value+=r.value+l,r=t,o.ranges--;continue}h({type:"dot",value:l})}else h({type:"text",value:l});else{if("brace"!==o.type){h({type:"text",value:l});continue}const e="close";o=a.pop(),o.close=!0,h({type:e,value:l}),d--,o=a[a.length-1]}else{d++;const e=r.value&&"$"===r.value.slice(-1)||!0===o.dollar;o=h({type:"brace",open:!0,close:!1,dollar:e,depth:d,commas:0,ranges:0,nodes:[]}),a.push(o),h({type:"open",value:l})}else{const e=l;let n;for(!0!==t.keepQuotes&&(l="");u<p&&(n=m());)if(n!==Cd){if(n===e){!0===t.keepQuotes&&(l+=n);break}l+=n}else l+=n+m();h({type:"text",value:l})}else{if("paren"!==o.type){h({type:"text",value:l});continue}o=a.pop(),h({type:"text",value:l}),o=a[a.length-1]}else o=h({type:"paren",nodes:[]}),a.push(o),h({type:"text",value:l});else{let e;for(c++;u<p&&(e=m());)if(l+=e,e!==Fd)if(e!==Cd){if(e===Md&&(c--,0===c))break}else l+=m();else c++;h({type:"text",value:l})}else h({type:"text",value:"\\"+l});else h({type:"text",value:(t.keepEscaping?l:"")+m()});do{if(o=a.pop(),"root"!==o.type){o.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=a[a.length-1],t=e.nodes.indexOf(o);e.nodes.splice(t,1,...o.nodes)}}while(a.length>0);return h({type:"eos"}),s};const qd=Gu,Gd=_d,Wd=Td,Kd=Hd,Vd=(e,t={})=>{let n=[];if(Array.isArray(e))for(const i of e){const e=Vd.create(i,t);Array.isArray(e)?n.push(...e):n.push(e)}else n=[].concat(Vd.create(e,t));return t&&!0===t.expand&&!0===t.nodupes&&(n=[...new Set(n)]),n};Vd.parse=(e,t={})=>Kd(e,t),Vd.stringify=(e,t={})=>qd("string"==typeof e?Vd.parse(e,t):e,t),Vd.compile=(e,t={})=>("string"==typeof e&&(e=Vd.parse(e,t)),Gd(e,t)),Vd.expand=(e,t={})=>{"string"==typeof e&&(e=Vd.parse(e,t));let n=Wd(e,t);return!0===t.noempty&&(n=n.filter(Boolean)),!0===t.nodupes&&(n=[...new Set(n)]),n},Vd.create=(e,t={})=>""===e||e.length<3?[e]:!0!==t.expand?Vd.compile(e,t):Vd.expand(e,t);const Qd=d,Yd=Vd,Jd=eu,Zd=ol,Xd=e=>""===e||"./"===e,em=(e,t,n)=>{t=[].concat(t),e=[].concat(e);let i=new Set,s=new Set,a=new Set,o=0,r=e=>{a.add(e.output),n&&n.onResult&&n.onResult(e)};for(let a=0;a<t.length;a++){let c=Jd(String(t[a]),{...n,onResult:r},!0),p=c.state.negated||c.state.negatedExtglob;p&&o++;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=(o===t.length?[...a]:[...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};em.match=em,em.matcher=(e,t)=>Jd(e,t),em.any=em.isMatch=(e,t,n)=>Jd(t,n)(e),em.not=(e,t,n={})=>{t=[].concat(t).map(String);let i=new Set,s=[],a=new Set(em(e,t,{...n,onResult:e=>{n.onResult&&n.onResult(e),s.push(e.output)}}));for(let e of s)a.has(e)||i.add(e);return[...i]},em.contains=(e,t,n)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${Qd.inspect(e)}"`);if(Array.isArray(t))return t.some((t=>em.contains(e,t,n)));if("string"==typeof t){if(Xd(e)||Xd(t))return!1;if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t))return!0}return em.isMatch(e,t,{...n,contains:!0})},em.matchKeys=(e,t,n)=>{if(!Zd.isObject(e))throw new TypeError("Expected the first argument to be an object");let i=em(Object.keys(e),t,n),s={};for(let t of i)s[t]=e[t];return s},em.some=(e,t,n)=>{let i=[].concat(e);for(let e of[].concat(t)){let t=Jd(String(e),n);if(i.some((e=>t(e))))return!0}return!1},em.every=(e,t,n)=>{let i=[].concat(e);for(let e of[].concat(t)){let t=Jd(String(e),n);if(!i.every((e=>t(e))))return!1}return!0},em.all=(e,t,n)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${Qd.inspect(e)}"`);return[].concat(t).every((t=>Jd(t,n)(e)))},em.capture=(e,t,n)=>{let i=Zd.isWindows(n),s=Jd.makeRe(String(e),{...n,capture:!0}).exec(i?Zd.toPosixSlashes(t):t);if(s)return s.slice(1).map((e=>void 0===e?"":e))},em.makeRe=(...e)=>Jd.makeRe(...e),em.scan=(...e)=>Jd.scan(...e),em.parse=(e,t)=>{let n=[];for(let i of[].concat(e||[]))for(let e of Yd(String(i),t))n.push(Jd.parse(e,t));return n},em.braces=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return t&&!0===t.nobrace||!/\{.*\}/.test(e)?[e]:Yd(e,t)},em.braceExpand=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return em.braces(e,{...t,expand:!0})};var tm=em;Object.defineProperty(ju,"__esModule",{value:!0}),ju.removeDuplicateSlashes=ju.matchAny=ju.convertPatternsToRe=ju.makeRe=ju.getPatternParts=ju.expandBraceExpansion=ju.expandPatternsWithBraceExpansion=ju.isAffectDepthOfReadingPattern=ju.endsWithSlashGlobStar=ju.hasGlobStar=ju.getBaseDirectory=ju.isPatternRelatedToParentDirectory=ju.getPatternsOutsideCurrentDirectory=ju.getPatternsInsideCurrentDirectory=ju.getPositivePatterns=ju.getNegativePatterns=ju.isPositivePattern=ju.isNegativePattern=ju.convertToNegativePattern=ju.convertToPositivePattern=ju.isDynamicPattern=ju.isStaticPattern=void 0;const nm=h,im=function(e,t){Object.assign({flipBackslashes:!0},t).flipBackslashes&&Mu&&e.indexOf("/")<0&&(e=e.replace($u,"/")),Uu.test(e)&&(e+="/"),e+="a";do{e=Fu(e)}while(Du(e)||Bu.test(e));return e.replace(zu,"$1")},sm=tm,am="**",om="\\",rm=/[*?]|^!/,cm=/\[[^[]*]/,pm=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,lm=/[!*+?@]\([^(]*\)/,um=/,|\.\./,dm=/(?!^)\/{2,}/g;function mm(e,t={}){return!hm(e,t)}function hm(e,t={}){return""!==e&&(!(!1!==t.caseSensitiveMatch&&!e.includes(om))||(!!(rm.test(e)||cm.test(e)||pm.test(e))||(!(!1===t.extglob||!lm.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 um.test(i)}(e)))))}function fm(e){return e.startsWith("!")&&"("!==e[1]}function xm(e){return!fm(e)}function vm(e){return e.startsWith("..")||e.startsWith("./..")}function gm(e){return e.endsWith("/"+am)}function bm(e){const t=sm.braces(e,{expand:!0,nodupes:!0,keepEscaping:!0});return t.sort(((e,t)=>e.length-t.length)),t.filter((e=>""!==e))}function ym(e,t){return sm.makeRe(e,t)}ju.isStaticPattern=mm,ju.isDynamicPattern=hm,ju.convertToPositivePattern=function(e){return fm(e)?e.slice(1):e},ju.convertToNegativePattern=function(e){return"!"+e},ju.isNegativePattern=fm,ju.isPositivePattern=xm,ju.getNegativePatterns=function(e){return e.filter(fm)},ju.getPositivePatterns=function(e){return e.filter(xm)},ju.getPatternsInsideCurrentDirectory=function(e){return e.filter((e=>!vm(e)))},ju.getPatternsOutsideCurrentDirectory=function(e){return e.filter(vm)},ju.isPatternRelatedToParentDirectory=vm,ju.getBaseDirectory=function(e){return im(e,{flipBackslashes:!1})},ju.hasGlobStar=function(e){return e.includes(am)},ju.endsWithSlashGlobStar=gm,ju.isAffectDepthOfReadingPattern=function(e){const t=nm.basename(e);return gm(e)||mm(t)},ju.expandPatternsWithBraceExpansion=function(e){return e.reduce(((e,t)=>e.concat(bm(t))),[])},ju.expandBraceExpansion=bm,ju.getPatternParts=function(e,t){let{parts:n}=sm.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},ju.makeRe=ym,ju.convertPatternsToRe=function(e,t){return e.map((e=>ym(e,t)))},ju.matchAny=function(e,t){return t.some((t=>t.test(e)))},ju.removeDuplicateSlashes=function(e){return e.replace(dm,"/")};var _m={};Object.defineProperty(_m,"__esModule",{value:!0}),_m.merge=void 0;const wm=lu;function Em(e){e.forEach((e=>e.emit("close")))}_m.merge=function(e){const t=wm(e);return e.forEach((e=>{e.once("error",(e=>t.emit("error",e)))})),t.once("close",(()=>Em(e))),t.once("end",(()=>Em(e))),t};var km={};Object.defineProperty(km,"__esModule",{value:!0}),km.isEmpty=km.isString=void 0,km.isString=function(e){return"string"==typeof e},km.isEmpty=function(e){return""===e},Object.defineProperty(hu,"__esModule",{value:!0}),hu.string=hu.stream=hu.pattern=hu.path=hu.fs=hu.errno=hu.array=void 0;const Sm=fu;hu.array=Sm;const Tm=xu;hu.errno=Tm;const Rm=vu;hu.fs=Rm;const Am=bu;hu.path=Am;const Cm=ju;hu.pattern=Cm;const Om=_m;hu.stream=Om;const jm=km;hu.string=jm,Object.defineProperty(mu,"__esModule",{value:!0}),mu.convertPatternGroupToTask=mu.convertPatternGroupsToTasks=mu.groupPatternsByBaseDirectory=mu.getNegativePatternsAsPositive=mu.getPositivePatterns=mu.convertPatternsToTasks=mu.generate=void 0;const Pm=hu;function Lm(e,t){let n=e;return t.braceExpansion&&(n=Pm.pattern.expandPatternsWithBraceExpansion(n)),t.baseNameMatch&&(n=n.map((e=>e.includes("/")?e:`**/${e}`))),n.map((e=>Pm.pattern.removeDuplicateSlashes(e)))}function Nm(e,t,n){const i=[],s=Pm.pattern.getPatternsOutsideCurrentDirectory(e),a=Pm.pattern.getPatternsInsideCurrentDirectory(e),o=Fm(s),r=Fm(a);return i.push(...Mm(o,t,n)),"."in r?i.push($m(".",a,t,n)):i.push(...Mm(r,t,n)),i}function Im(e){return Pm.pattern.getPositivePatterns(e)}function Dm(e,t){return Pm.pattern.getNegativePatterns(e).concat(t).map(Pm.pattern.convertToPositivePattern)}function Fm(e){return e.reduce(((e,t)=>{const n=Pm.pattern.getBaseDirectory(t);return n in e?e[n].push(t):e[n]=[t],e}),{})}function Mm(e,t,n){return Object.keys(e).map((i=>$m(i,e[i],t,n)))}function $m(e,t,n,i){return{dynamic:i,positive:t,negative:n,base:e,patterns:[].concat(t,n.map(Pm.pattern.convertToNegativePattern))}}mu.generate=function(e,t){const n=Lm(e,t),i=Lm(t.ignore,t),s=Im(n),a=Dm(n,i),o=s.filter((e=>Pm.pattern.isStaticPattern(e,t))),r=s.filter((e=>Pm.pattern.isDynamicPattern(e,t))),c=Nm(o,a,!1),p=Nm(r,a,!0);return c.concat(p)},mu.convertPatternsToTasks=Nm,mu.getPositivePatterns=Im,mu.getNegativePatternsAsPositive=Dm,mu.groupPatternsByBaseDirectory=Fm,mu.convertPatternGroupsToTasks=Mm,mu.convertPatternGroupToTask=$m;var Um={},Bm={},zm={},Hm={},qm={},Gm={},Wm={},Km={},Vm={};function Qm(e,t){e(t)}function Ym(e,t){e(null,t)}Object.defineProperty(Vm,"__esModule",{value:!0}),Vm.read=void 0,Vm.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 Qm(n,e):void Ym(n,s);t.markSymbolicLink&&(i.isSymbolicLink=()=>!0),Ym(n,i)})):Ym(n,s):Qm(n,i)}))};var Jm={};Object.defineProperty(Jm,"__esModule",{value:!0}),Jm.read=void 0,Jm.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 Zm={},Xm={};!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)}}(Xm),Object.defineProperty(Zm,"__esModule",{value:!0});const eh=Xm;Zm.default=class{constructor(e={}){this._options=e,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=eh.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(Km,"__esModule",{value:!0}),Km.statSync=Km.stat=Km.Settings=void 0;const th=Vm,nh=Jm,ih=Zm;function sh(e={}){return e instanceof ih.default?e:new ih.default(e)}
35
+ /*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */let ah;Km.Settings=ih.default,Km.stat=function(e,t,n){"function"!=typeof t?th.read(e,sh(t),n):th.read(e,sh(),t)},Km.statSync=function(e,t){const n=sh(t);return nh.read(e,n)};var oh=function(e,t){let n,i,s,a=!0;Array.isArray(e)?(n=[],i=e.length):(s=Object.keys(e),n={},i=s.length);function o(e){function i(){t&&t(e,n),t=null}a?rh(i):i()}function r(e,t,s){n[e]=s,(0==--i||t)&&o(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)}))})):o(null);a=!1};
36
+ /*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */const rh="function"==typeof queueMicrotask?queueMicrotask.bind("undefined"!=typeof window?window:et):e=>(ah||(ah=Promise.resolve())).then(e).catch((e=>setTimeout((()=>{throw e}),0)));var ch={};Object.defineProperty(ch,"__esModule",{value:!0}),ch.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;const ph=process.versions.node.split(".");if(void 0===ph[0]||void 0===ph[1])throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);const lh=Number.parseInt(ph[0],10),uh=Number.parseInt(ph[1],10),dh=lh>10,mh=10===lh&&uh>=10;ch.IS_SUPPORT_READDIR_WITH_FILE_TYPES=dh||mh;var hh={},fh={};Object.defineProperty(fh,"__esModule",{value:!0}),fh.createDirentFromStats=void 0;class xh{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)}}fh.createDirentFromStats=function(e,t){return new xh(e,t)},Object.defineProperty(hh,"__esModule",{value:!0}),hh.fs=void 0;const vh=fh;hh.fs=vh;var gh={};Object.defineProperty(gh,"__esModule",{value:!0}),gh.joinPathSegments=void 0,gh.joinPathSegments=function(e,t,n){return e.endsWith(n)?e+t:e+n+t},Object.defineProperty(Wm,"__esModule",{value:!0}),Wm.readdir=Wm.readdirWithFileTypes=Wm.read=void 0;const bh=Km,yh=oh,_h=ch,wh=hh,Eh=gh;function kh(e,t,n){t.fs.readdir(e,{withFileTypes:!0},((i,s)=>{if(null!==i)return void Th(n,i);const a=s.map((n=>({dirent:n,name:n.name,path:Eh.joinPathSegments(e,n.name,t.pathSegmentSeparator)})));if(!t.followSymbolicLinks)return void Rh(n,a);const o=a.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=wh.fs.createDirentFromStats(e.name,s),n(null,e)})):n(null,e)}}(e,t)));yh(o,((e,t)=>{null===e?Rh(n,t):Th(n,e)}))}))}function Sh(e,t,n){t.fs.readdir(e,((i,s)=>{if(null!==i)return void Th(n,i);const a=s.map((n=>{const i=Eh.joinPathSegments(e,n,t.pathSegmentSeparator);return e=>{bh.stat(i,t.fsStatSettings,((s,a)=>{if(null!==s)return void e(s);const o={name:n,path:i,dirent:wh.fs.createDirentFromStats(n,a)};t.stats&&(o.stats=a),e(null,o)}))}}));yh(a,((e,t)=>{null===e?Rh(n,t):Th(n,e)}))}))}function Th(e,t){e(t)}function Rh(e,t){e(null,t)}Wm.read=function(e,t,n){t.stats||!_h.IS_SUPPORT_READDIR_WITH_FILE_TYPES?Sh(e,t,n):kh(e,t,n)},Wm.readdirWithFileTypes=kh,Wm.readdir=Sh;var Ah={};Object.defineProperty(Ah,"__esModule",{value:!0}),Ah.readdir=Ah.readdirWithFileTypes=Ah.read=void 0;const Ch=Km,Oh=ch,jh=hh,Ph=gh;function Lh(e,t){return t.fs.readdirSync(e,{withFileTypes:!0}).map((n=>{const i={dirent:n,name:n.name,path:Ph.joinPathSegments(e,n.name,t.pathSegmentSeparator)};if(i.dirent.isSymbolicLink()&&t.followSymbolicLinks)try{const e=t.fs.statSync(i.path);i.dirent=jh.fs.createDirentFromStats(i.name,e)}catch(e){if(t.throwErrorOnBrokenSymbolicLink)throw e}return i}))}function Nh(e,t){return t.fs.readdirSync(e).map((n=>{const i=Ph.joinPathSegments(e,n,t.pathSegmentSeparator),s=Ch.statSync(i,t.fsStatSettings),a={name:n,path:i,dirent:jh.fs.createDirentFromStats(n,s)};return t.stats&&(a.stats=s),a}))}Ah.read=function(e,t){return!t.stats&&Oh.IS_SUPPORT_READDIR_WITH_FILE_TYPES?Lh(e,t):Nh(e,t)},Ah.readdirWithFileTypes=Lh,Ah.readdir=Nh;var Ih={},Dh={};!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)}}(Dh),Object.defineProperty(Ih,"__esModule",{value:!0});const Fh=h,Mh=Km,$h=Dh;Ih.default=class{constructor(e={}){this._options=e,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=$h.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,Fh.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new Mh.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return null!=e?e:t}},Object.defineProperty(Gm,"__esModule",{value:!0}),Gm.Settings=Gm.scandirSync=Gm.scandir=void 0;const Uh=Wm,Bh=Ah,zh=Ih;function Hh(e={}){return e instanceof zh.default?e:new zh.default(e)}Gm.Settings=zh.default,Gm.scandir=function(e,t,n){"function"!=typeof t?Uh.read(e,Hh(t),n):Uh.read(e,Hh(),t)},Gm.scandirSync=function(e,t){const n=Hh(t);return Bh.read(e,n)};var qh={exports:{}};var Gh=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 Wh(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=Gh(Vh),s=null,a=null,o=0,r=null,c={push:function(l,u){var d=i.get();d.context=e,d.release=p,d.value=l,d.callback=u||Kh,d.errorHandler=r,o>=n||c.paused?a?(a.next=d,a=d):(s=d,a=d,c.saturated()):(o++,t.call(e,d.value,d.worked))},drain:Kh,saturated:Kh,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&&o<n;)o++,p()},running:function(){return o},resume:function(){if(!c.paused)return;if(c.paused=!1,null===s)return o++,void p();for(;s&&o<n;)o++,p()},idle:function(){return 0===o&&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||Kh,d.errorHandler=r,o>=n||c.paused?s?(d.next=s,s=d):(s=d,a=d,c.saturated()):(o++,t.call(e,d.value,d.worked))},empty:Kh,kill:function(){s=null,a=null,c.drain=Kh},killAndDrain:function(){s=null,a=null,c.drain(),c.drain=Kh},error:function(e){r=e}};return c;function p(r){r&&i.release(r);var p=s;p&&o<=n?c.paused?o--:(a===s&&(a=null),s=p.next,p.next=null,t.call(e,p.value,p.worked),null===a&&c.empty()):0==--o&&c.drain()}}function Kh(){}function Vh(){this.value=null,this.callback=Kh,this.next=null,this.release=Kh,this.context=null,this.errorHandler=null;var e=this;this.worked=function(t,n){var i=e.callback,s=e.errorHandler,a=e.value;e.value=null,e.callback=Kh,e.errorHandler&&s(t,a),i.call(e.context,t,n),e.release(e)}}qh.exports=Wh,qh.exports.promise=function(e,t,n){"function"==typeof e&&(n=t,t=e,e=null);var i=Wh(e,(function(e,n){t.call(this,e).then((function(e){n(null,e)}),n)}),n),s=i.push,a=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(Kh),t},i.unshift=function(e){var t=new Promise((function(t,n){a(e,(function(e,i){e?n(e):t(i)}))}));return t.catch(Kh),t},i.drained=function(){if(i.idle())return new Promise((function(e){e()}));var e=i.drain;return new Promise((function(t){i.drain=function(){e(),t()}}))},i};var Qh=qh.exports,Yh={};Object.defineProperty(Yh,"__esModule",{value:!0}),Yh.joinPathSegments=Yh.replacePathSegmentSeparator=Yh.isAppliedFilter=Yh.isFatalError=void 0,Yh.isFatalError=function(e,t){return null===e.errorFilter||!e.errorFilter(t)},Yh.isAppliedFilter=function(e,t){return null===e||e(t)},Yh.replacePathSegmentSeparator=function(e,t){return e.split(/[/\\]/).join(t)},Yh.joinPathSegments=function(e,t,n){return""===e?t:e.endsWith(n)?e+t:e+n+t};var Jh={};Object.defineProperty(Jh,"__esModule",{value:!0});const Zh=Yh;Jh.default=class{constructor(e,t){this._root=e,this._settings=t,this._root=Zh.replacePathSegmentSeparator(e,t.pathSegmentSeparator)}},Object.defineProperty(qm,"__esModule",{value:!0});const Xh=k,ef=Gm,tf=Qh,nf=Yh,sf=Jh;class af extends sf.default{constructor(e,t){super(e,t),this._settings=t,this._scandir=ef.scandir,this._emitter=new Xh.EventEmitter,this._queue=tf(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&&nf.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=nf.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),nf.isAppliedFilter(this._settings.entryFilter,e)&&this._emitEntry(e),e.dirent.isDirectory()&&nf.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,void 0===t?void 0:e.path)}_emitEntry(e){this._emitter.emit("entry",e)}}qm.default=af,Object.defineProperty(Hm,"__esModule",{value:!0});const of=qm;Hm.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new of.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 rf={};Object.defineProperty(rf,"__esModule",{value:!0});const cf=l,pf=qm;rf.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new pf.default(this._root,this._settings),this._stream=new cf.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 lf={},uf={};Object.defineProperty(uf,"__esModule",{value:!0});const df=Gm,mf=Yh,hf=Jh;class ff extends hf.default{constructor(){super(...arguments),this._scandir=df.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(mf.isFatalError(this._settings,e))throw e}_handleEntry(e,t){const n=e.path;void 0!==t&&(e.path=mf.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),mf.isAppliedFilter(this._settings.entryFilter,e)&&this._pushToStorage(e),e.dirent.isDirectory()&&mf.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,void 0===t?void 0:e.path)}_pushToStorage(e){this._storage.push(e)}}uf.default=ff,Object.defineProperty(lf,"__esModule",{value:!0});const xf=uf;lf.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new xf.default(this._root,this._settings)}read(){return this._reader.read()}};var vf={};Object.defineProperty(vf,"__esModule",{value:!0});const gf=h,bf=Gm;vf.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,gf.sep),this.fsScandirSettings=new bf.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(zm,"__esModule",{value:!0}),zm.Settings=zm.walkStream=zm.walkSync=zm.walk=void 0;const yf=Hm,_f=rf,wf=lf,Ef=vf;function kf(e={}){return e instanceof Ef.default?e:new Ef.default(e)}zm.Settings=Ef.default,zm.walk=function(e,t,n){"function"!=typeof t?new yf.default(e,kf(t)).read(n):new yf.default(e,kf()).read(t)},zm.walkSync=function(e,t){const n=kf(t);return new wf.default(e,n).read()},zm.walkStream=function(e,t){const n=kf(t);return new _f.default(e,n).read()};var Sf={};Object.defineProperty(Sf,"__esModule",{value:!0});const Tf=h,Rf=Km,Af=hu;Sf.default=class{constructor(e){this._settings=e,this._fsStatSettings=new Rf.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(e){return Tf.resolve(this._settings.cwd,e)}_makeEntry(e,t){const n={name:t,path:t,dirent:Af.fs.createDirentFromStats(t,e)};return this._settings.stats&&(n.stats=e),n}_isFatalError(e){return!Af.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}};var Cf={};Object.defineProperty(Cf,"__esModule",{value:!0});const Of=l,jf=Km,Pf=zm,Lf=Sf;class Nf extends Lf.default{constructor(){super(...arguments),this._walkStream=Pf.walkStream,this._stat=jf.stat}dynamic(e,t){return this._walkStream(e,t)}static(e,t){const n=e.map(this._getFullEntryPath,this),i=new Of.PassThrough({objectMode:!0});i._write=(s,a,o)=>this._getEntry(n[s],e[s],t).then((e=>{null!==e&&t.entryFilter(e)&&i.push(e),s===n.length-1&&i.end(),o()})).catch(o);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)))}))}}Cf.default=Nf,Object.defineProperty(Bm,"__esModule",{value:!0});const If=zm,Df=Sf,Ff=Cf;class Mf extends Df.default{constructor(){super(...arguments),this._walkAsync=If.walk,this._readerStream=new Ff.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)))}))}}Bm.default=Mf;var $f={},Uf={},Bf={},zf={};Object.defineProperty(zf,"__esModule",{value:!0});const Hf=hu;zf.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 Hf.pattern.getPatternParts(e,this._micromatchOptions).map((e=>Hf.pattern.isDynamicPattern(e,this._settings)?{dynamic:!0,pattern:e,patternRe:Hf.pattern.makeRe(e,this._micromatchOptions)}:{dynamic:!1,pattern:e}))}_splitSegmentsIntoSections(e){return Hf.array.splitWhen(e,(e=>e.dynamic&&Hf.pattern.hasGlobStar(e.pattern)))}},Object.defineProperty(Bf,"__esModule",{value:!0});const qf=zf;class Gf extends qf.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}}Bf.default=Gf,Object.defineProperty(Uf,"__esModule",{value:!0});const Wf=hu,Kf=Bf;Uf.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 Kf.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){const t=e.filter(Wf.pattern.isAffectDepthOfReadingPattern);return Wf.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=Wf.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!Wf.pattern.matchAny(e,t)}};var Vf={};Object.defineProperty(Vf,"__esModule",{value:!0});const Qf=hu;Vf.default=class{constructor(e,t){this._settings=e,this._micromatchOptions=t,this.index=new Map}getFilter(e,t){const n=Qf.pattern.convertPatternsToRe(e,this._micromatchOptions),i=Qf.pattern.convertPatternsToRe(t,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}));return e=>this._filter(e,n,i)}_filter(e,t,n){const i=Qf.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(),a=this._isMatchToPatterns(i,t,s)&&!this._isMatchToPatterns(i,n,s);return this._settings.unique&&a&&this._createIndexRecord(i),a}_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=Qf.path.makeAbsolute(this._settings.cwd,e);return Qf.pattern.matchAny(n,t)}_isMatchToPatterns(e,t,n){const i=Qf.pattern.matchAny(e,t);return!i&&n?Qf.pattern.matchAny(e+"/",t):i}};var Yf={};Object.defineProperty(Yf,"__esModule",{value:!0});const Jf=hu;Yf.default=class{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return Jf.errno.isEnoentCodeError(e)||this._settings.suppressErrors}};var Zf={};Object.defineProperty(Zf,"__esModule",{value:!0});const Xf=hu;Zf.default=class{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let t=e.path;return this._settings.absolute&&(t=Xf.path.makeAbsolute(this._settings.cwd,t),t=Xf.path.unixify(t)),this._settings.markDirectories&&e.dirent.isDirectory()&&(t+="/"),this._settings.objectMode?Object.assign(Object.assign({},e),{path:t}):t}},Object.defineProperty($f,"__esModule",{value:!0});const ex=h,tx=Uf,nx=Vf,ix=Yf,sx=Zf;$f.default=class{constructor(e){this._settings=e,this.errorFilter=new ix.default(this._settings),this.entryFilter=new nx.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new tx.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new sx.default(this._settings)}_getRootDirectory(e){return ex.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(Um,"__esModule",{value:!0});const ax=Bm,ox=$f;class rx extends ox.default{constructor(){super(...arguments),this._reader=new ax.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)}}Um.default=rx;var cx={};Object.defineProperty(cx,"__esModule",{value:!0});const px=l,lx=Cf,ux=$f;class dx extends ux.default{constructor(){super(...arguments),this._reader=new lx.default(this._settings)}read(e){const t=this._getRootDirectory(e),n=this._getReaderOptions(e),i=this.api(t,e,n),s=new px.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)}}cx.default=dx;var mx={},hx={};Object.defineProperty(hx,"__esModule",{value:!0});const fx=Km,xx=zm,vx=Sf;class gx extends vx.default{constructor(){super(...arguments),this._walkSync=xx.walkSync,this._statSync=fx.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)}}hx.default=gx,Object.defineProperty(mx,"__esModule",{value:!0});const bx=hx,yx=$f;class _x extends yx.default{constructor(){super(...arguments),this._reader=new bx.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)}}mx.default=_x;var wx={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;const t=c,n=x,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)}}}(wx);const Ex=mu,kx=Um,Sx=cx,Tx=mx,Rx=wx,Ax=hu;async function Cx(e,t){jx(e);const n=Ox(e,kx.default,t),i=await Promise.all(n);return Ax.array.flatten(i)}function Ox(e,t,n){const i=[].concat(e),s=new Rx.default(n),a=Ex.generate(i,s),o=new t(s);return a.map(o.read,o)}function jx(e){if(![].concat(e).every((e=>Ax.string.isString(e)&&!Ax.string.isEmpty(e))))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}!function(e){function t(e,t){jx(e);const n=Ox(e,Tx.default,t);return Ax.array.flatten(n)}function n(e,t){jx(e);const n=Ox(e,Sx.default,t);return Ax.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){jx(e);const n=[].concat(e),i=new Rx.default(t);return Ex.generate(n,i)},e.isDynamicPattern=function(e,t){jx(e);const n=new Rx.default(t);return Ax.pattern.isDynamicPattern(e,n)},e.escapePath=function(e){return jx(e),Ax.path.escape(e)},e.convertPathToPattern=function(e){return jx(e),Ax.path.convertPathToPattern(e)},(i=e.posix||(e.posix={})).escapePath=function(e){return jx(e),Ax.path.escapePosixPath(e)},i.convertPathToPattern=function(e){return jx(e),Ax.path.convertPosixPathToPattern(e)},(s=e.win32||(e.win32={})).escapePath=function(e){return jx(e),Ax.path.escapeWindowsPath(e)},s.convertPathToPattern=function(e){return jx(e),Ax.path.convertWindowsPathToPattern(e)}}(Cx||(Cx={}));var Px=tt(Cx),Lx={exports:{}},Nx={};const{promisify:Ix}=d,Dx=c;async function Fx(e,t,n){if("string"!=typeof n)throw new TypeError("Expected a string, got "+typeof n);try{return(await Ix(Dx[e])(n))[t]()}catch(e){if("ENOENT"===e.code)return!1;throw e}}function Mx(e,t,n){if("string"!=typeof n)throw new TypeError("Expected a string, got "+typeof n);try{return Dx[e](n)[t]()}catch(e){if("ENOENT"===e.code)return!1;throw e}}Nx.isFile=Fx.bind(null,"stat","isFile"),Nx.isDirectory=Fx.bind(null,"stat","isDirectory"),Nx.isSymlink=Fx.bind(null,"lstat","isSymbolicLink"),Nx.isFileSync=Mx.bind(null,"statSync","isFile"),Nx.isDirectorySync=Mx.bind(null,"statSync","isDirectory"),Nx.isSymlinkSync=Mx.bind(null,"lstatSync","isSymbolicLink");const $x=h,Ux=Nx,Bx=e=>e.length>1?`{${e.join(",")}}`:e[0],zx=(e,t)=>{const n="!"===e[0]?e.slice(1):e;return $x.isAbsolute(n)?n:$x.join(t,n)},Hx=(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=>$x.posix.join(e,((e,t)=>$x.extname(e)?`**/${e}`:`**/${e}.${Bx(t)}`)(n,t.extensions)))):t.files?t.files.map((t=>$x.posix.join(e,`**/${t}`))):t.extensions?[$x.posix.join(e,`**/*.${Bx(t.extensions)}`)]:[$x.posix.join(e,"**")]};Lx.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 Ux.isDirectory(zx(e,t.cwd))?Hx(e,t):e)));return[].concat.apply([],n)},Lx.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=>Ux.isDirectorySync(zx(e,t.cwd))?Hx(e,t):e));return[].concat.apply([],n)};var qx=tt(Lx.exports);function Gx(e){return Array.isArray(e)?e:[e]}const Wx=/^\s+$/,Kx=/(?:[^\\]|^)\\$/,Vx=/^\\!/,Qx=/^\\#/,Yx=/\r?\n/g,Jx=/^\.*\/|^\.+$/;let Zx="node-ignore";"undefined"!=typeof Symbol&&(Zx=Symbol.for("node-ignore"));const Xx=Zx,ev=/([0-z])-([0-z])/g,tv=()=>!1,nv=[[/^\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(ev,((e,t,n)=>t.charCodeAt(0)<=n.charCodeAt(0)?e:"")))(n)}${i}]`:"[]"],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(e,t)=>`${t?`${t}[^/]+`:"[^/]*"}(?=$|\\/$)`]],iv=Object.create(null),sv=e=>"string"==typeof e;class av{constructor(e,t,n,i){this.origin=e,this.pattern=t,this.negative=n,this.regex=i}}const ov=(e,t)=>{const n=e;let i=!1;0===e.indexOf("!")&&(i=!0,e=e.substr(1));const s=((e,t)=>{let n=iv[e];return n||(n=nv.reduce(((t,[n,i])=>t.replace(n,i.bind(e))),e),iv[e]=n),t?new RegExp(n,"i"):new RegExp(n)})(e=e.replace(Vx,"!").replace(Qx,"#"),t);return new av(n,e,i,s)},rv=(e,t)=>{throw new t(e)},cv=(e,t,n)=>{if(!sv(e))return n(`path must be a string, but got \`${t}\``,TypeError);if(!e)return n("path must not be empty",TypeError);if(cv.isNotRelative(e)){return n(`path should be a ${"`path.relative()`d"} string, but got "${t}"`,RangeError)}return!0},pv=e=>Jx.test(e);cv.isNotRelative=pv,cv.convert=e=>e;class lv{constructor({ignorecase:e=!0,ignoreCase:t=e,allowRelativePaths:n=!1}={}){var i,s,a;i=this,s=Xx,a=!0,Object.defineProperty(i,s,{value:a}),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[Xx])return this._rules=this._rules.concat(e._rules),void(this._added=!0);if((e=>e&&sv(e)&&!Wx.test(e)&&!Kx.test(e)&&0!==e.indexOf("#"))(e)){const t=ov(e,this._ignoreCase);this._added=!0,this._rules.push(t)}}add(e){return this._added=!1,Gx(sv(e)?(e=>e.split(Yx))(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:a}=s;if(i===a&&n!==i||a&&!n&&!i&&!t)return;s.regex.test(e)&&(n=!a,i=a)})),{ignored:n,unignored:i}}_test(e,t,n,i){const s=e&&cv.convert(e);return cv(s,e,this._allowRelativePaths?tv:rv),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 Gx(e).filter(this.createFilter())}test(e){return this._test(e,this._testCache,!0)}}const uv=e=>new lv(e);uv.isPathValid=e=>cv(e&&cv.convert(e),e,tv),uv.default=uv;var dv=uv;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,"/");cv.convert=e;const t=/^[a-z]:\//i;cv.isNotRelative=e=>t.test(e)||pv(e)}var mv=tt(dv);function hv(e){const t=/^\\\\\?\\/.test(e),n=/[^\u0000-\u0080]+/.test(e);return t||n?e:e.replace(/\\/g,"/")}const fv=e=>e instanceof URL?C(e):e;class xv extends O{constructor(e){super({objectMode:!0,transform(t,n,i){i(void 0,e(t)?t:void 0)}})}}const vv=e=>"!"===e[0],gv={ignore:["**/node_modules","**/flow-typed","**/coverage","**/.git"],absolute:!0,dot:!0},bv=(t,n)=>{const i=hv(e.relative(n,e.dirname(t.filePath)));return t.content.split(/\r?\n/).filter((e=>e&&!e.startsWith("#"))).map((t=>((t,n)=>vv(t)?"!"+e.posix.join(n,t.slice(1)):e.posix.join(n,t))(t,i)))},yv=(t,n)=>{const i=t.flatMap((e=>bv(e,n))),s=mv().add(i);return t=>(t=((t,n)=>{if(n=hv(n),e.isAbsolute(t)){if(hv(t).startsWith(n))return e.relative(n,t);throw new Error(`Path ${t} is not in cwd ${n}`)}return t})(t=fv(t),n),!!t&&s.ignores(hv(t)))},_v=(e,t)=>{const{cwd:i,suppressErrors:s,deep:a}=((e={})=>({cwd:fv(e.cwd)||A.cwd(),suppressErrors:Boolean(e.suppressErrors),deep:"number"==typeof e.deep?e.deep:Number.POSITIVE_INFINITY}))(t),o=Px.sync(e,{cwd:i,suppressErrors:s,deep:a,...gv}).map((e=>({filePath:e,content:n.readFileSync(e,"utf8")})));return yv(o,i)},wv=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),Ev=(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:fv(e.cwd)}),e),kv=e=>{const t=(e=>{const{ignoreFiles:t,gitignore:n}=e,i=t?wv(t):[];return n&&i.push("**/.gitignore"),i})(e);return Sv(t.length>0&&_v(t,e))},Sv=t=>{const n=new Set;return i=>{const s=i.path||i,a=e.normalize(s),o=n.has(a)||t&&t(s);return n.add(a),!o}},Tv=(e,t)=>{const n=((e,t)=>{const n=[];for(;e.length>0;){const i=e.findIndex((e=>vv(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 a=((e,t)=>({...t?{cwd:t}:{},...Array.isArray(e)?{files:e}:e}))(s,i),o=i?{cwd:i}:void 0;return n.map((e=>{let{patterns:t,options:n}=e;return t=qx.sync(t,a),n.ignore=qx.sync(n.ignore,o),{patterns:t,options:n}}))},Rv=(Av=(e,t)=>{const n=Tv(e,t),i=kv(t);return((e,t)=>du(e).pipe(new xv((e=>t(e)))))(n.map((e=>Px.stream(e.patterns,e.options))),i)},(e,t)=>Av(wv(e),Ev(t)));var Av;const Cv=[{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 Ov{static default=new Ov;entries=[];static{for(const e of Cv)Ov.default.registerLanguage(e.id,e)}registerLanguage(t,n){const i=(t=>{const{extensions:n,names:i,patterns:s,firstLine:a}=t,o=a?new RegExp(a):null,r=s?ru(s.map((e=>e.includes("/")?`**/${e}`:e))):null;return(t,s)=>!!(n&&n.includes(e.extname(t))||i&&i.includes(t)||r&&r(t)||o&&o.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 jv=10,Pv=10,Lv=5,Nv=2,Iv=20,Dv=30;function Fv(e){return e.split("/").reduce(((e,t)=>t.includes("**")?e+Nv:t.includes("*")?e+Lv:e+Pv),0)}class Mv{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,Fv(e));for(const e of this.selector.workspaceFile??[])this.globWeights.set(e,Fv(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)?jv:0}async matchActiveFilePath(e,t){if(!this.selector.activeFilePath?.length)return null;const n={cwd:e,matchBase:!0,returnIndex:!0},i=ru(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*Iv}async matchSelectedContent(e){if(!this.selector.selectedContent?.length)return null;return this.selector.selectedContent.filter((t=>e.selectedCode.includes(t))).length*Iv}async matchWorkspaceFile(e){if(!this.selector.workspaceFile?.length)return null;const t={cwd:e,gitignore:!0};for await(const e of Rv(this.selector.workspaceFile,t))return Dv;return 0}}function $v(e,t){return e.pluginName===t.pluginName&&e.capabilityName===t.capabilityName}const Uv=["Fallback","Prompt","Skill"];function Bv(e){return Uv.includes(e)}const zv=["Prompt","Skill"];function Hv(e){return zv.includes(e)}function qv(e){return["Prompt","Skill"].includes(e)}function Gv(){const e="win32"===x.platform();if(process.env.PLATFORM===cp.INTERNAL&&!e){const e="/home/opt/deck/1.0/git/2.32.0/bin:",t=`${x.homedir()}/.deck/2.0/devel/bin:`;process.env.PATH=`/opt/rh/rh-git227/root/usr/bin:${e}${t}${process.env.PATH}`}e&&(process.env.PATH=`${process.env.PATH};C:\\Program Files\\Git\\bin`)}const Wv="COMATE_PLUS_CHAT_QUERY",Kv="COMATE_PLUS_CHAT_CANCEL",Vv="COMATE_PLUS_CUSTOM_COMMAND",Qv="COMATE_PLUS_AGENT_COMMAND",Yv="COMATE_PLUS_WEBVIEW_INIT_DATA",Jv="COMATE_PLUS_DRAW_CHAT_UPDATE",Zv="COMATE_PLUS_DRAW_CHAT_APPEND",Xv="COMATE_PLUS_DRAW_CHAT_FINISH",eg="COMATE_PLUS_DRAW_CHAT_FAIL",tg="REQUEST_PERMISSION",ng="COMATE_PLUS_QUERY_SELECTOR",ig="USER_DETAIL",sg="COMATE_PLUS_INITIALIZED",ag="ENGINE_PROCESS_START_SUCCESS",og="USER_DETAIL_ERROR",rg="COMATE_PLUS_AGENT_NOTIFICATION",cg="COMATE_LSP_WORKSPACE_FOLDERS",pg="COMATE_LSP_REMOTE_CONSOLE",lg="COMATE_PLUS_SECTION_CHAT_UPDATE",ug="COMATE_PLUS_RECREATE_INDEX",dg="COMATE_PLUS_CODE_SEARCH",mg="COMATE_PLUS_ACCEPT_DIR",hg="ACTION_COMATE_SMART_APPLY",fg="kernel/chatSession/list",xg="kernel/chatSession/save",vg="kernel/chatSession/delete",gg="kernel/chatSession/find",bg="COMATE_GET_AGENT_TASKS",yg="COMATE_ADD_AGENT_TASK",_g="COMATE_SET_FOREGROUND_TASK",wg="COMATE_UPDATE_AGENT_TASK_MESSAGES",Eg="ACTION_MOCK_VIRTUAL_EDITOR_EVENT",kg="ACTION_COMPOSER",Sg="COMATE_AGENT_DEBUG_CUSTOM_ACTION",Tg="COMATE_ADD_CACHE",Rg="COMATE_GET_CACHE",Ag="kernel/promptTemplate/list",Cg="kernel/promptTemplate/create",Og="kernel/promptTemplate/update",jg="kernel/promptTemplate/delete",Pg="ENGINE_SERVICE_INITIALIZED",Lg="RULE_PANEL_ACTION_EVENT",Ng="UPDATE_RULE_PANEL_EVENT";function Ig(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let Dg={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function Fg(e){Dg=e}const Mg=/[&<>"']/,$g=new RegExp(Mg.source,"g"),Ug=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,Bg=new RegExp(Ug.source,"g"),zg={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Hg=e=>zg[e];function qg(e,t){if(t){if(Mg.test(e))return e.replace($g,Hg)}else if(Ug.test(e))return e.replace(Bg,Hg);return e}const Gg=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function Wg(e){return e.replace(Gg,((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 Kg=/(^|[^\[])\^/g;function Vg(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(Kg,"$1"),n=n.replace(e,s),i},getRegex:()=>new RegExp(n,t)};return i}function Qg(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch(e){return null}return e}const Yg={exec:()=>null};function Jg(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 Zg(e,t,n){const i=e.length;if(0===i)return"";let s=0;for(;s<i;){const a=e.charAt(i-s-1);if(a!==t||n){if(a===t||!n)break;s++}else s++}return e.slice(0,i-s)}function Xg(e,t,n,i){const s=t.href,a=t.title?qg(t.title):null,o=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){i.state.inLink=!0;const e={type:"link",raw:n,href:s,title:a,text:o,tokens:i.inlineTokens(o)};return i.state.inLink=!1,e}return{type:"image",raw:n,href:s,title:a,text:qg(o)}}class eb{options;rules;lexer;constructor(e){this.options=e||Dg}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:Zg(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=Zg(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=Zg(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 a=new RegExp(`^( {0,3}${n})((?:[\t ][^\\n]*)?(?:\\n|$))`);let o="",r="",c=!1;for(;e;){let n=!1;if(!(t=a.exec(e)))break;if(this.rules.block.hr.test(e))break;o=t[0],e=e.substring(o.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)&&(o+=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)}}(?:\`\`\`|~~~)`),a=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(a.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(a.test(i))break;if(n.test(i))break;r+="\n"+p}u||p.trim()||(u=!0),o+=c+"\n",e=e.substring(c.length+1),i=p.slice(l)}}s.loose||(c?s.loose=!0:/\n *\n *$/.test(o)&&(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:o,task:!!m,checked:d,loose:!1,text:r,tokens:[]}),s.raw+=o}s.items[s.items.length-1].raw=o.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=Jg(t[1]),i=t[2].replace(/^\||\| *$/g,"").split("|"),s=t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[],a={type:"table",raw:t[0],header:[],align:[],rows:[]};if(n.length===i.length){for(const e of i)/^ *-+: *$/.test(e)?a.align.push("right"):/^ *:-+: *$/.test(e)?a.align.push("center"):/^ *:-+ *$/.test(e)?a.align.push("left"):a.align.push(null);for(const e of n)a.header.push({text:e,tokens:this.lexer.inline(e)});for(const e of s)a.rows.push(Jg(e,a.header.length).map((e=>({text:e,tokens:this.lexer.inline(e)}))));return a}}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:qg(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=Zg(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)),Xg(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 Xg(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,a,o=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(a=[...s].length,i[3]||i[4]){o+=a;continue}if((i[5]||i[6])&&n%3&&!((n+a)%3)){r+=a;continue}if(o-=a,o>0)continue;a=Math.min(a,a+o+r);const t=[...i[0]][0].length,c=e.slice(0,n+i.index+t+a);if(Math.min(n,a)%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=qg(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=qg(t[1]),n="mailto:"+e):(e=qg(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=qg(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=qg(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]:qg(t[0]),{type:"text",raw:t[0],text:e}}}}const tb=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,nb=/(?:[*+-]|\d{1,9}[.)])/,ib=Vg(/^(?!bull )((?:.|\n(?!\s*?\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,nb).getRegex(),sb=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,ab=/(?!\s*\])(?:\\.|[^\[\]\\])+/,ob=Vg(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",ab).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),rb=Vg(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,nb).getRegex(),cb="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",pb=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,lb=Vg("^ {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",pb).replace("tag",cb).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),ub=Vg(sb).replace("hr",tb).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",cb).getRegex(),db={blockquote:Vg(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",ub).getRegex(),code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,def:ob,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:tb,html:lb,lheading:ib,list:rb,newline:/^(?: *(?:\n|$))+/,paragraph:ub,table:Yg,text:/^[^\n]+/},mb=Vg("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",tb).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",cb).getRegex(),hb={...db,table:mb,paragraph:Vg(sb).replace("hr",tb).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",mb).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",cb).getRegex()},fb={...db,html:Vg("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",pb).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:Yg,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Vg(sb).replace("hr",tb).replace("heading"," *#{1,6} *[^\n]").replace("lheading",ib).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},xb=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,vb=/^( {2,}|\\)\n(?!\s*$)/,gb="\\p{P}$+<=>`^|~",bb=Vg(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,gb).getRegex(),yb=Vg(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,gb).getRegex(),_b=Vg("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,gb).getRegex(),wb=Vg("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,gb).getRegex(),Eb=Vg(/\\([punct])/,"gu").replace(/punct/g,gb).getRegex(),kb=Vg(/^<(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(),Sb=Vg(pb).replace("(?:--\x3e|$)","--\x3e").getRegex(),Tb=Vg("^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",Sb).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Rb=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Ab=Vg(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Rb).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Cb=Vg(/^!?\[(label)\]\[(ref)\]/).replace("label",Rb).replace("ref",ab).getRegex(),Ob=Vg(/^!?\[(ref)\](?:\[\])?/).replace("ref",ab).getRegex(),jb={_backpedal:Yg,anyPunctuation:Eb,autolink:kb,blockSkip:/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,br:vb,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:Yg,emStrongLDelim:yb,emStrongRDelimAst:_b,emStrongRDelimUnd:wb,escape:xb,link:Ab,nolink:Ob,punctuation:bb,reflink:Cb,reflinkSearch:Vg("reflink|nolink(?!\\()","g").replace("reflink",Cb).replace("nolink",Ob).getRegex(),tag:Tb,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:Yg},Pb={...jb,link:Vg(/^!?\[(label)\]\((.*?)\)/).replace("label",Rb).getRegex(),reflink:Vg(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Rb).getRegex()},Lb={...jb,escape:Vg(xb).replace("])","~|])").getRegex(),url:Vg(/^((?: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.!#$%&'*+\/=?_`{\|}~-]+@)))/},Nb={...Lb,br:Vg(vb).replace("{2,}","*").getRegex(),text:Vg(Lb.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Ib={normal:db,gfm:hb,pedantic:fb},Db={normal:jb,gfm:Lb,breaks:Nb,pedantic:Pb};class Fb{tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||Dg,this.options.tokenizer=this.options.tokenizer||new eb,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:Ib.normal,inline:Db.normal};this.options.pedantic?(t.block=Ib.pedantic,t.inline=Db.pedantic):this.options.gfm&&(t.block=Ib.gfm,this.options.breaks?t.inline=Db.breaks:t.inline=Db.gfm),this.tokenizer.rules=t}static get rules(){return{block:Ib,inline:Db}}static lex(e,t){return new Fb(t).lex(e)}static lexInline(e,t){return new Fb(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,a;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],a&&"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),a=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,a,o,r,c=e;if(this.tokens.links){const e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(a=this.tokenizer.rules.inline.reflinkSearch.exec(c));)e.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(c=c.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(a=this.tokenizer.rules.inline.blockSkip.exec(c));)c=c.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(a=this.tokenizer.rules.inline.anyPunctuation.exec(c));)c=c.slice(0,a.index)+"++"+c.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(o||(r=""),o=!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)),o=!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 Mb{options;constructor(e){this.options=e||Dg}code(e,t,n){const i=(t||"").match(/^\S*/)?.[0];return e=e.replace(/\n$/,"")+"\n",i?'<pre><code class="language-'+qg(i)+'">'+(n?e:qg(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:qg(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=Qg(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=Qg(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 $b{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 Ub{options;renderer;textRenderer;constructor(e){this.options=e||Dg,this.options.renderer=this.options.renderer||new Mb,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new $b}static parse(e,t){return new Ub(t).parse(e)}static parseInline(e,t){return new Ub(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,Wg(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 a="";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]});a+=this.renderer.tablerow(i)}n+=this.renderer.table(t,a);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,a=e.loose;let o="";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);a?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,a),o+=this.renderer.listitem(r,s,!!i)}n+=this.renderer.list(o,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 a=s,o=a.tokens?this.parseInline(a.tokens):a.text;for(;i+1<e.length&&"text"===e[i+1].type;)a=e[++i],o+="\n"+(a.tokens?this.parseInline(a.tokens):a.text);n+=t?this.renderer.paragraph(o):o;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 Bb{options;constructor(e){this.options=e||Dg}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}}const zb=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(Fb.lex,Ub.parse);parseInline=this.#e(Fb.lexInline,Ub.parseInline);Parser=Ub;Renderer=Mb;TextRenderer=$b;Lexer=Fb;Tokenizer=eb;Hooks=Bb;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 Mb(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],a=t[i];t[i]=(...e)=>{let n=s.apply(t,e);return!1===n&&(n=a.apply(t,e)),n||""}}n.renderer=t}if(e.tokenizer){const t=this.defaults.tokenizer||new eb(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],a=t[i];t[i]=(...e)=>{let n=s.apply(t,e);return!1===n&&(n=a.apply(t,e)),n}}n.tokenizer=t}if(e.hooks){const t=this.defaults.hooks||new Bb;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],a=t[i];Bb.passThroughHooks.has(n)?t[i]=e=>{if(this.defaults.async)return Promise.resolve(s.call(t,e)).then((e=>a.call(t,e)));const n=s.call(t,e);return a.call(t,n)}:t[i]=(...e)=>{let n=s.apply(t,e);return!1===n&&(n=a.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 Fb.lex(e,t??this.defaults)}parser(e,t){return Ub.parse(e,t??this.defaults)}#e(e,t){return(n,i)=>{const s={...i},a={...this.defaults,...s};!0===this.defaults.async&&!1===s.async&&(a.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),a.async=!0);const o=this.#t(!!a.silent,!!a.async);if(null==n)return o(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof n)return o(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(a.hooks&&(a.hooks.options=a),a.async)return Promise.resolve(a.hooks?a.hooks.preprocess(n):n).then((t=>e(t,a))).then((e=>a.hooks?a.hooks.processAllTokens(e):e)).then((e=>a.walkTokens?Promise.all(this.walkTokens(e,a.walkTokens)).then((()=>e)):e)).then((e=>t(e,a))).then((e=>a.hooks?a.hooks.postprocess(e):e)).catch(o);try{a.hooks&&(n=a.hooks.preprocess(n));let i=e(n,a);a.hooks&&(i=a.hooks.processAllTokens(i)),a.walkTokens&&this.walkTokens(i,a.walkTokens);let s=t(i,a);return a.hooks&&(s=a.hooks.postprocess(s)),s}catch(e){return o(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>"+qg(n.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}};function Hb(e,t){return zb.parse(e,t)}Hb.options=Hb.setOptions=function(e){return zb.setOptions(e),Hb.defaults=zb.defaults,Fg(Hb.defaults),Hb},Hb.getDefaults=Ig,Hb.defaults=Dg,Hb.use=function(...e){return zb.use(...e),Hb.defaults=zb.defaults,Fg(Hb.defaults),Hb},Hb.walkTokens=function(e,t){return zb.walkTokens(e,t)},Hb.parseInline=zb.parseInline,Hb.Parser=Ub,Hb.parser=Ub.parse,Hb.Renderer=Mb,Hb.TextRenderer=$b,Hb.Lexer=Fb,Hb.lexer=Fb.lex,Hb.Tokenizer=eb,Hb.Hooks=Bb,Hb.parse=Hb,Hb.options,Hb.setOptions,Hb.use,Hb.walkTokens,Hb.parseInline,Ub.parse,Fb.lex;const qb=(e,t)=>{const n=e.tokens||[],i=e.raw.endsWith("\n");let s=!1;const a=n.reduce(((e,n)=>{if("text"===n.type)if(n.tokens?.length){const e=qb(n,t);s=s||e.replaced}else try{n.raw=((e,t)=>{const n=t.map((e=>f(e))),i=n.filter((e=>!t.includes(e)&&1===n.filter((t=>t===e)).length)),s=[...t,...i].sort(((e,t)=>t.length-e.length));let a=e,o=!1;for(const[e,t]of Object.entries(s))o=o||a.includes(t),a=a.replaceAll(t,`@@PLACEHOLDER_${e}@@`);if(!o)throw new Error("Input did not match any path");return a.replaceAll(/([ ]?)@@PLACEHOLDER_([0-9]+)@@([ \n]?)/g,((...e)=>{const t=Number(e[2]),n=e[3],i=s[t];return"\n"===n?` [${i}](${i})\n`:` [${i}](${i}) `})).replace(/ $/,"")})(n.raw,t),s=!0}catch(e){}else if("codespan"===n.type){const e=/^\[([^\]]+)\]\(([^)]+)\)$/.exec(n.text);if(e&&e[1]&&e[2])s=!0,n.raw=`[\`${e[1]}\`](${e[2]})`;else if(/^http(s?):\/\//.test(n.text))s=!0,n.raw=`[\`${n.text}\`](${n.text})`;else if(n.raw.includes(".")){const e=t.find((e=>e===n.text));e&&(s=!0,n.raw=`[\`${n.text}\`](${e})`)}}return e+n.raw}),"");return s?(e.raw=a,i&&(e.raw+="\n"),{replaced:s,token:e}):{replaced:s,token:e}},Gb=(e,t,n=0)=>{const i=e.items||[],s=e.raw.endsWith("\n");let a=!1;const o=i.map((e=>{const i=/^(((\d+\.)|-|[a-z]\.|\*)[ ]?)(.*)/.exec(e.raw),s=e.tokens.map((i=>{if("text"===i.type){const n=qb(e,t);a=a||n.replaced}else if("list"===i.type){const e=Gb(i,t,n+1);a=a||e.replaced}else if("codespan"===i.type){const n=qb(e,t);a=a||n.replaced}return i.raw})).join("");if(i){const o=i[1],r=qb(e,t);return a=a||r.replaced," ".repeat(n)+o+s}return s})).join("\n");return a?(e.raw=o,s&&(e.raw+="\n"),{replaced:a,token:e}):{replaced:a,token:e}},Wb=async(e,t)=>{if(!t.length)return e;const n=Hb.lexer(e);await Hb.walkTokens(n,(e=>{"paragraph"===e.type?qb(e,t):"list"===e.type&&Gb(e,t)}));const i=n.map((e=>e.raw)).join("");return i};async function Kb(e){const t=await Lp.get("/api/key/type/"+e);return t.data?.data}const Vb=e=>e.replace(/^\\t/g,"\t").replace(/\\"/g,'"').replace(/\\"/g,'"').replace(/\\\\n/g,"\\n"),Qb=e=>e.split(/\r?\n/),Yb=(e,t)=>{const n=e.indexOf((e=>{const t=/^[ ]+/.exec(e);return(t?.[0].length||0)%2==1?e.replace(/^\s/,""):e})(t));return-1===n?e.indexOf(t):n},Jb=e=>e?e.startsWith("-"):void 0,Zb=e=>e?e.startsWith("+"):void 0,Xb=e=>e.replace(/^-/,"").replace(/^\+/,""),ey=e=>e.map((e=>e.trimStart()));function ty(e,t,n){const i=Qb(e),s=(a=t.replace(/\n$/,""))?Qb(a).reduce(((e,t)=>t.startsWith("@@")&&/@@(.*)@@\s(.*)$/.exec(t)?(e.push("@@ ... @@"),e):(e.push(t),e)),[]):[];var a;let o=0;if((e=>!e.some((e=>{return Jb(e)||Zb(e)||((t=e)?t.startsWith("@@"):void 0);var t})))(s)&&s.length!==i.length)return t;for(const[e,t]of s.entries())if(!(t.startsWith("---")||t.startsWith("+++")||t.startsWith("@@")))if(Jb(t)){if(Jb(s[e+1]))continue;const a=[Vb(Xb(t))];let r=e;for(;Jb(s[r-1]);){const e=Vb(Xb(s[r-1]));a.unshift(e),r-=1}let c=-1,p=0;for(;-1===c&&p<a.length;){const e=a[0],t=i.slice(o,i.length);c=Yb(ey(t),e.trimStart()),p+=1}if(-1!==c&&(o=o+c-(p-1),i.splice(o,a.length)),n.throwErrorWhenLineCanNotMathced)throw new Error("line not found")}else if(Zb(t)){if(Zb(s[e+1]))continue;const n=[Vb(Xb(t))];let a=e;for(;Zb(s[a-1]);){const e=Vb(Xb(s[a-1]));n.unshift(e),a-=1}i.splice(o,0,...n),o+=n.length}else{const e=Vb(t),s=i.slice(o,i.length),a=Yb(ey(s),e.trimStart());if(-1!==a&&(o=o+a+1),n.throwErrorWhenLineCanNotMathced)throw new Error("line not found")}return n?.returnContentWhenDiffLineLoopFinish?i.slice(0,o).join(v):i.join(n.eol)}const ny=(e,t)=>t.reduce(((t,n,i)=>(e.trimStart()===n.trimStart()&&t.push(i),t)),[]),iy=(e,t)=>{const n=t.indexOf(e);if(-1!==n)return Math.max(0,t.slice(0,n).split(/\r?\n/).length-1);const i=t.split(/\r?\n/),s=e.split(/\r?\n/);for(const[e,t]of s.entries()){const n=ny(t,i);if(!(n.length>1))return 1===n.length?n[0]-e:-1;if(e===s.length-1)return n[0]-e}return-1},sy=e=>"string"==typeof e&&(e.startsWith("-")||e.startsWith(" ")||""===e),ay=(e,t)=>{const n=[],i=e.split(/\r?\n/);let s=null;for(let e=0;e<i.length;e++){const a=i[e];if(a.startsWith("@@")){if(s){const{oldStart:e,oldCount:t,newStart:i,newCount:a}=s,o=`@@ -${e},${t} +${i},${a} @@`;n.push(o,...s.lines)}s={oldStart:0,newStart:0,oldCount:0,newCount:0,lines:[]}}else if(s){if(a.startsWith("---")||a.startsWith("+++"))continue;if(a.startsWith("+"))s.lines.push(a);else if(sy(a)&&s){let n=1,o=a.replace(/^(-|\s)/,"");for(s.lines.push(a);"string"==typeof i[e+n]&&!i[e+n].startsWith("@@");)sy(i[e+n])&&(o+=`\n${i[e+n].replace(/^(-|\s)/,"")}`),s.lines.push(i[e+n]),n+=1;const r=iy(o,t);-1===r?s=null:(s.oldStart=r+1,s.oldCount=o.split(/\r?\n/).length,e=e+n-1)}}}if(s){const{oldStart:e,oldCount:t,newStart:i,newCount:a}=s,o=`@@ -${e},${t} +${i},${a} @@`;n.push(o,...s.lines)}return n.join("\n")};var oy={};!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,a=0;a<e.length-(n-1);a++){var o=e.substr(a,n);s.set(o,s.has(o)?s.get(o)+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}(oy);var ry=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},cy=ry,py=Object.create,ly=function(){function e(){}return function(t){if(!cy(t))return{};if(py)return py(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var uy=function(){},dy=ly,my=uy;function hy(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}hy.prototype=dy(my.prototype),hy.prototype.constructor=hy;var fy=hy;var xy=function(e,t){for(var n=-1,i=t.length,s=e.length;++n<i;)e[s+n]=t[n];return e},vy="object"==typeof et&&et&&et.Object===Object&&et,gy="object"==typeof self&&self&&self.Object===Object&&self,by=vy||gy||Function("return this")(),yy=by.Symbol,_y=yy,wy=Object.prototype,Ey=wy.hasOwnProperty,ky=wy.toString,Sy=_y?_y.toStringTag:void 0;var Ty=function(e){var t=Ey.call(e,Sy),n=e[Sy];try{e[Sy]=void 0;var i=!0}catch(e){}var s=ky.call(e);return i&&(t?e[Sy]=n:delete e[Sy]),s},Ry=Object.prototype.toString;var Ay=Ty,Cy=function(e){return Ry.call(e)},Oy=yy?yy.toStringTag:void 0;var jy=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Oy&&Oy in Object(e)?Ay(e):Cy(e)};var Py=function(e){return null!=e&&"object"==typeof e},Ly=jy,Ny=Py;var Iy=function(e){return Ny(e)&&"[object Arguments]"==Ly(e)},Dy=Py,Fy=Object.prototype,My=Fy.hasOwnProperty,$y=Fy.propertyIsEnumerable,Uy=Iy(function(){return arguments}())?Iy:function(e){return Dy(e)&&My.call(e,"callee")&&!$y.call(e,"callee")},By=Array.isArray,zy=Uy,Hy=By,qy=yy?yy.isConcatSpreadable:void 0;var Gy=xy,Wy=function(e){return Hy(e)||zy(e)||!!(qy&&e&&e[qy])};var Ky=function e(t,n,i,s,a){var o=-1,r=t.length;for(i||(i=Wy),a||(a=[]);++o<r;){var c=t[o];n>0&&i(c)?n>1?e(c,n-1,i,s,a):Gy(a,c):s||(a[a.length]=c)}return a},Vy=Ky;var Qy=function(e){return(null==e?0:e.length)?Vy(e,1):[]};var Yy=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)},Jy=Math.max;var Zy=function(e,t,n){return t=Jy(void 0===t?e.length-1:t,0),function(){for(var i=arguments,s=-1,a=Jy(i.length-t,0),o=Array(a);++s<a;)o[s]=i[t+s];s=-1;for(var r=Array(t+1);++s<t;)r[s]=i[s];return r[t]=n(o),Yy(e,this,r)}};var Xy=function(e){return function(){return e}},e_=jy,t_=ry;var n_,i_=function(e){if(!t_(e))return!1;var t=e_(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},s_=by["__core-js_shared__"],a_=(n_=/[^.]+$/.exec(s_&&s_.keys&&s_.keys.IE_PROTO||""))?"Symbol(src)_1."+n_:"";var o_=function(e){return!!a_&&a_ in e},r_=Function.prototype.toString;var c_=i_,p_=o_,l_=ry,u_=function(e){if(null!=e){try{return r_.call(e)}catch(e){}try{return e+""}catch(e){}}return""},d_=/^\[object .+?Constructor\]$/,m_=Function.prototype,h_=Object.prototype,f_=m_.toString,x_=h_.hasOwnProperty,v_=RegExp("^"+f_.call(x_).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var g_=function(e){return!(!l_(e)||p_(e))&&(c_(e)?v_:d_).test(u_(e))},b_=function(e,t){return null==e?void 0:e[t]};var y_=function(e,t){var n=b_(e,t);return g_(n)?n:void 0},__=y_,w_=function(){try{var e=__(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();var E_=Xy,k_=w_,S_=k_?function(e,t){return k_(e,"toString",{configurable:!0,enumerable:!1,value:E_(t),writable:!0})}:function(e){return e},T_=S_,R_=Date.now;var A_=function(e){var t=0,n=0;return function(){var i=R_(),s=16-(i-n);if(n=i,s>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(T_),C_=Qy,O_=Zy,j_=A_;var P_=function(e){return j_(O_(e,void 0,C_),e+"")},L_=y_(by,"WeakMap");var N_=L_&&new L_,I_=N_?function(e){return N_.get(e)}:function(){},D_={},F_=Object.prototype.hasOwnProperty;var M_=function(e){for(var t=e.name+"",n=D_[t],i=F_.call(D_,t)?n.length:0;i--;){var s=n[i],a=s.func;if(null==a||a==e)return s.name}return t},$_=ly,U_=uy;function B_(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}B_.prototype=$_(U_.prototype),B_.prototype.constructor=B_;var z_=B_;var H_=function(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n<i;)t[n]=e[n];return t},q_=z_,G_=fy,W_=H_;var K_=z_,V_=fy,Q_=uy,Y_=By,J_=Py,Z_=function(e){if(e instanceof q_)return e.clone();var t=new G_(e.__wrapped__,e.__chain__);return t.__actions__=W_(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t},X_=Object.prototype.hasOwnProperty;function ew(e){if(J_(e)&&!Y_(e)&&!(e instanceof K_)){if(e instanceof V_)return e;if(X_.call(e,"__wrapped__"))return Z_(e)}return new V_(e)}ew.prototype=Q_.prototype,ew.prototype.constructor=ew;var tw=z_,nw=I_,iw=M_,sw=ew;var aw=function(e){var t=iw(e),n=sw[t];if("function"!=typeof n||!(t in tw.prototype))return!1;if(e===n)return!0;var i=nw(n);return!!i&&e===i[0]},ow=fy,rw=P_,cw=I_,pw=M_,lw=By,uw=aw;var dw=function(e){return rw((function(t){var n=t.length,i=n,s=ow.prototype.thru;for(e&&t.reverse();i--;){var a=t[i];if("function"!=typeof a)throw new TypeError("Expected a function");if(s&&!o&&"wrapper"==pw(a))var o=new ow([],!0)}for(i=o?i:n;++i<n;){a=t[i];var r=pw(a),c="wrapper"==r?cw(a):void 0;o=c&&uw(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?o[pw(c[0])].apply(o,c[3]):1==a.length&&uw(a)?o[r]():o.thru(a)}return function(){var e=arguments,i=e[0];if(o&&1==e.length&&lw(i))return o.plant(i).value();for(var s=0,a=n?t[s].apply(this,e):i;++s<n;)a=t[s].call(this,a);return a}}))},mw=tt(dw());const hw=e=>"string"==typeof e?e:"";const fw=e=>e.replace(/\r\n?/g,"\n").split("\n"),xw=e=>e.trim();function vw(e,t,{maxLineGap:n=4,threshold:i=.92}={}){const s=fw(e),a=fw(t),o=a.length,r=((e,t,n)=>{for(let i=0;i<t.length;i++){const s=xw(t[i]);if(!s)continue;const a=e.get(s);if(a)return a.map((e=>Math.max(0,e-n-i)))}return[0]})((e=>{const t=new Map;return e.forEach(((e,n)=>{const i=xw(e);i&&(t.has(i)||t.set(i,[]),t.get(i).push(n))})),t})(s),a,n);let c=null;for(const e of r){const i=Math.min(s.length,e+o+n);for(let a=e;a<=i-o;a++){const e=Math.min(i-a,o+n);for(let n=o;n<=e;n++){const e=s.slice(a,a+n).join("\n"),i=oy.stringSimilarity(t,e);if((!c||i>c.score)&&(c={start:a+1,end:a+n,score:i,block:e},i>=.999))return c}}}return c&&c.score>=i?c:null}class gw extends Error{message='Delimiter error for patch format!Delimiters should be one of the following:"\n<<< SEARCH <<<\n", "\n==== REPLACED_BY ====\n", "\n>>> END >>>\n"'}const bw=e=>{const t=e.indexOf("\r\n"),n=e.indexOf("\n"),i=e.indexOf("\r");return-1!==t?"\r\n":-1!==n?"\n":-1!==i?"\r":"\n"};class yw extends Error{patchIndex;patches;content;constructor(e,t,n){super(),this.patchIndex=e,this.patches=t,this.content=n}get result(){const e=this.patches[this.patchIndex].search.join("\n");if(e.length>20)return{similiarBlock:"",failedPatchIndex:this.patchIndex,patches:this.patches};const t=vw(this.content,e,{threshold:0,maxLineGap:0}),n=bw(this.content),i=t?this.content.split(/\r?\n/).slice(Math.max(0,t.start-2),t.end+2).join(n):"";return{failedPatchIndex:this.patchIndex,patches:this.patches,similiarBlock:i}}}const _w=e=>e.replace(/^(\r?\n)+/,"");function ww(e,t,n,i){return t.toString()?[...e,...t,...n].join(i):[...e,...n].join(i)}const Ew=(e,t,n)=>{try{const i=function(e){const t=[],n={context:"none",current:null};for(const i of e.split("\n"))if(/^[<=]+\s*SEARCH\s*[<=#]+$/.test(i)){if("replace"===n.context||"search"===n.context)throw new gw;n.current&&"none"===n.context&&t.push(n.current),n.context="search",n.current={search:[],replace:[]}}else if(/^[<=>]+\s*REPLACED?_BY\s*[<=>]+$/.test(i)){if("search"!==n.context)throw new gw;n.context="replace"}else if(/^[>=]+\s*END\s*[>=]+$/.test(i)){if("replace"!==n.context)throw new gw;n.context="none"}else"search"===n.context&&n.current?n.current.search.push(i):"replace"===n.context&&n.current&&n.current.replace.push(i);return n.current&&t.push(n.current),t}(t),s=bw(e);if(!i.length&&!n?.stream)return{error:new gw,patchedContent:e,patches:[]};const{streamLineCount:a,patchedContent:o,error:r}=mw(i.map(((t,a)=>o=>{if(o.error)return o;const r=_w(t.search.join(s)),c=r.split(/\r?\n/),p=t.replace,l=o.patchedContent;if(n?.stream){const e=l.indexOf(r);return{streamLineCount:l.slice(0,e).split(/\r?\n/).length-1+t.replace.length,patchedContent:l.replace(r,_w(p.join(s)))}}{const t=l.split(/\r?\n/),n=((e,t)=>{let n=Array.from(new Array(t.length)).map(((e,t)=>t)),i=0;for(;n.length;){if(n=n.filter((n=>t[n]===e[i])).map((e=>e+1)),1===n.length&&i===e.length-1)return n[0]-i-1;if(0===n.length)return-1;i+=1}return-1})(c,t);if(-1!==n){const e=n,i=e+c.length;return p.toString()?{patchedContent:ww(t.slice(0,e),p,t.slice(i),s)}:{patchedContent:ww(t.slice(0,e),[],t.slice(i),s)}}const u=function(e,t){const n=e.split(/\r?\n/),i=t.split(/\r?\n/);if(i.length<=2)return null;let s=n.map(((e,t)=>t)),a=0;for(const e of i){const t=s.filter((t=>hw(n[t])===hw(e)));if(0===t.length){if(0===a)return null;break}s=t.map((e=>e+1)),a++}const o=Math.max(...s)-a;s=n.slice(o).map(((e,t)=>o+t));let r=0;for(const e of[...i].reverse()){const t=s.filter((t=>hw(n[t])===hw(e)));if(0===t.length){if(0===r)return null;break}s=t.map((e=>e-1)),r++}const c=Math.min(...s)+r+1;return{start:o,end:c,block:n.slice(o,c).join("\n")}}(l,r);if(u){if(oy.stringSimilarity(r,u.block)>.67)return{patchedContent:ww(t.slice(0,u.start-1),p,t.slice(u.end),s)}}if(t.length<=1e3&&c.length<=20){const e=vw(l,r,{maxLineGap:4,threshold:.86});if(e)return{patchedContent:ww(t.slice(0,e.start-1),p,t.slice(e.end),s)}}return{error:new yw(a,i,e),patchedContent:o.patchedContent}}})))({patchedContent:e,streamLineCount:0});return{error:r,patchedContent:n?.stream?o.split(/\r?\n/).slice(0,a).join(s):o,patches:i}}catch(t){return{error:t,patchedContent:e,patches:[]}}},kw=".comate",Sw="rules",Tw="default.mdr";function Rw(e){const t=[...e.matchAll(/[@#]([\w/.\-\u4e00-\u9fa5]+)/g)].filter((t=>{const n=t.index??0,i=e[n-1]??"",s=e[n+t[0].length]??"";return""===i.trim()&&""===s.trim()})),n=t.map((e=>e[1].trim()));return{files:[...new Set(n)],matches:t}}var Aw;!function(e){e.EDIT="edit",e.PREVIEW="preview"}(Aw||(Aw={}));class Cw{config;static event="VIRTUAL_EDITOR_EVENT";promiseMap=new Map;customResolverMap=new Map;constructor(e){this.config=e}resolve({uuid:e,...t}){const n=this.promiseMap.get(e);if(n)return n(t),void this.promiseMap.delete(e);const i=this.customResolverMap.get(e);if(i){i(t)&&this.customResolverMap.delete(e)}}async openDocument(e){this.sendToIDE("openDocument",e)}async closeDocument(e){this.sendToIDE("closeDocument",e)}async deleteDocument(e){this.sendToIDE("deleteDocument",e)}async refreshProjectTree(){this.sendToIDE("refreshProjectTree",{})}async getActiveDocument(){const e=this.sendToIDE("getActiveDocument",{}),t=await this.withReceivePromise(e,{existed:!1,content:"",absolutePath:"",scheme:"file",selections:[]});return t.existed&&t.absolutePath?t:{existed:!1,content:"",absolutePath:"",selections:[]}}async getDocument(e){const t=this.sendToIDE("getDocument",e),n=await this.withReceivePromise(t,{existed:!1,absolutePath:e.absolutePath,content:""});return!n.existed&&o(e.absolutePath)?{existed:!0,absolutePath:e.absolutePath,content:r(e.absolutePath,"utf-8")}:n}async openVirtualDiffDocument(e){this.sendToIDE("openVirtualDiffDocument",{...e,inlineView:e.acceptable})}async closeVirtualDiffDocument(e){this.sendToIDE("closeVirtualDiffDocument",e)}async replaceVirtualDiffModifiedDocument(e){this.sendToIDE("replaceVirtualDiffModifiedDocument",e,{skipWriteLog:!0})}async getVirtualDiffDocument(e){const t=this.sendToIDE("getVirtualDiffDocument",e);return this.withReceivePromise(t,{existed:!1,content:"",absolutePath:e.absolutePath})}async saveDocumentWithReplaceContent(e){const t=this.sendToIDE("saveDocumentWithReplaceContent",e);return this.withReceivePromise(t,{})}async saveDocumentWithReplaceContentAndOpen(e){const t=this.sendToIDE("saveDocumentWithReplaceContentAndOpen",e);return this.withReceivePromise(t,{})}async executeTerminalShell(e,t){const n=this.sendToIDE("executeTerminalShell",e),i={completed:!1,output:""};return"function"==typeof t?this.withReceiveEndPromise(n,i,t,e.duration):this.withReceivePromise(n,i,e.duration)}async executeDebugCommand(e){const t=this.sendToIDE("executeDebugCommand",e);return this.withReceivePromise(t,{status:"timeout"},e.duration)}async getLatestOutputFromActiveTerminal(){const e=this.sendToIDE("getLatestOutputFromActiveTerminal",{});return this.withReceivePromise(e,{output:""},2e3)}async openUrlInEditorWebview(e){this.sendToIDE("openUrlInEditorWebview",e)}async endConversationEditSession(e){this.sendToIDE("endConversationEditSession",e)}async startConversationEditSession(e){this.sendToIDE("startConversationEditSession",e)}async getDocumentDiagnostics(e){const t=this.sendToIDE("getDocumentDiagnostics",e);return this.withReceivePromise(t,{},3e3)}sendToIDE(e,t,n){const i=Object.entries(t).filter((([e])=>!["content","modified"].includes(e)));this.config.logger.verbose(`VirtualEditor.${e}, args: ${i.map((([e,t])=>`${e}=${t}`)).join(",")}`);const s=j.randomUUID();return this.config.send(Cw.event,{action:e,payload:{...t,uuid:s}},n).catch((()=>{})),s}withReceivePromise(e,t,n=3e3){return new Promise((i=>{const s=setTimeout((()=>{i(t)}),n);this.promiseMap.set(e,(e=>{clearTimeout(s),i(e)}))}))}withReceiveEndPromise(e,t,n,i=3e3){return new Promise((s=>{const a=setTimeout((()=>{s(t),this.customResolverMap.delete(e)}),i);this.customResolverMap.set(e,(e=>!1===e.isEnd?(n(e),!1):(clearTimeout(a),s(e),!0)))}))}}const Ow={cpp:["cpp","c++","cc","cp","cxx","h","h++","hh","hpp","hxx","inc","inl","ino","ipp","ixx","re","tcc","tpp","c","cats","idc"],python:["py","cgi","fcgi","gyp","gypi","lmi","py3","pyde","pyi","pyp","pyt","pyw","rpy","smk","spec","tac","wsgi","xpy"],css:["css"],go:["go"],less:["less"],javascript:["js","_js","bones","cjs","es","es6","frag","gs","jake","javascript","jsb","jscad","jsfl","jslib","jsm","jspre","jss","jsx","mjs","njs","pac","sjs","ssjs","xsjs","xsjslib","v","veo"],ruby:["rb","builder","eye","fcgi","gemspec","god","jbuilder","mspec","pluginspec","podspec","prawn","rabl","rake","rbi","rbuild","rbw","rbx","ru","ruby","spec","thor","watchr"],java:["java","jav"],shell:["sh","bash","bats","cgi","command","env","fcgi","ksh","shin","tmux","tool","zsh","zsh-theme"],php:["php","aw","ctp","fcgi","inc","php3","php4","php5","phps","phpt","phtml"],html:["html","hta","htm","html.hl","inc","xht","xhtml"],perl:["pl","al","cgi","fcgi","perl","ph","plx","pm","psgi","t"],typescript:["ts","cts","mts","tsx"],swift:["swift"],pug:["pug"],scss:["scss"],vue:["vue"],stylus:["styl"],vhdl:["vhdl","vhd","vhf","vhi","vho","vhs","vht","vhw"],rust:["rs","rs.in"],mermaid:["mermaid","mmd"],sass:["sass"],graphql:["graphql","gql","graphqls"],san:["san"],swan:["swan","wxml","wxss"],kotlin:["kt","kts","ktm"],objectivec:["m","mm"],lua:["lua"]},jw={cpp:"cpp","c++":"cpp",cc:"cpp",cp:"cpp",cxx:"cpp",h:"cpp","h++":"cpp",hh:"cpp",hpp:"cpp",hxx:"cpp",inc:"html",inl:"cpp",ino:"cpp",ipp:"cpp",ixx:"cpp",re:"cpp",tcc:"cpp",tpp:"cpp",c:"cpp",cats:"cpp",idc:"cpp",java:"java",jav:"java",py:"python",cgi:"shell",fcgi:"shell",gyp:"python",gypi:"python",lmi:"python",py3:"python",pyde:"python",pyi:"python",pyp:"python",pyt:"python",pyw:"python",rpy:"python",smk:"python",spec:"ruby",tac:"python",wsgi:"python",xpy:"python",go:"go",php:"php",aw:"php",ctp:"php",php3:"php",php4:"php",php5:"php",phps:"php",phpt:"php",phtml:"php",js:"javascript",_js:"javascript",bones:"javascript",cjs:"javascript",es:"javascript",es6:"javascript",frag:"glsl",gs:"javascript",jake:"javascript",javascript:"javascript",jsb:"javascript",jscad:"javascript",jsfl:"javascript",jslib:"javascript",jsm:"javascript",jspre:"javascript",jss:"javascript",jsx:"javascript",mjs:"javascript",njs:"javascript",pac:"javascript",sjs:"javascript",ssjs:"javascript",xsjs:"javascript",xsjslib:"javascript",v:"javascript",veo:"javascript",pl:"perl",al:"perl",perl:"perl",ph:"perl",plx:"perl",pm:"perl",psgi:"perl",t:"perl",rb:"ruby",builder:"ruby",eye:"ruby",gemspec:"ruby",god:"ruby",jbuilder:"ruby",mspec:"ruby",pluginspec:"ruby",podspec:"ruby",prawn:"ruby",rabl:"ruby",rake:"ruby",rbi:"ruby",rbuild:"ruby",rbw:"ruby",rbx:"ruby",ru:"ruby",ruby:"ruby",thor:"ruby",watchr:"ruby",swift:"swift",sh:"shell",bash:"shell",bats:"shell",command:"shell",env:"shell",ksh:"shell",shin:"shell",tmux:"shell",tool:"shell",zsh:"shell","zsh-theme":"shell",css:"css",ts:"typescript",cts:"typescript",mts:"typescript",tsx:"typescript",less:"less",html:"html",hta:"html",htm:"html","html.hl":"html",xht:"html",xhtml:"html",m:"objectivec",mm:"objectivec",rs:"rust","rs.in":"rust",kt:"kotlin",kts:"kotlin",ktm:"kotlin",swan:"swan",wxml:"swan",wxss:"swan",san:"san",lua:"lua",vue:"vue",sass:"sass",scss:"scss",styl:"stylus",pug:"pug",vhdl:"vhdl",vhd:"vhdl",vhf:"vhdl",vhi:"vhdl",vho:"vhdl",vhs:"vhdl",vht:"vhdl",vhw:"vhdl",mermaid:"mermaid",mmd:"mermaid",graphql:"graphql",gql:"graphql",graphqls:"graphql",ada:"ada",adb:"ada",ads:"ada",agda:"agda",als:"alloy",g4:"antlr",applescript:"applescript",scpt:"applescript",a51:"assembly",asm:"assembly",nasm:"assembly",aug:"augeas",auk:"awk",awk:"awk",gawk:"awk",mawk:"awk",nawk:"awk",bat:"batchfile",cmd:"batchfile",bsv:"bluespec",cake:"csharp",cs:"csharp",cshtml:"csharp",boot:"clojure",clj:"clojure",cljc:"clojure",cljs:"clojure",cljx:"clojure",cmake:"cmake",_coffee:"coffeescript",cjsx:"coffeescript",coffee:"coffeescript",cson:"coffeescript",iced:"coffeescript",asd:"commonlisp",lisp:"commonlisp",lsp:"commonlisp",ny:"commonlisp",cu:"cuda",cuh:"cuda",dart:"dart",dockerfile:"dockerfile",ex:"elixir",exs:"elixir",elm:"elm",el:"emacslisp",emacs:"emacslisp",erl:"erlang",escript:"erlang",hrl:"erlang",yrl:"erlang",fs:"fsharp",fsi:"fsharp",fsx:"fsharp",f:"fortran",f03:"fortran",f08:"fortran",f90:"fortran",f95:"fortran",for:"fortran",fpp:"fortran",fp:"glsl",fsh:"glsl",fshader:"glsl",geom:"glsl",glsl:"glsl",glslv:"glsl",shader:"glsl",vert:"glsl",vsh:"glsl",vshader:"glsl",groovy:"groovy",gtpl:"groovy",gvy:"groovy",hs:"haskell",hsc:"haskell",idr:"idris",lidr:"idris",thy:"isabelle",jsp:"javaserverpages",json:"json",jl:"julia",hlean:"lean",lean:"lean",lagda:"literateagda",litcoffee:"literatecoffeescript",lhs:"literatehaskell",mak:"makefile",mk:"makefile",mpl:"maple",markdown:"markdown",md:"markdown",mkd:"markdown",mkdn:"markdown",ron:"markdown",ma:"mathematica",mathematica:"mathematica",mt:"mathematica",nb:"mathematica",wl:"mathematica",matlab:"matlab",eliom:"ocaml",eliomi:"ocaml",ml:"ocaml",ml4:"ocaml",mli:"ocaml",mll:"ocaml",mly:"ocaml",dfm:"pascal",lpr:"pascal",pas:"pascal",ps1:"powershell",psd1:"powershell",psm1:"powershell",prolog:"prolog",yap:"prolog",proto:"protocolbuffer",r:"r",rd:"r",rsx:"r",scrbl:"racket",rst:"restructuredtext",rmd:"rmarkdown",sas:"sas",sbt:"scala",scala:"scala",scm:"scheme",sld:"scheme",sps:"scheme",st:"smalltalk",sol:"solidity",rq:"sparql",sparql:"sparql",cql:"sql",db2:"sql",ddl:"sql",pkb:"sql",pks:"sql",plb:"sql",plsql:"sql",prc:"sql",sql:"sql",udf:"sql",stan:"stan",fun:"standardml",sml:"standardml",ado:"stata",do:"stata",doh:"stata",mata:"stata",matah:"stata",sv:"systemverilog",svh:"systemverilog",vh:"systemverilog",adp:"tcl",tcl:"tcl",tm:"tcl",csh:"tcsh",tcsh:"tcsh",bbx:"tex",bib:"tex",cbx:"tex",dtx:"tex",ins:"tex",lbx:"tex",mkii:"tex",mkiv:"tex",mkvi:"tex",sty:"tex",tex:"tex",thrift:"thrift",bas:"visualbasic",frm:"visualbasic",vb:"visualbasic",vba:"visualbasic",vbhtml:"visualbasic",vbs:"visualbasic",xsl:"xslt",xslt:"xslt",y:"yacc",yacc:"yacc",yaml:"yaml",yml:"yaml",zig:"zig",ipynb:"jupyter"},Pw="ACTION_V8_SNAP_SHOT";for(var Lw="(?:"+["\\|\\|","\\&\\&",";;","\\|\\&","\\<\\(","\\<\\<\\<",">>",">\\&","<\\&","[&;()|<>]"].join("|")+")",Nw=new RegExp("^"+Lw+"$"),Iw="|&;()<> \\t",Dw=/^#$/,Fw="",Mw=0;Mw<4;Mw++)Fw+=(4294967296*Math.random()).toString(16);var $w=new RegExp("^"+Fw);function Uw(e,t,n){n||(n={});var i=n.escape||"\\",s=new RegExp(["("+Lw+")","("+("(\\"+i+"['\""+Iw+"]|[^\\s'\""+Iw+"])+")+"|\"((\\\\\"|[^\"])*?)\"|'((\\\\'|[^'])*?)')+"].join("|"),"g"),a=function(e,t){for(var n,i=t.lastIndex,s=[];n=t.exec(e);)s.push(n),t.lastIndex===n.index&&(t.lastIndex+=1);return t.lastIndex=i,s}(e,s);if(0===a.length)return[];t||(t={});var o=!1;return a.map((function(n){var s=n[0];if(s&&!o){if(Nw.test(s))return{op:s};var a,r=!1,c=!1,p="",l=!1;for(a=0;a<s.length;a++){var u=s.charAt(a);if(l=l||!r&&("*"===u||"?"===u),c)p+=u,c=!1;else if(r)u===r?r=!1:"'"==r?p+=u:u===i?(a+=1,p+='"'===(u=s.charAt(a))||u===i||"$"===u?u:i+u):p+="$"===u?m():u;else if('"'===u||"'"===u)r=u;else{if(Nw.test(u))return{op:s};if(Dw.test(u)){o=!0;var d={comment:e.slice(n.index+a+1)};return p.length?[p,d]:[d]}u===i?c=!0:p+="$"===u?m():u}}return l?{op:"glob",pattern:p}:p}function m(){var e,n;a+=1;var i=s.charAt(a);if("{"===i){if(a+=1,"}"===s.charAt(a))throw new Error("Bad substitution: "+s.slice(a-2,a+1));if((e=s.indexOf("}",a))<0)throw new Error("Bad substitution: "+s.slice(a));n=s.slice(a,e),a=e}else if(/[*@#?$!_-]/.test(i))n=i,a+=1;else{var o=s.slice(a);(e=o.match(/[^\w\d_]/))?(n=o.slice(0,e.index),a+=e.index-1):(n=o,a=s.length)}return function(e,t,n){var i="function"==typeof e?e(n):e[n];return void 0===i&&""!=n?i="":void 0===i&&(i="$"),"object"==typeof i?t+Fw+JSON.stringify(i)+Fw:t+i}(t,"",n)}})).reduce((function(e,t){return void 0===t?e:e.concat(t)}),[])}var Bw=function(e,t,n){var i=Uw(e,t,n);return"function"!=typeof t?i:i.reduce((function(e,t){if("object"==typeof t)return e.concat(t);var n=t.split(RegExp("("+Fw+".*?"+Fw+")","g"));return 1===n.length?e.concat(n[0]):e.concat(n.filter(Boolean).map((function(e){return $w.test(e)?JSON.parse(e.split(Fw)[1]):e})))}),[])};const zw=new Set(["if","then","else","elif","fi","for","while","until","do","done","case","esac","function","select","time","in"]);function Hw(e){const t=Bw(e),n=[];let i=!0;for(const e of t)if("object"==typeof e&&"op"in e){const t=e.op;["&&","||",";","|","|&","&","(",")"].includes(t)&&(i=!0)}else"string"==typeof e&&i&&!zw.has(e)&&(n.push(e),i=!1);return n}var qw,Gw,Ww,Kw,Vw,Qw,Yw,Jw,Zw,Xw,eE,tE,nE,iE,sE,aE,oE,rE,cE,pE,lE,uE,dE,mE,hE,fE,xE,vE,gE;!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"}(qw||(qw={})),function(e){e.NOT_SUPPORT="statusBar.not.support.text",e.ENABLE="statusBar.enable.text",e.NO_SUGGESTIONS="statusBar.nosuggestions",e.TITLE="statusBar.title"}(Gw||(Gw={})),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"}(Ww||(Ww={})),function(e){e.EMPTY_TEXT="nl2code.empty.text",e.NO_SELECTION="nl2code.no.selection.text"}(Kw||(Kw={})),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"}(Vw||(Vw={})),function(e){e.EXPLAIN_SELECTED_CODE="explain.codeActions.title",e.OPTIMIZE_SELECTED_CODE="optimize.codeActions.title",e.INLINECHAT_SELECTED_CODE="inlinechat.codeActions.title"}(Qw||(Qw={})),function(e){e.CODELENS_TITLE="chatTrial.codelens.title"}(Yw||(Yw={})),function(e){e.CODELENS_TITLE="inlinechat.codelens.title"}(Jw||(Jw={})),function(e){e.CHAT_TIPS_TITLE="chatTips.selectedCode.title",e.CHAT_TIPS_CODE_BLANK_ROW_TITLE="chatTips.blankRow.title"}(Zw||(Zw={})),function(e){e.GENERATING_TITLE="decorations.generating.title",e.LINE_COMMENT_CODE_TRIGGER_TITLE="decorations.lineComent.trigger.title"}(Xw||(Xw={})),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"}(eE||(eE={})),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"}(tE||(tE={})),function(e){e.PROMPT="split.prompt",e.CODELENS_TITLE="split.codelens.title",e.CODELENS_TOOLTIP="split.codelens.tooltip",e.GENERATE_ERROR="split.generate.error"}(nE||(nE={})),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"}(iE||(iE={})),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"}(sE||(sE={})),function(e){e.PROMPT="inlineLog.prompt",e.CODELENS_TITLE="inlineLog.codelens.title",e.CODELENS_TOOLTIP="inlineLog.codelens.tooltip",e.GENERATE_ERROR="inlineLog.generate.error"}(aE||(aE={})),function(e){e.TITLE="diff.title",e.ACCEPT="diff.accept",e.REJECT="diff.reject",e.OPEN_DUAL_SCREEN_DIFF="diff.dualScreenDiff.open"}(oE||(oE={})),function(e){e.WEBVIEW_TITLE="chat.webview.title",e.NO_INSERT_POSITION="chat.no.insertPosition.text"}(rE||(rE={})),function(e){e.PATH_ERROR="accept.path.error"}(cE||(cE={})),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"}(pE||(pE={})),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"}(lE||(lE={})),function(e){e.TOOLTIP="regexHover.tooltip",e.PROMPT="regexHover.prompt"}(uE||(uE={})),function(e){e.MAXIMUM_FILES="embeddings.maximum.files.message",e.PROGRESS="embeddings.progress.message",e.PROGRESS_TOOLTIP="embeddings.progress.tooltip.message"}(dE||(dE={})),function(e){e.TITLE="openPlatform.title.text",e.WEBVIEW_TITLE="openPlatform.webview.title"}(mE||(mE={})),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"}(hE||(hE={})),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"}(fE||(fE={})),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"}(xE||(xE={})),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"}(vE||(vE={})),function(e){e.GENERATE_ERROR="kernel.zulu.error"}(gE||(gE={}));const bE={ServerError:-32001,ParseError:-32700,InvalidRequest:-32600,MethodNotFound:-32601,InvalidParams:-32602,InternalError:-32603,RequestCancelled:-32800,DeviceFlowFailed:1001,ContextNotInitialized:1002,AbortedByServer:1003,CancelledByServer:1004,GetGitRepoIdError:1005};export{Z as ACTION_ASK_LLM,X as ACTION_ASK_LLM_STREAMING,Ie as ACTION_ASK_RAG,Ae as ACTION_BATCH_ACCEPT,Me as ACTION_BRANCH_CHANGE,P as ACTION_CHAT_QUERY,vg as ACTION_CHAT_SESSION_DELETE,gg as ACTION_CHAT_SESSION_FIND,fg as ACTION_CHAT_SESSION_LIST,xg as ACTION_CHAT_SESSION_SAVE,L as ACTION_CHAT_TASK_PROGRESS,ze as ACTION_CODE_SEARCH,yg as ACTION_COMATE_ADD_AGENT_TASK,Tg as ACTION_COMATE_ADD_CACHE,bg as ACTION_COMATE_GET_AGENT_TASKS,Rg as ACTION_COMATE_GET_CACHE,pg as ACTION_COMATE_LSP_REMOTE_CONSOLE,cg as ACTION_COMATE_LSP_WORKSPACE_FOLDERS,Qv as ACTION_COMATE_PLUS_AGENT_COMMAND,rg as ACTION_COMATE_PLUS_AGENT_NOTIFICATION,mg as ACTION_COMATE_PLUS_BATCH_ACCEPT,Kv as ACTION_COMATE_PLUS_CHAT_CANCEL,Wv as ACTION_COMATE_PLUS_CHAT_QUERY,dg as ACTION_COMATE_PLUS_CODE_SEARCH,Vv as ACTION_COMATE_PLUS_CUSTOM_COMMAND,Ee as ACTION_COMATE_PLUS_DIAGNOSTIC_SCAN,Zv as ACTION_COMATE_PLUS_DRAW_CHAT_APPEND,eg as ACTION_COMATE_PLUS_DRAW_CHAT_FAIL,Xv as ACTION_COMATE_PLUS_DRAW_CHAT_FINISH,Jv as ACTION_COMATE_PLUS_DRAW_CHAT_UPDATE,sg as ACTION_COMATE_PLUS_INITIALIZED,ng as ACTION_COMATE_PLUS_QUERY_SELECTOR,ug as ACTION_COMATE_PLUS_RECREATE_INDEX,tg as ACTION_COMATE_PLUS_REQUEST_PERMISSION,ve as ACTION_COMATE_PLUS_SA_SCAN_DIAGNOSTIC,xe as ACTION_COMATE_PLUS_SA_SCAN_INIT,lg as ACTION_COMATE_PLUS_SECTION_CHAT_UPDATE,Yv as ACTION_COMATE_PLUS_WEBVIEW_INIT_DATA,_g as ACTION_COMATE_SET_FOREGROUND_TASK,hg as ACTION_COMATE_SMART_APPLY,wg as ACTION_COMATE_UPDATE_AGENT_TASK_MESSAGES,kg as ACTION_COMPOSER,we as ACTION_CUSTOM_COMMAND,Ne as ACTION_DEBUG_TASK_PROCESS,Se as ACTION_DIAGNOSTIC_SCAN,Te as ACTION_DIAGNOSTIC_SCAN_TASK_COUNT,ke as ACTION_DIAGNOSTIC_SCAN_TASK_PROGRESS,ag as ACTION_ENGINE_PROCESS_START_SUCCESS,Pg as ACTION_ENGINE_SERVICE_INITIALIZED,De as ACTION_GENERATE_MESSAGE,Fe as ACTION_GENERATE_MESSAGE_REPORT,ie as ACTION_GET_PLUGIN_CONFIG,re as ACTION_INFORMATION_QUERY,Ke as ACTION_ISCAN_JOB_BUILD_ID,We as ACTION_ISCAN_RESULT,N as ACTION_LOG,Eg as ACTION_MOCK_VIRTUAL_EDITOR_EVENT,ae as ACTION_PLUS_MODULE_LIST_FETCH,oe as ACTION_PLUS_MODULE_LIST_RESULT,Cg as ACTION_PROMPTTEMPLATE_CREATE,jg as ACTION_PROMPTTEMPLATE_DELETE,Ag as ACTION_PROMPTTEMPLATE_LIST,Og as ACTION_PROMPTTEMPLATE_UPDATE,_e as ACTION_QUERY_SELECTOR,me as ACTION_RELEASE_SCAN_TASK,Y as ACTION_REQUEST_PERMISSION,ge as ACTION_SA_SCAN_DIAGNOSTIC,be as ACTION_SA_SCAN_DIAGNOSTIC_RESULT,fe as ACTION_SCAN_CACHE_COUNT,Ve as ACTION_SCAN_NOTIFICATION,le as ACTION_SCAN_QUERY,de as ACTION_SCAN_TASK,he as ACTION_SCAN_TASK_PROGRESS,$e as ACTION_SECUBOT,Ue as ACTION_SECUBOT_TASK_PROGRESS,K as ACTION_SESSION_FINISH,W as ACTION_SESSION_START,ye as ACTION_START_BACKGROUND_SERVICE,Ge as ACTION_START_ISCAN,He as ACTION_START_ISCAN_AND_GET_SEC_RESULT,qe as ACTION_START_ISCAN_BY_SAVE,se as ACTION_UPDATE_ENGINE_CONFIG,ig as ACTION_USER_DETAIL,og as ACTION_USER_DETAIL_ERROR,Pw as ACTION_V8_SNAP_SHOT,ue as ACTION_WILL_SCAN,Sg as AGENT_DEBUG_CUSTOM_ACTION,cE as AcceptProviderText,Le as AgentConversationStatus,je as AgentConversationType,Pe as AgentConversationTypeNames,Ce as AgentMessageStatus,hE as AutoWorkText,Fp as CanceledError,Q as Channel,rE as ChatProviderText,Zw as ChatTipsProviderText,Yw as ChatTrialProviderText,Qw as CodeSelectionActionsProviderText,fE as ComatePlusText,eE as CommentProviderText,Ww as CompletionText,Sw as DEFAULT_RULE_CONFIG_FOLDER,kw as DEFAULT_WORKSPACE_CONFIG_FOLDER,Tw as DEFAULT_WORKSPACE_RULE_FILE,Xw as DecorationsText,oE as DiffProviderText,tE as DocstringProviderText,pp as ENVIRONMENT,dE as EmbeddingsServiceText,iE as ExplainProviderText,lE as ExtensionText,ne as FunctionModel,qw as GlobalText,dp as INTERNAL_API_HOST,hp as INTERNAL_TEST_API_HOST,pe as InformationQueryType,xE as InlineChatText,Jw as InlineChatTrialProviderText,aE as InlineLogProviderText,bE as LSP_ERROR_CODE,Ov as LanguageDetector,ee as LlmType,Kp as LogUploaderProvider,Qe as MCP_SETTINGS_FILE_PATH,vE as MessageGenerateText,Kw as Nl2codeProviderText,mE as OpenPlatformText,Vw as OptimizeProviderText,cp as PLATFORM,tl as PROMPTTEMPLATE_ROOT_PATH,gw as PatchFileDelimiterError,J as PermissionType,pE as QuickFixText,Lg as RULE_PANEL_ACTION_EVENT,uE as RegexHoverText,up as SAAS_API_HOST,mp as SAAS_TEST_API_HOST,Be as SECUBOT_DEFAULT_QUERY,Yp as SSEProcessor,jw as SUFFIX_LANG_MAP,Ow as SUPPORTED_SUFFIX_CONFIG,yw as SearchReplacePatchError,V as Session,nE as SplitProviderText,Gw as StatusBarText,Re as TaskStatus,te as TextModel,Ng as UPDATE_RULE_PANEL_EVENT,sE as UnitTestProviderText,Aw as VirtualDocumentAction,Cw as VirtualEditor,Mv as VisibilitySelectorMatcher,lp as WEBVIEW_CONSUMER,Oe as WorkflowStatus,gE as ZuluText,I as allowedNativeElement,ty as applyDiff,Ew as applySearchReplaceChunk,Lp as axiosInstance,Bv as canHandleChatQuery,qv as canHandleQuerySelector,Hv as canShowToUser,Dp as createAxiosCancelTokenSource,Ip as createAxiosInstance,zp as createDeferred,us as emptyDir,ls as ensureDirectoryExist,B as extractChunkContent,Rw as extractMentionFilesFromRuleConfig,iy as findCodeChunkStartLineIndex,ay as fixUdiffLineMarker,el as formatPrompt,Tp as getApiHost,Zp as getCurrentUserKnowledgeSet,$p as getCurrentUserPluginConfigSet,Jp as getKnowledgeQueryResult,rs as getOsAppDataPath,il as getPromptTemplatePath,nl as getPromptTemplateRootPath,sl as getPromptTemplateUuidFromPath,Kb as getUserLicenseType,$v as isCapabilityMatch,M as isInteractiveContent,D as isNativeElement,U as isSectionChunk,$ as isWrappedChunk,Xp as knowledgeServiceHealthy,Up as localPluginConfig,Mp as mergePluginConfig,Hw as parseShellCommandName,Gv as patchEnvPath,Bp as pluginConfigDetail,os as readFileOrNull,ms as readJson,Ye as readPluginDescription,ds as remove,Wb as replacePathTextInMarkdown,Sp as setApiHost,Rp as setLanguage,wp as setPlatform,Ep as setPlatformAndEnvironment,hs as writeJSON};