claude-flow-novice 2.2.3 → 2.2.4

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 (1377) hide show
  1. package/dist/.claude/settings.json +2 -1
  2. package/dist/scripts/CLEANUP_OPTIMIZATION_REPORT.json +312 -0
  3. package/dist/scripts/CLEANUP_PERFORMANCE_OPTIMIZATION.md +387 -0
  4. package/dist/scripts/CLEANUP_QUICK_START.md +268 -0
  5. package/dist/scripts/CLEANUP_TEST_RESULTS.md +205 -0
  6. package/dist/scripts/README.md +339 -0
  7. package/dist/scripts/ace-query.sh +384 -0
  8. package/dist/scripts/agent-token-analysis.js +430 -0
  9. package/dist/scripts/auto-setup.js +332 -0
  10. package/dist/scripts/build/README.md +167 -0
  11. package/dist/scripts/build/build-config.js +27 -0
  12. package/dist/scripts/build/build-prompt-copier.sh +30 -0
  13. package/dist/scripts/build/performance-monitor.js +869 -0
  14. package/dist/scripts/build/prepare-publish.js +150 -0
  15. package/dist/scripts/build/typescript-fixer.js +621 -0
  16. package/dist/scripts/build/unified-builder.sh +428 -0
  17. package/dist/scripts/build/update-bin-version.js +32 -0
  18. package/dist/scripts/build/validate-agents.js +238 -0
  19. package/dist/scripts/build-index.js +43 -0
  20. package/dist/scripts/build-orchestrator.js +320 -0
  21. package/dist/scripts/check-routing-stats.cjs +122 -0
  22. package/dist/scripts/ci-validation.js +375 -0
  23. package/dist/scripts/cleanup-blocking-coordination.sh +420 -0
  24. package/dist/scripts/cleanup-idle-sessions.sh +59 -0
  25. package/dist/scripts/collect-build-metrics.js +65 -0
  26. package/dist/scripts/demo/README.md +79 -0
  27. package/dist/scripts/demo/autoscaling-demo-simplified.js +963 -0
  28. package/dist/scripts/demo/comprehensive-dashboard-test.js +693 -0
  29. package/dist/scripts/demo/confidence-log.js +87 -0
  30. package/dist/scripts/demo/confidence-report.js +82 -0
  31. package/dist/scripts/demo/demo-multi-swarm-coordination.js +325 -0
  32. package/dist/scripts/demo/demo-production-deployment.js +399 -0
  33. package/dist/scripts/demo/demo-visualization-system.js +149 -0
  34. package/dist/scripts/demo/performance-analysis.cjs +71 -0
  35. package/dist/scripts/demo/performance-analysis.js +71 -0
  36. package/dist/scripts/demo/test-autoscaling-demo.js +314 -0
  37. package/dist/scripts/dependency-optimizer.js +349 -0
  38. package/dist/scripts/dependency-security-assessment.js +331 -0
  39. package/dist/scripts/deploy-sdk.sh +176 -0
  40. package/dist/scripts/deployment-readiness-report.json +179 -0
  41. package/dist/scripts/dev/README.md +264 -0
  42. package/dist/scripts/dev/claude-flow-wrapper.sh +35 -0
  43. package/dist/scripts/dev/claude-monitor.py +419 -0
  44. package/dist/scripts/dev/claude-sparc.sh +562 -0
  45. package/dist/scripts/dev/claude-wrapper.sh +17 -0
  46. package/dist/scripts/dev/demo-phase3-compliance.js +172 -0
  47. package/dist/scripts/dev/demo-task-system.ts +224 -0
  48. package/dist/scripts/dev/deployment-validator.js +315 -0
  49. package/dist/scripts/dev/spawn-claude-terminal.sh +32 -0
  50. package/dist/scripts/dev/start-portal.sh +506 -0
  51. package/dist/scripts/dev/start-web-ui.js +15 -0
  52. package/dist/scripts/dev/stop-portal.sh +311 -0
  53. package/dist/scripts/dev/validate-examples.ts +288 -0
  54. package/dist/scripts/dev/validate-phase2.cjs +451 -0
  55. package/dist/scripts/dev/validate-phase2.js +785 -0
  56. package/dist/scripts/dev/validate-phase3.cjs +208 -0
  57. package/dist/scripts/dev/validate-security-remediation.js +1 -0
  58. package/dist/scripts/ecosystem.config.cjs +90 -0
  59. package/dist/scripts/fix-js-extensions.js +167 -0
  60. package/dist/scripts/generate-basic-types.js +73 -0
  61. package/dist/scripts/generate-changelog.js +318 -0
  62. package/dist/scripts/git-hooks/pre-commit.sh +143 -0
  63. package/dist/scripts/health-checks.js +634 -0
  64. package/dist/scripts/hook-wrapper.sh +54 -0
  65. package/dist/scripts/install/README.md +375 -0
  66. package/dist/scripts/install/REDIS_SETUP_VALIDATION.json +245 -0
  67. package/dist/scripts/install/check-prerequisites.js +303 -0
  68. package/dist/scripts/install/config-wizard.js +606 -0
  69. package/dist/scripts/install/dependency-checker.js +385 -0
  70. package/dist/scripts/install/health-check.js +765 -0
  71. package/dist/scripts/install/install.js +256 -0
  72. package/dist/scripts/install/installation-benchmark.js +461 -0
  73. package/dist/scripts/install/quick-install.js +720 -0
  74. package/dist/scripts/install/quick-start-wizard.js +295 -0
  75. package/dist/scripts/install/redis-cli.js +289 -0
  76. package/dist/scripts/install/redis-install-guides.md +407 -0
  77. package/dist/scripts/install/redis-setup.js +559 -0
  78. package/dist/scripts/install/redis-test.js +278 -0
  79. package/dist/scripts/install/service-manager.js +672 -0
  80. package/dist/scripts/install/setup.js +832 -0
  81. package/dist/scripts/install/uninstall.js +526 -0
  82. package/dist/scripts/install/update.js +461 -0
  83. package/dist/scripts/install-pre-commit-hook.sh +127 -0
  84. package/dist/scripts/legacy/README.md +272 -0
  85. package/dist/scripts/legacy/batch-fix-ts.sh +54 -0
  86. package/dist/scripts/legacy/build-migration.sh +105 -0
  87. package/dist/scripts/legacy/build-monitor.js +209 -0
  88. package/dist/scripts/legacy/build-with-filter.sh +84 -0
  89. package/dist/scripts/legacy/build-workaround.sh +71 -0
  90. package/dist/scripts/legacy/fix-ts-advanced.js +358 -0
  91. package/dist/scripts/legacy/fix-ts-final.sh +50 -0
  92. package/dist/scripts/legacy/fix-ts-targeted.sh +49 -0
  93. package/dist/scripts/legacy/fix-typescript-errors.js +305 -0
  94. package/dist/scripts/legacy/force-build.sh +63 -0
  95. package/dist/scripts/legacy/optimize-performance.js +400 -0
  96. package/dist/scripts/legacy/performance-monitor.js +263 -0
  97. package/dist/scripts/legacy/performance-monitoring.js +532 -0
  98. package/dist/scripts/legacy/performance-test-runner.js +645 -0
  99. package/dist/scripts/legacy/quick-fix-ts.js +281 -0
  100. package/dist/scripts/legacy/safe-build.sh +63 -0
  101. package/dist/scripts/memory-monitor-coordinator.js +322 -0
  102. package/dist/scripts/migrate-to-sdk.sh +520 -0
  103. package/dist/scripts/migration/QUICK-START.md +189 -0
  104. package/dist/scripts/migration/QUICK-START.md.backup-1760135091363 +189 -0
  105. package/dist/scripts/migration/README.md +464 -0
  106. package/dist/scripts/migration/TASK-1.3.2-COMPLETION-REPORT.md +500 -0
  107. package/dist/scripts/migration/TASK-1.3.2-COMPLETION-REPORT.md.backup-1760135091348 +500 -0
  108. package/dist/scripts/migration/UPDATE-PATHS-README.md +464 -0
  109. package/dist/scripts/migration/UPDATE-PATHS-README.md.backup-1760135091337 +464 -0
  110. package/dist/scripts/migration/example-patterns.json +19 -0
  111. package/dist/scripts/migration/install-arm64.js +78 -0
  112. package/dist/scripts/migration/install.js +83 -0
  113. package/dist/scripts/migration/migrate-hooks.js +173 -0
  114. package/dist/scripts/migration/migration-examples.ts +318 -0
  115. package/dist/scripts/migration/reorganize-workspace.js +504 -0
  116. package/dist/scripts/migration/test-update-paths.js +359 -0
  117. package/dist/scripts/migration/update-paths.js +664 -0
  118. package/dist/scripts/migration/validate-migration.js +647 -0
  119. package/dist/scripts/monitor-loop.sh +65 -0
  120. package/dist/scripts/monitor-memory.sh +47 -0
  121. package/dist/scripts/monitor-migration.js +339 -0
  122. package/dist/scripts/monitor.py +43 -0
  123. package/dist/scripts/monitoring/README.md +178 -0
  124. package/dist/scripts/monitoring/alert-monitor.sh +220 -0
  125. package/dist/scripts/monitoring/analyze-resources.sh +199 -0
  126. package/dist/scripts/monitoring/dashboards/rate-limiting-dashboard.json +211 -0
  127. package/dist/scripts/monitoring/dynamic-monitor.sh +85 -0
  128. package/dist/scripts/monitoring/launch-stability-test.sh +184 -0
  129. package/dist/scripts/monitoring/monitor-test.sh +93 -0
  130. package/dist/scripts/monitoring/pre-test-validation.sh +208 -0
  131. package/dist/scripts/monitoring/quick-test-alerting.sh +118 -0
  132. package/dist/scripts/monitoring/quick-test-rate-limiting.sh +206 -0
  133. package/dist/scripts/monitoring/rate-limiting-monitor.sh +380 -0
  134. package/dist/scripts/monitoring/resource-monitor.sh +126 -0
  135. package/dist/scripts/monitoring/stability-monitor.js +429 -0
  136. package/dist/scripts/monitoring/test-monitor-quick.sh +54 -0
  137. package/dist/scripts/monitoring/view-alerts.sh +307 -0
  138. package/dist/scripts/npm-metrics-collector.js +482 -0
  139. package/dist/scripts/npm-package-validation.cjs +299 -0
  140. package/dist/scripts/optimization/build-optimizer.js +438 -0
  141. package/dist/scripts/optimization/config-validator.js +761 -0
  142. package/dist/scripts/optimization/test-optimization.js +432 -0
  143. package/dist/scripts/optimization/unified-activation.js +839 -0
  144. package/dist/scripts/optimize-package-swarm.js +54 -0
  145. package/dist/scripts/performance/ACTIVATION_COMMANDS.md +292 -0
  146. package/dist/scripts/performance/sqlite-enhanced-activation.sh +583 -0
  147. package/dist/scripts/performance/test-enhanced-backend.sh +504 -0
  148. package/dist/scripts/performance-monitor.js +644 -0
  149. package/dist/scripts/performance-test-runner.js +698 -0
  150. package/dist/scripts/post-deployment-monitoring.js +350 -0
  151. package/dist/scripts/post-edit-pipeline.js +2091 -0
  152. package/dist/scripts/post-install-claude-md.js +78 -0
  153. package/dist/scripts/postinstall.js +79 -0
  154. package/dist/scripts/pre-publish-validation.cjs +212 -0
  155. package/dist/scripts/pre-publish-validation.js +429 -0
  156. package/dist/scripts/redis-lua/cleanup-blocking-coordination.lua +198 -0
  157. package/dist/scripts/release-announcement.js +425 -0
  158. package/dist/scripts/release-notification.js +248 -0
  159. package/dist/scripts/release-rollback.js +376 -0
  160. package/dist/scripts/release-validation.js +460 -0
  161. package/dist/scripts/rollback-sdk.sh +66 -0
  162. package/dist/scripts/run-production-validation.ts +590 -0
  163. package/dist/scripts/run-stability-validation.sh +687 -0
  164. package/dist/scripts/security/README.md +339 -0
  165. package/dist/scripts/security/deployment-validation.cjs +279 -0
  166. package/dist/scripts/security/envelope-encryption-confidence-report.cjs +422 -0
  167. package/dist/scripts/security/install-git-hooks.sh +132 -0
  168. package/dist/scripts/security/install-git-secrets.sh +295 -0
  169. package/dist/scripts/security/rotate-api-keys.js +469 -0
  170. package/dist/scripts/security/ruv-swarm-safe.js +74 -0
  171. package/dist/scripts/security/security-audit.cjs +538 -0
  172. package/dist/scripts/security/setup-redis-auth.sh +397 -0
  173. package/dist/scripts/security/validate-envelope-encryption.cjs +340 -0
  174. package/dist/scripts/security-scan.js +492 -0
  175. package/dist/scripts/src/web/frontend/.claude-flow/metrics/agent-metrics.json +1 -0
  176. package/dist/scripts/src/web/frontend/.claude-flow/metrics/performance.json +9 -0
  177. package/dist/scripts/src/web/frontend/.claude-flow/metrics/task-metrics.json +10 -0
  178. package/dist/scripts/switch-api.sh +158 -0
  179. package/dist/scripts/sync-agents.js +290 -0
  180. package/dist/scripts/test/50-agent-test.js +625 -0
  181. package/dist/scripts/test/NEW_STABILITY_TEST_GUIDE.md +407 -0
  182. package/dist/scripts/test/README.md +236 -0
  183. package/dist/scripts/test/STABILITY_TEST_EXAMPLE.md +347 -0
  184. package/dist/scripts/test/STABILITY_TEST_README.md +480 -0
  185. package/dist/scripts/test/agent-worker.js +309 -0
  186. package/dist/scripts/test/ai-coordination-test.js +650 -0
  187. package/dist/scripts/test/ai-mesh-coordination-test.js +416 -0
  188. package/dist/scripts/test/check-links.ts +274 -0
  189. package/dist/scripts/test/check-performance-regression.ts +168 -0
  190. package/dist/scripts/test/cli-agent-coordination-test.js +313 -0
  191. package/dist/scripts/test/coordinator-multilingual-test.js +396 -0
  192. package/dist/scripts/test/coordinator-transparency-demo.js +585 -0
  193. package/dist/scripts/test/coverage-report.ts +692 -0
  194. package/dist/scripts/test/generate-swarm-tests.js +633 -0
  195. package/dist/scripts/test/integration-test-validation.cjs +253 -0
  196. package/dist/scripts/test/load-test-swarm.js +576 -0
  197. package/dist/scripts/test/mesh-coordination-zero-overlap-test.js +740 -0
  198. package/dist/scripts/test/multilingual-hello-world-test.js +390 -0
  199. package/dist/scripts/test/quick-multilingual-demo.js +464 -0
  200. package/dist/scripts/test/real-agent-test.js +312 -0
  201. package/dist/scripts/test/run-phase3-compliance-tests.js +427 -0
  202. package/dist/scripts/test/run-stability-test-examples.sh +292 -0
  203. package/dist/scripts/test/stability-results/stability-metrics.jsonl +83 -0
  204. package/dist/scripts/test/stability-results/stability-test-report.json +128 -0
  205. package/dist/scripts/test/stability-results/stability-test.log +1827 -0
  206. package/dist/scripts/test/stability-test-50-agents.js +734 -0
  207. package/dist/scripts/test/test-batch-tasks.ts +29 -0
  208. package/dist/scripts/test/test-byzantine-resolution.js +246 -0
  209. package/dist/scripts/test/test-claude-spawn-options.sh +63 -0
  210. package/dist/scripts/test/test-cli-wizard.js +331 -0
  211. package/dist/scripts/test/test-comprehensive.js +401 -0
  212. package/dist/scripts/test/test-coordination-features.ts +238 -0
  213. package/dist/scripts/test/test-fallback-systems.js +276 -0
  214. package/dist/scripts/test/test-init-command.ts +302 -0
  215. package/dist/scripts/test/test-mcp.ts +251 -0
  216. package/dist/scripts/test/test-runner.ts +568 -0
  217. package/dist/scripts/test/test-swarm-integration.sh +92 -0
  218. package/dist/scripts/test/test-swarm.ts +142 -0
  219. package/dist/scripts/test/validation-summary.ts +408 -0
  220. package/dist/scripts/test-cleanup-performance.sh +416 -0
  221. package/dist/scripts/test-dashboard-auth.cjs +203 -0
  222. package/dist/scripts/test-docker-deployment.sh +207 -0
  223. package/dist/scripts/test-npm-package.cjs +167 -0
  224. package/dist/scripts/test-provider-routing.cjs +226 -0
  225. package/dist/scripts/test-routing-telemetry.cjs +147 -0
  226. package/dist/scripts/test-runner.cjs +154 -0
  227. package/dist/scripts/test-zai-10k.cjs +81 -0
  228. package/dist/scripts/test-zai-api.cjs +191 -0
  229. package/dist/scripts/test-zai-diagnostic.cjs +151 -0
  230. package/dist/scripts/test-zai-final.cjs +128 -0
  231. package/dist/scripts/test-zai-with-env.cjs +85 -0
  232. package/dist/scripts/utils/README.md +261 -0
  233. package/dist/scripts/utils/clean-build-artifacts.sh +94 -0
  234. package/dist/scripts/utils/cleanup-root.sh +69 -0
  235. package/dist/scripts/utils/fix-cliffy-imports.js +307 -0
  236. package/dist/scripts/utils/fix-duplicate-imports.js +114 -0
  237. package/dist/scripts/utils/fix-error-handling.cjs +70 -0
  238. package/dist/scripts/utils/fix-import-paths.js +104 -0
  239. package/dist/scripts/utils/fix-imports.js +116 -0
  240. package/dist/scripts/utils/fix-shebang.js +78 -0
  241. package/dist/scripts/utils/fix-test-modules.js +27 -0
  242. package/dist/scripts/utils/fix-timezone-issue-246.js +200 -0
  243. package/dist/scripts/utils/fix-ts-comprehensive.py +182 -0
  244. package/dist/scripts/utils/fix-ts-targeted-batch.js +250 -0
  245. package/dist/scripts/utils/remove-benchmark-conflicts.sh +140 -0
  246. package/dist/scripts/utils/simple-test-fixer.js +190 -0
  247. package/dist/scripts/utils/validate-metrics-structure.cjs +144 -0
  248. package/dist/scripts/validate-agent-hooks.js +506 -0
  249. package/dist/scripts/validate-changelog.js +241 -0
  250. package/dist/scripts/validate-coordination-cli.js +69 -0
  251. package/dist/scripts/validate-coordination-toggle-integration.cjs +501 -0
  252. package/dist/scripts/validate-docker-infrastructure.sh +502 -0
  253. package/dist/scripts/validate-entry-points.js +300 -0
  254. package/dist/scripts/validate-stage3-performance.ts +377 -0
  255. package/dist/scripts/validate-template-bundling.js +180 -0
  256. package/dist/scripts/validation/README.md +33 -0
  257. package/dist/scripts/validation/acl-security-validation.cjs +214 -0
  258. package/dist/scripts/validation/acl-security-validation.js +402 -0
  259. package/dist/scripts/validation/byzantine-verification.js +407 -0
  260. package/dist/scripts/validation/final-phase-2-consensus.cjs +219 -0
  261. package/dist/scripts/validation/final-security-validation.js +791 -0
  262. package/dist/scripts/validation/final-wasm-validation.cjs +840 -0
  263. package/dist/scripts/validation/integration-test-analysis.js +105 -0
  264. package/dist/scripts/validation/phase-0-comprehensive-validation.js +474 -0
  265. package/dist/scripts/validation/phase-0-consensus-report.js +139 -0
  266. package/dist/scripts/validation/phase-0-final-report.js +112 -0
  267. package/dist/scripts/validation/phase-0-redis-consensus-report.js +129 -0
  268. package/dist/scripts/validation/phase-0-validation-improved.js +490 -0
  269. package/dist/scripts/validation/phase-0-validation-test.js +65 -0
  270. package/dist/scripts/validation/phase-1-consensus-report.cjs +342 -0
  271. package/dist/scripts/validation/phase-1-consensus-validation.cjs +551 -0
  272. package/dist/scripts/validation/phase-1-consensus-validation.js +551 -0
  273. package/dist/scripts/validation/phase-2-consensus-report.cjs +186 -0
  274. package/dist/scripts/validation/phase-2-validation.cjs +171 -0
  275. package/dist/scripts/validation/phase-2-validation.js +171 -0
  276. package/dist/scripts/validation/phase-4-consensus-report.js +181 -0
  277. package/dist/scripts/validation/phase-4-final-validation.js +351 -0
  278. package/dist/scripts/validation/phase-5-consensus-report.cjs +113 -0
  279. package/dist/scripts/validation/phase-5-consensus-report.js +113 -0
  280. package/dist/scripts/validation/security-analysis.js +49 -0
  281. package/dist/scripts/validation/security-validation.js +492 -0
  282. package/dist/scripts/validation/simple-security-validation.js +464 -0
  283. package/dist/scripts/verify-installation.js +112 -0
  284. package/dist/scripts/verify-mcp-server.js +86 -0
  285. package/dist/scripts/verify-sdk-phase1.cjs +293 -0
  286. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/clipboard/browser/clipboardService.js +141 -0
  287. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/clipboard/common/clipboardService.js +6 -0
  288. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/commands/common/commands.js +80 -0
  289. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/configuration/common/configuration.js +86 -0
  290. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/configuration/common/configurationModels.js +554 -0
  291. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/configuration/common/configurationRegistry.js +317 -0
  292. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/configuration/common/configurations.js +41 -0
  293. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/contextkey/browser/contextKeyService.js +432 -0
  294. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/contextkey/common/contextkey.js +1547 -0
  295. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/contextkey/common/contextkeys.js +18 -0
  296. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/contextview/browser/contextMenuHandler.js +124 -0
  297. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/contextview/browser/contextMenuService.js +101 -0
  298. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/contextview/browser/contextView.js +7 -0
  299. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/contextview/browser/contextViewService.js +72 -0
  300. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/dialogs/common/dialogs.js +2 -0
  301. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/dnd/browser/dnd.js +36 -0
  302. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/editor/common/editor.js +17 -0
  303. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/environment/common/environment.js +2 -0
  304. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/extensions/common/extensions.js +47 -0
  305. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/files/common/files.js +9 -0
  306. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +105 -0
  307. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/instantiation/common/descriptors.js +11 -0
  308. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/instantiation/common/extensions.js +15 -0
  309. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/keybinding/common/abstractKeybindingService.js +277 -0
  310. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/keybinding/common/baseResolvedKeybinding.js +53 -0
  311. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +354 -0
  312. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/theme/browser/defaultStyles.js +162 -0
  313. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/theme/common/colorRegistry.js +482 -0
  314. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/abap/abap.js +10 -0
  315. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/apex/apex.js +10 -0
  316. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/azcli/azcli.js +10 -0
  317. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/bat/bat.js +10 -0
  318. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/bicep/bicep.js +11 -0
  319. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/cameligo/cameligo.js +10 -0
  320. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/clojure/clojure.js +10 -0
  321. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/coffee/coffee.js +10 -0
  322. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/cpp/cpp.js +10 -0
  323. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/csharp/csharp.js +10 -0
  324. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/csp/csp.js +10 -0
  325. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/css/css.js +12 -0
  326. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/cypher/cypher.js +10 -0
  327. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/dart/dart.js +10 -0
  328. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/dockerfile/dockerfile.js +10 -0
  329. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/ecl/ecl.js +10 -0
  330. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/elixir/elixir.js +10 -0
  331. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/flow9/flow9.js +10 -0
  332. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/editor/editor.main.js +745 -0
  333. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/editor/editor.main.nls.de.js +31 -0
  334. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/editor/editor.main.nls.es.js +31 -0
  335. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/editor/editor.main.nls.fr.js +29 -0
  336. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/editor/editor.main.nls.it.js +29 -0
  337. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/editor/editor.main.nls.ja.js +31 -0
  338. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/editor/editor.main.nls.js +29 -0
  339. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/editor/editor.main.nls.ko.js +29 -0
  340. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/editor/editor.main.nls.ru.js +31 -0
  341. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/editor/editor.main.nls.zh-cn.js +31 -0
  342. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/editor/editor.main.nls.zh-tw.js +29 -0
  343. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/language/css/cssMode.js +13 -0
  344. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/language/css/cssWorker.js +81 -0
  345. package/dist/src/web/frontend/node_modules/.multicast-dns-iKseM9bB/cli.js +64 -0
  346. package/dist/src/web/frontend/node_modules/.multicast-dns-iKseM9bB/example.js +36 -0
  347. package/dist/src/web/frontend/node_modules/.multicast-dns-iKseM9bB/index.js +205 -0
  348. package/dist/src/web/frontend/node_modules/.multicast-dns-iKseM9bB/test.js +260 -0
  349. package/dist/src/web/frontend/node_modules/.nanoid-PAMEV9Hd/async/index.browser.js +34 -0
  350. package/dist/src/web/frontend/node_modules/.nanoid-PAMEV9Hd/async/index.js +35 -0
  351. package/dist/src/web/frontend/node_modules/.nanoid-PAMEV9Hd/async/index.native.js +26 -0
  352. package/dist/src/web/frontend/node_modules/.nanoid-PAMEV9Hd/index.browser.js +34 -0
  353. package/dist/src/web/frontend/node_modules/.nanoid-PAMEV9Hd/index.js +45 -0
  354. package/dist/src/web/frontend/node_modules/.nanoid-PAMEV9Hd/nanoid.js +1 -0
  355. package/dist/src/web/frontend/node_modules/.nanoid-PAMEV9Hd/non-secure/index.js +21 -0
  356. package/dist/src/web/frontend/node_modules/.nanoid-PAMEV9Hd/url-alphabet/index.js +3 -0
  357. package/dist/src/web/frontend/node_modules/.nodemon-QcvNKhKT/bin/nodemon.js +16 -0
  358. package/dist/src/web/frontend/node_modules/.nodemon-QcvNKhKT/lib/cli/index.js +49 -0
  359. package/dist/src/web/frontend/node_modules/.nodemon-QcvNKhKT/lib/cli/parse.js +230 -0
  360. package/dist/src/web/frontend/node_modules/.nodemon-QcvNKhKT/lib/config/command.js +43 -0
  361. package/dist/src/web/frontend/node_modules/.nodemon-QcvNKhKT/lib/config/defaults.js +34 -0
  362. package/dist/src/web/frontend/node_modules/.nodemon-QcvNKhKT/lib/config/exec.js +234 -0
  363. package/dist/src/web/frontend/node_modules/.nodemon-QcvNKhKT/lib/config/index.js +93 -0
  364. package/dist/src/web/frontend/node_modules/.nodemon-QcvNKhKT/lib/config/load.js +225 -0
  365. package/dist/src/web/frontend/node_modules/.nodemon-QcvNKhKT/lib/help/index.js +27 -0
  366. package/dist/src/web/frontend/node_modules/.nodemon-QcvNKhKT/lib/index.js +1 -0
  367. package/dist/src/web/frontend/node_modules/.nodemon-QcvNKhKT/lib/monitor/index.js +4 -0
  368. package/dist/src/web/frontend/node_modules/.nodemon-QcvNKhKT/lib/monitor/match.js +287 -0
  369. package/dist/src/web/frontend/node_modules/.nodemon-QcvNKhKT/lib/monitor/run.js +562 -0
  370. package/dist/src/web/frontend/node_modules/.nodemon-QcvNKhKT/lib/monitor/signals.js +34 -0
  371. package/dist/src/web/frontend/node_modules/.nodemon-QcvNKhKT/lib/monitor/watch.js +244 -0
  372. package/dist/src/web/frontend/node_modules/.nodemon-QcvNKhKT/lib/nodemon.js +317 -0
  373. package/dist/src/web/frontend/node_modules/.nodemon-QcvNKhKT/lib/rules/add.js +89 -0
  374. package/dist/src/web/frontend/node_modules/.nodemon-QcvNKhKT/lib/rules/index.js +53 -0
  375. package/dist/src/web/frontend/node_modules/.nodemon-QcvNKhKT/lib/rules/parse.js +43 -0
  376. package/dist/src/web/frontend/node_modules/.nodemon-QcvNKhKT/lib/spawn.js +74 -0
  377. package/dist/src/web/frontend/node_modules/.nodemon-QcvNKhKT/lib/utils/bus.js +44 -0
  378. package/dist/src/web/frontend/node_modules/.nodemon-QcvNKhKT/lib/utils/clone.js +40 -0
  379. package/dist/src/web/frontend/node_modules/.nodemon-QcvNKhKT/lib/utils/colour.js +26 -0
  380. package/dist/src/web/frontend/node_modules/.nodemon-QcvNKhKT/lib/utils/index.js +103 -0
  381. package/dist/src/web/frontend/node_modules/.nodemon-QcvNKhKT/lib/utils/log.js +82 -0
  382. package/dist/src/web/frontend/node_modules/.nodemon-QcvNKhKT/lib/utils/merge.js +47 -0
  383. package/dist/src/web/frontend/node_modules/.nodemon-QcvNKhKT/lib/version.js +100 -0
  384. package/dist/src/web/frontend/node_modules/.nodemon-QcvNKhKT/node_modules/brace-expansion/index.js +201 -0
  385. package/dist/src/web/frontend/node_modules/.nodemon-QcvNKhKT/node_modules/has-flag/index.js +8 -0
  386. package/dist/src/web/frontend/node_modules/.nodemon-QcvNKhKT/node_modules/minimatch/minimatch.js +947 -0
  387. package/dist/src/web/frontend/node_modules/.nodemon-QcvNKhKT/node_modules/supports-color/browser.js +5 -0
  388. package/dist/src/web/frontend/node_modules/.nodemon-QcvNKhKT/node_modules/supports-color/index.js +131 -0
  389. package/dist/src/web/frontend/node_modules/.pidtree-icfat3SQ/bin/pidtree.js +128 -0
  390. package/dist/src/web/frontend/node_modules/.pidtree-icfat3SQ/index.js +49 -0
  391. package/dist/src/web/frontend/node_modules/.pidtree-icfat3SQ/lib/bin.js +61 -0
  392. package/dist/src/web/frontend/node_modules/.pidtree-icfat3SQ/lib/get.js +45 -0
  393. package/dist/src/web/frontend/node_modules/.pidtree-icfat3SQ/lib/pidtree.js +104 -0
  394. package/dist/src/web/frontend/node_modules/.pidtree-icfat3SQ/lib/ps.js +47 -0
  395. package/dist/src/web/frontend/node_modules/.pidtree-icfat3SQ/lib/wmic.js +49 -0
  396. package/dist/src/web/frontend/node_modules/.prettier-ApZm3b7s/doc.js +1270 -0
  397. package/dist/src/web/frontend/node_modules/.prettier-ApZm3b7s/plugins/acorn.js +15 -0
  398. package/dist/src/web/frontend/node_modules/.prettier-ApZm3b7s/plugins/angular.js +2 -0
  399. package/dist/src/web/frontend/node_modules/.prettier-ApZm3b7s/plugins/babel.js +15 -0
  400. package/dist/src/web/frontend/node_modules/.prettier-ApZm3b7s/plugins/estree.js +36 -0
  401. package/dist/src/web/frontend/node_modules/.prettier-ApZm3b7s/plugins/flow.js +19 -0
  402. package/dist/src/web/frontend/node_modules/.prettier-ApZm3b7s/plugins/glimmer.js +29 -0
  403. package/dist/src/web/frontend/node_modules/.prettier-ApZm3b7s/plugins/graphql.js +29 -0
  404. package/dist/src/web/frontend/node_modules/.prettier-ApZm3b7s/plugins/html.js +22 -0
  405. package/dist/src/web/frontend/node_modules/.prettier-ApZm3b7s/plugins/markdown.js +63 -0
  406. package/dist/src/web/frontend/node_modules/.prettier-ApZm3b7s/plugins/meriyah.js +4 -0
  407. package/dist/src/web/frontend/node_modules/.prettier-ApZm3b7s/plugins/postcss.js +54 -0
  408. package/dist/src/web/frontend/node_modules/.prettier-ApZm3b7s/plugins/typescript.js +20 -0
  409. package/dist/src/web/frontend/node_modules/.prettier-ApZm3b7s/plugins/yaml.js +160 -0
  410. package/dist/src/web/frontend/node_modules/.prettier-ApZm3b7s/standalone.js +34 -0
  411. package/dist/src/web/frontend/node_modules/.react-scripts-OTANyoRb/bin/react-scripts.js +58 -0
  412. package/dist/src/web/frontend/node_modules/.react-scripts-OTANyoRb/config/env.js +112 -0
  413. package/dist/src/web/frontend/node_modules/.react-scripts-OTANyoRb/config/getHttpsConfig.js +74 -0
  414. package/dist/src/web/frontend/node_modules/.react-scripts-OTANyoRb/config/jest/babelTransform.js +37 -0
  415. package/dist/src/web/frontend/node_modules/.react-scripts-OTANyoRb/config/jest/cssTransform.js +22 -0
  416. package/dist/src/web/frontend/node_modules/.react-scripts-OTANyoRb/config/jest/fileTransform.js +40 -0
  417. package/dist/src/web/frontend/node_modules/.react-scripts-OTANyoRb/config/modules.js +142 -0
  418. package/dist/src/web/frontend/node_modules/.react-scripts-OTANyoRb/config/paths.js +153 -0
  419. package/dist/src/web/frontend/node_modules/.react-scripts-OTANyoRb/config/webpack/persistentCache/createEnvironmentHash.js +9 -0
  420. package/dist/src/web/frontend/node_modules/.react-scripts-OTANyoRb/config/webpack.config.js +796 -0
  421. package/dist/src/web/frontend/node_modules/.react-scripts-OTANyoRb/config/webpackDevServer.config.js +135 -0
  422. package/dist/src/web/frontend/node_modules/.react-scripts-OTANyoRb/scripts/build.js +225 -0
  423. package/dist/src/web/frontend/node_modules/.react-scripts-OTANyoRb/scripts/eject.js +340 -0
  424. package/dist/src/web/frontend/node_modules/.react-scripts-OTANyoRb/scripts/init.js +416 -0
  425. package/dist/src/web/frontend/node_modules/.react-scripts-OTANyoRb/scripts/start.js +162 -0
  426. package/dist/src/web/frontend/node_modules/.react-scripts-OTANyoRb/scripts/test.js +129 -0
  427. package/dist/src/web/frontend/node_modules/.react-scripts-OTANyoRb/scripts/utils/createJestConfig.js +152 -0
  428. package/dist/src/web/frontend/node_modules/.react-scripts-OTANyoRb/scripts/utils/verifyTypeScriptSetup.js +298 -0
  429. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/.eslintrc.js +32 -0
  430. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/create-element.js +1 -0
  431. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/async-languages/create-language-async-loader.js +33 -0
  432. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/async-syntax-highlighter.js +165 -0
  433. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/checkForListedLanguage.js +10 -0
  434. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/create-element.js +116 -0
  435. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/default-highlight.js +14 -0
  436. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/1c.js +9 -0
  437. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/abnf.js +9 -0
  438. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/accesslog.js +9 -0
  439. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/actionscript.js +9 -0
  440. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/ada.js +9 -0
  441. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/angelscript.js +9 -0
  442. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/apache.js +9 -0
  443. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/applescript.js +9 -0
  444. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/arcade.js +9 -0
  445. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/arduino.js +9 -0
  446. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/armasm.js +9 -0
  447. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/asciidoc.js +9 -0
  448. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/aspectj.js +9 -0
  449. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/autohotkey.js +9 -0
  450. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/autoit.js +9 -0
  451. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/avrasm.js +9 -0
  452. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/awk.js +9 -0
  453. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/axapta.js +9 -0
  454. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/bash.js +9 -0
  455. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/basic.js +9 -0
  456. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/bnf.js +9 -0
  457. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/brainfuck.js +9 -0
  458. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/c-like.js +9 -0
  459. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/c.js +9 -0
  460. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/cal.js +9 -0
  461. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/capnproto.js +9 -0
  462. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/ceylon.js +9 -0
  463. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/clean.js +9 -0
  464. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/clojure-repl.js +9 -0
  465. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/clojure.js +9 -0
  466. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/cmake.js +9 -0
  467. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/coffeescript.js +9 -0
  468. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/coq.js +9 -0
  469. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/cos.js +9 -0
  470. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/cpp.js +9 -0
  471. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/crmsh.js +9 -0
  472. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/crystal.js +9 -0
  473. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/cs.js +9 -0
  474. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/csharp.js +9 -0
  475. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/csp.js +9 -0
  476. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/css.js +9 -0
  477. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/d.js +9 -0
  478. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/dart.js +9 -0
  479. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/delphi.js +9 -0
  480. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/diff.js +9 -0
  481. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/django.js +9 -0
  482. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/dns.js +9 -0
  483. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/dockerfile.js +9 -0
  484. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/dos.js +9 -0
  485. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/dsconfig.js +9 -0
  486. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/dts.js +9 -0
  487. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/dust.js +9 -0
  488. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/ebnf.js +9 -0
  489. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/elixir.js +9 -0
  490. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/elm.js +9 -0
  491. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/erb.js +9 -0
  492. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/erlang-repl.js +9 -0
  493. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/erlang.js +9 -0
  494. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/excel.js +9 -0
  495. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/fix.js +9 -0
  496. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/flix.js +9 -0
  497. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/fortran.js +9 -0
  498. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/fsharp.js +9 -0
  499. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/gams.js +9 -0
  500. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/gauss.js +9 -0
  501. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/gcode.js +9 -0
  502. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/gherkin.js +9 -0
  503. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/glsl.js +9 -0
  504. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/gml.js +9 -0
  505. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/go.js +9 -0
  506. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/golo.js +9 -0
  507. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/hljs/gradle.js +9 -0
  508. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/abap.js +10 -0
  509. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/abnf.js +10 -0
  510. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/actionscript.js +10 -0
  511. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/ada.js +10 -0
  512. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/agda.js +10 -0
  513. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/al.js +10 -0
  514. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/antlr4.js +10 -0
  515. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/apacheconf.js +10 -0
  516. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/apex.js +10 -0
  517. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/apl.js +10 -0
  518. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/applescript.js +10 -0
  519. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/aql.js +10 -0
  520. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/arduino.js +10 -0
  521. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/arff.js +10 -0
  522. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/armasm.js +10 -0
  523. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/arturo.js +10 -0
  524. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/asciidoc.js +10 -0
  525. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/asm6502.js +10 -0
  526. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/asmatmel.js +10 -0
  527. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/aspnet.js +10 -0
  528. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/autohotkey.js +10 -0
  529. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/autoit.js +10 -0
  530. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/avisynth.js +10 -0
  531. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/avro-idl.js +10 -0
  532. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/awk.js +10 -0
  533. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/bash.js +10 -0
  534. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/basic.js +10 -0
  535. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/batch.js +10 -0
  536. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/bbcode.js +10 -0
  537. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/bbj.js +10 -0
  538. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/bicep.js +10 -0
  539. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/birb.js +10 -0
  540. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/bison.js +10 -0
  541. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/bnf.js +10 -0
  542. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/bqn.js +10 -0
  543. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/brainfuck.js +10 -0
  544. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/brightscript.js +10 -0
  545. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/bro.js +10 -0
  546. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/bsl.js +10 -0
  547. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/c.js +10 -0
  548. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/cfscript.js +10 -0
  549. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/chaiscript.js +10 -0
  550. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/cil.js +10 -0
  551. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/cilkc.js +10 -0
  552. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/cilkcpp.js +10 -0
  553. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/clike.js +10 -0
  554. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/clojure.js +10 -0
  555. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/cmake.js +10 -0
  556. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/cobol.js +10 -0
  557. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/coffeescript.js +10 -0
  558. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/concurnas.js +10 -0
  559. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/cooklang.js +10 -0
  560. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/coq.js +10 -0
  561. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/core.js +9 -0
  562. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/cpp.js +10 -0
  563. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/crystal.js +10 -0
  564. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/csharp.js +10 -0
  565. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/cshtml.js +10 -0
  566. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/csp.js +10 -0
  567. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/css-extras.js +10 -0
  568. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/css.js +10 -0
  569. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/csv.js +10 -0
  570. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/cue.js +10 -0
  571. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/cypher.js +10 -0
  572. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/d.js +10 -0
  573. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/dart.js +10 -0
  574. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/dataweave.js +10 -0
  575. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/dax.js +10 -0
  576. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/dhall.js +10 -0
  577. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/diff.js +10 -0
  578. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/django.js +10 -0
  579. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/dns-zone-file.js +10 -0
  580. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/docker.js +10 -0
  581. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/dot.js +10 -0
  582. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/ebnf.js +10 -0
  583. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/editorconfig.js +10 -0
  584. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/eiffel.js +10 -0
  585. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/ejs.js +10 -0
  586. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/elixir.js +10 -0
  587. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/elm.js +10 -0
  588. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/erb.js +10 -0
  589. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/erlang.js +10 -0
  590. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/etlua.js +10 -0
  591. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/excel-formula.js +10 -0
  592. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/factor.js +10 -0
  593. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/false.js +10 -0
  594. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/firestore-security-rules.js +10 -0
  595. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/flow.js +10 -0
  596. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/fortran.js +10 -0
  597. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/fsharp.js +10 -0
  598. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/ftl.js +10 -0
  599. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/gap.js +10 -0
  600. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/gcode.js +10 -0
  601. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/gdscript.js +10 -0
  602. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/gedcom.js +10 -0
  603. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/gettext.js +10 -0
  604. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/gherkin.js +10 -0
  605. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/git.js +10 -0
  606. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/glsl.js +10 -0
  607. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/gml.js +10 -0
  608. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/gn.js +10 -0
  609. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/go-module.js +10 -0
  610. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/go.js +10 -0
  611. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/gradle.js +10 -0
  612. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/languages/prism/graphql.js +10 -0
  613. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/a11y-dark.js +102 -0
  614. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/a11y-light.js +102 -0
  615. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/agate.js +105 -0
  616. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/an-old-hope.js +102 -0
  617. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/androidstudio.js +87 -0
  618. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/arduino-light.js +119 -0
  619. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/arta.js +106 -0
  620. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/ascetic.js +73 -0
  621. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/atelier-cave-dark.js +108 -0
  622. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/atelier-cave-light.js +108 -0
  623. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/atelier-dune-dark.js +96 -0
  624. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/atelier-dune-light.js +96 -0
  625. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/atelier-estuary-dark.js +108 -0
  626. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/atelier-estuary-light.js +108 -0
  627. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/atelier-forest-dark.js +96 -0
  628. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/atelier-forest-light.js +96 -0
  629. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/atelier-heath-dark.js +96 -0
  630. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/atelier-heath-light.js +96 -0
  631. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/atelier-lakeside-dark.js +96 -0
  632. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/atelier-lakeside-light.js +96 -0
  633. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/atelier-plateau-dark.js +108 -0
  634. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/atelier-plateau-light.js +108 -0
  635. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/atelier-savanna-dark.js +108 -0
  636. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/atelier-savanna-light.js +108 -0
  637. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/atelier-seaside-dark.js +96 -0
  638. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/atelier-seaside-light.js +96 -0
  639. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/atelier-sulphurpool-dark.js +96 -0
  640. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/atelier-sulphurpool-light.js +96 -0
  641. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/atom-one-dark-reasonable.js +147 -0
  642. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/atom-one-dark.js +120 -0
  643. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/atom-one-light.js +120 -0
  644. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/brown-paper.js +97 -0
  645. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/codepen-embed.js +102 -0
  646. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/color-brewer.js +105 -0
  647. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/darcula.js +112 -0
  648. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/dark.js +97 -0
  649. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/darkula.js +7 -0
  650. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/default-style.js +119 -0
  651. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/docco.js +115 -0
  652. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/dracula.js +97 -0
  653. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/far.js +109 -0
  654. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/foundation.js +104 -0
  655. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/github-gist.js +101 -0
  656. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/github.js +122 -0
  657. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/gml.js +118 -0
  658. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/googlecode.js +119 -0
  659. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/gradient-dark.js +137 -0
  660. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/hljs/gradient-light.js +137 -0
  661. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/prism/a11y-dark.js +152 -0
  662. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/prism/a11y-one-light.js +506 -0
  663. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/prism/atom-dark.js +159 -0
  664. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/prism/base16-ateliersulphurpool.light.js +203 -0
  665. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/prism/cb.js +167 -0
  666. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/prism/coldark-cold.js +392 -0
  667. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/prism/coldark-dark.js +392 -0
  668. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/prism/coy-without-shadows.js +188 -0
  669. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/prism/coy.js +255 -0
  670. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/prism/darcula.js +207 -0
  671. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/prism/dark.js +160 -0
  672. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/prism/dracula.js +160 -0
  673. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/prism/duotone-dark.js +224 -0
  674. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/prism/duotone-earth.js +224 -0
  675. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/prism/duotone-forest.js +224 -0
  676. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/prism/duotone-light.js +224 -0
  677. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/prism/duotone-sea.js +224 -0
  678. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/prism/duotone-space.js +224 -0
  679. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/prism/funky.js +167 -0
  680. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/cjs/styles/prism/ghcolors.js +184 -0
  681. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/async-languages/create-language-async-loader.js +26 -0
  682. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/async-syntax-highlighter.js +158 -0
  683. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/checkForListedLanguage.js +4 -0
  684. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/create-element.js +107 -0
  685. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/default-highlight.js +7 -0
  686. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/1c.js +2 -0
  687. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/abnf.js +2 -0
  688. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/accesslog.js +2 -0
  689. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/actionscript.js +2 -0
  690. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/ada.js +2 -0
  691. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/angelscript.js +2 -0
  692. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/apache.js +2 -0
  693. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/applescript.js +2 -0
  694. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/arcade.js +2 -0
  695. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/arduino.js +2 -0
  696. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/armasm.js +2 -0
  697. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/asciidoc.js +2 -0
  698. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/aspectj.js +2 -0
  699. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/autohotkey.js +2 -0
  700. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/autoit.js +2 -0
  701. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/avrasm.js +2 -0
  702. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/awk.js +2 -0
  703. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/axapta.js +2 -0
  704. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/bash.js +2 -0
  705. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/basic.js +2 -0
  706. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/bnf.js +2 -0
  707. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/brainfuck.js +2 -0
  708. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/c-like.js +2 -0
  709. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/c.js +2 -0
  710. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/cal.js +2 -0
  711. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/capnproto.js +2 -0
  712. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/ceylon.js +2 -0
  713. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/clean.js +2 -0
  714. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/clojure-repl.js +2 -0
  715. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/clojure.js +2 -0
  716. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/cmake.js +2 -0
  717. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/coffeescript.js +2 -0
  718. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/coq.js +2 -0
  719. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/cos.js +2 -0
  720. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/cpp.js +2 -0
  721. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/crmsh.js +2 -0
  722. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/crystal.js +2 -0
  723. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/cs.js +2 -0
  724. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/csharp.js +2 -0
  725. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/csp.js +2 -0
  726. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/css.js +2 -0
  727. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/d.js +2 -0
  728. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/dart.js +2 -0
  729. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/delphi.js +2 -0
  730. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/diff.js +2 -0
  731. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/django.js +2 -0
  732. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/dns.js +2 -0
  733. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/dockerfile.js +2 -0
  734. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/dos.js +2 -0
  735. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/dsconfig.js +2 -0
  736. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/dts.js +2 -0
  737. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/dust.js +2 -0
  738. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/ebnf.js +2 -0
  739. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/elixir.js +2 -0
  740. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/elm.js +2 -0
  741. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/erb.js +2 -0
  742. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/erlang-repl.js +2 -0
  743. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/erlang.js +2 -0
  744. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/excel.js +2 -0
  745. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/fix.js +2 -0
  746. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/flix.js +2 -0
  747. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/fortran.js +2 -0
  748. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/fsharp.js +2 -0
  749. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/gams.js +2 -0
  750. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/gauss.js +2 -0
  751. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/gcode.js +2 -0
  752. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/gherkin.js +2 -0
  753. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/glsl.js +2 -0
  754. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/gml.js +2 -0
  755. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/go.js +2 -0
  756. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/golo.js +2 -0
  757. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/hljs/gradle.js +2 -0
  758. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/abap.js +3 -0
  759. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/abnf.js +3 -0
  760. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/actionscript.js +3 -0
  761. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/ada.js +3 -0
  762. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/agda.js +3 -0
  763. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/al.js +3 -0
  764. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/antlr4.js +3 -0
  765. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/apacheconf.js +3 -0
  766. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/apex.js +3 -0
  767. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/apl.js +3 -0
  768. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/applescript.js +3 -0
  769. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/aql.js +3 -0
  770. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/arduino.js +3 -0
  771. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/arff.js +3 -0
  772. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/armasm.js +3 -0
  773. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/arturo.js +3 -0
  774. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/asciidoc.js +3 -0
  775. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/asm6502.js +3 -0
  776. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/asmatmel.js +3 -0
  777. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/aspnet.js +3 -0
  778. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/autohotkey.js +3 -0
  779. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/autoit.js +3 -0
  780. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/avisynth.js +3 -0
  781. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/avro-idl.js +3 -0
  782. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/awk.js +3 -0
  783. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/bash.js +3 -0
  784. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/basic.js +3 -0
  785. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/batch.js +3 -0
  786. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/bbcode.js +3 -0
  787. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/bbj.js +3 -0
  788. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/bicep.js +3 -0
  789. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/birb.js +3 -0
  790. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/bison.js +3 -0
  791. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/bnf.js +3 -0
  792. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/bqn.js +3 -0
  793. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/brainfuck.js +3 -0
  794. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/brightscript.js +3 -0
  795. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/bro.js +3 -0
  796. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/bsl.js +3 -0
  797. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/c.js +3 -0
  798. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/cfscript.js +3 -0
  799. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/chaiscript.js +3 -0
  800. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/cil.js +3 -0
  801. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/cilkc.js +3 -0
  802. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/cilkcpp.js +3 -0
  803. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/clike.js +3 -0
  804. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/clojure.js +3 -0
  805. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/cmake.js +3 -0
  806. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/cobol.js +3 -0
  807. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/coffeescript.js +3 -0
  808. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/concurnas.js +3 -0
  809. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/cooklang.js +3 -0
  810. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/coq.js +3 -0
  811. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/core.js +2 -0
  812. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/cpp.js +3 -0
  813. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/crystal.js +3 -0
  814. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/csharp.js +3 -0
  815. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/cshtml.js +3 -0
  816. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/csp.js +3 -0
  817. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/css-extras.js +3 -0
  818. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/css.js +3 -0
  819. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/csv.js +3 -0
  820. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/cue.js +3 -0
  821. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/cypher.js +3 -0
  822. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/d.js +3 -0
  823. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/dart.js +3 -0
  824. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/dataweave.js +3 -0
  825. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/dax.js +3 -0
  826. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/dhall.js +3 -0
  827. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/diff.js +3 -0
  828. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/django.js +3 -0
  829. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/dns-zone-file.js +3 -0
  830. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/docker.js +3 -0
  831. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/dot.js +3 -0
  832. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/ebnf.js +3 -0
  833. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/editorconfig.js +3 -0
  834. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/eiffel.js +3 -0
  835. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/ejs.js +3 -0
  836. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/elixir.js +3 -0
  837. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/elm.js +3 -0
  838. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/erb.js +3 -0
  839. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/erlang.js +3 -0
  840. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/etlua.js +3 -0
  841. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/excel-formula.js +3 -0
  842. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/factor.js +3 -0
  843. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/false.js +3 -0
  844. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/firestore-security-rules.js +3 -0
  845. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/flow.js +3 -0
  846. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/fortran.js +3 -0
  847. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/fsharp.js +3 -0
  848. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/ftl.js +3 -0
  849. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/gap.js +3 -0
  850. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/gcode.js +3 -0
  851. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/gdscript.js +3 -0
  852. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/gedcom.js +3 -0
  853. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/gettext.js +3 -0
  854. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/gherkin.js +3 -0
  855. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/git.js +3 -0
  856. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/glsl.js +3 -0
  857. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/gml.js +3 -0
  858. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/gn.js +3 -0
  859. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/go-module.js +3 -0
  860. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/go.js +3 -0
  861. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/gradle.js +3 -0
  862. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/languages/prism/graphql.js +3 -0
  863. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/a11y-dark.js +96 -0
  864. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/a11y-light.js +96 -0
  865. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/agate.js +99 -0
  866. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/an-old-hope.js +96 -0
  867. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/androidstudio.js +81 -0
  868. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/arduino-light.js +113 -0
  869. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/arta.js +100 -0
  870. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/ascetic.js +67 -0
  871. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/atelier-cave-dark.js +102 -0
  872. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/atelier-cave-light.js +102 -0
  873. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/atelier-dune-dark.js +90 -0
  874. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/atelier-dune-light.js +90 -0
  875. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/atelier-estuary-dark.js +102 -0
  876. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/atelier-estuary-light.js +102 -0
  877. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/atelier-forest-dark.js +90 -0
  878. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/atelier-forest-light.js +90 -0
  879. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/atelier-heath-dark.js +90 -0
  880. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/atelier-heath-light.js +90 -0
  881. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/atelier-lakeside-dark.js +90 -0
  882. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/atelier-lakeside-light.js +90 -0
  883. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/atelier-plateau-dark.js +102 -0
  884. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/atelier-plateau-light.js +102 -0
  885. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/atelier-savanna-dark.js +102 -0
  886. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/atelier-savanna-light.js +102 -0
  887. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/atelier-seaside-dark.js +90 -0
  888. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/atelier-seaside-light.js +90 -0
  889. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/atelier-sulphurpool-dark.js +90 -0
  890. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/atelier-sulphurpool-light.js +90 -0
  891. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/atom-one-dark-reasonable.js +141 -0
  892. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/atom-one-dark.js +114 -0
  893. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/atom-one-light.js +114 -0
  894. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/brown-paper.js +91 -0
  895. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/codepen-embed.js +96 -0
  896. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/color-brewer.js +99 -0
  897. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/darcula.js +106 -0
  898. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/dark.js +91 -0
  899. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/darkula.js +1 -0
  900. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/default-style.js +113 -0
  901. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/docco.js +109 -0
  902. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/dracula.js +91 -0
  903. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/far.js +103 -0
  904. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/foundation.js +98 -0
  905. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/github-gist.js +95 -0
  906. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/github.js +116 -0
  907. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/gml.js +112 -0
  908. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/googlecode.js +113 -0
  909. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/gradient-dark.js +131 -0
  910. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/hljs/gradient-light.js +131 -0
  911. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/prism/a11y-dark.js +146 -0
  912. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/prism/a11y-one-light.js +500 -0
  913. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/prism/atom-dark.js +153 -0
  914. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/prism/base16-ateliersulphurpool.light.js +197 -0
  915. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/prism/cb.js +161 -0
  916. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/prism/coldark-cold.js +386 -0
  917. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/prism/coldark-dark.js +386 -0
  918. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/prism/coy-without-shadows.js +182 -0
  919. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/prism/coy.js +249 -0
  920. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/prism/darcula.js +201 -0
  921. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/prism/dark.js +154 -0
  922. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/prism/dracula.js +154 -0
  923. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/prism/duotone-dark.js +218 -0
  924. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/prism/duotone-earth.js +218 -0
  925. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/prism/duotone-forest.js +218 -0
  926. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/prism/duotone-light.js +218 -0
  927. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/prism/duotone-sea.js +218 -0
  928. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/prism/duotone-space.js +218 -0
  929. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/prism/funky.js +161 -0
  930. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/dist/esm/styles/prism/ghcolors.js +178 -0
  931. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/scripts/build-languages-highlightjs.js +127 -0
  932. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/scripts/build-languages-refractor.js +130 -0
  933. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/scripts/build-stylesheets-highlightjs.js +131 -0
  934. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/scripts/build-stylesheets-refractor.js +153 -0
  935. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/async-languages/create-language-async-loader.js +6 -0
  936. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/async-syntax-highlighter.js +155 -0
  937. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/checkForListedLanguage.js +4 -0
  938. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/create-element.js +212 -0
  939. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/default-highlight.js +9 -0
  940. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/1c.js +2 -0
  941. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/abnf.js +2 -0
  942. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/accesslog.js +2 -0
  943. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/actionscript.js +2 -0
  944. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/ada.js +2 -0
  945. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/angelscript.js +2 -0
  946. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/apache.js +2 -0
  947. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/applescript.js +2 -0
  948. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/arcade.js +2 -0
  949. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/arduino.js +2 -0
  950. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/armasm.js +2 -0
  951. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/asciidoc.js +2 -0
  952. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/aspectj.js +2 -0
  953. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/autohotkey.js +2 -0
  954. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/autoit.js +2 -0
  955. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/avrasm.js +2 -0
  956. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/awk.js +2 -0
  957. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/axapta.js +2 -0
  958. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/bash.js +2 -0
  959. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/basic.js +2 -0
  960. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/bnf.js +2 -0
  961. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/brainfuck.js +2 -0
  962. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/c-like.js +2 -0
  963. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/c.js +2 -0
  964. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/cal.js +2 -0
  965. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/capnproto.js +2 -0
  966. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/ceylon.js +2 -0
  967. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/clean.js +2 -0
  968. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/clojure-repl.js +2 -0
  969. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/clojure.js +2 -0
  970. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/cmake.js +2 -0
  971. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/coffeescript.js +2 -0
  972. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/coq.js +2 -0
  973. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/cos.js +2 -0
  974. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/cpp.js +2 -0
  975. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/crmsh.js +2 -0
  976. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/crystal.js +2 -0
  977. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/csharp.js +2 -0
  978. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/csp.js +2 -0
  979. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/css.js +2 -0
  980. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/d.js +2 -0
  981. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/dart.js +2 -0
  982. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/delphi.js +2 -0
  983. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/diff.js +2 -0
  984. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/django.js +2 -0
  985. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/dns.js +2 -0
  986. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/dockerfile.js +2 -0
  987. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/dos.js +2 -0
  988. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/dsconfig.js +2 -0
  989. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/dts.js +2 -0
  990. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/dust.js +2 -0
  991. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/ebnf.js +2 -0
  992. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/elixir.js +2 -0
  993. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/elm.js +2 -0
  994. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/erb.js +2 -0
  995. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/erlang-repl.js +2 -0
  996. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/erlang.js +2 -0
  997. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/excel.js +2 -0
  998. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/fix.js +2 -0
  999. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/flix.js +2 -0
  1000. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/fortran.js +2 -0
  1001. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/fsharp.js +2 -0
  1002. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/gams.js +2 -0
  1003. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/gauss.js +2 -0
  1004. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/gcode.js +2 -0
  1005. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/gherkin.js +2 -0
  1006. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/glsl.js +2 -0
  1007. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/gml.js +2 -0
  1008. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/go.js +2 -0
  1009. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/golo.js +2 -0
  1010. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/hljs/gradle.js +2 -0
  1011. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/abap.js +2 -0
  1012. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/abnf.js +2 -0
  1013. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/actionscript.js +2 -0
  1014. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/ada.js +2 -0
  1015. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/agda.js +2 -0
  1016. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/al.js +2 -0
  1017. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/antlr4.js +2 -0
  1018. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/apacheconf.js +2 -0
  1019. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/apex.js +2 -0
  1020. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/apl.js +2 -0
  1021. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/applescript.js +2 -0
  1022. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/aql.js +2 -0
  1023. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/arduino.js +2 -0
  1024. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/arff.js +2 -0
  1025. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/asciidoc.js +2 -0
  1026. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/asm6502.js +2 -0
  1027. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/asmatmel.js +2 -0
  1028. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/aspnet.js +2 -0
  1029. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/autohotkey.js +2 -0
  1030. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/autoit.js +2 -0
  1031. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/avisynth.js +2 -0
  1032. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/avro-idl.js +2 -0
  1033. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/bash.js +2 -0
  1034. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/basic.js +2 -0
  1035. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/batch.js +2 -0
  1036. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/bbcode.js +2 -0
  1037. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/bicep.js +2 -0
  1038. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/birb.js +2 -0
  1039. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/bison.js +2 -0
  1040. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/bnf.js +2 -0
  1041. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/brainfuck.js +2 -0
  1042. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/brightscript.js +2 -0
  1043. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/bro.js +2 -0
  1044. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/bsl.js +2 -0
  1045. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/c.js +2 -0
  1046. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/cfscript.js +2 -0
  1047. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/chaiscript.js +2 -0
  1048. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/cil.js +2 -0
  1049. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/clike.js +2 -0
  1050. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/clojure.js +2 -0
  1051. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/cmake.js +2 -0
  1052. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/cobol.js +2 -0
  1053. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/coffeescript.js +2 -0
  1054. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/concurnas.js +2 -0
  1055. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/coq.js +2 -0
  1056. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/core.js +2 -0
  1057. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/cpp.js +2 -0
  1058. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/crystal.js +2 -0
  1059. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/csharp.js +2 -0
  1060. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/cshtml.js +2 -0
  1061. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/csp.js +2 -0
  1062. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/css-extras.js +2 -0
  1063. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/css.js +2 -0
  1064. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/csv.js +2 -0
  1065. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/cypher.js +2 -0
  1066. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/d.js +2 -0
  1067. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/dart.js +2 -0
  1068. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/dataweave.js +2 -0
  1069. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/dax.js +2 -0
  1070. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/dhall.js +2 -0
  1071. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/diff.js +2 -0
  1072. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/django.js +2 -0
  1073. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/dns-zone-file.js +2 -0
  1074. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/docker.js +2 -0
  1075. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/dot.js +2 -0
  1076. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/ebnf.js +2 -0
  1077. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/editorconfig.js +2 -0
  1078. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/eiffel.js +2 -0
  1079. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/ejs.js +2 -0
  1080. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/elixir.js +2 -0
  1081. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/elm.js +2 -0
  1082. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/erb.js +2 -0
  1083. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/erlang.js +2 -0
  1084. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/etlua.js +2 -0
  1085. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/excel-formula.js +2 -0
  1086. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/factor.js +2 -0
  1087. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/false.js +2 -0
  1088. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/firestore-security-rules.js +2 -0
  1089. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/flow.js +2 -0
  1090. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/fortran.js +2 -0
  1091. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/fsharp.js +2 -0
  1092. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/ftl.js +2 -0
  1093. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/gap.js +2 -0
  1094. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/gcode.js +2 -0
  1095. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/gdscript.js +2 -0
  1096. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/gedcom.js +2 -0
  1097. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/gherkin.js +2 -0
  1098. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/git.js +2 -0
  1099. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/glsl.js +2 -0
  1100. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/gml.js +2 -0
  1101. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/gn.js +2 -0
  1102. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/go-module.js +2 -0
  1103. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/languages/prism/go.js +2 -0
  1104. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/a11y-dark.js +96 -0
  1105. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/a11y-light.js +96 -0
  1106. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/agate.js +99 -0
  1107. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/an-old-hope.js +96 -0
  1108. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/androidstudio.js +81 -0
  1109. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/arduino-light.js +113 -0
  1110. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/arta.js +100 -0
  1111. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/ascetic.js +67 -0
  1112. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/atelier-cave-dark.js +102 -0
  1113. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/atelier-cave-light.js +102 -0
  1114. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/atelier-dune-dark.js +90 -0
  1115. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/atelier-dune-light.js +90 -0
  1116. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/atelier-estuary-dark.js +102 -0
  1117. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/atelier-estuary-light.js +102 -0
  1118. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/atelier-forest-dark.js +90 -0
  1119. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/atelier-forest-light.js +90 -0
  1120. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/atelier-heath-dark.js +90 -0
  1121. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/atelier-heath-light.js +90 -0
  1122. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/atelier-lakeside-dark.js +90 -0
  1123. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/atelier-lakeside-light.js +90 -0
  1124. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/atelier-plateau-dark.js +102 -0
  1125. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/atelier-plateau-light.js +102 -0
  1126. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/atelier-savanna-dark.js +102 -0
  1127. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/atelier-savanna-light.js +102 -0
  1128. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/atelier-seaside-dark.js +90 -0
  1129. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/atelier-seaside-light.js +90 -0
  1130. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/atelier-sulphurpool-dark.js +90 -0
  1131. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/atelier-sulphurpool-light.js +90 -0
  1132. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/atom-one-dark-reasonable.js +141 -0
  1133. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/atom-one-dark.js +114 -0
  1134. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/atom-one-light.js +114 -0
  1135. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/brown-paper.js +91 -0
  1136. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/codepen-embed.js +96 -0
  1137. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/color-brewer.js +99 -0
  1138. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/darcula.js +106 -0
  1139. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/dark.js +91 -0
  1140. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/darkula.js +1 -0
  1141. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/default-style.js +113 -0
  1142. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/docco.js +109 -0
  1143. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/dracula.js +91 -0
  1144. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/far.js +103 -0
  1145. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/foundation.js +98 -0
  1146. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/github-gist.js +95 -0
  1147. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/github.js +116 -0
  1148. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/gml.js +112 -0
  1149. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/googlecode.js +113 -0
  1150. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/gradient-dark.js +131 -0
  1151. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/hljs/gradient-light.js +131 -0
  1152. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/prism/a11y-dark.js +146 -0
  1153. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/prism/a11y-one-light.js +516 -0
  1154. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/prism/atom-dark.js +153 -0
  1155. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/prism/base16-ateliersulphurpool.light.js +197 -0
  1156. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/prism/cb.js +161 -0
  1157. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/prism/coldark-cold.js +386 -0
  1158. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/prism/coldark-dark.js +386 -0
  1159. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/prism/coy-without-shadows.js +182 -0
  1160. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/prism/coy.js +249 -0
  1161. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/prism/darcula.js +201 -0
  1162. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/prism/dark.js +154 -0
  1163. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/prism/dracula.js +154 -0
  1164. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/prism/duotone-dark.js +218 -0
  1165. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/prism/duotone-earth.js +218 -0
  1166. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/prism/duotone-forest.js +218 -0
  1167. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/prism/duotone-light.js +218 -0
  1168. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/prism/duotone-sea.js +218 -0
  1169. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/prism/duotone-space.js +218 -0
  1170. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/prism/funky.js +161 -0
  1171. package/dist/src/web/frontend/node_modules/.react-syntax-highlighter-jZ6XvsrX/src/styles/prism/ghcolors.js +178 -0
  1172. package/dist/src/web/frontend/node_modules/.regjsparser-Rq8jDSa8/parser.js +1823 -0
  1173. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/async.js +3 -0
  1174. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/example/async.js +5 -0
  1175. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/example/sync.js +3 -0
  1176. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/index.js +6 -0
  1177. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/lib/async.js +329 -0
  1178. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/lib/caller.js +8 -0
  1179. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/lib/core.js +12 -0
  1180. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/lib/homedir.js +24 -0
  1181. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/lib/is-core.js +5 -0
  1182. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/lib/node-modules-paths.js +42 -0
  1183. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/lib/normalize-options.js +10 -0
  1184. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/lib/sync.js +208 -0
  1185. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/sync.js +3 -0
  1186. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/core.js +88 -0
  1187. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/dotdot/abc/index.js +2 -0
  1188. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/dotdot/index.js +1 -0
  1189. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/dotdot.js +29 -0
  1190. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/faulty_basedir.js +29 -0
  1191. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/filter.js +34 -0
  1192. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/filter_sync.js +33 -0
  1193. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/home_paths.js +127 -0
  1194. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/home_paths_sync.js +114 -0
  1195. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/mock.js +315 -0
  1196. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/mock_sync.js +214 -0
  1197. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/module_dir/xmodules/aaa/index.js +1 -0
  1198. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/module_dir/ymodules/aaa/index.js +1 -0
  1199. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/module_dir/zmodules/bbb/main.js +1 -0
  1200. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/module_dir.js +56 -0
  1201. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/node-modules-paths.js +143 -0
  1202. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/node_path/x/aaa/index.js +1 -0
  1203. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/node_path/x/ccc/index.js +1 -0
  1204. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/node_path/y/bbb/index.js +1 -0
  1205. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/node_path/y/ccc/index.js +1 -0
  1206. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/node_path.js +70 -0
  1207. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/nonstring.js +9 -0
  1208. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/pathfilter/deep_ref/main.js +0 -0
  1209. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/pathfilter.js +75 -0
  1210. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/precedence/aaa/index.js +1 -0
  1211. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/precedence/aaa/main.js +1 -0
  1212. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/precedence/aaa.js +1 -0
  1213. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/precedence/bbb/main.js +1 -0
  1214. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/precedence/bbb.js +1 -0
  1215. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/precedence.js +23 -0
  1216. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/resolver/baz/doom.js +0 -0
  1217. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/resolver/baz/quux.js +1 -0
  1218. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/resolver/browser_field/a.js +0 -0
  1219. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/resolver/browser_field/b.js +0 -0
  1220. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/resolver/dot_main/index.js +1 -0
  1221. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/resolver/dot_slash_main/index.js +1 -0
  1222. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/resolver/false_main/index.js +0 -0
  1223. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/resolver/foo.js +1 -0
  1224. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/resolver/incorrect_main/index.js +2 -0
  1225. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/resolver/mug.js +0 -0
  1226. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/resolver/multirepo/packages/package-a/index.js +35 -0
  1227. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/resolver/multirepo/packages/package-b/index.js +0 -0
  1228. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/resolver/nested_symlinks/mylib/async.js +26 -0
  1229. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/resolver/nested_symlinks/mylib/sync.js +12 -0
  1230. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/resolver/other_path/lib/other-lib.js +0 -0
  1231. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/resolver/other_path/root.js +0 -0
  1232. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/resolver/quux/foo/index.js +1 -0
  1233. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/resolver/same_names/foo/index.js +1 -0
  1234. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/resolver/same_names/foo.js +1 -0
  1235. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/resolver/symlinked/_/node_modules/foo.js +0 -0
  1236. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/resolver/symlinked/package/bar.js +1 -0
  1237. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/resolver/without_basedir/main.js +5 -0
  1238. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/resolver.js +597 -0
  1239. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/resolver_sync.js +730 -0
  1240. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/shadowed_core/node_modules/util/index.js +0 -0
  1241. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/shadowed_core.js +54 -0
  1242. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/subdirs.js +13 -0
  1243. package/dist/src/web/frontend/node_modules/.resolve-RLsCexwc/test/symlinks.js +176 -0
  1244. package/dist/src/web/frontend/node_modules/.rimraf-zmuTtFd7/bin.js +68 -0
  1245. package/dist/src/web/frontend/node_modules/.rimraf-zmuTtFd7/rimraf.js +360 -0
  1246. package/dist/src/web/frontend/node_modules/.rollup-hZbq6wcw/dist/es/rollup.browser.js +10 -0
  1247. package/dist/src/web/frontend/node_modules/.rollup-hZbq6wcw/dist/es/rollup.js +16 -0
  1248. package/dist/src/web/frontend/node_modules/.rollup-hZbq6wcw/dist/es/shared/rollup.js +23954 -0
  1249. package/dist/src/web/frontend/node_modules/.rollup-hZbq6wcw/dist/es/shared/watch.js +5003 -0
  1250. package/dist/src/web/frontend/node_modules/.rollup-hZbq6wcw/dist/loadConfigFile.js +27 -0
  1251. package/dist/src/web/frontend/node_modules/.rollup-hZbq6wcw/dist/rollup.browser.js +11 -0
  1252. package/dist/src/web/frontend/node_modules/.rollup-hZbq6wcw/dist/rollup.js +28 -0
  1253. package/dist/src/web/frontend/node_modules/.rollup-hZbq6wcw/dist/shared/index.js +4568 -0
  1254. package/dist/src/web/frontend/node_modules/.rollup-hZbq6wcw/dist/shared/loadConfigFile.js +670 -0
  1255. package/dist/src/web/frontend/node_modules/.rollup-hZbq6wcw/dist/shared/mergeOptions.js +180 -0
  1256. package/dist/src/web/frontend/node_modules/.rollup-hZbq6wcw/dist/shared/rollup.js +23992 -0
  1257. package/dist/src/web/frontend/node_modules/.rollup-hZbq6wcw/dist/shared/watch-cli.js +511 -0
  1258. package/dist/src/web/frontend/node_modules/.rollup-hZbq6wcw/dist/shared/watch.js +307 -0
  1259. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/bundles/rxjs.umd.js +6849 -0
  1260. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/bundles/rxjs.umd.min.js +195 -0
  1261. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/ajax/index.js +11 -0
  1262. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/fetch/index.js +6 -0
  1263. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/index.js +358 -0
  1264. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/AnyCatcher.js +3 -0
  1265. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/AsyncSubject.js +56 -0
  1266. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/BehaviorSubject.js +53 -0
  1267. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/Notification.js +76 -0
  1268. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/NotificationFactories.js +21 -0
  1269. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/Observable.js +105 -0
  1270. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/Operator.js +3 -0
  1271. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/ajax/AjaxResponse.js +32 -0
  1272. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/ajax/ajax.js +253 -0
  1273. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/ajax/errors.js +33 -0
  1274. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/ajax/getXHRResponse.js +30 -0
  1275. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/config.js +11 -0
  1276. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/firstValueFrom.js +28 -0
  1277. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/lastValueFrom.js +31 -0
  1278. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/observable/ConnectableObservable.js +80 -0
  1279. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/observable/bindCallback.js +9 -0
  1280. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/observable/bindCallbackInternals.js +103 -0
  1281. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/observable/bindNodeCallback.js +9 -0
  1282. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/observable/combineLatest.js +75 -0
  1283. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/observable/concat.js +15 -0
  1284. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/observable/connectable.js +31 -0
  1285. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/observable/defer.js +12 -0
  1286. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/observable/dom/animationFrames.js +38 -0
  1287. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/observable/dom/fetch.js +79 -0
  1288. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/observable/empty.js +13 -0
  1289. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/observable/forkJoin.js +51 -0
  1290. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/observable/from.js +10 -0
  1291. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/observable/fromEvent.js +78 -0
  1292. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/observable/fromEventPattern.js +24 -0
  1293. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/observable/fromSubscribable.js +9 -0
  1294. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/observable/generate.js +79 -0
  1295. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/observable/iif.js +9 -0
  1296. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/observable/innerFrom.js +206 -0
  1297. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/observable/interval.js +15 -0
  1298. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/observable/merge.js +27 -0
  1299. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/observable/never.js +11 -0
  1300. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/observable/of.js +15 -0
  1301. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/observable/onErrorResumeNext.js +39 -0
  1302. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/observable/pairs.js +9 -0
  1303. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/observable/partition.js +11 -0
  1304. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/observable/race.js +37 -0
  1305. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/observable/range.js +39 -0
  1306. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/observable/throwError.js +12 -0
  1307. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/observable/timer.js +40 -0
  1308. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/OperatorSubscriber.js +79 -0
  1309. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/audit.js +41 -0
  1310. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/auditTime.js +12 -0
  1311. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/buffer.js +26 -0
  1312. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/bufferCount.js +85 -0
  1313. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/bufferTime.js +91 -0
  1314. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/bufferToggle.js +59 -0
  1315. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/bufferWhen.js +27 -0
  1316. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/catchError.js +31 -0
  1317. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/combineAll.js +6 -0
  1318. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/combineLatest.js +44 -0
  1319. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/combineLatestAll.js +10 -0
  1320. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/combineLatestWith.js +34 -0
  1321. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/concat.js +40 -0
  1322. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/concatAll.js +9 -0
  1323. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/concatMap.js +10 -0
  1324. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/concatMapTo.js +10 -0
  1325. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/concatWith.js +34 -0
  1326. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/connect.js +21 -0
  1327. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/count.js +9 -0
  1328. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/debounce.js +38 -0
  1329. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/debounceTime.js +48 -0
  1330. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/defaultIfEmpty.js +21 -0
  1331. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/delay.js +13 -0
  1332. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/delayWhen.js +19 -0
  1333. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/dematerialize.js +13 -0
  1334. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/distinct.js +22 -0
  1335. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/distinctUntilChanged.js +27 -0
  1336. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/distinctUntilKeyChanged.js +9 -0
  1337. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/elementAt.js +19 -0
  1338. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/endWith.js +35 -0
  1339. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/every.js +21 -0
  1340. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/exhaust.js +6 -0
  1341. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/exhaustAll.js +10 -0
  1342. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/exhaustMap.js +33 -0
  1343. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/expand.js +14 -0
  1344. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/filter.js +13 -0
  1345. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/finalize.js +16 -0
  1346. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/find.js +27 -0
  1347. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/findIndex.js +10 -0
  1348. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/first.js +17 -0
  1349. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/flatMap.js +6 -0
  1350. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/groupBy.js +67 -0
  1351. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/ignoreElements.js +13 -0
  1352. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/isEmpty.js +18 -0
  1353. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/joinAllInternals.js +13 -0
  1354. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/last.js +17 -0
  1355. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/map.js +15 -0
  1356. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/mapTo.js +9 -0
  1357. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/materialize.js +21 -0
  1358. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/max.js +10 -0
  1359. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/merge.js +41 -0
  1360. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/mergeAll.js +11 -0
  1361. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/mergeInternals.js +65 -0
  1362. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/mergeMap.js +20 -0
  1363. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/mergeMapTo.js +17 -0
  1364. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/mergeScan.js +16 -0
  1365. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/mergeWith.js +34 -0
  1366. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/min.js +10 -0
  1367. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/multicast.js +17 -0
  1368. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/observeOn.js +14 -0
  1369. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/onErrorResumeNextWith.js +37 -0
  1370. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/pairwise.js +19 -0
  1371. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/partition.js +12 -0
  1372. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/pluck.js +29 -0
  1373. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/publish.js +11 -0
  1374. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/publishBehavior.js +13 -0
  1375. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/publishLast.js +13 -0
  1376. package/dist/src/web/frontend/node_modules/.rxjs-i8W7PyKW/dist/cjs/internal/operators/publishReplay.js +15 -0
  1377. package/package.json +3 -2
