@bleedingdev/modern-js-utils 3.2.0-ultramodern.0

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 (387) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +26 -0
  3. package/dist/cjs/cli/alias.js +82 -0
  4. package/dist/cjs/cli/applyOptionsChain.js +50 -0
  5. package/dist/cjs/cli/commands.js +69 -0
  6. package/dist/cjs/cli/common.js +59 -0
  7. package/dist/cjs/cli/config.js +39 -0
  8. package/dist/cjs/cli/constants.js +136 -0
  9. package/dist/cjs/cli/ensure.js +56 -0
  10. package/dist/cjs/cli/fs.js +46 -0
  11. package/dist/cjs/cli/get/config.js +48 -0
  12. package/dist/cjs/cli/get/data.js +106 -0
  13. package/dist/cjs/cli/get/index.js +112 -0
  14. package/dist/cjs/cli/index.js +212 -0
  15. package/dist/cjs/cli/is/config.js +86 -0
  16. package/dist/cjs/cli/is/env.js +52 -0
  17. package/dist/cjs/cli/is/index.js +79 -0
  18. package/dist/cjs/cli/is/project.js +147 -0
  19. package/dist/cjs/cli/is/type.js +84 -0
  20. package/dist/cjs/cli/logger.js +39 -0
  21. package/dist/cjs/cli/modulePath.js +87 -0
  22. package/dist/cjs/cli/monorepo.js +110 -0
  23. package/dist/cjs/cli/package.js +97 -0
  24. package/dist/cjs/cli/path.js +111 -0
  25. package/dist/cjs/cli/port.js +79 -0
  26. package/dist/cjs/cli/prettyInstructions.js +117 -0
  27. package/dist/cjs/cli/require.js +127 -0
  28. package/dist/cjs/cli/route.js +76 -0
  29. package/dist/cjs/cli/runtimeExports.js +86 -0
  30. package/dist/cjs/cli/tsconfig.js +51 -0
  31. package/dist/cjs/cli/version.js +67 -0
  32. package/dist/cjs/cli/watch.js +87 -0
  33. package/dist/cjs/compiled.js +209 -0
  34. package/dist/cjs/import.js +56 -0
  35. package/dist/cjs/index.js +72 -0
  36. package/dist/cjs/universal/constants.js +84 -0
  37. package/dist/cjs/universal/index.js +36 -0
  38. package/dist/cjs/universal/path.js +36 -0
  39. package/dist/cjs/universal/pluginDagSort.js +75 -0
  40. package/dist/compiled/address/index.js +171 -0
  41. package/dist/compiled/address/lib/address.d.ts +28 -0
  42. package/dist/compiled/address/package.json +1 -0
  43. package/dist/compiled/browserslist/index.d.ts +178 -0
  44. package/dist/compiled/browserslist/index.js +1329 -0
  45. package/dist/compiled/browserslist/license +20 -0
  46. package/dist/compiled/browserslist/package.json +1 -0
  47. package/dist/compiled/chalk/index.d.ts +415 -0
  48. package/dist/compiled/chalk/index.js +2368 -0
  49. package/dist/compiled/chalk/license +9 -0
  50. package/dist/compiled/chalk/package.json +1 -0
  51. package/dist/compiled/chokidar/anymatch/index.d.ts +19 -0
  52. package/dist/compiled/chokidar/fsevents.node +0 -0
  53. package/dist/compiled/chokidar/index.js +4162 -0
  54. package/dist/compiled/chokidar/index.js.LICENSE.txt +41 -0
  55. package/dist/compiled/chokidar/license +21 -0
  56. package/dist/compiled/chokidar/package.json +1 -0
  57. package/dist/compiled/chokidar/types/index.d.ts +188 -0
  58. package/dist/compiled/commander/index.js +1540 -0
  59. package/dist/compiled/commander/index.mjs +2 -0
  60. package/dist/compiled/commander/license +22 -0
  61. package/dist/compiled/commander/package.json +1 -0
  62. package/dist/compiled/commander/typings/index.d.ts +890 -0
  63. package/dist/compiled/debug/index.d.ts +54 -0
  64. package/dist/compiled/debug/index.js +621 -0
  65. package/dist/compiled/debug/license +20 -0
  66. package/dist/compiled/debug/ms/index.d.ts +25 -0
  67. package/dist/compiled/debug/package.json +1 -0
  68. package/dist/compiled/dotenv/index.js +101 -0
  69. package/dist/compiled/dotenv/license +23 -0
  70. package/dist/compiled/dotenv/package.json +1 -0
  71. package/dist/compiled/dotenv/types/index.d.ts +59 -0
  72. package/dist/compiled/dotenv-expand/index.d.ts +15 -0
  73. package/dist/compiled/dotenv-expand/index.js +54 -0
  74. package/dist/compiled/dotenv-expand/license +24 -0
  75. package/dist/compiled/dotenv-expand/package.json +1 -0
  76. package/dist/compiled/execa/index.d.ts +564 -0
  77. package/dist/compiled/execa/index.js +1738 -0
  78. package/dist/compiled/execa/license +9 -0
  79. package/dist/compiled/execa/package.json +1 -0
  80. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/adapters/fs.d.ts +20 -0
  81. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/index.d.ts +12 -0
  82. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/providers/async.d.ts +7 -0
  83. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/settings.d.ts +20 -0
  84. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/types/index.d.ts +20 -0
  85. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/adapters/fs.d.ts +13 -0
  86. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/index.d.ts +12 -0
  87. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/providers/async.d.ts +4 -0
  88. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/settings.d.ts +16 -0
  89. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/types/index.d.ts +4 -0
  90. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/index.d.ts +14 -0
  91. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/providers/async.d.ts +12 -0
  92. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/readers/async.d.ts +30 -0
  93. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/readers/reader.d.ts +6 -0
  94. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/settings.d.ts +30 -0
  95. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/types/index.d.ts +8 -0
  96. package/dist/compiled/fast-glob/index.js +4665 -0
  97. package/dist/compiled/fast-glob/index.js.LICENSE.txt +38 -0
  98. package/dist/compiled/fast-glob/license +21 -0
  99. package/dist/compiled/fast-glob/out/index.d.ts +27 -0
  100. package/dist/compiled/fast-glob/out/managers/tasks.d.ts +22 -0
  101. package/dist/compiled/fast-glob/out/settings.d.ts +164 -0
  102. package/dist/compiled/fast-glob/out/types/index.d.ts +31 -0
  103. package/dist/compiled/fast-glob/package.json +1 -0
  104. package/dist/compiled/filesize/filesize.d.ts +131 -0
  105. package/dist/compiled/filesize/index.js +198 -0
  106. package/dist/compiled/filesize/index.js.LICENSE.txt +7 -0
  107. package/dist/compiled/filesize/license +28 -0
  108. package/dist/compiled/filesize/package.json +1 -0
  109. package/dist/compiled/fs-extra/index.d.ts +563 -0
  110. package/dist/compiled/fs-extra/index.js +2222 -0
  111. package/dist/compiled/fs-extra/license +15 -0
  112. package/dist/compiled/fs-extra/package.json +1 -0
  113. package/dist/compiled/glob/index.d.ts +91 -0
  114. package/dist/compiled/glob/index.js +2011 -0
  115. package/dist/compiled/glob/license +21 -0
  116. package/dist/compiled/glob/minimatch/index.d.ts +204 -0
  117. package/dist/compiled/glob/package.json +1 -0
  118. package/dist/compiled/globby/index.d.ts +186 -0
  119. package/dist/compiled/globby/index.js +690 -0
  120. package/dist/compiled/globby/license +9 -0
  121. package/dist/compiled/globby/package.json +1 -0
  122. package/dist/compiled/gzip-size/index.d.ts +96 -0
  123. package/dist/compiled/gzip-size/index.js +157 -0
  124. package/dist/compiled/gzip-size/license +9 -0
  125. package/dist/compiled/gzip-size/package.json +1 -0
  126. package/dist/compiled/import-lazy/index.d.ts +26 -0
  127. package/dist/compiled/import-lazy/index.js +45 -0
  128. package/dist/compiled/import-lazy/license +9 -0
  129. package/dist/compiled/import-lazy/package.json +1 -0
  130. package/dist/compiled/inquirer/index.d.ts +997 -0
  131. package/dist/compiled/inquirer/index.js +20167 -0
  132. package/dist/compiled/inquirer/index.js.LICENSE.txt +7 -0
  133. package/dist/compiled/inquirer/lib/objects/choice.d.ts +65 -0
  134. package/dist/compiled/inquirer/lib/objects/choices.d.ts +206 -0
  135. package/dist/compiled/inquirer/lib/objects/separator.d.ts +37 -0
  136. package/dist/compiled/inquirer/lib/ui/baseUI.d.ts +37 -0
  137. package/dist/compiled/inquirer/lib/ui/bottom-bar.d.ts +65 -0
  138. package/dist/compiled/inquirer/lib/ui/prompt.d.ts +104 -0
  139. package/dist/compiled/inquirer/license +22 -0
  140. package/dist/compiled/inquirer/package.json +1 -0
  141. package/dist/compiled/inquirer/through/index.d.ts +25 -0
  142. package/dist/compiled/js-yaml/index.d.ts +154 -0
  143. package/dist/compiled/js-yaml/index.js +2191 -0
  144. package/dist/compiled/js-yaml/index.mjs +2167 -0
  145. package/dist/compiled/js-yaml/index.mjs.LICENSE.txt +1 -0
  146. package/dist/compiled/js-yaml/license +21 -0
  147. package/dist/compiled/js-yaml/package.json +1 -0
  148. package/dist/compiled/json5/index.js +983 -0
  149. package/dist/compiled/json5/lib/index.d.ts +4 -0
  150. package/dist/compiled/json5/lib/parse.d.ts +15 -0
  151. package/dist/compiled/json5/lib/stringify.d.ts +89 -0
  152. package/dist/compiled/json5/package.json +1 -0
  153. package/dist/compiled/lodash/common/array.d.ts +2126 -0
  154. package/dist/compiled/lodash/common/collection.d.ts +1930 -0
  155. package/dist/compiled/lodash/common/common.d.ts +280 -0
  156. package/dist/compiled/lodash/common/date.d.ts +23 -0
  157. package/dist/compiled/lodash/common/function.d.ts +1446 -0
  158. package/dist/compiled/lodash/common/lang.d.ts +1693 -0
  159. package/dist/compiled/lodash/common/math.d.ts +405 -0
  160. package/dist/compiled/lodash/common/number.d.ts +131 -0
  161. package/dist/compiled/lodash/common/object.d.ts +2519 -0
  162. package/dist/compiled/lodash/common/seq.d.ts +210 -0
  163. package/dist/compiled/lodash/common/string.d.ts +788 -0
  164. package/dist/compiled/lodash/common/util.d.ts +1220 -0
  165. package/dist/compiled/lodash/index.d.ts +46 -0
  166. package/dist/compiled/lodash/index.js +1 -0
  167. package/dist/compiled/lodash/index.mjs +1 -0
  168. package/dist/compiled/lodash/license +47 -0
  169. package/dist/compiled/lodash/package.json +1 -0
  170. package/dist/compiled/mime-types/index.d.ts +14 -0
  171. package/dist/compiled/mime-types/index.js +116 -0
  172. package/dist/compiled/mime-types/index.js.LICENSE.txt +13 -0
  173. package/dist/compiled/mime-types/license +23 -0
  174. package/dist/compiled/mime-types/package.json +1 -0
  175. package/dist/compiled/minimist/index.d.ts +95 -0
  176. package/dist/compiled/minimist/index.js +202 -0
  177. package/dist/compiled/minimist/license +18 -0
  178. package/dist/compiled/minimist/package.json +1 -0
  179. package/dist/compiled/nanoid/index.d.ts +91 -0
  180. package/dist/compiled/nanoid/index.js +83 -0
  181. package/dist/compiled/nanoid/index.mjs +69 -0
  182. package/dist/compiled/nanoid/license +20 -0
  183. package/dist/compiled/nanoid/package.json +1 -0
  184. package/dist/compiled/ora/cli-spinners/index.d.ts +125 -0
  185. package/dist/compiled/ora/index.d.ts +277 -0
  186. package/dist/compiled/ora/index.js +3936 -0
  187. package/dist/compiled/ora/index.js.LICENSE.txt +1 -0
  188. package/dist/compiled/ora/license +9 -0
  189. package/dist/compiled/ora/package.json +1 -0
  190. package/dist/compiled/pkg-up/index.d.ts +48 -0
  191. package/dist/compiled/pkg-up/index.js +15 -0
  192. package/dist/compiled/pkg-up/license +9 -0
  193. package/dist/compiled/pkg-up/package.json +1 -0
  194. package/dist/compiled/semver/classes/comparator.d.ts +17 -0
  195. package/dist/compiled/semver/classes/range.d.ts +21 -0
  196. package/dist/compiled/semver/classes/semver.d.ts +62 -0
  197. package/dist/compiled/semver/functions/clean.d.ts +8 -0
  198. package/dist/compiled/semver/functions/cmp.d.ts +16 -0
  199. package/dist/compiled/semver/functions/coerce.d.ts +12 -0
  200. package/dist/compiled/semver/functions/compare-build.d.ts +16 -0
  201. package/dist/compiled/semver/functions/compare-loose.d.ts +5 -0
  202. package/dist/compiled/semver/functions/compare.d.ts +20 -0
  203. package/dist/compiled/semver/functions/diff.d.ts +13 -0
  204. package/dist/compiled/semver/functions/eq.d.ts +9 -0
  205. package/dist/compiled/semver/functions/gt.d.ts +9 -0
  206. package/dist/compiled/semver/functions/gte.d.ts +9 -0
  207. package/dist/compiled/semver/functions/inc.d.ts +15 -0
  208. package/dist/compiled/semver/functions/lt.d.ts +9 -0
  209. package/dist/compiled/semver/functions/lte.d.ts +8 -0
  210. package/dist/compiled/semver/functions/major.d.ts +9 -0
  211. package/dist/compiled/semver/functions/minor.d.ts +9 -0
  212. package/dist/compiled/semver/functions/neq.d.ts +9 -0
  213. package/dist/compiled/semver/functions/parse.d.ts +12 -0
  214. package/dist/compiled/semver/functions/patch.d.ts +9 -0
  215. package/dist/compiled/semver/functions/prerelease.d.ts +12 -0
  216. package/dist/compiled/semver/functions/rcompare.d.ts +15 -0
  217. package/dist/compiled/semver/functions/rsort.d.ts +9 -0
  218. package/dist/compiled/semver/functions/satisfies.d.ts +14 -0
  219. package/dist/compiled/semver/functions/sort.d.ts +9 -0
  220. package/dist/compiled/semver/functions/valid.d.ts +11 -0
  221. package/dist/compiled/semver/index.d.ts +133 -0
  222. package/dist/compiled/semver/index.js +1779 -0
  223. package/dist/compiled/semver/internals/identifiers.d.ts +13 -0
  224. package/dist/compiled/semver/license +15 -0
  225. package/dist/compiled/semver/package.json +1 -0
  226. package/dist/compiled/semver/ranges/gtr.d.ts +14 -0
  227. package/dist/compiled/semver/ranges/intersects.d.ts +13 -0
  228. package/dist/compiled/semver/ranges/ltr.d.ts +14 -0
  229. package/dist/compiled/semver/ranges/max-satisfying.d.ts +14 -0
  230. package/dist/compiled/semver/ranges/min-satisfying.d.ts +14 -0
  231. package/dist/compiled/semver/ranges/min-version.d.ts +10 -0
  232. package/dist/compiled/semver/ranges/outside.d.ts +15 -0
  233. package/dist/compiled/semver/ranges/simplify.d.ts +14 -0
  234. package/dist/compiled/semver/ranges/subset.d.ts +13 -0
  235. package/dist/compiled/semver/ranges/to-comparators.d.ts +9 -0
  236. package/dist/compiled/semver/ranges/valid.d.ts +12 -0
  237. package/dist/compiled/signale/index.d.ts +162 -0
  238. package/dist/compiled/signale/index.js +1704 -0
  239. package/dist/compiled/signale/package.json +1 -0
  240. package/dist/compiled/slash/index.d.ts +25 -0
  241. package/dist/compiled/slash/index.js +32 -0
  242. package/dist/compiled/slash/license +9 -0
  243. package/dist/compiled/slash/package.json +1 -0
  244. package/dist/compiled/strip-ansi/index.d.ts +17 -0
  245. package/dist/compiled/strip-ansi/index.js +34 -0
  246. package/dist/compiled/strip-ansi/license +9 -0
  247. package/dist/compiled/strip-ansi/package.json +1 -0
  248. package/dist/compiled/tsconfig-paths/index.js +629 -0
  249. package/dist/compiled/tsconfig-paths/index.mjs +2 -0
  250. package/dist/compiled/tsconfig-paths/lib/config-loader.d.ts +33 -0
  251. package/dist/compiled/tsconfig-paths/lib/filesystem.d.ts +34 -0
  252. package/dist/compiled/tsconfig-paths/lib/index.d.ts +5 -0
  253. package/dist/compiled/tsconfig-paths/lib/mapping-entry.d.ts +18 -0
  254. package/dist/compiled/tsconfig-paths/lib/match-path-async.d.ts +21 -0
  255. package/dist/compiled/tsconfig-paths/lib/match-path-sync.d.ts +32 -0
  256. package/dist/compiled/tsconfig-paths/lib/register.d.ts +12 -0
  257. package/dist/compiled/tsconfig-paths/lib/try-path.d.ts +15 -0
  258. package/dist/compiled/tsconfig-paths/lib/tsconfig-loader.d.ts +28 -0
  259. package/dist/compiled/tsconfig-paths/license +21 -0
  260. package/dist/compiled/tsconfig-paths/package.json +1 -0
  261. package/dist/compiled/upath/index.js +135 -0
  262. package/dist/compiled/upath/license +22 -0
  263. package/dist/compiled/upath/package.json +1 -0
  264. package/dist/compiled/upath/upath.d.ts +241 -0
  265. package/dist/compiled/url-join/index.d.ts +17 -0
  266. package/dist/compiled/url-join/index.js +61 -0
  267. package/dist/compiled/url-join/license +21 -0
  268. package/dist/compiled/url-join/package.json +1 -0
  269. package/dist/compiled/webpack-chain/index.js +1475 -0
  270. package/dist/compiled/webpack-chain/license +373 -0
  271. package/dist/compiled/webpack-chain/package.json +1 -0
  272. package/dist/compiled/webpack-chain/types/index.d.ts +599 -0
  273. package/dist/esm/cli/alias.mjs +31 -0
  274. package/dist/esm/cli/applyOptionsChain.mjs +16 -0
  275. package/dist/esm/cli/commands.mjs +23 -0
  276. package/dist/esm/cli/common.mjs +9 -0
  277. package/dist/esm/cli/config.mjs +5 -0
  278. package/dist/esm/cli/constants.mjs +30 -0
  279. package/dist/esm/cli/ensure.mjs +9 -0
  280. package/dist/esm/cli/fs.mjs +9 -0
  281. package/dist/esm/cli/get/config.mjs +14 -0
  282. package/dist/esm/cli/get/data.mjs +49 -0
  283. package/dist/esm/cli/get/index.mjs +18 -0
  284. package/dist/esm/cli/index.mjs +23 -0
  285. package/dist/esm/cli/is/config.mjs +37 -0
  286. package/dist/esm/cli/is/env.mjs +6 -0
  287. package/dist/esm/cli/is/index.mjs +4 -0
  288. package/dist/esm/cli/is/project.mjs +75 -0
  289. package/dist/esm/cli/is/type.mjs +26 -0
  290. package/dist/esm/cli/logger.mjs +1 -0
  291. package/dist/esm/cli/modulePath.mjs +33 -0
  292. package/dist/esm/cli/monorepo.mjs +50 -0
  293. package/dist/esm/cli/package.mjs +51 -0
  294. package/dist/esm/cli/path.mjs +35 -0
  295. package/dist/esm/cli/port.mjs +35 -0
  296. package/dist/esm/cli/prettyInstructions.mjs +70 -0
  297. package/dist/esm/cli/require.mjs +79 -0
  298. package/dist/esm/cli/route.mjs +36 -0
  299. package/dist/esm/cli/runtimeExports.mjs +42 -0
  300. package/dist/esm/cli/tsconfig.mjs +7 -0
  301. package/dist/esm/cli/version.mjs +24 -0
  302. package/dist/esm/cli/watch.mjs +40 -0
  303. package/dist/esm/compiled.mjs +45 -0
  304. package/dist/esm/import.mjs +9 -0
  305. package/dist/esm/index.mjs +3 -0
  306. package/dist/esm/rslib-runtime.mjs +12 -0
  307. package/dist/esm/universal/constants.mjs +14 -0
  308. package/dist/esm/universal/index.mjs +1 -0
  309. package/dist/esm/universal/path.mjs +2 -0
  310. package/dist/esm/universal/pluginDagSort.mjs +41 -0
  311. package/dist/esm-node/cli/alias.mjs +32 -0
  312. package/dist/esm-node/cli/applyOptionsChain.mjs +17 -0
  313. package/dist/esm-node/cli/commands.mjs +24 -0
  314. package/dist/esm-node/cli/common.mjs +10 -0
  315. package/dist/esm-node/cli/config.mjs +6 -0
  316. package/dist/esm-node/cli/constants.mjs +31 -0
  317. package/dist/esm-node/cli/ensure.mjs +10 -0
  318. package/dist/esm-node/cli/fs.mjs +10 -0
  319. package/dist/esm-node/cli/get/config.mjs +15 -0
  320. package/dist/esm-node/cli/get/data.mjs +50 -0
  321. package/dist/esm-node/cli/get/index.mjs +19 -0
  322. package/dist/esm-node/cli/index.mjs +24 -0
  323. package/dist/esm-node/cli/is/config.mjs +38 -0
  324. package/dist/esm-node/cli/is/env.mjs +7 -0
  325. package/dist/esm-node/cli/is/index.mjs +5 -0
  326. package/dist/esm-node/cli/is/project.mjs +76 -0
  327. package/dist/esm-node/cli/is/type.mjs +27 -0
  328. package/dist/esm-node/cli/logger.mjs +2 -0
  329. package/dist/esm-node/cli/modulePath.mjs +34 -0
  330. package/dist/esm-node/cli/monorepo.mjs +51 -0
  331. package/dist/esm-node/cli/package.mjs +52 -0
  332. package/dist/esm-node/cli/path.mjs +36 -0
  333. package/dist/esm-node/cli/port.mjs +36 -0
  334. package/dist/esm-node/cli/prettyInstructions.mjs +71 -0
  335. package/dist/esm-node/cli/require.mjs +80 -0
  336. package/dist/esm-node/cli/route.mjs +37 -0
  337. package/dist/esm-node/cli/runtimeExports.mjs +43 -0
  338. package/dist/esm-node/cli/tsconfig.mjs +8 -0
  339. package/dist/esm-node/cli/version.mjs +25 -0
  340. package/dist/esm-node/cli/watch.mjs +41 -0
  341. package/dist/esm-node/compiled.mjs +45 -0
  342. package/dist/esm-node/import.mjs +10 -0
  343. package/dist/esm-node/index.mjs +4 -0
  344. package/dist/esm-node/universal/constants.mjs +15 -0
  345. package/dist/esm-node/universal/index.mjs +2 -0
  346. package/dist/esm-node/universal/path.mjs +3 -0
  347. package/dist/esm-node/universal/pluginDagSort.mjs +42 -0
  348. package/dist/types/cli/alias.d.ts +20 -0
  349. package/dist/types/cli/applyOptionsChain.d.ts +3 -0
  350. package/dist/types/cli/commands.d.ts +8 -0
  351. package/dist/types/cli/common.d.ts +9 -0
  352. package/dist/types/cli/config.d.ts +4 -0
  353. package/dist/types/cli/constants.d.ts +55 -0
  354. package/dist/types/cli/ensure.d.ts +8 -0
  355. package/dist/types/cli/fs.d.ts +7 -0
  356. package/dist/types/cli/get/config.d.ts +1 -0
  357. package/dist/types/cli/get/data.d.ts +6 -0
  358. package/dist/types/cli/get/index.d.ts +11 -0
  359. package/dist/types/cli/index.d.ts +23 -0
  360. package/dist/types/cli/is/config.d.ts +22 -0
  361. package/dist/types/cli/is/env.d.ts +8 -0
  362. package/dist/types/cli/is/index.d.ts +4 -0
  363. package/dist/types/cli/is/project.d.ts +39 -0
  364. package/dist/types/cli/is/type.d.ts +15 -0
  365. package/dist/types/cli/logger.d.ts +1 -0
  366. package/dist/types/cli/modulePath.d.ts +5 -0
  367. package/dist/types/cli/monorepo.d.ts +9 -0
  368. package/dist/types/cli/package.d.ts +5 -0
  369. package/dist/types/cli/path.d.ts +11 -0
  370. package/dist/types/cli/port.d.ts +12 -0
  371. package/dist/types/cli/prettyInstructions.d.ts +9 -0
  372. package/dist/types/cli/require.d.ts +9 -0
  373. package/dist/types/cli/route.d.ts +4 -0
  374. package/dist/types/cli/runtimeExports.d.ts +5 -0
  375. package/dist/types/cli/tsconfig.d.ts +1 -0
  376. package/dist/types/cli/version.d.ts +4 -0
  377. package/dist/types/cli/watch.d.ts +8 -0
  378. package/dist/types/compiled.d.ts +37 -0
  379. package/dist/types/import.d.ts +5 -0
  380. package/dist/types/index.d.ts +3 -0
  381. package/dist/types/universal/constants.d.ts +47 -0
  382. package/dist/types/universal/index.d.ts +1 -0
  383. package/dist/types/universal/path.d.ts +1 -0
  384. package/dist/types/universal/pluginDagSort.d.ts +1 -0
  385. package/package.json +174 -0
  386. package/rslib.config.mts +162 -0
  387. package/rstest.config.mts +8 -0
