@modern-js/utils 2.69.4 → 3.0.0-alpha.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 (265) hide show
  1. package/dist/cjs/cli/alias.js +76 -70
  2. package/dist/cjs/cli/applyOptionsChain.js +44 -45
  3. package/dist/cjs/cli/babel.js +100 -119
  4. package/dist/cjs/cli/commands.js +61 -59
  5. package/dist/cjs/cli/common.js +45 -37
  6. package/dist/cjs/cli/config.js +36 -30
  7. package/dist/cjs/cli/constants.js +124 -161
  8. package/dist/cjs/cli/ensure.js +52 -45
  9. package/dist/cjs/cli/fs.js +41 -38
  10. package/dist/cjs/cli/get/config.js +43 -38
  11. package/dist/cjs/cli/get/data.js +108 -125
  12. package/dist/cjs/cli/get/index.js +109 -58
  13. package/dist/cjs/cli/index.js +202 -63
  14. package/dist/cjs/cli/is/config.js +75 -71
  15. package/dist/cjs/cli/is/env.js +49 -37
  16. package/dist/cjs/cli/is/index.js +76 -25
  17. package/dist/cjs/cli/is/project.js +139 -135
  18. package/dist/cjs/cli/is/type.js +65 -49
  19. package/dist/cjs/cli/logger.js +36 -27
  20. package/dist/cjs/cli/monorepo.js +100 -96
  21. package/dist/cjs/cli/package.js +85 -82
  22. package/dist/cjs/cli/path.js +101 -82
  23. package/dist/cjs/cli/port.js +71 -74
  24. package/dist/cjs/cli/prettyInstructions.js +106 -116
  25. package/dist/cjs/cli/require.js +116 -136
  26. package/dist/cjs/cli/route.js +67 -77
  27. package/dist/cjs/cli/runtimeExports.js +16 -70
  28. package/dist/cjs/cli/version.js +53 -42
  29. package/dist/cjs/cli/watch.js +79 -72
  30. package/dist/cjs/compiled.js +199 -128
  31. package/dist/cjs/import.js +58 -33
  32. package/dist/cjs/index.js +69 -23
  33. package/dist/cjs/universal/constants.js +77 -67
  34. package/dist/cjs/universal/index.js +33 -25
  35. package/dist/cjs/universal/path.js +33 -27
  36. package/dist/cjs/universal/pluginDagSort.js +69 -68
  37. package/dist/compiled/address/index.js +171 -1
  38. package/dist/compiled/browserslist/index.js +1329 -1
  39. package/dist/compiled/chalk/index.js +2368 -1
  40. package/dist/compiled/chokidar/index.js +4138 -16
  41. package/dist/compiled/chokidar/index.js.LICENSE.txt +41 -0
  42. package/dist/compiled/commander/index.js +1540 -1
  43. package/dist/compiled/debug/index.js +621 -1
  44. package/dist/compiled/dotenv/index.js +101 -1
  45. package/dist/compiled/dotenv-expand/index.js +54 -1
  46. package/dist/compiled/execa/index.js +1738 -1
  47. package/dist/compiled/fast-glob/index.js +4645 -17
  48. package/dist/compiled/fast-glob/index.js.LICENSE.txt +38 -0
  49. package/dist/compiled/filesize/index.js +193 -4
  50. package/dist/compiled/filesize/index.js.LICENSE.txt +7 -0
  51. package/dist/compiled/fs-extra/index.js +2222 -1
  52. package/dist/compiled/glob/index.js +2011 -1
  53. package/dist/compiled/globby/index.js +690 -1
  54. package/dist/compiled/gzip-size/index.js +157 -1
  55. package/dist/compiled/import-lazy/index.js +45 -1
  56. package/dist/compiled/inquirer/index.js +20162 -4
  57. package/dist/compiled/inquirer/index.js.LICENSE.txt +7 -0
  58. package/dist/compiled/js-yaml/index.js +2188 -1
  59. package/dist/compiled/json5/index.js +983 -1
  60. package/dist/compiled/lodash/index.js +0 -4
  61. package/dist/compiled/mime-types/index.js +108 -6
  62. package/dist/compiled/mime-types/index.js.LICENSE.txt +13 -0
  63. package/dist/compiled/minimist/index.js +202 -1
  64. package/dist/compiled/nanoid/index.js +83 -1
  65. package/dist/compiled/ora/index.js +3936 -3
  66. package/dist/compiled/ora/index.js.LICENSE.txt +1 -0
  67. package/dist/compiled/pkg-up/index.js +177 -1
  68. package/dist/compiled/semver/index.js +1779 -1
  69. package/dist/compiled/signale/index.js +1704 -1
  70. package/dist/compiled/slash/index.js +32 -1
  71. package/dist/compiled/strip-ansi/index.js +34 -1
  72. package/dist/compiled/tsconfig-paths/index.js +629 -1
  73. package/dist/compiled/upath/index.js +135 -1
  74. package/dist/compiled/url-join/index.js +61 -1
  75. package/dist/compiled/webpack-chain/index.js +1475 -1
  76. package/dist/esm/cli/alias.mjs +31 -0
  77. package/dist/esm/cli/applyOptionsChain.mjs +16 -0
  78. package/dist/esm/cli/babel.mjs +76 -0
  79. package/dist/esm/cli/commands.mjs +23 -0
  80. package/dist/esm/cli/common.mjs +11 -0
  81. package/dist/esm/cli/config.mjs +5 -0
  82. package/dist/esm/cli/constants.mjs +29 -0
  83. package/dist/esm/cli/ensure.mjs +9 -0
  84. package/dist/esm/cli/fs.mjs +9 -0
  85. package/dist/esm/cli/get/config.mjs +14 -0
  86. package/dist/esm/cli/get/data.mjs +57 -0
  87. package/dist/esm/cli/get/index.mjs +18 -0
  88. package/dist/{esm-node/cli/index.js → esm/cli/index.mjs} +0 -1
  89. package/dist/esm/cli/is/config.mjs +34 -0
  90. package/dist/esm/cli/is/env.mjs +6 -0
  91. package/dist/esm/cli/is/project.mjs +104 -0
  92. package/dist/esm/cli/is/type.mjs +26 -0
  93. package/dist/esm/cli/logger.mjs +2 -0
  94. package/dist/esm/cli/monorepo.mjs +50 -0
  95. package/dist/esm/cli/package.mjs +51 -0
  96. package/dist/esm/cli/path.mjs +35 -0
  97. package/dist/esm/cli/port.mjs +35 -0
  98. package/dist/esm/cli/prettyInstructions.mjs +68 -0
  99. package/dist/esm/cli/require.mjs +79 -0
  100. package/dist/esm/cli/route.mjs +36 -0
  101. package/dist/esm/cli/runtimeExports.mjs +0 -0
  102. package/dist/esm/cli/version.mjs +21 -0
  103. package/dist/esm/cli/watch.mjs +40 -0
  104. package/dist/esm/compiled.mjs +115 -0
  105. package/dist/esm/import.mjs +25 -0
  106. package/dist/esm/universal/constants.mjs +13 -0
  107. package/dist/{esm-node/universal/index.js → esm/universal/index.mjs} +1 -3
  108. package/dist/esm/universal/path.mjs +2 -0
  109. package/dist/esm/universal/pluginDagSort.mjs +41 -0
  110. package/dist/esm-node/cli/alias.mjs +31 -0
  111. package/dist/esm-node/cli/applyOptionsChain.mjs +16 -0
  112. package/dist/esm-node/cli/babel.mjs +76 -0
  113. package/dist/esm-node/cli/commands.mjs +23 -0
  114. package/dist/esm-node/cli/common.mjs +11 -0
  115. package/dist/esm-node/cli/config.mjs +5 -0
  116. package/dist/esm-node/cli/constants.mjs +29 -0
  117. package/dist/esm-node/cli/ensure.mjs +9 -0
  118. package/dist/esm-node/cli/fs.mjs +9 -0
  119. package/dist/esm-node/cli/get/config.mjs +14 -0
  120. package/dist/esm-node/cli/get/data.mjs +57 -0
  121. package/dist/esm-node/cli/get/index.mjs +18 -0
  122. package/dist/esm-node/cli/index.mjs +22 -0
  123. package/dist/esm-node/cli/is/config.mjs +34 -0
  124. package/dist/esm-node/cli/is/env.mjs +6 -0
  125. package/dist/esm-node/cli/is/index.mjs +4 -0
  126. package/dist/esm-node/cli/is/project.mjs +104 -0
  127. package/dist/esm-node/cli/is/type.mjs +26 -0
  128. package/dist/esm-node/cli/logger.mjs +2 -0
  129. package/dist/esm-node/cli/monorepo.mjs +50 -0
  130. package/dist/esm-node/cli/package.mjs +51 -0
  131. package/dist/esm-node/cli/path.mjs +35 -0
  132. package/dist/esm-node/cli/port.mjs +35 -0
  133. package/dist/esm-node/cli/prettyInstructions.mjs +68 -0
  134. package/dist/esm-node/cli/require.mjs +79 -0
  135. package/dist/esm-node/cli/route.mjs +36 -0
  136. package/dist/esm-node/cli/runtimeExports.mjs +0 -0
  137. package/dist/esm-node/cli/version.mjs +21 -0
  138. package/dist/esm-node/cli/watch.mjs +40 -0
  139. package/dist/esm-node/compiled.mjs +115 -0
  140. package/dist/esm-node/import.mjs +25 -0
  141. package/dist/esm-node/index.mjs +3 -0
  142. package/dist/esm-node/universal/constants.mjs +13 -0
  143. package/dist/esm-node/universal/index.mjs +2 -0
  144. package/dist/esm-node/universal/path.mjs +2 -0
  145. package/dist/esm-node/universal/pluginDagSort.mjs +41 -0
  146. package/dist/types/cli/constants.d.ts +2 -26
  147. package/dist/types/cli/get/data.d.ts +0 -1
  148. package/dist/types/cli/index.d.ts +0 -1
  149. package/dist/types/cli/is/config.d.ts +1 -1
  150. package/dist/types/cli/runtimeExports.d.ts +1 -4
  151. package/dist/types/cli/watch.d.ts +1 -1
  152. package/dist/types/compiled.d.ts +0 -5
  153. package/dist/types/universal/constants.d.ts +4 -7
  154. package/package.json +28 -57
  155. package/rslib.config.mts +140 -0
  156. package/dist/cjs/cli/action.js +0 -55
  157. package/dist/cjs/universal/formatWebpack.js +0 -127
  158. package/dist/compiled/react-server-dom-webpack/LICENSE +0 -21
  159. package/dist/compiled/react-server-dom-webpack/README.md +0 -5
  160. package/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.browser.development.js +0 -2552
  161. package/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.browser.production.js +0 -1636
  162. package/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.edge.development.js +0 -2708
  163. package/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.edge.production.js +0 -1799
  164. package/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.development.js +0 -2751
  165. package/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.production.js +0 -1848
  166. package/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.unbundled.development.js +0 -2714
  167. package/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.node.unbundled.production.js +0 -1814
  168. package/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-node-register.js +0 -69
  169. package/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-plugin.js +0 -399
  170. package/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.development.js +0 -4015
  171. package/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.production.js +0 -3001
  172. package/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.development.js +0 -4045
  173. package/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.production.js +0 -3003
  174. package/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.development.js +0 -4116
  175. package/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.production.js +0 -3113
  176. package/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.development.js +0 -4080
  177. package/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.production.js +0 -3080
  178. package/dist/compiled/react-server-dom-webpack/client.browser.js +0 -7
  179. package/dist/compiled/react-server-dom-webpack/client.edge.js +0 -7
  180. package/dist/compiled/react-server-dom-webpack/client.js +0 -3
  181. package/dist/compiled/react-server-dom-webpack/client.node.js +0 -7
  182. package/dist/compiled/react-server-dom-webpack/client.node.unbundled.js +0 -7
  183. package/dist/compiled/react-server-dom-webpack/index.js +0 -12
  184. package/dist/compiled/react-server-dom-webpack/package.json +0 -111
  185. package/dist/compiled/react-server-dom-webpack/server.browser.js +0 -17
  186. package/dist/compiled/react-server-dom-webpack/server.edge.js +0 -17
  187. package/dist/compiled/react-server-dom-webpack/server.js +0 -6
  188. package/dist/compiled/react-server-dom-webpack/server.node.js +0 -18
  189. package/dist/compiled/react-server-dom-webpack/server.node.unbundled.js +0 -18
  190. package/dist/esm/cli/action.js +0 -68
  191. package/dist/esm/cli/alias.js +0 -43
  192. package/dist/esm/cli/applyOptionsChain.js +0 -29
  193. package/dist/esm/cli/babel.js +0 -122
  194. package/dist/esm/cli/commands.js +0 -39
  195. package/dist/esm/cli/common.js +0 -20
  196. package/dist/esm/cli/config.js +0 -11
  197. package/dist/esm/cli/constants.js +0 -114
  198. package/dist/esm/cli/ensure.js +0 -16
  199. package/dist/esm/cli/fs.js +0 -65
  200. package/dist/esm/cli/get/config.js +0 -19
  201. package/dist/esm/cli/get/data.js +0 -143
  202. package/dist/esm/cli/get/index.js +0 -38
  203. package/dist/esm/cli/index.js +0 -23
  204. package/dist/esm/cli/is/config.js +0 -70
  205. package/dist/esm/cli/is/env.js +0 -22
  206. package/dist/esm/cli/is/index.js +0 -4
  207. package/dist/esm/cli/is/project.js +0 -146
  208. package/dist/esm/cli/is/type.js +0 -39
  209. package/dist/esm/cli/logger.js +0 -5
  210. package/dist/esm/cli/monorepo.js +0 -82
  211. package/dist/esm/cli/package.js +0 -203
  212. package/dist/esm/cli/path.js +0 -66
  213. package/dist/esm/cli/port.js +0 -97
  214. package/dist/esm/cli/prettyInstructions.js +0 -102
  215. package/dist/esm/cli/require.js +0 -235
  216. package/dist/esm/cli/route.js +0 -64
  217. package/dist/esm/cli/runtimeExports.js +0 -44
  218. package/dist/esm/cli/version.js +0 -26
  219. package/dist/esm/cli/watch.js +0 -112
  220. package/dist/esm/compiled.js +0 -66
  221. package/dist/esm/import.js +0 -11
  222. package/dist/esm/index.js +0 -3
  223. package/dist/esm/universal/constants.js +0 -32
  224. package/dist/esm/universal/formatWebpack.js +0 -95
  225. package/dist/esm/universal/index.js +0 -4
  226. package/dist/esm/universal/path.js +0 -6
  227. package/dist/esm/universal/pluginDagSort.js +0 -73
  228. package/dist/esm-node/cli/action.js +0 -30
  229. package/dist/esm-node/cli/alias.js +0 -40
  230. package/dist/esm-node/cli/applyOptionsChain.js +0 -27
  231. package/dist/esm-node/cli/babel.js +0 -107
  232. package/dist/esm-node/cli/commands.js +0 -39
  233. package/dist/esm-node/cli/common.js +0 -15
  234. package/dist/esm-node/cli/config.js +0 -9
  235. package/dist/esm-node/cli/constants.js +0 -114
  236. package/dist/esm-node/cli/ensure.js +0 -14
  237. package/dist/esm-node/cli/fs.js +0 -18
  238. package/dist/esm-node/cli/get/config.js +0 -19
  239. package/dist/esm-node/cli/get/data.js +0 -96
  240. package/dist/esm-node/cli/get/index.js +0 -22
  241. package/dist/esm-node/cli/is/config.js +0 -50
  242. package/dist/esm-node/cli/is/env.js +0 -12
  243. package/dist/esm-node/cli/is/project.js +0 -105
  244. package/dist/esm-node/cli/is/type.js +0 -36
  245. package/dist/esm-node/cli/logger.js +0 -5
  246. package/dist/esm-node/cli/monorepo.js +0 -67
  247. package/dist/esm-node/cli/package.js +0 -66
  248. package/dist/esm-node/cli/path.js +0 -48
  249. package/dist/esm-node/cli/port.js +0 -48
  250. package/dist/esm-node/cli/prettyInstructions.js +0 -90
  251. package/dist/esm-node/cli/require.js +0 -111
  252. package/dist/esm-node/cli/route.js +0 -60
  253. package/dist/esm-node/cli/runtimeExports.js +0 -38
  254. package/dist/esm-node/cli/version.js +0 -26
  255. package/dist/esm-node/cli/watch.js +0 -45
  256. package/dist/esm-node/compiled.js +0 -66
  257. package/dist/esm-node/import.js +0 -11
  258. package/dist/esm-node/universal/constants.js +0 -32
  259. package/dist/esm-node/universal/formatWebpack.js +0 -102
  260. package/dist/esm-node/universal/path.js +0 -6
  261. package/dist/esm-node/universal/pluginDagSort.js +0 -50
  262. package/dist/types/cli/action.d.ts +0 -2
  263. package/dist/types/universal/formatWebpack.d.ts +0 -26
  264. /package/dist/{esm-node/cli/is/index.js → esm/cli/is/index.mjs} +0 -0
  265. /package/dist/{esm-node/index.js → esm/index.mjs} +0 -0
