@bleedingdev/modern-js-utils 3.9.0-ultramodern.9 → 3.9.3-ultramodern.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 (1396) hide show
  1. package/dist/cjs/cli/applyOptionsChain.js +1 -1
  2. package/dist/cjs/cli/get/config.js +1 -1
  3. package/dist/cjs/cli/is/config.js +1 -1
  4. package/dist/cjs/cli/require.js +3 -7
  5. package/dist/cjs/compiled.js +28 -34
  6. package/dist/cjs/fast-glob.js +50 -0
  7. package/dist/cjs/watch-options.js +18 -0
  8. package/dist/compiled/address/LICENSE.txt +22 -0
  9. package/dist/compiled/address/declaration-licenses/address/LICENSE.txt +22 -0
  10. package/dist/compiled/address/index.d.mts +50 -0
  11. package/dist/compiled/address/index.d.ts +50 -0
  12. package/dist/compiled/address/index.js +189 -136
  13. package/dist/compiled/address/index.mjs +187 -0
  14. package/dist/compiled/address/licenses-cjs.txt +24 -0
  15. package/dist/compiled/address/licenses-esm.txt +24 -0
  16. package/dist/compiled/address/package.json +1 -1
  17. package/dist/compiled/address/provenance.json +22 -0
  18. package/dist/compiled/browserslist/LICENSE +20 -0
  19. package/dist/compiled/browserslist/declaration-licenses/browserslist/LICENSE +20 -0
  20. package/dist/compiled/browserslist/index.d.ts +51 -5
  21. package/dist/compiled/browserslist/index.js +1763 -820
  22. package/dist/compiled/browserslist/licenses-cjs.txt +286 -0
  23. package/dist/compiled/browserslist/package.json +1 -1
  24. package/dist/compiled/browserslist/provenance.json +19 -0
  25. package/dist/compiled/chalk/declaration-licenses/chalk/license +9 -0
  26. package/dist/compiled/chalk/index.d.mts +677 -0
  27. package/dist/compiled/chalk/index.d.ts +619 -357
  28. package/dist/compiled/chalk/index.js +734 -2343
  29. package/dist/compiled/chalk/index.mjs +761 -0
  30. package/dist/compiled/chalk/license +1 -1
  31. package/dist/compiled/chalk/licenses-cjs.txt +11 -0
  32. package/dist/compiled/chalk/licenses-esm.txt +11 -0
  33. package/dist/compiled/chalk/package.json +1 -1
  34. package/dist/compiled/chalk/provenance.json +19 -0
  35. package/dist/compiled/chokidar/LICENSE +21 -0
  36. package/dist/compiled/chokidar/declaration-licenses/chokidar/LICENSE +21 -0
  37. package/dist/compiled/chokidar/declaration-licenses/readdirp/LICENSE +21 -0
  38. package/dist/compiled/chokidar/index.d.mts +385 -0
  39. package/dist/compiled/chokidar/index.d.ts +385 -0
  40. package/dist/compiled/chokidar/index.js +1437 -4099
  41. package/dist/compiled/chokidar/index.js.LICENSE.txt +1 -41
  42. package/dist/compiled/chokidar/index.mjs +1492 -0
  43. package/dist/compiled/chokidar/index.mjs.LICENSE.txt +1 -0
  44. package/dist/compiled/chokidar/licenses-cjs.txt +48 -0
  45. package/dist/compiled/chokidar/licenses-esm.txt +48 -0
  46. package/dist/compiled/chokidar/package.json +1 -1
  47. package/dist/compiled/chokidar/provenance.json +27 -0
  48. package/dist/compiled/commander/declaration-licenses/commander/LICENSE +22 -0
  49. package/dist/compiled/commander/index.d.mts +1116 -0
  50. package/dist/compiled/commander/index.d.ts +1116 -0
  51. package/dist/compiled/commander/index.js +1738 -1499
  52. package/dist/compiled/commander/index.mjs +1778 -2
  53. package/dist/compiled/commander/licenses-cjs.txt +24 -0
  54. package/dist/compiled/commander/licenses-esm.txt +24 -0
  55. package/dist/compiled/commander/package.json +1 -1
  56. package/dist/compiled/commander/provenance.json +22 -0
  57. package/dist/compiled/debug/declaration-licenses/@types_ms/LICENSE +21 -0
  58. package/dist/compiled/debug/index.d.ts +79 -16
  59. package/dist/compiled/debug/index.js +172 -106
  60. package/dist/compiled/debug/licenses-cjs.txt +60 -0
  61. package/dist/compiled/debug/package.json +1 -1
  62. package/dist/compiled/debug/provenance.json +27 -0
  63. package/dist/compiled/dotenv-expand/declaration-licenses/dotenv-expand/LICENSE +24 -0
  64. package/dist/compiled/dotenv-expand/index.d.ts +48 -10
  65. package/dist/compiled/dotenv-expand/index.js +65 -41
  66. package/dist/compiled/dotenv-expand/licenses-cjs.txt +25 -0
  67. package/dist/compiled/dotenv-expand/package.json +1 -1
  68. package/dist/compiled/dotenv-expand/provenance.json +22 -0
  69. package/dist/compiled/execa/declaration-licenses/execa/license +9 -0
  70. package/dist/compiled/execa/index.d.mts +2451 -0
  71. package/dist/compiled/execa/index.d.ts +2301 -414
  72. package/dist/compiled/execa/index.js +6485 -1681
  73. package/dist/compiled/execa/index.mjs +6541 -0
  74. package/dist/compiled/execa/licenses-cjs.txt +443 -0
  75. package/dist/compiled/execa/licenses-esm.txt +443 -0
  76. package/dist/compiled/execa/package.json +1 -1
  77. package/dist/compiled/execa/provenance.json +19 -0
  78. package/dist/compiled/filesize/LICENSE +28 -0
  79. package/dist/compiled/filesize/declaration-licenses/filesize/LICENSE +28 -0
  80. package/dist/compiled/filesize/index.d.mts +98 -0
  81. package/dist/compiled/filesize/index.d.ts +98 -0
  82. package/dist/compiled/filesize/index.js +425 -185
  83. package/dist/compiled/filesize/index.js.LICENSE.txt +2 -2
  84. package/dist/compiled/filesize/index.mjs +450 -0
  85. package/dist/compiled/filesize/index.mjs.LICENSE.txt +7 -0
  86. package/dist/compiled/filesize/licenses-cjs.txt +29 -0
  87. package/dist/compiled/filesize/licenses-esm.txt +29 -0
  88. package/dist/compiled/filesize/package.json +1 -1
  89. package/dist/compiled/filesize/provenance.json +22 -0
  90. package/dist/compiled/fs-extra/LICENSE +15 -0
  91. package/dist/compiled/fs-extra/declaration-licenses/@types_fs-extra/LICENSE +21 -0
  92. package/dist/compiled/fs-extra/declaration-licenses/@types_jsonfile/LICENSE +21 -0
  93. package/dist/compiled/fs-extra/index.d.ts +997 -496
  94. package/dist/compiled/fs-extra/index.js +1142 -1355
  95. package/dist/compiled/fs-extra/licenses-cjs.txt +79 -0
  96. package/dist/compiled/fs-extra/package.json +1 -1
  97. package/dist/compiled/fs-extra/provenance.json +27 -0
  98. package/dist/compiled/glob/LICENSE.md +63 -0
  99. package/dist/compiled/glob/declaration-licenses/glob/LICENSE.md +63 -0
  100. package/dist/compiled/glob/declaration-licenses/lru-cache/LICENSE.md +55 -0
  101. package/dist/compiled/glob/declaration-licenses/minimatch/LICENSE.md +55 -0
  102. package/dist/compiled/glob/declaration-licenses/minipass/LICENSE.md +55 -0
  103. package/dist/compiled/glob/declaration-licenses/path-scurry/LICENSE.md +55 -0
  104. package/dist/compiled/glob/index.d.mts +3823 -0
  105. package/dist/compiled/glob/index.d.ts +3823 -91
  106. package/dist/compiled/glob/index.js +3612 -1937
  107. package/dist/compiled/glob/index.mjs +3467 -0
  108. package/dist/compiled/glob/licenses-cjs.txt +65 -0
  109. package/dist/compiled/glob/licenses-esm.txt +65 -0
  110. package/dist/compiled/glob/package.json +1 -1
  111. package/dist/compiled/glob/provenance.json +42 -0
  112. package/dist/compiled/globby/declaration-licenses/globby/license +9 -0
  113. package/dist/compiled/globby/index.d.mts +422 -0
  114. package/dist/compiled/globby/index.d.ts +364 -128
  115. package/dist/compiled/globby/index.js +4417 -521
  116. package/dist/compiled/globby/index.js.LICENSE.txt +20 -0
  117. package/dist/compiled/globby/index.mjs +4572 -0
  118. package/dist/compiled/globby/index.mjs.LICENSE.txt +20 -0
  119. package/dist/compiled/globby/license +1 -1
  120. package/dist/compiled/globby/licenses-cjs.txt +237 -0
  121. package/dist/compiled/globby/licenses-esm.txt +237 -0
  122. package/dist/compiled/globby/package.json +1 -1
  123. package/dist/compiled/globby/provenance.json +19 -0
  124. package/dist/compiled/gzip-size/declaration-licenses/gzip-size/license +9 -0
  125. package/dist/compiled/gzip-size/index.d.mts +106 -0
  126. package/dist/compiled/gzip-size/index.d.ts +91 -81
  127. package/dist/compiled/gzip-size/index.js +117 -94
  128. package/dist/compiled/gzip-size/index.mjs +170 -0
  129. package/dist/compiled/gzip-size/licenses-cjs.txt +33 -0
  130. package/dist/compiled/gzip-size/licenses-esm.txt +33 -0
  131. package/dist/compiled/gzip-size/package.json +1 -1
  132. package/dist/compiled/gzip-size/provenance.json +19 -0
  133. package/dist/compiled/import-lazy/declaration-licenses/import-lazy/license +9 -0
  134. package/dist/compiled/import-lazy/index.d.ts +2 -2
  135. package/dist/compiled/import-lazy/index.js +18 -19
  136. package/dist/compiled/import-lazy/licenses-cjs.txt +11 -0
  137. package/dist/compiled/import-lazy/package.json +1 -1
  138. package/dist/compiled/import-lazy/provenance.json +19 -0
  139. package/dist/compiled/inquirer/LICENSE +22 -0
  140. package/dist/compiled/inquirer/declaration-licenses/@inquirer_checkbox/LICENSE +22 -0
  141. package/dist/compiled/inquirer/declaration-licenses/@inquirer_confirm/LICENSE +22 -0
  142. package/dist/compiled/inquirer/declaration-licenses/@inquirer_core/LICENSE +22 -0
  143. package/dist/compiled/inquirer/declaration-licenses/@inquirer_editor/LICENSE +22 -0
  144. package/dist/compiled/inquirer/declaration-licenses/@inquirer_expand/LICENSE +22 -0
  145. package/dist/compiled/inquirer/declaration-licenses/@inquirer_external-editor/LICENSE +22 -0
  146. package/dist/compiled/inquirer/declaration-licenses/@inquirer_input/LICENSE +22 -0
  147. package/dist/compiled/inquirer/declaration-licenses/@inquirer_number/LICENSE +22 -0
  148. package/dist/compiled/inquirer/declaration-licenses/@inquirer_password/LICENSE +22 -0
  149. package/dist/compiled/inquirer/declaration-licenses/@inquirer_prompts/LICENSE +22 -0
  150. package/dist/compiled/inquirer/declaration-licenses/@inquirer_rawlist/LICENSE +22 -0
  151. package/dist/compiled/inquirer/declaration-licenses/@inquirer_search/LICENSE +22 -0
  152. package/dist/compiled/inquirer/declaration-licenses/@inquirer_select/LICENSE +22 -0
  153. package/dist/compiled/inquirer/declaration-licenses/@inquirer_type/LICENSE +22 -0
  154. package/dist/compiled/inquirer/declaration-licenses/inquirer/LICENSE +22 -0
  155. package/dist/compiled/inquirer/index.d.mts +790 -0
  156. package/dist/compiled/inquirer/index.d.ts +727 -934
  157. package/dist/compiled/inquirer/index.js +5975 -14467
  158. package/dist/compiled/inquirer/index.mjs +11624 -0
  159. package/dist/compiled/inquirer/licenses-cjs.txt +619 -0
  160. package/dist/compiled/inquirer/licenses-esm.txt +619 -0
  161. package/dist/compiled/inquirer/package.json +1 -1
  162. package/dist/compiled/inquirer/provenance.json +92 -0
  163. package/dist/compiled/js-yaml/declaration-licenses/js-yaml/LICENSE +21 -0
  164. package/dist/compiled/js-yaml/index.d.mts +1126 -0
  165. package/dist/compiled/js-yaml/index.d.ts +1114 -142
  166. package/dist/compiled/js-yaml/index.js +20 -21
  167. package/dist/compiled/js-yaml/index.js.LICENSE.txt +1 -1
  168. package/dist/compiled/js-yaml/index.mjs +5 -4
  169. package/dist/compiled/js-yaml/index.mjs.LICENSE.txt +1 -1
  170. package/dist/compiled/js-yaml/licenses-cjs.txt +23 -0
  171. package/dist/compiled/js-yaml/licenses-esm.txt +23 -0
  172. package/dist/compiled/js-yaml/package.json +1 -1
  173. package/dist/compiled/js-yaml/provenance.json +19 -0
  174. package/dist/compiled/json5/LICENSE.md +23 -0
  175. package/dist/compiled/json5/declaration-licenses/json5/LICENSE.md +23 -0
  176. package/dist/compiled/json5/index.d.ts +103 -0
  177. package/dist/compiled/json5/index.js +11 -11
  178. package/dist/compiled/json5/licenses-cjs.txt +25 -0
  179. package/dist/compiled/json5/package.json +1 -1
  180. package/dist/compiled/json5/provenance.json +22 -0
  181. package/dist/compiled/lodash/add.d.ts +2 -0
  182. package/dist/compiled/lodash/after.d.ts +2 -0
  183. package/dist/compiled/lodash/ary.d.ts +2 -0
  184. package/dist/compiled/lodash/assign.d.ts +2 -0
  185. package/dist/compiled/lodash/assignIn.d.ts +2 -0
  186. package/dist/compiled/lodash/assignInWith.d.ts +2 -0
  187. package/dist/compiled/lodash/assignWith.d.ts +2 -0
  188. package/dist/compiled/lodash/at.d.ts +2 -0
  189. package/dist/compiled/lodash/attempt.d.ts +2 -0
  190. package/dist/compiled/lodash/before.d.ts +2 -0
  191. package/dist/compiled/lodash/bind.d.ts +2 -0
  192. package/dist/compiled/lodash/bindAll.d.ts +2 -0
  193. package/dist/compiled/lodash/bindKey.d.ts +2 -0
  194. package/dist/compiled/lodash/camelCase.d.ts +2 -0
  195. package/dist/compiled/lodash/capitalize.d.ts +2 -0
  196. package/dist/compiled/lodash/castArray.d.ts +2 -0
  197. package/dist/compiled/lodash/ceil.d.ts +2 -0
  198. package/dist/compiled/lodash/chain.d.ts +2 -0
  199. package/dist/compiled/lodash/chunk.d.ts +2 -0
  200. package/dist/compiled/lodash/clamp.d.ts +2 -0
  201. package/dist/compiled/lodash/clone.d.ts +2 -0
  202. package/dist/compiled/lodash/cloneDeep.d.ts +2 -0
  203. package/dist/compiled/lodash/cloneDeepWith.d.ts +2 -0
  204. package/dist/compiled/lodash/cloneWith.d.ts +2 -0
  205. package/dist/compiled/lodash/common/array.d.ts +56 -22
  206. package/dist/compiled/lodash/common/collection.d.ts +9 -1
  207. package/dist/compiled/lodash/common/common.d.ts +17 -10
  208. package/dist/compiled/lodash/common/function.d.ts +10 -1
  209. package/dist/compiled/lodash/common/lang.d.ts +8 -5
  210. package/dist/compiled/lodash/common/math.d.ts +3 -1
  211. package/dist/compiled/lodash/common/object.d.ts +141 -17
  212. package/dist/compiled/lodash/common/seq.d.ts +2 -2
  213. package/dist/compiled/lodash/common/string.d.ts +17 -17
  214. package/dist/compiled/lodash/compact.d.ts +2 -0
  215. package/dist/compiled/lodash/concat.d.ts +2 -0
  216. package/dist/compiled/lodash/cond.d.ts +2 -0
  217. package/dist/compiled/lodash/conforms.d.ts +2 -0
  218. package/dist/compiled/lodash/conformsTo.d.ts +2 -0
  219. package/dist/compiled/lodash/constant.d.ts +2 -0
  220. package/dist/compiled/lodash/countBy.d.ts +2 -0
  221. package/dist/compiled/lodash/create.d.ts +2 -0
  222. package/dist/compiled/lodash/curry.d.ts +2 -0
  223. package/dist/compiled/lodash/curryRight.d.ts +2 -0
  224. package/dist/compiled/lodash/debounce.d.ts +2 -0
  225. package/dist/compiled/lodash/deburr.d.ts +2 -0
  226. package/dist/compiled/lodash/declaration-licenses/@types_lodash/LICENSE +21 -0
  227. package/dist/compiled/lodash/defaultTo.d.ts +2 -0
  228. package/dist/compiled/lodash/defaults.d.ts +2 -0
  229. package/dist/compiled/lodash/defaultsDeep.d.ts +2 -0
  230. package/dist/compiled/lodash/defer.d.ts +2 -0
  231. package/dist/compiled/lodash/delay.d.ts +2 -0
  232. package/dist/compiled/lodash/difference.d.ts +2 -0
  233. package/dist/compiled/lodash/differenceBy.d.ts +2 -0
  234. package/dist/compiled/lodash/differenceWith.d.ts +2 -0
  235. package/dist/compiled/lodash/divide.d.ts +2 -0
  236. package/dist/compiled/lodash/drop.d.ts +2 -0
  237. package/dist/compiled/lodash/dropRight.d.ts +2 -0
  238. package/dist/compiled/lodash/dropRightWhile.d.ts +2 -0
  239. package/dist/compiled/lodash/dropWhile.d.ts +2 -0
  240. package/dist/compiled/lodash/each.d.ts +2 -0
  241. package/dist/compiled/lodash/eachRight.d.ts +2 -0
  242. package/dist/compiled/lodash/endsWith.d.ts +2 -0
  243. package/dist/compiled/lodash/entries.d.ts +2 -0
  244. package/dist/compiled/lodash/entriesIn.d.ts +2 -0
  245. package/dist/compiled/lodash/eq.d.ts +2 -0
  246. package/dist/compiled/lodash/escape.d.ts +2 -0
  247. package/dist/compiled/lodash/escapeRegExp.d.ts +2 -0
  248. package/dist/compiled/lodash/every.d.ts +2 -0
  249. package/dist/compiled/lodash/extend.d.ts +2 -0
  250. package/dist/compiled/lodash/extendWith.d.ts +2 -0
  251. package/dist/compiled/lodash/fill.d.ts +2 -0
  252. package/dist/compiled/lodash/filter.d.ts +2 -0
  253. package/dist/compiled/lodash/find.d.ts +2 -0
  254. package/dist/compiled/lodash/findIndex.d.ts +2 -0
  255. package/dist/compiled/lodash/findKey.d.ts +2 -0
  256. package/dist/compiled/lodash/findLast.d.ts +2 -0
  257. package/dist/compiled/lodash/findLastIndex.d.ts +2 -0
  258. package/dist/compiled/lodash/findLastKey.d.ts +2 -0
  259. package/dist/compiled/lodash/first.d.ts +2 -0
  260. package/dist/compiled/lodash/flatMap.d.ts +2 -0
  261. package/dist/compiled/lodash/flatMapDeep.d.ts +2 -0
  262. package/dist/compiled/lodash/flatMapDepth.d.ts +2 -0
  263. package/dist/compiled/lodash/flatten.d.ts +2 -0
  264. package/dist/compiled/lodash/flattenDeep.d.ts +2 -0
  265. package/dist/compiled/lodash/flattenDepth.d.ts +2 -0
  266. package/dist/compiled/lodash/flip.d.ts +2 -0
  267. package/dist/compiled/lodash/floor.d.ts +2 -0
  268. package/dist/compiled/lodash/flow.d.ts +2 -0
  269. package/dist/compiled/lodash/flowRight.d.ts +2 -0
  270. package/dist/compiled/lodash/forEach.d.ts +2 -0
  271. package/dist/compiled/lodash/forEachRight.d.ts +2 -0
  272. package/dist/compiled/lodash/forIn.d.ts +2 -0
  273. package/dist/compiled/lodash/forInRight.d.ts +2 -0
  274. package/dist/compiled/lodash/forOwn.d.ts +2 -0
  275. package/dist/compiled/lodash/forOwnRight.d.ts +2 -0
  276. package/dist/compiled/lodash/fp/F.d.ts +2 -0
  277. package/dist/compiled/lodash/fp/T.d.ts +2 -0
  278. package/dist/compiled/lodash/fp/__.d.ts +3 -0
  279. package/dist/compiled/lodash/fp/add.d.ts +2 -0
  280. package/dist/compiled/lodash/fp/after.d.ts +2 -0
  281. package/dist/compiled/lodash/fp/all.d.ts +2 -0
  282. package/dist/compiled/lodash/fp/allPass.d.ts +2 -0
  283. package/dist/compiled/lodash/fp/always.d.ts +2 -0
  284. package/dist/compiled/lodash/fp/any.d.ts +2 -0
  285. package/dist/compiled/lodash/fp/anyPass.d.ts +2 -0
  286. package/dist/compiled/lodash/fp/apply.d.ts +2 -0
  287. package/dist/compiled/lodash/fp/ary.d.ts +2 -0
  288. package/dist/compiled/lodash/fp/assign.d.ts +2 -0
  289. package/dist/compiled/lodash/fp/assignAll.d.ts +2 -0
  290. package/dist/compiled/lodash/fp/assignAllWith.d.ts +2 -0
  291. package/dist/compiled/lodash/fp/assignIn.d.ts +2 -0
  292. package/dist/compiled/lodash/fp/assignInAll.d.ts +2 -0
  293. package/dist/compiled/lodash/fp/assignInAllWith.d.ts +2 -0
  294. package/dist/compiled/lodash/fp/assignInWith.d.ts +2 -0
  295. package/dist/compiled/lodash/fp/assignWith.d.ts +2 -0
  296. package/dist/compiled/lodash/fp/assoc.d.ts +2 -0
  297. package/dist/compiled/lodash/fp/assocPath.d.ts +2 -0
  298. package/dist/compiled/lodash/fp/at.d.ts +2 -0
  299. package/dist/compiled/lodash/fp/attempt.d.ts +2 -0
  300. package/dist/compiled/lodash/fp/before.d.ts +2 -0
  301. package/dist/compiled/lodash/fp/bind.d.ts +2 -0
  302. package/dist/compiled/lodash/fp/bindAll.d.ts +2 -0
  303. package/dist/compiled/lodash/fp/bindKey.d.ts +2 -0
  304. package/dist/compiled/lodash/fp/camelCase.d.ts +2 -0
  305. package/dist/compiled/lodash/fp/capitalize.d.ts +2 -0
  306. package/dist/compiled/lodash/fp/castArray.d.ts +2 -0
  307. package/dist/compiled/lodash/fp/ceil.d.ts +2 -0
  308. package/dist/compiled/lodash/fp/chunk.d.ts +2 -0
  309. package/dist/compiled/lodash/fp/clamp.d.ts +2 -0
  310. package/dist/compiled/lodash/fp/clone.d.ts +2 -0
  311. package/dist/compiled/lodash/fp/cloneDeep.d.ts +2 -0
  312. package/dist/compiled/lodash/fp/cloneDeepWith.d.ts +2 -0
  313. package/dist/compiled/lodash/fp/cloneWith.d.ts +2 -0
  314. package/dist/compiled/lodash/fp/compact.d.ts +2 -0
  315. package/dist/compiled/lodash/fp/complement.d.ts +2 -0
  316. package/dist/compiled/lodash/fp/compose.d.ts +2 -0
  317. package/dist/compiled/lodash/fp/concat.d.ts +2 -0
  318. package/dist/compiled/lodash/fp/cond.d.ts +2 -0
  319. package/dist/compiled/lodash/fp/conforms.d.ts +2 -0
  320. package/dist/compiled/lodash/fp/conformsTo.d.ts +2 -0
  321. package/dist/compiled/lodash/fp/constant.d.ts +2 -0
  322. package/dist/compiled/lodash/fp/contains.d.ts +2 -0
  323. package/dist/compiled/lodash/fp/convert.d.ts +15 -0
  324. package/dist/compiled/lodash/fp/countBy.d.ts +2 -0
  325. package/dist/compiled/lodash/fp/create.d.ts +2 -0
  326. package/dist/compiled/lodash/fp/curry.d.ts +2 -0
  327. package/dist/compiled/lodash/fp/curryN.d.ts +2 -0
  328. package/dist/compiled/lodash/fp/curryRight.d.ts +2 -0
  329. package/dist/compiled/lodash/fp/curryRightN.d.ts +2 -0
  330. package/dist/compiled/lodash/fp/debounce.d.ts +2 -0
  331. package/dist/compiled/lodash/fp/deburr.d.ts +2 -0
  332. package/dist/compiled/lodash/fp/defaultTo.d.ts +2 -0
  333. package/dist/compiled/lodash/fp/defaults.d.ts +2 -0
  334. package/dist/compiled/lodash/fp/defaultsAll.d.ts +2 -0
  335. package/dist/compiled/lodash/fp/defaultsDeep.d.ts +2 -0
  336. package/dist/compiled/lodash/fp/defaultsDeepAll.d.ts +2 -0
  337. package/dist/compiled/lodash/fp/defer.d.ts +2 -0
  338. package/dist/compiled/lodash/fp/delay.d.ts +2 -0
  339. package/dist/compiled/lodash/fp/difference.d.ts +2 -0
  340. package/dist/compiled/lodash/fp/differenceBy.d.ts +2 -0
  341. package/dist/compiled/lodash/fp/differenceWith.d.ts +2 -0
  342. package/dist/compiled/lodash/fp/dissoc.d.ts +2 -0
  343. package/dist/compiled/lodash/fp/dissocPath.d.ts +2 -0
  344. package/dist/compiled/lodash/fp/divide.d.ts +2 -0
  345. package/dist/compiled/lodash/fp/drop.d.ts +2 -0
  346. package/dist/compiled/lodash/fp/dropLast.d.ts +2 -0
  347. package/dist/compiled/lodash/fp/dropLastWhile.d.ts +2 -0
  348. package/dist/compiled/lodash/fp/dropRight.d.ts +2 -0
  349. package/dist/compiled/lodash/fp/dropRightWhile.d.ts +2 -0
  350. package/dist/compiled/lodash/fp/dropWhile.d.ts +2 -0
  351. package/dist/compiled/lodash/fp/each.d.ts +2 -0
  352. package/dist/compiled/lodash/fp/eachRight.d.ts +2 -0
  353. package/dist/compiled/lodash/fp/endsWith.d.ts +2 -0
  354. package/dist/compiled/lodash/fp/entries.d.ts +2 -0
  355. package/dist/compiled/lodash/fp/entriesIn.d.ts +2 -0
  356. package/dist/compiled/lodash/fp/eq.d.ts +2 -0
  357. package/dist/compiled/lodash/fp/equals.d.ts +2 -0
  358. package/dist/compiled/lodash/fp/escape.d.ts +2 -0
  359. package/dist/compiled/lodash/fp/escapeRegExp.d.ts +2 -0
  360. package/dist/compiled/lodash/fp/every.d.ts +2 -0
  361. package/dist/compiled/lodash/fp/extend.d.ts +2 -0
  362. package/dist/compiled/lodash/fp/extendAll.d.ts +2 -0
  363. package/dist/compiled/lodash/fp/extendAllWith.d.ts +2 -0
  364. package/dist/compiled/lodash/fp/extendWith.d.ts +2 -0
  365. package/dist/compiled/lodash/fp/fill.d.ts +2 -0
  366. package/dist/compiled/lodash/fp/filter.d.ts +2 -0
  367. package/dist/compiled/lodash/fp/find.d.ts +2 -0
  368. package/dist/compiled/lodash/fp/findFrom.d.ts +2 -0
  369. package/dist/compiled/lodash/fp/findIndex.d.ts +2 -0
  370. package/dist/compiled/lodash/fp/findIndexFrom.d.ts +2 -0
  371. package/dist/compiled/lodash/fp/findKey.d.ts +2 -0
  372. package/dist/compiled/lodash/fp/findLast.d.ts +2 -0
  373. package/dist/compiled/lodash/fp/findLastFrom.d.ts +2 -0
  374. package/dist/compiled/lodash/fp/findLastIndex.d.ts +2 -0
  375. package/dist/compiled/lodash/fp/findLastIndexFrom.d.ts +2 -0
  376. package/dist/compiled/lodash/fp/findLastKey.d.ts +2 -0
  377. package/dist/compiled/lodash/fp/first.d.ts +2 -0
  378. package/dist/compiled/lodash/fp/flatMap.d.ts +2 -0
  379. package/dist/compiled/lodash/fp/flatMapDeep.d.ts +2 -0
  380. package/dist/compiled/lodash/fp/flatMapDepth.d.ts +2 -0
  381. package/dist/compiled/lodash/fp/flatten.d.ts +2 -0
  382. package/dist/compiled/lodash/fp/flattenDeep.d.ts +2 -0
  383. package/dist/compiled/lodash/fp/flattenDepth.d.ts +2 -0
  384. package/dist/compiled/lodash/fp/flip.d.ts +2 -0
  385. package/dist/compiled/lodash/fp/floor.d.ts +2 -0
  386. package/dist/compiled/lodash/fp/flow.d.ts +2 -0
  387. package/dist/compiled/lodash/fp/flowRight.d.ts +2 -0
  388. package/dist/compiled/lodash/fp/forEach.d.ts +2 -0
  389. package/dist/compiled/lodash/fp/forEachRight.d.ts +2 -0
  390. package/dist/compiled/lodash/fp/forIn.d.ts +2 -0
  391. package/dist/compiled/lodash/fp/forInRight.d.ts +2 -0
  392. package/dist/compiled/lodash/fp/forOwn.d.ts +2 -0
  393. package/dist/compiled/lodash/fp/forOwnRight.d.ts +2 -0
  394. package/dist/compiled/lodash/fp/fromPairs.d.ts +2 -0
  395. package/dist/compiled/lodash/fp/functions.d.ts +2 -0
  396. package/dist/compiled/lodash/fp/functionsIn.d.ts +2 -0
  397. package/dist/compiled/lodash/fp/get.d.ts +2 -0
  398. package/dist/compiled/lodash/fp/getOr.d.ts +2 -0
  399. package/dist/compiled/lodash/fp/groupBy.d.ts +2 -0
  400. package/dist/compiled/lodash/fp/gt.d.ts +2 -0
  401. package/dist/compiled/lodash/fp/gte.d.ts +2 -0
  402. package/dist/compiled/lodash/fp/has.d.ts +2 -0
  403. package/dist/compiled/lodash/fp/hasIn.d.ts +2 -0
  404. package/dist/compiled/lodash/fp/head.d.ts +2 -0
  405. package/dist/compiled/lodash/fp/identical.d.ts +2 -0
  406. package/dist/compiled/lodash/fp/identity.d.ts +2 -0
  407. package/dist/compiled/lodash/fp/inRange.d.ts +2 -0
  408. package/dist/compiled/lodash/fp/includes.d.ts +2 -0
  409. package/dist/compiled/lodash/fp/includesFrom.d.ts +2 -0
  410. package/dist/compiled/lodash/fp/indexBy.d.ts +2 -0
  411. package/dist/compiled/lodash/fp/indexOf.d.ts +2 -0
  412. package/dist/compiled/lodash/fp/indexOfFrom.d.ts +2 -0
  413. package/dist/compiled/lodash/fp/init.d.ts +2 -0
  414. package/dist/compiled/lodash/fp/initial.d.ts +2 -0
  415. package/dist/compiled/lodash/fp/intersection.d.ts +2 -0
  416. package/dist/compiled/lodash/fp/intersectionBy.d.ts +2 -0
  417. package/dist/compiled/lodash/fp/intersectionWith.d.ts +2 -0
  418. package/dist/compiled/lodash/fp/invert.d.ts +2 -0
  419. package/dist/compiled/lodash/fp/invertBy.d.ts +2 -0
  420. package/dist/compiled/lodash/fp/invertObj.d.ts +2 -0
  421. package/dist/compiled/lodash/fp/invoke.d.ts +2 -0
  422. package/dist/compiled/lodash/fp/invokeArgs.d.ts +2 -0
  423. package/dist/compiled/lodash/fp/invokeArgsMap.d.ts +2 -0
  424. package/dist/compiled/lodash/fp/invokeMap.d.ts +2 -0
  425. package/dist/compiled/lodash/fp/isArguments.d.ts +2 -0
  426. package/dist/compiled/lodash/fp/isArray.d.ts +2 -0
  427. package/dist/compiled/lodash/fp/isArrayBuffer.d.ts +2 -0
  428. package/dist/compiled/lodash/fp/isArrayLike.d.ts +2 -0
  429. package/dist/compiled/lodash/fp/isArrayLikeObject.d.ts +2 -0
  430. package/dist/compiled/lodash/fp/isBoolean.d.ts +2 -0
  431. package/dist/compiled/lodash/fp/isBuffer.d.ts +2 -0
  432. package/dist/compiled/lodash/fp/isDate.d.ts +2 -0
  433. package/dist/compiled/lodash/fp/isElement.d.ts +2 -0
  434. package/dist/compiled/lodash/fp/isEmpty.d.ts +2 -0
  435. package/dist/compiled/lodash/fp/isEqual.d.ts +2 -0
  436. package/dist/compiled/lodash/fp/isEqualWith.d.ts +2 -0
  437. package/dist/compiled/lodash/fp/isError.d.ts +2 -0
  438. package/dist/compiled/lodash/fp/isFinite.d.ts +2 -0
  439. package/dist/compiled/lodash/fp/isFunction.d.ts +2 -0
  440. package/dist/compiled/lodash/fp/isInteger.d.ts +2 -0
  441. package/dist/compiled/lodash/fp/isLength.d.ts +2 -0
  442. package/dist/compiled/lodash/fp/isMap.d.ts +2 -0
  443. package/dist/compiled/lodash/fp/isMatch.d.ts +2 -0
  444. package/dist/compiled/lodash/fp/isMatchWith.d.ts +2 -0
  445. package/dist/compiled/lodash/fp/isNaN.d.ts +2 -0
  446. package/dist/compiled/lodash/fp/isNative.d.ts +2 -0
  447. package/dist/compiled/lodash/fp/isNil.d.ts +2 -0
  448. package/dist/compiled/lodash/fp/isNull.d.ts +2 -0
  449. package/dist/compiled/lodash/fp/isNumber.d.ts +2 -0
  450. package/dist/compiled/lodash/fp/isObject.d.ts +2 -0
  451. package/dist/compiled/lodash/fp/isObjectLike.d.ts +2 -0
  452. package/dist/compiled/lodash/fp/isPlainObject.d.ts +2 -0
  453. package/dist/compiled/lodash/fp/isRegExp.d.ts +2 -0
  454. package/dist/compiled/lodash/fp/isSafeInteger.d.ts +2 -0
  455. package/dist/compiled/lodash/fp/isSet.d.ts +2 -0
  456. package/dist/compiled/lodash/fp/isString.d.ts +2 -0
  457. package/dist/compiled/lodash/fp/isSymbol.d.ts +2 -0
  458. package/dist/compiled/lodash/fp/isTypedArray.d.ts +2 -0
  459. package/dist/compiled/lodash/fp/isUndefined.d.ts +2 -0
  460. package/dist/compiled/lodash/fp/isWeakMap.d.ts +2 -0
  461. package/dist/compiled/lodash/fp/isWeakSet.d.ts +2 -0
  462. package/dist/compiled/lodash/fp/iteratee.d.ts +2 -0
  463. package/dist/compiled/lodash/fp/join.d.ts +2 -0
  464. package/dist/compiled/lodash/fp/juxt.d.ts +2 -0
  465. package/dist/compiled/lodash/fp/kebabCase.d.ts +2 -0
  466. package/dist/compiled/lodash/fp/keyBy.d.ts +2 -0
  467. package/dist/compiled/lodash/fp/keys.d.ts +2 -0
  468. package/dist/compiled/lodash/fp/keysIn.d.ts +2 -0
  469. package/dist/compiled/lodash/fp/last.d.ts +2 -0
  470. package/dist/compiled/lodash/fp/lastIndexOf.d.ts +2 -0
  471. package/dist/compiled/lodash/fp/lastIndexOfFrom.d.ts +2 -0
  472. package/dist/compiled/lodash/fp/lowerCase.d.ts +2 -0
  473. package/dist/compiled/lodash/fp/lowerFirst.d.ts +2 -0
  474. package/dist/compiled/lodash/fp/lt.d.ts +2 -0
  475. package/dist/compiled/lodash/fp/lte.d.ts +2 -0
  476. package/dist/compiled/lodash/fp/map.d.ts +2 -0
  477. package/dist/compiled/lodash/fp/mapKeys.d.ts +2 -0
  478. package/dist/compiled/lodash/fp/mapValues.d.ts +2 -0
  479. package/dist/compiled/lodash/fp/matches.d.ts +2 -0
  480. package/dist/compiled/lodash/fp/matchesProperty.d.ts +2 -0
  481. package/dist/compiled/lodash/fp/max.d.ts +2 -0
  482. package/dist/compiled/lodash/fp/maxBy.d.ts +2 -0
  483. package/dist/compiled/lodash/fp/mean.d.ts +2 -0
  484. package/dist/compiled/lodash/fp/meanBy.d.ts +2 -0
  485. package/dist/compiled/lodash/fp/memoize.d.ts +2 -0
  486. package/dist/compiled/lodash/fp/merge.d.ts +2 -0
  487. package/dist/compiled/lodash/fp/mergeAll.d.ts +2 -0
  488. package/dist/compiled/lodash/fp/mergeAllWith.d.ts +2 -0
  489. package/dist/compiled/lodash/fp/mergeWith.d.ts +2 -0
  490. package/dist/compiled/lodash/fp/method.d.ts +2 -0
  491. package/dist/compiled/lodash/fp/methodOf.d.ts +2 -0
  492. package/dist/compiled/lodash/fp/min.d.ts +2 -0
  493. package/dist/compiled/lodash/fp/minBy.d.ts +2 -0
  494. package/dist/compiled/lodash/fp/multiply.d.ts +2 -0
  495. package/dist/compiled/lodash/fp/nAry.d.ts +2 -0
  496. package/dist/compiled/lodash/fp/negate.d.ts +2 -0
  497. package/dist/compiled/lodash/fp/noConflict.d.ts +2 -0
  498. package/dist/compiled/lodash/fp/noop.d.ts +2 -0
  499. package/dist/compiled/lodash/fp/now.d.ts +2 -0
  500. package/dist/compiled/lodash/fp/nth.d.ts +2 -0
  501. package/dist/compiled/lodash/fp/nthArg.d.ts +2 -0
  502. package/dist/compiled/lodash/fp/omit.d.ts +2 -0
  503. package/dist/compiled/lodash/fp/omitAll.d.ts +2 -0
  504. package/dist/compiled/lodash/fp/omitBy.d.ts +2 -0
  505. package/dist/compiled/lodash/fp/once.d.ts +2 -0
  506. package/dist/compiled/lodash/fp/orderBy.d.ts +2 -0
  507. package/dist/compiled/lodash/fp/over.d.ts +2 -0
  508. package/dist/compiled/lodash/fp/overArgs.d.ts +2 -0
  509. package/dist/compiled/lodash/fp/overEvery.d.ts +2 -0
  510. package/dist/compiled/lodash/fp/overSome.d.ts +2 -0
  511. package/dist/compiled/lodash/fp/pad.d.ts +2 -0
  512. package/dist/compiled/lodash/fp/padChars.d.ts +2 -0
  513. package/dist/compiled/lodash/fp/padCharsEnd.d.ts +2 -0
  514. package/dist/compiled/lodash/fp/padCharsStart.d.ts +2 -0
  515. package/dist/compiled/lodash/fp/padEnd.d.ts +2 -0
  516. package/dist/compiled/lodash/fp/padStart.d.ts +2 -0
  517. package/dist/compiled/lodash/fp/parseInt.d.ts +2 -0
  518. package/dist/compiled/lodash/fp/partial.d.ts +2 -0
  519. package/dist/compiled/lodash/fp/partialRight.d.ts +2 -0
  520. package/dist/compiled/lodash/fp/partition.d.ts +2 -0
  521. package/dist/compiled/lodash/fp/path.d.ts +2 -0
  522. package/dist/compiled/lodash/fp/pathEq.d.ts +2 -0
  523. package/dist/compiled/lodash/fp/pathOr.d.ts +2 -0
  524. package/dist/compiled/lodash/fp/paths.d.ts +2 -0
  525. package/dist/compiled/lodash/fp/pick.d.ts +2 -0
  526. package/dist/compiled/lodash/fp/pickAll.d.ts +2 -0
  527. package/dist/compiled/lodash/fp/pickBy.d.ts +2 -0
  528. package/dist/compiled/lodash/fp/pipe.d.ts +2 -0
  529. package/dist/compiled/lodash/fp/placeholder.d.ts +3 -0
  530. package/dist/compiled/lodash/fp/pluck.d.ts +2 -0
  531. package/dist/compiled/lodash/fp/prop.d.ts +2 -0
  532. package/dist/compiled/lodash/fp/propEq.d.ts +2 -0
  533. package/dist/compiled/lodash/fp/propOr.d.ts +2 -0
  534. package/dist/compiled/lodash/fp/property.d.ts +2 -0
  535. package/dist/compiled/lodash/fp/propertyOf.d.ts +2 -0
  536. package/dist/compiled/lodash/fp/props.d.ts +2 -0
  537. package/dist/compiled/lodash/fp/pull.d.ts +2 -0
  538. package/dist/compiled/lodash/fp/pullAll.d.ts +2 -0
  539. package/dist/compiled/lodash/fp/pullAllBy.d.ts +2 -0
  540. package/dist/compiled/lodash/fp/pullAllWith.d.ts +2 -0
  541. package/dist/compiled/lodash/fp/pullAt.d.ts +2 -0
  542. package/dist/compiled/lodash/fp/random.d.ts +2 -0
  543. package/dist/compiled/lodash/fp/range.d.ts +2 -0
  544. package/dist/compiled/lodash/fp/rangeRight.d.ts +2 -0
  545. package/dist/compiled/lodash/fp/rangeStep.d.ts +2 -0
  546. package/dist/compiled/lodash/fp/rangeStepRight.d.ts +2 -0
  547. package/dist/compiled/lodash/fp/rearg.d.ts +2 -0
  548. package/dist/compiled/lodash/fp/reduce.d.ts +2 -0
  549. package/dist/compiled/lodash/fp/reduceRight.d.ts +2 -0
  550. package/dist/compiled/lodash/fp/reject.d.ts +2 -0
  551. package/dist/compiled/lodash/fp/remove.d.ts +2 -0
  552. package/dist/compiled/lodash/fp/repeat.d.ts +2 -0
  553. package/dist/compiled/lodash/fp/replace.d.ts +2 -0
  554. package/dist/compiled/lodash/fp/rest.d.ts +2 -0
  555. package/dist/compiled/lodash/fp/restFrom.d.ts +2 -0
  556. package/dist/compiled/lodash/fp/result.d.ts +2 -0
  557. package/dist/compiled/lodash/fp/reverse.d.ts +2 -0
  558. package/dist/compiled/lodash/fp/round.d.ts +2 -0
  559. package/dist/compiled/lodash/fp/runInContext.d.ts +2 -0
  560. package/dist/compiled/lodash/fp/sample.d.ts +2 -0
  561. package/dist/compiled/lodash/fp/sampleSize.d.ts +2 -0
  562. package/dist/compiled/lodash/fp/set.d.ts +2 -0
  563. package/dist/compiled/lodash/fp/setWith.d.ts +2 -0
  564. package/dist/compiled/lodash/fp/shuffle.d.ts +2 -0
  565. package/dist/compiled/lodash/fp/size.d.ts +2 -0
  566. package/dist/compiled/lodash/fp/slice.d.ts +2 -0
  567. package/dist/compiled/lodash/fp/snakeCase.d.ts +2 -0
  568. package/dist/compiled/lodash/fp/some.d.ts +2 -0
  569. package/dist/compiled/lodash/fp/sortBy.d.ts +2 -0
  570. package/dist/compiled/lodash/fp/sortedIndex.d.ts +2 -0
  571. package/dist/compiled/lodash/fp/sortedIndexBy.d.ts +2 -0
  572. package/dist/compiled/lodash/fp/sortedIndexOf.d.ts +2 -0
  573. package/dist/compiled/lodash/fp/sortedLastIndex.d.ts +2 -0
  574. package/dist/compiled/lodash/fp/sortedLastIndexBy.d.ts +2 -0
  575. package/dist/compiled/lodash/fp/sortedLastIndexOf.d.ts +2 -0
  576. package/dist/compiled/lodash/fp/sortedUniq.d.ts +2 -0
  577. package/dist/compiled/lodash/fp/sortedUniqBy.d.ts +2 -0
  578. package/dist/compiled/lodash/fp/split.d.ts +2 -0
  579. package/dist/compiled/lodash/fp/spread.d.ts +2 -0
  580. package/dist/compiled/lodash/fp/spreadFrom.d.ts +2 -0
  581. package/dist/compiled/lodash/fp/startCase.d.ts +2 -0
  582. package/dist/compiled/lodash/fp/startsWith.d.ts +2 -0
  583. package/dist/compiled/lodash/fp/stubArray.d.ts +2 -0
  584. package/dist/compiled/lodash/fp/stubFalse.d.ts +2 -0
  585. package/dist/compiled/lodash/fp/stubObject.d.ts +2 -0
  586. package/dist/compiled/lodash/fp/stubString.d.ts +2 -0
  587. package/dist/compiled/lodash/fp/stubTrue.d.ts +2 -0
  588. package/dist/compiled/lodash/fp/subtract.d.ts +2 -0
  589. package/dist/compiled/lodash/fp/sum.d.ts +2 -0
  590. package/dist/compiled/lodash/fp/sumBy.d.ts +2 -0
  591. package/dist/compiled/lodash/fp/symmetricDifference.d.ts +2 -0
  592. package/dist/compiled/lodash/fp/symmetricDifferenceBy.d.ts +2 -0
  593. package/dist/compiled/lodash/fp/symmetricDifferenceWith.d.ts +2 -0
  594. package/dist/compiled/lodash/fp/tail.d.ts +2 -0
  595. package/dist/compiled/lodash/fp/take.d.ts +2 -0
  596. package/dist/compiled/lodash/fp/takeLast.d.ts +2 -0
  597. package/dist/compiled/lodash/fp/takeLastWhile.d.ts +2 -0
  598. package/dist/compiled/lodash/fp/takeRight.d.ts +2 -0
  599. package/dist/compiled/lodash/fp/takeRightWhile.d.ts +2 -0
  600. package/dist/compiled/lodash/fp/takeWhile.d.ts +2 -0
  601. package/dist/compiled/lodash/fp/tap.d.ts +2 -0
  602. package/dist/compiled/lodash/fp/template.d.ts +2 -0
  603. package/dist/compiled/lodash/fp/throttle.d.ts +2 -0
  604. package/dist/compiled/lodash/fp/thru.d.ts +2 -0
  605. package/dist/compiled/lodash/fp/times.d.ts +2 -0
  606. package/dist/compiled/lodash/fp/toArray.d.ts +2 -0
  607. package/dist/compiled/lodash/fp/toFinite.d.ts +2 -0
  608. package/dist/compiled/lodash/fp/toInteger.d.ts +2 -0
  609. package/dist/compiled/lodash/fp/toLength.d.ts +2 -0
  610. package/dist/compiled/lodash/fp/toLower.d.ts +2 -0
  611. package/dist/compiled/lodash/fp/toNumber.d.ts +2 -0
  612. package/dist/compiled/lodash/fp/toPairs.d.ts +2 -0
  613. package/dist/compiled/lodash/fp/toPairsIn.d.ts +2 -0
  614. package/dist/compiled/lodash/fp/toPath.d.ts +2 -0
  615. package/dist/compiled/lodash/fp/toPlainObject.d.ts +2 -0
  616. package/dist/compiled/lodash/fp/toSafeInteger.d.ts +2 -0
  617. package/dist/compiled/lodash/fp/toString.d.ts +2 -0
  618. package/dist/compiled/lodash/fp/toUpper.d.ts +2 -0
  619. package/dist/compiled/lodash/fp/transform.d.ts +2 -0
  620. package/dist/compiled/lodash/fp/trim.d.ts +2 -0
  621. package/dist/compiled/lodash/fp/trimChars.d.ts +2 -0
  622. package/dist/compiled/lodash/fp/trimCharsEnd.d.ts +2 -0
  623. package/dist/compiled/lodash/fp/trimCharsStart.d.ts +2 -0
  624. package/dist/compiled/lodash/fp/trimEnd.d.ts +2 -0
  625. package/dist/compiled/lodash/fp/trimStart.d.ts +2 -0
  626. package/dist/compiled/lodash/fp/truncate.d.ts +2 -0
  627. package/dist/compiled/lodash/fp/unapply.d.ts +2 -0
  628. package/dist/compiled/lodash/fp/unary.d.ts +2 -0
  629. package/dist/compiled/lodash/fp/unescape.d.ts +2 -0
  630. package/dist/compiled/lodash/fp/union.d.ts +2 -0
  631. package/dist/compiled/lodash/fp/unionBy.d.ts +2 -0
  632. package/dist/compiled/lodash/fp/unionWith.d.ts +2 -0
  633. package/dist/compiled/lodash/fp/uniq.d.ts +2 -0
  634. package/dist/compiled/lodash/fp/uniqBy.d.ts +2 -0
  635. package/dist/compiled/lodash/fp/uniqWith.d.ts +2 -0
  636. package/dist/compiled/lodash/fp/uniqueId.d.ts +2 -0
  637. package/dist/compiled/lodash/fp/unnest.d.ts +2 -0
  638. package/dist/compiled/lodash/fp/unset.d.ts +2 -0
  639. package/dist/compiled/lodash/fp/unzip.d.ts +2 -0
  640. package/dist/compiled/lodash/fp/unzipWith.d.ts +2 -0
  641. package/dist/compiled/lodash/fp/update.d.ts +2 -0
  642. package/dist/compiled/lodash/fp/updateWith.d.ts +2 -0
  643. package/dist/compiled/lodash/fp/upperCase.d.ts +2 -0
  644. package/dist/compiled/lodash/fp/upperFirst.d.ts +2 -0
  645. package/dist/compiled/lodash/fp/useWith.d.ts +2 -0
  646. package/dist/compiled/lodash/fp/values.d.ts +2 -0
  647. package/dist/compiled/lodash/fp/valuesIn.d.ts +2 -0
  648. package/dist/compiled/lodash/fp/where.d.ts +2 -0
  649. package/dist/compiled/lodash/fp/whereEq.d.ts +2 -0
  650. package/dist/compiled/lodash/fp/without.d.ts +2 -0
  651. package/dist/compiled/lodash/fp/words.d.ts +2 -0
  652. package/dist/compiled/lodash/fp/wrap.d.ts +2 -0
  653. package/dist/compiled/lodash/fp/xor.d.ts +2 -0
  654. package/dist/compiled/lodash/fp/xorBy.d.ts +2 -0
  655. package/dist/compiled/lodash/fp/xorWith.d.ts +2 -0
  656. package/dist/compiled/lodash/fp/zip.d.ts +2 -0
  657. package/dist/compiled/lodash/fp/zipAll.d.ts +2 -0
  658. package/dist/compiled/lodash/fp/zipObj.d.ts +2 -0
  659. package/dist/compiled/lodash/fp/zipObject.d.ts +2 -0
  660. package/dist/compiled/lodash/fp/zipObjectDeep.d.ts +2 -0
  661. package/dist/compiled/lodash/fp/zipWith.d.ts +2 -0
  662. package/dist/compiled/lodash/fp.d.ts +4962 -0
  663. package/dist/compiled/lodash/fromPairs.d.ts +2 -0
  664. package/dist/compiled/lodash/functions.d.ts +2 -0
  665. package/dist/compiled/lodash/functionsIn.d.ts +2 -0
  666. package/dist/compiled/lodash/get.d.ts +2 -0
  667. package/dist/compiled/lodash/groupBy.d.ts +2 -0
  668. package/dist/compiled/lodash/gt.d.ts +2 -0
  669. package/dist/compiled/lodash/gte.d.ts +2 -0
  670. package/dist/compiled/lodash/has.d.ts +2 -0
  671. package/dist/compiled/lodash/hasIn.d.ts +2 -0
  672. package/dist/compiled/lodash/head.d.ts +2 -0
  673. package/dist/compiled/lodash/identity.d.ts +2 -0
  674. package/dist/compiled/lodash/inRange.d.ts +2 -0
  675. package/dist/compiled/lodash/includes.d.ts +2 -0
  676. package/dist/compiled/lodash/index.d.ts +1 -16
  677. package/dist/compiled/lodash/indexOf.d.ts +2 -0
  678. package/dist/compiled/lodash/initial.d.ts +2 -0
  679. package/dist/compiled/lodash/intersection.d.ts +2 -0
  680. package/dist/compiled/lodash/intersectionBy.d.ts +2 -0
  681. package/dist/compiled/lodash/intersectionWith.d.ts +2 -0
  682. package/dist/compiled/lodash/invert.d.ts +2 -0
  683. package/dist/compiled/lodash/invertBy.d.ts +2 -0
  684. package/dist/compiled/lodash/invoke.d.ts +2 -0
  685. package/dist/compiled/lodash/invokeMap.d.ts +2 -0
  686. package/dist/compiled/lodash/isArguments.d.ts +2 -0
  687. package/dist/compiled/lodash/isArray.d.ts +2 -0
  688. package/dist/compiled/lodash/isArrayBuffer.d.ts +2 -0
  689. package/dist/compiled/lodash/isArrayLike.d.ts +2 -0
  690. package/dist/compiled/lodash/isArrayLikeObject.d.ts +2 -0
  691. package/dist/compiled/lodash/isBoolean.d.ts +2 -0
  692. package/dist/compiled/lodash/isBuffer.d.ts +2 -0
  693. package/dist/compiled/lodash/isDate.d.ts +2 -0
  694. package/dist/compiled/lodash/isElement.d.ts +2 -0
  695. package/dist/compiled/lodash/isEmpty.d.ts +2 -0
  696. package/dist/compiled/lodash/isEqual.d.ts +2 -0
  697. package/dist/compiled/lodash/isEqualWith.d.ts +2 -0
  698. package/dist/compiled/lodash/isError.d.ts +2 -0
  699. package/dist/compiled/lodash/isFinite.d.ts +2 -0
  700. package/dist/compiled/lodash/isFunction.d.ts +2 -0
  701. package/dist/compiled/lodash/isInteger.d.ts +2 -0
  702. package/dist/compiled/lodash/isLength.d.ts +2 -0
  703. package/dist/compiled/lodash/isMap.d.ts +2 -0
  704. package/dist/compiled/lodash/isMatch.d.ts +2 -0
  705. package/dist/compiled/lodash/isMatchWith.d.ts +2 -0
  706. package/dist/compiled/lodash/isNaN.d.ts +2 -0
  707. package/dist/compiled/lodash/isNative.d.ts +2 -0
  708. package/dist/compiled/lodash/isNil.d.ts +2 -0
  709. package/dist/compiled/lodash/isNull.d.ts +2 -0
  710. package/dist/compiled/lodash/isNumber.d.ts +2 -0
  711. package/dist/compiled/lodash/isObject.d.ts +2 -0
  712. package/dist/compiled/lodash/isObjectLike.d.ts +2 -0
  713. package/dist/compiled/lodash/isPlainObject.d.ts +2 -0
  714. package/dist/compiled/lodash/isRegExp.d.ts +2 -0
  715. package/dist/compiled/lodash/isSafeInteger.d.ts +2 -0
  716. package/dist/compiled/lodash/isSet.d.ts +2 -0
  717. package/dist/compiled/lodash/isString.d.ts +2 -0
  718. package/dist/compiled/lodash/isSymbol.d.ts +2 -0
  719. package/dist/compiled/lodash/isTypedArray.d.ts +2 -0
  720. package/dist/compiled/lodash/isUndefined.d.ts +2 -0
  721. package/dist/compiled/lodash/isWeakMap.d.ts +2 -0
  722. package/dist/compiled/lodash/isWeakSet.d.ts +2 -0
  723. package/dist/compiled/lodash/iteratee.d.ts +2 -0
  724. package/dist/compiled/lodash/join.d.ts +2 -0
  725. package/dist/compiled/lodash/kebabCase.d.ts +2 -0
  726. package/dist/compiled/lodash/keyBy.d.ts +2 -0
  727. package/dist/compiled/lodash/keys.d.ts +2 -0
  728. package/dist/compiled/lodash/keysIn.d.ts +2 -0
  729. package/dist/compiled/lodash/last.d.ts +2 -0
  730. package/dist/compiled/lodash/lastIndexOf.d.ts +2 -0
  731. package/dist/compiled/lodash/licenses-cjs.txt +49 -0
  732. package/dist/compiled/lodash/lowerCase.d.ts +2 -0
  733. package/dist/compiled/lodash/lowerFirst.d.ts +2 -0
  734. package/dist/compiled/lodash/lt.d.ts +2 -0
  735. package/dist/compiled/lodash/lte.d.ts +2 -0
  736. package/dist/compiled/lodash/map.d.ts +2 -0
  737. package/dist/compiled/lodash/mapKeys.d.ts +2 -0
  738. package/dist/compiled/lodash/mapValues.d.ts +2 -0
  739. package/dist/compiled/lodash/matches.d.ts +2 -0
  740. package/dist/compiled/lodash/matchesProperty.d.ts +2 -0
  741. package/dist/compiled/lodash/max.d.ts +2 -0
  742. package/dist/compiled/lodash/maxBy.d.ts +2 -0
  743. package/dist/compiled/lodash/mean.d.ts +2 -0
  744. package/dist/compiled/lodash/meanBy.d.ts +2 -0
  745. package/dist/compiled/lodash/memoize.d.ts +2 -0
  746. package/dist/compiled/lodash/merge.d.ts +2 -0
  747. package/dist/compiled/lodash/mergeWith.d.ts +2 -0
  748. package/dist/compiled/lodash/method.d.ts +2 -0
  749. package/dist/compiled/lodash/methodOf.d.ts +2 -0
  750. package/dist/compiled/lodash/min.d.ts +2 -0
  751. package/dist/compiled/lodash/minBy.d.ts +2 -0
  752. package/dist/compiled/lodash/mixin.d.ts +2 -0
  753. package/dist/compiled/lodash/multiply.d.ts +2 -0
  754. package/dist/compiled/lodash/negate.d.ts +2 -0
  755. package/dist/compiled/lodash/noConflict.d.ts +2 -0
  756. package/dist/compiled/lodash/noop.d.ts +2 -0
  757. package/dist/compiled/lodash/now.d.ts +2 -0
  758. package/dist/compiled/lodash/nth.d.ts +2 -0
  759. package/dist/compiled/lodash/nthArg.d.ts +2 -0
  760. package/dist/compiled/lodash/omit.d.ts +2 -0
  761. package/dist/compiled/lodash/omitBy.d.ts +2 -0
  762. package/dist/compiled/lodash/once.d.ts +2 -0
  763. package/dist/compiled/lodash/orderBy.d.ts +2 -0
  764. package/dist/compiled/lodash/over.d.ts +2 -0
  765. package/dist/compiled/lodash/overArgs.d.ts +2 -0
  766. package/dist/compiled/lodash/overEvery.d.ts +2 -0
  767. package/dist/compiled/lodash/overSome.d.ts +2 -0
  768. package/dist/compiled/lodash/package.json +1 -1
  769. package/dist/compiled/lodash/pad.d.ts +2 -0
  770. package/dist/compiled/lodash/padEnd.d.ts +2 -0
  771. package/dist/compiled/lodash/padStart.d.ts +2 -0
  772. package/dist/compiled/lodash/parseInt.d.ts +2 -0
  773. package/dist/compiled/lodash/partial.d.ts +2 -0
  774. package/dist/compiled/lodash/partialRight.d.ts +2 -0
  775. package/dist/compiled/lodash/partition.d.ts +2 -0
  776. package/dist/compiled/lodash/pick.d.ts +2 -0
  777. package/dist/compiled/lodash/pickBy.d.ts +2 -0
  778. package/dist/compiled/lodash/property.d.ts +2 -0
  779. package/dist/compiled/lodash/propertyOf.d.ts +2 -0
  780. package/dist/compiled/lodash/provenance.json +19 -0
  781. package/dist/compiled/lodash/pull.d.ts +2 -0
  782. package/dist/compiled/lodash/pullAll.d.ts +2 -0
  783. package/dist/compiled/lodash/pullAllBy.d.ts +2 -0
  784. package/dist/compiled/lodash/pullAllWith.d.ts +2 -0
  785. package/dist/compiled/lodash/pullAt.d.ts +2 -0
  786. package/dist/compiled/lodash/random.d.ts +2 -0
  787. package/dist/compiled/lodash/range.d.ts +2 -0
  788. package/dist/compiled/lodash/rangeRight.d.ts +2 -0
  789. package/dist/compiled/lodash/rearg.d.ts +2 -0
  790. package/dist/compiled/lodash/reduce.d.ts +2 -0
  791. package/dist/compiled/lodash/reduceRight.d.ts +2 -0
  792. package/dist/compiled/lodash/reject.d.ts +2 -0
  793. package/dist/compiled/lodash/remove.d.ts +2 -0
  794. package/dist/compiled/lodash/repeat.d.ts +2 -0
  795. package/dist/compiled/lodash/replace.d.ts +2 -0
  796. package/dist/compiled/lodash/rest.d.ts +2 -0
  797. package/dist/compiled/lodash/result.d.ts +2 -0
  798. package/dist/compiled/lodash/reverse.d.ts +2 -0
  799. package/dist/compiled/lodash/round.d.ts +2 -0
  800. package/dist/compiled/lodash/runInContext.d.ts +2 -0
  801. package/dist/compiled/lodash/sample.d.ts +2 -0
  802. package/dist/compiled/lodash/sampleSize.d.ts +2 -0
  803. package/dist/compiled/lodash/set.d.ts +2 -0
  804. package/dist/compiled/lodash/setWith.d.ts +2 -0
  805. package/dist/compiled/lodash/shuffle.d.ts +2 -0
  806. package/dist/compiled/lodash/size.d.ts +2 -0
  807. package/dist/compiled/lodash/slice.d.ts +2 -0
  808. package/dist/compiled/lodash/snakeCase.d.ts +2 -0
  809. package/dist/compiled/lodash/some.d.ts +2 -0
  810. package/dist/compiled/lodash/sortBy.d.ts +2 -0
  811. package/dist/compiled/lodash/sortedIndex.d.ts +2 -0
  812. package/dist/compiled/lodash/sortedIndexBy.d.ts +2 -0
  813. package/dist/compiled/lodash/sortedIndexOf.d.ts +2 -0
  814. package/dist/compiled/lodash/sortedLastIndex.d.ts +2 -0
  815. package/dist/compiled/lodash/sortedLastIndexBy.d.ts +2 -0
  816. package/dist/compiled/lodash/sortedLastIndexOf.d.ts +2 -0
  817. package/dist/compiled/lodash/sortedUniq.d.ts +2 -0
  818. package/dist/compiled/lodash/sortedUniqBy.d.ts +2 -0
  819. package/dist/compiled/lodash/split.d.ts +2 -0
  820. package/dist/compiled/lodash/spread.d.ts +2 -0
  821. package/dist/compiled/lodash/startCase.d.ts +2 -0
  822. package/dist/compiled/lodash/startsWith.d.ts +2 -0
  823. package/dist/compiled/lodash/stubArray.d.ts +2 -0
  824. package/dist/compiled/lodash/stubFalse.d.ts +2 -0
  825. package/dist/compiled/lodash/stubObject.d.ts +2 -0
  826. package/dist/compiled/lodash/stubString.d.ts +2 -0
  827. package/dist/compiled/lodash/stubTrue.d.ts +2 -0
  828. package/dist/compiled/lodash/subtract.d.ts +2 -0
  829. package/dist/compiled/lodash/sum.d.ts +2 -0
  830. package/dist/compiled/lodash/sumBy.d.ts +2 -0
  831. package/dist/compiled/lodash/tail.d.ts +2 -0
  832. package/dist/compiled/lodash/take.d.ts +2 -0
  833. package/dist/compiled/lodash/takeRight.d.ts +2 -0
  834. package/dist/compiled/lodash/takeRightWhile.d.ts +2 -0
  835. package/dist/compiled/lodash/takeWhile.d.ts +2 -0
  836. package/dist/compiled/lodash/tap.d.ts +2 -0
  837. package/dist/compiled/lodash/template.d.ts +2 -0
  838. package/dist/compiled/lodash/throttle.d.ts +2 -0
  839. package/dist/compiled/lodash/thru.d.ts +2 -0
  840. package/dist/compiled/lodash/times.d.ts +2 -0
  841. package/dist/compiled/lodash/toArray.d.ts +2 -0
  842. package/dist/compiled/lodash/toFinite.d.ts +2 -0
  843. package/dist/compiled/lodash/toInteger.d.ts +2 -0
  844. package/dist/compiled/lodash/toLength.d.ts +2 -0
  845. package/dist/compiled/lodash/toLower.d.ts +2 -0
  846. package/dist/compiled/lodash/toNumber.d.ts +2 -0
  847. package/dist/compiled/lodash/toPairs.d.ts +2 -0
  848. package/dist/compiled/lodash/toPairsIn.d.ts +2 -0
  849. package/dist/compiled/lodash/toPath.d.ts +2 -0
  850. package/dist/compiled/lodash/toPlainObject.d.ts +2 -0
  851. package/dist/compiled/lodash/toSafeInteger.d.ts +2 -0
  852. package/dist/compiled/lodash/toString.d.ts +2 -0
  853. package/dist/compiled/lodash/toUpper.d.ts +2 -0
  854. package/dist/compiled/lodash/transform.d.ts +2 -0
  855. package/dist/compiled/lodash/trim.d.ts +2 -0
  856. package/dist/compiled/lodash/trimEnd.d.ts +2 -0
  857. package/dist/compiled/lodash/trimStart.d.ts +2 -0
  858. package/dist/compiled/lodash/truncate.d.ts +2 -0
  859. package/dist/compiled/lodash/unary.d.ts +2 -0
  860. package/dist/compiled/lodash/unescape.d.ts +2 -0
  861. package/dist/compiled/lodash/union.d.ts +2 -0
  862. package/dist/compiled/lodash/unionBy.d.ts +2 -0
  863. package/dist/compiled/lodash/unionWith.d.ts +2 -0
  864. package/dist/compiled/lodash/uniq.d.ts +2 -0
  865. package/dist/compiled/lodash/uniqBy.d.ts +2 -0
  866. package/dist/compiled/lodash/uniqWith.d.ts +2 -0
  867. package/dist/compiled/lodash/uniqueId.d.ts +2 -0
  868. package/dist/compiled/lodash/unset.d.ts +2 -0
  869. package/dist/compiled/lodash/unzip.d.ts +2 -0
  870. package/dist/compiled/lodash/unzipWith.d.ts +2 -0
  871. package/dist/compiled/lodash/update.d.ts +2 -0
  872. package/dist/compiled/lodash/updateWith.d.ts +2 -0
  873. package/dist/compiled/lodash/upperCase.d.ts +2 -0
  874. package/dist/compiled/lodash/upperFirst.d.ts +2 -0
  875. package/dist/compiled/lodash/values.d.ts +2 -0
  876. package/dist/compiled/lodash/valuesIn.d.ts +2 -0
  877. package/dist/compiled/lodash/without.d.ts +2 -0
  878. package/dist/compiled/lodash/words.d.ts +2 -0
  879. package/dist/compiled/lodash/wrap.d.ts +2 -0
  880. package/dist/compiled/lodash/xor.d.ts +2 -0
  881. package/dist/compiled/lodash/xorBy.d.ts +2 -0
  882. package/dist/compiled/lodash/xorWith.d.ts +2 -0
  883. package/dist/compiled/lodash/zip.d.ts +2 -0
  884. package/dist/compiled/lodash/zipObject.d.ts +2 -0
  885. package/dist/compiled/lodash/zipObjectDeep.d.ts +2 -0
  886. package/dist/compiled/lodash/zipWith.d.ts +2 -0
  887. package/dist/compiled/mime-types/declaration-licenses/@types_mime-types/LICENSE +21 -0
  888. package/dist/compiled/mime-types/index.d.ts +15 -12
  889. package/dist/compiled/mime-types/index.js +74 -28
  890. package/dist/compiled/mime-types/licenses-cjs.txt +52 -0
  891. package/dist/compiled/mime-types/package.json +1 -1
  892. package/dist/compiled/mime-types/provenance.json +19 -0
  893. package/dist/compiled/minimist/declaration-licenses/@types_minimist/LICENSE +21 -0
  894. package/dist/compiled/minimist/index.d.ts +3 -11
  895. package/dist/compiled/minimist/index.js +103 -104
  896. package/dist/compiled/minimist/licenses-cjs.txt +20 -0
  897. package/dist/compiled/minimist/package.json +1 -1
  898. package/dist/compiled/minimist/provenance.json +22 -0
  899. package/dist/compiled/nanoid/LICENSE +20 -0
  900. package/dist/compiled/nanoid/declaration-licenses/nanoid/LICENSE +20 -0
  901. package/dist/compiled/nanoid/index.d.mts +108 -0
  902. package/dist/compiled/nanoid/index.d.ts +31 -14
  903. package/dist/compiled/nanoid/index.js +117 -74
  904. package/dist/compiled/nanoid/index.mjs +98 -48
  905. package/dist/compiled/nanoid/licenses-cjs.txt +22 -0
  906. package/dist/compiled/nanoid/licenses-esm.txt +22 -0
  907. package/dist/compiled/nanoid/package.json +1 -1
  908. package/dist/compiled/nanoid/provenance.json +19 -0
  909. package/dist/compiled/ora/declaration-licenses/cli-spinners/license +9 -0
  910. package/dist/compiled/ora/declaration-licenses/ora/license +9 -0
  911. package/dist/compiled/ora/index.d.mts +501 -0
  912. package/dist/compiled/ora/index.d.ts +428 -204
  913. package/dist/compiled/ora/index.js +2121 -3893
  914. package/dist/compiled/ora/index.mjs +2155 -0
  915. package/dist/compiled/ora/licenses-cjs.txt +226 -0
  916. package/dist/compiled/ora/licenses-esm.txt +226 -0
  917. package/dist/compiled/ora/package.json +1 -1
  918. package/dist/compiled/ora/provenance.json +24 -0
  919. package/dist/compiled/pkg-up/declaration-licenses/@modern-js_compiled-pkg-up/license +9 -0
  920. package/dist/compiled/pkg-up/index.d.ts +9 -9
  921. package/dist/compiled/pkg-up/index.js +47 -14
  922. package/dist/compiled/pkg-up/licenses-cjs.txt +11 -0
  923. package/dist/compiled/pkg-up/package.json +1 -1
  924. package/dist/compiled/pkg-up/provenance.json +18 -0
  925. package/dist/compiled/semver/classes/comparator.d.ts +3 -3
  926. package/dist/compiled/semver/classes/range.d.ts +6 -6
  927. package/dist/compiled/semver/classes/semver.d.ts +11 -4
  928. package/dist/compiled/semver/declaration-licenses/@types_semver/LICENSE +21 -0
  929. package/dist/compiled/semver/functions/clean.d.ts +1 -1
  930. package/dist/compiled/semver/functions/cmp.d.ts +2 -2
  931. package/dist/compiled/semver/functions/coerce.d.ts +2 -2
  932. package/dist/compiled/semver/functions/compare-build.d.ts +7 -2
  933. package/dist/compiled/semver/functions/compare-loose.d.ts +4 -1
  934. package/dist/compiled/semver/functions/compare.d.ts +2 -2
  935. package/dist/compiled/semver/functions/diff.d.ts +3 -7
  936. package/dist/compiled/semver/functions/eq.d.ts +2 -2
  937. package/dist/compiled/semver/functions/gt.d.ts +2 -2
  938. package/dist/compiled/semver/functions/gte.d.ts +2 -2
  939. package/dist/compiled/semver/functions/inc.d.ts +15 -4
  940. package/dist/compiled/semver/functions/lt.d.ts +2 -2
  941. package/dist/compiled/semver/functions/lte.d.ts +2 -2
  942. package/dist/compiled/semver/functions/major.d.ts +2 -2
  943. package/dist/compiled/semver/functions/minor.d.ts +2 -2
  944. package/dist/compiled/semver/functions/neq.d.ts +2 -2
  945. package/dist/compiled/semver/functions/parse.d.ts +15 -4
  946. package/dist/compiled/semver/functions/patch.d.ts +2 -2
  947. package/dist/compiled/semver/functions/prerelease.d.ts +2 -2
  948. package/dist/compiled/semver/functions/rcompare.d.ts +2 -2
  949. package/dist/compiled/semver/functions/rsort.d.ts +2 -2
  950. package/dist/compiled/semver/functions/satisfies.d.ts +4 -4
  951. package/dist/compiled/semver/functions/sort.d.ts +2 -2
  952. package/dist/compiled/semver/functions/truncate.d.ts +10 -0
  953. package/dist/compiled/semver/functions/valid.d.ts +2 -2
  954. package/dist/compiled/semver/index.d.ts +82 -77
  955. package/dist/compiled/semver/index.js +639 -1026
  956. package/dist/compiled/semver/licenses-cjs.txt +17 -0
  957. package/dist/compiled/semver/package.json +1 -1
  958. package/dist/compiled/semver/preload.d.ts +2 -0
  959. package/dist/compiled/semver/provenance.json +22 -0
  960. package/dist/compiled/semver/ranges/gtr.d.ts +4 -4
  961. package/dist/compiled/semver/ranges/intersects.d.ts +3 -3
  962. package/dist/compiled/semver/ranges/ltr.d.ts +4 -4
  963. package/dist/compiled/semver/ranges/max-satisfying.d.ts +5 -5
  964. package/dist/compiled/semver/ranges/min-satisfying.d.ts +5 -5
  965. package/dist/compiled/semver/ranges/min-version.d.ts +3 -3
  966. package/dist/compiled/semver/ranges/outside.d.ts +5 -5
  967. package/dist/compiled/semver/ranges/simplify.d.ts +2 -2
  968. package/dist/compiled/semver/ranges/subset.d.ts +3 -7
  969. package/dist/compiled/semver/ranges/to-comparators.d.ts +2 -2
  970. package/dist/compiled/semver/ranges/valid.d.ts +3 -3
  971. package/dist/compiled/signale/declaration-licenses/@types_signale/LICENSE +21 -0
  972. package/dist/compiled/signale/index.d.ts +22 -29
  973. package/dist/compiled/signale/index.js +2934 -613
  974. package/dist/compiled/signale/license.md +21 -0
  975. package/dist/compiled/signale/licenses-cjs.txt +468 -0
  976. package/dist/compiled/signale/package.json +1 -1
  977. package/dist/compiled/signale/provenance.json +19 -0
  978. package/dist/compiled/slash/declaration-licenses/slash/license +9 -0
  979. package/dist/compiled/slash/index.d.mts +25 -0
  980. package/dist/compiled/slash/index.d.ts +4 -4
  981. package/dist/compiled/slash/index.js +31 -27
  982. package/dist/compiled/slash/index.mjs +25 -0
  983. package/dist/compiled/slash/license +1 -1
  984. package/dist/compiled/slash/licenses-cjs.txt +11 -0
  985. package/dist/compiled/slash/licenses-esm.txt +11 -0
  986. package/dist/compiled/slash/package.json +1 -1
  987. package/dist/compiled/slash/provenance.json +19 -0
  988. package/dist/compiled/strip-ansi/declaration-licenses/strip-ansi/license +9 -0
  989. package/dist/compiled/strip-ansi/index.d.mts +17 -0
  990. package/dist/compiled/strip-ansi/index.d.ts +2 -2
  991. package/dist/compiled/strip-ansi/index.js +39 -29
  992. package/dist/compiled/strip-ansi/index.mjs +33 -0
  993. package/dist/compiled/strip-ansi/license +1 -1
  994. package/dist/compiled/strip-ansi/licenses-cjs.txt +24 -0
  995. package/dist/compiled/strip-ansi/licenses-esm.txt +24 -0
  996. package/dist/compiled/strip-ansi/package.json +1 -1
  997. package/dist/compiled/strip-ansi/provenance.json +19 -0
  998. package/dist/compiled/tsconfig-paths/declaration-licenses/tsconfig-paths/LICENSE +21 -0
  999. package/dist/compiled/tsconfig-paths/index.d.mts +115 -0
  1000. package/dist/compiled/tsconfig-paths/index.d.ts +115 -0
  1001. package/dist/compiled/tsconfig-paths/index.js +256 -243
  1002. package/dist/compiled/tsconfig-paths/index.mjs +2 -2
  1003. package/dist/compiled/tsconfig-paths/licenses-cjs.txt +48 -0
  1004. package/dist/compiled/tsconfig-paths/package.json +1 -1
  1005. package/dist/compiled/tsconfig-paths/provenance.json +19 -0
  1006. package/dist/compiled/upath/LICENSE +22 -0
  1007. package/dist/compiled/upath/declaration-licenses/upath/LICENSE +22 -0
  1008. package/dist/compiled/upath/index.d.mts +84 -0
  1009. package/dist/compiled/upath/index.d.ts +84 -0
  1010. package/dist/compiled/upath/index.js +173 -110
  1011. package/dist/compiled/upath/index.mjs +236 -0
  1012. package/dist/compiled/upath/licenses-cjs.txt +24 -0
  1013. package/dist/compiled/upath/licenses-esm.txt +24 -0
  1014. package/dist/compiled/upath/package.json +1 -1
  1015. package/dist/compiled/upath/provenance.json +22 -0
  1016. package/dist/compiled/url-join/declaration-licenses/url-join/LICENSE +21 -0
  1017. package/dist/compiled/url-join/index.d.mts +9 -0
  1018. package/dist/compiled/url-join/index.d.ts +3 -11
  1019. package/dist/compiled/url-join/index.js +55 -55
  1020. package/dist/compiled/url-join/index.mjs +50 -0
  1021. package/dist/compiled/url-join/licenses-cjs.txt +23 -0
  1022. package/dist/compiled/url-join/licenses-esm.txt +23 -0
  1023. package/dist/compiled/url-join/package.json +1 -1
  1024. package/dist/compiled/url-join/provenance.json +22 -0
  1025. package/dist/esm/cli/applyOptionsChain.mjs +1 -1
  1026. package/dist/esm/cli/get/config.mjs +1 -1
  1027. package/dist/esm/cli/is/config.mjs +1 -1
  1028. package/dist/esm/cli/require.mjs +4 -5
  1029. package/dist/esm/compiled.mjs +22 -31
  1030. package/dist/esm/fast-glob.mjs +1 -0
  1031. package/dist/esm/watch-options.mjs +0 -0
  1032. package/dist/esm-node/cli/applyOptionsChain.mjs +1 -1
  1033. package/dist/esm-node/cli/get/config.mjs +1 -1
  1034. package/dist/esm-node/cli/is/config.mjs +1 -1
  1035. package/dist/esm-node/cli/require.mjs +4 -5
  1036. package/dist/esm-node/compiled.mjs +22 -30
  1037. package/dist/esm-node/fast-glob.mjs +2 -0
  1038. package/dist/esm-node/watch-options.mjs +1 -0
  1039. package/dist/types/cli/commands.d.ts +1 -1
  1040. package/dist/types/cli/modulePath.d.ts +1 -1
  1041. package/dist/types/cli/require.d.ts +0 -1
  1042. package/dist/types/compiled.d.ts +30 -29
  1043. package/dist/types/fast-glob.d.ts +1 -0
  1044. package/dist/types/watch-options.d.ts +1 -0
  1045. package/package.json +100 -36
  1046. package/rslib.config.mts +20 -84
  1047. package/dist/compiled/address/lib/address.d.ts +0 -28
  1048. package/dist/compiled/browserslist/license +0 -20
  1049. package/dist/compiled/chokidar/anymatch/index.d.ts +0 -19
  1050. package/dist/compiled/chokidar/fsevents.node +0 -0
  1051. package/dist/compiled/chokidar/license +0 -21
  1052. package/dist/compiled/chokidar/types/index.d.ts +0 -188
  1053. package/dist/compiled/commander/typings/index.d.ts +0 -890
  1054. package/dist/compiled/debug/ms/index.d.ts +0 -25
  1055. package/dist/compiled/dotenv/index.js +0 -101
  1056. package/dist/compiled/dotenv/license +0 -23
  1057. package/dist/compiled/dotenv/package.json +0 -1
  1058. package/dist/compiled/dotenv/types/index.d.ts +0 -59
  1059. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/adapters/fs.d.ts +0 -20
  1060. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/index.d.ts +0 -12
  1061. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/providers/async.d.ts +0 -7
  1062. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/settings.d.ts +0 -20
  1063. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/types/index.d.ts +0 -20
  1064. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/adapters/fs.d.ts +0 -13
  1065. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/index.d.ts +0 -12
  1066. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/providers/async.d.ts +0 -4
  1067. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/settings.d.ts +0 -16
  1068. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/types/index.d.ts +0 -4
  1069. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/index.d.ts +0 -14
  1070. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/providers/async.d.ts +0 -12
  1071. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/readers/async.d.ts +0 -30
  1072. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/readers/reader.d.ts +0 -6
  1073. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/settings.d.ts +0 -30
  1074. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/types/index.d.ts +0 -8
  1075. package/dist/compiled/fast-glob/index.js +0 -4665
  1076. package/dist/compiled/fast-glob/index.js.LICENSE.txt +0 -38
  1077. package/dist/compiled/fast-glob/license +0 -21
  1078. package/dist/compiled/fast-glob/out/index.d.ts +0 -27
  1079. package/dist/compiled/fast-glob/out/managers/tasks.d.ts +0 -22
  1080. package/dist/compiled/fast-glob/out/settings.d.ts +0 -164
  1081. package/dist/compiled/fast-glob/out/types/index.d.ts +0 -31
  1082. package/dist/compiled/fast-glob/package.json +0 -1
  1083. package/dist/compiled/filesize/filesize.d.ts +0 -131
  1084. package/dist/compiled/filesize/license +0 -28
  1085. package/dist/compiled/fs-extra/license +0 -15
  1086. package/dist/compiled/glob/license +0 -21
  1087. package/dist/compiled/glob/minimatch/index.d.ts +0 -204
  1088. package/dist/compiled/inquirer/index.js.LICENSE.txt +0 -7
  1089. package/dist/compiled/inquirer/lib/objects/choice.d.ts +0 -65
  1090. package/dist/compiled/inquirer/lib/objects/choices.d.ts +0 -206
  1091. package/dist/compiled/inquirer/lib/objects/separator.d.ts +0 -37
  1092. package/dist/compiled/inquirer/lib/prompts/base.d.ts +0 -100
  1093. package/dist/compiled/inquirer/lib/prompts/checkbox.d.ts +0 -116
  1094. package/dist/compiled/inquirer/lib/prompts/confirm.d.ts +0 -53
  1095. package/dist/compiled/inquirer/lib/prompts/editor.d.ts +0 -101
  1096. package/dist/compiled/inquirer/lib/prompts/expand.d.ts +0 -149
  1097. package/dist/compiled/inquirer/lib/prompts/input.d.ts +0 -82
  1098. package/dist/compiled/inquirer/lib/prompts/list.d.ts +0 -89
  1099. package/dist/compiled/inquirer/lib/prompts/number.d.ts +0 -32
  1100. package/dist/compiled/inquirer/lib/prompts/password.d.ts +0 -82
  1101. package/dist/compiled/inquirer/lib/prompts/rawlist.d.ts +0 -111
  1102. package/dist/compiled/inquirer/lib/ui/baseUI.d.ts +0 -37
  1103. package/dist/compiled/inquirer/lib/ui/bottom-bar.d.ts +0 -65
  1104. package/dist/compiled/inquirer/lib/ui/prompt.d.ts +0 -104
  1105. package/dist/compiled/inquirer/lib/utils/events.d.ts +0 -72
  1106. package/dist/compiled/inquirer/lib/utils/incrementListIndex.d.ts +0 -23
  1107. package/dist/compiled/inquirer/lib/utils/paginator.d.ts +0 -55
  1108. package/dist/compiled/inquirer/lib/utils/readline.d.ts +0 -56
  1109. package/dist/compiled/inquirer/lib/utils/screen-manager.d.ts +0 -90
  1110. package/dist/compiled/inquirer/lib/utils/utils.d.ts +0 -30
  1111. package/dist/compiled/inquirer/license +0 -22
  1112. package/dist/compiled/inquirer/rxjs/LICENSE.txt +0 -202
  1113. package/dist/compiled/inquirer/rxjs/ajax/index.d.ts +0 -5
  1114. package/dist/compiled/inquirer/rxjs/fetch/index.d.ts +0 -2
  1115. package/dist/compiled/inquirer/rxjs/index.d.ts +0 -173
  1116. package/dist/compiled/inquirer/rxjs/internal/AnyCatcher.d.ts +0 -10
  1117. package/dist/compiled/inquirer/rxjs/internal/AsyncSubject.d.ts +0 -13
  1118. package/dist/compiled/inquirer/rxjs/internal/BehaviorSubject.d.ts +0 -13
  1119. package/dist/compiled/inquirer/rxjs/internal/Notification.d.ts +0 -175
  1120. package/dist/compiled/inquirer/rxjs/internal/NotificationFactories.d.ts +0 -2
  1121. package/dist/compiled/inquirer/rxjs/internal/Observable.d.ts +0 -121
  1122. package/dist/compiled/inquirer/rxjs/internal/Operator.d.ts +0 -9
  1123. package/dist/compiled/inquirer/rxjs/internal/ReplaySubject.d.ts +0 -49
  1124. package/dist/compiled/inquirer/rxjs/internal/Scheduler.d.ts +0 -53
  1125. package/dist/compiled/inquirer/rxjs/internal/Subject.d.ts +0 -54
  1126. package/dist/compiled/inquirer/rxjs/internal/Subscriber.d.ts +0 -72
  1127. package/dist/compiled/inquirer/rxjs/internal/Subscription.d.ts +0 -92
  1128. package/dist/compiled/inquirer/rxjs/internal/ajax/AjaxResponse.d.ts +0 -115
  1129. package/dist/compiled/inquirer/rxjs/internal/ajax/ajax.d.ts +0 -227
  1130. package/dist/compiled/inquirer/rxjs/internal/ajax/errors.d.ts +0 -65
  1131. package/dist/compiled/inquirer/rxjs/internal/ajax/getXHRResponse.d.ts +0 -14
  1132. package/dist/compiled/inquirer/rxjs/internal/ajax/types.d.ts +0 -200
  1133. package/dist/compiled/inquirer/rxjs/internal/config.d.ts +0 -73
  1134. package/dist/compiled/inquirer/rxjs/internal/firstValueFrom.d.ts +0 -7
  1135. package/dist/compiled/inquirer/rxjs/internal/lastValueFrom.d.ts +0 -7
  1136. package/dist/compiled/inquirer/rxjs/internal/observable/ConnectableObservable.d.ts +0 -42
  1137. package/dist/compiled/inquirer/rxjs/internal/observable/bindCallback.d.ts +0 -5
  1138. package/dist/compiled/inquirer/rxjs/internal/observable/bindCallbackInternals.d.ts +0 -4
  1139. package/dist/compiled/inquirer/rxjs/internal/observable/bindNodeCallback.d.ts +0 -5
  1140. package/dist/compiled/inquirer/rxjs/internal/observable/combineLatest.d.ts +0 -33
  1141. package/dist/compiled/inquirer/rxjs/internal/observable/concat.d.ts +0 -5
  1142. package/dist/compiled/inquirer/rxjs/internal/observable/connectable.d.ts +0 -27
  1143. package/dist/compiled/inquirer/rxjs/internal/observable/defer.d.ts +0 -51
  1144. package/dist/compiled/inquirer/rxjs/internal/observable/dom/WebSocketSubject.d.ts +0 -173
  1145. package/dist/compiled/inquirer/rxjs/internal/observable/dom/animationFrames.d.ts +0 -76
  1146. package/dist/compiled/inquirer/rxjs/internal/observable/dom/fetch.d.ts +0 -7
  1147. package/dist/compiled/inquirer/rxjs/internal/observable/dom/webSocket.d.ts +0 -159
  1148. package/dist/compiled/inquirer/rxjs/internal/observable/empty.d.ts +0 -72
  1149. package/dist/compiled/inquirer/rxjs/internal/observable/forkJoin.d.ts +0 -24
  1150. package/dist/compiled/inquirer/rxjs/internal/observable/from.d.ts +0 -6
  1151. package/dist/compiled/inquirer/rxjs/internal/observable/fromEvent.d.ts +0 -45
  1152. package/dist/compiled/inquirer/rxjs/internal/observable/fromEventPattern.d.ts +0 -5
  1153. package/dist/compiled/inquirer/rxjs/internal/observable/fromSubscribable.d.ts +0 -14
  1154. package/dist/compiled/inquirer/rxjs/internal/observable/generate.d.ts +0 -314
  1155. package/dist/compiled/inquirer/rxjs/internal/observable/iif.d.ts +0 -82
  1156. package/dist/compiled/inquirer/rxjs/internal/observable/innerFrom.d.ts +0 -21
  1157. package/dist/compiled/inquirer/rxjs/internal/observable/interval.d.ts +0 -48
  1158. package/dist/compiled/inquirer/rxjs/internal/observable/merge.d.ts +0 -9
  1159. package/dist/compiled/inquirer/rxjs/internal/observable/never.d.ts +0 -40
  1160. package/dist/compiled/inquirer/rxjs/internal/observable/of.d.ts +0 -14
  1161. package/dist/compiled/inquirer/rxjs/internal/observable/onErrorResumeNext.d.ts +0 -5
  1162. package/dist/compiled/inquirer/rxjs/internal/observable/pairs.d.ts +0 -19
  1163. package/dist/compiled/inquirer/rxjs/internal/observable/partition.d.ts +0 -9
  1164. package/dist/compiled/inquirer/rxjs/internal/observable/race.d.ts +0 -12
  1165. package/dist/compiled/inquirer/rxjs/internal/observable/range.d.ts +0 -8
  1166. package/dist/compiled/inquirer/rxjs/internal/observable/throwError.d.ts +0 -115
  1167. package/dist/compiled/inquirer/rxjs/internal/observable/timer.d.ts +0 -126
  1168. package/dist/compiled/inquirer/rxjs/internal/observable/using.d.ts +0 -30
  1169. package/dist/compiled/inquirer/rxjs/internal/observable/zip.d.ts +0 -7
  1170. package/dist/compiled/inquirer/rxjs/internal/operators/OperatorSubscriber.d.ts +0 -41
  1171. package/dist/compiled/inquirer/rxjs/internal/operators/audit.d.ts +0 -48
  1172. package/dist/compiled/inquirer/rxjs/internal/operators/auditTime.d.ts +0 -50
  1173. package/dist/compiled/inquirer/rxjs/internal/operators/buffer.d.ts +0 -41
  1174. package/dist/compiled/inquirer/rxjs/internal/operators/bufferCount.d.ts +0 -54
  1175. package/dist/compiled/inquirer/rxjs/internal/operators/bufferTime.d.ts +0 -5
  1176. package/dist/compiled/inquirer/rxjs/internal/operators/bufferToggle.d.ts +0 -46
  1177. package/dist/compiled/inquirer/rxjs/internal/operators/bufferWhen.d.ts +0 -41
  1178. package/dist/compiled/inquirer/rxjs/internal/operators/catchError.d.ts +0 -4
  1179. package/dist/compiled/inquirer/rxjs/internal/operators/combineAll.d.ts +0 -6
  1180. package/dist/compiled/inquirer/rxjs/internal/operators/combineLatest.d.ts +0 -10
  1181. package/dist/compiled/inquirer/rxjs/internal/operators/combineLatestAll.d.ts +0 -6
  1182. package/dist/compiled/inquirer/rxjs/internal/operators/combineLatestWith.d.ts +0 -43
  1183. package/dist/compiled/inquirer/rxjs/internal/operators/concat.d.ts +0 -6
  1184. package/dist/compiled/inquirer/rxjs/internal/operators/concatAll.d.ts +0 -59
  1185. package/dist/compiled/inquirer/rxjs/internal/operators/concatMap.d.ts +0 -7
  1186. package/dist/compiled/inquirer/rxjs/internal/operators/concatMapTo.d.ts +0 -8
  1187. package/dist/compiled/inquirer/rxjs/internal/operators/concatWith.d.ts +0 -43
  1188. package/dist/compiled/inquirer/rxjs/internal/operators/connect.d.ts +0 -87
  1189. package/dist/compiled/inquirer/rxjs/internal/operators/count.d.ts +0 -58
  1190. package/dist/compiled/inquirer/rxjs/internal/operators/debounce.d.ts +0 -61
  1191. package/dist/compiled/inquirer/rxjs/internal/operators/debounceTime.d.ts +0 -59
  1192. package/dist/compiled/inquirer/rxjs/internal/operators/defaultIfEmpty.d.ts +0 -38
  1193. package/dist/compiled/inquirer/rxjs/internal/operators/delay.d.ts +0 -59
  1194. package/dist/compiled/inquirer/rxjs/internal/operators/delayWhen.d.ts +0 -6
  1195. package/dist/compiled/inquirer/rxjs/internal/operators/dematerialize.d.ts +0 -51
  1196. package/dist/compiled/inquirer/rxjs/internal/operators/distinct.d.ts +0 -60
  1197. package/dist/compiled/inquirer/rxjs/internal/operators/distinctUntilChanged.d.ts +0 -4
  1198. package/dist/compiled/inquirer/rxjs/internal/operators/distinctUntilKeyChanged.d.ts +0 -4
  1199. package/dist/compiled/inquirer/rxjs/internal/operators/elementAt.d.ts +0 -51
  1200. package/dist/compiled/inquirer/rxjs/internal/operators/endWith.d.ts +0 -7
  1201. package/dist/compiled/inquirer/rxjs/internal/operators/every.d.ts +0 -9
  1202. package/dist/compiled/inquirer/rxjs/internal/operators/exhaust.d.ts +0 -6
  1203. package/dist/compiled/inquirer/rxjs/internal/operators/exhaustAll.d.ts +0 -47
  1204. package/dist/compiled/inquirer/rxjs/internal/operators/exhaustMap.d.ts +0 -7
  1205. package/dist/compiled/inquirer/rxjs/internal/operators/expand.d.ts +0 -9
  1206. package/dist/compiled/inquirer/rxjs/internal/operators/filter.d.ts +0 -9
  1207. package/dist/compiled/inquirer/rxjs/internal/operators/finalize.d.ts +0 -64
  1208. package/dist/compiled/inquirer/rxjs/internal/operators/find.d.ts +0 -12
  1209. package/dist/compiled/inquirer/rxjs/internal/operators/findIndex.d.ts +0 -9
  1210. package/dist/compiled/inquirer/rxjs/internal/operators/first.d.ts +0 -9
  1211. package/dist/compiled/inquirer/rxjs/internal/operators/flatMap.d.ts +0 -6
  1212. package/dist/compiled/inquirer/rxjs/internal/operators/groupBy.d.ts +0 -119
  1213. package/dist/compiled/inquirer/rxjs/internal/operators/ignoreElements.d.ts +0 -38
  1214. package/dist/compiled/inquirer/rxjs/internal/operators/isEmpty.d.ts +0 -64
  1215. package/dist/compiled/inquirer/rxjs/internal/operators/joinAllInternals.d.ts +0 -14
  1216. package/dist/compiled/inquirer/rxjs/internal/operators/last.d.ts +0 -8
  1217. package/dist/compiled/inquirer/rxjs/internal/operators/map.d.ts +0 -5
  1218. package/dist/compiled/inquirer/rxjs/internal/operators/mapTo.d.ts +0 -10
  1219. package/dist/compiled/inquirer/rxjs/internal/operators/materialize.d.ts +0 -52
  1220. package/dist/compiled/inquirer/rxjs/internal/operators/max.d.ts +0 -50
  1221. package/dist/compiled/inquirer/rxjs/internal/operators/merge.d.ts +0 -10
  1222. package/dist/compiled/inquirer/rxjs/internal/operators/mergeAll.d.ts +0 -62
  1223. package/dist/compiled/inquirer/rxjs/internal/operators/mergeInternals.d.ts +0 -18
  1224. package/dist/compiled/inquirer/rxjs/internal/operators/mergeMap.d.ts +0 -7
  1225. package/dist/compiled/inquirer/rxjs/internal/operators/mergeMapTo.d.ts +0 -9
  1226. package/dist/compiled/inquirer/rxjs/internal/operators/mergeScan.d.ts +0 -68
  1227. package/dist/compiled/inquirer/rxjs/internal/operators/mergeWith.d.ts +0 -44
  1228. package/dist/compiled/inquirer/rxjs/internal/operators/min.d.ts +0 -50
  1229. package/dist/compiled/inquirer/rxjs/internal/operators/multicast.d.ts +0 -63
  1230. package/dist/compiled/inquirer/rxjs/internal/operators/observeOn.d.ts +0 -56
  1231. package/dist/compiled/inquirer/rxjs/internal/operators/onErrorResumeNextWith.d.ts +0 -8
  1232. package/dist/compiled/inquirer/rxjs/internal/operators/pairwise.d.ts +0 -46
  1233. package/dist/compiled/inquirer/rxjs/internal/operators/partition.d.ts +0 -54
  1234. package/dist/compiled/inquirer/rxjs/internal/operators/pluck.d.ts +0 -18
  1235. package/dist/compiled/inquirer/rxjs/internal/operators/publish.d.ts +0 -30
  1236. package/dist/compiled/inquirer/rxjs/internal/operators/publishBehavior.d.ts +0 -19
  1237. package/dist/compiled/inquirer/rxjs/internal/operators/publishLast.d.ts +0 -69
  1238. package/dist/compiled/inquirer/rxjs/internal/operators/publishReplay.d.ts +0 -56
  1239. package/dist/compiled/inquirer/rxjs/internal/operators/race.d.ts +0 -6
  1240. package/dist/compiled/inquirer/rxjs/internal/operators/raceWith.d.ts +0 -29
  1241. package/dist/compiled/inquirer/rxjs/internal/operators/reduce.d.ts +0 -5
  1242. package/dist/compiled/inquirer/rxjs/internal/operators/refCount.d.ts +0 -61
  1243. package/dist/compiled/inquirer/rxjs/internal/operators/repeat.d.ts +0 -108
  1244. package/dist/compiled/inquirer/rxjs/internal/operators/repeatWhen.d.ts +0 -38
  1245. package/dist/compiled/inquirer/rxjs/internal/operators/retry.d.ts +0 -28
  1246. package/dist/compiled/inquirer/rxjs/internal/operators/retryWhen.d.ts +0 -61
  1247. package/dist/compiled/inquirer/rxjs/internal/operators/sample.d.ts +0 -43
  1248. package/dist/compiled/inquirer/rxjs/internal/operators/sampleTime.d.ts +0 -46
  1249. package/dist/compiled/inquirer/rxjs/internal/operators/scan.d.ts +0 -5
  1250. package/dist/compiled/inquirer/rxjs/internal/operators/scanInternals.d.ts +0 -12
  1251. package/dist/compiled/inquirer/rxjs/internal/operators/sequenceEqual.d.ts +0 -60
  1252. package/dist/compiled/inquirer/rxjs/internal/operators/share.d.ts +0 -43
  1253. package/dist/compiled/inquirer/rxjs/internal/operators/shareReplay.d.ts +0 -10
  1254. package/dist/compiled/inquirer/rxjs/internal/operators/single.d.ts +0 -5
  1255. package/dist/compiled/inquirer/rxjs/internal/operators/skip.d.ts +0 -36
  1256. package/dist/compiled/inquirer/rxjs/internal/operators/skipLast.d.ts +0 -45
  1257. package/dist/compiled/inquirer/rxjs/internal/operators/skipUntil.d.ts +0 -48
  1258. package/dist/compiled/inquirer/rxjs/internal/operators/skipWhile.d.ts +0 -5
  1259. package/dist/compiled/inquirer/rxjs/internal/operators/startWith.d.ts +0 -7
  1260. package/dist/compiled/inquirer/rxjs/internal/operators/subscribeOn.d.ts +0 -62
  1261. package/dist/compiled/inquirer/rxjs/internal/operators/switchAll.d.ts +0 -61
  1262. package/dist/compiled/inquirer/rxjs/internal/operators/switchMap.d.ts +0 -7
  1263. package/dist/compiled/inquirer/rxjs/internal/operators/switchMapTo.d.ts +0 -8
  1264. package/dist/compiled/inquirer/rxjs/internal/operators/switchScan.d.ts +0 -20
  1265. package/dist/compiled/inquirer/rxjs/internal/operators/take.d.ts +0 -45
  1266. package/dist/compiled/inquirer/rxjs/internal/operators/takeLast.d.ts +0 -42
  1267. package/dist/compiled/inquirer/rxjs/internal/operators/takeUntil.d.ts +0 -41
  1268. package/dist/compiled/inquirer/rxjs/internal/operators/takeWhile.d.ts +0 -8
  1269. package/dist/compiled/inquirer/rxjs/internal/operators/tap.d.ts +0 -72
  1270. package/dist/compiled/inquirer/rxjs/internal/operators/throttle.d.ts +0 -78
  1271. package/dist/compiled/inquirer/rxjs/internal/operators/throttleTime.d.ts +0 -53
  1272. package/dist/compiled/inquirer/rxjs/internal/operators/throwIfEmpty.d.ts +0 -39
  1273. package/dist/compiled/inquirer/rxjs/internal/operators/timeInterval.d.ts +0 -50
  1274. package/dist/compiled/inquirer/rxjs/internal/operators/timeout.d.ts +0 -255
  1275. package/dist/compiled/inquirer/rxjs/internal/operators/timeoutWith.d.ts +0 -8
  1276. package/dist/compiled/inquirer/rxjs/internal/operators/timestamp.d.ts +0 -35
  1277. package/dist/compiled/inquirer/rxjs/internal/operators/toArray.d.ts +0 -33
  1278. package/dist/compiled/inquirer/rxjs/internal/operators/window.d.ts +0 -48
  1279. package/dist/compiled/inquirer/rxjs/internal/operators/windowCount.d.ts +0 -65
  1280. package/dist/compiled/inquirer/rxjs/internal/operators/windowTime.d.ts +0 -6
  1281. package/dist/compiled/inquirer/rxjs/internal/operators/windowToggle.d.ts +0 -49
  1282. package/dist/compiled/inquirer/rxjs/internal/operators/windowWhen.d.ts +0 -49
  1283. package/dist/compiled/inquirer/rxjs/internal/operators/withLatestFrom.d.ts +0 -4
  1284. package/dist/compiled/inquirer/rxjs/internal/operators/zip.d.ts +0 -10
  1285. package/dist/compiled/inquirer/rxjs/internal/operators/zipAll.d.ts +0 -14
  1286. package/dist/compiled/inquirer/rxjs/internal/operators/zipWith.d.ts +0 -26
  1287. package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleArray.d.ts +0 -4
  1288. package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleAsyncIterable.d.ts +0 -4
  1289. package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleIterable.d.ts +0 -9
  1290. package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleObservable.d.ts +0 -3
  1291. package/dist/compiled/inquirer/rxjs/internal/scheduled/schedulePromise.d.ts +0 -3
  1292. package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleReadableStreamLike.d.ts +0 -4
  1293. package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduled.d.ts +0 -15
  1294. package/dist/compiled/inquirer/rxjs/internal/scheduler/Action.d.ts +0 -30
  1295. package/dist/compiled/inquirer/rxjs/internal/scheduler/AnimationFrameAction.d.ts +0 -12
  1296. package/dist/compiled/inquirer/rxjs/internal/scheduler/AnimationFrameScheduler.d.ts +0 -6
  1297. package/dist/compiled/inquirer/rxjs/internal/scheduler/AsapAction.d.ts +0 -12
  1298. package/dist/compiled/inquirer/rxjs/internal/scheduler/AsapScheduler.d.ts +0 -6
  1299. package/dist/compiled/inquirer/rxjs/internal/scheduler/AsyncAction.d.ts +0 -24
  1300. package/dist/compiled/inquirer/rxjs/internal/scheduler/AsyncScheduler.d.ts +0 -9
  1301. package/dist/compiled/inquirer/rxjs/internal/scheduler/QueueAction.d.ts +0 -14
  1302. package/dist/compiled/inquirer/rxjs/internal/scheduler/QueueScheduler.d.ts +0 -4
  1303. package/dist/compiled/inquirer/rxjs/internal/scheduler/VirtualTimeScheduler.d.ts +0 -48
  1304. package/dist/compiled/inquirer/rxjs/internal/scheduler/animationFrame.d.ts +0 -38
  1305. package/dist/compiled/inquirer/rxjs/internal/scheduler/animationFrameProvider.d.ts +0 -13
  1306. package/dist/compiled/inquirer/rxjs/internal/scheduler/asap.d.ts +0 -41
  1307. package/dist/compiled/inquirer/rxjs/internal/scheduler/async.d.ts +0 -53
  1308. package/dist/compiled/inquirer/rxjs/internal/scheduler/dateTimestampProvider.d.ts +0 -7
  1309. package/dist/compiled/inquirer/rxjs/internal/scheduler/immediateProvider.d.ts +0 -14
  1310. package/dist/compiled/inquirer/rxjs/internal/scheduler/intervalProvider.d.ts +0 -14
  1311. package/dist/compiled/inquirer/rxjs/internal/scheduler/performanceTimestampProvider.d.ts +0 -7
  1312. package/dist/compiled/inquirer/rxjs/internal/scheduler/queue.d.ts +0 -69
  1313. package/dist/compiled/inquirer/rxjs/internal/scheduler/timeoutProvider.d.ts +0 -14
  1314. package/dist/compiled/inquirer/rxjs/internal/scheduler/timerHandle.d.ts +0 -2
  1315. package/dist/compiled/inquirer/rxjs/internal/symbol/iterator.d.ts +0 -3
  1316. package/dist/compiled/inquirer/rxjs/internal/symbol/observable.d.ts +0 -8
  1317. package/dist/compiled/inquirer/rxjs/internal/testing/ColdObservable.d.ts +0 -16
  1318. package/dist/compiled/inquirer/rxjs/internal/testing/HotObservable.d.ts +0 -15
  1319. package/dist/compiled/inquirer/rxjs/internal/testing/SubscriptionLog.d.ts +0 -6
  1320. package/dist/compiled/inquirer/rxjs/internal/testing/SubscriptionLoggable.d.ts +0 -9
  1321. package/dist/compiled/inquirer/rxjs/internal/testing/TestMessage.d.ts +0 -7
  1322. package/dist/compiled/inquirer/rxjs/internal/testing/TestScheduler.d.ts +0 -88
  1323. package/dist/compiled/inquirer/rxjs/internal/types.d.ts +0 -307
  1324. package/dist/compiled/inquirer/rxjs/internal/util/ArgumentOutOfRangeError.d.ts +0 -19
  1325. package/dist/compiled/inquirer/rxjs/internal/util/EmptyError.d.ts +0 -21
  1326. package/dist/compiled/inquirer/rxjs/internal/util/Immediate.d.ts +0 -14
  1327. package/dist/compiled/inquirer/rxjs/internal/util/NotFoundError.d.ts +0 -17
  1328. package/dist/compiled/inquirer/rxjs/internal/util/ObjectUnsubscribedError.d.ts +0 -20
  1329. package/dist/compiled/inquirer/rxjs/internal/util/SequenceError.d.ts +0 -17
  1330. package/dist/compiled/inquirer/rxjs/internal/util/UnsubscriptionError.d.ts +0 -16
  1331. package/dist/compiled/inquirer/rxjs/internal/util/applyMixins.d.ts +0 -2
  1332. package/dist/compiled/inquirer/rxjs/internal/util/args.d.ts +0 -5
  1333. package/dist/compiled/inquirer/rxjs/internal/util/argsArgArrayOrObject.d.ts +0 -11
  1334. package/dist/compiled/inquirer/rxjs/internal/util/argsOrArgArray.d.ts +0 -6
  1335. package/dist/compiled/inquirer/rxjs/internal/util/arrRemove.d.ts +0 -7
  1336. package/dist/compiled/inquirer/rxjs/internal/util/createErrorClass.d.ts +0 -11
  1337. package/dist/compiled/inquirer/rxjs/internal/util/createObject.d.ts +0 -2
  1338. package/dist/compiled/inquirer/rxjs/internal/util/errorContext.d.ts +0 -14
  1339. package/dist/compiled/inquirer/rxjs/internal/util/executeSchedule.d.ts +0 -5
  1340. package/dist/compiled/inquirer/rxjs/internal/util/identity.d.ts +0 -44
  1341. package/dist/compiled/inquirer/rxjs/internal/util/isArrayLike.d.ts +0 -2
  1342. package/dist/compiled/inquirer/rxjs/internal/util/isAsyncIterable.d.ts +0 -2
  1343. package/dist/compiled/inquirer/rxjs/internal/util/isDate.d.ts +0 -9
  1344. package/dist/compiled/inquirer/rxjs/internal/util/isFunction.d.ts +0 -6
  1345. package/dist/compiled/inquirer/rxjs/internal/util/isInteropObservable.d.ts +0 -4
  1346. package/dist/compiled/inquirer/rxjs/internal/util/isIterable.d.ts +0 -3
  1347. package/dist/compiled/inquirer/rxjs/internal/util/isObservable.d.ts +0 -8
  1348. package/dist/compiled/inquirer/rxjs/internal/util/isPromise.d.ts +0 -6
  1349. package/dist/compiled/inquirer/rxjs/internal/util/isReadableStreamLike.d.ts +0 -4
  1350. package/dist/compiled/inquirer/rxjs/internal/util/isScheduler.d.ts +0 -3
  1351. package/dist/compiled/inquirer/rxjs/internal/util/lift.d.ts +0 -15
  1352. package/dist/compiled/inquirer/rxjs/internal/util/mapOneOrManyArgs.d.ts +0 -7
  1353. package/dist/compiled/inquirer/rxjs/internal/util/noop.d.ts +0 -2
  1354. package/dist/compiled/inquirer/rxjs/internal/util/not.d.ts +0 -2
  1355. package/dist/compiled/inquirer/rxjs/internal/util/pipe.d.ts +0 -14
  1356. package/dist/compiled/inquirer/rxjs/internal/util/reportUnhandledError.d.ts +0 -11
  1357. package/dist/compiled/inquirer/rxjs/internal/util/subscribeToArray.d.ts +0 -7
  1358. package/dist/compiled/inquirer/rxjs/internal/util/throwUnobservableError.d.ts +0 -6
  1359. package/dist/compiled/inquirer/rxjs/internal/util/workarounds.d.ts +0 -2
  1360. package/dist/compiled/inquirer/rxjs/operators/index.d.ts +0 -114
  1361. package/dist/compiled/inquirer/rxjs/testing/index.d.ts +0 -2
  1362. package/dist/compiled/inquirer/rxjs/webSocket/index.d.ts +0 -3
  1363. package/dist/compiled/inquirer/through/index.d.ts +0 -25
  1364. package/dist/compiled/json5/lib/index.d.ts +0 -4
  1365. package/dist/compiled/json5/lib/parse.d.ts +0 -15
  1366. package/dist/compiled/json5/lib/stringify.d.ts +0 -89
  1367. package/dist/compiled/nanoid/license +0 -20
  1368. package/dist/compiled/ora/cli-spinners/index.d.ts +0 -125
  1369. package/dist/compiled/ora/index.js.LICENSE.txt +0 -1
  1370. package/dist/compiled/tsconfig-paths/lib/config-loader.d.ts +0 -33
  1371. package/dist/compiled/tsconfig-paths/lib/filesystem.d.ts +0 -34
  1372. package/dist/compiled/tsconfig-paths/lib/index.d.ts +0 -5
  1373. package/dist/compiled/tsconfig-paths/lib/mapping-entry.d.ts +0 -18
  1374. package/dist/compiled/tsconfig-paths/lib/match-path-async.d.ts +0 -21
  1375. package/dist/compiled/tsconfig-paths/lib/match-path-sync.d.ts +0 -32
  1376. package/dist/compiled/tsconfig-paths/lib/register.d.ts +0 -12
  1377. package/dist/compiled/tsconfig-paths/lib/try-path.d.ts +0 -15
  1378. package/dist/compiled/tsconfig-paths/lib/tsconfig-loader.d.ts +0 -28
  1379. package/dist/compiled/upath/license +0 -22
  1380. package/dist/compiled/upath/upath.d.ts +0 -241
  1381. package/dist/compiled/webpack-chain/index.js +0 -1475
  1382. package/dist/compiled/webpack-chain/license +0 -373
  1383. package/dist/compiled/webpack-chain/package.json +0 -1
  1384. package/dist/compiled/webpack-chain/types/index.d.ts +0 -599
  1385. package/dist/esm/rslib-runtime~1.mjs +0 -12
  1386. /package/dist/compiled/commander/{license → LICENSE} +0 -0
  1387. /package/dist/compiled/debug/{license → LICENSE} +0 -0
  1388. /package/dist/compiled/{inquirer/types-license → debug/declaration-licenses/@types_debug/LICENSE} +0 -0
  1389. /package/dist/compiled/dotenv-expand/{license → LICENSE} +0 -0
  1390. /package/dist/compiled/js-yaml/{license → LICENSE} +0 -0
  1391. /package/dist/compiled/lodash/{license → LICENSE} +0 -0
  1392. /package/dist/compiled/mime-types/{license → LICENSE} +0 -0
  1393. /package/dist/compiled/minimist/{license → LICENSE} +0 -0
  1394. /package/dist/compiled/semver/{license → LICENSE} +0 -0
  1395. /package/dist/compiled/tsconfig-paths/{license → LICENSE} +0 -0
  1396. /package/dist/compiled/url-join/{license → LICENSE} +0 -0