@@ -0,0 +1,5003 @@
1
+ /*
2
+ @license
3
+ Rollup.js v2.79.2
4
+ Thu, 26 Sep 2024 18:44:14 GMT - commit 48aef33cf2f2a6dfb175afb3bcd6a977c81f1d5c
5
+
6
+ https://github.com/rollup/rollup
7
+
8
+ Released under the MIT License.
9
+ */
10
+ import require$$0$2, { resolve } from 'path';
11
+ import process$1 from 'process';
12
+ import { ensureArray, warnUnknownOptions, defaultOnWarn, objectifyOptionWithPresets, treeshakePresets, objectifyOption, generatedCodePresets, picomatch as picomatch$2, getAugmentedNamespace, fseventsImporter, createFilter, rollupInternal } from './rollup.js';
13
+ import require$$2$1, { platform } from 'os';
14
+ import require$$0$1 from 'fs';
15
+ import require$$2 from 'util';
16
+ import require$$1 from 'stream';
17
+ import require$$0$3 from 'events';
18
+ import 'perf_hooks';
19
+ import 'crypto';
20
+
21
+ const commandAliases = {
22
+ c: 'config',
23
+ d: 'dir',
24
+ e: 'external',
25
+ f: 'format',
26
+ g: 'globals',
27
+ h: 'help',
28
+ i: 'input',
29
+ m: 'sourcemap',
30
+ n: 'name',
31
+ o: 'file',
32
+ p: 'plugin',
33
+ v: 'version',
34
+ w: 'watch'
35
+ };
36
+ function mergeOptions(config, rawCommandOptions = { external: [], globals: undefined }, defaultOnWarnHandler = defaultOnWarn) {
37
+ const command = getCommandOptions(rawCommandOptions);
38
+ const inputOptions = mergeInputOptions(config, command, defaultOnWarnHandler);
39
+ const warn = inputOptions.onwarn;
40
+ if (command.output) {
41
+ Object.assign(command, command.output);
42
+ }
43
+ const outputOptionsArray = ensureArray(config.output);
44
+ if (outputOptionsArray.length === 0)
45
+ outputOptionsArray.push({});
46
+ const outputOptions = outputOptionsArray.map(singleOutputOptions => mergeOutputOptions(singleOutputOptions, command, warn));
47
+ warnUnknownOptions(command, Object.keys(inputOptions).concat(Object.keys(outputOptions[0]).filter(option => option !== 'sourcemapPathTransform'), Object.keys(commandAliases), 'config', 'environment', 'plugin', 'silent', 'failAfterWarnings', 'stdin', 'waitForBundleInput', 'configPlugin'), 'CLI flags', warn, /^_$|output$|config/);
48
+ inputOptions.output = outputOptions;
49
+ return inputOptions;
50
+ }
51
+ function getCommandOptions(rawCommandOptions) {
52
+ const external = rawCommandOptions.external && typeof rawCommandOptions.external === 'string'
53
+ ? rawCommandOptions.external.split(',')
54
+ : [];
55
+ return {
56
+ ...rawCommandOptions,
57
+ external,
58
+ globals: typeof rawCommandOptions.globals === 'string'
59
+ ? rawCommandOptions.globals.split(',').reduce((globals, globalDefinition) => {
60
+ const [id, variableName] = globalDefinition.split(':');
61
+ globals[id] = variableName;
62
+ if (!external.includes(id)) {
63
+ external.push(id);
64
+ }
65
+ return globals;
66
+ }, Object.create(null))
67
+ : undefined
68
+ };
69
+ }
70
+ function mergeInputOptions(config, overrides, defaultOnWarnHandler) {
71
+ const getOption = (name) => { var _a; return (_a = overrides[name]) !== null && _a !== void 0 ? _a : config[name]; };
72
+ const inputOptions = {
73
+ acorn: getOption('acorn'),
74
+ acornInjectPlugins: config.acornInjectPlugins,
75
+ cache: config.cache,
76
+ context: getOption('context'),
77
+ experimentalCacheExpiry: getOption('experimentalCacheExpiry'),
78
+ external: getExternal(config, overrides),
79
+ inlineDynamicImports: getOption('inlineDynamicImports'),
80
+ input: getOption('input') || [],
81
+ makeAbsoluteExternalsRelative: getOption('makeAbsoluteExternalsRelative'),
82
+ manualChunks: getOption('manualChunks'),
83
+ maxParallelFileOps: getOption('maxParallelFileOps'),
84
+ maxParallelFileReads: getOption('maxParallelFileReads'),
85
+ moduleContext: getOption('moduleContext'),
86
+ onwarn: getOnWarn(config, defaultOnWarnHandler),
87
+ perf: getOption('perf'),
88
+ plugins: ensureArray(config.plugins),
89
+ preserveEntrySignatures: getOption('preserveEntrySignatures'),
90
+ preserveModules: getOption('preserveModules'),
91
+ preserveSymlinks: getOption('preserveSymlinks'),
92
+ shimMissingExports: getOption('shimMissingExports'),
93
+ strictDeprecations: getOption('strictDeprecations'),
94
+ treeshake: getObjectOption(config, overrides, 'treeshake', objectifyOptionWithPresets(treeshakePresets, 'treeshake', 'false, true, ')),
95
+ watch: getWatch(config, overrides)
96
+ };
97
+ warnUnknownOptions(config, Object.keys(inputOptions), 'input options', inputOptions.onwarn, /^output$/);
98
+ return inputOptions;
99
+ }
100
+ const getExternal = (config, overrides) => {
101
+ const configExternal = config.external;
102
+ return typeof configExternal === 'function'
103
+ ? (source, importer, isResolved) => configExternal(source, importer, isResolved) || overrides.external.includes(source)
104
+ : ensureArray(configExternal).concat(overrides.external);
105
+ };
106
+ const getOnWarn = (config, defaultOnWarnHandler) => config.onwarn
107
+ ? warning => config.onwarn(warning, defaultOnWarnHandler)
108
+ : defaultOnWarnHandler;
109
+ const getObjectOption = (config, overrides, name, objectifyValue = objectifyOption) => {
110
+ const commandOption = normalizeObjectOptionValue(overrides[name], objectifyValue);
111
+ const configOption = normalizeObjectOptionValue(config[name], objectifyValue);
112
+ if (commandOption !== undefined) {
113
+ return commandOption && { ...configOption, ...commandOption };
114
+ }
115
+ return configOption;
116
+ };
117
+ const getWatch = (config, overrides) => config.watch !== false && getObjectOption(config, overrides, 'watch');
118
+ const normalizeObjectOptionValue = (optionValue, objectifyValue) => {
119
+ if (!optionValue) {
120
+ return optionValue;
121
+ }
122
+ if (Array.isArray(optionValue)) {
123
+ return optionValue.reduce((result, value) => value && result && { ...result, ...objectifyValue(value) }, {});
124
+ }
125
+ return objectifyValue(optionValue);
126
+ };
127
+ function mergeOutputOptions(config, overrides, warn) {
128
+ const getOption = (name) => { var _a; return (_a = overrides[name]) !== null && _a !== void 0 ? _a : config[name]; };
129
+ const outputOptions = {
130
+ amd: getObjectOption(config, overrides, 'amd'),
131
+ assetFileNames: getOption('assetFileNames'),
132
+ banner: getOption('banner'),
133
+ chunkFileNames: getOption('chunkFileNames'),
134
+ compact: getOption('compact'),
135
+ dir: getOption('dir'),
136
+ dynamicImportFunction: getOption('dynamicImportFunction'),
137
+ entryFileNames: getOption('entryFileNames'),
138
+ esModule: getOption('esModule'),
139
+ exports: getOption('exports'),
140
+ extend: getOption('extend'),
141
+ externalLiveBindings: getOption('externalLiveBindings'),
142
+ file: getOption('file'),
143
+ footer: getOption('footer'),
144
+ format: getOption('format'),
145
+ freeze: getOption('freeze'),
146
+ generatedCode: getObjectOption(config, overrides, 'generatedCode', objectifyOptionWithPresets(generatedCodePresets, 'output.generatedCode', '')),
147
+ globals: getOption('globals'),
148
+ hoistTransitiveImports: getOption('hoistTransitiveImports'),
149
+ indent: getOption('indent'),
150
+ inlineDynamicImports: getOption('inlineDynamicImports'),
151
+ interop: getOption('interop'),
152
+ intro: getOption('intro'),
153
+ manualChunks: getOption('manualChunks'),
154
+ minifyInternalExports: getOption('minifyInternalExports'),
155
+ name: getOption('name'),
156
+ namespaceToStringTag: getOption('namespaceToStringTag'),
157
+ noConflict: getOption('noConflict'),
158
+ outro: getOption('outro'),
159
+ paths: getOption('paths'),
160
+ plugins: ensureArray(config.plugins),
161
+ preferConst: getOption('preferConst'),
162
+ preserveModules: getOption('preserveModules'),
163
+ preserveModulesRoot: getOption('preserveModulesRoot'),
164
+ sanitizeFileName: getOption('sanitizeFileName'),
165
+ sourcemap: getOption('sourcemap'),
166
+ sourcemapBaseUrl: getOption('sourcemapBaseUrl'),
167
+ sourcemapExcludeSources: getOption('sourcemapExcludeSources'),
168
+ sourcemapFile: getOption('sourcemapFile'),
169
+ sourcemapPathTransform: getOption('sourcemapPathTransform'),
170
+ strict: getOption('strict'),
171
+ systemNullSetters: getOption('systemNullSetters'),
172
+ validate: getOption('validate')
173
+ };
174
+ warnUnknownOptions(config, Object.keys(outputOptions), 'output options', warn);
175
+ return outputOptions;
176
+ }
177
+
178
+ var chokidar = {};
179
+
180
+ const fs$3 = require$$0$1;
181
+ const { Readable } = require$$1;
182
+ const sysPath$3 = require$$0$2;
183
+ const { promisify: promisify$3 } = require$$2;
184
+ const picomatch$1 = picomatch$2.exports;
185
+
186
+ const readdir$1 = promisify$3(fs$3.readdir);
187
+ const stat$3 = promisify$3(fs$3.stat);
188
+ const lstat$2 = promisify$3(fs$3.lstat);
189
+ const realpath$1 = promisify$3(fs$3.realpath);
190
+
191
+ /**
192
+ * @typedef {Object} EntryInfo
193
+ * @property {String} path
194
+ * @property {String} fullPath
195
+ * @property {fs.Stats=} stats
196
+ * @property {fs.Dirent=} dirent
197
+ * @property {String} basename
198
+ */
199
+
200
+ const BANG$2 = '!';
201
+ const RECURSIVE_ERROR_CODE = 'READDIRP_RECURSIVE_ERROR';
202
+ const NORMAL_FLOW_ERRORS = new Set(['ENOENT', 'EPERM', 'EACCES', 'ELOOP', RECURSIVE_ERROR_CODE]);
203
+ const FILE_TYPE = 'files';
204
+ const DIR_TYPE = 'directories';
205
+ const FILE_DIR_TYPE = 'files_directories';
206
+ const EVERYTHING_TYPE = 'all';
207
+ const ALL_TYPES = [FILE_TYPE, DIR_TYPE, FILE_DIR_TYPE, EVERYTHING_TYPE];
208
+
209
+ const isNormalFlowError = error => NORMAL_FLOW_ERRORS.has(error.code);
210
+ const [maj, min] = process.versions.node.split('.').slice(0, 2).map(n => Number.parseInt(n, 10));
211
+ const wantBigintFsStats = process.platform === 'win32' && (maj > 10 || (maj === 10 && min >= 5));
212
+
213
+ const normalizeFilter = filter => {
214
+ if (filter === undefined) return;
215
+ if (typeof filter === 'function') return filter;
216
+
217
+ if (typeof filter === 'string') {
218
+ const glob = picomatch$1(filter.trim());
219
+ return entry => glob(entry.basename);
220
+ }
221
+
222
+ if (Array.isArray(filter)) {
223
+ const positive = [];
224
+ const negative = [];
225
+ for (const item of filter) {
226
+ const trimmed = item.trim();
227
+ if (trimmed.charAt(0) === BANG$2) {
228
+ negative.push(picomatch$1(trimmed.slice(1)));
229
+ } else {
230
+ positive.push(picomatch$1(trimmed));
231
+ }
232
+ }
233
+
234
+ if (negative.length > 0) {
235
+ if (positive.length > 0) {
236
+ return entry =>
237
+ positive.some(f => f(entry.basename)) && !negative.some(f => f(entry.basename));
238
+ }
239
+ return entry => !negative.some(f => f(entry.basename));
240
+ }
241
+ return entry => positive.some(f => f(entry.basename));
242
+ }
243
+ };
244
+
245
+ class ReaddirpStream extends Readable {
246
+ static get defaultOptions() {
247
+ return {
248
+ root: '.',
249
+ /* eslint-disable no-unused-vars */
250
+ fileFilter: (path) => true,
251
+ directoryFilter: (path) => true,
252
+ /* eslint-enable no-unused-vars */
253
+ type: FILE_TYPE,
254
+ lstat: false,
255
+ depth: 2147483648,
256
+ alwaysStat: false
257
+ };
258
+ }
259
+
260
+ constructor(options = {}) {
261
+ super({
262
+ objectMode: true,
263
+ autoDestroy: true,
264
+ highWaterMark: options.highWaterMark || 4096
265
+ });
266
+ const opts = { ...ReaddirpStream.defaultOptions, ...options };
267
+ const { root, type } = opts;
268
+
269
+ this._fileFilter = normalizeFilter(opts.fileFilter);
270
+ this._directoryFilter = normalizeFilter(opts.directoryFilter);
271
+
272
+ const statMethod = opts.lstat ? lstat$2 : stat$3;
273
+ // Use bigint stats if it's windows and stat() supports options (node 10+).
274
+ if (wantBigintFsStats) {
275
+ this._stat = path => statMethod(path, { bigint: true });
276
+ } else {
277
+ this._stat = statMethod;
278
+ }
279
+
280
+ this._maxDepth = opts.depth;
281
+ this._wantsDir = [DIR_TYPE, FILE_DIR_TYPE, EVERYTHING_TYPE].includes(type);
282
+ this._wantsFile = [FILE_TYPE, FILE_DIR_TYPE, EVERYTHING_TYPE].includes(type);
283
+ this._wantsEverything = type === EVERYTHING_TYPE;
284
+ this._root = sysPath$3.resolve(root);
285
+ this._isDirent = ('Dirent' in fs$3) && !opts.alwaysStat;
286
+ this._statsProp = this._isDirent ? 'dirent' : 'stats';
287
+ this._rdOptions = { encoding: 'utf8', withFileTypes: this._isDirent };
288
+
289
+ // Launch stream with one parent, the root dir.
290
+ this.parents = [this._exploreDir(root, 1)];
291
+ this.reading = false;
292
+ this.parent = undefined;
293
+ }
294
+
295
+ async _read(batch) {
296
+ if (this.reading) return;
297
+ this.reading = true;
298
+
299
+ try {
300
+ while (!this.destroyed && batch > 0) {
301
+ const { path, depth, files = [] } = this.parent || {};
302
+
303
+ if (files.length > 0) {
304
+ const slice = files.splice(0, batch).map(dirent => this._formatEntry(dirent, path));
305
+ for (const entry of await Promise.all(slice)) {
306
+ if (this.destroyed) return;
307
+
308
+ const entryType = await this._getEntryType(entry);
309
+ if (entryType === 'directory' && this._directoryFilter(entry)) {
310
+ if (depth <= this._maxDepth) {
311
+ this.parents.push(this._exploreDir(entry.fullPath, depth + 1));
312
+ }
313
+
314
+ if (this._wantsDir) {
315
+ this.push(entry);
316
+ batch--;
317
+ }
318
+ } else if ((entryType === 'file' || this._includeAsFile(entry)) && this._fileFilter(entry)) {
319
+ if (this._wantsFile) {
320
+ this.push(entry);
321
+ batch--;
322
+ }
323
+ }
324
+ }
325
+ } else {
326
+ const parent = this.parents.pop();
327
+ if (!parent) {
328
+ this.push(null);
329
+ break;
330
+ }
331
+ this.parent = await parent;
332
+ if (this.destroyed) return;
333
+ }
334
+ }
335
+ } catch (error) {
336
+ this.destroy(error);
337
+ } finally {
338
+ this.reading = false;
339
+ }
340
+ }
341
+
342
+ async _exploreDir(path, depth) {
343
+ let files;
344
+ try {
345
+ files = await readdir$1(path, this._rdOptions);
346
+ } catch (error) {
347
+ this._onError(error);
348
+ }
349
+ return { files, depth, path };
350
+ }
351
+
352
+ async _formatEntry(dirent, path) {
353
+ let entry;
354
+ try {
355
+ const basename = this._isDirent ? dirent.name : dirent;
356
+ const fullPath = sysPath$3.resolve(sysPath$3.join(path, basename));
357
+ entry = { path: sysPath$3.relative(this._root, fullPath), fullPath, basename };
358
+ entry[this._statsProp] = this._isDirent ? dirent : await this._stat(fullPath);
359
+ } catch (err) {
360
+ this._onError(err);
361
+ }
362
+ return entry;
363
+ }
364
+
365
+ _onError(err) {
366
+ if (isNormalFlowError(err) && !this.destroyed) {
367
+ this.emit('warn', err);
368
+ } else {
369
+ this.destroy(err);
370
+ }
371
+ }
372
+
373
+ async _getEntryType(entry) {
374
+ // entry may be undefined, because a warning or an error were emitted
375
+ // and the statsProp is undefined
376
+ const stats = entry && entry[this._statsProp];
377
+ if (!stats) {
378
+ return;
379
+ }
380
+ if (stats.isFile()) {
381
+ return 'file';
382
+ }
383
+ if (stats.isDirectory()) {
384
+ return 'directory';
385
+ }
386
+ if (stats && stats.isSymbolicLink()) {
387
+ const full = entry.fullPath;
388
+ try {
389
+ const entryRealPath = await realpath$1(full);
390
+ const entryRealPathStats = await lstat$2(entryRealPath);
391
+ if (entryRealPathStats.isFile()) {
392
+ return 'file';
393
+ }
394
+ if (entryRealPathStats.isDirectory()) {
395
+ const len = entryRealPath.length;
396
+ if (full.startsWith(entryRealPath) && full.substr(len, 1) === sysPath$3.sep) {
397
+ const recursiveError = new Error(
398
+ `Circular symlink detected: "${full}" points to "${entryRealPath}"`
399
+ );
400
+ recursiveError.code = RECURSIVE_ERROR_CODE;
401
+ return this._onError(recursiveError);
402
+ }
403
+ return 'directory';
404
+ }
405
+ } catch (error) {
406
+ this._onError(error);
407
+ }
408
+ }
409
+ }
410
+
411
+ _includeAsFile(entry) {
412
+ const stats = entry && entry[this._statsProp];
413
+
414
+ return stats && this._wantsEverything && !stats.isDirectory();
415
+ }
416
+ }
417
+
418
+ /**
419
+ * @typedef {Object} ReaddirpArguments
420
+ * @property {Function=} fileFilter
421
+ * @property {Function=} directoryFilter
422
+ * @property {String=} type
423
+ * @property {Number=} depth
424
+ * @property {String=} root
425
+ * @property {Boolean=} lstat
426
+ * @property {Boolean=} bigint
427
+ */
428
+
429
+ /**
430
+ * Main function which ends up calling readdirRec and reads all files and directories in given root recursively.
431
+ * @param {String} root Root directory
432
+ * @param {ReaddirpArguments=} options Options to specify root (start directory), filters and recursion depth
433
+ */
434
+ const readdirp$1 = (root, options = {}) => {
435
+ let type = options.entryType || options.type;
436
+ if (type === 'both') type = FILE_DIR_TYPE; // backwards-compatibility
437
+ if (type) options.type = type;
438
+ if (!root) {
439
+ throw new Error('readdirp: root argument is required. Usage: readdirp(root, options)');
440
+ } else if (typeof root !== 'string') {
441
+ throw new TypeError('readdirp: root argument must be a string. Usage: readdirp(root, options)');
442
+ } else if (type && !ALL_TYPES.includes(type)) {
443
+ throw new Error(`readdirp: Invalid type passed. Use one of ${ALL_TYPES.join(', ')}`);
444
+ }
445
+
446
+ options.root = root;
447
+ return new ReaddirpStream(options);
448
+ };
449
+
450
+ const readdirpPromise = (root, options = {}) => {
451
+ return new Promise((resolve, reject) => {
452
+ const files = [];
453
+ readdirp$1(root, options)
454
+ .on('data', entry => files.push(entry))
455
+ .on('end', () => resolve(files))
456
+ .on('error', error => reject(error));
457
+ });
458
+ };
459
+
460
+ readdirp$1.promise = readdirpPromise;
461
+ readdirp$1.ReaddirpStream = ReaddirpStream;
462
+ readdirp$1.default = readdirp$1;
463
+
464
+ var readdirp_1 = readdirp$1;
465
+
466
+ var anymatch$2 = {exports: {}};
467
+
468
+ /*!
469
+ * normalize-path <https://github.com/jonschlinkert/normalize-path>
470
+ *
471
+ * Copyright (c) 2014-2018, Jon Schlinkert.
472
+ * Released under the MIT License.
473
+ */
474
+
475
+ var normalizePath$2 = function(path, stripTrailing) {
476
+ if (typeof path !== 'string') {
477
+ throw new TypeError('expected path to be a string');
478
+ }
479
+
480
+ if (path === '\\' || path === '/') return '/';
481
+
482
+ var len = path.length;
483
+ if (len <= 1) return path;
484
+
485
+ // ensure that win32 namespaces has two leading slashes, so that the path is
486
+ // handled properly by the win32 version of path.parse() after being normalized
487
+ // https://msdn.microsoft.com/library/windows/desktop/aa365247(v=vs.85).aspx#namespaces
488
+ var prefix = '';
489
+ if (len > 4 && path[3] === '\\') {
490
+ var ch = path[2];
491
+ if ((ch === '?' || ch === '.') && path.slice(0, 2) === '\\\\') {
492
+ path = path.slice(2);
493
+ prefix = '//';
494
+ }
495
+ }
496
+
497
+ var segs = path.split(/[/\\]+/);
498
+ if (stripTrailing !== false && segs[segs.length - 1] === '') {
499
+ segs.pop();
500
+ }
501
+ return prefix + segs.join('/');
502
+ };
503
+
504
+ Object.defineProperty(anymatch$2.exports, "__esModule", { value: true });
505
+
506
+ const picomatch = picomatch$2.exports;
507
+ const normalizePath$1 = normalizePath$2;
508
+
509
+ /**
510
+ * @typedef {(testString: string) => boolean} AnymatchFn
511
+ * @typedef {string|RegExp|AnymatchFn} AnymatchPattern
512
+ * @typedef {AnymatchPattern|AnymatchPattern[]} AnymatchMatcher
513
+ */
514
+ const BANG$1 = '!';
515
+ const DEFAULT_OPTIONS = {returnIndex: false};
516
+ const arrify$1 = (item) => Array.isArray(item) ? item : [item];
517
+
518
+ /**
519
+ * @param {AnymatchPattern} matcher
520
+ * @param {object} options
521
+ * @returns {AnymatchFn}
522
+ */
523
+ const createPattern = (matcher, options) => {
524
+ if (typeof matcher === 'function') {
525
+ return matcher;
526
+ }
527
+ if (typeof matcher === 'string') {
528
+ const glob = picomatch(matcher, options);
529
+ return (string) => matcher === string || glob(string);
530
+ }
531
+ if (matcher instanceof RegExp) {
532
+ return (string) => matcher.test(string);
533
+ }
534
+ return (string) => false;
535
+ };
536
+
537
+ /**
538
+ * @param {Array<Function>} patterns
539
+ * @param {Array<Function>} negPatterns
540
+ * @param {String|Array} args
541
+ * @param {Boolean} returnIndex
542
+ * @returns {boolean|number}
543
+ */
544
+ const matchPatterns = (patterns, negPatterns, args, returnIndex) => {
545
+ const isList = Array.isArray(args);
546
+ const _path = isList ? args[0] : args;
547
+ if (!isList && typeof _path !== 'string') {
548
+ throw new TypeError('anymatch: second argument must be a string: got ' +
549
+ Object.prototype.toString.call(_path))
550
+ }
551
+ const path = normalizePath$1(_path);
552
+
553
+ for (let index = 0; index < negPatterns.length; index++) {
554
+ const nglob = negPatterns[index];
555
+ if (nglob(path)) {
556
+ return returnIndex ? -1 : false;
557
+ }
558
+ }
559
+
560
+ const applied = isList && [path].concat(args.slice(1));
561
+ for (let index = 0; index < patterns.length; index++) {
562
+ const pattern = patterns[index];
563
+ if (isList ? pattern(...applied) : pattern(path)) {
564
+ return returnIndex ? index : true;
565
+ }
566
+ }
567
+
568
+ return returnIndex ? -1 : false;
569
+ };
570
+
571
+ /**
572
+ * @param {AnymatchMatcher} matchers
573
+ * @param {Array|string} testString
574
+ * @param {object} options
575
+ * @returns {boolean|number|Function}
576
+ */
577
+ const anymatch$1 = (matchers, testString, options = DEFAULT_OPTIONS) => {
578
+ if (matchers == null) {
579
+ throw new TypeError('anymatch: specify first argument');
580
+ }
581
+ const opts = typeof options === 'boolean' ? {returnIndex: options} : options;
582
+ const returnIndex = opts.returnIndex || false;
583
+
584
+ // Early cache for matchers.
585
+ const mtchers = arrify$1(matchers);
586
+ const negatedGlobs = mtchers
587
+ .filter(item => typeof item === 'string' && item.charAt(0) === BANG$1)
588
+ .map(item => item.slice(1))
589
+ .map(item => picomatch(item, opts));
590
+ const patterns = mtchers
591
+ .filter(item => typeof item !== 'string' || (typeof item === 'string' && item.charAt(0) !== BANG$1))
592
+ .map(matcher => createPattern(matcher, opts));
593
+
594
+ if (testString == null) {
595
+ return (testString, ri = false) => {
596
+ const returnIndex = typeof ri === 'boolean' ? ri : false;
597
+ return matchPatterns(patterns, negatedGlobs, testString, returnIndex);
598
+ }
599
+ }
600
+
601
+ return matchPatterns(patterns, negatedGlobs, testString, returnIndex);
602
+ };
603
+
604
+ anymatch$1.default = anymatch$1;
605
+ anymatch$2.exports = anymatch$1;
606
+
607
+ /*!
608
+ * is-extglob <https://github.com/jonschlinkert/is-extglob>
609
+ *
610
+ * Copyright (c) 2014-2016, Jon Schlinkert.
611
+ * Licensed under the MIT License.
612
+ */
613
+
614
+ var isExtglob$1 = function isExtglob(str) {
615
+ if (typeof str !== 'string' || str === '') {
616
+ return false;
617
+ }
618
+
619
+ var match;
620
+ while ((match = /(\\).|([@?!+*]\(.*\))/g.exec(str))) {
621
+ if (match[2]) return true;
622
+ str = str.slice(match.index + match[0].length);
623
+ }
624
+
625
+ return false;
626
+ };
627
+
628
+ /*!
629
+ * is-glob <https://github.com/jonschlinkert/is-glob>
630
+ *
631
+ * Copyright (c) 2014-2017, Jon Schlinkert.
632
+ * Released under the MIT License.
633
+ */
634
+
635
+ var isExtglob = isExtglob$1;
636
+ var chars = { '{': '}', '(': ')', '[': ']'};
637
+ var strictCheck = function(str) {
638
+ if (str[0] === '!') {
639
+ return true;
640
+ }
641
+ var index = 0;
642
+ var pipeIndex = -2;
643
+ var closeSquareIndex = -2;
644
+ var closeCurlyIndex = -2;
645
+ var closeParenIndex = -2;
646
+ var backSlashIndex = -2;
647
+ while (index < str.length) {
648
+ if (str[index] === '*') {
649
+ return true;
650
+ }
651
+
652
+ if (str[index + 1] === '?' && /[\].+)]/.test(str[index])) {
653
+ return true;
654
+ }
655
+
656
+ if (closeSquareIndex !== -1 && str[index] === '[' && str[index + 1] !== ']') {
657
+ if (closeSquareIndex < index) {
658
+ closeSquareIndex = str.indexOf(']', index);
659
+ }
660
+ if (closeSquareIndex > index) {
661
+ if (backSlashIndex === -1 || backSlashIndex > closeSquareIndex) {
662
+ return true;
663
+ }
664
+ backSlashIndex = str.indexOf('\\', index);
665
+ if (backSlashIndex === -1 || backSlashIndex > closeSquareIndex) {
666
+ return true;
667
+ }
668
+ }
669
+ }
670
+
671
+ if (closeCurlyIndex !== -1 && str[index] === '{' && str[index + 1] !== '}') {
672
+ closeCurlyIndex = str.indexOf('}', index);
673
+ if (closeCurlyIndex > index) {
674
+ backSlashIndex = str.indexOf('\\', index);
675
+ if (backSlashIndex === -1 || backSlashIndex > closeCurlyIndex) {
676
+ return true;
677
+ }
678
+ }
679
+ }
680
+
681
+ if (closeParenIndex !== -1 && str[index] === '(' && str[index + 1] === '?' && /[:!=]/.test(str[index + 2]) && str[index + 3] !== ')') {
682
+ closeParenIndex = str.indexOf(')', index);
683
+ if (closeParenIndex > index) {
684
+ backSlashIndex = str.indexOf('\\', index);
685
+ if (backSlashIndex === -1 || backSlashIndex > closeParenIndex) {
686
+ return true;
687
+ }
688
+ }
689
+ }
690
+
691
+ if (pipeIndex !== -1 && str[index] === '(' && str[index + 1] !== '|') {
692
+ if (pipeIndex < index) {
693
+ pipeIndex = str.indexOf('|', index);
694
+ }
695
+ if (pipeIndex !== -1 && str[pipeIndex + 1] !== ')') {
696
+ closeParenIndex = str.indexOf(')', pipeIndex);
697
+ if (closeParenIndex > pipeIndex) {
698
+ backSlashIndex = str.indexOf('\\', pipeIndex);
699
+ if (backSlashIndex === -1 || backSlashIndex > closeParenIndex) {
700
+ return true;
701
+ }
702
+ }
703
+ }
704
+ }
705
+
706
+ if (str[index] === '\\') {
707
+ var open = str[index + 1];
708
+ index += 2;
709
+ var close = chars[open];
710
+
711
+ if (close) {
712
+ var n = str.indexOf(close, index);
713
+ if (n !== -1) {
714
+ index = n + 1;
715
+ }
716
+ }
717
+
718
+ if (str[index] === '!') {
719
+ return true;
720
+ }
721
+ } else {
722
+ index++;
723
+ }
724
+ }
725
+ return false;
726
+ };
727
+
728
+ var relaxedCheck = function(str) {
729
+ if (str[0] === '!') {
730
+ return true;
731
+ }
732
+ var index = 0;
733
+ while (index < str.length) {
734
+ if (/[*?{}()[\]]/.test(str[index])) {
735
+ return true;
736
+ }
737
+
738
+ if (str[index] === '\\') {
739
+ var open = str[index + 1];
740
+ index += 2;
741
+ var close = chars[open];
742
+
743
+ if (close) {
744
+ var n = str.indexOf(close, index);
745
+ if (n !== -1) {
746
+ index = n + 1;
747
+ }
748
+ }
749
+
750
+ if (str[index] === '!') {
751
+ return true;
752
+ }
753
+ } else {
754
+ index++;
755
+ }
756
+ }
757
+ return false;
758
+ };
759
+
760
+ var isGlob$2 = function isGlob(str, options) {
761
+ if (typeof str !== 'string' || str === '') {
762
+ return false;
763
+ }
764
+
765
+ if (isExtglob(str)) {
766
+ return true;
767
+ }
768
+
769
+ var check = strictCheck;
770
+
771
+ // optionally relax check
772
+ if (options && options.strict === false) {
773
+ check = relaxedCheck;
774
+ }
775
+
776
+ return check(str);
777
+ };
778
+
779
+ var isGlob$1 = isGlob$2;
780
+ var pathPosixDirname = require$$0$2.posix.dirname;
781
+ var isWin32 = require$$2$1.platform() === 'win32';
782
+
783
+ var slash = '/';
784
+ var backslash = /\\/g;
785
+ var enclosure = /[\{\[].*[\}\]]$/;
786
+ var globby = /(^|[^\\])([\{\[]|\([^\)]+$)/;
787
+ var escaped = /\\([\!\*\?\|\[\]\(\)\{\}])/g;
788
+
789
+ /**
790
+ * @param {string} str
791
+ * @param {Object} opts
792
+ * @param {boolean} [opts.flipBackslashes=true]
793
+ * @returns {string}
794
+ */
795
+ var globParent$1 = function globParent(str, opts) {
796
+ var options = Object.assign({ flipBackslashes: true }, opts);
797
+
798
+ // flip windows path separators
799
+ if (options.flipBackslashes && isWin32 && str.indexOf(slash) < 0) {
800
+ str = str.replace(backslash, slash);
801
+ }
802
+
803
+ // special case for strings ending in enclosure containing path separator
804
+ if (enclosure.test(str)) {
805
+ str += slash;
806
+ }
807
+
808
+ // preserves full path in case of trailing path separator
809
+ str += 'a';
810
+
811
+ // remove path parts that are globby
812
+ do {
813
+ str = pathPosixDirname(str);
814
+ } while (isGlob$1(str) || globby.test(str));
815
+
816
+ // remove escape chars and return result
817
+ return str.replace(escaped, '$1');
818
+ };
819
+
820
+ var utils$3 = {};
821
+
822
+ (function (exports) {
823
+
824
+ exports.isInteger = num => {
825
+ if (typeof num === 'number') {
826
+ return Number.isInteger(num);
827
+ }
828
+ if (typeof num === 'string' && num.trim() !== '') {
829
+ return Number.isInteger(Number(num));
830
+ }
831
+ return false;
832
+ };
833
+
834
+ /**
835
+ * Find a node of the given type
836
+ */
837
+
838
+ exports.find = (node, type) => node.nodes.find(node => node.type === type);
839
+
840
+ /**
841
+ * Find a node of the given type
842
+ */
843
+
844
+ exports.exceedsLimit = (min, max, step = 1, limit) => {
845
+ if (limit === false) return false;
846
+ if (!exports.isInteger(min) || !exports.isInteger(max)) return false;
847
+ return ((Number(max) - Number(min)) / Number(step)) >= limit;
848
+ };
849
+
850
+ /**
851
+ * Escape the given node with '\\' before node.value
852
+ */
853
+
854
+ exports.escapeNode = (block, n = 0, type) => {
855
+ let node = block.nodes[n];
856
+ if (!node) return;
857
+
858
+ if ((type && node.type === type) || node.type === 'open' || node.type === 'close') {
859
+ if (node.escaped !== true) {
860
+ node.value = '\\' + node.value;
861
+ node.escaped = true;
862
+ }
863
+ }
864
+ };
865
+
866
+ /**
867
+ * Returns true if the given brace node should be enclosed in literal braces
868
+ */
869
+
870
+ exports.encloseBrace = node => {
871
+ if (node.type !== 'brace') return false;
872
+ if ((node.commas >> 0 + node.ranges >> 0) === 0) {
873
+ node.invalid = true;
874
+ return true;
875
+ }
876
+ return false;
877
+ };
878
+
879
+ /**
880
+ * Returns true if a brace node is invalid.
881
+ */
882
+
883
+ exports.isInvalidBrace = block => {
884
+ if (block.type !== 'brace') return false;
885
+ if (block.invalid === true || block.dollar) return true;
886
+ if ((block.commas >> 0 + block.ranges >> 0) === 0) {
887
+ block.invalid = true;
888
+ return true;
889
+ }
890
+ if (block.open !== true || block.close !== true) {
891
+ block.invalid = true;
892
+ return true;
893
+ }
894
+ return false;
895
+ };
896
+
897
+ /**
898
+ * Returns true if a node is an open or close node
899
+ */
900
+
901
+ exports.isOpenOrClose = node => {
902
+ if (node.type === 'open' || node.type === 'close') {
903
+ return true;
904
+ }
905
+ return node.open === true || node.close === true;
906
+ };
907
+
908
+ /**
909
+ * Reduce an array of text nodes.
910
+ */
911
+
912
+ exports.reduce = nodes => nodes.reduce((acc, node) => {
913
+ if (node.type === 'text') acc.push(node.value);
914
+ if (node.type === 'range') node.type = 'text';
915
+ return acc;
916
+ }, []);
917
+
918
+ /**
919
+ * Flatten an array
920
+ */
921
+
922
+ exports.flatten = (...args) => {
923
+ const result = [];
924
+ const flat = arr => {
925
+ for (let i = 0; i < arr.length; i++) {
926
+ let ele = arr[i];
927
+ Array.isArray(ele) ? flat(ele) : ele !== void 0 && result.push(ele);
928
+ }
929
+ return result;
930
+ };
931
+ flat(args);
932
+ return result;
933
+ };
934
+ } (utils$3));
935
+
936
+ const utils$2 = utils$3;
937
+
938
+ var stringify$4 = (ast, options = {}) => {
939
+ let stringify = (node, parent = {}) => {
940
+ let invalidBlock = options.escapeInvalid && utils$2.isInvalidBrace(parent);
941
+ let invalidNode = node.invalid === true && options.escapeInvalid === true;
942
+ let output = '';
943
+
944
+ if (node.value) {
945
+ if ((invalidBlock || invalidNode) && utils$2.isOpenOrClose(node)) {
946
+ return '\\' + node.value;
947
+ }
948
+ return node.value;
949
+ }
950
+
951
+ if (node.value) {
952
+ return node.value;
953
+ }
954
+
955
+ if (node.nodes) {
956
+ for (let child of node.nodes) {
957
+ output += stringify(child);
958
+ }
959
+ }
960
+ return output;
961
+ };
962
+
963
+ return stringify(ast);
964
+ };
965
+
966
+ /*!
967
+ * is-number <https://github.com/jonschlinkert/is-number>
968
+ *
969
+ * Copyright (c) 2014-present, Jon Schlinkert.
970
+ * Released under the MIT License.
971
+ */
972
+
973
+ var isNumber$2 = function(num) {
974
+ if (typeof num === 'number') {
975
+ return num - num === 0;
976
+ }
977
+ if (typeof num === 'string' && num.trim() !== '') {
978
+ return Number.isFinite ? Number.isFinite(+num) : isFinite(+num);
979
+ }
980
+ return false;
981
+ };
982
+
983
+ /*!
984
+ * to-regex-range <https://github.com/micromatch/to-regex-range>
985
+ *
986
+ * Copyright (c) 2015-present, Jon Schlinkert.
987
+ * Released under the MIT License.
988
+ */
989
+
990
+ const isNumber$1 = isNumber$2;
991
+
992
+ const toRegexRange$1 = (min, max, options) => {
993
+ if (isNumber$1(min) === false) {
994
+ throw new TypeError('toRegexRange: expected the first argument to be a number');
995
+ }
996
+
997
+ if (max === void 0 || min === max) {
998
+ return String(min);
999
+ }
1000
+
1001
+ if (isNumber$1(max) === false) {
1002
+ throw new TypeError('toRegexRange: expected the second argument to be a number.');
1003
+ }
1004
+
1005
+ let opts = { relaxZeros: true, ...options };
1006
+ if (typeof opts.strictZeros === 'boolean') {
1007
+ opts.relaxZeros = opts.strictZeros === false;
1008
+ }
1009
+
1010
+ let relax = String(opts.relaxZeros);
1011
+ let shorthand = String(opts.shorthand);
1012
+ let capture = String(opts.capture);
1013
+ let wrap = String(opts.wrap);
1014
+ let cacheKey = min + ':' + max + '=' + relax + shorthand + capture + wrap;
1015
+
1016
+ if (toRegexRange$1.cache.hasOwnProperty(cacheKey)) {
1017
+ return toRegexRange$1.cache[cacheKey].result;
1018
+ }
1019
+
1020
+ let a = Math.min(min, max);
1021
+ let b = Math.max(min, max);
1022
+
1023
+ if (Math.abs(a - b) === 1) {
1024
+ let result = min + '|' + max;
1025
+ if (opts.capture) {
1026
+ return `(${result})`;
1027
+ }
1028
+ if (opts.wrap === false) {
1029
+ return result;
1030
+ }
1031
+ return `(?:${result})`;
1032
+ }
1033
+
1034
+ let isPadded = hasPadding(min) || hasPadding(max);
1035
+ let state = { min, max, a, b };
1036
+ let positives = [];
1037
+ let negatives = [];
1038
+
1039
+ if (isPadded) {
1040
+ state.isPadded = isPadded;
1041
+ state.maxLen = String(state.max).length;
1042
+ }
1043
+
1044
+ if (a < 0) {
1045
+ let newMin = b < 0 ? Math.abs(b) : 1;
1046
+ negatives = splitToPatterns(newMin, Math.abs(a), state, opts);
1047
+ a = state.a = 0;
1048
+ }
1049
+
1050
+ if (b >= 0) {
1051
+ positives = splitToPatterns(a, b, state, opts);
1052
+ }
1053
+
1054
+ state.negatives = negatives;
1055
+ state.positives = positives;
1056
+ state.result = collatePatterns(negatives, positives);
1057
+
1058
+ if (opts.capture === true) {
1059
+ state.result = `(${state.result})`;
1060
+ } else if (opts.wrap !== false && (positives.length + negatives.length) > 1) {
1061
+ state.result = `(?:${state.result})`;
1062
+ }
1063
+
1064
+ toRegexRange$1.cache[cacheKey] = state;
1065
+ return state.result;
1066
+ };
1067
+
1068
+ function collatePatterns(neg, pos, options) {
1069
+ let onlyNegative = filterPatterns(neg, pos, '-', false) || [];
1070
+ let onlyPositive = filterPatterns(pos, neg, '', false) || [];
1071
+ let intersected = filterPatterns(neg, pos, '-?', true) || [];
1072
+ let subpatterns = onlyNegative.concat(intersected).concat(onlyPositive);
1073
+ return subpatterns.join('|');
1074
+ }
1075
+
1076
+ function splitToRanges(min, max) {
1077
+ let nines = 1;
1078
+ let zeros = 1;
1079
+
1080
+ let stop = countNines(min, nines);
1081
+ let stops = new Set([max]);
1082
+
1083
+ while (min <= stop && stop <= max) {
1084
+ stops.add(stop);
1085
+ nines += 1;
1086
+ stop = countNines(min, nines);
1087
+ }
1088
+
1089
+ stop = countZeros(max + 1, zeros) - 1;
1090
+
1091
+ while (min < stop && stop <= max) {
1092
+ stops.add(stop);
1093
+ zeros += 1;
1094
+ stop = countZeros(max + 1, zeros) - 1;
1095
+ }
1096
+
1097
+ stops = [...stops];
1098
+ stops.sort(compare);
1099
+ return stops;
1100
+ }
1101
+
1102
+ /**
1103
+ * Convert a range to a regex pattern
1104
+ * @param {Number} `start`
1105
+ * @param {Number} `stop`
1106
+ * @return {String}
1107
+ */
1108
+
1109
+ function rangeToPattern(start, stop, options) {
1110
+ if (start === stop) {
1111
+ return { pattern: start, count: [], digits: 0 };
1112
+ }
1113
+
1114
+ let zipped = zip(start, stop);
1115
+ let digits = zipped.length;
1116
+ let pattern = '';
1117
+ let count = 0;
1118
+
1119
+ for (let i = 0; i < digits; i++) {
1120
+ let [startDigit, stopDigit] = zipped[i];
1121
+
1122
+ if (startDigit === stopDigit) {
1123
+ pattern += startDigit;
1124
+
1125
+ } else if (startDigit !== '0' || stopDigit !== '9') {
1126
+ pattern += toCharacterClass(startDigit, stopDigit);
1127
+
1128
+ } else {
1129
+ count++;
1130
+ }
1131
+ }
1132
+
1133
+ if (count) {
1134
+ pattern += options.shorthand === true ? '\\d' : '[0-9]';
1135
+ }
1136
+
1137
+ return { pattern, count: [count], digits };
1138
+ }
1139
+
1140
+ function splitToPatterns(min, max, tok, options) {
1141
+ let ranges = splitToRanges(min, max);
1142
+ let tokens = [];
1143
+ let start = min;
1144
+ let prev;
1145
+
1146
+ for (let i = 0; i < ranges.length; i++) {
1147
+ let max = ranges[i];
1148
+ let obj = rangeToPattern(String(start), String(max), options);
1149
+ let zeros = '';
1150
+
1151
+ if (!tok.isPadded && prev && prev.pattern === obj.pattern) {
1152
+ if (prev.count.length > 1) {
1153
+ prev.count.pop();
1154
+ }
1155
+
1156
+ prev.count.push(obj.count[0]);
1157
+ prev.string = prev.pattern + toQuantifier(prev.count);
1158
+ start = max + 1;
1159
+ continue;
1160
+ }
1161
+
1162
+ if (tok.isPadded) {
1163
+ zeros = padZeros(max, tok, options);
1164
+ }
1165
+
1166
+ obj.string = zeros + obj.pattern + toQuantifier(obj.count);
1167
+ tokens.push(obj);
1168
+ start = max + 1;
1169
+ prev = obj;
1170
+ }
1171
+
1172
+ return tokens;
1173
+ }
1174
+
1175
+ function filterPatterns(arr, comparison, prefix, intersection, options) {
1176
+ let result = [];
1177
+
1178
+ for (let ele of arr) {
1179
+ let { string } = ele;
1180
+
1181
+ // only push if _both_ are negative...
1182
+ if (!intersection && !contains(comparison, 'string', string)) {
1183
+ result.push(prefix + string);
1184
+ }
1185
+
1186
+ // or _both_ are positive
1187
+ if (intersection && contains(comparison, 'string', string)) {
1188
+ result.push(prefix + string);
1189
+ }
1190
+ }
1191
+ return result;
1192
+ }
1193
+
1194
+ /**
1195
+ * Zip strings
1196
+ */
1197
+
1198
+ function zip(a, b) {
1199
+ let arr = [];
1200
+ for (let i = 0; i < a.length; i++) arr.push([a[i], b[i]]);
1201
+ return arr;
1202
+ }
1203
+
1204
+ function compare(a, b) {
1205
+ return a > b ? 1 : b > a ? -1 : 0;
1206
+ }
1207
+
1208
+ function contains(arr, key, val) {
1209
+ return arr.some(ele => ele[key] === val);
1210
+ }
1211
+
1212
+ function countNines(min, len) {
1213
+ return Number(String(min).slice(0, -len) + '9'.repeat(len));
1214
+ }
1215
+
1216
+ function countZeros(integer, zeros) {
1217
+ return integer - (integer % Math.pow(10, zeros));
1218
+ }
1219
+
1220
+ function toQuantifier(digits) {
1221
+ let [start = 0, stop = ''] = digits;
1222
+ if (stop || start > 1) {
1223
+ return `{${start + (stop ? ',' + stop : '')}}`;
1224
+ }
1225
+ return '';
1226
+ }
1227
+
1228
+ function toCharacterClass(a, b, options) {
1229
+ return `[${a}${(b - a === 1) ? '' : '-'}${b}]`;
1230
+ }
1231
+
1232
+ function hasPadding(str) {
1233
+ return /^-?(0+)\d/.test(str);
1234
+ }
1235
+
1236
+ function padZeros(value, tok, options) {
1237
+ if (!tok.isPadded) {
1238
+ return value;
1239
+ }
1240
+
1241
+ let diff = Math.abs(tok.maxLen - String(value).length);
1242
+ let relax = options.relaxZeros !== false;
1243
+
1244
+ switch (diff) {
1245
+ case 0:
1246
+ return '';
1247
+ case 1:
1248
+ return relax ? '0?' : '0';
1249
+ case 2:
1250
+ return relax ? '0{0,2}' : '00';
1251
+ default: {
1252
+ return relax ? `0{0,${diff}}` : `0{${diff}}`;
1253
+ }
1254
+ }
1255
+ }
1256
+
1257
+ /**
1258
+ * Cache
1259
+ */
1260
+
1261
+ toRegexRange$1.cache = {};
1262
+ toRegexRange$1.clearCache = () => (toRegexRange$1.cache = {});
1263
+
1264
+ /**
1265
+ * Expose `toRegexRange`
1266
+ */
1267
+
1268
+ var toRegexRange_1 = toRegexRange$1;
1269
+
1270
+ /*!
1271
+ * fill-range <https://github.com/jonschlinkert/fill-range>
1272
+ *
1273
+ * Copyright (c) 2014-present, Jon Schlinkert.
1274
+ * Licensed under the MIT License.
1275
+ */
1276
+
1277
+ const util = require$$2;
1278
+ const toRegexRange = toRegexRange_1;
1279
+
1280
+ const isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);
1281
+
1282
+ const transform = toNumber => {
1283
+ return value => toNumber === true ? Number(value) : String(value);
1284
+ };
1285
+
1286
+ const isValidValue = value => {
1287
+ return typeof value === 'number' || (typeof value === 'string' && value !== '');
1288
+ };
1289
+
1290
+ const isNumber = num => Number.isInteger(+num);
1291
+
1292
+ const zeros = input => {
1293
+ let value = `${input}`;
1294
+ let index = -1;
1295
+ if (value[0] === '-') value = value.slice(1);
1296
+ if (value === '0') return false;
1297
+ while (value[++index] === '0');
1298
+ return index > 0;
1299
+ };
1300
+
1301
+ const stringify$3 = (start, end, options) => {
1302
+ if (typeof start === 'string' || typeof end === 'string') {
1303
+ return true;
1304
+ }
1305
+ return options.stringify === true;
1306
+ };
1307
+
1308
+ const pad = (input, maxLength, toNumber) => {
1309
+ if (maxLength > 0) {
1310
+ let dash = input[0] === '-' ? '-' : '';
1311
+ if (dash) input = input.slice(1);
1312
+ input = (dash + input.padStart(dash ? maxLength - 1 : maxLength, '0'));
1313
+ }
1314
+ if (toNumber === false) {
1315
+ return String(input);
1316
+ }
1317
+ return input;
1318
+ };
1319
+
1320
+ const toMaxLen = (input, maxLength) => {
1321
+ let negative = input[0] === '-' ? '-' : '';
1322
+ if (negative) {
1323
+ input = input.slice(1);
1324
+ maxLength--;
1325
+ }
1326
+ while (input.length < maxLength) input = '0' + input;
1327
+ return negative ? ('-' + input) : input;
1328
+ };
1329
+
1330
+ const toSequence = (parts, options) => {
1331
+ parts.negatives.sort((a, b) => a < b ? -1 : a > b ? 1 : 0);
1332
+ parts.positives.sort((a, b) => a < b ? -1 : a > b ? 1 : 0);
1333
+
1334
+ let prefix = options.capture ? '' : '?:';
1335
+ let positives = '';
1336
+ let negatives = '';
1337
+ let result;
1338
+
1339
+ if (parts.positives.length) {
1340
+ positives = parts.positives.join('|');
1341
+ }
1342
+
1343
+ if (parts.negatives.length) {
1344
+ negatives = `-(${prefix}${parts.negatives.join('|')})`;
1345
+ }
1346
+
1347
+ if (positives && negatives) {
1348
+ result = `${positives}|${negatives}`;
1349
+ } else {
1350
+ result = positives || negatives;
1351
+ }
1352
+
1353
+ if (options.wrap) {
1354
+ return `(${prefix}${result})`;
1355
+ }
1356
+
1357
+ return result;
1358
+ };
1359
+
1360
+ const toRange = (a, b, isNumbers, options) => {
1361
+ if (isNumbers) {
1362
+ return toRegexRange(a, b, { wrap: false, ...options });
1363
+ }
1364
+
1365
+ let start = String.fromCharCode(a);
1366
+ if (a === b) return start;
1367
+
1368
+ let stop = String.fromCharCode(b);
1369
+ return `[${start}-${stop}]`;
1370
+ };
1371
+
1372
+ const toRegex = (start, end, options) => {
1373
+ if (Array.isArray(start)) {
1374
+ let wrap = options.wrap === true;
1375
+ let prefix = options.capture ? '' : '?:';
1376
+ return wrap ? `(${prefix}${start.join('|')})` : start.join('|');
1377
+ }
1378
+ return toRegexRange(start, end, options);
1379
+ };
1380
+
1381
+ const rangeError = (...args) => {
1382
+ return new RangeError('Invalid range arguments: ' + util.inspect(...args));
1383
+ };
1384
+
1385
+ const invalidRange = (start, end, options) => {
1386
+ if (options.strictRanges === true) throw rangeError([start, end]);
1387
+ return [];
1388
+ };
1389
+
1390
+ const invalidStep = (step, options) => {
1391
+ if (options.strictRanges === true) {
1392
+ throw new TypeError(`Expected step "${step}" to be a number`);
1393
+ }
1394
+ return [];
1395
+ };
1396
+
1397
+ const fillNumbers = (start, end, step = 1, options = {}) => {
1398
+ let a = Number(start);
1399
+ let b = Number(end);
1400
+
1401
+ if (!Number.isInteger(a) || !Number.isInteger(b)) {
1402
+ if (options.strictRanges === true) throw rangeError([start, end]);
1403
+ return [];
1404
+ }
1405
+
1406
+ // fix negative zero
1407
+ if (a === 0) a = 0;
1408
+ if (b === 0) b = 0;
1409
+
1410
+ let descending = a > b;
1411
+ let startString = String(start);
1412
+ let endString = String(end);
1413
+ let stepString = String(step);
1414
+ step = Math.max(Math.abs(step), 1);
1415
+
1416
+ let padded = zeros(startString) || zeros(endString) || zeros(stepString);
1417
+ let maxLen = padded ? Math.max(startString.length, endString.length, stepString.length) : 0;
1418
+ let toNumber = padded === false && stringify$3(start, end, options) === false;
1419
+ let format = options.transform || transform(toNumber);
1420
+
1421
+ if (options.toRegex && step === 1) {
1422
+ return toRange(toMaxLen(start, maxLen), toMaxLen(end, maxLen), true, options);
1423
+ }
1424
+
1425
+ let parts = { negatives: [], positives: [] };
1426
+ let push = num => parts[num < 0 ? 'negatives' : 'positives'].push(Math.abs(num));
1427
+ let range = [];
1428
+ let index = 0;
1429
+
1430
+ while (descending ? a >= b : a <= b) {
1431
+ if (options.toRegex === true && step > 1) {
1432
+ push(a);
1433
+ } else {
1434
+ range.push(pad(format(a, index), maxLen, toNumber));
1435
+ }
1436
+ a = descending ? a - step : a + step;
1437
+ index++;
1438
+ }
1439
+
1440
+ if (options.toRegex === true) {
1441
+ return step > 1
1442
+ ? toSequence(parts, options)
1443
+ : toRegex(range, null, { wrap: false, ...options });
1444
+ }
1445
+
1446
+ return range;
1447
+ };
1448
+
1449
+ const fillLetters = (start, end, step = 1, options = {}) => {
1450
+ if ((!isNumber(start) && start.length > 1) || (!isNumber(end) && end.length > 1)) {
1451
+ return invalidRange(start, end, options);
1452
+ }
1453
+
1454
+
1455
+ let format = options.transform || (val => String.fromCharCode(val));
1456
+ let a = `${start}`.charCodeAt(0);
1457
+ let b = `${end}`.charCodeAt(0);
1458
+
1459
+ let descending = a > b;
1460
+ let min = Math.min(a, b);
1461
+ let max = Math.max(a, b);
1462
+
1463
+ if (options.toRegex && step === 1) {
1464
+ return toRange(min, max, false, options);
1465
+ }
1466
+
1467
+ let range = [];
1468
+ let index = 0;
1469
+
1470
+ while (descending ? a >= b : a <= b) {
1471
+ range.push(format(a, index));
1472
+ a = descending ? a - step : a + step;
1473
+ index++;
1474
+ }
1475
+
1476
+ if (options.toRegex === true) {
1477
+ return toRegex(range, null, { wrap: false, options });
1478
+ }
1479
+
1480
+ return range;
1481
+ };
1482
+
1483
+ const fill$2 = (start, end, step, options = {}) => {
1484
+ if (end == null && isValidValue(start)) {
1485
+ return [start];
1486
+ }
1487
+
1488
+ if (!isValidValue(start) || !isValidValue(end)) {
1489
+ return invalidRange(start, end, options);
1490
+ }
1491
+
1492
+ if (typeof step === 'function') {
1493
+ return fill$2(start, end, 1, { transform: step });
1494
+ }
1495
+
1496
+ if (isObject(step)) {
1497
+ return fill$2(start, end, 0, step);
1498
+ }
1499
+
1500
+ let opts = { ...options };
1501
+ if (opts.capture === true) opts.wrap = true;
1502
+ step = step || opts.step || 1;
1503
+
1504
+ if (!isNumber(step)) {
1505
+ if (step != null && !isObject(step)) return invalidStep(step, opts);
1506
+ return fill$2(start, end, 1, step);
1507
+ }
1508
+
1509
+ if (isNumber(start) && isNumber(end)) {
1510
+ return fillNumbers(start, end, step, opts);
1511
+ }
1512
+
1513
+ return fillLetters(start, end, Math.max(Math.abs(step), 1), opts);
1514
+ };
1515
+
1516
+ var fillRange = fill$2;
1517
+
1518
+ const fill$1 = fillRange;
1519
+ const utils$1 = utils$3;
1520
+
1521
+ const compile$1 = (ast, options = {}) => {
1522
+ let walk = (node, parent = {}) => {
1523
+ let invalidBlock = utils$1.isInvalidBrace(parent);
1524
+ let invalidNode = node.invalid === true && options.escapeInvalid === true;
1525
+ let invalid = invalidBlock === true || invalidNode === true;
1526
+ let prefix = options.escapeInvalid === true ? '\\' : '';
1527
+ let output = '';
1528
+
1529
+ if (node.isOpen === true) {
1530
+ return prefix + node.value;
1531
+ }
1532
+ if (node.isClose === true) {
1533
+ return prefix + node.value;
1534
+ }
1535
+
1536
+ if (node.type === 'open') {
1537
+ return invalid ? (prefix + node.value) : '(';
1538
+ }
1539
+
1540
+ if (node.type === 'close') {
1541
+ return invalid ? (prefix + node.value) : ')';
1542
+ }
1543
+
1544
+ if (node.type === 'comma') {
1545
+ return node.prev.type === 'comma' ? '' : (invalid ? node.value : '|');
1546
+ }
1547
+
1548
+ if (node.value) {
1549
+ return node.value;
1550
+ }
1551
+
1552
+ if (node.nodes && node.ranges > 0) {
1553
+ let args = utils$1.reduce(node.nodes);
1554
+ let range = fill$1(...args, { ...options, wrap: false, toRegex: true });
1555
+
1556
+ if (range.length !== 0) {
1557
+ return args.length > 1 && range.length > 1 ? `(${range})` : range;
1558
+ }
1559
+ }
1560
+
1561
+ if (node.nodes) {
1562
+ for (let child of node.nodes) {
1563
+ output += walk(child, node);
1564
+ }
1565
+ }
1566
+ return output;
1567
+ };
1568
+
1569
+ return walk(ast);
1570
+ };
1571
+
1572
+ var compile_1 = compile$1;
1573
+
1574
+ const fill = fillRange;
1575
+ const stringify$2 = stringify$4;
1576
+ const utils = utils$3;
1577
+
1578
+ const append = (queue = '', stash = '', enclose = false) => {
1579
+ let result = [];
1580
+
1581
+ queue = [].concat(queue);
1582
+ stash = [].concat(stash);
1583
+
1584
+ if (!stash.length) return queue;
1585
+ if (!queue.length) {
1586
+ return enclose ? utils.flatten(stash).map(ele => `{${ele}}`) : stash;
1587
+ }
1588
+
1589
+ for (let item of queue) {
1590
+ if (Array.isArray(item)) {
1591
+ for (let value of item) {
1592
+ result.push(append(value, stash, enclose));
1593
+ }
1594
+ } else {
1595
+ for (let ele of stash) {
1596
+ if (enclose === true && typeof ele === 'string') ele = `{${ele}}`;
1597
+ result.push(Array.isArray(ele) ? append(item, ele, enclose) : (item + ele));
1598
+ }
1599
+ }
1600
+ }
1601
+ return utils.flatten(result);
1602
+ };
1603
+
1604
+ const expand$1 = (ast, options = {}) => {
1605
+ let rangeLimit = options.rangeLimit === void 0 ? 1000 : options.rangeLimit;
1606
+
1607
+ let walk = (node, parent = {}) => {
1608
+ node.queue = [];
1609
+
1610
+ let p = parent;
1611
+ let q = parent.queue;
1612
+
1613
+ while (p.type !== 'brace' && p.type !== 'root' && p.parent) {
1614
+ p = p.parent;
1615
+ q = p.queue;
1616
+ }
1617
+
1618
+ if (node.invalid || node.dollar) {
1619
+ q.push(append(q.pop(), stringify$2(node, options)));
1620
+ return;
1621
+ }
1622
+
1623
+ if (node.type === 'brace' && node.invalid !== true && node.nodes.length === 2) {
1624
+ q.push(append(q.pop(), ['{}']));
1625
+ return;
1626
+ }
1627
+
1628
+ if (node.nodes && node.ranges > 0) {
1629
+ let args = utils.reduce(node.nodes);
1630
+
1631
+ if (utils.exceedsLimit(...args, options.step, rangeLimit)) {
1632
+ throw new RangeError('expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.');
1633
+ }
1634
+
1635
+ let range = fill(...args, options);
1636
+ if (range.length === 0) {
1637
+ range = stringify$2(node, options);
1638
+ }
1639
+
1640
+ q.push(append(q.pop(), range));
1641
+ node.nodes = [];
1642
+ return;
1643
+ }
1644
+
1645
+ let enclose = utils.encloseBrace(node);
1646
+ let queue = node.queue;
1647
+ let block = node;
1648
+
1649
+ while (block.type !== 'brace' && block.type !== 'root' && block.parent) {
1650
+ block = block.parent;
1651
+ queue = block.queue;
1652
+ }
1653
+
1654
+ for (let i = 0; i < node.nodes.length; i++) {
1655
+ let child = node.nodes[i];
1656
+
1657
+ if (child.type === 'comma' && node.type === 'brace') {
1658
+ if (i === 1) queue.push('');
1659
+ queue.push('');
1660
+ continue;
1661
+ }
1662
+
1663
+ if (child.type === 'close') {
1664
+ q.push(append(q.pop(), queue, enclose));
1665
+ continue;
1666
+ }
1667
+
1668
+ if (child.value && child.type !== 'open') {
1669
+ queue.push(append(queue.pop(), child.value));
1670
+ continue;
1671
+ }
1672
+
1673
+ if (child.nodes) {
1674
+ walk(child, node);
1675
+ }
1676
+ }
1677
+
1678
+ return queue;
1679
+ };
1680
+
1681
+ return utils.flatten(walk(ast));
1682
+ };
1683
+
1684
+ var expand_1 = expand$1;
1685
+
1686
+ var constants$1 = {
1687
+ MAX_LENGTH: 1024 * 64,
1688
+
1689
+ // Digits
1690
+ CHAR_0: '0', /* 0 */
1691
+ CHAR_9: '9', /* 9 */
1692
+
1693
+ // Alphabet chars.
1694
+ CHAR_UPPERCASE_A: 'A', /* A */
1695
+ CHAR_LOWERCASE_A: 'a', /* a */
1696
+ CHAR_UPPERCASE_Z: 'Z', /* Z */
1697
+ CHAR_LOWERCASE_Z: 'z', /* z */
1698
+
1699
+ CHAR_LEFT_PARENTHESES: '(', /* ( */
1700
+ CHAR_RIGHT_PARENTHESES: ')', /* ) */
1701
+
1702
+ CHAR_ASTERISK: '*', /* * */
1703
+
1704
+ // Non-alphabetic chars.
1705
+ CHAR_AMPERSAND: '&', /* & */
1706
+ CHAR_AT: '@', /* @ */
1707
+ CHAR_BACKSLASH: '\\', /* \ */
1708
+ CHAR_BACKTICK: '`', /* ` */
1709
+ CHAR_CARRIAGE_RETURN: '\r', /* \r */
1710
+ CHAR_CIRCUMFLEX_ACCENT: '^', /* ^ */
1711
+ CHAR_COLON: ':', /* : */
1712
+ CHAR_COMMA: ',', /* , */
1713
+ CHAR_DOLLAR: '$', /* . */
1714
+ CHAR_DOT: '.', /* . */
1715
+ CHAR_DOUBLE_QUOTE: '"', /* " */
1716
+ CHAR_EQUAL: '=', /* = */
1717
+ CHAR_EXCLAMATION_MARK: '!', /* ! */
1718
+ CHAR_FORM_FEED: '\f', /* \f */
1719
+ CHAR_FORWARD_SLASH: '/', /* / */
1720
+ CHAR_HASH: '#', /* # */
1721
+ CHAR_HYPHEN_MINUS: '-', /* - */
1722
+ CHAR_LEFT_ANGLE_BRACKET: '<', /* < */
1723
+ CHAR_LEFT_CURLY_BRACE: '{', /* { */
1724
+ CHAR_LEFT_SQUARE_BRACKET: '[', /* [ */
1725
+ CHAR_LINE_FEED: '\n', /* \n */
1726
+ CHAR_NO_BREAK_SPACE: '\u00A0', /* \u00A0 */
1727
+ CHAR_PERCENT: '%', /* % */
1728
+ CHAR_PLUS: '+', /* + */
1729
+ CHAR_QUESTION_MARK: '?', /* ? */
1730
+ CHAR_RIGHT_ANGLE_BRACKET: '>', /* > */
1731
+ CHAR_RIGHT_CURLY_BRACE: '}', /* } */
1732
+ CHAR_RIGHT_SQUARE_BRACKET: ']', /* ] */
1733
+ CHAR_SEMICOLON: ';', /* ; */
1734
+ CHAR_SINGLE_QUOTE: '\'', /* ' */
1735
+ CHAR_SPACE: ' ', /* */
1736
+ CHAR_TAB: '\t', /* \t */
1737
+ CHAR_UNDERSCORE: '_', /* _ */
1738
+ CHAR_VERTICAL_LINE: '|', /* | */
1739
+ CHAR_ZERO_WIDTH_NOBREAK_SPACE: '\uFEFF' /* \uFEFF */
1740
+ };
1741
+
1742
+ const stringify$1 = stringify$4;
1743
+
1744
+ /**
1745
+ * Constants
1746
+ */
1747
+
1748
+ const {
1749
+ MAX_LENGTH,
1750
+ CHAR_BACKSLASH, /* \ */
1751
+ CHAR_BACKTICK, /* ` */
1752
+ CHAR_COMMA, /* , */
1753
+ CHAR_DOT, /* . */
1754
+ CHAR_LEFT_PARENTHESES, /* ( */
1755
+ CHAR_RIGHT_PARENTHESES, /* ) */
1756
+ CHAR_LEFT_CURLY_BRACE, /* { */
1757
+ CHAR_RIGHT_CURLY_BRACE, /* } */
1758
+ CHAR_LEFT_SQUARE_BRACKET, /* [ */
1759
+ CHAR_RIGHT_SQUARE_BRACKET, /* ] */
1760
+ CHAR_DOUBLE_QUOTE, /* " */
1761
+ CHAR_SINGLE_QUOTE, /* ' */
1762
+ CHAR_NO_BREAK_SPACE,
1763
+ CHAR_ZERO_WIDTH_NOBREAK_SPACE
1764
+ } = constants$1;
1765
+
1766
+ /**
1767
+ * parse
1768
+ */
1769
+
1770
+ const parse$1 = (input, options = {}) => {
1771
+ if (typeof input !== 'string') {
1772
+ throw new TypeError('Expected a string');
1773
+ }
1774
+
1775
+ let opts = options || {};
1776
+ let max = typeof opts.maxLength === 'number' ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;
1777
+ if (input.length > max) {
1778
+ throw new SyntaxError(`Input length (${input.length}), exceeds max characters (${max})`);
1779
+ }
1780
+
1781
+ let ast = { type: 'root', input, nodes: [] };
1782
+ let stack = [ast];
1783
+ let block = ast;
1784
+ let prev = ast;
1785
+ let brackets = 0;
1786
+ let length = input.length;
1787
+ let index = 0;
1788
+ let depth = 0;
1789
+ let value;
1790
+
1791
+ /**
1792
+ * Helpers
1793
+ */
1794
+
1795
+ const advance = () => input[index++];
1796
+ const push = node => {
1797
+ if (node.type === 'text' && prev.type === 'dot') {
1798
+ prev.type = 'text';
1799
+ }
1800
+
1801
+ if (prev && prev.type === 'text' && node.type === 'text') {
1802
+ prev.value += node.value;
1803
+ return;
1804
+ }
1805
+
1806
+ block.nodes.push(node);
1807
+ node.parent = block;
1808
+ node.prev = prev;
1809
+ prev = node;
1810
+ return node;
1811
+ };
1812
+
1813
+ push({ type: 'bos' });
1814
+
1815
+ while (index < length) {
1816
+ block = stack[stack.length - 1];
1817
+ value = advance();
1818
+
1819
+ /**
1820
+ * Invalid chars
1821
+ */
1822
+
1823
+ if (value === CHAR_ZERO_WIDTH_NOBREAK_SPACE || value === CHAR_NO_BREAK_SPACE) {
1824
+ continue;
1825
+ }
1826
+
1827
+ /**
1828
+ * Escaped chars
1829
+ */
1830
+
1831
+ if (value === CHAR_BACKSLASH) {
1832
+ push({ type: 'text', value: (options.keepEscaping ? value : '') + advance() });
1833
+ continue;
1834
+ }
1835
+
1836
+ /**
1837
+ * Right square bracket (literal): ']'
1838
+ */
1839
+
1840
+ if (value === CHAR_RIGHT_SQUARE_BRACKET) {
1841
+ push({ type: 'text', value: '\\' + value });
1842
+ continue;
1843
+ }
1844
+
1845
+ /**
1846
+ * Left square bracket: '['
1847
+ */
1848
+
1849
+ if (value === CHAR_LEFT_SQUARE_BRACKET) {
1850
+ brackets++;
1851
+ let next;
1852
+
1853
+ while (index < length && (next = advance())) {
1854
+ value += next;
1855
+
1856
+ if (next === CHAR_LEFT_SQUARE_BRACKET) {
1857
+ brackets++;
1858
+ continue;
1859
+ }
1860
+
1861
+ if (next === CHAR_BACKSLASH) {
1862
+ value += advance();
1863
+ continue;
1864
+ }
1865
+
1866
+ if (next === CHAR_RIGHT_SQUARE_BRACKET) {
1867
+ brackets--;
1868
+
1869
+ if (brackets === 0) {
1870
+ break;
1871
+ }
1872
+ }
1873
+ }
1874
+
1875
+ push({ type: 'text', value });
1876
+ continue;
1877
+ }
1878
+
1879
+ /**
1880
+ * Parentheses
1881
+ */
1882
+
1883
+ if (value === CHAR_LEFT_PARENTHESES) {
1884
+ block = push({ type: 'paren', nodes: [] });
1885
+ stack.push(block);
1886
+ push({ type: 'text', value });
1887
+ continue;
1888
+ }
1889
+
1890
+ if (value === CHAR_RIGHT_PARENTHESES) {
1891
+ if (block.type !== 'paren') {
1892
+ push({ type: 'text', value });
1893
+ continue;
1894
+ }
1895
+ block = stack.pop();
1896
+ push({ type: 'text', value });
1897
+ block = stack[stack.length - 1];
1898
+ continue;
1899
+ }
1900
+
1901
+ /**
1902
+ * Quotes: '|"|`
1903
+ */
1904
+
1905
+ if (value === CHAR_DOUBLE_QUOTE || value === CHAR_SINGLE_QUOTE || value === CHAR_BACKTICK) {
1906
+ let open = value;
1907
+ let next;
1908
+
1909
+ if (options.keepQuotes !== true) {
1910
+ value = '';
1911
+ }
1912
+
1913
+ while (index < length && (next = advance())) {
1914
+ if (next === CHAR_BACKSLASH) {
1915
+ value += next + advance();
1916
+ continue;
1917
+ }
1918
+
1919
+ if (next === open) {
1920
+ if (options.keepQuotes === true) value += next;
1921
+ break;
1922
+ }
1923
+
1924
+ value += next;
1925
+ }
1926
+
1927
+ push({ type: 'text', value });
1928
+ continue;
1929
+ }
1930
+
1931
+ /**
1932
+ * Left curly brace: '{'
1933
+ */
1934
+
1935
+ if (value === CHAR_LEFT_CURLY_BRACE) {
1936
+ depth++;
1937
+
1938
+ let dollar = prev.value && prev.value.slice(-1) === '$' || block.dollar === true;
1939
+ let brace = {
1940
+ type: 'brace',
1941
+ open: true,
1942
+ close: false,
1943
+ dollar,
1944
+ depth,
1945
+ commas: 0,
1946
+ ranges: 0,
1947
+ nodes: []
1948
+ };
1949
+
1950
+ block = push(brace);
1951
+ stack.push(block);
1952
+ push({ type: 'open', value });
1953
+ continue;
1954
+ }
1955
+
1956
+ /**
1957
+ * Right curly brace: '}'
1958
+ */
1959
+
1960
+ if (value === CHAR_RIGHT_CURLY_BRACE) {
1961
+ if (block.type !== 'brace') {
1962
+ push({ type: 'text', value });
1963
+ continue;
1964
+ }
1965
+
1966
+ let type = 'close';
1967
+ block = stack.pop();
1968
+ block.close = true;
1969
+
1970
+ push({ type, value });
1971
+ depth--;
1972
+
1973
+ block = stack[stack.length - 1];
1974
+ continue;
1975
+ }
1976
+
1977
+ /**
1978
+ * Comma: ','
1979
+ */
1980
+
1981
+ if (value === CHAR_COMMA && depth > 0) {
1982
+ if (block.ranges > 0) {
1983
+ block.ranges = 0;
1984
+ let open = block.nodes.shift();
1985
+ block.nodes = [open, { type: 'text', value: stringify$1(block) }];
1986
+ }
1987
+
1988
+ push({ type: 'comma', value });
1989
+ block.commas++;
1990
+ continue;
1991
+ }
1992
+
1993
+ /**
1994
+ * Dot: '.'
1995
+ */
1996
+
1997
+ if (value === CHAR_DOT && depth > 0 && block.commas === 0) {
1998
+ let siblings = block.nodes;
1999
+
2000
+ if (depth === 0 || siblings.length === 0) {
2001
+ push({ type: 'text', value });
2002
+ continue;
2003
+ }
2004
+
2005
+ if (prev.type === 'dot') {
2006
+ block.range = [];
2007
+ prev.value += value;
2008
+ prev.type = 'range';
2009
+
2010
+ if (block.nodes.length !== 3 && block.nodes.length !== 5) {
2011
+ block.invalid = true;
2012
+ block.ranges = 0;
2013
+ prev.type = 'text';
2014
+ continue;
2015
+ }
2016
+
2017
+ block.ranges++;
2018
+ block.args = [];
2019
+ continue;
2020
+ }
2021
+
2022
+ if (prev.type === 'range') {
2023
+ siblings.pop();
2024
+
2025
+ let before = siblings[siblings.length - 1];
2026
+ before.value += prev.value + value;
2027
+ prev = before;
2028
+ block.ranges--;
2029
+ continue;
2030
+ }
2031
+
2032
+ push({ type: 'dot', value });
2033
+ continue;
2034
+ }
2035
+
2036
+ /**
2037
+ * Text
2038
+ */
2039
+
2040
+ push({ type: 'text', value });
2041
+ }
2042
+
2043
+ // Mark imbalanced braces and brackets as invalid
2044
+ do {
2045
+ block = stack.pop();
2046
+
2047
+ if (block.type !== 'root') {
2048
+ block.nodes.forEach(node => {
2049
+ if (!node.nodes) {
2050
+ if (node.type === 'open') node.isOpen = true;
2051
+ if (node.type === 'close') node.isClose = true;
2052
+ if (!node.nodes) node.type = 'text';
2053
+ node.invalid = true;
2054
+ }
2055
+ });
2056
+
2057
+ // get the location of the block on parent.nodes (block's siblings)
2058
+ let parent = stack[stack.length - 1];
2059
+ let index = parent.nodes.indexOf(block);
2060
+ // replace the (invalid) block with it's nodes
2061
+ parent.nodes.splice(index, 1, ...block.nodes);
2062
+ }
2063
+ } while (stack.length > 0);
2064
+
2065
+ push({ type: 'eos' });
2066
+ return ast;
2067
+ };
2068
+
2069
+ var parse_1 = parse$1;
2070
+
2071
+ const stringify = stringify$4;
2072
+ const compile = compile_1;
2073
+ const expand = expand_1;
2074
+ const parse = parse_1;
2075
+
2076
+ /**
2077
+ * Expand the given pattern or create a regex-compatible string.
2078
+ *
2079
+ * ```js
2080
+ * const braces = require('braces');
2081
+ * console.log(braces('{a,b,c}', { compile: true })); //=> ['(a|b|c)']
2082
+ * console.log(braces('{a,b,c}')); //=> ['a', 'b', 'c']
2083
+ * ```
2084
+ * @param {String} `str`
2085
+ * @param {Object} `options`
2086
+ * @return {String}
2087
+ * @api public
2088
+ */
2089
+
2090
+ const braces$1 = (input, options = {}) => {
2091
+ let output = [];
2092
+
2093
+ if (Array.isArray(input)) {
2094
+ for (let pattern of input) {
2095
+ let result = braces$1.create(pattern, options);
2096
+ if (Array.isArray(result)) {
2097
+ output.push(...result);
2098
+ } else {
2099
+ output.push(result);
2100
+ }
2101
+ }
2102
+ } else {
2103
+ output = [].concat(braces$1.create(input, options));
2104
+ }
2105
+
2106
+ if (options && options.expand === true && options.nodupes === true) {
2107
+ output = [...new Set(output)];
2108
+ }
2109
+ return output;
2110
+ };
2111
+
2112
+ /**
2113
+ * Parse the given `str` with the given `options`.
2114
+ *
2115
+ * ```js
2116
+ * // braces.parse(pattern, [, options]);
2117
+ * const ast = braces.parse('a/{b,c}/d');
2118
+ * console.log(ast);
2119
+ * ```
2120
+ * @param {String} pattern Brace pattern to parse
2121
+ * @param {Object} options
2122
+ * @return {Object} Returns an AST
2123
+ * @api public
2124
+ */
2125
+
2126
+ braces$1.parse = (input, options = {}) => parse(input, options);
2127
+
2128
+ /**
2129
+ * Creates a braces string from an AST, or an AST node.
2130
+ *
2131
+ * ```js
2132
+ * const braces = require('braces');
2133
+ * let ast = braces.parse('foo/{a,b}/bar');
2134
+ * console.log(stringify(ast.nodes[2])); //=> '{a,b}'
2135
+ * ```
2136
+ * @param {String} `input` Brace pattern or AST.
2137
+ * @param {Object} `options`
2138
+ * @return {Array} Returns an array of expanded values.
2139
+ * @api public
2140
+ */
2141
+
2142
+ braces$1.stringify = (input, options = {}) => {
2143
+ if (typeof input === 'string') {
2144
+ return stringify(braces$1.parse(input, options), options);
2145
+ }
2146
+ return stringify(input, options);
2147
+ };
2148
+
2149
+ /**
2150
+ * Compiles a brace pattern into a regex-compatible, optimized string.
2151
+ * This method is called by the main [braces](#braces) function by default.
2152
+ *
2153
+ * ```js
2154
+ * const braces = require('braces');
2155
+ * console.log(braces.compile('a/{b,c}/d'));
2156
+ * //=> ['a/(b|c)/d']
2157
+ * ```
2158
+ * @param {String} `input` Brace pattern or AST.
2159
+ * @param {Object} `options`
2160
+ * @return {Array} Returns an array of expanded values.
2161
+ * @api public
2162
+ */
2163
+
2164
+ braces$1.compile = (input, options = {}) => {
2165
+ if (typeof input === 'string') {
2166
+ input = braces$1.parse(input, options);
2167
+ }
2168
+ return compile(input, options);
2169
+ };
2170
+
2171
+ /**
2172
+ * Expands a brace pattern into an array. This method is called by the
2173
+ * main [braces](#braces) function when `options.expand` is true. Before
2174
+ * using this method it's recommended that you read the [performance notes](#performance))
2175
+ * and advantages of using [.compile](#compile) instead.
2176
+ *
2177
+ * ```js
2178
+ * const braces = require('braces');
2179
+ * console.log(braces.expand('a/{b,c}/d'));
2180
+ * //=> ['a/b/d', 'a/c/d'];
2181
+ * ```
2182
+ * @param {String} `pattern` Brace pattern
2183
+ * @param {Object} `options`
2184
+ * @return {Array} Returns an array of expanded values.
2185
+ * @api public
2186
+ */
2187
+
2188
+ braces$1.expand = (input, options = {}) => {
2189
+ if (typeof input === 'string') {
2190
+ input = braces$1.parse(input, options);
2191
+ }
2192
+
2193
+ let result = expand(input, options);
2194
+
2195
+ // filter out empty strings if specified
2196
+ if (options.noempty === true) {
2197
+ result = result.filter(Boolean);
2198
+ }
2199
+
2200
+ // filter out duplicates if specified
2201
+ if (options.nodupes === true) {
2202
+ result = [...new Set(result)];
2203
+ }
2204
+
2205
+ return result;
2206
+ };
2207
+
2208
+ /**
2209
+ * Processes a brace pattern and returns either an expanded array
2210
+ * (if `options.expand` is true), a highly optimized regex-compatible string.
2211
+ * This method is called by the main [braces](#braces) function.
2212
+ *
2213
+ * ```js
2214
+ * const braces = require('braces');
2215
+ * console.log(braces.create('user-{200..300}/project-{a,b,c}-{1..10}'))
2216
+ * //=> 'user-(20[0-9]|2[1-9][0-9]|300)/project-(a|b|c)-([1-9]|10)'
2217
+ * ```
2218
+ * @param {String} `pattern` Brace pattern
2219
+ * @param {Object} `options`
2220
+ * @return {Array} Returns an array of expanded values.
2221
+ * @api public
2222
+ */
2223
+
2224
+ braces$1.create = (input, options = {}) => {
2225
+ if (input === '' || input.length < 3) {
2226
+ return [input];
2227
+ }
2228
+
2229
+ return options.expand !== true
2230
+ ? braces$1.compile(input, options)
2231
+ : braces$1.expand(input, options);
2232
+ };
2233
+
2234
+ /**
2235
+ * Expose "braces"
2236
+ */
2237
+
2238
+ var braces_1 = braces$1;
2239
+
2240
+ var binaryExtensions$1 = {exports: {}};
2241
+
2242
+ const require$$0 = [
2243
+ "3dm",
2244
+ "3ds",
2245
+ "3g2",
2246
+ "3gp",
2247
+ "7z",
2248
+ "a",
2249
+ "aac",
2250
+ "adp",
2251
+ "ai",
2252
+ "aif",
2253
+ "aiff",
2254
+ "alz",
2255
+ "ape",
2256
+ "apk",
2257
+ "appimage",
2258
+ "ar",
2259
+ "arj",
2260
+ "asf",
2261
+ "au",
2262
+ "avi",
2263
+ "bak",
2264
+ "baml",
2265
+ "bh",
2266
+ "bin",
2267
+ "bk",
2268
+ "bmp",
2269
+ "btif",
2270
+ "bz2",
2271
+ "bzip2",
2272
+ "cab",
2273
+ "caf",
2274
+ "cgm",
2275
+ "class",
2276
+ "cmx",
2277
+ "cpio",
2278
+ "cr2",
2279
+ "cur",
2280
+ "dat",
2281
+ "dcm",
2282
+ "deb",
2283
+ "dex",
2284
+ "djvu",
2285
+ "dll",
2286
+ "dmg",
2287
+ "dng",
2288
+ "doc",
2289
+ "docm",
2290
+ "docx",
2291
+ "dot",
2292
+ "dotm",
2293
+ "dra",
2294
+ "DS_Store",
2295
+ "dsk",
2296
+ "dts",
2297
+ "dtshd",
2298
+ "dvb",
2299
+ "dwg",
2300
+ "dxf",
2301
+ "ecelp4800",
2302
+ "ecelp7470",
2303
+ "ecelp9600",
2304
+ "egg",
2305
+ "eol",
2306
+ "eot",
2307
+ "epub",
2308
+ "exe",
2309
+ "f4v",
2310
+ "fbs",
2311
+ "fh",
2312
+ "fla",
2313
+ "flac",
2314
+ "flatpak",
2315
+ "fli",
2316
+ "flv",
2317
+ "fpx",
2318
+ "fst",
2319
+ "fvt",
2320
+ "g3",
2321
+ "gh",
2322
+ "gif",
2323
+ "graffle",
2324
+ "gz",
2325
+ "gzip",
2326
+ "h261",
2327
+ "h263",
2328
+ "h264",
2329
+ "icns",
2330
+ "ico",
2331
+ "ief",
2332
+ "img",
2333
+ "ipa",
2334
+ "iso",
2335
+ "jar",
2336
+ "jpeg",
2337
+ "jpg",
2338
+ "jpgv",
2339
+ "jpm",
2340
+ "jxr",
2341
+ "key",
2342
+ "ktx",
2343
+ "lha",
2344
+ "lib",
2345
+ "lvp",
2346
+ "lz",
2347
+ "lzh",
2348
+ "lzma",
2349
+ "lzo",
2350
+ "m3u",
2351
+ "m4a",
2352
+ "m4v",
2353
+ "mar",
2354
+ "mdi",
2355
+ "mht",
2356
+ "mid",
2357
+ "midi",
2358
+ "mj2",
2359
+ "mka",
2360
+ "mkv",
2361
+ "mmr",
2362
+ "mng",
2363
+ "mobi",
2364
+ "mov",
2365
+ "movie",
2366
+ "mp3",
2367
+ "mp4",
2368
+ "mp4a",
2369
+ "mpeg",
2370
+ "mpg",
2371
+ "mpga",
2372
+ "mxu",
2373
+ "nef",
2374
+ "npx",
2375
+ "numbers",
2376
+ "nupkg",
2377
+ "o",
2378
+ "odp",
2379
+ "ods",
2380
+ "odt",
2381
+ "oga",
2382
+ "ogg",
2383
+ "ogv",
2384
+ "otf",
2385
+ "ott",
2386
+ "pages",
2387
+ "pbm",
2388
+ "pcx",
2389
+ "pdb",
2390
+ "pdf",
2391
+ "pea",
2392
+ "pgm",
2393
+ "pic",
2394
+ "png",
2395
+ "pnm",
2396
+ "pot",
2397
+ "potm",
2398
+ "potx",
2399
+ "ppa",
2400
+ "ppam",
2401
+ "ppm",
2402
+ "pps",
2403
+ "ppsm",
2404
+ "ppsx",
2405
+ "ppt",
2406
+ "pptm",
2407
+ "pptx",
2408
+ "psd",
2409
+ "pya",
2410
+ "pyc",
2411
+ "pyo",
2412
+ "pyv",
2413
+ "qt",
2414
+ "rar",
2415
+ "ras",
2416
+ "raw",
2417
+ "resources",
2418
+ "rgb",
2419
+ "rip",
2420
+ "rlc",
2421
+ "rmf",
2422
+ "rmvb",
2423
+ "rpm",
2424
+ "rtf",
2425
+ "rz",
2426
+ "s3m",
2427
+ "s7z",
2428
+ "scpt",
2429
+ "sgi",
2430
+ "shar",
2431
+ "snap",
2432
+ "sil",
2433
+ "sketch",
2434
+ "slk",
2435
+ "smv",
2436
+ "snk",
2437
+ "so",
2438
+ "stl",
2439
+ "suo",
2440
+ "sub",
2441
+ "swf",
2442
+ "tar",
2443
+ "tbz",
2444
+ "tbz2",
2445
+ "tga",
2446
+ "tgz",
2447
+ "thmx",
2448
+ "tif",
2449
+ "tiff",
2450
+ "tlz",
2451
+ "ttc",
2452
+ "ttf",
2453
+ "txz",
2454
+ "udf",
2455
+ "uvh",
2456
+ "uvi",
2457
+ "uvm",
2458
+ "uvp",
2459
+ "uvs",
2460
+ "uvu",
2461
+ "viv",
2462
+ "vob",
2463
+ "war",
2464
+ "wav",
2465
+ "wax",
2466
+ "wbmp",
2467
+ "wdp",
2468
+ "weba",
2469
+ "webm",
2470
+ "webp",
2471
+ "whl",
2472
+ "wim",
2473
+ "wm",
2474
+ "wma",
2475
+ "wmv",
2476
+ "wmx",
2477
+ "woff",
2478
+ "woff2",
2479
+ "wrm",
2480
+ "wvx",
2481
+ "xbm",
2482
+ "xif",
2483
+ "xla",
2484
+ "xlam",
2485
+ "xls",
2486
+ "xlsb",
2487
+ "xlsm",
2488
+ "xlsx",
2489
+ "xlt",
2490
+ "xltm",
2491
+ "xltx",
2492
+ "xm",
2493
+ "xmind",
2494
+ "xpi",
2495
+ "xpm",
2496
+ "xwd",
2497
+ "xz",
2498
+ "z",
2499
+ "zip",
2500
+ "zipx"
2501
+ ];
2502
+
2503
+ (function (module) {
2504
+ module.exports = require$$0;
2505
+ } (binaryExtensions$1));
2506
+
2507
+ const path = require$$0$2;
2508
+ const binaryExtensions = binaryExtensions$1.exports;
2509
+
2510
+ const extensions = new Set(binaryExtensions);
2511
+
2512
+ var isBinaryPath$1 = filePath => extensions.has(path.extname(filePath).slice(1).toLowerCase());
2513
+
2514
+ var constants = {};
2515
+
2516
+ (function (exports) {
2517
+
2518
+ const {sep} = require$$0$2;
2519
+ const {platform} = process;
2520
+ const os = require$$2$1;
2521
+
2522
+ exports.EV_ALL = 'all';
2523
+ exports.EV_READY = 'ready';
2524
+ exports.EV_ADD = 'add';
2525
+ exports.EV_CHANGE = 'change';
2526
+ exports.EV_ADD_DIR = 'addDir';
2527
+ exports.EV_UNLINK = 'unlink';
2528
+ exports.EV_UNLINK_DIR = 'unlinkDir';
2529
+ exports.EV_RAW = 'raw';
2530
+ exports.EV_ERROR = 'error';
2531
+
2532
+ exports.STR_DATA = 'data';
2533
+ exports.STR_END = 'end';
2534
+ exports.STR_CLOSE = 'close';
2535
+
2536
+ exports.FSEVENT_CREATED = 'created';
2537
+ exports.FSEVENT_MODIFIED = 'modified';
2538
+ exports.FSEVENT_DELETED = 'deleted';
2539
+ exports.FSEVENT_MOVED = 'moved';
2540
+ exports.FSEVENT_CLONED = 'cloned';
2541
+ exports.FSEVENT_UNKNOWN = 'unknown';
2542
+ exports.FSEVENT_TYPE_FILE = 'file';
2543
+ exports.FSEVENT_TYPE_DIRECTORY = 'directory';
2544
+ exports.FSEVENT_TYPE_SYMLINK = 'symlink';
2545
+
2546
+ exports.KEY_LISTENERS = 'listeners';
2547
+ exports.KEY_ERR = 'errHandlers';
2548
+ exports.KEY_RAW = 'rawEmitters';
2549
+ exports.HANDLER_KEYS = [exports.KEY_LISTENERS, exports.KEY_ERR, exports.KEY_RAW];
2550
+
2551
+ exports.DOT_SLASH = `.${sep}`;
2552
+
2553
+ exports.BACK_SLASH_RE = /\\/g;
2554
+ exports.DOUBLE_SLASH_RE = /\/\//;
2555
+ exports.SLASH_OR_BACK_SLASH_RE = /[/\\]/;
2556
+ exports.DOT_RE = /\..*\.(sw[px])$|~$|\.subl.*\.tmp/;
2557
+ exports.REPLACER_RE = /^\.[/\\]/;
2558
+
2559
+ exports.SLASH = '/';
2560
+ exports.SLASH_SLASH = '//';
2561
+ exports.BRACE_START = '{';
2562
+ exports.BANG = '!';
2563
+ exports.ONE_DOT = '.';
2564
+ exports.TWO_DOTS = '..';
2565
+ exports.STAR = '*';
2566
+ exports.GLOBSTAR = '**';
2567
+ exports.ROOT_GLOBSTAR = '/**/*';
2568
+ exports.SLASH_GLOBSTAR = '/**';
2569
+ exports.DIR_SUFFIX = 'Dir';
2570
+ exports.ANYMATCH_OPTS = {dot: true};
2571
+ exports.STRING_TYPE = 'string';
2572
+ exports.FUNCTION_TYPE = 'function';
2573
+ exports.EMPTY_STR = '';
2574
+ exports.EMPTY_FN = () => {};
2575
+ exports.IDENTITY_FN = val => val;
2576
+
2577
+ exports.isWindows = platform === 'win32';
2578
+ exports.isMacos = platform === 'darwin';
2579
+ exports.isLinux = platform === 'linux';
2580
+ exports.isIBMi = os.type() === 'OS400';
2581
+ } (constants));
2582
+
2583
+ const fs$2 = require$$0$1;
2584
+ const sysPath$2 = require$$0$2;
2585
+ const { promisify: promisify$2 } = require$$2;
2586
+ const isBinaryPath = isBinaryPath$1;
2587
+ const {
2588
+ isWindows: isWindows$1,
2589
+ isLinux,
2590
+ EMPTY_FN: EMPTY_FN$2,
2591
+ EMPTY_STR: EMPTY_STR$1,
2592
+ KEY_LISTENERS,
2593
+ KEY_ERR,
2594
+ KEY_RAW,
2595
+ HANDLER_KEYS,
2596
+ EV_CHANGE: EV_CHANGE$2,
2597
+ EV_ADD: EV_ADD$2,
2598
+ EV_ADD_DIR: EV_ADD_DIR$2,
2599
+ EV_ERROR: EV_ERROR$2,
2600
+ STR_DATA: STR_DATA$1,
2601
+ STR_END: STR_END$2,
2602
+ BRACE_START: BRACE_START$1,
2603
+ STAR
2604
+ } = constants;
2605
+
2606
+ const THROTTLE_MODE_WATCH = 'watch';
2607
+
2608
+ const open = promisify$2(fs$2.open);
2609
+ const stat$2 = promisify$2(fs$2.stat);
2610
+ const lstat$1 = promisify$2(fs$2.lstat);
2611
+ const close = promisify$2(fs$2.close);
2612
+ const fsrealpath = promisify$2(fs$2.realpath);
2613
+
2614
+ const statMethods$1 = { lstat: lstat$1, stat: stat$2 };
2615
+
2616
+ // TODO: emit errors properly. Example: EMFILE on Macos.
2617
+ const foreach = (val, fn) => {
2618
+ if (val instanceof Set) {
2619
+ val.forEach(fn);
2620
+ } else {
2621
+ fn(val);
2622
+ }
2623
+ };
2624
+
2625
+ const addAndConvert = (main, prop, item) => {
2626
+ let container = main[prop];
2627
+ if (!(container instanceof Set)) {
2628
+ main[prop] = container = new Set([container]);
2629
+ }
2630
+ container.add(item);
2631
+ };
2632
+
2633
+ const clearItem = cont => key => {
2634
+ const set = cont[key];
2635
+ if (set instanceof Set) {
2636
+ set.clear();
2637
+ } else {
2638
+ delete cont[key];
2639
+ }
2640
+ };
2641
+
2642
+ const delFromSet = (main, prop, item) => {
2643
+ const container = main[prop];
2644
+ if (container instanceof Set) {
2645
+ container.delete(item);
2646
+ } else if (container === item) {
2647
+ delete main[prop];
2648
+ }
2649
+ };
2650
+
2651
+ const isEmptySet = (val) => val instanceof Set ? val.size === 0 : !val;
2652
+
2653
+ /**
2654
+ * @typedef {String} Path
2655
+ */
2656
+
2657
+ // fs_watch helpers
2658
+
2659
+ // object to hold per-process fs_watch instances
2660
+ // (may be shared across chokidar FSWatcher instances)
2661
+
2662
+ /**
2663
+ * @typedef {Object} FsWatchContainer
2664
+ * @property {Set} listeners
2665
+ * @property {Set} errHandlers
2666
+ * @property {Set} rawEmitters
2667
+ * @property {fs.FSWatcher=} watcher
2668
+ * @property {Boolean=} watcherUnusable
2669
+ */
2670
+
2671
+ /**
2672
+ * @type {Map<String,FsWatchContainer>}
2673
+ */
2674
+ const FsWatchInstances = new Map();
2675
+
2676
+ /**
2677
+ * Instantiates the fs_watch interface
2678
+ * @param {String} path to be watched
2679
+ * @param {Object} options to be passed to fs_watch
2680
+ * @param {Function} listener main event handler
2681
+ * @param {Function} errHandler emits info about errors
2682
+ * @param {Function} emitRaw emits raw event data
2683
+ * @returns {fs.FSWatcher} new fsevents instance
2684
+ */
2685
+ function createFsWatchInstance(path, options, listener, errHandler, emitRaw) {
2686
+ const handleEvent = (rawEvent, evPath) => {
2687
+ listener(path);
2688
+ emitRaw(rawEvent, evPath, {watchedPath: path});
2689
+
2690
+ // emit based on events occurring for files from a directory's watcher in
2691
+ // case the file's watcher misses it (and rely on throttling to de-dupe)
2692
+ if (evPath && path !== evPath) {
2693
+ fsWatchBroadcast(
2694
+ sysPath$2.resolve(path, evPath), KEY_LISTENERS, sysPath$2.join(path, evPath)
2695
+ );
2696
+ }
2697
+ };
2698
+ try {
2699
+ return fs$2.watch(path, options, handleEvent);
2700
+ } catch (error) {
2701
+ errHandler(error);
2702
+ }
2703
+ }
2704
+
2705
+ /**
2706
+ * Helper for passing fs_watch event data to a collection of listeners
2707
+ * @param {Path} fullPath absolute path bound to fs_watch instance
2708
+ * @param {String} type listener type
2709
+ * @param {*=} val1 arguments to be passed to listeners
2710
+ * @param {*=} val2
2711
+ * @param {*=} val3
2712
+ */
2713
+ const fsWatchBroadcast = (fullPath, type, val1, val2, val3) => {
2714
+ const cont = FsWatchInstances.get(fullPath);
2715
+ if (!cont) return;
2716
+ foreach(cont[type], (listener) => {
2717
+ listener(val1, val2, val3);
2718
+ });
2719
+ };
2720
+
2721
+ /**
2722
+ * Instantiates the fs_watch interface or binds listeners
2723
+ * to an existing one covering the same file system entry
2724
+ * @param {String} path
2725
+ * @param {String} fullPath absolute path
2726
+ * @param {Object} options to be passed to fs_watch
2727
+ * @param {Object} handlers container for event listener functions
2728
+ */
2729
+ const setFsWatchListener = (path, fullPath, options, handlers) => {
2730
+ const {listener, errHandler, rawEmitter} = handlers;
2731
+ let cont = FsWatchInstances.get(fullPath);
2732
+
2733
+ /** @type {fs.FSWatcher=} */
2734
+ let watcher;
2735
+ if (!options.persistent) {
2736
+ watcher = createFsWatchInstance(
2737
+ path, options, listener, errHandler, rawEmitter
2738
+ );
2739
+ return watcher.close.bind(watcher);
2740
+ }
2741
+ if (cont) {
2742
+ addAndConvert(cont, KEY_LISTENERS, listener);
2743
+ addAndConvert(cont, KEY_ERR, errHandler);
2744
+ addAndConvert(cont, KEY_RAW, rawEmitter);
2745
+ } else {
2746
+ watcher = createFsWatchInstance(
2747
+ path,
2748
+ options,
2749
+ fsWatchBroadcast.bind(null, fullPath, KEY_LISTENERS),
2750
+ errHandler, // no need to use broadcast here
2751
+ fsWatchBroadcast.bind(null, fullPath, KEY_RAW)
2752
+ );
2753
+ if (!watcher) return;
2754
+ watcher.on(EV_ERROR$2, async (error) => {
2755
+ const broadcastErr = fsWatchBroadcast.bind(null, fullPath, KEY_ERR);
2756
+ cont.watcherUnusable = true; // documented since Node 10.4.1
2757
+ // Workaround for https://github.com/joyent/node/issues/4337
2758
+ if (isWindows$1 && error.code === 'EPERM') {
2759
+ try {
2760
+ const fd = await open(path, 'r');
2761
+ await close(fd);
2762
+ broadcastErr(error);
2763
+ } catch (err) {}
2764
+ } else {
2765
+ broadcastErr(error);
2766
+ }
2767
+ });
2768
+ cont = {
2769
+ listeners: listener,
2770
+ errHandlers: errHandler,
2771
+ rawEmitters: rawEmitter,
2772
+ watcher
2773
+ };
2774
+ FsWatchInstances.set(fullPath, cont);
2775
+ }
2776
+ // const index = cont.listeners.indexOf(listener);
2777
+
2778
+ // removes this instance's listeners and closes the underlying fs_watch
2779
+ // instance if there are no more listeners left
2780
+ return () => {
2781
+ delFromSet(cont, KEY_LISTENERS, listener);
2782
+ delFromSet(cont, KEY_ERR, errHandler);
2783
+ delFromSet(cont, KEY_RAW, rawEmitter);
2784
+ if (isEmptySet(cont.listeners)) {
2785
+ // Check to protect against issue gh-730.
2786
+ // if (cont.watcherUnusable) {
2787
+ cont.watcher.close();
2788
+ // }
2789
+ FsWatchInstances.delete(fullPath);
2790
+ HANDLER_KEYS.forEach(clearItem(cont));
2791
+ cont.watcher = undefined;
2792
+ Object.freeze(cont);
2793
+ }
2794
+ };
2795
+ };
2796
+
2797
+ // fs_watchFile helpers
2798
+
2799
+ // object to hold per-process fs_watchFile instances
2800
+ // (may be shared across chokidar FSWatcher instances)
2801
+ const FsWatchFileInstances = new Map();
2802
+
2803
+ /**
2804
+ * Instantiates the fs_watchFile interface or binds listeners
2805
+ * to an existing one covering the same file system entry
2806
+ * @param {String} path to be watched
2807
+ * @param {String} fullPath absolute path
2808
+ * @param {Object} options options to be passed to fs_watchFile
2809
+ * @param {Object} handlers container for event listener functions
2810
+ * @returns {Function} closer
2811
+ */
2812
+ const setFsWatchFileListener = (path, fullPath, options, handlers) => {
2813
+ const {listener, rawEmitter} = handlers;
2814
+ let cont = FsWatchFileInstances.get(fullPath);
2815
+
2816
+ const copts = cont && cont.options;
2817
+ if (copts && (copts.persistent < options.persistent || copts.interval > options.interval)) {
2818
+ fs$2.unwatchFile(fullPath);
2819
+ cont = undefined;
2820
+ }
2821
+
2822
+ /* eslint-enable no-unused-vars, prefer-destructuring */
2823
+
2824
+ if (cont) {
2825
+ addAndConvert(cont, KEY_LISTENERS, listener);
2826
+ addAndConvert(cont, KEY_RAW, rawEmitter);
2827
+ } else {
2828
+ // TODO
2829
+ // listeners.add(listener);
2830
+ // rawEmitters.add(rawEmitter);
2831
+ cont = {
2832
+ listeners: listener,
2833
+ rawEmitters: rawEmitter,
2834
+ options,
2835
+ watcher: fs$2.watchFile(fullPath, options, (curr, prev) => {
2836
+ foreach(cont.rawEmitters, (rawEmitter) => {
2837
+ rawEmitter(EV_CHANGE$2, fullPath, {curr, prev});
2838
+ });
2839
+ const currmtime = curr.mtimeMs;
2840
+ if (curr.size !== prev.size || currmtime > prev.mtimeMs || currmtime === 0) {
2841
+ foreach(cont.listeners, (listener) => listener(path, curr));
2842
+ }
2843
+ })
2844
+ };
2845
+ FsWatchFileInstances.set(fullPath, cont);
2846
+ }
2847
+ // const index = cont.listeners.indexOf(listener);
2848
+
2849
+ // Removes this instance's listeners and closes the underlying fs_watchFile
2850
+ // instance if there are no more listeners left.
2851
+ return () => {
2852
+ delFromSet(cont, KEY_LISTENERS, listener);
2853
+ delFromSet(cont, KEY_RAW, rawEmitter);
2854
+ if (isEmptySet(cont.listeners)) {
2855
+ FsWatchFileInstances.delete(fullPath);
2856
+ fs$2.unwatchFile(fullPath);
2857
+ cont.options = cont.watcher = undefined;
2858
+ Object.freeze(cont);
2859
+ }
2860
+ };
2861
+ };
2862
+
2863
+ /**
2864
+ * @mixin
2865
+ */
2866
+ class NodeFsHandler$1 {
2867
+
2868
+ /**
2869
+ * @param {import("../index").FSWatcher} fsW
2870
+ */
2871
+ constructor(fsW) {
2872
+ this.fsw = fsW;
2873
+ this._boundHandleError = (error) => fsW._handleError(error);
2874
+ }
2875
+
2876
+ /**
2877
+ * Watch file for changes with fs_watchFile or fs_watch.
2878
+ * @param {String} path to file or dir
2879
+ * @param {Function} listener on fs change
2880
+ * @returns {Function} closer for the watcher instance
2881
+ */
2882
+ _watchWithNodeFs(path, listener) {
2883
+ const opts = this.fsw.options;
2884
+ const directory = sysPath$2.dirname(path);
2885
+ const basename = sysPath$2.basename(path);
2886
+ const parent = this.fsw._getWatchedDir(directory);
2887
+ parent.add(basename);
2888
+ const absolutePath = sysPath$2.resolve(path);
2889
+ const options = {persistent: opts.persistent};
2890
+ if (!listener) listener = EMPTY_FN$2;
2891
+
2892
+ let closer;
2893
+ if (opts.usePolling) {
2894
+ options.interval = opts.enableBinaryInterval && isBinaryPath(basename) ?
2895
+ opts.binaryInterval : opts.interval;
2896
+ closer = setFsWatchFileListener(path, absolutePath, options, {
2897
+ listener,
2898
+ rawEmitter: this.fsw._emitRaw
2899
+ });
2900
+ } else {
2901
+ closer = setFsWatchListener(path, absolutePath, options, {
2902
+ listener,
2903
+ errHandler: this._boundHandleError,
2904
+ rawEmitter: this.fsw._emitRaw
2905
+ });
2906
+ }
2907
+ return closer;
2908
+ }
2909
+
2910
+ /**
2911
+ * Watch a file and emit add event if warranted.
2912
+ * @param {Path} file Path
2913
+ * @param {fs.Stats} stats result of fs_stat
2914
+ * @param {Boolean} initialAdd was the file added at watch instantiation?
2915
+ * @returns {Function} closer for the watcher instance
2916
+ */
2917
+ _handleFile(file, stats, initialAdd) {
2918
+ if (this.fsw.closed) {
2919
+ return;
2920
+ }
2921
+ const dirname = sysPath$2.dirname(file);
2922
+ const basename = sysPath$2.basename(file);
2923
+ const parent = this.fsw._getWatchedDir(dirname);
2924
+ // stats is always present
2925
+ let prevStats = stats;
2926
+
2927
+ // if the file is already being watched, do nothing
2928
+ if (parent.has(basename)) return;
2929
+
2930
+ const listener = async (path, newStats) => {
2931
+ if (!this.fsw._throttle(THROTTLE_MODE_WATCH, file, 5)) return;
2932
+ if (!newStats || newStats.mtimeMs === 0) {
2933
+ try {
2934
+ const newStats = await stat$2(file);
2935
+ if (this.fsw.closed) return;
2936
+ // Check that change event was not fired because of changed only accessTime.
2937
+ const at = newStats.atimeMs;
2938
+ const mt = newStats.mtimeMs;
2939
+ if (!at || at <= mt || mt !== prevStats.mtimeMs) {
2940
+ this.fsw._emit(EV_CHANGE$2, file, newStats);
2941
+ }
2942
+ if (isLinux && prevStats.ino !== newStats.ino) {
2943
+ this.fsw._closeFile(path);
2944
+ prevStats = newStats;
2945
+ this.fsw._addPathCloser(path, this._watchWithNodeFs(file, listener));
2946
+ } else {
2947
+ prevStats = newStats;
2948
+ }
2949
+ } catch (error) {
2950
+ // Fix issues where mtime is null but file is still present
2951
+ this.fsw._remove(dirname, basename);
2952
+ }
2953
+ // add is about to be emitted if file not already tracked in parent
2954
+ } else if (parent.has(basename)) {
2955
+ // Check that change event was not fired because of changed only accessTime.
2956
+ const at = newStats.atimeMs;
2957
+ const mt = newStats.mtimeMs;
2958
+ if (!at || at <= mt || mt !== prevStats.mtimeMs) {
2959
+ this.fsw._emit(EV_CHANGE$2, file, newStats);
2960
+ }
2961
+ prevStats = newStats;
2962
+ }
2963
+ };
2964
+ // kick off the watcher
2965
+ const closer = this._watchWithNodeFs(file, listener);
2966
+
2967
+ // emit an add event if we're supposed to
2968
+ if (!(initialAdd && this.fsw.options.ignoreInitial) && this.fsw._isntIgnored(file)) {
2969
+ if (!this.fsw._throttle(EV_ADD$2, file, 0)) return;
2970
+ this.fsw._emit(EV_ADD$2, file, stats);
2971
+ }
2972
+
2973
+ return closer;
2974
+ }
2975
+
2976
+ /**
2977
+ * Handle symlinks encountered while reading a dir.
2978
+ * @param {Object} entry returned by readdirp
2979
+ * @param {String} directory path of dir being read
2980
+ * @param {String} path of this item
2981
+ * @param {String} item basename of this item
2982
+ * @returns {Promise<Boolean>} true if no more processing is needed for this entry.
2983
+ */
2984
+ async _handleSymlink(entry, directory, path, item) {
2985
+ if (this.fsw.closed) {
2986
+ return;
2987
+ }
2988
+ const full = entry.fullPath;
2989
+ const dir = this.fsw._getWatchedDir(directory);
2990
+
2991
+ if (!this.fsw.options.followSymlinks) {
2992
+ // watch symlink directly (don't follow) and detect changes
2993
+ this.fsw._incrReadyCount();
2994
+
2995
+ let linkPath;
2996
+ try {
2997
+ linkPath = await fsrealpath(path);
2998
+ } catch (e) {
2999
+ this.fsw._emitReady();
3000
+ return true;
3001
+ }
3002
+
3003
+ if (this.fsw.closed) return;
3004
+ if (dir.has(item)) {
3005
+ if (this.fsw._symlinkPaths.get(full) !== linkPath) {
3006
+ this.fsw._symlinkPaths.set(full, linkPath);
3007
+ this.fsw._emit(EV_CHANGE$2, path, entry.stats);
3008
+ }
3009
+ } else {
3010
+ dir.add(item);
3011
+ this.fsw._symlinkPaths.set(full, linkPath);
3012
+ this.fsw._emit(EV_ADD$2, path, entry.stats);
3013
+ }
3014
+ this.fsw._emitReady();
3015
+ return true;
3016
+ }
3017
+
3018
+ // don't follow the same symlink more than once
3019
+ if (this.fsw._symlinkPaths.has(full)) {
3020
+ return true;
3021
+ }
3022
+
3023
+ this.fsw._symlinkPaths.set(full, true);
3024
+ }
3025
+
3026
+ _handleRead(directory, initialAdd, wh, target, dir, depth, throttler) {
3027
+ // Normalize the directory name on Windows
3028
+ directory = sysPath$2.join(directory, EMPTY_STR$1);
3029
+
3030
+ if (!wh.hasGlob) {
3031
+ throttler = this.fsw._throttle('readdir', directory, 1000);
3032
+ if (!throttler) return;
3033
+ }
3034
+
3035
+ const previous = this.fsw._getWatchedDir(wh.path);
3036
+ const current = new Set();
3037
+
3038
+ let stream = this.fsw._readdirp(directory, {
3039
+ fileFilter: entry => wh.filterPath(entry),
3040
+ directoryFilter: entry => wh.filterDir(entry),
3041
+ depth: 0
3042
+ }).on(STR_DATA$1, async (entry) => {
3043
+ if (this.fsw.closed) {
3044
+ stream = undefined;
3045
+ return;
3046
+ }
3047
+ const item = entry.path;
3048
+ let path = sysPath$2.join(directory, item);
3049
+ current.add(item);
3050
+
3051
+ if (entry.stats.isSymbolicLink() && await this._handleSymlink(entry, directory, path, item)) {
3052
+ return;
3053
+ }
3054
+
3055
+ if (this.fsw.closed) {
3056
+ stream = undefined;
3057
+ return;
3058
+ }
3059
+ // Files that present in current directory snapshot
3060
+ // but absent in previous are added to watch list and
3061
+ // emit `add` event.
3062
+ if (item === target || !target && !previous.has(item)) {
3063
+ this.fsw._incrReadyCount();
3064
+
3065
+ // ensure relativeness of path is preserved in case of watcher reuse
3066
+ path = sysPath$2.join(dir, sysPath$2.relative(dir, path));
3067
+
3068
+ this._addToNodeFs(path, initialAdd, wh, depth + 1);
3069
+ }
3070
+ }).on(EV_ERROR$2, this._boundHandleError);
3071
+
3072
+ return new Promise(resolve =>
3073
+ stream.once(STR_END$2, () => {
3074
+ if (this.fsw.closed) {
3075
+ stream = undefined;
3076
+ return;
3077
+ }
3078
+ const wasThrottled = throttler ? throttler.clear() : false;
3079
+
3080
+ resolve();
3081
+
3082
+ // Files that absent in current directory snapshot
3083
+ // but present in previous emit `remove` event
3084
+ // and are removed from @watched[directory].
3085
+ previous.getChildren().filter((item) => {
3086
+ return item !== directory &&
3087
+ !current.has(item) &&
3088
+ // in case of intersecting globs;
3089
+ // a path may have been filtered out of this readdir, but
3090
+ // shouldn't be removed because it matches a different glob
3091
+ (!wh.hasGlob || wh.filterPath({
3092
+ fullPath: sysPath$2.resolve(directory, item)
3093
+ }));
3094
+ }).forEach((item) => {
3095
+ this.fsw._remove(directory, item);
3096
+ });
3097
+
3098
+ stream = undefined;
3099
+
3100
+ // one more time for any missed in case changes came in extremely quickly
3101
+ if (wasThrottled) this._handleRead(directory, false, wh, target, dir, depth, throttler);
3102
+ })
3103
+ );
3104
+ }
3105
+
3106
+ /**
3107
+ * Read directory to add / remove files from `@watched` list and re-read it on change.
3108
+ * @param {String} dir fs path
3109
+ * @param {fs.Stats} stats
3110
+ * @param {Boolean} initialAdd
3111
+ * @param {Number} depth relative to user-supplied path
3112
+ * @param {String} target child path targeted for watch
3113
+ * @param {Object} wh Common watch helpers for this path
3114
+ * @param {String} realpath
3115
+ * @returns {Promise<Function>} closer for the watcher instance.
3116
+ */
3117
+ async _handleDir(dir, stats, initialAdd, depth, target, wh, realpath) {
3118
+ const parentDir = this.fsw._getWatchedDir(sysPath$2.dirname(dir));
3119
+ const tracked = parentDir.has(sysPath$2.basename(dir));
3120
+ if (!(initialAdd && this.fsw.options.ignoreInitial) && !target && !tracked) {
3121
+ if (!wh.hasGlob || wh.globFilter(dir)) this.fsw._emit(EV_ADD_DIR$2, dir, stats);
3122
+ }
3123
+
3124
+ // ensure dir is tracked (harmless if redundant)
3125
+ parentDir.add(sysPath$2.basename(dir));
3126
+ this.fsw._getWatchedDir(dir);
3127
+ let throttler;
3128
+ let closer;
3129
+
3130
+ const oDepth = this.fsw.options.depth;
3131
+ if ((oDepth == null || depth <= oDepth) && !this.fsw._symlinkPaths.has(realpath)) {
3132
+ if (!target) {
3133
+ await this._handleRead(dir, initialAdd, wh, target, dir, depth, throttler);
3134
+ if (this.fsw.closed) return;
3135
+ }
3136
+
3137
+ closer = this._watchWithNodeFs(dir, (dirPath, stats) => {
3138
+ // if current directory is removed, do nothing
3139
+ if (stats && stats.mtimeMs === 0) return;
3140
+
3141
+ this._handleRead(dirPath, false, wh, target, dir, depth, throttler);
3142
+ });
3143
+ }
3144
+ return closer;
3145
+ }
3146
+
3147
+ /**
3148
+ * Handle added file, directory, or glob pattern.
3149
+ * Delegates call to _handleFile / _handleDir after checks.
3150
+ * @param {String} path to file or ir
3151
+ * @param {Boolean} initialAdd was the file added at watch instantiation?
3152
+ * @param {Object} priorWh depth relative to user-supplied path
3153
+ * @param {Number} depth Child path actually targeted for watch
3154
+ * @param {String=} target Child path actually targeted for watch
3155
+ * @returns {Promise}
3156
+ */
3157
+ async _addToNodeFs(path, initialAdd, priorWh, depth, target) {
3158
+ const ready = this.fsw._emitReady;
3159
+ if (this.fsw._isIgnored(path) || this.fsw.closed) {
3160
+ ready();
3161
+ return false;
3162
+ }
3163
+
3164
+ const wh = this.fsw._getWatchHelpers(path, depth);
3165
+ if (!wh.hasGlob && priorWh) {
3166
+ wh.hasGlob = priorWh.hasGlob;
3167
+ wh.globFilter = priorWh.globFilter;
3168
+ wh.filterPath = entry => priorWh.filterPath(entry);
3169
+ wh.filterDir = entry => priorWh.filterDir(entry);
3170
+ }
3171
+
3172
+ // evaluate what is at the path we're being asked to watch
3173
+ try {
3174
+ const stats = await statMethods$1[wh.statMethod](wh.watchPath);
3175
+ if (this.fsw.closed) return;
3176
+ if (this.fsw._isIgnored(wh.watchPath, stats)) {
3177
+ ready();
3178
+ return false;
3179
+ }
3180
+
3181
+ const follow = this.fsw.options.followSymlinks && !path.includes(STAR) && !path.includes(BRACE_START$1);
3182
+ let closer;
3183
+ if (stats.isDirectory()) {
3184
+ const absPath = sysPath$2.resolve(path);
3185
+ const targetPath = follow ? await fsrealpath(path) : path;
3186
+ if (this.fsw.closed) return;
3187
+ closer = await this._handleDir(wh.watchPath, stats, initialAdd, depth, target, wh, targetPath);
3188
+ if (this.fsw.closed) return;
3189
+ // preserve this symlink's target path
3190
+ if (absPath !== targetPath && targetPath !== undefined) {
3191
+ this.fsw._symlinkPaths.set(absPath, targetPath);
3192
+ }
3193
+ } else if (stats.isSymbolicLink()) {
3194
+ const targetPath = follow ? await fsrealpath(path) : path;
3195
+ if (this.fsw.closed) return;
3196
+ const parent = sysPath$2.dirname(wh.watchPath);
3197
+ this.fsw._getWatchedDir(parent).add(wh.watchPath);
3198
+ this.fsw._emit(EV_ADD$2, wh.watchPath, stats);
3199
+ closer = await this._handleDir(parent, stats, initialAdd, depth, path, wh, targetPath);
3200
+ if (this.fsw.closed) return;
3201
+
3202
+ // preserve this symlink's target path
3203
+ if (targetPath !== undefined) {
3204
+ this.fsw._symlinkPaths.set(sysPath$2.resolve(path), targetPath);
3205
+ }
3206
+ } else {
3207
+ closer = this._handleFile(wh.watchPath, stats, initialAdd);
3208
+ }
3209
+ ready();
3210
+
3211
+ this.fsw._addPathCloser(path, closer);
3212
+ return false;
3213
+
3214
+ } catch (error) {
3215
+ if (this.fsw._handleError(error)) {
3216
+ ready();
3217
+ return path;
3218
+ }
3219
+ }
3220
+ }
3221
+
3222
+ }
3223
+
3224
+ var nodefsHandler = NodeFsHandler$1;
3225
+
3226
+ var fseventsHandler = {exports: {}};
3227
+
3228
+ const require$$3 = /*@__PURE__*/getAugmentedNamespace(fseventsImporter);
3229
+
3230
+ const fs$1 = require$$0$1;
3231
+ const sysPath$1 = require$$0$2;
3232
+ const { promisify: promisify$1 } = require$$2;
3233
+
3234
+ let fsevents;
3235
+ try {
3236
+ fsevents = require$$3.getFsEvents();
3237
+ } catch (error) {
3238
+ if (process.env.CHOKIDAR_PRINT_FSEVENTS_REQUIRE_ERROR) console.error(error);
3239
+ }
3240
+
3241
+ if (fsevents) {
3242
+ // TODO: real check
3243
+ const mtch = process.version.match(/v(\d+)\.(\d+)/);
3244
+ if (mtch && mtch[1] && mtch[2]) {
3245
+ const maj = Number.parseInt(mtch[1], 10);
3246
+ const min = Number.parseInt(mtch[2], 10);
3247
+ if (maj === 8 && min < 16) {
3248
+ fsevents = undefined;
3249
+ }
3250
+ }
3251
+ }
3252
+
3253
+ const {
3254
+ EV_ADD: EV_ADD$1,
3255
+ EV_CHANGE: EV_CHANGE$1,
3256
+ EV_ADD_DIR: EV_ADD_DIR$1,
3257
+ EV_UNLINK: EV_UNLINK$1,
3258
+ EV_ERROR: EV_ERROR$1,
3259
+ STR_DATA,
3260
+ STR_END: STR_END$1,
3261
+ FSEVENT_CREATED,
3262
+ FSEVENT_MODIFIED,
3263
+ FSEVENT_DELETED,
3264
+ FSEVENT_MOVED,
3265
+ // FSEVENT_CLONED,
3266
+ FSEVENT_UNKNOWN,
3267
+ FSEVENT_TYPE_FILE,
3268
+ FSEVENT_TYPE_DIRECTORY,
3269
+ FSEVENT_TYPE_SYMLINK,
3270
+
3271
+ ROOT_GLOBSTAR,
3272
+ DIR_SUFFIX,
3273
+ DOT_SLASH,
3274
+ FUNCTION_TYPE: FUNCTION_TYPE$1,
3275
+ EMPTY_FN: EMPTY_FN$1,
3276
+ IDENTITY_FN
3277
+ } = constants;
3278
+
3279
+ const Depth = (value) => isNaN(value) ? {} : {depth: value};
3280
+
3281
+ const stat$1 = promisify$1(fs$1.stat);
3282
+ const lstat = promisify$1(fs$1.lstat);
3283
+ const realpath = promisify$1(fs$1.realpath);
3284
+
3285
+ const statMethods = { stat: stat$1, lstat };
3286
+
3287
+ /**
3288
+ * @typedef {String} Path
3289
+ */
3290
+
3291
+ /**
3292
+ * @typedef {Object} FsEventsWatchContainer
3293
+ * @property {Set<Function>} listeners
3294
+ * @property {Function} rawEmitter
3295
+ * @property {{stop: Function}} watcher
3296
+ */
3297
+
3298
+ // fsevents instance helper functions
3299
+ /**
3300
+ * Object to hold per-process fsevents instances (may be shared across chokidar FSWatcher instances)
3301
+ * @type {Map<Path,FsEventsWatchContainer>}
3302
+ */
3303
+ const FSEventsWatchers = new Map();
3304
+
3305
+ // Threshold of duplicate path prefixes at which to start
3306
+ // consolidating going forward
3307
+ const consolidateThreshhold = 10;
3308
+
3309
+ const wrongEventFlags = new Set([
3310
+ 69888, 70400, 71424, 72704, 73472, 131328, 131840, 262912
3311
+ ]);
3312
+
3313
+ /**
3314
+ * Instantiates the fsevents interface
3315
+ * @param {Path} path path to be watched
3316
+ * @param {Function} callback called when fsevents is bound and ready
3317
+ * @returns {{stop: Function}} new fsevents instance
3318
+ */
3319
+ const createFSEventsInstance = (path, callback) => {
3320
+ const stop = fsevents.watch(path, callback);
3321
+ return {stop};
3322
+ };
3323
+
3324
+ /**
3325
+ * Instantiates the fsevents interface or binds listeners to an existing one covering
3326
+ * the same file tree.
3327
+ * @param {Path} path - to be watched
3328
+ * @param {Path} realPath - real path for symlinks
3329
+ * @param {Function} listener - called when fsevents emits events
3330
+ * @param {Function} rawEmitter - passes data to listeners of the 'raw' event
3331
+ * @returns {Function} closer
3332
+ */
3333
+ function setFSEventsListener(path, realPath, listener, rawEmitter) {
3334
+ let watchPath = sysPath$1.extname(realPath) ? sysPath$1.dirname(realPath) : realPath;
3335
+
3336
+ const parentPath = sysPath$1.dirname(watchPath);
3337
+ let cont = FSEventsWatchers.get(watchPath);
3338
+
3339
+ // If we've accumulated a substantial number of paths that
3340
+ // could have been consolidated by watching one directory
3341
+ // above the current one, create a watcher on the parent
3342
+ // path instead, so that we do consolidate going forward.
3343
+ if (couldConsolidate(parentPath)) {
3344
+ watchPath = parentPath;
3345
+ }
3346
+
3347
+ const resolvedPath = sysPath$1.resolve(path);
3348
+ const hasSymlink = resolvedPath !== realPath;
3349
+
3350
+ const filteredListener = (fullPath, flags, info) => {
3351
+ if (hasSymlink) fullPath = fullPath.replace(realPath, resolvedPath);
3352
+ if (
3353
+ fullPath === resolvedPath ||
3354
+ !fullPath.indexOf(resolvedPath + sysPath$1.sep)
3355
+ ) listener(fullPath, flags, info);
3356
+ };
3357
+
3358
+ // check if there is already a watcher on a parent path
3359
+ // modifies `watchPath` to the parent path when it finds a match
3360
+ let watchedParent = false;
3361
+ for (const watchedPath of FSEventsWatchers.keys()) {
3362
+ if (realPath.indexOf(sysPath$1.resolve(watchedPath) + sysPath$1.sep) === 0) {
3363
+ watchPath = watchedPath;
3364
+ cont = FSEventsWatchers.get(watchPath);
3365
+ watchedParent = true;
3366
+ break;
3367
+ }
3368
+ }
3369
+
3370
+ if (cont || watchedParent) {
3371
+ cont.listeners.add(filteredListener);
3372
+ } else {
3373
+ cont = {
3374
+ listeners: new Set([filteredListener]),
3375
+ rawEmitter,
3376
+ watcher: createFSEventsInstance(watchPath, (fullPath, flags) => {
3377
+ if (!cont.listeners.size) return;
3378
+ const info = fsevents.getInfo(fullPath, flags);
3379
+ cont.listeners.forEach(list => {
3380
+ list(fullPath, flags, info);
3381
+ });
3382
+
3383
+ cont.rawEmitter(info.event, fullPath, info);
3384
+ })
3385
+ };
3386
+ FSEventsWatchers.set(watchPath, cont);
3387
+ }
3388
+
3389
+ // removes this instance's listeners and closes the underlying fsevents
3390
+ // instance if there are no more listeners left
3391
+ return () => {
3392
+ const lst = cont.listeners;
3393
+
3394
+ lst.delete(filteredListener);
3395
+ if (!lst.size) {
3396
+ FSEventsWatchers.delete(watchPath);
3397
+ if (cont.watcher) return cont.watcher.stop().then(() => {
3398
+ cont.rawEmitter = cont.watcher = undefined;
3399
+ Object.freeze(cont);
3400
+ });
3401
+ }
3402
+ };
3403
+ }
3404
+
3405
+ // Decide whether or not we should start a new higher-level
3406
+ // parent watcher
3407
+ const couldConsolidate = (path) => {
3408
+ let count = 0;
3409
+ for (const watchPath of FSEventsWatchers.keys()) {
3410
+ if (watchPath.indexOf(path) === 0) {
3411
+ count++;
3412
+ if (count >= consolidateThreshhold) {
3413
+ return true;
3414
+ }
3415
+ }
3416
+ }
3417
+
3418
+ return false;
3419
+ };
3420
+
3421
+ // returns boolean indicating whether fsevents can be used
3422
+ const canUse = () => fsevents && FSEventsWatchers.size < 128;
3423
+
3424
+ // determines subdirectory traversal levels from root to path
3425
+ const calcDepth = (path, root) => {
3426
+ let i = 0;
3427
+ while (!path.indexOf(root) && (path = sysPath$1.dirname(path)) !== root) i++;
3428
+ return i;
3429
+ };
3430
+
3431
+ // returns boolean indicating whether the fsevents' event info has the same type
3432
+ // as the one returned by fs.stat
3433
+ const sameTypes = (info, stats) => (
3434
+ info.type === FSEVENT_TYPE_DIRECTORY && stats.isDirectory() ||
3435
+ info.type === FSEVENT_TYPE_SYMLINK && stats.isSymbolicLink() ||
3436
+ info.type === FSEVENT_TYPE_FILE && stats.isFile()
3437
+ );
3438
+
3439
+ /**
3440
+ * @mixin
3441
+ */
3442
+ class FsEventsHandler$1 {
3443
+
3444
+ /**
3445
+ * @param {import('../index').FSWatcher} fsw
3446
+ */
3447
+ constructor(fsw) {
3448
+ this.fsw = fsw;
3449
+ }
3450
+ checkIgnored(path, stats) {
3451
+ const ipaths = this.fsw._ignoredPaths;
3452
+ if (this.fsw._isIgnored(path, stats)) {
3453
+ ipaths.add(path);
3454
+ if (stats && stats.isDirectory()) {
3455
+ ipaths.add(path + ROOT_GLOBSTAR);
3456
+ }
3457
+ return true;
3458
+ }
3459
+
3460
+ ipaths.delete(path);
3461
+ ipaths.delete(path + ROOT_GLOBSTAR);
3462
+ }
3463
+
3464
+ addOrChange(path, fullPath, realPath, parent, watchedDir, item, info, opts) {
3465
+ const event = watchedDir.has(item) ? EV_CHANGE$1 : EV_ADD$1;
3466
+ this.handleEvent(event, path, fullPath, realPath, parent, watchedDir, item, info, opts);
3467
+ }
3468
+
3469
+ async checkExists(path, fullPath, realPath, parent, watchedDir, item, info, opts) {
3470
+ try {
3471
+ const stats = await stat$1(path);
3472
+ if (this.fsw.closed) return;
3473
+ if (sameTypes(info, stats)) {
3474
+ this.addOrChange(path, fullPath, realPath, parent, watchedDir, item, info, opts);
3475
+ } else {
3476
+ this.handleEvent(EV_UNLINK$1, path, fullPath, realPath, parent, watchedDir, item, info, opts);
3477
+ }
3478
+ } catch (error) {
3479
+ if (error.code === 'EACCES') {
3480
+ this.addOrChange(path, fullPath, realPath, parent, watchedDir, item, info, opts);
3481
+ } else {
3482
+ this.handleEvent(EV_UNLINK$1, path, fullPath, realPath, parent, watchedDir, item, info, opts);
3483
+ }
3484
+ }
3485
+ }
3486
+
3487
+ handleEvent(event, path, fullPath, realPath, parent, watchedDir, item, info, opts) {
3488
+ if (this.fsw.closed || this.checkIgnored(path)) return;
3489
+
3490
+ if (event === EV_UNLINK$1) {
3491
+ const isDirectory = info.type === FSEVENT_TYPE_DIRECTORY;
3492
+ // suppress unlink events on never before seen files
3493
+ if (isDirectory || watchedDir.has(item)) {
3494
+ this.fsw._remove(parent, item, isDirectory);
3495
+ }
3496
+ } else {
3497
+ if (event === EV_ADD$1) {
3498
+ // track new directories
3499
+ if (info.type === FSEVENT_TYPE_DIRECTORY) this.fsw._getWatchedDir(path);
3500
+
3501
+ if (info.type === FSEVENT_TYPE_SYMLINK && opts.followSymlinks) {
3502
+ // push symlinks back to the top of the stack to get handled
3503
+ const curDepth = opts.depth === undefined ?
3504
+ undefined : calcDepth(fullPath, realPath) + 1;
3505
+ return this._addToFsEvents(path, false, true, curDepth);
3506
+ }
3507
+
3508
+ // track new paths
3509
+ // (other than symlinks being followed, which will be tracked soon)
3510
+ this.fsw._getWatchedDir(parent).add(item);
3511
+ }
3512
+ /**
3513
+ * @type {'add'|'addDir'|'unlink'|'unlinkDir'}
3514
+ */
3515
+ const eventName = info.type === FSEVENT_TYPE_DIRECTORY ? event + DIR_SUFFIX : event;
3516
+ this.fsw._emit(eventName, path);
3517
+ if (eventName === EV_ADD_DIR$1) this._addToFsEvents(path, false, true);
3518
+ }
3519
+ }
3520
+
3521
+ /**
3522
+ * Handle symlinks encountered during directory scan
3523
+ * @param {String} watchPath - file/dir path to be watched with fsevents
3524
+ * @param {String} realPath - real path (in case of symlinks)
3525
+ * @param {Function} transform - path transformer
3526
+ * @param {Function} globFilter - path filter in case a glob pattern was provided
3527
+ * @returns {Function} closer for the watcher instance
3528
+ */
3529
+ _watchWithFsEvents(watchPath, realPath, transform, globFilter) {
3530
+ if (this.fsw.closed || this.fsw._isIgnored(watchPath)) return;
3531
+ const opts = this.fsw.options;
3532
+ const watchCallback = async (fullPath, flags, info) => {
3533
+ if (this.fsw.closed) return;
3534
+ if (
3535
+ opts.depth !== undefined &&
3536
+ calcDepth(fullPath, realPath) > opts.depth
3537
+ ) return;
3538
+ const path = transform(sysPath$1.join(
3539
+ watchPath, sysPath$1.relative(watchPath, fullPath)
3540
+ ));
3541
+ if (globFilter && !globFilter(path)) return;
3542
+ // ensure directories are tracked
3543
+ const parent = sysPath$1.dirname(path);
3544
+ const item = sysPath$1.basename(path);
3545
+ const watchedDir = this.fsw._getWatchedDir(
3546
+ info.type === FSEVENT_TYPE_DIRECTORY ? path : parent
3547
+ );
3548
+
3549
+ // correct for wrong events emitted
3550
+ if (wrongEventFlags.has(flags) || info.event === FSEVENT_UNKNOWN) {
3551
+ if (typeof opts.ignored === FUNCTION_TYPE$1) {
3552
+ let stats;
3553
+ try {
3554
+ stats = await stat$1(path);
3555
+ } catch (error) {}
3556
+ if (this.fsw.closed) return;
3557
+ if (this.checkIgnored(path, stats)) return;
3558
+ if (sameTypes(info, stats)) {
3559
+ this.addOrChange(path, fullPath, realPath, parent, watchedDir, item, info, opts);
3560
+ } else {
3561
+ this.handleEvent(EV_UNLINK$1, path, fullPath, realPath, parent, watchedDir, item, info, opts);
3562
+ }
3563
+ } else {
3564
+ this.checkExists(path, fullPath, realPath, parent, watchedDir, item, info, opts);
3565
+ }
3566
+ } else {
3567
+ switch (info.event) {
3568
+ case FSEVENT_CREATED:
3569
+ case FSEVENT_MODIFIED:
3570
+ return this.addOrChange(path, fullPath, realPath, parent, watchedDir, item, info, opts);
3571
+ case FSEVENT_DELETED:
3572
+ case FSEVENT_MOVED:
3573
+ return this.checkExists(path, fullPath, realPath, parent, watchedDir, item, info, opts);
3574
+ }
3575
+ }
3576
+ };
3577
+
3578
+ const closer = setFSEventsListener(
3579
+ watchPath,
3580
+ realPath,
3581
+ watchCallback,
3582
+ this.fsw._emitRaw
3583
+ );
3584
+
3585
+ this.fsw._emitReady();
3586
+ return closer;
3587
+ }
3588
+
3589
+ /**
3590
+ * Handle symlinks encountered during directory scan
3591
+ * @param {String} linkPath path to symlink
3592
+ * @param {String} fullPath absolute path to the symlink
3593
+ * @param {Function} transform pre-existing path transformer
3594
+ * @param {Number} curDepth level of subdirectories traversed to where symlink is
3595
+ * @returns {Promise<void>}
3596
+ */
3597
+ async _handleFsEventsSymlink(linkPath, fullPath, transform, curDepth) {
3598
+ // don't follow the same symlink more than once
3599
+ if (this.fsw.closed || this.fsw._symlinkPaths.has(fullPath)) return;
3600
+
3601
+ this.fsw._symlinkPaths.set(fullPath, true);
3602
+ this.fsw._incrReadyCount();
3603
+
3604
+ try {
3605
+ const linkTarget = await realpath(linkPath);
3606
+ if (this.fsw.closed) return;
3607
+ if (this.fsw._isIgnored(linkTarget)) {
3608
+ return this.fsw._emitReady();
3609
+ }
3610
+
3611
+ this.fsw._incrReadyCount();
3612
+
3613
+ // add the linkTarget for watching with a wrapper for transform
3614
+ // that causes emitted paths to incorporate the link's path
3615
+ this._addToFsEvents(linkTarget || linkPath, (path) => {
3616
+ let aliasedPath = linkPath;
3617
+ if (linkTarget && linkTarget !== DOT_SLASH) {
3618
+ aliasedPath = path.replace(linkTarget, linkPath);
3619
+ } else if (path !== DOT_SLASH) {
3620
+ aliasedPath = sysPath$1.join(linkPath, path);
3621
+ }
3622
+ return transform(aliasedPath);
3623
+ }, false, curDepth);
3624
+ } catch(error) {
3625
+ if (this.fsw._handleError(error)) {
3626
+ return this.fsw._emitReady();
3627
+ }
3628
+ }
3629
+ }
3630
+
3631
+ /**
3632
+ *
3633
+ * @param {Path} newPath
3634
+ * @param {fs.Stats} stats
3635
+ */
3636
+ emitAdd(newPath, stats, processPath, opts, forceAdd) {
3637
+ const pp = processPath(newPath);
3638
+ const isDir = stats.isDirectory();
3639
+ const dirObj = this.fsw._getWatchedDir(sysPath$1.dirname(pp));
3640
+ const base = sysPath$1.basename(pp);
3641
+
3642
+ // ensure empty dirs get tracked
3643
+ if (isDir) this.fsw._getWatchedDir(pp);
3644
+ if (dirObj.has(base)) return;
3645
+ dirObj.add(base);
3646
+
3647
+ if (!opts.ignoreInitial || forceAdd === true) {
3648
+ this.fsw._emit(isDir ? EV_ADD_DIR$1 : EV_ADD$1, pp, stats);
3649
+ }
3650
+ }
3651
+
3652
+ initWatch(realPath, path, wh, processPath) {
3653
+ if (this.fsw.closed) return;
3654
+ const closer = this._watchWithFsEvents(
3655
+ wh.watchPath,
3656
+ sysPath$1.resolve(realPath || wh.watchPath),
3657
+ processPath,
3658
+ wh.globFilter
3659
+ );
3660
+ this.fsw._addPathCloser(path, closer);
3661
+ }
3662
+
3663
+ /**
3664
+ * Handle added path with fsevents
3665
+ * @param {String} path file/dir path or glob pattern
3666
+ * @param {Function|Boolean=} transform converts working path to what the user expects
3667
+ * @param {Boolean=} forceAdd ensure add is emitted
3668
+ * @param {Number=} priorDepth Level of subdirectories already traversed.
3669
+ * @returns {Promise<void>}
3670
+ */
3671
+ async _addToFsEvents(path, transform, forceAdd, priorDepth) {
3672
+ if (this.fsw.closed) {
3673
+ return;
3674
+ }
3675
+ const opts = this.fsw.options;
3676
+ const processPath = typeof transform === FUNCTION_TYPE$1 ? transform : IDENTITY_FN;
3677
+
3678
+ const wh = this.fsw._getWatchHelpers(path);
3679
+
3680
+ // evaluate what is at the path we're being asked to watch
3681
+ try {
3682
+ const stats = await statMethods[wh.statMethod](wh.watchPath);
3683
+ if (this.fsw.closed) return;
3684
+ if (this.fsw._isIgnored(wh.watchPath, stats)) {
3685
+ throw null;
3686
+ }
3687
+ if (stats.isDirectory()) {
3688
+ // emit addDir unless this is a glob parent
3689
+ if (!wh.globFilter) this.emitAdd(processPath(path), stats, processPath, opts, forceAdd);
3690
+
3691
+ // don't recurse further if it would exceed depth setting
3692
+ if (priorDepth && priorDepth > opts.depth) return;
3693
+
3694
+ // scan the contents of the dir
3695
+ this.fsw._readdirp(wh.watchPath, {
3696
+ fileFilter: entry => wh.filterPath(entry),
3697
+ directoryFilter: entry => wh.filterDir(entry),
3698
+ ...Depth(opts.depth - (priorDepth || 0))
3699
+ }).on(STR_DATA, (entry) => {
3700
+ // need to check filterPath on dirs b/c filterDir is less restrictive
3701
+ if (this.fsw.closed) {
3702
+ return;
3703
+ }
3704
+ if (entry.stats.isDirectory() && !wh.filterPath(entry)) return;
3705
+
3706
+ const joinedPath = sysPath$1.join(wh.watchPath, entry.path);
3707
+ const {fullPath} = entry;
3708
+
3709
+ if (wh.followSymlinks && entry.stats.isSymbolicLink()) {
3710
+ // preserve the current depth here since it can't be derived from
3711
+ // real paths past the symlink
3712
+ const curDepth = opts.depth === undefined ?
3713
+ undefined : calcDepth(joinedPath, sysPath$1.resolve(wh.watchPath)) + 1;
3714
+
3715
+ this._handleFsEventsSymlink(joinedPath, fullPath, processPath, curDepth);
3716
+ } else {
3717
+ this.emitAdd(joinedPath, entry.stats, processPath, opts, forceAdd);
3718
+ }
3719
+ }).on(EV_ERROR$1, EMPTY_FN$1).on(STR_END$1, () => {
3720
+ this.fsw._emitReady();
3721
+ });
3722
+ } else {
3723
+ this.emitAdd(wh.watchPath, stats, processPath, opts, forceAdd);
3724
+ this.fsw._emitReady();
3725
+ }
3726
+ } catch (error) {
3727
+ if (!error || this.fsw._handleError(error)) {
3728
+ // TODO: Strange thing: "should not choke on an ignored watch path" will be failed without 2 ready calls -__-
3729
+ this.fsw._emitReady();
3730
+ this.fsw._emitReady();
3731
+ }
3732
+ }
3733
+
3734
+ if (opts.persistent && forceAdd !== true) {
3735
+ if (typeof transform === FUNCTION_TYPE$1) {
3736
+ // realpath has already been resolved
3737
+ this.initWatch(undefined, path, wh, processPath);
3738
+ } else {
3739
+ let realPath;
3740
+ try {
3741
+ realPath = await realpath(wh.watchPath);
3742
+ } catch (e) {}
3743
+ this.initWatch(realPath, path, wh, processPath);
3744
+ }
3745
+ }
3746
+ }
3747
+
3748
+ }
3749
+
3750
+ fseventsHandler.exports = FsEventsHandler$1;
3751
+ fseventsHandler.exports.canUse = canUse;
3752
+
3753
+ const { EventEmitter } = require$$0$3;
3754
+ const fs = require$$0$1;
3755
+ const sysPath = require$$0$2;
3756
+ const { promisify } = require$$2;
3757
+ const readdirp = readdirp_1;
3758
+ const anymatch = anymatch$2.exports.default;
3759
+ const globParent = globParent$1;
3760
+ const isGlob = isGlob$2;
3761
+ const braces = braces_1;
3762
+ const normalizePath = normalizePath$2;
3763
+
3764
+ const NodeFsHandler = nodefsHandler;
3765
+ const FsEventsHandler = fseventsHandler.exports;
3766
+ const {
3767
+ EV_ALL,
3768
+ EV_READY,
3769
+ EV_ADD,
3770
+ EV_CHANGE,
3771
+ EV_UNLINK,
3772
+ EV_ADD_DIR,
3773
+ EV_UNLINK_DIR,
3774
+ EV_RAW,
3775
+ EV_ERROR,
3776
+
3777
+ STR_CLOSE,
3778
+ STR_END,
3779
+
3780
+ BACK_SLASH_RE,
3781
+ DOUBLE_SLASH_RE,
3782
+ SLASH_OR_BACK_SLASH_RE,
3783
+ DOT_RE,
3784
+ REPLACER_RE,
3785
+
3786
+ SLASH,
3787
+ SLASH_SLASH,
3788
+ BRACE_START,
3789
+ BANG,
3790
+ ONE_DOT,
3791
+ TWO_DOTS,
3792
+ GLOBSTAR,
3793
+ SLASH_GLOBSTAR,
3794
+ ANYMATCH_OPTS,
3795
+ STRING_TYPE,
3796
+ FUNCTION_TYPE,
3797
+ EMPTY_STR,
3798
+ EMPTY_FN,
3799
+
3800
+ isWindows,
3801
+ isMacos,
3802
+ isIBMi
3803
+ } = constants;
3804
+
3805
+ const stat = promisify(fs.stat);
3806
+ const readdir = promisify(fs.readdir);
3807
+
3808
+ /**
3809
+ * @typedef {String} Path
3810
+ * @typedef {'all'|'add'|'addDir'|'change'|'unlink'|'unlinkDir'|'raw'|'error'|'ready'} EventName
3811
+ * @typedef {'readdir'|'watch'|'add'|'remove'|'change'} ThrottleType
3812
+ */
3813
+
3814
+ /**
3815
+ *
3816
+ * @typedef {Object} WatchHelpers
3817
+ * @property {Boolean} followSymlinks
3818
+ * @property {'stat'|'lstat'} statMethod
3819
+ * @property {Path} path
3820
+ * @property {Path} watchPath
3821
+ * @property {Function} entryPath
3822
+ * @property {Boolean} hasGlob
3823
+ * @property {Object} globFilter
3824
+ * @property {Function} filterPath
3825
+ * @property {Function} filterDir
3826
+ */
3827
+
3828
+ const arrify = (value = []) => Array.isArray(value) ? value : [value];
3829
+ const flatten = (list, result = []) => {
3830
+ list.forEach(item => {
3831
+ if (Array.isArray(item)) {
3832
+ flatten(item, result);
3833
+ } else {
3834
+ result.push(item);
3835
+ }
3836
+ });
3837
+ return result;
3838
+ };
3839
+
3840
+ const unifyPaths = (paths_) => {
3841
+ /**
3842
+ * @type {Array<String>}
3843
+ */
3844
+ const paths = flatten(arrify(paths_));
3845
+ if (!paths.every(p => typeof p === STRING_TYPE)) {
3846
+ throw new TypeError(`Non-string provided as watch path: ${paths}`);
3847
+ }
3848
+ return paths.map(normalizePathToUnix);
3849
+ };
3850
+
3851
+ // If SLASH_SLASH occurs at the beginning of path, it is not replaced
3852
+ // because "//StoragePC/DrivePool/Movies" is a valid network path
3853
+ const toUnix = (string) => {
3854
+ let str = string.replace(BACK_SLASH_RE, SLASH);
3855
+ let prepend = false;
3856
+ if (str.startsWith(SLASH_SLASH)) {
3857
+ prepend = true;
3858
+ }
3859
+ while (str.match(DOUBLE_SLASH_RE)) {
3860
+ str = str.replace(DOUBLE_SLASH_RE, SLASH);
3861
+ }
3862
+ if (prepend) {
3863
+ str = SLASH + str;
3864
+ }
3865
+ return str;
3866
+ };
3867
+
3868
+ // Our version of upath.normalize
3869
+ // TODO: this is not equal to path-normalize module - investigate why
3870
+ const normalizePathToUnix = (path) => toUnix(sysPath.normalize(toUnix(path)));
3871
+
3872
+ const normalizeIgnored = (cwd = EMPTY_STR) => (path) => {
3873
+ if (typeof path !== STRING_TYPE) return path;
3874
+ return normalizePathToUnix(sysPath.isAbsolute(path) ? path : sysPath.join(cwd, path));
3875
+ };
3876
+
3877
+ const getAbsolutePath = (path, cwd) => {
3878
+ if (sysPath.isAbsolute(path)) {
3879
+ return path;
3880
+ }
3881
+ if (path.startsWith(BANG)) {
3882
+ return BANG + sysPath.join(cwd, path.slice(1));
3883
+ }
3884
+ return sysPath.join(cwd, path);
3885
+ };
3886
+
3887
+ const undef = (opts, key) => opts[key] === undefined;
3888
+
3889
+ /**
3890
+ * Directory entry.
3891
+ * @property {Path} path
3892
+ * @property {Set<Path>} items
3893
+ */
3894
+ class DirEntry {
3895
+ /**
3896
+ * @param {Path} dir
3897
+ * @param {Function} removeWatcher
3898
+ */
3899
+ constructor(dir, removeWatcher) {
3900
+ this.path = dir;
3901
+ this._removeWatcher = removeWatcher;
3902
+ /** @type {Set<Path>} */
3903
+ this.items = new Set();
3904
+ }
3905
+
3906
+ add(item) {
3907
+ const {items} = this;
3908
+ if (!items) return;
3909
+ if (item !== ONE_DOT && item !== TWO_DOTS) items.add(item);
3910
+ }
3911
+
3912
+ async remove(item) {
3913
+ const {items} = this;
3914
+ if (!items) return;
3915
+ items.delete(item);
3916
+ if (items.size > 0) return;
3917
+
3918
+ const dir = this.path;
3919
+ try {
3920
+ await readdir(dir);
3921
+ } catch (err) {
3922
+ if (this._removeWatcher) {
3923
+ this._removeWatcher(sysPath.dirname(dir), sysPath.basename(dir));
3924
+ }
3925
+ }
3926
+ }
3927
+
3928
+ has(item) {
3929
+ const {items} = this;
3930
+ if (!items) return;
3931
+ return items.has(item);
3932
+ }
3933
+
3934
+ /**
3935
+ * @returns {Array<String>}
3936
+ */
3937
+ getChildren() {
3938
+ const {items} = this;
3939
+ if (!items) return;
3940
+ return [...items.values()];
3941
+ }
3942
+
3943
+ dispose() {
3944
+ this.items.clear();
3945
+ delete this.path;
3946
+ delete this._removeWatcher;
3947
+ delete this.items;
3948
+ Object.freeze(this);
3949
+ }
3950
+ }
3951
+
3952
+ const STAT_METHOD_F = 'stat';
3953
+ const STAT_METHOD_L = 'lstat';
3954
+ class WatchHelper {
3955
+ constructor(path, watchPath, follow, fsw) {
3956
+ this.fsw = fsw;
3957
+ this.path = path = path.replace(REPLACER_RE, EMPTY_STR);
3958
+ this.watchPath = watchPath;
3959
+ this.fullWatchPath = sysPath.resolve(watchPath);
3960
+ this.hasGlob = watchPath !== path;
3961
+ /** @type {object|boolean} */
3962
+ if (path === EMPTY_STR) this.hasGlob = false;
3963
+ this.globSymlink = this.hasGlob && follow ? undefined : false;
3964
+ this.globFilter = this.hasGlob ? anymatch(path, undefined, ANYMATCH_OPTS) : false;
3965
+ this.dirParts = this.getDirParts(path);
3966
+ this.dirParts.forEach((parts) => {
3967
+ if (parts.length > 1) parts.pop();
3968
+ });
3969
+ this.followSymlinks = follow;
3970
+ this.statMethod = follow ? STAT_METHOD_F : STAT_METHOD_L;
3971
+ }
3972
+
3973
+ checkGlobSymlink(entry) {
3974
+ // only need to resolve once
3975
+ // first entry should always have entry.parentDir === EMPTY_STR
3976
+ if (this.globSymlink === undefined) {
3977
+ this.globSymlink = entry.fullParentDir === this.fullWatchPath ?
3978
+ false : {realPath: entry.fullParentDir, linkPath: this.fullWatchPath};
3979
+ }
3980
+
3981
+ if (this.globSymlink) {
3982
+ return entry.fullPath.replace(this.globSymlink.realPath, this.globSymlink.linkPath);
3983
+ }
3984
+
3985
+ return entry.fullPath;
3986
+ }
3987
+
3988
+ entryPath(entry) {
3989
+ return sysPath.join(this.watchPath,
3990
+ sysPath.relative(this.watchPath, this.checkGlobSymlink(entry))
3991
+ );
3992
+ }
3993
+
3994
+ filterPath(entry) {
3995
+ const {stats} = entry;
3996
+ if (stats && stats.isSymbolicLink()) return this.filterDir(entry);
3997
+ const resolvedPath = this.entryPath(entry);
3998
+ const matchesGlob = this.hasGlob && typeof this.globFilter === FUNCTION_TYPE ?
3999
+ this.globFilter(resolvedPath) : true;
4000
+ return matchesGlob &&
4001
+ this.fsw._isntIgnored(resolvedPath, stats) &&
4002
+ this.fsw._hasReadPermissions(stats);
4003
+ }
4004
+
4005
+ getDirParts(path) {
4006
+ if (!this.hasGlob) return [];
4007
+ const parts = [];
4008
+ const expandedPath = path.includes(BRACE_START) ? braces.expand(path) : [path];
4009
+ expandedPath.forEach((path) => {
4010
+ parts.push(sysPath.relative(this.watchPath, path).split(SLASH_OR_BACK_SLASH_RE));
4011
+ });
4012
+ return parts;
4013
+ }
4014
+
4015
+ filterDir(entry) {
4016
+ if (this.hasGlob) {
4017
+ const entryParts = this.getDirParts(this.checkGlobSymlink(entry));
4018
+ let globstar = false;
4019
+ this.unmatchedGlob = !this.dirParts.some((parts) => {
4020
+ return parts.every((part, i) => {
4021
+ if (part === GLOBSTAR) globstar = true;
4022
+ return globstar || !entryParts[0][i] || anymatch(part, entryParts[0][i], ANYMATCH_OPTS);
4023
+ });
4024
+ });
4025
+ }
4026
+ return !this.unmatchedGlob && this.fsw._isntIgnored(this.entryPath(entry), entry.stats);
4027
+ }
4028
+ }
4029
+
4030
+ /**
4031
+ * Watches files & directories for changes. Emitted events:
4032
+ * `add`, `addDir`, `change`, `unlink`, `unlinkDir`, `all`, `error`
4033
+ *
4034
+ * new FSWatcher()
4035
+ * .add(directories)
4036
+ * .on('add', path => log('File', path, 'was added'))
4037
+ */
4038
+ class FSWatcher extends EventEmitter {
4039
+ // Not indenting methods for history sake; for now.
4040
+ constructor(_opts) {
4041
+ super();
4042
+
4043
+ const opts = {};
4044
+ if (_opts) Object.assign(opts, _opts); // for frozen objects
4045
+
4046
+ /** @type {Map<String, DirEntry>} */
4047
+ this._watched = new Map();
4048
+ /** @type {Map<String, Array>} */
4049
+ this._closers = new Map();
4050
+ /** @type {Set<String>} */
4051
+ this._ignoredPaths = new Set();
4052
+
4053
+ /** @type {Map<ThrottleType, Map>} */
4054
+ this._throttled = new Map();
4055
+
4056
+ /** @type {Map<Path, String|Boolean>} */
4057
+ this._symlinkPaths = new Map();
4058
+
4059
+ this._streams = new Set();
4060
+ this.closed = false;
4061
+
4062
+ // Set up default options.
4063
+ if (undef(opts, 'persistent')) opts.persistent = true;
4064
+ if (undef(opts, 'ignoreInitial')) opts.ignoreInitial = false;
4065
+ if (undef(opts, 'ignorePermissionErrors')) opts.ignorePermissionErrors = false;
4066
+ if (undef(opts, 'interval')) opts.interval = 100;
4067
+ if (undef(opts, 'binaryInterval')) opts.binaryInterval = 300;
4068
+ if (undef(opts, 'disableGlobbing')) opts.disableGlobbing = false;
4069
+ opts.enableBinaryInterval = opts.binaryInterval !== opts.interval;
4070
+
4071
+ // Enable fsevents on OS X when polling isn't explicitly enabled.
4072
+ if (undef(opts, 'useFsEvents')) opts.useFsEvents = !opts.usePolling;
4073
+
4074
+ // If we can't use fsevents, ensure the options reflect it's disabled.
4075
+ const canUseFsEvents = FsEventsHandler.canUse();
4076
+ if (!canUseFsEvents) opts.useFsEvents = false;
4077
+
4078
+ // Use polling on Mac if not using fsevents.
4079
+ // Other platforms use non-polling fs_watch.
4080
+ if (undef(opts, 'usePolling') && !opts.useFsEvents) {
4081
+ opts.usePolling = isMacos;
4082
+ }
4083
+
4084
+ // Always default to polling on IBM i because fs.watch() is not available on IBM i.
4085
+ if(isIBMi) {
4086
+ opts.usePolling = true;
4087
+ }
4088
+
4089
+ // Global override (useful for end-developers that need to force polling for all
4090
+ // instances of chokidar, regardless of usage/dependency depth)
4091
+ const envPoll = process.env.CHOKIDAR_USEPOLLING;
4092
+ if (envPoll !== undefined) {
4093
+ const envLower = envPoll.toLowerCase();
4094
+
4095
+ if (envLower === 'false' || envLower === '0') {
4096
+ opts.usePolling = false;
4097
+ } else if (envLower === 'true' || envLower === '1') {
4098
+ opts.usePolling = true;
4099
+ } else {
4100
+ opts.usePolling = !!envLower;
4101
+ }
4102
+ }
4103
+ const envInterval = process.env.CHOKIDAR_INTERVAL;
4104
+ if (envInterval) {
4105
+ opts.interval = Number.parseInt(envInterval, 10);
4106
+ }
4107
+
4108
+ // Editor atomic write normalization enabled by default with fs.watch
4109
+ if (undef(opts, 'atomic')) opts.atomic = !opts.usePolling && !opts.useFsEvents;
4110
+ if (opts.atomic) this._pendingUnlinks = new Map();
4111
+
4112
+ if (undef(opts, 'followSymlinks')) opts.followSymlinks = true;
4113
+
4114
+ if (undef(opts, 'awaitWriteFinish')) opts.awaitWriteFinish = false;
4115
+ if (opts.awaitWriteFinish === true) opts.awaitWriteFinish = {};
4116
+ const awf = opts.awaitWriteFinish;
4117
+ if (awf) {
4118
+ if (!awf.stabilityThreshold) awf.stabilityThreshold = 2000;
4119
+ if (!awf.pollInterval) awf.pollInterval = 100;
4120
+ this._pendingWrites = new Map();
4121
+ }
4122
+ if (opts.ignored) opts.ignored = arrify(opts.ignored);
4123
+
4124
+ let readyCalls = 0;
4125
+ this._emitReady = () => {
4126
+ readyCalls++;
4127
+ if (readyCalls >= this._readyCount) {
4128
+ this._emitReady = EMPTY_FN;
4129
+ this._readyEmitted = true;
4130
+ // use process.nextTick to allow time for listener to be bound
4131
+ process.nextTick(() => this.emit(EV_READY));
4132
+ }
4133
+ };
4134
+ this._emitRaw = (...args) => this.emit(EV_RAW, ...args);
4135
+ this._readyEmitted = false;
4136
+ this.options = opts;
4137
+
4138
+ // Initialize with proper watcher.
4139
+ if (opts.useFsEvents) {
4140
+ this._fsEventsHandler = new FsEventsHandler(this);
4141
+ } else {
4142
+ this._nodeFsHandler = new NodeFsHandler(this);
4143
+ }
4144
+
4145
+ // You’re frozen when your heart’s not open.
4146
+ Object.freeze(opts);
4147
+ }
4148
+
4149
+ // Public methods
4150
+
4151
+ /**
4152
+ * Adds paths to be watched on an existing FSWatcher instance
4153
+ * @param {Path|Array<Path>} paths_
4154
+ * @param {String=} _origAdd private; for handling non-existent paths to be watched
4155
+ * @param {Boolean=} _internal private; indicates a non-user add
4156
+ * @returns {FSWatcher} for chaining
4157
+ */
4158
+ add(paths_, _origAdd, _internal) {
4159
+ const {cwd, disableGlobbing} = this.options;
4160
+ this.closed = false;
4161
+ let paths = unifyPaths(paths_);
4162
+ if (cwd) {
4163
+ paths = paths.map((path) => {
4164
+ const absPath = getAbsolutePath(path, cwd);
4165
+
4166
+ // Check `path` instead of `absPath` because the cwd portion can't be a glob
4167
+ if (disableGlobbing || !isGlob(path)) {
4168
+ return absPath;
4169
+ }
4170
+ return normalizePath(absPath);
4171
+ });
4172
+ }
4173
+
4174
+ // set aside negated glob strings
4175
+ paths = paths.filter((path) => {
4176
+ if (path.startsWith(BANG)) {
4177
+ this._ignoredPaths.add(path.slice(1));
4178
+ return false;
4179
+ }
4180
+
4181
+ // if a path is being added that was previously ignored, stop ignoring it
4182
+ this._ignoredPaths.delete(path);
4183
+ this._ignoredPaths.delete(path + SLASH_GLOBSTAR);
4184
+
4185
+ // reset the cached userIgnored anymatch fn
4186
+ // to make ignoredPaths changes effective
4187
+ this._userIgnored = undefined;
4188
+
4189
+ return true;
4190
+ });
4191
+
4192
+ if (this.options.useFsEvents && this._fsEventsHandler) {
4193
+ if (!this._readyCount) this._readyCount = paths.length;
4194
+ if (this.options.persistent) this._readyCount *= 2;
4195
+ paths.forEach((path) => this._fsEventsHandler._addToFsEvents(path));
4196
+ } else {
4197
+ if (!this._readyCount) this._readyCount = 0;
4198
+ this._readyCount += paths.length;
4199
+ Promise.all(
4200
+ paths.map(async path => {
4201
+ const res = await this._nodeFsHandler._addToNodeFs(path, !_internal, 0, 0, _origAdd);
4202
+ if (res) this._emitReady();
4203
+ return res;
4204
+ })
4205
+ ).then(results => {
4206
+ if (this.closed) return;
4207
+ results.filter(item => item).forEach(item => {
4208
+ this.add(sysPath.dirname(item), sysPath.basename(_origAdd || item));
4209
+ });
4210
+ });
4211
+ }
4212
+
4213
+ return this;
4214
+ }
4215
+
4216
+ /**
4217
+ * Close watchers or start ignoring events from specified paths.
4218
+ * @param {Path|Array<Path>} paths_ - string or array of strings, file/directory paths and/or globs
4219
+ * @returns {FSWatcher} for chaining
4220
+ */
4221
+ unwatch(paths_) {
4222
+ if (this.closed) return this;
4223
+ const paths = unifyPaths(paths_);
4224
+ const {cwd} = this.options;
4225
+
4226
+ paths.forEach((path) => {
4227
+ // convert to absolute path unless relative path already matches
4228
+ if (!sysPath.isAbsolute(path) && !this._closers.has(path)) {
4229
+ if (cwd) path = sysPath.join(cwd, path);
4230
+ path = sysPath.resolve(path);
4231
+ }
4232
+
4233
+ this._closePath(path);
4234
+
4235
+ this._ignoredPaths.add(path);
4236
+ if (this._watched.has(path)) {
4237
+ this._ignoredPaths.add(path + SLASH_GLOBSTAR);
4238
+ }
4239
+
4240
+ // reset the cached userIgnored anymatch fn
4241
+ // to make ignoredPaths changes effective
4242
+ this._userIgnored = undefined;
4243
+ });
4244
+
4245
+ return this;
4246
+ }
4247
+
4248
+ /**
4249
+ * Close watchers and remove all listeners from watched paths.
4250
+ * @returns {Promise<void>}.
4251
+ */
4252
+ close() {
4253
+ if (this.closed) return this._closePromise;
4254
+ this.closed = true;
4255
+
4256
+ // Memory management.
4257
+ this.removeAllListeners();
4258
+ const closers = [];
4259
+ this._closers.forEach(closerList => closerList.forEach(closer => {
4260
+ const promise = closer();
4261
+ if (promise instanceof Promise) closers.push(promise);
4262
+ }));
4263
+ this._streams.forEach(stream => stream.destroy());
4264
+ this._userIgnored = undefined;
4265
+ this._readyCount = 0;
4266
+ this._readyEmitted = false;
4267
+ this._watched.forEach(dirent => dirent.dispose());
4268
+ ['closers', 'watched', 'streams', 'symlinkPaths', 'throttled'].forEach(key => {
4269
+ this[`_${key}`].clear();
4270
+ });
4271
+
4272
+ this._closePromise = closers.length ? Promise.all(closers).then(() => undefined) : Promise.resolve();
4273
+ return this._closePromise;
4274
+ }
4275
+
4276
+ /**
4277
+ * Expose list of watched paths
4278
+ * @returns {Object} for chaining
4279
+ */
4280
+ getWatched() {
4281
+ const watchList = {};
4282
+ this._watched.forEach((entry, dir) => {
4283
+ const key = this.options.cwd ? sysPath.relative(this.options.cwd, dir) : dir;
4284
+ watchList[key || ONE_DOT] = entry.getChildren().sort();
4285
+ });
4286
+ return watchList;
4287
+ }
4288
+
4289
+ emitWithAll(event, args) {
4290
+ this.emit(...args);
4291
+ if (event !== EV_ERROR) this.emit(EV_ALL, ...args);
4292
+ }
4293
+
4294
+ // Common helpers
4295
+ // --------------
4296
+
4297
+ /**
4298
+ * Normalize and emit events.
4299
+ * Calling _emit DOES NOT MEAN emit() would be called!
4300
+ * @param {EventName} event Type of event
4301
+ * @param {Path} path File or directory path
4302
+ * @param {*=} val1 arguments to be passed with event
4303
+ * @param {*=} val2
4304
+ * @param {*=} val3
4305
+ * @returns the error if defined, otherwise the value of the FSWatcher instance's `closed` flag
4306
+ */
4307
+ async _emit(event, path, val1, val2, val3) {
4308
+ if (this.closed) return;
4309
+
4310
+ const opts = this.options;
4311
+ if (isWindows) path = sysPath.normalize(path);
4312
+ if (opts.cwd) path = sysPath.relative(opts.cwd, path);
4313
+ /** @type Array<any> */
4314
+ const args = [event, path];
4315
+ if (val3 !== undefined) args.push(val1, val2, val3);
4316
+ else if (val2 !== undefined) args.push(val1, val2);
4317
+ else if (val1 !== undefined) args.push(val1);
4318
+
4319
+ const awf = opts.awaitWriteFinish;
4320
+ let pw;
4321
+ if (awf && (pw = this._pendingWrites.get(path))) {
4322
+ pw.lastChange = new Date();
4323
+ return this;
4324
+ }
4325
+
4326
+ if (opts.atomic) {
4327
+ if (event === EV_UNLINK) {
4328
+ this._pendingUnlinks.set(path, args);
4329
+ setTimeout(() => {
4330
+ this._pendingUnlinks.forEach((entry, path) => {
4331
+ this.emit(...entry);
4332
+ this.emit(EV_ALL, ...entry);
4333
+ this._pendingUnlinks.delete(path);
4334
+ });
4335
+ }, typeof opts.atomic === 'number' ? opts.atomic : 100);
4336
+ return this;
4337
+ }
4338
+ if (event === EV_ADD && this._pendingUnlinks.has(path)) {
4339
+ event = args[0] = EV_CHANGE;
4340
+ this._pendingUnlinks.delete(path);
4341
+ }
4342
+ }
4343
+
4344
+ if (awf && (event === EV_ADD || event === EV_CHANGE) && this._readyEmitted) {
4345
+ const awfEmit = (err, stats) => {
4346
+ if (err) {
4347
+ event = args[0] = EV_ERROR;
4348
+ args[1] = err;
4349
+ this.emitWithAll(event, args);
4350
+ } else if (stats) {
4351
+ // if stats doesn't exist the file must have been deleted
4352
+ if (args.length > 2) {
4353
+ args[2] = stats;
4354
+ } else {
4355
+ args.push(stats);
4356
+ }
4357
+ this.emitWithAll(event, args);
4358
+ }
4359
+ };
4360
+
4361
+ this._awaitWriteFinish(path, awf.stabilityThreshold, event, awfEmit);
4362
+ return this;
4363
+ }
4364
+
4365
+ if (event === EV_CHANGE) {
4366
+ const isThrottled = !this._throttle(EV_CHANGE, path, 50);
4367
+ if (isThrottled) return this;
4368
+ }
4369
+
4370
+ if (opts.alwaysStat && val1 === undefined &&
4371
+ (event === EV_ADD || event === EV_ADD_DIR || event === EV_CHANGE)
4372
+ ) {
4373
+ const fullPath = opts.cwd ? sysPath.join(opts.cwd, path) : path;
4374
+ let stats;
4375
+ try {
4376
+ stats = await stat(fullPath);
4377
+ } catch (err) {}
4378
+ // Suppress event when fs_stat fails, to avoid sending undefined 'stat'
4379
+ if (!stats || this.closed) return;
4380
+ args.push(stats);
4381
+ }
4382
+ this.emitWithAll(event, args);
4383
+
4384
+ return this;
4385
+ }
4386
+
4387
+ /**
4388
+ * Common handler for errors
4389
+ * @param {Error} error
4390
+ * @returns {Error|Boolean} The error if defined, otherwise the value of the FSWatcher instance's `closed` flag
4391
+ */
4392
+ _handleError(error) {
4393
+ const code = error && error.code;
4394
+ if (error && code !== 'ENOENT' && code !== 'ENOTDIR' &&
4395
+ (!this.options.ignorePermissionErrors || (code !== 'EPERM' && code !== 'EACCES'))
4396
+ ) {
4397
+ this.emit(EV_ERROR, error);
4398
+ }
4399
+ return error || this.closed;
4400
+ }
4401
+
4402
+ /**
4403
+ * Helper utility for throttling
4404
+ * @param {ThrottleType} actionType type being throttled
4405
+ * @param {Path} path being acted upon
4406
+ * @param {Number} timeout duration of time to suppress duplicate actions
4407
+ * @returns {Object|false} tracking object or false if action should be suppressed
4408
+ */
4409
+ _throttle(actionType, path, timeout) {
4410
+ if (!this._throttled.has(actionType)) {
4411
+ this._throttled.set(actionType, new Map());
4412
+ }
4413
+
4414
+ /** @type {Map<Path, Object>} */
4415
+ const action = this._throttled.get(actionType);
4416
+ /** @type {Object} */
4417
+ const actionPath = action.get(path);
4418
+
4419
+ if (actionPath) {
4420
+ actionPath.count++;
4421
+ return false;
4422
+ }
4423
+
4424
+ let timeoutObject;
4425
+ const clear = () => {
4426
+ const item = action.get(path);
4427
+ const count = item ? item.count : 0;
4428
+ action.delete(path);
4429
+ clearTimeout(timeoutObject);
4430
+ if (item) clearTimeout(item.timeoutObject);
4431
+ return count;
4432
+ };
4433
+ timeoutObject = setTimeout(clear, timeout);
4434
+ const thr = {timeoutObject, clear, count: 0};
4435
+ action.set(path, thr);
4436
+ return thr;
4437
+ }
4438
+
4439
+ _incrReadyCount() {
4440
+ return this._readyCount++;
4441
+ }
4442
+
4443
+ /**
4444
+ * Awaits write operation to finish.
4445
+ * Polls a newly created file for size variations. When files size does not change for 'threshold' milliseconds calls callback.
4446
+ * @param {Path} path being acted upon
4447
+ * @param {Number} threshold Time in milliseconds a file size must be fixed before acknowledging write OP is finished
4448
+ * @param {EventName} event
4449
+ * @param {Function} awfEmit Callback to be called when ready for event to be emitted.
4450
+ */
4451
+ _awaitWriteFinish(path, threshold, event, awfEmit) {
4452
+ let timeoutHandler;
4453
+
4454
+ let fullPath = path;
4455
+ if (this.options.cwd && !sysPath.isAbsolute(path)) {
4456
+ fullPath = sysPath.join(this.options.cwd, path);
4457
+ }
4458
+
4459
+ const now = new Date();
4460
+
4461
+ const awaitWriteFinish = (prevStat) => {
4462
+ fs.stat(fullPath, (err, curStat) => {
4463
+ if (err || !this._pendingWrites.has(path)) {
4464
+ if (err && err.code !== 'ENOENT') awfEmit(err);
4465
+ return;
4466
+ }
4467
+
4468
+ const now = Number(new Date());
4469
+
4470
+ if (prevStat && curStat.size !== prevStat.size) {
4471
+ this._pendingWrites.get(path).lastChange = now;
4472
+ }
4473
+ const pw = this._pendingWrites.get(path);
4474
+ const df = now - pw.lastChange;
4475
+
4476
+ if (df >= threshold) {
4477
+ this._pendingWrites.delete(path);
4478
+ awfEmit(undefined, curStat);
4479
+ } else {
4480
+ timeoutHandler = setTimeout(
4481
+ awaitWriteFinish,
4482
+ this.options.awaitWriteFinish.pollInterval,
4483
+ curStat
4484
+ );
4485
+ }
4486
+ });
4487
+ };
4488
+
4489
+ if (!this._pendingWrites.has(path)) {
4490
+ this._pendingWrites.set(path, {
4491
+ lastChange: now,
4492
+ cancelWait: () => {
4493
+ this._pendingWrites.delete(path);
4494
+ clearTimeout(timeoutHandler);
4495
+ return event;
4496
+ }
4497
+ });
4498
+ timeoutHandler = setTimeout(
4499
+ awaitWriteFinish,
4500
+ this.options.awaitWriteFinish.pollInterval
4501
+ );
4502
+ }
4503
+ }
4504
+
4505
+ _getGlobIgnored() {
4506
+ return [...this._ignoredPaths.values()];
4507
+ }
4508
+
4509
+ /**
4510
+ * Determines whether user has asked to ignore this path.
4511
+ * @param {Path} path filepath or dir
4512
+ * @param {fs.Stats=} stats result of fs.stat
4513
+ * @returns {Boolean}
4514
+ */
4515
+ _isIgnored(path, stats) {
4516
+ if (this.options.atomic && DOT_RE.test(path)) return true;
4517
+ if (!this._userIgnored) {
4518
+ const {cwd} = this.options;
4519
+ const ign = this.options.ignored;
4520
+
4521
+ const ignored = ign && ign.map(normalizeIgnored(cwd));
4522
+ const paths = arrify(ignored)
4523
+ .filter((path) => typeof path === STRING_TYPE && !isGlob(path))
4524
+ .map((path) => path + SLASH_GLOBSTAR);
4525
+ const list = this._getGlobIgnored().map(normalizeIgnored(cwd)).concat(ignored, paths);
4526
+ this._userIgnored = anymatch(list, undefined, ANYMATCH_OPTS);
4527
+ }
4528
+
4529
+ return this._userIgnored([path, stats]);
4530
+ }
4531
+
4532
+ _isntIgnored(path, stat) {
4533
+ return !this._isIgnored(path, stat);
4534
+ }
4535
+
4536
+ /**
4537
+ * Provides a set of common helpers and properties relating to symlink and glob handling.
4538
+ * @param {Path} path file, directory, or glob pattern being watched
4539
+ * @param {Number=} depth at any depth > 0, this isn't a glob
4540
+ * @returns {WatchHelper} object containing helpers for this path
4541
+ */
4542
+ _getWatchHelpers(path, depth) {
4543
+ const watchPath = depth || this.options.disableGlobbing || !isGlob(path) ? path : globParent(path);
4544
+ const follow = this.options.followSymlinks;
4545
+
4546
+ return new WatchHelper(path, watchPath, follow, this);
4547
+ }
4548
+
4549
+ // Directory helpers
4550
+ // -----------------
4551
+
4552
+ /**
4553
+ * Provides directory tracking objects
4554
+ * @param {String} directory path of the directory
4555
+ * @returns {DirEntry} the directory's tracking object
4556
+ */
4557
+ _getWatchedDir(directory) {
4558
+ if (!this._boundRemove) this._boundRemove = this._remove.bind(this);
4559
+ const dir = sysPath.resolve(directory);
4560
+ if (!this._watched.has(dir)) this._watched.set(dir, new DirEntry(dir, this._boundRemove));
4561
+ return this._watched.get(dir);
4562
+ }
4563
+
4564
+ // File helpers
4565
+ // ------------
4566
+
4567
+ /**
4568
+ * Check for read permissions.
4569
+ * Based on this answer on SO: https://stackoverflow.com/a/11781404/1358405
4570
+ * @param {fs.Stats} stats - object, result of fs_stat
4571
+ * @returns {Boolean} indicates whether the file can be read
4572
+ */
4573
+ _hasReadPermissions(stats) {
4574
+ if (this.options.ignorePermissionErrors) return true;
4575
+
4576
+ // stats.mode may be bigint
4577
+ const md = stats && Number.parseInt(stats.mode, 10);
4578
+ const st = md & 0o777;
4579
+ const it = Number.parseInt(st.toString(8)[0], 10);
4580
+ return Boolean(4 & it);
4581
+ }
4582
+
4583
+ /**
4584
+ * Handles emitting unlink events for
4585
+ * files and directories, and via recursion, for
4586
+ * files and directories within directories that are unlinked
4587
+ * @param {String} directory within which the following item is located
4588
+ * @param {String} item base path of item/directory
4589
+ * @returns {void}
4590
+ */
4591
+ _remove(directory, item, isDirectory) {
4592
+ // if what is being deleted is a directory, get that directory's paths
4593
+ // for recursive deleting and cleaning of watched object
4594
+ // if it is not a directory, nestedDirectoryChildren will be empty array
4595
+ const path = sysPath.join(directory, item);
4596
+ const fullPath = sysPath.resolve(path);
4597
+ isDirectory = isDirectory != null
4598
+ ? isDirectory
4599
+ : this._watched.has(path) || this._watched.has(fullPath);
4600
+
4601
+ // prevent duplicate handling in case of arriving here nearly simultaneously
4602
+ // via multiple paths (such as _handleFile and _handleDir)
4603
+ if (!this._throttle('remove', path, 100)) return;
4604
+
4605
+ // if the only watched file is removed, watch for its return
4606
+ if (!isDirectory && !this.options.useFsEvents && this._watched.size === 1) {
4607
+ this.add(directory, item, true);
4608
+ }
4609
+
4610
+ // This will create a new entry in the watched object in either case
4611
+ // so we got to do the directory check beforehand
4612
+ const wp = this._getWatchedDir(path);
4613
+ const nestedDirectoryChildren = wp.getChildren();
4614
+
4615
+ // Recursively remove children directories / files.
4616
+ nestedDirectoryChildren.forEach(nested => this._remove(path, nested));
4617
+
4618
+ // Check if item was on the watched list and remove it
4619
+ const parent = this._getWatchedDir(directory);
4620
+ const wasTracked = parent.has(item);
4621
+ parent.remove(item);
4622
+
4623
+ // Fixes issue #1042 -> Relative paths were detected and added as symlinks
4624
+ // (https://github.com/paulmillr/chokidar/blob/e1753ddbc9571bdc33b4a4af172d52cb6e611c10/lib/nodefs-handler.js#L612),
4625
+ // but never removed from the map in case the path was deleted.
4626
+ // This leads to an incorrect state if the path was recreated:
4627
+ // https://github.com/paulmillr/chokidar/blob/e1753ddbc9571bdc33b4a4af172d52cb6e611c10/lib/nodefs-handler.js#L553
4628
+ if (this._symlinkPaths.has(fullPath)) {
4629
+ this._symlinkPaths.delete(fullPath);
4630
+ }
4631
+
4632
+ // If we wait for this file to be fully written, cancel the wait.
4633
+ let relPath = path;
4634
+ if (this.options.cwd) relPath = sysPath.relative(this.options.cwd, path);
4635
+ if (this.options.awaitWriteFinish && this._pendingWrites.has(relPath)) {
4636
+ const event = this._pendingWrites.get(relPath).cancelWait();
4637
+ if (event === EV_ADD) return;
4638
+ }
4639
+
4640
+ // The Entry will either be a directory that just got removed
4641
+ // or a bogus entry to a file, in either case we have to remove it
4642
+ this._watched.delete(path);
4643
+ this._watched.delete(fullPath);
4644
+ const eventName = isDirectory ? EV_UNLINK_DIR : EV_UNLINK;
4645
+ if (wasTracked && !this._isIgnored(path)) this._emit(eventName, path);
4646
+
4647
+ // Avoid conflicts if we later create another file with the same name
4648
+ if (!this.options.useFsEvents) {
4649
+ this._closePath(path);
4650
+ }
4651
+ }
4652
+
4653
+ /**
4654
+ * Closes all watchers for a path
4655
+ * @param {Path} path
4656
+ */
4657
+ _closePath(path) {
4658
+ this._closeFile(path);
4659
+ const dir = sysPath.dirname(path);
4660
+ this._getWatchedDir(dir).remove(sysPath.basename(path));
4661
+ }
4662
+
4663
+ /**
4664
+ * Closes only file-specific watchers
4665
+ * @param {Path} path
4666
+ */
4667
+ _closeFile(path) {
4668
+ const closers = this._closers.get(path);
4669
+ if (!closers) return;
4670
+ closers.forEach(closer => closer());
4671
+ this._closers.delete(path);
4672
+ }
4673
+
4674
+ /**
4675
+ *
4676
+ * @param {Path} path
4677
+ * @param {Function} closer
4678
+ */
4679
+ _addPathCloser(path, closer) {
4680
+ if (!closer) return;
4681
+ let list = this._closers.get(path);
4682
+ if (!list) {
4683
+ list = [];
4684
+ this._closers.set(path, list);
4685
+ }
4686
+ list.push(closer);
4687
+ }
4688
+
4689
+ _readdirp(root, opts) {
4690
+ if (this.closed) return;
4691
+ const options = {type: EV_ALL, alwaysStat: true, lstat: true, ...opts};
4692
+ let stream = readdirp(root, options);
4693
+ this._streams.add(stream);
4694
+ stream.once(STR_CLOSE, () => {
4695
+ stream = undefined;
4696
+ });
4697
+ stream.once(STR_END, () => {
4698
+ if (stream) {
4699
+ this._streams.delete(stream);
4700
+ stream = undefined;
4701
+ }
4702
+ });
4703
+ return stream;
4704
+ }
4705
+
4706
+ }
4707
+
4708
+ // Export FSWatcher class
4709
+ chokidar.FSWatcher = FSWatcher;
4710
+
4711
+ /**
4712
+ * Instantiates watcher with paths to be tracked.
4713
+ * @param {String|Array<String>} paths file/directory paths and/or globs
4714
+ * @param {Object=} options chokidar opts
4715
+ * @returns an instance of FSWatcher for chaining.
4716
+ */
4717
+ const watch = (paths, options) => {
4718
+ const watcher = new FSWatcher(options);
4719
+ watcher.add(paths);
4720
+ return watcher;
4721
+ };
4722
+
4723
+ chokidar.watch = watch;
4724
+
4725
+ class FileWatcher {
4726
+ constructor(task, chokidarOptions) {
4727
+ this.transformWatchers = new Map();
4728
+ this.chokidarOptions = chokidarOptions;
4729
+ this.task = task;
4730
+ this.watcher = this.createWatcher(null);
4731
+ }
4732
+ close() {
4733
+ this.watcher.close();
4734
+ for (const watcher of this.transformWatchers.values()) {
4735
+ watcher.close();
4736
+ }
4737
+ }
4738
+ unwatch(id) {
4739
+ this.watcher.unwatch(id);
4740
+ const transformWatcher = this.transformWatchers.get(id);
4741
+ if (transformWatcher) {
4742
+ this.transformWatchers.delete(id);
4743
+ transformWatcher.close();
4744
+ }
4745
+ }
4746
+ watch(id, isTransformDependency) {
4747
+ var _a;
4748
+ if (isTransformDependency) {
4749
+ const watcher = (_a = this.transformWatchers.get(id)) !== null && _a !== void 0 ? _a : this.createWatcher(id);
4750
+ watcher.add(id);
4751
+ this.transformWatchers.set(id, watcher);
4752
+ }
4753
+ else {
4754
+ this.watcher.add(id);
4755
+ }
4756
+ }
4757
+ createWatcher(transformWatcherId) {
4758
+ const task = this.task;
4759
+ const isLinux = platform() === 'linux';
4760
+ const isTransformDependency = transformWatcherId !== null;
4761
+ const handleChange = (id, event) => {
4762
+ const changedId = transformWatcherId || id;
4763
+ if (isLinux) {
4764
+ // unwatching and watching fixes an issue with chokidar where on certain systems,
4765
+ // a file that was unlinked and immediately recreated would create a change event
4766
+ // but then no longer any further events
4767
+ watcher.unwatch(changedId);
4768
+ watcher.add(changedId);
4769
+ }
4770
+ task.invalidate(changedId, { event, isTransformDependency });
4771
+ };
4772
+ const watcher = chokidar
4773
+ .watch([], this.chokidarOptions)
4774
+ .on('add', id => handleChange(id, 'create'))
4775
+ .on('change', id => handleChange(id, 'update'))
4776
+ .on('unlink', id => handleChange(id, 'delete'));
4777
+ return watcher;
4778
+ }
4779
+ }
4780
+
4781
+ const eventsRewrites = {
4782
+ create: {
4783
+ create: 'buggy',
4784
+ delete: null,
4785
+ update: 'create'
4786
+ },
4787
+ delete: {
4788
+ create: 'update',
4789
+ delete: 'buggy',
4790
+ update: 'buggy'
4791
+ },
4792
+ update: {
4793
+ create: 'buggy',
4794
+ delete: 'delete',
4795
+ update: 'update'
4796
+ }
4797
+ };
4798
+ class Watcher {
4799
+ constructor(configs, emitter) {
4800
+ this.buildDelay = 0;
4801
+ this.buildTimeout = null;
4802
+ this.invalidatedIds = new Map();
4803
+ this.rerun = false;
4804
+ this.running = true;
4805
+ this.emitter = emitter;
4806
+ emitter.close = this.close.bind(this);
4807
+ this.tasks = configs.map(config => new Task(this, config));
4808
+ this.buildDelay = configs.reduce((buildDelay, { watch }) => watch && typeof watch.buildDelay === 'number'
4809
+ ? Math.max(buildDelay, watch.buildDelay)
4810
+ : buildDelay, this.buildDelay);
4811
+ process$1.nextTick(() => this.run());
4812
+ }
4813
+ async close() {
4814
+ if (this.buildTimeout)
4815
+ clearTimeout(this.buildTimeout);
4816
+ for (const task of this.tasks) {
4817
+ task.close();
4818
+ }
4819
+ await this.emitter.emitAndAwait('close');
4820
+ this.emitter.removeAllListeners();
4821
+ }
4822
+ invalidate(file) {
4823
+ if (file) {
4824
+ const prevEvent = this.invalidatedIds.get(file.id);
4825
+ const event = prevEvent ? eventsRewrites[prevEvent][file.event] : file.event;
4826
+ if (event === 'buggy') {
4827
+ //TODO: throws or warn? Currently just ignore, uses new event
4828
+ this.invalidatedIds.set(file.id, file.event);
4829
+ }
4830
+ else if (event === null) {
4831
+ this.invalidatedIds.delete(file.id);
4832
+ }
4833
+ else {
4834
+ this.invalidatedIds.set(file.id, event);
4835
+ }
4836
+ }
4837
+ if (this.running) {
4838
+ this.rerun = true;
4839
+ return;
4840
+ }
4841
+ if (this.buildTimeout)
4842
+ clearTimeout(this.buildTimeout);
4843
+ this.buildTimeout = setTimeout(async () => {
4844
+ this.buildTimeout = null;
4845
+ try {
4846
+ await Promise.all([...this.invalidatedIds].map(([id, event]) => this.emitter.emitAndAwait('change', id, { event })));
4847
+ this.invalidatedIds.clear();
4848
+ this.emitter.emit('restart');
4849
+ this.emitter.removeAwaited();
4850
+ this.run();
4851
+ }
4852
+ catch (error) {
4853
+ this.invalidatedIds.clear();
4854
+ this.emitter.emit('event', {
4855
+ code: 'ERROR',
4856
+ error,
4857
+ result: null
4858
+ });
4859
+ this.emitter.emit('event', {
4860
+ code: 'END'
4861
+ });
4862
+ }
4863
+ }, this.buildDelay);
4864
+ }
4865
+ async run() {
4866
+ this.running = true;
4867
+ this.emitter.emit('event', {
4868
+ code: 'START'
4869
+ });
4870
+ for (const task of this.tasks) {
4871
+ await task.run();
4872
+ }
4873
+ this.running = false;
4874
+ this.emitter.emit('event', {
4875
+ code: 'END'
4876
+ });
4877
+ if (this.rerun) {
4878
+ this.rerun = false;
4879
+ this.invalidate();
4880
+ }
4881
+ }
4882
+ }
4883
+ class Task {
4884
+ constructor(watcher, config) {
4885
+ this.cache = { modules: [] };
4886
+ this.watchFiles = [];
4887
+ this.closed = false;
4888
+ this.invalidated = true;
4889
+ this.watched = new Set();
4890
+ this.watcher = watcher;
4891
+ this.skipWrite = Boolean(config.watch && config.watch.skipWrite);
4892
+ this.options = mergeOptions(config);
4893
+ this.outputs = this.options.output;
4894
+ this.outputFiles = this.outputs.map(output => {
4895
+ if (output.file || output.dir)
4896
+ return resolve(output.file || output.dir);
4897
+ return undefined;
4898
+ });
4899
+ const watchOptions = this.options.watch || {};
4900
+ this.filter = createFilter(watchOptions.include, watchOptions.exclude);
4901
+ this.fileWatcher = new FileWatcher(this, {
4902
+ ...watchOptions.chokidar,
4903
+ disableGlobbing: true,
4904
+ ignoreInitial: true
4905
+ });
4906
+ }
4907
+ close() {
4908
+ this.closed = true;
4909
+ this.fileWatcher.close();
4910
+ }
4911
+ invalidate(id, details) {
4912
+ this.invalidated = true;
4913
+ if (details.isTransformDependency) {
4914
+ for (const module of this.cache.modules) {
4915
+ if (!module.transformDependencies.includes(id))
4916
+ continue;
4917
+ // effective invalidation
4918
+ module.originalCode = null;
4919
+ }
4920
+ }
4921
+ this.watcher.invalidate({ event: details.event, id });
4922
+ }
4923
+ async run() {
4924
+ if (!this.invalidated)
4925
+ return;
4926
+ this.invalidated = false;
4927
+ const options = {
4928
+ ...this.options,
4929
+ cache: this.cache
4930
+ };
4931
+ const start = Date.now();
4932
+ this.watcher.emitter.emit('event', {
4933
+ code: 'BUNDLE_START',
4934
+ input: this.options.input,
4935
+ output: this.outputFiles
4936
+ });
4937
+ let result = null;
4938
+ try {
4939
+ result = await rollupInternal(options, this.watcher.emitter);
4940
+ if (this.closed) {
4941
+ return;
4942
+ }
4943
+ this.updateWatchedFiles(result);
4944
+ this.skipWrite || (await Promise.all(this.outputs.map(output => result.write(output))));
4945
+ this.watcher.emitter.emit('event', {
4946
+ code: 'BUNDLE_END',
4947
+ duration: Date.now() - start,
4948
+ input: this.options.input,
4949
+ output: this.outputFiles,
4950
+ result
4951
+ });
4952
+ }
4953
+ catch (error) {
4954
+ if (!this.closed) {
4955
+ if (Array.isArray(error.watchFiles)) {
4956
+ for (const id of error.watchFiles) {
4957
+ this.watchFile(id);
4958
+ }
4959
+ }
4960
+ if (error.id) {
4961
+ this.cache.modules = this.cache.modules.filter(module => module.id !== error.id);
4962
+ }
4963
+ }
4964
+ this.watcher.emitter.emit('event', {
4965
+ code: 'ERROR',
4966
+ error,
4967
+ result
4968
+ });
4969
+ }
4970
+ }
4971
+ updateWatchedFiles(result) {
4972
+ const previouslyWatched = this.watched;
4973
+ this.watched = new Set();
4974
+ this.watchFiles = result.watchFiles;
4975
+ this.cache = result.cache;
4976
+ for (const id of this.watchFiles) {
4977
+ this.watchFile(id);
4978
+ }
4979
+ for (const module of this.cache.modules) {
4980
+ for (const depId of module.transformDependencies) {
4981
+ this.watchFile(depId, true);
4982
+ }
4983
+ }
4984
+ for (const id of previouslyWatched) {
4985
+ if (!this.watched.has(id)) {
4986
+ this.fileWatcher.unwatch(id);
4987
+ }
4988
+ }
4989
+ }
4990
+ watchFile(id, isTransformDependency = false) {
4991
+ if (!this.filter(id))
4992
+ return;
4993
+ this.watched.add(id);
4994
+ if (this.outputFiles.some(file => file === id)) {
4995
+ throw new Error('Cannot import the generated bundle');
4996
+ }
4997
+ // this is necessary to ensure that any 'renamed' files
4998
+ // continue to be watched following an error
4999
+ this.fileWatcher.watch(id, isTransformDependency);
5000
+ }
5001
+ }
5002
+
5003
+ export { Task, Watcher };