@@ -0,0 +1,1475 @@
1
+ (()=>{
2
+ var e = {
3
+ 256: function(e) {
4
+ (function(t, s) {
5
+ e.exports = s();
6
+ })(0, function() {
7
+ "use strict";
8
+ var e = function(e) {
9
+ return isNonNullObject(e) && !isSpecial(e);
10
+ };
11
+ function isNonNullObject(e) {
12
+ return !!e && "object" == typeof e;
13
+ }
14
+ function isSpecial(e) {
15
+ var t = Object.prototype.toString.call(e);
16
+ return "[object RegExp]" === t || "[object Date]" === t || isReactElement(e);
17
+ }
18
+ var t = "function" == typeof Symbol && Symbol.for;
19
+ var s = t ? Symbol.for("react.element") : 60103;
20
+ function isReactElement(e) {
21
+ return e.$$typeof === s;
22
+ }
23
+ function emptyTarget(e) {
24
+ return Array.isArray(e) ? [] : {};
25
+ }
26
+ function cloneIfNecessary(t, s) {
27
+ var n = s && true === s.clone;
28
+ return n && e(t) ? deepmerge(emptyTarget(t), t, s) : t;
29
+ }
30
+ function defaultArrayMerge(t, s, n) {
31
+ var i = t.slice();
32
+ s.forEach(function(s, r) {
33
+ if (void 0 === i[r]) i[r] = cloneIfNecessary(s, n);
34
+ else if (e(s)) i[r] = deepmerge(t[r], s, n);
35
+ else if (-1 === t.indexOf(s)) i.push(cloneIfNecessary(s, n));
36
+ });
37
+ return i;
38
+ }
39
+ function mergeObject(t, s, n) {
40
+ var i = {};
41
+ if (e(t)) Object.keys(t).forEach(function(e) {
42
+ i[e] = cloneIfNecessary(t[e], n);
43
+ });
44
+ Object.keys(s).forEach(function(r) {
45
+ if (e(s[r]) && t[r]) i[r] = deepmerge(t[r], s[r], n);
46
+ else i[r] = cloneIfNecessary(s[r], n);
47
+ });
48
+ return i;
49
+ }
50
+ function deepmerge(e, t, s) {
51
+ var n = Array.isArray(t);
52
+ var i = Array.isArray(e);
53
+ var r = s || {
54
+ arrayMerge: defaultArrayMerge
55
+ };
56
+ var o = n === i;
57
+ if (!o) return cloneIfNecessary(t, s);
58
+ if (!n) return mergeObject(e, t, s);
59
+ var u = r.arrayMerge || defaultArrayMerge;
60
+ return u(e, t, s);
61
+ }
62
+ deepmerge.all = function(e, t) {
63
+ if (!Array.isArray(e) || e.length < 2) throw new Error("first argument should be an array with at least two elements");
64
+ return e.reduce(function(e, s) {
65
+ return deepmerge(e, s, t);
66
+ });
67
+ };
68
+ var n = deepmerge;
69
+ return n;
70
+ });
71
+ },
72
+ 210: (e, t)=>{
73
+ "use strict";
74
+ Object.defineProperty(t, "__esModule", {
75
+ value: true
76
+ });
77
+ t.arrayToString = void 0;
78
+ const arrayToString = (e, t, s)=>{
79
+ const n = e.map(function(e, n) {
80
+ const i = s(e, n);
81
+ if (void 0 === i) return String(i);
82
+ return t + i.split("\n").join(`\n${t}`);
83
+ }).join(t ? ",\n" : ",");
84
+ const i = t && n ? "\n" : "";
85
+ return `[${i}${n}${i}]`;
86
+ };
87
+ t.arrayToString = arrayToString;
88
+ },
89
+ 262: (e, t, s)=>{
90
+ "use strict";
91
+ Object.defineProperty(t, "__esModule", {
92
+ value: true
93
+ });
94
+ t.FunctionParser = t.dedentFunction = t.functionToString = t.USED_METHOD_KEY = void 0;
95
+ const n = s(893);
96
+ const i = '"' === ({
97
+ " " () {}
98
+ })[" "].toString().charAt(0);
99
+ const r = {
100
+ Function: "function ",
101
+ GeneratorFunction: "function* ",
102
+ AsyncFunction: "async function ",
103
+ AsyncGeneratorFunction: "async function* "
104
+ };
105
+ const o = {
106
+ Function: "",
107
+ GeneratorFunction: "*",
108
+ AsyncFunction: "async ",
109
+ AsyncGeneratorFunction: "async *"
110
+ };
111
+ const u = new Set("case delete else in instanceof new return throw typeof void , ; : + - ! ~ & | ^ * / % < > ? =".split(" "));
112
+ t.USED_METHOD_KEY = new WeakSet;
113
+ const functionToString = (e, s, n, i)=>{
114
+ const r = "string" == typeof i ? i : void 0;
115
+ if (void 0 !== r) t.USED_METHOD_KEY.add(e);
116
+ return new FunctionParser(e, s, n, r).stringify();
117
+ };
118
+ t.functionToString = functionToString;
119
+ function dedentFunction(e) {
120
+ let t;
121
+ for (const s of e.split("\n").slice(1)){
122
+ const n = /^[\s\t]+/.exec(s);
123
+ if (!n) return e;
124
+ const [i] = n;
125
+ if (void 0 === t) t = i;
126
+ else if (i.length < t.length) t = i;
127
+ }
128
+ return t ? e.split(`\n${t}`).join("\n") : e;
129
+ }
130
+ t.dedentFunction = dedentFunction;
131
+ class FunctionParser {
132
+ constructor(e, t, s, i){
133
+ this.fn = e;
134
+ this.indent = t;
135
+ this.next = s;
136
+ this.key = i;
137
+ this.pos = 0;
138
+ this.hadKeyword = false;
139
+ this.fnString = Function.prototype.toString.call(e);
140
+ this.fnType = e.constructor.name;
141
+ this.keyQuote = void 0 === i ? "" : n.quoteKey(i, s);
142
+ this.keyPrefix = void 0 === i ? "" : `${this.keyQuote}:${t ? " " : ""}`;
143
+ this.isMethodCandidate = void 0 === i ? false : "" === this.fn.name || this.fn.name === i;
144
+ }
145
+ stringify() {
146
+ const e = this.tryParse();
147
+ if (!e) return `${this.keyPrefix}void ${this.next(this.fnString)}`;
148
+ return dedentFunction(e);
149
+ }
150
+ getPrefix() {
151
+ if (this.isMethodCandidate && !this.hadKeyword) return o[this.fnType] + this.keyQuote;
152
+ return this.keyPrefix + r[this.fnType];
153
+ }
154
+ tryParse() {
155
+ if ("}" !== this.fnString[this.fnString.length - 1]) return this.keyPrefix + this.fnString;
156
+ if (this.fn.name) {
157
+ const e = this.tryStrippingName();
158
+ if (e) return e;
159
+ }
160
+ const e = this.pos;
161
+ if ("class" === this.consumeSyntax()) return this.fnString;
162
+ this.pos = e;
163
+ if (this.tryParsePrefixTokens()) {
164
+ const e = this.tryStrippingName();
165
+ if (e) return e;
166
+ let t = this.pos;
167
+ switch(this.consumeSyntax("WORD_LIKE")){
168
+ case "WORD_LIKE":
169
+ if (this.isMethodCandidate && !this.hadKeyword) t = this.pos;
170
+ case "()":
171
+ if ("=>" === this.fnString.substr(this.pos, 2)) return this.keyPrefix + this.fnString;
172
+ this.pos = t;
173
+ case '"':
174
+ case "'":
175
+ case "[]":
176
+ return this.getPrefix() + this.fnString.substr(this.pos);
177
+ }
178
+ }
179
+ }
180
+ tryStrippingName() {
181
+ if (i) return;
182
+ let e = this.pos;
183
+ const t = this.fnString.substr(this.pos, this.fn.name.length);
184
+ if (t === this.fn.name) {
185
+ this.pos += t.length;
186
+ if ("()" === this.consumeSyntax() && "{}" === this.consumeSyntax() && this.pos === this.fnString.length) {
187
+ if (this.isMethodCandidate || !n.isValidVariableName(t)) e += t.length;
188
+ return this.getPrefix() + this.fnString.substr(e);
189
+ }
190
+ }
191
+ this.pos = e;
192
+ }
193
+ tryParsePrefixTokens() {
194
+ let e = this.pos;
195
+ this.hadKeyword = false;
196
+ switch(this.fnType){
197
+ case "AsyncFunction":
198
+ if ("async" !== this.consumeSyntax()) return false;
199
+ e = this.pos;
200
+ case "Function":
201
+ if ("function" === this.consumeSyntax()) this.hadKeyword = true;
202
+ else this.pos = e;
203
+ return true;
204
+ case "AsyncGeneratorFunction":
205
+ if ("async" !== this.consumeSyntax()) return false;
206
+ case "GeneratorFunction":
207
+ let t = this.consumeSyntax();
208
+ if ("function" === t) {
209
+ t = this.consumeSyntax();
210
+ this.hadKeyword = true;
211
+ }
212
+ return "*" === t;
213
+ }
214
+ }
215
+ consumeSyntax(e) {
216
+ const t = this.consumeMatch(/^(?:([A-Za-z_0-9$\xA0-\uFFFF]+)|=>|\+\+|\-\-|.)/);
217
+ if (!t) return;
218
+ const [s, n] = t;
219
+ this.consumeWhitespace();
220
+ if (n) return e || n;
221
+ switch(s){
222
+ case "(":
223
+ return this.consumeSyntaxUntil("(", ")");
224
+ case "[":
225
+ return this.consumeSyntaxUntil("[", "]");
226
+ case "{":
227
+ return this.consumeSyntaxUntil("{", "}");
228
+ case "`":
229
+ return this.consumeTemplate();
230
+ case '"':
231
+ return this.consumeRegExp(/^(?:[^\\"]|\\.)*"/, '"');
232
+ case "'":
233
+ return this.consumeRegExp(/^(?:[^\\']|\\.)*'/, "'");
234
+ }
235
+ return s;
236
+ }
237
+ consumeSyntaxUntil(e, t) {
238
+ let s = true;
239
+ for(;;){
240
+ const n = this.consumeSyntax();
241
+ if (n === t) return e + t;
242
+ if (!n || ")" === n || "]" === n || "}" === n) return;
243
+ if ("/" === n && s && this.consumeMatch(/^(?:\\.|[^\\\/\n[]|\[(?:\\.|[^\]])*\])+\/[a-z]*/)) {
244
+ s = false;
245
+ this.consumeWhitespace();
246
+ } else s = u.has(n);
247
+ }
248
+ }
249
+ consumeMatch(e) {
250
+ const t = e.exec(this.fnString.substr(this.pos));
251
+ if (t) this.pos += t[0].length;
252
+ return t;
253
+ }
254
+ consumeRegExp(e, t) {
255
+ const s = e.exec(this.fnString.substr(this.pos));
256
+ if (!s) return;
257
+ this.pos += s[0].length;
258
+ this.consumeWhitespace();
259
+ return t;
260
+ }
261
+ consumeTemplate() {
262
+ for(;;){
263
+ this.consumeMatch(/^(?:[^`$\\]|\\.|\$(?!{))*/);
264
+ if ("`" === this.fnString[this.pos]) {
265
+ this.pos++;
266
+ this.consumeWhitespace();
267
+ return "`";
268
+ }
269
+ if ("${" === this.fnString.substr(this.pos, 2)) {
270
+ this.pos += 2;
271
+ this.consumeWhitespace();
272
+ if (this.consumeSyntaxUntil("{", "}")) continue;
273
+ }
274
+ return;
275
+ }
276
+ }
277
+ consumeWhitespace() {
278
+ this.consumeMatch(/^(?:\s|\/\/.*|\/\*[^]*?\*\/)*/);
279
+ }
280
+ }
281
+ t.FunctionParser = FunctionParser;
282
+ },
283
+ 592: (e, t, s)=>{
284
+ "use strict";
285
+ Object.defineProperty(t, "__esModule", {
286
+ value: true
287
+ });
288
+ t.stringify = void 0;
289
+ const n = s(761);
290
+ const i = s(893);
291
+ const r = Symbol("root");
292
+ function stringify(e, t, s, n = {}) {
293
+ const o = "string" == typeof s ? s : " ".repeat(s || 0);
294
+ const u = [];
295
+ const a = new Set;
296
+ const c = new Map;
297
+ const l = new Map;
298
+ let h = 0;
299
+ const { maxDepth: f = 100, references: p = false, skipUndefinedProperties: d = false, maxValues: g = 1e5 } = n;
300
+ const m = replacerToString(t);
301
+ const onNext = (e, t)=>{
302
+ if (++h > g) return;
303
+ if (d && void 0 === e) return;
304
+ if (u.length > f) return;
305
+ if (void 0 === t) return m(e, o, onNext, t);
306
+ u.push(t);
307
+ const s = y(e, t === r ? void 0 : t);
308
+ u.pop();
309
+ return s;
310
+ };
311
+ const y = p ? (e, t)=>{
312
+ if (null !== e && ("object" == typeof e || "function" == typeof e || "symbol" == typeof e)) {
313
+ if (c.has(e)) {
314
+ l.set(u.slice(1), c.get(e));
315
+ return m(void 0, o, onNext, t);
316
+ }
317
+ c.set(e, u.slice(1));
318
+ }
319
+ return m(e, o, onNext, t);
320
+ } : (e, t)=>{
321
+ if (a.has(e)) return;
322
+ a.add(e);
323
+ const s = m(e, o, onNext, t);
324
+ a.delete(e);
325
+ return s;
326
+ };
327
+ const b = onNext(e, r);
328
+ if (l.size) {
329
+ const e = o ? " " : "";
330
+ const t = o ? "\n" : "";
331
+ let s = `var x${e}=${e}${b};${t}`;
332
+ for (const [n, r] of l.entries()){
333
+ const o = i.stringifyPath(n, onNext);
334
+ const u = i.stringifyPath(r, onNext);
335
+ s += `x${o}${e}=${e}x${u};${t}`;
336
+ }
337
+ return `(function${e}()${e}{${t}${s}return x;${t}}())`;
338
+ }
339
+ return b;
340
+ }
341
+ t.stringify = stringify;
342
+ function replacerToString(e) {
343
+ if (!e) return n.toString;
344
+ return (t, s, i, r)=>e(t, s, (e)=>n.toString(e, s, i, r), r);
345
+ }
346
+ },
347
+ 125: (e, t, s)=>{
348
+ "use strict";
349
+ Object.defineProperty(t, "__esModule", {
350
+ value: true
351
+ });
352
+ t.objectToString = void 0;
353
+ const n = s(893);
354
+ const i = s(262);
355
+ const r = s(210);
356
+ const objectToString = (e, t, s, n)=>{
357
+ if ("function" == typeof Buffer && Buffer.isBuffer(e)) return `Buffer.from(${s(e.toString("base64"))}, 'base64')`;
358
+ if ("object" == typeof global && e === global) return globalToString(e, t, s);
359
+ const i = o[Object.prototype.toString.call(e)];
360
+ return i ? i(e, t, s, n) : void 0;
361
+ };
362
+ t.objectToString = objectToString;
363
+ const rawObjectToString = (e, t, s, r)=>{
364
+ const o = t ? "\n" : "";
365
+ const u = t ? " " : "";
366
+ const a = Object.keys(e).reduce(function(r, o) {
367
+ const a = e[o];
368
+ const c = s(a, o);
369
+ if (void 0 === c) return r;
370
+ const l = c.split("\n").join(`\n${t}`);
371
+ if (i.USED_METHOD_KEY.has(a)) {
372
+ r.push(`${t}${l}`);
373
+ return r;
374
+ }
375
+ r.push(`${t}${n.quoteKey(o, s)}:${u}${l}`);
376
+ return r;
377
+ }, []).join(`,${o}`);
378
+ if ("" === a) return "{}";
379
+ return `{${o}${a}${o}}`;
380
+ };
381
+ const globalToString = (e, t, s)=>`Function(${s("return this")})()`;
382
+ const o = {
383
+ "[object Array]": r.arrayToString,
384
+ "[object Object]": rawObjectToString,
385
+ "[object Error]": (e, t, s)=>`new Error(${s(e.message)})`,
386
+ "[object Date]": (e)=>`new Date(${e.getTime()})`,
387
+ "[object String]": (e, t, s)=>`new String(${s(e.toString())})`,
388
+ "[object Number]": (e)=>`new Number(${e})`,
389
+ "[object Boolean]": (e)=>`new Boolean(${e})`,
390
+ "[object Set]": (e, t, s)=>`new Set(${s(Array.from(e))})`,
391
+ "[object Map]": (e, t, s)=>`new Map(${s(Array.from(e))})`,
392
+ "[object RegExp]": String,
393
+ "[object global]": globalToString,
394
+ "[object Window]": globalToString
395
+ };
396
+ },
397
+ 893: (e, t)=>{
398
+ "use strict";
399
+ Object.defineProperty(t, "__esModule", {
400
+ value: true
401
+ });
402
+ t.stringifyPath = t.quoteKey = t.isValidVariableName = t.IS_VALID_IDENTIFIER = t.quoteString = void 0;
403
+ const s = /[\\\'\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;
404
+ const n = new Map([
405
+ [
406
+ "\b",
407
+ "\\b"
408
+ ],
409
+ [
410
+ "\t",
411
+ "\\t"
412
+ ],
413
+ [
414
+ "\n",
415
+ "\\n"
416
+ ],
417
+ [
418
+ "\f",
419
+ "\\f"
420
+ ],
421
+ [
422
+ "\r",
423
+ "\\r"
424
+ ],
425
+ [
426
+ "'",
427
+ "\\'"
428
+ ],
429
+ [
430
+ '"',
431
+ '\\"'
432
+ ],
433
+ [
434
+ "\\",
435
+ "\\\\"
436
+ ]
437
+ ]);
438
+ function escapeChar(e) {
439
+ return n.get(e) || `\\u${`0000${e.charCodeAt(0).toString(16)}`.slice(-4)}`;
440
+ }
441
+ function quoteString(e) {
442
+ return `'${e.replace(s, escapeChar)}'`;
443
+ }
444
+ t.quoteString = quoteString;
445
+ const i = new Set("break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield".split(" "));
446
+ t.IS_VALID_IDENTIFIER = /^[A-Za-z_$][A-Za-z0-9_$]*$/;
447
+ function isValidVariableName(e) {
448
+ return "string" == typeof e && !i.has(e) && t.IS_VALID_IDENTIFIER.test(e);
449
+ }
450
+ t.isValidVariableName = isValidVariableName;
451
+ function quoteKey(e, t) {
452
+ return isValidVariableName(e) ? e : t(e);
453
+ }
454
+ t.quoteKey = quoteKey;
455
+ function stringifyPath(e, t) {
456
+ let s = "";
457
+ for (const n of e)if (isValidVariableName(n)) s += `.${n}`;
458
+ else s += `[${t(n)}]`;
459
+ return s;
460
+ }
461
+ t.stringifyPath = stringifyPath;
462
+ },
463
+ 761: (e, t, s)=>{
464
+ "use strict";
465
+ Object.defineProperty(t, "__esModule", {
466
+ value: true
467
+ });
468
+ t.toString = void 0;
469
+ const n = s(893);
470
+ const i = s(125);
471
+ const r = s(262);
472
+ const o = {
473
+ string: n.quoteString,
474
+ number: (e)=>Object.is(e, -0) ? "-0" : String(e),
475
+ boolean: String,
476
+ symbol: (e, t, s)=>{
477
+ const n = Symbol.keyFor(e);
478
+ if (void 0 !== n) return `Symbol.for(${s(n)})`;
479
+ return `Symbol(${s(e.description)})`;
480
+ },
481
+ bigint: (e, t, s)=>`BigInt(${s(String(e))})`,
482
+ undefined: String,
483
+ object: i.objectToString,
484
+ function: r.functionToString
485
+ };
486
+ const toString = (e, t, s, n)=>{
487
+ if (null === e) return "null";
488
+ return o[typeof e](e, t, s, n);
489
+ };
490
+ t.toString = toString;
491
+ },
492
+ 741: (e)=>{
493
+ e.exports = class extends Function {
494
+ constructor(){
495
+ super();
496
+ return new Proxy(this, {
497
+ apply: (e, t, s)=>e.classCall(...s)
498
+ });
499
+ }
500
+ classCall() {
501
+ throw new Error("not implemented");
502
+ }
503
+ };
504
+ },
505
+ 572: (e, t, s)=>{
506
+ const n = s(437);
507
+ const i = s(621);
508
+ e.exports = n(i(Object));
509
+ },
510
+ 745: (e, t, s)=>{
511
+ const n = s(845);
512
+ const i = s(621);
513
+ e.exports = n(i(Object));
514
+ },
515
+ 659: (e, t, s)=>{
516
+ const n = s(741);
517
+ const i = s(437);
518
+ const r = s(621);
519
+ const o = s(49);
520
+ e.exports = o(i(r(n)));
521
+ },
522
+ 122: (e, t, s)=>{
523
+ const n = s(572);
524
+ const i = s(659);
525
+ const r = s(745);
526
+ const o = s(222);
527
+ const u = s(417);
528
+ const a = s(430);
529
+ const c = s(736);
530
+ const l = s(740);
531
+ const h = s(64);
532
+ const f = s(223);
533
+ const p = s(10);
534
+ e.exports = class extends n {
535
+ constructor(){
536
+ super();
537
+ this.entryPoints = new n(this);
538
+ this.output = new a(this);
539
+ this.module = new h(this);
540
+ this.resolve = new o(this);
541
+ this.resolveLoader = new u(this);
542
+ this.optimization = new f(this);
543
+ this.plugins = new n(this);
544
+ this.devServer = new c(this);
545
+ this.performance = new p(this);
546
+ this.node = new i(this);
547
+ this.extend([
548
+ "context",
549
+ "mode",
550
+ "devtool",
551
+ "target",
552
+ "watch",
553
+ "watchOptions",
554
+ "externals",
555
+ "externalsType",
556
+ "externalsPresets",
557
+ "stats",
558
+ "experiments",
559
+ "amd",
560
+ "bail",
561
+ "cache",
562
+ "dependencies",
563
+ "ignoreWarnings",
564
+ "loader",
565
+ "parallelism",
566
+ "profile",
567
+ "recordsPath",
568
+ "recordsInputPath",
569
+ "recordsOutputPath",
570
+ "name",
571
+ "infrastructureLogging",
572
+ "snapshot"
573
+ ]);
574
+ }
575
+ static toString(e, { verbose: t = false, configPrefix: n = "config" } = {}) {
576
+ const { stringify: i } = s(592);
577
+ return i(e, (e, s, i)=>{
578
+ if (e && e.__pluginName) {
579
+ const t = `/* ${n}.${e.__pluginType}('${e.__pluginName}') */\n`;
580
+ const s = e.__pluginPath ? `(require(${i(e.__pluginPath)}))` : e.__pluginConstructorName;
581
+ if (s) {
582
+ const n = i(e.__pluginArgs).slice(1, -1);
583
+ return `${t}new ${s}(${n})`;
584
+ }
585
+ return t + i(e.__pluginArgs && e.__pluginArgs.length ? {
586
+ args: e.__pluginArgs
587
+ } : {});
588
+ }
589
+ if (e && e.__ruleNames) {
590
+ const t = e.__ruleTypes;
591
+ const s = `/* ${n}.module${e.__ruleNames.map((e, s)=>`.${t ? t[s] : "rule"}('${e}')`).join("")}${e.__useName ? `.use('${e.__useName}')` : ""} */\n`;
592
+ return s + i(e);
593
+ }
594
+ if (e && e.__expression) return e.__expression;
595
+ if ("function" == typeof e) {
596
+ if (!t && e.toString().length > 100) return "function () { /* omitted long function */ }";
597
+ }
598
+ return i(e);
599
+ }, 2);
600
+ }
601
+ entry(e) {
602
+ return this.entryPoints.getOrCompute(e, ()=>new r(this));
603
+ }
604
+ plugin(e) {
605
+ return this.plugins.getOrCompute(e, ()=>new l(this, e));
606
+ }
607
+ toConfig() {
608
+ const e = this.entryPoints.entries() || {};
609
+ const t = this.entries() || {};
610
+ return this.clean(Object.assign(t, {
611
+ node: this.node.entries(),
612
+ output: this.output.entries(),
613
+ resolve: this.resolve.toConfig(),
614
+ resolveLoader: this.resolveLoader.toConfig(),
615
+ devServer: this.devServer.toConfig(),
616
+ module: this.module.toConfig(),
617
+ optimization: this.optimization.toConfig(),
618
+ plugins: this.plugins.values().map((e)=>e.toConfig()),
619
+ performance: this.performance.entries(),
620
+ entry: Object.keys(e).reduce((t, s)=>Object.assign(t, {
621
+ [s]: e[s].values()
622
+ }), {})
623
+ }));
624
+ }
625
+ toString(t) {
626
+ return e.exports.toString(this.toConfig(), t);
627
+ }
628
+ merge(e = {}, t = []) {
629
+ const s = [
630
+ "node",
631
+ "output",
632
+ "resolve",
633
+ "resolveLoader",
634
+ "devServer",
635
+ "optimization",
636
+ "performance",
637
+ "module"
638
+ ];
639
+ if (!t.includes("entry") && "entry" in e) Object.keys(e.entry).forEach((t)=>this.entry(t).merge([].concat(e.entry[t])));
640
+ if (!t.includes("plugin") && "plugin" in e) Object.keys(e.plugin).forEach((t)=>this.plugin(t).merge(e.plugin[t]));
641
+ s.forEach((s)=>{
642
+ if (!t.includes(s) && s in e) this[s].merge(e[s]);
643
+ });
644
+ return super.merge(e, [
645
+ ...t,
646
+ ...s,
647
+ "entry",
648
+ "plugin"
649
+ ]);
650
+ }
651
+ };
652
+ },
653
+ 736: (e, t, s)=>{
654
+ const n = s(572);
655
+ const i = s(745);
656
+ e.exports = class extends n {
657
+ constructor(e){
658
+ super(e);
659
+ this.allowedHosts = new i(this);
660
+ this.extend([
661
+ "after",
662
+ "before",
663
+ "bonjour",
664
+ "clientLogLevel",
665
+ "compress",
666
+ "contentBase",
667
+ "contentBasePublicPath",
668
+ "disableHostCheck",
669
+ "filename",
670
+ "headers",
671
+ "historyApiFallback",
672
+ "host",
673
+ "hot",
674
+ "hotOnly",
675
+ "http2",
676
+ "https",
677
+ "index",
678
+ "injectClient",
679
+ "injectHot",
680
+ "inline",
681
+ "lazy",
682
+ "liveReload",
683
+ "mimeTypes",
684
+ "noInfo",
685
+ "onListening",
686
+ "open",
687
+ "openPage",
688
+ "overlay",
689
+ "pfx",
690
+ "pfxPassphrase",
691
+ "port",
692
+ "proxy",
693
+ "progress",
694
+ "public",
695
+ "publicPath",
696
+ "quiet",
697
+ "serveIndex",
698
+ "setup",
699
+ "socket",
700
+ "sockHost",
701
+ "sockPath",
702
+ "sockPort",
703
+ "staticOptions",
704
+ "stats",
705
+ "stdin",
706
+ "transportMode",
707
+ "useLocalIp",
708
+ "watchContentBase",
709
+ "watchOptions",
710
+ "writeToDisk"
711
+ ]);
712
+ }
713
+ toConfig() {
714
+ return this.clean({
715
+ allowedHosts: this.allowedHosts.values(),
716
+ ...this.entries() || {}
717
+ });
718
+ }
719
+ merge(e, t = []) {
720
+ if (!t.includes("allowedHosts") && "allowedHosts" in e) this.allowedHosts.merge(e.allowedHosts);
721
+ return super.merge(e, [
722
+ "allowedHosts"
723
+ ]);
724
+ }
725
+ };
726
+ },
727
+ 64: (e, t, s)=>{
728
+ const n = s(572);
729
+ const i = s(159);
730
+ e.exports = class extends n {
731
+ constructor(e){
732
+ super(e);
733
+ this.rules = new n(this);
734
+ this.defaultRules = new n(this);
735
+ this.generator = new n(this);
736
+ this.parser = new n(this);
737
+ this.extend([
738
+ "noParse",
739
+ "unsafeCache",
740
+ "wrappedContextCritical",
741
+ "exprContextRegExp",
742
+ "wrappedContextRecursive",
743
+ "strictExportPresence",
744
+ "wrappedContextRegExp"
745
+ ]);
746
+ }
747
+ defaultRule(e) {
748
+ return this.defaultRules.getOrCompute(e, ()=>new i(this, e, "defaultRule"));
749
+ }
750
+ rule(e) {
751
+ return this.rules.getOrCompute(e, ()=>new i(this, e, "rule"));
752
+ }
753
+ toConfig() {
754
+ return this.clean(Object.assign(this.entries() || {}, {
755
+ defaultRules: this.defaultRules.values().map((e)=>e.toConfig()),
756
+ generator: this.generator.entries(),
757
+ parser: this.parser.entries(),
758
+ rules: this.rules.values().map((e)=>e.toConfig())
759
+ }));
760
+ }
761
+ merge(e, t = []) {
762
+ if (!t.includes("rule") && "rule" in e) Object.keys(e.rule).forEach((t)=>this.rule(t).merge(e.rule[t]));
763
+ if (!t.includes("defaultRule") && "defaultRule" in e) Object.keys(e.defaultRule).forEach((t)=>this.defaultRule(t).merge(e.defaultRule[t]));
764
+ return super.merge(e, [
765
+ "rule",
766
+ "defaultRule"
767
+ ]);
768
+ }
769
+ };
770
+ },
771
+ 223: (e, t, s)=>{
772
+ const n = s(572);
773
+ const i = s(659);
774
+ const r = s(740);
775
+ e.exports = class extends n {
776
+ constructor(e){
777
+ super(e);
778
+ this.minimizers = new n(this);
779
+ this.splitChunks = new i(this);
780
+ this.extend([
781
+ "minimize",
782
+ "runtimeChunk",
783
+ "emitOnErrors",
784
+ "moduleIds",
785
+ "chunkIds",
786
+ "nodeEnv",
787
+ "mangleWasmImports",
788
+ "removeAvailableModules",
789
+ "removeEmptyChunks",
790
+ "mergeDuplicateChunks",
791
+ "flagIncludedChunks",
792
+ "providedExports",
793
+ "usedExports",
794
+ "concatenateModules",
795
+ "sideEffects",
796
+ "portableRecords",
797
+ "mangleExports",
798
+ "innerGraph",
799
+ "realContentHash"
800
+ ]);
801
+ }
802
+ minimizer(e) {
803
+ if (Array.isArray(e)) throw new Error("optimization.minimizer() no longer supports being passed an array. Either switch to the new syntax (https://github.com/neutrinojs/webpack-chain#config-optimization-minimizers-adding) or downgrade to webpack-chain 4. If using Vue this likely means a Vue plugin has not yet been updated to support Vue CLI 4+.");
804
+ return this.minimizers.getOrCompute(e, ()=>new r(this, e, "optimization.minimizer"));
805
+ }
806
+ toConfig() {
807
+ return this.clean(Object.assign(this.entries() || {}, {
808
+ splitChunks: this.splitChunks.entries(),
809
+ minimizer: this.minimizers.values().map((e)=>e.toConfig())
810
+ }));
811
+ }
812
+ merge(e, t = []) {
813
+ if (!t.includes("minimizer") && "minimizer" in e) Object.keys(e.minimizer).forEach((t)=>this.minimizer(t).merge(e.minimizer[t]));
814
+ return super.merge(e, [
815
+ ...t,
816
+ "minimizer"
817
+ ]);
818
+ }
819
+ };
820
+ },
821
+ 434: (e)=>{
822
+ e.exports = (e)=>class extends e {
823
+ before(e) {
824
+ if (this.__after) throw new Error(`Unable to set .before(${JSON.stringify(e)}) with existing value for .after()`);
825
+ this.__before = e;
826
+ return this;
827
+ }
828
+ after(e) {
829
+ if (this.__before) throw new Error(`Unable to set .after(${JSON.stringify(e)}) with existing value for .before()`);
830
+ this.__after = e;
831
+ return this;
832
+ }
833
+ merge(e, t = []) {
834
+ if (e.before) this.before(e.before);
835
+ if (e.after) this.after(e.after);
836
+ return super.merge(e, [
837
+ ...t,
838
+ "before",
839
+ "after"
840
+ ]);
841
+ }
842
+ };
843
+ },
844
+ 430: (e, t, s)=>{
845
+ const n = s(572);
846
+ e.exports = class extends n {
847
+ constructor(e){
848
+ super(e);
849
+ this.extend([
850
+ "auxiliaryComment",
851
+ "charset",
852
+ "chunkFilename",
853
+ "chunkLoadTimeout",
854
+ "chunkLoadingGlobal",
855
+ "chunkLoading",
856
+ "chunkFormat",
857
+ "enabledChunkLoadingTypes",
858
+ "crossOriginLoading",
859
+ "devtoolFallbackModuleFilenameTemplate",
860
+ "devtoolModuleFilenameTemplate",
861
+ "devtoolNamespace",
862
+ "filename",
863
+ "assetModuleFilename",
864
+ "globalObject",
865
+ "uniqueName",
866
+ "hashDigest",
867
+ "hashDigestLength",
868
+ "hashFunction",
869
+ "hashSalt",
870
+ "hotUpdateChunkFilename",
871
+ "hotUpdateGlobal",
872
+ "hotUpdateMainFilename",
873
+ "library",
874
+ "libraryExport",
875
+ "libraryTarget",
876
+ "importFunctionName",
877
+ "path",
878
+ "pathinfo",
879
+ "publicPath",
880
+ "scriptType",
881
+ "sourceMapFilename",
882
+ "sourcePrefix",
883
+ "strictModuleErrorHandling",
884
+ "strictModuleExceptionHandling",
885
+ "umdNamedDefine",
886
+ "workerChunkLoading",
887
+ "enabledLibraryTypes",
888
+ "environment",
889
+ "compareBeforeEmit",
890
+ "wasmLoading",
891
+ "enabledWasmLoadingTypes",
892
+ "iife",
893
+ "module",
894
+ "clean"
895
+ ]);
896
+ }
897
+ };
898
+ },
899
+ 10: (e, t, s)=>{
900
+ const n = s(659);
901
+ e.exports = class extends n {
902
+ constructor(e){
903
+ super(e);
904
+ this.extend([
905
+ "assetFilter",
906
+ "hints",
907
+ "maxAssetSize",
908
+ "maxEntrypointSize"
909
+ ]);
910
+ }
911
+ };
912
+ },
913
+ 740: (e, t, s)=>{
914
+ const n = s(572);
915
+ const i = s(434);
916
+ e.exports = i(class extends n {
917
+ constructor(e, t, s = "plugin"){
918
+ super(e);
919
+ this.name = t;
920
+ this.type = s;
921
+ this.extend([
922
+ "init"
923
+ ]);
924
+ this.init((e, t = [])=>{
925
+ if ("function" == typeof e) return new e(...t);
926
+ return e;
927
+ });
928
+ }
929
+ use(e, t = []) {
930
+ return this.set("plugin", e).set("args", t);
931
+ }
932
+ tap(e) {
933
+ if (!this.has("plugin")) throw new Error(`Cannot call .tap() on a plugin that has not yet been defined. Call ${this.type}('${this.name}').use(<Plugin>) first.`);
934
+ this.set("args", e(this.get("args") || []));
935
+ return this;
936
+ }
937
+ set(e, t) {
938
+ if ("args" === e && !Array.isArray(t)) throw new Error("args must be an array of arguments");
939
+ return super.set(e, t);
940
+ }
941
+ merge(e, t = []) {
942
+ if ("plugin" in e) this.set("plugin", e.plugin);
943
+ if ("args" in e) this.set("args", e.args);
944
+ return super.merge(e, [
945
+ ...t,
946
+ "args",
947
+ "plugin"
948
+ ]);
949
+ }
950
+ toConfig() {
951
+ const e = this.get("init");
952
+ let t = this.get("plugin");
953
+ const n = this.get("args");
954
+ let i = null;
955
+ if (void 0 === t) throw new Error(`Invalid ${this.type} configuration: ${this.type}('${this.name}').use(<Plugin>) was not called to specify the plugin`);
956
+ if ("string" == typeof t) {
957
+ i = t;
958
+ t = s(875)(i);
959
+ }
960
+ const r = t.__expression ? `(${t.__expression})` : t.name;
961
+ const o = e(t, n);
962
+ Object.defineProperties(o, {
963
+ __pluginName: {
964
+ value: this.name
965
+ },
966
+ __pluginType: {
967
+ value: this.type
968
+ },
969
+ __pluginArgs: {
970
+ value: n
971
+ },
972
+ __pluginConstructorName: {
973
+ value: r
974
+ },
975
+ __pluginPath: {
976
+ value: i
977
+ }
978
+ });
979
+ return o;
980
+ }
981
+ });
982
+ },
983
+ 222: (e, t, s)=>{
984
+ const n = s(572);
985
+ const i = s(745);
986
+ const r = s(740);
987
+ e.exports = class extends n {
988
+ constructor(e){
989
+ super(e);
990
+ this.alias = new n(this);
991
+ this.aliasFields = new i(this);
992
+ this.descriptionFiles = new i(this);
993
+ this.extensions = new i(this);
994
+ this.mainFields = new i(this);
995
+ this.mainFiles = new i(this);
996
+ this.exportsFields = new i(this);
997
+ this.importsFields = new i(this);
998
+ this.restrictions = new i(this);
999
+ this.roots = new i(this);
1000
+ this.modules = new i(this);
1001
+ this.plugins = new n(this);
1002
+ this.fallback = new n(this);
1003
+ this.byDependency = new n(this);
1004
+ this.extend([
1005
+ "cachePredicate",
1006
+ "cacheWithContext",
1007
+ "enforceExtension",
1008
+ "symlinks",
1009
+ "unsafeCache",
1010
+ "preferRelative",
1011
+ "preferAbsolute"
1012
+ ]);
1013
+ }
1014
+ plugin(e) {
1015
+ return this.plugins.getOrCompute(e, ()=>new r(this, e, "resolve.plugin"));
1016
+ }
1017
+ toConfig() {
1018
+ return this.clean(Object.assign(this.entries() || {}, {
1019
+ alias: this.alias.entries(),
1020
+ aliasFields: this.aliasFields.values(),
1021
+ descriptionFiles: this.descriptionFiles.values(),
1022
+ extensions: this.extensions.values(),
1023
+ mainFields: this.mainFields.values(),
1024
+ mainFiles: this.mainFiles.values(),
1025
+ modules: this.modules.values(),
1026
+ exportsFields: this.exportsFields.values(),
1027
+ importsFields: this.importsFields.values(),
1028
+ restrictions: this.restrictions.values(),
1029
+ roots: this.roots.values(),
1030
+ fallback: this.fallback.entries(),
1031
+ byDependency: this.byDependency.entries(),
1032
+ plugins: this.plugins.values().map((e)=>e.toConfig())
1033
+ }));
1034
+ }
1035
+ merge(e, t = []) {
1036
+ const s = [
1037
+ "alias",
1038
+ "aliasFields",
1039
+ "descriptionFiles",
1040
+ "extensions",
1041
+ "mainFields",
1042
+ "mainFiles",
1043
+ "exportsFields",
1044
+ "importsFields",
1045
+ "restrictions",
1046
+ "roots",
1047
+ "modules"
1048
+ ];
1049
+ if (!t.includes("plugin") && "plugin" in e) Object.keys(e.plugin).forEach((t)=>this.plugin(t).merge(e.plugin[t]));
1050
+ s.forEach((s)=>{
1051
+ if (!t.includes(s) && s in e) this[s].merge(e[s]);
1052
+ });
1053
+ return super.merge(e, [
1054
+ ...t,
1055
+ ...s,
1056
+ "plugin"
1057
+ ]);
1058
+ }
1059
+ };
1060
+ },
1061
+ 417: (e, t, s)=>{
1062
+ const n = s(222);
1063
+ const i = s(745);
1064
+ e.exports = class extends n {
1065
+ constructor(e){
1066
+ super(e);
1067
+ this.modules = new i(this);
1068
+ this.moduleExtensions = new i(this);
1069
+ this.packageMains = new i(this);
1070
+ }
1071
+ toConfig() {
1072
+ return this.clean({
1073
+ modules: this.modules.values(),
1074
+ moduleExtensions: this.moduleExtensions.values(),
1075
+ packageMains: this.packageMains.values(),
1076
+ ...super.toConfig()
1077
+ });
1078
+ }
1079
+ merge(e, t = []) {
1080
+ const s = [
1081
+ "modules",
1082
+ "moduleExtensions",
1083
+ "packageMains"
1084
+ ];
1085
+ s.forEach((s)=>{
1086
+ if (!t.includes(s) && s in e) this[s].merge(e[s]);
1087
+ });
1088
+ return super.merge(e, [
1089
+ ...t,
1090
+ ...s
1091
+ ]);
1092
+ }
1093
+ };
1094
+ },
1095
+ 159: (e, t, s)=>{
1096
+ const n = s(572);
1097
+ const i = s(745);
1098
+ const r = s(434);
1099
+ const o = s(688);
1100
+ const u = s(222);
1101
+ function toArray(e) {
1102
+ return Array.isArray(e) ? e : [
1103
+ e
1104
+ ];
1105
+ }
1106
+ const a = r(class extends n {
1107
+ constructor(e, t, s = "rule"){
1108
+ super(e);
1109
+ this.ruleName = t;
1110
+ this.names = [];
1111
+ this.ruleType = s;
1112
+ this.ruleTypes = [];
1113
+ let r = this;
1114
+ while(r instanceof a){
1115
+ this.names.unshift(r.ruleName);
1116
+ this.ruleTypes.unshift(r.ruleType);
1117
+ r = r.parent;
1118
+ }
1119
+ this.uses = new n(this);
1120
+ this.include = new i(this);
1121
+ this.exclude = new i(this);
1122
+ this.rules = new n(this);
1123
+ this.oneOfs = new n(this);
1124
+ this.resolve = new u(this);
1125
+ this.resolve.extend([
1126
+ "fullySpecified"
1127
+ ]);
1128
+ this.extend([
1129
+ "enforce",
1130
+ "issuer",
1131
+ "issuerLayer",
1132
+ "layer",
1133
+ "mimetype",
1134
+ "parser",
1135
+ "generator",
1136
+ "resource",
1137
+ "resourceQuery",
1138
+ "sideEffects",
1139
+ "test",
1140
+ "type"
1141
+ ]);
1142
+ }
1143
+ use(e) {
1144
+ return this.uses.getOrCompute(e, ()=>new o(this, e));
1145
+ }
1146
+ rule(e) {
1147
+ return this.rules.getOrCompute(e, ()=>new a(this, e, "rule"));
1148
+ }
1149
+ oneOf(e) {
1150
+ return this.oneOfs.getOrCompute(e, ()=>new a(this, e, "oneOf"));
1151
+ }
1152
+ pre() {
1153
+ return this.enforce("pre");
1154
+ }
1155
+ post() {
1156
+ return this.enforce("post");
1157
+ }
1158
+ toConfig() {
1159
+ const e = this.clean(Object.assign(this.entries() || {}, {
1160
+ include: this.include.values(),
1161
+ exclude: this.exclude.values(),
1162
+ rules: this.rules.values().map((e)=>e.toConfig()),
1163
+ oneOf: this.oneOfs.values().map((e)=>e.toConfig()),
1164
+ use: this.uses.values().map((e)=>e.toConfig()),
1165
+ resolve: this.resolve.toConfig()
1166
+ }));
1167
+ Object.defineProperties(e, {
1168
+ __ruleNames: {
1169
+ value: this.names
1170
+ },
1171
+ __ruleTypes: {
1172
+ value: this.ruleTypes
1173
+ }
1174
+ });
1175
+ return e;
1176
+ }
1177
+ merge(e, t = []) {
1178
+ if (!t.includes("include") && "include" in e) this.include.merge(toArray(e.include));
1179
+ if (!t.includes("exclude") && "exclude" in e) this.exclude.merge(toArray(e.exclude));
1180
+ if (!t.includes("use") && "use" in e) Object.keys(e.use).forEach((t)=>this.use(t).merge(e.use[t]));
1181
+ if (!t.includes("rules") && "rules" in e) Object.keys(e.rules).forEach((t)=>this.rule(t).merge(e.rules[t]));
1182
+ if (!t.includes("oneOf") && "oneOf" in e) Object.keys(e.oneOf).forEach((t)=>this.oneOf(t).merge(e.oneOf[t]));
1183
+ if (!t.includes("resolve") && "resolve" in e) this.resolve.merge(e.resolve);
1184
+ if (!t.includes("test") && "test" in e) this.test(e.test instanceof RegExp || "function" == typeof e.test ? e.test : new RegExp(e.test));
1185
+ return super.merge(e, [
1186
+ ...t,
1187
+ "include",
1188
+ "exclude",
1189
+ "use",
1190
+ "rules",
1191
+ "oneOf",
1192
+ "resolve",
1193
+ "test"
1194
+ ]);
1195
+ }
1196
+ });
1197
+ e.exports = a;
1198
+ },
1199
+ 688: (e, t, s)=>{
1200
+ const n = s(256);
1201
+ const i = s(572);
1202
+ const r = s(434);
1203
+ e.exports = r(class extends i {
1204
+ constructor(e, t){
1205
+ super(e);
1206
+ this.name = t;
1207
+ this.extend([
1208
+ "loader",
1209
+ "options"
1210
+ ]);
1211
+ }
1212
+ tap(e) {
1213
+ this.options(e(this.get("options")));
1214
+ return this;
1215
+ }
1216
+ merge(e, t = []) {
1217
+ if (!t.includes("loader") && "loader" in e) this.loader(e.loader);
1218
+ if (!t.includes("options") && "options" in e) this.options(n(this.store.get("options") || {}, e.options));
1219
+ return super.merge(e, [
1220
+ ...t,
1221
+ "loader",
1222
+ "options"
1223
+ ]);
1224
+ }
1225
+ toConfig() {
1226
+ const e = this.clean(this.entries() || {});
1227
+ Object.defineProperties(e, {
1228
+ __useName: {
1229
+ value: this.name
1230
+ },
1231
+ __ruleNames: {
1232
+ value: this.parent && this.parent.names
1233
+ },
1234
+ __ruleTypes: {
1235
+ value: this.parent && this.parent.ruleTypes
1236
+ }
1237
+ });
1238
+ return e;
1239
+ }
1240
+ });
1241
+ },
1242
+ 621: (e)=>{
1243
+ e.exports = function(e) {
1244
+ return class extends e {
1245
+ constructor(e){
1246
+ super();
1247
+ this.parent = e;
1248
+ }
1249
+ batch(e) {
1250
+ e(this);
1251
+ return this;
1252
+ }
1253
+ end() {
1254
+ return this.parent;
1255
+ }
1256
+ };
1257
+ };
1258
+ },
1259
+ 437: (e, t, s)=>{
1260
+ const n = s(256);
1261
+ e.exports = function(e) {
1262
+ return class extends e {
1263
+ constructor(...e){
1264
+ super(...e);
1265
+ this.store = new Map;
1266
+ }
1267
+ extend(e) {
1268
+ this.shorthands = e;
1269
+ e.forEach((e)=>{
1270
+ this[e] = (t)=>this.set(e, t);
1271
+ });
1272
+ return this;
1273
+ }
1274
+ clear() {
1275
+ this.store.clear();
1276
+ return this;
1277
+ }
1278
+ delete(e) {
1279
+ this.store.delete(e);
1280
+ return this;
1281
+ }
1282
+ order() {
1283
+ const e = [
1284
+ ...this.store
1285
+ ].reduce((e, [t, s])=>{
1286
+ e[t] = s;
1287
+ return e;
1288
+ }, {});
1289
+ const t = Object.keys(e);
1290
+ const s = [
1291
+ ...t
1292
+ ];
1293
+ t.forEach((t)=>{
1294
+ if (!e[t]) return;
1295
+ const { __before: n, __after: i } = e[t];
1296
+ if (n && s.includes(n)) {
1297
+ s.splice(s.indexOf(t), 1);
1298
+ s.splice(s.indexOf(n), 0, t);
1299
+ } else if (i && s.includes(i)) {
1300
+ s.splice(s.indexOf(t), 1);
1301
+ s.splice(s.indexOf(i) + 1, 0, t);
1302
+ }
1303
+ });
1304
+ return {
1305
+ entries: e,
1306
+ order: s
1307
+ };
1308
+ }
1309
+ entries() {
1310
+ const { entries: e, order: t } = this.order();
1311
+ if (t.length) return e;
1312
+ }
1313
+ values() {
1314
+ const { entries: e, order: t } = this.order();
1315
+ return t.map((t)=>e[t]);
1316
+ }
1317
+ get(e) {
1318
+ return this.store.get(e);
1319
+ }
1320
+ getOrCompute(e, t) {
1321
+ if (!this.has(e)) this.set(e, t());
1322
+ return this.get(e);
1323
+ }
1324
+ has(e) {
1325
+ return this.store.has(e);
1326
+ }
1327
+ set(e, t) {
1328
+ this.store.set(e, t);
1329
+ return this;
1330
+ }
1331
+ merge(e, t = []) {
1332
+ Object.keys(e).forEach((s)=>{
1333
+ if (t.includes(s)) return;
1334
+ const i = e[s];
1335
+ if ((Array.isArray(i) || "object" == typeof i) && null !== i && this.has(s)) this.set(s, n(this.get(s), i));
1336
+ else this.set(s, i);
1337
+ });
1338
+ return this;
1339
+ }
1340
+ clean(e) {
1341
+ return Object.keys(e).reduce((t, s)=>{
1342
+ const n = e[s];
1343
+ if (void 0 === n) return t;
1344
+ if (Array.isArray(n) && !n.length) return t;
1345
+ if ("[object Object]" === Object.prototype.toString.call(n) && !Object.keys(n).length) return t;
1346
+ t[s] = n;
1347
+ return t;
1348
+ }, {});
1349
+ }
1350
+ when(e, t = Function.prototype, s = Function.prototype) {
1351
+ if (e) t(this);
1352
+ else s(this);
1353
+ return this;
1354
+ }
1355
+ };
1356
+ };
1357
+ },
1358
+ 845: (e)=>{
1359
+ e.exports = function(e) {
1360
+ return class extends e {
1361
+ constructor(...e){
1362
+ super(...e);
1363
+ this.store = new Set;
1364
+ }
1365
+ add(e) {
1366
+ this.store.add(e);
1367
+ return this;
1368
+ }
1369
+ prepend(e) {
1370
+ this.store = new Set([
1371
+ e,
1372
+ ...this.store
1373
+ ]);
1374
+ return this;
1375
+ }
1376
+ clear() {
1377
+ this.store.clear();
1378
+ return this;
1379
+ }
1380
+ delete(e) {
1381
+ this.store.delete(e);
1382
+ return this;
1383
+ }
1384
+ values() {
1385
+ return [
1386
+ ...this.store
1387
+ ];
1388
+ }
1389
+ has(e) {
1390
+ return this.store.has(e);
1391
+ }
1392
+ merge(e) {
1393
+ this.store = new Set([
1394
+ ...this.store,
1395
+ ...e
1396
+ ]);
1397
+ return this;
1398
+ }
1399
+ when(e, t = Function.prototype, s = Function.prototype) {
1400
+ if (e) t(this);
1401
+ else s(this);
1402
+ return this;
1403
+ }
1404
+ };
1405
+ };
1406
+ },
1407
+ 49: (e)=>{
1408
+ e.exports = function(e) {
1409
+ return class extends e {
1410
+ constructor(...e){
1411
+ super(...e);
1412
+ this.value = void 0;
1413
+ this.useMap = true;
1414
+ }
1415
+ set(...e) {
1416
+ this.useMap = true;
1417
+ this.value = void 0;
1418
+ return super.set(...e);
1419
+ }
1420
+ clear() {
1421
+ this.value = void 0;
1422
+ return super.clear();
1423
+ }
1424
+ classCall(e) {
1425
+ this.clear();
1426
+ this.useMap = false;
1427
+ this.value = e;
1428
+ return this.parent;
1429
+ }
1430
+ entries() {
1431
+ if (this.useMap) return super.entries();
1432
+ return this.value;
1433
+ }
1434
+ values() {
1435
+ if (this.useMap) return super.values();
1436
+ return this.value;
1437
+ }
1438
+ };
1439
+ };
1440
+ },
1441
+ 875: (e)=>{
1442
+ function webpackEmptyContext(e) {
1443
+ var t = new Error("Cannot find module '" + e + "'");
1444
+ t.code = "MODULE_NOT_FOUND";
1445
+ throw t;
1446
+ }
1447
+ webpackEmptyContext.keys = ()=>[];
1448
+ webpackEmptyContext.resolve = webpackEmptyContext;
1449
+ webpackEmptyContext.id = 875;
1450
+ e.exports = webpackEmptyContext;
1451
+ }
1452
+ };
1453
+ var t = {};
1454
+ function __nccwpck_require__(s) {
1455
+ var n = t[s];
1456
+ if (void 0 !== n) return n.exports;
1457
+ var i = t[s] = {
1458
+ exports: {}
1459
+ };
1460
+ var r = true;
1461
+ try {
1462
+ e[s].call(i.exports, i, i.exports, __nccwpck_require__);
1463
+ r = false;
1464
+ } finally{
1465
+ if (r) delete t[s];
1466
+ }
1467
+ return i.exports;
1468
+ }
1469
+ (()=>{
1470
+ __nccwpck_require__.o = (e, t)=>Object.prototype.hasOwnProperty.call(e, t);
1471
+ })();
1472
+ if (void 0 !== __nccwpck_require__) __nccwpck_require__.ab = __dirname + "/";
1473
+ var s = __nccwpck_require__(122);
1474
+ module.exports = s;
1475
+ })();