@@ -0,0 +1,4572 @@
1
+ /*! LICENSE: index.mjs.LICENSE.txt */
2
+ import { createRequire } from 'node:module';
3
+ const require = createRequire(import.meta.url);
4
+ import * as t from "fast-glob";
5
+ var e = {
6
+ 793: (t, e, n)=>{
7
+ const r = n(816);
8
+ const s = n(248);
9
+ const o = n(369);
10
+ const i = n(358);
11
+ const braces = (t, e = {})=>{
12
+ let n = [];
13
+ if (Array.isArray(t)) for (const r of t){
14
+ const t = braces.create(r, e);
15
+ if (Array.isArray(t)) n.push(...t);
16
+ else n.push(t);
17
+ }
18
+ else n = [].concat(braces.create(t, e));
19
+ if (e && true === e.expand && true === e.nodupes) n = [
20
+ ...new Set(n)
21
+ ];
22
+ return n;
23
+ };
24
+ braces.parse = (t, e = {})=>i(t, e);
25
+ braces.stringify = (t, e = {})=>{
26
+ if ("string" == typeof t) return r(braces.parse(t, e), e);
27
+ return r(t, e);
28
+ };
29
+ braces.compile = (t, e = {})=>{
30
+ if ("string" == typeof t) t = braces.parse(t, e);
31
+ return s(t, e);
32
+ };
33
+ braces.expand = (t, e = {})=>{
34
+ if ("string" == typeof t) t = braces.parse(t, e);
35
+ let n = o(t, e);
36
+ if (true === e.noempty) n = n.filter(Boolean);
37
+ if (true === e.nodupes) n = [
38
+ ...new Set(n)
39
+ ];
40
+ return n;
41
+ };
42
+ braces.create = (t, e = {})=>{
43
+ if ("" === t || t.length < 3) return [
44
+ t
45
+ ];
46
+ return true !== e.expand ? braces.compile(t, e) : braces.expand(t, e);
47
+ };
48
+ t.exports = braces;
49
+ },
50
+ 248: (t, e, n)=>{
51
+ const r = n(790);
52
+ const s = n(372);
53
+ const compile = (t, e = {})=>{
54
+ const walk = (t, n = {}, o = 0)=>{
55
+ s.assertDepth(o);
56
+ const i = s.isInvalidBrace(n);
57
+ const a = true === t.invalid && true === e.escapeInvalid;
58
+ const u = true === i || true === a;
59
+ const c = true === e.escapeInvalid ? "\\" : "";
60
+ let l = "";
61
+ if (true === t.isOpen) return c + t.value;
62
+ if (true === t.isClose) {
63
+ console.log("node.isClose", c, t.value);
64
+ return c + t.value;
65
+ }
66
+ if ("open" === t.type) return u ? c + t.value : "(";
67
+ if ("close" === t.type) return u ? c + t.value : ")";
68
+ if ("comma" === t.type) return "comma" === t.prev.type ? "" : u ? t.value : "|";
69
+ if (t.value) return t.value;
70
+ if (t.nodes && t.ranges > 0) {
71
+ const n = s.reduce(t.nodes);
72
+ const o = r(...n, {
73
+ ...e,
74
+ wrap: false,
75
+ toRegex: true,
76
+ strictZeros: true
77
+ });
78
+ if (0 !== o.length) return n.length > 1 && o.length > 1 ? `(${o})` : o;
79
+ }
80
+ if (t.nodes) for (const e of t.nodes)l += walk(e, t, o + 1);
81
+ return l;
82
+ };
83
+ return walk(t);
84
+ };
85
+ t.exports = compile;
86
+ },
87
+ 872: (t)=>{
88
+ t.exports = {
89
+ MAX_LENGTH: 1e4,
90
+ MAX_AST_DEPTH: 100,
91
+ CHAR_0: "0",
92
+ CHAR_9: "9",
93
+ CHAR_UPPERCASE_A: "A",
94
+ CHAR_LOWERCASE_A: "a",
95
+ CHAR_UPPERCASE_Z: "Z",
96
+ CHAR_LOWERCASE_Z: "z",
97
+ CHAR_LEFT_PARENTHESES: "(",
98
+ CHAR_RIGHT_PARENTHESES: ")",
99
+ CHAR_ASTERISK: "*",
100
+ CHAR_AMPERSAND: "&",
101
+ CHAR_AT: "@",
102
+ CHAR_BACKSLASH: "\\",
103
+ CHAR_BACKTICK: "`",
104
+ CHAR_CARRIAGE_RETURN: "\r",
105
+ CHAR_CIRCUMFLEX_ACCENT: "^",
106
+ CHAR_COLON: ":",
107
+ CHAR_COMMA: ",",
108
+ CHAR_DOLLAR: "$",
109
+ CHAR_DOT: ".",
110
+ CHAR_DOUBLE_QUOTE: '"',
111
+ CHAR_EQUAL: "=",
112
+ CHAR_EXCLAMATION_MARK: "!",
113
+ CHAR_FORM_FEED: "\f",
114
+ CHAR_FORWARD_SLASH: "/",
115
+ CHAR_HASH: "#",
116
+ CHAR_HYPHEN_MINUS: "-",
117
+ CHAR_LEFT_ANGLE_BRACKET: "<",
118
+ CHAR_LEFT_CURLY_BRACE: "{",
119
+ CHAR_LEFT_SQUARE_BRACKET: "[",
120
+ CHAR_LINE_FEED: "\n",
121
+ CHAR_NO_BREAK_SPACE: " ",
122
+ CHAR_PERCENT: "%",
123
+ CHAR_PLUS: "+",
124
+ CHAR_QUESTION_MARK: "?",
125
+ CHAR_RIGHT_ANGLE_BRACKET: ">",
126
+ CHAR_RIGHT_CURLY_BRACE: "}",
127
+ CHAR_RIGHT_SQUARE_BRACKET: "]",
128
+ CHAR_SEMICOLON: ";",
129
+ CHAR_SINGLE_QUOTE: "'",
130
+ CHAR_SPACE: " ",
131
+ CHAR_TAB: "\t",
132
+ CHAR_UNDERSCORE: "_",
133
+ CHAR_VERTICAL_LINE: "|",
134
+ CHAR_ZERO_WIDTH_NOBREAK_SPACE: "\ufeff"
135
+ };
136
+ },
137
+ 369: (t, e, n)=>{
138
+ const r = n(790);
139
+ const s = n(816);
140
+ const o = n(372);
141
+ const append = (t = "", e = "", n = false)=>{
142
+ const r = [];
143
+ t = [].concat(t);
144
+ e = [].concat(e);
145
+ if (!e.length) return t;
146
+ if (!t.length) return n ? o.flatten(e).map((t)=>`{${t}}`) : e;
147
+ for (const s of t)if (Array.isArray(s)) for (const t of s)r.push(append(t, e, n));
148
+ else for (let t of e){
149
+ if (true === n && "string" == typeof t) t = `{${t}}`;
150
+ r.push(Array.isArray(t) ? append(s, t, n) : s + t);
151
+ }
152
+ return o.flatten(r);
153
+ };
154
+ const expand = (t, e = {})=>{
155
+ const n = void 0 === e.rangeLimit ? 1e3 : e.rangeLimit;
156
+ const walk = (t, i = {}, a = 0)=>{
157
+ o.assertDepth(a);
158
+ t.queue = [];
159
+ let u = i;
160
+ let c = i.queue;
161
+ while("brace" !== u.type && "root" !== u.type && u.parent){
162
+ u = u.parent;
163
+ c = u.queue;
164
+ }
165
+ if (t.invalid || t.dollar) return void c.push(append(c.pop(), s(t, e)));
166
+ if ("brace" === t.type && true !== t.invalid && 2 === t.nodes.length) return void c.push(append(c.pop(), [
167
+ "{}"
168
+ ]));
169
+ if (t.nodes && t.ranges > 0) {
170
+ const i = o.reduce(t.nodes);
171
+ if (o.exceedsLimit(...i, e.step, n)) throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");
172
+ let a = r(...i, e);
173
+ if (0 === a.length) a = s(t, e);
174
+ c.push(append(c.pop(), a));
175
+ t.nodes = [];
176
+ return;
177
+ }
178
+ const l = o.encloseBrace(t);
179
+ let f = t.queue;
180
+ let p = t;
181
+ while("brace" !== p.type && "root" !== p.type && p.parent){
182
+ p = p.parent;
183
+ f = p.queue;
184
+ }
185
+ for(let e = 0; e < t.nodes.length; e++){
186
+ const n = t.nodes[e];
187
+ if ("comma" === n.type && "brace" === t.type) {
188
+ if (1 === e) f.push("");
189
+ f.push("");
190
+ continue;
191
+ }
192
+ if ("close" === n.type) {
193
+ c.push(append(c.pop(), f, l));
194
+ continue;
195
+ }
196
+ if (n.value && "open" !== n.type) {
197
+ f.push(append(f.pop(), n.value));
198
+ continue;
199
+ }
200
+ if (n.nodes) walk(n, t, a + 1);
201
+ }
202
+ return f;
203
+ };
204
+ return o.flatten(walk(t));
205
+ };
206
+ t.exports = expand;
207
+ },
208
+ 358: (t, e, n)=>{
209
+ const r = n(816);
210
+ const s = n(372);
211
+ const { MAX_LENGTH: o, CHAR_BACKSLASH: i, CHAR_BACKTICK: a, CHAR_COMMA: u, CHAR_DOT: c, CHAR_LEFT_PARENTHESES: l, CHAR_RIGHT_PARENTHESES: f, CHAR_LEFT_CURLY_BRACE: p, CHAR_RIGHT_CURLY_BRACE: d, CHAR_LEFT_SQUARE_BRACKET: h, CHAR_RIGHT_SQUARE_BRACKET: g, CHAR_DOUBLE_QUOTE: _, CHAR_SINGLE_QUOTE: A, CHAR_NO_BREAK_SPACE: R, CHAR_ZERO_WIDTH_NOBREAK_SPACE: m } = n(872);
212
+ const parse = (t, e = {})=>{
213
+ if ("string" != typeof t) throw new TypeError("Expected a string");
214
+ const n = e || {};
215
+ const E = "number" == typeof n.maxLength ? Math.min(o, n.maxLength) : o;
216
+ if (t.length > E) throw new SyntaxError(`Input length (${t.length}), exceeds max characters (${E})`);
217
+ const b = {
218
+ type: "root",
219
+ input: t,
220
+ nodes: []
221
+ };
222
+ const w = [
223
+ b
224
+ ];
225
+ let C = b;
226
+ let v = b;
227
+ let S = 0;
228
+ const $ = t.length;
229
+ let H = 0;
230
+ let T = 0;
231
+ let O;
232
+ const advance = ()=>t[H++];
233
+ const push = (t)=>{
234
+ if ("text" === t.type && "dot" === v.type) v.type = "text";
235
+ if (v && "text" === v.type && "text" === t.type) {
236
+ v.value += t.value;
237
+ return;
238
+ }
239
+ C.nodes.push(t);
240
+ t.parent = C;
241
+ t.prev = v;
242
+ v = t;
243
+ return t;
244
+ };
245
+ push({
246
+ type: "bos"
247
+ });
248
+ while(H < $){
249
+ C = w[w.length - 1];
250
+ O = advance();
251
+ if (O === m || O === R) continue;
252
+ if (O === i) {
253
+ push({
254
+ type: "text",
255
+ value: (e.keepEscaping ? O : "") + advance()
256
+ });
257
+ continue;
258
+ }
259
+ if (O === g) {
260
+ push({
261
+ type: "text",
262
+ value: "\\" + O
263
+ });
264
+ continue;
265
+ }
266
+ if (O === h) {
267
+ S++;
268
+ let t;
269
+ while(H < $ && (t = advance())){
270
+ O += t;
271
+ if (t === h) {
272
+ S++;
273
+ continue;
274
+ }
275
+ if (t === i) {
276
+ O += advance();
277
+ continue;
278
+ }
279
+ if (t === g) {
280
+ S--;
281
+ if (0 === S) break;
282
+ }
283
+ }
284
+ push({
285
+ type: "text",
286
+ value: O
287
+ });
288
+ continue;
289
+ }
290
+ if (O === l) {
291
+ s.assertDepth(w.length);
292
+ C = push({
293
+ type: "paren",
294
+ nodes: []
295
+ });
296
+ w.push(C);
297
+ push({
298
+ type: "text",
299
+ value: O
300
+ });
301
+ continue;
302
+ }
303
+ if (O === f) {
304
+ if ("paren" !== C.type) {
305
+ push({
306
+ type: "text",
307
+ value: O
308
+ });
309
+ continue;
310
+ }
311
+ C = w.pop();
312
+ push({
313
+ type: "text",
314
+ value: O
315
+ });
316
+ C = w[w.length - 1];
317
+ continue;
318
+ }
319
+ if (O === _ || O === A || O === a) {
320
+ const t = O;
321
+ let n;
322
+ if (true !== e.keepQuotes) O = "";
323
+ while(H < $ && (n = advance())){
324
+ if (n === i) {
325
+ O += n + advance();
326
+ continue;
327
+ }
328
+ if (n === t) {
329
+ if (true === e.keepQuotes) O += n;
330
+ break;
331
+ }
332
+ O += n;
333
+ }
334
+ push({
335
+ type: "text",
336
+ value: O
337
+ });
338
+ continue;
339
+ }
340
+ if (O === p) {
341
+ s.assertDepth(w.length);
342
+ T++;
343
+ const t = v.value && "$" === v.value.slice(-1) || true === C.dollar;
344
+ const e = {
345
+ type: "brace",
346
+ open: true,
347
+ close: false,
348
+ dollar: t,
349
+ depth: T,
350
+ commas: 0,
351
+ ranges: 0,
352
+ nodes: []
353
+ };
354
+ C = push(e);
355
+ w.push(C);
356
+ push({
357
+ type: "open",
358
+ value: O
359
+ });
360
+ continue;
361
+ }
362
+ if (O === d) {
363
+ if ("brace" !== C.type) {
364
+ push({
365
+ type: "text",
366
+ value: O
367
+ });
368
+ continue;
369
+ }
370
+ const t = "close";
371
+ C = w.pop();
372
+ C.close = true;
373
+ push({
374
+ type: t,
375
+ value: O
376
+ });
377
+ T--;
378
+ C = w[w.length - 1];
379
+ continue;
380
+ }
381
+ if (O === u && T > 0) {
382
+ if (C.ranges > 0) {
383
+ C.ranges = 0;
384
+ const t = C.nodes.shift();
385
+ C.nodes = [
386
+ t,
387
+ {
388
+ type: "text",
389
+ value: r(C)
390
+ }
391
+ ];
392
+ }
393
+ push({
394
+ type: "comma",
395
+ value: O
396
+ });
397
+ C.commas++;
398
+ continue;
399
+ }
400
+ if (O === c && T > 0 && 0 === C.commas) {
401
+ const t = C.nodes;
402
+ if (0 === T || 0 === t.length) {
403
+ push({
404
+ type: "text",
405
+ value: O
406
+ });
407
+ continue;
408
+ }
409
+ if ("dot" === v.type) {
410
+ C.range = [];
411
+ v.value += O;
412
+ v.type = "range";
413
+ if (3 !== C.nodes.length && 5 !== C.nodes.length) {
414
+ C.invalid = true;
415
+ C.ranges = 0;
416
+ v.type = "text";
417
+ continue;
418
+ }
419
+ C.ranges++;
420
+ C.args = [];
421
+ continue;
422
+ }
423
+ if ("range" === v.type) {
424
+ t.pop();
425
+ const e = t[t.length - 1];
426
+ e.value += v.value + O;
427
+ v = e;
428
+ C.ranges--;
429
+ continue;
430
+ }
431
+ push({
432
+ type: "dot",
433
+ value: O
434
+ });
435
+ continue;
436
+ }
437
+ push({
438
+ type: "text",
439
+ value: O
440
+ });
441
+ }
442
+ do {
443
+ C = w.pop();
444
+ if ("root" !== C.type) {
445
+ C.nodes.forEach((t)=>{
446
+ if (!t.nodes) {
447
+ if ("open" === t.type) t.isOpen = true;
448
+ if ("close" === t.type) t.isClose = true;
449
+ if (!t.nodes) t.type = "text";
450
+ t.invalid = true;
451
+ }
452
+ });
453
+ const t = w[w.length - 1];
454
+ const e = t.nodes.indexOf(C);
455
+ t.nodes.splice(e, 1, ...C.nodes);
456
+ }
457
+ }while (w.length > 0);
458
+ push({
459
+ type: "eos"
460
+ });
461
+ return b;
462
+ };
463
+ t.exports = parse;
464
+ },
465
+ 816: (t, e, n)=>{
466
+ const r = n(372);
467
+ t.exports = (t, e = {})=>{
468
+ const stringify = (t, n = {}, s = 0)=>{
469
+ r.assertDepth(s);
470
+ const o = e.escapeInvalid && r.isInvalidBrace(n);
471
+ const i = true === t.invalid && true === e.escapeInvalid;
472
+ let a = "";
473
+ if (t.value) {
474
+ if ((o || i) && r.isOpenOrClose(t)) return "\\" + t.value;
475
+ return t.value;
476
+ }
477
+ if (t.value) return t.value;
478
+ if (t.nodes) for (const e of t.nodes)a += stringify(e, {}, s + 1);
479
+ return a;
480
+ };
481
+ return stringify(t);
482
+ };
483
+ },
484
+ 372: (t, e, n)=>{
485
+ const { MAX_AST_DEPTH: r } = n(872);
486
+ e.assertDepth = (t)=>{
487
+ if (t > r) throw new SyntaxError("AST nesting depth exceeds the maximum of " + r);
488
+ };
489
+ e.isInteger = (t)=>{
490
+ if ("number" == typeof t) return Number.isInteger(t);
491
+ if ("string" == typeof t && "" !== t.trim()) return Number.isInteger(Number(t));
492
+ return false;
493
+ };
494
+ e.find = (t, e)=>t.nodes.find((t)=>t.type === e);
495
+ e.exceedsLimit = (t, n, r = 1, s)=>{
496
+ if (false === s) return false;
497
+ if (!e.isInteger(t) || !e.isInteger(n)) return false;
498
+ return (Number(n) - Number(t)) / Number(r) >= s;
499
+ };
500
+ e.escapeNode = (t, e = 0, n)=>{
501
+ const r = t.nodes[e];
502
+ if (!r) return;
503
+ if (n && r.type === n || "open" === r.type || "close" === r.type) {
504
+ if (true !== r.escaped) {
505
+ r.value = "\\" + r.value;
506
+ r.escaped = true;
507
+ }
508
+ }
509
+ };
510
+ e.encloseBrace = (t)=>{
511
+ if ("brace" !== t.type) return false;
512
+ if (t.commas >> 0 + t.ranges === 0) {
513
+ t.invalid = true;
514
+ return true;
515
+ }
516
+ return false;
517
+ };
518
+ e.isInvalidBrace = (t)=>{
519
+ if ("brace" !== t.type) return false;
520
+ if (true === t.invalid || t.dollar) return true;
521
+ if (t.commas >> 0 + t.ranges === 0) {
522
+ t.invalid = true;
523
+ return true;
524
+ }
525
+ if (true !== t.open || true !== t.close) {
526
+ t.invalid = true;
527
+ return true;
528
+ }
529
+ return false;
530
+ };
531
+ e.isOpenOrClose = (t)=>{
532
+ if ("open" === t.type || "close" === t.type) return true;
533
+ return true === t.open || true === t.close;
534
+ };
535
+ e.reduce = (t)=>t.reduce((t, e)=>{
536
+ if ("text" === e.type) t.push(e.value);
537
+ if ("range" === e.type) e.type = "text";
538
+ return t;
539
+ }, []);
540
+ e.flatten = (...t)=>{
541
+ const e = [];
542
+ const flat = (t)=>{
543
+ for(let n = 0; n < t.length; n++){
544
+ const r = t[n];
545
+ if (Array.isArray(r)) {
546
+ flat(r);
547
+ continue;
548
+ }
549
+ if (void 0 !== r) e.push(r);
550
+ }
551
+ return e;
552
+ };
553
+ flat(t);
554
+ return e;
555
+ };
556
+ },
557
+ 790: (t, e, n)=>{
558
+ /*!
559
+ * fill-range <https://github.com/jonschlinkert/fill-range>
560
+ *
561
+ * Copyright (c) 2014-present, Jon Schlinkert.
562
+ * Licensed under the MIT License.
563
+ */ const r = n(23);
564
+ const s = n(491);
565
+ const isObject = (t)=>null !== t && "object" == typeof t && !Array.isArray(t);
566
+ const transform = (t)=>(e)=>true === t ? Number(e) : String(e);
567
+ const isValidValue = (t)=>"number" == typeof t || "string" == typeof t && "" !== t;
568
+ const isNumber = (t)=>Number.isInteger(+t);
569
+ const zeros = (t)=>{
570
+ let e = `${t}`;
571
+ let n = -1;
572
+ if ("-" === e[0]) e = e.slice(1);
573
+ if ("0" === e) return false;
574
+ while("0" === e[++n]);
575
+ return n > 0;
576
+ };
577
+ const stringify = (t, e, n)=>{
578
+ if ("string" == typeof t || "string" == typeof e) return true;
579
+ return true === n.stringify;
580
+ };
581
+ const pad = (t, e, n)=>{
582
+ if (e > 0) {
583
+ let n = "-" === t[0] ? "-" : "";
584
+ if (n) t = t.slice(1);
585
+ t = n + t.padStart(n ? e - 1 : e, "0");
586
+ }
587
+ if (false === n) return String(t);
588
+ return t;
589
+ };
590
+ const toMaxLen = (t, e)=>{
591
+ let n = "-" === t[0] ? "-" : "";
592
+ if (n) {
593
+ t = t.slice(1);
594
+ e--;
595
+ }
596
+ while(t.length < e)t = "0" + t;
597
+ return n ? "-" + t : t;
598
+ };
599
+ const toSequence = (t, e, n)=>{
600
+ t.negatives.sort((t, e)=>t < e ? -1 : t > e ? 1 : 0);
601
+ t.positives.sort((t, e)=>t < e ? -1 : t > e ? 1 : 0);
602
+ let r = e.capture ? "" : "?:";
603
+ let s = "";
604
+ let o = "";
605
+ let i;
606
+ if (t.positives.length) s = t.positives.map((t)=>toMaxLen(String(t), n)).join("|");
607
+ if (t.negatives.length) o = `-(${r}${t.negatives.map((t)=>toMaxLen(String(t), n)).join("|")})`;
608
+ i = s && o ? `${s}|${o}` : s || o;
609
+ if (e.wrap) return `(${r}${i})`;
610
+ return i;
611
+ };
612
+ const toRange = (t, e, n, r)=>{
613
+ if (n) return s(t, e, {
614
+ wrap: false,
615
+ ...r
616
+ });
617
+ let o = String.fromCharCode(t);
618
+ if (t === e) return o;
619
+ let i = String.fromCharCode(e);
620
+ return `[${o}-${i}]`;
621
+ };
622
+ const toRegex = (t, e, n)=>{
623
+ if (Array.isArray(t)) {
624
+ let e = true === n.wrap;
625
+ let r = n.capture ? "" : "?:";
626
+ return e ? `(${r}${t.join("|")})` : t.join("|");
627
+ }
628
+ return s(t, e, n);
629
+ };
630
+ const rangeError = (...t)=>new RangeError("Invalid range arguments: " + r.inspect(...t));
631
+ const invalidRange = (t, e, n)=>{
632
+ if (true === n.strictRanges) throw rangeError([
633
+ t,
634
+ e
635
+ ]);
636
+ return [];
637
+ };
638
+ const invalidStep = (t, e)=>{
639
+ if (true === e.strictRanges) throw new TypeError(`Expected step "${t}" to be a number`);
640
+ return [];
641
+ };
642
+ const fillNumbers = (t, e, n = 1, r = {})=>{
643
+ let s = Number(t);
644
+ let o = Number(e);
645
+ if (!Number.isInteger(s) || !Number.isInteger(o)) {
646
+ if (true === r.strictRanges) throw rangeError([
647
+ t,
648
+ e
649
+ ]);
650
+ return [];
651
+ }
652
+ if (0 === s) s = 0;
653
+ if (0 === o) o = 0;
654
+ let i = s > o;
655
+ let a = String(t);
656
+ let u = String(e);
657
+ let c = String(n);
658
+ n = Math.max(Math.abs(n), 1);
659
+ let l = zeros(a) || zeros(u) || zeros(c);
660
+ let f = l ? Math.max(a.length, u.length, c.length) : 0;
661
+ let p = false === l && false === stringify(t, e, r);
662
+ let d = r.transform || transform(p);
663
+ if (r.toRegex && 1 === n) return toRange(toMaxLen(t, f), toMaxLen(e, f), true, r);
664
+ let h = {
665
+ negatives: [],
666
+ positives: []
667
+ };
668
+ let push = (t)=>h[t < 0 ? "negatives" : "positives"].push(Math.abs(t));
669
+ let g = [];
670
+ let _ = 0;
671
+ while(i ? s >= o : s <= o){
672
+ if (true === r.toRegex && n > 1) push(s);
673
+ else g.push(pad(d(s, _), f, p));
674
+ s = i ? s - n : s + n;
675
+ _++;
676
+ }
677
+ if (true === r.toRegex) return n > 1 ? toSequence(h, r, f) : toRegex(g, null, {
678
+ wrap: false,
679
+ ...r
680
+ });
681
+ return g;
682
+ };
683
+ const fillLetters = (t, e, n = 1, r = {})=>{
684
+ if (!isNumber(t) && t.length > 1 || !isNumber(e) && e.length > 1) return invalidRange(t, e, r);
685
+ let s = r.transform || ((t)=>String.fromCharCode(t));
686
+ let o = `${t}`.charCodeAt(0);
687
+ let i = `${e}`.charCodeAt(0);
688
+ let a = o > i;
689
+ let u = Math.min(o, i);
690
+ let c = Math.max(o, i);
691
+ if (r.toRegex && 1 === n) return toRange(u, c, false, r);
692
+ let l = [];
693
+ let f = 0;
694
+ while(a ? o >= i : o <= i){
695
+ l.push(s(o, f));
696
+ o = a ? o - n : o + n;
697
+ f++;
698
+ }
699
+ if (true === r.toRegex) return toRegex(l, null, {
700
+ wrap: false,
701
+ options: r
702
+ });
703
+ return l;
704
+ };
705
+ const fill = (t, e, n, r = {})=>{
706
+ if (null == e && isValidValue(t)) return [
707
+ t
708
+ ];
709
+ if (!isValidValue(t) || !isValidValue(e)) return invalidRange(t, e, r);
710
+ if ("function" == typeof n) return fill(t, e, 1, {
711
+ transform: n
712
+ });
713
+ if (isObject(n)) return fill(t, e, 0, n);
714
+ let s = {
715
+ ...r
716
+ };
717
+ if (true === s.capture) s.wrap = true;
718
+ n = n || s.step || 1;
719
+ if (!isNumber(n)) {
720
+ if (null != n && !isObject(n)) return invalidStep(n, s);
721
+ return fill(t, e, 1, n);
722
+ }
723
+ if (isNumber(t) && isNumber(e)) return fillNumbers(t, e, n, s);
724
+ return fillLetters(t, e, Math.max(Math.abs(n), 1), s);
725
+ };
726
+ t.exports = fill;
727
+ },
728
+ 869: (t)=>{
729
+ function makeArray(t) {
730
+ return Array.isArray(t) ? t : [
731
+ t
732
+ ];
733
+ }
734
+ const e = void 0;
735
+ const n = "";
736
+ const r = " ";
737
+ const s = "\\";
738
+ const o = /^\s+$/;
739
+ const i = /(?:[^\\]|^)\\$/;
740
+ const a = /^\\!/;
741
+ const u = /^\\#/;
742
+ const c = /\r?\n/g;
743
+ const l = /^\.{0,2}\/|^\.{1,2}$/;
744
+ const f = /\/$/;
745
+ const p = "/";
746
+ let d = "node-ignore";
747
+ if ("u" > typeof Symbol) d = Symbol.for("node-ignore");
748
+ const h = d;
749
+ const define = (t, e, n)=>{
750
+ Object.defineProperty(t, e, {
751
+ value: n
752
+ });
753
+ return n;
754
+ };
755
+ const g = /([0-z])-([0-z])/g;
756
+ const RETURN_FALSE = ()=>false;
757
+ const sanitizeRange = (t)=>t.replace(g, (t, e, r)=>e.charCodeAt(0) <= r.charCodeAt(0) ? t : n);
758
+ const cleanRangeBackSlash = (t)=>{
759
+ const { length: e } = t;
760
+ return t.slice(0, e - e % 2);
761
+ };
762
+ const _ = [
763
+ [
764
+ /^\uFEFF/,
765
+ ()=>n
766
+ ],
767
+ [
768
+ /((?:\\\\)*?)(\\?\s+)$/,
769
+ (t, e, s)=>e + (0 === s.indexOf("\\") ? r : n)
770
+ ],
771
+ [
772
+ /(\\+?)\s/g,
773
+ (t, e)=>{
774
+ const { length: n } = e;
775
+ return e.slice(0, n - n % 2) + r;
776
+ }
777
+ ],
778
+ [
779
+ /[\\$.|*+(){^]/g,
780
+ (t)=>`\\${t}`
781
+ ],
782
+ [
783
+ /(?!\\)\?/g,
784
+ ()=>"[^/]"
785
+ ],
786
+ [
787
+ /^\//,
788
+ ()=>"^"
789
+ ],
790
+ [
791
+ /\//g,
792
+ ()=>"\\/"
793
+ ],
794
+ [
795
+ /^\^*\\\*\\\*\\\//,
796
+ ()=>"^(?:.*\\/)?"
797
+ ],
798
+ [
799
+ /^(?=[^^])/,
800
+ function() {
801
+ return /\/(?!$)/.test(this) ? "^" : "(?:^|\\/)";
802
+ }
803
+ ],
804
+ [
805
+ /\\\/\\\*\\\*(?=\\\/|$)/g,
806
+ (t, e, n)=>e + 6 < n.length ? "(?:\\/[^\\/]+)*" : "\\/.+"
807
+ ],
808
+ [
809
+ /(^|[^\\]+)(\\\*)+(?=.+)/g,
810
+ (t, e, n)=>{
811
+ const r = n.replace(/\\\*/g, "[^\\/]*");
812
+ return e + r;
813
+ }
814
+ ],
815
+ [
816
+ /\\\\\\(?=[$.|*+(){^])/g,
817
+ ()=>s
818
+ ],
819
+ [
820
+ /\\\\/g,
821
+ ()=>s
822
+ ],
823
+ [
824
+ /(\\)?\[([^\]/]*?)(\\*)($|\])/g,
825
+ (t, e, n, r, o)=>e === s ? `\\[${n}${cleanRangeBackSlash(r)}${o}` : "]" === o ? r.length % 2 === 0 ? `[${sanitizeRange(n)}${r}]` : "[]" : "[]"
826
+ ],
827
+ [
828
+ /(?:[^*])$/,
829
+ (t)=>/\/$/.test(t) ? `${t}$` : `${t}(?=$|\\/$)`
830
+ ]
831
+ ];
832
+ const A = /(^|\\\/)?\\\*$/;
833
+ const R = "regex";
834
+ const m = "checkRegex";
835
+ const E = "_";
836
+ const b = {
837
+ [R] (t, e) {
838
+ const n = e ? `${e}[^/]+` : "[^/]*";
839
+ return `${n}(?=$|\\/$)`;
840
+ },
841
+ [m] (t, e) {
842
+ const n = e ? `${e}[^/]*` : "[^/]*";
843
+ return `${n}(?=$|\\/$)`;
844
+ }
845
+ };
846
+ const makeRegexPrefix = (t)=>_.reduce((e, [n, r])=>e.replace(n, r.bind(t)), t);
847
+ const isString = (t)=>"string" == typeof t;
848
+ const checkPattern = (t)=>t && isString(t) && !o.test(t) && !i.test(t) && 0 !== t.indexOf("#");
849
+ const splitPattern = (t)=>t.split(c).filter(Boolean);
850
+ class IgnoreRule {
851
+ constructor(t, e, n, r, s, o){
852
+ this.pattern = t;
853
+ this.mark = e;
854
+ this.negative = s;
855
+ define(this, "body", n);
856
+ define(this, "ignoreCase", r);
857
+ define(this, "regexPrefix", o);
858
+ }
859
+ get regex() {
860
+ const t = E + R;
861
+ if (this[t]) return this[t];
862
+ return this._make(R, t);
863
+ }
864
+ get checkRegex() {
865
+ const t = E + m;
866
+ if (this[t]) return this[t];
867
+ return this._make(m, t);
868
+ }
869
+ _make(t, e) {
870
+ const n = this.regexPrefix.replace(A, b[t]);
871
+ const r = this.ignoreCase ? new RegExp(n, "i") : new RegExp(n);
872
+ return define(this, e, r);
873
+ }
874
+ }
875
+ const createRule = ({ pattern: t, mark: e }, n)=>{
876
+ let r = false;
877
+ let s = t;
878
+ if (0 === s.indexOf("!")) {
879
+ r = true;
880
+ s = s.substr(1);
881
+ }
882
+ s = s.replace(a, "!").replace(u, "#");
883
+ const o = makeRegexPrefix(s);
884
+ return new IgnoreRule(t, e, s, n, r, o);
885
+ };
886
+ class RuleManager {
887
+ constructor(t){
888
+ this._ignoreCase = t;
889
+ this._rules = [];
890
+ }
891
+ _add(t) {
892
+ if (t && t[h]) {
893
+ this._rules = this._rules.concat(t._rules._rules);
894
+ this._added = true;
895
+ return;
896
+ }
897
+ if (isString(t)) t = {
898
+ pattern: t
899
+ };
900
+ if (checkPattern(t.pattern)) {
901
+ const e = createRule(t, this._ignoreCase);
902
+ this._added = true;
903
+ this._rules.push(e);
904
+ }
905
+ }
906
+ add(t) {
907
+ this._added = false;
908
+ makeArray(isString(t) ? splitPattern(t) : t).forEach(this._add, this);
909
+ return this._added;
910
+ }
911
+ test(t, n, r) {
912
+ let s = false;
913
+ let o = false;
914
+ let i;
915
+ this._rules.forEach((a)=>{
916
+ const { negative: u } = a;
917
+ if (o === u && s !== o || u && !s && !o && !n) return;
918
+ const c = a[r].test(t);
919
+ if (!c) return;
920
+ s = !u;
921
+ o = u;
922
+ i = u ? e : a;
923
+ });
924
+ const a = {
925
+ ignored: s,
926
+ unignored: o
927
+ };
928
+ if (i) a.rule = i;
929
+ return a;
930
+ }
931
+ }
932
+ const throwError = (t, e)=>{
933
+ throw new e(t);
934
+ };
935
+ const checkPath = (t, e, n)=>{
936
+ if (!isString(t)) return n(`path must be a string, but got \`${e}\``, TypeError);
937
+ if (!t) return n("path must not be empty", TypeError);
938
+ if (checkPath.isNotRelative(t)) {
939
+ const t = "`path.relative()`d";
940
+ return n(`path should be a ${t} string, but got "${e}"`, RangeError);
941
+ }
942
+ return true;
943
+ };
944
+ const isNotRelative = (t)=>l.test(t);
945
+ checkPath.isNotRelative = isNotRelative;
946
+ checkPath.convert = (t)=>t;
947
+ class Ignore {
948
+ constructor({ ignorecase: t = true, ignoreCase: e = t, allowRelativePaths: n = false } = {}){
949
+ define(this, h, true);
950
+ this._rules = new RuleManager(e);
951
+ this._strictPathCheck = !n;
952
+ this._initCache();
953
+ }
954
+ _initCache() {
955
+ this._ignoreCache = Object.create(null);
956
+ this._testCache = Object.create(null);
957
+ }
958
+ add(t) {
959
+ if (this._rules.add(t)) this._initCache();
960
+ return this;
961
+ }
962
+ addPattern(t) {
963
+ return this.add(t);
964
+ }
965
+ _test(t, e, n, r) {
966
+ const s = t && checkPath.convert(t);
967
+ checkPath(s, t, this._strictPathCheck ? throwError : RETURN_FALSE);
968
+ return this._t(s, e, n, r);
969
+ }
970
+ checkIgnore(t) {
971
+ if (!f.test(t)) return this.test(t);
972
+ const e = t.split(p).filter(Boolean);
973
+ e.pop();
974
+ if (e.length) {
975
+ const t = this._t(e.join(p) + p, this._testCache, true, e);
976
+ if (t.ignored) return t;
977
+ }
978
+ return this._rules.test(t, false, m);
979
+ }
980
+ _t(t, e, n, r) {
981
+ if (t in e) return e[t];
982
+ if (!r) r = t.split(p).filter(Boolean);
983
+ r.pop();
984
+ if (!r.length) return e[t] = this._rules.test(t, n, R);
985
+ const s = this._t(r.join(p) + p, e, n, r);
986
+ return e[t] = s.ignored ? s : this._rules.test(t, n, R);
987
+ }
988
+ ignores(t) {
989
+ return this._test(t, this._ignoreCache, false).ignored;
990
+ }
991
+ createFilter() {
992
+ return (t)=>!this.ignores(t);
993
+ }
994
+ filter(t) {
995
+ return makeArray(t).filter(this.createFilter());
996
+ }
997
+ test(t) {
998
+ return this._test(t, this._testCache, true);
999
+ }
1000
+ }
1001
+ const factory = (t)=>new Ignore(t);
1002
+ const isPathValid = (t)=>checkPath(t && checkPath.convert(t), t, RETURN_FALSE);
1003
+ const setupWindows = ()=>{
1004
+ const makePosix = (t)=>/^\\\\\?\\/.test(t) || /["<>|\u0000-\u001F]+/u.test(t) ? t : t.replace(/\\/g, "/");
1005
+ checkPath.convert = makePosix;
1006
+ const t = /^[a-z]:\//i;
1007
+ checkPath.isNotRelative = (e)=>t.test(e) || isNotRelative(e);
1008
+ };
1009
+ if ("u" > typeof process && "win32" === process.platform) setupWindows();
1010
+ t.exports = factory;
1011
+ factory.default = factory;
1012
+ t.exports.isPathValid = isPathValid;
1013
+ define(t.exports, Symbol.for("setupWindows"), setupWindows);
1014
+ },
1015
+ 460: (t)=>{
1016
+ /*!
1017
+ * is-number <https://github.com/jonschlinkert/is-number>
1018
+ *
1019
+ * Copyright (c) 2014-present, Jon Schlinkert.
1020
+ * Released under the MIT License.
1021
+ */ t.exports = function(t) {
1022
+ if ("number" == typeof t) return t - t === 0;
1023
+ if ("string" == typeof t && "" !== t.trim()) return Number.isFinite ? Number.isFinite(+t) : isFinite(+t);
1024
+ return false;
1025
+ };
1026
+ },
1027
+ 639: (t, e, n)=>{
1028
+ const r = n(23);
1029
+ const s = n(793);
1030
+ const o = n(176);
1031
+ const i = n(445);
1032
+ const isEmptyString = (t)=>"" === t || "./" === t;
1033
+ const hasBraces = (t)=>{
1034
+ const e = t.indexOf("{");
1035
+ return e > -1 && t.indexOf("}", e) > -1;
1036
+ };
1037
+ const micromatch = (t, e, n)=>{
1038
+ e = [].concat(e);
1039
+ t = [].concat(t);
1040
+ let r = new Set;
1041
+ let s = new Set;
1042
+ let i = new Set;
1043
+ let a = 0;
1044
+ let onResult = (t)=>{
1045
+ i.add(t.output);
1046
+ if (n && n.onResult) n.onResult(t);
1047
+ };
1048
+ for(let i = 0; i < e.length; i++){
1049
+ let u = o(String(e[i]), {
1050
+ ...n,
1051
+ onResult: onResult
1052
+ }, true);
1053
+ let c = u.state.negated || u.state.negatedExtglob;
1054
+ if (c) a++;
1055
+ for (let e of t){
1056
+ let t = u(e, true);
1057
+ let n = c ? !t.isMatch : t.isMatch;
1058
+ if (n) if (c) r.add(t.output);
1059
+ else {
1060
+ r.delete(t.output);
1061
+ s.add(t.output);
1062
+ }
1063
+ }
1064
+ }
1065
+ let u = a === e.length ? [
1066
+ ...i
1067
+ ] : [
1068
+ ...s
1069
+ ];
1070
+ let c = u.filter((t)=>!r.has(t));
1071
+ if (n && 0 === c.length) {
1072
+ if (true === n.failglob) throw new Error(`No matches found for "${e.join(", ")}"`);
1073
+ if (true === n.nonull || true === n.nullglob) return n.unescape ? e.map((t)=>t.replace(/\\/g, "")) : e;
1074
+ }
1075
+ return c;
1076
+ };
1077
+ micromatch.match = micromatch;
1078
+ micromatch.matcher = (t, e)=>o(t, e);
1079
+ micromatch.isMatch = (t, e, n)=>o(e, n)(t);
1080
+ micromatch.any = micromatch.isMatch;
1081
+ micromatch.not = (t, e, n = {})=>{
1082
+ e = [].concat(e).map(String);
1083
+ let r = new Set;
1084
+ let s = [];
1085
+ let onResult = (t)=>{
1086
+ if (n.onResult) n.onResult(t);
1087
+ s.push(t.output);
1088
+ };
1089
+ let o = new Set(micromatch(t, e, {
1090
+ ...n,
1091
+ onResult: onResult
1092
+ }));
1093
+ for (let t of s)if (!o.has(t)) r.add(t);
1094
+ return [
1095
+ ...r
1096
+ ];
1097
+ };
1098
+ micromatch.contains = (t, e, n)=>{
1099
+ if ("string" != typeof t) throw new TypeError(`Expected a string: "${r.inspect(t)}"`);
1100
+ if (Array.isArray(e)) return e.some((e)=>micromatch.contains(t, e, n));
1101
+ if ("string" == typeof e) {
1102
+ if (isEmptyString(t) || isEmptyString(e)) return false;
1103
+ if (t.includes(e) || t.startsWith("./") && t.slice(2).includes(e)) return true;
1104
+ }
1105
+ return micromatch.isMatch(t, e, {
1106
+ ...n,
1107
+ contains: true
1108
+ });
1109
+ };
1110
+ micromatch.matchKeys = (t, e, n)=>{
1111
+ if (!i.isObject(t)) throw new TypeError("Expected the first argument to be an object");
1112
+ let r = micromatch(Object.keys(t), e, n);
1113
+ let s = {};
1114
+ for (let e of r)s[e] = t[e];
1115
+ return s;
1116
+ };
1117
+ micromatch.some = (t, e, n)=>{
1118
+ let r = [].concat(t);
1119
+ for (let t of [].concat(e)){
1120
+ let e = o(String(t), n);
1121
+ if (r.some((t)=>e(t))) return true;
1122
+ }
1123
+ return false;
1124
+ };
1125
+ micromatch.every = (t, e, n)=>{
1126
+ let r = [].concat(t);
1127
+ for (let t of [].concat(e)){
1128
+ let e = o(String(t), n);
1129
+ if (!r.every((t)=>e(t))) return false;
1130
+ }
1131
+ return true;
1132
+ };
1133
+ micromatch.all = (t, e, n)=>{
1134
+ if ("string" != typeof t) throw new TypeError(`Expected a string: "${r.inspect(t)}"`);
1135
+ return [].concat(e).every((e)=>o(e, n)(t));
1136
+ };
1137
+ micromatch.capture = (t, e, n)=>{
1138
+ let r = i.isWindows(n);
1139
+ let s = o.makeRe(String(t), {
1140
+ ...n,
1141
+ capture: true
1142
+ });
1143
+ let a = s.exec(r ? i.toPosixSlashes(e) : e);
1144
+ if (a) return a.slice(1).map((t)=>void 0 === t ? "" : t);
1145
+ };
1146
+ micromatch.makeRe = (...t)=>o.makeRe(...t);
1147
+ micromatch.scan = (...t)=>o.scan(...t);
1148
+ micromatch.parse = (t, e)=>{
1149
+ let n = [];
1150
+ for (let r of [].concat(t || []))for (let t of s(String(r), e))n.push(o.parse(t, e));
1151
+ return n;
1152
+ };
1153
+ micromatch.braces = (t, e)=>{
1154
+ if ("string" != typeof t) throw new TypeError("Expected a string");
1155
+ if (e && true === e.nobrace || !hasBraces(t)) return [
1156
+ t
1157
+ ];
1158
+ return s(t, e);
1159
+ };
1160
+ micromatch.braceExpand = (t, e)=>{
1161
+ if ("string" != typeof t) throw new TypeError("Expected a string");
1162
+ return micromatch.braces(t, {
1163
+ ...e,
1164
+ expand: true
1165
+ });
1166
+ };
1167
+ micromatch.hasBraces = hasBraces;
1168
+ t.exports = micromatch;
1169
+ },
1170
+ 176: (t, e, n)=>{
1171
+ t.exports = n(810);
1172
+ },
1173
+ 193: (t, e, n)=>{
1174
+ const r = n(928);
1175
+ const s = "\\\\/";
1176
+ const o = `[^${s}]`;
1177
+ const i = 0;
1178
+ const a = "\\.";
1179
+ const u = "\\+";
1180
+ const c = "\\?";
1181
+ const l = "\\/";
1182
+ const f = "(?=.)";
1183
+ const p = "[^/]";
1184
+ const d = `(?:${l}|$)`;
1185
+ const h = `(?:^|${l})`;
1186
+ const g = `${a}{1,2}${d}`;
1187
+ const _ = `(?!${a})`;
1188
+ const A = `(?!${h}${g})`;
1189
+ const R = `(?!${a}{0,1}${d})`;
1190
+ const m = `(?!${g})`;
1191
+ const E = `[^.${l}]`;
1192
+ const b = `${p}*?`;
1193
+ const w = {
1194
+ DOT_LITERAL: a,
1195
+ PLUS_LITERAL: u,
1196
+ QMARK_LITERAL: c,
1197
+ SLASH_LITERAL: l,
1198
+ ONE_CHAR: f,
1199
+ QMARK: p,
1200
+ END_ANCHOR: d,
1201
+ DOTS_SLASH: g,
1202
+ NO_DOT: _,
1203
+ NO_DOTS: A,
1204
+ NO_DOT_SLASH: R,
1205
+ NO_DOTS_SLASH: m,
1206
+ QMARK_NO_DOT: E,
1207
+ STAR: b,
1208
+ START_ANCHOR: h
1209
+ };
1210
+ const C = {
1211
+ ...w,
1212
+ SLASH_LITERAL: `[${s}]`,
1213
+ QMARK: o,
1214
+ STAR: `${o}*?`,
1215
+ DOTS_SLASH: `${a}{1,2}(?:[${s}]|$)`,
1216
+ NO_DOT: `(?!${a})`,
1217
+ NO_DOTS: `(?!(?:^|[${s}])${a}{1,2}(?:[${s}]|$))`,
1218
+ NO_DOT_SLASH: `(?!${a}{0,1}(?:[${s}]|$))`,
1219
+ NO_DOTS_SLASH: `(?!${a}{1,2}(?:[${s}]|$))`,
1220
+ QMARK_NO_DOT: `[^.${s}]`,
1221
+ START_ANCHOR: `(?:^|[${s}])`,
1222
+ END_ANCHOR: `(?:[${s}]|$)`
1223
+ };
1224
+ const v = {
1225
+ __proto__: null,
1226
+ alnum: "a-zA-Z0-9",
1227
+ alpha: "a-zA-Z",
1228
+ ascii: "\\x00-\\x7F",
1229
+ blank: " \\t",
1230
+ cntrl: "\\x00-\\x1F\\x7F",
1231
+ digit: "0-9",
1232
+ graph: "\\x21-\\x7E",
1233
+ lower: "a-z",
1234
+ print: "\\x20-\\x7E ",
1235
+ punct: "\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",
1236
+ space: " \\t\\r\\n\\v\\f",
1237
+ upper: "A-Z",
1238
+ word: "A-Za-z0-9_",
1239
+ xdigit: "A-Fa-f0-9"
1240
+ };
1241
+ t.exports = {
1242
+ DEFAULT_MAX_EXTGLOB_RECURSION: i,
1243
+ MAX_LENGTH: 65536,
1244
+ POSIX_REGEX_SOURCE: v,
1245
+ REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g,
1246
+ REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/,
1247
+ REGEX_SPECIAL_CHARS: /[-*+?.^${}(|)[\]]/,
1248
+ REGEX_SPECIAL_CHARS_BACKREF: /(\\?)((\W)(\3*))/g,
1249
+ REGEX_SPECIAL_CHARS_GLOBAL: /([-*+?.^${}(|)[\]])/g,
1250
+ REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g,
1251
+ REPLACEMENTS: {
1252
+ __proto__: null,
1253
+ "***": "*",
1254
+ "**/**": "**",
1255
+ "**/**/**": "**"
1256
+ },
1257
+ CHAR_0: 48,
1258
+ CHAR_9: 57,
1259
+ CHAR_UPPERCASE_A: 65,
1260
+ CHAR_LOWERCASE_A: 97,
1261
+ CHAR_UPPERCASE_Z: 90,
1262
+ CHAR_LOWERCASE_Z: 122,
1263
+ CHAR_LEFT_PARENTHESES: 40,
1264
+ CHAR_RIGHT_PARENTHESES: 41,
1265
+ CHAR_ASTERISK: 42,
1266
+ CHAR_AMPERSAND: 38,
1267
+ CHAR_AT: 64,
1268
+ CHAR_BACKWARD_SLASH: 92,
1269
+ CHAR_CARRIAGE_RETURN: 13,
1270
+ CHAR_CIRCUMFLEX_ACCENT: 94,
1271
+ CHAR_COLON: 58,
1272
+ CHAR_COMMA: 44,
1273
+ CHAR_DOT: 46,
1274
+ CHAR_DOUBLE_QUOTE: 34,
1275
+ CHAR_EQUAL: 61,
1276
+ CHAR_EXCLAMATION_MARK: 33,
1277
+ CHAR_FORM_FEED: 12,
1278
+ CHAR_FORWARD_SLASH: 47,
1279
+ CHAR_GRAVE_ACCENT: 96,
1280
+ CHAR_HASH: 35,
1281
+ CHAR_HYPHEN_MINUS: 45,
1282
+ CHAR_LEFT_ANGLE_BRACKET: 60,
1283
+ CHAR_LEFT_CURLY_BRACE: 123,
1284
+ CHAR_LEFT_SQUARE_BRACKET: 91,
1285
+ CHAR_LINE_FEED: 10,
1286
+ CHAR_NO_BREAK_SPACE: 160,
1287
+ CHAR_PERCENT: 37,
1288
+ CHAR_PLUS: 43,
1289
+ CHAR_QUESTION_MARK: 63,
1290
+ CHAR_RIGHT_ANGLE_BRACKET: 62,
1291
+ CHAR_RIGHT_CURLY_BRACE: 125,
1292
+ CHAR_RIGHT_SQUARE_BRACKET: 93,
1293
+ CHAR_SEMICOLON: 59,
1294
+ CHAR_SINGLE_QUOTE: 39,
1295
+ CHAR_SPACE: 32,
1296
+ CHAR_TAB: 9,
1297
+ CHAR_UNDERSCORE: 95,
1298
+ CHAR_VERTICAL_LINE: 124,
1299
+ CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279,
1300
+ SEP: r.sep,
1301
+ extglobChars (t) {
1302
+ return {
1303
+ "!": {
1304
+ type: "negate",
1305
+ open: "(?:(?!(?:",
1306
+ close: `))${t.STAR})`
1307
+ },
1308
+ "?": {
1309
+ type: "qmark",
1310
+ open: "(?:",
1311
+ close: ")?"
1312
+ },
1313
+ "+": {
1314
+ type: "plus",
1315
+ open: "(?:",
1316
+ close: ")+"
1317
+ },
1318
+ "*": {
1319
+ type: "star",
1320
+ open: "(?:",
1321
+ close: ")*"
1322
+ },
1323
+ "@": {
1324
+ type: "at",
1325
+ open: "(?:",
1326
+ close: ")"
1327
+ }
1328
+ };
1329
+ },
1330
+ globChars (t) {
1331
+ return true === t ? C : w;
1332
+ }
1333
+ };
1334
+ },
1335
+ 143: (t, e, n)=>{
1336
+ const r = n(193);
1337
+ const s = n(445);
1338
+ const { MAX_LENGTH: o, POSIX_REGEX_SOURCE: i, REGEX_NON_SPECIAL_CHARS: a, REGEX_SPECIAL_CHARS_BACKREF: u, REPLACEMENTS: c } = r;
1339
+ const expandRange = (t, e)=>{
1340
+ if ("function" == typeof e.expandRange) return e.expandRange(...t, e);
1341
+ t.sort();
1342
+ const n = `[${t.join("-")}]`;
1343
+ try {
1344
+ new RegExp(n);
1345
+ } catch (e) {
1346
+ return t.map((t)=>s.escapeRegex(t)).join("..");
1347
+ }
1348
+ return n;
1349
+ };
1350
+ const syntaxError = (t, e)=>`Missing ${t}: "${e}" - use "\\\\${e}" to match literal characters`;
1351
+ const splitTopLevel = (t)=>{
1352
+ const e = [];
1353
+ let n = 0;
1354
+ let r = 0;
1355
+ let s = 0;
1356
+ let o = "";
1357
+ let i = false;
1358
+ for (const a of t){
1359
+ if (true === i) {
1360
+ o += a;
1361
+ i = false;
1362
+ continue;
1363
+ }
1364
+ if ("\\" === a) {
1365
+ o += a;
1366
+ i = true;
1367
+ continue;
1368
+ }
1369
+ if ('"' === a) {
1370
+ s = 1 === s ? 0 : 1;
1371
+ o += a;
1372
+ continue;
1373
+ }
1374
+ if (0 === s) {
1375
+ if ("[" === a) n++;
1376
+ else if ("]" === a && n > 0) n--;
1377
+ else if (0 === n) {
1378
+ if ("(" === a) r++;
1379
+ else if (")" === a && r > 0) r--;
1380
+ else if ("|" === a && 0 === r) {
1381
+ e.push(o);
1382
+ o = "";
1383
+ continue;
1384
+ }
1385
+ }
1386
+ }
1387
+ o += a;
1388
+ }
1389
+ e.push(o);
1390
+ return e;
1391
+ };
1392
+ const isPlainBranch = (t)=>{
1393
+ let e = false;
1394
+ for (const n of t){
1395
+ if (true === e) {
1396
+ e = false;
1397
+ continue;
1398
+ }
1399
+ if ("\\" === n) {
1400
+ e = true;
1401
+ continue;
1402
+ }
1403
+ if (/[?*+@!()[\]{}]/.test(n)) return false;
1404
+ }
1405
+ return true;
1406
+ };
1407
+ const normalizeSimpleBranch = (t)=>{
1408
+ let e = t.trim();
1409
+ let n = true;
1410
+ while(true === n){
1411
+ n = false;
1412
+ if (/^@\([^\\()[\]{}|]+\)$/.test(e)) {
1413
+ e = e.slice(2, -1);
1414
+ n = true;
1415
+ }
1416
+ }
1417
+ if (!isPlainBranch(e)) return;
1418
+ return e.replace(/\\(.)/g, "$1");
1419
+ };
1420
+ const hasRepeatedCharPrefixOverlap = (t)=>{
1421
+ const e = t.map(normalizeSimpleBranch).filter(Boolean);
1422
+ for(let t = 0; t < e.length; t++)for(let n = t + 1; n < e.length; n++){
1423
+ const r = e[t];
1424
+ const s = e[n];
1425
+ const o = r[0];
1426
+ if (o && r === o.repeat(r.length) && s === o.repeat(s.length)) {
1427
+ if (r === s || r.startsWith(s) || s.startsWith(r)) return true;
1428
+ }
1429
+ }
1430
+ return false;
1431
+ };
1432
+ const parseRepeatedExtglob = (t, e = true)=>{
1433
+ if ("+" !== t[0] && "*" !== t[0] || "(" !== t[1]) return;
1434
+ let n = 0;
1435
+ let r = 0;
1436
+ let s = 0;
1437
+ let o = false;
1438
+ for(let i = 1; i < t.length; i++){
1439
+ const a = t[i];
1440
+ if (true === o) {
1441
+ o = false;
1442
+ continue;
1443
+ }
1444
+ if ("\\" === a) {
1445
+ o = true;
1446
+ continue;
1447
+ }
1448
+ if ('"' === a) {
1449
+ s = 1 === s ? 0 : 1;
1450
+ continue;
1451
+ }
1452
+ if (1 !== s) {
1453
+ if ("[" === a) {
1454
+ n++;
1455
+ continue;
1456
+ }
1457
+ if ("]" === a && n > 0) {
1458
+ n--;
1459
+ continue;
1460
+ }
1461
+ if (!(n > 0)) {
1462
+ if ("(" === a) {
1463
+ r++;
1464
+ continue;
1465
+ }
1466
+ if (")" === a) {
1467
+ r--;
1468
+ if (0 === r) {
1469
+ if (true === e && i !== t.length - 1) return;
1470
+ return {
1471
+ type: t[0],
1472
+ body: t.slice(2, i),
1473
+ end: i
1474
+ };
1475
+ }
1476
+ }
1477
+ }
1478
+ }
1479
+ }
1480
+ };
1481
+ const getStarExtglobSequenceOutput = (t)=>{
1482
+ let e = 0;
1483
+ const n = [];
1484
+ while(e < t.length){
1485
+ const r = parseRepeatedExtglob(t.slice(e), false);
1486
+ if (!r || "*" !== r.type) return;
1487
+ const s = splitTopLevel(r.body).map((t)=>t.trim());
1488
+ if (1 !== s.length) return;
1489
+ const o = normalizeSimpleBranch(s[0]);
1490
+ if (!o || 1 !== o.length) return;
1491
+ n.push(o);
1492
+ e += r.end + 1;
1493
+ }
1494
+ if (n.length < 1) return;
1495
+ const r = 1 === n.length ? s.escapeRegex(n[0]) : `[${n.map((t)=>s.escapeRegex(t)).join("")}]`;
1496
+ return `${r}*`;
1497
+ };
1498
+ const repeatedExtglobRecursion = (t)=>{
1499
+ let e = 0;
1500
+ let n = t.trim();
1501
+ let r = parseRepeatedExtglob(n);
1502
+ while(r){
1503
+ e++;
1504
+ n = r.body.trim();
1505
+ r = parseRepeatedExtglob(n);
1506
+ }
1507
+ return e;
1508
+ };
1509
+ const analyzeRepeatedExtglob = (t, e)=>{
1510
+ if (false === e.maxExtglobRecursion) return {
1511
+ risky: false
1512
+ };
1513
+ const n = "number" == typeof e.maxExtglobRecursion ? e.maxExtglobRecursion : r.DEFAULT_MAX_EXTGLOB_RECURSION;
1514
+ const s = splitTopLevel(t).map((t)=>t.trim());
1515
+ if (s.length > 1) {
1516
+ if (s.some((t)=>"" === t) || s.some((t)=>/^[*?]+$/.test(t)) || hasRepeatedCharPrefixOverlap(s)) return {
1517
+ risky: true
1518
+ };
1519
+ }
1520
+ for (const t of s){
1521
+ const e = getStarExtglobSequenceOutput(t);
1522
+ if (e) return {
1523
+ risky: true,
1524
+ safeOutput: e
1525
+ };
1526
+ if (repeatedExtglobRecursion(t) > n) return {
1527
+ risky: true
1528
+ };
1529
+ }
1530
+ return {
1531
+ risky: false
1532
+ };
1533
+ };
1534
+ const parse = (t, e)=>{
1535
+ if ("string" != typeof t) throw new TypeError("Expected a string");
1536
+ t = c[t] || t;
1537
+ const n = {
1538
+ ...e
1539
+ };
1540
+ const l = "number" == typeof n.maxLength ? Math.min(o, n.maxLength) : o;
1541
+ let f = t.length;
1542
+ if (f > l) throw new SyntaxError(`Input length: ${f}, exceeds maximum allowed length: ${l}`);
1543
+ const p = {
1544
+ type: "bos",
1545
+ value: "",
1546
+ output: n.prepend || ""
1547
+ };
1548
+ const d = [
1549
+ p
1550
+ ];
1551
+ const h = n.capture ? "" : "?:";
1552
+ const g = s.isWindows(e);
1553
+ const _ = r.globChars(g);
1554
+ const A = r.extglobChars(_);
1555
+ const { DOT_LITERAL: R, PLUS_LITERAL: m, SLASH_LITERAL: E, ONE_CHAR: b, DOTS_SLASH: w, NO_DOT: C, NO_DOT_SLASH: v, NO_DOTS_SLASH: S, QMARK: $, QMARK_NO_DOT: H, STAR: T, START_ANCHOR: O } = _;
1556
+ const globstar = (t)=>`(${h}(?:(?!${O}${t.dot ? w : R}).)*?)`;
1557
+ const L = n.dot ? "" : C;
1558
+ const P = n.dot ? $ : H;
1559
+ let k = true === n.bash ? globstar(n) : T;
1560
+ if (n.capture) k = `(${k})`;
1561
+ if ("boolean" == typeof n.noext) n.noextglob = n.noext;
1562
+ const I = {
1563
+ input: t,
1564
+ index: -1,
1565
+ start: 0,
1566
+ dot: true === n.dot,
1567
+ consumed: "",
1568
+ output: "",
1569
+ prefix: "",
1570
+ backtrack: false,
1571
+ negated: false,
1572
+ brackets: 0,
1573
+ braces: 0,
1574
+ parens: 0,
1575
+ quotes: 0,
1576
+ globstar: false,
1577
+ tokens: d
1578
+ };
1579
+ t = s.removePrefix(t, I);
1580
+ f = t.length;
1581
+ const N = [];
1582
+ const M = [];
1583
+ const B = [];
1584
+ let D = p;
1585
+ let F;
1586
+ const eos = ()=>I.index === f - 1;
1587
+ const G = I.peek = (e = 1)=>t[I.index + e];
1588
+ const U = I.advance = ()=>t[++I.index] || "";
1589
+ const remaining = ()=>t.slice(I.index + 1);
1590
+ const consume = (t = "", e = 0)=>{
1591
+ I.consumed += t;
1592
+ I.index += e;
1593
+ };
1594
+ const append = (t)=>{
1595
+ I.output += null != t.output ? t.output : t.value;
1596
+ consume(t.value);
1597
+ };
1598
+ const negate = ()=>{
1599
+ let t = 1;
1600
+ while("!" === G() && ("(" !== G(2) || "?" === G(3))){
1601
+ U();
1602
+ I.start++;
1603
+ t++;
1604
+ }
1605
+ if (t % 2 === 0) return false;
1606
+ I.negated = true;
1607
+ I.start++;
1608
+ return true;
1609
+ };
1610
+ const increment = (t)=>{
1611
+ I[t]++;
1612
+ B.push(t);
1613
+ };
1614
+ const decrement = (t)=>{
1615
+ I[t]--;
1616
+ B.pop();
1617
+ };
1618
+ const push = (t)=>{
1619
+ if ("globstar" === D.type) {
1620
+ const e = I.braces > 0 && ("comma" === t.type || "brace" === t.type);
1621
+ const n = true === t.extglob || N.length && ("pipe" === t.type || "paren" === t.type);
1622
+ if ("slash" !== t.type && "paren" !== t.type && !e && !n) {
1623
+ I.output = I.output.slice(0, -D.output.length);
1624
+ D.type = "star";
1625
+ D.value = "*";
1626
+ D.output = k;
1627
+ I.output += D.output;
1628
+ }
1629
+ }
1630
+ if (N.length && "paren" !== t.type) N[N.length - 1].inner += t.value;
1631
+ if (t.value || t.output) append(t);
1632
+ if (D && "text" === D.type && "text" === t.type) {
1633
+ D.value += t.value;
1634
+ D.output = (D.output || "") + t.value;
1635
+ return;
1636
+ }
1637
+ t.prev = D;
1638
+ d.push(t);
1639
+ D = t;
1640
+ };
1641
+ const extglobOpen = (t, e)=>{
1642
+ const r = {
1643
+ ...A[e],
1644
+ conditions: 1,
1645
+ inner: ""
1646
+ };
1647
+ r.prev = D;
1648
+ r.parens = I.parens;
1649
+ r.output = I.output;
1650
+ r.startIndex = I.index;
1651
+ r.tokensIndex = d.length;
1652
+ const s = (n.capture ? "(" : "") + r.open;
1653
+ increment("parens");
1654
+ push({
1655
+ type: t,
1656
+ value: e,
1657
+ output: I.output ? "" : b
1658
+ });
1659
+ push({
1660
+ type: "paren",
1661
+ extglob: true,
1662
+ value: U(),
1663
+ output: s
1664
+ });
1665
+ N.push(r);
1666
+ };
1667
+ const extglobClose = (r)=>{
1668
+ const o = t.slice(r.startIndex, I.index + 1);
1669
+ const i = t.slice(r.startIndex + 2, I.index);
1670
+ const a = analyzeRepeatedExtglob(i, n);
1671
+ if (("plus" === r.type || "star" === r.type) && a.risky) {
1672
+ const t = a.safeOutput ? (r.output ? "" : b) + (n.capture ? `(${a.safeOutput})` : a.safeOutput) : void 0;
1673
+ const e = d[r.tokensIndex];
1674
+ e.type = "text";
1675
+ e.value = o;
1676
+ e.output = t || s.escapeRegex(o);
1677
+ for(let t = r.tokensIndex + 1; t < d.length; t++){
1678
+ d[t].value = "";
1679
+ d[t].output = "";
1680
+ delete d[t].suffix;
1681
+ }
1682
+ I.output = r.output + e.output;
1683
+ I.backtrack = true;
1684
+ push({
1685
+ type: "paren",
1686
+ extglob: true,
1687
+ value: F,
1688
+ output: ""
1689
+ });
1690
+ decrement("parens");
1691
+ return;
1692
+ }
1693
+ let u = r.close + (n.capture ? ")" : "");
1694
+ let c;
1695
+ if ("negate" === r.type) {
1696
+ let t = k;
1697
+ if (r.inner && r.inner.length > 1 && r.inner.includes("/")) t = globstar(n);
1698
+ if (t !== k || eos() || /^\)+$/.test(remaining())) u = r.close = `)$))${t}`;
1699
+ if (r.inner.includes("*") && (c = remaining()) && /^\.[^\\/.]+$/.test(c)) {
1700
+ const n = parse(c, {
1701
+ ...e,
1702
+ fastpaths: false
1703
+ }).output;
1704
+ u = r.close = `)${n})${t})`;
1705
+ }
1706
+ if ("bos" === r.prev.type) I.negatedExtglob = true;
1707
+ }
1708
+ push({
1709
+ type: "paren",
1710
+ extglob: true,
1711
+ value: F,
1712
+ output: u
1713
+ });
1714
+ decrement("parens");
1715
+ };
1716
+ if (false !== n.fastpaths && !/(^[*!]|[/()[\]{}"])/.test(t)) {
1717
+ let r = false;
1718
+ let o = t.replace(u, (t, e, n, s, o, i)=>{
1719
+ if ("\\" === s) {
1720
+ r = true;
1721
+ return t;
1722
+ }
1723
+ if ("?" === s) {
1724
+ if (e) return e + s + (o ? $.repeat(o.length) : "");
1725
+ if (0 === i) return P + (o ? $.repeat(o.length) : "");
1726
+ return $.repeat(n.length);
1727
+ }
1728
+ if ("." === s) return R.repeat(n.length);
1729
+ if ("*" === s) {
1730
+ if (e) return e + s + (o ? k : "");
1731
+ return k;
1732
+ }
1733
+ return e ? t : `\\${t}`;
1734
+ });
1735
+ if (true === r) o = true === n.unescape ? o.replace(/\\/g, "") : o.replace(/\\+/g, (t)=>t.length % 2 === 0 ? "\\\\" : t ? "\\" : "");
1736
+ if (o === t && true === n.contains) {
1737
+ I.output = t;
1738
+ return I;
1739
+ }
1740
+ I.output = s.wrapOutput(o, I, e);
1741
+ return I;
1742
+ }
1743
+ while(!eos()){
1744
+ F = U();
1745
+ if ("\0" === F) continue;
1746
+ if ("\\" === F) {
1747
+ const t = G();
1748
+ if ("/" === t && true !== n.bash) continue;
1749
+ if ("." === t || ";" === t) continue;
1750
+ if (!t) {
1751
+ F += "\\";
1752
+ push({
1753
+ type: "text",
1754
+ value: F
1755
+ });
1756
+ continue;
1757
+ }
1758
+ const e = /^\\+/.exec(remaining());
1759
+ let r = 0;
1760
+ if (e && e[0].length > 2) {
1761
+ r = e[0].length;
1762
+ I.index += r;
1763
+ if (r % 2 !== 0) F += "\\";
1764
+ }
1765
+ if (true === n.unescape) F = U();
1766
+ else F += U();
1767
+ if (0 === I.brackets) {
1768
+ push({
1769
+ type: "text",
1770
+ value: F
1771
+ });
1772
+ continue;
1773
+ }
1774
+ }
1775
+ if (I.brackets > 0 && ("]" !== F || "[" === D.value || "[^" === D.value)) {
1776
+ if (false !== n.posix && ":" === F) {
1777
+ const t = D.value.slice(1);
1778
+ if (t.includes("[")) {
1779
+ D.posix = true;
1780
+ if (t.includes(":")) {
1781
+ const t = D.value.lastIndexOf("[");
1782
+ const e = D.value.slice(0, t);
1783
+ const n = D.value.slice(t + 2);
1784
+ const r = i[n];
1785
+ if (r) {
1786
+ D.value = e + r;
1787
+ I.backtrack = true;
1788
+ U();
1789
+ if (!p.output && 1 === d.indexOf(D)) p.output = b;
1790
+ continue;
1791
+ }
1792
+ }
1793
+ }
1794
+ }
1795
+ if ("[" === F && ":" !== G() || "-" === F && "]" === G()) F = `\\${F}`;
1796
+ if ("]" === F && ("[" === D.value || "[^" === D.value)) F = `\\${F}`;
1797
+ if (true === n.posix && "!" === F && "[" === D.value) F = "^";
1798
+ D.value += F;
1799
+ append({
1800
+ value: F
1801
+ });
1802
+ continue;
1803
+ }
1804
+ if (1 === I.quotes && '"' !== F) {
1805
+ F = s.escapeRegex(F);
1806
+ D.value += F;
1807
+ append({
1808
+ value: F
1809
+ });
1810
+ continue;
1811
+ }
1812
+ if ('"' === F) {
1813
+ I.quotes = 1 === I.quotes ? 0 : 1;
1814
+ if (true === n.keepQuotes) push({
1815
+ type: "text",
1816
+ value: F
1817
+ });
1818
+ continue;
1819
+ }
1820
+ if ("(" === F) {
1821
+ increment("parens");
1822
+ push({
1823
+ type: "paren",
1824
+ value: F
1825
+ });
1826
+ continue;
1827
+ }
1828
+ if (")" === F) {
1829
+ if (0 === I.parens && true === n.strictBrackets) throw new SyntaxError(syntaxError("opening", "("));
1830
+ const t = N[N.length - 1];
1831
+ if (t && I.parens === t.parens + 1) {
1832
+ extglobClose(N.pop());
1833
+ continue;
1834
+ }
1835
+ push({
1836
+ type: "paren",
1837
+ value: F,
1838
+ output: I.parens ? ")" : "\\)"
1839
+ });
1840
+ decrement("parens");
1841
+ continue;
1842
+ }
1843
+ if ("[" === F) {
1844
+ if (true !== n.nobracket && remaining().includes("]")) increment("brackets");
1845
+ else {
1846
+ if (true !== n.nobracket && true === n.strictBrackets) throw new SyntaxError(syntaxError("closing", "]"));
1847
+ F = `\\${F}`;
1848
+ }
1849
+ push({
1850
+ type: "bracket",
1851
+ value: F
1852
+ });
1853
+ continue;
1854
+ }
1855
+ if ("]" === F) {
1856
+ if (true === n.nobracket || D && "bracket" === D.type && 1 === D.value.length) {
1857
+ push({
1858
+ type: "text",
1859
+ value: F,
1860
+ output: `\\${F}`
1861
+ });
1862
+ continue;
1863
+ }
1864
+ if (0 === I.brackets) {
1865
+ if (true === n.strictBrackets) throw new SyntaxError(syntaxError("opening", "["));
1866
+ push({
1867
+ type: "text",
1868
+ value: F,
1869
+ output: `\\${F}`
1870
+ });
1871
+ continue;
1872
+ }
1873
+ decrement("brackets");
1874
+ const t = D.value.slice(1);
1875
+ if (true !== D.posix && "^" === t[0] && !t.includes("/")) F = `/${F}`;
1876
+ D.value += F;
1877
+ append({
1878
+ value: F
1879
+ });
1880
+ if (false === n.literalBrackets || s.hasRegexChars(t)) continue;
1881
+ const e = s.escapeRegex(D.value);
1882
+ I.output = I.output.slice(0, -D.value.length);
1883
+ if (true === n.literalBrackets) {
1884
+ I.output += e;
1885
+ D.value = e;
1886
+ continue;
1887
+ }
1888
+ D.value = `(${h}${e}|${D.value})`;
1889
+ I.output += D.value;
1890
+ continue;
1891
+ }
1892
+ if ("{" === F && true !== n.nobrace) {
1893
+ increment("braces");
1894
+ const t = {
1895
+ type: "brace",
1896
+ value: F,
1897
+ output: "(",
1898
+ outputIndex: I.output.length,
1899
+ tokensIndex: I.tokens.length
1900
+ };
1901
+ M.push(t);
1902
+ push(t);
1903
+ continue;
1904
+ }
1905
+ if ("}" === F) {
1906
+ const t = M[M.length - 1];
1907
+ if (true === n.nobrace || !t) {
1908
+ push({
1909
+ type: "text",
1910
+ value: F,
1911
+ output: F
1912
+ });
1913
+ continue;
1914
+ }
1915
+ let e = ")";
1916
+ if (true === t.dots) {
1917
+ const t = d.slice();
1918
+ const r = [];
1919
+ for(let e = t.length - 1; e >= 0; e--){
1920
+ d.pop();
1921
+ if ("brace" === t[e].type) break;
1922
+ if ("dots" !== t[e].type) r.unshift(t[e].value);
1923
+ }
1924
+ e = expandRange(r, n);
1925
+ I.backtrack = true;
1926
+ }
1927
+ if (true !== t.comma && true !== t.dots) {
1928
+ const n = I.output.slice(0, t.outputIndex);
1929
+ const r = I.tokens.slice(t.tokensIndex);
1930
+ t.value = t.output = "\\{";
1931
+ F = e = "\\}";
1932
+ I.output = n;
1933
+ for (const t of r)I.output += t.output || t.value;
1934
+ }
1935
+ push({
1936
+ type: "brace",
1937
+ value: F,
1938
+ output: e
1939
+ });
1940
+ decrement("braces");
1941
+ M.pop();
1942
+ continue;
1943
+ }
1944
+ if ("|" === F) {
1945
+ if (N.length > 0) N[N.length - 1].conditions++;
1946
+ push({
1947
+ type: "text",
1948
+ value: F
1949
+ });
1950
+ continue;
1951
+ }
1952
+ if ("," === F) {
1953
+ let t = F;
1954
+ const e = M[M.length - 1];
1955
+ if (e && "braces" === B[B.length - 1]) {
1956
+ e.comma = true;
1957
+ t = "|";
1958
+ }
1959
+ push({
1960
+ type: "comma",
1961
+ value: F,
1962
+ output: t
1963
+ });
1964
+ continue;
1965
+ }
1966
+ if ("/" === F) {
1967
+ if ("dot" === D.type && I.index === I.start + 1) {
1968
+ I.start = I.index + 1;
1969
+ I.consumed = "";
1970
+ I.output = "";
1971
+ d.pop();
1972
+ D = p;
1973
+ continue;
1974
+ }
1975
+ push({
1976
+ type: "slash",
1977
+ value: F,
1978
+ output: E
1979
+ });
1980
+ continue;
1981
+ }
1982
+ if ("." === F) {
1983
+ if (I.braces > 0 && "dot" === D.type) {
1984
+ if ("." === D.value) D.output = R;
1985
+ const t = M[M.length - 1];
1986
+ D.type = "dots";
1987
+ D.output += F;
1988
+ D.value += F;
1989
+ t.dots = true;
1990
+ continue;
1991
+ }
1992
+ if (I.braces + I.parens === 0 && "bos" !== D.type && "slash" !== D.type) {
1993
+ push({
1994
+ type: "text",
1995
+ value: F,
1996
+ output: R
1997
+ });
1998
+ continue;
1999
+ }
2000
+ push({
2001
+ type: "dot",
2002
+ value: F,
2003
+ output: R
2004
+ });
2005
+ continue;
2006
+ }
2007
+ if ("?" === F) {
2008
+ const t = D && "(" === D.value;
2009
+ if (!t && true !== n.noextglob && "(" === G() && "?" !== G(2)) {
2010
+ extglobOpen("qmark", F);
2011
+ continue;
2012
+ }
2013
+ if (D && "paren" === D.type) {
2014
+ const t = G();
2015
+ let e = F;
2016
+ if ("<" === t && !s.supportsLookbehinds()) throw new Error("Node.js v10 or higher is required for regex lookbehinds");
2017
+ if ("(" === D.value && !/[!=<:]/.test(t) || "<" === t && !/<([!=]|\w+>)/.test(remaining())) e = `\\${F}`;
2018
+ push({
2019
+ type: "text",
2020
+ value: F,
2021
+ output: e
2022
+ });
2023
+ continue;
2024
+ }
2025
+ if (true !== n.dot && ("slash" === D.type || "bos" === D.type)) {
2026
+ push({
2027
+ type: "qmark",
2028
+ value: F,
2029
+ output: H
2030
+ });
2031
+ continue;
2032
+ }
2033
+ push({
2034
+ type: "qmark",
2035
+ value: F,
2036
+ output: $
2037
+ });
2038
+ continue;
2039
+ }
2040
+ if ("!" === F) {
2041
+ if (true !== n.noextglob && "(" === G()) {
2042
+ if ("?" !== G(2) || !/[!=<:]/.test(G(3))) {
2043
+ extglobOpen("negate", F);
2044
+ continue;
2045
+ }
2046
+ }
2047
+ if (true !== n.nonegate && 0 === I.index) {
2048
+ negate();
2049
+ continue;
2050
+ }
2051
+ }
2052
+ if ("+" === F) {
2053
+ if (true !== n.noextglob && "(" === G() && "?" !== G(2)) {
2054
+ extglobOpen("plus", F);
2055
+ continue;
2056
+ }
2057
+ if (D && "(" === D.value || false === n.regex) {
2058
+ push({
2059
+ type: "plus",
2060
+ value: F,
2061
+ output: m
2062
+ });
2063
+ continue;
2064
+ }
2065
+ if (D && ("bracket" === D.type || "paren" === D.type || "brace" === D.type) || I.parens > 0) {
2066
+ push({
2067
+ type: "plus",
2068
+ value: F
2069
+ });
2070
+ continue;
2071
+ }
2072
+ push({
2073
+ type: "plus",
2074
+ value: m
2075
+ });
2076
+ continue;
2077
+ }
2078
+ if ("@" === F) {
2079
+ if (true !== n.noextglob && "(" === G() && "?" !== G(2)) {
2080
+ push({
2081
+ type: "at",
2082
+ extglob: true,
2083
+ value: F,
2084
+ output: ""
2085
+ });
2086
+ continue;
2087
+ }
2088
+ push({
2089
+ type: "text",
2090
+ value: F
2091
+ });
2092
+ continue;
2093
+ }
2094
+ if ("*" !== F) {
2095
+ if ("$" === F || "^" === F) F = `\\${F}`;
2096
+ const t = a.exec(remaining());
2097
+ if (t) {
2098
+ F += t[0];
2099
+ I.index += t[0].length;
2100
+ }
2101
+ push({
2102
+ type: "text",
2103
+ value: F
2104
+ });
2105
+ continue;
2106
+ }
2107
+ if (D && ("globstar" === D.type || true === D.star)) {
2108
+ D.type = "star";
2109
+ D.star = true;
2110
+ D.value += F;
2111
+ D.output = k;
2112
+ I.backtrack = true;
2113
+ I.globstar = true;
2114
+ consume(F);
2115
+ continue;
2116
+ }
2117
+ let e = remaining();
2118
+ if (true !== n.noextglob && /^\([^?]/.test(e)) {
2119
+ extglobOpen("star", F);
2120
+ continue;
2121
+ }
2122
+ if ("star" === D.type) {
2123
+ if (true === n.noglobstar) {
2124
+ consume(F);
2125
+ continue;
2126
+ }
2127
+ const r = D.prev;
2128
+ const s = r.prev;
2129
+ const o = "slash" === r.type || "bos" === r.type;
2130
+ const i = s && ("star" === s.type || "globstar" === s.type);
2131
+ if (true === n.bash && (!o || e[0] && "/" !== e[0])) {
2132
+ push({
2133
+ type: "star",
2134
+ value: F,
2135
+ output: ""
2136
+ });
2137
+ continue;
2138
+ }
2139
+ const a = I.braces > 0 && ("comma" === r.type || "brace" === r.type);
2140
+ const u = N.length && ("pipe" === r.type || "paren" === r.type);
2141
+ if (!o && "paren" !== r.type && !a && !u) {
2142
+ push({
2143
+ type: "star",
2144
+ value: F,
2145
+ output: ""
2146
+ });
2147
+ continue;
2148
+ }
2149
+ while("/**" === e.slice(0, 3)){
2150
+ const n = t[I.index + 4];
2151
+ if (n && "/" !== n) break;
2152
+ e = e.slice(3);
2153
+ consume("/**", 3);
2154
+ }
2155
+ if ("bos" === r.type && eos()) {
2156
+ D.type = "globstar";
2157
+ D.value += F;
2158
+ D.output = globstar(n);
2159
+ I.output = D.output;
2160
+ I.globstar = true;
2161
+ consume(F);
2162
+ continue;
2163
+ }
2164
+ if ("slash" === r.type && "bos" !== r.prev.type && !i && eos()) {
2165
+ I.output = I.output.slice(0, -(r.output + D.output).length);
2166
+ r.output = `(?:${r.output}`;
2167
+ D.type = "globstar";
2168
+ D.output = globstar(n) + (n.strictSlashes ? ")" : "|$)");
2169
+ D.value += F;
2170
+ I.globstar = true;
2171
+ I.output += r.output + D.output;
2172
+ consume(F);
2173
+ continue;
2174
+ }
2175
+ if ("slash" === r.type && "bos" !== r.prev.type && "/" === e[0]) {
2176
+ const t = void 0 !== e[1] ? "|$" : "";
2177
+ I.output = I.output.slice(0, -(r.output + D.output).length);
2178
+ r.output = `(?:${r.output}`;
2179
+ D.type = "globstar";
2180
+ D.output = `${globstar(n)}${E}|${E}${t})`;
2181
+ D.value += F;
2182
+ I.output += r.output + D.output;
2183
+ I.globstar = true;
2184
+ consume(F + U());
2185
+ push({
2186
+ type: "slash",
2187
+ value: "/",
2188
+ output: ""
2189
+ });
2190
+ continue;
2191
+ }
2192
+ if ("bos" === r.type && "/" === e[0]) {
2193
+ D.type = "globstar";
2194
+ D.value += F;
2195
+ D.output = `(?:^|${E}|${globstar(n)}${E})`;
2196
+ I.output = D.output;
2197
+ I.globstar = true;
2198
+ consume(F + U());
2199
+ push({
2200
+ type: "slash",
2201
+ value: "/",
2202
+ output: ""
2203
+ });
2204
+ continue;
2205
+ }
2206
+ I.output = I.output.slice(0, -D.output.length);
2207
+ D.type = "globstar";
2208
+ D.output = globstar(n);
2209
+ D.value += F;
2210
+ I.output += D.output;
2211
+ I.globstar = true;
2212
+ consume(F);
2213
+ continue;
2214
+ }
2215
+ const r = {
2216
+ type: "star",
2217
+ value: F,
2218
+ output: k
2219
+ };
2220
+ if (true === n.bash) {
2221
+ r.output = ".*?";
2222
+ if ("bos" === D.type || "slash" === D.type) r.output = L + r.output;
2223
+ push(r);
2224
+ continue;
2225
+ }
2226
+ if (D && ("bracket" === D.type || "paren" === D.type) && true === n.regex) {
2227
+ r.output = F;
2228
+ push(r);
2229
+ continue;
2230
+ }
2231
+ if (I.index === I.start || "slash" === D.type || "dot" === D.type) {
2232
+ if ("dot" === D.type) {
2233
+ I.output += v;
2234
+ D.output += v;
2235
+ } else if (true === n.dot) {
2236
+ I.output += S;
2237
+ D.output += S;
2238
+ } else {
2239
+ I.output += L;
2240
+ D.output += L;
2241
+ }
2242
+ if ("*" !== G()) {
2243
+ I.output += b;
2244
+ D.output += b;
2245
+ }
2246
+ }
2247
+ push(r);
2248
+ }
2249
+ while(I.brackets > 0){
2250
+ if (true === n.strictBrackets) throw new SyntaxError(syntaxError("closing", "]"));
2251
+ I.output = s.escapeLast(I.output, "[");
2252
+ decrement("brackets");
2253
+ }
2254
+ while(I.parens > 0){
2255
+ if (true === n.strictBrackets) throw new SyntaxError(syntaxError("closing", ")"));
2256
+ I.output = s.escapeLast(I.output, "(");
2257
+ decrement("parens");
2258
+ }
2259
+ while(I.braces > 0){
2260
+ if (true === n.strictBrackets) throw new SyntaxError(syntaxError("closing", "}"));
2261
+ I.output = s.escapeLast(I.output, "{");
2262
+ decrement("braces");
2263
+ }
2264
+ if (true !== n.strictSlashes && ("star" === D.type || "bracket" === D.type)) push({
2265
+ type: "maybe_slash",
2266
+ value: "",
2267
+ output: `${E}?`
2268
+ });
2269
+ if (true === I.backtrack) {
2270
+ I.output = "";
2271
+ for (const t of I.tokens){
2272
+ I.output += null != t.output ? t.output : t.value;
2273
+ if (t.suffix) I.output += t.suffix;
2274
+ }
2275
+ }
2276
+ return I;
2277
+ };
2278
+ parse.fastpaths = (t, e)=>{
2279
+ const n = {
2280
+ ...e
2281
+ };
2282
+ const i = "number" == typeof n.maxLength ? Math.min(o, n.maxLength) : o;
2283
+ const a = t.length;
2284
+ if (a > i) throw new SyntaxError(`Input length: ${a}, exceeds maximum allowed length: ${i}`);
2285
+ t = c[t] || t;
2286
+ const u = s.isWindows(e);
2287
+ const { DOT_LITERAL: l, SLASH_LITERAL: f, ONE_CHAR: p, DOTS_SLASH: d, NO_DOT: h, NO_DOTS: g, NO_DOTS_SLASH: _, STAR: A, START_ANCHOR: R } = r.globChars(u);
2288
+ const m = n.dot ? g : h;
2289
+ const E = n.dot ? _ : h;
2290
+ const b = n.capture ? "" : "?:";
2291
+ const w = {
2292
+ negated: false,
2293
+ prefix: ""
2294
+ };
2295
+ let C = true === n.bash ? ".*?" : A;
2296
+ if (n.capture) C = `(${C})`;
2297
+ const globstar = (t)=>{
2298
+ if (true === t.noglobstar) return C;
2299
+ return `(${b}(?:(?!${R}${t.dot ? d : l}).)*?)`;
2300
+ };
2301
+ const create = (t)=>{
2302
+ switch(t){
2303
+ case "*":
2304
+ return `${m}${p}${C}`;
2305
+ case ".*":
2306
+ return `${l}${p}${C}`;
2307
+ case "*.*":
2308
+ return `${m}${C}${l}${p}${C}`;
2309
+ case "*/*":
2310
+ return `${m}${C}${f}${p}${E}${C}`;
2311
+ case "**":
2312
+ return m + globstar(n);
2313
+ case "**/*":
2314
+ return `(?:${m}${globstar(n)}${f})?${E}${p}${C}`;
2315
+ case "**/*.*":
2316
+ return `(?:${m}${globstar(n)}${f})?${E}${C}${l}${p}${C}`;
2317
+ case "**/.*":
2318
+ return `(?:${m}${globstar(n)}${f})?${l}${p}${C}`;
2319
+ default:
2320
+ {
2321
+ const e = /^(.*?)\.(\w+)$/.exec(t);
2322
+ if (!e) return;
2323
+ const n = create(e[1]);
2324
+ if (!n) return;
2325
+ return n + l + e[2];
2326
+ }
2327
+ }
2328
+ };
2329
+ const v = s.removePrefix(t, w);
2330
+ let S = create(v);
2331
+ if (S && true !== n.strictSlashes) S += `${f}?`;
2332
+ return S;
2333
+ };
2334
+ t.exports = parse;
2335
+ },
2336
+ 810: (t, e, n)=>{
2337
+ const r = n(928);
2338
+ const s = n(779);
2339
+ const o = n(143);
2340
+ const i = n(445);
2341
+ const a = n(193);
2342
+ const isObject = (t)=>t && "object" == typeof t && !Array.isArray(t);
2343
+ const picomatch = (t, e, n = false)=>{
2344
+ if (Array.isArray(t)) {
2345
+ const r = t.map((t)=>picomatch(t, e, n));
2346
+ const arrayMatcher = (t)=>{
2347
+ for (const e of r){
2348
+ const n = e(t);
2349
+ if (n) return n;
2350
+ }
2351
+ return false;
2352
+ };
2353
+ return arrayMatcher;
2354
+ }
2355
+ const r = isObject(t) && t.tokens && t.input;
2356
+ if ("" === t || "string" != typeof t && !r) throw new TypeError("Expected pattern to be a non-empty string");
2357
+ const s = e || {};
2358
+ const o = i.isWindows(e);
2359
+ const a = r ? picomatch.compileRe(t, e) : picomatch.makeRe(t, e, false, true);
2360
+ const u = a.state;
2361
+ delete a.state;
2362
+ let isIgnored = ()=>false;
2363
+ if (s.ignore) {
2364
+ const t = {
2365
+ ...e,
2366
+ ignore: null,
2367
+ onMatch: null,
2368
+ onResult: null
2369
+ };
2370
+ isIgnored = picomatch(s.ignore, t, n);
2371
+ }
2372
+ const matcher = (n, r = false)=>{
2373
+ const { isMatch: i, match: c, output: l } = picomatch.test(n, a, e, {
2374
+ glob: t,
2375
+ posix: o
2376
+ });
2377
+ const f = {
2378
+ glob: t,
2379
+ state: u,
2380
+ regex: a,
2381
+ posix: o,
2382
+ input: n,
2383
+ output: l,
2384
+ match: c,
2385
+ isMatch: i
2386
+ };
2387
+ if ("function" == typeof s.onResult) s.onResult(f);
2388
+ if (false === i) {
2389
+ f.isMatch = false;
2390
+ return r ? f : false;
2391
+ }
2392
+ if (isIgnored(n)) {
2393
+ if ("function" == typeof s.onIgnore) s.onIgnore(f);
2394
+ f.isMatch = false;
2395
+ return r ? f : false;
2396
+ }
2397
+ if ("function" == typeof s.onMatch) s.onMatch(f);
2398
+ return r ? f : true;
2399
+ };
2400
+ if (n) matcher.state = u;
2401
+ return matcher;
2402
+ };
2403
+ picomatch.test = (t, e, n, { glob: r, posix: s } = {})=>{
2404
+ if ("string" != typeof t) throw new TypeError("Expected input to be a string");
2405
+ if ("" === t) return {
2406
+ isMatch: false,
2407
+ output: ""
2408
+ };
2409
+ const o = n || {};
2410
+ const a = o.format || (s ? i.toPosixSlashes : null);
2411
+ let u = t === r;
2412
+ let c = u && a ? a(t) : t;
2413
+ if (false === u) {
2414
+ c = a ? a(t) : t;
2415
+ u = c === r;
2416
+ }
2417
+ if (false === u || true === o.capture) u = true === o.matchBase || true === o.basename ? picomatch.matchBase(t, e, n, s) : e.exec(c);
2418
+ return {
2419
+ isMatch: Boolean(u),
2420
+ match: u,
2421
+ output: c
2422
+ };
2423
+ };
2424
+ picomatch.matchBase = (t, e, n, s = i.isWindows(n))=>{
2425
+ const o = e instanceof RegExp ? e : picomatch.makeRe(e, n);
2426
+ return o.test(r.basename(t));
2427
+ };
2428
+ picomatch.isMatch = (t, e, n)=>picomatch(e, n)(t);
2429
+ picomatch.parse = (t, e)=>{
2430
+ if (Array.isArray(t)) return t.map((t)=>picomatch.parse(t, e));
2431
+ return o(t, {
2432
+ ...e,
2433
+ fastpaths: false
2434
+ });
2435
+ };
2436
+ picomatch.scan = (t, e)=>s(t, e);
2437
+ picomatch.compileRe = (t, e, n = false, r = false)=>{
2438
+ if (true === n) return t.output;
2439
+ const s = e || {};
2440
+ const o = s.contains ? "" : "^";
2441
+ const i = s.contains ? "" : "$";
2442
+ let a = `${o}(?:${t.output})${i}`;
2443
+ if (t && true === t.negated) a = `^(?!${a}).*$`;
2444
+ const u = picomatch.toRegex(a, e);
2445
+ if (true === r) u.state = t;
2446
+ return u;
2447
+ };
2448
+ picomatch.makeRe = (t, e = {}, n = false, r = false)=>{
2449
+ if (!t || "string" != typeof t) throw new TypeError("Expected a non-empty string");
2450
+ let s = {
2451
+ negated: false,
2452
+ fastpaths: true
2453
+ };
2454
+ if (false !== e.fastpaths && ("." === t[0] || "*" === t[0])) s.output = o.fastpaths(t, e);
2455
+ if (!s.output) s = o(t, e);
2456
+ return picomatch.compileRe(s, e, n, r);
2457
+ };
2458
+ picomatch.toRegex = (t, e)=>{
2459
+ try {
2460
+ const n = e || {};
2461
+ return new RegExp(t, n.flags || (n.nocase ? "i" : ""));
2462
+ } catch (t) {
2463
+ if (e && true === e.debug) throw t;
2464
+ return /$^/;
2465
+ }
2466
+ };
2467
+ picomatch.constants = a;
2468
+ t.exports = picomatch;
2469
+ },
2470
+ 779: (t, e, n)=>{
2471
+ const r = n(445);
2472
+ const { CHAR_ASTERISK: s, CHAR_AT: o, CHAR_BACKWARD_SLASH: i, CHAR_COMMA: a, CHAR_DOT: u, CHAR_EXCLAMATION_MARK: c, CHAR_FORWARD_SLASH: l, CHAR_LEFT_CURLY_BRACE: f, CHAR_LEFT_PARENTHESES: p, CHAR_LEFT_SQUARE_BRACKET: d, CHAR_PLUS: h, CHAR_QUESTION_MARK: g, CHAR_RIGHT_CURLY_BRACE: _, CHAR_RIGHT_PARENTHESES: A, CHAR_RIGHT_SQUARE_BRACKET: R } = n(193);
2473
+ const isPathSeparator = (t)=>t === l || t === i;
2474
+ const depth = (t)=>{
2475
+ if (true !== t.isPrefix) t.depth = t.isGlobstar ? 1 / 0 : 1;
2476
+ };
2477
+ const scan = (t, e)=>{
2478
+ const n = e || {};
2479
+ const m = t.length - 1;
2480
+ const E = true === n.parts || true === n.scanToEnd;
2481
+ const b = [];
2482
+ const w = [];
2483
+ const C = [];
2484
+ let v = t;
2485
+ let S = -1;
2486
+ let $ = 0;
2487
+ let H = 0;
2488
+ let T = false;
2489
+ let O = false;
2490
+ let L = false;
2491
+ let P = false;
2492
+ let k = false;
2493
+ let I = false;
2494
+ let N = false;
2495
+ let M = false;
2496
+ let B = false;
2497
+ let D = false;
2498
+ let F = 0;
2499
+ let G;
2500
+ let U;
2501
+ let W = {
2502
+ value: "",
2503
+ depth: 0,
2504
+ isGlob: false
2505
+ };
2506
+ const eos = ()=>S >= m;
2507
+ const peek = ()=>v.charCodeAt(S + 1);
2508
+ const advance = ()=>{
2509
+ G = U;
2510
+ return v.charCodeAt(++S);
2511
+ };
2512
+ while(S < m){
2513
+ U = advance();
2514
+ let t;
2515
+ if (U === i) {
2516
+ N = W.backslashes = true;
2517
+ U = advance();
2518
+ if (U === f) I = true;
2519
+ continue;
2520
+ }
2521
+ if (true === I || U === f) {
2522
+ F++;
2523
+ while(true !== eos() && (U = advance())){
2524
+ if (U === i) {
2525
+ N = W.backslashes = true;
2526
+ advance();
2527
+ continue;
2528
+ }
2529
+ if (U === f) {
2530
+ F++;
2531
+ continue;
2532
+ }
2533
+ if (true !== I && U === u && (U = advance()) === u) {
2534
+ T = W.isBrace = true;
2535
+ L = W.isGlob = true;
2536
+ D = true;
2537
+ if (true === E) continue;
2538
+ break;
2539
+ }
2540
+ if (true !== I && U === a) {
2541
+ T = W.isBrace = true;
2542
+ L = W.isGlob = true;
2543
+ D = true;
2544
+ if (true === E) continue;
2545
+ break;
2546
+ }
2547
+ if (U === _) {
2548
+ F--;
2549
+ if (0 === F) {
2550
+ I = false;
2551
+ T = W.isBrace = true;
2552
+ D = true;
2553
+ break;
2554
+ }
2555
+ }
2556
+ }
2557
+ if (true === E) continue;
2558
+ break;
2559
+ }
2560
+ if (U === l) {
2561
+ b.push(S);
2562
+ w.push(W);
2563
+ W = {
2564
+ value: "",
2565
+ depth: 0,
2566
+ isGlob: false
2567
+ };
2568
+ if (true === D) continue;
2569
+ if (G === u && S === $ + 1) {
2570
+ $ += 2;
2571
+ continue;
2572
+ }
2573
+ H = S + 1;
2574
+ continue;
2575
+ }
2576
+ if (true !== n.noext) {
2577
+ const t = U === h || U === o || U === s || U === g || U === c;
2578
+ if (true === t && peek() === p) {
2579
+ L = W.isGlob = true;
2580
+ P = W.isExtglob = true;
2581
+ D = true;
2582
+ if (U === c && S === $) B = true;
2583
+ if (true === E) {
2584
+ while(true !== eos() && (U = advance())){
2585
+ if (U === i) {
2586
+ N = W.backslashes = true;
2587
+ U = advance();
2588
+ continue;
2589
+ }
2590
+ if (U === A) {
2591
+ L = W.isGlob = true;
2592
+ D = true;
2593
+ break;
2594
+ }
2595
+ }
2596
+ continue;
2597
+ }
2598
+ break;
2599
+ }
2600
+ }
2601
+ if (U === s) {
2602
+ if (G === s) k = W.isGlobstar = true;
2603
+ L = W.isGlob = true;
2604
+ D = true;
2605
+ if (true === E) continue;
2606
+ break;
2607
+ }
2608
+ if (U === g) {
2609
+ L = W.isGlob = true;
2610
+ D = true;
2611
+ if (true === E) continue;
2612
+ break;
2613
+ }
2614
+ if (U === d) {
2615
+ while(true !== eos() && (t = advance())){
2616
+ if (t === i) {
2617
+ N = W.backslashes = true;
2618
+ advance();
2619
+ continue;
2620
+ }
2621
+ if (t === R) {
2622
+ O = W.isBracket = true;
2623
+ L = W.isGlob = true;
2624
+ D = true;
2625
+ break;
2626
+ }
2627
+ }
2628
+ if (true === E) continue;
2629
+ break;
2630
+ }
2631
+ if (true !== n.nonegate && U === c && S === $) {
2632
+ M = W.negated = true;
2633
+ $++;
2634
+ continue;
2635
+ }
2636
+ if (true !== n.noparen && U === p) {
2637
+ L = W.isGlob = true;
2638
+ if (true === E) {
2639
+ while(true !== eos() && (U = advance())){
2640
+ if (U === p) {
2641
+ N = W.backslashes = true;
2642
+ U = advance();
2643
+ continue;
2644
+ }
2645
+ if (U === A) {
2646
+ D = true;
2647
+ break;
2648
+ }
2649
+ }
2650
+ continue;
2651
+ }
2652
+ break;
2653
+ }
2654
+ if (true === L) {
2655
+ D = true;
2656
+ if (true === E) continue;
2657
+ break;
2658
+ }
2659
+ }
2660
+ if (true === n.noext) {
2661
+ P = false;
2662
+ L = false;
2663
+ }
2664
+ let K = v;
2665
+ let j = "";
2666
+ let q = "";
2667
+ if ($ > 0) {
2668
+ j = v.slice(0, $);
2669
+ v = v.slice($);
2670
+ H -= $;
2671
+ }
2672
+ if (K && true === L && H > 0) {
2673
+ K = v.slice(0, H);
2674
+ q = v.slice(H);
2675
+ } else if (true === L) {
2676
+ K = "";
2677
+ q = v;
2678
+ } else K = v;
2679
+ if (K && "" !== K && "/" !== K && K !== v) {
2680
+ if (isPathSeparator(K.charCodeAt(K.length - 1))) K = K.slice(0, -1);
2681
+ }
2682
+ if (true === n.unescape) {
2683
+ if (q) q = r.removeBackslashes(q);
2684
+ if (K && true === N) K = r.removeBackslashes(K);
2685
+ }
2686
+ const z = {
2687
+ prefix: j,
2688
+ input: t,
2689
+ start: $,
2690
+ base: K,
2691
+ glob: q,
2692
+ isBrace: T,
2693
+ isBracket: O,
2694
+ isGlob: L,
2695
+ isExtglob: P,
2696
+ isGlobstar: k,
2697
+ negated: M,
2698
+ negatedExtglob: B
2699
+ };
2700
+ if (true === n.tokens) {
2701
+ z.maxDepth = 0;
2702
+ if (!isPathSeparator(U)) w.push(W);
2703
+ z.tokens = w;
2704
+ }
2705
+ if (true === n.parts || true === n.tokens) {
2706
+ let e;
2707
+ for(let r = 0; r < b.length; r++){
2708
+ const s = e ? e + 1 : $;
2709
+ const o = b[r];
2710
+ const i = t.slice(s, o);
2711
+ if (n.tokens) {
2712
+ if (0 === r && 0 !== $) {
2713
+ w[r].isPrefix = true;
2714
+ w[r].value = j;
2715
+ } else w[r].value = i;
2716
+ depth(w[r]);
2717
+ z.maxDepth += w[r].depth;
2718
+ }
2719
+ if (0 !== r || "" !== i) C.push(i);
2720
+ e = o;
2721
+ }
2722
+ if (e && e + 1 < t.length) {
2723
+ const r = t.slice(e + 1);
2724
+ C.push(r);
2725
+ if (n.tokens) {
2726
+ w[w.length - 1].value = r;
2727
+ depth(w[w.length - 1]);
2728
+ z.maxDepth += w[w.length - 1].depth;
2729
+ }
2730
+ }
2731
+ z.slashes = b;
2732
+ z.parts = C;
2733
+ }
2734
+ return z;
2735
+ };
2736
+ t.exports = scan;
2737
+ },
2738
+ 445: (t, e, n)=>{
2739
+ const r = n(928);
2740
+ const s = "win32" === process.platform;
2741
+ const { REGEX_BACKSLASH: o, REGEX_REMOVE_BACKSLASH: i, REGEX_SPECIAL_CHARS: a, REGEX_SPECIAL_CHARS_GLOBAL: u } = n(193);
2742
+ e.isObject = (t)=>null !== t && "object" == typeof t && !Array.isArray(t);
2743
+ e.hasRegexChars = (t)=>a.test(t);
2744
+ e.isRegexChar = (t)=>1 === t.length && e.hasRegexChars(t);
2745
+ e.escapeRegex = (t)=>t.replace(u, "\\$1");
2746
+ e.toPosixSlashes = (t)=>t.replace(o, "/");
2747
+ e.removeBackslashes = (t)=>t.replace(i, (t)=>"\\" === t ? "" : t);
2748
+ e.supportsLookbehinds = ()=>{
2749
+ const t = process.version.slice(1).split(".").map(Number);
2750
+ if (3 === t.length && t[0] >= 9 || 8 === t[0] && t[1] >= 10) return true;
2751
+ return false;
2752
+ };
2753
+ e.isWindows = (t)=>{
2754
+ if (t && "boolean" == typeof t.windows) return t.windows;
2755
+ return true === s || "\\" === r.sep;
2756
+ };
2757
+ e.escapeLast = (t, n, r)=>{
2758
+ const s = t.lastIndexOf(n, r);
2759
+ if (-1 === s) return t;
2760
+ if ("\\" === t[s - 1]) return e.escapeLast(t, n, s - 1);
2761
+ return `${t.slice(0, s)}\\${t.slice(s)}`;
2762
+ };
2763
+ e.removePrefix = (t, e = {})=>{
2764
+ let n = t;
2765
+ if (n.startsWith("./")) {
2766
+ n = n.slice(2);
2767
+ e.prefix = "./";
2768
+ }
2769
+ return n;
2770
+ };
2771
+ e.wrapOutput = (t, e = {}, n = {})=>{
2772
+ const r = n.contains ? "" : "^";
2773
+ const s = n.contains ? "" : "$";
2774
+ let o = `${r}(?:${t})${s}`;
2775
+ if (true === e.negated) o = `(?:^(?!${o}).*$)`;
2776
+ return o;
2777
+ };
2778
+ },
2779
+ 491: (t, e, n)=>{
2780
+ /*!
2781
+ * to-regex-range <https://github.com/micromatch/to-regex-range>
2782
+ *
2783
+ * Copyright (c) 2015-present, Jon Schlinkert.
2784
+ * Released under the MIT License.
2785
+ */ const r = n(460);
2786
+ const toRegexRange = (t, e, n)=>{
2787
+ if (false === r(t)) throw new TypeError("toRegexRange: expected the first argument to be a number");
2788
+ if (void 0 === e || t === e) return String(t);
2789
+ if (false === r(e)) throw new TypeError("toRegexRange: expected the second argument to be a number.");
2790
+ let s = {
2791
+ relaxZeros: true,
2792
+ ...n
2793
+ };
2794
+ if ("boolean" == typeof s.strictZeros) s.relaxZeros = false === s.strictZeros;
2795
+ let o = String(s.relaxZeros);
2796
+ let i = String(s.shorthand);
2797
+ let a = String(s.capture);
2798
+ let u = String(s.wrap);
2799
+ let c = t + ":" + e + "=" + o + i + a + u;
2800
+ if (toRegexRange.cache.hasOwnProperty(c)) return toRegexRange.cache[c].result;
2801
+ let l = Math.min(t, e);
2802
+ let f = Math.max(t, e);
2803
+ if (1 === Math.abs(l - f)) {
2804
+ let n = t + "|" + e;
2805
+ if (s.capture) return `(${n})`;
2806
+ if (false === s.wrap) return n;
2807
+ return `(?:${n})`;
2808
+ }
2809
+ let p = hasPadding(t) || hasPadding(e);
2810
+ let d = {
2811
+ min: t,
2812
+ max: e,
2813
+ a: l,
2814
+ b: f
2815
+ };
2816
+ let h = [];
2817
+ let g = [];
2818
+ if (p) {
2819
+ d.isPadded = p;
2820
+ d.maxLen = String(d.max).length;
2821
+ }
2822
+ if (l < 0) {
2823
+ let t = f < 0 ? Math.abs(f) : 1;
2824
+ g = splitToPatterns(t, Math.abs(l), d, s);
2825
+ l = d.a = 0;
2826
+ }
2827
+ if (f >= 0) h = splitToPatterns(l, f, d, s);
2828
+ d.negatives = g;
2829
+ d.positives = h;
2830
+ d.result = collatePatterns(g, h, s);
2831
+ if (true === s.capture) d.result = `(${d.result})`;
2832
+ else if (false !== s.wrap && h.length + g.length > 1) d.result = `(?:${d.result})`;
2833
+ toRegexRange.cache[c] = d;
2834
+ return d.result;
2835
+ };
2836
+ function collatePatterns(t, e, n) {
2837
+ let r = filterPatterns(t, e, "-", false, n) || [];
2838
+ let s = filterPatterns(e, t, "", false, n) || [];
2839
+ let o = filterPatterns(t, e, "-?", true, n) || [];
2840
+ let i = r.concat(o).concat(s);
2841
+ return i.join("|");
2842
+ }
2843
+ function splitToRanges(t, e) {
2844
+ let n = 1;
2845
+ let r = 1;
2846
+ let s = countNines(t, n);
2847
+ let o = new Set([
2848
+ e
2849
+ ]);
2850
+ while(t <= s && s <= e){
2851
+ o.add(s);
2852
+ n += 1;
2853
+ s = countNines(t, n);
2854
+ }
2855
+ s = countZeros(e + 1, r) - 1;
2856
+ while(t < s && s <= e){
2857
+ o.add(s);
2858
+ r += 1;
2859
+ s = countZeros(e + 1, r) - 1;
2860
+ }
2861
+ o = [
2862
+ ...o
2863
+ ];
2864
+ o.sort(compare);
2865
+ return o;
2866
+ }
2867
+ function rangeToPattern(t, e, n) {
2868
+ if (t === e) return {
2869
+ pattern: t,
2870
+ count: [],
2871
+ digits: 0
2872
+ };
2873
+ let r = zip(t, e);
2874
+ let s = r.length;
2875
+ let o = "";
2876
+ let i = 0;
2877
+ for(let t = 0; t < s; t++){
2878
+ let [e, s] = r[t];
2879
+ if (e === s) o += e;
2880
+ else if ("0" !== e || "9" !== s) o += toCharacterClass(e, s, n);
2881
+ else i++;
2882
+ }
2883
+ if (i) o += true === n.shorthand ? "\\d" : "[0-9]";
2884
+ return {
2885
+ pattern: o,
2886
+ count: [
2887
+ i
2888
+ ],
2889
+ digits: s
2890
+ };
2891
+ }
2892
+ function splitToPatterns(t, e, n, r) {
2893
+ let s = splitToRanges(t, e);
2894
+ let o = [];
2895
+ let i = t;
2896
+ let a;
2897
+ for(let t = 0; t < s.length; t++){
2898
+ let e = s[t];
2899
+ let u = rangeToPattern(String(i), String(e), r);
2900
+ let c = "";
2901
+ if (!n.isPadded && a && a.pattern === u.pattern) {
2902
+ if (a.count.length > 1) a.count.pop();
2903
+ a.count.push(u.count[0]);
2904
+ a.string = a.pattern + toQuantifier(a.count);
2905
+ i = e + 1;
2906
+ continue;
2907
+ }
2908
+ if (n.isPadded) c = padZeros(e, n, r);
2909
+ u.string = c + u.pattern + toQuantifier(u.count);
2910
+ o.push(u);
2911
+ i = e + 1;
2912
+ a = u;
2913
+ }
2914
+ return o;
2915
+ }
2916
+ function filterPatterns(t, e, n, r, s) {
2917
+ let o = [];
2918
+ for (let s of t){
2919
+ let { string: t } = s;
2920
+ if (!r && !contains(e, "string", t)) o.push(n + t);
2921
+ if (r && contains(e, "string", t)) o.push(n + t);
2922
+ }
2923
+ return o;
2924
+ }
2925
+ function zip(t, e) {
2926
+ let n = [];
2927
+ for(let r = 0; r < t.length; r++)n.push([
2928
+ t[r],
2929
+ e[r]
2930
+ ]);
2931
+ return n;
2932
+ }
2933
+ function compare(t, e) {
2934
+ return t > e ? 1 : e > t ? -1 : 0;
2935
+ }
2936
+ function contains(t, e, n) {
2937
+ return t.some((t)=>t[e] === n);
2938
+ }
2939
+ function countNines(t, e) {
2940
+ return Number(String(t).slice(0, -e) + "9".repeat(e));
2941
+ }
2942
+ function countZeros(t, e) {
2943
+ return t - t % Math.pow(10, e);
2944
+ }
2945
+ function toQuantifier(t) {
2946
+ let [e = 0, n = ""] = t;
2947
+ if (n || e > 1) return `{${e + (n ? "," + n : "")}}`;
2948
+ return "";
2949
+ }
2950
+ function toCharacterClass(t, e, n) {
2951
+ return `[${t}${e - t === 1 ? "" : "-"}${e}]`;
2952
+ }
2953
+ function hasPadding(t) {
2954
+ return /^-?(0+)\d/.test(t);
2955
+ }
2956
+ function padZeros(t, e, n) {
2957
+ if (!e.isPadded) return t;
2958
+ let r = Math.abs(e.maxLen - String(t).length);
2959
+ let s = false !== n.relaxZeros;
2960
+ switch(r){
2961
+ case 0:
2962
+ return "";
2963
+ case 1:
2964
+ return s ? "0?" : "0";
2965
+ case 2:
2966
+ return s ? "0{0,2}" : "00";
2967
+ default:
2968
+ return s ? `0{0,${r}}` : `0{${r}}`;
2969
+ }
2970
+ }
2971
+ toRegexRange.cache = {};
2972
+ toRegexRange.clearCache = ()=>toRegexRange.cache = {};
2973
+ t.exports = toRegexRange;
2974
+ },
2975
+ 928: (t)=>{
2976
+ t.exports = require("path");
2977
+ },
2978
+ 23: (t)=>{
2979
+ t.exports = require("util");
2980
+ }
2981
+ };
2982
+ var n = {};
2983
+ function __nccwpck_require__(t) {
2984
+ var r = n[t];
2985
+ if (void 0 !== r) return r.exports;
2986
+ var s = n[t] = {
2987
+ exports: {}
2988
+ };
2989
+ var o = true;
2990
+ try {
2991
+ e[t](s, s.exports, __nccwpck_require__);
2992
+ o = false;
2993
+ } finally{
2994
+ if (o) delete n[t];
2995
+ }
2996
+ return s.exports;
2997
+ }
2998
+ if (void 0 !== __nccwpck_require__) __nccwpck_require__.ab = decodeURIComponent(new URL(".", import.meta.url).pathname).slice(import.meta.url.match(/^file:\/\/\/\w:/) ? 1 : 0, -1) + "/";
2999
+ (()=>{
3000
+ __nccwpck_require__.d = (t, e)=>{
3001
+ for(var n in e)if (__nccwpck_require__.o(e, n) && !__nccwpck_require__.o(t, n)) Object.defineProperty(t, n, {
3002
+ enumerable: true,
3003
+ get: e[n]
3004
+ });
3005
+ };
3006
+ })();
3007
+ (()=>{
3008
+ __nccwpck_require__.o = (t, e)=>Object.prototype.hasOwnProperty.call(t, e);
3009
+ })();
3010
+ var r = {};
3011
+ __nccwpck_require__.d(r, {
3012
+ a: ()=>B,
3013
+ Kd: ()=>N,
3014
+ li: ()=>M,
3015
+ IK: ()=>L,
3016
+ AG: ()=>k,
3017
+ Hz: ()=>P,
3018
+ ey: ()=>I,
3019
+ Zh: ()=>isGitIgnored,
3020
+ kD: ()=>isGitIgnoredSync,
3021
+ dK: ()=>isIgnoredByIgnoreFiles,
3022
+ Sb: ()=>isIgnoredByIgnoreFilesSync
3023
+ });
3024
+ const s = require("node:process");
3025
+ const o = require("node:fs");
3026
+ const i = require("node:path");
3027
+ const a = require("node:stream");
3028
+ const u = require("node:events");
3029
+ const c = require("node:stream/promises");
3030
+ function mergeStreams(t) {
3031
+ if (!Array.isArray(t)) throw new TypeError(`Expected an array, got \`${typeof t}\`.`);
3032
+ for (const e of t)validateStream(e);
3033
+ const e = t.some(({ readableObjectMode: t })=>t);
3034
+ const n = getHighWaterMark(t, e);
3035
+ const r = new MergedStream({
3036
+ objectMode: e,
3037
+ writableHighWaterMark: n,
3038
+ readableHighWaterMark: n
3039
+ });
3040
+ for (const e of t)r.add(e);
3041
+ return r;
3042
+ }
3043
+ const getHighWaterMark = (t, e)=>{
3044
+ if (0 === t.length) return (0, a.getDefaultHighWaterMark)(e);
3045
+ const n = t.filter(({ readableObjectMode: t })=>t === e).map(({ readableHighWaterMark: t })=>t);
3046
+ return Math.max(...n);
3047
+ };
3048
+ class MergedStream extends a.PassThrough {
3049
+ #t = new Set([]);
3050
+ #e = new Set([]);
3051
+ #n = new Set([]);
3052
+ #r;
3053
+ #s = Symbol("unpipe");
3054
+ #o = new WeakMap;
3055
+ add(t) {
3056
+ validateStream(t);
3057
+ if (this.#t.has(t)) return;
3058
+ this.#t.add(t);
3059
+ this.#r ??= onMergedStreamFinished(this, this.#t, this.#s);
3060
+ const e = endWhenStreamsDone({
3061
+ passThroughStream: this,
3062
+ stream: t,
3063
+ streams: this.#t,
3064
+ ended: this.#e,
3065
+ aborted: this.#n,
3066
+ onFinished: this.#r,
3067
+ unpipeEvent: this.#s
3068
+ });
3069
+ this.#o.set(t, e);
3070
+ t.pipe(this, {
3071
+ end: false
3072
+ });
3073
+ }
3074
+ async remove(t) {
3075
+ validateStream(t);
3076
+ if (!this.#t.has(t)) return false;
3077
+ const e = this.#o.get(t);
3078
+ if (void 0 === e) return false;
3079
+ this.#o.delete(t);
3080
+ t.unpipe(this);
3081
+ await e;
3082
+ return true;
3083
+ }
3084
+ }
3085
+ const onMergedStreamFinished = async (t, e, n)=>{
3086
+ updateMaxListeners(t, l);
3087
+ const r = new AbortController;
3088
+ try {
3089
+ await Promise.race([
3090
+ onMergedStreamEnd(t, r),
3091
+ onInputStreamsUnpipe(t, e, n, r)
3092
+ ]);
3093
+ } finally{
3094
+ r.abort();
3095
+ updateMaxListeners(t, -l);
3096
+ }
3097
+ };
3098
+ const onMergedStreamEnd = async (t, { signal: e })=>{
3099
+ try {
3100
+ await (0, c.finished)(t, {
3101
+ signal: e,
3102
+ cleanup: true
3103
+ });
3104
+ } catch (e) {
3105
+ errorOrAbortStream(t, e);
3106
+ throw e;
3107
+ }
3108
+ };
3109
+ const onInputStreamsUnpipe = async (t, e, n, { signal: r })=>{
3110
+ for await (const [s] of (0, u.on)(t, "unpipe", {
3111
+ signal: r
3112
+ }))if (e.has(s)) s.emit(n);
3113
+ };
3114
+ const validateStream = (t)=>{
3115
+ if ("function" != typeof t?.pipe) throw new TypeError(`Expected a readable stream, got: \`${typeof t}\`.`);
3116
+ };
3117
+ const endWhenStreamsDone = async ({ passThroughStream: t, stream: e, streams: n, ended: r, aborted: s, onFinished: o, unpipeEvent: i })=>{
3118
+ updateMaxListeners(t, f);
3119
+ const a = new AbortController;
3120
+ try {
3121
+ await Promise.race([
3122
+ afterMergedStreamFinished(o, e, a),
3123
+ onInputStreamEnd({
3124
+ passThroughStream: t,
3125
+ stream: e,
3126
+ streams: n,
3127
+ ended: r,
3128
+ aborted: s,
3129
+ controller: a
3130
+ }),
3131
+ onInputStreamUnpipe({
3132
+ stream: e,
3133
+ streams: n,
3134
+ ended: r,
3135
+ aborted: s,
3136
+ unpipeEvent: i,
3137
+ controller: a
3138
+ })
3139
+ ]);
3140
+ } finally{
3141
+ a.abort();
3142
+ updateMaxListeners(t, -f);
3143
+ }
3144
+ if (n.size > 0 && n.size === r.size + s.size) if (0 === r.size && s.size > 0) abortStream(t);
3145
+ else endStream(t);
3146
+ };
3147
+ const afterMergedStreamFinished = async (t, e, { signal: n })=>{
3148
+ try {
3149
+ await t;
3150
+ if (!n.aborted) abortStream(e);
3151
+ } catch (t) {
3152
+ if (!n.aborted) errorOrAbortStream(e, t);
3153
+ }
3154
+ };
3155
+ const onInputStreamEnd = async ({ passThroughStream: t, stream: e, streams: n, ended: r, aborted: s, controller: { signal: o } })=>{
3156
+ try {
3157
+ await (0, c.finished)(e, {
3158
+ signal: o,
3159
+ cleanup: true,
3160
+ readable: true,
3161
+ writable: false
3162
+ });
3163
+ if (n.has(e)) r.add(e);
3164
+ } catch (r) {
3165
+ if (o.aborted || !n.has(e)) return;
3166
+ if (isAbortError(r)) s.add(e);
3167
+ else errorStream(t, r);
3168
+ }
3169
+ };
3170
+ const onInputStreamUnpipe = async ({ stream: t, streams: e, ended: n, aborted: r, unpipeEvent: s, controller: { signal: o } })=>{
3171
+ await (0, u.once)(t, s, {
3172
+ signal: o
3173
+ });
3174
+ if (!t.readable) return (0, u.once)(o, "abort", {
3175
+ signal: o
3176
+ });
3177
+ e.delete(t);
3178
+ n.delete(t);
3179
+ r.delete(t);
3180
+ };
3181
+ const endStream = (t)=>{
3182
+ if (t.writable) t.end();
3183
+ };
3184
+ const errorOrAbortStream = (t, e)=>{
3185
+ if (isAbortError(e)) abortStream(t);
3186
+ else errorStream(t, e);
3187
+ };
3188
+ const isAbortError = (t)=>t?.code === "ERR_STREAM_PREMATURE_CLOSE";
3189
+ const abortStream = (t)=>{
3190
+ if (t.readable || t.writable) t.destroy();
3191
+ };
3192
+ const errorStream = (t, e)=>{
3193
+ if (!t.destroyed) {
3194
+ t.once("error", noop);
3195
+ t.destroy(e);
3196
+ }
3197
+ };
3198
+ const noop = ()=>{};
3199
+ const updateMaxListeners = (t, e)=>{
3200
+ const n = t.getMaxListeners();
3201
+ if (0 !== n && 1 / 0 !== n) t.setMaxListeners(n + e);
3202
+ };
3203
+ const l = 2;
3204
+ const f = 1;
3205
+ var x = (t)=>{
3206
+ var e = {};
3207
+ __nccwpck_require__.d(e, t);
3208
+ return e;
3209
+ };
3210
+ const p = x({
3211
+ ["default"]: ()=>t["default"]
3212
+ });
3213
+ const d = require("node:util");
3214
+ const h = require("node:child_process");
3215
+ const g = require("node:url");
3216
+ (0, d.promisify)(h.execFile);
3217
+ function toPath(t) {
3218
+ return t instanceof URL ? (0, g.fileURLToPath)(t) : t;
3219
+ }
3220
+ const R = require("node:fs/promises");
3221
+ const m = require("node:os");
3222
+ var E = __nccwpck_require__(869);
3223
+ function isPathInside(t, e) {
3224
+ const n = i.relative(e, t);
3225
+ return Boolean(n && ".." !== n && !n.startsWith(`..${i.sep}`) && n !== i.resolve(t));
3226
+ }
3227
+ function slash(t) {
3228
+ const e = t.startsWith("\\\\?\\");
3229
+ if (e) return t;
3230
+ return t.replace(/\\/g, "/");
3231
+ }
3232
+ var b = __nccwpck_require__(639);
3233
+ const isNegativePattern = (t)=>"!" === t[0];
3234
+ const normalizeAbsolutePatternToRelative = (t)=>{
3235
+ if (!t.startsWith("/")) return t;
3236
+ const e = t.slice(1);
3237
+ const n = e.indexOf("/");
3238
+ const r = n > 0 ? e.slice(0, n) : e;
3239
+ if (n > 0 && !p["default"].isDynamicPattern(r)) return t;
3240
+ return e;
3241
+ };
3242
+ const absolutePrefixesMatch = (t, e)=>e === t;
3243
+ const getStaticAbsolutePathPrefix = (t)=>{
3244
+ if (!i.isAbsolute(t)) return;
3245
+ const e = [];
3246
+ for (const n of t.split("/"))if (n) {
3247
+ if (p["default"].isDynamicPattern(n)) break;
3248
+ e.push(n);
3249
+ }
3250
+ return 0 === e.length ? void 0 : `/${e.join("/")}`;
3251
+ };
3252
+ const normalizeNegativePattern = (t, e = [], n = false)=>{
3253
+ if (!t.startsWith("/")) return t;
3254
+ const r = normalizeAbsolutePatternToRelative(t);
3255
+ if (r !== t) return r;
3256
+ if (n) return t.slice(1);
3257
+ const s = getStaticAbsolutePathPrefix(t);
3258
+ const o = void 0 !== s && e.some((t)=>absolutePrefixesMatch(t, s));
3259
+ return o ? t : t.slice(1);
3260
+ };
3261
+ const bindFsMethod = (t, e)=>{
3262
+ const n = t?.[e];
3263
+ return "function" == typeof n ? n.bind(t) : void 0;
3264
+ };
3265
+ const promisifyFsMethod = (t, e)=>{
3266
+ const n = t?.[e];
3267
+ if ("function" != typeof n) return;
3268
+ return (0, d.promisify)(n.bind(t));
3269
+ };
3270
+ const normalizeDirectoryPatternForFastGlob = (t)=>{
3271
+ if (!t.endsWith("/")) return t;
3272
+ const e = t.replace(/\/+$/u, "");
3273
+ if (!e) return "/**";
3274
+ if ("**" === e) return "**/**";
3275
+ const n = e.startsWith("/");
3276
+ const r = n ? e.slice(1) : e;
3277
+ const s = r.includes("/");
3278
+ const o = !n && !s && !e.startsWith("**/");
3279
+ const i = o ? "**/" : "";
3280
+ return `${i}${e}/**`;
3281
+ };
3282
+ const getParentDirectoryPrefix = (t)=>{
3283
+ const e = isNegativePattern(t) ? t.slice(1) : t;
3284
+ const n = e.match(/^(\.\.\/)+/);
3285
+ return n ? n[0] : "";
3286
+ };
3287
+ const adjustIgnorePatternsForParentDirectories = (t, e)=>{
3288
+ if (0 === t.length || 0 === e.length) return e;
3289
+ const n = t.map((t)=>getParentDirectoryPrefix(t));
3290
+ const r = n[0];
3291
+ if (!r) return e;
3292
+ const s = n.every((t)=>t === r);
3293
+ if (!s) return e;
3294
+ return e.map((t)=>{
3295
+ if (t.startsWith("**/") && !t.startsWith("../")) return r + t;
3296
+ return t;
3297
+ });
3298
+ };
3299
+ const getAsyncStatMethod = (t)=>bindFsMethod(t?.promises, "stat") ?? bindFsMethod(o.promises, "stat");
3300
+ const getStatSyncMethod = (t)=>{
3301
+ if (t) return bindFsMethod(t, "statSync");
3302
+ return bindFsMethod(o, "statSync");
3303
+ };
3304
+ const pathHasGitDirectory = (t)=>Boolean(t?.isDirectory?.() || t?.isFile?.());
3305
+ const buildPathChain = (t, e)=>{
3306
+ const n = [];
3307
+ let r = t;
3308
+ n.push(r);
3309
+ while(r !== e){
3310
+ const t = i.dirname(r);
3311
+ if (t === r) break;
3312
+ r = t;
3313
+ n.push(r);
3314
+ }
3315
+ return n;
3316
+ };
3317
+ const findGitRootInChain = async (t, e)=>{
3318
+ for (const n of t){
3319
+ const t = i.join(n, ".git");
3320
+ try {
3321
+ const r = await e(t);
3322
+ if (pathHasGitDirectory(r)) return n;
3323
+ } catch {}
3324
+ }
3325
+ };
3326
+ const findGitRootSyncUncached = (t, e)=>{
3327
+ const n = getStatSyncMethod(e);
3328
+ if (!n) return;
3329
+ const r = i.resolve(t);
3330
+ const { root: s } = i.parse(r);
3331
+ const o = buildPathChain(r, s);
3332
+ for (const t of o){
3333
+ const e = i.join(t, ".git");
3334
+ try {
3335
+ const r = n(e);
3336
+ if (pathHasGitDirectory(r)) return t;
3337
+ } catch {}
3338
+ }
3339
+ };
3340
+ const findGitRootSync = (t, e)=>{
3341
+ if ("string" != typeof t) throw new TypeError("cwd must be a string");
3342
+ return findGitRootSyncUncached(t, e);
3343
+ };
3344
+ const findGitRootAsyncUncached = async (t, e)=>{
3345
+ const n = getAsyncStatMethod(e);
3346
+ if (!n) return findGitRootSync(t, e);
3347
+ const r = i.resolve(t);
3348
+ const { root: s } = i.parse(r);
3349
+ const o = buildPathChain(r, s);
3350
+ return findGitRootInChain(o, n);
3351
+ };
3352
+ const findGitRoot = async (t, e)=>{
3353
+ if ("string" != typeof t) throw new TypeError("cwd must be a string");
3354
+ return findGitRootAsyncUncached(t, e);
3355
+ };
3356
+ const isWithinGitRoot = (t, e)=>{
3357
+ const n = i.resolve(t);
3358
+ const r = i.resolve(e);
3359
+ return r === n || isPathInside(r, n);
3360
+ };
3361
+ const getParentGitignorePaths = (t, e)=>{
3362
+ if (t && "string" != typeof t) throw new TypeError("gitRoot must be a string or undefined");
3363
+ if ("string" != typeof e) throw new TypeError("cwd must be a string");
3364
+ if (!t) return [];
3365
+ if (!isWithinGitRoot(t, e)) return [];
3366
+ const n = buildPathChain(i.resolve(e), i.resolve(t));
3367
+ return [
3368
+ ...n
3369
+ ].reverse().map((t)=>i.join(t, ".gitignore"));
3370
+ };
3371
+ const w = /(?<!\\)[*?[]/u;
3372
+ const hasGitignoreWildcards = (t)=>w.test(t);
3373
+ const C = /[(){}|\\]/u;
3374
+ const unescapeGitignorePattern = (t)=>t.replaceAll(/\\(.)/gu, "$1");
3375
+ const normalizeGitignorePatternForIgnore = (t)=>t.replaceAll(/\\(.)/gu, (t, e)=>"*[]\\".includes(e) ? t : e);
3376
+ const toLiteralPattern = (t)=>p["default"].escapePath(unescapeGitignorePattern(t));
3377
+ const finalSegment = (t)=>t.replace(/\/+$/u, "").split("/").pop();
3378
+ const toStandaloneRule = (t)=>t.replace(/^([#!])/u, String.raw`\$1`);
3379
+ const isInsideCwd = (t)=>"" !== t && !t.startsWith("..") && !i.isAbsolute(t);
3380
+ const anchorToCwd = (t, e, n)=>{
3381
+ const r = slash(i.relative(n, i.join(t, e)));
3382
+ return isInsideCwd(r) ? r : void 0;
3383
+ };
3384
+ const createNameComparer = ()=>{
3385
+ const t = new Map;
3386
+ const matchesName = (e, n)=>{
3387
+ const r = unescapeGitignorePattern(n);
3388
+ if (!(0, E.isPathValid)(r)) return true;
3389
+ const s = normalizeGitignorePatternForIgnore(e);
3390
+ let o = t.get(s);
3391
+ if (!o) {
3392
+ o = E().add([
3393
+ toStandaloneRule(s)
3394
+ ]);
3395
+ t.set(s, o);
3396
+ }
3397
+ return o.ignores(r);
3398
+ };
3399
+ return (t, e)=>{
3400
+ if (hasGitignoreWildcards(t) && hasGitignoreWildcards(e)) return true;
3401
+ return hasGitignoreWildcards(e) ? matchesName(e, t) : matchesName(t, e);
3402
+ };
3403
+ };
3404
+ const getNegationFinalSegments = (t)=>t.filter((t)=>isNegativePattern(t.pattern)).map((t)=>finalSegment(t.pattern.slice(1))).filter(Boolean);
3405
+ const negationsCouldRescue = (t, e)=>{
3406
+ if (0 === e.length) return false;
3407
+ const n = createNameComparer();
3408
+ return getNegationFinalSegments(t).some((t)=>e.some((e)=>n(e, t)));
3409
+ };
3410
+ const expandBraceGroups = (t)=>{
3411
+ if (!t.includes("{")) return [
3412
+ t
3413
+ ];
3414
+ const e = p["default"].generateTasks(t).flatMap((t)=>t.patterns);
3415
+ return e.length > 0 ? e : [
3416
+ t
3417
+ ];
3418
+ };
3419
+ const convertIgnorePatternsForIgnoreFileSearch = (t, e)=>{
3420
+ if (0 === t.length) return t;
3421
+ const n = createNameComparer();
3422
+ const r = e.flatMap((t)=>expandBraceGroups(t));
3423
+ if (r.some((t)=>C.test(t.slice(0, t.lastIndexOf("/") + 1)))) return [];
3424
+ const s = r.map((t)=>finalSegment(t)).filter(Boolean);
3425
+ const couldNameAnIgnoreFile = (t)=>{
3426
+ const e = finalSegment(t.replace(/\/\*\*$/u, ""));
3427
+ if (!e || C.test(e)) return true;
3428
+ return s.some((t)=>C.test(t) ? hasGitignoreWildcards(e) || b.isMatch(unescapeGitignorePattern(e), t, {
3429
+ dot: true,
3430
+ nocase: true
3431
+ }) : n(e, t));
3432
+ };
3433
+ return t.filter((t)=>!expandBraceGroups(t).some((t)=>couldNameAnIgnoreFile(t)));
3434
+ };
3435
+ const getRulePrune = ({ pattern: t, directory: e }, { cwd: n, matcher: r, hasNegations: s, canSkipAtAnyDepth: o, canMatchIgnoreFile: a, gitignoreOnlySearch: u })=>{
3436
+ if (isNegativePattern(t)) return;
3437
+ const c = t.endsWith("/");
3438
+ const l = t.replace(/\/+$/u, "");
3439
+ if (!l) return;
3440
+ const f = l.startsWith("**/") && !l.slice(3).includes("/") ? l.slice(3) : l;
3441
+ if (a(finalSegment(f))) return;
3442
+ const d = hasGitignoreWildcards(f);
3443
+ if (d && C.test(f)) return;
3444
+ const toFastGlob = (t)=>normalizeDirectoryPatternForFastGlob(`/${t}${c ? "/" : ""}`).replace(/^\//u, "");
3445
+ if (!f.includes("/") && o(f)) {
3446
+ const t = slash(i.relative(n, e));
3447
+ const r = isInsideCwd(t) ? `${p["default"].escapePath(t)}/` : "";
3448
+ return {
3449
+ pattern: toFastGlob(`${r}**/${d ? f : toLiteralPattern(f)}`),
3450
+ guardName: f
3451
+ };
3452
+ }
3453
+ const h = f.replace(/^\//u, "");
3454
+ const g = anchorToCwd(e, d ? h : unescapeGitignorePattern(h), n);
3455
+ if (void 0 === g) return;
3456
+ const _ = finalSegment(h);
3457
+ if (d) return s ? void 0 : {
3458
+ pattern: toFastGlob(g),
3459
+ guardName: _
3460
+ };
3461
+ if (!r(i.resolve(n, g) + i.sep).ignored) return;
3462
+ const A = !u || g.includes("/");
3463
+ return {
3464
+ pattern: toFastGlob(p["default"].escapePath(g)),
3465
+ guardName: A ? _ : void 0
3466
+ };
3467
+ };
3468
+ const buildPrunePatternsAndGuards = (t, e, n, { gitignoreOnlySearch: r = false, searchesForGitignoreFiles: s = false } = {})=>{
3469
+ if (!e || !n || !t || 0 === t.length) return {
3470
+ patterns: [],
3471
+ guardNames: []
3472
+ };
3473
+ const o = getNegationFinalSegments(t);
3474
+ const i = createNameComparer();
3475
+ const a = {
3476
+ cwd: n,
3477
+ matcher: e,
3478
+ hasNegations: o.length > 0,
3479
+ canSkipAtAnyDepth: (t)=>!o.some((e)=>i(t, e)),
3480
+ canMatchIgnoreFile: (t)=>s && i(t, ".gitignore"),
3481
+ gitignoreOnlySearch: r
3482
+ };
3483
+ const u = [];
3484
+ const c = [];
3485
+ for (const e of t){
3486
+ const t = getRulePrune(e, a);
3487
+ if (t) {
3488
+ u.push(t.pattern);
3489
+ if (void 0 !== t.guardName) c.push(t.guardName);
3490
+ }
3491
+ }
3492
+ return {
3493
+ patterns: u,
3494
+ guardNames: c
3495
+ };
3496
+ };
3497
+ const convertPatternsForFastGlob = (t, e, n)=>buildPrunePatternsAndGuards(t, e, n).patterns;
3498
+ const v = [
3499
+ "**/node_modules",
3500
+ "**/flow-typed",
3501
+ "**/coverage",
3502
+ "**/.git"
3503
+ ];
3504
+ const S = {
3505
+ absolute: true,
3506
+ dot: true
3507
+ };
3508
+ const $ = "**/.gitignore";
3509
+ const H = 10;
3510
+ const getReadFileMethod = (t)=>bindFsMethod(t?.promises, "readFile") ?? bindFsMethod(R, "readFile") ?? promisifyFsMethod(t, "readFile");
3511
+ const getReadFileSyncMethod = (t)=>bindFsMethod(t, "readFileSync") ?? bindFsMethod(o, "readFileSync");
3512
+ const shouldSkipIgnoreFileError = (t, e)=>{
3513
+ if (!t) return Boolean(e);
3514
+ if ("ENOENT" === t.code || "ENOTDIR" === t.code) return true;
3515
+ return Boolean(e);
3516
+ };
3517
+ const createReadError = (t, e, n)=>{
3518
+ const r = `Failed to read ${t} at ${e}`;
3519
+ if (n instanceof Error) return new Error(`${r}: ${n.message}`, {
3520
+ cause: n
3521
+ });
3522
+ return new Error(`${r}: ${String(n)}`);
3523
+ };
3524
+ const createIgnoreFileReadError = (t, e)=>createReadError("ignore file", t, e);
3525
+ const createGitConfigReadError = (t, e)=>createReadError("git config", t, e);
3526
+ const processIgnoreFileCore = (t, e, n)=>{
3527
+ try {
3528
+ const n = e(t, "utf8");
3529
+ return {
3530
+ filePath: t,
3531
+ content: n
3532
+ };
3533
+ } catch (e) {
3534
+ if (shouldSkipIgnoreFileError(e, n)) return;
3535
+ throw createIgnoreFileReadError(t, e);
3536
+ }
3537
+ };
3538
+ const readIgnoreFilesSafely = async (t, e, n)=>{
3539
+ const r = await Promise.all(t.map(async (t)=>{
3540
+ try {
3541
+ const n = await e(t, "utf8");
3542
+ return {
3543
+ filePath: t,
3544
+ content: n
3545
+ };
3546
+ } catch (e) {
3547
+ if (shouldSkipIgnoreFileError(e, n)) return;
3548
+ throw createIgnoreFileReadError(t, e);
3549
+ }
3550
+ }));
3551
+ return r.filter(Boolean);
3552
+ };
3553
+ const readIgnoreFilesSafelySync = (t, e, n)=>t.map((t)=>processIgnoreFileCore(t, e, n)).filter(Boolean);
3554
+ const dedupePaths = (t)=>{
3555
+ const e = new Set;
3556
+ return t.filter((t)=>{
3557
+ if (e.has(t)) return false;
3558
+ e.add(t);
3559
+ return true;
3560
+ });
3561
+ };
3562
+ const globIgnoreFiles = (t, e, n)=>t(e, {
3563
+ ...n,
3564
+ ...S
3565
+ });
3566
+ const normalizeIgnoreFileLine = (t)=>{
3567
+ t = t.replace(/^\uFEFF/u, "");
3568
+ let e = t.length;
3569
+ while(e > 0 && /\s/u.test(t[e - 1]))e--;
3570
+ if (e === t.length) return t;
3571
+ let n = 0;
3572
+ for(let r = e - 1; r >= 0 && "\\" === t[r]; r--)n++;
3573
+ return n % 2 === 1 ? t.slice(0, e) + " " : t.slice(0, e);
3574
+ };
3575
+ const readIgnoreFileLines = (t)=>t.split(/\r?\n/).map((t)=>normalizeIgnoreFileLine(t)).filter((t)=>t && !t.startsWith("#"));
3576
+ const getIgnoreRules = (t)=>t.flatMap((t)=>{
3577
+ const e = i.dirname(t.filePath);
3578
+ return readIgnoreFileLines(t.content).map((t)=>({
3579
+ pattern: t,
3580
+ directory: e
3581
+ }));
3582
+ });
3583
+ const buildIgnoreResult = (t, e, n)=>{
3584
+ const r = n || e.cwd;
3585
+ const s = getPatternsFromIgnoreFiles(t, r);
3586
+ const o = createIgnoreMatcher(s, e.cwd, r);
3587
+ return {
3588
+ patterns: s,
3589
+ rules: getIgnoreRules(t),
3590
+ matcher: o,
3591
+ predicate: (t)=>o(t).ignored,
3592
+ usingGitRoot: Boolean(n && n !== e.cwd)
3593
+ };
3594
+ };
3595
+ const applyBaseToPattern = (t, e)=>{
3596
+ if (!e) return t;
3597
+ const n = isNegativePattern(t);
3598
+ const r = n ? t.slice(1) : t;
3599
+ const s = r.indexOf("/");
3600
+ const o = -1 !== s && s !== r.length - 1;
3601
+ let a;
3602
+ a = o ? r.startsWith("/") ? i.posix.join(e, r.slice(1)) : i.posix.join(e, r) : i.posix.join(e, "**", r);
3603
+ return n ? "!" + a : a;
3604
+ };
3605
+ const parseIgnoreFile = (t, e)=>{
3606
+ const n = slash(i.relative(e, i.dirname(t.filePath)));
3607
+ return readIgnoreFileLines(t.content).map((t)=>applyBaseToPattern(t, n));
3608
+ };
3609
+ const toRelativePath = (t, e)=>{
3610
+ if (i.isAbsolute(t)) {
3611
+ const n = i.relative(e, t);
3612
+ if (n && !isPathInside(t, e)) return;
3613
+ return n;
3614
+ }
3615
+ if (t.startsWith("./")) return t.slice(2);
3616
+ if (t.startsWith("../")) return;
3617
+ return t;
3618
+ };
3619
+ const T = {
3620
+ ignored: false,
3621
+ unignored: false
3622
+ };
3623
+ const createIgnoreMatcher = (t, e, n)=>{
3624
+ const r = E().add(t);
3625
+ const s = i.normalize(i.resolve(e));
3626
+ const o = i.normalize(i.resolve(n));
3627
+ return (t)=>{
3628
+ t = toPath(t);
3629
+ const e = /[/\\]$/.test(t);
3630
+ const n = i.normalize(i.resolve(t));
3631
+ if (n === s) return T;
3632
+ let a = toRelativePath(t, o);
3633
+ if (void 0 === a) return T;
3634
+ if (!a) return T;
3635
+ if (e && !a.endsWith(i.sep)) a += i.sep;
3636
+ return r.test(slash(a));
3637
+ };
3638
+ };
3639
+ const normalizeOptions = (t = {})=>{
3640
+ const e = t.ignore ? Array.isArray(t.ignore) ? t.ignore : [
3641
+ t.ignore
3642
+ ] : [];
3643
+ const n = toPath(t.cwd) ?? s.cwd();
3644
+ const r = "number" == typeof t.deep ? Math.max(0, t.deep) + 1 : 1 / 0;
3645
+ return {
3646
+ cwd: n,
3647
+ suppressErrors: t.suppressErrors ?? false,
3648
+ deep: r,
3649
+ ignore: [
3650
+ ...e,
3651
+ ...v
3652
+ ],
3653
+ followSymbolicLinks: t.followSymbolicLinks ?? true,
3654
+ concurrency: t.concurrency,
3655
+ throwErrorOnBrokenSymbolicLink: t.throwErrorOnBrokenSymbolicLink ?? false,
3656
+ fs: t.fs
3657
+ };
3658
+ };
3659
+ const unescapeGitQuotedValue = (t)=>t.replaceAll(/\\(["\\abfnrtv])/g, (t, e)=>{
3660
+ switch(e){
3661
+ case "a":
3662
+ return "";
3663
+ case "b":
3664
+ return "\b";
3665
+ case "f":
3666
+ return "\f";
3667
+ case "n":
3668
+ return "\n";
3669
+ case "r":
3670
+ return "\r";
3671
+ case "t":
3672
+ return "\t";
3673
+ case "v":
3674
+ return "\v";
3675
+ default:
3676
+ return e;
3677
+ }
3678
+ });
3679
+ const parseGitConfigValue = (t)=>{
3680
+ const e = t.trim();
3681
+ const n = e.match(/^"((?:[^"\\]|\\.)*)"\s*(?:[#;].*)?$/);
3682
+ if (n) return unescapeGitQuotedValue(n[1]);
3683
+ return e.replace(/\s[#;].*$/, "").trim();
3684
+ };
3685
+ const resolveConfigPath = (t, e)=>{
3686
+ if (e.startsWith("~/")) {
3687
+ const t = m.homedir();
3688
+ const n = i.join(t, e.slice(2));
3689
+ if (!isPathInside(n, t)) return i.join(t, ".globby-invalid-path-traversal");
3690
+ return n;
3691
+ }
3692
+ if (i.isAbsolute(e)) return e;
3693
+ return i.resolve(i.dirname(t), e);
3694
+ };
3695
+ const parseGitConfigSection = (t)=>{
3696
+ if (!t.startsWith("[")) return;
3697
+ let e = false;
3698
+ let n = false;
3699
+ for(let r = 1; r < t.length; r++){
3700
+ const s = t[r];
3701
+ if (n) {
3702
+ n = false;
3703
+ continue;
3704
+ }
3705
+ if ("\\" === s) {
3706
+ n = true;
3707
+ continue;
3708
+ }
3709
+ if ('"' === s) {
3710
+ e = !e;
3711
+ continue;
3712
+ }
3713
+ if ("]" === s && !e) {
3714
+ const e = t.slice(r + 1).trimStart();
3715
+ if (e && !e.startsWith("#") && !e.startsWith(";")) return;
3716
+ return t.slice(1, r).trim();
3717
+ }
3718
+ }
3719
+ };
3720
+ const parseGitConfigEntry = (t)=>{
3721
+ const e = t.match(/^([A-Za-z\d-.]+)\s*=\s*(.*)$/);
3722
+ if (!e) return;
3723
+ return {
3724
+ key: e[1].toLowerCase(),
3725
+ value: parseGitConfigValue(e[2])
3726
+ };
3727
+ };
3728
+ const parseIncludeIfCondition = (t)=>{
3729
+ if (!t) return;
3730
+ const e = t.match(/^includeif\s+"([^"]+)"$/i);
3731
+ return e ? e[1] : void 0;
3732
+ };
3733
+ const normalizeGitConfigConditionPattern = (t, e)=>{
3734
+ if (t.startsWith("~/")) t = i.join(m.homedir(), t.slice(2));
3735
+ else if (t.startsWith("./")) t = i.resolve(i.dirname(e), t.slice(2));
3736
+ else if (!i.isAbsolute(t)) t = `**/${t}`;
3737
+ if (t.endsWith("/")) t += "**";
3738
+ return slash(t);
3739
+ };
3740
+ const gitConfigGlobToRegex = (t, e)=>{
3741
+ let n = "";
3742
+ for(let e = 0; e < t.length; e++){
3743
+ const r = t[e];
3744
+ const s = t[e + 1];
3745
+ const o = t[e + 2];
3746
+ if ("*" === r && "*" === s && "/" === o) {
3747
+ n += "(?:.*/)?";
3748
+ e += 2;
3749
+ continue;
3750
+ }
3751
+ if ("*" === r && "*" === s) {
3752
+ n += ".*";
3753
+ e += 1;
3754
+ continue;
3755
+ }
3756
+ if ("*" === r) {
3757
+ n += "[^/]*";
3758
+ continue;
3759
+ }
3760
+ if ("?" === r) {
3761
+ n += "[^/]";
3762
+ continue;
3763
+ }
3764
+ if ("[" === r) {
3765
+ const r = t.indexOf("]", e + 1);
3766
+ if (-1 !== r) {
3767
+ const s = t.slice(e + 1, r);
3768
+ if (s) {
3769
+ const t = "!" === s[0] ? `^${s.slice(1)}` : s;
3770
+ n += `[${t}]`;
3771
+ e = r;
3772
+ continue;
3773
+ }
3774
+ }
3775
+ }
3776
+ n += /[|\\{}()[\]^$+?.]/.test(r) ? `\\${r}` : r;
3777
+ }
3778
+ try {
3779
+ return new RegExp(`^${n}$`, e);
3780
+ } catch {
3781
+ return /(?!)/;
3782
+ }
3783
+ };
3784
+ const matchesIncludeIfCondition = (t, e, n)=>{
3785
+ if (!e) return false;
3786
+ const r = t.match(/^(gitdir|gitdir\/i):(.*)$/i);
3787
+ if (!r) return false;
3788
+ const [, s, o] = r;
3789
+ const a = normalizeGitConfigConditionPattern(o.trim(), n);
3790
+ const u = "gitdir/i" === s.toLowerCase();
3791
+ const c = gitConfigGlobToRegex(a, u ? "i" : void 0);
3792
+ const l = slash(i.resolve(e));
3793
+ return c.test(l);
3794
+ };
3795
+ const shouldIncludeConfigSection = (t, e, n)=>{
3796
+ if (t?.toLowerCase() === "include") return true;
3797
+ const r = parseIncludeIfCondition(t);
3798
+ return r ? matchesIncludeIfCondition(r, e, n) : false;
3799
+ };
3800
+ const createExcludesFileValue = (t, e)=>({
3801
+ value: t,
3802
+ declaringFilePath: e
3803
+ });
3804
+ const parseGitConfigForExcludesFile = (t, e, n)=>{
3805
+ let r;
3806
+ let s;
3807
+ const o = [];
3808
+ for (const i of t.split(/\r?\n/)){
3809
+ const t = i.trim();
3810
+ if (!t || t.startsWith("#") || t.startsWith(";")) continue;
3811
+ if (t.startsWith("[")) {
3812
+ r = parseGitConfigSection(t);
3813
+ continue;
3814
+ }
3815
+ const a = parseGitConfigEntry(t);
3816
+ if (a) {
3817
+ if (r?.toLowerCase() === "core" && "excludesfile" === a.key) {
3818
+ s = createExcludesFileValue(a.value, e);
3819
+ continue;
3820
+ }
3821
+ if (shouldIncludeConfigSection(r, n, e) && "path" === a.key && a.value) o.push(resolveConfigPath(e, a.value));
3822
+ }
3823
+ }
3824
+ return {
3825
+ excludesFile: s,
3826
+ includePaths: o
3827
+ };
3828
+ };
3829
+ const readGitConfigFile = (t, e, n)=>{
3830
+ try {
3831
+ return e(t, "utf8");
3832
+ } catch (e) {
3833
+ if (shouldSkipIgnoreFileError(e, n)) return;
3834
+ throw createGitConfigReadError(t, e);
3835
+ }
3836
+ };
3837
+ const getExcludesFileFromGitConfigSync = (t, e, n, r = {})=>{
3838
+ const { suppressErrors: s, includeStack: o = new Set, depth: a = 0 } = r;
3839
+ const u = i.resolve(t);
3840
+ if (o.has(u)) return;
3841
+ if (a >= H) return;
3842
+ o.add(u);
3843
+ const c = readGitConfigFile(u, e, s);
3844
+ if (void 0 === c) return void o.delete(u);
3845
+ let { excludesFile: l, includePaths: f } = parseGitConfigForExcludesFile(c, u, n);
3846
+ for (const t of f){
3847
+ const r = getExcludesFileFromGitConfigSync(t, e, n, {
3848
+ suppressErrors: s,
3849
+ includeStack: o,
3850
+ depth: a + 1
3851
+ });
3852
+ if (void 0 !== r) l = r;
3853
+ }
3854
+ o.delete(u);
3855
+ return l;
3856
+ };
3857
+ const getExcludesFileFromGitConfigAsync = async (t, e, n, r = {})=>{
3858
+ const { suppressErrors: s, includeStack: o = new Set, depth: a = 0 } = r;
3859
+ const u = i.resolve(t);
3860
+ if (o.has(u)) return;
3861
+ if (a >= H) return;
3862
+ o.add(u);
3863
+ let c;
3864
+ try {
3865
+ c = await e(u, "utf8");
3866
+ } catch (t) {
3867
+ o.delete(u);
3868
+ if (shouldSkipIgnoreFileError(t, s)) return;
3869
+ throw createGitConfigReadError(u, t);
3870
+ }
3871
+ let { excludesFile: l, includePaths: f } = parseGitConfigForExcludesFile(c, u, n);
3872
+ for (const t of f){
3873
+ const r = await getExcludesFileFromGitConfigAsync(t, e, n, {
3874
+ suppressErrors: s,
3875
+ includeStack: o,
3876
+ depth: a + 1
3877
+ });
3878
+ if (void 0 !== r) l = r;
3879
+ }
3880
+ o.delete(u);
3881
+ return l;
3882
+ };
3883
+ const resolveGitDirectoryFromFile = (t, e)=>{
3884
+ const n = e.match(/^gitdir:\s*(.+?)\s*$/i);
3885
+ if (!n) return t;
3886
+ return i.resolve(i.dirname(t), n[1]);
3887
+ };
3888
+ const getGitDirectorySync = (t, e)=>{
3889
+ if (!t) return;
3890
+ const n = i.join(t, ".git");
3891
+ try {
3892
+ return resolveGitDirectoryFromFile(n, e(n, "utf8"));
3893
+ } catch {
3894
+ return n;
3895
+ }
3896
+ };
3897
+ const getGitDirectoryAsync = async (t, e)=>{
3898
+ if (!t) return;
3899
+ const n = i.join(t, ".git");
3900
+ try {
3901
+ return resolveGitDirectoryFromFile(n, await e(n, "utf8"));
3902
+ } catch {
3903
+ return n;
3904
+ }
3905
+ };
3906
+ const getXdgConfigHome = ()=>s.env.XDG_CONFIG_HOME || i.join(m.homedir(), ".config");
3907
+ const getGitConfigPaths = ()=>{
3908
+ if ("GIT_CONFIG_GLOBAL" in s.env) {
3909
+ const t = s.env.GIT_CONFIG_GLOBAL;
3910
+ return t ? [
3911
+ t
3912
+ ] : [];
3913
+ }
3914
+ return [
3915
+ i.join(getXdgConfigHome(), "git", "config"),
3916
+ i.join(m.homedir(), ".gitconfig")
3917
+ ];
3918
+ };
3919
+ const getDefaultGlobalGitignorePath = ()=>i.join(getXdgConfigHome(), "git", "ignore");
3920
+ const resolveExcludesFilePath = (t)=>{
3921
+ if (t?.value === "") return;
3922
+ if (void 0 === t) return getDefaultGlobalGitignorePath();
3923
+ return resolveConfigPath(t.declaringFilePath, t.value);
3924
+ };
3925
+ const readGlobalGitignoreContent = (t, e, n)=>{
3926
+ try {
3927
+ const n = e(t, "utf8");
3928
+ return {
3929
+ filePath: t,
3930
+ content: n
3931
+ };
3932
+ } catch (e) {
3933
+ if (shouldSkipIgnoreFileError(e, n)) return;
3934
+ throw createIgnoreFileReadError(t, e);
3935
+ }
3936
+ };
3937
+ const getGlobalGitignoreFile = (t = {})=>{
3938
+ const e = toPath(t.cwd) ?? s.cwd();
3939
+ const n = getReadFileSyncMethod(t.fs);
3940
+ const r = findGitRootSync(e, t.fs);
3941
+ const o = getGitDirectorySync(r, n);
3942
+ let i;
3943
+ for (const e of getGitConfigPaths()){
3944
+ const r = getExcludesFileFromGitConfigSync(e, n, o, {
3945
+ suppressErrors: t.suppressErrors
3946
+ });
3947
+ if (void 0 !== r) i = r;
3948
+ }
3949
+ const a = resolveExcludesFilePath(i);
3950
+ return void 0 === a ? void 0 : readGlobalGitignoreContent(a, n, t.suppressErrors);
3951
+ };
3952
+ const getGlobalGitignoreFileAsync = async (t = {})=>{
3953
+ const e = toPath(t.cwd) ?? s.cwd();
3954
+ const n = getReadFileMethod(t.fs);
3955
+ const r = await findGitRoot(e, t.fs);
3956
+ const o = await getGitDirectoryAsync(r, n);
3957
+ const i = await Promise.all(getGitConfigPaths().map((e)=>getExcludesFileFromGitConfigAsync(e, n, o, {
3958
+ suppressErrors: t.suppressErrors
3959
+ })));
3960
+ const a = i.findLast((t)=>void 0 !== t);
3961
+ const u = resolveExcludesFilePath(a);
3962
+ if (void 0 === u) return;
3963
+ try {
3964
+ const t = await n(u, "utf8");
3965
+ return {
3966
+ filePath: u,
3967
+ content: t
3968
+ };
3969
+ } catch (e) {
3970
+ if (shouldSkipIgnoreFileError(e, t.suppressErrors)) return;
3971
+ throw createIgnoreFileReadError(u, e);
3972
+ }
3973
+ };
3974
+ const buildGlobalMatcher = (t, e, n = e)=>{
3975
+ const r = parseIgnoreFile(t, i.dirname(t.filePath));
3976
+ return createIgnoreMatcher(r, e, n);
3977
+ };
3978
+ const getKnownIgnoreFilePaths = (t, e, n)=>{
3979
+ const r = [
3980
+ t
3981
+ ].flat();
3982
+ const s = r.includes($);
3983
+ if (!s) return [];
3984
+ return n ? getParentGitignorePaths(n, e.cwd) : [
3985
+ i.join(e.cwd, ".gitignore")
3986
+ ];
3987
+ };
3988
+ const getKnownIgnoreFileSearchOptions = (t, e)=>({
3989
+ ...e,
3990
+ ignore: [
3991
+ ...e.ignore,
3992
+ ...[
3993
+ t
3994
+ ].flat().filter((t)=>isNegativePattern(t)).map((t)=>t.slice(1))
3995
+ ]
3996
+ });
3997
+ const getKnownIgnoreFilePattern = (t, e)=>{
3998
+ const n = isPathInside(t, e) ? i.relative(e, t) : t;
3999
+ return p["default"].convertPathToPattern(n);
4000
+ };
4001
+ const getMatchingKnownIgnoreFilePaths = (t, e)=>{
4002
+ const n = new Set(e.map((t)=>i.resolve(t)));
4003
+ return t.filter((t)=>n.has(i.resolve(t)));
4004
+ };
4005
+ const globKnownIgnoreFilePaths = (t, e, n, r)=>{
4006
+ if (0 === e.length) return [];
4007
+ return globIgnoreFiles(t, e.map((t)=>getKnownIgnoreFilePattern(t, r.cwd)), getKnownIgnoreFileSearchOptions(n, r));
4008
+ };
4009
+ const filterKnownIgnoreFilePathsAsync = async (t, e, n)=>{
4010
+ const r = await globKnownIgnoreFilePaths(p["default"], t, e, n);
4011
+ return getMatchingKnownIgnoreFilePaths(t, r);
4012
+ };
4013
+ const filterKnownIgnoreFilePathsSync = (t, e, n)=>{
4014
+ const r = globKnownIgnoreFilePaths(p["default"].sync, t, e, n);
4015
+ return getMatchingKnownIgnoreFilePaths(t, r);
4016
+ };
4017
+ const getIgnoreFileSearchPrune = (t, e, n, r)=>{
4018
+ if (0 === e.length) return {
4019
+ patterns: [],
4020
+ guardNames: []
4021
+ };
4022
+ const { cwd: s } = n;
4023
+ const o = r || s;
4024
+ const i = getPatternsFromIgnoreFiles(e, o);
4025
+ const a = createIgnoreMatcher(i, s, o);
4026
+ const u = [
4027
+ t
4028
+ ].flat();
4029
+ const c = u.every((t)=>t === $);
4030
+ const l = u.includes($);
4031
+ return buildPrunePatternsAndGuards(getIgnoreRules(e), a, s, {
4032
+ gitignoreOnlySearch: c,
4033
+ searchesForGitignoreFiles: l
4034
+ });
4035
+ };
4036
+ const withPrunedSearch = (t, e)=>0 === e.length ? t : {
4037
+ ...t,
4038
+ ignore: [
4039
+ ...t.ignore,
4040
+ ...e
4041
+ ]
4042
+ };
4043
+ const getUnreadPaths = (t, e)=>{
4044
+ const n = new Set(e.map((t)=>i.resolve(t)));
4045
+ return dedupePaths(t).filter((t)=>!n.has(i.resolve(t)));
4046
+ };
4047
+ const collectIgnoreFileArtifactsAsync = async (t, e, n)=>{
4048
+ const r = normalizeOptions(e);
4049
+ const s = getReadFileMethod(r.fs);
4050
+ const o = n ? await findGitRoot(r.cwd, r.fs) : void 0;
4051
+ const i = await filterKnownIgnoreFilePathsAsync(getKnownIgnoreFilePaths(t, r, o), t, r);
4052
+ const a = await readIgnoreFilesSafely(i, s, r.suppressErrors);
4053
+ const { patterns: u, guardNames: c } = getIgnoreFileSearchPrune(t, a, r, o);
4054
+ const l = await globIgnoreFiles(p["default"], t, withPrunedSearch(r, u));
4055
+ let f = await readIgnoreFilesSafely(getUnreadPaths(l, i), s, r.suppressErrors);
4056
+ if (negationsCouldRescue(getIgnoreRules(f), c)) {
4057
+ const e = await globIgnoreFiles(p["default"], t, r);
4058
+ f = await readIgnoreFilesSafely(getUnreadPaths(e, i), s, r.suppressErrors);
4059
+ }
4060
+ return {
4061
+ files: [
4062
+ ...a,
4063
+ ...f
4064
+ ],
4065
+ normalizedOptions: r,
4066
+ gitRoot: o
4067
+ };
4068
+ };
4069
+ const collectIgnoreFileArtifactsSync = (t, e, n)=>{
4070
+ const r = normalizeOptions(e);
4071
+ const s = getReadFileSyncMethod(r.fs);
4072
+ const o = n ? findGitRootSync(r.cwd, r.fs) : void 0;
4073
+ const i = filterKnownIgnoreFilePathsSync(getKnownIgnoreFilePaths(t, r, o), t, r);
4074
+ const a = readIgnoreFilesSafelySync(i, s, r.suppressErrors);
4075
+ const { patterns: u, guardNames: c } = getIgnoreFileSearchPrune(t, a, r, o);
4076
+ const l = globIgnoreFiles(p["default"].sync, t, withPrunedSearch(r, u));
4077
+ let f = readIgnoreFilesSafelySync(getUnreadPaths(l, i), s, r.suppressErrors);
4078
+ if (negationsCouldRescue(getIgnoreRules(f), c)) {
4079
+ const e = globIgnoreFiles(p["default"].sync, t, r);
4080
+ f = readIgnoreFilesSafelySync(getUnreadPaths(e, i), s, r.suppressErrors);
4081
+ }
4082
+ return {
4083
+ files: [
4084
+ ...a,
4085
+ ...f
4086
+ ],
4087
+ normalizedOptions: r,
4088
+ gitRoot: o
4089
+ };
4090
+ };
4091
+ const isIgnoredByIgnoreFiles = async (t, e)=>{
4092
+ const { files: n, normalizedOptions: r, gitRoot: s } = await collectIgnoreFileArtifactsAsync(t, e, false);
4093
+ return buildIgnoreResult(n, r, s).predicate;
4094
+ };
4095
+ const isIgnoredByIgnoreFilesSync = (t, e)=>{
4096
+ const { files: n, normalizedOptions: r, gitRoot: s } = collectIgnoreFileArtifactsSync(t, e, false);
4097
+ return buildIgnoreResult(n, r, s).predicate;
4098
+ };
4099
+ const getPatternsFromIgnoreFiles = (t, e)=>t.flatMap((t)=>parseIgnoreFile(t, e));
4100
+ const getIgnorePatternsAndPredicate = async (t, e, n = false)=>{
4101
+ const { files: r, normalizedOptions: s, gitRoot: o } = await collectIgnoreFileArtifactsAsync(t, e, n);
4102
+ return buildIgnoreResult(r, s, o);
4103
+ };
4104
+ const getIgnorePatternsAndPredicateSync = (t, e, n = false)=>{
4105
+ const { files: r, normalizedOptions: s, gitRoot: o } = collectIgnoreFileArtifactsSync(t, e, n);
4106
+ return buildIgnoreResult(r, s, o);
4107
+ };
4108
+ const isGitIgnored = (t)=>isIgnoredByIgnoreFiles($, t);
4109
+ const isGitIgnoredSync = (t)=>isIgnoredByIgnoreFilesSync($, t);
4110
+ const assertPatternsInput = (t)=>{
4111
+ if (t.some((t)=>"string" != typeof t)) throw new TypeError("Patterns must be a string or an array of strings");
4112
+ };
4113
+ const getStatMethod = (t)=>{
4114
+ if (t) return bindFsMethod(t.promises, "stat") ?? promisifyFsMethod(t, "stat");
4115
+ return bindFsMethod(o.promises, "stat");
4116
+ };
4117
+ const globby_getStatSyncMethod = (t)=>bindFsMethod(t, "statSync") ?? bindFsMethod(o, "statSync");
4118
+ const isDirectory = async (t, e)=>{
4119
+ try {
4120
+ const n = await getStatMethod(e)(t);
4121
+ return n.isDirectory();
4122
+ } catch {
4123
+ return false;
4124
+ }
4125
+ };
4126
+ const isDirectorySync = (t, e)=>{
4127
+ try {
4128
+ const n = globby_getStatSyncMethod(e)(t);
4129
+ return n.isDirectory();
4130
+ } catch {
4131
+ return false;
4132
+ }
4133
+ };
4134
+ const normalizePathForDirectoryGlob = (t, e)=>{
4135
+ const n = isNegativePattern(t) ? t.slice(1) : t;
4136
+ return i.isAbsolute(n) ? n : i.join(e, n);
4137
+ };
4138
+ const shouldExpandGlobstarDirectory = (t)=>{
4139
+ const e = t?.match(/\*\*\/([^/]+)$/);
4140
+ if (!e) return false;
4141
+ const n = e[1];
4142
+ const r = /[*?[\]{}]/.test(n);
4143
+ const s = i.extname(n) && !n.startsWith(".");
4144
+ return !r && !s;
4145
+ };
4146
+ const getDirectoryGlob = ({ directoryPath: t, files: e, extensions: n })=>{
4147
+ const r = n?.length > 0 ? `.${n.length > 1 ? `{${n.join(",")}}` : n[0]}` : "";
4148
+ return e ? e.map((e)=>i.posix.join(t, `**/${i.extname(e) ? e : `${e}${r}`}`)) : [
4149
+ i.posix.join(t, `**${r ? `/*${r}` : ""}`)
4150
+ ];
4151
+ };
4152
+ const directoryToGlob = async (t, { cwd: e = s.cwd(), files: n, extensions: r, fs: o } = {})=>{
4153
+ const i = await Promise.all(t.map(async (t)=>{
4154
+ const s = isNegativePattern(t) ? t.slice(1) : t;
4155
+ if (shouldExpandGlobstarDirectory(s)) return getDirectoryGlob({
4156
+ directoryPath: t,
4157
+ files: n,
4158
+ extensions: r
4159
+ });
4160
+ const i = normalizePathForDirectoryGlob(t, e);
4161
+ return await isDirectory(i, o) ? getDirectoryGlob({
4162
+ directoryPath: t,
4163
+ files: n,
4164
+ extensions: r
4165
+ }) : t;
4166
+ }));
4167
+ return i.flat();
4168
+ };
4169
+ const directoryToGlobSync = (t, { cwd: e = s.cwd(), files: n, extensions: r, fs: o } = {})=>t.flatMap((t)=>{
4170
+ const s = isNegativePattern(t) ? t.slice(1) : t;
4171
+ if (shouldExpandGlobstarDirectory(s)) return getDirectoryGlob({
4172
+ directoryPath: t,
4173
+ files: n,
4174
+ extensions: r
4175
+ });
4176
+ const i = normalizePathForDirectoryGlob(t, e);
4177
+ return isDirectorySync(i, o) ? getDirectoryGlob({
4178
+ directoryPath: t,
4179
+ files: n,
4180
+ extensions: r
4181
+ }) : t;
4182
+ });
4183
+ const toPatternsArray = (t)=>{
4184
+ t = [
4185
+ ...new Set([
4186
+ t
4187
+ ].flat())
4188
+ ];
4189
+ assertPatternsInput(t);
4190
+ return t;
4191
+ };
4192
+ const checkCwdOption = (t, e = o)=>{
4193
+ if (!t || !e.statSync) return;
4194
+ let n;
4195
+ try {
4196
+ n = e.statSync(t);
4197
+ } catch {
4198
+ return;
4199
+ }
4200
+ if (!n.isDirectory()) throw new Error(`The \`cwd\` option must be a path to a directory, got: ${t}`);
4201
+ };
4202
+ const globby_normalizeOptions = (t = {})=>{
4203
+ const e = t.ignore ? Array.isArray(t.ignore) ? t.ignore : [
4204
+ t.ignore
4205
+ ] : [];
4206
+ t = {
4207
+ ...t,
4208
+ ignore: e,
4209
+ expandDirectories: t.expandDirectories ?? true,
4210
+ cwd: toPath(t.cwd)
4211
+ };
4212
+ checkCwdOption(t.cwd, t.fs);
4213
+ return t;
4214
+ };
4215
+ const normalizeArguments = (t)=>async (e, n)=>t(toPatternsArray(e), globby_normalizeOptions(n));
4216
+ const normalizeArgumentsSync = (t)=>(e, n)=>t(toPatternsArray(e), globby_normalizeOptions(n));
4217
+ const getIgnoreFilesPatterns = (t)=>{
4218
+ const { ignoreFiles: e, gitignore: n } = t;
4219
+ const r = e ? toPatternsArray(e) : [];
4220
+ if (n) r.push($);
4221
+ return r;
4222
+ };
4223
+ const isPathIgnored = (t, e, n)=>{
4224
+ const r = e ? e(n) : void 0;
4225
+ const s = t ? t(n) : void 0;
4226
+ if (s?.unignored) return false;
4227
+ return Boolean(s?.ignored || r?.ignored);
4228
+ };
4229
+ const hasIgnoredAncestorDirectory = (t, e, n)=>{
4230
+ let r = n;
4231
+ while(true){
4232
+ const n = i.dirname(r);
4233
+ if (n === r) return false;
4234
+ if (isPathIgnored(t, e, `${n}${i.sep}`)) return true;
4235
+ r = n;
4236
+ }
4237
+ };
4238
+ const combinePredicate = (t, e)=>{
4239
+ if (!t && !e) return false;
4240
+ return (n)=>{
4241
+ const r = t ? t(n) : void 0;
4242
+ if (r?.unignored) {
4243
+ const r = e ? e(n) : void 0;
4244
+ return r?.ignored && hasIgnoredAncestorDirectory(t, e, n);
4245
+ }
4246
+ return isPathIgnored(t, e, n);
4247
+ };
4248
+ };
4249
+ const buildIgnoreFilterResult = ({ options: t, cwd: e, ignoreResult: { rules: n, matcher: r }, globalMatcher: s, createFilter: o })=>{
4250
+ const i = combinePredicate(r, s);
4251
+ const a = convertPatternsForFastGlob(n, r, e);
4252
+ return {
4253
+ options: t,
4254
+ pruneIgnorePatterns: a,
4255
+ filter: o(i, e, t.fs)
4256
+ };
4257
+ };
4258
+ const getIgnoreFileSearchOptions = (t, e)=>({
4259
+ ...t,
4260
+ ignore: convertIgnorePatternsForIgnoreFileSearch(t.ignore, e)
4261
+ });
4262
+ const applyIgnoreFilesAndGetFilter = async (t)=>{
4263
+ const e = t.cwd ?? s.cwd();
4264
+ const n = getIgnoreFilesPatterns(t);
4265
+ const r = t.globalGitignore ? await getGlobalGitignoreFileAsync(t) : void 0;
4266
+ if (0 === n.length && !r) return {
4267
+ options: t,
4268
+ pruneIgnorePatterns: [],
4269
+ filter: createFilterFunctionAsync(false, e, t.fs)
4270
+ };
4271
+ const o = true === t.gitignore;
4272
+ const i = n.length > 0 ? await getIgnorePatternsAndPredicate(n, getIgnoreFileSearchOptions(t, n), o) : {
4273
+ rules: [],
4274
+ matcher: false
4275
+ };
4276
+ const a = r ? await findGitRoot(e, t.fs) : void 0;
4277
+ const u = r ? buildGlobalMatcher(r, e, a ?? e) : void 0;
4278
+ return buildIgnoreFilterResult({
4279
+ options: t,
4280
+ cwd: e,
4281
+ ignoreResult: i,
4282
+ globalMatcher: u,
4283
+ createFilter: createFilterFunctionAsync
4284
+ });
4285
+ };
4286
+ const applyIgnoreFilesAndGetFilterSync = (t)=>{
4287
+ const e = t.cwd ?? s.cwd();
4288
+ const n = getIgnoreFilesPatterns(t);
4289
+ const r = t.globalGitignore ? getGlobalGitignoreFile(t) : void 0;
4290
+ if (0 === n.length && !r) return {
4291
+ options: t,
4292
+ pruneIgnorePatterns: [],
4293
+ filter: createFilterFunction(false, e, t.fs)
4294
+ };
4295
+ const o = true === t.gitignore;
4296
+ const i = n.length > 0 ? getIgnorePatternsAndPredicateSync(n, getIgnoreFileSearchOptions(t, n), o) : {
4297
+ rules: [],
4298
+ matcher: false
4299
+ };
4300
+ const a = r ? findGitRootSync(e, t.fs) : void 0;
4301
+ const u = r ? buildGlobalMatcher(r, e, a ?? e) : void 0;
4302
+ return buildIgnoreFilterResult({
4303
+ options: t,
4304
+ cwd: e,
4305
+ ignoreResult: i,
4306
+ globalMatcher: u,
4307
+ createFilter: createFilterFunction
4308
+ });
4309
+ };
4310
+ const assertGlobalGitignoreSyncSupport = (t)=>{
4311
+ if (t.globalGitignore && t.fs && !t.fs.statSync) throw new Error("The `globalGitignore` option in `globbySync()` requires `fs.statSync` when a custom `fs` is provided.");
4312
+ };
4313
+ const O = "The `globalGitignore` option in `globby()` and `globbyStream()` requires `fs.promises.stat` or `fs.stat` when a custom `fs` is provided.";
4314
+ const assertGlobalGitignoreAsyncSupport = (t)=>{
4315
+ if (!t.globalGitignore || !t.fs) return;
4316
+ if (!t.fs.promises?.stat && !t.fs.stat) throw new Error(O);
4317
+ };
4318
+ const createPathResolver = (t)=>{
4319
+ const e = t || s.cwd();
4320
+ const n = new Map;
4321
+ return (t)=>{
4322
+ let r = n.get(t);
4323
+ if (void 0 === r) {
4324
+ if (n.size > 1e4) n.clear();
4325
+ r = i.isAbsolute(t) ? t : i.resolve(e, t);
4326
+ n.set(t, r);
4327
+ }
4328
+ return r;
4329
+ };
4330
+ };
4331
+ const createAsyncDirectoryCheck = (t)=>{
4332
+ const e = new Map;
4333
+ return async (n)=>{
4334
+ let r = e.get(n);
4335
+ if (void 0 !== r) return r;
4336
+ try {
4337
+ const e = await t?.(n);
4338
+ r = Boolean(e?.isDirectory());
4339
+ } catch {
4340
+ r = false;
4341
+ }
4342
+ if (e.size > 1e4) e.clear();
4343
+ e.set(n, r);
4344
+ return r;
4345
+ };
4346
+ };
4347
+ const createDirectoryCheck = (t)=>{
4348
+ const e = new Map;
4349
+ return (n)=>{
4350
+ let r = e.get(n);
4351
+ if (void 0 !== r) return r;
4352
+ try {
4353
+ r = Boolean(t?.(n)?.isDirectory());
4354
+ } catch {
4355
+ r = false;
4356
+ }
4357
+ if (e.size > 1e4) e.clear();
4358
+ e.set(n, r);
4359
+ return r;
4360
+ };
4361
+ };
4362
+ const createFilterFunctionAsync = (t, e, n)=>{
4363
+ const r = createPathResolver(e);
4364
+ const s = createAsyncDirectoryCheck(getStatMethod(n));
4365
+ return async (e)=>{
4366
+ if (!t) return true;
4367
+ const n = r(i.normalize(e.path ?? e));
4368
+ if (t(n)) return false;
4369
+ return !(await s(n) && t(`${n}${i.sep}`));
4370
+ };
4371
+ };
4372
+ const createFilterFunction = (t, e, n)=>{
4373
+ const r = new Set;
4374
+ const s = createPathResolver(e);
4375
+ const o = createDirectoryCheck(globby_getStatSyncMethod(n));
4376
+ return (e)=>{
4377
+ const n = i.normalize(e.path ?? e);
4378
+ if (r.has(n)) return false;
4379
+ if (t) {
4380
+ const e = s(n);
4381
+ if (t(e)) return false;
4382
+ if (o(e) && t(`${e}${i.sep}`)) return false;
4383
+ }
4384
+ r.add(n);
4385
+ return true;
4386
+ };
4387
+ };
4388
+ const unionFastGlobResults = (t, e)=>t.flat().filter((t)=>e(t));
4389
+ const unionFastGlobResultsAsync = async (t, e)=>{
4390
+ t = t.flat();
4391
+ const n = await Promise.all(t.map((t)=>e(t)));
4392
+ const r = new Set;
4393
+ return t.filter((t, e)=>{
4394
+ if (!n[e]) return false;
4395
+ const s = i.normalize(t.path ?? t);
4396
+ if (r.has(s)) return false;
4397
+ r.add(s);
4398
+ return true;
4399
+ });
4400
+ };
4401
+ const convertNegativePatterns = (t, e)=>{
4402
+ if (t.length > 0 && t.every((t)=>isNegativePattern(t))) {
4403
+ if (false === e.expandNegationOnlyPatterns) return [];
4404
+ t = [
4405
+ "**/*",
4406
+ ...t
4407
+ ];
4408
+ }
4409
+ const n = [];
4410
+ let r = false;
4411
+ const s = [];
4412
+ for (const e of t){
4413
+ if (isNegativePattern(e)) {
4414
+ s.push(`!${normalizeNegativePattern(e.slice(1), n, r)}`);
4415
+ continue;
4416
+ }
4417
+ s.push(e);
4418
+ const t = getStaticAbsolutePathPrefix(e);
4419
+ if (void 0 === t) {
4420
+ r = true;
4421
+ continue;
4422
+ }
4423
+ n.push(t);
4424
+ }
4425
+ t = s;
4426
+ const o = [];
4427
+ while(t.length > 0){
4428
+ const n = t.findIndex((t)=>isNegativePattern(t));
4429
+ if (-1 === n) {
4430
+ o.push({
4431
+ patterns: t,
4432
+ options: e
4433
+ });
4434
+ break;
4435
+ }
4436
+ const r = t[n].slice(1);
4437
+ for (const t of o)t.options.ignore.push(r);
4438
+ if (0 !== n) o.push({
4439
+ patterns: t.slice(0, n),
4440
+ options: {
4441
+ ...e,
4442
+ ignore: [
4443
+ ...e.ignore,
4444
+ r
4445
+ ]
4446
+ }
4447
+ });
4448
+ t = t.slice(n + 1);
4449
+ }
4450
+ return o;
4451
+ };
4452
+ const applyParentDirectoryIgnoreAdjustments = (t)=>t.map((t)=>({
4453
+ patterns: t.patterns,
4454
+ options: {
4455
+ ...t.options,
4456
+ ignore: adjustIgnorePatternsForParentDirectories(t.patterns, t.options.ignore)
4457
+ }
4458
+ }));
4459
+ const appendPruneIgnorePatterns = (t, e)=>0 === e.length ? t : t.map((t)=>({
4460
+ patterns: t.patterns,
4461
+ options: {
4462
+ ...t.options,
4463
+ ignore: [
4464
+ ...t.options.ignore,
4465
+ ...e
4466
+ ]
4467
+ }
4468
+ }));
4469
+ const normalizeExpandDirectoriesOption = (t, e)=>({
4470
+ ...e ? {
4471
+ cwd: e
4472
+ } : {},
4473
+ ...Array.isArray(t) ? {
4474
+ files: t
4475
+ } : t
4476
+ });
4477
+ const generateTasks = async (t, e, n = [])=>{
4478
+ const r = convertNegativePatterns(t, e);
4479
+ const { cwd: s, expandDirectories: o, fs: i } = e;
4480
+ if (!o) return appendPruneIgnorePatterns(applyParentDirectoryIgnoreAdjustments(r), n);
4481
+ const a = {
4482
+ ...normalizeExpandDirectoriesOption(o, s),
4483
+ fs: i
4484
+ };
4485
+ const u = await Promise.all(r.map(async (t)=>{
4486
+ let { patterns: e, options: n } = t;
4487
+ [e, n.ignore] = await Promise.all([
4488
+ directoryToGlob(e, a),
4489
+ directoryToGlob(n.ignore, {
4490
+ cwd: s,
4491
+ fs: i
4492
+ })
4493
+ ]);
4494
+ n.ignore = adjustIgnorePatternsForParentDirectories(e, n.ignore);
4495
+ return {
4496
+ patterns: e,
4497
+ options: n
4498
+ };
4499
+ }));
4500
+ return appendPruneIgnorePatterns(u, n);
4501
+ };
4502
+ const generateTasksSync = (t, e, n = [])=>{
4503
+ const r = convertNegativePatterns(t, e);
4504
+ const { cwd: s, expandDirectories: o, fs: i } = e;
4505
+ if (!o) return appendPruneIgnorePatterns(applyParentDirectoryIgnoreAdjustments(r), n);
4506
+ const a = {
4507
+ ...normalizeExpandDirectoriesOption(o, s),
4508
+ fs: i
4509
+ };
4510
+ const u = r.map((t)=>{
4511
+ let { patterns: e, options: n } = t;
4512
+ e = directoryToGlobSync(e, a);
4513
+ n.ignore = directoryToGlobSync(n.ignore, {
4514
+ cwd: s,
4515
+ fs: i
4516
+ });
4517
+ n.ignore = adjustIgnorePatternsForParentDirectories(e, n.ignore);
4518
+ return {
4519
+ patterns: e,
4520
+ options: n
4521
+ };
4522
+ });
4523
+ return appendPruneIgnorePatterns(u, n);
4524
+ };
4525
+ const L = normalizeArguments(async (t, e)=>{
4526
+ assertGlobalGitignoreAsyncSupport(e);
4527
+ const { options: n, pruneIgnorePatterns: r, filter: s } = await applyIgnoreFilesAndGetFilter(e);
4528
+ const o = await generateTasks(t, n, r);
4529
+ const i = await Promise.all(o.map((t)=>(0, p["default"])(t.patterns, t.options)));
4530
+ return unionFastGlobResultsAsync(i, s);
4531
+ });
4532
+ const P = normalizeArgumentsSync((t, e)=>{
4533
+ assertGlobalGitignoreSyncSupport(e);
4534
+ const { options: n, pruneIgnorePatterns: r, filter: s } = applyIgnoreFilesAndGetFilterSync(e);
4535
+ const o = generateTasksSync(t, n, r);
4536
+ const i = o.map((t)=>p["default"].sync(t.patterns, t.options));
4537
+ return unionFastGlobResults(i, s);
4538
+ });
4539
+ const k = normalizeArgumentsSync((t, e)=>{
4540
+ assertGlobalGitignoreAsyncSupport(e);
4541
+ const n = new Set;
4542
+ const r = a.Readable.from(async function*() {
4543
+ const { options: r, pruneIgnorePatterns: s, filter: o } = await applyIgnoreFilesAndGetFilter(e);
4544
+ const a = await generateTasks(t, r, s);
4545
+ if (0 === a.length) return;
4546
+ const u = a.map((t)=>p["default"].stream(t.patterns, t.options));
4547
+ for await (const t of mergeStreams(u)){
4548
+ const e = i.normalize(t.path ?? t);
4549
+ if (!n.has(e) && await o(t)) {
4550
+ n.add(e);
4551
+ yield t;
4552
+ }
4553
+ }
4554
+ }());
4555
+ return r;
4556
+ });
4557
+ const I = normalizeArgumentsSync((t, e)=>t.some((t)=>p["default"].isDynamicPattern(t, e)));
4558
+ const N = normalizeArguments(generateTasks);
4559
+ const M = normalizeArgumentsSync(generateTasksSync);
4560
+ const { convertPathToPattern: B } = p["default"];
4561
+ var D = r.a;
4562
+ var F = r.Kd;
4563
+ var G = r.li;
4564
+ var U = r.IK;
4565
+ var W = r.AG;
4566
+ var K = r.Hz;
4567
+ var j = r.ey;
4568
+ var q = r.Zh;
4569
+ var z = r.kD;
4570
+ var Q = r.dK;
4571
+ var X = r.Sb;
4572
+ export { D as convertPathToPattern, F as generateGlobTasks, G as generateGlobTasksSync, U as globby, W as globbyStream, K as globbySync, j as isDynamicPattern, q as isGitIgnored, z as isGitIgnoredSync, Q as isIgnoredByIgnoreFiles, X as isIgnoredByIgnoreFilesSync };