@@ -1 +1,1475 @@
1
- (()=>{var e={256:function(e){(function(t,s){true?e.exports=s():0})(this,(function(){"use strict";var e=function isMergeableObject(e){return isNonNullObject(e)&&!isSpecial(e)};function isNonNullObject(e){return!!e&&typeof e==="object"}function isSpecial(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||isReactElement(e)}var t=typeof Symbol==="function"&&Symbol.for;var s=t?Symbol.for("react.element"):60103;function isReactElement(e){return e.$$typeof===s}function emptyTarget(e){return Array.isArray(e)?[]:{}}function cloneIfNecessary(t,s){var n=s&&s.clone===true;return n&&e(t)?deepmerge(emptyTarget(t),t,s):t}function defaultArrayMerge(t,s,n){var i=t.slice();s.forEach((function(s,r){if(typeof i[r]==="undefined"){i[r]=cloneIfNecessary(s,n)}else if(e(s)){i[r]=deepmerge(t[r],s,n)}else if(t.indexOf(s)===-1){i.push(cloneIfNecessary(s,n))}}));return i}function mergeObject(t,s,n){var i={};if(e(t)){Object.keys(t).forEach((function(e){i[e]=cloneIfNecessary(t[e],n)}))}Object.keys(s).forEach((function(r){if(!e(s[r])||!t[r]){i[r]=cloneIfNecessary(s[r],n)}else{i[r]=deepmerge(t[r],s[r],n)}}));return i}function deepmerge(e,t,s){var n=Array.isArray(t);var i=Array.isArray(e);var r=s||{arrayMerge:defaultArrayMerge};var o=n===i;if(!o){return cloneIfNecessary(t,s)}else if(n){var u=r.arrayMerge||defaultArrayMerge;return u(e,t,s)}else{return mergeObject(e,t,s)}}deepmerge.all=function deepmergeAll(e,t){if(!Array.isArray(e)||e.length<2){throw new Error("first argument should be an array with at least two elements")}return e.reduce((function(e,s){return deepmerge(e,s,t)}))};var n=deepmerge;return n}))},210:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrayToString=void 0;const arrayToString=(e,t,s)=>{const n=e.map((function(e,n){const i=s(e,n);if(i===undefined)return String(i);return t+i.split("\n").join(`\n${t}`)})).join(t?",\n":",");const i=t&&n?"\n":"";return`[${i}${n}${i}]`};t.arrayToString=arrayToString},262:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.FunctionParser=t.dedentFunction=t.functionToString=t.USED_METHOD_KEY=void 0;const n=s(893);const i={" "(){}}[" "].toString().charAt(0)==='"';const r={Function:"function ",GeneratorFunction:"function* ",AsyncFunction:"async function ",AsyncGeneratorFunction:"async function* "};const o={Function:"",GeneratorFunction:"*",AsyncFunction:"async ",AsyncGeneratorFunction:"async *"};const u=new Set(("case delete else in instanceof new return throw typeof void "+", ; : + - ! ~ & | ^ * / % < > ? =").split(" "));t.USED_METHOD_KEY=new WeakSet;const functionToString=(e,s,n,i)=>{const r=typeof i==="string"?i:undefined;if(r!==undefined)t.USED_METHOD_KEY.add(e);return new FunctionParser(e,s,n,r).stringify()};t.functionToString=functionToString;function dedentFunction(e){let t;for(const s of e.split("\n").slice(1)){const n=/^[\s\t]+/.exec(s);if(!n)return e;const[i]=n;if(t===undefined)t=i;else if(i.length<t.length)t=i}return t?e.split(`\n${t}`).join("\n"):e}t.dedentFunction=dedentFunction;class FunctionParser{constructor(e,t,s,i){this.fn=e;this.indent=t;this.next=s;this.key=i;this.pos=0;this.hadKeyword=false;this.fnString=Function.prototype.toString.call(e);this.fnType=e.constructor.name;this.keyQuote=i===undefined?"":n.quoteKey(i,s);this.keyPrefix=i===undefined?"":`${this.keyQuote}:${t?" ":""}`;this.isMethodCandidate=i===undefined?false:this.fn.name===""||this.fn.name===i}stringify(){const e=this.tryParse();if(!e){return`${this.keyPrefix}void ${this.next(this.fnString)}`}return dedentFunction(e)}getPrefix(){if(this.isMethodCandidate&&!this.hadKeyword){return o[this.fnType]+this.keyQuote}return this.keyPrefix+r[this.fnType]}tryParse(){if(this.fnString[this.fnString.length-1]!=="}"){return this.keyPrefix+this.fnString}if(this.fn.name){const e=this.tryStrippingName();if(e)return e}const e=this.pos;if(this.consumeSyntax()==="class")return this.fnString;this.pos=e;if(this.tryParsePrefixTokens()){const e=this.tryStrippingName();if(e)return e;let t=this.pos;switch(this.consumeSyntax("WORD_LIKE")){case"WORD_LIKE":if(this.isMethodCandidate&&!this.hadKeyword){t=this.pos}case"()":if(this.fnString.substr(this.pos,2)==="=>"){return this.keyPrefix+this.fnString}this.pos=t;case'"':case"'":case"[]":return this.getPrefix()+this.fnString.substr(this.pos)}}}tryStrippingName(){if(i){return}let e=this.pos;const t=this.fnString.substr(this.pos,this.fn.name.length);if(t===this.fn.name){this.pos+=t.length;if(this.consumeSyntax()==="()"&&this.consumeSyntax()==="{}"&&this.pos===this.fnString.length){if(this.isMethodCandidate||!n.isValidVariableName(t)){e+=t.length}return this.getPrefix()+this.fnString.substr(e)}}this.pos=e}tryParsePrefixTokens(){let e=this.pos;this.hadKeyword=false;switch(this.fnType){case"AsyncFunction":if(this.consumeSyntax()!=="async")return false;e=this.pos;case"Function":if(this.consumeSyntax()==="function"){this.hadKeyword=true}else{this.pos=e}return true;case"AsyncGeneratorFunction":if(this.consumeSyntax()!=="async")return false;case"GeneratorFunction":let t=this.consumeSyntax();if(t==="function"){t=this.consumeSyntax();this.hadKeyword=true}return t==="*"}}consumeSyntax(e){const t=this.consumeMatch(/^(?:([A-Za-z_0-9$\xA0-\uFFFF]+)|=>|\+\+|\-\-|.)/);if(!t)return;const[s,n]=t;this.consumeWhitespace();if(n)return e||n;switch(s){case"(":return this.consumeSyntaxUntil("(",")");case"[":return this.consumeSyntaxUntil("[","]");case"{":return this.consumeSyntaxUntil("{","}");case"`":return this.consumeTemplate();case'"':return this.consumeRegExp(/^(?:[^\\"]|\\.)*"/,'"');case"'":return this.consumeRegExp(/^(?:[^\\']|\\.)*'/,"'")}return s}consumeSyntaxUntil(e,t){let s=true;for(;;){const n=this.consumeSyntax();if(n===t)return e+t;if(!n||n===")"||n==="]"||n==="}")return;if(n==="/"&&s&&this.consumeMatch(/^(?:\\.|[^\\\/\n[]|\[(?:\\.|[^\]])*\])+\/[a-z]*/)){s=false;this.consumeWhitespace()}else{s=u.has(n)}}}consumeMatch(e){const t=e.exec(this.fnString.substr(this.pos));if(t)this.pos+=t[0].length;return t}consumeRegExp(e,t){const s=e.exec(this.fnString.substr(this.pos));if(!s)return;this.pos+=s[0].length;this.consumeWhitespace();return t}consumeTemplate(){for(;;){this.consumeMatch(/^(?:[^`$\\]|\\.|\$(?!{))*/);if(this.fnString[this.pos]==="`"){this.pos++;this.consumeWhitespace();return"`"}if(this.fnString.substr(this.pos,2)==="${"){this.pos+=2;this.consumeWhitespace();if(this.consumeSyntaxUntil("{","}"))continue}return}}consumeWhitespace(){this.consumeMatch(/^(?:\s|\/\/.*|\/\*[^]*?\*\/)*/)}}t.FunctionParser=FunctionParser},592:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.stringify=void 0;const n=s(761);const i=s(893);const r=Symbol("root");function stringify(e,t,s,n={}){const o=typeof s==="string"?s:" ".repeat(s||0);const u=[];const a=new Set;const c=new Map;const l=new Map;let h=0;const{maxDepth:f=100,references:p=false,skipUndefinedProperties:d=false,maxValues:g=1e5}=n;const m=replacerToString(t);const onNext=(e,t)=>{if(++h>g)return;if(d&&e===undefined)return;if(u.length>f)return;if(t===undefined)return m(e,o,onNext,t);u.push(t);const s=y(e,t===r?undefined:t);u.pop();return s};const y=p?(e,t)=>{if(e!==null&&(typeof e==="object"||typeof e==="function"||typeof e==="symbol")){if(c.has(e)){l.set(u.slice(1),c.get(e));return m(undefined,o,onNext,t)}c.set(e,u.slice(1))}return m(e,o,onNext,t)}:(e,t)=>{if(a.has(e))return;a.add(e);const s=m(e,o,onNext,t);a.delete(e);return s};const b=onNext(e,r);if(l.size){const e=o?" ":"";const t=o?"\n":"";let s=`var x${e}=${e}${b};${t}`;for(const[n,r]of l.entries()){const o=i.stringifyPath(n,onNext);const u=i.stringifyPath(r,onNext);s+=`x${o}${e}=${e}x${u};${t}`}return`(function${e}()${e}{${t}${s}return x;${t}}())`}return b}t.stringify=stringify;function replacerToString(e){if(!e)return n.toString;return(t,s,i,r)=>e(t,s,(e=>n.toString(e,s,i,r)),r)}},125:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.objectToString=void 0;const n=s(893);const i=s(262);const r=s(210);const objectToString=(e,t,s,n)=>{if(typeof Buffer==="function"&&Buffer.isBuffer(e)){return`Buffer.from(${s(e.toString("base64"))}, 'base64')`}if(typeof global==="object"&&e===global){return globalToString(e,t,s,n)}const i=o[Object.prototype.toString.call(e)];return i?i(e,t,s,n):undefined};t.objectToString=objectToString;const rawObjectToString=(e,t,s,r)=>{const o=t?"\n":"";const u=t?" ":"";const a=Object.keys(e).reduce((function(r,o){const a=e[o];const c=s(a,o);if(c===undefined)return r;const l=c.split("\n").join(`\n${t}`);if(i.USED_METHOD_KEY.has(a)){r.push(`${t}${l}`);return r}r.push(`${t}${n.quoteKey(o,s)}:${u}${l}`);return r}),[]).join(`,${o}`);if(a==="")return"{}";return`{${o}${a}${o}}`};const globalToString=(e,t,s)=>`Function(${s("return this")})()`;const o={"[object Array]":r.arrayToString,"[object Object]":rawObjectToString,"[object Error]":(e,t,s)=>`new Error(${s(e.message)})`,"[object Date]":e=>`new Date(${e.getTime()})`,"[object String]":(e,t,s)=>`new String(${s(e.toString())})`,"[object Number]":e=>`new Number(${e})`,"[object Boolean]":e=>`new Boolean(${e})`,"[object Set]":(e,t,s)=>`new Set(${s(Array.from(e))})`,"[object Map]":(e,t,s)=>`new Map(${s(Array.from(e))})`,"[object RegExp]":String,"[object global]":globalToString,"[object Window]":globalToString}},893:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.stringifyPath=t.quoteKey=t.isValidVariableName=t.IS_VALID_IDENTIFIER=t.quoteString=void 0;const s=/[\\\'\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;const n=new Map([["\b","\\b"],["\t","\\t"],["\n","\\n"],["\f","\\f"],["\r","\\r"],["'","\\'"],['"','\\"'],["\\","\\\\"]]);function escapeChar(e){return n.get(e)||`\\u${`0000${e.charCodeAt(0).toString(16)}`.slice(-4)}`}function quoteString(e){return`'${e.replace(s,escapeChar)}'`}t.quoteString=quoteString;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(" "));t.IS_VALID_IDENTIFIER=/^[A-Za-z_$][A-Za-z0-9_$]*$/;function isValidVariableName(e){return typeof e==="string"&&!i.has(e)&&t.IS_VALID_IDENTIFIER.test(e)}t.isValidVariableName=isValidVariableName;function quoteKey(e,t){return isValidVariableName(e)?e:t(e)}t.quoteKey=quoteKey;function stringifyPath(e,t){let s="";for(const n of e){if(isValidVariableName(n)){s+=`.${n}`}else{s+=`[${t(n)}]`}}return s}t.stringifyPath=stringifyPath},761:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.toString=void 0;const n=s(893);const i=s(125);const r=s(262);const o={string:n.quoteString,number:e=>Object.is(e,-0)?"-0":String(e),boolean:String,symbol:(e,t,s)=>{const n=Symbol.keyFor(e);if(n!==undefined)return`Symbol.for(${s(n)})`;return`Symbol(${s(e.description)})`},bigint:(e,t,s)=>`BigInt(${s(String(e))})`,undefined:String,object:i.objectToString,function:r.functionToString};const toString=(e,t,s,n)=>{if(e===null)return"null";return o[typeof e](e,t,s,n)};t.toString=toString},741:e=>{e.exports=class extends Function{constructor(){super();return new Proxy(this,{apply:(e,t,s)=>e.classCall(...s)})}classCall(){throw new Error("not implemented")}}},572:(e,t,s)=>{const n=s(437);const i=s(621);e.exports=n(i(Object))},745:(e,t,s)=>{const n=s(845);const i=s(621);e.exports=n(i(Object))},659:(e,t,s)=>{const n=s(741);const i=s(437);const r=s(621);const o=s(49);e.exports=o(i(r(n)))},122:(e,t,s)=>{const n=s(572);const i=s(659);const r=s(745);const o=s(222);const u=s(417);const a=s(430);const c=s(736);const l=s(740);const h=s(64);const f=s(223);const p=s(10);e.exports=class extends n{constructor(){super();this.entryPoints=new n(this);this.output=new a(this);this.module=new h(this);this.resolve=new o(this);this.resolveLoader=new u(this);this.optimization=new f(this);this.plugins=new n(this);this.devServer=new c(this);this.performance=new p(this);this.node=new i(this);this.extend(["context","mode","devtool","target","watch","watchOptions","externals","externalsType","externalsPresets","stats","experiments","amd","bail","cache","dependencies","ignoreWarnings","loader","parallelism","profile","recordsPath","recordsInputPath","recordsOutputPath","name","infrastructureLogging","snapshot"])}static toString(e,{verbose:t=false,configPrefix:n="config"}={}){const{stringify:i}=s(592);return i(e,((e,s,i)=>{if(e&&e.__pluginName){const t=`/* ${n}.${e.__pluginType}('${e.__pluginName}') */\n`;const s=e.__pluginPath?`(require(${i(e.__pluginPath)}))`:e.__pluginConstructorName;if(s){const n=i(e.__pluginArgs).slice(1,-1);return`${t}new ${s}(${n})`}return t+i(e.__pluginArgs&&e.__pluginArgs.length?{args:e.__pluginArgs}:{})}if(e&&e.__ruleNames){const t=e.__ruleTypes;const s=`/* ${n}.module${e.__ruleNames.map(((e,s)=>`.${t?t[s]:"rule"}('${e}')`)).join("")}${e.__useName?`.use('${e.__useName}')`:``} */\n`;return s+i(e)}if(e&&e.__expression){return e.__expression}if(typeof e==="function"){if(!t&&e.toString().length>100){return`function () { /* omitted long function */ }`}}return i(e)}),2)}entry(e){return this.entryPoints.getOrCompute(e,(()=>new r(this)))}plugin(e){return this.plugins.getOrCompute(e,(()=>new l(this,e)))}toConfig(){const e=this.entryPoints.entries()||{};const t=this.entries()||{};return this.clean(Object.assign(t,{node:this.node.entries(),output:this.output.entries(),resolve:this.resolve.toConfig(),resolveLoader:this.resolveLoader.toConfig(),devServer:this.devServer.toConfig(),module:this.module.toConfig(),optimization:this.optimization.toConfig(),plugins:this.plugins.values().map((e=>e.toConfig())),performance:this.performance.entries(),entry:Object.keys(e).reduce(((t,s)=>Object.assign(t,{[s]:e[s].values()})),{})}))}toString(t){return e.exports.toString(this.toConfig(),t)}merge(e={},t=[]){const s=["node","output","resolve","resolveLoader","devServer","optimization","performance","module"];if(!t.includes("entry")&&"entry"in e){Object.keys(e.entry).forEach((t=>this.entry(t).merge([].concat(e.entry[t]))))}if(!t.includes("plugin")&&"plugin"in e){Object.keys(e.plugin).forEach((t=>this.plugin(t).merge(e.plugin[t])))}s.forEach((s=>{if(!t.includes(s)&&s in e){this[s].merge(e[s])}}));return super.merge(e,[...t,...s,"entry","plugin"])}}},736:(e,t,s)=>{const n=s(572);const i=s(745);e.exports=class extends n{constructor(e){super(e);this.allowedHosts=new i(this);this.extend(["after","before","bonjour","clientLogLevel","compress","contentBase","contentBasePublicPath","disableHostCheck","filename","headers","historyApiFallback","host","hot","hotOnly","http2","https","index","injectClient","injectHot","inline","lazy","liveReload","mimeTypes","noInfo","onListening","open","openPage","overlay","pfx","pfxPassphrase","port","proxy","progress","public","publicPath","quiet","serveIndex","setup","socket","sockHost","sockPath","sockPort","staticOptions","stats","stdin","transportMode","useLocalIp","watchContentBase","watchOptions","writeToDisk"])}toConfig(){return this.clean({allowedHosts:this.allowedHosts.values(),...this.entries()||{}})}merge(e,t=[]){if(!t.includes("allowedHosts")&&"allowedHosts"in e){this.allowedHosts.merge(e.allowedHosts)}return super.merge(e,["allowedHosts"])}}},64:(e,t,s)=>{const n=s(572);const i=s(159);e.exports=class extends n{constructor(e){super(e);this.rules=new n(this);this.defaultRules=new n(this);this.generator=new n(this);this.parser=new n(this);this.extend(["noParse","unsafeCache","wrappedContextCritical","exprContextRegExp","wrappedContextRecursive","strictExportPresence","wrappedContextRegExp"])}defaultRule(e){return this.defaultRules.getOrCompute(e,(()=>new i(this,e,"defaultRule")))}rule(e){return this.rules.getOrCompute(e,(()=>new i(this,e,"rule")))}toConfig(){return this.clean(Object.assign(this.entries()||{},{defaultRules:this.defaultRules.values().map((e=>e.toConfig())),generator:this.generator.entries(),parser:this.parser.entries(),rules:this.rules.values().map((e=>e.toConfig()))}))}merge(e,t=[]){if(!t.includes("rule")&&"rule"in e){Object.keys(e.rule).forEach((t=>this.rule(t).merge(e.rule[t])))}if(!t.includes("defaultRule")&&"defaultRule"in e){Object.keys(e.defaultRule).forEach((t=>this.defaultRule(t).merge(e.defaultRule[t])))}return super.merge(e,["rule","defaultRule"])}}},223:(e,t,s)=>{const n=s(572);const i=s(659);const r=s(740);e.exports=class extends n{constructor(e){super(e);this.minimizers=new n(this);this.splitChunks=new i(this);this.extend(["minimize","runtimeChunk","emitOnErrors","moduleIds","chunkIds","nodeEnv","mangleWasmImports","removeAvailableModules","removeEmptyChunks","mergeDuplicateChunks","flagIncludedChunks","providedExports","usedExports","concatenateModules","sideEffects","portableRecords","mangleExports","innerGraph","realContentHash"])}minimizer(e){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+.")}return this.minimizers.getOrCompute(e,(()=>new r(this,e,"optimization.minimizer")))}toConfig(){return this.clean(Object.assign(this.entries()||{},{splitChunks:this.splitChunks.entries(),minimizer:this.minimizers.values().map((e=>e.toConfig()))}))}merge(e,t=[]){if(!t.includes("minimizer")&&"minimizer"in e){Object.keys(e.minimizer).forEach((t=>this.minimizer(t).merge(e.minimizer[t])))}return super.merge(e,[...t,"minimizer"])}}},434:e=>{e.exports=e=>class extends e{before(e){if(this.__after){throw new Error(`Unable to set .before(${JSON.stringify(e)}) with existing value for .after()`)}this.__before=e;return this}after(e){if(this.__before){throw new Error(`Unable to set .after(${JSON.stringify(e)}) with existing value for .before()`)}this.__after=e;return this}merge(e,t=[]){if(e.before){this.before(e.before)}if(e.after){this.after(e.after)}return super.merge(e,[...t,"before","after"])}}},430:(e,t,s)=>{const n=s(572);e.exports=class extends n{constructor(e){super(e);this.extend(["auxiliaryComment","charset","chunkFilename","chunkLoadTimeout","chunkLoadingGlobal","chunkLoading","chunkFormat","enabledChunkLoadingTypes","crossOriginLoading","devtoolFallbackModuleFilenameTemplate","devtoolModuleFilenameTemplate","devtoolNamespace","filename","assetModuleFilename","globalObject","uniqueName","hashDigest","hashDigestLength","hashFunction","hashSalt","hotUpdateChunkFilename","hotUpdateGlobal","hotUpdateMainFilename","library","libraryExport","libraryTarget","importFunctionName","path","pathinfo","publicPath","scriptType","sourceMapFilename","sourcePrefix","strictModuleErrorHandling","strictModuleExceptionHandling","umdNamedDefine","workerChunkLoading","enabledLibraryTypes","environment","compareBeforeEmit","wasmLoading","enabledWasmLoadingTypes","iife","module","clean"])}}},10:(e,t,s)=>{const n=s(659);e.exports=class extends n{constructor(e){super(e);this.extend(["assetFilter","hints","maxAssetSize","maxEntrypointSize"])}}},740:(e,t,s)=>{const n=s(572);const i=s(434);e.exports=i(class extends n{constructor(e,t,s="plugin"){super(e);this.name=t;this.type=s;this.extend(["init"]);this.init(((e,t=[])=>{if(typeof e==="function"){return new e(...t)}return e}))}use(e,t=[]){return this.set("plugin",e).set("args",t)}tap(e){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.`)}this.set("args",e(this.get("args")||[]));return this}set(e,t){if(e==="args"&&!Array.isArray(t)){throw new Error("args must be an array of arguments")}return super.set(e,t)}merge(e,t=[]){if("plugin"in e){this.set("plugin",e.plugin)}if("args"in e){this.set("args",e.args)}return super.merge(e,[...t,"args","plugin"])}toConfig(){const e=this.get("init");let t=this.get("plugin");const n=this.get("args");let i=null;if(t===undefined){throw new Error(`Invalid ${this.type} configuration: ${this.type}('${this.name}').use(<Plugin>) was not called to specify the plugin`)}if(typeof t==="string"){i=t;t=s(875)(i)}const r=t.__expression?`(${t.__expression})`:t.name;const o=e(t,n);Object.defineProperties(o,{__pluginName:{value:this.name},__pluginType:{value:this.type},__pluginArgs:{value:n},__pluginConstructorName:{value:r},__pluginPath:{value:i}});return o}})},222:(e,t,s)=>{const n=s(572);const i=s(745);const r=s(740);e.exports=class extends n{constructor(e){super(e);this.alias=new n(this);this.aliasFields=new i(this);this.descriptionFiles=new i(this);this.extensions=new i(this);this.mainFields=new i(this);this.mainFiles=new i(this);this.exportsFields=new i(this);this.importsFields=new i(this);this.restrictions=new i(this);this.roots=new i(this);this.modules=new i(this);this.plugins=new n(this);this.fallback=new n(this);this.byDependency=new n(this);this.extend(["cachePredicate","cacheWithContext","enforceExtension","symlinks","unsafeCache","preferRelative","preferAbsolute"])}plugin(e){return this.plugins.getOrCompute(e,(()=>new r(this,e,"resolve.plugin")))}toConfig(){return this.clean(Object.assign(this.entries()||{},{alias:this.alias.entries(),aliasFields:this.aliasFields.values(),descriptionFiles:this.descriptionFiles.values(),extensions:this.extensions.values(),mainFields:this.mainFields.values(),mainFiles:this.mainFiles.values(),modules:this.modules.values(),exportsFields:this.exportsFields.values(),importsFields:this.importsFields.values(),restrictions:this.restrictions.values(),roots:this.roots.values(),fallback:this.fallback.entries(),byDependency:this.byDependency.entries(),plugins:this.plugins.values().map((e=>e.toConfig()))}))}merge(e,t=[]){const s=["alias","aliasFields","descriptionFiles","extensions","mainFields","mainFiles","exportsFields","importsFields","restrictions","roots","modules"];if(!t.includes("plugin")&&"plugin"in e){Object.keys(e.plugin).forEach((t=>this.plugin(t).merge(e.plugin[t])))}s.forEach((s=>{if(!t.includes(s)&&s in e){this[s].merge(e[s])}}));return super.merge(e,[...t,...s,"plugin"])}}},417:(e,t,s)=>{const n=s(222);const i=s(745);e.exports=class extends n{constructor(e){super(e);this.modules=new i(this);this.moduleExtensions=new i(this);this.packageMains=new i(this)}toConfig(){return this.clean({modules:this.modules.values(),moduleExtensions:this.moduleExtensions.values(),packageMains:this.packageMains.values(),...super.toConfig()})}merge(e,t=[]){const s=["modules","moduleExtensions","packageMains"];s.forEach((s=>{if(!t.includes(s)&&s in e){this[s].merge(e[s])}}));return super.merge(e,[...t,...s])}}},159:(e,t,s)=>{const n=s(572);const i=s(745);const r=s(434);const o=s(688);const u=s(222);function toArray(e){return Array.isArray(e)?e:[e]}const a=r(class extends n{constructor(e,t,s="rule"){super(e);this.ruleName=t;this.names=[];this.ruleType=s;this.ruleTypes=[];let r=this;while(r instanceof a){this.names.unshift(r.ruleName);this.ruleTypes.unshift(r.ruleType);r=r.parent}this.uses=new n(this);this.include=new i(this);this.exclude=new i(this);this.rules=new n(this);this.oneOfs=new n(this);this.resolve=new u(this);this.resolve.extend(["fullySpecified"]);this.extend(["enforce","issuer","issuerLayer","layer","mimetype","parser","generator","resource","resourceQuery","sideEffects","test","type"])}use(e){return this.uses.getOrCompute(e,(()=>new o(this,e)))}rule(e){return this.rules.getOrCompute(e,(()=>new a(this,e,"rule")))}oneOf(e){return this.oneOfs.getOrCompute(e,(()=>new a(this,e,"oneOf")))}pre(){return this.enforce("pre")}post(){return this.enforce("post")}toConfig(){const e=this.clean(Object.assign(this.entries()||{},{include:this.include.values(),exclude:this.exclude.values(),rules:this.rules.values().map((e=>e.toConfig())),oneOf:this.oneOfs.values().map((e=>e.toConfig())),use:this.uses.values().map((e=>e.toConfig())),resolve:this.resolve.toConfig()}));Object.defineProperties(e,{__ruleNames:{value:this.names},__ruleTypes:{value:this.ruleTypes}});return e}merge(e,t=[]){if(!t.includes("include")&&"include"in e){this.include.merge(toArray(e.include))}if(!t.includes("exclude")&&"exclude"in e){this.exclude.merge(toArray(e.exclude))}if(!t.includes("use")&&"use"in e){Object.keys(e.use).forEach((t=>this.use(t).merge(e.use[t])))}if(!t.includes("rules")&&"rules"in e){Object.keys(e.rules).forEach((t=>this.rule(t).merge(e.rules[t])))}if(!t.includes("oneOf")&&"oneOf"in e){Object.keys(e.oneOf).forEach((t=>this.oneOf(t).merge(e.oneOf[t])))}if(!t.includes("resolve")&&"resolve"in e){this.resolve.merge(e.resolve)}if(!t.includes("test")&&"test"in e){this.test(e.test instanceof RegExp||typeof e.test==="function"?e.test:new RegExp(e.test))}return super.merge(e,[...t,"include","exclude","use","rules","oneOf","resolve","test"])}});e.exports=a},688:(e,t,s)=>{const n=s(256);const i=s(572);const r=s(434);e.exports=r(class extends i{constructor(e,t){super(e);this.name=t;this.extend(["loader","options"])}tap(e){this.options(e(this.get("options")));return this}merge(e,t=[]){if(!t.includes("loader")&&"loader"in e){this.loader(e.loader)}if(!t.includes("options")&&"options"in e){this.options(n(this.store.get("options")||{},e.options))}return super.merge(e,[...t,"loader","options"])}toConfig(){const e=this.clean(this.entries()||{});Object.defineProperties(e,{__useName:{value:this.name},__ruleNames:{value:this.parent&&this.parent.names},__ruleTypes:{value:this.parent&&this.parent.ruleTypes}});return e}})},621:e=>{e.exports=function createChainable(e){return class extends e{constructor(e){super();this.parent=e}batch(e){e(this);return this}end(){return this.parent}}}},437:(e,t,s)=>{const n=s(256);e.exports=function createMap(e){return class extends e{constructor(...e){super(...e);this.store=new Map}extend(e){this.shorthands=e;e.forEach((e=>{this[e]=t=>this.set(e,t)}));return this}clear(){this.store.clear();return this}delete(e){this.store.delete(e);return this}order(){const e=[...this.store].reduce(((e,[t,s])=>{e[t]=s;return e}),{});const t=Object.keys(e);const s=[...t];t.forEach((t=>{if(!e[t]){return}const{__before:n,__after:i}=e[t];if(n&&s.includes(n)){s.splice(s.indexOf(t),1);s.splice(s.indexOf(n),0,t)}else if(i&&s.includes(i)){s.splice(s.indexOf(t),1);s.splice(s.indexOf(i)+1,0,t)}}));return{entries:e,order:s}}entries(){const{entries:e,order:t}=this.order();if(t.length){return e}return undefined}values(){const{entries:e,order:t}=this.order();return t.map((t=>e[t]))}get(e){return this.store.get(e)}getOrCompute(e,t){if(!this.has(e)){this.set(e,t())}return this.get(e)}has(e){return this.store.has(e)}set(e,t){this.store.set(e,t);return this}merge(e,t=[]){Object.keys(e).forEach((s=>{if(t.includes(s)){return}const i=e[s];if(!Array.isArray(i)&&typeof i!=="object"||i===null||!this.has(s)){this.set(s,i)}else{this.set(s,n(this.get(s),i))}}));return this}clean(e){return Object.keys(e).reduce(((t,s)=>{const n=e[s];if(n===undefined){return t}if(Array.isArray(n)&&!n.length){return t}if(Object.prototype.toString.call(n)==="[object Object]"&&!Object.keys(n).length){return t}t[s]=n;return t}),{})}when(e,t=Function.prototype,s=Function.prototype){if(e){t(this)}else{s(this)}return this}}}},845:e=>{e.exports=function createSet(e){return class extends e{constructor(...e){super(...e);this.store=new Set}add(e){this.store.add(e);return this}prepend(e){this.store=new Set([e,...this.store]);return this}clear(){this.store.clear();return this}delete(e){this.store.delete(e);return this}values(){return[...this.store]}has(e){return this.store.has(e)}merge(e){this.store=new Set([...this.store,...e]);return this}when(e,t=Function.prototype,s=Function.prototype){if(e){t(this)}else{s(this)}return this}}}},49:e=>{e.exports=function createValue(e){return class extends e{constructor(...e){super(...e);this.value=undefined;this.useMap=true}set(...e){this.useMap=true;this.value=undefined;return super.set(...e)}clear(){this.value=undefined;return super.clear()}classCall(e){this.clear();this.useMap=false;this.value=e;return this.parent}entries(){if(this.useMap){return super.entries()}return this.value}values(){if(this.useMap){return super.values()}return this.value}}}},875:e=>{function webpackEmptyContext(e){var t=new Error("Cannot find module '"+e+"'");t.code="MODULE_NOT_FOUND";throw t}webpackEmptyContext.keys=()=>[];webpackEmptyContext.resolve=webpackEmptyContext;webpackEmptyContext.id=875;e.exports=webpackEmptyContext}};var t={};function __nccwpck_require__(s){var n=t[s];if(n!==undefined){return n.exports}var i=t[s]={exports:{}};var r=true;try{e[s].call(i.exports,i,i.exports,__nccwpck_require__);r=false}finally{if(r)delete t[s]}return i.exports}(()=>{__nccwpck_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var s=__nccwpck_require__(122);module.exports=s})();
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, n);
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
+ })();