@ohos-ports/rsbuild-core 1.1.14-beta.1

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 (244) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +28 -0
  3. package/bin/rsbuild.js +20 -0
  4. package/compiled/chokidar/index.d.ts +345 -0
  5. package/compiled/chokidar/index.js +1778 -0
  6. package/compiled/chokidar/license +21 -0
  7. package/compiled/chokidar/package.json +1 -0
  8. package/compiled/connect/index.d.ts +90 -0
  9. package/compiled/connect/index.js +1240 -0
  10. package/compiled/connect/license +25 -0
  11. package/compiled/connect/package.json +1 -0
  12. package/compiled/connect-history-api-fallback/index.d.ts +1 -0
  13. package/compiled/connect-history-api-fallback/index.js +149 -0
  14. package/compiled/connect-history-api-fallback/license +21 -0
  15. package/compiled/connect-history-api-fallback/package.json +1 -0
  16. package/compiled/cors/index.d.ts +1 -0
  17. package/compiled/cors/index.js +371 -0
  18. package/compiled/cors/license +22 -0
  19. package/compiled/cors/package.json +1 -0
  20. package/compiled/css-loader/api.js +85 -0
  21. package/compiled/css-loader/getUrl.js +26 -0
  22. package/compiled/css-loader/index.d.ts +1 -0
  23. package/compiled/css-loader/index.js +8008 -0
  24. package/compiled/css-loader/license +20 -0
  25. package/compiled/css-loader/noSourceMaps.js +5 -0
  26. package/compiled/css-loader/package.json +1 -0
  27. package/compiled/css-loader/sourceMaps.js +16 -0
  28. package/compiled/html-rspack-plugin/default_index.ejs +9 -0
  29. package/compiled/html-rspack-plugin/index.d.ts +289 -0
  30. package/compiled/html-rspack-plugin/index.js +1583 -0
  31. package/compiled/html-rspack-plugin/license +20 -0
  32. package/compiled/html-rspack-plugin/loader.js +162 -0
  33. package/compiled/html-rspack-plugin/package.json +1 -0
  34. package/compiled/http-proxy-middleware/index.d.ts +318 -0
  35. package/compiled/http-proxy-middleware/index.js +5280 -0
  36. package/compiled/http-proxy-middleware/license +22 -0
  37. package/compiled/http-proxy-middleware/package.json +1 -0
  38. package/compiled/jiti/index.d.ts +1 -0
  39. package/compiled/jiti/index.js +416 -0
  40. package/compiled/jiti/license +21 -0
  41. package/compiled/jiti/package.json +1 -0
  42. package/compiled/launch-editor-middleware/index.d.ts +1 -0
  43. package/compiled/launch-editor-middleware/index.js +694 -0
  44. package/compiled/launch-editor-middleware/license +21 -0
  45. package/compiled/launch-editor-middleware/package.json +1 -0
  46. package/compiled/mrmime/index.d.ts +4 -0
  47. package/compiled/mrmime/index.js +452 -0
  48. package/compiled/mrmime/package.json +1 -0
  49. package/compiled/on-finished/index.d.ts +13 -0
  50. package/compiled/on-finished/index.js +197 -0
  51. package/compiled/on-finished/license +23 -0
  52. package/compiled/on-finished/package.json +1 -0
  53. package/compiled/open/index.d.ts +153 -0
  54. package/compiled/open/index.js +409 -0
  55. package/compiled/open/package.json +1 -0
  56. package/compiled/open/xdg-open +1066 -0
  57. package/compiled/picocolors/index.d.ts +55 -0
  58. package/compiled/picocolors/index.js +108 -0
  59. package/compiled/picocolors/license +15 -0
  60. package/compiled/picocolors/package.json +1 -0
  61. package/compiled/postcss/index.d.ts +1 -0
  62. package/compiled/postcss/index.js +5997 -0
  63. package/compiled/postcss/license +20 -0
  64. package/compiled/postcss/package.json +1 -0
  65. package/compiled/postcss-load-config/index.d.ts +1 -0
  66. package/compiled/postcss-load-config/index.js +739 -0
  67. package/compiled/postcss-load-config/license +20 -0
  68. package/compiled/postcss-load-config/package.json +1 -0
  69. package/compiled/postcss-loader/index.d.ts +1 -0
  70. package/compiled/postcss-loader/index.js +741 -0
  71. package/compiled/postcss-loader/license +20 -0
  72. package/compiled/postcss-loader/package.json +1 -0
  73. package/compiled/rsbuild-dev-middleware/index.d.ts +1 -0
  74. package/compiled/rsbuild-dev-middleware/index.js +6158 -0
  75. package/compiled/rsbuild-dev-middleware/license +20 -0
  76. package/compiled/rsbuild-dev-middleware/package.json +1 -0
  77. package/compiled/rslog/index.d.ts +66 -0
  78. package/compiled/rslog/index.js +334 -0
  79. package/compiled/rslog/license +21 -0
  80. package/compiled/rslog/package.json +1 -0
  81. package/compiled/rspack-chain/index.d.ts +611 -0
  82. package/compiled/rspack-chain/index.js +1740 -0
  83. package/compiled/rspack-chain/license +373 -0
  84. package/compiled/rspack-chain/package.json +1 -0
  85. package/compiled/rspack-manifest-plugin/index.d.ts +44 -0
  86. package/compiled/rspack-manifest-plugin/index.js +394 -0
  87. package/compiled/rspack-manifest-plugin/license +21 -0
  88. package/compiled/rspack-manifest-plugin/package.json +1 -0
  89. package/compiled/sirv/index.d.ts +1 -0
  90. package/compiled/sirv/index.js +709 -0
  91. package/compiled/sirv/package.json +1 -0
  92. package/compiled/style-loader/index.d.ts +1 -0
  93. package/compiled/style-loader/index.js +427 -0
  94. package/compiled/style-loader/license +20 -0
  95. package/compiled/style-loader/package.json +1 -0
  96. package/compiled/style-loader/runtime/injectStylesIntoLinkTag.js +29 -0
  97. package/compiled/style-loader/runtime/injectStylesIntoStyleTag.js +84 -0
  98. package/compiled/style-loader/runtime/insertBySelector.js +34 -0
  99. package/compiled/style-loader/runtime/insertStyleElement.js +10 -0
  100. package/compiled/style-loader/runtime/isEqualLocals.js +28 -0
  101. package/compiled/style-loader/runtime/isOldIE.js +17 -0
  102. package/compiled/style-loader/runtime/setAttributesWithAttributes.js +13 -0
  103. package/compiled/style-loader/runtime/setAttributesWithAttributesAndNonce.js +9 -0
  104. package/compiled/style-loader/runtime/setAttributesWithoutAttributes.js +10 -0
  105. package/compiled/style-loader/runtime/singletonStyleDomAPI.js +86 -0
  106. package/compiled/style-loader/runtime/styleDomAPI.js +61 -0
  107. package/compiled/style-loader/runtime/styleTagTransform.js +14 -0
  108. package/compiled/tinyglobby/index.d.ts +25 -0
  109. package/compiled/tinyglobby/index.js +2749 -0
  110. package/compiled/tinyglobby/index1.js +17 -0
  111. package/compiled/tinyglobby/license +21 -0
  112. package/compiled/tinyglobby/package.json +1 -0
  113. package/compiled/webpack-bundle-analyzer/index.d.ts +160 -0
  114. package/compiled/webpack-bundle-analyzer/index.js +13480 -0
  115. package/compiled/webpack-bundle-analyzer/license +20 -0
  116. package/compiled/webpack-bundle-analyzer/package.json +1 -0
  117. package/compiled/webpack-bundle-analyzer/public/viewer.js +16 -0
  118. package/compiled/webpack-bundle-analyzer/public/viewer.js.LICENSE.txt +10 -0
  119. package/compiled/webpack-merge/index.d.ts +31 -0
  120. package/compiled/webpack-merge/index.js +1200 -0
  121. package/compiled/webpack-merge/license +20 -0
  122. package/compiled/webpack-merge/package.json +1 -0
  123. package/compiled/ws/index.d.ts +401 -0
  124. package/compiled/ws/index.js +3153 -0
  125. package/compiled/ws/license +20 -0
  126. package/compiled/ws/package.json +1 -0
  127. package/dist/client/hmr.js +143 -0
  128. package/dist/client/overlay.js +210 -0
  129. package/dist/ignoreCssLoader.mjs +4 -0
  130. package/dist/index.cjs +7251 -0
  131. package/dist/index.js +7118 -0
  132. package/dist/transformLoader.mjs +22 -0
  133. package/dist/transformRawLoader.mjs +22 -0
  134. package/dist-types/cli/commands.d.ts +23 -0
  135. package/dist-types/cli/index.d.ts +1 -0
  136. package/dist-types/cli/init.d.ts +7 -0
  137. package/dist-types/cli/prepare.d.ts +1 -0
  138. package/dist-types/client/hmr.d.ts +1 -0
  139. package/dist-types/client/overlay.d.ts +1 -0
  140. package/dist-types/config.d.ts +90 -0
  141. package/dist-types/configChain.d.ts +139 -0
  142. package/dist-types/constants.d.ts +37 -0
  143. package/dist-types/createContext.d.ts +11 -0
  144. package/dist-types/createRsbuild.d.ts +2 -0
  145. package/dist-types/helpers/format.d.ts +5 -0
  146. package/dist-types/helpers/fs.d.ts +13 -0
  147. package/dist-types/helpers/index.d.ts +47 -0
  148. package/dist-types/helpers/path.d.ts +11 -0
  149. package/dist-types/helpers/stats.d.ts +9 -0
  150. package/dist-types/hooks.d.ts +48 -0
  151. package/dist-types/index.d.ts +26 -0
  152. package/dist-types/initPlugins.d.ts +6 -0
  153. package/dist-types/internal.d.ts +6 -0
  154. package/dist-types/loadEnv.d.ts +50 -0
  155. package/dist-types/loader/ignoreCssLoader.d.ts +2 -0
  156. package/dist-types/loader/transformLoader.d.ts +7 -0
  157. package/dist-types/loader/transformRawLoader.d.ts +3 -0
  158. package/dist-types/logger.d.ts +4 -0
  159. package/dist-types/mergeConfig.d.ts +2 -0
  160. package/dist-types/package.json +1 -0
  161. package/dist-types/pluginHelper.d.ts +12 -0
  162. package/dist-types/pluginManager.d.ts +9 -0
  163. package/dist-types/plugins/appIcon.d.ts +2 -0
  164. package/dist-types/plugins/asset.d.ts +3 -0
  165. package/dist-types/plugins/basic.d.ts +5 -0
  166. package/dist-types/plugins/bundleAnalyzer.d.ts +2 -0
  167. package/dist-types/plugins/cache.d.ts +2 -0
  168. package/dist-types/plugins/cleanOutput.d.ts +3 -0
  169. package/dist-types/plugins/css.d.ts +3 -0
  170. package/dist-types/plugins/define.d.ts +2 -0
  171. package/dist-types/plugins/entry.d.ts +2 -0
  172. package/dist-types/plugins/externals.d.ts +2 -0
  173. package/dist-types/plugins/fileSize.d.ts +4 -0
  174. package/dist-types/plugins/html.d.ts +9 -0
  175. package/dist-types/plugins/inlineChunk.d.ts +2 -0
  176. package/dist-types/plugins/lazyCompilation.d.ts +2 -0
  177. package/dist-types/plugins/manifest.d.ts +2 -0
  178. package/dist-types/plugins/minimize.d.ts +10 -0
  179. package/dist-types/plugins/moduleFederation.d.ts +2 -0
  180. package/dist-types/plugins/moment.d.ts +2 -0
  181. package/dist-types/plugins/nodeAddons.d.ts +2 -0
  182. package/dist-types/plugins/nonce.d.ts +2 -0
  183. package/dist-types/plugins/output.d.ts +2 -0
  184. package/dist-types/plugins/performance.d.ts +5 -0
  185. package/dist-types/plugins/progress.d.ts +2 -0
  186. package/dist-types/plugins/resolve.d.ts +2 -0
  187. package/dist-types/plugins/resourceHints.d.ts +2 -0
  188. package/dist-types/plugins/rsdoctor.d.ts +2 -0
  189. package/dist-types/plugins/rspackProfile.d.ts +2 -0
  190. package/dist-types/plugins/server.d.ts +2 -0
  191. package/dist-types/plugins/splitChunks.d.ts +4 -0
  192. package/dist-types/plugins/sri.d.ts +2 -0
  193. package/dist-types/plugins/swc.d.ts +7 -0
  194. package/dist-types/plugins/target.d.ts +2 -0
  195. package/dist-types/plugins/wasm.d.ts +2 -0
  196. package/dist-types/provider/build.d.ts +3 -0
  197. package/dist-types/provider/createCompiler.d.ts +27 -0
  198. package/dist-types/provider/helpers.d.ts +12 -0
  199. package/dist-types/provider/initConfigs.d.ts +10 -0
  200. package/dist-types/provider/inspectConfig.d.ts +6 -0
  201. package/dist-types/provider/provider.d.ts +2 -0
  202. package/dist-types/provider/rspackConfig.d.ts +8 -0
  203. package/dist-types/rspack/RsbuildHtmlPlugin.d.ts +37 -0
  204. package/dist-types/rspack/preload/HtmlPreloadOrPrefetchPlugin.d.ts +29 -0
  205. package/dist-types/rspack/preload/helpers/determineAsValue.d.ts +22 -0
  206. package/dist-types/rspack/preload/helpers/doesChunkBelongToHtml.d.ts +29 -0
  207. package/dist-types/rspack/preload/helpers/extractChunks.d.ts +28 -0
  208. package/dist-types/rspack/preload/helpers/index.d.ts +4 -0
  209. package/dist-types/rspack/preload/helpers/type.d.ts +13 -0
  210. package/dist-types/server/ansiHTML.d.ts +12 -0
  211. package/dist-types/server/cliShortcuts.d.ts +10 -0
  212. package/dist-types/server/compilerDevMiddleware.d.ts +31 -0
  213. package/dist-types/server/devMiddleware.d.ts +27 -0
  214. package/dist-types/server/devServer.d.ts +60 -0
  215. package/dist-types/server/environment.d.ts +8 -0
  216. package/dist-types/server/getDevMiddlewares.d.ts +25 -0
  217. package/dist-types/server/gzipMiddleware.d.ts +4 -0
  218. package/dist-types/server/helper.d.ts +71 -0
  219. package/dist-types/server/httpServer.d.ts +8 -0
  220. package/dist-types/server/middlewares.d.ts +34 -0
  221. package/dist-types/server/open.d.ts +10 -0
  222. package/dist-types/server/prodServer.d.ts +25 -0
  223. package/dist-types/server/proxy.d.ts +6 -0
  224. package/dist-types/server/restart.d.ts +14 -0
  225. package/dist-types/server/runner/asModule.d.ts +2 -0
  226. package/dist-types/server/runner/basic.d.ts +25 -0
  227. package/dist-types/server/runner/cjs.d.ts +10 -0
  228. package/dist-types/server/runner/esm.d.ts +6 -0
  229. package/dist-types/server/runner/index.d.ts +8 -0
  230. package/dist-types/server/runner/type.d.ts +36 -0
  231. package/dist-types/server/socketServer.d.ts +26 -0
  232. package/dist-types/server/watchFiles.d.ts +14 -0
  233. package/dist-types/types/config.d.ts +1309 -0
  234. package/dist-types/types/context.d.ts +52 -0
  235. package/dist-types/types/hooks.d.ts +146 -0
  236. package/dist-types/types/index.d.ts +8 -0
  237. package/dist-types/types/plugin.d.ts +329 -0
  238. package/dist-types/types/rsbuild.d.ts +156 -0
  239. package/dist-types/types/rspack.d.ts +16 -0
  240. package/dist-types/types/thirdParty.d.ts +176 -0
  241. package/dist-types/types/utils.d.ts +12 -0
  242. package/package.json +61 -0
  243. package/static/openChrome.applescript +95 -0
  244. package/types.d.ts +221 -0
@@ -0,0 +1,2749 @@
1
+ (() => {
2
+ "use strict";
3
+ var __webpack_modules__ = {
4
+ 588: (__unused_webpack_module, exports, __nccwpck_require__) => {
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.callback = exports.promise = void 0;
7
+ const walker_1 = __nccwpck_require__(9);
8
+ function promise(root, options) {
9
+ return new Promise((resolve, reject) => {
10
+ callback(root, options, (err, output) => {
11
+ if (err) return reject(err);
12
+ resolve(output);
13
+ });
14
+ });
15
+ }
16
+ exports.promise = promise;
17
+ function callback(root, options, callback) {
18
+ let walker = new walker_1.Walker(root, options, callback);
19
+ walker.start();
20
+ }
21
+ exports.callback = callback;
22
+ },
23
+ 724: (__unused_webpack_module, exports) => {
24
+ Object.defineProperty(exports, "__esModule", { value: true });
25
+ exports.Counter = void 0;
26
+ class Counter {
27
+ _files = 0;
28
+ _directories = 0;
29
+ set files(num) {
30
+ this._files = num;
31
+ }
32
+ get files() {
33
+ return this._files;
34
+ }
35
+ set directories(num) {
36
+ this._directories = num;
37
+ }
38
+ get directories() {
39
+ return this._directories;
40
+ }
41
+ get dirs() {
42
+ return this._directories;
43
+ }
44
+ }
45
+ exports.Counter = Counter;
46
+ },
47
+ 930: (__unused_webpack_module, exports) => {
48
+ Object.defineProperty(exports, "__esModule", { value: true });
49
+ exports.build = void 0;
50
+ const getArray = (paths) => paths;
51
+ const getArrayGroup = () => [""].slice(0, 0);
52
+ function build(options) {
53
+ return options.group ? getArrayGroup : getArray;
54
+ }
55
+ exports.build = build;
56
+ },
57
+ 942: (__unused_webpack_module, exports) => {
58
+ Object.defineProperty(exports, "__esModule", { value: true });
59
+ exports.build = void 0;
60
+ const groupFiles = (groups, directory, files) => {
61
+ groups.push({ directory, files, dir: directory });
62
+ };
63
+ const empty = () => {};
64
+ function build(options) {
65
+ return options.group ? groupFiles : empty;
66
+ }
67
+ exports.build = build;
68
+ },
69
+ 396: (__unused_webpack_module, exports) => {
70
+ Object.defineProperty(exports, "__esModule", { value: true });
71
+ exports.build = void 0;
72
+ const onlyCountsSync = (state) => state.counts;
73
+ const groupsSync = (state) => state.groups;
74
+ const defaultSync = (state) => state.paths;
75
+ const limitFilesSync = (state) =>
76
+ state.paths.slice(0, state.options.maxFiles);
77
+ const onlyCountsAsync = (state, error, callback) => {
78
+ report(error, callback, state.counts, state.options.suppressErrors);
79
+ return null;
80
+ };
81
+ const defaultAsync = (state, error, callback) => {
82
+ report(error, callback, state.paths, state.options.suppressErrors);
83
+ return null;
84
+ };
85
+ const limitFilesAsync = (state, error, callback) => {
86
+ report(
87
+ error,
88
+ callback,
89
+ state.paths.slice(0, state.options.maxFiles),
90
+ state.options.suppressErrors,
91
+ );
92
+ return null;
93
+ };
94
+ const groupsAsync = (state, error, callback) => {
95
+ report(error, callback, state.groups, state.options.suppressErrors);
96
+ return null;
97
+ };
98
+ function report(error, callback, output, suppressErrors) {
99
+ if (error && !suppressErrors) callback(error, output);
100
+ else callback(null, output);
101
+ }
102
+ function build(options, isSynchronous) {
103
+ const { onlyCounts, group, maxFiles } = options;
104
+ if (onlyCounts) return isSynchronous ? onlyCountsSync : onlyCountsAsync;
105
+ else if (group) return isSynchronous ? groupsSync : groupsAsync;
106
+ else if (maxFiles)
107
+ return isSynchronous ? limitFilesSync : limitFilesAsync;
108
+ else return isSynchronous ? defaultSync : defaultAsync;
109
+ }
110
+ exports.build = build;
111
+ },
112
+ 855: (__unused_webpack_module, exports, __nccwpck_require__) => {
113
+ Object.defineProperty(exports, "__esModule", { value: true });
114
+ exports.build =
115
+ exports.joinDirectoryPath =
116
+ exports.joinPathWithBasePath =
117
+ void 0;
118
+ const path_1 = __nccwpck_require__(17);
119
+ const utils_1 = __nccwpck_require__(182);
120
+ function joinPathWithBasePath(filename, directoryPath) {
121
+ return directoryPath + filename;
122
+ }
123
+ exports.joinPathWithBasePath = joinPathWithBasePath;
124
+ function joinPathWithRelativePath(root, options) {
125
+ return function (filename, directoryPath) {
126
+ const sameRoot = directoryPath.startsWith(root);
127
+ if (sameRoot) return directoryPath.replace(root, "") + filename;
128
+ else
129
+ return (
130
+ (0, utils_1.convertSlashes)(
131
+ (0, path_1.relative)(root, directoryPath),
132
+ options.pathSeparator,
133
+ ) +
134
+ options.pathSeparator +
135
+ filename
136
+ );
137
+ };
138
+ }
139
+ function joinPath(filename) {
140
+ return filename;
141
+ }
142
+ function joinDirectoryPath(filename, directoryPath, separator) {
143
+ return directoryPath + filename + separator;
144
+ }
145
+ exports.joinDirectoryPath = joinDirectoryPath;
146
+ function build(root, options) {
147
+ const { relativePaths, includeBasePath } = options;
148
+ return relativePaths && root
149
+ ? joinPathWithRelativePath(root, options)
150
+ : includeBasePath
151
+ ? joinPathWithBasePath
152
+ : joinPath;
153
+ }
154
+ exports.build = build;
155
+ },
156
+ 497: (__unused_webpack_module, exports) => {
157
+ Object.defineProperty(exports, "__esModule", { value: true });
158
+ exports.build = void 0;
159
+ function pushDirectoryWithRelativePath(root) {
160
+ return function (directoryPath, paths) {
161
+ paths.push(directoryPath.substring(root.length) || ".");
162
+ };
163
+ }
164
+ function pushDirectoryFilterWithRelativePath(root) {
165
+ return function (directoryPath, paths, filters) {
166
+ const relativePath = directoryPath.substring(root.length) || ".";
167
+ if (filters.every((filter) => filter(relativePath, true))) {
168
+ paths.push(relativePath);
169
+ }
170
+ };
171
+ }
172
+ const pushDirectory = (directoryPath, paths) => {
173
+ paths.push(directoryPath || ".");
174
+ };
175
+ const pushDirectoryFilter = (directoryPath, paths, filters) => {
176
+ const path = directoryPath || ".";
177
+ if (filters.every((filter) => filter(path, true))) {
178
+ paths.push(path);
179
+ }
180
+ };
181
+ const empty = () => {};
182
+ function build(root, options) {
183
+ const { includeDirs, filters, relativePaths } = options;
184
+ if (!includeDirs) return empty;
185
+ if (relativePaths)
186
+ return filters && filters.length
187
+ ? pushDirectoryFilterWithRelativePath(root)
188
+ : pushDirectoryWithRelativePath(root);
189
+ return filters && filters.length ? pushDirectoryFilter : pushDirectory;
190
+ }
191
+ exports.build = build;
192
+ },
193
+ 902: (__unused_webpack_module, exports) => {
194
+ Object.defineProperty(exports, "__esModule", { value: true });
195
+ exports.build = void 0;
196
+ const pushFileFilterAndCount = (filename, _paths, counts, filters) => {
197
+ if (filters.every((filter) => filter(filename, false))) counts.files++;
198
+ };
199
+ const pushFileFilter = (filename, paths, _counts, filters) => {
200
+ if (filters.every((filter) => filter(filename, false)))
201
+ paths.push(filename);
202
+ };
203
+ const pushFileCount = (_filename, _paths, counts, _filters) => {
204
+ counts.files++;
205
+ };
206
+ const pushFile = (filename, paths) => {
207
+ paths.push(filename);
208
+ };
209
+ const empty = () => {};
210
+ function build(options) {
211
+ const { excludeFiles, filters, onlyCounts } = options;
212
+ if (excludeFiles) return empty;
213
+ if (filters && filters.length) {
214
+ return onlyCounts ? pushFileFilterAndCount : pushFileFilter;
215
+ } else if (onlyCounts) {
216
+ return pushFileCount;
217
+ } else {
218
+ return pushFile;
219
+ }
220
+ }
221
+ exports.build = build;
222
+ },
223
+ 234: function (__unused_webpack_module, exports, __nccwpck_require__) {
224
+ var __importDefault =
225
+ (this && this.__importDefault) ||
226
+ function (mod) {
227
+ return mod && mod.__esModule ? mod : { default: mod };
228
+ };
229
+ Object.defineProperty(exports, "__esModule", { value: true });
230
+ exports.build = void 0;
231
+ const fs_1 = __importDefault(__nccwpck_require__(147));
232
+ const path_1 = __nccwpck_require__(17);
233
+ const resolveSymlinksAsync = function (path, state, callback) {
234
+ const {
235
+ queue,
236
+ options: { suppressErrors },
237
+ } = state;
238
+ queue.enqueue();
239
+ fs_1.default.realpath(path, (error, resolvedPath) => {
240
+ if (error) return queue.dequeue(suppressErrors ? null : error, state);
241
+ fs_1.default.stat(resolvedPath, (error, stat) => {
242
+ if (error)
243
+ return queue.dequeue(suppressErrors ? null : error, state);
244
+ if (stat.isDirectory() && isRecursive(path, resolvedPath, state))
245
+ return queue.dequeue(null, state);
246
+ callback(stat, resolvedPath);
247
+ queue.dequeue(null, state);
248
+ });
249
+ });
250
+ };
251
+ const resolveSymlinks = function (path, state, callback) {
252
+ const {
253
+ queue,
254
+ options: { suppressErrors },
255
+ } = state;
256
+ queue.enqueue();
257
+ try {
258
+ const resolvedPath = fs_1.default.realpathSync(path);
259
+ const stat = fs_1.default.statSync(resolvedPath);
260
+ if (stat.isDirectory() && isRecursive(path, resolvedPath, state))
261
+ return;
262
+ callback(stat, resolvedPath);
263
+ } catch (e) {
264
+ if (!suppressErrors) throw e;
265
+ }
266
+ };
267
+ function build(options, isSynchronous) {
268
+ if (!options.resolveSymlinks || options.excludeSymlinks) return null;
269
+ return isSynchronous ? resolveSymlinks : resolveSymlinksAsync;
270
+ }
271
+ exports.build = build;
272
+ function isRecursive(path, resolved, state) {
273
+ if (state.options.useRealPaths)
274
+ return isRecursiveUsingRealPaths(resolved, state);
275
+ let parent = (0, path_1.dirname)(path);
276
+ let depth = 1;
277
+ while (parent !== state.root && depth < 2) {
278
+ const resolvedPath = state.symlinks.get(parent);
279
+ const isSameRoot =
280
+ !!resolvedPath &&
281
+ (resolvedPath === resolved ||
282
+ resolvedPath.startsWith(resolved) ||
283
+ resolved.startsWith(resolvedPath));
284
+ if (isSameRoot) depth++;
285
+ else parent = (0, path_1.dirname)(parent);
286
+ }
287
+ state.symlinks.set(path, resolved);
288
+ return depth > 1;
289
+ }
290
+ function isRecursiveUsingRealPaths(resolved, state) {
291
+ return state.visited.includes(resolved + state.options.pathSeparator);
292
+ }
293
+ },
294
+ 104: function (__unused_webpack_module, exports, __nccwpck_require__) {
295
+ var __importDefault =
296
+ (this && this.__importDefault) ||
297
+ function (mod) {
298
+ return mod && mod.__esModule ? mod : { default: mod };
299
+ };
300
+ Object.defineProperty(exports, "__esModule", { value: true });
301
+ exports.build = void 0;
302
+ const fs_1 = __importDefault(__nccwpck_require__(147));
303
+ const readdirOpts = { withFileTypes: true };
304
+ const walkAsync = (
305
+ state,
306
+ crawlPath,
307
+ directoryPath,
308
+ currentDepth,
309
+ callback,
310
+ ) => {
311
+ if (currentDepth < 0) return state.queue.dequeue(null, state);
312
+ state.visited.push(crawlPath);
313
+ state.counts.directories++;
314
+ state.queue.enqueue();
315
+ fs_1.default.readdir(
316
+ crawlPath || ".",
317
+ readdirOpts,
318
+ (error, entries = []) => {
319
+ callback(entries, directoryPath, currentDepth);
320
+ state.queue.dequeue(
321
+ state.options.suppressErrors ? null : error,
322
+ state,
323
+ );
324
+ },
325
+ );
326
+ };
327
+ const walkSync = (
328
+ state,
329
+ crawlPath,
330
+ directoryPath,
331
+ currentDepth,
332
+ callback,
333
+ ) => {
334
+ if (currentDepth < 0) return;
335
+ state.visited.push(crawlPath);
336
+ state.counts.directories++;
337
+ let entries = [];
338
+ try {
339
+ entries = fs_1.default.readdirSync(crawlPath || ".", readdirOpts);
340
+ } catch (e) {
341
+ if (!state.options.suppressErrors) throw e;
342
+ }
343
+ callback(entries, directoryPath, currentDepth);
344
+ };
345
+ function build(isSynchronous) {
346
+ return isSynchronous ? walkSync : walkAsync;
347
+ }
348
+ exports.build = build;
349
+ },
350
+ 831: (__unused_webpack_module, exports) => {
351
+ Object.defineProperty(exports, "__esModule", { value: true });
352
+ exports.Queue = void 0;
353
+ class Queue {
354
+ onQueueEmpty;
355
+ count = 0;
356
+ constructor(onQueueEmpty) {
357
+ this.onQueueEmpty = onQueueEmpty;
358
+ }
359
+ enqueue() {
360
+ this.count++;
361
+ }
362
+ dequeue(error, output) {
363
+ if (--this.count <= 0 || error) this.onQueueEmpty(error, output);
364
+ }
365
+ }
366
+ exports.Queue = Queue;
367
+ },
368
+ 29: (__unused_webpack_module, exports, __nccwpck_require__) => {
369
+ Object.defineProperty(exports, "__esModule", { value: true });
370
+ exports.sync = void 0;
371
+ const walker_1 = __nccwpck_require__(9);
372
+ function sync(root, options) {
373
+ const walker = new walker_1.Walker(root, options);
374
+ return walker.start();
375
+ }
376
+ exports.sync = sync;
377
+ },
378
+ 9: function (__unused_webpack_module, exports, __nccwpck_require__) {
379
+ var __createBinding =
380
+ (this && this.__createBinding) ||
381
+ (Object.create
382
+ ? function (o, m, k, k2) {
383
+ if (k2 === undefined) k2 = k;
384
+ var desc = Object.getOwnPropertyDescriptor(m, k);
385
+ if (
386
+ !desc ||
387
+ ("get" in desc
388
+ ? !m.__esModule
389
+ : desc.writable || desc.configurable)
390
+ ) {
391
+ desc = {
392
+ enumerable: true,
393
+ get: function () {
394
+ return m[k];
395
+ },
396
+ };
397
+ }
398
+ Object.defineProperty(o, k2, desc);
399
+ }
400
+ : function (o, m, k, k2) {
401
+ if (k2 === undefined) k2 = k;
402
+ o[k2] = m[k];
403
+ });
404
+ var __setModuleDefault =
405
+ (this && this.__setModuleDefault) ||
406
+ (Object.create
407
+ ? function (o, v) {
408
+ Object.defineProperty(o, "default", {
409
+ enumerable: true,
410
+ value: v,
411
+ });
412
+ }
413
+ : function (o, v) {
414
+ o["default"] = v;
415
+ });
416
+ var __importStar =
417
+ (this && this.__importStar) ||
418
+ function (mod) {
419
+ if (mod && mod.__esModule) return mod;
420
+ var result = {};
421
+ if (mod != null)
422
+ for (var k in mod)
423
+ if (
424
+ k !== "default" &&
425
+ Object.prototype.hasOwnProperty.call(mod, k)
426
+ )
427
+ __createBinding(result, mod, k);
428
+ __setModuleDefault(result, mod);
429
+ return result;
430
+ };
431
+ Object.defineProperty(exports, "__esModule", { value: true });
432
+ exports.Walker = void 0;
433
+ const path_1 = __nccwpck_require__(17);
434
+ const utils_1 = __nccwpck_require__(182);
435
+ const joinPath = __importStar(__nccwpck_require__(855));
436
+ const pushDirectory = __importStar(__nccwpck_require__(497));
437
+ const pushFile = __importStar(__nccwpck_require__(902));
438
+ const getArray = __importStar(__nccwpck_require__(930));
439
+ const groupFiles = __importStar(__nccwpck_require__(942));
440
+ const resolveSymlink = __importStar(__nccwpck_require__(234));
441
+ const invokeCallback = __importStar(__nccwpck_require__(396));
442
+ const walkDirectory = __importStar(__nccwpck_require__(104));
443
+ const queue_1 = __nccwpck_require__(831);
444
+ const counter_1 = __nccwpck_require__(724);
445
+ class Walker {
446
+ root;
447
+ isSynchronous;
448
+ state;
449
+ joinPath;
450
+ pushDirectory;
451
+ pushFile;
452
+ getArray;
453
+ groupFiles;
454
+ resolveSymlink;
455
+ walkDirectory;
456
+ callbackInvoker;
457
+ constructor(root, options, callback) {
458
+ this.isSynchronous = !callback;
459
+ this.callbackInvoker = invokeCallback.build(
460
+ options,
461
+ this.isSynchronous,
462
+ );
463
+ this.root = (0, utils_1.normalizePath)(root, options);
464
+ this.state = {
465
+ root: this.root.slice(0, -1),
466
+ paths: [""].slice(0, 0),
467
+ groups: [],
468
+ counts: new counter_1.Counter(),
469
+ options,
470
+ queue: new queue_1.Queue((error, state) =>
471
+ this.callbackInvoker(state, error, callback),
472
+ ),
473
+ symlinks: new Map(),
474
+ visited: [""].slice(0, 0),
475
+ };
476
+ this.joinPath = joinPath.build(this.root, options);
477
+ this.pushDirectory = pushDirectory.build(this.root, options);
478
+ this.pushFile = pushFile.build(options);
479
+ this.getArray = getArray.build(options);
480
+ this.groupFiles = groupFiles.build(options);
481
+ this.resolveSymlink = resolveSymlink.build(
482
+ options,
483
+ this.isSynchronous,
484
+ );
485
+ this.walkDirectory = walkDirectory.build(this.isSynchronous);
486
+ }
487
+ start() {
488
+ this.walkDirectory(
489
+ this.state,
490
+ this.root,
491
+ this.root,
492
+ this.state.options.maxDepth,
493
+ this.walk,
494
+ );
495
+ return this.isSynchronous
496
+ ? this.callbackInvoker(this.state, null)
497
+ : null;
498
+ }
499
+ walk = (entries, directoryPath, depth) => {
500
+ const {
501
+ paths,
502
+ options: {
503
+ filters,
504
+ resolveSymlinks,
505
+ excludeSymlinks,
506
+ exclude,
507
+ maxFiles,
508
+ signal,
509
+ useRealPaths,
510
+ pathSeparator,
511
+ },
512
+ } = this.state;
513
+ if (
514
+ (signal && signal.aborted) ||
515
+ (maxFiles && paths.length > maxFiles)
516
+ )
517
+ return;
518
+ this.pushDirectory(directoryPath, paths, filters);
519
+ const files = this.getArray(this.state.paths);
520
+ for (let i = 0; i < entries.length; ++i) {
521
+ const entry = entries[i];
522
+ if (
523
+ entry.isFile() ||
524
+ (entry.isSymbolicLink() && !resolveSymlinks && !excludeSymlinks)
525
+ ) {
526
+ const filename = this.joinPath(entry.name, directoryPath);
527
+ this.pushFile(filename, files, this.state.counts, filters);
528
+ } else if (entry.isDirectory()) {
529
+ let path = joinPath.joinDirectoryPath(
530
+ entry.name,
531
+ directoryPath,
532
+ this.state.options.pathSeparator,
533
+ );
534
+ if (exclude && exclude(entry.name, path)) continue;
535
+ this.walkDirectory(this.state, path, path, depth - 1, this.walk);
536
+ } else if (entry.isSymbolicLink() && this.resolveSymlink) {
537
+ let path = joinPath.joinPathWithBasePath(
538
+ entry.name,
539
+ directoryPath,
540
+ );
541
+ this.resolveSymlink(path, this.state, (stat, resolvedPath) => {
542
+ if (stat.isDirectory()) {
543
+ resolvedPath = (0, utils_1.normalizePath)(
544
+ resolvedPath,
545
+ this.state.options,
546
+ );
547
+ if (exclude && exclude(entry.name, resolvedPath)) return;
548
+ this.walkDirectory(
549
+ this.state,
550
+ resolvedPath,
551
+ useRealPaths ? resolvedPath : path + pathSeparator,
552
+ depth - 1,
553
+ this.walk,
554
+ );
555
+ } else {
556
+ resolvedPath = useRealPaths ? resolvedPath : path;
557
+ const filename = (0, path_1.basename)(resolvedPath);
558
+ const directoryPath = (0, utils_1.normalizePath)(
559
+ (0, path_1.dirname)(resolvedPath),
560
+ this.state.options,
561
+ );
562
+ resolvedPath = this.joinPath(filename, directoryPath);
563
+ this.pushFile(
564
+ resolvedPath,
565
+ files,
566
+ this.state.counts,
567
+ filters,
568
+ );
569
+ }
570
+ });
571
+ }
572
+ }
573
+ this.groupFiles(this.state.groups, directoryPath, files);
574
+ };
575
+ }
576
+ exports.Walker = Walker;
577
+ },
578
+ 864: (__unused_webpack_module, exports, __nccwpck_require__) => {
579
+ Object.defineProperty(exports, "__esModule", { value: true });
580
+ exports.APIBuilder = void 0;
581
+ const async_1 = __nccwpck_require__(588);
582
+ const sync_1 = __nccwpck_require__(29);
583
+ class APIBuilder {
584
+ root;
585
+ options;
586
+ constructor(root, options) {
587
+ this.root = root;
588
+ this.options = options;
589
+ }
590
+ withPromise() {
591
+ return (0, async_1.promise)(this.root, this.options);
592
+ }
593
+ withCallback(cb) {
594
+ (0, async_1.callback)(this.root, this.options, cb);
595
+ }
596
+ sync() {
597
+ return (0, sync_1.sync)(this.root, this.options);
598
+ }
599
+ }
600
+ exports.APIBuilder = APIBuilder;
601
+ },
602
+ 377: (__unused_webpack_module, exports, __nccwpck_require__) => {
603
+ Object.defineProperty(exports, "__esModule", { value: true });
604
+ exports.Builder = void 0;
605
+ const path_1 = __nccwpck_require__(17);
606
+ const api_builder_1 = __nccwpck_require__(864);
607
+ var pm = null;
608
+ try {
609
+ __nccwpck_require__.ab + "index1.js";
610
+ pm = __nccwpck_require__(897);
611
+ } catch (_e) {}
612
+ class Builder {
613
+ globCache = {};
614
+ options = {
615
+ maxDepth: Infinity,
616
+ suppressErrors: true,
617
+ pathSeparator: path_1.sep,
618
+ filters: [],
619
+ };
620
+ globFunction;
621
+ constructor(options) {
622
+ this.options = { ...this.options, ...options };
623
+ this.globFunction = this.options.globFunction;
624
+ }
625
+ group() {
626
+ this.options.group = true;
627
+ return this;
628
+ }
629
+ withPathSeparator(separator) {
630
+ this.options.pathSeparator = separator;
631
+ return this;
632
+ }
633
+ withBasePath() {
634
+ this.options.includeBasePath = true;
635
+ return this;
636
+ }
637
+ withRelativePaths() {
638
+ this.options.relativePaths = true;
639
+ return this;
640
+ }
641
+ withDirs() {
642
+ this.options.includeDirs = true;
643
+ return this;
644
+ }
645
+ withMaxDepth(depth) {
646
+ this.options.maxDepth = depth;
647
+ return this;
648
+ }
649
+ withMaxFiles(limit) {
650
+ this.options.maxFiles = limit;
651
+ return this;
652
+ }
653
+ withFullPaths() {
654
+ this.options.resolvePaths = true;
655
+ this.options.includeBasePath = true;
656
+ return this;
657
+ }
658
+ withErrors() {
659
+ this.options.suppressErrors = false;
660
+ return this;
661
+ }
662
+ withSymlinks({ resolvePaths = true } = {}) {
663
+ this.options.resolveSymlinks = true;
664
+ this.options.useRealPaths = resolvePaths;
665
+ return this.withFullPaths();
666
+ }
667
+ withAbortSignal(signal) {
668
+ this.options.signal = signal;
669
+ return this;
670
+ }
671
+ normalize() {
672
+ this.options.normalizePath = true;
673
+ return this;
674
+ }
675
+ filter(predicate) {
676
+ this.options.filters.push(predicate);
677
+ return this;
678
+ }
679
+ onlyDirs() {
680
+ this.options.excludeFiles = true;
681
+ this.options.includeDirs = true;
682
+ return this;
683
+ }
684
+ exclude(predicate) {
685
+ this.options.exclude = predicate;
686
+ return this;
687
+ }
688
+ onlyCounts() {
689
+ this.options.onlyCounts = true;
690
+ return this;
691
+ }
692
+ crawl(root) {
693
+ return new api_builder_1.APIBuilder(root || ".", this.options);
694
+ }
695
+ withGlobFunction(fn) {
696
+ this.globFunction = fn;
697
+ return this;
698
+ }
699
+ crawlWithOptions(root, options) {
700
+ this.options = { ...this.options, ...options };
701
+ return new api_builder_1.APIBuilder(root || ".", this.options);
702
+ }
703
+ glob(...patterns) {
704
+ if (this.globFunction) {
705
+ return this.globWithOptions(patterns);
706
+ }
707
+ return this.globWithOptions(patterns, ...[{ dot: true }]);
708
+ }
709
+ globWithOptions(patterns, ...options) {
710
+ const globFn = this.globFunction || pm;
711
+ if (!globFn) {
712
+ throw new Error(
713
+ "Please specify a glob function to use glob matching.",
714
+ );
715
+ }
716
+ var isMatch = this.globCache[patterns.join("\0")];
717
+ if (!isMatch) {
718
+ isMatch = globFn(patterns, ...options);
719
+ this.globCache[patterns.join("\0")] = isMatch;
720
+ }
721
+ this.options.filters.push((path) => isMatch(path));
722
+ return this;
723
+ }
724
+ }
725
+ exports.Builder = Builder;
726
+ },
727
+ 601: function (__unused_webpack_module, exports, __nccwpck_require__) {
728
+ var __createBinding =
729
+ (this && this.__createBinding) ||
730
+ (Object.create
731
+ ? function (o, m, k, k2) {
732
+ if (k2 === undefined) k2 = k;
733
+ var desc = Object.getOwnPropertyDescriptor(m, k);
734
+ if (
735
+ !desc ||
736
+ ("get" in desc
737
+ ? !m.__esModule
738
+ : desc.writable || desc.configurable)
739
+ ) {
740
+ desc = {
741
+ enumerable: true,
742
+ get: function () {
743
+ return m[k];
744
+ },
745
+ };
746
+ }
747
+ Object.defineProperty(o, k2, desc);
748
+ }
749
+ : function (o, m, k, k2) {
750
+ if (k2 === undefined) k2 = k;
751
+ o[k2] = m[k];
752
+ });
753
+ var __exportStar =
754
+ (this && this.__exportStar) ||
755
+ function (m, exports) {
756
+ for (var p in m)
757
+ if (
758
+ p !== "default" &&
759
+ !Object.prototype.hasOwnProperty.call(exports, p)
760
+ )
761
+ __createBinding(exports, m, p);
762
+ };
763
+ Object.defineProperty(exports, "__esModule", { value: true });
764
+ exports.fdir = void 0;
765
+ const builder_1 = __nccwpck_require__(377);
766
+ Object.defineProperty(exports, "fdir", {
767
+ enumerable: true,
768
+ get: function () {
769
+ return builder_1.Builder;
770
+ },
771
+ });
772
+ __exportStar(__nccwpck_require__(672), exports);
773
+ },
774
+ 672: (__unused_webpack_module, exports) => {
775
+ Object.defineProperty(exports, "__esModule", { value: true });
776
+ },
777
+ 182: (__unused_webpack_module, exports, __nccwpck_require__) => {
778
+ Object.defineProperty(exports, "__esModule", { value: true });
779
+ exports.normalizePath =
780
+ exports.convertSlashes =
781
+ exports.cleanPath =
782
+ void 0;
783
+ const path_1 = __nccwpck_require__(17);
784
+ function cleanPath(path) {
785
+ let normalized = (0, path_1.normalize)(path);
786
+ if (
787
+ normalized.length > 1 &&
788
+ normalized[normalized.length - 1] === path_1.sep
789
+ )
790
+ normalized = normalized.substring(0, normalized.length - 1);
791
+ return normalized;
792
+ }
793
+ exports.cleanPath = cleanPath;
794
+ const SLASHES_REGEX = /[\\/]/g;
795
+ function convertSlashes(path, separator) {
796
+ return path.replace(SLASHES_REGEX, separator);
797
+ }
798
+ exports.convertSlashes = convertSlashes;
799
+ function normalizePath(path, options) {
800
+ const { resolvePaths, normalizePath, pathSeparator } = options;
801
+ const pathNeedsCleaning =
802
+ (process.platform === "win32" && path.includes("/")) ||
803
+ path.startsWith(".");
804
+ if (resolvePaths) path = (0, path_1.resolve)(path);
805
+ if (normalizePath || pathNeedsCleaning) path = cleanPath(path);
806
+ if (path === ".") return "";
807
+ const needsSeperator = path[path.length - 1] !== pathSeparator;
808
+ return convertSlashes(
809
+ needsSeperator ? path + pathSeparator : path,
810
+ pathSeparator,
811
+ );
812
+ }
813
+ exports.normalizePath = normalizePath;
814
+ },
815
+ 897: (module, __unused_webpack_exports, __nccwpck_require__) => {
816
+ const pico = __nccwpck_require__(784);
817
+ const utils = __nccwpck_require__(183);
818
+ function picomatch(glob, options, returnState = false) {
819
+ if (
820
+ options &&
821
+ (options.windows === null || options.windows === undefined)
822
+ ) {
823
+ options = { ...options, windows: utils.isWindows() };
824
+ }
825
+ return pico(glob, options, returnState);
826
+ }
827
+ Object.assign(picomatch, pico);
828
+ module.exports = picomatch;
829
+ },
830
+ 490: (module) => {
831
+ const WIN_SLASH = "\\\\/";
832
+ const WIN_NO_SLASH = `[^${WIN_SLASH}]`;
833
+ const DOT_LITERAL = "\\.";
834
+ const PLUS_LITERAL = "\\+";
835
+ const QMARK_LITERAL = "\\?";
836
+ const SLASH_LITERAL = "\\/";
837
+ const ONE_CHAR = "(?=.)";
838
+ const QMARK = "[^/]";
839
+ const END_ANCHOR = `(?:${SLASH_LITERAL}|$)`;
840
+ const START_ANCHOR = `(?:^|${SLASH_LITERAL})`;
841
+ const DOTS_SLASH = `${DOT_LITERAL}{1,2}${END_ANCHOR}`;
842
+ const NO_DOT = `(?!${DOT_LITERAL})`;
843
+ const NO_DOTS = `(?!${START_ANCHOR}${DOTS_SLASH})`;
844
+ const NO_DOT_SLASH = `(?!${DOT_LITERAL}{0,1}${END_ANCHOR})`;
845
+ const NO_DOTS_SLASH = `(?!${DOTS_SLASH})`;
846
+ const QMARK_NO_DOT = `[^.${SLASH_LITERAL}]`;
847
+ const STAR = `${QMARK}*?`;
848
+ const SEP = "/";
849
+ const POSIX_CHARS = {
850
+ DOT_LITERAL,
851
+ PLUS_LITERAL,
852
+ QMARK_LITERAL,
853
+ SLASH_LITERAL,
854
+ ONE_CHAR,
855
+ QMARK,
856
+ END_ANCHOR,
857
+ DOTS_SLASH,
858
+ NO_DOT,
859
+ NO_DOTS,
860
+ NO_DOT_SLASH,
861
+ NO_DOTS_SLASH,
862
+ QMARK_NO_DOT,
863
+ STAR,
864
+ START_ANCHOR,
865
+ SEP,
866
+ };
867
+ const WINDOWS_CHARS = {
868
+ ...POSIX_CHARS,
869
+ SLASH_LITERAL: `[${WIN_SLASH}]`,
870
+ QMARK: WIN_NO_SLASH,
871
+ STAR: `${WIN_NO_SLASH}*?`,
872
+ DOTS_SLASH: `${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$)`,
873
+ NO_DOT: `(?!${DOT_LITERAL})`,
874
+ NO_DOTS: `(?!(?:^|[${WIN_SLASH}])${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$))`,
875
+ NO_DOT_SLASH: `(?!${DOT_LITERAL}{0,1}(?:[${WIN_SLASH}]|$))`,
876
+ NO_DOTS_SLASH: `(?!${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$))`,
877
+ QMARK_NO_DOT: `[^.${WIN_SLASH}]`,
878
+ START_ANCHOR: `(?:^|[${WIN_SLASH}])`,
879
+ END_ANCHOR: `(?:[${WIN_SLASH}]|$)`,
880
+ SEP: "\\",
881
+ };
882
+ const POSIX_REGEX_SOURCE = {
883
+ alnum: "a-zA-Z0-9",
884
+ alpha: "a-zA-Z",
885
+ ascii: "\\x00-\\x7F",
886
+ blank: " \\t",
887
+ cntrl: "\\x00-\\x1F\\x7F",
888
+ digit: "0-9",
889
+ graph: "\\x21-\\x7E",
890
+ lower: "a-z",
891
+ print: "\\x20-\\x7E ",
892
+ punct: "\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",
893
+ space: " \\t\\r\\n\\v\\f",
894
+ upper: "A-Z",
895
+ word: "A-Za-z0-9_",
896
+ xdigit: "A-Fa-f0-9",
897
+ };
898
+ module.exports = {
899
+ MAX_LENGTH: 1024 * 64,
900
+ POSIX_REGEX_SOURCE,
901
+ REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g,
902
+ REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/,
903
+ REGEX_SPECIAL_CHARS: /[-*+?.^${}(|)[\]]/,
904
+ REGEX_SPECIAL_CHARS_BACKREF: /(\\?)((\W)(\3*))/g,
905
+ REGEX_SPECIAL_CHARS_GLOBAL: /([-*+?.^${}(|)[\]])/g,
906
+ REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g,
907
+ REPLACEMENTS: { "***": "*", "**/**": "**", "**/**/**": "**" },
908
+ CHAR_0: 48,
909
+ CHAR_9: 57,
910
+ CHAR_UPPERCASE_A: 65,
911
+ CHAR_LOWERCASE_A: 97,
912
+ CHAR_UPPERCASE_Z: 90,
913
+ CHAR_LOWERCASE_Z: 122,
914
+ CHAR_LEFT_PARENTHESES: 40,
915
+ CHAR_RIGHT_PARENTHESES: 41,
916
+ CHAR_ASTERISK: 42,
917
+ CHAR_AMPERSAND: 38,
918
+ CHAR_AT: 64,
919
+ CHAR_BACKWARD_SLASH: 92,
920
+ CHAR_CARRIAGE_RETURN: 13,
921
+ CHAR_CIRCUMFLEX_ACCENT: 94,
922
+ CHAR_COLON: 58,
923
+ CHAR_COMMA: 44,
924
+ CHAR_DOT: 46,
925
+ CHAR_DOUBLE_QUOTE: 34,
926
+ CHAR_EQUAL: 61,
927
+ CHAR_EXCLAMATION_MARK: 33,
928
+ CHAR_FORM_FEED: 12,
929
+ CHAR_FORWARD_SLASH: 47,
930
+ CHAR_GRAVE_ACCENT: 96,
931
+ CHAR_HASH: 35,
932
+ CHAR_HYPHEN_MINUS: 45,
933
+ CHAR_LEFT_ANGLE_BRACKET: 60,
934
+ CHAR_LEFT_CURLY_BRACE: 123,
935
+ CHAR_LEFT_SQUARE_BRACKET: 91,
936
+ CHAR_LINE_FEED: 10,
937
+ CHAR_NO_BREAK_SPACE: 160,
938
+ CHAR_PERCENT: 37,
939
+ CHAR_PLUS: 43,
940
+ CHAR_QUESTION_MARK: 63,
941
+ CHAR_RIGHT_ANGLE_BRACKET: 62,
942
+ CHAR_RIGHT_CURLY_BRACE: 125,
943
+ CHAR_RIGHT_SQUARE_BRACKET: 93,
944
+ CHAR_SEMICOLON: 59,
945
+ CHAR_SINGLE_QUOTE: 39,
946
+ CHAR_SPACE: 32,
947
+ CHAR_TAB: 9,
948
+ CHAR_UNDERSCORE: 95,
949
+ CHAR_VERTICAL_LINE: 124,
950
+ CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279,
951
+ extglobChars(chars) {
952
+ return {
953
+ "!": {
954
+ type: "negate",
955
+ open: "(?:(?!(?:",
956
+ close: `))${chars.STAR})`,
957
+ },
958
+ "?": { type: "qmark", open: "(?:", close: ")?" },
959
+ "+": { type: "plus", open: "(?:", close: ")+" },
960
+ "*": { type: "star", open: "(?:", close: ")*" },
961
+ "@": { type: "at", open: "(?:", close: ")" },
962
+ };
963
+ },
964
+ globChars(win32) {
965
+ return win32 === true ? WINDOWS_CHARS : POSIX_CHARS;
966
+ },
967
+ };
968
+ },
969
+ 230: (module, __unused_webpack_exports, __nccwpck_require__) => {
970
+ const constants = __nccwpck_require__(490);
971
+ const utils = __nccwpck_require__(183);
972
+ const {
973
+ MAX_LENGTH,
974
+ POSIX_REGEX_SOURCE,
975
+ REGEX_NON_SPECIAL_CHARS,
976
+ REGEX_SPECIAL_CHARS_BACKREF,
977
+ REPLACEMENTS,
978
+ } = constants;
979
+ const expandRange = (args, options) => {
980
+ if (typeof options.expandRange === "function") {
981
+ return options.expandRange(...args, options);
982
+ }
983
+ args.sort();
984
+ const value = `[${args.join("-")}]`;
985
+ try {
986
+ new RegExp(value);
987
+ } catch (ex) {
988
+ return args.map((v) => utils.escapeRegex(v)).join("..");
989
+ }
990
+ return value;
991
+ };
992
+ const syntaxError = (type, char) =>
993
+ `Missing ${type}: "${char}" - use "\\\\${char}" to match literal characters`;
994
+ const parse = (input, options) => {
995
+ if (typeof input !== "string") {
996
+ throw new TypeError("Expected a string");
997
+ }
998
+ input = REPLACEMENTS[input] || input;
999
+ const opts = { ...options };
1000
+ const max =
1001
+ typeof opts.maxLength === "number"
1002
+ ? Math.min(MAX_LENGTH, opts.maxLength)
1003
+ : MAX_LENGTH;
1004
+ let len = input.length;
1005
+ if (len > max) {
1006
+ throw new SyntaxError(
1007
+ `Input length: ${len}, exceeds maximum allowed length: ${max}`,
1008
+ );
1009
+ }
1010
+ const bos = { type: "bos", value: "", output: opts.prepend || "" };
1011
+ const tokens = [bos];
1012
+ const capture = opts.capture ? "" : "?:";
1013
+ const PLATFORM_CHARS = constants.globChars(opts.windows);
1014
+ const EXTGLOB_CHARS = constants.extglobChars(PLATFORM_CHARS);
1015
+ const {
1016
+ DOT_LITERAL,
1017
+ PLUS_LITERAL,
1018
+ SLASH_LITERAL,
1019
+ ONE_CHAR,
1020
+ DOTS_SLASH,
1021
+ NO_DOT,
1022
+ NO_DOT_SLASH,
1023
+ NO_DOTS_SLASH,
1024
+ QMARK,
1025
+ QMARK_NO_DOT,
1026
+ STAR,
1027
+ START_ANCHOR,
1028
+ } = PLATFORM_CHARS;
1029
+ const globstar = (opts) =>
1030
+ `(${capture}(?:(?!${START_ANCHOR}${opts.dot ? DOTS_SLASH : DOT_LITERAL}).)*?)`;
1031
+ const nodot = opts.dot ? "" : NO_DOT;
1032
+ const qmarkNoDot = opts.dot ? QMARK : QMARK_NO_DOT;
1033
+ let star = opts.bash === true ? globstar(opts) : STAR;
1034
+ if (opts.capture) {
1035
+ star = `(${star})`;
1036
+ }
1037
+ if (typeof opts.noext === "boolean") {
1038
+ opts.noextglob = opts.noext;
1039
+ }
1040
+ const state = {
1041
+ input,
1042
+ index: -1,
1043
+ start: 0,
1044
+ dot: opts.dot === true,
1045
+ consumed: "",
1046
+ output: "",
1047
+ prefix: "",
1048
+ backtrack: false,
1049
+ negated: false,
1050
+ brackets: 0,
1051
+ braces: 0,
1052
+ parens: 0,
1053
+ quotes: 0,
1054
+ globstar: false,
1055
+ tokens,
1056
+ };
1057
+ input = utils.removePrefix(input, state);
1058
+ len = input.length;
1059
+ const extglobs = [];
1060
+ const braces = [];
1061
+ const stack = [];
1062
+ let prev = bos;
1063
+ let value;
1064
+ const eos = () => state.index === len - 1;
1065
+ const peek = (state.peek = (n = 1) => input[state.index + n]);
1066
+ const advance = (state.advance = () => input[++state.index] || "");
1067
+ const remaining = () => input.slice(state.index + 1);
1068
+ const consume = (value = "", num = 0) => {
1069
+ state.consumed += value;
1070
+ state.index += num;
1071
+ };
1072
+ const append = (token) => {
1073
+ state.output += token.output != null ? token.output : token.value;
1074
+ consume(token.value);
1075
+ };
1076
+ const negate = () => {
1077
+ let count = 1;
1078
+ while (peek() === "!" && (peek(2) !== "(" || peek(3) === "?")) {
1079
+ advance();
1080
+ state.start++;
1081
+ count++;
1082
+ }
1083
+ if (count % 2 === 0) {
1084
+ return false;
1085
+ }
1086
+ state.negated = true;
1087
+ state.start++;
1088
+ return true;
1089
+ };
1090
+ const increment = (type) => {
1091
+ state[type]++;
1092
+ stack.push(type);
1093
+ };
1094
+ const decrement = (type) => {
1095
+ state[type]--;
1096
+ stack.pop();
1097
+ };
1098
+ const push = (tok) => {
1099
+ if (prev.type === "globstar") {
1100
+ const isBrace =
1101
+ state.braces > 0 &&
1102
+ (tok.type === "comma" || tok.type === "brace");
1103
+ const isExtglob =
1104
+ tok.extglob === true ||
1105
+ (extglobs.length &&
1106
+ (tok.type === "pipe" || tok.type === "paren"));
1107
+ if (
1108
+ tok.type !== "slash" &&
1109
+ tok.type !== "paren" &&
1110
+ !isBrace &&
1111
+ !isExtglob
1112
+ ) {
1113
+ state.output = state.output.slice(0, -prev.output.length);
1114
+ prev.type = "star";
1115
+ prev.value = "*";
1116
+ prev.output = star;
1117
+ state.output += prev.output;
1118
+ }
1119
+ }
1120
+ if (extglobs.length && tok.type !== "paren") {
1121
+ extglobs[extglobs.length - 1].inner += tok.value;
1122
+ }
1123
+ if (tok.value || tok.output) append(tok);
1124
+ if (prev && prev.type === "text" && tok.type === "text") {
1125
+ prev.output = (prev.output || prev.value) + tok.value;
1126
+ prev.value += tok.value;
1127
+ return;
1128
+ }
1129
+ tok.prev = prev;
1130
+ tokens.push(tok);
1131
+ prev = tok;
1132
+ };
1133
+ const extglobOpen = (type, value) => {
1134
+ const token = { ...EXTGLOB_CHARS[value], conditions: 1, inner: "" };
1135
+ token.prev = prev;
1136
+ token.parens = state.parens;
1137
+ token.output = state.output;
1138
+ const output = (opts.capture ? "(" : "") + token.open;
1139
+ increment("parens");
1140
+ push({ type, value, output: state.output ? "" : ONE_CHAR });
1141
+ push({ type: "paren", extglob: true, value: advance(), output });
1142
+ extglobs.push(token);
1143
+ };
1144
+ const extglobClose = (token) => {
1145
+ let output = token.close + (opts.capture ? ")" : "");
1146
+ let rest;
1147
+ if (token.type === "negate") {
1148
+ let extglobStar = star;
1149
+ if (
1150
+ token.inner &&
1151
+ token.inner.length > 1 &&
1152
+ token.inner.includes("/")
1153
+ ) {
1154
+ extglobStar = globstar(opts);
1155
+ }
1156
+ if (extglobStar !== star || eos() || /^\)+$/.test(remaining())) {
1157
+ output = token.close = `)$))${extglobStar}`;
1158
+ }
1159
+ if (
1160
+ token.inner.includes("*") &&
1161
+ (rest = remaining()) &&
1162
+ /^\.[^\\/.]+$/.test(rest)
1163
+ ) {
1164
+ const expression = parse(rest, {
1165
+ ...options,
1166
+ fastpaths: false,
1167
+ }).output;
1168
+ output = token.close = `)${expression})${extglobStar})`;
1169
+ }
1170
+ if (token.prev.type === "bos") {
1171
+ state.negatedExtglob = true;
1172
+ }
1173
+ }
1174
+ push({ type: "paren", extglob: true, value, output });
1175
+ decrement("parens");
1176
+ };
1177
+ if (opts.fastpaths !== false && !/(^[*!]|[/()[\]{}"])/.test(input)) {
1178
+ let backslashes = false;
1179
+ let output = input.replace(
1180
+ REGEX_SPECIAL_CHARS_BACKREF,
1181
+ (m, esc, chars, first, rest, index) => {
1182
+ if (first === "\\") {
1183
+ backslashes = true;
1184
+ return m;
1185
+ }
1186
+ if (first === "?") {
1187
+ if (esc) {
1188
+ return esc + first + (rest ? QMARK.repeat(rest.length) : "");
1189
+ }
1190
+ if (index === 0) {
1191
+ return qmarkNoDot + (rest ? QMARK.repeat(rest.length) : "");
1192
+ }
1193
+ return QMARK.repeat(chars.length);
1194
+ }
1195
+ if (first === ".") {
1196
+ return DOT_LITERAL.repeat(chars.length);
1197
+ }
1198
+ if (first === "*") {
1199
+ if (esc) {
1200
+ return esc + first + (rest ? star : "");
1201
+ }
1202
+ return star;
1203
+ }
1204
+ return esc ? m : `\\${m}`;
1205
+ },
1206
+ );
1207
+ if (backslashes === true) {
1208
+ if (opts.unescape === true) {
1209
+ output = output.replace(/\\/g, "");
1210
+ } else {
1211
+ output = output.replace(/\\+/g, (m) =>
1212
+ m.length % 2 === 0 ? "\\\\" : m ? "\\" : "",
1213
+ );
1214
+ }
1215
+ }
1216
+ if (output === input && opts.contains === true) {
1217
+ state.output = input;
1218
+ return state;
1219
+ }
1220
+ state.output = utils.wrapOutput(output, state, options);
1221
+ return state;
1222
+ }
1223
+ while (!eos()) {
1224
+ value = advance();
1225
+ if (value === "\0") {
1226
+ continue;
1227
+ }
1228
+ if (value === "\\") {
1229
+ const next = peek();
1230
+ if (next === "/" && opts.bash !== true) {
1231
+ continue;
1232
+ }
1233
+ if (next === "." || next === ";") {
1234
+ continue;
1235
+ }
1236
+ if (!next) {
1237
+ value += "\\";
1238
+ push({ type: "text", value });
1239
+ continue;
1240
+ }
1241
+ const match = /^\\+/.exec(remaining());
1242
+ let slashes = 0;
1243
+ if (match && match[0].length > 2) {
1244
+ slashes = match[0].length;
1245
+ state.index += slashes;
1246
+ if (slashes % 2 !== 0) {
1247
+ value += "\\";
1248
+ }
1249
+ }
1250
+ if (opts.unescape === true) {
1251
+ value = advance();
1252
+ } else {
1253
+ value += advance();
1254
+ }
1255
+ if (state.brackets === 0) {
1256
+ push({ type: "text", value });
1257
+ continue;
1258
+ }
1259
+ }
1260
+ if (
1261
+ state.brackets > 0 &&
1262
+ (value !== "]" || prev.value === "[" || prev.value === "[^")
1263
+ ) {
1264
+ if (opts.posix !== false && value === ":") {
1265
+ const inner = prev.value.slice(1);
1266
+ if (inner.includes("[")) {
1267
+ prev.posix = true;
1268
+ if (inner.includes(":")) {
1269
+ const idx = prev.value.lastIndexOf("[");
1270
+ const pre = prev.value.slice(0, idx);
1271
+ const rest = prev.value.slice(idx + 2);
1272
+ const posix = POSIX_REGEX_SOURCE[rest];
1273
+ if (posix) {
1274
+ prev.value = pre + posix;
1275
+ state.backtrack = true;
1276
+ advance();
1277
+ if (!bos.output && tokens.indexOf(prev) === 1) {
1278
+ bos.output = ONE_CHAR;
1279
+ }
1280
+ continue;
1281
+ }
1282
+ }
1283
+ }
1284
+ }
1285
+ if (
1286
+ (value === "[" && peek() !== ":") ||
1287
+ (value === "-" && peek() === "]")
1288
+ ) {
1289
+ value = `\\${value}`;
1290
+ }
1291
+ if (value === "]" && (prev.value === "[" || prev.value === "[^")) {
1292
+ value = `\\${value}`;
1293
+ }
1294
+ if (opts.posix === true && value === "!" && prev.value === "[") {
1295
+ value = "^";
1296
+ }
1297
+ prev.value += value;
1298
+ append({ value });
1299
+ continue;
1300
+ }
1301
+ if (state.quotes === 1 && value !== '"') {
1302
+ value = utils.escapeRegex(value);
1303
+ prev.value += value;
1304
+ append({ value });
1305
+ continue;
1306
+ }
1307
+ if (value === '"') {
1308
+ state.quotes = state.quotes === 1 ? 0 : 1;
1309
+ if (opts.keepQuotes === true) {
1310
+ push({ type: "text", value });
1311
+ }
1312
+ continue;
1313
+ }
1314
+ if (value === "(") {
1315
+ increment("parens");
1316
+ push({ type: "paren", value });
1317
+ continue;
1318
+ }
1319
+ if (value === ")") {
1320
+ if (state.parens === 0 && opts.strictBrackets === true) {
1321
+ throw new SyntaxError(syntaxError("opening", "("));
1322
+ }
1323
+ const extglob = extglobs[extglobs.length - 1];
1324
+ if (extglob && state.parens === extglob.parens + 1) {
1325
+ extglobClose(extglobs.pop());
1326
+ continue;
1327
+ }
1328
+ push({ type: "paren", value, output: state.parens ? ")" : "\\)" });
1329
+ decrement("parens");
1330
+ continue;
1331
+ }
1332
+ if (value === "[") {
1333
+ if (opts.nobracket === true || !remaining().includes("]")) {
1334
+ if (opts.nobracket !== true && opts.strictBrackets === true) {
1335
+ throw new SyntaxError(syntaxError("closing", "]"));
1336
+ }
1337
+ value = `\\${value}`;
1338
+ } else {
1339
+ increment("brackets");
1340
+ }
1341
+ push({ type: "bracket", value });
1342
+ continue;
1343
+ }
1344
+ if (value === "]") {
1345
+ if (
1346
+ opts.nobracket === true ||
1347
+ (prev && prev.type === "bracket" && prev.value.length === 1)
1348
+ ) {
1349
+ push({ type: "text", value, output: `\\${value}` });
1350
+ continue;
1351
+ }
1352
+ if (state.brackets === 0) {
1353
+ if (opts.strictBrackets === true) {
1354
+ throw new SyntaxError(syntaxError("opening", "["));
1355
+ }
1356
+ push({ type: "text", value, output: `\\${value}` });
1357
+ continue;
1358
+ }
1359
+ decrement("brackets");
1360
+ const prevValue = prev.value.slice(1);
1361
+ if (
1362
+ prev.posix !== true &&
1363
+ prevValue[0] === "^" &&
1364
+ !prevValue.includes("/")
1365
+ ) {
1366
+ value = `/${value}`;
1367
+ }
1368
+ prev.value += value;
1369
+ append({ value });
1370
+ if (
1371
+ opts.literalBrackets === false ||
1372
+ utils.hasRegexChars(prevValue)
1373
+ ) {
1374
+ continue;
1375
+ }
1376
+ const escaped = utils.escapeRegex(prev.value);
1377
+ state.output = state.output.slice(0, -prev.value.length);
1378
+ if (opts.literalBrackets === true) {
1379
+ state.output += escaped;
1380
+ prev.value = escaped;
1381
+ continue;
1382
+ }
1383
+ prev.value = `(${capture}${escaped}|${prev.value})`;
1384
+ state.output += prev.value;
1385
+ continue;
1386
+ }
1387
+ if (value === "{" && opts.nobrace !== true) {
1388
+ increment("braces");
1389
+ const open = {
1390
+ type: "brace",
1391
+ value,
1392
+ output: "(",
1393
+ outputIndex: state.output.length,
1394
+ tokensIndex: state.tokens.length,
1395
+ };
1396
+ braces.push(open);
1397
+ push(open);
1398
+ continue;
1399
+ }
1400
+ if (value === "}") {
1401
+ const brace = braces[braces.length - 1];
1402
+ if (opts.nobrace === true || !brace) {
1403
+ push({ type: "text", value, output: value });
1404
+ continue;
1405
+ }
1406
+ let output = ")";
1407
+ if (brace.dots === true) {
1408
+ const arr = tokens.slice();
1409
+ const range = [];
1410
+ for (let i = arr.length - 1; i >= 0; i--) {
1411
+ tokens.pop();
1412
+ if (arr[i].type === "brace") {
1413
+ break;
1414
+ }
1415
+ if (arr[i].type !== "dots") {
1416
+ range.unshift(arr[i].value);
1417
+ }
1418
+ }
1419
+ output = expandRange(range, opts);
1420
+ state.backtrack = true;
1421
+ }
1422
+ if (brace.comma !== true && brace.dots !== true) {
1423
+ const out = state.output.slice(0, brace.outputIndex);
1424
+ const toks = state.tokens.slice(brace.tokensIndex);
1425
+ brace.value = brace.output = "\\{";
1426
+ value = output = "\\}";
1427
+ state.output = out;
1428
+ for (const t of toks) {
1429
+ state.output += t.output || t.value;
1430
+ }
1431
+ }
1432
+ push({ type: "brace", value, output });
1433
+ decrement("braces");
1434
+ braces.pop();
1435
+ continue;
1436
+ }
1437
+ if (value === "|") {
1438
+ if (extglobs.length > 0) {
1439
+ extglobs[extglobs.length - 1].conditions++;
1440
+ }
1441
+ push({ type: "text", value });
1442
+ continue;
1443
+ }
1444
+ if (value === ",") {
1445
+ let output = value;
1446
+ const brace = braces[braces.length - 1];
1447
+ if (brace && stack[stack.length - 1] === "braces") {
1448
+ brace.comma = true;
1449
+ output = "|";
1450
+ }
1451
+ push({ type: "comma", value, output });
1452
+ continue;
1453
+ }
1454
+ if (value === "/") {
1455
+ if (prev.type === "dot" && state.index === state.start + 1) {
1456
+ state.start = state.index + 1;
1457
+ state.consumed = "";
1458
+ state.output = "";
1459
+ tokens.pop();
1460
+ prev = bos;
1461
+ continue;
1462
+ }
1463
+ push({ type: "slash", value, output: SLASH_LITERAL });
1464
+ continue;
1465
+ }
1466
+ if (value === ".") {
1467
+ if (state.braces > 0 && prev.type === "dot") {
1468
+ if (prev.value === ".") prev.output = DOT_LITERAL;
1469
+ const brace = braces[braces.length - 1];
1470
+ prev.type = "dots";
1471
+ prev.output += value;
1472
+ prev.value += value;
1473
+ brace.dots = true;
1474
+ continue;
1475
+ }
1476
+ if (
1477
+ state.braces + state.parens === 0 &&
1478
+ prev.type !== "bos" &&
1479
+ prev.type !== "slash"
1480
+ ) {
1481
+ push({ type: "text", value, output: DOT_LITERAL });
1482
+ continue;
1483
+ }
1484
+ push({ type: "dot", value, output: DOT_LITERAL });
1485
+ continue;
1486
+ }
1487
+ if (value === "?") {
1488
+ const isGroup = prev && prev.value === "(";
1489
+ if (
1490
+ !isGroup &&
1491
+ opts.noextglob !== true &&
1492
+ peek() === "(" &&
1493
+ peek(2) !== "?"
1494
+ ) {
1495
+ extglobOpen("qmark", value);
1496
+ continue;
1497
+ }
1498
+ if (prev && prev.type === "paren") {
1499
+ const next = peek();
1500
+ let output = value;
1501
+ if (
1502
+ (prev.value === "(" && !/[!=<:]/.test(next)) ||
1503
+ (next === "<" && !/<([!=]|\w+>)/.test(remaining()))
1504
+ ) {
1505
+ output = `\\${value}`;
1506
+ }
1507
+ push({ type: "text", value, output });
1508
+ continue;
1509
+ }
1510
+ if (
1511
+ opts.dot !== true &&
1512
+ (prev.type === "slash" || prev.type === "bos")
1513
+ ) {
1514
+ push({ type: "qmark", value, output: QMARK_NO_DOT });
1515
+ continue;
1516
+ }
1517
+ push({ type: "qmark", value, output: QMARK });
1518
+ continue;
1519
+ }
1520
+ if (value === "!") {
1521
+ if (opts.noextglob !== true && peek() === "(") {
1522
+ if (peek(2) !== "?" || !/[!=<:]/.test(peek(3))) {
1523
+ extglobOpen("negate", value);
1524
+ continue;
1525
+ }
1526
+ }
1527
+ if (opts.nonegate !== true && state.index === 0) {
1528
+ negate();
1529
+ continue;
1530
+ }
1531
+ }
1532
+ if (value === "+") {
1533
+ if (opts.noextglob !== true && peek() === "(" && peek(2) !== "?") {
1534
+ extglobOpen("plus", value);
1535
+ continue;
1536
+ }
1537
+ if ((prev && prev.value === "(") || opts.regex === false) {
1538
+ push({ type: "plus", value, output: PLUS_LITERAL });
1539
+ continue;
1540
+ }
1541
+ if (
1542
+ (prev &&
1543
+ (prev.type === "bracket" ||
1544
+ prev.type === "paren" ||
1545
+ prev.type === "brace")) ||
1546
+ state.parens > 0
1547
+ ) {
1548
+ push({ type: "plus", value });
1549
+ continue;
1550
+ }
1551
+ push({ type: "plus", value: PLUS_LITERAL });
1552
+ continue;
1553
+ }
1554
+ if (value === "@") {
1555
+ if (opts.noextglob !== true && peek() === "(" && peek(2) !== "?") {
1556
+ push({ type: "at", extglob: true, value, output: "" });
1557
+ continue;
1558
+ }
1559
+ push({ type: "text", value });
1560
+ continue;
1561
+ }
1562
+ if (value !== "*") {
1563
+ if (value === "$" || value === "^") {
1564
+ value = `\\${value}`;
1565
+ }
1566
+ const match = REGEX_NON_SPECIAL_CHARS.exec(remaining());
1567
+ if (match) {
1568
+ value += match[0];
1569
+ state.index += match[0].length;
1570
+ }
1571
+ push({ type: "text", value });
1572
+ continue;
1573
+ }
1574
+ if (prev && (prev.type === "globstar" || prev.star === true)) {
1575
+ prev.type = "star";
1576
+ prev.star = true;
1577
+ prev.value += value;
1578
+ prev.output = star;
1579
+ state.backtrack = true;
1580
+ state.globstar = true;
1581
+ consume(value);
1582
+ continue;
1583
+ }
1584
+ let rest = remaining();
1585
+ if (opts.noextglob !== true && /^\([^?]/.test(rest)) {
1586
+ extglobOpen("star", value);
1587
+ continue;
1588
+ }
1589
+ if (prev.type === "star") {
1590
+ if (opts.noglobstar === true) {
1591
+ consume(value);
1592
+ continue;
1593
+ }
1594
+ const prior = prev.prev;
1595
+ const before = prior.prev;
1596
+ const isStart = prior.type === "slash" || prior.type === "bos";
1597
+ const afterStar =
1598
+ before && (before.type === "star" || before.type === "globstar");
1599
+ if (
1600
+ opts.bash === true &&
1601
+ (!isStart || (rest[0] && rest[0] !== "/"))
1602
+ ) {
1603
+ push({ type: "star", value, output: "" });
1604
+ continue;
1605
+ }
1606
+ const isBrace =
1607
+ state.braces > 0 &&
1608
+ (prior.type === "comma" || prior.type === "brace");
1609
+ const isExtglob =
1610
+ extglobs.length &&
1611
+ (prior.type === "pipe" || prior.type === "paren");
1612
+ if (!isStart && prior.type !== "paren" && !isBrace && !isExtglob) {
1613
+ push({ type: "star", value, output: "" });
1614
+ continue;
1615
+ }
1616
+ while (rest.slice(0, 3) === "/**") {
1617
+ const after = input[state.index + 4];
1618
+ if (after && after !== "/") {
1619
+ break;
1620
+ }
1621
+ rest = rest.slice(3);
1622
+ consume("/**", 3);
1623
+ }
1624
+ if (prior.type === "bos" && eos()) {
1625
+ prev.type = "globstar";
1626
+ prev.value += value;
1627
+ prev.output = globstar(opts);
1628
+ state.output = prev.output;
1629
+ state.globstar = true;
1630
+ consume(value);
1631
+ continue;
1632
+ }
1633
+ if (
1634
+ prior.type === "slash" &&
1635
+ prior.prev.type !== "bos" &&
1636
+ !afterStar &&
1637
+ eos()
1638
+ ) {
1639
+ state.output = state.output.slice(
1640
+ 0,
1641
+ -(prior.output + prev.output).length,
1642
+ );
1643
+ prior.output = `(?:${prior.output}`;
1644
+ prev.type = "globstar";
1645
+ prev.output = globstar(opts) + (opts.strictSlashes ? ")" : "|$)");
1646
+ prev.value += value;
1647
+ state.globstar = true;
1648
+ state.output += prior.output + prev.output;
1649
+ consume(value);
1650
+ continue;
1651
+ }
1652
+ if (
1653
+ prior.type === "slash" &&
1654
+ prior.prev.type !== "bos" &&
1655
+ rest[0] === "/"
1656
+ ) {
1657
+ const end = rest[1] !== void 0 ? "|$" : "";
1658
+ state.output = state.output.slice(
1659
+ 0,
1660
+ -(prior.output + prev.output).length,
1661
+ );
1662
+ prior.output = `(?:${prior.output}`;
1663
+ prev.type = "globstar";
1664
+ prev.output = `${globstar(opts)}${SLASH_LITERAL}|${SLASH_LITERAL}${end})`;
1665
+ prev.value += value;
1666
+ state.output += prior.output + prev.output;
1667
+ state.globstar = true;
1668
+ consume(value + advance());
1669
+ push({ type: "slash", value: "/", output: "" });
1670
+ continue;
1671
+ }
1672
+ if (prior.type === "bos" && rest[0] === "/") {
1673
+ prev.type = "globstar";
1674
+ prev.value += value;
1675
+ prev.output = `(?:^|${SLASH_LITERAL}|${globstar(opts)}${SLASH_LITERAL})`;
1676
+ state.output = prev.output;
1677
+ state.globstar = true;
1678
+ consume(value + advance());
1679
+ push({ type: "slash", value: "/", output: "" });
1680
+ continue;
1681
+ }
1682
+ state.output = state.output.slice(0, -prev.output.length);
1683
+ prev.type = "globstar";
1684
+ prev.output = globstar(opts);
1685
+ prev.value += value;
1686
+ state.output += prev.output;
1687
+ state.globstar = true;
1688
+ consume(value);
1689
+ continue;
1690
+ }
1691
+ const token = { type: "star", value, output: star };
1692
+ if (opts.bash === true) {
1693
+ token.output = ".*?";
1694
+ if (prev.type === "bos" || prev.type === "slash") {
1695
+ token.output = nodot + token.output;
1696
+ }
1697
+ push(token);
1698
+ continue;
1699
+ }
1700
+ if (
1701
+ prev &&
1702
+ (prev.type === "bracket" || prev.type === "paren") &&
1703
+ opts.regex === true
1704
+ ) {
1705
+ token.output = value;
1706
+ push(token);
1707
+ continue;
1708
+ }
1709
+ if (
1710
+ state.index === state.start ||
1711
+ prev.type === "slash" ||
1712
+ prev.type === "dot"
1713
+ ) {
1714
+ if (prev.type === "dot") {
1715
+ state.output += NO_DOT_SLASH;
1716
+ prev.output += NO_DOT_SLASH;
1717
+ } else if (opts.dot === true) {
1718
+ state.output += NO_DOTS_SLASH;
1719
+ prev.output += NO_DOTS_SLASH;
1720
+ } else {
1721
+ state.output += nodot;
1722
+ prev.output += nodot;
1723
+ }
1724
+ if (peek() !== "*") {
1725
+ state.output += ONE_CHAR;
1726
+ prev.output += ONE_CHAR;
1727
+ }
1728
+ }
1729
+ push(token);
1730
+ }
1731
+ while (state.brackets > 0) {
1732
+ if (opts.strictBrackets === true)
1733
+ throw new SyntaxError(syntaxError("closing", "]"));
1734
+ state.output = utils.escapeLast(state.output, "[");
1735
+ decrement("brackets");
1736
+ }
1737
+ while (state.parens > 0) {
1738
+ if (opts.strictBrackets === true)
1739
+ throw new SyntaxError(syntaxError("closing", ")"));
1740
+ state.output = utils.escapeLast(state.output, "(");
1741
+ decrement("parens");
1742
+ }
1743
+ while (state.braces > 0) {
1744
+ if (opts.strictBrackets === true)
1745
+ throw new SyntaxError(syntaxError("closing", "}"));
1746
+ state.output = utils.escapeLast(state.output, "{");
1747
+ decrement("braces");
1748
+ }
1749
+ if (
1750
+ opts.strictSlashes !== true &&
1751
+ (prev.type === "star" || prev.type === "bracket")
1752
+ ) {
1753
+ push({ type: "maybe_slash", value: "", output: `${SLASH_LITERAL}?` });
1754
+ }
1755
+ if (state.backtrack === true) {
1756
+ state.output = "";
1757
+ for (const token of state.tokens) {
1758
+ state.output += token.output != null ? token.output : token.value;
1759
+ if (token.suffix) {
1760
+ state.output += token.suffix;
1761
+ }
1762
+ }
1763
+ }
1764
+ return state;
1765
+ };
1766
+ parse.fastpaths = (input, options) => {
1767
+ const opts = { ...options };
1768
+ const max =
1769
+ typeof opts.maxLength === "number"
1770
+ ? Math.min(MAX_LENGTH, opts.maxLength)
1771
+ : MAX_LENGTH;
1772
+ const len = input.length;
1773
+ if (len > max) {
1774
+ throw new SyntaxError(
1775
+ `Input length: ${len}, exceeds maximum allowed length: ${max}`,
1776
+ );
1777
+ }
1778
+ input = REPLACEMENTS[input] || input;
1779
+ const {
1780
+ DOT_LITERAL,
1781
+ SLASH_LITERAL,
1782
+ ONE_CHAR,
1783
+ DOTS_SLASH,
1784
+ NO_DOT,
1785
+ NO_DOTS,
1786
+ NO_DOTS_SLASH,
1787
+ STAR,
1788
+ START_ANCHOR,
1789
+ } = constants.globChars(opts.windows);
1790
+ const nodot = opts.dot ? NO_DOTS : NO_DOT;
1791
+ const slashDot = opts.dot ? NO_DOTS_SLASH : NO_DOT;
1792
+ const capture = opts.capture ? "" : "?:";
1793
+ const state = { negated: false, prefix: "" };
1794
+ let star = opts.bash === true ? ".*?" : STAR;
1795
+ if (opts.capture) {
1796
+ star = `(${star})`;
1797
+ }
1798
+ const globstar = (opts) => {
1799
+ if (opts.noglobstar === true) return star;
1800
+ return `(${capture}(?:(?!${START_ANCHOR}${opts.dot ? DOTS_SLASH : DOT_LITERAL}).)*?)`;
1801
+ };
1802
+ const create = (str) => {
1803
+ switch (str) {
1804
+ case "*":
1805
+ return `${nodot}${ONE_CHAR}${star}`;
1806
+ case ".*":
1807
+ return `${DOT_LITERAL}${ONE_CHAR}${star}`;
1808
+ case "*.*":
1809
+ return `${nodot}${star}${DOT_LITERAL}${ONE_CHAR}${star}`;
1810
+ case "*/*":
1811
+ return `${nodot}${star}${SLASH_LITERAL}${ONE_CHAR}${slashDot}${star}`;
1812
+ case "**":
1813
+ return nodot + globstar(opts);
1814
+ case "**/*":
1815
+ return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${slashDot}${ONE_CHAR}${star}`;
1816
+ case "**/*.*":
1817
+ return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${slashDot}${star}${DOT_LITERAL}${ONE_CHAR}${star}`;
1818
+ case "**/.*":
1819
+ return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${DOT_LITERAL}${ONE_CHAR}${star}`;
1820
+ default: {
1821
+ const match = /^(.*?)\.(\w+)$/.exec(str);
1822
+ if (!match) return;
1823
+ const source = create(match[1]);
1824
+ if (!source) return;
1825
+ return source + DOT_LITERAL + match[2];
1826
+ }
1827
+ }
1828
+ };
1829
+ const output = utils.removePrefix(input, state);
1830
+ let source = create(output);
1831
+ if (source && opts.strictSlashes !== true) {
1832
+ source += `${SLASH_LITERAL}?`;
1833
+ }
1834
+ return source;
1835
+ };
1836
+ module.exports = parse;
1837
+ },
1838
+ 784: (module, __unused_webpack_exports, __nccwpck_require__) => {
1839
+ const scan = __nccwpck_require__(909);
1840
+ const parse = __nccwpck_require__(230);
1841
+ const utils = __nccwpck_require__(183);
1842
+ const constants = __nccwpck_require__(490);
1843
+ const isObject = (val) =>
1844
+ val && typeof val === "object" && !Array.isArray(val);
1845
+ const picomatch = (glob, options, returnState = false) => {
1846
+ if (Array.isArray(glob)) {
1847
+ const fns = glob.map((input) =>
1848
+ picomatch(input, options, returnState),
1849
+ );
1850
+ const arrayMatcher = (str) => {
1851
+ for (const isMatch of fns) {
1852
+ const state = isMatch(str);
1853
+ if (state) return state;
1854
+ }
1855
+ return false;
1856
+ };
1857
+ return arrayMatcher;
1858
+ }
1859
+ const isState = isObject(glob) && glob.tokens && glob.input;
1860
+ if (glob === "" || (typeof glob !== "string" && !isState)) {
1861
+ throw new TypeError("Expected pattern to be a non-empty string");
1862
+ }
1863
+ const opts = options || {};
1864
+ const posix = opts.windows;
1865
+ const regex = isState
1866
+ ? picomatch.compileRe(glob, options)
1867
+ : picomatch.makeRe(glob, options, false, true);
1868
+ const state = regex.state;
1869
+ delete regex.state;
1870
+ let isIgnored = () => false;
1871
+ if (opts.ignore) {
1872
+ const ignoreOpts = {
1873
+ ...options,
1874
+ ignore: null,
1875
+ onMatch: null,
1876
+ onResult: null,
1877
+ };
1878
+ isIgnored = picomatch(opts.ignore, ignoreOpts, returnState);
1879
+ }
1880
+ const matcher = (input, returnObject = false) => {
1881
+ const { isMatch, match, output } = picomatch.test(
1882
+ input,
1883
+ regex,
1884
+ options,
1885
+ { glob, posix },
1886
+ );
1887
+ const result = {
1888
+ glob,
1889
+ state,
1890
+ regex,
1891
+ posix,
1892
+ input,
1893
+ output,
1894
+ match,
1895
+ isMatch,
1896
+ };
1897
+ if (typeof opts.onResult === "function") {
1898
+ opts.onResult(result);
1899
+ }
1900
+ if (isMatch === false) {
1901
+ result.isMatch = false;
1902
+ return returnObject ? result : false;
1903
+ }
1904
+ if (isIgnored(input)) {
1905
+ if (typeof opts.onIgnore === "function") {
1906
+ opts.onIgnore(result);
1907
+ }
1908
+ result.isMatch = false;
1909
+ return returnObject ? result : false;
1910
+ }
1911
+ if (typeof opts.onMatch === "function") {
1912
+ opts.onMatch(result);
1913
+ }
1914
+ return returnObject ? result : true;
1915
+ };
1916
+ if (returnState) {
1917
+ matcher.state = state;
1918
+ }
1919
+ return matcher;
1920
+ };
1921
+ picomatch.test = (input, regex, options, { glob, posix } = {}) => {
1922
+ if (typeof input !== "string") {
1923
+ throw new TypeError("Expected input to be a string");
1924
+ }
1925
+ if (input === "") {
1926
+ return { isMatch: false, output: "" };
1927
+ }
1928
+ const opts = options || {};
1929
+ const format = opts.format || (posix ? utils.toPosixSlashes : null);
1930
+ let match = input === glob;
1931
+ let output = match && format ? format(input) : input;
1932
+ if (match === false) {
1933
+ output = format ? format(input) : input;
1934
+ match = output === glob;
1935
+ }
1936
+ if (match === false || opts.capture === true) {
1937
+ if (opts.matchBase === true || opts.basename === true) {
1938
+ match = picomatch.matchBase(input, regex, options, posix);
1939
+ } else {
1940
+ match = regex.exec(output);
1941
+ }
1942
+ }
1943
+ return { isMatch: Boolean(match), match, output };
1944
+ };
1945
+ picomatch.matchBase = (input, glob, options) => {
1946
+ const regex =
1947
+ glob instanceof RegExp ? glob : picomatch.makeRe(glob, options);
1948
+ return regex.test(utils.basename(input));
1949
+ };
1950
+ picomatch.isMatch = (str, patterns, options) =>
1951
+ picomatch(patterns, options)(str);
1952
+ picomatch.parse = (pattern, options) => {
1953
+ if (Array.isArray(pattern))
1954
+ return pattern.map((p) => picomatch.parse(p, options));
1955
+ return parse(pattern, { ...options, fastpaths: false });
1956
+ };
1957
+ picomatch.scan = (input, options) => scan(input, options);
1958
+ picomatch.compileRe = (
1959
+ state,
1960
+ options,
1961
+ returnOutput = false,
1962
+ returnState = false,
1963
+ ) => {
1964
+ if (returnOutput === true) {
1965
+ return state.output;
1966
+ }
1967
+ const opts = options || {};
1968
+ const prepend = opts.contains ? "" : "^";
1969
+ const append = opts.contains ? "" : "$";
1970
+ let source = `${prepend}(?:${state.output})${append}`;
1971
+ if (state && state.negated === true) {
1972
+ source = `^(?!${source}).*$`;
1973
+ }
1974
+ const regex = picomatch.toRegex(source, options);
1975
+ if (returnState === true) {
1976
+ regex.state = state;
1977
+ }
1978
+ return regex;
1979
+ };
1980
+ picomatch.makeRe = (
1981
+ input,
1982
+ options = {},
1983
+ returnOutput = false,
1984
+ returnState = false,
1985
+ ) => {
1986
+ if (!input || typeof input !== "string") {
1987
+ throw new TypeError("Expected a non-empty string");
1988
+ }
1989
+ let parsed = { negated: false, fastpaths: true };
1990
+ if (
1991
+ options.fastpaths !== false &&
1992
+ (input[0] === "." || input[0] === "*")
1993
+ ) {
1994
+ parsed.output = parse.fastpaths(input, options);
1995
+ }
1996
+ if (!parsed.output) {
1997
+ parsed = parse(input, options);
1998
+ }
1999
+ return picomatch.compileRe(parsed, options, returnOutput, returnState);
2000
+ };
2001
+ picomatch.toRegex = (source, options) => {
2002
+ try {
2003
+ const opts = options || {};
2004
+ return new RegExp(source, opts.flags || (opts.nocase ? "i" : ""));
2005
+ } catch (err) {
2006
+ if (options && options.debug === true) throw err;
2007
+ return /$^/;
2008
+ }
2009
+ };
2010
+ picomatch.constants = constants;
2011
+ module.exports = picomatch;
2012
+ },
2013
+ 909: (module, __unused_webpack_exports, __nccwpck_require__) => {
2014
+ const utils = __nccwpck_require__(183);
2015
+ const {
2016
+ CHAR_ASTERISK,
2017
+ CHAR_AT,
2018
+ CHAR_BACKWARD_SLASH,
2019
+ CHAR_COMMA,
2020
+ CHAR_DOT,
2021
+ CHAR_EXCLAMATION_MARK,
2022
+ CHAR_FORWARD_SLASH,
2023
+ CHAR_LEFT_CURLY_BRACE,
2024
+ CHAR_LEFT_PARENTHESES,
2025
+ CHAR_LEFT_SQUARE_BRACKET,
2026
+ CHAR_PLUS,
2027
+ CHAR_QUESTION_MARK,
2028
+ CHAR_RIGHT_CURLY_BRACE,
2029
+ CHAR_RIGHT_PARENTHESES,
2030
+ CHAR_RIGHT_SQUARE_BRACKET,
2031
+ } = __nccwpck_require__(490);
2032
+ const isPathSeparator = (code) =>
2033
+ code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH;
2034
+ const depth = (token) => {
2035
+ if (token.isPrefix !== true) {
2036
+ token.depth = token.isGlobstar ? Infinity : 1;
2037
+ }
2038
+ };
2039
+ const scan = (input, options) => {
2040
+ const opts = options || {};
2041
+ const length = input.length - 1;
2042
+ const scanToEnd = opts.parts === true || opts.scanToEnd === true;
2043
+ const slashes = [];
2044
+ const tokens = [];
2045
+ const parts = [];
2046
+ let str = input;
2047
+ let index = -1;
2048
+ let start = 0;
2049
+ let lastIndex = 0;
2050
+ let isBrace = false;
2051
+ let isBracket = false;
2052
+ let isGlob = false;
2053
+ let isExtglob = false;
2054
+ let isGlobstar = false;
2055
+ let braceEscaped = false;
2056
+ let backslashes = false;
2057
+ let negated = false;
2058
+ let negatedExtglob = false;
2059
+ let finished = false;
2060
+ let braces = 0;
2061
+ let prev;
2062
+ let code;
2063
+ let token = { value: "", depth: 0, isGlob: false };
2064
+ const eos = () => index >= length;
2065
+ const peek = () => str.charCodeAt(index + 1);
2066
+ const advance = () => {
2067
+ prev = code;
2068
+ return str.charCodeAt(++index);
2069
+ };
2070
+ while (index < length) {
2071
+ code = advance();
2072
+ let next;
2073
+ if (code === CHAR_BACKWARD_SLASH) {
2074
+ backslashes = token.backslashes = true;
2075
+ code = advance();
2076
+ if (code === CHAR_LEFT_CURLY_BRACE) {
2077
+ braceEscaped = true;
2078
+ }
2079
+ continue;
2080
+ }
2081
+ if (braceEscaped === true || code === CHAR_LEFT_CURLY_BRACE) {
2082
+ braces++;
2083
+ while (eos() !== true && (code = advance())) {
2084
+ if (code === CHAR_BACKWARD_SLASH) {
2085
+ backslashes = token.backslashes = true;
2086
+ advance();
2087
+ continue;
2088
+ }
2089
+ if (code === CHAR_LEFT_CURLY_BRACE) {
2090
+ braces++;
2091
+ continue;
2092
+ }
2093
+ if (
2094
+ braceEscaped !== true &&
2095
+ code === CHAR_DOT &&
2096
+ (code = advance()) === CHAR_DOT
2097
+ ) {
2098
+ isBrace = token.isBrace = true;
2099
+ isGlob = token.isGlob = true;
2100
+ finished = true;
2101
+ if (scanToEnd === true) {
2102
+ continue;
2103
+ }
2104
+ break;
2105
+ }
2106
+ if (braceEscaped !== true && code === CHAR_COMMA) {
2107
+ isBrace = token.isBrace = true;
2108
+ isGlob = token.isGlob = true;
2109
+ finished = true;
2110
+ if (scanToEnd === true) {
2111
+ continue;
2112
+ }
2113
+ break;
2114
+ }
2115
+ if (code === CHAR_RIGHT_CURLY_BRACE) {
2116
+ braces--;
2117
+ if (braces === 0) {
2118
+ braceEscaped = false;
2119
+ isBrace = token.isBrace = true;
2120
+ finished = true;
2121
+ break;
2122
+ }
2123
+ }
2124
+ }
2125
+ if (scanToEnd === true) {
2126
+ continue;
2127
+ }
2128
+ break;
2129
+ }
2130
+ if (code === CHAR_FORWARD_SLASH) {
2131
+ slashes.push(index);
2132
+ tokens.push(token);
2133
+ token = { value: "", depth: 0, isGlob: false };
2134
+ if (finished === true) continue;
2135
+ if (prev === CHAR_DOT && index === start + 1) {
2136
+ start += 2;
2137
+ continue;
2138
+ }
2139
+ lastIndex = index + 1;
2140
+ continue;
2141
+ }
2142
+ if (opts.noext !== true) {
2143
+ const isExtglobChar =
2144
+ code === CHAR_PLUS ||
2145
+ code === CHAR_AT ||
2146
+ code === CHAR_ASTERISK ||
2147
+ code === CHAR_QUESTION_MARK ||
2148
+ code === CHAR_EXCLAMATION_MARK;
2149
+ if (isExtglobChar === true && peek() === CHAR_LEFT_PARENTHESES) {
2150
+ isGlob = token.isGlob = true;
2151
+ isExtglob = token.isExtglob = true;
2152
+ finished = true;
2153
+ if (code === CHAR_EXCLAMATION_MARK && index === start) {
2154
+ negatedExtglob = true;
2155
+ }
2156
+ if (scanToEnd === true) {
2157
+ while (eos() !== true && (code = advance())) {
2158
+ if (code === CHAR_BACKWARD_SLASH) {
2159
+ backslashes = token.backslashes = true;
2160
+ code = advance();
2161
+ continue;
2162
+ }
2163
+ if (code === CHAR_RIGHT_PARENTHESES) {
2164
+ isGlob = token.isGlob = true;
2165
+ finished = true;
2166
+ break;
2167
+ }
2168
+ }
2169
+ continue;
2170
+ }
2171
+ break;
2172
+ }
2173
+ }
2174
+ if (code === CHAR_ASTERISK) {
2175
+ if (prev === CHAR_ASTERISK) isGlobstar = token.isGlobstar = true;
2176
+ isGlob = token.isGlob = true;
2177
+ finished = true;
2178
+ if (scanToEnd === true) {
2179
+ continue;
2180
+ }
2181
+ break;
2182
+ }
2183
+ if (code === CHAR_QUESTION_MARK) {
2184
+ isGlob = token.isGlob = true;
2185
+ finished = true;
2186
+ if (scanToEnd === true) {
2187
+ continue;
2188
+ }
2189
+ break;
2190
+ }
2191
+ if (code === CHAR_LEFT_SQUARE_BRACKET) {
2192
+ while (eos() !== true && (next = advance())) {
2193
+ if (next === CHAR_BACKWARD_SLASH) {
2194
+ backslashes = token.backslashes = true;
2195
+ advance();
2196
+ continue;
2197
+ }
2198
+ if (next === CHAR_RIGHT_SQUARE_BRACKET) {
2199
+ isBracket = token.isBracket = true;
2200
+ isGlob = token.isGlob = true;
2201
+ finished = true;
2202
+ break;
2203
+ }
2204
+ }
2205
+ if (scanToEnd === true) {
2206
+ continue;
2207
+ }
2208
+ break;
2209
+ }
2210
+ if (
2211
+ opts.nonegate !== true &&
2212
+ code === CHAR_EXCLAMATION_MARK &&
2213
+ index === start
2214
+ ) {
2215
+ negated = token.negated = true;
2216
+ start++;
2217
+ continue;
2218
+ }
2219
+ if (opts.noparen !== true && code === CHAR_LEFT_PARENTHESES) {
2220
+ isGlob = token.isGlob = true;
2221
+ if (scanToEnd === true) {
2222
+ while (eos() !== true && (code = advance())) {
2223
+ if (code === CHAR_LEFT_PARENTHESES) {
2224
+ backslashes = token.backslashes = true;
2225
+ code = advance();
2226
+ continue;
2227
+ }
2228
+ if (code === CHAR_RIGHT_PARENTHESES) {
2229
+ finished = true;
2230
+ break;
2231
+ }
2232
+ }
2233
+ continue;
2234
+ }
2235
+ break;
2236
+ }
2237
+ if (isGlob === true) {
2238
+ finished = true;
2239
+ if (scanToEnd === true) {
2240
+ continue;
2241
+ }
2242
+ break;
2243
+ }
2244
+ }
2245
+ if (opts.noext === true) {
2246
+ isExtglob = false;
2247
+ isGlob = false;
2248
+ }
2249
+ let base = str;
2250
+ let prefix = "";
2251
+ let glob = "";
2252
+ if (start > 0) {
2253
+ prefix = str.slice(0, start);
2254
+ str = str.slice(start);
2255
+ lastIndex -= start;
2256
+ }
2257
+ if (base && isGlob === true && lastIndex > 0) {
2258
+ base = str.slice(0, lastIndex);
2259
+ glob = str.slice(lastIndex);
2260
+ } else if (isGlob === true) {
2261
+ base = "";
2262
+ glob = str;
2263
+ } else {
2264
+ base = str;
2265
+ }
2266
+ if (base && base !== "" && base !== "/" && base !== str) {
2267
+ if (isPathSeparator(base.charCodeAt(base.length - 1))) {
2268
+ base = base.slice(0, -1);
2269
+ }
2270
+ }
2271
+ if (opts.unescape === true) {
2272
+ if (glob) glob = utils.removeBackslashes(glob);
2273
+ if (base && backslashes === true) {
2274
+ base = utils.removeBackslashes(base);
2275
+ }
2276
+ }
2277
+ const state = {
2278
+ prefix,
2279
+ input,
2280
+ start,
2281
+ base,
2282
+ glob,
2283
+ isBrace,
2284
+ isBracket,
2285
+ isGlob,
2286
+ isExtglob,
2287
+ isGlobstar,
2288
+ negated,
2289
+ negatedExtglob,
2290
+ };
2291
+ if (opts.tokens === true) {
2292
+ state.maxDepth = 0;
2293
+ if (!isPathSeparator(code)) {
2294
+ tokens.push(token);
2295
+ }
2296
+ state.tokens = tokens;
2297
+ }
2298
+ if (opts.parts === true || opts.tokens === true) {
2299
+ let prevIndex;
2300
+ for (let idx = 0; idx < slashes.length; idx++) {
2301
+ const n = prevIndex ? prevIndex + 1 : start;
2302
+ const i = slashes[idx];
2303
+ const value = input.slice(n, i);
2304
+ if (opts.tokens) {
2305
+ if (idx === 0 && start !== 0) {
2306
+ tokens[idx].isPrefix = true;
2307
+ tokens[idx].value = prefix;
2308
+ } else {
2309
+ tokens[idx].value = value;
2310
+ }
2311
+ depth(tokens[idx]);
2312
+ state.maxDepth += tokens[idx].depth;
2313
+ }
2314
+ if (idx !== 0 || value !== "") {
2315
+ parts.push(value);
2316
+ }
2317
+ prevIndex = i;
2318
+ }
2319
+ if (prevIndex && prevIndex + 1 < input.length) {
2320
+ const value = input.slice(prevIndex + 1);
2321
+ parts.push(value);
2322
+ if (opts.tokens) {
2323
+ tokens[tokens.length - 1].value = value;
2324
+ depth(tokens[tokens.length - 1]);
2325
+ state.maxDepth += tokens[tokens.length - 1].depth;
2326
+ }
2327
+ }
2328
+ state.slashes = slashes;
2329
+ state.parts = parts;
2330
+ }
2331
+ return state;
2332
+ };
2333
+ module.exports = scan;
2334
+ },
2335
+ 183: (__unused_webpack_module, exports, __nccwpck_require__) => {
2336
+ const {
2337
+ REGEX_BACKSLASH,
2338
+ REGEX_REMOVE_BACKSLASH,
2339
+ REGEX_SPECIAL_CHARS,
2340
+ REGEX_SPECIAL_CHARS_GLOBAL,
2341
+ } = __nccwpck_require__(490);
2342
+ exports.isObject = (val) =>
2343
+ val !== null && typeof val === "object" && !Array.isArray(val);
2344
+ exports.hasRegexChars = (str) => REGEX_SPECIAL_CHARS.test(str);
2345
+ exports.isRegexChar = (str) =>
2346
+ str.length === 1 && exports.hasRegexChars(str);
2347
+ exports.escapeRegex = (str) =>
2348
+ str.replace(REGEX_SPECIAL_CHARS_GLOBAL, "\\$1");
2349
+ exports.toPosixSlashes = (str) => str.replace(REGEX_BACKSLASH, "/");
2350
+ exports.isWindows = () => {
2351
+ if (typeof navigator !== "undefined" && navigator.platform) {
2352
+ const platform = navigator.platform.toLowerCase();
2353
+ return platform === "win32" || platform === "windows";
2354
+ }
2355
+ if (typeof process !== "undefined" && process.platform) {
2356
+ return process.platform === "win32";
2357
+ }
2358
+ return false;
2359
+ };
2360
+ exports.removeBackslashes = (str) =>
2361
+ str.replace(REGEX_REMOVE_BACKSLASH, (match) =>
2362
+ match === "\\" ? "" : match,
2363
+ );
2364
+ exports.escapeLast = (input, char, lastIdx) => {
2365
+ const idx = input.lastIndexOf(char, lastIdx);
2366
+ if (idx === -1) return input;
2367
+ if (input[idx - 1] === "\\")
2368
+ return exports.escapeLast(input, char, idx - 1);
2369
+ return `${input.slice(0, idx)}\\${input.slice(idx)}`;
2370
+ };
2371
+ exports.removePrefix = (input, state = {}) => {
2372
+ let output = input;
2373
+ if (output.startsWith("./")) {
2374
+ output = output.slice(2);
2375
+ state.prefix = "./";
2376
+ }
2377
+ return output;
2378
+ };
2379
+ exports.wrapOutput = (input, state = {}, options = {}) => {
2380
+ const prepend = options.contains ? "" : "^";
2381
+ const append = options.contains ? "" : "$";
2382
+ let output = `${prepend}(?:${input})${append}`;
2383
+ if (state.negated === true) {
2384
+ output = `(?:^(?!${output}).*$)`;
2385
+ }
2386
+ return output;
2387
+ };
2388
+ exports.basename = (path, { windows } = {}) => {
2389
+ const segs = path.split(windows ? /[\\/]/ : "/");
2390
+ const last = segs[segs.length - 1];
2391
+ if (last === "") {
2392
+ return segs[segs.length - 2];
2393
+ }
2394
+ return last;
2395
+ };
2396
+ },
2397
+ 82: (module, __unused_webpack_exports, __nccwpck_require__) => {
2398
+ var __create = Object.create;
2399
+ var __defProp = Object.defineProperty;
2400
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
2401
+ var __getOwnPropNames = Object.getOwnPropertyNames;
2402
+ var __getProtoOf = Object.getPrototypeOf;
2403
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
2404
+ var __export = (target, all) => {
2405
+ for (var name in all)
2406
+ __defProp(target, name, { get: all[name], enumerable: true });
2407
+ };
2408
+ var __copyProps = (to, from, except, desc) => {
2409
+ if ((from && typeof from === "object") || typeof from === "function") {
2410
+ for (let key of __getOwnPropNames(from))
2411
+ if (!__hasOwnProp.call(to, key) && key !== except)
2412
+ __defProp(to, key, {
2413
+ get: () => from[key],
2414
+ enumerable:
2415
+ !(desc = __getOwnPropDesc(from, key)) || desc.enumerable,
2416
+ });
2417
+ }
2418
+ return to;
2419
+ };
2420
+ var __toESM = (mod, isNodeMode, target) => (
2421
+ (target = mod != null ? __create(__getProtoOf(mod)) : {}),
2422
+ __copyProps(
2423
+ isNodeMode || !mod || !mod.__esModule
2424
+ ? __defProp(target, "default", { value: mod, enumerable: true })
2425
+ : target,
2426
+ mod,
2427
+ )
2428
+ );
2429
+ var __toCommonJS = (mod) =>
2430
+ __copyProps(__defProp({}, "__esModule", { value: true }), mod);
2431
+ var src_exports = {};
2432
+ __export(src_exports, {
2433
+ convertPathToPattern: () => convertPathToPattern,
2434
+ escapePath: () => escapePath,
2435
+ glob: () => glob,
2436
+ globSync: () => globSync,
2437
+ isDynamicPattern: () => isDynamicPattern,
2438
+ });
2439
+ module.exports = __toCommonJS(src_exports);
2440
+ var import_node_path = __toESM(__nccwpck_require__(17));
2441
+ var import_fdir = __nccwpck_require__(601);
2442
+ var import_picomatch2 = __toESM(__nccwpck_require__(897));
2443
+ var import_picomatch = __toESM(__nccwpck_require__(897));
2444
+ var ESCAPED_WIN32_BACKSLASHES = /\\(?![()[\]{}!+@])/g;
2445
+ function convertPosixPathToPattern(path2) {
2446
+ return escapePosixPath(path2);
2447
+ }
2448
+ function convertWin32PathToPattern(path2) {
2449
+ return escapeWin32Path(path2).replace(ESCAPED_WIN32_BACKSLASHES, "/");
2450
+ }
2451
+ var convertPathToPattern =
2452
+ process.platform === "win32"
2453
+ ? convertWin32PathToPattern
2454
+ : convertPosixPathToPattern;
2455
+ var POSIX_UNESCAPED_GLOB_SYMBOLS =
2456
+ /(?<!\\)([()[\]{}*?|]|^!|[!+@](?=\()|\\(?![()[\]{}!*+?@|]))/g;
2457
+ var WIN32_UNESCAPED_GLOB_SYMBOLS = /(?<!\\)([()[\]{}]|^!|[!+@](?=\())/g;
2458
+ var escapePosixPath = (path2) =>
2459
+ path2.replace(POSIX_UNESCAPED_GLOB_SYMBOLS, "\\$&");
2460
+ var escapeWin32Path = (path2) =>
2461
+ path2.replace(WIN32_UNESCAPED_GLOB_SYMBOLS, "\\$&");
2462
+ var escapePath =
2463
+ process.platform === "win32" ? escapeWin32Path : escapePosixPath;
2464
+ function isDynamicPattern(pattern, options) {
2465
+ if ((options == null ? void 0 : options.caseSensitiveMatch) === false) {
2466
+ return true;
2467
+ }
2468
+ const scan = import_picomatch.default.scan(pattern);
2469
+ return scan.isGlob || scan.negated;
2470
+ }
2471
+ function normalizePattern(
2472
+ pattern,
2473
+ expandDirectories,
2474
+ cwd,
2475
+ properties,
2476
+ isIgnore,
2477
+ ) {
2478
+ var _a;
2479
+ let result = pattern;
2480
+ if (pattern.endsWith("/")) {
2481
+ result = pattern.slice(0, -1);
2482
+ }
2483
+ if (!result.endsWith("*") && expandDirectories) {
2484
+ result += "/**";
2485
+ }
2486
+ if (
2487
+ import_node_path.default.isAbsolute(
2488
+ result.replace(/\\(?=[()[\]{}!*+?@|])/g, ""),
2489
+ )
2490
+ ) {
2491
+ result = import_node_path.posix.relative(cwd, result);
2492
+ } else {
2493
+ result = import_node_path.posix.normalize(result);
2494
+ }
2495
+ const parentDirectoryMatch = /^(\/?\.\.)+/.exec(result);
2496
+ if (parentDirectoryMatch == null ? void 0 : parentDirectoryMatch[0]) {
2497
+ const potentialRoot = import_node_path.posix.join(
2498
+ cwd,
2499
+ parentDirectoryMatch[0],
2500
+ );
2501
+ if (properties.root.length > potentialRoot.length) {
2502
+ properties.root = potentialRoot;
2503
+ properties.depthOffset = -(parentDirectoryMatch[0].length + 1) / 3;
2504
+ }
2505
+ } else if (!isIgnore && properties.depthOffset >= 0) {
2506
+ const current = result.split("/");
2507
+ (_a = properties.commonPath) != null
2508
+ ? _a
2509
+ : (properties.commonPath = current);
2510
+ const newCommonPath = [];
2511
+ for (
2512
+ let i = 0;
2513
+ i < Math.min(properties.commonPath.length, current.length);
2514
+ i++
2515
+ ) {
2516
+ const part = current[i];
2517
+ if (part === "**" && !current[i + 1]) {
2518
+ newCommonPath.pop();
2519
+ break;
2520
+ }
2521
+ if (
2522
+ part !== properties.commonPath[i] ||
2523
+ isDynamicPattern(part) ||
2524
+ i === current.length - 1
2525
+ ) {
2526
+ break;
2527
+ }
2528
+ newCommonPath.push(part);
2529
+ }
2530
+ properties.depthOffset = newCommonPath.length;
2531
+ properties.commonPath = newCommonPath;
2532
+ properties.root =
2533
+ newCommonPath.length > 0
2534
+ ? `${cwd}/${newCommonPath.join("/")}`
2535
+ : cwd;
2536
+ }
2537
+ return result;
2538
+ }
2539
+ function processPatterns(
2540
+ { patterns, ignore = [], expandDirectories = true },
2541
+ cwd,
2542
+ properties,
2543
+ ) {
2544
+ if (typeof patterns === "string") {
2545
+ patterns = [patterns];
2546
+ } else if (!patterns) {
2547
+ patterns = ["**/*"];
2548
+ }
2549
+ if (typeof ignore === "string") {
2550
+ ignore = [ignore];
2551
+ }
2552
+ const matchPatterns = [];
2553
+ const ignorePatterns = [];
2554
+ for (const pattern of ignore) {
2555
+ if (!pattern.startsWith("!") || pattern[1] === "(") {
2556
+ const newPattern = normalizePattern(
2557
+ pattern,
2558
+ expandDirectories,
2559
+ cwd,
2560
+ properties,
2561
+ true,
2562
+ );
2563
+ ignorePatterns.push(newPattern);
2564
+ }
2565
+ }
2566
+ for (const pattern of patterns) {
2567
+ if (!pattern.startsWith("!") || pattern[1] === "(") {
2568
+ const newPattern = normalizePattern(
2569
+ pattern,
2570
+ expandDirectories,
2571
+ cwd,
2572
+ properties,
2573
+ false,
2574
+ );
2575
+ matchPatterns.push(newPattern);
2576
+ } else if (pattern[1] !== "!" || pattern[2] === "(") {
2577
+ const newPattern = normalizePattern(
2578
+ pattern.slice(1),
2579
+ expandDirectories,
2580
+ cwd,
2581
+ properties,
2582
+ true,
2583
+ );
2584
+ ignorePatterns.push(newPattern);
2585
+ }
2586
+ }
2587
+ return { match: matchPatterns, ignore: ignorePatterns };
2588
+ }
2589
+ function getRelativePath(path2, cwd, root) {
2590
+ return import_node_path.posix.relative(cwd, `${root}/${path2}`);
2591
+ }
2592
+ function processPath(path2, cwd, root, isDirectory, absolute) {
2593
+ const relativePath = absolute
2594
+ ? path2.slice(root.length + 1) || "."
2595
+ : path2;
2596
+ if (root === cwd) {
2597
+ return isDirectory && relativePath !== "."
2598
+ ? relativePath.slice(0, -1)
2599
+ : relativePath;
2600
+ }
2601
+ return getRelativePath(relativePath, cwd, root);
2602
+ }
2603
+ function crawl(options, cwd, sync) {
2604
+ const properties = { root: cwd, commonPath: null, depthOffset: 0 };
2605
+ const processed = processPatterns(options, cwd, properties);
2606
+ const matcher = (0, import_picomatch2.default)(processed.match, {
2607
+ dot: options.dot,
2608
+ nocase: options.caseSensitiveMatch === false,
2609
+ ignore: processed.ignore,
2610
+ });
2611
+ const exclude = (0, import_picomatch2.default)(processed.ignore, {
2612
+ dot: options.dot,
2613
+ nocase: options.caseSensitiveMatch === false,
2614
+ });
2615
+ const fdirOptions = {
2616
+ filters: [
2617
+ (p, isDirectory) =>
2618
+ matcher(
2619
+ processPath(
2620
+ p,
2621
+ cwd,
2622
+ properties.root,
2623
+ isDirectory,
2624
+ options.absolute,
2625
+ ),
2626
+ ),
2627
+ ],
2628
+ exclude: (_, p) =>
2629
+ exclude(processPath(p, cwd, properties.root, true, true)),
2630
+ pathSeparator: "/",
2631
+ relativePaths: true,
2632
+ resolveSymlinks: true,
2633
+ };
2634
+ if (options.deep) {
2635
+ fdirOptions.maxDepth = Math.round(
2636
+ options.deep - properties.depthOffset,
2637
+ );
2638
+ }
2639
+ if (options.absolute) {
2640
+ fdirOptions.relativePaths = false;
2641
+ fdirOptions.resolvePaths = true;
2642
+ fdirOptions.includeBasePath = true;
2643
+ }
2644
+ if (options.followSymbolicLinks === false) {
2645
+ fdirOptions.resolveSymlinks = false;
2646
+ fdirOptions.excludeSymlinks = true;
2647
+ }
2648
+ if (options.onlyDirectories) {
2649
+ fdirOptions.excludeFiles = true;
2650
+ fdirOptions.includeDirs = true;
2651
+ } else if (options.onlyFiles === false) {
2652
+ fdirOptions.includeDirs = true;
2653
+ }
2654
+ properties.root = properties.root.replace(/\\/g, "");
2655
+ const api = new import_fdir.fdir(fdirOptions).crawl(properties.root);
2656
+ if (cwd === properties.root || options.absolute) {
2657
+ return sync ? api.sync() : api.withPromise();
2658
+ }
2659
+ return sync
2660
+ ? api
2661
+ .sync()
2662
+ .map(
2663
+ (p) =>
2664
+ getRelativePath(p, cwd, properties.root) +
2665
+ (!p || p.endsWith("/") ? "/" : ""),
2666
+ )
2667
+ : api
2668
+ .withPromise()
2669
+ .then((paths) =>
2670
+ paths.map(
2671
+ (p) =>
2672
+ getRelativePath(p, cwd, properties.root) +
2673
+ (!p || p.endsWith("/") ? "/" : ""),
2674
+ ),
2675
+ );
2676
+ }
2677
+ async function glob(patternsOrOptions, options) {
2678
+ if (
2679
+ patternsOrOptions &&
2680
+ (options == null ? void 0 : options.patterns)
2681
+ ) {
2682
+ throw new Error(
2683
+ "Cannot pass patterns as both an argument and an option",
2684
+ );
2685
+ }
2686
+ const opts =
2687
+ Array.isArray(patternsOrOptions) ||
2688
+ typeof patternsOrOptions === "string"
2689
+ ? { ...options, patterns: patternsOrOptions }
2690
+ : patternsOrOptions;
2691
+ const cwd = opts.cwd
2692
+ ? import_node_path.default.resolve(opts.cwd).replace(/\\/g, "/")
2693
+ : process.cwd().replace(/\\/g, "/");
2694
+ return crawl(opts, cwd, false);
2695
+ }
2696
+ function globSync(patternsOrOptions, options) {
2697
+ if (
2698
+ patternsOrOptions &&
2699
+ (options == null ? void 0 : options.patterns)
2700
+ ) {
2701
+ throw new Error(
2702
+ "Cannot pass patterns as both an argument and an option",
2703
+ );
2704
+ }
2705
+ const opts =
2706
+ Array.isArray(patternsOrOptions) ||
2707
+ typeof patternsOrOptions === "string"
2708
+ ? { ...options, patterns: patternsOrOptions }
2709
+ : patternsOrOptions;
2710
+ const cwd = opts.cwd
2711
+ ? import_node_path.default.resolve(opts.cwd).replace(/\\/g, "/")
2712
+ : process.cwd().replace(/\\/g, "/");
2713
+ return crawl(opts, cwd, true);
2714
+ }
2715
+ 0 && 0;
2716
+ },
2717
+ 147: (module) => {
2718
+ module.exports = require("fs");
2719
+ },
2720
+ 17: (module) => {
2721
+ module.exports = require("path");
2722
+ },
2723
+ };
2724
+ var __webpack_module_cache__ = {};
2725
+ function __nccwpck_require__(moduleId) {
2726
+ var cachedModule = __webpack_module_cache__[moduleId];
2727
+ if (cachedModule !== undefined) {
2728
+ return cachedModule.exports;
2729
+ }
2730
+ var module = (__webpack_module_cache__[moduleId] = { exports: {} });
2731
+ var threw = true;
2732
+ try {
2733
+ __webpack_modules__[moduleId].call(
2734
+ module.exports,
2735
+ module,
2736
+ module.exports,
2737
+ __nccwpck_require__,
2738
+ );
2739
+ threw = false;
2740
+ } finally {
2741
+ if (threw) delete __webpack_module_cache__[moduleId];
2742
+ }
2743
+ return module.exports;
2744
+ }
2745
+ if (typeof __nccwpck_require__ !== "undefined")
2746
+ __nccwpck_require__.ab = __dirname + "/";
2747
+ var __webpack_exports__ = __nccwpck_require__(82);
2748
+ module.exports = __webpack_exports__;
2749
+ })();